/* NA5TY player site. Same look as the in-city Kick hub (op_rewards): plates with screws, CRT TVs, rendered keys, neon sign. */
@font-face { font-family: 'Bungee'; src: url('fonts/bungee-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/fredoka-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/fredoka-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/fredoka-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/fredoka-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Creepster'; src: url('fonts/creepster-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Rye'; src: url('fonts/rye-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Mountains of Christmas'; src: url('fonts/mountains-of-christmas-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --kick: #53fc18; --kick-deep: #2a8a0a; --gold: #ffc94d; --live: #ff2b4a; --cream: #fff3cf;
    --ink: #f1ecff; --muted: #a59fbd; --line: rgba(255, 255, 255, .09);
    --plate-a: rgba(24, 16, 40, .9); --plate-b: rgba(10, 6, 20, .94);
    --accent: var(--kick); --accent-glow: rgba(83, 252, 24, .45); --pop: #ffd25a;
    --display: 'Bungee', 'Fredoka', sans-serif; --body: 'Fredoka', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
    --season-font: var(--display); --scene: url('art/scenes/city.webp');
}
.season-halloween { --accent: #ff7a1a; --accent-glow: rgba(255, 122, 26, .45); --pop: #8cff4a; --season-font: 'Creepster'; --scene: url('art/scenes/halloween.webp'); --plate-a: rgba(26, 12, 42, .9); }
.season-harvest { --accent: #ffb02e; --accent-glow: rgba(255, 176, 46, .45); --pop: #ffc35e; --season-font: 'Rye'; --scene: url('art/scenes/harvest.webp'); --plate-a: rgba(38, 14, 14, .9); --plate-b: rgba(18, 6, 6, .94); }
.season-holiday { --accent: #ff3b52; --accent-glow: rgba(255, 59, 82, .45); --pop: #96d7ff; --season-font: 'Mountains of Christmas'; --scene: url('art/scenes/holiday.webp'); --plate-a: rgba(10, 18, 44, .9); --plate-b: rgba(4, 8, 24, .94); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: #07040f; color: var(--ink); font: 500 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
svg.i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }

/* the hub's scene, fixed behind everything */
.scene { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 4, 15, .25), rgba(7, 4, 15, .55) 60%, rgba(7, 4, 15, .85)), var(--scene) center bottom / cover no-repeat, #07040f; }

/* ---------------------------------------------------------------- top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px max(16px, calc((100vw - 1180px) / 2)); background: linear-gradient(180deg, rgba(5, 2, 12, .92), rgba(5, 2, 12, .7)); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand__name { font-family: var(--display); font-size: 24px; color: var(--cream); text-shadow: 0 0 6px var(--accent-glow), 0 0 18px var(--accent-glow), 0 2px 0 rgba(0, 0, 0, .6); }
.brand__tag { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 7px 13px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #d8d2ea; }
.nav a:hover { background: rgba(255, 255, 255, .07); }
.nav a.on { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; text-decoration: none; font: 700 15px var(--body); white-space: nowrap; box-shadow: 0 4px 0 rgba(0, 0, 0, .5); transition: transform .08s, filter .15s; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.kick { background: var(--kick); color: #061500; }
.btn.kick .k { width: 22px; height: 22px; border-radius: 6px; background: #061500; color: var(--kick); display: grid; place-items: center; font-family: var(--display); font-size: 12px; }
.btn.dark { background: #1d1730; color: #eee; border: 1px solid rgba(255, 255, 255, .1); }
.btn.accent { background: var(--accent); color: #140700; }
.btn.discord { background: #5865f2; color: #fff; }
.btn.twitch { background: #9146ff; color: #fff; }
.btn.sm { height: 36px; padding: 0 13px; font-size: 14px; border-radius: 10px; }
.chip { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #222; }

/* ---------------------------------------------------------------- layout */
main { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; }
.block { margin-top: 34px; scroll-margin-top: 80px; }
.block__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.block__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .5px; color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, .6); display: flex; align-items: center; gap: 10px; }
.block__head p { margin: 0; }
.lamp { width: 11px; height: 11px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); display: inline-block; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* plates (the hub's dark panels with brass screws) */
.plate { position: relative; border-radius: 24px; padding: 26px 26px 22px; background: linear-gradient(180deg, var(--plate-a), var(--plate-b)); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 22px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.screws { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.screws i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe6a8, #a8742a 60%, #4a300c); box-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.screws i::after { content: ''; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: rgba(60, 35, 5, .8); transform: rotate(35deg); }
.screws i:nth-child(1) { top: 10px; left: 10px; } .screws i:nth-child(2) { top: 10px; right: 10px; }
.screws i:nth-child(3) { bottom: 10px; left: 10px; } .screws i:nth-child(4) { bottom: 10px; right: 10px; }
.plate h3 { margin: 0 0 6px; font-size: 19px; color: #fff; }
.plate p { margin: 0 0 10px; color: #cfc8e2; }
.plate-hint { margin-top: 14px !important; text-align: center; font-size: 14px; color: var(--muted) !important; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 30px; padding: 34px 36px; }
.hero__sign { width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(83, 252, 24, .25)) drop-shadow(0 18px 20px rgba(0, 0, 0, .6)); }
.hero h1 { margin: 6px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; color: var(--cream); text-shadow: 0 4px 0 rgba(0, 0, 0, .6), 0 0 26px var(--accent-glow); }
.hero p { font-size: 17px; max-width: 34em; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.season-tag { display: inline-block; font-family: var(--season-font), var(--display); font-weight: 700; font-size: 22px; letter-spacing: 1px; color: var(--pop); text-shadow: 0 0 14px var(--pop); }
.season-tag:empty { display: none; }

/* TV wall (same TV as the hub) */
.tvwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 14px; }
.tv { --scr-l: 13.68%; --scr-t: 41.59%; --scr-w: 56.58%; --scr-h: 37.74%; position: relative; width: 100%; aspect-ratio: .9135; border: 0; padding: 0; background: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)) brightness(.85); transition: transform .15s, filter .15s; }
.tv:hover, .tv.sel { transform: translateY(-3px) rotate(-.6deg); filter: drop-shadow(0 0 18px var(--accent-glow)) drop-shadow(0 12px 14px rgba(0, 0, 0, .6)) brightness(1.05); }
.tv img.set { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.tv .screen { position: absolute; z-index: 1; left: var(--scr-l); top: var(--scr-t); width: var(--scr-w); height: var(--scr-h); border-radius: 10% / 14%; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #0b1410; }
.tv .screen::before { content: ''; position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 4px); }
.tv .scr-bg { position: absolute; inset: -10%; z-index: 0; }
.tv .scr-name { position: relative; z-index: 1; font-family: var(--display); font-size: 13px; color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, .6), 0 2px 0 rgba(0, 0, 0, .7); max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv .scr-sub { position: relative; z-index: 1; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.tv .badge { position: absolute; z-index: 3; left: 4%; top: 22%; font-family: var(--display); font-size: 10px; padding: 2px 7px; border-radius: 5px; color: #fff; background: var(--live); box-shadow: 0 0 10px rgba(255, 43, 74, .7); transform: rotate(-6deg); }
.wall-empty { grid-column: 1 / -1; padding: 26px; text-align: center; border-radius: 18px; background: rgba(0, 0, 0, .35); border: 1px dashed var(--line); color: var(--muted); }

/* watch panel */
.watch { scroll-margin-top: 84px; margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; padding: 18px; }
.watch__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.watch__head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--cream); }
.watch__head .sp { flex: 1; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chatbox { display: flex; flex-direction: column; min-height: 0; height: 100%; max-height: calc((100vw - 32px) * .38); border-radius: 14px; background: #0b0e0f; border: 1px solid #1d2326; overflow: hidden; }
.chatbox__lines { flex: 1; min-height: 160px; overflow-y: auto; padding: 8px 8px 4px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.chatbox__lines > :first-child { margin-top: auto; }
.chatbox__line { padding: 3px 6px; border-radius: 6px; color: #dfe6e8; overflow-wrap: anywhere; }
.chatbox__line b { font-weight: 700; }
.chatbox__line .w { font-family: var(--mono); background: #1d2326; padding: 0 5px; border-radius: 4px; color: #fff; font-size: 13px; }
.chatbox form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #1d2326; background: #0f1315; }
.chatbox input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid #263035; background: #151b1e; color: #fff; font: 500 15px var(--body); outline: none; }
.chatbox input:focus { border-color: var(--kick); }
.chatbox__note { padding: 10px 12px; font-size: 14px; color: var(--muted); border-top: 1px solid #1d2326; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding-top: 22px; text-align: center; }
.step img { width: 92px; height: 92px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.step__n { position: absolute; top: 16px; left: 22px; font-family: var(--display); font-size: 30px; color: var(--accent); text-shadow: 0 0 14px var(--accent-glow); }

/* word keys */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 7px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(6, 2, 16, .6); font-weight: 700; font-size: 14px; color: var(--muted); box-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.tabs button.on { color: #fff; border-color: var(--accent); box-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 0 14px var(--accent-glow); }
.tabs button.seasonal { font-family: var(--season-font), var(--display); font-size: 17px; color: var(--pop); }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 10px; }
.key { display: flex; flex-direction: column; align-items: center; border: 0; background: none; padding: 0; text-align: center; }
.key img { width: 96px; height: 96px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .55)); transition: transform .1s; }
.key:hover img { transform: translateY(-2px) scale(1.04); }
.key:active img { transform: translateY(2px) scale(.97); }
.key b { margin-top: 2px; font-size: 14px; color: #fff; line-height: 1.2; }
.key code { margin-top: 3px; background: none; padding: 0; color: var(--accent); font-size: 13px; }

/* ---------------------------------------------------------------- my stuff */
.me-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.me-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 18px var(--accent-glow); background: #222; }
.me-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--cream); }
.me-head p { margin: 0; color: var(--muted); }
.me-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.me-grid .wide { grid-column: 1 / -1; }
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-title img { width: 48px; height: 48px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
.card-title h3 { margin: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--muted); }
.status.ok { background: rgba(83, 252, 24, .14); color: var(--kick); }
.status.warn { background: rgba(255, 201, 77, .14); color: var(--gold); }
.status.bad { background: rgba(255, 43, 74, .14); color: #ff7a8c; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.field { flex: 1; min-width: 180px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .35); color: #fff; font: 500 15px var(--body); outline: none; }
.field:focus { border-color: var(--accent); }
.wallets { display: grid; gap: 8px; margin-top: 6px; }
.wallet { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); text-decoration: none; }
.wallet b { font-size: 16px; }
.wallet span { font-family: var(--display); font-size: 20px; color: var(--gold); }
.wallet .bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wallet .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--pop)); border-radius: 99px; }
.code-box { margin-top: 12px; padding: 16px; border-radius: 16px; border: 1px dashed rgba(83, 252, 24, .45); background: rgba(83, 252, 24, .06); }
.code-box .code { font-family: var(--mono); font-size: 34px; letter-spacing: .25em; color: var(--kick); text-shadow: 0 0 14px rgba(83, 252, 24, .5); }
.steps-mini { margin: 6px 0 0; padding-left: 20px; color: #cfc8e2; }
.steps-mini li { margin: 3px 0; }
.signin-plate { text-align: center; padding: 40px 26px; }
.signin-plate h2 { font-family: var(--display); font-weight: 400; color: var(--cream); margin: 0 0 8px; }

/* ---------------------------------------------------------------- footer + toasts */
.footer { max-width: 1180px; margin: 0 auto; padding: 24px 16px 40px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 11px 18px; border-radius: 12px; background: #15101f; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); font-weight: 600; animation: up .25s ease-out; }
.toast.ok { border-color: rgba(83, 252, 24, .5); } .toast.err { border-color: rgba(255, 43, 74, .6); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

/* ---------------------------------------------------------------- phones + small screens */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 26px 20px; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero__cta { justify-content: center; }
    .hero__sign { max-width: 420px; margin: 0 auto; }
    .watch { grid-template-columns: 1fr; }
    .chatbox { max-height: 420px; }
    .steps { grid-template-columns: 1fr; }
    .me-grid { grid-template-columns: 1fr; }
    .brand__tag { display: none; }
}
@media (max-width: 640px) {
    .topbar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
    .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
    .nav a { padding: 7px 11px; font-size: 14px; }
    .tvwall { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .keys { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .key img { width: 78px; height: 78px; }
    .plate { padding: 22px 16px 18px; border-radius: 20px; }
    .btn { height: 42px; padding: 0 14px; }
    .auth .btn span.lbl { display: none; }
}

/* ---------------------------------------------------------------- one-page home: join card, perks, welcome + setup */
.page { display: flex; flex-direction: column; }
body.signed-in #how { order: 10; }                 /* signed in: your stuff and live first, the explainer last */
.btn.big { height: 58px; padding: 0 28px; font-size: 19px; border-radius: 16px; box-shadow: 0 5px 0 rgba(0, 0, 0, .55), 0 0 26px rgba(83, 252, 24, .35); }
.btn.big .k { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
.join { margin-top: 20px; }
.join .btn.big { width: min(100%, 380px); }
.join__note { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--muted) !important; }
.join__note svg.i { color: var(--kick); }
.join__alt { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 15px; color: var(--muted); }
.join__alt a { color: #e8e2f8; font-weight: 600; text-decoration: none; }
.join__alt a:hover { text-decoration: underline; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.perk { text-align: center; padding: 22px 16px 18px; }
.perk img { width: 76px; height: 76px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.perk h3 { font-size: 17px; margin-top: 4px; }
.perk p { font-size: 14px; margin: 0; }
.perks-cta { display: flex; justify-content: center; margin-top: 18px; }

.welcome { display: flex; align-items: center; gap: 14px; margin: 6px 0 12px; }
.welcome img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 18px var(--accent-glow); background: #222; }
.welcome__hi { font-size: 15px; color: var(--muted); font-weight: 600; }
.welcome h1 { margin: 0 !important; font-size: clamp(26px, 3vw, 38px) !important; }
.hero-points { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-points__n { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .6), 0 0 20px rgba(255, 201, 77, .35); }
.hero-points__l { color: #cfc8e2; font-weight: 600; }
.setup { padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); max-width: 460px; }
.setup__head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.setup__head span { color: var(--muted); }
.setup__bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 8px; }
.setup__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--kick), var(--pop)); transition: width .4s; }
.setup__item { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: #e6e0f6; }
a.setup__item[href]:hover { background: rgba(255, 255, 255, .06); }
.setup__item .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.setup__item.ok { color: var(--muted); }
.setup__item.ok .tick { border-color: var(--kick); background: var(--kick); color: #061500; }
.setup__item.ok .tick svg.i { width: 14px; height: 14px; stroke-width: 3; }
.setup__item .go { margin-left: auto; font-size: 13px; color: var(--accent); white-space: nowrap; }
[id^="card-"] { scroll-margin-top: 90px; }

@media (max-width: 900px) {
    .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome { justify-content: center; text-align: left; }
    .hero-points { justify-content: center; }
    .setup { margin: 0 auto; text-align: left; }
    .join .btn.big { width: 100%; }
    .join__alt { justify-content: center; }
}
@media (max-width: 480px) {
    .perks { grid-template-columns: 1fr 1fr; gap: 10px; }
    .perk img { width: 60px; height: 60px; }
    .hero-points__n { font-size: 32px; }
}
.nav a { white-space: nowrap; }

.sub-h { margin: 16px 0 4px !important; font-size: 17px !important; }
.field.mono { font-family: var(--mono); font-size: 13px; }

/* TVs with the real stream on the screen */
.tvwall { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 18px; }
.tv { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; filter: none; }
.tv:hover, .tv.sel { filter: none; transform: translateY(-3px) rotate(-.6deg); }
.tv .tv-set { position: relative; width: 100%; aspect-ratio: .9135; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)) brightness(.9); transition: filter .15s; }
.tv:hover .tv-set, .tv.sel .tv-set { filter: drop-shadow(0 0 18px var(--accent-glow)) drop-shadow(0 12px 14px rgba(0, 0, 0, .6)) brightness(1.06); }
.tv .scr-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.tv .scr-play { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .15s; background: rgba(0, 0, 0, .35); }
.tv .scr-play svg.i { width: 34px; height: 34px; color: #fff; fill: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.tv:hover .scr-play { opacity: 1; }
.tv .incity { position: absolute; z-index: 3; right: 3%; top: 22%; font-family: var(--display); font-size: 10px; padding: 2px 7px; border-radius: 5px; color: #061500; background: var(--kick); box-shadow: 0 0 10px rgba(83, 252, 24, .6); transform: rotate(5deg); }
.tv-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 6px; text-align: center; }
.tv-cap b { width: 100%; font-size: 15px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-cap .viewers { font-size: 13px; font-weight: 700; color: #ff8193; }
.tv-cap .viewers svg.i { width: 14px; height: 14px; }
.tv-cap .cat { font-size: 12px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .tvwall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }

/* live: TVs + "Happening in the city" side by side */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.cityfeed { padding: 20px 16px 16px; position: sticky; top: 84px; }
.cityfeed h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px 6px !important; font-family: var(--display); font-weight: 400; font-size: 16px !important; letter-spacing: .4px; color: var(--cream) !important; }
.cityfeed .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--kick); box-shadow: 0 0 10px var(--kick); animation: blink 1.6s steps(1) infinite; }
.cityfeed__list { display: flex; flex-direction: column; gap: 6px; max-height: 470px; overflow: hidden; }
.cf { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: #ddd6ee; }
.cf img { width: 38px; height: 38px; }
.cf b { color: var(--pop); font-weight: 700; }
.cf em { font-style: normal; font-weight: 700; color: #fff; }
.cf a { color: #fff; text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, .4); }
.cf .pts { display: inline-block; margin-left: 2px; padding: 0 6px; border-radius: 6px; background: rgba(255, 201, 77, .14); color: var(--gold); font-size: 12px; font-weight: 700; }
.cf time { font-size: 12px; color: var(--muted); }
.cf.big { border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.cf.new { animation: cfin .45s ease-out; }
@keyframes cfin { from { opacity: 0; transform: translateY(-8px); background: rgba(255, 255, 255, .12); } }
.cf-empty { margin: 4px 6px !important; font-size: 14px; }
@media (max-width: 980px) { .live-grid { grid-template-columns: 1fr; } .cityfeed { position: static; } .cityfeed__list { max-height: 330px; } }

/* prices on the keys */
.key .price { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 2px 9px; border-radius: 8px; font-family: var(--display); font-size: 12px; color: #140700; background: var(--gold); box-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.pot-chip { display: inline-block; padding: 0 6px; border-radius: 6px; font: 700 11px var(--body); color: #fff; background: rgba(0, 0, 0, .55); letter-spacing: .3px; }
.plate-hint .pot-chip { background: var(--accent); color: #140700; }

/* this week's top chat */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ranks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.ranks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.ranks .rk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 13px; color: #ddd; background: rgba(255, 255, 255, .08); }
.ranks b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranks .v { text-align: right; font-family: var(--display); font-size: 15px; color: var(--gold); line-height: 1.1; }
.ranks .v small { display: block; font: 600 11px var(--body); color: var(--muted); }
.ranks li.m1 .rk { background: linear-gradient(180deg, #ffe58a, #c99a1e); color: #3a2600; box-shadow: 0 0 12px rgba(255, 210, 90, .55); }
.ranks li.m2 .rk { background: linear-gradient(180deg, #f1f4f8, #9aa3ad); color: #222; }
.ranks li.m3 .rk { background: linear-gradient(180deg, #f0b27a, #a45f28); color: #2a1300; }
.ranks li.m1 { border-color: rgba(255, 210, 90, .45); }
.ranks li.me { border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
.tv .screen:has(.scr-img)::before { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 4px); }
