.page-privacy {
  --pv-rule: rgba(201, 162, 39, .30);
  --pv-text: var(--rc-silver-2);
  color: var(--rc-ivory);
}

/* ---------- 首屏 ---------- */
.page-privacy .pv-hero {
  position: relative;
  padding: clamp(1.4rem, 3.4vw, 2.4rem) 0 clamp(1.4rem, 3.6vw, 2.4rem);
}

.page-privacy .pv-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--rc-gold), transparent);
}

.page-privacy .pv-hero__title {
  margin: .6rem 0 0;
  font-size: clamp(1.85rem, 5vw, 3.3rem);
}

.page-privacy .pv-hero__lede {
  max-width: 36em;
  margin: 1.1rem 0 0;
  color: var(--pv-text);
}

.page-privacy .pv-banner {
  position: relative;
  margin: clamp(1.6rem, 4vw, 2.8rem) 0 0;
  border: 1px solid var(--rc-line-gold);
  background: linear-gradient(145deg, var(--rc-void-2) 0%, var(--rc-night) 55%, var(--rc-card) 100%);
  box-shadow: var(--rc-shadow);
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

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

.page-privacy .pv-banner img {
  height: 100%;
}

.page-privacy .pv-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 40%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rc-gold), transparent);
}

/* ---------- 章节索引 ---------- */
.page-privacy .pv-toc {
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--pv-rule);
  border-bottom: 1px solid var(--rc-line);
  display: grid;
  gap: .8rem;
}

.page-privacy .pv-toc__label {
  margin: 0;
  font-family: var(--rc-font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--rc-silver);
}

.page-privacy .pv-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .3rem;
}

.page-privacy .pv-toc__item {
  margin: 0;
}

.page-privacy .pv-toc__link {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .36rem .7rem;
  border: 1px solid transparent;
  font-size: .84rem;
  color: var(--pv-text);
  text-decoration: none;
  transition: color .22s var(--rc-ease), border-color .22s var(--rc-ease), background-color .22s var(--rc-ease);
}

.page-privacy .pv-toc__link:hover,
.page-privacy .pv-toc__link:focus-visible {
  color: var(--rc-gold-hi);
  border-color: var(--rc-line-gold);
  background: rgba(201, 162, 39, .07);
}

.page-privacy .pv-toc__num {
  font-family: var(--rc-font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--rc-gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- 纵向编号章节 ---------- */
.page-privacy .pv-chapters {
  display: grid;
  gap: clamp(1.4rem, 3.4vw, 2.3rem);
  padding: clamp(1.8rem, 4vw, 3rem) 0 0;
}

.page-privacy .pv-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: .3rem;
  padding-top: clamp(1rem, 2.4vw, 1.5rem);
  border-top: 1px solid var(--rc-line);
  scroll-margin-top: 96px;
}

.page-privacy .pv-chapter__rail {
  display: flex;
  align-items: center;
}

.page-privacy .pv-chapter__num {
  font-family: var(--rc-font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--rc-gold);
  font-variant-numeric: tabular-nums;
}

.page-privacy .pv-chapter__body {
  max-width: 38rem;
}

.page-privacy .pv-chapter__title {
  margin: .15rem 0 0;
}

.page-privacy .pv-text {
  margin: .85rem 0 0;
  color: var(--pv-text);
  line-height: 1.85;
}

.page-privacy .pv-text a {
  color: var(--rc-violet);
  text-decoration: underline;
  text-decoration-color: rgba(108, 75, 193, .55);
  text-underline-offset: 3px;
  transition: color .2s var(--rc-ease), text-decoration-color .2s var(--rc-ease);
}

.page-privacy .pv-text a:hover,
.page-privacy .pv-text a:focus-visible {
  color: var(--rc-gold-hi);
  text-decoration-color: var(--rc-gold-hi);
}

/* ---------- 折叠块 ---------- */
.page-privacy .pv-fold {
  margin-top: 1rem;
  border: 1px solid var(--rc-line);
  background: linear-gradient(180deg, rgba(42, 26, 74, .55), rgba(30, 18, 54, .22));
  transition: border-color .25s var(--rc-ease), background-color .25s var(--rc-ease);
}

.page-privacy .pv-fold:hover,
.page-privacy .pv-fold[open] {
  border-color: var(--rc-line-gold);
}

.page-privacy .pv-fold__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  font-family: var(--rc-font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--rc-gold);
  transition: color .2s var(--rc-ease);
}

.page-privacy .pv-fold__summary:hover,
.page-privacy .pv-fold__summary:focus-visible {
  color: var(--rc-gold-hi);
}

.page-privacy .pv-fold__summary::-webkit-details-marker {
  display: none;
}

.page-privacy .pv-fold__summary::after {
  content: "＋";
  flex: none;
  font-size: .95rem;
  line-height: 1;
  color: var(--rc-gold-hi);
}

.page-privacy .pv-fold[open] .pv-fold__summary::after {
  content: "－";
}

.page-privacy .pv-fold__inner {
  padding: 0 1rem 1.1rem;
  animation: pv-unfold .3s var(--rc-ease) both;
}

@keyframes pv-unfold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 条目列表 ---------- */
.page-privacy .pv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.page-privacy .pv-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--pv-text);
}

.page-privacy .pv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: .5rem;
  height: 1px;
  background: var(--rc-gold);
}

.page-privacy .pv-list strong {
  color: var(--rc-ivory);
  font-weight: 600;
}

.page-privacy .pv-list .pv-text {
  margin-top: .9rem;
}

/* ---------- 术语提示 ---------- */
.page-privacy .pv-term {
  position: relative;
  outline: none;
  color: var(--rc-gold-hi);
  border-bottom: 1px dashed var(--rc-line-gold);
  cursor: help;
}

.page-privacy .pv-term:focus-visible {
  border-bottom-style: solid;
}

.page-privacy .pv-term__note {
  position: absolute;
  left: 0;
  bottom: calc(100% + .5rem);
  z-index: 6;
  width: max-content;
  max-width: min(18rem, 68vw);
  padding: .55rem .7rem;
  background: var(--rc-night);
  border: 1px solid var(--rc-line-gold);
  box-shadow: var(--rc-shadow);
  color: var(--pv-text);
  font-size: .78rem;
  line-height: 1.65;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .2s var(--rc-ease), transform .2s var(--rc-ease), visibility .2s;
}

.page-privacy .pv-term:hover .pv-term__note,
.page-privacy .pv-term:focus-visible .pv-term__note {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- 收尾 ---------- */
.page-privacy .pv-foot {
  margin-top: clamp(2rem, 5vw, 3.4rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--pv-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.6rem;
}

.page-privacy .pv-foot__note {
  margin: 0;
  font-size: .82rem;
  color: var(--rc-silver);
}

.page-privacy .pv-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border: 1px solid var(--rc-line);
  font-family: var(--rc-font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--pv-text);
  text-decoration: none;
  transition: color .2s var(--rc-ease), border-color .2s var(--rc-ease), background-color .2s var(--rc-ease);
}

.page-privacy .pv-top::before {
  content: "↑";
  color: var(--rc-gold);
}

.page-privacy .pv-top:hover,
.page-privacy .pv-top:focus-visible {
  color: var(--rc-gold-hi);
  border-color: var(--rc-line-gold);
  background: rgba(201, 162, 39, .07);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-privacy .pv-chapter {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0 1.5rem;
  }

  .page-privacy .pv-chapter__rail {
    align-items: flex-start;
    padding-top: .45rem;
  }
}

@media (min-width: 900px) {
  .page-privacy .pv-banner {
    aspect-ratio: 3 / 1;
  }

  .page-privacy .pv-toc__list {
    gap: .4rem .6rem;
  }
}

@media (max-width: 480px) {
  .page-privacy .pv-banner img {
    object-position: center 40%;
  }

  .page-privacy .pv-term__note {
    left: auto;
    right: 0;
    max-width: 76vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-privacy .pv-fold__inner {
    animation: none;
  }

  .page-privacy .pv-term__note,
  .page-privacy .pv-toc__link,
  .page-privacy .pv-top {
    transition: opacity .12s linear;
  }

  .page-privacy .pv-term__note {
    transform: none;
  }
}
