/* Steal a Blob website. Mobile first: most visitors arrive from a TikTok bio on a phone.
   The look borrows the game's billboards: chunky outlined type, thick ink outlines and hard drop shadows. */
@font-face { font-family: "Luckiest Guy"; src: url(fonts/luckiest.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Fredoka One"; src: url(fonts/fredoka.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #1c1030;        /* the game's outline colour */
  --night: #1d0d3d;      /* page */
  --night-2: #2a1257;
  --jelly: #3a1a73;      /* surfaces */
  --jelly-2: #4a2491;
  --line: #5b3aa3;
  --text: #fff8ec;
  --muted: #cdbdf2;
  --gold: #ffd23c;       /* values / money */
  --cash: #6ef08a;       /* income per second */
  --pink: #ff5f9e;       /* NEW */
  --sky: #59b8ff;
  --play: #36d35a;
  --glow: #5a24b0;       /* the page's top glow */
  --top-bg: rgba(29, 13, 61, .92);   /* sticky header / toolbars */
  --tabs-bg: rgba(23, 10, 48, .96);  /* phone tab bar */
  --hair: rgba(91, 58, 163, .5);     /* thin separators */
  --placeholder: #a593d6;
  --soon-bg: rgba(58, 26, 115, .55);
  --display: "Luckiest Guy", "Fredoka One", system-ui, sans-serif;
  --body: "Fredoka One", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --r: 18px;
  --shadow: 0 5px 0 var(--ink);
  --tabs-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.45 var(--body);
  background: var(--night) radial-gradient(120% 60% at 50% -10%, var(--glow) 0%, var(--night-2) 45%, var(--night) 75%) no-repeat;
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
b, strong { font-weight: normal; color: #fff; }

/* outlined display type, like the in-game billboards */
.logo, .h1, .h2, .h3, .code, .lc-title, .tile b, .co-name, .btn-play span {
  font-family: var(--display); font-weight: normal; letter-spacing: .01em; line-height: 1; text-transform: uppercase;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
               0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink), 0 5px 0 var(--ink);
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------ header + tabs */
.top { position: sticky; top: 0; z-index: 20; background: var(--top-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 3px solid var(--ink); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-family: var(--display); font-size: 20px; padding-top: 3px; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; margin-top: -3px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a, .tabs a { color: var(--muted); text-decoration: none; }
.nav a { padding: 8px 12px; border-radius: 12px; white-space: nowrap; }
.nav .n-wide { display: none; }
@media (min-width: 1120px) { .nav .n-wide { display: inline-block; } }
.nav .n-more { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav .n-more svg { width: 18px; height: 18px; flex: none; }
.nav a:hover { color: #fff; background: var(--jelly); }
.nav a[aria-current="page"] { color: #fff; background: var(--jelly-2); box-shadow: inset 0 0 0 2px var(--ink); }
.nav .ni { display: none; }
.play-mini { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 7px; border-radius: 12px; background: var(--play); color: #fff;
  text-decoration: none; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-family: var(--display); font-size: 16px; padding-top: 9px; }
.play-mini svg { width: 16px; height: 16px; margin-top: -3px; }
.play-mini:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--tabs-bg); border-top: 3px solid var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12.5px; }
.tabs .ni { font-size: 22px; line-height: 1; filter: grayscale(.6); opacity: .7; }
.tabs a[aria-current="page"] { color: #fff; }
.tabs a[aria-current="page"] .ni { filter: none; opacity: 1; transform: translateY(-1px); }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .tabs { display: none; }
  .nav { display: flex; }
}

/* ------------------------------------------------------------ shared pieces */
.btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 18px; border-radius: var(--r); border: 3px solid var(--ink);
  box-shadow: var(--shadow); color: #fff; text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 28px; height: 28px; flex: none; }
.bt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bt b { font-size: 18px; }
.bt small { font-size: 14px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.h1 { font-size: clamp(36px, 9vw, 56px); margin: 22px 0 10px; color: var(--gold); }
.h2 { font-size: clamp(26px, 6.4vw, 34px); margin: 34px 0 14px; color: #fff; }
.h3 { font-size: 24px; margin: 28px 0 10px; color: #fff; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 8px; max-width: 62ch; }
.note, .sec-lead { color: var(--muted); font-size: 15px; max-width: 70ch; }
.note { margin: 14px 0 0; }

.pill { display: inline-block; padding: 3px 9px 2px; border-radius: 99px; font-size: 12.5px; line-height: 1.3; background: var(--pc, #888); color: var(--pt, #fff);
  border: 2px solid var(--ink); white-space: nowrap; }
.pill[style*="--pa:#00ffaa"] { border-color: var(--pa); }
.tag-new, .tag-soon { display: inline-block; font-size: 12px; line-height: 1; padding: 5px 8px 4px; border-radius: 8px; border: 2px solid var(--ink); background: var(--pink); color: #fff; }
.tag-soon { background: var(--sky); }

.foot { max-width: 1180px; margin: 48px auto 0; padding: 22px 16px 28px; color: var(--muted); font-size: 14px; text-align: center; border-top: 2px solid var(--hair); }
.foot p { margin: 4px 0; }
/* 📲 Get the app (site.js setupApp: Android = install prompt, iPhone = the Add to Home Screen hint) */
.get-app { margin: 10px 0 14px; }
.get-app[hidden], .app-hint[hidden] { display: none; }
.app-btn { font: inherit; font-weight: 700; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.app-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.app-hint { display: block; margin-top: 8px; color: var(--text, #fff); }
.foot a { color: var(--text); }

/* ------------------------------------------------------------ home (link in bio) */
.home { max-width: 560px; text-align: center; overflow-x: clip; } /* (the hero rays are wider than the page) */
.hero { position: relative; padding-top: 6px; }
@keyframes plop { 0% { transform: scale(.82, .7) translateY(18px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.logo { font-size: clamp(50px, 15vw, 72px); margin: 0; color: var(--gold); line-height: .95;
  text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 8px 0 var(--ink); }
.tagline { color: var(--muted); font-size: 17px; margin: 12px auto 18px; max-width: 34ch; }
.btn-play { justify-content: center; padding: 18px 20px 15px; background: linear-gradient(#55e877, var(--play) 55%, #22b346); box-shadow: 0 7px 0 var(--ink); }
.btn-play svg { width: 30px; height: 30px; margin-top: -4px; color: #fff; filter: drop-shadow(0 3px 0 var(--ink)); }
.btn-play span { font-size: 30px; color: #fff; }
.btn-play:active { box-shadow: 0 3px 0 var(--ink); transform: translateY(4px); }
.inapp { margin: 12px 0 0; padding: 10px 12px; font-size: 14px; color: var(--text); background: var(--jelly); border: 2px solid var(--ink); border-radius: 12px; }

.links { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.btn-discord { background: #5865f2; }
.btn-tiktok { background: #121018; }
.btn-tiktok svg { color: #fff; filter: drop-shadow(-2px -1px 0 #25f4ee) drop-shadow(2px 1px 0 #fe2c55); }
.btn-youtube { background: #e8132e; }
.btn-instagram { background: linear-gradient(115deg, #f9a43a 0%, #e8364f 45%, #b02fbb 100%); }

.live { text-align: left; }
.live .h2 { text-align: center; }
.live-grid { display: grid; gap: 16px; }
.live-card { background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; position: relative; }
.live-card.season { border-color: var(--accent, var(--ink)); box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px var(--ink); }
.lc-head { display: flex; gap: 12px; align-items: center; }
.lc-icon { font-size: 34px; line-height: 1; width: 44px; text-align: center; flex: none; }
.lc-title { font-size: 25px; margin: 0; color: #fff; }
.lc-sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.lc-when { margin: 12px 0 0; color: var(--muted); }
.cd { text-transform: uppercase; font-family: var(--display); font-size: 21px; color: var(--gold); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.lc-next { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 72px)); gap: 6px; margin-top: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: rgba(0, 0, 0, .18); }
.drop-row { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.drop-row img { width: 88px; height: 88px; flex: none; border-radius: 16px; background: rgba(0, 0, 0, .2); }
.drop-row.is-new img { background: radial-gradient(circle, rgba(255, 210, 60, .35), rgba(0, 0, 0, .15) 70%); }
.sil { filter: drop-shadow(0 0 10px rgba(160, 200, 255, .35)); }
.dn { text-transform: uppercase; margin: 6px 0 2px; font-family: var(--display); font-size: 22px; color: #fff; line-height: 1.05; }
.dw { margin: 0; color: var(--muted); font-size: 14px; }
.drop-row .lc-when { margin-top: 6px; }
.boosts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.boosts li { padding: 4px 10px 3px; border-radius: 10px; background: var(--night-2); border: 2px solid var(--ink); font-size: 14px; color: var(--muted); }
.boosts b { color: var(--gold); }
.party.is-live { border-color: var(--pink); }
.galaxy { background: linear-gradient(160deg, #2c2470 0%, var(--jelly) 72%); }
.galaxy.is-live { border-color: #7d70ff; box-shadow: 0 5px 0 var(--ink), 0 0 20px rgba(125, 112, 255, .55); }
.live-card.daily { border-color: var(--accent, var(--ink)); box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px var(--ink); }
.daily .dn { margin-top: 12px; color: var(--accent, #fff); }
.hourly { margin: 12px 0 0; padding-top: 12px; border-top: 2px dashed var(--line); font-size: 14px; color: var(--muted); }
.hourly b { color: var(--gold); }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: var(--r); background: var(--jelly-2);
  border: 3px solid var(--ink); box-shadow: var(--shadow); text-decoration: none; color: var(--muted); }
.tile:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.ti { font-size: 32px; line-height: 1; }
.tile b { font-size: 22px; color: #fff; margin-top: 6px; }
.tile small { font-size: 14px; }

/* ------------------------------------------------------------ codes */
.codes { max-width: 760px; }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--night-2); border: 2px solid var(--ink); border-radius: 14px; }
.steps span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--display); padding-top: 3px; }
.steps a { color: var(--text); }
.code-list, .more-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.code-card { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.cc-main { flex: 1; min-width: 0; }
.code { display: inline-block; font-size: 28px; color: var(--gold); margin-right: 8px; vertical-align: middle; word-break: break-all; padding-top: 4px; }
.code-card .tag-new { vertical-align: middle; }
.reward { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.btn-copy { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 72px; padding: 10px 10px 8px; border-radius: 14px;
  background: var(--sky); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: #fff; cursor: pointer; font-size: 14px; }
.btn-copy svg { width: 22px; height: 22px; }
.btn-copy:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-copy.done { background: var(--play); }
.more-card { display: flex; gap: 14px; padding: 16px; border-radius: var(--r); border: 3px solid var(--ink); box-shadow: var(--shadow); background: var(--jelly); }
.more-card > svg { width: 34px; height: 34px; flex: none; margin-top: 2px; }
.more-card b { font-size: 18px; }
.more-card p { margin: 4px 0 12px; color: var(--muted); font-size: 15px; }
.m-discord > svg { color: #8c96ff; }
.m-youtube > svg { color: #ff4b62; }
.m-instagram > svg { color: #ff7fb8; }
.btn-small { display: inline-block; padding: 8px 14px 7px; border-radius: 12px; background: var(--jelly-2); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); color: #fff; text-decoration: none; font-size: 15px; }
.m-discord .btn-small { background: #5865f2; }
.faq details { background: var(--night-2); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; color: #fff; }
.faq p { margin: 8px 0 2px; color: var(--muted); }

/* ------------------------------------------------------------ values */
.jump { display: flex; gap: 8px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 7px 13px 6px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--ink); color: var(--text); text-decoration: none; font-size: 15px; }
.sec { margin-top: 8px; }
.toolbar { position: sticky; top: 59px; z-index: 10; margin: 14px -16px 0; padding: 10px 16px 8px; background: var(--top-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--hair); }
.tb-row { display: flex; gap: 8px; }
.search { flex: 1; min-width: 0; }
.search input, .sort select, .fld select { width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; border: 3px solid var(--ink); background: var(--jelly); color: var(--text); font-size: 16px; }
.search input::placeholder { color: var(--placeholder); }
.search input { padding-left: 40px; background: var(--jelly) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23cdbdf2' stroke-width='2.6'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='%23cdbdf2' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") 12px 50% / 20px no-repeat; }
.sort { flex: none; width: 44%; max-width: 230px; }
.sort select, .fld select { appearance: none; -webkit-appearance: none; padding-right: 34px; background: var(--jelly) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23cdbdf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; text-overflow: ellipsis; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 10px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 6px 12px 5px; border-radius: 99px; border: 2px solid var(--ink); background: var(--night-2); color: var(--muted); cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--pc, var(--gold)); color: var(--pt, var(--ink)); box-shadow: 0 0 0 2px var(--pa, var(--gold)); }
.count { color: var(--muted); font-size: 14px; margin: 12px 0 10px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 840px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.blob { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 8px 8px 11px; border-radius: var(--r);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, var(--jelly)) 0%, var(--jelly) 58%); border: 3px solid var(--rc);
  box-shadow: 0 0 0 2px var(--ink), 0 6px 0 2px var(--ink); color: var(--text); text-decoration: none; margin: 2px; }
.blob:active { transform: translateY(3px); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); }
@media (hover: hover) { .blob:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 34%, var(--jelly)) 0%, var(--jelly-2) 70%); } }
.blob.shine { border-color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, var(--jelly)) 0%, var(--jelly) 58%) padding-box,
  linear-gradient(135deg, #ff5f86, #ffae42, #ffe24a, #4fd97a, #3fa6ff, #9a5cff) border-box; }
.blob img { width: 100%; max-width: 116px; aspect-ratio: 1; }
.blob .tag-new { position: absolute; top: 8px; right: 8px; }
.bn { text-transform: uppercase; font-family: var(--display); font-size: 18px; line-height: 1.05; color: #fff; min-height: 2.1em; display: flex; align-items: center; padding-top: 2px; }
.bs { display: flex; flex-direction: column; gap: 1px; font-size: 16px; line-height: 1.2; }
.v { color: var(--gold); }
.i { color: var(--cash); }
.bw { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.bw b { color: var(--text); }
.blob.soon { --rc: #6b5a96; border-style: dashed; background: var(--soon-bg); }
.blob.soon .bn { color: var(--muted); }
.pill-soon { background: var(--night-2); color: var(--muted); }
.empty { padding: 26px; text-align: center; color: var(--muted); background: var(--night-2); border: 2px dashed var(--line); border-radius: var(--r); }

.calc-box { display: grid; gap: 16px; padding: 16px; background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
@media (min-width: 840px) { .calc-box { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.fld { display: grid; gap: 6px; margin-bottom: 12px; }
.fld > span { color: var(--muted); font-size: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-b { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 6px; border-radius: 12px; border: 2px solid var(--ink); background: var(--night-2); color: var(--text); cursor: pointer; font-size: 15px; }
.seg-b small { color: var(--muted); font-size: 13px; }
.seg-b .sw { width: 14px; height: 14px; border-radius: 50%; background: var(--mc); border: 2px solid var(--ink); }
.seg-b[data-m="Rainbow"] .sw { background: conic-gradient(#ff5f86, #ffe24a, #4fd97a, #3fa6ff, #9a5cff, #ff5f86); }
.seg-b[aria-pressed="true"] { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.seg-b[aria-pressed="true"] small { color: var(--ink); }
.seg-stars .seg-b { color: var(--gold); font-size: 17px; }
.seg-stars .seg-b[aria-pressed="true"] { color: var(--ink); }
.calc-out { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 14px; border-radius: 16px; background: var(--night-2); border: 2px solid var(--ink); }
.calc-out img { grid-column: 1 / -1; justify-self: center; width: 128px; height: 128px; }
.co-name { grid-column: 1 / -1; text-align: center; font-size: 24px; color: #fff; margin: 2px 0 8px; }
.co-row { display: contents; }
.co-row > span { color: var(--muted); }
.co-row > b { text-align: right; font-size: 20px; font-variant-numeric: tabular-nums; }
.co-f { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 14px; text-align: center; }

.table-wrap { overflow-x: auto; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); background: var(--jelly); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 2px solid rgba(28, 16, 48, .55); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font-size: 13px; color: var(--muted); background: var(--night-2); font-weight: normal; line-height: 1.2; }
@media (max-width: 420px) { .tbl th, .tbl td { padding: 9px 8px; } }
.tbl tbody th { font-weight: normal; color: #fff; }
.tbl td { color: var(--muted); }
.tbl .num { white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.mut { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mut img { flex: none; width: 40px; height: 40px; max-width: none; }
.stars { color: var(--gold) !important; white-space: nowrap; font-size: 18px; }
.eggs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .eggs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .eggs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.egg { padding: 14px; background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.egg-head { display: flex; align-items: center; gap: 12px; }
.egg-ico { flex: none; width: 34px; height: 42px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; border: 3px solid var(--ink);
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .7) 0 12%, transparent 13%), linear-gradient(var(--ec) 0 52%, var(--ea) 52% 64%, var(--ec) 64%); }
.egg-head > div { flex: 1; min-width: 0; }
.egg-name { margin: 0; font-size: 18px; font-weight: normal; color: #fff; }
.egg-where { margin: 1px 0 0; font-size: 13.5px; color: var(--muted); }
.egg-price { color: var(--gold); font-size: 18px; white-space: nowrap; }
.odds { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.odds li { display: inline-flex; gap: 6px; padding: 4px 9px 3px; border-radius: 10px; background: var(--night-2); border: 2px solid var(--ink); font-size: 13.5px; }
.odds li span { color: var(--oc); }
.odds li b { color: var(--text); }
.egg-pity { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }

/* blob sheet (bottom sheet on phones, a dialog on bigger screens) */
.sheet { width: 100%; max-width: 560px; max-height: 88vh; margin: auto auto 0; padding: 0; border: 3px solid var(--ink); border-bottom: 0; border-radius: 24px 24px 0 0;
  background: var(--jelly); color: var(--text); box-shadow: 0 -6px 0 var(--ink); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(10, 4, 24, .7); }
.sheet[open] { animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@media (min-width: 640px) { .sheet { margin: auto; border-bottom: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink); } }
.sh-in { padding: 18px 16px 24px; }
.sh-top { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.sh-top img { width: 120px; height: 120px; border-radius: 18px; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 40%, transparent), transparent 70%); }
.sh-name { text-transform: uppercase; outline: none; font-family: var(--display); font-size: 28px; line-height: 1; margin: 8px 0 6px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.sh-desc { margin: 0; color: var(--muted); font-size: 15px; }
.sh-close { position: sticky; top: 0; float: right; margin: -6px -4px 0 0; width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--ink); background: var(--night-2); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.sh-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 4px; }
.sh-stats div { padding: 8px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--ink); text-align: center; }
.sh-stats span { display: block; font-size: 12.5px; color: var(--muted); }
.sh-stats b { font-size: 18px; }
.sh-h { text-transform: uppercase; font-family: var(--display); font-size: 20px; margin: 18px 0 8px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.how li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--night-2); border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.how li b { color: var(--gold); white-space: nowrap; }
.mx { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 14px; }
.mx th { text-align: left; font-weight: normal; color: var(--muted); padding: 2px 6px; }
.mx thead th { color: var(--gold); text-align: right; font-size: 16px; }
.mx td { text-align: right; padding: 6px; background: var(--night-2); line-height: 1.2; font-variant-numeric: tabular-nums; }
.mx td:last-child { border-radius: 0 10px 10px 0; }
.mx tbody th { background: var(--night-2); border-radius: 10px 0 0 10px; white-space: nowrap; }
.mx td small { display: block; color: var(--cash); font-size: 12.5px; }
.sh-calc { margin-top: 16px; width: 100%; justify-content: center; background: var(--jelly-2); font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ------------------------------------------------------------ round 2: shared */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--text); }
.crumbs [aria-current] { color: var(--muted); }
.crumbs + * { margin-top: 0; }
.page-head .h1, .bp-name { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding: 12px 14px 12px 42px; background: var(--night-2); border: 2px solid var(--ink); border-radius: 14px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); }
.ticks b { color: #fff; }
.ticks a { color: var(--gold); }
.sh-links { display: grid; gap: 10px; margin-top: 16px; }
.sh-links .btn { margin: 0; justify-content: center; font-size: 17px; }
.sh-page { background: var(--play); }
.quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile small { text-align: center; }
.cta-row { max-width: 420px; margin: 28px auto 0; }

/* ------------------------------------------------------------ blob pages */
.blobpage { max-width: 980px; }
.bp-head { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 700px) { .bp-head { grid-template-columns: 256px 1fr; gap: 26px; align-items: center; } }
.bp-img { justify-self: center; width: 220px; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--rc) 45%, transparent), transparent 68%); }
@media (min-width: 700px) { .bp-img { width: 256px; } }
.bp-img img { width: 100%; }
.bp-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bp-name { font-size: clamp(38px, 10vw, 60px); color: #fff; margin: 10px 0 6px; }
.bp-quote { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.bp-lead { margin: 0; font-size: 17px; max-width: 62ch; }
.bp-lead .v { color: var(--gold); } .bp-lead .i { color: var(--cash); }
.bp-note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.bp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
@media (min-width: 760px) { .bp-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bp-stats div { padding: 10px 6px; border-radius: 14px; background: var(--jelly); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); text-align: center; }
.bp-stats span { display: block; font-size: 12.5px; color: var(--muted); }
.bp-stats b { font-size: 19px; }
.bp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-small svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
.tier-badge { display: inline-block; padding: 3px 10px 2px; border-radius: 8px; border: 2px solid var(--ink); font-size: 13px; text-decoration: none; color: var(--ink); background: var(--tc, #ccc); }
.t-s { --tc: #ff5f6d; } .t-a { --tc: #ffae42; } .t-b { --tc: #ffe24a; } .t-c { --tc: #6ef08a; } .t-d { --tc: #59b8ff; }
.mxt { font-size: 14px; }
.mxt th small, .mxt td small { display: block; font-size: 12px; }
.mxt td { text-align: right; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mxt td small { color: var(--cash); }
.mxt thead th { text-align: right; color: var(--gold); font-size: 15px; }
.mxt thead th:first-child { text-align: left; color: var(--muted); font-size: 13px; }
.mxt thead small { color: var(--muted); }
.mxt tbody th small { color: var(--muted); display: inline; }
.mxt tbody th small + small { display: block; }
.mut .mi { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--mc) 35%, var(--night-2)); border: 2px solid var(--ink); font-size: 16px; }
.mxt .mut { white-space: normal; align-items: flex-start; }
.mxt .mut > span:last-child { min-width: 70px; }
.grid-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .grid-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-rel { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.prevnext a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--jelly); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: #fff; text-decoration: none; font-size: 16px; }
.prevnext small { color: var(--muted); font-size: 13px; }
.pn-next { text-align: right; }

/* ------------------------------------------------------------ tier list */
.tierlist { display: grid; gap: 12px; margin-top: 18px; }
.tier { display: grid; grid-template-columns: 64px 1fr; border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--jelly); box-shadow: var(--shadow); }
.tier-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--tc); color: var(--ink); border-right: 3px solid var(--ink); padding: 8px 4px; }
.tier-label b { font-family: var(--display); font-size: 40px; line-height: 1; padding-top: 6px; }
.tier-label small { font-size: 11.5px; text-align: center; line-height: 1.15; }
.tier-blobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; padding: 10px; }
@media (max-width: 599px) {
  .tier { grid-template-columns: 1fr; }
  .tier-label { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 4px 12px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .tier-label b { font-size: 30px; padding-top: 4px; }
  .tier-label small { font-size: 13px; }
  .tier-blobs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; }
  .tchip { padding: 4px 2px 6px; }
  .tchip img { width: 52px; height: 52px; }
  .tc-name { font-size: 11.5px; }
  .tchip .i { font-size: 11.5px; }
  .tt { font-size: 9.5px; }
}
.tchip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 8px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--rc); text-decoration: none; color: var(--text); text-align: center; }
.tchip img { width: 64px; height: 64px; }
.tc-name { font-size: 13px; line-height: 1.15; color: #fff; }
.tchip .i { font-size: 12.5px; }
.tt { font-size: 10.5px; line-height: 1; padding: 3px 5px 2px; border-radius: 6px; background: var(--ink); color: var(--muted); }
.tt-lim { color: #ffae42; } .tt-boss { color: #ff7f9e; } .tt-robux { color: #6ef08a; } .tt-reb { color: #c4a6ff; }
.how-ranked { max-width: 820px; }

/* ------------------------------------------------------------ trade calculator */
.tradepage { max-width: 1000px; }
.trade-grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 860px) { .trade-grid { grid-template-columns: 1fr 150px 1fr; align-items: start; } }
.side { padding: 14px; background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.side-give { border-top: 6px solid #ff7f9e; } .side-get { border-top: 6px solid #6ef08a; }
.side-h { font-family: var(--display); font-size: 24px; margin: 4px 0 10px; color: #fff; text-transform: uppercase; text-shadow: 0 3px 0 var(--ink); }
.t-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.t-empty { padding: 14px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: 14px; font-size: 15px; }
.t-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; grid-template-areas: "img name v x" "img sel sel sel";
  align-items: center; gap: 4px 8px; padding: 6px 8px 8px 6px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--rc); }
.ti-img { grid-area: img; width: 52px; height: 52px; align-self: center; }
.ti-name { grid-area: name; display: block; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ti-v { grid-area: v; } .ti-x { grid-area: x; }
.ti-sel { grid-area: sel; display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px; }
.ti-sel select { width: 100%; height: 34px; padding: 0 6px; border-radius: 9px; border: 2px solid var(--ink); background: var(--jelly); color: var(--text); font-size: 14px; }
.ti-v { font-size: 15px; white-space: nowrap; }
.ti-x { width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--ink); background: var(--jelly); color: var(--muted); cursor: pointer; font-size: 15px; }
.t-add { width: 100%; margin-top: 10px; padding: 12px; border-radius: 14px; border: 3px solid var(--ink); background: var(--sky); color: #fff; box-shadow: 0 4px 0 var(--ink); cursor: pointer; font-size: 17px; }
.t-add:disabled { background: var(--night-2); color: var(--muted); box-shadow: none; cursor: default; }
.t-total { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 0; padding-top: 10px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 15px; }
.t-total b { font-size: 18px; }
.verdict { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 16px 12px; border-radius: var(--r); background: var(--night-2); border: 3px solid var(--ink); text-align: center; min-height: 120px; }
@media (min-width: 860px) { .verdict { position: sticky; top: 80px; margin-top: 48px; } }
.vd { font-family: var(--display); font-size: 64px; line-height: 1; padding-top: 8px; color: var(--muted); text-shadow: 0 4px 0 var(--ink); }
.vt { font-size: 14.5px; color: var(--muted); }
.vd-w { border-color: #6ef08a; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); } .vd-w .vd { color: #6ef08a; }
.vd-f { border-color: var(--gold); box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); } .vd-f .vd { color: var(--gold); }
.vd-l { border-color: #ff6b78; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); } .vd-l .vd { color: #ff7f8a; }
.vd-w .vt, .vd-f .vt, .vd-l .vt { color: var(--text); }
.t-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.t-tools .btn-small { cursor: pointer; font-size: 15px; }
.picker .sh-in { display: grid; gap: 10px; }
.picker .search input { width: 100%; }
.pk-list { display: grid; gap: 6px; }
.pk-b { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--rc); color: var(--text); text-align: left; cursor: pointer; font-size: 15px; }
.pk-b img { width: 44px; height: 44px; }
.pk-n { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pk-n .pill { font-size: 11px; }

/* ------------------------------------------------------------ updates */
.updpage { max-width: 760px; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.upd { position: relative; padding: 14px 16px 16px; background: var(--jelly); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.upd > time { display: inline-block; font-size: 13px; color: var(--ink); background: var(--gold); padding: 3px 9px 2px; border-radius: 8px; border: 2px solid var(--ink); }
.upd .h3 { margin: 10px 0 8px; font-size: 22px; }
.upd ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.upd ul a { color: var(--gold); }
.upd-drop { border-color: var(--rc); }
.drop-line { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--text); text-decoration: none; }
.drop-line img { width: 64px; height: 64px; flex: none; }
.drop-line > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.drop-line .ul { width: 100%; font-size: 13px; color: var(--muted); }
.drop-line b { font-size: 19px; color: #fff; }

/* ------------------------------------------------------------ guide */
.guide { max-width: 820px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toc a { padding: 7px 12px 6px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--ink); color: var(--text); text-decoration: none; font-size: 14.5px; }
.gsec { margin-top: 10px; }
.gsec .table-wrap { margin-top: 12px; }
.gsec .table-wrap + .ticks { margin-top: 12px; }

/* ------------------------------------------------------------ 404 */
.nf { max-width: 640px; text-align: center; padding-top: 30px; }
.nf .h1 { font-size: clamp(40px, 12vw, 64px); }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.nf-links .btn-play { grid-column: 1 / -1; }

/* ------------------------------------------------------------ wallpapers */
.wallpage { max-width: 760px; }
.wp-tip { margin: 14px 0 0; padding: 10px 12px; max-width: 62ch; font-size: 15px; color: var(--text); background: var(--jelly); border: 2px solid var(--ink); border-radius: 12px; }
.wp-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 600px) { .wp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
.wp { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* the preview sits in a phone (or monitor) frame: dark bezel, ink outline, hard shadow */
.wp-shot { position: relative; display: block; padding: 6px; border-radius: 26px; background: #0f0720; border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px rgba(255, 255, 255, .09); transition: transform .08s, box-shadow .08s; }
.wp-shot img { width: 100%; border-radius: 19px; background: var(--night-2); }
.wp-phone .wp-shot img { aspect-ratio: 9 / 20; }
.wp-phone .wp-shot::before { content: ""; position: absolute; z-index: 1; top: 13px; left: 50%; width: 27%; height: 9px; translate: -50% 0; border-radius: 99px; background: #0f0720; }
.wp-shot:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink), inset 0 0 0 2px rgba(255, 255, 255, .09); }
@media (hover: hover) { .wp-shot:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink), inset 0 0 0 2px rgba(255, 255, 255, .09); } }
.wp-info { flex: 1; }
.wp-name { margin: 0; padding-top: 2px; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 19px; line-height: 1.05; color: #fff; }
.wp-meta { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.btn-dl { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px 8px; border-radius: 14px; background: var(--sky);
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: #fff; text-decoration: none; font-family: var(--display); font-size: 18px;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  text-shadow: -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), 0 3px 0 var(--ink); }
.btn-dl svg { width: 20px; height: 20px; flex: none; margin-top: -3px; filter: drop-shadow(0 2px 0 var(--ink)); }
.btn-dl:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
/* PC: one wide monitor, name on the left and the button on the right */
.wp-grid-pc { grid-template-columns: minmax(0, 1fr); }  /* (after .wp-grid's media rule, so it wins) */
.wp-pc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 12px; }
.wp-pc .wp-shot { grid-column: 1 / -1; border-radius: 16px; }
.wp-pc .wp-shot img { aspect-ratio: 16 / 9; border-radius: 9px; }
.wp-pc .wp-shot::before { content: ""; position: absolute; top: 1px; left: 50%; width: 4px; height: 4px; translate: -50% 0; border-radius: 50%; background: #3a2a5c; }

/* ------------------------------------------------------------ round 3: Play CTAs (tracked links) */
.btn-play span { font-size: clamp(22px, 6.2vw, 30px); }
.cta { display: grid; gap: 8px; margin: 16px 0 0; }
.cta-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.cta-sub a { color: var(--text); }
.cta-sub i { font-style: normal; opacity: .6; }
.aud { color: var(--muted); }
.cta .inapp { margin: 4px 0 0; }
.cta-hero { margin-top: 0; }
.cta-hero .cta-sub { justify-content: center; }
.cta-end { max-width: 440px; margin: 30px auto 0; }
.cta-end .cta-sub { justify-content: center; }
@media (min-width: 700px) {
  .cta-row-wide, .cta-blob { grid-template-columns: minmax(0, 400px) auto; align-items: center; column-gap: 18px; }
  .cta-row-wide .btn-play span, .cta-blob .btn-play span { font-size: 26px; }
  .cta-row-wide .cta-sub, .cta-blob .cta-sub { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cta-row-wide .cta-sub i, .cta-blob .cta-sub i { display: none; }
  .cta-row-wide .inapp, .cta-blob .inapp { grid-column: 1 / -1; }
}
.cta-row-wide .btn-play, .cta-blob .btn-play { padding-top: 15px; padding-bottom: 12px; }
.cta-blob { margin-top: 16px; }

/* phones: the Play bar sits on the tab bar (the header Play button is small, the tab bar has no Play) */
:root { --playbar-h: 54px; }
.playbar { display: none; }
@media (max-width: 759px) {
  .playbar { position: fixed; z-index: 29; left: 0; right: 0; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
    height: var(--playbar-h); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 3px 16px 0;
    background: linear-gradient(#55e877, var(--play) 55%, #22b346); border-top: 3px solid var(--ink); color: #fff; text-decoration: none;
    font-family: var(--display); font-size: 23px; letter-spacing: .02em; text-transform: uppercase; line-height: 1;
    text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 4px 0 var(--ink); }
  .playbar svg { width: 24px; height: 24px; flex: none; margin-top: -4px; filter: drop-shadow(0 3px 0 var(--ink)); }
  .playbar:active { filter: brightness(.95); }
  body { padding-bottom: calc(var(--tabs-h) + var(--playbar-h) + env(safe-area-inset-bottom)); }
  .tabs { border-top-width: 2px; }
}

/* ------------------------------------------------------------ round 3: codes + home */
.h2-first { margin-top: 26px; }
.more-guides { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.guide-links .h3 { width: 100%; text-align: center; margin: 0 0 4px; font-size: 22px; }
.guide-links a { padding: 7px 13px 6px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--ink); color: var(--text); text-decoration: none; font-size: 15px; }

/* ------------------------------------------------------------ round 3: guide pages */
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 14px; border-radius: 14px; background: var(--jelly); border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink); color: var(--muted); text-decoration: none; font-size: 14px; }
.guide-cards b { color: #fff; font-size: 17px; }
.gpage .gsec { margin-top: 6px; }
.gpage .table-wrap { margin-top: 12px; }
.gpage .table-wrap + .ticks, .gpage .ticks + .table-wrap, .gpage .table-wrap + .note { margin-top: 12px; }
.formula { margin: 12px 0; padding: 14px 16px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--ink); text-align: center; font-size: 17px; color: var(--muted); }
.formula b { color: var(--gold); }
.steps-tips li { align-items: flex-start; color: var(--muted); }
.steps-tips li > div { padding-top: 3px; }
.steps-tips b { color: #fff; }
.ticks .sub { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.ticks .sub li { padding: 0 0 0 18px; background: none; border: 0; border-radius: 0; }
.ticks .sub li::before { left: 2px; top: 8px; width: 8px; height: 8px; border-width: 1.5px; }
.ticks .sub b { color: var(--cash); }
.tbl th small { display: block; color: var(--muted); font-size: 12.5px; }
.tbl .gate { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.tbl td.v { color: var(--gold); } .tbl td.i { color: var(--cash); }
.tlink { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
.tlink img { width: 40px; height: 40px; flex: none; }
@media (hover: hover) { .tlink:hover { color: var(--gold); } }
.tbl-blobs td, .tbl-blobs th { padding-top: 6px; padding-bottom: 6px; }
.tbl-muts td:last-child { min-width: 150px; }
.two { display: grid; gap: 14px; }
.two .table-wrap { margin-top: 12px; }
@media (min-width: 760px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 10px 8px; border-radius: 14px; background: var(--jelly); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); text-align: center; }
.facts span { display: block; font-size: 12.5px; color: var(--muted); }
.facts b { font-size: 19px; color: var(--gold); }
.rc { color: var(--gold); white-space: nowrap; }
.rc.on { color: var(--cash); }
.facts .rc { font-size: 16px; white-space: normal; }
.season-sec .h2 { color: var(--accent, #fff); }
.season-when { margin: 0 0 12px; color: var(--muted); }
.season-when .tag-new, .season-when .tag-soon { margin-right: 6px; vertical-align: 2px; }
.sil-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sil-row img { width: 80px; height: 80px; border-radius: 16px; background: rgba(0, 0, 0, .25); }
.disclaimer { margin: 18px 0 0; padding: 12px 14px; max-width: 70ch; border-radius: 14px; border: 2px dashed var(--line); color: var(--muted); font-size: 14.5px; }
.feats { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--jelly); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.fi { font-size: 30px; line-height: 1; flex: none; width: 38px; text-align: center; }
.fh { margin: 2px 0 4px; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 19px; line-height: 1.05; color: #fff; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* 🎥 creators.html (gen/pages_creators.py): steps, kit, colours, creator list, apply form */
.cr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.btn-apply { justify-content: center; width: auto; min-width: 220px; padding: 14px 22px 12px; background: linear-gradient(#ffe27a, var(--gold) 55%, #e8a812);
  color: var(--ink); font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.btn-apply:disabled { opacity: .6; cursor: progress; }
.cr-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .cr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cr-steps li { counter-increment: st; position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 62px; border-radius: var(--r); background: var(--jelly); border: 3px solid var(--ink); }
.cr-steps li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--ink); border: 3px solid var(--ink); font-family: var(--display); font-size: 20px; line-height: 1; padding-top: 3px; }
.cr-steps b { color: #fff; font-size: 17px; }
.cr-steps span { color: var(--muted); font-size: 15px; }
.btn-kit { justify-content: center; width: auto; max-width: 420px; background: var(--sky); color: #fff; }
.btn-kit span { font-family: var(--display); font-size: 21px; text-transform: uppercase; text-shadow: 0 2px 0 var(--ink); }
.btn-kit svg { filter: drop-shadow(0 2px 0 var(--ink)); }
.kit-zip-meta, .kit-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.kit-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kit-h { font-size: 21px; margin: 26px 0 10px; }
.kit-grid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
@media (min-width: 700px) { .kit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kit-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kit-item:has(.kit-wide) { grid-column: 1 / -1; }
@media (min-width: 700px) { .kit-item:has(.kit-wide) { grid-column: span 2; } }
.kit-shot { display: block; padding: 6px; border-radius: 18px; background: repeating-conic-gradient(#2b1a4f 0 25%, #24153f 0 50%) 0 0 / 18px 18px; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.kit-shot img { width: 100%; border-radius: 12px; }
.kit-info { flex: 1; }
.kit-name { margin: 0; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 17px; line-height: 1.05; color: #fff; }
.kit-meta { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.kit-blobs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .kit-blobs { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.kit-blob { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 8px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--ink); color: var(--text); text-decoration: none; font-size: 12.5px; text-align: center; line-height: 1.15; }
.kit-blob img { width: 100%; max-width: 96px; }
.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sw { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--ink); }
.sw-chip { grid-row: 1 / 4; width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); background: var(--c); cursor: copy; position: relative; }
.sw-chip.copied::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 2px 0 var(--ink); font-size: 20px; }
.sw-name { color: #fff; font-size: 14.5px; line-height: 1.1; }
.sw code { font-size: 13px; color: var(--gold); }
.sw-use { font-size: 12px; color: var(--muted); line-height: 1.15; }
.cr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .cr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cr { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--jelly); border: 3px solid var(--ink); }
.cr-p { font-size: 26px; flex: none; }
.cr-txt { flex: 1; min-width: 0; display: grid; }
.cr-name { color: #fff; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-sub { color: var(--muted); font-size: 13px; }
.cr-code { flex: none; padding: 8px 12px 6px; border-radius: 12px; border: 2px solid var(--ink); background: var(--night); color: var(--gold); font-family: var(--display); font-size: 18px; letter-spacing: .04em; cursor: copy; box-shadow: 0 3px 0 var(--ink); }
.cr-code.copied { background: var(--play); color: #fff; }
.apply { margin-top: 6px; padding: 16px; border-radius: var(--r); background: var(--jelly); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.ap-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-wide { grid-column: 1 / -1; } }
.ap-f { display: grid; gap: 5px; min-width: 0; }
.ap-f > span { color: #fff; font-size: 15px; }
.ap-f i { font-style: normal; color: var(--muted); }
.ap-f input, .ap-f select, .ap-f textarea { width: 100%; min-width: 0; padding: 11px 13px; border-radius: 14px; border: 3px solid var(--ink); background: var(--night); color: var(--text); font: 16px/1.3 var(--body); }
.ap-f select { appearance: none; -webkit-appearance: none; padding-right: 34px; background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23cdbdf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; }
.ap-f textarea { resize: vertical; min-height: 80px; }
.ap-f input::placeholder, .ap-f textarea::placeholder { color: var(--placeholder); }
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ap-check { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; }
.ap-check input { width: 22px; height: 22px; accent-color: var(--gold); flex: none; }
.ap-privacy { margin: 14px 0; font-size: 13.5px; color: var(--muted); }
.apply .btn-apply { width: 100%; }
@media (min-width: 700px) { .apply .btn-apply { width: auto; } }
.ap-msg { margin: 10px 0 0; min-height: 1.4em; color: var(--cash); }
.ap-msg.bad { color: #ff9b9b; }

/* guide pages: the section links scroll sideways on phones instead of taking four rows */
@media (max-width: 699px) {
  .gpage .toc { flex-wrap: nowrap; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
  .gpage .toc::-webkit-scrollbar { display: none; }
  .gpage .toc a { flex: none; }
}
.tbl td.vi b, .tbl td.vi small { display: block; }
.tbl td.vi small { font-size: 12.5px; margin-top: 1px; }
.tbl-muts .mut > span:last-child small { display: block; font-size: 12.5px; color: var(--muted); white-space: normal; max-width: 22ch; }
.tbl-muts .mut { align-items: flex-start; }
.tbl td.where { font-size: 13.5px; min-width: 180px; }
@media (max-width: 599px) {
  .tlink { white-space: normal; gap: 6px; line-height: 1.15; }
  .tlink img { width: 32px; height: 32px; }
  .tbl-blobs th, .tbl-blobs td { padding-left: 8px; padding-right: 8px; }
}
.tbl .under { display: block; margin: 4px 0 0 46px; font-size: 12px; color: var(--muted); }
.tbl .under small { font-size: 12px; }
@media (max-width: 599px) { .tbl .under { margin-left: 38px; } }
.tbl-muts th[scope="row"] { min-width: 150px; }

/* 🧮 rebirth planner (guide.html) */
.rb-plan { margin-top: 18px; padding: 16px; border-radius: 18px; border: 3px solid var(--ink); background: var(--jelly); }
.rb-plan .fld input { width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; border: 3px solid var(--ink); background: var(--bg, #1d1238); color: var(--text); font-size: 16px; }
.rb-out { margin: 6px 0 0; font-weight: 700; color: var(--gold, #ffd34d); }

/* 🥚 egg simulator (eggs.html) */
.es-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.es-tab { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; border: 3px solid var(--ink);
  background: var(--jelly); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.es-tab .egg-ico { width: 22px; height: 28px; border-width: 2px; }
.es-tab b { color: var(--gold); font-weight: normal; }
.es-tab[aria-selected="true"] { background: var(--jelly-2); outline: 3px solid var(--gold); outline-offset: 1px; }
.es-stage { --ec: #fff; --ea: #fc0; margin-top: 8px; padding: 18px 14px; text-align: center; border-radius: var(--r); border: 3px solid var(--ink);
  background: var(--night-2); box-shadow: var(--shadow); }
.es-stage { background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--ea) 28%, transparent), transparent 60%), var(--night-2); box-shadow: var(--shadow); }
.es-name { margin: 0; font-family: var(--display); font-weight: normal; font-size: 30px; letter-spacing: .5px; color: #fff; }
.es-where { margin: 2px 0 6px; color: var(--muted); }
.es-egg { display: grid; place-items: center; height: 150px; }
.es-shell { width: 104px; height: 132px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.75) 0 10%, transparent 11%), linear-gradient(var(--ec) 0 50%, var(--ea) 50% 62%, var(--ec) 62%); }
.es-egg.shake .es-shell { animation: es-shake .65s ease-in-out; }
.es-egg.cracked .es-shell { animation: es-pop .35s ease-out; }
@keyframes es-shake { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(12deg); } 45% { transform: rotate(-10deg); } 60% { transform: rotate(9deg); } 75% { transform: rotate(-5deg) scale(1.06); } }
@keyframes es-pop { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .es-egg.shake .es-shell, .es-egg.cracked .es-shell { animation: none; } }
.es-result { min-height: 8px; margin: 6px 0 4px; }
.es-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.es-btns .btn-small { min-width: 104px; font: inherit; font-size: 17px; cursor: pointer; background: var(--play); }
.es-meter, .es-perks { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.es-card { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; min-width: 112px; border-radius: 14px;
  border: 3px solid var(--rc); background: var(--jelly); color: var(--text); text-decoration: none; }
.es-card.big { min-width: 220px; padding: 12px 18px; animation: es-pop .35s ease-out; }
.es-card img { display: block; }
.es-cn { font-size: 16px; }
.es-card.big .es-cn { font-size: 22px; }
.es-cr { font-size: 13px; }
.es-cv { color: var(--gold); font-weight: normal; font-size: 14px; }
.es-mut { font-size: 13px; color: var(--mc); }
.es-got { margin: 4px 0 8px; color: var(--muted); }
.es-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.es-sum { margin: 0 0 10px; color: var(--muted); }
.es-bars { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.es-bars li { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 8px; font-size: 14px; }
.es-bars li span { color: var(--rc); }
.es-bars li i { display: block; height: 12px; border-radius: 6px; background: var(--rc); border: 2px solid var(--ink); }
.es-bars li b { text-align: right; font-weight: normal; }
.es-h3 { margin: 14px 0 8px; font-weight: normal; font-size: 18px; }
.es-best { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* 📅 home: add the weekly events to a calendar (events.ics) */
.cal-link { margin: 14px 0 0; text-align: center; }

/* ------------------------------------------------------------ 🎨 themes (gen/shell.THEMES; site.js picker) */
/* Only the page's own colours change: blob art, rarity and mutation colours stay the game's. */
:root[data-theme="spooky"] {
  --ink: #160a04; --night: #170b05; --night-2: #2c1508; --jelly: #3d1d0b; --jelly-2: #54280f; --line: #7b3b13;
  --text: #fff6ea; --muted: #f0c9a2; --glow: #b4500f; --top-bg: rgba(23, 11, 5, .93); --tabs-bg: rgba(18, 8, 3, .96);
  --hair: rgba(123, 59, 19, .55); --placeholder: #c99a72; --soon-bg: rgba(61, 29, 11, .55);
}
:root[data-theme="frost"] {
  --ink: #081627; --night: #0a1a33; --night-2: #10294d; --jelly: #173a66; --jelly-2: #1f4c80; --line: #3a6fa8;
  --text: #f4fbff; --muted: #bcdaf3; --glow: #3d8fd8; --top-bg: rgba(10, 26, 51, .93); --tabs-bg: rgba(8, 20, 40, .96);
  --hair: rgba(58, 111, 168, .55); --placeholder: #94b7d6; --soon-bg: rgba(23, 58, 102, .55);
}
:root[data-theme="candy"] {
  --ink: #2a0b22; --night: #34092a; --night-2: #551445; --jelly: #75205e; --jelly-2: #902a75; --line: #be4a9a;
  --text: #fff5fb; --muted: #f7c8e7; --glow: #e0479f; --top-bg: rgba(52, 9, 42, .93); --tabs-bg: rgba(42, 7, 34, .96);
  --hair: rgba(190, 74, 154, .55); --placeholder: #e0a2cb; --soon-bg: rgba(117, 32, 94, .55);
}
:root[data-theme="lava"] {
  --ink: #190505; --night: #1d0606; --night-2: #380d09; --jelly: #53140f; --jelly-2: #6e1c13; --line: #a3361f;
  --text: #fff4ec; --muted: #f4c3ae; --glow: #d4400f; --top-bg: rgba(29, 6, 6, .93); --tabs-bg: rgba(24, 5, 5, .96);
  --hair: rgba(163, 54, 31, .55); --placeholder: #d79a86; --soon-bg: rgba(83, 20, 15, .55);
}
.theme { position: relative; margin-left: auto; }
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 3px solid var(--ink);
  background: var(--jelly); box-shadow: 0 3px 0 var(--ink); font-size: 19px; line-height: 1; cursor: pointer; padding: 0; }
.theme-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.theme-btn[aria-expanded="true"] { background: var(--jelly-2); }
.theme-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 190px; padding: 6px; border-radius: 16px;
  border: 3px solid var(--ink); background: var(--night-2); box-shadow: 0 6px 0 var(--ink); display: grid; gap: 2px; }
.theme-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text); font-size: 15px; text-align: left; cursor: pointer; }
.theme-menu button span { width: 22px; text-align: center; font-size: 18px; }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--jelly); outline: none; }
.theme-menu button[aria-checked="true"] { background: var(--jelly-2); box-shadow: inset 0 0 0 2px var(--gold); }

/* ------------------------------------------------------------ ⭐ rate this page (site.js) */
.rate { max-width: 1180px; margin: 40px auto 0; padding: 0 16px; }
.rate > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.rate-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 14px 16px;
  border-radius: var(--r); border: 3px solid var(--ink); background: var(--jelly); box-shadow: var(--shadow); }
.rate-h { margin: 0; font-size: 17px; font-weight: normal; color: #fff; }
.rate-stars { display: flex; gap: 2px; }
.rate-stars button { width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 30px; line-height: 1;
  color: var(--line); -webkit-text-stroke: 1.5px var(--ink); transition: transform .08s, color .08s; }
.rate-stars button.on { color: var(--gold); }
.rate-stars button:not(:disabled):hover { transform: scale(1.12); }
.rate-stars button:disabled { cursor: default; }
.rate-avg { flex-basis: 100%; margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.rate-form { margin-top: 10px; }
.rate-form textarea { display: block; width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 14px; border: 3px solid var(--ink); background: var(--night-2);
  color: var(--text); font-size: 15px; resize: vertical; min-height: 64px; }
.rate-form textarea::placeholder { color: var(--placeholder); }
.rate-row { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.rate-count { font-size: 13px; color: var(--muted); }
.rate-send { font: inherit; cursor: pointer; background: var(--play); }
.rate-send:disabled { opacity: .6; }
.rate-msg { margin: 8px auto 0; min-height: 1em; text-align: center; font-size: 14px; color: var(--muted); }
.rate + .foot { margin-top: 28px; }

/* ------------------------------------------------------------ 🔮 quiz (quiz.html) */
.qz, .qz-result { max-width: 640px; margin: 10px auto 0; padding: 18px 16px; border-radius: var(--r); border: 3px solid var(--ink);
  background: var(--jelly); box-shadow: var(--shadow); text-align: center; }
.qz-bar { height: 12px; border-radius: 99px; border: 2px solid var(--ink); background: var(--night-2); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s ease; }
.qz-step { margin: 10px 0 2px; font-size: 14px; color: var(--muted); }
.qz-q { margin: 0 0 14px; font-weight: normal; font-size: 23px; color: #fff; }
.qz-answers { display: grid; gap: 10px; }
@media (min-width: 560px) { .qz-answers { grid-template-columns: 1fr 1fr; } }
.qz-a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 16px; border: 3px solid var(--ink);
  background: var(--jelly-2); color: var(--text); font-size: 17px; text-align: left; cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.qz-a span { font-size: 24px; flex: none; }
.qz-a:hover { background: var(--line); }
.qz-a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.qz-you { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.qz-card { --rc: var(--gold); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 22px 14px; border-radius: 20px;
  border: 4px solid var(--rc); background: var(--night-2); color: var(--text); text-decoration: none; box-shadow: 0 5px 0 var(--ink); animation: es-pop .4s ease-out; }
.qz-card img { width: 200px; height: 200px; }
.qz-name { font-family: var(--display); font-size: 28px; text-transform: uppercase; color: #fff; }
.qz-rar { font-size: 16px; }
.qz-line { margin: 14px 0 4px; font-size: 18px; color: #fff; }
.qz-desc { margin: 0 0 12px; color: var(--muted); font-style: italic; }
.qz-result .t-tools { justify-content: center; }
.qz-note { max-width: 640px; margin: 16px auto 0; text-align: center; }

/* 👤 opt-in player pages (players/<username>.html, players.html; gen/pages_players.py) */
.pf-user { margin: -4px 0 6px; color: var(--muted); font-size: 18px; }
.pf-title, .pf-chip { display: inline-block; padding: 4px 11px 3px; border-radius: 99px; background: var(--night-2); border: 2px solid var(--gold); color: var(--text); font-size: 14px; }
.pf-title small { color: var(--muted); font-size: 12.5px; }
.pf-chip { border-color: var(--line, var(--muted)); }
.pf-none { display: grid; place-items: center; width: 100%; aspect-ratio: 1; font-size: 96px; opacity: .55; }
.profile .bp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile .bp-actions button { cursor: pointer; font: inherit; font-size: 15px; }
.blob .pf-mut { position: absolute; top: 7px; left: 7px; z-index: 1; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 1px 5px; border-radius: 99px;
  background: color-mix(in srgb, var(--mc) 45%, var(--night-2)); border: 2px solid var(--ink); color: #fff; font-size: 12px; line-height: 1.4; }
.mut-on img { filter: drop-shadow(0 0 9px var(--mc)) drop-shadow(0 0 2px var(--mc)); }
.bp-img.mut-on img { filter: drop-shadow(0 0 22px var(--mc)) drop-shadow(0 0 4px var(--mc)); }
.profile .btn-play span { font-size: clamp(19px, 5.3vw, 24px); }
.pf-stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; line-height: 1; }
.pl-tools { margin: 18px 0 14px; }
.pl-tools input { width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 14px; border: 3px solid var(--ink); background: var(--jelly); color: var(--text); font: inherit; font-size: 17px; }
.pl-tools input::placeholder { color: var(--muted); }
.pl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 620px) { .pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.pl-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; padding: 10px 8px 12px; border-radius: var(--r); text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, var(--jelly)) 0%, var(--jelly) 60%); border: 3px solid var(--rc); color: var(--text); text-decoration: none;
  box-shadow: 0 0 0 2px var(--ink), 0 6px 0 2px var(--ink); }
.pl-card:active { transform: translateY(3px); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); }
.pl-card img, .pl-card .pf-none { width: 88px; height: 88px; font-size: 52px; }
.pl-rank { position: absolute; top: 7px; left: 9px; color: var(--muted); font-size: 13px; }
.pl-n { font-family: var(--display); font-size: 19px; line-height: 1.1; color: #fff; overflow-wrap: anywhere; }
.pl-u { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pl-t { font-size: 12.5px; color: var(--text); }
.pl-v { font-size: 15px; } .pl-v .v { font-size: 18px; }
.pl-m { color: var(--muted); font-size: 12.5px; }

/* ============================================================ round 4: website upgrade (Oct 2026) */
/* ------------------------------------------------------------ footer site map + the "More" sheet (site.js) */
.site-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; max-width: 980px; margin: 0 auto 24px; text-align: left; }
@media (min-width: 760px) { .site-map { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sm-h { margin: 0 0 8px 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; font-size: 16px; line-height: 1; }
.sm-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.sm-group a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.2; }
.sm-group a span { width: 22px; flex: none; text-align: center; font-size: 16px; }
@media (hover: hover) { .sm-group a:hover { background: var(--jelly); color: #fff; } }
.sm-group a[aria-current] { background: var(--night-2); color: var(--gold); box-shadow: inset 0 0 0 2px var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 0 0 16px; }
.foot .foot-play { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px 7px; border-radius: 12px; background: var(--play); color: #fff; text-decoration: none;
  border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 0 var(--ink); }
.foot-play svg { width: 16px; height: 16px; margin-top: -3px; }
.foot-soc { display: inline-flex; gap: 8px; }
.foot-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--jelly); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); color: #fff; }
.foot-soc svg { width: 21px; height: 21px; }
.foot-soc .fs-discord { background: #5865f2; } .foot-soc .fs-youtube { background: #e8132e; }
.foot-soc .fs-tiktok { background: #121018; } .foot-soc .fs-instagram { background: linear-gradient(115deg, #f9a43a, #e8364f 45%, #b02fbb); }
.tabs a[data-menu] .ni { font-family: var(--display); font-size: 22px; color: var(--text); filter: none; }
.menu-sheet { max-width: 640px; }
.menu-sheet .sh-in { padding-top: 14px; }
.menu-h { margin: 4px 0 14px; font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.menu-map { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 16px 8px; }
.menu-map .sm-h { color: var(--gold); }
.menu-play { margin-top: 18px; }

/* ------------------------------------------------------------ home: the hero stage (blobs hopping on the Blob Road) */
.stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto 4px; aspect-ratio: 16 / 9; isolation: isolate; }
.stage::before { /* the ray burst behind the blobs, like the game's shop art (turns very slowly) */
  content: ""; position: absolute; z-index: -2; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .11) 0 7deg, rgba(255, 255, 255, 0) 7deg 16deg);
  -webkit-mask: radial-gradient(closest-side, #000 22%, transparent 100%); mask: radial-gradient(closest-side, #000 22%, transparent 100%);
  animation: spin 90s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
/* the Blob Road: a belt seen from the front (top surface + front face), arrows sliding left (a composited transform) */
.road { position: absolute; z-index: -1; left: -4%; right: -4%; bottom: 0; height: 32%; overflow: hidden;
  clip-path: polygon(8% 0, 92% 0, 100% 70%, 100% 100%, 0 100%, 0 70%);
  background: linear-gradient(180deg, #4a3d6e 0, #3a2f58 8%, #2f264a 70%, var(--ink) 70% 74%, #241c3a 74%); }
.road::before { content: ""; position: absolute; left: 0; right: -48px; top: 18%; height: 40%;
  background: linear-gradient(to bottom right, transparent calc(50% - 3px), rgba(255, 210, 60, .55) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)) 0 0 / 48px 50% repeat-x,
              linear-gradient(to top right, transparent calc(50% - 3px), rgba(255, 210, 60, .55) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)) 0 100% / 48px 50% repeat-x;
  animation: belt 1.5s linear infinite; }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8%; height: 10%;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--ink) 10px 20px); opacity: .8; }
@keyframes belt { to { transform: translateX(-48px); } }
.hb { position: absolute; left: var(--x); width: var(--w); bottom: calc(9% + var(--b)); z-index: var(--z); }
.hb img { width: 100%; aspect-ratio: 1; transform-origin: 50% 92%; animation: hop var(--t) cubic-bezier(.45, 0, .3, 1) var(--d) infinite both, plop .8s cubic-bezier(.3, 1.6, .5, 1) both; }
.hb::after { content: ""; position: absolute; z-index: -1; left: 24%; right: 24%; bottom: 4%; height: 10%; border-radius: 50%; background: rgba(10, 4, 24, .45);
  animation: hopshadow var(--t) cubic-bezier(.45, 0, .3, 1) var(--d) infinite both; }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  28% { transform: translateY(0) scale(1.025, .975); }
  52% { transform: translateY(0) scale(1, 1); }
  58% { transform: translateY(0) scale(1.08, .9); }
  67% { transform: translateY(-17%) scale(.95, 1.07); }
  76% { transform: translateY(0) scale(1.09, .9); }
  83% { transform: translateY(0) scale(.97, 1.03); }
  90% { transform: translateY(0) scale(1, 1); }
}
@keyframes hopshadow { 0%, 52%, 100% { transform: scale(1); opacity: 1; } 67% { transform: scale(.62); opacity: .5; } 76% { transform: scale(1.12); opacity: 1; } 90% { transform: scale(1); } }
.coins { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.coin { position: absolute; left: var(--cx); bottom: 42%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #fff8c8, var(--gold) 45%, #e0a00c); border: 2.5px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
  color: #8a5a00; font: 13px/19px var(--display); font-style: normal; text-align: center; animation: coin 3.6s ease-out var(--cd) infinite; }
@keyframes coin { 0% { opacity: 0; transform: translateY(16px) scale(.5); } 12% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-84px) scale(.9) rotate(18deg); } }
.hero-text { position: relative; }
.hero-stats { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hero-stats a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; border-radius: 14px; background: var(--night-2);
  border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); text-decoration: none; color: var(--muted); font-size: 12.5px; line-height: 1.15; }
.hero-stats b { font-family: var(--display); font-size: 24px; line-height: 1; padding-top: 3px; color: var(--gold); text-shadow: 0 2px 0 var(--ink); }
@media (hover: hover) { .hero-stats a:hover { background: var(--jelly); color: #fff; } }
/* community: the Discord big, the socials as one row */
.soc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.soc { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px 10px; border-radius: 16px; border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink); color: #fff; text-decoration: none; font-size: 15px; min-width: 0; }
.soc svg { width: 22px; height: 22px; flex: none; }
.soc:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.soc-tiktok { background: #121018; } .soc-tiktok svg { filter: drop-shadow(-2px -1px 0 #25f4ee) drop-shadow(2px 1px 0 #fe2c55); }
.soc-youtube { background: #e8132e; } .soc-instagram { background: linear-gradient(115deg, #f9a43a 0%, #e8364f 45%, #b02fbb 100%); }
/* explore tiles: one accent colour each */
.home .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.home .tile { --tc: var(--gold); padding: 13px 4px 11px; gap: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 24%, var(--jelly-2)) 0%, var(--jelly) 78%); }
.home .tile .ti { font-size: 28px; }
.home .tile b { font-size: clamp(15px, 4.4vw, 19px); margin-top: 6px; }
.home .tile small { font-size: 12.5px; line-height: 1.2; }
@media (hover: hover) { .tile { transition: transform .1s; } .tile:hover { transform: translateY(-3px); } }
/* 🌅 new here? */
.start-card { margin-top: 26px; padding: 16px; text-align: left; border-radius: var(--r); border: 3px solid var(--ink); box-shadow: var(--shadow);
  background: linear-gradient(160deg, rgba(255, 154, 92, .26) 0%, var(--jelly) 62%); }
.start-card .h3 { margin: 0 0 6px; }
.start-lead { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.start-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.start-list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 10px 6px; border-radius: 12px;
  background: var(--night-2); border: 2px solid var(--ink); font-size: 14.5px; line-height: 1.25; }
.st-min { color: var(--gold); font-size: 13px; white-space: nowrap; }
/* 🆕 newest blobs: one swipeable row on phones */
.newest { margin-top: 6px; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; margin: 34px 0 14px; }
.sec-row .h2 { margin: 0; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(146px, 42%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: none; text-align: center; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
@media (min-width: 760px) { .row-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0 8px; } }
@media (min-width: 1000px) { .row-scroll { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
/* desktop home: a wide hero, then the link column on the left and what's live in game on the right */
@media (min-width: 1000px) {
  .home { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr auto;
    column-gap: 48px; align-items: start; }
  .home .hero { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; column-gap: 32px; padding: 34px 0 10px; }
  .home .stage { grid-column: 2; grid-row: 1; max-width: 640px; margin: 0; justify-self: end; width: 100%; }
  .home .stage::before { width: 112%; }
  .home .hero-text { grid-column: 1; grid-row: 1; text-align: left; }
  .home .logo { font-size: 84px; }
  .home .tagline { margin-left: 0; font-size: 19px; }
  .home .cta-hero { max-width: 480px; }
  .home .cta-hero .cta-sub { justify-content: flex-start; }
  .home .hero-stats { max-width: 480px; }
  .home .links { grid-column: 1; grid-row: 2; }
  .home .quick { grid-column: 1; grid-row: 3; }
  .home .start { grid-column: 1; grid-row: 4; }
  .home .live { grid-column: 2; grid-row: 2 / 6; }
  .home .live .h2 { text-align: left; margin-top: 24px; }
  .home .newest { grid-column: 1 / -1; grid-row: 6; }
}

/* ------------------------------------------------------------ 🌅 beginners-guide.html */
.journey { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; position: relative; }
.journey::before { content: ""; position: absolute; left: 20px; top: 12px; bottom: 12px; width: 6px; border-radius: 6px; background: var(--line); }
.jg { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; scroll-margin-top: 84px; }
.jg-n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-top: 4px; border-radius: 50%; background: var(--jelly-2);
  border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-family: var(--display); font-size: 20px; line-height: 1; padding-top: 3px; color: #fff; }
.jg-body { min-width: 0; padding: 12px 14px; border-radius: 16px; background: var(--jelly); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.jg-t { margin: 0; color: #fff; font-size: 17px; line-height: 1.3; padding-right: 64px; }
.jg-tip { margin: 5px 0 0; color: var(--muted); font-size: 14.5px; }
.jg-tip a { color: var(--gold); }
.jg-min { position: absolute; right: 12px; top: -9px; z-index: 2; padding: 3px 9px 2px; border-radius: 99px; background: var(--night-2); border: 2px solid var(--ink);
  color: var(--gold); font-size: 13px; white-space: nowrap; }
.jg-r { list-style: none; padding: 0; margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jg-r li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 3px; border-radius: 10px; background: var(--night-2); border: 2px solid var(--ink); font-size: 13.5px; color: var(--text); }
.jg-star .jg-body { border-color: var(--gold); background: linear-gradient(160deg, rgba(255, 210, 60, .17), var(--jelly) 55%); box-shadow: 0 4px 0 var(--ink), 0 0 0 2px var(--ink); }
.jg-star .jg-n { background: var(--gold); color: var(--ink); }
.rets { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .rets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ret { padding: 14px; border-radius: var(--r); background: var(--jelly); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.ret-h { margin: 0 0 8px; font-family: var(--display); text-transform: uppercase; font-size: 20px; line-height: 1; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.ret-goals { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 3px; font-size: 15px; }
.later { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .later { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.later li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--ink); }
.later b { color: #fff; } .later span { color: var(--muted); font-size: 14px; }
.facts b a { color: var(--gold); }

/* ------------------------------------------------------------ 🌍 worlds.html */
.worlds { display: grid; gap: 24px; margin-top: 28px; }
.world { border-radius: 22px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: var(--jelly); overflow: hidden; scroll-margin-top: 80px; }
.w-banner { display: flex; align-items: center; gap: 14px; padding: 18px 16px 16px; border-bottom: 3px solid var(--ink);
  background: radial-gradient(110% 150% at 92% -10%, color-mix(in srgb, var(--wf) 60%, transparent) 0%, transparent 58%),
              linear-gradient(160deg, color-mix(in srgb, var(--wa) 62%, var(--night-2)) 0%, color-mix(in srgb, var(--wg) 30%, var(--jelly)) 100%); }
.w-icon { flex: none; font-size: 56px; line-height: 1; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); }
.w-num { margin: 0; font-size: 12.5px; color: #fff; opacity: .9; text-transform: uppercase; letter-spacing: .1em; }
.w-name { margin: 2px 0 8px; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: clamp(30px, 8vw, 44px); line-height: 1; color: #fff;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 5px 0 var(--ink); }
.w-req { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.w-req li { padding: 4px 10px 3px; border-radius: 10px; background: rgba(16, 6, 34, .6); border: 2px solid var(--ink); font-size: 14px; color: #fff; }
.w-req li:last-child { color: var(--gold); }
.w-body { display: grid; gap: 18px; padding: 16px; }
@media (min-width: 900px) { .w-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; } }
.w-part { min-width: 0; }
.w-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; font-family: var(--display); font-weight: normal; text-transform: uppercase;
  font-size: 21px; line-height: 1.05; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.w-h small { font-family: var(--body); text-transform: none; font-size: 15px; color: var(--gold); text-shadow: none; }
.w-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.w-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.w-boss { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: start; }
.w-boss > div > .w-note:first-child { margin-top: 0; }
.w-boss .tchip img { width: 76px; height: 76px; }
.w-moves { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.w-moves li { padding: 8px 10px; border-radius: 12px; background: var(--night-2); border: 2px solid var(--ink); font-size: 14px; color: var(--muted); }
.w-moves b { display: block; color: #fff; font-size: 15px; }
.w-glove { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--night-2); border: 2px solid var(--ink);
  color: var(--text); text-decoration: none; align-self: start; }
.w-glove .glove { width: 56px; height: 56px; flex: none; }
.w-glove span { display: grid; gap: 2px; } .w-glove b { color: #fff; } .w-glove small { color: var(--muted); font-size: 13.5px; }
.w-npc { margin: 0; padding: 12px 14px; border-radius: 14px; border: 2px dashed var(--line); color: var(--text); font-size: 15px; align-self: start; }
.w-npc p { margin: 0; } .w-npc footer { margin-top: 4px; color: var(--muted); font-size: 13px; }
.tc-sub { font-size: 12px; line-height: 1.15; color: var(--gold); }
.w-link { white-space: nowrap; }
.pill-odds { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); }

/* ------------------------------------------------------------ 🧤 gloves.html */
.gloves { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .gloves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 12px; align-content: start; padding: 14px; border-radius: var(--r); border: 3px solid var(--ink); box-shadow: var(--shadow);
  background: linear-gradient(160deg, color-mix(in srgb, var(--gc) 22%, var(--jelly)) 0%, var(--jelly) 62%); scroll-margin-top: 80px; }
.gl-art { display: grid; place-items: center; align-self: start; aspect-ratio: 1; border-radius: 18px;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--gc) 38%, transparent), transparent 70%); }
.glove { display: block; width: 100%; height: auto; overflow: visible; }
.g-neon { filter: drop-shadow(0 0 7px var(--fx)) drop-shadow(0 0 2px var(--fx)); }
.g-foil { filter: drop-shadow(0 0 5px rgba(255, 228, 130, .7)); }
.g-ice { filter: drop-shadow(0 0 5px rgba(200, 240, 255, .6)); }
.gl-info { min-width: 0; }
.gl-name { margin: 2px 0 0; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 22px; line-height: 1.05; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.gl-desc { margin: 4px 0 6px; color: var(--muted); font-size: 14px; }
.gl-price { margin: 0 0 8px; color: var(--gold); font-size: 17px; }
.gl-bars { grid-column: 1 / -1; margin: 0; display: grid; gap: 6px; }
.gl-bars div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; align-items: center; }
.gl-bars dt { font-size: 12.5px; color: var(--muted); }
.gl-bars dd { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.gl-bars .bar { flex: 1; min-width: 0; height: 13px; border-radius: 7px; background: var(--night-2); border: 2px solid var(--ink); overflow: hidden; }
.gl-bars .bar i { display: block; height: 100%; background: var(--gc); }
.gl-bars b { font-size: 14px; min-width: 34px; text-align: right; }
.gl-where { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--muted); }
.gl-mini { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gl-mini .glove { width: 28px; height: 28px; flex: none; }
.tbl-gloves thead th { white-space: nowrap; }

/* ------------------------------------------------------------ ❓ faq.html */
.faqpage .faq { margin-top: 6px; }
.faq p a { color: var(--gold); }

/* ------------------------------------------------------------ 📅 server-events.html: this week (app.js setupWeek) */
.wk-grid { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 600px) { .wk-day { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: start; }
  .wk-h { flex-direction: column; align-items: flex-start; gap: 3px; margin: 2px 0 0; } }
.wk-day { padding: 10px; border-radius: 14px; background: var(--jelly); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); min-width: 0; }
.wk-day.is-today { border-color: var(--gold); box-shadow: 0 4px 0 var(--ink), 0 0 0 2px var(--ink); }
.wk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: 0 0 7px; }
.wk-h b { font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 17px; line-height: 1; color: #fff; }
.wk-h span { color: var(--muted); font-size: 13px; }
.wk-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.wk-day ul { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.wk-ev.past a { opacity: .5; }
.wk-ev a { display: block; height: 100%; padding: 6px 8px 5px; border-radius: 10px; background: var(--night-2); border-left: 4px solid var(--ec, var(--gold));
  color: var(--text); text-decoration: none; font-size: 13.5px; line-height: 1.25; }
.wk-ev small { display: block; color: var(--muted); font-size: 12px; }
.wk-ev.live a { box-shadow: inset 0 0 0 2px var(--cash); }
.wk-ev.live small { color: var(--cash); }
.wk-quiet { color: var(--muted); font-size: 13px; }
.wk-note { margin: 10px 0 0; }

/* ------------------------------------------------------------ values: "where to get it" filter (a chip-sized select at the start of the rarity chips) */
.chip-sel { flex: none; position: relative; }
.chip-sel select { appearance: none; -webkit-appearance: none; height: 100%; padding: 6px 30px 5px 12px; border-radius: 99px; border: 2px solid var(--ink);
  background: var(--jelly-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 9px center / 15px no-repeat;
  color: var(--text); font-size: 14px; cursor: pointer; }
.chip-sel select.on { background-color: var(--gold); color: var(--ink); }
