.page-privacy {
  --privacy-line: rgba(255, 255, 255, 0.08);
  --privacy-dim: rgba(255, 255, 255, 0.04);
  position: relative;
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ---------- 封面标题区 ---------- */
.privacy-cover {
  position: relative;
  padding: 72px 0 0;
  isolation: isolate;
}

.privacy-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 80% 10%, rgba(0, 240, 255, 0.1), transparent 65%),
    radial-gradient(ellipse 65% 60% at 10% 75%, rgba(57, 255, 20, 0.05), transparent 60%);
  pointer-events: none;
}

.privacy-cover__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.privacy-cover__content {
  max-width: 860px;
}

.privacy-cover__title {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transform: skewX(var(--skew));
  margin: 8px 0 16px;
}

.privacy-cover__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-cyan));
  border-radius: 3px;
}

.privacy-cover__lead {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--color-neon);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.privacy-cover__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0;
}

.privacy-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.privacy-cover__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.privacy-cover__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 240, 255, 0.14);
  border-radius: var(--radius);
  pointer-events: none;
}

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

/* ---------- 文档区域 ---------- */
.privacy-document {
  position: relative;
  padding: 64px 0 104px;
}

.privacy-document::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.privacy-document__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: stretch;
}

/* ---------- 侧边目录 ---------- */
.privacy-toc__inner {
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.privacy-toc__label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.privacy-toc__list li {
  line-height: 1.2;
}

.privacy-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 10px;
  color: var(--color-text);
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.privacy-toc__list a span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-neon);
  opacity: 0.85;
}

.privacy-toc__list a:hover,
.privacy-toc__list a:focus-visible {
  background: rgba(57, 255, 20, 0.1);
  color: var(--color-neon);
  padding-left: 14px;
}

.privacy-toc__rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.3), transparent);
  margin: 18px 0;
}

.privacy-toc__action {
  display: grid;
  gap: 10px;
}

/* ---------- 文档章节 ---------- */
.privacy-doc {
  min-width: 0;
}

.privacy-section {
  position: relative;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--privacy-line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.privacy-section:first-child {
  padding-top: 0;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.privacy-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neon);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: var(--radius-sm);
  transform: skewX(var(--skew));
}

.privacy-section__head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0;
  transform: skewX(var(--skew));
}

.privacy-section__body > p {
  color: var(--color-muted);
  line-height: 1.8;
  margin: 0 0 16px;
}

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

/* ---------- 信息分类列表 ---------- */
.privacy-cate-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.privacy-cate {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-bg-2);
  border: 1px solid var(--privacy-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.privacy-cate:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateX(6px);
}

.privacy-cate__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--color-neon);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-cate h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 6px;
}

.privacy-cate p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- 使用目的步骤列表 ---------- */
.privacy-use-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.privacy-use-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.05), rgba(0, 240, 255, 0.02) 65%, transparent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  line-height: 1.65;
  color: var(--color-text);
  font-size: 0.95rem;
}

.privacy-use-list li > span {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-neon);
}

/* ---------- 共享披露 ---------- */
.privacy-mark-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.privacy-mark-block__symbol {
  flex-shrink: 0;
  color: var(--color-neon);
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 4px;
}

.privacy-mark-block p {
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.privacy-share-list {
  margin: 16px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.privacy-share-list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-muted);
  line-height: 1.7;
}

.privacy-share-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-family: var(--font-mono);
}

.privacy-important {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 16px;
  border-left: 3px solid var(--color-cyan);
  background: rgba(0, 240, 255, 0.06);
  color: var(--color-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- 存储说明表格 ---------- */
.privacy-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--privacy-line);
  -webkit-overflow-scrolling: touch;
}

.privacy-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.privacy-table th {
  background: var(--color-bg-2);
  color: var(--color-neon);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.25);
  white-space: nowrap;
}

.privacy-table td {
  padding: 14px 16px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.privacy-table tbody tr:last-child td {
  border-bottom: none;
}

.privacy-table tbody tr:hover td {
  background: rgba(0, 240, 255, 0.02);
}

/* ---------- 用户权利卡片 ---------- */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0;
}

.privacy-right-card {
  position: relative;
  background: var(--color-bg-2);
  border: 1px solid var(--privacy-line);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.privacy-right-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-cyan));
  border-radius: 3px 0 0 0;
  transition: width 0.3s ease;
}

.privacy-right-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.3);
}

.privacy-right-card:hover::after {
  width: 100%;
}

.privacy-right-card__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(57, 255, 20, 0.28);
}

.privacy-right-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 8px;
}

.privacy-right-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

.privacy-note-tip {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(0, 240, 255, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-cyan);
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.privacy-note-tip a {
  color: var(--color-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.4);
}

/* ---------- 折叠说明 ---------- */
.privacy-details {
  margin: 24px 0;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.03);
}

.privacy-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: var(--color-cyan);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.privacy-details summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--color-neon);
}

.privacy-details[open] summary::before {
  content: "−";
}

.privacy-details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ---------- 联系卡片 ---------- */
.privacy-contact-card {
  margin: 24px 0;
  background: var(--color-bg-2);
  border: 1px solid var(--privacy-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.privacy-contact-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-contact-card__row:last-child {
  border-bottom: none;
}

.privacy-contact-card__row > span:first-child {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.privacy-contact-card__row > span:last-child {
  color: var(--color-white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
  word-break: break-all;
}

.privacy-contact-card__row a {
  color: var(--color-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-all;
}

.privacy-contact-card__row a:hover {
  text-decoration: underline;
}

.privacy-contact-tip {
  margin-top: 20px;
  color: var(--color-muted);
  line-height: 1.7;
}

.privacy-contact-tip a,
.privacy-contact-terms a {
  color: var(--color-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.35);
}

.privacy-contact-terms {
  margin-top: 10px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .privacy-rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .privacy-cate-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-cover {
    padding-top: 88px;
  }

  .privacy-document {
    padding-top: 72px;
  }
}

@media (min-width: 1024px) {
  .privacy-document__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .privacy-toc__inner {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }

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

@media (min-width: 1280px) {
  .privacy-cate-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
