.page-privacy {
  --privacy-aside-w: 220px;
  --privacy-paper-w: 760px;
  background-color: var(--deep-green);
  color: var(--text-on-dark);
  overflow-x: hidden;
}

/* ---------- 顶部标题区 ---------- */
.privacy-hero {
  position: relative;
  isolation: isolate;
  padding: 3rem 0 3.5rem;
  background-color: var(--deep-green);
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}

.privacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11, 61, 46, 0.16) 0 55%, transparent 55% 100%);
  pointer-events: none;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 30px, transparent 30px 46px, var(--red) 46px 56px, transparent 56px 84px);
}

.privacy-hero-inner {
  position: relative;
  z-index: 1;
}

.privacy-hero .crumb-route {
  margin-bottom: 2.5rem;
}

.privacy-title-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.privacy-lock-figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  background: var(--green-panel);
  border: 1px solid rgba(201, 162, 39, 0.55);
}

.privacy-lock-figure::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.privacy-lock-figure::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.privacy-lock-figure svg {
  display: block;
  width: 48px;
  height: 48px;
}

.privacy-hero .page-kicker {
  margin-bottom: 1.1rem;
  color: var(--gold-light);
  font-family: var(--font-data);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}

.privacy-hero .page-title {
  max-width: 760px;
  margin-bottom: 1.2rem;
  color: var(--text-on-dark);
}

.privacy-hero .lede {
  max-width: 640px;
  color: rgba(244, 241, 232, 0.78);
}

/* ---------- 正文布局 ---------- */
.privacy-doc-layout {
  display: block;
  padding: 1.5rem 0 3.5rem;
}

.privacy-aside {
  margin-bottom: 1.25rem;
}

.privacy-aside-card {
  padding: 1.35rem 1.4rem;
  background: var(--green-panel);
  border: 1px solid rgba(201, 162, 39, 0.42);
}

.privacy-aside-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.privacy-toc li + li {
  border-top: 1px solid rgba(244, 241, 232, 0.12);
}

.privacy-toc a {
  display: flex;
  column-gap: 0.75rem;
  align-items: baseline;
  padding: 0.65rem 0;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.privacy-toc a span {
  min-width: 1.85rem;
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 0.8rem;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
  color: var(--gold-light);
  padding-left: 0.35rem;
  outline: none;
}

.privacy-aside-meta {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  color: rgba(244, 241, 232, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------- 纸张正文 ---------- */
.privacy-paper {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.75rem);
  background-color: var(--cream);
  background-image: linear-gradient(rgba(11, 61, 46, 0.028) 1px, transparent 1px);
  background-size: 100% 28px;
  color: var(--ink);
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.privacy-paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 4px;
  background: var(--red);
}

.privacy-lede {
  margin: 0 0 2.5rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--grid-line);
  color: rgba(24, 29, 27, 0.78);
  font-size: 1.02rem;
  line-height: 1.9;
}

/* ---------- 章节标题 ---------- */
.privacy-section {
  scroll-margin-top: calc(var(--body-pt) + 30px);
}

.privacy-divider {
  margin: 2.75rem 0 0;
  border: 0;
  border-top: 2px dashed var(--grid-line);
}

.privacy-divider + .privacy-section {
  margin-top: 2.75rem;
}

.privacy-section-heading {
  display: flex;
  align-items: stretch;
  margin: 0 0 1.5rem;
  background: var(--gold);
  color: var(--ink);
}

.privacy-num {
  display: grid;
  place-items: center;
  min-width: 48px;
  padding: 0.6rem 0.75rem;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.privacy-heading-text {
  display: flex;
  align-items: center;
  padding: 0.72rem 1.1rem 0.72rem 1.2rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ---------- 章节正文 ---------- */
.privacy-body p {
  margin: 0 0 1.1rem;
  max-width: 64ch;
  color: rgba(24, 29, 27, 0.85);
  line-height: 1.85;
}

.privacy-body p:last-child {
  margin-bottom: 0;
}

.privacy-callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(11, 61, 46, 0.07);
  border-left: 3px solid var(--gold);
}

.privacy-callout-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 0.05rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 700;
}

.privacy-callout p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- 存储示意图 ---------- */
.privacy-storage-figure {
  position: relative;
  margin: 1.75rem 0 1.5rem;
  border: 1px solid var(--grid-line);
}

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

/* ---------- 权利列表 ---------- */
.privacy-rights-list {
  list-style: none;
  counter-reset: right;
  margin: 0;
  padding: 0;
}

.privacy-rights-list li {
  counter-increment: right;
  position: relative;
  padding: 0.3rem 0 1.1rem 3.2rem;
  color: rgba(24, 29, 27, 0.85);
  line-height: 1.7;
}

.privacy-rights-list li:last-child {
  padding-bottom: 0;
}

.privacy-rights-list li::before {
  content: counter(right, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2rem;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-rights-list strong {
  font-weight: 700;
}

/* ---------- 底部联系块 ---------- */
.privacy-divider + .privacy-contact-block {
  margin-top: 2.75rem;
}

.privacy-contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: var(--deep-green);
  color: var(--text-on-dark);
}

.privacy-contact-kicker {
  flex-basis: 100%;
  margin: 0;
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.privacy-contact-block p {
  flex: 1 1 46%;
  min-width: 16rem;
  margin: 0;
  line-height: 1.8;
}

.privacy-mail {
  color: var(--gold-light);
  font-family: var(--font-data);
  white-space: nowrap;
}

.privacy-contact-block .btn {
  flex: 0 0 auto;
}

/* ---------- 相关页面索引 ---------- */
.privacy-extra {
  padding: 3.5rem 0 5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.privacy-extra .section-rule {
  margin-bottom: 2rem;
}

.privacy-extra-title {
  margin: 0 0 1.5rem;
  color: var(--text-on-dark);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.privacy-extra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.privacy-extra-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--green-panel);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.privacy-extra-idx {
  grid-row: 1 / 3;
  padding-top: 0.35rem;
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 0.85rem;
}

.privacy-extra-name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.privacy-extra-desc {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.78;
}

.privacy-extra-card:hover,
.privacy-extra-card:focus-visible {
  background: var(--gold);
  color: var(--ink);
  outline: none;
}

.privacy-extra-card:hover .privacy-extra-idx,
.privacy-extra-card:focus-visible .privacy-extra-idx {
  color: var(--ink);
}

.privacy-extra-card:hover .privacy-extra-desc {
  opacity: 0.8;
}

/* ---------- 响应式增强 ---------- */
@media (min-width: 560px) {
  .privacy-title-grid {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1060px) {
  .privacy-doc-layout {
    display: grid;
    grid-template-columns: var(--privacy-aside-w) minmax(0, var(--privacy-paper-w));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    justify-content: center;
    align-items: start;
    padding: 3rem 0 4.5rem;
  }

  .privacy-aside {
    position: sticky;
    top: calc(var(--body-pt) + 20px);
    margin-bottom: 0;
  }

  .privacy-extra-grid {
    grid-template-columns: 1fr 1fr;
  }
}
