/* ─────────────────────────────────────────────────────────────
   Pixuvo hub — design system
   Imported from the Pixuvo Claude Design project (Pixuvo.dc.html).

   Near-black surfaces, one lime accent, Space Grotesk for text and
   JetBrains Mono for every number / micro-label. Phone-first: the
   app runs on a fixed bottom tab bar (Home · Games · Compete · You)
   and widens into a top-nav layout from 900px up.
   ───────────────────────────────────────────────────────────── */
:root{
  --bg:#06060A;
  --surface:#0A0A0F;
  --card:#13131A;
  --card-2:#16161E;
  --line:rgba(255,255,255,.07);
  --line-2:rgba(255,255,255,.12);
  --text:#F4F4F6;
  --dim:#8A8A99;
  --dim-2:#6E6E80;
  --dim-3:#5E5E70;
  /* One accent, carried by every highlight on the site. Cyan matches the
     Pixuvo mark in favicon.svg; violet is the second half of every brand
     gradient. --acc-rgb exists so glows can vary alpha without a second
     hex literal drifting out of sync. */
  --acc:#22D3EE;
  --acc-hi:#67E8F9;
  --acc-rgb:34,211,238;
  --acc-2:#8B5CF6;
  --acc-2-rgb:139,92,246;
  --acc-soft:rgba(var(--acc-rgb),.10);
  --acc-edge:rgba(var(--acc-rgb),.26);
  --pink:#FF2D7A;
  /* One shadow scale, so every raised surface falls in the same light */
  --sh-1:0 2px 8px rgba(0,0,0,.35);
  --sh-2:0 18px 40px -24px rgba(0,0,0,.9);
  --sh-acc:0 10px 30px -12px rgba(var(--acc-rgb),.45);
  --ease:cubic-bezier(.2,.7,.2,1);
  --maxw:1180px;
  --font:'Space Grotesk',system-ui,-apple-system,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --tab-h:64px;
  --safe-b:env(safe-area-inset-bottom,0px);
  /* Dark UA widgets: scrollbars, number spinners, autofill. Matters most on
     Windows, where the scrollbar is always on screen and light by default. */
  color-scheme:dark;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#26262F var(--bg)}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:#26262F;border-radius:8px;border:2px solid var(--bg)}
::-webkit-scrollbar-thumb:hover{background:#3A3A46}
body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  padding-bottom:calc(var(--tab-h) + var(--safe-b));
}
a{color:var(--acc);text-decoration:none}
a:hover{color:var(--acc-hi)}
::selection{background:var(--acc);color:var(--bg)}
h1,h2,h3,h4{margin:0;letter-spacing:-.02em;font-weight:700}
img{max-width:100%}
button{font-family:inherit}
button.flink{background:none;border:0;cursor:pointer;font-family:inherit;padding:0}
input{font-family:inherit}
/* Windows/Chrome number spinners would break the mono score field */
input[type=number]{-moz-appearance:textfield;appearance:textfield}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Keyboard focus — the clickable cards get role="button" from hub.js */
:where(a,button,input,[role="button"]):focus-visible{
  outline:2px solid var(--acc);outline-offset:2px;
}

/* ---- fixed backdrop: colour washes, a slow aurora and a faint grid ----
   Three layers over near-black. The base washes anchor the corners, the
   ::before aurora drifts for a minute-long loop so the page never looks
   like a flat sheet, and the ::after grid — masked away below the fold —
   gives the top of every screen a bit of arcade structure. */
.space-bg{
  position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;
  background:
    radial-gradient(900px 600px at 12% -8%,#1A1042 0%,rgba(6,6,10,0) 62%),
    radial-gradient(800px 520px at 96% 4%,#07293A 0%,rgba(6,6,10,0) 58%),
    radial-gradient(760px 620px at 50% 118%,#0E1B33 0%,rgba(6,6,10,0) 62%);
}
.space-bg::before{
  content:"";position:absolute;inset:-30%;
  background:
    radial-gradient(34% 30% at 20% 26%,rgba(var(--acc-rgb),.13),transparent 68%),
    radial-gradient(32% 28% at 80% 20%,rgba(var(--acc-2-rgb),.16),transparent 68%),
    radial-gradient(34% 32% at 58% 84%,rgba(255,45,122,.09),transparent 68%);
  filter:blur(26px);
  animation:aurora 42s ease-in-out infinite alternate;
  will-change:transform;
}
.space-bg::after{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:68px 68px;
  -webkit-mask-image:radial-gradient(120% 80% at 50% -10%,#000 0%,transparent 72%);
  mask-image:radial-gradient(120% 80% at 50% -10%,#000 0%,transparent 72%);
}

@keyframes shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@keyframes livepulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes aurora{
  0%{transform:translate3d(-2%,-1%,0) scale(1)}
  50%{transform:translate3d(2%,2%,0) scale(1.07)}
  100%{transform:translate3d(-1%,1%,0) scale(1.02)}
}
@keyframes glowpulse{
  0%,100%{box-shadow:0 0 0 0 rgba(var(--acc-rgb),.45)}
  70%{box-shadow:0 0 0 7px rgba(var(--acc-rgb),0)}
}
@keyframes sheen{from{transform:translateX(-140%) skewX(-14deg)}to{transform:translateX(240%) skewX(-14deg)}}

.shell{position:relative;max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ---- shared type utilities ---- */
.mono{font-family:var(--mono)}
.kicker{
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--dim-2);
}
.kicker.lime{color:var(--acc)}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:14px}
.section-head h2{
  position:relative;padding-left:14px;
  font-size:clamp(18px,2.4vw,24px);letter-spacing:-.02em;
}
.section-head h2::before{
  content:"";position:absolute;left:0;top:.16em;bottom:.16em;width:3px;border-radius:2px;
  background:linear-gradient(180deg,var(--acc),rgba(var(--acc-rgb),.05));
}
.link-more{
  background:none;border:0;cursor:pointer;
  font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim-2);
}
.link-more:hover{color:var(--acc)}
section.block{padding:0 0 30px}

/* ---- buttons ---- */
.cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 20px;border:0;border-radius:14px;cursor:pointer;
  background:var(--acc);color:var(--bg);
  font-size:14px;font-weight:700;letter-spacing:-.01em;
  box-shadow:var(--sh-acc),inset 0 1px 0 rgba(255,255,255,.4);
  transition:background .16s,transform .16s,box-shadow .16s;
}
.cta:hover{background:var(--acc-hi);transform:translateY(-1px);
  box-shadow:0 14px 34px -12px rgba(var(--acc-rgb),.6),inset 0 1px 0 rgba(255,255,255,.5)}
.cta:active{transform:translateY(0);box-shadow:var(--sh-acc)}
.cta.lg{height:52px;padding:0 26px;border-radius:17px;font-size:15px}
.ghost-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 18px;border-radius:14px;cursor:pointer;
  background:rgba(255,255,255,.06);border:1px solid var(--line-2);color:var(--text);
  font-size:14px;font-weight:600;
  transition:border-color .16s,background .16s;
}
.ghost-btn:hover{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.09);transform:translateY(-1px)}
.ghost-btn:active{transform:translateY(0)}
.ghost-btn.lg{height:52px;border-radius:17px;font-size:15px}
.pill-btn{
  display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 13px;
  border-radius:12px;cursor:pointer;
  background:var(--card-2);border:1px solid var(--line);color:var(--dim);
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.06em;
  transition:border-color .16s,color .16s;
}
.pill-btn:hover{color:var(--text);border-color:var(--line-2)}
.pill-btn.on{color:var(--acc);background:var(--acc-soft);border-color:var(--acc-edge);
  box-shadow:0 0 18px -6px rgba(var(--acc-rgb),.5)}

/* ============================================================
   TOP BAR  (desktop nav / mobile identity strip)
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg,rgba(10,10,15,.92),rgba(10,10,15,.72));
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid var(--line);
}
/* A lime hairline that fades out at both ends — the bar reads as lit,
   not as a box with a line under it. */
.site-header::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(var(--acc-rgb),.34) 30%,rgba(var(--acc-rgb),.34) 70%,transparent);
}
.site-header .bar{
  max-width:var(--maxw);margin:0 auto;padding:12px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:10px;cursor:pointer;background:none;border:0;padding:0}
.brand .mark{
  width:32px;height:32px;border-radius:11px;flex:0 0 auto;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,var(--acc),var(--acc-2));
  box-shadow:0 8px 20px -10px rgba(var(--acc-rgb),.85);
  transition:transform .2s var(--ease),box-shadow .2s;
}
.brand:hover .mark{transform:translateY(-1px) rotate(-3deg);box-shadow:0 12px 26px -10px rgba(var(--acc-rgb),1)}
.brand .mark img{width:22px;height:22px;object-fit:contain;filter:brightness(0) saturate(100%)}
.brand .name{font-size:18px;font-weight:700;letter-spacing:-.04em;color:var(--text)}

.nav{display:flex;align-items:center;gap:26px}
.nav button.link,.nav a{
  position:relative;background:none;border:0;padding:0;cursor:pointer;
  color:var(--dim);font-family:var(--font);font-size:14px;font-weight:600;
  transition:color .16s;
}
.nav button.link:hover,.nav a:hover{color:var(--text)}
.nav .active{color:var(--acc)}
.nav .active::after{
  content:"";position:absolute;left:-2px;right:-2px;bottom:-7px;height:2px;border-radius:2px;
  background:var(--acc);box-shadow:0 0 12px rgba(var(--acc-rgb),.75);
}
.header-tools{display:flex;align-items:center;gap:8px}

/* streak chip in the header */
.streak-chip{
  display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;
  border-radius:12px;background:var(--acc-soft);border:1px solid rgba(var(--acc-rgb),.22);
  font-family:var(--mono);font-size:12px;font-weight:700;color:var(--acc);
}
.streak-chip .dot{width:8px;height:8px;border-radius:50%;background:var(--acc);
  animation:glowpulse 2.6s ease-out infinite}

/* ============================================================
   BOTTOM TAB BAR (phone)
   ============================================================ */
.tabbar{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  height:calc(var(--tab-h) + var(--safe-b));
  padding:0 10px var(--safe-b);
  display:flex;align-items:center;gap:4px;
  background:linear-gradient(to top,rgba(10,10,15,.99) 60%,rgba(10,10,15,.92));
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
}
.tabbar .tab{
  position:relative;
  flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;
  background:none;border:0;cursor:pointer;padding:8px 0 4px;
  color:var(--dim-3);font-size:10px;font-weight:600;
  transition:color .16s;
}
.tabbar .tab svg{display:block}
.tabbar .tab.active{color:var(--acc)}
.tabbar .tab.active::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:26px;height:2px;border-radius:0 0 3px 3px;
  background:var(--acc);box-shadow:0 0 12px rgba(var(--acc-rgb),.8);
}

/* ============================================================
   GAME ART  (accent gradient tile + the game's own cover)
   ============================================================ */
.art{
  position:relative;width:100%;height:100%;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,var(--a,var(--acc)),var(--a2,var(--acc-2)));
  /* Keeps the cover image's z-index inside the tile, so the hero scrims
     that sit above the art actually paint over it. */
  isolation:isolate;
}
.art::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(6,6,10,.28));
}
.art img{display:block;position:relative;z-index:1}
.art.contain img{width:auto;height:62%;object-fit:contain;filter:drop-shadow(0 10px 26px rgba(0,0,0,.5))}
.art.cover img{width:100%;height:100%;object-fit:cover}
.art.cover::after{background:linear-gradient(160deg,rgba(6,6,10,0),rgba(6,6,10,.22))}

/* ============================================================
   HOME
   ============================================================ */
.home-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 16px}
.home-id{display:flex;align-items:center;gap:11px;min-width:0}
.home-id .av{
  width:40px;height:40px;flex:0 0 auto;border-radius:14px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,var(--acc),var(--acc-2));
}
.home-id .av img{width:26px;height:26px;object-fit:contain;filter:brightness(0) saturate(100%)}
.home-id .who{display:flex;flex-direction:column;gap:2px;min-width:0}
.home-id .hi{font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--text)}

.searchbar{
  display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;margin-bottom:22px;
  border-radius:15px;background:var(--card);border:1px solid var(--line);cursor:pointer;
  transition:border-color .16s;
}
.searchbar:hover{border-color:var(--line-2)}
.searchbar:focus-within{border-color:var(--acc-edge);box-shadow:0 0 0 4px rgba(var(--acc-rgb),.07)}
.searchbar svg{flex:0 0 auto}
.searchbar span{font-size:14px;color:var(--dim-2)}
.searchbar input{
  flex:1;min-width:0;background:none;border:0;outline:none;
  font-size:14px;color:var(--text);
}
.searchbar input::placeholder{color:var(--dim-2)}

/* ---- featured hero ---- */
.hero-live{
  position:relative;border-radius:26px;overflow:hidden;margin-bottom:28px;
  background:var(--card);border:1px solid var(--line);cursor:pointer;
  box-shadow:var(--sh-2);
  transition:border-color .18s,box-shadow .3s var(--ease),transform .3s var(--ease);
}
.hero-live:hover{border-color:var(--acc-edge);transform:translateY(-2px);
  box-shadow:0 30px 70px -34px rgba(var(--acc-rgb),.3),var(--sh-2)}
/* The artwork breathes toward the viewer on hover instead of sitting still */
.hero-live .shot .art{transition:transform .7s var(--ease)}
.hero-live:hover .shot .art{transform:scale(1.05)}
/* The scrim reaches the card colour exactly where the art strip ends, so the
   artwork dissolves into the card instead of stopping on a hard edge. */
.hero-live .shot{position:absolute;left:0;right:0;top:0;height:60%}
.hero-live .scrim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,#13131A 0%,#13131A 40%,rgba(19,19,26,.6) 54%,rgba(19,19,26,.15) 72%,rgba(19,19,26,0) 88%);
}
.hero-live .body{position:relative;min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;padding:16px;gap:12px}
.hero-live .flag{
  position:absolute;top:14px;left:14px;z-index:2;
  display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 10px;border-radius:8px;
  background:rgba(6,6,10,.6);border:1px solid rgba(255,45,122,.45);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.12em;color:#FF8AB8;
}
.hero-live .flag .dot{width:6px;height:6px;border-radius:50%;background:var(--pink);animation:livepulse 2s ease-in-out infinite}
.hero-live h1{
  font-size:clamp(28px,4.8vw,46px);line-height:1.03;color:#fff;letter-spacing:-.035em;
  text-shadow:0 2px 30px rgba(0,0,0,.6);
}
.hero-live .sub{font-family:var(--mono);font-size:11px;color:#C9C9D6}
.hero-live .lead{font-size:14px;line-height:1.5;color:var(--dim);max-width:520px;margin:0}
.hero-live .row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hero-live .stat{
  display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 15px;border-radius:14px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
  font-family:var(--mono);font-size:12px;font-weight:700;color:var(--text);
}
.hero-live .stat .dot{width:10px;height:10px;border-radius:50%;background:var(--acc);
  box-shadow:0 0 10px rgba(var(--acc-rgb),.9)}

/* ---- continue rail ---- */
.rail{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail-card{flex:0 0 auto;width:124px;cursor:pointer}
.rail-card .tile{position:relative;height:150px;border-radius:18px;overflow:hidden;
  box-shadow:var(--sh-1);transition:transform .24s var(--ease),box-shadow .24s}
.rail-card .tile .art{transition:transform .5s var(--ease)}
.rail-card:hover .tile{transform:translateY(-3px);
  box-shadow:0 16px 34px -18px rgba(0,0,0,.95),0 12px 30px -20px var(--a,var(--acc))}
.rail-card:hover .tile .art{transform:scale(1.07)}
/* One line each, so the names and metas stay on a shared baseline across the rail */
.rail-card .name{padding-top:9px;font-size:13px;font-weight:600;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-card .meta{padding-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim-2)}
.rail-card:hover .tile{outline:1px solid var(--acc-edge);outline-offset:-1px}

/* ---- game card grid ---- */
.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.game-card{
  position:relative;border-radius:18px;overflow:hidden;cursor:pointer;
  background:var(--card);border:1px solid var(--line);
  box-shadow:var(--sh-1);
  transition:border-color .2s,transform .24s var(--ease),box-shadow .24s;
}
/* The lift borrows the game's own accent for its glow (--a comes from the
   catalog via hub.js), so a shooter throws blue light and a football game
   throws green — the grid stops looking like one repeated card. */
.game-card:hover{
  border-color:var(--acc-edge);transform:translateY(-4px);
  box-shadow:0 22px 44px -26px rgba(0,0,0,.95),0 16px 40px -26px var(--a,var(--acc));
}
.game-card:active{transform:translateY(-1px)}
.game-card .thumb{position:relative;height:118px;overflow:hidden}
.game-card .thumb .art{transition:transform .5s var(--ease)}
.game-card:hover .thumb .art{transform:scale(1.07)}
/* One light sweep across the art on hover — sits under the badges (z 3) */
.game-card .thumb::after{
  content:"";position:absolute;top:0;bottom:0;left:0;width:38%;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:translateX(-140%) skewX(-14deg);
}
.game-card:hover .thumb::after{animation:sheen .85s var(--ease)}
.game-card .fav{
  position:absolute;top:8px;right:8px;z-index:3;width:28px;height:28px;border-radius:9px;
  background:rgba(6,6,10,.55);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  font-size:13px;line-height:1;color:rgba(255,255,255,.7);
  transition:color .16s,transform .12s;
}
.game-card .fav:hover{transform:scale(1.08);color:#fff}
.game-card .fav.on{color:var(--pink);border-color:rgba(255,45,122,.5)}
.tag-flag{
  position:absolute;top:8px;left:8px;z-index:3;padding:3px 6px;border-radius:5px;pointer-events:none;
  font-family:var(--mono);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
}
.tag-flag.new{background:var(--acc);color:var(--bg);box-shadow:0 4px 14px -4px rgba(var(--acc-rgb),.8)}
/* archive games are still playable, so the flag reads as a shelf label,
   not a warning: muted glass rather than the lime "new" badge */
.tag-flag.arc{background:rgba(10,10,15,.72);color:var(--dim);
  border:1px solid var(--line-2);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.game-card .info{padding:10px 11px 12px;display:flex;flex-direction:column;gap:4px}
.game-card .title{font-size:13px;font-weight:600;color:var(--text);line-height:1.2;
  transition:color .16s}
.game-card:hover .title{color:var(--acc-hi)}
.game-card .meta{font-family:var(--mono);font-size:10px;letter-spacing:.04em;color:var(--dim-2)}
.game-card .best{font-family:var(--mono);font-size:10px;letter-spacing:.04em;color:var(--acc)}

/* ---- play counts ---- */
.plays{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);color:var(--dim-2);font-size:10px;letter-spacing:.04em}
.plays.empty{min-height:13px}
.plays .ic{color:var(--acc);font-size:8px}
.sk{
  display:inline-block;width:44px;height:8px;border-radius:4px;vertical-align:middle;
  background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.16),rgba(255,255,255,.06));
  background-size:200% 100%;animation:shimmer 1.2s linear infinite;
}

/* ---- streak / progress card ---- */
.progress-card{
  display:flex;align-items:center;gap:14px;padding:15px;margin-bottom:22px;
  border-radius:20px;background:var(--card);border:1px solid var(--line);
  cursor:pointer;transition:border-color .18s;
}
.progress-card:hover{border-color:var(--acc-edge);box-shadow:0 16px 34px -26px rgba(var(--acc-rgb),.6)}
.progress-card .ring{
  position:relative;width:52px;height:52px;flex:0 0 auto;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:conic-gradient(var(--acc) 0turn var(--p,.4turn),rgba(255,255,255,.08) var(--p,.4turn) 1turn);
}
.progress-card .ring b{
  width:40px;height:40px;border-radius:12px;background:var(--card);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:12px;font-weight:700;color:var(--acc);
}
.progress-card .txt{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.progress-card .txt .t{font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--text)}
.progress-card .txt .d{font-size:12px;line-height:1.35;color:var(--dim)}

/* ---- community banner ---- */
.banner{
  position:relative;overflow:hidden;padding:18px;border-radius:20px;margin-bottom:22px;
  background:linear-gradient(120deg,#1E1640,#0F1F2E 55%,#132A24);
  border:1px solid rgba(var(--acc-rgb),.18);
  box-shadow:var(--sh-2);
  display:flex;flex-direction:column;gap:10px;
}
/* A lime bloom in the corner so the invite panel carries the accent too */
.banner::before{
  content:"";position:absolute;top:-50%;right:-10%;width:60%;height:200%;pointer-events:none;
  background:radial-gradient(50% 40% at 50% 50%,rgba(var(--acc-rgb),.16),transparent 70%);
}
.banner > *{position:relative}
.banner h3{font-size:18px;line-height:1.2;color:#fff;max-width:340px}
.banner .row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:4px}
.banner .white-btn{
  display:inline-flex;align-items:center;height:38px;padding:0 18px;border:0;border-radius:12px;
  background:var(--text);color:var(--bg);font-size:13px;font-weight:700;cursor:pointer;
  transition:background .16s;
}
.banner .white-btn:hover{background:#fff}
.banner .note{font-family:var(--mono);font-size:11px;color:var(--dim)}

/* ---- why players stay ---- */
.why-grid{display:grid;grid-template-columns:1fr;gap:10px}
.why{
  position:relative;overflow:hidden;padding:15px;border-radius:18px;
  background:var(--card);border:1px solid var(--line);
  transition:border-color .2s,transform .2s var(--ease);
}
.why::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--acc),transparent);
  opacity:0;transition:opacity .2s;
}
.why:hover{border-color:var(--line-2);transform:translateY(-2px)}
.why:hover::before{opacity:.7}
.why .n{font-family:var(--mono);font-size:10px;letter-spacing:.14em;color:var(--acc);margin-bottom:8px}
.why h3{font-size:15px;margin-bottom:6px}
.why p{margin:0;font-size:13px;line-height:1.5;color:var(--dim)}

/* ---- newsletter ---- */
.news{padding:18px;border-radius:20px;background:var(--card);border:1px solid var(--line);margin-bottom:8px}
.news h3{font-size:17px;margin-bottom:6px}
.news p{margin:0 0 14px;font-size:13px;line-height:1.5;color:var(--dim)}
.news .nl-form{display:flex;gap:10px;flex-wrap:wrap}
.news input{
  flex:1 1 200px;min-width:0;height:44px;padding:0 14px;border-radius:14px;
  background:var(--surface);border:1px solid var(--line-2);color:var(--text);
  font-size:14px;outline:none;
}
.news input:focus{border-color:var(--acc-edge);box-shadow:0 0 0 4px rgba(var(--acc-rgb),.07)}
.news .done{
  display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:14px;
  background:var(--acc-soft);border:1px solid var(--acc-edge);
  font-size:13px;font-weight:700;color:var(--acc);
}

/* ============================================================
   GAMES (library)
   ============================================================ */
.page{padding:22px 0 30px}
.page h1{
  font-size:clamp(28px,4.8vw,42px);letter-spacing:-.035em;margin-bottom:14px;
  background:linear-gradient(180deg,#FFFFFF 0%,#A9A9BC 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.chips-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:18px;scrollbar-width:none}
.chips-row::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;display:inline-flex;align-items:center;height:34px;padding:0 14px;
  border-radius:11px;cursor:pointer;white-space:nowrap;
  background:var(--card-2);border:1px solid var(--line);color:var(--dim);
  font-size:13px;font-weight:600;
  transition:color .16s,border-color .16s;
}
.chip:hover{color:var(--text)}
.chip.active{background:var(--acc);border-color:var(--acc);color:var(--bg);
  box-shadow:0 8px 20px -10px rgba(var(--acc-rgb),.8)}
.result-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px}
.empty{
  padding:34px 20px;border-radius:20px;border:1px dashed var(--line-2);
  display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
}
.empty h3{font-size:15px}
.empty p{margin:0;font-size:12px;color:var(--dim)}
.empty .cta{margin-top:6px;height:34px;padding:0 16px;border-radius:11px;font-size:12px}

/* ============================================================
   COMPETE
   ============================================================ */
.podium{
  position:relative;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;gap:10px;
  padding:20px 16px 18px;margin-bottom:20px;border-radius:22px;
  background:linear-gradient(160deg,#17172C,#101018);border:1px solid var(--line);
  box-shadow:var(--sh-2);
}
/* A soft spotlight above the winner's column — kept faint so the lime
   podium bar underneath stays lime and doesn't go olive. */
.podium::before{
  content:"";position:absolute;left:50%;top:-55%;width:58%;height:110%;
  transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 50% at 50% 50%,rgba(var(--acc-rgb),.10),transparent 68%);
}
.podium .slot{position:relative}
.podium .slot{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1 1 0;max-width:112px;min-width:0}
.podium .crown{font-size:15px;line-height:1}
.podium .av{
  width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:700;color:#fff;background:linear-gradient(150deg,#A8B2D1,#5A6285);
}
.podium .slot.first .av{width:54px;height:54px;border-radius:17px;font-size:18px;color:var(--bg);
  background:linear-gradient(150deg,var(--acc),var(--acc-2));
  box-shadow:0 10px 26px -10px rgba(var(--acc-rgb),.9)}
.podium .slot.third .av{background:linear-gradient(150deg,#FF7A1B,#B3001B)}
.podium .who{font-size:12px;font-weight:600;color:var(--text);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.podium .bar{
  width:100%;border-radius:12px 12px 0 0;border:1px solid var(--line);border-bottom:0;
  background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:18px;font-weight:700;color:var(--dim);
}
.podium .slot.first .bar{height:82px;font-size:22px;color:var(--acc);
  background:rgba(var(--acc-rgb),.12);border-color:rgba(var(--acc-rgb),.28)}
.podium .slot.second .bar{height:58px}
.podium .slot.third .bar{height:44px}
.podium .score{font-family:var(--mono);font-size:10px;color:var(--dim-2)}

.lb-rows{display:flex;flex-direction:column;gap:8px;padding-bottom:26px}
.lb-row{
  display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:15px;
  background:var(--card);border:1px solid var(--line);
}
.lb-row{transition:border-color .16s,transform .16s var(--ease)}
.lb-row:hover{border-color:var(--line-2);transform:translateX(2px)}
.lb-row.me{background:rgba(var(--acc-rgb),.07);border-color:rgba(var(--acc-rgb),.3);
  box-shadow:0 10px 26px -20px rgba(var(--acc-rgb),.9)}
.lb-row .rank{width:22px;font-family:var(--mono);font-size:12px;color:var(--dim-2)}
.lb-row.me .rank{color:var(--acc)}
.lb-row .av{
  width:32px;height:32px;flex:0 0 auto;border-radius:11px;background:#22222E;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#C9C9D6;
}
.lb-row.me .av{background:linear-gradient(150deg,var(--acc),var(--acc-2));color:var(--bg)}
.lb-row .who{flex:1;min-width:0;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-row.me .who{font-weight:700;color:#fff}
.lb-row .score{font-family:var(--mono);font-size:12px;color:var(--dim)}
.lb-row.me .score{font-weight:700;color:var(--acc)}

.open-list{display:flex;flex-direction:column;gap:12px}
.open-row{
  display:flex;align-items:center;gap:13px;padding:13px;border-radius:18px;cursor:pointer;
  background:var(--card);border:1px solid var(--line);
  transition:border-color .16s;
}
.open-row:hover{border-color:var(--acc-edge);transform:translateY(-2px);
  box-shadow:0 16px 32px -24px rgba(0,0,0,.95)}
.open-row{transition:border-color .16s,transform .18s var(--ease),box-shadow .18s}
.open-row .tile{width:50px;height:50px;flex:0 0 auto;border-radius:15px;overflow:hidden}
.open-row .txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.open-row .t{font-size:14px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.open-row .d{font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim-2)}
.open-row .go{
  flex:0 0 auto;display:inline-flex;align-items:center;height:32px;padding:0 14px;border:0;border-radius:10px;
  background:var(--acc);color:var(--bg);font-size:12px;font-weight:700;cursor:pointer;
}

/* ============================================================
   YOU (profile)
   ============================================================ */
.you-top{display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px 0 22px}
.you-top .av{
  width:78px;height:78px;border-radius:26px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,var(--acc),var(--acc-2));
  box-shadow:0 18px 40px -18px rgba(var(--acc-rgb),.75);
}
.you-top .av img{width:48px;height:48px;object-fit:contain;filter:brightness(0) saturate(100%)}
.you-top h1{font-size:20px;letter-spacing:-.02em}
.you-top .handle{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--dim-2)}
.xp{width:100%;max-width:280px;display:flex;flex-direction:column;gap:6px}
.xp .track{height:6px;border-radius:3px;background:rgba(255,255,255,.08);overflow:hidden}
.xp .fill{height:100%;border-radius:3px;
  background:linear-gradient(90deg,var(--acc-2),var(--acc));
  box-shadow:0 0 12px rgba(var(--acc-rgb),.6)}
.xp .ends{display:flex;justify-content:space-between;font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim-2)}

.stat-tri{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-bottom:22px}
.stat-tri .cell{
  padding:14px 12px;border-radius:16px;background:var(--card);border:1px solid var(--line);
  display:flex;flex-direction:column;gap:5px;
}
.stat-tri .cell{transition:border-color .18s,transform .18s var(--ease)}
.stat-tri .cell:hover{border-color:var(--line-2);transform:translateY(-2px)}
.stat-tri .v{
  font-family:var(--mono);font-size:20px;font-weight:700;color:var(--text);
  background:linear-gradient(180deg,#FFFFFF,#B4B4C4);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.stat-tri .v.lime{background:linear-gradient(180deg,#A5F3FC,var(--acc));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.stat-tri .k{font-family:var(--mono);font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim-2)}

.ach-rail{display:flex;gap:10px;overflow-x:auto;padding-bottom:22px;scrollbar-width:none}
.ach-rail::-webkit-scrollbar{display:none}
.ach{
  flex:0 0 auto;width:104px;padding:14px 10px;border-radius:16px;text-align:center;
  background:var(--card);border:1px solid var(--line);
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.ach .badge{
  width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--dim);
}
.ach .label{font-size:11px;font-weight:600;line-height:1.25;color:var(--dim)}
.ach .desc{font-family:var(--mono);font-size:9px;line-height:1.3;color:var(--dim-3)}
.ach.done{border-color:var(--acc-edge);box-shadow:0 12px 28px -24px rgba(var(--acc-rgb),.9)}
.ach.done .badge{background:rgba(var(--acc-rgb),.14);color:var(--acc)}
.ach.done .label{color:var(--text)}

.rowlist{display:flex;flex-direction:column;gap:2px;padding-bottom:10px}
.rowlist .r{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 4px;border-bottom:1px solid rgba(255,255,255,.06);
  background:none;border-left:0;border-right:0;border-top:0;width:100%;
  text-align:left;cursor:pointer;font-family:inherit;font-size:14px;color:var(--text);
}
.rowlist .r:last-child{border-bottom:0}
.rowlist .r:hover{color:var(--acc)}
.rowlist .r .val{font-family:var(--mono);font-size:11px;color:var(--dim-2)}
.rowlist .r .val.on{color:var(--acc)}
.rowlist .r.danger:hover{color:var(--pink)}

.best-list{display:flex;flex-direction:column;gap:8px;padding-bottom:22px}
.best-item{
  display:flex;align-items:center;gap:12px;padding:10px;border-radius:15px;cursor:pointer;
  background:var(--card);border:1px solid var(--line);
  transition:border-color .16s;
}
.best-item{transition:border-color .16s,transform .18s var(--ease)}
.best-item:hover{border-color:var(--acc-edge);transform:translateX(2px)}
.best-item .tile{width:40px;height:40px;flex:0 0 auto;border-radius:13px;overflow:hidden}
.best-item .t{flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.best-item .v{font-family:var(--mono);font-size:13px;font-weight:700;color:var(--acc)}

/* ============================================================
   GAME DETAIL
   ============================================================ */
.detail{padding-bottom:96px}
.detail-hero{position:relative;height:300px;margin:0 -20px 0}
/* One cover per game, so the banner is the same art blurred into an ambient
   backdrop and the crisp copy becomes the icon in the caption. */
.detail-hero .shot{position:absolute;left:0;right:0;top:0;height:210px;overflow:hidden}
.detail-hero .shot .art{transform:scale(1.15)}
.detail-hero .shot .art img{filter:blur(10px)}
/* Fades to the page background, so the banner has no visible box edge. */
.detail-hero .scrim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,var(--bg) 0%,var(--bg) 30%,rgba(6,6,10,.35) 60%,rgba(6,6,10,.5) 100%);
}
.icon-btn{
  position:absolute;top:16px;z-index:3;width:38px;height:38px;border-radius:13px;cursor:pointer;
  background:rgba(10,10,15,.6);backdrop-filter:blur(10px);border:1px solid var(--line-2);
  display:flex;align-items:center;justify-content:center;color:var(--text);font-size:15px;
  transition:border-color .16s,color .16s;
}
.icon-btn.left{left:20px}
.icon-btn.right{right:20px}
.icon-btn:hover{border-color:rgba(255,255,255,.3)}
.icon-btn.on{color:var(--pink);border-color:rgba(255,45,122,.5)}
.detail-hero .cap{position:absolute;left:20px;right:20px;bottom:14px;display:flex;align-items:flex-end;gap:14px}
.detail-hero .tile{
  width:76px;height:76px;flex:0 0 auto;border-radius:22px;overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 44px -18px rgba(0,0,0,.95);
}
.detail-hero .txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;padding-bottom:4px}
.detail-hero h1{font-size:clamp(24px,4.2vw,38px);line-height:1.03;color:#fff;letter-spacing:-.035em;
  text-shadow:0 2px 26px rgba(0,0,0,.7)}
.detail-hero .meta{font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:#C9C9D6}

.detail-body{padding-top:18px}
.detail-body .blurb{font-size:14px;line-height:1.55;color:#A8A8B8;margin:0 0 22px}
.tag-row{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:24px}
.tag{
  display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:10px;
  background:var(--card-2);border:1px solid var(--line);
  font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#A8A8B8;
}
.panel{padding:16px;border-radius:18px;background:var(--card);border:1px solid var(--line);margin-bottom:22px}
.panel h4{font-size:14px;margin-bottom:12px}
.panel ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.panel li{display:flex;gap:9px;font-size:13px;line-height:1.45;color:var(--dim)}
.panel li::before{content:"▹";color:var(--acc);flex:0 0 auto}
.score-panel .row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.score-panel .best-val{
  font-family:var(--mono);font-size:22px;font-weight:700;
  background:linear-gradient(180deg,#A5F3FC,var(--acc));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.score-panel .inputs{display:flex;gap:10px;flex-wrap:wrap}
.score-panel input{
  flex:1 1 150px;min-width:0;height:44px;padding:0 14px;border-radius:13px;
  background:var(--surface);border:1px solid var(--line-2);color:var(--text);
  font-family:var(--mono);font-size:14px;outline:none;
}
.score-panel input:focus{border-color:var(--acc-edge)}
.score-panel .save{
  height:44px;padding:0 20px;border:0;border-radius:13px;cursor:pointer;
  background:var(--acc);color:var(--bg);font-size:13px;font-weight:700;
}
.score-panel .hint{margin-top:10px;font-size:11px;color:var(--dim-3)}
.score-panel .hint button{color:var(--acc);font-weight:700}

.shots{display:grid;grid-template-columns:1fr;gap:12px;padding-bottom:24px}
.shots .shot{
  position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;cursor:pointer;
  border:1px solid var(--line);
  transition:border-color .18s,transform .22s var(--ease),box-shadow .22s;
}
.shots .shot img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.shots .shot:hover{border-color:var(--acc-edge);transform:translateY(-3px);
  box-shadow:0 20px 40px -26px rgba(0,0,0,.95)}
.shots .shot:hover img{transform:scale(1.05)}

/* sticky play bar on the detail screen */
.playbar{
  position:fixed;left:0;right:0;z-index:55;
  bottom:calc(var(--tab-h) + var(--safe-b));
  padding:14px 20px;
  display:flex;align-items:center;gap:12px;
  background:linear-gradient(to top,var(--bg) 62%,rgba(6,6,10,0));
}
.playbar .inner{max-width:var(--maxw);margin:0 auto;width:100%;display:flex;align-items:center;gap:12px}
.playbar .cta{flex:1}
.playbar .icon-btn{position:static;width:52px;height:52px;border-radius:17px;flex:0 0 auto;background:var(--card-2);border-color:var(--line-2)}

/* lightbox */
.lightbox{
  position:fixed;inset:0;z-index:210;padding:20px;
  background:rgba(6,6,10,.9);backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
}
.lightbox .close{
  position:absolute;top:20px;right:20px;width:40px;height:40px;border-radius:13px;cursor:pointer;
  background:rgba(255,255,255,.1);border:1px solid var(--line-2);color:var(--text);font-size:16px;
}
.lightbox .frame{width:100%;max-width:960px;border-radius:20px;overflow:hidden;border:1px solid var(--line-2)}
.lightbox .frame img{width:100%;display:block}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  position:relative;border-top:1px solid var(--line);margin-top:14px;padding:26px 20px 30px;
  background:linear-gradient(180deg,rgba(255,255,255,.015),transparent);
}
.site-footer::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(var(--acc-rgb),.28),transparent);
}
.footer-top{max-width:var(--maxw);margin:0 auto 20px;display:flex;justify-content:space-between;gap:26px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.footer-brand .mark{
  width:26px;height:26px;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,var(--acc),var(--acc-2));
  box-shadow:0 6px 16px -8px rgba(var(--acc-rgb),.8);
}
.footer-brand .mark img{width:18px;height:18px;object-fit:contain;filter:brightness(0) saturate(100%)}
.footer-brand .name{font-size:15px;font-weight:700;letter-spacing:-.04em}
.footer-top .blurb{margin:0;max-width:260px;font-size:13px;color:var(--dim-2)}
.footer-cols{display:flex;gap:44px;flex-wrap:wrap}
.footer-col{display:flex;flex-direction:column;gap:9px}
.footer-col .h{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim-3);margin-bottom:2px}
.footer-col a,.footer-col button.flink{
  background:none;border:0;padding:0;text-align:left;cursor:pointer;
  color:var(--dim);font-family:var(--font);font-size:13px;
}
.footer-col a:hover,.footer-col button.flink:hover{color:var(--text)}
.footer-bottom{
  max-width:var(--maxw);margin:0 auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.06);
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim-3);
}
.footer-bottom .heart{color:var(--acc)}

/* ============================================================
   RESPONSIVE — widen the phone layout from 620px up
   ============================================================ */
@media (min-width:620px){
  .card-grid{grid-template-columns:repeat(3,1fr);gap:16px}
  .game-card .thumb{height:140px}
  .rail-card{width:150px}
  .rail-card .tile{height:178px}
  .why-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .shots{grid-template-columns:1fr 1fr}
  .hero-live .body{min-height:360px;padding:24px}
  .banner{flex-direction:row;align-items:center;justify-content:space-between;padding:24px}
  .banner .row{padding-top:0}
}

@media (min-width:900px){
  :root{--tab-h:0px}
  body{padding-bottom:0}
  .tabbar{display:none}
  .shell{padding:0 24px}
  .card-grid{grid-template-columns:repeat(4,1fr);gap:18px}
  .game-card .thumb{height:150px}
  .game-card .info{padding:13px 14px 15px}
  .game-card .title{font-size:15px}
  .rail-card{width:180px}
  .rail-card .tile{height:210px}
  /* The top bar already carries the brand, streak and sound toggle here. */
  .home-top{display:none}
  .searchbar{max-width:520px;margin-top:26px}
  .hero-live .body{min-height:390px;padding:30px}
  .hero-live .shot{height:70%}
  .hero-live .shot .art.contain img{height:44%}
  /* Title bottom-left, art to the right — a centred icon leaves the wide
     banner looking lopsided. */
  .hero-live .shot .art.contain{justify-content:flex-end;padding-right:9%}
  .hero-live .body{max-width:62%}
  .detail-hero{height:380px;margin:0 -24px}
  .detail-hero .shot{height:270px}
  .detail-hero .cap{left:24px;right:24px}
  .detail-hero .tile{width:104px;height:104px;border-radius:28px}
  /* Full-bleed bar, but the button itself stays a button — not a 1100px slab. */
  .playbar{padding:16px 24px 22px}
  .playbar .inner{justify-content:center}
  .playbar .cta{flex:0 0 auto;min-width:280px}
  .stat-tri{max-width:520px}
  .shots{grid-template-columns:repeat(3,1fr)}
  /* Compete reads as a column, not a stretched-out table */
  .podium,.lb-rows,.open-list,.best-list,.rowlist{max-width:720px}
  .podium{padding:26px 20px 22px}
  .podium .slot{max-width:150px}
  .ach{width:124px}
  section.block{padding-bottom:44px}
  .progress-card,.banner,.news{max-width:100%}
}

/* Phone: the bottom tab bar is the navigation, and every screen carries its
   own title — so the desktop top bar is dropped entirely (as in the design). */
@media (max-width:899px){
  .site-header{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}
  /* Nothing should move on hover either — the colour change carries it */
  .game-card:hover,.hero-live:hover,.rail-card:hover .tile,.why:hover,
  .open-row:hover,.best-item:hover,.lb-row:hover,.stat-tri .cell:hover,
  .shots .shot:hover,.cta:hover,.ghost-btn:hover{transform:none!important}
  .game-card:hover .thumb .art,.hero-live:hover .shot .art,
  .rail-card:hover .tile .art,.shots .shot:hover img{transform:none!important}
}
