
  :root {
    /* "Zenith Flat" — sitewide evolution of the approved subscription-row
       language (see subscriptionRow()): a barely-blue void background (not
       pure neutral) so real game art never looks "cut out" against it,
       elevation carried entirely by tonal surface steps (surface/surface-2/
       surface-3) instead of borders, and one crisp white accent reused for
       exactly four jobs — focus rings, selected states, progress data, and
       the primary button. --border/--border-2 are kept only for the few
       spots a hairline genuinely earns its keep (inputs, dividers); reach
       for a surface step first. */
    --bg:#050609; --surface:rgba(255,255,255,.04); --surface-2:rgba(255,255,255,.07);
    --surface-3:rgba(255,255,255,.1);
    --overlay-bg:#20242f; --overlay-raised:#2a3040; --overlay-hover:#343c4f;
    --overlay-border:rgba(255,255,255,.1); --overlay-text:#f4f6fb; --overlay-muted:#b4bac7;
    --overlay-success:#6ee7b7; --overlay-success-soft:rgba(110,231,183,.16); --overlay-success-border:rgba(110,231,183,.24);
    --overlay-warning:#fcd34d; --overlay-warning-soft:rgba(252,211,77,.14);
    --overlay-radius:18px; --overlay-shadow:0 24px 64px rgba(0,0,0,.68),0 4px 14px rgba(0,0,0,.34);
    --border:rgba(255,255,255,.09); --border-2:rgba(255,255,255,.34);
    --text:#f6f6f8; --text-muted:#9a9aa4; --text-faint:#7e7e88;
    --ring:rgba(255,255,255,.5);
    --blue:#fff; --blue-soft:rgba(255,255,255,.1); --blue-soft-strong:rgba(255,255,255,.16);
    --ok:#4ade80; --warn:#fbbf24; --bad:#f87171; --premium-gold:#f6c85f;
    --days-watch:#60a5fa; --days-caution:#facc15; --days-warning:#fb923c;
    /* Radius system: compact controls → fields → grouped panels → cards. */
    --r-xs:6px; --r-sm:10px; --r:14px; --r-lg:18px; --r-pill:999px;
    /* Concept A aliases + scale (accent = --blue; text-on-accent uses dark
       ink #08080a everywhere for WCAG). */
    --accent:var(--blue); --accent-wash:var(--blue-soft); --accent-wash-strong:var(--blue-soft-strong); --accent-dim:rgba(255,255,255,.7);
    --accent-hover:#e6e6ea; --ink-on-accent:#08080a;
    --control-bg:var(--surface-2); --control-hover:var(--surface-3); --control-text:var(--text-muted);
    --field-bg:#0c0f16; --control-border:rgba(255,255,255,.16);
    --success-soft:rgba(74,222,128,.1); --success-border:rgba(74,222,128,.3); --success-text:#bdf5cf;
    --warning-soft:rgba(251,191,36,.1); --warning-border:rgba(251,191,36,.28); --warning-text:#fde68a;
    --danger-soft:rgba(248,113,113,.1); --danger-border:rgba(248,113,113,.3); --danger-text:#ffc9c9;
    --hairline:var(--border); --hairline-strong:var(--border-2);
    --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px; --sp-7:48px; --sp-8:64px;
    --dur:180ms; --dur-med:260ms; --dur-slow:420ms; --ease:cubic-bezier(.2,.7,.3,1); --ease-out:cubic-bezier(.16,1,.3,1);
    --font:"Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    --font-d:var(--font);
    --font-mono:var(--font);
  }
  * { box-sizing:border-box; }
  html,body { margin:0; padding:0; }
  body {
    position:relative; background:var(--bg);
    color:var(--text); font:15px/1.5 var(--font);
    -webkit-font-smoothing:antialiased; min-height:100vh;
  }
  .unicorn-bg {
    position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
    isolation:isolate;
    --unicorn-scene-opacity:.5;
    --unicorn-tint-opacity:.42;
    background:
      radial-gradient(ellipse 76% 48% at 50% 0%, rgba(10,54,150,.52) 0%, rgba(4,22,76,.32) 38%, rgba(5,6,9,.1) 72%, rgba(5,6,9,0) 100%),
      var(--bg);
  }
  .unicorn-bg::before {
    content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
    opacity:var(--unicorn-tint-opacity);
    background:
      radial-gradient(ellipse 68% 44% at 50% 0%, rgba(18,112,255,.5) 0%, rgba(5,68,196,.2) 58%, rgba(5,6,9,0) 100%),
      linear-gradient(180deg, rgba(6,32,110,.08) 0%, rgba(5,6,9,.16) 72%, rgba(5,6,9,.42) 100%);
    mix-blend-mode:screen;
  }
  .unicorn-bg::after {
    content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
    background:
      radial-gradient(ellipse 78% 52% at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,.16) 48%, rgba(0,0,0,.62) 100%),
      linear-gradient(180deg, rgba(5,6,9,0) 0%, rgba(5,6,9,.24) 50%, rgba(5,6,9,.78) 82%, rgba(5,6,9,.97) 100%);
    mix-blend-mode:multiply;
  }
  .wrap {
    position:relative; z-index:1;
  }
  /* Cross-document transitions are driven explicitly by clientNavigate().
     Do not opt every form/button navigation into the View Transition API:
     same-page actions such as pause/resume should remain immediate. */
  ::view-transition-group(root) { animation-duration:440ms; animation-timing-function:var(--ease-out); }
  ::view-transition-old(root), ::view-transition-new(root) {
    mix-blend-mode:normal;
    backface-visibility:hidden;
    transform-origin:50% 42%;
  }
  html[data-vt="forward"]::view-transition-old(root) { animation:rootForwardOut 300ms var(--ease) both; }
  html[data-vt="forward"]::view-transition-new(root) { animation:rootForwardIn 440ms var(--ease-out) both; }
  html[data-vt="back"]::view-transition-old(root) { animation:rootBackOut 300ms var(--ease) both; }
  html[data-vt="back"]::view-transition-new(root) { animation:rootBackIn 420ms var(--ease-out) both; }
  html[data-vt="replace"]::view-transition-old(root) { animation:rootReplaceOut 220ms var(--ease) both; }
  html[data-vt="replace"]::view-transition-new(root) { animation:rootReplaceIn 360ms var(--ease-out) both; }
  /* Motion — a restrained, shared set of entrance/interaction animations.
     prefers-reduced-motion:reduce collapses every animation/transition to a
     single frame rather than merely slowing them, per WCAG 2.3.3. */
  @keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
  @keyframes fadeScale { from { opacity:0; transform:translateY(8px) scale(.99); } to { opacity:1; transform:translateY(0) scale(1); } }
  @keyframes rootForwardOut { to { opacity:0; transform:translateY(-10px); filter:blur(1px); } }
  @keyframes rootForwardIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
  @keyframes rootBackOut { to { opacity:0; transform:translateY(10px); filter:blur(1px); } }
  @keyframes rootBackIn { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:translateY(0); } }
  @keyframes rootReplaceOut { to { opacity:0; transform:translateY(-4px); } }
  @keyframes rootReplaceIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
  @keyframes routeForwardIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
  @keyframes routeBackIn { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:translateY(0); } }
  @keyframes routeReplaceIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
  @keyframes iconPop { from { opacity:0; transform:scale(.85); } to { opacity:1; transform:scale(1); } }
  @keyframes ringPulse { 0% { transform:scale(.8); opacity:.6; } 100% { transform:scale(1.6); opacity:0; } }
  @keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
  @keyframes blockIn { from { opacity:0; transform:translateY(14px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
  @keyframes buttonTap { 0% { transform:scale(1); } 45% { transform:scale(.96); } 100% { transform:scale(1); } }
  html[data-motion="on"].route-enter[data-vt="forward"] .wrap { animation:routeForwardIn 440ms var(--ease-out) both; }
  html[data-motion="on"].route-enter[data-vt="back"] .wrap { animation:routeBackIn 420ms var(--ease-out) both; }
  html[data-motion="on"].route-enter[data-vt="replace"] .wrap { animation:routeReplaceIn 360ms var(--ease-out) both; }
  html[data-motion="on"] .enter,
  html[data-motion="on"] .card,
  html[data-motion="on"] .home-balance-center,
  html[data-motion="on"] .shop-head,
  html[data-motion="on"] .topup-head,
  html[data-motion="on"] .stephead,
  html[data-motion="on"] .listcard,
  html[data-motion="on"] .activity-list,
  html[data-motion="on"] .shop-empty,
  html[data-motion="on"] .topup-card,
  html[data-motion="on"] .emptycoins {
    animation:blockIn 460ms var(--ease-out) both;
  }
  html[data-motion="on"] .status-banner { animation:slideDown .3s var(--ease-out) both; }
  html[data-motion="on"] .outcome .oicon { animation:iconPop .4s var(--ease-out) both; }
  html[data-motion="on"] .outcome[data-kind="ok"] .oicon::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--ok); animation:ringPulse 1s var(--ease-out) .2s 1 both; }
  html[data-motion="on"] .listcard .row,
  html[data-motion="on"] .game-grid > label,
  html[data-motion="on"] .game-row-list .game-row,
  html[data-motion="on"] .activity-row {
    animation:fadeScale .42s var(--ease-out) both;
  }
  html[data-motion="on"] .listcard .row:nth-of-type(1),
  html[data-motion="on"] .game-grid > label:nth-of-type(1),
  html[data-motion="on"] .game-row-list .game-row:nth-of-type(1),
  html[data-motion="on"] .activity-row:nth-of-type(1) { animation-delay:60ms; }
  html[data-motion="on"] .listcard .row:nth-of-type(2),
  html[data-motion="on"] .game-grid > label:nth-of-type(2),
  html[data-motion="on"] .game-row-list .game-row:nth-of-type(2),
  html[data-motion="on"] .activity-row:nth-of-type(2) { animation-delay:100ms; }
  html[data-motion="on"] .listcard .row:nth-of-type(3),
  html[data-motion="on"] .game-grid > label:nth-of-type(3),
  html[data-motion="on"] .game-row-list .game-row:nth-of-type(3),
  html[data-motion="on"] .activity-row:nth-of-type(3) { animation-delay:140ms; }
  html[data-motion="on"] .listcard .row:nth-of-type(4),
  html[data-motion="on"] .game-grid > label:nth-of-type(4),
  html[data-motion="on"] .game-row-list .game-row:nth-of-type(4),
  html[data-motion="on"] .activity-row:nth-of-type(4) { animation-delay:180ms; }
  html[data-motion="on"] .listcard .row:nth-of-type(n+5),
  html[data-motion="on"] .game-grid > label:nth-of-type(n+5),
  html[data-motion="on"] .game-row-list .game-row:nth-of-type(n+5),
  html[data-motion="on"] .activity-row:nth-of-type(n+5) { animation-delay:220ms; }
  html[data-motion="on"] .cbtn,
  html[data-motion="on"] .header-action,
  html[data-motion="on"] .topnav-links a,
  html[data-motion="on"] .icon-btn,
  html[data-motion="on"] .linkbtn,
  html[data-motion="on"] .chip,
  html[data-motion="on"] .copybtn,
  html[data-motion="on"] .pause-choice,
  html[data-motion="on"] .pay-method,
  html[data-motion="on"] .row,
  html[data-motion="on"] .game-row,
  html[data-motion="on"] .activity-row,
  html[data-motion="on"] .game-card,
  html[data-motion="on"] .tile,
  html[data-motion="on"] .checkout-bar-inner {
    transition-property:background, color, opacity, box-shadow, outline-color, outline-offset;
    transition-duration:260ms;
    transition-timing-function:var(--ease);
  }
  html[data-motion="on"] a.cbtn:active,
  html[data-motion="on"] a.header-action:active,
  html[data-motion="on"] .linkbtn:not([data-no-transition]):active,
  html[data-motion="on"] button.cbtn[type="submit"]:active {
    animation:buttonTap 240ms var(--ease-out) both;
  }
  @media (prefers-reduced-motion: no-preference) {
    html[data-motion="on"].route-enter[data-vt="forward"] .wrap { animation:routeForwardIn 440ms var(--ease-out) both; }
    html[data-motion="on"].route-enter[data-vt="back"] .wrap { animation:routeBackIn 420ms var(--ease-out) both; }
    html[data-motion="on"].route-enter[data-vt="replace"] .wrap { animation:routeReplaceIn 360ms var(--ease-out) both; }
    html[data-motion="on"] .status-banner { animation:slideDown .3s var(--ease-out) both; }
    html[data-motion="on"] .outcome .oicon { animation:iconPop .4s var(--ease-out) both; }
    html[data-motion="on"] .outcome[data-kind="ok"] .oicon::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--ok); animation:ringPulse 1s var(--ease-out) .2s 1 both; }
    /* Staggered icon → title → body reveal, so the outcome card feels
       choreographed rather than appearing all at once. */
    html[data-motion="on"] .outcome h3 { animation:fadeUp .4s var(--ease-out) .18s both; }
    html[data-motion="on"] .outcome p { animation:fadeUp .4s var(--ease-out) .26s both; }
    html[data-motion="on"] .outcome .cbtn { animation:fadeUp .4s var(--ease-out) .34s both; }
    html[data-motion="on"] .listcard .row, html[data-motion="on"] .game-grid > label, html[data-motion="on"] .game-row-list .game-row, html[data-motion="on"] .activity-row { animation:fadeScale .38s var(--ease-out) both; }
    html[data-motion="on"] .listcard .row:nth-of-type(1), html[data-motion="on"] .game-grid > label:nth-of-type(1), html[data-motion="on"] .game-row-list .game-row:nth-of-type(1) { animation-delay:70ms; }
    html[data-motion="on"] .listcard .row:nth-of-type(2), html[data-motion="on"] .game-grid > label:nth-of-type(2), html[data-motion="on"] .game-row-list .game-row:nth-of-type(2) { animation-delay:110ms; }
    html[data-motion="on"] .listcard .row:nth-of-type(3), html[data-motion="on"] .game-grid > label:nth-of-type(3), html[data-motion="on"] .game-row-list .game-row:nth-of-type(3) { animation-delay:150ms; }
    html[data-motion="on"] .listcard .row:nth-of-type(4), html[data-motion="on"] .game-grid > label:nth-of-type(4), html[data-motion="on"] .game-row-list .game-row:nth-of-type(4) { animation-delay:190ms; }
    html[data-motion="on"] .listcard .row:nth-of-type(n+5), html[data-motion="on"] .game-grid > label:nth-of-type(n+5), html[data-motion="on"] .game-row-list .game-row:nth-of-type(n+5) { animation-delay:230ms; }
    html[data-motion="on"] .copybtn.copied .cicon-check svg { animation:iconPop .25s var(--ease-out) both; }
  }
  html.route-loading .wrap { pointer-events:none; }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
    html:not([data-motion="on"])::view-transition-old(root), html:not([data-motion="on"])::view-transition-new(root) { animation:none !important; }
  }
  .wrap { width:100%; max-width:520px; min-height:100svh; box-sizing:border-box; margin:0 auto; padding:24px 18px 28px; display:flex; flex-direction:column; }
  /* Main dashboard pages (home/shop/subscriptions/activity) run wide — the
     "Zenith Flat" identity is a spacious multi-column dashboard, not the
     narrow single-column checkout column. Wizard/auth pages stay narrow. */
  .wrap.wide { max-width:1080px; padding-left:24px; padding-right:24px; }
  .wrap:has(.auth-screen), .wrap:has(.state-screen) { max-width:none; min-height:100vh; padding:clamp(28px, 7vh, 80px) 18px; display:grid; place-items:center; }
  .narrow { width:100%; max-width:420px; margin:0 auto; }
  a { color:var(--text); }
  form { margin:0; }
  .muted { color:var(--text-muted); }
  .faint { color:var(--text-faint); }
  .note { font-size:12.5px; }
  .mono { font-family:var(--font-mono); }
  button { font-family:inherit; }
  [hidden] { display:none !important; }
  .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

  /* Shared brand and authentication styles. */
  .brand { font-family:var(--font-d); font-weight:700; letter-spacing:-.02em; font-size:17px; margin:0; display:flex; align-items:center; gap:9px; text-decoration:none; flex:0 0 auto; }
  .mark { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; overflow:visible; background:transparent; box-shadow:none; }
  .mark img { width:38px; height:38px; display:block; object-fit:contain; }
  .sand { font-size:9.5px; font-weight:700; color:var(--warning-text); border:1px solid var(--warning-border); background:var(--warning-soft); border-radius:var(--r-xs); padding:2px 6px; letter-spacing:.05em; }
  .auth-screen { width:min(100%, 390px); text-align:center; display:flex; flex-direction:column; align-items:center; }
  .auth-logo { width:100px; height:100px; display:grid; place-items:center; margin:0 0 8px; overflow:visible; background:transparent; box-shadow:none; }
  .auth-logo img { width:100px; height:100px; display:block; object-fit:contain; }
  .auth-title { justify-content:center; font-size:21px; margin:0; }
  .auth-copy { max-width:310px; margin:16px auto 20px; color:var(--text-muted); font-size:13.5px; line-height:1.45; }
  .auth-action { width:100%; margin-top:22px; }
  .auth-action .cbtn-discord { height:54px; padding-left:32px; padding-right:32px; border-radius:var(--r-lg); }
  .state-screen { width:min(100%, 440px); display:flex; flex-direction:column; align-items:center; text-align:center; }
  .state-logo { width:78px; height:78px; display:grid; place-items:center; margin-bottom:18px; }
  .state-logo img { width:78px; height:78px; display:block; object-fit:contain; }
  .state-card { width:100%; padding:30px 28px 26px; border-radius:var(--r-lg); background:var(--surface); box-shadow:0 18px 54px rgba(0,0,0,.24); }
  .state-icon { width:56px; height:56px; display:grid; place-items:center; margin:0 auto 18px; border-radius:50%; }
  .state-icon svg { width:30px; height:30px; }
  .state-screen[data-kind="error"] .state-icon { background:var(--danger-soft); color:var(--danger-text); }
  .state-screen[data-kind="warning"] .state-icon { background:var(--warning-soft); color:var(--warning-text); }
  .state-screen[data-kind="neutral"] .state-icon { background:var(--control-hover); color:var(--text); }
  .state-eyebrow { margin:0 0 8px; color:var(--text-faint); font-size:10.5px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
  .state-title { margin:0; color:var(--text); font-family:var(--font-d); font-size:24px; font-weight:650; letter-spacing:-.025em; }
  .state-copy { max-width:350px; margin:12px auto 0; color:var(--text-muted); font-size:13.5px; line-height:1.55; }
  .state-actions { display:flex; flex-direction:column; gap:10px; width:100%; margin-top:24px; }
  .state-actions .cbtn { width:100%; height:48px; }
  .state-help { margin:17px 0 0; color:var(--text-faint); font-size:11.5px; line-height:1.45; }
  @media (max-width:480px) {
    .state-card { padding:26px 20px 22px; }
    .state-title { font-size:22px; }
  }
  .cbtn-discord { background:#5865f2; color:#fff; box-shadow:0 14px 32px rgba(88,101,242,.22); }
  .cbtn-discord:hover { background:#6975f5; color:#fff; }
  .cbtn-discord svg { width:20px; height:16px; display:block; flex:0 0 20px; color:currentColor; }
  .devToolbar { position:fixed; right:18px; top:50%; z-index:80; width:180px; padding:10px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); box-shadow:var(--overlay-shadow); display:flex; flex-direction:column; gap:8px; }
  .devToolbar-title { margin:0 0 2px; color:var(--overlay-muted); font-size:10px; line-height:1; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
  .devToolbar-action { height:38px; border:0; border-radius:var(--r-sm); background:var(--accent); color:var(--ink-on-accent); font:inherit; font-size:12.5px; font-weight:800; text-decoration:none; display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .devToolbar-action:hover { background:var(--accent-hover); color:var(--ink-on-accent); }
  .devToolbar-action.is-disabled { background:var(--overlay-raised); color:var(--overlay-muted); cursor:not-allowed; }
  .devToolbar-note { margin:0; color:var(--overlay-muted); font-size:10.5px; line-height:1.3; }
  @media (max-width:760px) { .devToolbar { left:18px; right:18px; top:auto; bottom:18px; width:auto; flex-direction:row; align-items:center; } .devToolbar-title, .devToolbar-note { flex:1; } .devToolbar-action { min-width:118px; } }
  /* Wide dashboard header (Concept A) — brand left, inline nav, avatar right,
     one horizontal bar. Nav active = neutral surface step (accent reserved
     for primary actions / progress / focus). */
  .topnav { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:18px; margin-bottom:var(--sp-6); }
  .topnav > .brand { justify-self:start; }
  .topnav-links { display:flex; justify-self:center; gap:var(--sp-2); }
  .topnav-links a { padding:var(--sp-2) var(--sp-4); border-radius:var(--r-pill); color:var(--control-text); font-size:14px; font-weight:500; text-decoration:none; white-space:nowrap; transition:background var(--dur) var(--ease), color var(--dur) var(--ease); }
  .topnav-links a:hover { background:var(--control-bg); color:var(--text); }
  .topnav-links a[aria-current="page"] { background:var(--control-hover); color:var(--text); }
  .topnav-links a:focus-visible { outline:none; box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--ring); }
  .support-unread { min-width:17px; height:17px; display:inline-flex; align-items:center; justify-content:center; margin-left:3px; padding:0 5px; border-radius:var(--r-pill); background:var(--bad); color:#150607; font-size:9px; font-weight:800; line-height:1; }
  .support-unread[hidden] { display:none; }
  .topright { display:flex; align-items:center; justify-self:end; gap:10px; flex:0 0 auto; }
  .live-support {
    position:fixed;
    right:max(20px, env(safe-area-inset-right));
    bottom:max(20px, env(safe-area-inset-bottom));
    z-index:70;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    overflow:visible;
    isolation:isolate;
    border:0;
    border-radius:50%;
    background:var(--control-bg);
    color:var(--control-text);
    text-decoration:none;
    padding:0;
    box-shadow:inset 0 0 0 1px var(--border);
    transition:background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .live-support svg { width:19px; height:19px; display:block; flex:0 0 auto; stroke-width:1.8; }
  .live-support:hover { background:var(--control-hover); color:var(--text); box-shadow:inset 0 0 0 1px var(--border); }
  .live-support:focus-visible { outline:none; box-shadow:inset 0 0 0 1px var(--border), 0 0 0 2px var(--bg), 0 0 0 4px var(--ring); }
  .live-support[aria-current="page"] { display:none; }
  .live-support .support-unread {
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:17px;
    height:17px;
    margin:0;
    padding:0 4px;
    border:2px solid var(--bg);
  }
  body:has(.checkout-bar:not([hidden])) .live-support { bottom:calc(var(--checkout-dock-height, 90px) + max(14px, env(safe-area-inset-bottom))); }
  /* Five sections need their own row on tablets as well as phones. */
  @media (max-width:960px) {
    .topnav { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }
    .topright { margin-left:auto; }
    .topnav-links { order:3; width:100%; justify-content:space-between; gap:2px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
    .topnav-links::-webkit-scrollbar { display:none; }
    .topnav-links a { padding:8px 9px; font-size:12px; }
  }
  @media (max-width:540px) {
    .live-support { right:max(14px, env(safe-area-inset-right)); bottom:max(14px, env(safe-area-inset-bottom)); }
  }
  @media (max-width:420px) { .brandword, .sand { display:none; } .uname { display:none; } }
  /* Legal pages retain the normal Pay navigation while sharing their document
     and footer primitives with discord.zenith.ooo. */
  .wrap.wide:has(.legal-page) { max-width:1080px; padding:24px 24px 80px; }
  .legal-page { width:100%; }
  .wrap:has(.error-screen) { max-width:none; min-height:100svh; padding:clamp(28px,7vh,80px) 18px; display:grid; place-items:center; }
  .error-screen { width:min(100%,600px); display:flex; flex-direction:column; align-items:center; text-align:center; }
  .error-logo { width:96px; height:96px; margin:0 0 var(--sp-5); padding:0; display:grid; place-items:center; border:0; background:transparent; color:inherit; cursor:pointer; }
  .error-logo img { width:96px; height:96px; display:block; object-fit:contain; filter:drop-shadow(0 16px 30px rgba(24,100,220,.2)); }
  .error-logo:focus-visible { outline:2px solid var(--ring); outline-offset:8px; border-radius:var(--r); }
  .route-not-found-code { display:block; margin:0 0 var(--sp-3); color:var(--text-faint); font-size:12px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
  .route-not-found-title { margin:0; font-family:var(--font-d); font-size:52px; line-height:1.04; font-weight:650; letter-spacing:0; }
  .route-not-found-text { max-width:480px; margin:var(--sp-4) auto 0; color:var(--text-muted); font-size:16px; line-height:1.6; }
  .route-not-found-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:var(--sp-3); margin-top:var(--sp-6); }
  .route-not-found-actions .cbtn { min-width:148px; }
  .error-easter-egg { min-height:18px; margin:var(--sp-5) 0 0; color:var(--text-faint); font-size:11.5px; line-height:1.5; }
  html[data-motion="on"] .error-logo.is-awake img { animation:zenithWake .72s var(--ease-out) both; }
  html[data-motion="on"] .error-easter-egg:not([hidden]) { animation:fadeUp .32s var(--ease-out) both; }
  @keyframes zenithWake {
    0% { transform:rotate(0) scale(1); }
    35% { transform:rotate(-10deg) scale(1.08); }
    68% { transform:rotate(8deg) scale(1.12); }
    100% { transform:rotate(0) scale(1); filter:drop-shadow(0 0 28px rgba(79,145,255,.58)); }
  }
  @media (max-width:640px) {
    .error-logo, .error-logo img { width:82px; height:82px; }
    .route-not-found-title { font-size:40px; }
    .route-not-found-text { font-size:15px; }
    .route-not-found-actions { flex-direction:column; }
    .route-not-found-actions .cbtn { width:100%; }
  }

  .userBar { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
  .accountMenu { position:relative; }
  .accountMenu summary { list-style:none; }
  .accountMenu summary::-webkit-details-marker { display:none; }
  .userChip { min-height:36px; display:flex; align-items:center; gap:8px; padding:5px 10px 5px 5px; border-radius:var(--r-pill); background:var(--control-bg); color:var(--text); cursor:pointer; transition:background var(--dur) var(--ease), color var(--dur) var(--ease); }
  .userChip:hover, .accountMenu[open] .userChip { background:var(--control-hover); }
  .uavatar-wrap { position:relative; display:flex; flex:0 0 auto; }
  .supporter-badge-help { display:flex; flex:0 0 auto; }
  .supporter-badge { display:grid; place-items:center; width:28px; height:28px; flex:0 0 auto; border:0; padding:0; border-radius:50%; background:transparent; cursor:help; }
  .supporter-badge:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .supporter-badge img { display:block; width:28px; height:28px; object-fit:contain; filter:brightness(1.2) drop-shadow(0 0 5px rgba(100,164,255,.55)); }
  .uavatar { position:relative; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; overflow:hidden; font-size:11px; font-weight:700; color:#fff; flex:0 0 auto; }
  .uavatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .premium-crown { position:absolute; top:-9px; right:-7px; width:19px; height:19px; display:grid; place-items:center; color:var(--premium-gold); pointer-events:none; transform:rotate(14deg); transform-origin:50% 80%; }
  .premium-crown svg { width:18px; height:18px; overflow:visible; fill:currentColor; stroke:none; filter:drop-shadow(0 2px 2px rgba(0,0,0,.82)) drop-shadow(0 0 4px rgba(246,200,95,.22)); }
  .uname { font-size:13px; font-weight:600; color:var(--text); max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .accountDropdown { position:absolute; right:0; top:calc(100% + 10px); z-index:40; min-width:232px; padding:8px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); box-shadow:var(--overlay-shadow); }
  .accountDropdown::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
  @media (hover:hover) and (pointer:fine) {
    .accountMenu:hover > .accountDropdown { display:block; }
  }
  .accountBalance { display:flex; flex-direction:column; gap:3px; padding:12px 11px; margin-bottom:6px; border-radius:var(--r); background:var(--overlay-hover); }
  .accountBalance span { color:var(--overlay-muted); font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
  .accountBalance strong { color:var(--overlay-text); font-size:15px; font-weight:800; }
  .accountDropAction { width:100%; min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:10px; border:0; border-radius:var(--r-sm); padding:0 11px; background:transparent; color:var(--overlay-muted); text-decoration:none; font:inherit; font-size:13px; font-weight:700; cursor:pointer; transition:background var(--dur) var(--ease), color var(--dur) var(--ease); }
  .accountDropAction:hover { background:var(--overlay-hover); color:var(--overlay-text); }
  .accountDropAction.is-logout { color:var(--danger-text); }
  .accountDropAction.is-logout:hover { background:var(--danger-soft); color:var(--danger-text); }
  .accountDropdown form { margin:0; }
  .accountMenu:has(.supporter-badge-help:is(:hover,:focus-within)) > .accountDropdown { display:none; }
  .header-action { min-height:36px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:var(--r-pill); padding:0 12px; background:var(--control-bg); color:var(--control-text); font:inherit; font-size:12.5px; font-weight:650; text-decoration:none; cursor:pointer; transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .header-action:hover { background:var(--control-hover); color:var(--text); }
  .header-action:active { transform:scale(.97); }

  /* Subscription status badge — small pill next to the game name. Recipes
     mirror the status-banner tones (contrast-checked). */

  .inline-status { display:inline-flex; align-items:center; gap:7px; color:var(--text-faint); font-size:12px; font-weight:650; }

  /* Step indicator */
  .stepbar { display:flex; align-items:center; margin-bottom:22px; }
  .sb-item { display:flex; align-items:center; gap:7px; flex:0 0 auto; }
  .sb-dot { width:21px; height:21px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:700; border:1px solid var(--border-2); color:var(--text-faint); flex:0 0 auto; }
  .sb-item.now .sb-dot { background:var(--blue); color:#08080a; border-color:var(--blue); }
  .sb-item.done .sb-dot { background:var(--success-soft); color:var(--ok); border-color:var(--success-border); }
  .sb-label { font-size:11px; color:var(--text-faint); font-weight:600; white-space:nowrap; }
  .sb-item.now .sb-label { color:var(--text); }
  .sb-line { flex:1; height:1px; background:var(--border); margin:0 6px; min-width:8px; }
  .sb-line.done { background:var(--success-border); }
  @media (max-width:380px) { .sb-label { display:none; } }

  h2 { font-family:var(--font-d); font-size:11.5px; text-transform:uppercase; letter-spacing:.09em; color:var(--text-faint); margin:30px 0 10px; font-weight:600; }
  .emptycta { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
  .card { background:var(--surface); border-radius:var(--r-lg); padding:24px; }
  /* A genuine internal divider — the one hairline use that earns its keep
     inside an otherwise-flat, tonal card (e.g. separating the amount input
     from the method list on the same card, rather than two bordered cards
     stacked). */
  .divider { height:1px; background:var(--hairline); margin:0 calc(var(--sp-6) * -1); }

  .linkbtn { background:none; border:none; color:var(--text-muted); cursor:pointer; font:inherit; font-size:13px; display:inline-flex; align-items:center; gap:6px; padding:4px 0; text-decoration:none; }
  .linkbtn:hover { color:var(--text); }

  /* List rows — the core visual pattern: products, coins, and payment
     methods all render as rows in a bordered .listcard, not grids of tiles. */
  .listcard { border-radius:var(--r-lg); overflow:hidden; background:var(--surface); }
  .row { display:flex; align-items:center; gap:13px; padding:14px 17px; width:100%; text-align:left; background:transparent; border:0; border-bottom:1px solid var(--border); color:var(--text); font:inherit; text-decoration:none; transition:background var(--dur) var(--ease); }
  /* .ctxrow instances are plain display rows (no label/button wrapper),
     not real controls — press feedback only applies to the interactive
     ones (method-picker labels, coin-picker buttons). */
  .row:not(.ctxrow):active { background:var(--surface-3); }
  /* :first-of-type/:last-of-type (not :first-child/:last-child) because
     radio-backed rows (method picker) have a hidden <input> sibling right
     before each <label class="row"> — that input, not the label, would
     otherwise be the true first-child, and the selected-row corner
     highlight (box-shadow) needs to follow the card's rounded corners. */
  .row:first-of-type { border-top-left-radius:var(--r-lg); border-top-right-radius:var(--r-lg); }
  .row:last-of-type { border-bottom-left-radius:var(--r-lg); border-bottom-right-radius:var(--r-lg); border-bottom:0; }
  .row:hover { background:var(--surface-2); }
  .row:hover .rowicon { color:#fff; }
  .row:focus-visible { outline:none; box-shadow:inset 0 0 0 2px var(--ring); }
  .rowicon { position:relative; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:0 0 auto; overflow:hidden; font-size:11px; font-weight:700; color:#fff; transition:transform var(--dur) var(--ease); }
  .rowicon img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  /* Rounded-rect variant for real key-art thumbnails — a circle crop loses
     too much of a landscape banner to stay recognizable. */
  .rowicon.art { width:42px; height:42px; border-radius:var(--r-sm); }
  .rowbody { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
  .rowtitle { font-size:13.5px; font-weight:600; line-height:1.25; }
  .rowsub { font-size:11.5px; color:var(--text-faint); }
  .rowend { flex:0 0 auto; display:flex; align-items:center; gap:8px; color:var(--text-faint); }
  .poptag { font-size:9.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#08080a; background:var(--blue); border-radius:var(--r-xs); padding:2px 6px; margin-left:7px; vertical-align:1px; }

  /* Context badge — compact single-row summary atop coins/billing/pay pages. */
  .ctxrow { border-radius:var(--r-lg); margin-bottom:18px; background:var(--surface); }
  .row.ctxrow:hover { background:var(--surface); }

  /* Radio rows — payment-method picker (native radios, zero JS, selected
     state driven entirely by the :checked sibling selector). */
  .pmrow-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .pmrow-input:checked + .row { background:var(--blue-soft); box-shadow:inset 0 0 0 1.5px var(--blue); }
  .pmrow-input:focus-visible + .row { outline:none; box-shadow:inset 0 0 0 2px var(--ring); }

  .accepts { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:0 0 16px; color:var(--text-faint); font-size:12px; }
  .brands { display:inline-flex; align-items:center; gap:6px; }
  .cardbrand { width:38px; height:22px; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; border-radius:5px; background:rgba(255,255,255,.94); color:#172b85; }
  .cardbrand svg { width:100%; height:100%; display:block; }
  .cardbrand.mastercard { width:30px; background:transparent; }
  .cardbrand.amex { background:transparent; }

  .chips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:10px; }
  .chip { display:inline-block; font:inherit; cursor:pointer; border:none; background:var(--control-bg); color:var(--control-text); border-radius:var(--r-pill); padding:9px 16px; font-size:13px; font-weight:600; transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .chip:hover { background:var(--control-hover); color:var(--text); }
  .pmrow-input:checked + .chip { background:var(--blue-soft-strong); color:var(--text); box-shadow:inset 0 0 0 1.5px var(--blue); }
  .pmrow-input:focus-visible + .chip { outline:2px solid var(--ring); outline-offset:2px; }
  input, select, .form-control { font:inherit; background:var(--field-bg); border:1px solid var(--control-border); color:var(--text); border-radius:var(--r-sm); padding:10px 12px; width:100%; }
  input:focus, select:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-wash); }

  .bill { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 4px; }
  .field { display:flex; flex-direction:column; gap:5px; }
  .field.full { grid-column:1 / -1; }
  .field label { font-size:10.5px; color:var(--text-faint); font-weight:600; letter-spacing:.03em; text-transform:uppercase; }

  .status-banner {
    --status-accent:var(--text-muted);
    --status-surface:var(--surface);
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    align-items:center;
    gap:11px;
    width:100%;
    min-height:54px;
    margin:0 0 18px;
    padding:13px 15px;
    border:0;
    border-radius:var(--r);
    background:var(--status-surface);
    box-shadow:none;
    color:var(--status-accent);
    text-align:left;
  }
  .status-banner-icon {
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:0;
    background:transparent;
    color:currentColor;
    box-shadow:none;
  }
  .status-banner-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .status-banner-copy { min-width:0; color:currentColor; font-size:13.5px; font-weight:600; line-height:1.45; overflow-wrap:anywhere; }
  .status-banner.is-success {
    --status-accent:var(--success-text);
    --status-surface:rgba(38,105,76,.2);
  }
  .status-banner.is-error {
    --status-accent:var(--danger-text);
    --status-surface:rgba(118,43,54,.2);
  }
  @media (max-width:520px) {
    .status-banner { grid-template-columns:20px minmax(0,1fr); gap:10px; min-height:50px; padding:11px 13px; }
    .status-banner-icon { width:20px; height:20px; }
    .status-banner-icon svg { width:19px; height:19px; }
    .status-banner-copy { font-size:13px; }
  }

  .foot { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:26px; color:var(--text-faint); font-size:11.5px; }

  /* Coin picker */
  .stephead { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
  .searchwrap { position:relative; margin-bottom:12px; }
  .searchwrap svg { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-faint); pointer-events:none; }
  .searchwrap input { padding-left:34px; }
  #coinGrid { max-height:400px; overflow-y:auto; }
  #coinGrid::-webkit-scrollbar { width:6px; } #coinGrid::-webkit-scrollbar-thumb { background:var(--border-2); border-radius:3px; }
  .emptycoins { text-align:center; padding:32px 12px; color:var(--text-muted); font-size:13.5px; }

  /* Pay step — QR sits beside the address/amount/status column instead of
     stacked above it, so the whole screen isn't a tall narrow scroll. */
  .paysplit { display:flex; gap:28px; align-items:flex-start; }
  .paysplit .qrcol { flex:0 0 auto; }
  .paysplit .infocol { flex:1; min-width:0; }
  @media (max-width:640px) { .paysplit { flex-direction:column; align-items:center; } .paysplit .infocol { width:100%; } }
  .qrbox { background:#fff; padding:14px; border-radius:var(--r); width:fit-content; line-height:0; }
  .qrbox img { display:block; width:184px; height:184px; }
  .field-row { margin-bottom:14px; }
  .field-row label { display:block; font-size:10.5px; color:var(--text-faint); font-weight:600; letter-spacing:.03em; text-transform:uppercase; margin-bottom:6px; }
  .copyrow { display:flex; align-items:stretch; gap:6px; }
  .copyval { flex:1; min-width:0; background:var(--field-bg); border:1px solid var(--control-border); border-radius:var(--r-sm); padding:10px 12px; font-family:var(--font-mono); font-size:13px; word-break:break-all; display:flex; align-items:center; }
  .cicon-copy, .cicon-check { display:flex; flex:0 0 auto; }
  .cicon-check { display:none; }
  .copybtn.copied .cicon-copy { display:none; }
  .copybtn.copied .cicon-check { display:flex; }
  .copybtn { flex:0 0 auto; border:1px solid var(--control-border); background:var(--field-bg); color:var(--control-text); border-radius:var(--r-sm); padding:0 14px; cursor:pointer; display:flex; align-items:center; gap:5px; transition:color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease); font-size:12.5px; font-weight:600; }
  .copybtn:hover { color:var(--text); border-color:var(--text-faint); }
  .copybtn.copied { color:var(--success-text); border-color:var(--success-border); background:var(--success-soft); }
  /* Amount-first hero on the pay step — the number you must send, biggest
     thing on the card; the copy-row below keeps the machine-copyable value. */
  .payhero { margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--border); }
  .payhero .ph-amt { font-size:30px; font-weight:700; letter-spacing:-.02em; line-height:1.15; word-break:break-all; }
  .payhero .ph-cur { font-size:16px; color:var(--text-muted); font-weight:600; }
  .payhero .ph-sub { font-size:13.5px; margin-top:3px; }
  .netwarn { display:flex; align-items:flex-start; gap:7px; margin:8px 0 0; font-size:12.5px; font-weight:600; line-height:1.4; color:var(--warning-text); background:var(--warning-soft); border:1px solid var(--warning-border); border-radius:var(--r-sm); padding:9px 11px; }
  .netwarn svg { flex:0 0 auto; margin-top:1px; }
  .cdbar { height:3px; background:var(--surface-2); border-radius:2px; margin-top:12px; overflow:hidden; }
  .cdbar > i { display:block; height:100%; width:100%; background:var(--blue); border-radius:2px; transition:width 1s linear, background .6s ease; }
  .metarow { display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-top:2px; }
  .meta .ml { font-size:10.5px; color:var(--text-faint); font-weight:600; letter-spacing:.03em; text-transform:uppercase; margin-bottom:6px; }
  .meta .mv { font-family:var(--font-d); font-size:22px; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
  .meta .mv.warn { color:var(--warn); } .meta .mv.bad { color:var(--bad); }
  /* Outcome */
  .outcome { text-align:center; padding:18px 6px 6px; }
  .outcome .oicon { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; position:relative; }
  .outcome[data-kind="ok"] .oicon { background:var(--success-soft); color:var(--ok); }
  .outcome[data-kind="bad"] .oicon { background:var(--danger-soft); color:var(--bad); }
  .outcome[data-kind="warn"] .oicon { background:var(--warning-soft); color:var(--warn); }
  .outcome h3 { font-family:var(--font-d); font-size:19px; margin:0 0 6px; }
  .outcome p { color:var(--text-muted); font-size:13.5px; margin:0 0 20px; }

  @media (max-width:420px) { .bill { grid-template-columns:1fr; } }

  /* ============================================================
     Concept A ("Zenith Flat") components — ported verbatim from the
     approved mockup (tokens translated to this file's vars; text-on-accent
     is dark ink #08080a for WCAG, never the mockup's #fff; the generic
     button is namespaced .cbtn so it can't collide with the wizard .btn).
     ============================================================ */
  .num { font-family:var(--font-d); font-variant-numeric:tabular-nums; }
  @keyframes fadeInUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
  @media (prefers-reduced-motion: no-preference) { html[data-motion="on"] .enter { animation:fadeInUp 420ms var(--ease) both; } }

  .cbtn { display:inline-flex; align-items:center; justify-content:center; gap:var(--sp-2); height:44px; padding:0 var(--sp-5); border-radius:var(--r-sm); border:none; font-family:var(--font); font-size:14.5px; font-weight:650; cursor:pointer; text-decoration:none; transition:background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease); }
  .cbtn-primary { background:var(--accent); color:var(--ink-on-accent); }
  .cbtn-primary:hover { background:var(--accent-hover); }
  .cbtn-secondary { background:var(--control-hover); color:var(--text); }
  .cbtn-secondary:hover { background:rgba(255,255,255,.13); }
  .cbtn:disabled { opacity:.4; cursor:not-allowed; }
  .cbtn:focus-visible { outline:none; box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--ring); }
  .cbtn.block { width:100%; }

  .icon-btn { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:transparent; border:none; color:var(--control-text); cursor:pointer; padding:0; transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .icon-btn:hover, .icon-btn:focus-visible { background:var(--control-hover); color:var(--text); outline:none; }
  .icon-btn svg { width:18px; height:18px; }

  .section-label { font-family:var(--font-d); font-size:13px; font-weight:500; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; }
  .section-head { display:flex; align-items:center; justify-content:space-between; margin:0 var(--sp-1) var(--sp-3); }
  .see-all { font-size:13px; color:var(--text-faint); font-weight:500; text-decoration:none; transition:color var(--dur) var(--ease); }
  .see-all:hover { color:var(--accent); }

  .tile { position:relative; border-radius:var(--r-lg); background:var(--surface); overflow:hidden; transition:background var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .block-link { display:block; color:inherit; text-decoration:none; border-radius:var(--r-lg); }
  .block-link:focus-visible { outline:2px solid var(--ring); outline-offset:3px; }
  .art-fade { position:absolute; inset:0; background-size:cover; background-position:center; -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 92%); mask-image:linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 92%); }
  .art-mono { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:var(--font-d); font-weight:700; font-size:20px; letter-spacing:.02em; color:#fff; }

  /* Progress ring — urgency increases from blue through yellow/orange to red,
     with green for 30+ days and gold for lifetime access. The real day count
     stays centered; the value circle rotates, not the whole svg. */
  .ring { flex:0 0 auto; }
  .ring circle { fill:none; }
  .ring-track { stroke:var(--surface-3); stroke-width:4; }
  .ring-value { stroke:var(--accent); stroke-width:4; stroke-linecap:round; transition:stroke-dashoffset .4s var(--ease); }
  .ring-value.is-premium { stroke:var(--premium-gold); }
  .ring-value.is-healthy { stroke:var(--ok); }
  .ring-value.is-watch { stroke:var(--days-watch); }
  .ring-value.is-caution { stroke:var(--days-caution); }
  .ring-value.is-warning { stroke:var(--days-warning); }
  .ring-value.is-urgent { stroke:var(--bad); }
  .ring-label { font-family:var(--font); font-weight:700; font-size:11px; fill:var(--text); font-variant-numeric:tabular-nums; }
  .ring-label.is-lifetime { fill:var(--premium-gold); font-size:17px; }

  .home-shell { width:100%; max-width:none; margin:var(--sp-5) 0 0; }
  .home-balance-center { min-height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:38px 16px 48px; text-align:center; }
  .home-balance-center .balance-amount { max-width:100%; display:flex; align-items:baseline; justify-content:center; gap:10px; margin-top:11px; color:var(--text); font-size:clamp(36px,6vw,66px); font-weight:700; line-height:1; letter-spacing:-.055em; white-space:nowrap; }
  .home-balance-center .balance-unit { color:var(--text-muted); font-family:var(--font); font-size:.38em; font-weight:650; letter-spacing:0; }
  .home-quick-actions { display:flex; align-items:flex-start; justify-content:center; gap:24px; margin-top:32px; }
  .home-quick-action { min-width:68px; display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--text); font-size:11.5px; font-weight:600; text-decoration:none; }
  .home-quick-action-icon { width:56px; height:56px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.075); color:var(--text); transition:background var(--dur) var(--ease),color var(--dur) var(--ease),transform var(--dur) var(--ease); }
  .home-quick-action-icon svg { width:19px; height:19px; }
  .home-quick-action.is-primary .home-quick-action-icon { background:#f5f5f7; color:#0b0c10; }
  .home-quick-action:hover { color:var(--text); }
  .home-quick-action:hover .home-quick-action-icon { background:var(--control-hover); color:#fff; transform:translateY(-2px); }
  .home-quick-action:focus-visible { outline:2px solid #fff; outline-offset:5px; border-radius:var(--r); }
  .home-overview-grid { display:flex; flex-direction:column; gap:var(--sp-7); }
  .home-panel { min-width:0; }
  .home-panel .section-label { margin:0; }
  .home-panel .game-row-list { margin-bottom:0; gap:var(--sp-2); }
  .home-panel .activity-ledger { margin:0; }
  @media (max-width:520px) {
    .home-balance-center { min-height:280px; padding:30px 8px 38px; }
    .home-balance-center .balance-amount { gap:7px; }
    .home-quick-actions { gap:18px; margin-top:26px; }
    .home-quick-action-icon { width:52px; height:52px; }
  }

  .game-row-list { display:flex; flex-direction:column; gap:var(--sp-3); margin-bottom:var(--sp-7); }
  .game-row { position:relative; min-height:88px; display:flex; align-items:center; gap:var(--sp-4); padding:0 var(--sp-5) 0 132px; flex-wrap:wrap; }
  .game-row:hover { background:var(--surface-2); }
  .game-row .art-fade { width:132px; left:0; right:auto; -webkit-mask-image:linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,0) 100%); mask-image:linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,0) 100%); }
  .game-row-info { display:flex; flex-direction:column; gap:2px; flex:1; z-index:1; min-width:0; }
  .game-row-name { font-family:var(--font-d); font-size:16px; font-weight:500; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .game-row-meta { font-size:13px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .game-row-meta.urgent-text { color:var(--bad); font-weight:500; }
  .game-row-right { display:flex; align-items:center; gap:var(--sp-3); z-index:1; flex:0 0 auto; }
  .game-row.is-inactive { opacity:.5; }
  @media (max-width:640px) { .game-row { padding-left:96px; min-height:76px; } .game-row .art-fade { width:96px; } }

  .activity-list { display:flex; flex-direction:column; gap:2px; border-radius:var(--r-lg); overflow:hidden; background:var(--surface); }
  .activity-row { display:flex; align-items:center; gap:var(--sp-3); padding:var(--sp-4) var(--sp-5); transition:background var(--dur) var(--ease); }
  .activity-row:hover { background:var(--surface-2); }
  .activity-icon { width:36px; height:36px; border-radius:50%; background:var(--surface-3); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .activity-icon svg { width:16px; height:16px; }
  .activity-info { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
  .activity-title { font-size:14.5px; font-weight:500; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .activity-sub { font-size:12.5px; color:var(--text-faint); }
  .activity-amount { font-size:14.5px; color:var(--text-muted); font-variant-numeric:tabular-nums; flex:0 0 auto; }
  .activity-amount.is-credit { color:var(--ok); }
  .activity-amount.is-debit { color:var(--text); }
  .activity-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:var(--sp-4); }
  .activity-pagination-copy { color:var(--text-faint); font-size:12px; }
  .activity-pagination-actions { display:flex; gap:8px; }
  .activity-pagination .linkbtn { min-height:36px; padding:0 13px; border-radius:var(--r-sm); background:var(--surface-2); }
  .activity-ledger-shell { width:100%; margin:var(--sp-3) 0 0; }
  .activity-ledger-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:0 0 var(--sp-5); }
  .activity-ledger-heading { min-width:0; }
  .activity-ledger-head h1 { margin:0; color:var(--text); font-family:var(--font-d); font-size:30px; font-weight:700; letter-spacing:-.03em; line-height:1.05; }
  .activity-day-group { margin-bottom:24px; }
  .activity-day-group:last-of-type { margin-bottom:0; }
  .activity-day-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 4px 9px; }
  .activity-day-title { margin:0; color:var(--text-muted); font-size:11px; font-weight:700; letter-spacing:.025em; }
  .activity-day-count { color:var(--text-faint); font-size:10.5px; }
  .activity-ledger { gap:0; border-radius:var(--r-lg); background:var(--surface); }
  .activity-ledger .activity-row { display:grid; grid-template-columns:40px minmax(0,1fr) minmax(128px,auto); gap:15px; min-height:88px; padding:16px 20px; border-bottom:1px solid rgba(255,255,255,.055); }
  .activity-ledger .activity-row:last-child { border-bottom:0; }
  .activity-ledger .activity-row:hover { background:rgba(255,255,255,.028); }
  .activity-ledger .activity-icon { width:40px; height:40px; background:rgba(255,255,255,.065); color:var(--text-muted); }
  .activity-ledger .activity-icon svg { width:17px; height:17px; }
  .activity-ledger .activity-icon.is-topup,
  .activity-ledger .activity-icon.is-reconcile,
  .activity-ledger .activity-icon.is-refund,
  .activity-ledger .activity-icon.is-grant { background:rgba(74,222,128,.1); color:var(--ok); }
  .activity-ledger .activity-info { align-self:center; gap:3px; }
  .activity-kind { color:var(--text-faint); font-size:9.5px; font-weight:750; letter-spacing:.085em; line-height:1.2; text-transform:uppercase; }
  .activity-ledger .activity-title { color:var(--text); font-size:15px; font-weight:700; line-height:1.25; }
  .activity-detail { color:var(--text-muted); font-size:11.5px; line-height:1.35; white-space:normal; }
  .activity-ledger .activity-sub { color:var(--text-faint); font-size:11.5px; line-height:1.35; }
  .activity-ledger .activity-amount { align-self:center; min-width:128px; color:var(--text); font-size:15px; font-weight:750; text-align:right; letter-spacing:-.01em; }
  .activity-ledger .activity-amount.is-debit { color:var(--text-muted); }
  .activity-ledger .activity-amount.is-credit { color:var(--ok); }
  .activity-balance-after { display:block; margin-top:4px; color:var(--text-faint); font-size:10.5px; font-weight:500; letter-spacing:0; }
  @media (max-width:600px) {
    .activity-ledger-shell { margin-top:var(--sp-2); }
    .activity-ledger-head { padding:0 4px; margin-bottom:var(--sp-4); }
    .activity-ledger-head h1 { font-size:27px; }
    .activity-day-group { margin-bottom:20px; }
    .activity-ledger .activity-row { grid-template-columns:36px minmax(0,1fr) minmax(92px,auto); gap:11px; min-height:84px; padding:14px 13px; }
    .activity-ledger .activity-icon { width:36px; height:36px; }
    .activity-ledger .activity-title { font-size:13.5px; }
    .activity-ledger .activity-amount { min-width:92px; font-size:13px; }
    .activity-balance-after { max-width:104px; margin-left:auto; font-size:9.5px; line-height:1.25; }
    .activity-pagination { align-items:flex-start; flex-direction:column; }
  }

  .shop-head { margin:var(--sp-5) 0 var(--sp-4); display:flex; flex-direction:column; gap:6px; }
  .shop-head h1 { font-size:30px; line-height:1; font-family:var(--font-d); font-weight:650; margin:0; color:var(--text); text-transform:none; letter-spacing:-.02em; }
  .game-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--sp-4); margin-bottom:0; }
  .game-card { --game-bg:var(--surface-2); --game-wash:rgba(255,255,255,.16); --game-slab:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03)); --game-mark:#fff; --game-ring:rgba(255,255,255,.72); position:relative; display:block; aspect-ratio:1 / 1; min-height:0; cursor:pointer; border-radius:var(--r-lg); background:var(--game-bg); overflow:hidden; transition:none; outline:2px solid transparent; outline-offset:4px; box-shadow:0 0 0 1px rgba(255,255,255,.08) inset; }
  .game-card:hover { outline-color:var(--game-ring); box-shadow:0 0 0 1px rgba(255,255,255,.16) inset; }
  .game-card::before { content:""; position:absolute; inset:0; background:var(--game-wash); opacity:.42; transition:none; pointer-events:none; z-index:0; }
  .game-card:hover::before { opacity:.6; }
  .game-card .art-fade { inset:auto -18px -8px 26px; height:72%; overflow:hidden; border-radius:var(--r-lg) 0 0 0; background:var(--game-slab); -webkit-mask-image:none; mask-image:none; transform:rotate(-4deg); transform-origin:center; box-shadow:0 -14px 28px rgba(0,0,0,.16); transition:none; z-index:1; }
  .game-card-image { position:absolute; inset:-6%; width:112%; height:112%; max-width:none; object-fit:cover; object-position:center; transform:rotate(4deg) scale(1.04); z-index:1; }
  .game-card.has-poster .art-mono { display:none; }
  .game-card.has-poster.is-art-missing .art-mono { display:block; }
  .game-card.is-art-missing .game-card-image { opacity:0; }
  .game-card:hover .art-fade { filter:saturate(1.04) brightness(1.03); }
  .game-card.is-disabled { cursor:not-allowed; opacity:.58; filter:saturate(.3); }
  .game-card.is-disabled:hover { outline-color:transparent; box-shadow:0 0 0 1px rgba(255,255,255,.08) inset; }
  .game-card.is-disabled:hover::before { opacity:.42; }
  .game-card.is-disabled .art-fade,
  .game-card.is-disabled:hover .art-fade { filter:grayscale(.32) brightness(.72); }
  .game-card.is-full-slots { opacity:.7; filter:saturate(.52); }
  .game-card.is-full-slots .game-card-status { background:rgba(245,158,11,.16); color:#f6c76f; }
  .game-card .art-mono { font-size:40px; transform:rotate(4deg); color:var(--game-mark); opacity:.94; text-shadow:0 2px 22px rgba(0,0,0,.35); z-index:2; }
  .game-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,6,9,.06) 0%, rgba(5,6,9,.1) 46%, rgba(5,6,9,.38) 100%); pointer-events:none; z-index:2; }
  .game-card-check { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
  .game-card:has(.game-card-check:checked) { outline-color:#fff; outline-offset:4px; box-shadow:0 0 0 1px rgba(255,255,255,.16) inset; }
  .game-card:has(.game-card-check:focus-visible) { outline-color:var(--accent); }
  .game-card-body { position:absolute; top:16px; left:16px; right:16px; bottom:auto; z-index:3; padding:0; display:flex; flex-direction:column; gap:3px; }
  .game-card-main { display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0; }
  .game-card-name { font-family:var(--font-d); font-size:15px; line-height:1.1; font-weight:800; color:var(--text); min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .game-card-price { order:2; display:inline-flex; align-items:center; gap:6px; font-size:13px; line-height:1.2; color:var(--text-muted); font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; }
  .game-card-status { order:3; width:max-content; margin-top:5px; padding:3px 7px; border-radius:var(--r-pill); background:rgba(255,255,255,.11); color:rgba(255,255,255,.78); font-size:9px; font-weight:800; letter-spacing:.06em; line-height:1.35; text-transform:uppercase; }
  .game-card-status.is-renewal { background:rgba(102,163,255,.14); color:#a9ccff; }
  .game-card-status-help { order:3; position:relative; width:max-content; margin-top:5px; }
  .game-card-status-help .game-card-status { display:block; margin-top:0; cursor:help; }
  .game-card-status-help .game-card-status:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .game-card-status-tooltip { position:absolute; top:calc(100% + 8px); left:0; width:min(205px,calc(100vw - 56px)); padding:10px 11px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); color:var(--overlay-muted); box-shadow:var(--overlay-shadow); font-size:11.5px; font-weight:550; letter-spacing:0; line-height:1.4; text-align:left; text-transform:none; white-space:normal; opacity:0; visibility:hidden; pointer-events:none; z-index:8; }
  .game-card-status-tooltip::before { content:""; position:absolute; left:17px; top:-5px; width:8px; height:8px; border-left:1px solid var(--overlay-border); border-top:1px solid var(--overlay-border); background:inherit; transform:rotate(45deg); }
  .game-card-status-help:hover .game-card-status-tooltip,
  .game-card-status-help:focus-within .game-card-status-tooltip { opacity:1; visibility:visible; }
  .fee-tag { display:inline-flex; align-items:center; min-height:22px; margin-left:6px; padding:0 7px; border-radius:var(--r-pill); background:var(--overlay-warning-soft); color:var(--overlay-warning); font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; vertical-align:2px; cursor:help; }
  .fee-tag:focus-visible { outline:2px solid var(--warn); outline-offset:2px; }
  .game-card-price .fee-tag { margin-left:0; }
  .game-card-choice { position:absolute;inset:0;z-index:2;cursor:pointer; }
  .has-terms .game-card-body { pointer-events:none; }
  .has-terms .game-card-term,.has-terms .fee-tag,.has-terms .game-card-status-help { pointer-events:auto; }
  .game-card-term.form-control { position:relative;z-index:4;width:100%;margin-top:9px;padding:6px 9px;font-size:12px;min-height:32px; }
  .fee-tooltip { position:fixed; width:min(240px, calc(100vw - 32px)); padding:12px 13px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); color:var(--overlay-muted); box-shadow:var(--overlay-shadow); font-size:12px; line-height:1.45; pointer-events:none; z-index:45; }
  .fee-tooltip strong { display:flex; align-items:center; gap:7px; margin-bottom:4px; color:var(--overlay-text); font-size:12.5px; }
  .fee-tooltip strong::before { content:""; width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:var(--overlay-warning); box-shadow:0 0 10px rgba(252,211,77,.38); }
  .fee-tooltip::after { content:""; position:absolute; left:var(--fee-arrow-left, 50%); width:8px; height:8px; border:inherit; background:inherit; transform:translateX(-50%) rotate(45deg); }
  .fee-tooltip.is-below::after { top:-5px; border-right:0; border-bottom:0; }
  .fee-tooltip.is-above::after { bottom:-5px; border-left:0; border-top:0; }
  .fee-tooltip[data-pay-tooltip-surface] { pointer-events:auto; }
  .supporter-tooltip strong::before { background:var(--overlay-success); box-shadow:0 0 10px rgba(110,231,183,.38); }
  .checkout-spacer { height:74px; }
  .checkout-bar { position:fixed; left:0; right:0; bottom:0; display:flex; justify-content:center; padding:0; background:color-mix(in srgb, var(--surface) 88%, transparent); box-shadow:0 -10px 30px rgba(0,0,0,.16); -webkit-backdrop-filter:blur(18px) saturate(130%); backdrop-filter:blur(18px) saturate(130%); z-index:25; }
  .checkout-bar-inner { width:min(1080px, 100vw); display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px var(--sp-5); padding:18px 24px; background:transparent; transition:opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease); }
  .checkout-bar-inner.is-ready { opacity:1; }
  .checkout-total { display:grid; gap:8px; min-width:0; width:100%; }
  .checkout-actions { display:flex; align-items:center; gap:10px; }
  .checkout-total .section-label { margin:0 3px 0 0; color:var(--text-muted); font-size:12px; font-weight:550; letter-spacing:0; text-transform:none; }
  .checkout-price-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
  .checkout-amount { font-size:24px; line-height:1.2; color:var(--text); font-weight:750; letter-spacing:-.025em; font-variant-numeric:tabular-nums; }
  .checkout-actions>.checkout-breakdown-toggle.cbtn { display:grid; place-items:center; width:42px; min-width:42px; height:42px; flex:0 0 auto; padding:0; border:0; border-radius:var(--r-sm); background:var(--surface); color:var(--text-muted); box-shadow:none; }
  .checkout-actions>.checkout-breakdown-toggle.cbtn:hover,.checkout-actions>.checkout-breakdown-toggle.cbtn[aria-expanded="true"] { background:var(--surface-2); color:var(--text); }
  .checkout-breakdown-toggle:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .checkout-breakdown-toggle svg { width:15px; height:15px; transition:transform var(--dur) var(--ease); }
  .checkout-breakdown-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
  .checkout-breakdown { grid-column:1/-1; min-width:0; width:100%; padding-top:18px; border-top:1px solid var(--border); }
  .checkout-breakdown-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; color:var(--text-faint); font-size:11px; line-height:1.5; }
  .checkout-breakdown-heading strong { color:var(--text); font-size:13px; font-weight:600; }
  .checkout-price-list { display:grid; gap:0; margin-top:10px; padding:0 4px 0 0; max-height:min(220px,30dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
  .checkout-price-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); background:transparent; }
  .checkout-price-item:last-child { border-bottom:0; }
  .checkout-breakdown-total { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:8px; padding:14px 16px; border-radius:var(--r-sm); background:var(--surface); color:var(--text-muted); font-size:12px; }
  .checkout-breakdown-total strong { font-size:18px; font-weight:650; color:var(--text); }
  .checkout-item-info { display:grid; gap:3px; min-width:0; }
  .checkout-item-title { display:flex; align-items:center; flex-wrap:wrap; gap:6px 8px; min-width:0; }
  .checkout-item-name { font-size:13px; line-height:1.4; font-weight:600; color:var(--text); overflow-wrap:anywhere; }
  .checkout-item-note { font-size:11px; line-height:1.5; color:var(--text-muted); overflow-wrap:anywhere; }
  .checkout-item-prices { display:flex; align-items:baseline; flex-wrap:wrap; justify-content:flex-end; gap:7px; font-size:13px; line-height:1.4; white-space:nowrap; }
  .checkout-item-prices del { color:var(--text-faint); font-size:12px; font-weight:400; }
  .checkout-item-prices strong { color:var(--text); font-size:14px; font-weight:650; }
  .discount-help { position:relative; display:inline-flex; }
  .discount-badge { display:inline-flex; align-items:center; min-height:20px; padding:0 7px; border:0; border-radius:var(--r-pill); background:var(--overlay-success-soft); color:var(--overlay-success); box-shadow:0 0 0 1px var(--overlay-success-border) inset; font:inherit; font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; cursor:help; transition:background var(--dur-med) var(--ease), color var(--dur-med) var(--ease); }
  .discount-badge:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .discount-badge:not(.has-discount) { border-color:transparent; background:rgba(255,255,255,.05); color:var(--text-faint); box-shadow:none; }
  .checkout-item-discount { flex:0 0 auto; cursor:default; }
  .discount-rules-tooltip { --tooltip-shift:0px; position:absolute; left:50%; bottom:calc(100% + 12px); width:min(282px, calc(100vw - 40px)); padding:12px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); color:var(--overlay-muted); box-shadow:var(--overlay-shadow); font-size:12px; line-height:1.45; letter-spacing:0; text-align:left; text-transform:none; white-space:normal; transform:translateX(calc(-50% + var(--tooltip-shift))); z-index:32; }
  .discount-rules-tooltip::after { content:""; position:absolute; left:calc(50% - var(--tooltip-shift)); top:100%; width:8px; height:8px; border-right:1px solid var(--overlay-border); border-bottom:1px solid var(--overlay-border); background:inherit; transform:translate(-50%,-4px) rotate(45deg); }
  .discount-tooltip-title { display:flex; align-items:center; gap:7px; margin-bottom:9px; color:var(--overlay-text); font-size:12.5px; font-weight:750; }
  .discount-tooltip-title::before { content:""; width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:var(--overlay-success); box-shadow:0 0 10px rgba(110,231,183,.42); }
  .discount-tier-list { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
  .discount-tier { display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 5px; border-radius:var(--r-sm); background:var(--overlay-hover); text-align:center; }
  .discount-tier strong { color:var(--overlay-text); font-size:11px; font-weight:700; white-space:nowrap; }
  .discount-tier span { color:var(--overlay-success); font-size:10.5px; font-weight:750; white-space:nowrap; }
  /* Keep the promo's shadow within its 10px gap above the checkout bar. */
  .discount-promo { position:absolute; right:max(24px, calc((100vw - 1080px) / 2 + 24px)); bottom:calc(100% + 10px); width:min(330px, calc(100vw - 48px)); display:flex; align-items:center; gap:11px; padding:13px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); box-shadow:var(--overlay-shadow); clip-path:inset(-96px -96px -10px -96px); z-index:31; }
  .discount-promo-copy { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
  .discount-promo-copy strong { display:flex; align-items:center; gap:7px; color:var(--overlay-success); font-size:12.5px; }
  .discount-promo-copy strong::before { content:""; width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:var(--overlay-success); box-shadow:0 0 10px rgba(110,231,183,.38); }
  .discount-promo-copy span { color:var(--overlay-muted); font-size:12px; line-height:1.4; }
  .discount-promo-close { width:28px; height:28px; flex:0 0 auto; display:grid; place-items:center; padding:0; border:0; border-radius:var(--r-sm); background:var(--overlay-raised); color:var(--overlay-muted); font:inherit; font-size:17px; cursor:pointer; }
  .discount-promo-close:hover { background:var(--overlay-hover); color:var(--overlay-text); }
  .fee-inline-note { color:var(--text-muted); font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
  .checkout-bar-inner #buyBtn { min-width:156px; height:42px; padding:0 18px; border-radius:var(--r-sm); box-shadow:none; font-family:var(--font); }
  .shop-empty { padding:var(--sp-6); border-radius:var(--r-lg); background:var(--surface); color:var(--text-muted); }
  @media (max-width:960px) { .game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
  @media (max-width:700px) { .game-grid { grid-template-columns:repeat(2,1fr); } .checkout-spacer { height:138px; } .checkout-bar-inner { grid-template-columns:1fr; gap:14px; } .checkout-total { justify-self:stretch; } .checkout-actions { display:grid; grid-template-columns:42px minmax(0,1fr); width:100%; } .checkout-bar-inner .cbtn { width:100%; } .discount-promo { left:24px; right:24px; width:auto; } }
  @media (max-width:440px) { .game-grid { grid-template-columns:1fr; } }
  @media (max-width:440px) { .checkout-bar-inner { padding:14px 20px; } .checkout-item-prices { flex-direction:column; align-items:flex-end; gap:2px; } }

  .pause-inline { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
  .pause-toggle-input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
  .pause-toggle-input:focus-visible + .pause-toggle { outline:2px solid var(--ring); outline-offset:2px; }
  .pause-panel { display:none; flex:0 0 100%; width:min(340px, calc(100vw - 48px)); padding:12px; border-radius:var(--r); background:var(--surface-2); border:1px solid var(--border); }
  .pause-toggle-input:checked ~ .pause-panel { display:block; animation:fadeUp var(--dur-med) var(--ease-out) both; }
  .pause-inline-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
  .pause-inline-title { font-weight:700; color:var(--text); }
  .pause-choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
  .pause-choice { min-height:52px; border:0; border-radius:var(--r-sm); background:var(--surface-3); color:var(--text); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:5px; font:inherit; font-weight:700; transition:background var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .pause-choice:hover { background:rgba(255,255,255,.14); }
  .danger-btn { background:var(--danger-soft); color:var(--danger-text); }
  .danger-btn:hover { background:rgba(248,113,113,.18); }
  .subscriptions-shell { margin-top:var(--sp-3); }
  .subscriptions-head { margin:0 0 var(--sp-5); }
  .subscriptions-head h1 { margin:0; color:var(--text); font-family:var(--font-d); font-size:30px; font-weight:650; letter-spacing:-.025em; line-height:1.1; }
  .subscription-activation { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 var(--sp-5); padding:20px; border-left:3px solid var(--ok); border-radius:var(--r); background:var(--surface); }
  .subscription-activation-kicker, .guide-kicker { display:block; margin-bottom:5px; color:var(--ok); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
  .subscription-activation h2 { margin:0; color:var(--text); font-size:19px; }
  .subscription-activation p { margin:5px 0 0; color:var(--text-muted); font-size:12.5px; line-height:1.5; }
  .subscription-activation-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
  .retention-offer { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 var(--sp-5); padding:20px; border:1px solid var(--border); border-radius:var(--r); background:var(--surface); }
  .retention-offer::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--ok); box-shadow:0 0 22px rgba(110,231,183,.5); pointer-events:none; }
  .retention-offer-copy { min-width:0; overflow-wrap:anywhere; }
  .retention-offer h2 { margin:0; color:var(--text); font-size:18px; font-weight:650; line-height:24px; letter-spacing:-.015em; text-transform:none; }
  .retention-offer p { margin:4px 0 0; color:var(--text-muted); font-size:12.5px; line-height:20px; }
  .retention-offer .cbtn { flex:0 0 auto; align-self:stretch; height:auto; min-height:48px; padding:12px 24px; }
  .subscriptions-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; margin-bottom:var(--sp-5); }
  .subscription-card { position:relative; min-height:262px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; align-content:end; gap:14px 16px; padding:142px 18px 18px; overflow:hidden; border-radius:var(--r-lg); background:var(--surface); }
  .subscription-card:hover { background:var(--surface-2); }
  .subscription-card-link { position:absolute; inset:0; z-index:1; border-radius:inherit; }
  .subscription-card-link:focus-visible { outline:2px solid var(--ring); outline-offset:-3px; }
  .subscription-card .art-fade, .subscription-card .game-row-info, .subscription-card .game-row-right { pointer-events:none; }
  .subscription-card .art-fade { inset:0 0 auto; width:100%; height:164px; background-position:center 28%; -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.76) 58%,rgba(0,0,0,0) 100%); mask-image:linear-gradient(180deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.76) 58%,rgba(0,0,0,0) 100%); }
  .subscription-card .art-fade::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,6,9,.04),rgba(5,6,9,.52)); }
  .subscription-card .art-mono { font-size:34px; }
  .subscription-card .game-row-info { grid-column:1; grid-row:1; gap:5px; align-self:center; }
  .subscription-card .game-row-name { font-size:18px; font-weight:650; letter-spacing:-.015em; }
  .subscription-card .game-row-meta { font-size:12.5px; }
  .subscription-card .game-row-right { grid-column:2; grid-row:1; align-self:center; }
  .subscription-status { width:max-content; display:inline-flex; align-items:center; gap:6px; min-height:22px; padding:0 8px; border-radius:var(--r-pill); background:rgba(255,255,255,.08); color:var(--text-muted); font-size:9px; font-weight:750; letter-spacing:.065em; text-transform:uppercase; }
  .subscription-status.is-active { background:var(--success-soft); color:var(--success-text); }
  .subscription-status.is-paused { background:var(--warning-soft); color:var(--warning-text); }
  .subscription-status.is-expired, .subscription-status.is-inactive { background:rgba(255,255,255,.055); color:var(--text-faint); }
  .subscription-actions { position:relative; z-index:2; grid-column:1 / -1; grid-row:2; min-width:0; min-height:42px; display:flex; align-items:center; gap:10px; }
  .subscription-primary-action { min-width:0; flex:1 1 auto; }
  .subscription-primary-action > form { margin:0; }
  .subscription-guide-action { width:42px; min-width:42px; min-height:42px; display:inline-flex; flex:0 0 42px; align-items:center; justify-content:center; padding:0; border-radius:var(--r-sm); background:var(--surface-3); color:var(--text); text-decoration:none; }
  .subscription-guide-action svg { width:18px; height:18px; }
  .subscription-guide-action:hover { background:rgba(255,255,255,.15); color:var(--text); }
  .subscription-guide-action:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .subscription-renewal-action { min-height:42px; display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; margin-left:auto; padding:0 16px; border-radius:var(--r-sm); background:#fff; color:var(--ink-on-accent); font-size:11.5px; font-weight:800; text-decoration:none; }
  .subscription-renewal-action:hover { background:var(--accent-hover); color:var(--ink-on-accent); }
  .subscription-renewal-action:focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
  .subscription-control { width:100%; min-height:42px; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 14px; border:0; border-radius:var(--r-sm); background:var(--surface-3); color:var(--text); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; text-decoration:none; transition:background var(--dur) var(--ease), color var(--dur) var(--ease); }
  .subscription-control:hover { background:#fff; color:var(--ink-on-accent); }
  .subscription-control svg { width:15px; height:15px; }
  .subscription-control.is-primary { background:#fff; color:var(--ink-on-accent); }
  .subscription-control.is-primary:hover { background:var(--accent-hover); }
  .subscription-state { min-height:42px; display:flex; align-items:center; gap:8px; padding:0 13px; border-radius:var(--r-sm); background:var(--surface-2); color:var(--text-muted); font-size:11.5px; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .subscription-state svg { width:15px; height:15px; flex:0 0 auto; }
  .subscription-state.is-pending { background:var(--warning-soft); color:var(--warning-text); }
  .subscription-actions .pause-inline { position:static; width:100%; justify-content:stretch; }
  .subscription-actions .pause-toggle { width:100%; height:42px; border-radius:var(--r-sm); }
  .subscription-actions .pause-panel { position:absolute; left:18px; right:18px; bottom:18px; width:auto; margin:0; padding:14px; border:0; border-radius:var(--r); background:#292a2f; box-shadow:0 16px 40px rgba(0,0,0,.52); }
  .subscription-actions .pause-toggle-input:checked ~ .pause-panel { animation:none; }
  .subscription-actions .pause-inline-head { align-items:flex-start; margin-bottom:12px; }
  .pause-panel-close { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; padding:0; border:0; border-radius:var(--r-sm); background:rgba(255,255,255,.08); color:var(--text-muted); cursor:pointer; font:inherit; font-size:18px; line-height:1; }
  .pause-panel-close:hover { background:rgba(255,255,255,.14); color:var(--text); }
  .subscription-actions .pause-choice { min-height:44px; border-radius:var(--r-sm); background:rgba(255,255,255,.09); font-size:12px; }
  .subscription-card.is-inactive { opacity:1; }
  .subscription-card.is-inactive .art-fade, .subscription-card.is-inactive .game-row-info { opacity:.72; }
  .guide-shell { width:100%; margin:var(--sp-3) 0 0; }
  .guide-back { width:max-content; gap:5px; margin:0 0 14px; }
  .guide-hero { position:relative; min-height:210px; display:flex; align-items:center; overflow:hidden; margin:0 0 24px; padding:32px 36px; border-radius:var(--r-lg); background:linear-gradient(135deg,var(--surface) 0%,var(--surface-2) 100%); }
  .guide-hero.is-new { box-shadow:0 0 0 1px rgba(74,222,128,.24) inset; }
  .guide-hero-art { position:absolute; inset:0 0 0 42%; background-size:cover; background-position:center 28%; opacity:.78; -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 32%); mask-image:linear-gradient(90deg,transparent 0%,#000 32%); }
  .guide-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(16,17,21,.98) 0%,rgba(16,17,21,.9) 42%,rgba(16,17,21,.12) 78%),linear-gradient(0deg,rgba(8,9,12,.5),transparent 70%); pointer-events:none; }
  .guide-hero-content { position:relative; z-index:1; width:min(570px,58%); }
  .guide-hero h1 { margin:3px 0 0; color:var(--text); font-family:var(--font-d); font-size:34px; font-weight:750; line-height:1.08; }
  .guide-status { width:max-content; max-width:100%; min-height:27px; display:inline-flex; align-items:center; margin:14px 0 0; padding:0 10px; border-radius:var(--r-pill); background:var(--success-soft); color:var(--success-text); font-size:11px; font-weight:750; }
  .guide-status.is-paused { background:var(--warning-soft); color:var(--warning-text); }
  .guide-intro { max-width:480px; margin:13px 0 0; color:var(--text-muted); font-size:13px; line-height:1.55; }
  .guide-content { margin-bottom:28px; }
  .guide-support h2 { margin:0; color:var(--text); font-size:20px; }
  .guide-messages { display:flex; flex-direction:column; gap:12px; }
  .guide-message { position:relative; overflow:hidden; padding:24px 24px 24px 27px; border-radius:var(--r); background:var(--surface); }
  .guide-message::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; border-radius:0; background:var(--guide-accent); }
  .guide-message-copy { display:grid; grid-template-columns:minmax(0,1fr); }
  .guide-message-copy.has-thumbnail { grid-template-columns:minmax(0,1fr) 56px; column-gap:18px; align-items:start; }
  .guide-message-head, .guide-message-description, .guide-message-fields { grid-column:1; }
  .guide-message-head { min-width:0; }
  .guide-message-head h3 { margin:0; color:var(--text); font-size:19px; line-height:1.25; }
  .guide-message-thumb { width:56px; height:56px; grid-column:2; grid-row:1 / span 3; border-radius:var(--r-sm); object-fit:cover; }
  .guide-message-description { margin:8px 0 0; color:var(--text); font-size:13.5px; line-height:1.55; }
  .guide-message-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; margin-top:9px; border-top:1px solid var(--border); }
  .guide-message-field { min-width:0; padding:10px 0; border-bottom:1px solid var(--border); }
  .guide-message-field-name { margin:0 0 6px; color:var(--text); font-size:12px; font-weight:750; line-height:1.4; }
  .guide-message-field-value { color:var(--text-muted); font-size:12.5px; line-height:1.55; overflow-wrap:anywhere; }
  .discord-markdown { white-space:break-spaces; }
  .discord-markdown > :first-child { margin-top:0; }
  .discord-markdown > :last-child { margin-bottom:0; }
  .discord-markdown p { margin:0 0 9px; }
  .discord-markdown h3, .discord-markdown h4, .discord-markdown h5 { margin:14px 0 7px; color:var(--text); font-size:1em; line-height:1.35; }
  .discord-markdown h3 { font-size:1.25em; }
  .discord-markdown h4 { font-size:1.1em; }
  .discord-markdown ul, .discord-markdown ol { margin:7px 0 9px; }
  .discord-markdown ul { padding-left:22px; }
  .discord-markdown ol { padding-left:0; list-style-position:inside; }
  .discord-markdown li { margin:3px 0; }
  .discord-markdown blockquote { margin:8px 0; padding:1px 0 1px 11px; border-left:4px solid #4e5058; color:var(--text-muted); }
  .discord-markdown hr { height:1px; box-sizing:content-box; margin:0; padding:14px 0; border:0; background:linear-gradient(var(--border),var(--border)) center / 100% 1px no-repeat; }
  .discord-spacer { height:8px; display:block; }
  .discord-spacer.lines-2 { height:16px; }
  .discord-spacer.lines-3 { height:24px; }
  .discord-spacer.lines-4 { height:32px; }
  .discord-markdown small { display:block; color:var(--text-faint); font-size:.86em; }
  .discord-markdown code { padding:2px 4px; border-radius:3px; background:#111214; color:var(--text); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.92em; }
  .discord-markdown pre { overflow:auto; margin:9px 0; padding:11px 12px; border:1px solid var(--border); border-radius:4px; background:#111214; }
  .discord-markdown pre code { padding:0; background:transparent; white-space:pre; }
  .discord-markdown a { color:#00a8fc; text-decoration:none; }
  .discord-markdown a:hover { text-decoration:underline; }
  .discord-mention { display:inline-flex; padding:0 3px; border-radius:3px; background:rgba(88,101,242,.3); color:#c9cdfb; font-weight:650; }
  .discord-warning-icon { width:16px; height:16px; display:inline-block; color:#f0a92b; line-height:0; vertical-align:middle; transform:translateY(-2px); }
  .discord-warning-icon svg { width:16px; height:16px; display:block; }
  .discord-emoji { width:20px; height:20px; display:inline-block; object-fit:contain; vertical-align:-5px; }
  .discord-spoiler { border-radius:3px; padding:0 2px; background:#1e1f22; color:transparent; cursor:pointer; }
  .discord-spoiler:hover, .discord-spoiler:focus { color:inherit; }
  .guide-message-media { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:10px; margin-top:18px; }
  .guide-message-image { width:100%; max-height:440px; display:block; margin-top:18px; border-radius:var(--r-sm); object-fit:contain; object-position:left center; }
  .guide-message-media .guide-message-image { height:100%; min-height:180px; margin-top:0; object-fit:cover; }
  .guide-message-video { width:100%; max-height:520px; display:block; border-radius:var(--r-sm); background:#000; }
  .guide-message-video-frame { position:relative; min-height:220px; overflow:hidden; border-radius:var(--r-sm); background:#000; aspect-ratio:16 / 9; }
  .guide-message-video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
  .guide-message-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
  .guide-message-footer { margin:18px 0 0; padding-top:14px; border-top:1px solid var(--border); color:var(--text-faint); font-size:11px; line-height:1.5; }
  .guide-empty { padding:22px; border-radius:var(--r); background:var(--surface); }
  .guide-empty strong { display:block; color:var(--text); font-size:14px; }
  .guide-empty p { margin:7px 0 0; color:var(--text-muted); font-size:12.5px; line-height:1.55; }
  .guide-support { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0 4px; border-top:1px solid var(--border); }
  .guide-support p { margin:6px 0 0; color:var(--text-muted); font-size:12.5px; line-height:1.5; }
  @media (max-width:600px) {
    .subscriptions-grid { grid-template-columns:1fr; }
    .subscription-card { min-height:250px; }
    .subscription-activation { align-items:stretch; flex-direction:column; }
    .subscription-activation-actions { justify-content:stretch; }
    .subscription-activation-actions .cbtn { width:100%; }
    .retention-offer { align-items:stretch; flex-direction:column; gap:20px; }
    .retention-offer .cbtn { width:100%; }
    .guide-hero { min-height:230px; padding:26px 22px; }
    .guide-hero-art { inset:0; opacity:.5; -webkit-mask-image:none; mask-image:none; }
    .guide-hero::after { background:linear-gradient(90deg,rgba(12,13,16,.96),rgba(12,13,16,.72)),linear-gradient(0deg,rgba(8,9,12,.65),transparent); }
    .guide-hero-content { width:100%; }
    .guide-hero h1 { font-size:30px; }
    .guide-support { align-items:stretch; flex-direction:column; }
    .guide-support .cbtn { width:100%; }
    .guide-message-fields { grid-template-columns:1fr; }
    .guide-message-copy.has-thumbnail { grid-template-columns:minmax(0,1fr) 48px; column-gap:12px; }
    .guide-message-thumb { width:48px; height:48px; }
    .guide-message-actions .cbtn { width:100%; }
  }
  @media (max-width:440px) {
    .subscriptions-head h1 { font-size:27px; }
    .subscription-card { min-height:238px; padding:128px 15px 15px; }
    .subscription-card .art-fade { height:150px; }
    .subscription-card .game-row-name { font-size:16px; }
    .subscription-actions .pause-panel { left:15px; right:15px; bottom:15px; }
    .subscription-actions { flex-wrap:wrap; }
    .subscription-renewal-action { width:100%; margin-left:0; }
    .guide-message { padding:18px 18px 18px 21px; }
  }

  .checkout-shell { width:100%; max-width:680px; margin:0 auto; }
  .topup-shell { max-width:560px; margin:0 auto; }
  .topup-head { margin:var(--sp-6) 0 var(--sp-5); display:flex; flex-direction:column; gap:var(--sp-2); }
  .topup-head h1 { font-size:28px; font-family:var(--font-d); font-weight:600; margin:0; color:var(--text); text-transform:none; letter-spacing:-.01em; }
  .topup-card { padding:var(--sp-6); display:flex; flex-direction:column; gap:var(--sp-5); }
  .amount-field { display:flex; align-items:baseline; justify-content:center; gap:var(--sp-2); padding:var(--sp-6) 0 var(--sp-4); }
  .amount-currency { font-family:var(--font-d); font-size:32px; color:var(--text-faint); }
  .amount-input { width:auto; max-width:260px; background:transparent; border:none; outline:none; color:var(--text); font-family:var(--font-d); font-weight:600; font-size:56px; text-align:center; caret-color:var(--accent); -moz-appearance:textfield; appearance:textfield; }
  .amount-input:focus { outline:none; border:none; }
  .amount-input::-webkit-outer-spin-button, .amount-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
  .preset-row { display:flex; gap:var(--sp-2); justify-content:center; flex-wrap:wrap; }
  .pay-label { display:block; }
  .pay-method-list { display:flex; flex-direction:column; gap:var(--sp-2); }
  .pay-method { position:relative; display:flex; align-items:center; gap:var(--sp-3); padding:var(--sp-4); border-radius:var(--r); background:var(--surface-2); cursor:pointer; transition:background var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .pay-method:hover { background:var(--surface-3); }
  .pay-method:active { transform:scale(.98); }
  .pay-method input { position:absolute; opacity:0; pointer-events:none; }
  .pay-method-icon { width:36px; height:36px; border-radius:50%; background:var(--surface-3); display:flex; align-items:center; justify-content:center; color:var(--text-muted); flex-shrink:0; }
  .pay-method-icon svg { width:17px; height:17px; }
  .pay-method-name { font-size:14.5px; font-weight:500; flex:1; color:var(--text); }
  .pay-method-check { width:20px; height:20px; border-radius:50%; outline:1.5px solid var(--hairline-strong); outline-offset:-1.5px; flex-shrink:0; transition:outline-color var(--dur) var(--ease), background var(--dur) var(--ease); }
  .pay-method input:checked ~ .pay-method-check { background:radial-gradient(circle at center, var(--bg) 0 36%, var(--accent) 38% 100%); outline-color:var(--accent); }
  .pay-method input:checked ~ .pay-method-icon { color:var(--accent); }
  .pay-method input:focus-visible ~ .pay-method-check { outline:2px solid var(--accent); outline-offset:2px; }
  .topup-submit { width:100%; margin-top:var(--sp-2); }
  @media (max-width:480px) { .amount-input { font-size:44px; } }

  /* Top-up checkout v2 — one visual system for amount, details, live payment,
     and outcome. The outer shell stays wide; decision-heavy content remains
     focused and uses tonal elevation rather than decorative borders. */
  .stepbar { min-height:54px; margin-bottom:26px; padding:11px 15px; border-radius:var(--r-lg); background:rgba(255,255,255,.035); box-shadow:0 12px 34px rgba(0,0,0,.12); }
  .sb-item { gap:8px; }
  .sb-dot { width:24px; height:24px; border:0; background:var(--surface-2); color:var(--text-faint); font-size:10px; }
  .sb-item.now .sb-dot { background:var(--accent); color:var(--ink-on-accent); border:0; box-shadow:0 6px 18px rgba(255,255,255,.12); }
  .sb-item.done .sb-dot { background:var(--success-soft); color:var(--ok); border:0; }
  .sb-label { font-size:11.5px; font-weight:650; }
  .sb-line { height:2px; min-width:10px; margin:0 10px; border-radius:var(--r-pill); background:var(--surface-2); }
  .sb-line.done { background:var(--success-border); }

  .checkout-page-head { margin:0 0 24px; }
  .checkout-head-action { min-height:34px; margin-bottom:18px; }
  .checkout-back { min-height:34px; padding:0 12px; border-radius:var(--r-pill); background:var(--control-bg); color:var(--control-text); }
  .checkout-back:hover { background:var(--control-hover); color:var(--text); }
  .checkout-eyebrow { margin:0 0 7px; color:var(--accent); font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
  .checkout-page-head h1 { margin:0; color:var(--text); font-family:var(--font-d); font-size:31px; font-weight:700; line-height:1.12; letter-spacing:-.025em; }
  .checkout-lede { max-width:570px; margin:10px 0 0; color:var(--text-muted); font-size:14px; line-height:1.55; }
  .checkout-card { background:rgba(255,255,255,.052); box-shadow:0 22px 56px rgba(0,0,0,.2); }

  .topup-shell { max-width:680px; }
  .topup-card { gap:0; padding:0; }
  .amount-panel { padding:30px 32px 28px; }
  .amount-field { padding:8px 0 20px; }
  .amount-currency { font-size:34px; color:var(--text-muted); }
  .amount-input { width:7ch; max-width:310px; font-size:64px; font-weight:650; letter-spacing:-.045em; text-align:left; }
  .preset-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
  .preset-row .chip { width:100%; padding:11px 10px; text-align:center; border-radius:var(--r-sm); background:var(--surface-2); }
  .amount-limits { display:flex; justify-content:center; gap:8px; margin-top:14px; color:var(--text-faint); font-size:11.5px; text-align:center; }
  .topup-card .divider { margin:0; }
  .checkout-section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:28px 32px 0; }
  .checkout-section-title > span { color:var(--text); font-size:14px; font-weight:700; }
  .checkout-section-title small { color:var(--text-faint); font-size:11px; font-weight:500; text-align:right; }
  .pay-method-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:18px 32px 0; }
  .pay-method { min-height:76px; padding:14px; background:var(--surface-2); }
  .pay-method:has(input:checked) { background:var(--accent-wash-strong); box-shadow:0 0 0 1px var(--accent) inset; }
  .pay-method-icon { width:40px; height:40px; background:rgba(255,255,255,.065); }
  .pay-method-copy { min-width:0; display:flex; flex:1; flex-direction:column; gap:2px; }
  .pay-method-name { flex:initial; font-size:13.5px; font-weight:700; }
  .pay-method-sub { color:var(--text-faint); font-size:10.5px; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .pay-method-check { width:18px; height:18px; }
  .topup-submit { width:calc(100% - 64px); margin:24px 32px 32px; }
  .topup-card + .foot { margin-top:18px; }

  .checkout-summary { min-height:70px; margin:0 0 22px; padding:14px 16px; border:0; border-radius:var(--r-lg); background:var(--surface); box-shadow:0 12px 32px rgba(0,0,0,.13); }
  .row.checkout-summary:hover { background:var(--surface); }
  .checkout-summary .rowicon { width:42px; height:42px; }
  .checkout-summary .rowtitle { font-size:14px; }
  .checkout-summary .rowsub { font-size:12px; }
  .coin-form { display:flex; flex-direction:column; gap:12px; }
  .searchwrap { margin:0; }
  .searchwrap input { min-height:50px; border:0; border-radius:var(--r); background:var(--surface); box-shadow:0 10px 28px rgba(0,0,0,.11); }
  .coin-list { max-height:480px; border-radius:var(--r-lg); background:var(--surface); box-shadow:0 18px 44px rgba(0,0,0,.16); }
  .coin-list .row { min-height:68px; padding:13px 16px; }
  .coin-list .rowicon { width:40px; height:40px; }

  .billing-card { max-width:none; padding:30px 32px 32px; }
  .billing-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:24px; }
  .billing-card-head > div:first-child { display:flex; flex-direction:column; gap:4px; }
  .billing-card-head strong { color:var(--text); font-size:14px; }
  .billing-card-head span { color:var(--text-faint); font-size:11.5px; }
  .billing-card-head .accepts { margin:0; justify-content:flex-end; }
  .billing-card .bill { gap:14px 12px; }
  .billing-card .field { gap:7px; }
  .billing-card input, .billing-card select { min-height:46px; border-color:transparent; border-radius:var(--r-sm); background:var(--field-bg); }
  .billing-card input:hover, .billing-card select:hover { border-color:var(--control-border); }
  .billing-submit { width:100%; margin-top:24px; }
  .billing-card .foot { margin-top:16px !important; }

  .checkout-flow-elements { max-width:720px; }
  .elements-card { padding:28px 30px 30px; }
  .elements-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.065); }
  .elements-card-title { display:flex; flex-direction:column; gap:4px; min-width:0; }
  .elements-card-title strong { color:var(--text); font-size:15px; }
  .elements-card-title span { color:var(--text-faint); font-size:11.5px; line-height:1.45; }
  .elements-card-head .accepts { flex:0 0 auto; justify-content:flex-end; margin:0; }
  .elements-form { display:flex; flex-direction:column; gap:18px; }
  .elements-form .bill { gap:13px 12px; margin:0; }
  .elements-form .field { gap:7px; }
  .elements-form input,
  .elements-form select { min-height:46px; border-color:transparent; border-radius:var(--r-sm); background:var(--field-bg); }
  .elements-form input:hover,
  .elements-form select:hover { border-color:var(--control-border); }
  .elements-payment-field { display:flex; flex-direction:column; gap:8px; }
  .elements-payment-label { color:var(--text-faint); font-size:10.5px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; }
  .elements-card-frame { min-height:64px; padding:8px 10px; overflow:hidden; border:1px solid transparent; border-radius:var(--r-sm); background:var(--field-bg); transition:border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
  .elements-card-frame:focus-within { border-color:var(--accent); background:rgba(255,255,255,.075); box-shadow:0 0 0 2px var(--accent-wash); }
  .elements-card-frame.is-error { border-color:var(--danger-border); }
  .elements-loading { min-height:46px; display:flex; align-items:center; color:var(--text-faint); font-size:12px; }
  .elements-submit { width:100%; height:48px; margin:0; border-radius:var(--r-sm); }
  .elements-fallback { margin:-4px 0 0; text-align:center; }
  .elements-fallback a { color:var(--text-muted); font-size:11.5px; text-decoration:underline; text-decoration-color:rgba(255,255,255,.22); text-underline-offset:3px; }
  .elements-fallback a:hover { color:var(--text); text-decoration-color:currentColor; }

  /* Focused MoneyMotion checkout. PAN, expiry and CVC remain isolated inside
     MoneyMotion's cross-origin iframe. */
  .wrap:has(.mm-checkout-page) { max-width:1080px; padding:0 24px; }
  .mm-checkout-page {
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:1080px;
    min-height:100svh;
    margin:0 auto;
    padding:32px 0 48px;
  }
  /* Focused checkout headers have an absolutely-positioned back/cancel action,
     so they must stay flex even though the shared dashboard header uses a
     three-column grid. Otherwise the user identity auto-places in the centre
     grid column and leaves the right edge empty. */
  .mm-brand-header { position:relative; width:100%; display:flex; justify-content:space-between; margin-bottom:32px; padding-left:0; }
  .mm-brand-header .brand { pointer-events:none; }
  @keyframes mmBackTap { 0% { transform:translateY(-50%) scale(1); } 45% { transform:translateY(-50%) scale(.96); } 100% { transform:translateY(-50%) scale(1); } }
  .mm-back-absolute { position:absolute; top:50%; left:calc((100vw - 100%) / -2 + 24px); z-index:1; white-space:nowrap; transform:translateY(-50%); }
  .mm-back-absolute:active { transform:translateY(-50%) scale(.97); }
  html[data-motion="on"] a.header-action.mm-back-absolute:active { animation:mmBackTap 240ms var(--ease-out) both; }
  .mm-static-user { cursor:default; }
  .mm-static-user:hover { background:var(--control-bg); }
  .mm-checkout-footer-trust { display:inline-flex; align-items:center; gap:7px; margin:0; color:#34d399; font-weight:550; }
  .mm-checkout-footer-trust svg { width:14px; height:14px; flex:0 0 auto; stroke-width:1.9; }
  .mm-checkout-shell {
    --mm-field-bg:rgba(6,7,10,.42);
    --mm-field-hover:rgba(255,255,255,.025);
    --mm-field-focus:rgba(255,255,255,.055);
    --mm-field-border:rgba(255,255,255,.16);
    --mm-field-border-hover:rgba(255,255,255,.25);
    --mm-field-border-focus:var(--accent);
    --mm-input-font:var(--font);
    width:100%;
    max-width:1080px;
    min-width:0;
    margin:0 auto;
    padding:0;
    background:transparent;
  }
  .mm-elements-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(336px,380px); align-items:start; gap:56px; margin-top:0; }
  .mm-checkout-fields { display:flex; min-width:0; flex-direction:column; gap:28px; }
  .mm-card-field { display:flex; flex-direction:column; gap:9px; }
  .mm-card-field-head { min-height:22px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .mm-section-heading,
  .mm-summary-kicker { color:var(--text-faint); font-family:var(--font-d); font-size:11px; font-weight:650; letter-spacing:.06em; line-height:1; text-transform:uppercase; }
  .mm-section-heading { min-height:18px; display:flex; align-items:center; margin:0; padding:0 1px; }
  .mm-card-frame-wrap { position:relative; min-width:0; }
  .mm-card-frame-wrap::before,
  .mm-card-frame-wrap::after { content:""; position:absolute; z-index:2; background:var(--mm-field-border); pointer-events:none; transition:background var(--dur) var(--ease); }
  .mm-card-frame-wrap::before { top:52px; right:1px; left:1px; height:1px; }
  .mm-card-frame-wrap::after { top:53px; bottom:1px; left:50%; width:1px; }
  .mm-checkout-shell .elements-card-frame { min-height:106px; padding:0; overflow:hidden; border:1px solid var(--mm-field-border); border-radius:14px; background:var(--mm-field-bg); box-shadow:none; transition:border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
  .mm-checkout-shell .elements-card-frame:hover { border-color:var(--mm-field-border-hover); background:var(--mm-field-hover); }
  .mm-card-frame-wrap:has(.elements-card-frame:hover)::before,
  .mm-card-frame-wrap:has(.elements-card-frame:hover)::after { background:var(--mm-field-border-hover); }
  .mm-checkout-shell .elements-card-frame.is-error { border-color:var(--bad); box-shadow:0 0 0 3px var(--danger-soft); }
  .mm-card-frame-wrap:has(.elements-card-frame.is-error)::before,
  .mm-card-frame-wrap:has(.elements-card-frame.is-error)::after { background:var(--bad); }
  .mm-checkout-shell .elements-card-frame iframe { display:block; width:100%; min-height:104px; overflow:hidden; }
  .mm-card-brands {
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:5px;
    padding:0;
    background:transparent;
    pointer-events:none;
  }
  .mm-card-brands .cardbrand { width:29px; height:18px; border-radius:4px; }
  .mm-card-brands .cardbrand.mastercard { width:27px; }
  .mm-billing-field { display:flex; flex-direction:column; gap:9px; }
  .mm-billing-group {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    min-width:0;
    overflow:hidden;
    border:1px solid var(--mm-field-border);
    border-radius:var(--r);
    background:var(--mm-field-bg);
    transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .mm-billing-group:hover { border-color:var(--mm-field-border-hover); }
  .mm-billing-group.is-error { border-color:var(--bad); box-shadow:0 0 0 3px var(--danger-soft); }
  .mm-billing-cell {
    position:relative;
    display:flex;
    min-width:0;
    min-height:68px;
    flex-direction:column;
    justify-content:center;
    gap:2px;
    padding:9px 14px 8px;
    border-bottom:1px solid var(--mm-field-border);
    background:transparent;
    transition:background var(--dur) var(--ease);
  }
  .mm-billing-cell:nth-child(2),
  .mm-billing-cell:nth-child(5) { border-left:1px solid var(--mm-field-border); }
  .mm-billing-cell:nth-child(6) { border-bottom:0; }
  .mm-billing-cell.full { grid-column:1 / -1; }
  .mm-billing-cell:focus-within { background:var(--mm-field-focus); }
  .mm-billing-group:hover .mm-billing-cell { border-color:var(--mm-field-border-hover); }
  .mm-billing-group.is-error .mm-billing-cell { border-color:var(--bad); }
  .mm-billing-cell > label {
    order:-1;
    overflow:hidden;
    color:var(--text-faint);
    font-family:var(--font);
    font-size:11px;
    font-weight:500;
    letter-spacing:0;
    line-height:1.2;
    text-overflow:ellipsis;
    text-transform:none;
    white-space:nowrap;
  }
  .mm-billing-cell input,
  .mm-billing-cell select {
    width:100%;
    min-height:27px;
    padding:0;
    border:0;
    border-radius:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-family:var(--font);
    font-size:14px;
    font-weight:400;
    line-height:1.25;
    box-shadow:none;
  }
  .mm-billing-cell input::placeholder { color:rgba(246,246,248,.34); opacity:1; }
  .mm-billing-cell input:focus,
  .mm-billing-cell select:focus { border:0; outline:0; box-shadow:none; }
  .mm-billing-cell input:user-invalid,
  .mm-billing-cell select:user-invalid { border:0; box-shadow:none; }
  .mm-billing-cell select {
    appearance:none;
    -webkit-appearance:none;
    padding-right:34px;
    color-scheme:dark;
    cursor:pointer;
  }
  .mm-billing-cell option { background:#0c0f16; color:var(--text); }
  .mm-select-chevron {
    position:absolute;
    z-index:4;
    right:14px;
    bottom:13px;
    width:18px;
    height:18px;
    color:var(--text-faint);
    pointer-events:none;
    transition:color var(--dur) var(--ease);
  }
  .mm-billing-cell:hover .mm-select-chevron,
  .mm-billing-cell:focus-within .mm-select-chevron { color:var(--text); }
  .mm-order-summary { position:sticky; top:24px; display:flex; min-width:0; flex-direction:column; gap:20px; padding:0; border:0; background:transparent; box-shadow:none; }
  .mm-summary-kicker { margin:0; }
  .mm-summary-item { display:flex; min-width:0; align-items:baseline; justify-content:space-between; gap:18px; }
  .mm-summary-item > strong { min-width:0; margin:0; overflow:hidden; color:var(--text); font-size:20px; font-weight:720; letter-spacing:-.03em; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
  .mm-summary-item span { flex:0 0 auto; color:var(--text-muted); font-size:14px; font-weight:600; }
  .mm-summary-totals { display:flex; flex-direction:column; gap:11px; padding-top:18px; border-top:1px solid var(--mm-field-border); }
  .mm-summary-totals > div { display:flex; align-items:center; justify-content:space-between; gap:18px; color:var(--text-muted); font-size:13px; }
  .mm-summary-totals strong { color:var(--text); font-size:14px; font-weight:650; }
  .mm-summary-totals .mm-summary-total { margin-top:3px; padding-top:14px; border-top:1px solid var(--mm-field-border); color:var(--text); font-weight:650; }
  .mm-summary-totals .mm-summary-total strong { font-size:18px; font-weight:720; letter-spacing:-.02em; }
  .mm-checkout-actions { display:flex; flex-direction:column; gap:9px; }
  .mm-elements-form .elements-submit { display:flex; align-items:center; justify-content:center; gap:8px; height:52px; margin:0; border:0; border-radius:var(--r); background:var(--accent); color:var(--ink-on-accent); font-family:var(--font); font-size:14px; font-weight:650; box-shadow:none; }
  .mm-elements-form .elements-submit svg { width:15px; height:15px; stroke-width:2; }
  .mm-elements-form .elements-submit:not(:disabled):hover { background:var(--accent-hover); color:var(--ink-on-accent); transform:translateY(-1px); box-shadow:none; }
  .mm-elements-form .elements-submit:disabled { background:var(--accent); color:var(--ink-on-accent); opacity:.4; box-shadow:none; }
  .mm-elements-status { margin:0; }
  .mm-elements-status[hidden] { display:none; }
  .mm-status-icon { display:block; width:20px; height:20px; }
  .mm-status-icon-error,
  .mm-status-icon-success { display:none; }
  .mm-elements-status.is-error .mm-status-icon-neutral,
  .mm-elements-status.is-success .mm-status-icon-neutral { display:none; }
  .mm-elements-status.is-error .mm-status-icon-error,
  .mm-elements-status.is-success .mm-status-icon-success { display:block; }
  .mm-legal-consent { margin:8px auto 0; color:var(--text-faint); font-family:var(--font); font-size:10.5px; line-height:1.45; text-align:center; opacity:.72; }
  .mm-legal-consent a { color:var(--text-muted); text-decoration:underline; text-decoration-color:rgba(255,255,255,.22); text-underline-offset:3px; transition:color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
  .mm-legal-consent a:hover { color:var(--text); text-decoration-color:currentColor; }
  .mm-elements-form .elements-fallback { margin:2px 0 0; }
  .mm-elements-form .elements-fallback[hidden] { display:none; }
  .mm-crypto-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(336px,380px); align-items:start; gap:56px; }
  .mm-crypto-fields { display:flex; min-width:0; flex-direction:column; gap:9px; }
  .mm-crypto-fields > .status-banner { margin:0 0 10px; }
  .mm-coin-checkout { max-width:1080px; }
  .mm-coin-checkout > .status-banner { margin:0 0 12px; }
  .mm-coin-form { min-width:0; }
  .mm-coin-form .searchwrap { margin:0 0 12px; }
  .mm-coin-form .searchwrap input {
    min-height:46px;
    border:1px solid var(--mm-field-border);
    border-radius:var(--r-sm);
    background:var(--mm-field-bg);
    box-shadow:none;
    font-size:13px;
  }
  .mm-coin-form .searchwrap input:hover { border-color:var(--mm-field-border-hover); background:var(--mm-field-hover); }
  .mm-coin-form .searchwrap input:focus { border-color:var(--mm-field-border-focus); background:var(--mm-field-focus); box-shadow:0 0 0 3px var(--accent-wash); }
  /* The grid keeps its scroll affordance, but its viewport now grows with the
     available screen height. This keeps the edge fade for long catalogues
     while avoiding a clipped third row on taller desktop screens. */
  .mm-coin-form .coin-grid-scroll { position:relative; min-width:0; }
  .mm-coin-form .coin-card-grid {
    --coin-edge-fade:64px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    overflow:auto;
    margin:-5px;
    padding:5px;
    background:transparent;
    scroll-padding:5px;
    scroll-snap-type:y mandatory;
    scrollbar-color:rgba(255,255,255,.22) transparent;
    scrollbar-width:thin;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-size:100% 100%;
    mask-size:100% 100%;
  }
  .mm-coin-form .coin-grid-scroll.is-scrollable.is-at-start:not(.is-at-end) .coin-card-grid {
    -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--coin-edge-fade)),transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--coin-edge-fade)),transparent 100%);
  }
  .mm-coin-form .coin-grid-scroll.is-scrollable:not(.is-at-start):not(.is-at-end) .coin-card-grid {
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--coin-edge-fade),#000 calc(100% - var(--coin-edge-fade)),transparent 100%);
    mask-image:linear-gradient(to bottom,transparent 0,#000 var(--coin-edge-fade),#000 calc(100% - var(--coin-edge-fade)),transparent 100%);
  }
  .mm-coin-form .coin-grid-scroll.is-scrollable:not(.is-at-start).is-at-end .coin-card-grid {
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--coin-edge-fade),#000 100%);
    mask-image:linear-gradient(to bottom,transparent 0,#000 var(--coin-edge-fade),#000 100%);
  }
  /* Header, search and confirmation controls occupy about 280px. Give the
     catalogue everything else in the viewport, rather than a fixed number of
     card rows; the mask activates only when the actual list still overflows. */
  #coinGrid.coin-card-grid { max-height:clamp(340px, calc(100svh - 280px), 900px); }
  .mm-coin-form .coin-card-grid::-webkit-scrollbar { width:6px; }
  .mm-coin-form .coin-card-grid::-webkit-scrollbar-track { background:transparent; }
  .mm-coin-form .coin-card-grid::-webkit-scrollbar-thumb { border-radius:var(--r-pill); background:rgba(255,255,255,.22); }
  .mm-coin-form .coin-card {
    position:relative;
    min-width:0;
    min-height:184px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:22px 14px 18px;
    border:0;
    border-radius:var(--r-lg);
    outline:2px solid transparent;
    outline-offset:3px;
    background:var(--surface-2);
    color:var(--text);
    font:inherit;
    text-align:center;
    cursor:pointer;
    transition:background var(--dur) var(--ease), outline-color var(--dur) var(--ease), transform var(--dur) var(--ease);
    scroll-snap-align:start;
  }
  .mm-coin-form .coin-card:hover { background:var(--surface-3); outline-color:rgba(255,255,255,.92); }
  .mm-coin-form .coin-card.is-selected,
  .mm-coin-form .coin-card:has(.coin-choice:checked) { background:var(--surface-3); outline-color:#fff; }
  .mm-coin-form .coin-card:focus-visible,
  .mm-coin-form .coin-card:focus-within { outline-color:var(--accent); box-shadow:none; }
  .mm-coin-form .coin-card:active { transform:scale(.985); }
  .mm-coin-form .coin-card .rowicon { width:48px; height:48px; font-size:11px; }
  .mm-coin-form .coin-card .coin-logo { overflow:visible; border-radius:0; background:transparent; }
  .mm-coin-form .coin-card .coin-logo .coin-fallback-text { display:none; }
  .mm-coin-form .coin-card .coin-logo:not(:has(img)) .coin-fallback-text { display:block; }
  .mm-coin-form .coin-card .coin-logo img { position:static; width:100%; height:100%; object-fit:contain; }
  .mm-coin-form .coin-card .coin-fallback { background:var(--surface-3); }
  .mm-coin-form .coin-card .rowbody { flex:0 1 auto; width:100%; align-items:center; gap:4px; }
  .mm-coin-form .coin-card .rowtitle { max-width:100%; overflow:hidden; font-size:14px; font-weight:680; text-overflow:ellipsis; white-space:nowrap; }
  .mm-coin-form .coin-card .rowsub { max-width:100%; overflow:hidden; color:var(--text-muted); font-size:11.5px; text-overflow:ellipsis; white-space:nowrap; }
  .mm-coin-form .coin-card .coin-network { display:flex; max-width:100%; align-items:center; justify-content:center; gap:5px; margin-top:3px; color:var(--text-faint); font-size:9.5px; white-space:nowrap; }
  .mm-coin-form .coin-card .coin-network span { text-transform:uppercase; letter-spacing:.045em; }
  .mm-coin-form .coin-card .coin-network strong { overflow:hidden; color:var(--text); font-size:10px; font-weight:650; text-overflow:ellipsis; }
  .mm-coin-form .coin-card .coin-token-warning { display:block; max-width:100%; margin-top:2px; overflow:hidden; color:#f2b85b; font-size:9.5px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
  .mm-coin-form .coin-card .poptag { position:absolute; top:12px; right:12px; margin:0; padding:3px 7px; border:1px solid rgba(255,255,255,.09); border-radius:var(--r-pill); background:rgba(255,255,255,.075); color:var(--text-muted); font-size:8px; font-weight:700; letter-spacing:.045em; }
  .mm-coin-confirm-row { display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-top:18px; }
  .mm-coin-confirm-note { margin:0 auto 0 0; color:var(--text-faint); font-size:11.5px; line-height:1.45; }
  .mm-coin-confirm { min-width:210px; min-height:48px; margin:0; border-radius:var(--r); }
  .mm-coin-confirm:disabled { opacity:.42; }
  .mm-summary-note { margin:0; color:var(--text-faint); font-size:11.5px; line-height:1.5; }
  .mm-crypto-payment-layout { width:100%; max-width:none; margin:0; grid-template-columns:minmax(0,1fr); }
  .mm-crypto-payment-shell { flex:1; display:flex; align-items:center; padding:24px 0 48px; }
  .mm-crypto-payment-shell .mm-crypto-payment-layout { margin:auto 0; }
  .mm-checkout-shell .mm-crypto-payment-card {
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .mm-checkout-shell .mm-crypto-payment-card .payhero {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    width:100%;
    max-width:720px;
    margin:0 auto 16px;
    padding:2px 2px 0;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .mm-payment-head-main { min-width:0; }
  .mm-payment-amount-row { display:flex; min-width:0; align-items:flex-start; gap:10px; }
  .mm-payment-fiat { color:var(--text); font-size:13px; font-weight:650; }
  .mm-payment-head-meta { display:flex; align-items:center; gap:12px; margin:5px 0 0; color:var(--text-muted); font-size:11px; }
  .mm-payment-network { display:inline-flex; align-items:center; gap:5px; }
  .mm-payment-network::before { content:""; width:3px; height:3px; border-radius:50%; background:var(--text-faint); }
  .mm-payment-network strong { color:var(--text); font-weight:650; }
  .mm-payment-asset { display:flex; min-width:0; align-items:center; gap:12px; }
  .mm-payment-asset-copy { min-width:0; }
  .mm-payment-asset-icon { position:relative; width:52px; height:52px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:#fff; font-family:var(--font); font-size:9px; font-weight:750; letter-spacing:.02em; }
  .mm-payment-asset-icon.has-logo { overflow:visible; border-radius:0; background:transparent !important; }
  .mm-payment-asset-icon.has-logo > span { display:none; }
  .mm-payment-asset-icon img { display:block; width:100%; height:100%; object-fit:contain; }
  .mm-payment-asset .ph-amt { display:flex; min-width:0; align-items:baseline; gap:8px; }
  .mm-payment-asset .ph-value { font-weight:750; }
  .mm-payment-asset .ph-cur { font-weight:450; }
  .mm-amount-copy { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; margin-top:1px; padding:0; border:0; border-radius:50%; background:var(--surface-2); color:var(--text-muted); cursor:pointer; transition:background var(--dur) var(--ease),color var(--dur) var(--ease); }
  .mm-amount-copy:hover { background:var(--surface-3); color:var(--text); }
  .mm-amount-copy.copied { background:var(--success-soft); color:var(--success-text); }
  .mm-amount-copy svg { width:15px; height:15px; }
  .mm-checkout-shell .mm-crypto-payment-card .paysplit { display:block; width:100%; max-width:720px; margin:0 auto; overflow:hidden; border:1px solid var(--mm-field-border); border-radius:var(--r-lg); background:rgba(255,255,255,.025); }
  .mm-payment-recipient { display:grid; grid-template-columns:172px minmax(0,1fr); align-items:center; gap:20px; padding:18px; }
  .mm-checkout-shell .mm-crypto-payment-card .qrcol { width:172px; display:flex; flex-direction:column; align-items:center; gap:8px; padding:8px; border-radius:var(--r); background:#fff; }
  .mm-checkout-shell .mm-crypto-payment-card .qrbox { width:100%; padding:0; border-radius:calc(var(--r) - 4px); }
  .mm-checkout-shell .mm-crypto-payment-card .qrbox img { width:100%; height:auto; aspect-ratio:1; }
  .mm-checkout-shell .mm-crypto-payment-card .infocol { display:flex; flex-direction:column; min-width:0; }
  .mm-recipient-label { margin-bottom:8px; color:var(--text-faint); font-size:10px; font-weight:550; }
  .mm-recipient-copy { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
  .mm-recipient-address { min-width:0; overflow:hidden; color:var(--text); font-family:var(--font-mono); font-size:13px; font-weight:550; letter-spacing:-.015em; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; user-select:all; }
  .mm-recipient-copy .copybtn { width:38px; height:38px; min-width:0; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:var(--surface-2); color:var(--text-muted); }
  .mm-recipient-copy .copybtn:hover { background:var(--surface-3); color:var(--text); }
  .mm-recipient-copy .copybtn.copied { background:var(--success-soft); color:var(--success-text); }
  .mm-recipient-copy .copybtn svg { width:15px; height:15px; }
  .mm-recipient-note { margin:10px 0 0; color:var(--text-faint); font-size:10px; line-height:1.45; }
  .mm-checkout-shell .mm-payment-copy-group { overflow:hidden; border:1px solid var(--mm-field-border); border-radius:var(--r); background:rgba(6,7,10,.3); transition:border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
  .mm-checkout-shell .mm-payment-copy-group:hover { border-color:var(--mm-field-border-hover); background:rgba(255,255,255,.018); }
  .mm-checkout-shell .mm-payment-copy-group .field-row { margin:0; padding:15px 16px 14px; }
  .mm-checkout-shell .mm-payment-copy-group .field-row + .field-row { border-top:1px solid var(--mm-field-border); }
  .mm-checkout-shell .mm-payment-copy-group:hover .field-row + .field-row { border-top-color:var(--mm-field-border-hover); }
  .mm-checkout-shell .mm-payment-copy-group .field-row label { margin-bottom:6px; color:var(--text-faint); font-family:var(--font); font-size:10px; font-weight:550; letter-spacing:.01em; text-transform:none; }
  .mm-checkout-shell .mm-payment-copy-group .copyrow { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
  .mm-checkout-shell .mm-payment-copy-group .copyval { min-height:25px; padding:0; border:0; border-radius:0; background:transparent; color:var(--text); font-family:var(--font-mono); font-size:13px; font-weight:500; letter-spacing:-.015em; line-height:1.45; user-select:all; }
  .mm-checkout-shell .mm-payment-copy-group .field-row:first-child .copyval { font-size:14px; letter-spacing:-.02em; }
  .mm-checkout-shell .mm-payment-copy-group .copybtn { min-width:72px; min-height:34px; justify-content:center; padding:0 11px; border:1px solid rgba(255,255,255,.07); border-radius:var(--r-sm); background:rgba(255,255,255,.045); color:var(--text-muted); }
  .mm-checkout-shell .mm-payment-copy-group .copybtn:hover { border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.085); color:var(--text); }
  .mm-checkout-shell .mm-payment-copy-group .copybtn.copied { border-color:var(--success-border); background:var(--success-soft); color:var(--success-text); }
  .mm-checkout-shell .mm-payment-copy-group .copybtn svg { width:14px; height:14px; }
  .mm-checkout-shell .mm-crypto-payment-card .netwarn { margin:12px 0 0; padding:8px 10px; border:0; border-radius:var(--r-sm); font-size:10px; font-weight:450; }
  .mm-checkout-shell .mm-crypto-payment-card .netwarn strong { font-weight:720; }
  .mm-payment-progress { margin-top:16px; padding-top:16px; border-top:1px solid var(--mm-field-border); }
  .mm-payment-progress .metarow { justify-content:space-between; gap:14px; margin:0; }
  .mm-payment-progress .meta { margin-left:auto; text-align:right; }
  .mm-payment-progress .meta .ml { margin-bottom:2px; font-family:var(--font); font-size:9px; font-weight:500; letter-spacing:0; text-transform:none; }
  .mm-payment-progress .meta .mv { font-size:18px; }
  .mm-payment-expired { grid-column:1 / -1; display:flex; align-items:flex-start; gap:9px; margin:0; padding:11px 18px 12px; border-top:1px solid rgba(245,185,74,.16); background:rgba(245,185,74,.055); color:#d6ad63; font-size:10.5px; line-height:1.5; }
  .mm-payment-expired svg { width:15px; height:15px; flex:0 0 auto; margin-top:1px; }
  .mm-payment-expired strong { color:#e8c57e; font-weight:680; }
  .mm-payment-expired a { color:#e8c57e; font-weight:650; text-decoration:underline; text-decoration-color:rgba(232,197,126,.42); text-underline-offset:3px; }
  .mm-payment-expired a:hover { color:#f4d79c; text-decoration-color:currentColor; }
  .mm-payment-status-panel { display:grid; min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:0; border-top:1px solid var(--mm-field-border); }
  .mm-payment-stat { min-width:0; display:flex; align-items:center; gap:11px; padding:14px 18px; border-radius:0; background:transparent; }
  .mm-payment-stat + .mm-payment-stat { border-left:1px solid var(--mm-field-border); }
  .mm-payment-stat-copy { min-width:0; display:flex; flex-direction:column; gap:2px; }
  .mm-payment-stat-label { color:var(--text-faint); font-size:9.5px; font-weight:500; }
  .mm-payment-stat-value { overflow:hidden; color:var(--text); font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
  .mm-payment-stat-value.is-time,
  .mm-payment-stat-value.is-time.caution,
  .mm-payment-stat-value.is-time.warn,
  .mm-payment-stat-value.is-time.bad { color:var(--text); font-variant-numeric:tabular-nums; }
  .mm-countdown-ring { width:42px; height:42px; flex:0 0 auto; overflow:visible; }
  .mm-countdown-track,
  .mm-countdown-value { fill:none; stroke-width:4; }
  .mm-countdown-track { stroke:var(--surface-3); }
  .mm-countdown-value { stroke:var(--ok); stroke-linecap:round; transition:stroke-dashoffset .4s var(--ease), stroke .3s var(--ease); }
  .mm-countdown-value.caution { stroke:var(--days-caution); }
  .mm-countdown-value.warn { stroke:var(--days-warning); }
  .mm-countdown-value.bad { stroke:var(--bad); }
  .mm-chain-ring { width:42px; height:42px; flex:0 0 auto; display:block; overflow:visible; }
  .mm-chain-ring-track,
  .mm-chain-ring-value { fill:none; stroke-width:4; }
  .mm-chain-ring-track { stroke:rgba(255,255,255,.075); }
  .mm-chain-ring-value { stroke:var(--ok); stroke-linecap:round; stroke-dasharray:27 73; }
  .mm-chain-ring.is-window-expired .mm-chain-ring-value { stroke:var(--warn); stroke-dasharray:100; animation:none; }
  @keyframes mmChainCheck { to { stroke-dashoffset:-100; } }
  @media (prefers-reduced-motion:no-preference) {
    html[data-motion="on"] .mm-chain-ring-value { animation:mmChainCheck 2.2s linear infinite; }
  }
  .mm-crypto-legal-consent { width:100%; max-width:720px; margin:16px auto 0; }
  .mm-crypto-footer-trust { display:inline-flex; align-items:center; gap:7px; margin:0; color:var(--text-muted); font-weight:550; }
  .mm-crypto-footer-trust svg { width:14px; height:14px; flex:0 0 auto; stroke-width:1.9; }
  .mm-back-form { margin:0; }
  .mm-back-form > .header-action { gap:6px; }
  .mm-result-page { flex:1; display:grid; place-items:center; }
  .mm-result-page .checkout-result-shell { width:100%; min-height:430px; padding:28px 0 52px; }
  .mm-result-page .outcome.checkout-card { padding:42px 32px 36px; border:0; border-radius:0; background:transparent; box-shadow:none; }
  .mm-result-page .outcome.checkout-card h1 { margin:0 0 10px; color:var(--text); font-family:var(--font-d); font-size:26px; font-weight:720; letter-spacing:-.025em; }
  .mm-result-page .outcome.checkout-card > p { max-width:360px; margin:0 auto 26px; color:var(--text-muted); font-size:14px; line-height:1.55; }
  .mm-result-page .outcome-actions { max-width:340px; margin:0 auto; }
  .mm-result-page .outcome-actions .cbtn { min-height:50px; border-radius:var(--r); }
  .mm-result-page.sellauth-payment-page { display:block; max-width:520px; }
  .sellauth-payment-page .checkout-result-shell { display:block; padding:12px 0 24px; }
  .sellauth-payment-page .checkout-result-shell .narrow { width:100%; max-width:none; }
  .mm-result-page.sellauth-payment-page .outcome.checkout-card { padding:12px 0 16px; }
  .mm-result-page.sellauth-payment-page .outcome.checkout-card h1 { font-size:28px; font-weight:650; letter-spacing:-.035em; }
  .mm-result-page.sellauth-payment-page .outcome.checkout-card > p { max-width:none; margin-bottom:24px; font-size:13px; }
  .sellauth-checkout { width:100%; margin:0 0 20px; text-align:left; }
  .sellauth-checkout iframe { display:block; width:100%; height:560px; border:0; border-radius:var(--r); background:#09090b; color-scheme:dark; }
  .sellauth-frame-status { margin:0 0 12px; padding:12px 16px; border-radius:var(--r-sm); background:var(--surface); color:var(--text-muted); font-size:13px; line-height:1.5; text-align:center; }
  .sellauth-payment-page .outcome-actions { max-width:100%; }
  .sellauth-payment-page .outcome-actions .cbtn-secondary { min-height:44px; background:transparent; color:var(--text-muted); }
  @media (max-width:1240px) {
    .mm-brand-header { margin-bottom:84px; }
    .mm-back-absolute { top:calc(100% + 16px); transform:none; }
    .mm-back-absolute:active { transform:scale(.97); }
    html[data-motion="on"] a.header-action.mm-back-absolute:active { animation:none; transform:scale(.97); }
  }
  @media (max-width:900px) {
    .mm-checkout-shell { max-width:520px; }
    .mm-checkout-shell.mm-coin-checkout { max-width:760px; }
    .mm-elements-form,
    .mm-crypto-layout { grid-template-columns:minmax(0,1fr); gap:32px; }
    .mm-coin-form .coin-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .mm-order-summary { position:static; padding:0; }
    .mm-payment-recipient { grid-template-columns:150px minmax(0,1fr); gap:16px; padding:16px; }
    .mm-checkout-shell .mm-crypto-payment-card .qrcol { width:150px; }
    .mm-payment-status-panel { padding:0; }
  }
  @media (max-width:720px) {
    .mm-checkout-shell.mm-coin-checkout { max-width:520px; }
    .mm-coin-form .coin-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
  @media (max-width:640px) {
    .mm-payment-recipient { grid-template-columns:minmax(0,1fr); gap:16px; }
    .mm-checkout-shell .mm-crypto-payment-card .qrcol { width:172px; justify-self:center; }
  }
  @media (max-width:560px) {
    .wrap:has(.mm-checkout-page) { padding:0 16px; }
    .mm-checkout-page { padding:20px 0 36px; }
    .mm-brand-header { width:calc(100% - 16px); margin:0 8px 78px; padding-left:0; }
    .mm-back-absolute { left:calc((100vw - 100%) / -2 + 16px); }
    .mm-brand-header .brandword,
    .mm-brand-header .sand,
    .mm-brand-header .uname { display:none; }
    .mm-checkout-shell { min-height:0; padding:0; }
    .mm-crypto-payment-shell { padding:12px 0 32px; }
    .mm-checkout-shell .mm-crypto-payment-card .payhero { align-items:flex-start; gap:14px; }
    .mm-payment-asset-icon { width:48px; height:48px; }
    .mm-payment-status-panel { grid-template-columns:minmax(0,1fr); }
    .mm-payment-stat + .mm-payment-stat { border-left:0; border-top:1px solid var(--mm-field-border); }
    .mm-elements-form { margin-top:0; }
    .mm-coin-form .coin-card-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
    #coinGrid.coin-card-grid { max-height:clamp(300px, calc(100svh - 260px), 680px); }
    .mm-coin-form .coin-card { min-height:112px; flex-direction:row; justify-content:flex-start; gap:13px; padding:16px 74px 16px 16px; text-align:left; }
    .mm-coin-form .coin-card .rowicon { width:42px; height:42px; }
    .mm-coin-form .coin-card .rowbody { width:auto; align-items:flex-start; }
    .mm-coin-form .coin-card .coin-network { justify-content:flex-start; }
    .mm-coin-form .coin-card .poptag { top:50%; right:14px; transform:translateY(-50%); }
    .mm-coin-confirm-row { align-items:stretch; flex-direction:column; gap:9px; }
    .mm-coin-confirm-note { margin:0; text-align:center; }
    .mm-coin-confirm { width:100%; }
    .mm-checkout-shell .mm-crypto-payment-card { padding:0; }
    .mm-result-page .checkout-result-shell { min-height:360px; padding:4px 0 28px; }
    .mm-result-page .outcome.checkout-card { padding:32px 10px 28px; }
  }
  @media (max-width:420px) {
    .mm-billing-cell input,
    .mm-billing-cell select { font-size:16px; }
    .mm-card-brands { gap:4px; }
    .mm-card-brands .cardbrand { width:28px; height:17px; }
    .mm-card-brands .cardbrand.mastercard { width:23px; }
  }

  .payment-card { padding:30px 32px; }
  .payment-card .payhero { margin-bottom:24px; padding:18px 20px; border:0; border-radius:var(--r); background:var(--surface-2); }
  .payment-card .payhero .ph-amt { font-size:32px; }
  .payment-card .paysplit { gap:24px; }
  .payment-card .qrcol { padding:12px; border-radius:var(--r-lg); background:var(--surface-2); }
  .payment-card .copyval, .payment-card .copybtn { border-color:transparent; background:var(--field-bg); }

  .checkout-result-shell { display:grid; place-items:center; min-height:430px; padding:28px 0 52px; }
  .checkout-result-shell .narrow { max-width:460px; }
  .outcome.checkout-card { padding:44px 38px 38px; }
  .outcome-kicker { margin:0 0 18px !important; color:var(--text-faint) !important; font-size:10.5px !important; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
  .outcome.checkout-card .oicon { width:72px; height:72px; margin-bottom:22px; }
  .outcome.checkout-card h3 { font-size:25px; letter-spacing:-.02em; }
  .outcome.checkout-card > p:not(.outcome-kicker) { margin-bottom:26px; font-size:14.5px; line-height:1.5; }
  .outcome-actions { display:grid; gap:10px; }
  .outcome-actions .cbtn { width:100%; }

  @media (max-width:600px) {
    .stepbar { padding:10px 12px; }
    .sb-line { margin:0 6px; }
    .checkout-page-head h1 { font-size:28px; }
    .amount-panel { padding:26px 20px 24px; }
    .amount-input { max-width:230px; font-size:50px; }
    .preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .amount-limits { flex-wrap:wrap; }
    .checkout-section-title { align-items:flex-start; flex-direction:column; gap:4px; padding:24px 20px 0; }
    .checkout-section-title small { text-align:left; }
    .pay-method-list { grid-template-columns:1fr; padding:16px 20px 0; }
    .topup-submit { width:calc(100% - 40px); margin:22px 20px 24px; }
    .billing-card, .elements-card, .payment-card { padding:24px 20px; }
    .billing-card-head { align-items:flex-start; flex-direction:column; gap:14px; }
    .billing-card-head .accepts { justify-content:flex-start; }
    .elements-card-head { align-items:flex-start; flex-direction:column; gap:14px; }
    .elements-card-head .accepts { justify-content:flex-start; }
    .checkout-result-shell { min-height:360px; padding-top:12px; }
    .outcome.checkout-card { padding:36px 24px 28px; }
  }

  /* Top-up checkout v5 — one predictable vertical path on every step.
     Context comes first, then one list or form, then one primary action. */
  /* Short checkout steps sit in the visual centre of the available viewport;
     taller content still grows past this minimum and uses document scrolling. */
  .checkout-flow { width:100%; max-width:820px; min-height:calc(100svh - 196px); display:grid; align-content:center; margin:0 auto; padding:22px 0 48px; overflow:visible; border-radius:0; background:transparent; box-shadow:none; }
  .checkout-flow-billing { max-width:560px; }
  .checkout-flow-rail { position:relative; display:block; padding:0 0 26px; background:transparent; }
  .checkout-flow-action { position:absolute; top:4px; right:0; min-height:28px; margin:0; }
  .checkout-flow-action form { margin:0; }
  .checkout-back { min-height:28px; padding:0; border-radius:0; background:transparent; color:var(--text-muted); }
  .checkout-back:hover { background:transparent; color:var(--text); }
  .checkout-flow-copy { margin:0; padding-right:180px; }
  .checkout-flow-copy h1 { max-width:620px; margin:0; color:var(--text); font-family:var(--font-d); font-size:30px; font-weight:720; line-height:1.12; letter-spacing:-.03em; }
  .checkout-flow-lede { max-width:580px; margin:8px 0 0; color:var(--text-muted); font-size:13px; line-height:1.5; }
  .stepbar.checkout-steps { display:flex; align-items:center; min-height:0; margin:22px 0 0; padding:0; border-radius:0; background:transparent; box-shadow:none; }
  .checkout-steps .sb-item { min-width:0; display:flex; align-items:center; gap:7px; padding:0; border-radius:0; background:transparent; }
  .checkout-steps .sb-dot { width:20px; height:20px; border:0; background:rgba(255,255,255,.07); color:var(--text-faint); font-size:9px; }
  .checkout-steps .sb-item.now { color:var(--text); }
  .checkout-steps .sb-item.now .sb-dot { background:var(--accent); color:var(--ink-on-accent); box-shadow:none; }
  .checkout-steps .sb-item.done { background:transparent; }
  .checkout-steps .sb-item.done .sb-dot { background:var(--success-border); color:var(--ok); }
  .checkout-steps .sb-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-faint); font-size:10.5px; font-weight:700; }
  .checkout-steps .sb-item.now .sb-label { color:var(--text); }
  .checkout-steps .sb-line { display:block; flex:0 1 44px; height:1px; margin:0 12px; background:rgba(255,255,255,.1); }
  .checkout-steps .sb-line.done { background:var(--success-border); }

  .checkout-flow-stage { min-width:0; padding:0; background:transparent; }
  .checkout-flow .checkout-card { border-radius:0; background:transparent; box-shadow:none; }
  .checkout-flow .topup-shell { max-width:none; }
  .checkout-flow .topup-card { gap:0; padding:24px; border-radius:var(--r-lg); background:var(--overlay-bg); box-shadow:0 16px 40px rgba(0,0,0,.18); }
  .topup-checkout-grid { display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); gap:28px; align-items:start; }
  .topup-checkout-section { min-width:0; }
  .checkout-stage-label { margin:0 0 10px; color:var(--text-faint); font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
  .checkout-flow .amount-panel { padding:0; border-radius:0; background:transparent; }
  .checkout-flow .amount-field { min-height:78px; display:flex; align-items:center; justify-content:center; gap:10px; padding:0 14px; border-radius:var(--r); background:var(--overlay-raised); }
  .checkout-flow .amount-input { width:4.5ch; max-width:220px; padding:0; font-size:46px; font-weight:700; letter-spacing:-.055em; text-align:center; }
  .checkout-flow .amount-currency { display:grid; width:32px; height:32px; place-items:center; border-radius:var(--r-sm); background:var(--accent-wash-strong); color:var(--accent); font-size:20px; font-weight:800; }
  .amount-unit { color:var(--text-faint); font-size:10px; font-weight:800; letter-spacing:.08em; }
  .checkout-flow .preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:10px; }
  .checkout-flow .preset-row .chip { width:100%; padding:10px; border-radius:var(--r-sm); background:var(--overlay-raised); text-align:center; }
  .checkout-flow .pmrow-input:checked + .chip { background:var(--accent-wash-strong); color:var(--text); box-shadow:0 0 0 1px var(--accent) inset; }
  .checkout-flow .divider { display:none; }
  .checkout-flow .checkout-section-title { align-items:center; padding:0 0 10px; }

  .checkout-flow .pay-method-list { display:flex; flex-direction:column; gap:0; overflow:hidden; padding:0; border-radius:var(--r); background:rgba(0,0,0,.14); }
  .checkout-flow .pay-method { position:relative; min-height:53px; padding:8px 12px; border-radius:0; border-bottom:1px solid rgba(255,255,255,.055); background:transparent; }
  .checkout-flow .pay-method:last-child { border-bottom:0; }
  .checkout-flow .pay-method:has(input:checked) { background:var(--accent-wash-strong); box-shadow:none; }
  .checkout-flow .pay-method:has(input:checked)::before { content:""; position:absolute; top:9px; bottom:9px; left:0; width:3px; border-radius:0 4px 4px 0; background:var(--accent); }
  .checkout-flow .pay-method-icon { width:36px; height:36px; }
  .checkout-flow .pay-method-name { font-size:13px; }
  .checkout-flow .pay-method-sub { font-size:10px; }
  .checkout-flow .topup-submit { width:100%; height:48px; margin:24px 0 0; border-radius:var(--r-sm); }
  .checkout-flow .topup-card + .foot { justify-content:center; margin-top:14px; }

  .checkout-flow .checkout-summary { min-height:62px; margin:0 0 18px; padding:12px 14px; border:0; border-radius:var(--r); background:rgba(255,255,255,.045); box-shadow:none; }
  .checkout-flow .row.checkout-summary:hover { background:rgba(255,255,255,.045); }
  .checkout-flow .checkout-summary .rowicon { width:38px; height:38px; }
  .checkout-flow .searchwrap { margin-bottom:10px; }
  .checkout-flow .searchwrap input { min-height:48px; border:0; border-radius:var(--r-sm); background:rgba(255,255,255,.05); box-shadow:none; }
  .checkout-flow .coin-list { max-height:500px; border-radius:var(--r); background:rgba(255,255,255,.035); box-shadow:none; }
  .checkout-flow .coin-list .row { min-height:62px; padding:11px 13px; border-bottom-color:rgba(255,255,255,.055); border-radius:0; }
  .checkout-flow .coin-list .row:first-of-type { border-radius:var(--r) var(--r) 0 0; }
  .checkout-flow .coin-list .row:last-of-type { border-radius:0 0 var(--r) var(--r); }

  .checkout-flow .billing-card { padding:24px; border-radius:var(--r-lg); background:rgba(255,255,255,.035); }
  .checkout-flow .billing-card-head { align-items:center; margin-bottom:20px; padding:0 0 16px; border-bottom:1px solid rgba(255,255,255,.06); }
  .checkout-flow .billing-card input, .checkout-flow .billing-card select { min-height:46px; border:0; border-radius:var(--r-sm); background:rgba(255,255,255,.055); }
  .checkout-flow .billing-card input:focus, .checkout-flow .billing-card select:focus { background:rgba(255,255,255,.075); }
  .checkout-flow .billing-submit { height:48px; margin-top:22px; border-radius:var(--r-sm); }
  .checkout-flow .billing-card .foot { justify-content:center; }

  .checkout-flow .elements-card { border-radius:var(--r-lg); background:rgba(255,255,255,.035); }
  .checkout-flow .elements-card input,
  .checkout-flow .elements-card select { border:0; background:rgba(255,255,255,.055); }
  .checkout-flow .elements-card input:focus,
  .checkout-flow .elements-card select:focus { background:rgba(255,255,255,.075); }
  .checkout-flow .elements-card-frame { background:rgba(255,255,255,.055); }

  .checkout-flow .payment-card { padding:24px; border-radius:var(--r-lg); background:rgba(255,255,255,.035); }
  .checkout-flow .payment-card .payhero { margin-bottom:20px; padding:0 0 18px; border-bottom:1px solid rgba(255,255,255,.06); border-radius:0; background:transparent; }
  .checkout-flow .payment-card .payhero .ph-amt { font-size:31px; }
  .checkout-flow .payment-card .paysplit { gap:22px; }
  .checkout-flow .payment-card .qrcol { padding:10px; border-radius:var(--r); background:#fff; }
  .checkout-flow .payment-card .copyval, .checkout-flow .payment-card .copybtn { border:0; background:rgba(255,255,255,.055); }

  .checkout-flow-result .checkout-flow-stage { display:grid; min-height:380px; place-items:center; padding:28px; border-radius:var(--r-lg); background:rgba(255,255,255,.03); }
  .checkout-flow-result .checkout-result-shell { width:100%; min-height:0; padding:0; }
  .checkout-flow-result .narrow { max-width:400px; }
  .checkout-flow-result .outcome.checkout-card { padding:14px 0; }
  .checkout-flow-result .outcome.checkout-card .oicon { width:72px; height:72px; margin-bottom:20px; }
  .checkout-flow-result .outcome.checkout-card h3 { font-size:26px; }
  .checkout-flow-result .outcome.checkout-card > p { max-width:330px; margin:0 auto 24px; }
  .checkout-flow-result .outcome-actions { max-width:330px; margin:0 auto; }
  .checkout-flow-result .outcome-actions .cbtn { height:48px; border-radius:var(--r-sm); }

  @media (max-width:600px) {
    .checkout-flow { min-height:calc(100svh - 132px); margin-top:0; }
    .checkout-flow-rail { display:flex; flex-direction:column; padding-bottom:22px; }
    .checkout-flow-copy { order:1; padding-right:0; }
    .checkout-flow-action { position:static; order:2; align-self:flex-start; margin:14px 0 0; }
    .stepbar.checkout-steps { order:3; }
    .checkout-flow-copy h1 { font-size:28px; }
    .checkout-flow-lede { margin-top:8px; }
    .checkout-steps .sb-item { gap:5px; padding:0; }
    .checkout-steps .sb-label { font-size:9.5px; }
    .checkout-steps .sb-line { flex-basis:16px; margin:0 6px; }
    .checkout-flow .topup-card { padding:18px; border-radius:var(--r-lg); }
    .topup-checkout-grid { grid-template-columns:1fr; gap:24px; }
    .checkout-flow .amount-panel { padding:0; }
    .checkout-flow .amount-field { min-height:76px; padding:0 12px; }
    .checkout-flow .amount-input { max-width:210px; font-size:44px; }
    .checkout-flow .amount-currency { width:30px; height:30px; font-size:19px; }
    .amount-unit { display:none; }
    .checkout-flow .preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .checkout-flow .checkout-section-title { padding-top:24px; }
    .checkout-flow .billing-card, .checkout-flow .elements-card, .checkout-flow .payment-card { padding:20px 18px; }
    .checkout-flow .billing-card-head { align-items:flex-start; }
    .checkout-flow .elements-card-head { align-items:flex-start; }
    .checkout-flow-result .checkout-flow-stage { min-height:340px; padding:20px 18px; }
  }

  /* Top-up amount — app-like money entry with a compact method selector. */
  .checkout-flow-amount { max-width:520px; margin-top:20px; }
  .checkout-flow-amount .checkout-flow-rail { display:none; }
  .checkout-flow-amount .topup-card { padding:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; }

  .checkout-flow-amount .topup-amount-hero { display:flex; min-height:286px; flex-direction:column; align-items:center; justify-content:center; padding:28px 0 32px; text-align:center; }
  .checkout-flow-amount .topup-balance-label { display:flex; align-items:center; justify-content:center; gap:3px; margin:0 0 18px; color:var(--text-faint); font-size:11px; font-weight:700; line-height:1; letter-spacing:.07em; text-transform:uppercase; }
  .checkout-flow-amount .topup-purchase-note { max-width:330px; margin:-8px 0 12px; color:var(--text-muted); font-size:12px; line-height:1.45; }
  .checkout-flow-amount .topup-rate-help { position:relative; display:inline-flex; align-items:center; }
  .checkout-flow-amount .topup-rate-button { width:18px; height:18px; display:grid; place-items:center; padding:0; border:0; border-radius:var(--r-xs); background:transparent; color:var(--text-muted); line-height:0; cursor:help; }
  .checkout-flow-amount .topup-rate-button svg { display:block; width:15px; height:15px; }
  .checkout-flow-amount .topup-rate-button:hover,
  .checkout-flow-amount .topup-rate-button:focus-visible { background:transparent; color:var(--text); outline:none; }
  .checkout-flow-amount .topup-rate-tooltip { position:absolute; left:50%; top:calc(100% + 9px); z-index:30; width:max-content; max-width:min(190px,calc(100vw - 32px)); padding:9px 11px; border:1px solid var(--overlay-border); border-radius:var(--overlay-radius); background:var(--overlay-bg); color:var(--overlay-text); box-shadow:var(--overlay-shadow); font-size:11.5px; font-weight:650; line-height:1.3; letter-spacing:0; text-align:center; text-transform:none; white-space:nowrap; opacity:0; visibility:hidden; pointer-events:none; transform:translateX(-50%); }
  .checkout-flow-amount .topup-rate-tooltip::before { content:""; position:absolute; left:50%; top:-5px; width:8px; height:8px; border-left:1px solid var(--overlay-border); border-top:1px solid var(--overlay-border); background:inherit; transform:translateX(-50%) rotate(45deg); }
  .checkout-flow-amount .topup-rate-help:hover .topup-rate-tooltip,
  .checkout-flow-amount .topup-rate-help:focus-within .topup-rate-tooltip { opacity:1; visibility:visible; }
  .checkout-flow-amount .amount-field { min-height:96px; gap:9px; padding:0; border-radius:0; background:transparent; }
  .checkout-flow-amount .amount-currency { width:auto; height:auto; border-radius:0; background:transparent; color:var(--text); font-size:44px; font-weight:650; }
  .checkout-flow-amount .amount-input { width:1ch; min-width:1ch; max-width:7ch; padding:0; border:0; background:transparent; box-shadow:none; color:var(--text); font-size:76px; font-weight:650; letter-spacing:-.07em; line-height:1; transition:none; }
  .checkout-flow-amount .amount-input:focus { border:0; background:transparent; box-shadow:none; }
  .checkout-flow-amount .amount-input::placeholder { color:rgba(246,246,248,.3); opacity:1; }
  .checkout-flow-amount .amount-unit { display:none; }
  .checkout-flow-amount .amount-field.is-error .amount-currency,
  .checkout-flow-amount .amount-field.is-error .amount-input { color:var(--danger-text); }
  .checkout-flow-amount .topup-field-error { display:flex; align-items:center; justify-content:center; gap:6px; margin:7px 0 0; color:var(--danger-text); font-size:11.5px; font-weight:650; line-height:1.35; }
  .checkout-flow-amount .topup-field-error[hidden] { display:none; }
  .checkout-flow-amount .topup-field-error svg { width:14px; height:14px; flex:0 0 auto; }
  .checkout-flow-amount .preset-row { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:22px; }
  .checkout-flow-amount .preset-row .chip { padding:10px 6px; border-radius:var(--r-pill); background:var(--surface-2); color:var(--text-muted); box-shadow:none; font-size:12px; transition:none; }
  .checkout-flow-amount .preset-row .chip:hover { background:var(--surface-3); color:var(--text); }
  .checkout-flow-amount .pmrow-input:checked + .chip { background:var(--text); color:var(--bg); box-shadow:none; }

  .checkout-flow-amount .topup-method-section { margin-top:12px; }
  .card-fee-badge { display:inline-flex; align-items:center; padding:3px 7px; border-radius:var(--r-pill); background:var(--overlay-warning-soft); color:var(--overlay-warning); font-size:10px; font-weight:700; white-space:nowrap; }
  .card-only-fee { text-align:center; color:var(--text-muted); font-size:13px; }
  .card-fee-summary { margin:0 0 16px; color:var(--text-muted); font-size:12px; line-height:1.6; text-align:center; }
  .card-fee-summary[hidden] { display:none; }
  .checkout-flow-amount .topup-method-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:-6px; padding:6px; overflow:visible; }
  .checkout-flow-amount .pay-method { min-width:0; min-height:132px; flex-direction:column; justify-content:center; gap:9px; padding:18px 14px 15px; border:0; border-radius:var(--r-lg); background:var(--surface-2); outline:2px solid transparent; outline-offset:4px; text-align:center; transition:none; overflow:visible; }
  .checkout-flow-amount .pay-method:hover { background:var(--surface-2); outline-color:rgba(255,255,255,.9); }
  .checkout-flow-amount .pay-method:active { transform:none; }
  .checkout-flow-amount .pay-method:has(input:checked) { background:var(--surface-3); outline-color:#fff; box-shadow:none; }
  .checkout-flow-amount .pay-method:has(input:focus-visible) { outline-color:var(--accent); }
  .checkout-flow-amount .pay-method:has(input:checked)::before { display:none; }
  .checkout-flow-amount .pay-method-icon { width:42px; height:42px; background:rgba(255,255,255,.055); transition:none; }
  .checkout-flow-amount .pay-method:has(input:checked) .pay-method-icon { color:var(--text-muted); }
  .checkout-flow-amount .pay-method-icon svg { width:19px; height:19px; }
  .checkout-flow-amount .pay-method-copy { flex:0 1 auto; width:100%; align-items:center; gap:4px; text-align:center; }
  .checkout-flow-amount .pay-method .card-fee-badge { position:absolute; top:6px; right:8px; pointer-events:none; }
  .checkout-flow-amount .pay-method-name { color:var(--overlay-text); }
  .checkout-flow-amount .pay-method:has(input:checked) .pay-method-name { color:var(--overlay-text); }
  .checkout-flow-amount .pay-method-sub { color:var(--overlay-muted); }
  .checkout-flow-amount .topup-action-dock { position:relative; z-index:10; margin-top:28px; }
  .checkout-flow-amount .topup-fee-note { min-height:4.8em; margin-top:12px; font-size:12px; }
  .checkout-flow-amount .topup-fee-note .card-fee-summary { margin:0; }
  .checkout-flow-amount .topup-submit { height:54px; margin:0; border-radius:var(--r-sm); font-size:14px; }
  .checkout-flow-amount .topup-submit:hover:not(:disabled) { background:#dbeafe; }

  /* Top-up choices only change state on the current page. Keep them instant:
     no press, selection, checkmark, or picker-opening motion. */
  html[data-motion="on"] .checkout-flow-amount .topup-card,
  html[data-motion="on"] .checkout-flow-amount .chip,
  html[data-motion="on"] .checkout-flow-amount .topup-rate-button,
  html[data-motion="on"] .checkout-flow-amount .topup-rate-tooltip,
  html[data-motion="on"] .checkout-flow-amount .pay-method,
  html[data-motion="on"] .checkout-flow-amount .pay-method-icon,
  html[data-motion="on"] .checkout-flow-amount .topup-submit {
    animation:none !important;
    transition:none !important;
  }

  @media (max-width:600px) {
    .checkout-flow-amount .pay-method .card-fee-badge { top:-4px; }
    .checkout-flow-amount { margin-top:0; }
    .checkout-flow-amount .topup-amount-hero { min-height:255px; padding:20px 0 26px; }
    .checkout-flow-amount .amount-input { font-size:64px; }
    .checkout-flow-amount .amount-currency { font-size:38px; }
    .checkout-flow-amount .preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .checkout-flow-amount .topup-method-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .checkout-flow-amount .pay-method { min-height:122px; padding:16px 10px 13px; }
    .checkout-flow-amount .pay-method-sub { max-width:120px; white-space:normal; }
    .checkout-flow-amount .topup-action-dock { position:sticky; bottom:14px; margin-top:24px; padding-top:12px; background:linear-gradient(180deg,transparent,var(--bg) 34%); }
  }

  /* Late motion override: component shorthands above intentionally define
     their local color/background transitions, so this wins the final word for
     transform motion across every interactive block/control. */
  html[data-motion="on"] .topnav-links a,
  html[data-motion="on"] .row,
  html[data-motion="on"] .activity-row,
  html[data-motion="on"] .icon-btn,
  html[data-motion="on"] .linkbtn,
  html[data-motion="on"] .cbtn,
  html[data-motion="on"] .header-action,
  html[data-motion="on"] .chip,
  html[data-motion="on"] .copybtn,
  html[data-motion="on"] .pause-choice,
  html[data-motion="on"] .pay-method,
  html[data-motion="on"] .tile,
  html[data-motion="on"] .game-card,
  html[data-motion="on"] .game-row,
  html[data-motion="on"] .checkout-bar-inner {
    transition-property:background, color, opacity, box-shadow, outline-color, outline-offset;
    transition-duration:260ms;
    transition-timing-function:var(--ease);
  }
  /* Controls that only update the current document stay instantaneous.
     Route-level View Transitions remain reserved for real path changes. */
  html[data-motion="on"] .game-card,
  html[data-motion="on"] .game-card::before,
  html[data-motion="on"] .game-card .art-fade,
  html[data-motion="on"] .chip,
  html[data-motion="on"] .copybtn,
  html[data-motion="on"] .copybtn.copied .cicon-check svg,
  html[data-motion="on"] .discount-badge,
  html[data-motion="on"] .discount-promo,
  html[data-motion="on"] .discount-promo-close,
  html[data-motion="on"] .fee-tag,
  html[data-motion="on"] .pay-method,
  html[data-motion="on"] .pause-toggle,
  html[data-motion="on"] .pause-panel,
  html[data-motion="on"] .pause-panel-close,
  html[data-motion="on"] .pause-choice,
  html[data-motion="on"] .subscription-control,
  html[data-motion="on"] [data-no-transition],
  html[data-motion="on"] .userChip {
    animation:none !important;
    transition:none !important;
  }
  html[data-motion="on"] .icon-btn:active,
  html[data-motion="on"] .linkbtn:not([data-no-transition]):active,
  html[data-motion="on"] .topnav-links a:not([data-no-transition]):active,
  html[data-motion="on"] .row:not(.ctxrow):active,
  html[data-motion="on"] a.tile:active {
    animation:buttonTap 240ms var(--ease-out) both;
  }


  .legal-document {
    width: 100%;
    max-width: 900px;
  }
  .legal-hero {
    padding: 0 0 32px;
    margin: 0 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .legal-eyebrow {
    margin: 0 0 12px;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .legal-title {
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--font-d, var(--font));
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
  }
  .legal-meta {
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: 13px;
  }
  .legal-copy {
    min-width: 0;
    counter-reset: legal-section;
  }
  .legal-section {
    counter-increment: legal-section;
    margin: 0 0 32px;
    padding: 0 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    scroll-margin-top: 92px;
  }
  .legal-section:last-child { border-bottom: 0; }
  .legal-section::before {
    content: counter(legal-section, decimal-leading-zero);
    display: block;
    margin: 0 0 6px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
  }
  .legal-section h2 {
    margin: 0 0 12px;
    color: rgba(255,255,255,.9);
    font-family: var(--font-d, var(--font));
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
  }
  .legal-section p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.75;
  }
  .legal-section p:last-child { margin-bottom: 0; }
  .legal-section strong { color: rgba(255,255,255,.9); font-weight: 600; }
  .legal-section code {
    padding: 1px 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
    font-family: Menlo, Monaco, monospace;
    font-size: 12px;
  }
  .legal-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
  }
  .legal-section li {
    position: relative;
    padding-left: 16px;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.65;
  }
  .legal-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
  }
  .shared-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 40px;
    color: rgba(255,255,255,.4);
    font-size: 11px;
  }
  .shared-footer.is-legal {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.05);
  }
  .shared-footer-copy { margin: 0; }
  .shared-footer-links {
    display: inline-flex;
    align-items: center;
    gap: 16px;
  }
  .shared-footer a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .15s ease;
  }
  .shared-footer a:hover { color: rgba(255,255,255,.7); }
  @media (max-width: 560px) {
    .legal-title { font-size: 30px; }
  }
