/* © 2026 pxd Games. All rights reserved. */
@font-face { font-family: "Tilt Neon"; src: url(/fonts/tilt-neon.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url(/fonts/press-start-2p.woff2) format("woff2"); font-display: swap; }
@view-transition { navigation: auto; }

:root {
  --bg: #07060f; --bg2: #0c0a1b; --ink: #ecebff; --dim: #a19ec8; --mute: #6f6c96;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --panel: rgba(22,18,44,.62); --panel2: rgba(30,24,60,.7);
  --cyan: #22e4ff; --pink: #ff2bd6; --purple: #a855f7; --lime: #b6ff3b; --amber: #ffb02e; --red: #ff3d6e;
  --sun: linear-gradient(180deg, #ffe14a 0%, #ff9a2b 45%, #ff2bd6 100%);
  --brandgrad: linear-gradient(90deg, #22e4ff, #a855f7 55%, #ff2bd6);
  --display: "Tilt Neon", ui-sans-serif, system-ui, sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --r: 18px; --gut: clamp(16px, 4vw, 48px); --max: 1360px;
  --ac: #22e4ff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
body::before { /* film grain + vignette over everything, very faint */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255,43,214,.45); }

.chrome { /* the logo's chrome lettering */
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 0%, #e8fbff 38%, #8feaff 49%, #ff9df0 53%, #ffe9fb 78%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(80,20,120,.9)) drop-shadow(0 0 24px rgba(168,85,247,.45));
}
.kicker, .eyebrow { font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }

/* ---------- buttons, chips ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform .2s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s, background .25s; }
.btn.sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-hot { color: #12001c; background: var(--sun); box-shadow: 0 10px 40px -8px rgba(255,43,214,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-hot:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 50px -6px rgba(255,43,214,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.chip-play { color: #071a00; background: var(--lime); }
.chip-new { position: absolute; top: 12px; left: 12px; color: #fff; background: var(--red); box-shadow: 0 0 20px rgba(255,61,110,.7); font-family: var(--pixel); font-size: 8px; letter-spacing: .1em; height: 24px; z-index: 3; }

/* ---------- top bar ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--gut);
  background: linear-gradient(180deg, rgba(7,6,15,.92), rgba(7,6,15,.7)); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 18px rgba(168,85,247,.6); transition: transform .5s cubic-bezier(.2,.9,.3,1.4); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.wm { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.wm b { font-family: var(--display); font-weight: 400; font-size: 28px; background: linear-gradient(180deg,#fff,#9eefff 55%,#ff9df0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm i { font-family: var(--pixel); font-style: normal; font-size: 10px; letter-spacing: .25em; color: var(--pink); text-shadow: 0 0 10px rgba(255,43,214,.7); }
.links { display: flex; gap: 6px; }
.links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover, .links a[aria-current] { color: var(--ink); background: rgba(255,255,255,.07); }
.acct { margin-left: auto; display: flex; align-items: center; gap: 10px; min-height: 40px; }
.acct-in { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 6px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 700; font-size: 14px; transition: background .2s; }
.acct-in:hover { background: rgba(255,255,255,.13); }
.acct-in.guest { padding-left: 16px; background: linear-gradient(90deg, rgba(34,228,255,.16), rgba(255,43,214,.16)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 24px -6px rgba(255,43,214,.6); }
.face { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none; background: var(--brandgrad); color: #fff; font-weight: 800; font-size: 14px; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.uname { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmark { width: 18px; height: 18px; flex: none; }
.menu { position: absolute; top: 60px; right: var(--gut); min-width: 260px; padding: 10px; border-radius: 16px; background: rgba(18,14,36,.97);
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.8), inset 0 0 0 1px var(--line2); backdrop-filter: blur(20px); z-index: 60; animation: pop .18s ease-out; }
.menu p { margin: 6px 10px 10px; color: var(--dim); font-size: 13px; }
.menu p b { color: var(--ink); }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.menu a:hover, .menu button:hover { background: rgba(255,255,255,.08); }
.menu .danger { color: #ff7d9c; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- dialogs, toast ---------- */
dialog.sheet { width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: #110d24;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), inset 0 0 0 1px var(--line2); overflow: hidden; }
dialog.sheet[open] { animation: rise .28s cubic-bezier(.2,.9,.3,1.2); }
dialog.sheet::backdrop { background: rgba(4,2,12,.72); backdrop-filter: blur(6px); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.sheet-hero { position: relative; height: 120px; background: radial-gradient(120% 140% at 50% 120%, #ff2bd6 0%, #6d28d9 35%, #110d24 70%); overflow: hidden; }
.sheet-hero::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; transform: perspective(200px) rotateX(60deg);
  background-image: linear-gradient(rgba(255,43,214,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,43,214,.7) 1px, transparent 1px); background-size: 28px 28px; }
.sheet-hero img { position: absolute; left: 50%; top: 22px; width: 92px; height: 92px; transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,.6)); }
.sheet-body { padding: 26px 28px 28px; }
.sheet h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.sheet p { margin: 0 0 14px; color: var(--dim); font-size: 15px; }
.sheet ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sheet li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sheet li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23071a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.gbtn { min-height: 44px; display: flex; justify-content: center; }
.sheet .fine { margin: 16px 0 0; font-size: 12px; color: var(--mute); text-align: center; }
.sheet .x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.field { display: grid; gap: 8px; margin: 6px 0 12px; }
.field input { height: 50px; padding: 0 16px; border-radius: 14px; border: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0 4px rgba(34,228,255,.15); }
.hint { font-size: 13px; color: var(--mute); min-height: 20px; margin: 0 0 14px; }
.hint.bad { color: #ff8fab; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.row-btns .btn { flex: 1; justify-content: center; }
.btn-danger { color: #fff; background: linear-gradient(180deg, #ff4d7a, #d6174d); box-shadow: 0 10px 30px -8px rgba(255,61,110,.7); }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 200; transform: translateX(-50%); max-width: calc(100vw - 32px);
  padding: 14px 22px; border-radius: 999px; background: rgba(20,16,40,.96); box-shadow: 0 20px 60px -10px rgba(0,0,0,.8), inset 0 0 0 1px var(--line2);
  font-weight: 600; font-size: 15px; animation: toast .3s cubic-bezier(.2,.9,.3,1.3); }
.toast.good { box-shadow: 0 20px 60px -10px rgba(0,0,0,.8), inset 0 0 0 1px rgba(182,255,59,.5), 0 0 30px -8px rgba(182,255,59,.6); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 20px); } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 80px) 0 0; isolation: isolate; }
#bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 70% 40%, transparent 0%, rgba(7,6,15,.35) 60%, var(--bg) 100%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { margin: 6px 0 18px; font-size: clamp(46px, 6.4vw, 96px); line-height: .98; }
.hero h1 span { display: inline-block; white-space: nowrap; background: var(--sun); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 30px rgba(255,43,214,.5)); }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--dim); max-width: 520px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(18px, 3vw, 40px); margin: 34px 0 0; }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats dt { order: 2; font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.hero-stats dd { margin: 0; font-family: var(--pixel); font-size: clamp(16px, 2vw, 22px); color: var(--ink); text-shadow: 0 0 18px rgba(34,228,255,.5); }

.hero-stage { perspective: 1600px; min-width: 0; }
.screen { position: relative; border-radius: 22px; padding: 10px; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 40%, rgba(255,255,255,.08));
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12), 0 0 90px -20px var(--ac); }
.screen:hover { transform: rotateY(-3deg) rotateX(2deg); }
.screen::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; z-index: -1; background: conic-gradient(from var(--spin, 0deg), var(--ac), transparent 30%, var(--pink), transparent 70%, var(--ac));
  filter: blur(18px); opacity: .55; animation: spin 8s linear infinite; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.screen-glass { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #000; }
.poster, .screen-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster { transition: opacity .6s, transform 6s linear; }
.screen-live { opacity: 0; transition: opacity .7s; pointer-events: none; }
.screen-live.on { opacity: 1; }
.screen-live > div { position: absolute; inset: 0; }
.scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 50%, rgba(0,0,0,.12) 50%) 0 0/100% 4px, radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(0,0,0,.45));
  mix-blend-mode: multiply; }
.screen-glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 28%, transparent 70%, rgba(255,255,255,.05)); }
.screen.swap .poster { opacity: 0; }
.screen-cap { position: absolute; left: 34px; bottom: -26px; right: 34px; display: grid; gap: 2px; padding: 16px 110px 16px 20px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: rgba(14,10,30,.86); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8), inset 0 0 0 1px var(--line2); transform: translateZ(40px); transition: transform .3s; }
.screen-cap:hover { transform: translateZ(40px) translateY(-3px); }
.screen-cap .genre { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.screen-cap b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.screen-cap .tag { font-size: 14px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.screen-cap::after { content: "PLAY ▸"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-size: 10px; color: #12001c; background: var(--sun); padding: 10px 12px; border-radius: 999px; }
.tuner { display: flex; gap: 10px; justify-content: center; margin: 52px 0 0; padding: 0 4px; overflow-x: auto; scrollbar-width: none; }
.tuner::-webkit-scrollbar { display: none; }
.tuner button { position: relative; flex: none; width: 78px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; opacity: .5;
  box-shadow: inset 0 0 0 1px var(--line2); transition: opacity .3s, transform .3s; }
.tuner button img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tuner button:hover { opacity: .85; transform: translateY(-2px); }
.tuner button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ac), 0 0 20px -2px var(--ac); }
.tuner i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ac); }
.tuner button[aria-selected="true"] i { animation: fill var(--dur, 9s) linear forwards; }
@keyframes fill { to { width: 100%; } }

.reel { margin: clamp(40px, 6vw, 80px) 0 0; display: grid; gap: 14px; transform: rotate(-3deg) scale(1.08); opacity: .5; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-row { display: flex; gap: 14px; width: max-content; animation: reel 90s linear infinite; }
.reel-row.rev { animation-direction: reverse; animation-duration: 110s; }
.reel img { width: 220px; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; filter: saturate(1.2); }
@keyframes reel { to { transform: translateX(-50%); } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; display: flex; align-items: center; gap: 0; margin: -30px auto 0; max-width: var(--max); width: calc(100% - 2 * var(--gut)); height: 54px;
  border-radius: 999px; background: rgba(16,12,34,.88); backdrop-filter: blur(16px); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px var(--line2); overflow: hidden; }
.ticker-tag { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 18px 0 22px; font-family: var(--pixel); font-size: 10px; color: #fff; background: linear-gradient(90deg, #ff3d6e, #ff2bd6); }
.ticker-tag i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.ticker-win { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: flex; width: max-content; gap: 40px; padding-left: 24px; white-space: nowrap; }
.ticker-run.go { animation: reel var(--t, 60s) linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.tick { font-size: 14px; color: var(--dim); }
.tick b { color: var(--ink); }
.tick a { color: var(--ac, var(--cyan)); text-decoration: none; font-weight: 700; }
.tick .sc { font-family: var(--pixel); font-size: 11px; color: var(--amber); }

/* ---------- bands, cards ---------- */
.band { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gut) 0; }
.band-head { margin-bottom: 30px; max-width: 720px; }
.band-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band h2, .band h1 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.band-head p { color: var(--dim); margin: 0; font-size: 17px; }
.tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-weight: 700; font-size: 14px; transition: all .2s; }
.pill:hover { color: var(--ink); background: rgba(255,255,255,.1); }
.pill.on { color: #12001c; background: var(--ink); box-shadow: 0 0 24px -4px rgba(255,255,255,.5); }
.search input { width: 220px; height: 38px; padding: 0 16px 0 38px; border-radius: 999px; border: 0; color: var(--ink); font-size: 14px;
  background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%23a19ec8' stroke-width='2.4'/%3E%3Cpath d='M16.5 16.5L21 21' stroke='%23a19ec8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 13px 50%/16px no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--cyan); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.epic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 18px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip .card { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s; will-change: transform; }
.card:hover { --ty: -6px; background: var(--panel2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 60%, transparent), 0 30px 60px -20px rgba(0,0,0,.8), 0 0 60px -18px var(--ac); }
.card-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card .live { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.card .live.on { opacity: 1; }
.card .live > div { position: absolute; inset: 0; }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.28), transparent 55%); mix-blend-mode: overlay; }
.card:hover .glare { opacity: 1; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, rgba(7,6,15,.65)); pointer-events: none; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.genre { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.card h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.card .tag { margin: 0 0 12px; font-size: 14px; color: var(--dim); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin: auto 0 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-height: 22px; font-size: 12px; color: var(--mute); }
.champ:not(:empty)::before { content: "🏆 "; }
.mine:not(:empty) { color: var(--lime); font-weight: 700; }
.card.big h3 { font-size: clamp(26px, 2.4vw, 34px); }
.card.big .card-media { aspect-ratio: 16 / 11; }
.card.big .tag { -webkit-line-clamp: 3; font-size: 15px; }
.card.hide { display: none; }
.empty { color: var(--dim); text-align: center; padding: 40px 0; }

.ad { max-width: var(--max); margin: clamp(40px, 6vw, 70px) auto 0; padding: 0 var(--gut); text-align: center; }
.ad > span { display: none; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.ad:has(ins[data-ad-status="filled"]) > span { display: block; }
.ad ins[data-ad-status="unfilled"] { display: none !important; }
.ad-side { margin: 0; padding: 0; }

/* ---------- champions ---------- */
.champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.champ-card { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.champ-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent), 0 0 40px -14px var(--ac); }
.champ-card img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.champ-card small { display: block; font-size: 11px; color: var(--ac); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.champ-card b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.champ-card .sc { font-family: var(--pixel); font-size: 11px; color: var(--amber); }
.champ-card .crown { position: absolute; right: 12px; top: 10px; font-size: 18px; filter: drop-shadow(0 0 8px rgba(255,176,46,.7)); }
.champ-card.vacant b { color: var(--mute); font-weight: 600; }

/* ---------- join ---------- */
.join { max-width: var(--max); margin: clamp(60px, 9vw, 120px) auto 0; padding: 0 var(--gut); }
.join-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 100%, rgba(255,43,214,.35), transparent 60%), radial-gradient(80% 120% at 0% 0%, rgba(34,228,255,.22), transparent 55%), #120d28;
  box-shadow: inset 0 0 0 1px var(--line2), 0 40px 100px -40px rgba(168,85,247,.6); }
.join-in::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -55%; height: 100%; z-index: -1; transform: perspective(300px) rotateX(62deg); opacity: .55;
  background-image: linear-gradient(rgba(255,43,214,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,43,214,.6) 1px, transparent 1px); background-size: 44px 44px; animation: grid 3s linear infinite; }
@keyframes grid { to { background-position: 0 44px; } }
.join h2 { margin: 0 0 14px; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.join p { color: var(--dim); margin: 0 0 24px; font-size: 17px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perks li { padding: 18px; border-radius: 16px; background: rgba(7,6,15,.55); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 14px; backdrop-filter: blur(8px); }
.perks b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(168,85,247,.07)); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 20px; display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 18px; align-items: center; max-width: 420px; }
.foot-brand img { width: 72px; height: 72px; flex: none; }
.foot-brand p { margin: 0; color: var(--dim); font-size: 14px; }
.foot-links { display: flex; gap: 56px; }
.foot-links h3 { margin: 0 0 10px; font-family: var(--pixel); font-size: 9px; letter-spacing: .14em; color: var(--mute); font-weight: 400; }
.foot-links a { display: block; color: var(--dim); text-decoration: none; font-size: 14px; padding: 3px 0; }
.foot-links a:hover { color: var(--ink); }
.legal { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) max(26px, env(safe-area-inset-bottom)); color: var(--mute); font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- play page ---------- */
.play { max-width: 1600px; margin: 0 auto; padding: 18px var(--gut) 0; }
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.frame { position: relative; border-radius: 20px; padding: 6px; background: linear-gradient(145deg, color-mix(in srgb, var(--ac) 50%, transparent), rgba(255,255,255,.04) 35%, color-mix(in srgb, var(--pink) 40%, transparent));
  box-shadow: 0 40px 100px -40px var(--ac), 0 0 0 1px rgba(255,255,255,.08); }
.stage { position: relative; height: min(calc(100svh - 190px), calc((100vw - 2 * var(--gut) - 362px) * .64)); min-height: 380px; border-radius: 15px; overflow: hidden; background: #07070d; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage > div { position: absolute; inset: 0; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.45) saturate(1.3); transform: scale(1.1); }
.loading, .failed { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-family: var(--pixel); font-size: 12px; color: var(--ink); text-shadow: 0 0 12px var(--ac); }
.loading::after { content: ""; position: absolute; top: calc(50% + 26px); width: 140px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--ac), transparent); background-size: 200% 100%; animation: load 1s linear infinite; }
@keyframes load { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.frame:fullscreen { padding: 0; border-radius: 0; background: #000; }
.frame:fullscreen .stage { height: 100vh; border-radius: 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 6px 0; }
.bar-l { display: flex; align-items: baseline; gap: 14px; min-width: 0; flex-wrap: wrap; }
.bar h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.bar-best { font-family: var(--pixel); font-size: 10px; color: var(--amber); }
.bar-r { display: flex; gap: 8px; }
.ib { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 0; cursor: pointer; color: var(--ink); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line2); transition: background .2s; }
.ib:hover { background: rgba(255,255,255,.14); }
.ib svg { width: 20px; height: 20px; }
.entry { margin: 14px 0 0; padding: 16px 18px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,176,46,.16), rgba(255,43,214,.16)); box-shadow: inset 0 0 0 1px rgba(255,176,46,.45), 0 0 40px -12px rgba(255,176,46,.6);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; animation: rise .35s cubic-bezier(.2,.9,.3,1.2); }
.entry .msg { flex: 1 1 260px; font-weight: 600; }
.entry .msg b { font-family: var(--pixel); font-size: 12px; color: var(--amber); }
.entry input { width: 96px; height: 44px; text-align: center; border-radius: 12px; border: 0; background: rgba(0,0,0,.4); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink);
  font-family: var(--pixel); font-size: 18px; letter-spacing: .2em; text-transform: uppercase; }
.entry input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--amber); }
.entry .btn { --h: 44px; }
.entry .link { background: none; border: 0; color: var(--cyan); cursor: pointer; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.side { display: grid; gap: 18px; }
.panel { border-radius: 20px; padding: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.panel h2 { margin: 0 0 12px; font-family: var(--pixel); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.you-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.you-stats div { padding: 12px; border-radius: 12px; background: rgba(0,0,0,.25); }
.you-stats dt { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.you-stats dd { margin: 2px 0 0; font-family: var(--pixel); font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.you-stats .hl dd { color: var(--amber); text-shadow: 0 0 14px rgba(255,176,46,.5); }
.you-who { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; }
.you-who a { color: var(--ink); text-decoration: none; }
.you-pitch { margin: 12px 0 0; font-size: 13px; color: var(--dim); }
.you-pitch .btn { margin-top: 10px; width: 100%; justify-content: center; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.board-head h2 { margin: 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; border: 0; background: none; color: var(--dim); font-size: 12px; font-weight: 700; cursor: pointer; }
.seg button.on { background: var(--ink); color: #12001c; }
.seg.big { margin-bottom: 26px; }
.seg.big button { height: 36px; padding: 0 18px; font-size: 14px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.rows li:nth-child(odd) { background: rgba(255,255,255,.03); }
.rows .r { font-family: var(--pixel); font-size: 10px; color: var(--mute); }
.rows li:nth-child(1) .r { color: #ffd34a; text-shadow: 0 0 10px rgba(255,211,74,.8); }
.rows li:nth-child(2) .r { color: #dfe7ff; }
.rows li:nth-child(3) .r { color: #ff9f5a; }
.rows .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rows .n a { color: inherit; text-decoration: none; }
.rows .n a:hover { color: var(--cyan); }
.rows .n.g { font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; color: var(--dim); }
.rows .s { font-family: var(--pixel); font-size: 11px; color: var(--ink); }
.rows li.me { background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 28%, transparent), transparent); box-shadow: inset 2px 0 0 var(--ac); }
.rows li.empty .n, .rows li.empty .s { color: var(--mute); font-weight: 400; }
.rows li.flash { animation: flash 1.2s ease-out 2; }
@keyframes flash { 30% { background: rgba(255,176,46,.35); } }
.board-note { margin: 10px 0 0; font-size: 13px; color: var(--dim); min-height: 18px; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; margin: 40px 0 0; }
.about-main { max-width: 760px; }
.about h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.about h3 { margin: 28px 0 8px; font-size: 18px; }
.about p { color: var(--dim); margin: 0 0 12px; }
.about .lede { color: var(--ink); font-size: 18px; }
.controls { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.controls li { display: flex; gap: 12px; align-items: baseline; color: var(--dim); font-size: 15px; }
.controls .k { flex: none; width: 150px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.android { margin-top: 20px !important; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.about-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.about-stats div { padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.about-stats dt { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.about-stats dd { margin: 6px 0 0; font-family: var(--pixel); font-size: 16px; }
.more { padding-left: 0; padding-right: 0; padding-top: 60px; }
.play .ad-wide { padding: 0; }

/* ---------- simple pages ---------- */
.simple { min-height: 60vh; }
.simple article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gut) 0; }
.simple article h1 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.simple article h2 { margin: 34px 0 8px; font-size: 20px; }
.simple article p, .simple article li { color: var(--dim); }
.simple article b { color: var(--ink); }
.date { color: var(--mute) !important; font-size: 14px; }
.narrow { max-width: 760px; }
.narrow > p { color: var(--dim); font-size: 17px; }
.lost { text-align: center; padding-bottom: 40px; }
.lost h1 { font-size: clamp(56px, 10vw, 120px) !important; }
.lost .btn { margin-top: 20px; }
.del { margin-top: 28px; padding: 24px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.bcard { border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bcard-head { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 110px; padding: 14px 16px; text-decoration: none; color: var(--ink); overflow: hidden; }
.bcard-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s, opacity .3s; }
.bcard-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(12,10,27,.95)); }
.bcard-head:hover img { transform: scale(1.05); opacity: .75; }
.bcard-head b { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.bcard-head span { position: relative; z-index: 1; margin-left: auto; font-family: var(--pixel); font-size: 9px; color: #12001c; background: var(--sun); padding: 7px 9px; border-radius: 999px; }
.bcard .rows { padding: 10px; }
.profile .ptotals { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.ptotals div { padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ptotals dt { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.ptotals dd { margin: 6px 0 0; font-family: var(--pixel); font-size: 18px; }
.ptools { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.pgames { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pgame { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.pgame:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent); }
.pgame img { width: 96px; aspect-ratio: 16/10; border-radius: 10px; object-fit: cover; }
.pgame b { display: block; font-size: 16px; }
.pgame span { display: block; font-size: 13px; color: var(--dim); }
.pgame .sc { font-family: var(--pixel); font-size: 11px; color: var(--amber); }

/* ---------- motion and sizes ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .cta, .hero-stats { justify-content: center; }
  .screen { transform: none; max-width: 860px; margin: 0 auto; }
  .screen:hover { transform: none; }
  .epic { grid-template-columns: 1fr 1fr; }
  .epic .card:first-child { grid-column: 1 / -1; }
  .play-grid, .about { grid-template-columns: 1fr; }
  .stage { height: min(calc(100svh - 170px), calc((100vw - 2 * var(--gut)) * .62)); }
  .side { grid-template-columns: 1fr 1fr; }
  .ad-side { grid-column: 1 / -1; }
  .join-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --r: 16px; }
  .nav { height: 58px; gap: 12px; }
  .links a { padding: 8px 10px; font-size: 14px; }
  .links a:nth-child(2) { display: none; }
  .wm i { display: none; }
  .acct-in .uname { max-width: 90px; }
  .acct-in.guest .gtext { display: none; }
  .acct-in.guest { padding: 0 12px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-stats { gap: 22px; }
  .screen { padding: 6px; border-radius: 16px; }
  .screen-cap { position: relative; left: auto; right: auto; bottom: auto; margin: 10px 0 0; transform: none; padding: 12px 92px 12px 14px; }
  .screen-cap:hover { transform: none; }
  .screen-cap::after { padding: 8px 10px; right: 12px; }
  .screen-cap .tag { display: none; }
  .tuner { margin-top: 18px; justify-content: flex-start; }
  .tuner button { width: 64px; }
  .ticker { margin-top: 26px; height: 48px; }
  .epic { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
  .tools, .search, .search input { width: 100%; }
  .pills { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; width: 100%; }
  .pill { flex: none; }
  .perks { grid-template-columns: 1fr; }
  .join-in { border-radius: 24px; }
  .foot-links { gap: 36px; }
  .play { padding: 0; }
  .frame { border-radius: 0; padding: 0; box-shadow: none; background: none; }
  .stage { height: calc(100svh - 58px - 62px); min-height: 420px; border-radius: 0; }
  .bar { padding: 10px var(--gut) 0; }
  .entry { margin: 12px var(--gut) 0; }
  .side { grid-template-columns: 1fr; padding: 18px var(--gut) 0; }
  .about { padding: 0 var(--gut); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .controls li { flex-direction: column; gap: 2px; }
  .more { padding: 50px var(--gut) 0; }
  .play .ad-wide { padding: 0 var(--gut); }
  .strip { grid-auto-columns: 78%; }
  .reel img { width: 150px; }
}
.hero-stats div[hidden] { display: none; }
.entry[hidden], .ad[hidden] { display: none; }
.gbtn iframe { color-scheme: light; } /* Google's button frame: transparent, not a white box */
@media (max-width: 720px) { .eyebrow { font-size: 8px; padding: 8px 12px; } }

/* ---------- pxd tokens ---------- */
.tok { display: inline-block; vertical-align: middle; flex: none; filter: drop-shadow(0 0 6px rgba(255,194,26,.45)); }
.tok.spin { animation: coin 4.5s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes coin { 0%, 70% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.tok.fly { position: fixed; z-index: 300; pointer-events: none; will-change: transform; }
/* tiers: names everywhere take their tier's colour and gem */
.who { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; text-decoration: none; color: inherit; }
.who .gem { flex: none; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.tier-copper, .who.tier-copper { color: #f0a477; }
.tier-silver, .who.tier-silver { color: #e4ecf8; }
.tier-gold, .who.tier-gold { color: #ffd23f; text-shadow: 0 0 12px rgba(255,210,63,.45); }
.who.tier-neon, .who.tier-holo { background: linear-gradient(90deg, #22e4ff, #ff2bd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.who.tier-neon .gem { background: #22e4ff; box-shadow: 0 0 10px #ff2bd6; }
.who.tier-holo { background: linear-gradient(90deg, #ff5d8f, #ffd23f, #b6ff3b, #22e4ff, #a855f7, #ff5d8f); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: holo 4s linear infinite; }
.who.tier-holo .gem { background: conic-gradient(#ff5d8f, #ffd23f, #b6ff3b, #22e4ff, #a855f7, #ff5d8f); box-shadow: 0 0 12px #fff; }
@keyframes holo { to { background-position: 300% 0; } }
.rows .n .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; }
.rows .n a.who:hover { filter: brightness(1.25); }
.acct-in.tier-copper, .acct-in.tier-silver, .acct-in.tier-gold { color: var(--ink); }

/* account button bank */
.bank { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 3px 9px 3px 5px; border-radius: 999px; background: rgba(255,194,26,.12); box-shadow: inset 0 0 0 1px rgba(255,194,26,.35); }
.bank b { font-family: var(--pixel); font-size: 10px; color: #ffd23f; }
.bank.bump { animation: bump .35s cubic-bezier(.2,.9,.3,1.6); }
@keyframes bump { 40% { transform: scale(1.25); } }
.menu-bank { display: flex; align-items: center; gap: 12px; margin: 0 4px 8px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,194,26,.16), rgba(255,43,214,.1)); }
.menu-bank b { display: block; font-size: 15px; }
.menu-bank span { font-size: 12px; color: var(--dim); }
.earn-pop { position: fixed; z-index: 290; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; pointer-events: none; text-align: center;
  padding: 16px 22px; border-radius: 20px; background: rgba(14,10,30,.88); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,194,26,.5), 0 0 60px -10px rgba(255,194,26,.8);
  animation: earnpop 2.6s cubic-bezier(.2,.9,.3,1.2) forwards; }
.earn-pop b { font-family: var(--pixel); font-size: 26px; color: #ffd23f; text-shadow: 0 0 18px rgba(255,210,63,.8); }
.earn-pop span { font-size: 13px; font-weight: 700; color: var(--ink); max-width: 260px; }
@keyframes earnpop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 20% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%) scale(.95); } }
.tier-up { position: fixed; inset: 0; z-index: 310; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(255,194,26,.25), rgba(4,2,12,.86) 60%); backdrop-filter: blur(4px); animation: fadein .4s; transition: opacity .5s; pointer-events: none; }
.tier-up.out { opacity: 0; }
.tier-up small { font-family: var(--pixel); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.tier-up b { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 14vw, 140px); line-height: 1; }
.tier-up.tier-neon b, .tier-up.tier-holo b { background: linear-gradient(90deg, #22e4ff, #ff2bd6, #ffd23f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-up span { color: var(--ink); font-size: 17px; }
@keyframes fadein { from { opacity: 0; } }

/* "You" panel bank */
.you-bank { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px; border-radius: 12px; text-decoration: none; background: linear-gradient(135deg, rgba(255,194,26,.14), rgba(255,43,214,.08)); box-shadow: inset 0 0 0 1px rgba(255,194,26,.3); }
.you-bank b { display: block; color: #ffd23f; font-family: var(--pixel); font-size: 12px; }
.you-bank small { color: var(--dim); font-size: 12px; }
.entry .msg a { color: var(--cyan); font-weight: 700; }

/* home: Tycoons */
.tycoons { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 14px; align-items: stretch; }
.ty { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; padding: 22px 14px; border-radius: 18px; text-decoration: none; color: var(--ink); text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,194,26,.14), transparent 60%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; min-width: 0; }
.ty:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,194,26,.5), 0 0 40px -12px rgba(255,194,26,.7); }
.ty:first-child { background: radial-gradient(120% 90% at 50% 0%, rgba(255,194,26,.3), transparent 65%), var(--panel2); box-shadow: inset 0 0 0 1px rgba(255,194,26,.5), 0 0 60px -20px rgba(255,194,26,.8); }
.ty-rank { position: absolute; top: 10px; left: 12px; font-family: var(--pixel); font-size: 10px; color: var(--mute); }
.ty:first-child .ty-rank { color: #ffd23f; }
.ty-bal { font-family: var(--pixel); font-size: 15px; color: #ffd23f; }
.ty:first-child .ty-bal { font-size: 20px; }
.ty .who { font-size: 15px; justify-content: center; overflow: hidden; }
.ty small { color: var(--dim); font-size: 12px; }
.ty-empty { color: var(--dim); }

/* the Rich List page */
.rich-page { padding-top: clamp(30px, 5vw, 60px); }
.rich-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); margin-bottom: 30px; }
.rich-hero h1 { margin: 0 0 10px; font-size: clamp(44px, 7vw, 88px); line-height: 1; }
.rich-hero .lede { margin: 0; }
.coin3d { flex: none; width: clamp(120px, 18vw, 220px); perspective: 800px; filter: drop-shadow(0 20px 40px rgba(255,170,0,.35)); }
.coin3d img { width: 100%; height: auto; animation: coin3d 6s linear infinite; }
@keyframes coin3d { from { transform: rotateY(0) rotateX(8deg); } to { transform: rotateY(360deg) rotateX(8deg); } }
.mine { margin: 0 0 26px; }
.mine-card { display: grid; grid-template-columns: auto 1fr minmax(220px, 320px); gap: 22px; align-items: center; padding: 22px 26px; border-radius: 24px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(255,194,26,.22), transparent 60%), #140f2c; box-shadow: inset 0 0 0 1px rgba(255,194,26,.35), 0 30px 80px -40px rgba(255,194,26,.6); }
.mine-main small { font-family: var(--pixel); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mine-bal { display: block; font-family: var(--pixel); font-size: clamp(26px, 4vw, 40px); color: #ffd23f; text-shadow: 0 0 24px rgba(255,210,63,.6); margin: 6px 0; }
.mine-side { display: grid; gap: 8px; font-size: 14px; }
.mine-side .dim { color: var(--mute); font-size: 12px; }
.prog { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffb02e, #ffd23f, #ff2bd6); box-shadow: 0 0 14px rgba(255,194,26,.7); }
.mine-guest { display: grid; justify-items: start; gap: 8px; padding: 24px 26px; border-radius: 24px; background: #140f2c; box-shadow: inset 0 0 0 1px var(--line2); }
.mine-guest b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.mine-guest span { color: var(--dim); }
.tiers { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tiers li { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.tiers li span { font-size: 12px; color: var(--dim); }
.tiers li b { font-size: 16px; }
.tiers li.tier-copper img { filter: sepia(.6) saturate(1.4) hue-rotate(-20deg) brightness(.85); }
.tiers li.tier-silver img { filter: grayscale(1) brightness(1.3); }
.tiers li.tier-neon img { filter: hue-rotate(160deg) saturate(1.6) drop-shadow(0 0 8px #ff2bd6); }
.tiers li.tier-holo img { animation: holoimg 3s linear infinite; }
@keyframes holoimg { to { filter: hue-rotate(360deg) saturate(1.6); } }
.rich-wrap { overflow-x: auto; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.rich { width: 100%; border-collapse: collapse; font-size: 15px; }
.rich th { text-align: left; font-family: var(--pixel); font-weight: 400; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 16px 14px 10px; }
.rich td { padding: 10px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.rich tr.me td { background: rgba(255,194,26,.08); }
.rich .rk { width: 48px; font-family: var(--pixel); font-size: 11px; color: var(--mute); }
.rich .bl { font-family: var(--pixel); font-size: 12px; color: #ffd23f; }
.rich .gp { color: var(--dim); }
.rich .fv a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.rich .fv img { width: 48px; height: 30px; border-radius: 6px; object-fit: cover; }
.rich .pl .who { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.medal { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #1a0d00; font-size: 10px; }
.medal.m1 { background: radial-gradient(circle at 35% 30%, #fff3a8, #ffc21a 55%, #b86b00); box-shadow: 0 0 14px rgba(255,194,26,.8); }
.medal.m2 { background: radial-gradient(circle at 35% 30%, #fff, #c9d3e3 55%, #7b8798); }
.medal.m3 { background: radial-gradient(circle at 35% 30%, #ffd6b5, #e08a4f 55%, #8a4a1d); }
.earn-title { margin: 44px 0 16px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); }
.earn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.earn-grid li { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.earn-grid b { font-family: var(--pixel); font-size: 18px; color: #ffd23f; }
.earn-grid span { color: var(--dim); font-size: 14px; }
.earn-grid .big { background: radial-gradient(120% 120% at 0 0, rgba(255,194,26,.2), transparent 60%), var(--panel); box-shadow: inset 0 0 0 1px rgba(255,194,26,.45); }
.earn-grid .cap b { color: var(--cyan); }
.fine-print { margin: 22px 0 0; font-size: 13px; color: var(--mute); }
/* player page */
.pbank { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; padding: 18px 22px; border-radius: 20px; text-decoration: none; color: var(--ink);
  background: radial-gradient(90% 140% at 0% 0%, rgba(255,194,26,.2), transparent 60%), #140f2c; box-shadow: inset 0 0 0 1px rgba(255,194,26,.35); }
.pbank small { font-family: var(--pixel); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pbank b { display: block; font-family: var(--pixel); font-size: 20px; color: #ffd23f; margin: 6px 0; }
.pbank span { color: var(--dim); font-size: 14px; }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 640px; }
.ledger li { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--panel); }
.ledger b { font-family: var(--pixel); font-size: 11px; color: #ffd23f; }
.ledger small { color: var(--mute); }
#pname .who { font-weight: 400; }
@media (max-width: 1100px) { .tycoons { grid-template-columns: repeat(3, 1fr); } .ty:first-child { grid-column: span 3; } }
@media (max-width: 720px) {
  .tycoons { grid-template-columns: 1fr 1fr; } .ty:first-child { grid-column: span 2; }
  .rich-hero { flex-direction: column; text-align: center; }
  .mine-card { grid-template-columns: auto 1fr; } .mine-side { grid-column: 1 / -1; }
  .tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .tiers li { padding: 10px 2px; } .tiers li b { font-size: 12px; } .tiers li span { font-size: 9px; } .tiers li img { width: 30px; height: 30px; }
  .rich .gp, .rich th:nth-child(4) { display: none; }
  .rich .fv a { font-size: 0; gap: 0; }
  .bank { padding: 3px 7px 3px 4px; } .acct-in .uname { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tok.spin, .coin3d img, .who.tier-holo { animation: none; } }
