:root {
  color-scheme: dark;
  --shell: min(1180px, calc(100% - 32px));
  --bg: #07080c;
  --panel: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.13);
  --orange: #ff4b1f;
  --gold: #ffd66b;
  --radius-lg: 32px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); overscroll-behavior-y: none; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  isolation: isolate;
  overscroll-behavior-y: none;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 20% -10%, rgba(255, 122, 34, 0.34), transparent 36rem),
    radial-gradient(circle at 92% 14%, rgba(255, 75, 31, 0.24), transparent 34rem),
    linear-gradient(180deg, #0c0d13 0%, #07080c 44%, #090a0f 100%);
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--shell);
  margin: 16px auto 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 8, 12, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 10px 24px rgba(255, 75, 31, 0.3); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -0.01em; }
.brand small { margin-top: 2px; color: var(--faint); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color 180ms ease, background 180ms ease; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.legal-page {
  width: min(860px, 100%);
  margin: -20px auto 92px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.legal-page-back { color: var(--gold); font-size: 14px; font-weight: 800; }
.legal-page h1 { margin: 28px 0 20px; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.045em; }
.legal-page-content { color: var(--muted); font-size: 17px; line-height: 1.72; }
.legal-page-content h2 { margin: 34px 0 10px; color: var(--text); font-size: 24px; letter-spacing: -0.025em; }
.legal-page-content h2:first-child { margin-top: 0; }
.legal-page-content p { margin: 0 0 14px; }
.legal-page-content ul { padding-left: 22px; }
.site-footer { width: var(--shell); margin: 0 auto; padding: 14px 0 34px; color: var(--faint); font-size: 13px; line-height: 1.5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: #fff; }
@media (max-width: 920px) {
  :root { --shell: min(100% - 28px, 720px); }
  .site-header { margin-bottom: 46px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 520px); }
  .site-header { top: 10px; margin-top: 10px; padding: 10px; border-radius: 20px; }
  .brand small { display: none; }
  .brand img { width: 38px; height: 38px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 8px; font-size: 13px; }
  .legal-page { margin-bottom: 58px; border-radius: 26px; }
}
@media (max-width: 430px) {
  .nav-links a:nth-child(2), .nav-links a:nth-child(3) { display: none; }
}
