/* =========================================================
   seasmp — style.css
   Yellow / gold on warm black, diamond-blue accents.
   ========================================================= */
:root {
  --bg: #0d0b06;
  --bg2: #141108;
  --panel: #1a160c;
  --panel2: #221c0e;
  --line: rgba(255, 210, 63, .14);
  --line2: rgba(255, 210, 63, .28);
  --y: #ffd23f;
  --y2: #ffb300;
  --y3: #b87a00;
  --ink: #fff7de;
  --muted: #b9ad8c;
  --dim: #7d735a;
  --blue: #4fd1ff;
  --green: #6dff8e;
  --red: #ff5c5c;
  --purple: #b980ff;
  --pixel: "Press Start 2P", monospace;
  --sans: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--mono); font-size: .9em; color: var(--y); background: rgba(255,210,63,.1); padding: .1em .4em; border-radius: 4px; }
::selection { background: var(--y); color: #1a1200; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hl { color: var(--y); text-shadow: 0 0 24px rgba(255, 210, 63, .35); }

/* subtle pixel grid texture over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,210,63,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,210,63,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 90vh);
}
main, .footer { position: relative; z-index: 1; }
/* the tilted ticker bleeds a few px past the screen edge; on phones that widened the whole page */
main { overflow-x: clip; }

/* ================= PIXEL BUTTONS ================= */
.px-btn {
  --face: #3a3322; --hi: #5c5236; --lo: #1b170d; --txt: var(--ink);
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 14px 26px 16px;
  background: var(--face); color: var(--txt);
  font-family: var(--pixel); font-size: 13px; line-height: 1.2; letter-spacing: .02em;
  border: 3px solid #000;
  box-shadow: inset 3px 3px 0 var(--hi), inset -3px -4px 0 var(--lo), 0 6px 0 #000, 0 10px 24px rgba(0,0,0,.4);
  transition: transform .12s, box-shadow .12s, filter .2s;
  image-rendering: pixelated;
}
.px-btn:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: inset 3px 3px 0 var(--hi), inset -3px -4px 0 var(--lo), 0 8px 0 #000, 0 16px 30px rgba(0,0,0,.45); }
.px-btn:active { transform: translateY(5px); box-shadow: inset 3px 3px 0 var(--lo), inset -3px -3px 0 var(--hi), 0 1px 0 #000; }
.px-btn .px-sub { font-family: var(--sans); font-size: 12px; font-weight: 600; opacity: .72; letter-spacing: 0; }
.px-yellow { --face: var(--y); --hi: #fff09a; --lo: var(--y3); --txt: #2a1d00; }
.px-yellow:hover { box-shadow: inset 3px 3px 0 var(--hi), inset -3px -4px 0 var(--lo), 0 8px 0 #000, 0 0 40px rgba(255,210,63,.45); }
.px-dark { --face: #2a2518; --hi: #4a4230; --lo: #120f07; }
.px-lg { font-size: 16px; padding: 18px 40px 20px; }
.px-sm { font-size: 11px; padding: 11px 20px 13px; }

.link-btn { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--ink); }

/* ================= SPLASH ================= */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,190,40,.18), transparent 60%),
    repeating-conic-gradient(#171309 0% 25%, #120f07 0% 50%) 0 0 / 48px 48px;
  transition: opacity .6s ease, visibility .6s;
}
.splash.gone { opacity: 0; visibility: hidden; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 16px; text-align: center; }
.splash-logo { width: min(280px, 70vw); height: auto; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.splash-tip { font-family: var(--pixel); font-size: 11px; color: var(--muted); min-height: 1.2em; }
.splash-bar { width: min(320px, 80vw); height: 10px; background: #000; border: 2px solid #3a3322; }
.splash-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--y2), var(--y)); transition: width .25s steps(8); }
#enterBtn { opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .4s; }
#enterBtn.ready { opacity: 1; transform: none; pointer-events: auto; animation: pulse 1.8s ease-in-out infinite; }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes pulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 max(16px, calc((100% - 1200px) / 2));
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(13, 11, 6, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 8px; image-rendering: auto; }
.wordmark { font-family: var(--pixel); font-size: 15px; letter-spacing: .04em; }
.wordmark b { color: var(--y); font-weight: 400; text-shadow: 2px 2px 0 #7a5200; }
.wordmark i { color: var(--blue); font-style: normal; text-shadow: 2px 2px 0 #10507a; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,210,63,.08); }
.nav-links .nav-store { color: var(--y); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); border: 1px solid var(--line); transition: all .2s; }
.icon-link svg { width: 20px; height: 20px; }
.icon-link.discord-link:hover { color: #fff; background: #5865f2; border-color: #5865f2; }
.icon-link.twitch-link:hover { color: #fff; background: #9146ff; border-color: #9146ff; }
.ip-chip {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px;
  border: 1px solid var(--line2); border-radius: 10px; background: rgba(255,210,63,.06);
  font-family: var(--mono); font-weight: 700; font-size: 14px; transition: all .2s;
}
.ip-chip:hover { background: rgba(255,210,63,.14); border-color: var(--y); }
.ip-copy { font-family: var(--pixel); font-size: 9px; background: var(--y); color: #2a1d00; padding: 7px 8px; border-radius: 6px; }
.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 3px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(109,255,142,.6); animation: ping 2s infinite; flex-shrink: 0; display: inline-block; }
.live-dot.off { background: var(--red); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(109,255,142,.55); } 70% { box-shadow: 0 0 0 9px rgba(109,255,142,0); } 100% { box-shadow: 0 0 0 0 rgba(109,255,142,0); } }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; cursor: crosshair; image-rendering: pixelated; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(13,11,6,.55), transparent 70%),
    linear-gradient(to bottom, rgba(13,11,6,.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%);
}
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--nav-h) + 8px) 16px 64px; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-logo-wrap { position: relative; width: min(420px, 78vw, 40svh); aspect-ratio: 1; margin-bottom: -28px; pointer-events: none; }
.hero-logo { width: 100%; height: 100%; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 71%); }
.logo-glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,40,.45), rgba(79,209,255,.15) 55%, transparent 72%); filter: blur(30px); animation: glow 4.5s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.hero-tag { font-family: var(--pixel); font-size: clamp(13px, 2.2vw, 20px); line-height: 1.7; text-shadow: 3px 3px 0 #000; margin-bottom: 18px; }
.online-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 26px;
  background: rgba(0,0,0,.55); border: 1px solid rgba(109,255,142,.35); border-radius: 999px;
  font-weight: 600; font-size: 15px; backdrop-filter: blur(6px);
}
.online-pill b { color: var(--green); font-family: var(--mono); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-cta .server-ip { font-size: 16px; }
.hero-hint { margin-top: 22px; font-size: 14px; color: var(--muted); text-shadow: 0 2px 6px #000; }
.kbd { font-family: var(--pixel); font-size: 9px; padding: 4px 6px; border: 2px solid var(--muted); border-bottom-width: 4px; border-radius: 4px; margin-right: 6px; color: var(--ink); }

.cash-hud {
  position: absolute; right: 20px; bottom: 90px; display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.65); border: 2px solid var(--y3); padding: 8px 14px 8px 10px;
  font-family: var(--pixel); font-size: 12px; opacity: 0; transform: translateY(10px); transition: all .35s;
}
.cash-hud.show { opacity: 1; transform: none; }
.cash-hud b { color: var(--y); font-weight: 400; }
.cash-hud small { font-family: var(--sans); color: var(--muted); font-size: 12px; }
.cash-hud.bump b { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.35); color: #fff; } }
.coin { width: 18px; height: 18px; background: radial-gradient(circle at 35% 35%, #fff3a8, var(--y) 45%, var(--y3)); border-radius: 50%; box-shadow: inset -2px -2px 0 rgba(0,0,0,.25); animation: spin 1.6s linear infinite; }
@keyframes spin { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }

/* ================= TICKER ================= */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--y); color: #241900; border-block: 3px solid #000; transform: rotate(-1.2deg) scale(1.03); margin-top: -40px; box-shadow: 0 10px 40px rgba(255,190,40,.18); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; font-weight: 700; font-size: 15px; white-space: nowrap; border-right: 2px dashed rgba(0,0,0,.2); }
.tick .slot { width: 22px; height: 22px; }
.tick b { font-family: var(--mono); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTIONS ================= */
.section { padding: 120px 0 40px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.kicker { font-family: var(--pixel); font-size: 11px; color: var(--y); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--y); box-shadow: 3px 3px 0 var(--y3); }
h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.lede { color: var(--muted); font-size: 18px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ================= BENTO ================= */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s, transform .2s;
}
.card:hover { border-color: var(--line2); box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(255,210,63,.1); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,210,63,.1), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card.big { grid-row: span 2; display: flex; flex-direction: column; }
.card h3 { font-size: 22px; font-weight: 700; margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card p b { color: var(--ink); }
.card .count { color: var(--y); font-family: var(--mono); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 2px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 10px; margin-bottom: 14px; box-shadow: 4px 4px 0 color-mix(in srgb, var(--c) 22%, transparent); }
.tag { align-self: flex-start; display: inline-block; font-family: var(--pixel); font-size: 9px; padding: 5px 8px; border-radius: 4px; background: rgba(255,210,63,.12); color: var(--y); }
.tag.red { background: rgba(255,92,92,.14); color: var(--red); }
.tag.purple { background: rgba(185,128,255,.14); color: var(--purple); }
.tag.blue { background: rgba(79,209,255,.14); color: var(--blue); }
.tag.green { background: rgba(109,255,142,.12); color: var(--green); }
.tag.orange { background: rgba(255,169,77,.14); color: #ffa94d; }
.card-link { margin-top: auto; padding-top: 18px; color: var(--y); font-weight: 700; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.art-economy { position: relative; height: 170px; margin: -6px -6px 18px; border-radius: 10px; background: radial-gradient(circle at 50% 110%, rgba(23,221,98,.22), transparent 60%), #0f0c06; overflow: hidden; border: 1px solid var(--line); }
.art-economy img { position: absolute; bottom: -34px; width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(0 0 12px rgba(23,221,98,.55)); animation: emeraldUp 3.4s ease-in infinite; }
.art-economy .c1 { left: 18%; animation-delay: 0s; }
.art-economy .c2 { left: 46%; animation-delay: 1.15s; }
.art-economy .c3 { left: 72%; animation-delay: 2.2s; }
@keyframes emeraldUp {
  0% { transform: translateY(0) rotate(-8deg); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-200px) rotate(12deg); opacity: 0; }
}

/* item icons inside cards, rank badges and the cash counter */
.card-icon img { width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.45)); }
.rank-badge { display: inline-flex; align-items: center; gap: 10px; }
.rank-badge img { width: 26px; height: 26px; image-rendering: pixelated; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.45)); }

/* ================= COMMANDS ================= */
.cmd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.cmd-col { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.cmd-col h3 { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 11px; color: var(--y); padding: 12px 12px 14px; }
.cmd-col h3 img { width: 22px; height: 22px; image-rendering: pixelated; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; transition: background .18s; }
.cmd + .cmd { border-top: 1px solid rgba(255,210,63,.07); }
.cmd:hover { background: rgba(255,210,63,.06); }
.cmd img { width: 24px; height: 24px; image-rendering: pixelated; flex-shrink: 0; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.45)); }
.cmd code { display: block; background: none; padding: 0; font-size: 15px; font-weight: 700; color: var(--y); }
.cmd span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* ================= LEADERBOARDS ================= */
.lb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lb-tab { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted); border: 1px solid var(--line); transition: all .2s; }
.lb-tab img { width: 20px; height: 20px; image-rendering: pixelated; }
.lb-tab:hover { color: var(--ink); border-color: var(--line2); }
.lb-tab.active { background: rgba(255,210,63,.14); color: var(--y); border-color: var(--y); }
.lb-board { display: grid; gap: 6px; max-width: 720px; }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; animation: itemIn .35s backwards; }
.lb-row.top1 { border-color: var(--y); background: linear-gradient(90deg, rgba(255,210,63,.16), transparent 60%); }
.lb-row.top2 { border-color: rgba(220,220,230,.4); }
.lb-row.top3 { border-color: rgba(200,130,60,.45); }
.lb-rank { font-family: var(--pixel); font-size: 11px; color: var(--dim); width: 38px; }
.lb-row.top1 .lb-rank { color: var(--y); }
.lb-head { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 4px; }
.lb-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-value { font-family: var(--mono); font-weight: 700; color: var(--y); }
.lb-loading { color: var(--muted); padding: 18px 4px; }

/* ================= FAQ ================= */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 14px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--pixel); font-size: 13px; color: var(--y); transition: transform .25s; }
.faq[open] summary::before { content: "–"; }
.faq summary:hover { color: var(--y); }
.faq p { padding: 0 20px 20px 48px; color: var(--muted); }

/* ================= STATUS ================= */
.status-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.mc-list {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' shape-rendering='crispEdges'%3E%3Crect width='32' height='32' fill='%232b2116'/%3E%3Crect x='0' y='0' width='8' height='8' fill='%23332719'/%3E%3Crect x='16' y='8' width='8' height='8' fill='%23241b12'/%3E%3Crect x='8' y='20' width='8' height='8' fill='%23362a1b'/%3E%3Crect x='24' y='24' width='8' height='8' fill='%23221a11'/%3E%3C/svg%3E");
  border: 3px solid #000; box-shadow: 0 20px 50px rgba(0,0,0,.5);
  padding: 20px; image-rendering: pixelated;
}
.mc-list-title { text-align: center; font-family: var(--pixel); font-size: 13px; margin-bottom: 18px; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-entry { display: flex; gap: 14px; padding: 10px; background: rgba(0,0,0,.72); border: 2px solid #a0a0a0; }
.mc-icon { width: 64px; height: 64px; image-rendering: pixelated; flex-shrink: 0; }
.mc-body { min-width: 0; flex: 1; }
.mc-row1 { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 12px; }
.mc-name { color: #fff; }
.mc-count { margin-left: auto; color: #aaa; }
.mc-ping { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.mc-ping i { width: 3px; background: #2a2a2a; }
.mc-ping i:nth-child(1) { height: 3px; } .mc-ping i:nth-child(2) { height: 5px; } .mc-ping i:nth-child(3) { height: 8px; } .mc-ping i:nth-child(4) { height: 11px; } .mc-ping i:nth-child(5) { height: 14px; }
.mc-ping.on i { background: #3cfc3c; box-shadow: 1px 1px 0 #0a4a0a; }
.mc-motd { margin-top: 8px; font-family: var(--pixel); font-size: 10.5px; line-height: 1.8; color: #aaa; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.mc-motd .line { display: block; overflow: hidden; text-overflow: ellipsis; }
.mc-gray { color: #aaa; }
.mc-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mc-btn {
  font-family: var(--pixel); font-size: 11px; padding: 12px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f;
  background: #6f6f6f; border: 2px solid #000;
  box-shadow: inset 2px 2px 0 #aaa, inset -2px -3px 0 #4a4a4a;
}
.mc-btn:hover { background: #7b87c6; box-shadow: inset 2px 2px 0 #b8c1f2, inset -2px -3px 0 #4a5390; color: #ffffa0; }
.mc-btn:active { transform: translateY(2px); }

.status-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-label { font-family: var(--pixel); font-size: 9px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.stat-big { font-family: var(--mono); font-size: 46px; line-height: 1; color: var(--green); text-shadow: 0 0 30px rgba(109,255,142,.35); }
.stat-mid { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.stat-note { font-size: 13px; color: var(--muted); }
.cap-bar { height: 10px; background: #000; border: 1px solid #2d2715; border-radius: 3px; overflow: hidden; }
.cap-bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--green) 0 8px, #4bd66a 8px 10px); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.ip-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-weight: 700; font-size: 17px; color: var(--y); text-align: left; min-width: 0; }
.ip-line .server-ip { overflow: hidden; text-overflow: ellipsis; }
.ip-line em { font-style: normal; font-family: var(--pixel); font-size: 8px; color: var(--dim); padding: 5px 6px; border: 1px solid var(--line2); border-radius: 4px; transition: all .2s; }
.ip-line:hover em { background: var(--y); color: #2a1d00; border-color: var(--y); }

.player-heads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.head { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; animation: popIn .4s backwards; }
.head img { width: 24px; height: 24px; image-rendering: pixelated; border-radius: 3px; }
@keyframes popIn { from { opacity: 0; transform: scale(.7); } }

/* ================= PRICES ================= */
.price-top { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 30px; }
.top-item { position: relative; padding: 16px; border-radius: 12px; background: linear-gradient(160deg, rgba(255,210,63,.14), rgba(255,210,63,.02)); border: 1px solid var(--line2); cursor: pointer; transition: transform .2s, border-color .2s; overflow: hidden; }
.top-item:hover { transform: translateY(-4px); border-color: var(--y); }
.top-item .rank-n { position: absolute; top: 10px; right: 12px; font-family: var(--pixel); font-size: 10px; color: var(--y3); }
.top-item .slot { width: 40px; height: 40px; margin-bottom: 12px; }
.top-item .ti-name { font-weight: 600; font-size: 14px; color: var(--muted); line-height: 1.25; }
.top-item .ti-price { font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--y); }

.price-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tabs { display: flex; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.tab { padding: 10px 18px; border-radius: 9px; font-family: var(--pixel); font-size: 11px; color: var(--muted); transition: all .2s; }
.tab small { font-family: var(--sans); font-size: 12px; opacity: .7; }
.tab.active { background: var(--y); color: #2a1d00; box-shadow: 0 3px 0 var(--y3); }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.search:focus-within { border-color: var(--y); }
.search svg { width: 18px; height: 18px; color: var(--dim); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--dim); }
select { height: 48px; padding: 0 14px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; }
select:focus { outline: 0; border-color: var(--y); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: transparent; transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--line2); }
.chip.active { background: rgba(255,210,63,.14); color: var(--y); border-color: var(--y); }
.chip small { opacity: .6; margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.item {
  min-width: 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  text-align: left; transition: transform .15s, border-color .15s, background .15s;
  animation: itemIn .35s backwards;
}
.item:hover { transform: translateY(-2px); border-color: var(--line2); background: var(--panel2); }
.item.sel { border-color: var(--y); background: rgba(255,210,63,.08); }
@keyframes itemIn { from { opacity: 0; transform: translateY(8px); } }
.item-body { min-width: 0; flex: 1; }
.item-name { display: block; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-stack { display: block; font-size: 12px; color: var(--dim); }
.item-price { font-family: var(--mono); font-weight: 700; color: var(--y); font-size: 15px; white-space: nowrap; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px; color: var(--muted); font-family: var(--pixel); font-size: 12px; line-height: 2; }

/* item "slot" swatch (fake inventory icon) */
.slot { display: block; position: relative; width: 34px; height: 34px; flex-shrink: 0; background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; padding: 4px; }
.slot i { display: block; width: 100%; height: 100%; background: var(--c1); box-shadow: inset -3px -3px 0 rgba(0,0,0,.28), inset 3px 3px 0 rgba(255,255,255,.22); image-rendering: pixelated; }
.slot i.ore { background: radial-gradient(circle at 30% 30%, var(--c2) 18%, transparent 20%), radial-gradient(circle at 70% 60%, var(--c2) 16%, transparent 18%), radial-gradient(circle at 40% 78%, var(--c2) 12%, transparent 14%), #7a7a7a; }
.slot i.gem { background: linear-gradient(135deg, transparent 22%, var(--c1) 22% 78%, transparent 78%), linear-gradient(45deg, transparent 22%, var(--c2) 22% 78%, transparent 78%); box-shadow: none; }
.slot i.item-ic { border-radius: 30%; }
.slot i.sprite { background: url("/assets/items.png") no-repeat; box-shadow: none; image-rendering: pixelated; filter: drop-shadow(1px 1px 0 rgba(0,0,0,.35)); }
.slot:has(.sprite) { padding: 2px; }

/* calculator */
.calc {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; width: min(560px, calc(100% - 32px));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: #16120a; border: 2px solid var(--y); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(255,210,63,.15);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.calc.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.calc .slot { width: 52px; height: 52px; padding: 6px; }
.calc-name { font-weight: 700; font-size: 17px; }
.calc-unit { font-size: 13px; color: var(--muted); }
.calc-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.calc-quick button { padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; border: 1px solid var(--line2); color: var(--muted); }
.calc-quick button:hover, .calc-quick button.active { background: var(--y); color: #2a1d00; border-color: var(--y); }
.calc-quick input { width: 74px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line2); background: #0d0b06; color: var(--ink); font: inherit; font-size: 13px; }
.calc-total { text-align: right; }
.calc-total span { display: block; font-size: 12px; color: var(--muted); }
.calc-total b { font-family: var(--mono); font-size: 24px; color: var(--y); white-space: nowrap; }
.calc-close { position: absolute; top: -12px; right: -12px; width: 28px; height: 28px; border-radius: 50%; background: var(--y); color: #2a1d00; font-weight: 800; font-size: 13px; }

.price-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ================= RANKS ================= */
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rank { position: relative; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in srgb, var(--r) 10%, var(--panel2)), var(--panel)); border: 1px solid color-mix(in srgb, var(--r) 30%, transparent); transition: transform .2s, box-shadow .3s; }
.rank:hover { box-shadow: 0 20px 50px color-mix(in srgb, var(--r) 18%, transparent); }
.rank.featured { border-width: 2px; border-color: var(--r); }
.rank.featured::before { content: "BEST"; position: absolute; top: -11px; right: 16px; font-family: var(--pixel); font-size: 9px; background: var(--r); color: #00202c; padding: 5px 8px; border-radius: 4px; }
.rank-badge { display: inline-block; font-family: var(--pixel); font-size: 15px; color: var(--r); text-shadow: 2px 2px 0 color-mix(in srgb, var(--r) 35%, #000); margin-bottom: 12px; }
.rank-price { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.rank-price b { font-family: var(--mono); font-size: 26px; color: var(--ink); }
.rank ul { list-style: none; display: grid; gap: 6px; }
.rank li { font-size: 14.5px; color: var(--muted); padding-left: 20px; position: relative; }
.rank li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--r); box-shadow: 2px 2px 0 color-mix(in srgb, var(--r) 40%, #000); }

/* ================= LINK CARDS ================= */
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-card {
  --lc: var(--y);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: 28px; min-height: 240px; border-radius: 18px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--lc) 26%, #0d0b06), #0f0d08 70%);
  border: 1px solid color-mix(in srgb, var(--lc) 40%, transparent);
  transition: transform .25s, box-shadow .3s;
}
.link-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 24px 60px color-mix(in srgb, var(--lc) 25%, transparent); }
.link-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -80px; border-radius: 50%; background: var(--lc); opacity: .12; filter: blur(10px); transition: transform .4s; }
.link-card:hover::after { transform: scale(1.35); }
.link-card.discord { --lc: #5865f2; }
.link-card.twitch { --lc: #9146ff; }
.lc-icon { width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px; border-radius: 14px; background: var(--lc); color: #fff; margin-bottom: 18px; box-shadow: 4px 4px 0 rgba(0,0,0,.4); }
.link-card.store .lc-icon { color: #2a1d00; }
.lc-icon svg { width: 30px; height: 30px; }
.lc-title { font-size: 28px; font-weight: 800; }
.lc-sub { color: var(--muted); }
.lc-url { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-weight: 700; color: var(--lc); filter: brightness(1.3); }

/* ================= JOIN ================= */
.join {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  padding: 44px; border-radius: 22px;
  background: radial-gradient(circle at 90% 10%, rgba(255,210,63,.22), transparent 50%), linear-gradient(160deg, #221b0b, #120f07);
  border: 2px solid var(--line2);
}
.join ol { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.join li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.join li b { width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--pixel); font-size: 11px; background: var(--y); color: #2a1d00; box-shadow: 3px 3px 0 var(--y3); flex-shrink: 0; }
.join li .server-ip { font-family: var(--mono); color: var(--y); margin: 0 6px; }
.big-ip {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 20px;
  background: #0b0904; border: 3px dashed var(--y); border-radius: 16px; transition: all .2s;
}
.big-ip .server-ip { font-family: var(--pixel); font-size: clamp(16px, 2.6vw, 26px); color: var(--y); text-shadow: 3px 3px 0 var(--y3); }
.big-ip small { color: var(--muted); font-size: 14px; }
.big-ip:hover { background: #17120a; transform: scale(1.02); border-style: solid; }

/* ================= FOOTER ================= */
.footer { margin-top: 100px; padding: 40px 0 120px; border-top: 1px solid var(--line); background: #0a0804; }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 30px; align-items: center; }
.footer-links { display: flex; gap: 20px; justify-content: flex-end; font-weight: 600; color: var(--muted); }
.footer-links a:hover { color: var(--y); }
.fine { grid-column: 1 / -1; color: var(--dim); font-size: 13px; }

/* ================= MUSIC PLAYER ================= */
.player {
  position: fixed; left: 16px; bottom: 16px; z-index: 55;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px; border-radius: 14px;
  background: rgba(20, 16, 8, .88); border: 1px solid var(--line2); backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.player.show { transform: none; }
.p-play { width: 44px; height: 44px; display: grid; place-items: center; background: var(--y); color: #2a1d00; border: 2px solid #000; box-shadow: inset 2px 2px 0 #fff09a, inset -2px -3px 0 var(--y3); }
.p-play:active { transform: translateY(2px); }
.p-play svg { width: 20px; height: 20px; }
.p-play .i-pause, .player.playing .p-play .i-play { display: none; }
.player.playing .p-play .i-pause { display: block; }
.player-info { display: flex; flex-direction: column; min-width: 0; width: 150px; }
.player-label { display: flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 8px; color: var(--y); text-transform: uppercase; }
.disc { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--y), #000, var(--y), #000, var(--y)); }
.player.playing .disc { animation: rot 1.4s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.player-track { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#viz { width: 96px; height: 32px; }
.p-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); border: 1px solid var(--line); }
.p-btn:hover { color: var(--ink); border-color: var(--line2); }
.p-btn svg { width: 16px; height: 16px; }
.p-sfx { font-family: var(--pixel); font-size: 7px; width: 40px; }
.p-sfx.on { color: var(--y); border-color: var(--y3); }
.p-sfx:not(.on) { text-decoration: line-through; }
#volume { width: 80px; accent-color: var(--y); cursor: pointer; }

/* ================= TOAST ================= */
.toast {
  position: fixed; top: 84px; left: 50%; z-index: 90;
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px;
  background: #1c1810; border: 2px solid #000; outline: 2px solid #5a4d2a; padding: 12px 18px;
  font-family: var(--pixel); font-size: 11px; color: var(--y); line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.toast small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .t-icon { width: 30px; height: 30px; background: var(--y); display: grid; place-items: center; color: #2a1d00; font-size: 16px; box-shadow: inset -3px -3px 0 var(--y3); }

/* floating +$ text and xp orbs for copy clicks */
.float-txt { position: fixed; z-index: 95; pointer-events: none; font-family: var(--pixel); font-size: 13px; color: var(--y); text-shadow: 2px 2px 0 #000; animation: floatUp 1s ease-out forwards; }
@keyframes floatUp { to { transform: translateY(-60px); opacity: 0; } }
.orb { position: fixed; z-index: 95; width: 10px; height: 10px; pointer-events: none; border-radius: 2px; background: #c8ff3c; box-shadow: 0 0 10px #b6ff3c, inset -2px -2px 0 #5aa600; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .cmd-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; margin: 0; padding: 12px 16px 20px; background: rgba(13,11,6,.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.open .nav-links { transform: none; }
  .nav.open { background: rgba(13,11,6,.97); }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .burger { display: flex; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.big { grid-column: 1 / -1; grid-row: auto; }
  .status-grid { grid-template-columns: 1fr; }
  .price-top { grid-template-columns: repeat(3, 1fr); }
  .price-top .top-item:nth-child(n+4) { display: none; }
  .ranks { grid-template-columns: 1fr 1fr; }
  .links { grid-template-columns: 1fr; }
  .link-card { min-height: 0; }
  .join { grid-template-columns: 1fr; padding: 30px; }
}
@media (max-width: 640px) {
  .cmd-cols { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .icon-link { display: none; }
  .ip-chip .ip-copy { display: none; }
  .ip-chip { padding: 0 12px; font-size: 13px; }
  .wordmark { font-size: 12px; }
  .section { padding-top: 84px; }
  .bento, .status-side, .ranks { grid-template-columns: 1fr; }
  .price-top { grid-template-columns: 1fr 1fr; }
  .price-top .top-item:nth-child(n+3) { display: none; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; }
  .tab { flex: 1; }
  select { width: 100%; }
  .mc-motd { font-size: 8px; }
  .mc-row1 { font-size: 10px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .cash-hud { right: 12px; bottom: 70px; }
  .player { left: 8px; right: 8px; bottom: 8px; gap: 8px; }
  .player-info { flex: 1; width: auto; }
  #viz, #volume { display: none; }
  .calc { grid-template-columns: auto 1fr; bottom: 84px; }
  .calc-total { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; justify-content: space-between; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .join { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= MULTI-PAGE ================= */
.nav-links a.active { color: var(--y); background: rgba(255,210,63,.1); }
main.page-out { opacity: 0; transform: translateY(10px); transition: opacity .18s, transform .18s; }
main.page-in { animation: pageIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }

.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 70px) 0 40px;
  background:
    radial-gradient(ellipse 70% 90% at 85% 0%, rgba(255,190,40,.16), transparent 60%),
    linear-gradient(to bottom, #15110a, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: repeating-linear-gradient(90deg, #5fa83a 0 18px, #6bbf45 18px 36px, #56982f 36px 54px);
  box-shadow: 0 -6px 0 rgba(0,0,0,.25) inset; opacity: .9;
}
.page-hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero .lede { max-width: 700px; margin-bottom: 20px; }
.inline-link { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.section.tight { padding-top: 40px; }
.teaser-cta { margin-top: 26px; display: flex; justify-content: center; }

/* rules */
.rules-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 50px 0 20px; align-items: start; }
.rules-toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.rules-toc nav { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.rules-toc a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 600; color: var(--muted); font-size: 15px; transition: all .2s; }
.rules-toc a:hover { color: var(--ink); background: rgba(255,210,63,.06); }
.rules-toc a.active { color: #2a1d00; background: var(--y); }
.toc-ic { width: 22px; text-align: center; }
.rules-body { display: grid; gap: 22px; }
.rule-sec { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 28px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.rule-sec h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.rule-ic { width: 44px; height: 44px; display: grid; place-items: center; font-size: 20px; background: var(--y); color: #2a1d00; box-shadow: 4px 4px 0 var(--y3); flex-shrink: 0; }
.rule-list { list-style: none; display: grid; gap: 4px; }
.rule { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 12px; border-radius: 10px; transition: background .2s; }
.rule:hover { background: rgba(255,210,63,.05); }
.rule-n { font-family: var(--pixel); font-size: 11px; color: var(--y); padding-top: 5px; }
.rule b { font-size: 17px; }
.rule p { color: var(--muted); font-size: 15.5px; }
.rules-foot { color: var(--dim); font-size: 14px; padding: 0 6px; }

/* 404: you died */
.died {
  min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 100px 16px;
  background: radial-gradient(ellipse at center, rgba(160,0,0,.55), rgba(60,0,0,.85) 70%), #1a0000;
}
.died-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.died-title { font-family: var(--pixel); font-weight: 400; font-size: clamp(28px, 6vw, 56px); color: #fff; text-shadow: 4px 4px 0 #3f3f3f; animation: dieIn .9s cubic-bezier(.2,.8,.2,1); }
@keyframes dieIn { from { transform: scale(2.2); opacity: 0; } }
.died-sub { color: #ddd; }
.died-score { font-family: var(--pixel); font-size: 13px; color: #fff; }
.died-score b { color: #ff5; font-weight: 400; }
.died-btns { display: grid; gap: 10px; width: min(360px, 100%); margin-top: 10px; }
.died .mc-btn { display: block; padding: 14px; }

@media (max-width: 1020px) {
  .rules-layout { grid-template-columns: 1fr; gap: 20px; }
  .rules-toc { position: static; }
  .rules-toc nav { flex-direction: row; flex-wrap: wrap; }
  .rules-toc a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 640px) {
  .rule-sec { padding: 20px 16px; }
  .rule { grid-template-columns: 38px 1fr; padding: 12px 4px; }
}

/* rank cards: buy button pinned to the bottom */
.rank { display: flex; flex-direction: column; }
.rank ul { margin-bottom: 20px; }
.rank-buy {
  margin-top: auto; text-align: center; padding: 11px; font-family: var(--pixel); font-size: 10px;
  background: var(--r); color: #1a1200; border: 2px solid #000;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.45), inset -2px -3px 0 rgba(0,0,0,.3);
  transition: transform .12s, filter .2s;
}
.rank-buy:hover { filter: brightness(1.12); transform: translateY(-2px); }
.rank-buy:active { transform: translateY(2px); }
.ranks { align-items: stretch; }

/* top payout cards */
.top-item { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.top-item .ti-name, .top-item .ti-price { display: block; }

/* rules: every section has its own colour (--rc) + a Minecraft item icon */
.rule-ic, .toc-ic { display: grid; place-items: center; flex-shrink: 0; }
.rule-ic { width: 48px; height: 48px; background: color-mix(in srgb, var(--rc) 22%, #120f07); border: 2px solid var(--rc); box-shadow: 4px 4px 0 color-mix(in srgb, var(--rc) 45%, #000); }
.rule-ic img { width: 30px; height: 30px; image-rendering: pixelated; filter: drop-shadow(1px 1px 0 rgba(0,0,0,.5)); }
.toc-ic { width: 26px; height: 26px; border-radius: 6px; background: color-mix(in srgb, var(--rc) 20%, transparent); }
.toc-ic img { width: 18px; height: 18px; image-rendering: pixelated; }
.rules-toc a.active { background: color-mix(in srgb, var(--rc) 18%, transparent); color: var(--rc); box-shadow: inset 3px 0 0 var(--rc); }
.rule-sec { border-top: 3px solid var(--rc); }
.rule-sec h2 { color: var(--ink); }
.rule-n { color: var(--rc); }
.rule:hover { background: color-mix(in srgb, var(--rc) 7%, transparent); }

/* ================= LEADERBOARD PAGE ================= */
.lb-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin: 10px 0 26px; }
.pod {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px 0; border-radius: 16px 16px 0 0; text-align: center;
  background: linear-gradient(180deg, rgba(255,210,63,.10), transparent 70%);
  animation: podRise .75s cubic-bezier(.2,.9,.25,1) backwards; animation-delay: var(--d, 0s);
}
@keyframes podRise { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.pod-head { position: relative; padding: 5px; border-radius: 12px; background: var(--panel2); border: 2px solid var(--line2); }
.pod-head img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 6px; display: block; }
.pod-name { font-weight: 700; font-size: 17px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-value { font-family: var(--mono); font-size: 20px; color: var(--y); }
.pod-block {
  width: 100%; margin-top: 6px; display: grid; place-items: center;
  font-family: var(--pixel); font-size: 13px; color: #2a1d00;
  background: linear-gradient(180deg, #6f6f6f, #4a4a4a); border: 3px solid #000; border-bottom: 0;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.25), inset -3px 0 0 rgba(0,0,0,.35);
  animation: podGrow .8s cubic-bezier(.2,.9,.25,1) backwards; animation-delay: var(--d, 0s);
  transform-origin: bottom;
}
@keyframes podGrow { from { transform: scaleY(0); } }
.pod1 .pod-block { height: 92px; background: linear-gradient(180deg, #ffe066, var(--y2)); box-shadow: inset 3px 3px 0 #fff3a8, inset -3px 0 0 var(--y3), 0 0 40px rgba(255,210,63,.35); }
.pod2 .pod-block { height: 64px; background: linear-gradient(180deg, #e9e9ef, #b9b9c4); }
.pod3 .pod-block { height: 46px; background: linear-gradient(180deg, #e0a06a, #b2703c); }
.pod1 .pod-head { border-color: var(--y); box-shadow: 0 0 30px rgba(255,210,63,.35); }
.pod1 .pod-value { font-size: 24px; text-shadow: 0 0 22px rgba(255,210,63,.5); }
.pod-crown { position: absolute; top: -14px; font-size: 26px; color: var(--y); filter: drop-shadow(0 0 10px rgba(255,210,63,.6)); animation: crownFloat 2.6s ease-in-out infinite; }
@keyframes crownFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }

/* rows 4+ with a bar showing how far behind #1 they are */
#leaderboards .lb-row { animation: lbIn .5s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--d, 0s); }
@keyframes lbIn { from { opacity: 0; transform: translateX(-18px); } }
.lb-bar { flex: 1; height: 8px; min-width: 40px; background: #0d0b06; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 0 6px; }
.lb-bar i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--y3), var(--y)); animation: barFill 1s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--d, 0s) + .1s); }
@keyframes barFill { from { width: 0; } }
.lb-row:hover .lb-bar i { filter: brightness(1.25); }
.lb-row .lb-head { transition: transform .2s; }
.lb-row:hover .lb-head { transform: scale(1.15) rotate(-4deg); }

/* first place shimmer on the compact home board */
.lb-row.top1 { position: relative; overflow: hidden; }
.lb-row.top1::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,240,154,.28) 50%, transparent 60%);
  transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite 1.5s;
}
@keyframes shine { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
.lb-foot { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  .lb-podium { gap: 6px; }
  .pod { padding: 16px 4px 0; }
  .pod-head img { width: 44px; height: 44px; }
  .pod-name { font-size: 13px; }
  .pod-value { font-size: 15px; }
  .pod1 .pod-value { font-size: 17px; }
  .lb-bar { display: none; }
}

/* ================= MINECRAFT GUI (/shop and /sell) ================= */
.gui-wrap { display: flex; justify-content: center; }
.gui-links { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-window {
  background: #c6c6c6; border: 4px solid #000;
  box-shadow: inset 4px 4px 0 #fff, inset -4px -4px 0 #555, 0 24px 60px rgba(0,0,0,.55);
  padding: 14px; image-rendering: pixelated;
  width: min(640px, 100%);
}
.mc-title { font-family: var(--pixel); font-size: 12px; color: #3f3f3f; margin-bottom: 12px; }
.mc-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.mc-slot {
  position: relative; aspect-ratio: 1; min-width: 30px; display: grid; place-items: center; padding: 4px;
  background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff;
  border: 0; cursor: default;
}
.mc-slot.filled { cursor: pointer; }
.mc-slot.filled:hover { background: #b6b6b6; }
.mc-slot.filled:hover::after { content: ""; position: absolute; inset: 2px; background: rgba(255,255,255,.45); pointer-events: none; }
.mc-slot.filled:active { transform: scale(.94); }
.mc-slot i { width: 100%; height: 100%; display: block; background-repeat: no-repeat; }
.mc-slot i.sprite { background-image: url("/assets/items.png"); image-rendering: pixelated; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); }
.slot-count, .slot-price {
  position: absolute; right: 1px; bottom: 0; font-family: var(--pixel); font-size: 8px;
  color: #fff; text-shadow: 2px 2px 0 #3f3f3f; pointer-events: none;
}
.slot-price { color: #fff09a; }
.mc-slot.pulse { animation: slotPulse .4s ease; }
@keyframes slotPulse { 50% { box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff, 0 0 0 4px rgba(255,210,63,.65); } }
.mc-navrow { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.mc-slot.nav { aspect-ratio: auto; width: auto; min-width: 46px; height: 34px; font-family: var(--pixel); font-size: 11px; color: #2a2a2a; }
.mc-slot.nav:disabled { opacity: .45; cursor: default; }
.mc-page { font-family: var(--pixel); font-size: 10px; color: #3f3f3f; }

/* item tooltip */
.mc-tip {
  position: fixed; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .12s;
  min-width: 150px; max-width: 280px; padding: 8px 10px;
  background: rgba(16, 0, 24, .94); border: 2px solid #2b0e4a; outline: 2px solid #120021;
  display: flex; flex-direction: column; gap: 3px;
}
.mc-tip.show { opacity: 1; }
.mc-tip .t-name { font-family: var(--pixel); font-size: 10px; color: #fff; line-height: 1.5; }
.mc-tip .t-line { font-size: 13px; color: #aaa; }
.mc-tip .t-line.gold { color: var(--y); font-weight: 700; }
.mc-tip .t-hint { font-size: 12px; color: #9a7ad1; font-style: italic; }

.gui-msg { margin-top: 18px; text-align: center; color: var(--muted); opacity: 0; transform: translateY(6px); transition: all .3s; }
.gui-msg.show { opacity: 1; transform: none; }
.gui-msg b { color: var(--ink); }
.gui-msg .gold { color: var(--y); }
.gui-msg em { color: var(--dim); font-size: 14px; }

/* /sell layout */
.sell-layout { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.sell-side { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.sell-hint { font-size: 13px; color: var(--dim); margin: 10px 2px; }
.mc-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.mc-palette::-webkit-scrollbar { width: 8px; }
.mc-palette::-webkit-scrollbar-thumb { background: var(--y3); border-radius: 4px; }
.mc-grid.drop { outline: 3px dashed transparent; outline-offset: 6px; transition: outline-color .2s; }
.mc-grid.drop-hot { outline-color: var(--y); }
.sell-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.sell-stack { display: flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 9px; color: #3f3f3f; }
.sell-stack button { padding: 6px 9px; font-family: var(--pixel); font-size: 9px; color: #2a2a2a; background: #8b8b8b; box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #555; }
.sell-stack button.active { background: var(--y); box-shadow: inset 2px 2px 0 #fff09a, inset -2px -2px 0 var(--y3); }
.sell-slots { font-family: var(--pixel); font-size: 9px; color: #3f3f3f; }
.sell-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding: 18px 22px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(23,221,98,.12), rgba(255,210,63,.1)); border: 1px solid var(--line2);
}
.sell-total-label { display: block; font-family: var(--pixel); font-size: 9px; color: var(--dim); margin-bottom: 6px; }
.sell-total b { font-family: var(--mono); font-size: clamp(26px, 4vw, 38px); color: var(--y); }
.sell-actions { display: flex; gap: 10px; }
#sellAll:disabled { opacity: .5; }

.drag-ghost { position: fixed; z-index: 130; width: 46px; height: 46px; pointer-events: none; transform: translate(-50%, -50%); opacity: .9; }
.drag-ghost .mc-slot { width: 46px; height: 46px; }
.cash-fly { position: fixed; z-index: 125; width: 26px; height: 26px; pointer-events: none; image-rendering: pixelated; }

@media (max-width: 900px) {
  .sell-layout { grid-template-columns: 1fr; }
  .mc-palette { grid-template-columns: repeat(8, 1fr); max-height: 220px; }
}
@media (max-width: 640px) {
  .mc-window { padding: 8px; border-width: 3px; }
  .mc-grid { gap: 3px; }
  .mc-palette { grid-template-columns: repeat(6, 1fr); }
  .mc-tip { max-width: 220px; }
}

/* in-game colours for the GUI tooltips and the back button */
.mc-tip .t-name.gold { color: #ffde21; }
.mc-tip .t-name.aqua { color: #55ffb8; }
.mc-tip .t-name.red { color: #ff5555; }
.mc-tip b.mint { color: #55ffb8; }
.mc-tip b.red { color: #ff5555; }
.mc-tip b.aqua { color: #55ffb8; }
.mc-slot i.pane-red { width: 100%; height: 100%; background: #a62c2c; box-shadow: inset 0 0 0 3px #c33b3b, inset 0 0 0 5px rgba(0,0,0,.25); }
.mc-slot i.ui-icon { width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; image-rendering: pixelated; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); }
a.mc-slot { text-decoration: none; }

/* buy menu */
.mc-tip .t-name.green { color: #55ff55; }
.mc-slot.preview { cursor: default; }
.mc-total { margin-top: 12px; text-align: center; font-family: var(--pixel); font-size: 10px; color: #3f3f3f; }
.mc-total b { color: #1d7a52; }

/* =========================================================
   v11 — NETWORK, ABOUT & EXTRA MOTION
   ========================================================= */
[hidden] { display: none !important; }
:root { --eu: #4fd1ff; --na: #ffd23f; }
.mono { font-family: var(--mono); }
@keyframes blink { 50% { opacity: .25; } }

.pulse-dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }

/* nav: eight links need to collapse a little earlier than before */
@media (max-width: 1180px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; margin: 0; padding: 12px 16px 20px; background: rgba(13,11,6,.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.open .nav-links { transform: none; }
  .nav.open { background: rgba(13,11,6,.97); }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .burger { display: flex; }
}

/* ---------- network page ---------- */
.net-hero::before {
  content: ""; position: absolute; right: -160px; top: -170px; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  background:
    conic-gradient(from 0deg, rgba(79,209,255,0) 0deg, rgba(79,209,255,.26) 42deg, rgba(79,209,255,0) 64deg),
    repeating-radial-gradient(circle, rgba(79,209,255,.13) 0 1px, transparent 1px 52px);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.net-hero .wrap { position: relative; z-index: 1; }
.you-banner {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 15px;
  animation: popIn .5s backwards .3s;
}
.you-banner::before { content: ""; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 12px #fff; animation: blink 1.4s infinite; }

.netmap-card {
  padding: 12px; border-radius: 20px; border: 1px solid rgba(79,209,255,.22);
  background: linear-gradient(180deg, #101c31, #0a1222);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(79,209,255,.07);
}
.netmap { position: relative; overflow: hidden; border-radius: 12px; background: #0d2647; }
.netmap-canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; cursor: crosshair; }
.netmap-hud { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; gap: 8px; pointer-events: none; }
.net-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px;
  background: rgba(5,8,20,.74); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(6px);
  font-family: var(--pixel); font-size: 9px; letter-spacing: .05em; color: var(--ink);
}
.net-chip.mono { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.net-chip[data-live="0"] .pulse-dot { background: var(--y); animation: none; }
.netmap-legend {
  position: absolute; left: 10px; bottom: 10px; z-index: 3; display: flex; gap: 14px; flex-wrap: wrap; pointer-events: none;
  padding: 6px 10px; border-radius: 8px; background: rgba(5,8,20,.74); border: 1px solid rgba(255,255,255,.1);
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.lg { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.lg.eu { background: var(--eu); } .lg.na { background: var(--na); } .lg.night { background: #16204a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); } .lg.both { background: var(--green); }

.net-label { position: absolute; z-index: 2; transform: translate(-50%, 0); white-space: nowrap; pointer-events: none; font-family: var(--pixel); font-size: clamp(7px, 1.1vw, 11px); text-shadow: 2px 2px 0 #000; }
.net-label.eu { color: var(--eu); } .net-label.na { color: var(--na); }
.net-you {
  position: absolute; z-index: 3; transform: translate(-50%, 0); pointer-events: none;
  font-family: var(--pixel); font-size: 9px; padding: 5px 8px; background: #fff; color: #10141f; border: 2px solid #000; box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  animation: youBob 1.6s ease-in-out infinite;
}
.net-you::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 8px; height: 8px; background: #fff; border: 2px solid #000; border-top: 0; border-left: 0; transform: translateX(-50%) rotate(45deg); }
@keyframes youBob { 50% { transform: translate(-50%, -6px); } }
.net-tip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0; transform: translate(14px, -130%); transition: opacity .12s;
  padding: 7px 10px; background: rgba(16,0,24,.94); border: 2px solid #2b0e4a; outline: 2px solid #120021; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.net-tip.show { opacity: 1; }

.net-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 6px 6px; }
.net-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line2); background: rgba(255,210,63,.05); color: var(--muted); font-weight: 700; font-size: 14px; transition: all .2s;
}
.net-btn:hover { color: var(--ink); border-color: var(--y); }
.net-btn.on { background: var(--y); border-color: var(--y); color: #2a1d00; }
.net-btn.on .pulse-dot { background: #2a1d00; animation: none; }
.net-btn b { font-size: 11px; }
.net-scrub { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.net-scrub input { flex: 1; accent-color: var(--y); cursor: pointer; }
.net-foot { padding: 6px 8px 8px; color: var(--dim); font-size: 13px; }

.clocks { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 14px; margin-top: 18px; }
.clock { position: relative; overflow: hidden; padding: 20px 22px 20px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); --c: var(--y); }
.clock::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--c); box-shadow: 0 0 24px var(--c); }
.clock.eu { --c: var(--eu); } .clock.na { --c: var(--na); }
.clock-tag { font-family: var(--pixel); font-size: 9px; color: var(--c); letter-spacing: .06em; }
.clock-time { display: block; margin: 8px 0 4px; font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.clock-sub { font-size: 13px; color: var(--muted); }
.clock.verdict[data-state="both"] { --c: var(--green); }
.clock.verdict[data-state="eu"] { --c: var(--eu); }
.clock.verdict[data-state="na"] { --c: var(--na); }
.clock.verdict[data-state="none"] { --c: var(--dim); }
.clock.verdict p { margin-top: 10px; color: var(--ink); font-size: 17px; line-height: 1.45; }

.overlap { margin-top: 14px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.ov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.ov-head b { font-size: 18px; }
.ov-when { font-family: var(--mono); font-weight: 700; font-size: 13.5px; color: var(--green); }
.ov-bar { position: relative; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 30px; margin: 18px 0 8px; }
.ov-c { display: block; border-radius: 3px; background: #1c170d; transition: background .3s; }
.ov-c.eu { background: color-mix(in srgb, var(--eu) 52%, #0d141c); }
.ov-c.na { background: color-mix(in srgb, var(--na) 52%, #1a1408); }
.ov-c.both { background: var(--green); box-shadow: 0 0 16px rgba(109,255,142,.5); animation: bothGlow 2.4s ease-in-out infinite; }
@keyframes bothGlow { 50% { box-shadow: 0 0 26px rgba(109,255,142,.8); } }
.ov-now { position: absolute; top: -7px; bottom: -7px; width: 3px; background: #fff; box-shadow: 0 0 12px #fff; transform: translateX(-50%); transition: left .5s linear; pointer-events: none; }
.ov-now::before { content: "NOW"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; color: #fff; }
.ov-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.ov-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ov-note { margin-top: 10px; color: var(--dim); font-size: 13px; }

.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.connect-grid .card { display: flex; flex-direction: column; }
.connect-grid .ip-line { margin-top: auto; width: 100%; padding: 13px 16px; border: 1px dashed var(--line2); border-radius: 10px; }
.connect-grid .card p { margin-bottom: 18px; }

.path {
  display: flex; align-items: stretch; margin-bottom: 18px; padding: 28px 22px; border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(79,209,255,.08), transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
}
.path-node { flex: 0 0 auto; width: 210px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.path-node b { font-size: 17px; }
.path-node span { color: var(--muted); font-size: 13.5px; }
.path-icons { height: 58px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.path-icons img { width: 42px; height: 42px; image-rendering: pixelated; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.4)); }
.dev { display: block; width: 40px; height: 40px; }
.dev svg { display: block; width: 100%; height: 100%; }
.path-link { position: relative; flex: 1; min-width: 60px; height: 6px; align-self: flex-start; margin-top: 26px; background: repeating-linear-gradient(90deg, rgba(255,210,63,.32) 0 8px, transparent 8px 16px); }
.path-link i { position: absolute; top: -3px; width: 12px; height: 12px; background: var(--y); box-shadow: 0 0 12px var(--y); animation: pathRun 2.4s linear infinite; }
.path-link i:nth-child(2) { animation-delay: .8s; }
.path-link i:nth-child(3) { animation-delay: 1.6s; }
@keyframes pathRun { from { left: -4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes pathRunV { from { top: -4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { top: 100%; opacity: 0; } }
.path-node.world .path-icons img { animation: worldPulse 2.4s ease-in-out infinite; }
@keyframes worldPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16) rotate(-5deg); } }

.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 12px 14px; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.svc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.svc[data-state="ok"] .svc-dot { background: var(--green); animation: ping 2s infinite; }
.svc[data-state="bad"] .svc-dot { background: var(--red); }
.svc[data-state="wait"] .svc-dot { background: var(--y); animation: blink 1s steps(2) infinite; }
.svc-name { font-weight: 700; }
.svc-val { grid-column: 1 / -1; font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--muted); }
.svc[data-state="ok"] .svc-val { color: var(--green); }
.svc[data-state="bad"] .svc-val { color: var(--red); }

@media (max-width: 900px) {
  .svc-list { grid-template-columns: 1fr; }
  .clocks { grid-template-columns: 1fr 1fr; }
  .clock.verdict { grid-column: 1 / -1; }
  .connect-grid { grid-template-columns: 1fr; }
  .path { flex-direction: column; align-items: center; padding: 24px 16px; }
  .path-node { width: 100%; }
  .path-link { flex: 0 0 64px; width: 6px; min-width: 0; height: 64px; margin: 6px 0; align-self: center; background: repeating-linear-gradient(180deg, rgba(255,210,63,.32) 0 8px, transparent 8px 16px); }
  .path-link i { top: auto; left: -3px; animation-name: pathRunV; }
}
@media (max-width: 640px) {
  .net-hero::before { right: -300px; }
  .netmap-legend { display: none; }
  .net-scrub { min-width: 100%; order: 3; }
  .clocks { grid-template-columns: 1fr; }
  .ov-bar { height: 24px; gap: 2px; }
  .ov-head b { font-size: 16px; }
  .net-label { font-size: 7px; }
}
.net-label b { display: inline-block; padding: 3px 6px 2px; font-weight: 400; background: rgba(5,8,20,.68); border: 1px solid rgba(255,255,255,.14); }

/* balanced headings: no orphaned last word */
.section-head h2, .page-hero h1, .join h2 { text-wrap: balance; }

/* ---------- global motion upgrades ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --ang: 360deg; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; opacity: 0; transition: opacity .3s; background: rgba(255,210,63,.08); }
.scroll-progress.on { opacity: 1; }
.scroll-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--y3), var(--y), #fff3a8); box-shadow: 0 0 12px rgba(255,210,63,.75); }
.spark { position: fixed; z-index: 96; pointer-events: none; }

/* reveal variants */
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.from-left.in, .reveal.from-right.in, .reveal.zoom.in { transform: none; }

/* nav: underline that slides in */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-store::after { display: none; }

/* yellow buttons get a slow shine */
.px-yellow { overflow: hidden; }
.px-yellow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: btnShine 4.6s ease-in-out infinite 1.4s; }
@keyframes btnShine { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }

/* cards: icons wiggle when you hover them */
.card:hover .card-icon img { animation: wiggle .55s; }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.12); } 75% { transform: rotate(9deg) scale(1.12); } }

/* the featured rank gets a moving border */
.rank.featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--r) 10%, var(--panel2)), var(--panel)) padding-box,
    conic-gradient(from var(--ang), var(--r), #fff, var(--r), color-mix(in srgb, var(--r) 30%, #000), var(--r)) border-box;
  animation: spinBorder 5s linear infinite;
}

/* item sprites outside of an inventory slot */
.floater i.sprite, [data-item] i.sprite, .demo-item i.sprite {
  display: block; width: 100%; height: 100%; background-image: url("/assets/items.png"); background-repeat: no-repeat; image-rendering: pixelated;
}

/* ---------- home hero ---------- */
.hero-content { position: relative; z-index: 2; transform: translateY(calc(var(--sy, 0) * -0.1px)); opacity: calc(1 - var(--sy, 0) / 1100); }
.hero-logo-wrap { transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px)); transition: transform .3s ease-out; }
.hero-logo-wrap::before {
  content: ""; position: absolute; inset: -45%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255,210,63,.14) 0 5deg, transparent 5deg 17deg);
  -webkit-mask-image: radial-gradient(circle, #000 14%, transparent 60%); mask-image: radial-gradient(circle, #000 14%, transparent 60%);
  animation: sweep 50s linear infinite;
}
.hero-tag .hl { background: linear-gradient(100deg, var(--y) 30%, #fff8c9 50%, var(--y) 70%) 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(3px 3px 0 #000); animation: hlShimmer 5s linear infinite; }
@keyframes hlShimmer { to { background-position: -220% 0; } }
.hero-verbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: -6px 0 18px; font-family: var(--pixel); font-size: clamp(9px, 1.35vw, 12px); color: rgba(255,247,222,.62); text-shadow: 2px 2px 0 #000, 0 0 12px rgba(0,0,0,.6); }
.hero-verbs span { animation: verbLit 7.5s infinite; }
.hero-verbs span:nth-child(2) { animation-delay: 1.5s; } .hero-verbs span:nth-child(3) { animation-delay: 3s; }
.hero-verbs span:nth-child(4) { animation-delay: 4.5s; } .hero-verbs span:nth-child(5) { animation-delay: 6s; }
@keyframes verbLit { 0%, 20%, 100% { color: rgba(255,247,222,.62); transform: none; } 4%, 16% { color: var(--y); transform: translateY(-4px); text-shadow: 2px 2px 0 #000, 0 0 18px rgba(255,210,63,.75); } }

.region-pill {
  display: inline-flex; align-items: center; gap: 12px; margin: -12px 0 24px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s;
}
.region-pill:hover { border-color: var(--y); transform: translateY(-2px); }
.rp-side { padding: 5px 7px; font-family: var(--pixel); font-size: 10px; }
.rp-side.eu { background: var(--eu); color: #06202b; } .rp-side.na { background: var(--na); color: #2a1d00; }
.rp-line { position: relative; width: 68px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px); }
.rp-line i { position: absolute; top: -3px; left: 0; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 10px #fff; animation: rpRun 2.2s linear infinite; }
.rp-line i:nth-child(2) { animation-delay: .73s; } .rp-line i:nth-child(3) { animation-delay: 1.46s; }
@keyframes rpRun { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 9px); opacity: 0; } }
.rp-text { color: var(--muted); font-size: 13px; }

.floaters { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.floater {
  position: absolute; left: var(--x); bottom: -70px; width: var(--s); height: var(--s); opacity: 0;
  animation: floatRise var(--dur) linear infinite; animation-delay: var(--delay);
  translate: calc(var(--px, 0) * var(--z) * 8px) calc(var(--py, 0) * var(--z) * 6px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.55));
}
@keyframes floatRise {
  0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; }
  10% { opacity: .8; }
  50% { transform: translate(var(--sway), -55vh) rotate(12deg); }
  90% { opacity: .8; }
  100% { transform: translate(calc(var(--sway) * -.6), -112vh) rotate(-6deg); opacity: 0; }
}

/* the crossing facts ticker under the price ticker */
.ticker.alt { z-index: 1; margin-top: 10px; background: #0a0804; color: var(--y); border-color: var(--y3); transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ticker.alt .ticker-track { animation-direction: reverse; animation-duration: 60s; }
.ticker.alt .tick { padding: 14px 8px 14px 24px; font-family: var(--pixel); font-size: 11px; letter-spacing: .05em; border-right: 0; gap: 26px; }
.ticker.alt .tick::after { content: "✦"; color: var(--y3); }

/* ---------- numbers strip ---------- */
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.num-tile { position: relative; overflow: hidden; padding: 22px 18px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.num-tile:hover { transform: translateY(-4px); border-color: var(--line2); }
.num-tile b { display: block; font-family: var(--mono); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; color: var(--y); text-shadow: 0 0 24px rgba(255,210,63,.3); }
.num-tile span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.num-tile code { font-size: .92em; }
.num-tile::after { content: ""; position: absolute; right: -22px; bottom: -22px; width: 72px; height: 72px; background: var(--y); opacity: .06; transform: rotate(45deg); transition: opacity .3s, transform .4s; }
.num-tile:hover::after { opacity: .14; transform: rotate(45deg) scale(1.3); }

/* ---------- homepage network strip ---------- */
.net-strip { display: grid; grid-template-columns: .9fr 1.4fr; gap: 38px; align-items: center; }
.mini-clocks { display: flex; gap: 12px; margin: 22px 0 14px; }
.mini-clock { flex: 1; padding: 14px 16px; border-radius: 12px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-left: 4px solid var(--c); --c: var(--y); }
.mini-clock.eu { --c: var(--eu); } .mini-clock.na { --c: var(--na); }
.mini-clock span { display: block; font-family: var(--pixel); font-size: 8px; color: var(--c); }
.mini-clock b { font-family: var(--mono); font-size: 26px; }
.mini-tag { display: inline-block; margin-bottom: 20px; padding: 6px 10px; font-family: var(--pixel); font-size: 9px; color: var(--green); background: rgba(109,255,142,.1); border: 1px solid rgba(109,255,142,.3); }
.net-strip-map .netmap { border-radius: 16px; border: 1px solid rgba(79,209,255,.25); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 50px rgba(79,209,255,.08); }

/* ---------- founder card + teaser ---------- */
.founder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.founder-card, .founder-teaser {
  position: relative; padding: 30px; border-radius: 22px; border: 2px solid transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,63,.16), transparent 55%) padding-box,
    linear-gradient(170deg, #241d0d, #120f07) padding-box,
    conic-gradient(from var(--ang), var(--y3), var(--y), #fff3a8, var(--blue), var(--y3)) border-box;
  animation: spinBorder 7s linear infinite;
}
.fc-top { display: flex; align-items: center; gap: 22px; }
.fc-avatar {
  position: relative; flex: 0 0 auto; width: 108px; height: 108px; padding: 9px; border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, #3a2f14, #17120a); border: 2px solid var(--y3);
  box-shadow: 0 0 0 5px rgba(255,210,63,.08), 0 16px 36px rgba(0,0,0,.5); animation: bob 4.5s ease-in-out infinite;
}
.fc-avatar svg, .fc-avatar img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.fc-avatar::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--y); border-radius: 18px; animation: ringOut 2.8s ease-out infinite; pointer-events: none; }
@keyframes ringOut { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.fc-id h3 { margin: 0 0 6px; font-size: 32px; line-height: 1.05; }
.fc-role { display: inline-block; padding: 5px 8px; font-family: var(--pixel); font-size: 9px; color: #2a1d00; background: var(--y); box-shadow: 3px 3px 0 var(--y3); }
.founder-card blockquote { margin: 24px 0; padding-left: 18px; border-left: 4px solid var(--y); font-size: 18.5px; line-height: 1.6; }
.meters { display: grid; gap: 18px; margin: 22px 0; }
.meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.meter-head b { font-family: var(--pixel); font-size: 12px; color: var(--y); text-shadow: 0 0 16px rgba(255,210,63,.5); }
.meter-bar { position: relative; height: 18px; margin-top: 8px; overflow: hidden; border: 2px solid #000; background: #0b0904; box-shadow: inset 0 0 0 2px #2d2715; }
.meter-fill { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, var(--y) 0 10px, var(--y2) 10px 12px); transition: width 1.7s cubic-bezier(.2,.8,.2,1) .35s; }
.in .meter-fill { width: var(--fill, 100%); }
.meter-fill.over { box-shadow: 0 0 22px var(--y); animation: overCharge 1.1s ease-in-out infinite .4s; }
@keyframes overCharge { 50% { filter: brightness(1.55); } }
.meter-bar::after { content: "»»"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-size: 8px; color: #2a1d00; animation: blink 1s steps(2) infinite; }
.meter small { display: block; margin-top: 6px; color: var(--dim); font-size: 12.5px; }
.fc-links { display: flex; gap: 12px; flex-wrap: wrap; }

.founder-teaser { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 34px; padding: 36px; }
.founder-teaser .fc-avatar { width: 132px; height: 132px; }
.ft-body h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 44px); }
.ft-body > p { color: var(--muted); font-size: 17px; max-width: 640px; }
.founder-teaser .meters { grid-template-columns: 1fr 1fr; margin: 20px 0; max-width: 640px; }

/* ---------- the receipt ---------- */
.ledger {
  position: relative; padding: 30px 28px 26px; border-radius: 6px 6px 0 0; color: #2b2410; font-family: var(--mono);
  background: #f4ecd0 repeating-linear-gradient(0deg, rgba(0,0,0,.028) 0 1px, transparent 1px 4px);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.45); transform-origin: 50% 0;
}
.ledger::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(135deg, #f4ecd0 25%, transparent 25%) -7px 0, linear-gradient(225deg, #f4ecd0 25%, transparent 25%) -7px 0; background-size: 14px 14px; background-repeat: repeat-x; }
.ledger-head { display: grid; gap: 4px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 2px dashed rgba(43,36,16,.4); text-align: center; }
.ledger-org { font-family: var(--pixel); font-size: 9px; letter-spacing: .08em; color: #8a6a10; }
.ledger-head b { font-size: 21px; }
.ledger-form { font-size: 12px; opacity: .7; }
.ledger-list { list-style: none; display: grid; gap: 9px; }
.ledger-row { display: flex; align-items: baseline; gap: 6px; font-size: 14.5px; font-weight: 600; opacity: 0; transform: translateX(-14px); }
.ledger-row i { flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(43,36,16,.38); margin-bottom: 4px; }
.ledger-row em { font-style: normal; font-weight: 800; color: #1d7a3e; }
.ledger.play .ledger-row { animation: rowIn .45s ease-out forwards; animation-delay: calc(var(--i) * .26s + .3s); }
.ledger.play .ledger-row em { display: inline-block; animation: paidPop .4s cubic-bezier(.2,.9,.3,1) backwards; animation-delay: calc(var(--i) * .26s + .55s); }
@keyframes rowIn { to { opacity: 1; transform: none; } }
@keyframes paidPop { from { transform: scale(2.2); opacity: 0; } }
.ledger-total { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 2px solid #2b2410; opacity: 0; }
.ledger.play .ledger-total { animation: rowIn .5s ease-out forwards; animation-delay: calc(var(--n) * .26s + .5s); }
.ledger-total span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.ledger-total b { display: block; margin: 2px 0; font-size: 28px; line-height: 1.1; }
.ledger-total b.zero { color: #1d7a3e; }
.ledger-total small { display: block; font-size: 11.5px; opacity: .7; line-height: 1.35; }
.ledger-stamp-row { display: flex; justify-content: flex-end; align-items: center; height: 84px; margin: 6px 6px -8px; }
.ledger-stamp {
  padding: 8px 16px; border: 5px solid #c62828; border-radius: 6px; color: #c62828; text-align: center;
  font-family: var(--pixel); font-size: 20px; line-height: 1.35; letter-spacing: .05em; opacity: 0; transform: rotate(-12deg) scale(2.6); mix-blend-mode: multiply; pointer-events: none;
}
.ledger.play .ledger-stamp { animation: stampIn .35s cubic-bezier(.2,.9,.3,1) forwards; animation-delay: calc(var(--n) * .26s + .7s); }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-12deg) scale(2.6); } 60% { opacity: 1; transform: rotate(-12deg) scale(.93); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }
.ledger.thud { animation: thud .4s; }
@keyframes thud { 25% { transform: translateY(5px) rotate(.2deg); } 55% { transform: translateY(-2px); } }

/* ---------- about hero ---------- */
.about-hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.about-art { position: relative; height: 250px; }
.aa { position: absolute; display: block; width: 68px; height: 68px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(255,210,63,.25)); animation: bob 4s ease-in-out infinite; }
.aa.a1 { left: 12%; top: 6%; } .aa.a2 { right: 12%; top: 0; width: 84px; height: 84px; animation-delay: -1.1s; }
.aa.a3 { left: 40%; top: 38%; width: 58px; height: 58px; animation-delay: -2s; }
.aa.a4 { left: 8%; bottom: 4%; width: 76px; height: 76px; animation-delay: -.6s; }
.aa.a5 { right: 14%; bottom: 8%; animation-delay: -2.7s; }

/* ---------- feature showcase ---------- */
.feat { display: grid; grid-template-columns: 250px 1fr; gap: 20px; }
.feat-tabs { display: grid; gap: 8px; align-content: start; }
.feat-tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-align: left; font-weight: 700; color: var(--muted); transition: all .2s; }
.feat-tab img { width: 28px; height: 28px; flex-shrink: 0; image-rendering: pixelated; filter: grayscale(.7) brightness(.8); transition: filter .25s, transform .25s; }
.feat-tab:hover { color: var(--ink); border-color: var(--line2); }
.feat-tab.active { color: var(--y); border-color: var(--y); background: linear-gradient(90deg, rgba(255,210,63,.15), rgba(255,210,63,.03)); }
.feat-tab.active img { filter: none; transform: scale(1.12) rotate(-4deg); }
.tab-prog { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; }
.feat-tab.run .tab-prog { animation: tabProg 9s linear forwards; }
@keyframes tabProg { to { transform: scaleX(1); } }
.feat-panels { min-height: 440px; }
.feat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; height: 100%; padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); animation: panelIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateX(22px); } }
.fp-text h3 { margin: 14px 0 10px; font-size: 30px; line-height: 1.15; }
.fp-text p { color: var(--muted); font-size: 16.5px; }
.fp-text p b { color: var(--y); }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.cmds code { padding: 6px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 700; }
.fp-text .card-link { display: inline-block; padding-top: 4px; }
.fp-visual { position: relative; min-height: 320px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 130%, rgba(255,210,63,.12), transparent 60%), #0d0a05; }
.demo-cap { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 11.5px; color: var(--dim); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.also span { margin-right: 6px; font-family: var(--pixel); font-size: 9px; color: var(--dim); text-transform: uppercase; }
.also i { padding: 6px 12px; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; transition: all .2s; }
.also i:hover { color: var(--y); border-color: var(--y); transform: translateY(-2px); }

/* demo: /sell */
.demo-sell { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 30px; }
.demo-stage { position: relative; flex: 0 0 168px; }
.demo-chest { position: absolute; left: 50%; bottom: 0; width: 84px; height: 84px; transform: translateX(-50%); }
.demo-chest img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.demo-chest.hit { animation: chestHit .4s; }
@keyframes chestHit { 30% { transform: translateX(-50%) scale(1.15, .86); } 60% { transform: translateX(-50%) scale(.94, 1.09); } }
.demo-item { position: absolute; left: 50%; top: -6px; width: 44px; height: 44px; margin-left: -22px; opacity: 0; animation: itemDrop .9s cubic-bezier(.55,0,.9,.6) forwards; filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
@keyframes itemDrop { 0% { transform: translateY(0) rotate(-16deg); opacity: 0; } 14% { opacity: 1; } 100% { transform: translateY(112px) rotate(14deg) scale(.55); opacity: 1; } }
.demo-feed { display: grid; gap: 6px; align-content: start; min-height: 112px; }
.demo-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-radius: 8px; background: rgba(255,210,63,.07); border: 1px solid var(--line); font-size: 14px; font-weight: 600; animation: lbIn .4s backwards; }
.demo-line b { font-family: var(--mono); color: var(--green); }
.demo-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line2); }
.demo-total span { font-family: var(--pixel); font-size: 10px; color: var(--dim); }
.demo-total b { font-family: var(--mono); font-size: 30px; color: var(--y); text-shadow: 0 0 22px rgba(255,210,63,.35); }

/* demo: UHC */
.demo-uhc { display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; text-align: center; }
.crown { font-size: 34px; line-height: 1; color: var(--y); opacity: 0; transform: translateY(10px) scale(.5); transition: all .4s; filter: drop-shadow(0 0 12px rgba(255,210,63,.7)); }
.demo-uhc.won .crown { opacity: 1; transform: none; animation: crownFloat 2.6s ease-in-out infinite; }
.hearts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 320px; }
.heart { display: block; width: 36px; height: 32px; }
.heart svg { display: block; width: 100%; height: 100%; }
.heart.lost { animation: heartBreak .6s forwards; }
@keyframes heartBreak { 0% { transform: scale(1); filter: brightness(2.2); } 30% { transform: scale(1.3) rotate(-8deg); filter: brightness(3); } 100% { transform: scale(.45) rotate(20deg); opacity: .12; filter: grayscale(1); } }
.demo-uhc.last .heart:not(.lost) { animation: heartWin 1s ease-in-out infinite; }
@keyframes heartWin { 50% { transform: scale(1.35); filter: drop-shadow(0 0 12px #ffd23f) brightness(1.3); } }
.uhc-status { font-family: var(--pixel); font-size: 11px; line-height: 1.6; color: var(--muted); }
.uhc-status .st-win { display: none; color: var(--y); }
.demo-uhc.won .st-win { display: inline; }
.demo-uhc.won .st-play { display: none; }

/* demo: auction house */
.demo-ah { display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px 20px 34px; }
.ah-card { position: relative; display: flex; align-items: center; gap: 14px; width: min(320px, 100%); padding: 12px 14px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line2); background: linear-gradient(180deg, #1e180b, #15100a); }
.slot-lg { display: block; flex-shrink: 0; width: 46px; height: 46px; padding: 4px; background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; }
.ah-card b { display: block; font-size: 15px; }
.ah-card small { color: var(--muted); font-size: 12.5px; }
.ah-state { margin-left: auto; padding: 6px 8px; font-family: var(--pixel); font-size: 8px; color: var(--y); background: rgba(255,210,63,.14); }
.ah-sold { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pixel); font-size: 20px; letter-spacing: .12em; color: var(--green); background: rgba(8,22,12,.86); opacity: 0; animation: ahSold 7.5s infinite; }
.ah-card:nth-child(2) .ah-sold { animation-delay: 2.5s; } .ah-card:nth-child(3) .ah-sold { animation-delay: 5s; }
@keyframes ahSold { 0%, 52% { opacity: 0; transform: scale(1.25); } 58%, 82% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(1); } }

/* demo: crate keys */
.demo-keys { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-content: center; padding: 20px; }
.key-tile { grid-column: span 2; position: relative; display: grid; justify-items: center; gap: 6px; padding: 16px 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); animation: keySpot 9s infinite; animation-delay: calc(var(--i) * 1.5s); }
.key-tile img { width: 44px; height: 44px; image-rendering: pixelated; filter: var(--kf, none) drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.key-tile span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.key-tile:nth-child(4), .key-tile:nth-child(5) { grid-column: span 3; }
.key-tile.legend { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; align-items: center; gap: 14px; padding: 12px; border-color: rgba(255,210,63,.4); background: linear-gradient(90deg, rgba(255,210,63,.1), transparent); }
.key-tile.legend span { font-size: 17px; color: var(--y); }
.key-tile.legend em { padding: 4px 6px; font-style: normal; font-family: var(--pixel); font-size: 8px; color: #2a1d00; background: var(--y); }
@keyframes keySpot {
  0%, 15%, 100% { transform: none; }
  3%, 12% { transform: translateY(-5px); border-color: var(--kc, var(--y)); background: color-mix(in srgb, var(--kc, var(--y)) 15%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--kc, var(--y)) 30%, transparent); }
}

/* demo: TNT */
.demo-tnt { display: grid; place-items: center; padding: 20px 20px 34px; }
.tnt-stage { width: 100%; max-width: 320px; text-align: center; }
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin-bottom: 16px; }
.wall i { display: block; aspect-ratio: 1; background: #7d7d7d; box-shadow: inset 3px 3px 0 #a5a5a5, inset -3px -3px 0 #575757; transition: transform .65s cubic-bezier(.4,0,1,1), opacity .65s; }
.wall i:nth-child(3n) { background: #6b6b6b; } .wall i:nth-child(5n) { background: #8a8a8a; }
.demo-tnt.boom .wall i { opacity: 0; transform: translate(calc((var(--r, .5) - .5) * 260px), calc(var(--u, .5) * -110px + 90px)) rotate(calc((var(--r, .5) - .5) * 420deg)); }
.tnt { display: block; width: 96px; height: 96px; margin: 0 auto; cursor: pointer; transition: transform .15s; }
.tnt:hover { transform: scale(1.06); }
.tnt img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.demo-tnt.lit .tnt img { animation: tntFlash .28s steps(2) infinite, tntSwell .9s ease-in forwards; }
@keyframes tntFlash { 50% { filter: brightness(4) saturate(0); } }
@keyframes tntSwell { to { transform: scale(1.4); } }
.demo-tnt.boom .tnt { opacity: 0; transition: none; }
.demo-tnt.boom .tnt-stage { animation: shake .55s; }
@keyframes shake { 10%, 50%, 90% { transform: translate(-5px, 2px); } 30%, 70% { transform: translate(6px, -3px); } }
.demo-tnt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 70%, #fff, rgba(255,190,60,.7) 40%, transparent 70%); opacity: 0; }
.demo-tnt.boom::after { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.tnt-cap { margin-top: 12px; font-family: var(--pixel); font-size: 10px; color: var(--muted); }

/* demo: crossplay */
.demo-cross { display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; }
.cross-devices { display: flex; gap: 26px; }
.cross-devices .dev { width: 58px; height: 58px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); animation: bob 3.6s ease-in-out infinite; }
.cross-devices .dev:nth-child(2) { animation-delay: -1.2s; } .cross-devices .dev:nth-child(3) { animation-delay: -2.4s; }
.cross-flow { display: flex; gap: 40px; }
.cross-flow i { width: 4px; height: 44px; background: repeating-linear-gradient(180deg, rgba(255,210,63,.4) 0 6px, transparent 6px 12px); position: relative; }
.cross-flow i::after { content: ""; position: absolute; left: -4px; top: 0; width: 12px; height: 12px; background: var(--y); box-shadow: 0 0 12px var(--y); animation: flowDown 1.8s linear infinite; }
.cross-flow i:nth-child(2)::after { animation-delay: .6s; } .cross-flow i:nth-child(3)::after { animation-delay: 1.2s; }
@keyframes flowDown { from { top: -6px; opacity: 0; } 15%, 85% { opacity: 1; } to { top: 40px; opacity: 0; } }
.cross-world { display: grid; justify-items: center; gap: 4px; }
.cross-world img { width: 64px; height: 64px; image-rendering: pixelated; animation: worldPulse 2.4s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(109,255,142,.35)); }
.cross-world b { font-family: var(--pixel); font-size: 10px; color: var(--green); }

/* ---------- "a day on seasmp" timeline ---------- */
.tl { --tl: 0; position: relative; display: grid; gap: 26px; padding: 10px 0; list-style: none; }
.tl::before, .tl::after { content: ""; position: absolute; left: 50%; top: 0; width: 4px; transform: translateX(-50%); }
.tl::before { bottom: 0; background: rgba(255,210,63,.12); }
.tl::after { height: calc(var(--tl) * 100%); background: linear-gradient(180deg, var(--y3), var(--y)); box-shadow: 0 0 18px rgba(255,210,63,.6); }
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.tl-dot { grid-column: 2; grid-row: 1; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; background: #1a160c; border: 3px solid #3a3322; transition: all .4s; }
.tl-dot img { width: 32px; height: 32px; image-rendering: pixelated; filter: grayscale(1) brightness(.6); transition: filter .4s, transform .4s; }
.tl-step.on .tl-dot { border-color: var(--y); background: #241d0d; box-shadow: 0 0 0 5px rgba(255,210,63,.12), 0 0 28px rgba(255,210,63,.45); }
.tl-step.on .tl-dot img { filter: none; transform: scale(1.12); }
.tl-card { grid-row: 1; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); opacity: .35; transform: translateY(14px); transition: opacity .5s, transform .5s, border-color .5s; }
.tl-step.on .tl-card { opacity: 1; transform: none; border-color: var(--line2); }
.tl-step:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-step:nth-child(even) .tl-card { grid-column: 3; }
.tl-n { font-family: var(--pixel); font-size: 10px; color: var(--y); }
.tl-card h3 { margin: 6px 0 4px; font-size: 21px; }
.tl-card p { color: var(--muted); font-size: 15px; }

/* ---------- work log ---------- */
.log { display: grid; gap: 10px; max-width: 920px; list-style: none; }
.log li { display: grid; grid-template-columns: 78px 1fr; gap: 4px 18px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); transition: border-color .2s, transform .2s; }
.log li:hover { border-color: var(--line2); transform: translateX(4px); }
.log-tag { grid-row: span 2; align-self: start; padding: 7px 0; text-align: center; font-family: var(--pixel); font-size: 8px; color: var(--y); background: rgba(255,210,63,.12); }
.log-tag.new { color: #2a1d00; background: var(--y); animation: pulse 1.8s ease-in-out infinite; }
.log li b { font-size: 16.5px; }
.log li p { grid-column: 2; color: var(--muted); font-size: 14.5px; }

/* ---------- responsive for the new pieces ---------- */
@media (max-width: 1020px) {
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .net-strip { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .feat-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .about-hero-in { grid-template-columns: 1fr; }
  .about-art { display: none; }
}
@media (max-width: 760px) {
  .feat-panel { grid-template-columns: 1fr; padding: 22px; }
  .founder-teaser { grid-template-columns: 1fr; text-align: left; padding: 26px; }
  .founder-teaser .meters { grid-template-columns: 1fr; }
  .tl::before, .tl::after { left: 28px; }
  .tl-step { grid-template-columns: 58px 1fr; gap: 16px; }
  .tl-dot { grid-column: 1; margin: 0; }
  .tl-step:nth-child(odd) .tl-card, .tl-step:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .mini-clocks { flex-direction: column; }
  .fc-top { flex-direction: column; align-items: flex-start; }
  .ledger-total { grid-template-columns: 1fr; }
  .ledger-stamp { font-size: 16px; }
  .region-pill .rp-text { display: none; }
  .log li { grid-template-columns: 1fr; }
  .log-tag { grid-row: auto; justify-self: start; padding: 6px 10px; }
  .log li p { grid-column: 1; }
}

.card > .card-link { display: inline-block; }
.bento + .numbers { margin-top: 16px; }

/* ---------- layout safety for the new pieces ---------- */
.net-strip > *, .founder > *, .feat-panels, .feat-panel > * { min-width: 0; }
.netmap, .netmap-canvas { min-width: 0; max-width: 100%; }
.ledger { overflow-x: clip; }
/* eight footer links no longer fit on one line on small screens */
.footer-in > * { min-width: 0; }
.footer-links { flex-wrap: wrap; gap: 8px 20px; }
/* the server-list card may hold a long MOTD line: let the grid shrink instead of growing past the screen */
.status-grid > *, .status-side > * { min-width: 0; }
/* no sideways reveal on narrow screens (a translated, still-invisible block would widen the page) */
@media (max-width: 1180px) {
  .reveal.from-right, .reveal.from-left { transform: translateY(28px); }
}

.net-label .lb-short { display: none; }
@media (max-width: 640px) { .net-label .lb-long { display: none; } .net-label .lb-short { display: inline; } }

/* captions on the new sections: brighter than --dim so they stay readable */
:root { --dim2: #a0957a; }
.netmap { aspect-ratio: 80 / 36; }
.net-foot, .ov-note, .ov-scale, .demo-cap, .meter small, .clock-sub, .tnt-cap, .also span { color: var(--dim2); }

/* =========================================================
   PLAYER STATS (/stats/) + the little "look up a player" boxes
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* nine links: tighter padding on every desktop width so they fit next to the icons and the IP chip, and never wrap */
.nav-links a { white-space: nowrap; }
@media (min-width: 1181px) {
  .nav-links { gap: 0; margin-left: 4px; }
  .nav-links a { padding: 8px 10px; font-size: 14.5px; }
  .nav { gap: 16px; }
}
@media (min-width: 1233px) {            /* the bar is at full width from here, so there is room to breathe again */
  .nav-links a { padding: 8px 12px; font-size: 15px; }
}

.stats-form { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.stats-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 18px; border-radius: 14px;
  background: var(--panel); border: 2px solid var(--line2); transition: border-color .2s, box-shadow .2s;
}
.stats-field:focus-within { border-color: var(--y); box-shadow: 0 0 0 4px rgba(255,210,63,.12), 0 0 40px rgba(255,210,63,.12); }
.stats-field svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--y); }
.stats-field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-family: var(--mono); font-size: 20px; font-weight: 700; }
.stats-field input::placeholder { color: var(--dim); font-family: var(--sans); font-weight: 500; }
.stats-form .px-btn { min-width: 150px; padding-top: 0; padding-bottom: 2px; }
.stats-form .px-btn.busy { opacity: .7; pointer-events: none; }
.stats-msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255,92,92,.1); border: 1px solid rgba(255,92,92,.35); color: #ffb0b0; font-size: 15px; font-weight: 600; }
.stats-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.stats-quick > span { margin-right: 4px; font-family: var(--pixel); font-size: 9px; color: var(--dim2); text-transform: uppercase; }
.stats-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 14px; font-weight: 600; transition: all .2s; }
.stats-chip img { width: 20px; height: 20px; border-radius: 3px; image-rendering: pixelated; }
.stats-chip:hover { color: var(--y); border-color: var(--y); transform: translateY(-2px); }
.stats-result { margin-top: 26px; min-height: 40px; }
.stats-foot { max-width: 760px; margin-top: 26px; color: var(--dim2); font-size: 13.5px; }

/* the small box on the leaderboard page and the homepage */
.stats-mini { display: flex; gap: 10px; max-width: 460px; margin-top: 22px; }
.stats-mini input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; outline: 0; background: var(--panel); border: 1px solid var(--line2);
  color: var(--ink); font: inherit; font-family: var(--mono); font-weight: 700; transition: border-color .2s, box-shadow .2s;
}
.stats-mini input:focus { border-color: var(--y); box-shadow: 0 0 0 3px rgba(255,210,63,.12); }
.stats-mini input::placeholder { color: var(--dim); font-family: var(--sans); font-weight: 500; }
.stats-mini .px-btn { padding-top: 0; padding-bottom: 2px; }
.stats-mini.bad { animation: shake .4s; }
.stats-mini.bad input { border-color: var(--red); }

/* the result card */
.pcard {
  position: relative; padding: 28px; border-radius: 22px; border: 2px solid transparent;
  background:
    linear-gradient(170deg, #241d0d, #120f07) padding-box,
    conic-gradient(from var(--ang), var(--line2), var(--blue), var(--line2), var(--y3), var(--line2)) border-box;
  animation: spinBorder 9s linear infinite, panelIn .5s cubic-bezier(.2,.8,.2,1) backwards;
}
.pcard.gold {
  background:
    linear-gradient(170deg, #2a2110, #120f07) padding-box,
    conic-gradient(from var(--ang), var(--y3), var(--y), #fff3a8, var(--y), var(--y3)) border-box;
  box-shadow: 0 0 60px rgba(255,210,63,.12);
}
.pcard-head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.pcard-skin {
  flex: 0 0 auto; width: 108px; height: 108px; padding: 9px; border-radius: 18px; border: 2px solid var(--y3);
  background: radial-gradient(circle at 50% 30%, #3a2f14, #17120a); box-shadow: 0 0 0 5px rgba(255,210,63,.08), 0 16px 36px rgba(0,0,0,.5); animation: bob 4.5s ease-in-out infinite;
}
.pcard-skin .skin { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.pcard-id { flex: 1; min-width: 200px; display: grid; justify-items: start; gap: 8px; }
.pcard-name { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; word-break: break-word; }
.pcard-id small { color: var(--muted); font-size: 14px; }
.pcard-copy { margin-left: auto; }
.pstatus { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 2px solid; font-family: var(--pixel); font-size: 10px; letter-spacing: .05em; }
.pstatus i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pstatus.on { color: var(--green); border-color: rgba(109,255,142,.5); background: rgba(109,255,142,.1); box-shadow: 0 0 26px rgba(109,255,142,.2); }
.pstatus.on i { animation: ping 2s infinite; }
.pstatus.off { color: var(--muted); border-color: rgba(185,173,140,.35); background: rgba(185,173,140,.06); }
.pstatus.maybe { color: #ffb13b; border-color: rgba(255,177,59,.5); background: rgba(255,177,59,.08); }
.pstatus.unk { color: var(--dim2); border-color: var(--line2); }
.pcard-note { margin-top: 16px; padding: 10px 14px; border-left: 3px solid var(--y3); background: rgba(255,210,63,.05); color: var(--muted); font-size: 14.5px; }
.pcard-foot { margin-top: 18px; color: var(--dim2); font-size: 12.5px; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.ptile {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 16px 14px; overflow: hidden; border-radius: 14px;
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  animation: tileIn .5s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); transition: transform .2s, border-color .2s, box-shadow .2s;
}
@keyframes tileIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.ptile:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.ptile-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.ptile-top img { width: 22px; height: 22px; image-rendering: pixelated; }
.ptile-top .rank { margin-left: auto; padding: 3px 7px; font-family: var(--pixel); font-size: 9px; font-weight: 400; color: var(--y); background: rgba(255,210,63,.12); }
.ptile.r1 { border-color: var(--y); background: linear-gradient(160deg, rgba(255,210,63,.16), var(--panel)); }
.ptile.r1 .rank { color: #2a1d00; background: var(--y); }
.ptile.r2 { border-color: rgba(220,220,235,.45); } .ptile.r2 .rank { color: #1c1c24; background: #dcdce6; }
.ptile.r3 { border-color: rgba(200,130,60,.5); } .ptile.r3 .rank { color: #2a1608; background: #d08a4a; }
.ptile-val { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.1; word-break: break-word; }
.ptile.ranked .ptile-val { color: var(--y); text-shadow: 0 0 22px rgba(255,210,63,.25); }
.ptile.none .ptile-val { color: var(--dim); }
.ptile-bar { height: 6px; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #0d0b06; }
.ptile-bar i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--y3), var(--y)); animation: barFill 1s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 60ms + 300ms); }
.ptile small { color: var(--dim2); font-size: 12.5px; }
.ptile.best { border-color: rgba(185,128,255,.4); background: linear-gradient(160deg, rgba(185,128,255,.16), var(--panel)); }
.ptile.best .ptile-val { color: var(--ink); font-size: clamp(20px, 2.1vw, 26px); text-shadow: none; }
.crownmark { color: var(--y); filter: drop-shadow(0 0 8px rgba(255,210,63,.6)); animation: crownFloat 2.6s ease-in-out infinite; }

.pmissing { display: flex; align-items: center; gap: 18px; padding: 20px 6px 6px; }
.pmissing img { flex-shrink: 0; width: 40px; height: 40px; image-rendering: pixelated; }
.pmissing b { font-size: 19px; }
.pmissing p { margin-top: 4px; color: var(--muted); }

.pskel { min-height: 320px; }
.pskel-head, .pskel-grid i { display: block; background: linear-gradient(90deg, rgba(255,210,63,.05) 25%, rgba(255,210,63,.14) 50%, rgba(255,210,63,.05) 75%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
.pskel-head { width: 108px; height: 108px; border-radius: 18px; }
.pskel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.pskel-grid i { height: 108px; border-radius: 14px; }
@keyframes skel { to { background-position: -300% 0; } }

@media (max-width: 900px) { .pgrid, .pskel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .stats-form { flex-direction: column; }
  .stats-field { height: 56px; }
  .stats-form .px-btn { padding: 16px; }
  .pcard { padding: 20px 16px; }
  .pcard-head { gap: 16px; }
  .pcard-skin { width: 84px; height: 84px; padding: 7px; }
  .pcard-copy { margin-left: 0; }
  .stats-mini { max-width: none; }
  .pmissing { flex-direction: column; align-items: flex-start; }
}

/* ================= v13: exact stats, online now, leaderboard dots ================= */
.pcard-namerow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.ptag { padding: 5px 8px 4px; font-family: var(--pixel); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: #1c1230; background: #b980ff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.pcard-id small.pcard-seen { color: var(--muted); }
.stats-quick .stats-live { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.stats-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ping 2s infinite; }
.stats-quick .stats-more { color: var(--dim); }
.stats-online .stats-chip { border-color: rgba(109,255,142,.22); }
.stats-online .stats-chip:hover { border-color: var(--green); color: var(--green); }

/* a dot before each name on the leaderboards: green when they're on the server */
.lb-online { display: inline-block; flex: none; width: 8px; height: 8px; margin: 0 9px 0 3px; border-radius: 50%; background: rgba(125,115,90,.35); vertical-align: 1px; }
.lb-online.on { background: var(--green); box-shadow: 0 0 0 2px rgba(109,255,142,.22), 0 0 8px rgba(109,255,142,.55); }
.pod-name .lb-online { margin-left: 0; margin-right: 8px; }
.lb-foot { flex-wrap: wrap; row-gap: 6px; }
.lb-legend { display: inline-flex; align-items: center; margin-left: 14px; }
.lb-legend .lb-online { margin: 0 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .stats-live i { animation: none; } }

/* phones: each chip row is one swipeable line, so three rows don't push the result off the screen */
@media (max-width: 640px) {
  .stats-quick { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 3px 16px 5px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .stats-quick::-webkit-scrollbar { display: none; }
  .stats-quick > * { flex: none; white-space: nowrap; }
}

/* ---------- scroll motion (fx.js: scrollMotion / parallax / back-to-top) ---------- */
/* blocks rise (or slide) into place as they enter the screen */
.sx { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--sd, 0) * 70ms); }
.sx-l { transform: translateX(-46px); }
.sx-r { transform: translateX(46px); }
.sx-z { transform: scale(.94); }
.sx.sx-in { opacity: 1; transform: none; }
@media (max-width: 1180px) { .sx-l, .sx-r { transform: translateY(26px); } }

/* headings: every word rises out of its own clipped box */
.sx-split .sx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .1em .16em; margin: -.06em -.1em -.16em; }
.sx-split .sx-w > span { display: inline-block; transform: translateY(112%); transition: transform .75s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--wi, 0) * 55ms + 60ms); }
.sx-split.sx-in .sx-w > span { transform: none; }
.sx-split.sx-done .sx-w { overflow: visible; }
.sx-split.reveal { transform: none; }

/* page heroes: staggered entrance, then they drift up and fade as you scroll away */
.sx-load { animation: sxRise .85s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--sd, 0) * 90ms + 140ms); }
@keyframes sxRise { from { opacity: 0; transform: translateY(24px); } }
.page-hero > .wrap { transform: translate3d(0, calc(var(--sy, 0) * .18px), 0); opacity: calc(1 - var(--sy, 0) / 620); }

/* the little square on a kicker pops in with its section */
.kicker.reveal::before { transform: scale(0) rotate(-45deg); }
.kicker.reveal.in::before { transform: none; transition: transform .5s .2s cubic-bezier(.3,1.6,.5,1); }

/* back to top, with a ring that fills as you scroll down the page */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 54; width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center; border-radius: 50%; color: var(--y); cursor: pointer;
  background: rgba(20, 16, 8, .88); border: 1px solid var(--line2); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(14px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1), background .2s, color .2s;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--y); color: #241900; }
.to-top:active { transform: scale(.92); }
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tt-track, .tt-fill { fill: none; stroke-width: 3; }
.tt-track { stroke: rgba(255,210,63,.18); }
.tt-fill { stroke: var(--y); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .12s linear; }
.to-top:hover .tt-fill { stroke: #241900; }
.tt-arrow { position: relative; width: 18px; height: 18px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 124px; } }

@media (prefers-reduced-motion: reduce) {
  .sx, .sx-load, .sx-split .sx-w > span { opacity: 1; transform: none; animation: none; }
  .page-hero > .wrap { transform: none; opacity: 1; }
  .kicker.reveal::before { transform: none; }
}

/* ================= SUPPORT CHICKEN ================= */
.chk { position: fixed; right: 12px; bottom: calc(4px + env(safe-area-inset-bottom, 0px)); z-index: 56; width: 92px; height: 82px; font-family: var(--sans); }
.chk-stage { position: relative; width: 92px; height: 82px; will-change: transform; }
.chk-bird { position: absolute; inset: auto 0 0 auto; width: 92px; height: 80px; padding: 0; cursor: pointer; transform-origin: 55% 100%; transition: transform .3s; -webkit-tap-highlight-color: transparent; }
.chk-shadow { position: absolute; left: 26px; bottom: -2px; width: 52px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.4); pointer-events: none; will-change: transform; }
.chk-bird svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; overflow: visible; transform-origin: 50% 100%; }
.chk-bird:focus-visible { outline: 2px dashed var(--y); outline-offset: 4px; border-radius: 10px; }
.chk-flip { display: block; width: 100%; height: 100%; }
.chk button { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.chk .eye-shut { display: none; }
.chk.sleep .eye-open { display: none; }
.chk.sleep .eye-shut { display: block; }
.chk.sleep .legs { display: none; }
.chk.sleep .chk-bird svg { animation: chkBreathe 3.2s ease-in-out infinite; transform: translateY(6%); }
.chk:not(.sleep) .chk-bird svg { animation: chkIdle 2.4s ease-in-out infinite; }
@media (hover: hover) { .chk-bird:hover { transform: scale(1.06); } }
.chk.chasing .chk-bird svg { animation: chkRun .17s ease-in-out infinite alternate; }
@keyframes chkBreathe { 50% { transform: translateY(6%) scale(1.03, .96); } }
@keyframes chkIdle { 50% { transform: translateY(-3%); } }
@keyframes chkRun { from { transform: rotate(-1deg); } to { transform: translateY(-4%) rotate(-5deg); } }

.chk-zzz { position: absolute; left: 6px; top: -6px; pointer-events: none; font-family: var(--pixel); color: var(--blue); text-shadow: 2px 2px 0 #000; opacity: 0; }
.chk-zzz i { position: absolute; font-style: normal; font-size: 9px; opacity: 0; animation: chkZ 3.2s ease-in infinite; }
.chk-zzz i:nth-child(2) { font-size: 12px; animation-delay: 1s; }
.chk-zzz i:nth-child(3) { font-size: 15px; animation-delay: 2s; }
.chk.sleep .chk-zzz { opacity: 1; }
@keyframes chkZ { 0% { transform: translate(0, 14px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(18px, -22px); opacity: 0; } }

.chk-say { position: absolute; right: calc(100% - 10px); bottom: 38px; max-width: 190px; padding: 6px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.3; color: #2a1d00; background: var(--y); box-shadow: 0 6px 18px rgba(0,0,0,.4); white-space: nowrap; opacity: 0; transform: translateX(6px) scale(.92); transform-origin: 100% 100%; transition: opacity .2s, transform .2s; pointer-events: none; }
.chk.talking .chk-say { opacity: 1; transform: none; }
.chk.open .chk-say { display: none; }

.chk-bar { position: absolute; right: 0; bottom: calc(100% + 4px); display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(20,16,8,.92); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .18s, transform .18s; }
/* fills the 4px between the bar and the chicken: without it the pointer left :hover on the way up and the bar faded away under it */
@media (hover: hover) { .chk-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } }
.chk:hover .chk-bar, .chk:focus-within .chk-bar, .chk:not(.sleep) .chk-bar { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .chk .chk-bar { opacity: 1; transform: none; pointer-events: auto; } }
.chk.chasing .chk-bar { opacity: 0; transform: translateY(4px); pointer-events: none; }
.chk.open .chk-bar { display: none; }
.chk:hover .chk-zzz { opacity: 0; }
.chk-bar button { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--panel2); border: 1px solid var(--line); transition: background .15s, color .15s; }
.chk-bar button:hover, .chk-bar button:focus-visible { background: var(--y); color: #2a1d00; outline: none; }
.chk-treat-ic svg { width: 14px; height: 14px; display: block; image-rendering: pixelated; }

.chk-fx { position: absolute; bottom: 52px; width: 16px; height: 14px; pointer-events: none; animation: chkFloat 1.4s ease-out forwards; }
.chk-fx svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
@keyframes chkFloat { from { transform: translate(0, 0) scale(.6); opacity: 1; } to { transform: translate(var(--dx), -56px) scale(1.1); opacity: 0; } }
.chk-treat { position: absolute; left: 0; bottom: 0; --bite: 1; transform-origin: 50% 100%; width: 20px; height: 20px; pointer-events: none; animation: chkDrop .7s cubic-bezier(.5, 0, 1, .6) forwards; }
.chk-treat svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
@keyframes chkDrop { from { transform: translateY(-90px); } to { transform: none; } }
.chk-treat.landed { animation: none; transform: scale(var(--bite)); transition: transform .2s; }
.chk-ball { position: absolute; right: 40px; bottom: 2px; z-index: 3; width: 20px; height: 20px; display: none; pointer-events: none; will-change: transform, opacity; }
.chk-ball-shadow { position: absolute; right: 36px; bottom: -1px; z-index: 2; width: 28px; height: 6px; display: none; border-radius: 50%; background: #000; opacity: .45; pointer-events: none; will-change: transform, opacity; }
.chk.chasing .chk-ball, .chk.chasing .chk-ball-shadow { display: block; }
.chk-ball svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* chat panel */
.chk-panel { overscroll-behavior: contain; z-index: 5; position: absolute; right: 0; bottom: calc(100% + 10px); width: min(350px, calc(100vw - 32px)); height: min(480px, calc(100vh - 150px)); height: min(480px, calc(100dvh - 150px)); min-height: 220px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 24px 70px rgba(0,0,0,.65); transform-origin: 90% 100%; animation: chkPop .22s cubic-bezier(.2, .9, .3, 1.2); }
.chk-panel[hidden] { display: none; }
@keyframes chkPop { from { transform: scale(.85) translateY(10px); opacity: 0; } }
.chk-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border-bottom: 1px solid var(--line); }
.chk-avatar { width: 36px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255,210,63,.12); border: 1px solid var(--line2); }
.chk-avatar svg { width: 28px; height: 26px; image-rendering: pixelated; }
.chk-avatar .eye-shut { display: none; }
.chk-title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.chk-title b { font-size: 16px; }
.chk-title small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.chk-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.chk-mute { width: 30px; height: 30px; flex: none; border-radius: 8px; color: var(--y); font-size: 16px; font-weight: 800; line-height: 1; }
.chk-mute::before { content: "\266A"; }
.chk-mute.off { color: var(--dim); text-decoration: line-through; opacity: .7; }
.chk-mute:hover { background: rgba(255,255,255,.08); }
.chk-bar .chk-mute { width: 28px; height: auto; padding: 0; background: var(--panel2); border: 1px solid var(--line); }
.chk-bar .chk-mute:hover { background: var(--y); color: #2a1d00; }
.chk-x { width: 30px; height: 30px; border-radius: 8px; font-size: 22px; line-height: 1; color: var(--muted); }
.chk-x:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.chk-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; padding: 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.chk-msg { max-width: 86%; padding: 8px 12px; border-radius: 14px; font-size: 15px; line-height: 1.4; animation: chkIn .2s ease-out; overflow-wrap: anywhere; }
@keyframes chkIn { from { opacity: 0; transform: translateY(6px); } }
.chk-msg.bot { align-self: flex-start; background: var(--panel2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chk-msg.me { align-self: flex-end; color: #2a1d00; background: var(--y); border-bottom-right-radius: 4px; font-weight: 500; }
.chk-msg p { white-space: pre-wrap; }
.chk-inline { color: var(--y); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.chk-msg.me .chk-inline { color: #2a1d00; }
.chk-msg.typing p { display: flex; gap: 4px; padding: 5px 0; }
.chk-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: chkDot 1s infinite; }
.chk-msg.typing i:nth-child(2) { animation-delay: .15s; } .chk-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chkDot { 40% { transform: translateY(-4px); background: var(--y); } }
.chk-link { display: inline-block; margin: 8px 6px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--y); background: rgba(255,210,63,.1); border: 1px solid var(--line2); }
.chk-link.main { color: #2a1d00; background: var(--y); border-color: var(--y); }      /* the first button of an answer is the one to press */
.chk-link:hover { background: var(--y); color: #2a1d00; }
.chk-link.main:hover { filter: brightness(1.1); }
.chk-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.chk-chips:empty { display: none; }
.chk-chips button { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--line2); }
.chk-chips button:hover { background: var(--y); color: #2a1d00; }
.chk-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg2); }
.chk-form input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line2); }
.chk-form input:focus { outline: 2px solid var(--y); outline-offset: 1px; }
.chk-form button { width: 40px; border-radius: 10px; font-size: 16px; color: #2a1d00; background: var(--y); }
.chk-form button:hover { background: var(--y2); }

html.chk-lock body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
html.has-chicken .to-top { right: 114px; }
/* narrow screens: the music player runs along the bottom, so he stands on top of it */
@media (max-width: 700px) {
  html.has-chicken .to-top { right: 108px; bottom: 76px; }
  .chk { right: 8px; bottom: 72px; }
  body:not(:has(.player.show)) .chk { bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 520px) {
  .chk-link { padding: 9px 14px; font-size: 14px; }
  .chk.open .chk-stage { visibility: hidden; }
  .chk.open .chk-panel { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--kb, 0px)); width: auto; height: min(560px, calc(100vh - 90px)); height: min(560px, calc(var(--vvh, 100dvh) - 90px)); }
}
@media (prefers-reduced-motion: reduce) {
  .chk *, .chk-panel { animation: none !important; transition: none !important; }
  .chk.sleep .chk-zzz i { opacity: 1; }
}
