/* ============ 非凡体育（中国）官网 — 隐私政策页面专属样式 ============ */
.page-privacy {
  --privacy-num-size: clamp(46px, 7vw, 72px);
  background-color: var(--bg-base);
  color: var(--ink-text);
  line-height: 1.75;
}

.page-privacy .container {
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* ---------- Hero 首屏：编辑部封面 ---------- */
.privacy-hero {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--ink-text);
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--brand-main);
  opacity: 0.05;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 120px;
  height: 4px;
  background: var(--brand-accent);
}

.privacy-hero__index {
  display: inline-block;
  font-family: var(--data-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-text);
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand-accent);
}

.privacy-hero__inner {
  position: relative;
  max-width: 760px;
}

.privacy-hero__shield {
  position: absolute;
  top: 4px;
  right: -8px;
  width: 150px;
  opacity: 0.09;
  pointer-events: none;
}
.privacy-hero__shield svg {
  display: block;
  width: 100%;
  height: auto;
}

.privacy-hero .privacy-kicker {
  display: block;
  font-family: var(--data-font);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brand-accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.privacy-hero h1 {
  font-family: var(--heading-font);
  font-size: var(--h1-size);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 12em;
  padding-left: 18px;
  position: relative;
}

.privacy-hero h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 6px;
  height: 0.88em;
  background: var(--brand-accent);
}

.privacy-hero__lead {
  max-width: 48rem;
  font-size: var(--body-size);
  margin: 0;
  color: #444;
}

.privacy-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-divider);
  font-family: var(--data-font);
  font-size: 13px;
  color: var(--muted-text);
}

.privacy-hero__meta strong {
  font-weight: 600;
  color: var(--ink-text);
}

/* ---------- 页面主体栅格：册子式双栏 ---------- */
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.privacy-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

.privacy-main {
  min-width: 0;
}

/* ---------- 侧栏：目录 ---------- */
.privacy-toc {
  background: #fff;
  border: 1px solid var(--line-divider);
  border-left: 4px solid var(--brand-accent);
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(7, 23, 46, 0.06);
}

.privacy-aside__label {
  display: block;
  font-family: var(--data-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 14px;
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy-toc__list li + li {
  border-top: 1px solid var(--line-divider);
}

.privacy-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink-text);
  font-weight: 600;
  transition: color var(--ease-fast), padding-left var(--ease-fast);
}

.privacy-toc__list a:hover,
.privacy-toc__list a.is-active {
  color: var(--brand-accent);
  padding-left: 8px;
}

.privacy-toc__list a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-point);
  margin-left: auto;
  opacity: 0.3;
  transition: opacity var(--ease-fast);
}

.privacy-toc__list a:hover::after,
.privacy-toc__list a.is-active::after {
  opacity: 1;
}

.privacy-toc__num {
  font-family: var(--data-font);
  font-size: 13px;
  color: var(--brand-accent);
}

/* ---------- 侧栏：信息图 ---------- */
.privacy-shield-img {
  margin: 0;
  padding: 12px;
  border: 1px dashed var(--line-divider);
  background: #fff;
}

.privacy-shield-img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.privacy-shield-img figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-text);
}

/* ---------- 侧栏：隐私咨询卡 ---------- */
.privacy-contact-card {
  position: relative;
  background: var(--brand-main);
  color: #F5F4F0;
  padding: 26px 22px;
}

.privacy-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-accent) 0%, var(--gold-point) 100%);
}

.privacy-contact-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 28px 28px;
  border-color: transparent transparent var(--brand-accent) transparent;
}

.privacy-contact-card .privacy-aside__label {
  color: rgba(245, 244, 240, 0.7);
}

.privacy-contact-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.privacy-contact-card a {
  color: var(--orange-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 正文开篇 ---------- */
.privacy-note {
  position: relative;
  background: linear-gradient(135deg, var(--brand-main) 0%, var(--dark-surface) 100%);
  color: #F5F4F0;
  padding: 26px 28px;
  margin-bottom: 12px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.privacy-note p {
  margin: 0;
  max-width: 58rem;
}

.privacy-note a {
  color: var(--orange-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 章节结构 ---------- */
.privacy-section {
  position: relative;
  padding: 30px 0;
  border-top: 1px solid var(--line-divider);
  scroll-margin-top: 20px;
}

.privacy-section:first-of-type {
  border-top: 2px solid var(--ink-text);
}

.privacy-section::before {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  background: var(--brand-accent);
  margin-bottom: 18px;
}

.privacy-section__num {
  font-family: var(--heading-font);
  font-size: var(--privacy-num-size);
  font-weight: 700;
  line-height: 0.9;
  color: var(--brand-accent);
  margin: 0 0 10px;
}

.privacy-section__num::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--gold-point);
  margin-top: 8px;
}

.privacy-section__body h2 {
  font-family: var(--heading-font);
  font-size: var(--h3-size);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 14px;
}

.privacy-section__body p {
  margin: 0 0 16px;
}

/* ---------- 信息清单 ---------- */
.privacy-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.privacy-list li {
  position: relative;
  padding: 6px 0 6px 38px;
  margin-bottom: 10px;
}

.privacy-list--checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--brand-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 24px;
  border-radius: 4px;
}

.privacy-list--numbered li {
  counter-increment: privacy-num;
  padding-left: 42px;
}

.privacy-list--numbered li::before {
  content: counter(privacy-num);
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  background: var(--brand-main);
  color: var(--gold-point);
  font-family: var(--data-font);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
}

.privacy-section__note {
  background: rgba(255, 215, 0, 0.08);
  border-left: 3px solid var(--gold-point);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted-text);
  margin-top: 16px;
}

.privacy-section__note a {
  color: var(--brand-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 手风琴细节 ---------- */
.privacy-accordion {
  margin: 8px 0 4px;
}

.privacy-accordion .accordion__item {
  border-bottom: 1px solid var(--line-divider);
}

.privacy-accordion .accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: var(--ink-text);
  transition: color var(--ease-fast);
}

.privacy-accordion .accordion__trigger:hover {
  color: var(--brand-accent);
}

.privacy-accordion .accordion__icon {
  color: var(--brand-accent);
}

.privacy-accordion .accordion__panel p {
  margin: 0;
  padding-bottom: 16px;
  font-size: 15px;
  color: #494949;
  max-width: 52rem;
}

/* ---------- 文末声明 ---------- */
.privacy-closing {
  margin-top: 16px;
  padding: 24px 0 8px;
  border-top: 2px solid var(--ink-text);
  font-size: 15px;
  color: var(--muted-text);
}

.privacy-closing p {
  margin: 0;
  max-width: 52rem;
}

.privacy-closing a {
  color: var(--brand-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 平板与桌面断点 ---------- */
@media (min-width: 680px) {
  .privacy-section {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px 28px;
  }

  .privacy-section::before {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .privacy-section__num {
    margin: 4px 0 0;
  }

  .privacy-section__body {
    min-width: 0;
  }

  .privacy-hero__shield {
    width: 210px;
    right: 4px;
  }
}

@media (min-width: 1020px) {
  .privacy-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .privacy-aside {
    position: sticky;
    top: 28px;
  }
}
