.page-privacy {
  background: var(--paper-white);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  padding: calc(var(--header-h) + 48px) 20px 80px;
  position: relative;
}

.privacy-frame {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* 面包屑 */
.privacy-breadcrumb {
  margin-bottom: 48px;
}

.privacy-breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: color 0.2s ease;
}

.privacy-breadcrumb a:hover,
.privacy-breadcrumb a:focus {
  color: var(--milan-red);
}

.privacy-breadcrumb .crumb-sep {
  color: var(--gold);
  margin: 0 8px;
}

.privacy-breadcrumb span[aria-current="page"] {
  color: var(--milan-red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

/* 页头 */
.privacy-lead {
  display: grid;
  gap: 32px;
  margin-bottom: 72px;
}

.lead-copy h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--milan-black);
}

.lead-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
  max-width: 58ch;
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.meta-tag {
  background: var(--deep-gray);
  color: var(--paper-white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.meta-value {
  color: var(--slate);
}

.meta-sep {
  color: var(--gold);
}

/* 页头配图 */
.lead-figure {
  margin: 0;
  background: var(--deep-gray);
  padding: 8px;
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  box-shadow: 10px 10px 0 rgba(214, 160, 44, 0.15);
}

.lead-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: calc(var(--radius-lg) - 4px) 0 calc(var(--radius-lg) - 4px) 0;
  object-fit: cover;
}

.lead-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #C0BEB6;
  padding: 10px 4px 2px;
  margin: 0;
}

/* 章节索引行 */
.page-privacy .privacy-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.privacy-index-mark {
  width: 8px;
  height: 8px;
  background: var(--milan-red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.privacy-index-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.privacy-index-rule {
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(214, 160, 44, 0.1) 100%);
}

/* 主体布局 */
.privacy-layout {
  display: block;
}

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

/* 侧边目录 */
.privacy-toc {
  background: var(--pure-white);
  border: 1px solid #E5E0D4;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.05);
}

.toc-overline {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--milan-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

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

.toc-list li + li {
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.toc-list a:hover,
.toc-list a:focus {
  color: var(--milan-red);
  padding-left: 10px;
}

.toc-num {
  color: var(--milan-red);
  font-weight: 700;
}

.toc-note {
  margin-top: 18px;
  border-top: 1px solid #EAE5DA;
  padding-top: 14px;
}

.toc-note-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 8px;
}

.toc-note p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

/* 章节通用 */
.policy-section {
  margin-bottom: 72px;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--milan-black);
}

.policy-section h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--milan-red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 60ch;
}

/* 高亮 */
.privacy-highlight {
  background: linear-gradient(transparent 55%, rgba(214, 160, 44, 0.35) 55%);
  padding: 0 2px;
  font-weight: 700;
  color: var(--milan-black);
}

/* 信息收集卡片 */
.collect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.collect-card {
  background: var(--pure-white);
  border: 1px solid #E5E0D4;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: 4px solid var(--milan-red);
  padding: 20px 18px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.collect-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.08);
}

.collect-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  background: rgba(214, 160, 44, 0.16);
  color: #8A6A1A;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  font-weight: 700;
}

.collect-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--milan-black);
  margin: 0 0 8px;
}

.collect-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.privacy-exclude {
  margin-top: 24px;
}

/* 数据流向图 */
.data-flow {
  margin: 0 0 72px;
  padding: 32px 24px;
  background: linear-gradient(135deg, #EFEDE4 0%, var(--paper-white) 70%);
  border: 1px solid #E5E0D4;
  border-radius: var(--radius-lg);
}

.flow-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.flow-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--milan-red);
  text-transform: uppercase;
}

.flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(214, 160, 44, 0.15) 100%);
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.flow-node {
  background: var(--pure-white);
  border: 1px solid #E5E0D4;
  border-top: 3px solid var(--milan-red);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}

.flow-node-center {
  border-top-color: var(--gold);
}

.flow-node-highlight {
  background: var(--milan-black);
  border-top-color: var(--gold-light);
}

.flow-node-highlight h3,
.flow-node-highlight p {
  color: var(--paper-white);
}

.node-index {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--milan-red);
  color: var(--pure-white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  margin-bottom: 10px;
}

.flow-node-center .node-index {
  background: var(--gold);
  color: var(--milan-black);
}

.flow-node-highlight .node-index {
  background: var(--gold-light);
  color: var(--milan-black);
}

.flow-node h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--milan-black);
}

.flow-node p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
}

.flow-connector .connector-line {
  display: none;
}

@media (max-width: 759px) {
  .flow-connector .connector-arrow {
    transform: rotate(90deg);
  }
}

.flow-footnote {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--slate);
  text-align: center;
  font-family: var(--font-mono);
}

/* 数据保存 */
.retention-list {
  border: 1px solid #E5E0D4;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.retention-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 18px;
  background: var(--pure-white);
}

.retention-row + .retention-row {
  border-top: 1px solid #E5E0D4;
}

.retention-kind {
  font-weight: 700;
  color: var(--milan-black);
}

.retention-duration {
  font-family: var(--font-mono);
  color: var(--milan-red);
  font-weight: 700;
  font-size: 15px;
}

.retention-desc {
  color: var(--slate);
  font-size: 14px;
}

.security-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--deep-gray);
  border-radius: var(--radius-md);
  padding: 20px;
}

.security-mark {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  border: 1px solid rgba(240, 210, 133, 0.5);
  padding: 6px 10px;
}

.security-text h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--paper-white);
}

.security-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #CECECE;
}

/* 用户选择 */
.choice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: choice;
  display: grid;
  gap: 12px;
}

.choice-list li {
  counter-increment: choice;
  position: relative;
  background: var(--pure-white);
  border: 1px solid #E5E0D4;
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 56px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.choice-list li::before {
  content: counter(choice, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.choice-list a {
  color: var(--milan-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.choice-list a:hover {
  color: var(--gold);
}

/* 政策更新 */
.update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.update-card {
  background: var(--pure-white);
  border: 1px solid #E5E0D4;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.update-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--milan-black);
}

.update-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.policy-footer-note {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--paper-white);
  border: 1px dashed rgba(214, 160, 44, 0.4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
}

.policy-footer-note p {
  margin: 0 0 6px;
}

.policy-footer-note p:last-child {
  margin-bottom: 0;
}

.policy-footer-note a {
  color: var(--milan-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-footer-note a:hover {
  color: var(--gold);
}

/* 金色条状分隔 */
.policy-gold-line {
  height: 4px;
  margin: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
  border-radius: var(--radius-pill);
}

/* 桌面端：数据流横排 */
@media (min-width: 760px) {
  .flow-diagram {
    grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
    align-items: stretch;
  }

  .flow-connector .connector-line {
    display: block;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    margin-right: 4px;
  }

  .collect-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .update-grid {
    grid-template-columns: 1fr 1fr;
  }

  .retention-row {
    grid-template-columns: 1fr 1fr 1.4fr;
    align-items: center;
    gap: 0;
  }
}

/* 桌面端：侧边目录 + 两栏页头 */
@media (min-width: 900px) {
  .privacy-lead {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: end;
    column-gap: 64px;
  }

  .privacy-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .privacy-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin-bottom: 0;
  }

  .policy-section {
    margin-bottom: 80px;
  }
}
