:root {
  color-scheme: dark;
  --bg: #070a09;
  --surface: #101513;
  --text: #edf3f0;
  --muted: #a4afa9;
  --line: #2b3531;
  --mint: #78f2c8;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.8; }
a { color: var(--mint); text-underline-offset: 3px; }
.policy-header {
  position: sticky; top: 0; z-index: 2; min-height: 72px; padding: 12px max(24px, calc((100vw - 1080px) / 2));
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.policy-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; }
.policy-brand img { width: 38px; height: 38px; border-radius: 10px; }
.policy-header nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.policy-header nav a { padding: 7px 11px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.policy-header nav a:hover, .policy-header nav a[aria-current="page"] { background: #14231e; color: var(--mint); }
main { width: min(960px, calc(100% - 40px)); margin: 56px auto 80px; }
.policy-copy { padding: clamp(24px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 90px #0006; }
h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -0.04em; }
h2 { margin: 56px 0 18px; padding-top: 8px; font-size: 25px; line-height: 1.3; }
h3 { margin: 32px 0 12px; font-size: 19px; }
p { margin: 14px 0; color: var(--muted); }
strong { color: var(--text); }
ul, ol { margin: 12px 0 22px; padding-left: 1.5em; color: var(--muted); }
li { margin: 7px 0; padding-left: 4px; }
code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: #080c0a; color: #b6ffe5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.policy-table { margin: 18px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #17201c; color: var(--text); }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
footer { width: min(960px, calc(100% - 40px)); margin: 0 auto 48px; display: flex; justify-content: space-between; gap: 20px; color: #7f8c85; font-size: 13px; }
.support-copy { overflow: hidden; }
.support-lead { max-width: 760px; margin-top: 18px; font-size: 18px; line-height: 1.85; }
.support-contact {
  margin: 38px 0 10px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid #315046; border-radius: 18px; background: linear-gradient(135deg, #12251f, #101714 72%);
}
.support-contact h2 { margin: 0 0 8px; padding: 0; font-size: 20px; }
.support-contact p { margin: 0 0 2px; font-size: 13px; }
.support-contact > div { min-width: 0; }
.support-email { display: block; max-width: 100%; font-size: clamp(16px, 2.5vw, 20px); font-weight: 700; overflow-wrap: anywhere; }
.support-button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
  border-radius: 12px; background: var(--mint); color: #06251a; font-weight: 750; text-decoration: none;
  box-shadow: 0 10px 30px #0005; transition: transform 160ms ease, background 160ms ease;
}
.support-button:hover { transform: translateY(-1px); background: #9bffdc; }
.support-button:focus-visible, .policy-header a:focus-visible, summary:focus-visible { outline: 3px solid #78f2c866; outline-offset: 3px; }
.support-note { margin: 12px 2px 0; font-size: 14px; }
.support-steps { padding: 0; list-style: none; counter-reset: support-step; }
.support-steps li { position: relative; min-height: 50px; margin: 0; padding: 8px 0 20px 58px; counter-increment: support-step; }
.support-steps li::before {
  content: counter(support-step); position: absolute; left: 0; top: 5px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid #315046; border-radius: 50%; background: #14231e; color: var(--mint); font-weight: 800;
}
.support-steps strong, .support-steps span { display: block; }
.support-steps span { margin-top: 3px; color: var(--muted); }
.support-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.support-info-grid section { padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 14px; background: #0c110f; }
.support-info-grid h3 { margin: 0 0 10px; font-size: 17px; }
.support-info-grid ul { margin: 0; font-size: 14px; }
.support-warning { margin-top: 18px; padding: 16px 18px; border-left: 3px solid #f3c96b; border-radius: 0 10px 10px 0; background: #1c1810; }
.support-faq { border-top: 1px solid var(--line); }
.support-faq details { border-bottom: 1px solid var(--line); }
.support-faq summary { padding: 18px 30px 18px 0; color: var(--text); font-weight: 700; cursor: pointer; }
.support-faq details p { margin: -3px 0 20px; padding-right: 28px; }
@media (prefers-reduced-motion: reduce) { .support-button { transition: none; } }
@media (max-width: 640px) {
  .policy-header { min-height: 64px; padding: 10px 14px; gap: 8px; }
  .policy-brand span { display: none; }
  .policy-header nav { min-width: 0; gap: 0; }
  .policy-header nav a { padding: 6px 5px; font-size: 12px; white-space: nowrap; }
  main { width: min(100% - 24px, 960px); margin-top: 20px; }
  .policy-copy { padding: 22px 18px 34px; border-radius: 18px; }
  h2 { margin-top: 42px; }
  .support-lead { font-size: 16px; }
  .support-contact { padding: 20px; align-items: stretch; flex-direction: column; }
  .support-email { font-size: 15px; }
  .support-button { width: 100%; }
  .support-info-grid { grid-template-columns: 1fr; }
  footer { width: min(100% - 28px, 960px); flex-direction: column; }
}
@media (max-width: 360px) {
  .policy-header { padding-inline: 10px; gap: 4px; }
  .policy-brand img { width: 30px; height: 30px; border-radius: 8px; }
  .policy-header nav a { padding-inline: 4px; font-size: 11px; }
}
