/* ================================================================
   PAGE-CSS / 隐私政策
   作用域：.page-privacy
   ================================================================ */
.page-privacy {
  --pr-gap: 56px;
  --pr-gap-lg: 96px;
  --pr-track-left: 20px;
  --pr-muted: rgba(176, 196, 222, 0.78);
  --pr-panel-soft: rgba(18, 49, 86, 0.45);
  --pr-panel-deep: rgba(18, 49, 86, 0.68);
  padding-bottom: 96px;
  overflow-x: clip;
}

.page-privacy a {
  color: var(--purple-bright);
  text-decoration-color: rgba(168, 85, 247, 0.4);
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.page-privacy a:hover {
  color: var(--green);
  text-decoration-color: var(--line-green);
}
.page-privacy a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------------- Hero ---------------- */
.page-privacy .pr-hero {
  position: relative;
  padding: 48px 0 60px;
  background:
    radial-gradient(circle at 84% 12%, rgba(123, 47, 190, 0.36), transparent 36%),
    linear-gradient(135deg, #0b1f3a, rgba(11, 31, 58, 0.92));
  overflow: hidden;
}
.page-privacy .pr-hero::after {
  content: "";
  position: absolute;
  right: -96px;
  top: -96px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  transform: rotate(45deg);
  border-radius: 28px;
  pointer-events: none;
}
.page-privacy .pr-hero__inner {
  position: relative;
  z-index: 1;
}
.page-privacy .pr-hero .breadcrumb {
  margin-bottom: 32px;
}
.page-privacy .pr-hero__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-privacy .pr-hero__content {
  max-width: 640px;
}
.page-privacy .pr-hero__lead {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 58ch;
}
.page-privacy .pr-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-privacy .pr-hero__fig {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--pr-panel-soft);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.page-privacy .pr-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 16px) 0, calc(100% - 16px) calc(100% - 16px), 16px calc(100% - 16px), 16px 100%, 0 100%);
}
.page-privacy .pr-hero__cap {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-bright);
  text-align: right;
}

/* ---------------- Track Shell ---------------- */
.page-privacy .pr-track {
  position: relative;
  padding: 72px 0 24px;
}
.page-privacy .pr-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pr-track-left);
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(168, 85, 247, 0.5) 0 6px, transparent 6px 12px);
  opacity: 0.32;
  pointer-events: none;
}
.page-privacy .pr-track .container {
  position: relative;
}

/* ---------------- Chapter Index ---------------- */
.page-privacy .pr-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 72px;
}
.page-privacy .pr-index a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: var(--pr-panel-soft);
  padding: 9px 16px 9px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.page-privacy .pr-index a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--green);
  transform: translateY(-50%) rotate(45deg);
}
.page-privacy .pr-index a:hover {
  color: var(--bg-deep);
  background: var(--green);
  border-color: var(--green);
}
.page-privacy .pr-index a:hover::before {
  background: var(--bg-deep);
}

/* ---------------- Chapter ---------------- */
.page-privacy .pr-chapter {
  position: relative;
  padding-left: 64px;
  margin-bottom: 72px;
}
.page-privacy .pr-chapter::before {
  content: attr(data-index);
  position: absolute;
  left: calc(var(--pr-track-left) - 19px);
  top: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-bright);
  color: #0b1f3a;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 0.88rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  box-shadow: 0 0 0 6px rgba(11, 31, 58, 0.92);
}
.page-privacy .pr-chapter__card {
  max-width: 760px;
}
.page-privacy .pr-chapter__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-top: 8px;
}
.page-privacy .pr-chapter__title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  background: var(--green);
  margin-right: 12px;
  vertical-align: middle;
}
.page-privacy .pr-chapter__lead {
  margin-top: 14px;
  color: var(--purple-bright);
  font-size: 1rem;
  line-height: 1.8;
}
.page-privacy .pr-chapter__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--pr-panel-deep);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------------- List ---------------- */
.page-privacy .pr-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.page-privacy .pr-list li {
  position: relative;
  padding-left: 24px;
  color: var(--pr-muted);
  line-height: 1.85;
}
.page-privacy .pr-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.82em;
  width: 10px;
  height: 2px;
  background: var(--green);
  transform: rotate(-24deg);
}
.page-privacy .pr-list strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* ---------------- Usage Grid ---------------- */
.page-privacy .pr-grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.page-privacy .pr-grid-2 > div {
  background: var(--pr-panel-soft);
  padding: 22px 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color 0.2s ease;
}
.page-privacy .pr-grid-2 > div:hover {
  background: var(--pr-panel-deep);
}
.page-privacy .pr-grid-2 h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.page-privacy .pr-grid-2 p {
  font-size: 0.95rem;
  color: var(--pr-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------------- Data Flow Panel ---------------- */
.page-privacy .pr-flow {
  position: relative;
  padding-left: 64px;
  margin-bottom: 72px;
}
.page-privacy .pr-flow__card {
  position: relative;
  background: linear-gradient(135deg, #123156, rgba(123, 47, 190, 0.62));
  border: 1px solid var(--line);
  border-radius: 16px 0 16px 0;
  padding: 34px 24px 30px;
  max-width: 900px;
  box-shadow: var(--shadow-deep);
}
.page-privacy .pr-flow__card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 42px;
  bottom: 42px;
  width: 3px;
  background: linear-gradient(to bottom, var(--green), var(--purple-bright));
}
.page-privacy .pr-flow__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  color: var(--text-strong);
  margin-top: 6px;
}
.page-privacy .pr-flow__lead {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--pr-muted);
  line-height: 1.75;
}
.page-privacy .pr-flow__steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.page-privacy .pr-flow__step {
  position: relative;
  padding: 18px 0;
  border-top: 1px dashed rgba(198, 255, 0, 0.35);
}
.page-privacy .pr-flow__step:first-child {
  border-top: 0;
  padding-top: 0;
}
.page-privacy .pr-flow__index {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  color: var(--green);
  margin-right: 12px;
}
.page-privacy .pr-flow__name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-strong);
}
.page-privacy .pr-flow__desc {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--pr-muted);
  line-height: 1.6;
}

/* ---------------- Disclosure Principles ---------------- */
.page-privacy .pr-principles {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.page-privacy .pr-principle {
  padding: 18px 20px 18px 24px;
  background: var(--pr-panel-soft);
  border-left: 2px solid var(--purple-bright);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-privacy .pr-principle:hover {
  border-left-color: var(--green);
  background: var(--pr-panel-deep);
}
.page-privacy .pr-principle__no {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--green);
  margin-right: 10px;
}
.page-privacy .pr-principle h3 {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-strong);
  margin: 0 0 6px;
}
.page-privacy .pr-principle p {
  margin: 0;
  color: var(--pr-muted);
  line-height: 1.8;
}

/* ---------------- User Rights ---------------- */
.page-privacy .pr-rights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.page-privacy .pr-right {
  background: rgba(123, 47, 190, 0.13);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 20px 22px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-privacy .pr-right:hover {
  border-color: var(--line-green);
  background: rgba(198, 255, 0, 0.06);
}
.page-privacy .pr-right h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.page-privacy .pr-right p {
  margin: 0;
  color: var(--pr-muted);
  line-height: 1.8;
}
.page-privacy .pr-rights__notice {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed var(--line-green);
  background: rgba(198, 255, 0, 0.06);
  color: var(--pr-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------------- Update List ---------------- */
.page-privacy .pr-update-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.page-privacy .pr-update-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}
.page-privacy .pr-update-list__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--purple-bright);
  opacity: 0.72;
}
.page-privacy .pr-update-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-strong);
  margin: 0 0 6px;
}
.page-privacy .pr-update-list p {
  margin: 0;
  color: var(--pr-muted);
  line-height: 1.8;
}

/* ---------------- Closing CTA ---------------- */
.page-privacy .pr-close {
  padding: 32px 0 0;
}
.page-privacy .pr-close__panel {
  background: var(--gradient);
  border: 1px solid var(--line);
  border-radius: 16px 0 16px 0;
  padding: 40px 28px;
  color: var(--text-strong);
  box-shadow: var(--shadow-deep);
}
.page-privacy .pr-close__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  margin-top: 8px;
}
.page-privacy .pr-close__lead {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pr-muted);
  max-width: 60ch;
}
.page-privacy .pr-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.page-privacy .pr-close__links .button {
  text-decoration: none;
}
.page-privacy .pr-close__contact {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(168, 85, 247, 0.45);
}
.page-privacy .pr-close__contact > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
}
.page-privacy .pr-close__contact dt {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.page-privacy .pr-close__contact dd {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.6;
}

/* ---------------- Tablet / Desktop ---------------- */
@media (min-width: 640px) {
  .page-privacy .pr-hero {
    padding: 56px 0 72px;
  }
  .page-privacy .pr-hero__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 44px;
    margin-top: 20px;
  }
  .page-privacy .pr-hero__tags {
    margin-top: 32px;
  }
  .page-privacy .pr-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-privacy .pr-rights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-privacy {
    --pr-track-left: 26px;
    --pr-gap: 96px;
  }
  .page-privacy .pr-hero__grid {
    grid-template-columns: 1.05fr 0.8fr;
    gap: 64px;
  }
  .page-privacy .pr-hero__fig {
    justify-self: end;
    width: 100%;
    max-width: 520px;
  }
  .page-privacy .pr-track {
    padding-top: 96px;
  }
  .page-privacy .pr-chapter {
    padding-left: 0;
    display: grid;
    grid-template-columns: 120px minmax(0, 760px);
    gap: 48px;
    margin-bottom: 96px;
  }
  .page-privacy .pr-chapter::before {
    left: 0;
    top: 0;
  }
  .page-privacy .pr-chapter__card {
    max-width: 760px;
  }
  .page-privacy .pr-flow {
    padding-left: 0;
    display: grid;
    grid-template-columns: 120px minmax(0, 900px);
    gap: 48px;
    margin-bottom: 96px;
  }
  .page-privacy .pr-flow__card {
    grid-column: 2;
  }
  .page-privacy .pr-flow__steps {
    flex-direction: row;
    align-items: stretch;
  }
  .page-privacy .pr-flow__step {
    flex: 1;
    border-top: 0;
    padding: 12px 18px 8px 0;
    border-left: 1px dashed rgba(198, 255, 0, 0.35);
  }
  .page-privacy .pr-flow__step:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .page-privacy .pr-flow__step:last-child {
    padding-right: 0;
  }
  .page-privacy .pr-flow__desc {
    max-width: 18ch;
  }
  .page-privacy .pr-close__contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
