
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html {
    scrollbar-width: none;
  }
  html::-webkit-scrollbar { display: none; }
  body {
    min-height: 100vh;
    /* v482: furthest-back page background changed to #0E0E0E (neutral grey).
       Cards and panels retain their own darker surfaces so they float on
       this grey base. Light mode overrides this via body.light-mode in
       16-light-mode-contrast.css. */
    background: #0E0E0E;
    font-family: 'Sohne', 'DM Sans', sans-serif;
    color: #e8e3f3;
    overflow-anchor: none;
  }
  html { background: #0E0E0E; }
  /* Header */
  .header {
    background: #0E0E0E;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    padding: 24px 0;
  }
  /* Only shift content down for the notch/Dynamic Island when running as installed PWA */
  @media (display-mode: standalone) {
    body { padding-top: env(safe-area-inset-top, 0px); }
  }
  .container { max-width: 920px; margin: 0 auto; padding: 0 20px; }
  .login-info-wrap {
    max-width: 560px;
    margin: 32px auto 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #b8afd1;
    border-top: 1px solid rgba(139,92,246,0.2);
    padding-top: 24px;
  }
  .login-info-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .login-info-tab {
    appearance: none;
    border: 1px solid rgba(139,92,246,0.24);
    background: rgba(255,255,255,0.03);
    color: #b8afd1;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }
  .login-info-tab.active {
    background: rgba(139,92,246,0.16);
    border-color: rgba(167,139,250,0.44);
    color: #f8f4ff;
  }
  .login-info-panel { display: none; }
  .login-info-panel.active { display: block; }
  .login-info-panel p {
    margin-top: 0;
    margin-bottom: 16px;
  }
  .login-privacy-link {
    margin-top: 18px;
    border: 0;
    background: transparent;
    color: #a78bfa;
    font-family: 'Sohne', sans-serif;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .login-mobile-tip {
    margin: 20px auto 0;
    max-width: 300px;
    text-align: center;
    font-family: 'Sohne', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #ffffff;
  }
  .login-legal-links {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .login-privacy-page {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(5, 4, 16, 0.96);
    overflow-y: auto;
    padding: max(34px, calc(env(safe-area-inset-top, 0px) + 24px)) 18px 40px;
    font-family: 'Sohne', sans-serif;
  }
  .login-privacy-shell {
    width: min(860px, 100%);
    margin: 0 auto;
  }
  .login-privacy-back {
    border: 0;
    background: transparent;
    color: #c4b5fd;
    font-family: 'Sohne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0 18px;
  }
  .login-privacy-content {
    background: #0b0918;
    border: 1px solid rgba(139,92,246,0.22);
    border-radius: 18px;
    padding: 22px 18px 26px;
    color: #d8cff3;
    font-size: 14px;
    line-height: 1.7;
  }
  .login-privacy-content h1,
  .login-privacy-content h2,
  .login-privacy-content h3 {
    color: #f8f4ff;
  }
  .login-privacy-content h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .login-privacy-content h2 {
    font-size: 18px;
    margin: 22px 0 10px;
  }
  .login-privacy-content h3 {
    font-size: 13px;
    margin: 14px 0 8px;
  }
  .login-privacy-content p,
  .login-privacy-content ul {
    margin: 0 0 14px;
  }
  .login-privacy-content ul {
    padding-left: 20px;
  }
  .login-privacy-loading {
    color: #b8afd1;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
  }
  .login-privacy-content li {
    margin-bottom: 8px;
  }
  .login-privacy-content hr {
    border: 0;
    border-top: 1px solid rgba(139,92,246,0.18);
    margin: 18px 0;
  }
  .header-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .logo {
    font-size: 26px; font-family: 'Sora', sans-serif; font-weight: 700;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .subtitle { font-size: 12px; color: #9990b3; margin-top: 4px; }
  .stats { display: flex; gap: 24px; }
  .stat-val { font-size: 20px; font-weight: 700; color: #a78bfa; text-align: center; }
  .stat-val.gold { color: #f59e0b; }
  .stat-label { font-size: 10px; color: #9990b3; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; }
