:root {
  --bg: #0f1419;
  --panel: #1a2332;
  --panel-border: #2a3a52;
  --text: #e8eef7;
  --muted: #93a4bd;
  --accent: #5b8cff;
  --accent-soft: rgba(91, 140, 255, 0.15);
  --row-hover: rgba(255, 255, 255, 0.04);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --back-bar-body: 56px;
  --back-bar-gap: 12px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(91, 140, 255, 0.18), transparent 35%),
    linear-gradient(180deg, #101722 0%, #0b1017 100%);
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  :root {
    --back-bar-body: 64px;
    --back-bar-gap: 10px;
  }

  .page {
    width: 100%;
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      max(28px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .header h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.35;
  }

  .subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

.disclaimer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.disclaimer p {
  margin: 0 0 0.45em;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}
