/* ===== 隐私政策页 · Page Privacy ===== */
.page-privacy {
  --pv-panel-bg: rgba(31, 27, 36, 0.72);
  --pv-panel-border: rgba(181, 55, 242, 0.22);
  --pv-side-bg: rgba(11, 10, 15, 0.74);
  --pv-cyan-glow: rgba(0, 229, 255, 0.14);
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* —— 页头 —— */
.page-privacy .pv-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line-faded);
}

.page-privacy .pv-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-privacy .pv-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.32;
}

.page-privacy .pv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(11, 10, 15, 0.96) 0%, rgba(11, 10, 15, 0.84) 45%, rgba(181, 55, 242, 0.18) 100%),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 229, 255, 0.045) 5px 6px);
}

.page-privacy .pv-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue), transparent 85%);
}

.page-privacy .pv-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
  padding: 72px 0 48px;
}

.page-privacy .pv-hero-inner .breadcrumb {
  margin-bottom: 22px;
}

.page-privacy .pv-hero-inner .section-mark {
  margin-bottom: 6px;
}

.page-privacy .pv-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 10px 0 18px;
  color: var(--text-main);
}

.page-privacy .pv-lead {
  max-width: 72ch;
  font-size: 16px;
  color: var(--text-dim);
  border-left: 3px solid var(--electric-blue);
  padding-left: 18px;
  margin: 0 0 26px;
}

.page-privacy .pv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-privacy .pv-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--laser-green-soft);
  border-radius: var(--radius-pill);
  color: var(--laser-green);
  background: rgba(204, 255, 0, 0.06);
  font-size: 13px;
  line-height: 1.4;
}

/* —— 概览数据带 —— */
.page-privacy .pv-overview-wrap {
  background: var(--bg-deeper);
  border-bottom: 1px solid var(--line-faded);
}

.page-privacy .pv-overview {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  padding: 32px 0 28px;
}

.page-privacy .pv-stat {
  text-align: center;
  padding: 14px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
}

.page-privacy .pv-stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--electric-blue);
  text-shadow: 0 0 16px var(--pv-cyan-glow);
  line-height: 1.1;
}

.page-privacy .pv-stat p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 13px;
}

/* —— 主体两栏布局 —— */
.page-privacy .pv-layout {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0 60px;
}

.page-privacy .pv-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-faded);
}

.page-privacy .pv-toc a {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--line-faded);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  text-decoration: none;
  transition: color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

/* —— 条款面板 —— */
.page-privacy .pv-panel {
  background: var(--pv-panel-bg);
  border: 1px solid var(--pv-panel-border);
  border-left: 3px solid var(--neon-purple);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin-bottom: 24px;
  position: relative;
}

.page-privacy .pv-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 56px;
  height: 56px;
  border-radius: 0 var(--radius-md) 0 0;
  background: linear-gradient(135deg, transparent 48%, rgba(181, 55, 242, 0.3) 48%, rgba(181, 55, 242, 0.3) 70%, transparent 70%);
  pointer-events: none;
}

.page-privacy .pv-panel h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 23px;
  line-height: 1.3;
  margin: 8px 0 10px;
}

.page-privacy .pv-num {
  font-family: var(--font-mono);
  color: var(--neon-purple);
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: rgba(181, 55, 242, 0.08);
  white-space: nowrap;
}

.page-privacy .pv-panel-intro {
  color: var(--text-dim);
  margin: 0 0 18px;
  font-size: 15px;
  max-width: 68ch;
}

/* —— 折叠条款 .page-privacy —— */
.page-privacy .pv-details {
  border-top: 1px dashed var(--line-faded);
  padding-top: 6px;
}

.page-privacy .pv-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  font-weight: 700;
  color: var(--electric-blue);
  font-size: 14px;
  user-select: none;
  transition: color var(--transition-base);
}

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

.page-privacy .pv-details summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue-soft);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: background var(--transition-base), color var(--transition-base);
}

.page-privacy .pv-details[open] summary::after {
  content: "–";
  background: var(--electric-blue);
  color: var(--bg-deep);
}

.page-privacy .pv-details-body {
  padding: 8px 4px 18px;
  border-left: 2px solid var(--line-faded);
  margin-left: 8px;
  padding-left: 16px;
}

.page-privacy .pv-details-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-privacy .pv-details-body li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.68;
}

.page-privacy .pv-details-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 2px;
  background: var(--laser-green);
  opacity: 0.75;
}

.page-privacy .pv-sub-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--laser-green);
  margin: 18px 0 6px;
  letter-spacing: 0.04em;
}

.page-privacy .pv-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(204, 255, 0, 0.04);
  border-left: 2px solid var(--laser-green);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-privacy .pv-note strong {
  color: var(--text-main);
}

.page-privacy .pv-details-body abbr {
  color: var(--electric-blue);
  text-decoration-color: var(--electric-blue-soft);
  text-underline-offset: 3px;
  cursor: help;
}

/* —— 侧边栏 —— */
.page-privacy .pv-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-privacy .pv-side > * {
  background: var(--pv-side-bg);
  border: 1px solid var(--line-faded);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.page-privacy .pv-gauge-card {
  text-align: center;
}

.page-privacy .pv-gauge {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 8px auto 16px;
}

.page-privacy .pv-gauge-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: conic-gradient(var(--electric-blue) 0 78%, rgba(0, 229, 255, 0.1) 78% 100%);
  display: grid;
  place-items: center;
}

.page-privacy .pv-gauge-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.32);
  animation: pv-rotate 20s linear infinite;
}

.page-privacy .pv-gauge-core {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--electric-blue);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.18);
}

.page-privacy .pv-gauge-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.page-privacy .pv-gauge-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

.page-privacy .pv-side h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.page-privacy .pv-retention-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-privacy .pv-retention-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-faded);
  font-size: 13px;
}

.page-privacy .pv-retention-list li:last-child {
  border-bottom: 0;
}

.page-privacy .pv-retention-list span:first-child {
  color: var(--text-dim);
}

.page-privacy .pv-retention-list span:last-child {
  font-family: var(--font-mono);
  color: var(--laser-green);
  text-align: right;
  white-space: nowrap;
}

.page-privacy .pv-side-contact p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.page-privacy .pv-side-mail {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--electric-blue);
  word-break: break-all;
  text-decoration: none;
  border-bottom: 1px solid var(--electric-blue-soft);
  padding-bottom: 2px;
  margin-bottom: 10px;
}

.page-privacy .pv-side-note {
  font-size: 13px !important;
  line-height: 1.7;
}

.page-privacy .pv-side-note a {
  color: var(--electric-blue);
  text-decoration: none;
}

/* —— 底部联系带 —— */
.page-privacy .pv-contact-strip {
  background: var(--bg-deeper);
  border-top: 1px solid var(--line-faded);
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
}

.page-privacy .pv-contact-strip::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 55, 242, 0.18), transparent 65%);
  pointer-events: none;
}

.page-privacy .pv-contact-inner {
  position: relative;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-privacy .pv-contact-copy {
  max-width: 680px;
}

.page-privacy .pv-contact-copy .section-mark {
  margin-bottom: 6px;
}

.page-privacy .pv-contact-copy h2 {
  font-family: var(--font-head);
  font-size: 30px;
  margin: 6px 0 10px;
  color: var(--text-main);
}

.page-privacy .pv-contact-copy p:last-child {
  color: var(--text-dim);
  margin: 0;
  font-size: 15px;
}

.page-privacy .pv-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* —— 动画 —— */
@keyframes pv-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* —— 桌面端 —— */
@media (min-width: 960px) {
  .page-privacy .pv-hero-inner {
    padding: 116px 0 88px;
  }

  .page-privacy .pv-hero h1 {
    font-size: 54px;
  }

  .page-privacy .pv-lead {
    font-size: 18px;
  }

  .page-privacy .pv-overview {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 42px 0 38px;
  }

  .page-privacy .pv-stat span {
    font-size: 40px;
  }

  .page-privacy .pv-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    padding: 64px 0 84px;
    align-items: start;
  }

  .page-privacy .pv-side {
    position: sticky;
    top: 96px;
  }

  .page-privacy .pv-panel h2 {
    font-size: 28px;
  }

  .page-privacy .pv-panel {
    padding: 30px 30px;
  }

  .page-privacy .pv-contact-strip {
    padding: 64px 0 72px;
  }

  .page-privacy .pv-contact-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
  }

  .page-privacy .pv-contact-copy h2 {
    font-size: 36px;
  }
}

@media (hover: hover) {
  .page-privacy .pv-toc a:hover {
    color: var(--electric-blue);
    border-color: var(--electric-blue-soft);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
  }

  .page-privacy .pv-panel:hover {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 1px rgba(181, 55, 242, 0.1), 0 16px 40px rgba(0, 0, 0, 0.28);
  }

  .page-privacy .pv-details summary:hover {
    color: var(--laser-green);
  }

  .page-privacy .pv-side-note a:hover,
  .page-privacy .pv-side-mail:hover {
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  }
}

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