/* Layout: sticky header with tabs and coin balance; one view at a time in a 1120px column; listings in a wrapping card grid. */
:root {
  /* Colours. One dark look: black background, purple from the logo. */
  --bg: #000000; --surface: #0e0a15; --surface-2: #1a1326; --fg: #f2edf9; --muted: #a99dbb; --line: #2e2244;
  --accent: #9d2cff; --accent-fg: #ffffff; --accent-soft: #2a1247;
  --accent-rgb: 157, 44, 255; --accent-2: #c48cff; --accent-3: #e3c8ff; --dim: #3a2f4d;
  --coin: #f2c14e; --coin-bg: #3a2e10;
  --ok: #62d49c; --ok-bg: #12301f; --warn: #f0b35a; --warn-bg: #3a2a10; --bad: #ff9088; --bad-bg: #3d1a17;
  --c-script: #41c2b7; --c-vehicle: #f08d5e; --c-map: #c79bff; --c-cloth: #f07fb6;
  --display: "Chakra Petch", "Trebuchet MS", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 6px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font: 15px/1.5 var(--body); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.brand span { color: var(--accent); }
.balance { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.coin { display: inline-flex; align-items: center; gap: 6px; background: var(--coin-bg); color: var(--coin); font-weight: 600; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
nav { width: 100%; display: flex; gap: 4px; overflow-x: auto; }
nav a { padding: 8px 12px; text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
nav a .n { font-size: .75rem; background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

.notice { background: var(--warn-bg); color: var(--warn); font-size: .87rem; }
.notice div { max-width: 1120px; margin: 0 auto; padding: 6px 16px; }
main { max-width: 1120px; margin: 0 auto; padding-block: 24px 64px; padding-inline: 16px; display: flex; flex-direction: column; gap: 20px; }
.head { display: flex; flex-direction: column; gap: 4px; }
.head p { max-width: 65ch; color: var(--muted); }

.btn { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: var(--r); cursor: pointer; font-weight: 500; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 600; }
.btn.danger { color: var(--bad); }
.btn.small { padding: 4px 10px; font-size: .87rem; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
input[type="search"], input[type="text"], input[type="number"], input[type="url"], input[type="date"], select, textarea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; min-width: 0; max-width: 100%; }
.filters input[type="search"] { flex: 1 1 180px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; }
.card:hover { border-color: var(--accent); }
.thumb { aspect-ratio: 16 / 7; max-width: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, transparent 10px 20px), var(--surface-2); font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; }
.thumb.k0 { color: var(--c-script); } .thumb.k1 { color: var(--c-map); } .thumb.k2 { color: var(--c-vehicle); } .thumb.k3 { color: var(--c-cloth); }
.card-b { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-b h3 { min-height: 2.4em; }
.meta { font-size: .85rem; color: var(--muted); }
.card-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.tag { font-size: .78rem; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--muted); white-space: nowrap; }
.pill { font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
.list { display: flex; flex-direction: column; }
.item { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
.item > div { min-width: 0; }
.item .t { font-weight: 600; overflow-wrap: anywhere; }
.code { font-family: var(--mono); font-weight: 500; background: var(--surface-2); padding: 3px 8px; border-radius: 4px; user-select: all; overflow-wrap: anywhere; }
.codebox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; background: var(--surface-2); border-radius: var(--r); }
.codebox .code { font-size: 1.1rem; background: none; padding: 0; }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pack { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 12px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.pack[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pack b { font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label, legend { font-size: .85rem; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.err { color: var(--bad); font-size: .87rem; }
.num { font-variant-numeric: tabular-nums; }

dialog { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--fg); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); }
dialog::backdrop { background: rgba(8, 14, 20, .6); }
.dlg { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dlg .thumb { border-radius: var(--r); }
.files { font-family: var(--mono); font-size: .85rem; background: var(--surface-2); border-radius: var(--r); padding: 10px; overflow-x: auto; white-space: pre; margin: 0; }

#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: var(--r); max-width: calc(100vw - 32px); z-index: 20; }

/* Additions for the real site */
.spacer { margin-left: auto; }
.center { justify-content: center; margin-top: 10px; }
.strong { font-weight: 600; }
.narrow { width: 8em; }
.flagline { margin-top: 6px; }
.grow { flex: 1 1 200px; }
progress { width: 100%; }
.who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
body { margin: 0; }
a.btn { text-decoration: none; display: inline-block; color: var(--fg); }
.notice a { color: inherit; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.logo { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.thumb { overflow: hidden; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.shot { width: 160px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.groups, .group { display: flex; flex-direction: column; }
.groups { gap: 28px; } .group { gap: 12px; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
/* Seasonal background (see season.js). Sits behind everything and never catches clicks. */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.notice, main { position: relative; z-index: 1; }
.staff-pick { max-width: 320px; }
.staff-sec { display: flex; flex-direction: column; gap: 12px; }
[hidden] { display: none !important; }

/* Front-page stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; text-align: left; color: inherit; font: inherit;
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), 0) 60%), var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.stat-link { cursor: pointer; }
.stat-link:hover { border-color: var(--accent); }
.stat-k { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.stat-k svg { width: 15px; height: 15px; fill: var(--accent-2); flex: none; }
.stat-v { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.stat-date { font-size: 1.15rem; color: var(--accent-2); }
.stat-sub { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dot { width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-v { font-size: 1.4rem; } }

/* VIP */
.pill.vip { background: rgba(255, 196, 61, .14); color: #ffd36b; border: 1px solid rgba(255, 196, 61, .35); letter-spacing: .06em; }
.card { position: relative; }
.card.vip { border-color: rgba(255, 196, 61, .35); box-shadow: 0 0 0 1px rgba(255, 196, 61, .08), 0 8px 30px -18px rgba(255, 196, 61, .6); }
.card.vip:hover { border-color: #ffc43d; }
.vip-corner { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .75); color: #ffd36b; border: 1px solid rgba(255, 196, 61, .5); }
.vip-group > h2 { color: #ffd36b; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vip-note { font-family: var(--sans, inherit); font-size: .82rem; font-weight: 400; color: var(--muted); }
.vip-lock { display: flex; gap: 8px; align-items: flex-start; }

/* Avatars, verified tick, stars */
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); }
.av-sm { width: 28px; height: 28px; }
.av-lg { width: 96px; height: 96px; border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.av-letter { display: inline-grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--accent-3); background: var(--accent-soft); }
.av-lg.av-letter { font-size: 2.4rem; }
.av-sm.av-letter { font-size: .85rem; }
.me-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.me-link:hover span { color: var(--fg); }
.vtick { width: 1em; height: 1em; margin-left: 4px; vertical-align: -0.14em; fill: var(--accent); flex: none; }
.vtick .vtick-c { fill: #fff; }
.stars { color: #ffc43d; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--dim); }
.rating { white-space: nowrap; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

/* Reviews */
.reviews { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.reviews h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 1.05rem; }
.review-list { display: flex; flex-direction: column; }
.review { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review p { margin: 4px 0 0; overflow-wrap: anywhere; }
.review-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.review-h a { color: var(--fg); font-weight: 600; text-decoration: none; }
.review-h .btn { margin-left: auto; }
.review-form { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.star-pick { display: flex; gap: 2px; }
.star-btn { background: none; border: 0; padding: 0 2px; font-size: 1.7rem; line-height: 1; color: var(--dim); cursor: pointer; }
.star-btn.on { color: #ffc43d; }
.star-btn:hover { transform: scale(1.1); }

/* Profile */
.profile-head { display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), 0) 60%), var(--surface); }
.profile-head h1 { display: flex; align-items: center; gap: 2px; overflow-wrap: anywhere; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: default; }
.badge.b-verified { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-3); }
.badge.b-staff { border-color: #4da3ff; color: #a8d1ff; background: rgba(77, 163, 255, .12); }
.badge.b-vip { border-color: rgba(255, 196, 61, .5); color: #ffd36b; background: rgba(255, 196, 61, .12); }
.badge.b-popular, .badge.b-toprated { border-color: rgba(255, 140, 60, .5); color: #ffb27a; background: rgba(255, 140, 60, .1); }
.stat-of { font-size: .9rem; color: var(--muted); margin-left: 2px; }
@media (max-width: 560px) { .profile-head { flex-direction: column; text-align: center; } .profile-head .grow { flex: none; width: 100%; } .profile-head h1 { justify-content: center; } .badges { justify-content: center; } }

/* Featured and trending */
#spotlight { display: flex; flex-direction: column; gap: 24px; }
#spotlight:empty { display: none; }
.spot-row { display: flex; flex-direction: column; gap: 10px; }
.spot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.spot-head h2 { display: flex; align-items: center; gap: 8px; }
.spot-head h2 svg { width: 20px; height: 20px; fill: var(--accent-2); }
.spot-head .linklike { text-decoration: none; font-weight: 600; color: var(--accent-2); }
.spot-head .linklike:hover { text-decoration: underline; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.spot { display: flex; flex-direction: column; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; overflow: hidden; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); transition: border-color .15s, transform .15s; }
.spot:hover { border-color: var(--accent); transform: translateY(-2px); }
.spot.vip { border-color: rgba(255, 196, 61, .35); }
.spot-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.spot-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.spot:hover .spot-img img { transform: scale(1.03); }
.spot-img::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.spot-ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: .04em;
  background: radial-gradient(80% 90% at 30% 20%, rgba(var(--accent-rgb), .35), transparent 70%), repeating-linear-gradient(135deg, var(--surface-2) 0 12px, transparent 12px 24px), var(--surface-2); }
.spot-price { position: absolute; left: 10px; bottom: 10px; z-index: 1; }
.spot-price .coin { background: rgba(0, 0, 0, .7); }
.spot-b { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.spot-b h3 { font-size: 1.1rem; }
.spot-line { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.spot-hot { display: inline-flex; align-items: center; gap: 5px; color: #ffb27a; font-weight: 600; }
.spot-hot svg { width: 14px; height: 14px; fill: #ff8c3c; }
.spot-new { color: var(--accent-2); font-weight: 600; }
.pill.feat { background: var(--accent-soft); color: var(--accent-3); border: 1px solid var(--accent); }
@media (prefers-reduced-motion: reduce) { .spot, .spot-img img { transition: none; } .spot:hover { transform: none; } .spot:hover .spot-img img { transform: none; } }
.spot-ph.k0 { color: var(--c-script); } .spot-ph.k1 { color: var(--c-map); } .spot-ph.k2 { color: var(--c-vehicle); } .spot-ph.k3 { color: var(--c-cloth); }
.av-wrap { display: inline-flex; flex: none; }

/* Lucky spin */
.nav-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #3ddc84; vertical-align: middle; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; }
.spin-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.spin-side { display: flex; flex-direction: column; gap: 16px; }
.spin-wheel { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 28px;
  background: radial-gradient(70% 60% at 50% 40%, rgba(var(--accent-rgb), .2), transparent 70%), var(--surface); }
.wheel-box { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 30px rgba(var(--accent-rgb), .35)); }
.wheel-rim { fill: var(--surface-2); stroke: var(--accent); stroke-width: 0.02; }
#wheel-rot { transform-origin: 0 0; transform-box: view-box; }
#wheel-rot.slow { transition: transform 5s cubic-bezier(.12, .8, .1, 1); }
.wl { font: 700 0.13px var(--display, sans-serif); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 0.012px; }
.wheel-hub { fill: var(--surface); stroke: var(--accent); stroke-width: 0.025; }
.wheel-hub-t { font: 700 0.085px var(--display, sans-serif); fill: var(--accent-3); letter-spacing: 0.01px; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; z-index: 1; width: 0; height: 0; transform: translateX(-50%);
  border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 28px solid #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.spin-status { font-weight: 600; text-align: center; min-height: 1.5em; margin: 0; }
.spin-btn { font-size: 1.1rem; padding: 12px 28px; }
.center { text-align: center; justify-content: center; }
.odds { width: 100%; border-collapse: collapse; font-size: .92rem; }
.odds th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.odds td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.odds .num { text-align: right; font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.spin-win { align-items: center; text-align: center; padding: 28px 24px; }
.spin-win-big { font-family: var(--display); font-weight: 700; font-size: 3rem; color: #ffd36b; text-shadow: 0 0 24px rgba(255, 196, 61, .45); }
@media (max-width: 820px) { .spin-layout { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { #wheel-rot.slow { transition: transform .4s ease-out; } .nav-dot { animation: none; } }

/* VIP profile frames */
@property --vf-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.vf { position: relative; display: inline-grid; place-items: center; flex: none; padding: 3px; border-radius: 50%; isolation: isolate; }
.vf-sm { padding: 2px; }
.vf-lg { padding: 5px; }
.vf::before, .vf::after { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: conic-gradient(from var(--vf-a), var(--vf-c)); animation: vf-spin 3.2s linear infinite; }
.vf::after { inset: -3px; filter: blur(8px); opacity: .55; z-index: -2; }
.vf .av, .vf .av-wrap .av { border: 2px solid var(--bg); }
.vf-lg .av { border-width: 3px; box-shadow: none; }
.vf-aurora { --vf-c: var(--accent), #ff4dd2, #4dd2ff, var(--accent); }
.vf-gold { --vf-c: #ffd36b, #b8860b, #fff3c4, #c99a2e, #ffd36b; }
.vf-flame { --vf-c: #ff3d00, #ffb300, #ff6f00, #ff1744, #ff3d00; }
.vf-flame::after { animation: vf-spin 3.2s linear infinite, vf-flicker 1.1s ease-in-out infinite alternate; }
.vf-ice { --vf-c: #a5f3ff, #4dd2ff, #ffffff, #3a8dff, #a5f3ff; }
.vf-toxic { --vf-c: #a6ff00, #00ff8c, #d4ff4d, #00c853, #a6ff00; }
.vf-rainbow { --vf-c: #ff4d4d, #ffb84d, #fff04d, #4dff88, #4dd2ff, #7a5cff, #ff4dd2, #ff4d4d; }
@keyframes vf-spin { to { --vf-a: 360deg; } }
@keyframes vf-flicker { from { opacity: .35; } to { opacity: .8; } }

/* VIP name colours and effects */
.vn { --nc: currentColor; color: var(--nc); }
.nc-purple { --nc: var(--accent-2); } .nc-gold { --nc: #ffd36b; } .nc-pink { --nc: #ff7ad9; } .nc-cyan { --nc: #5ee7ff; }
.nc-lime { --nc: #b6ff4d; } .nc-red { --nc: #ff5c5c; } .nc-white { --nc: #ffffff; }
.nx-glow { text-shadow: 0 0 6px var(--nc), 0 0 14px var(--nc); }
.nx-shimmer, .nx-rainbow { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: vn-slide 2.6s linear infinite; }
.nx-shimmer { background-image: linear-gradient(100deg, var(--nc) 30%, #ffffff 50%, var(--nc) 70%); }
.vn.nx-shimmer:not([class*="nc-"]) { --nc: var(--accent-2); }
.nx-rainbow { background-image: linear-gradient(90deg, #ff4d4d, #ffb84d, #fff04d, #4dff88, #4dd2ff, #7a5cff, #ff4dd2, #ff4d4d); animation-duration: 4s; }
.nx-pulse { animation: vn-pulse 1.8s ease-in-out infinite; }
.vn.nx-pulse:not([class*="nc-"]), .vn.nx-glow:not([class*="nc-"]) { --nc: var(--accent-2); }
@keyframes vn-slide { to { background-position: -200% 0; } }
@keyframes vn-pulse { 50% { text-shadow: 0 0 10px var(--nc), 0 0 22px var(--nc); filter: brightness(1.25); } }
.vip-title { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: #ffd36b; background: rgba(255, 196, 61, .1); border: 1px solid rgba(255, 196, 61, .35); width: fit-content; overflow-wrap: anywhere; }
.vip-title.sm { margin: 0; padding: 0 7px; font-size: .72rem; }
.vip-btn { border-color: rgba(255, 196, 61, .5); color: #ffd36b; }
.vip-btn:hover { border-color: #ffc43d; }
.vip-teaser { display: flex; align-items: center; gap: 18px; border-color: rgba(255, 196, 61, .3);
  background: radial-gradient(90% 120% at 0% 50%, rgba(255, 196, 61, .12), transparent 60%), var(--surface); }
.vip-teaser h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.vip-teaser-demo { filter: saturate(.9); }

/* Customise dialog */
.style-dlg h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.style-preview { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line);
  background: radial-gradient(100% 140% at 0% 0%, rgba(var(--accent-rgb), .2), transparent 60%), var(--surface-2); }
.style-preview-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; overflow-wrap: anywhere; }
.sopts { display: flex; flex-wrap: wrap; gap: 8px; }
.sopt { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 74px; padding: 10px 8px 8px; cursor: pointer; color: var(--fg); font: inherit; font-size: .78rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.sopt:hover { border-color: var(--accent); }
.sopt.on { border-color: #ffc43d; box-shadow: 0 0 0 1px #ffc43d inset; background: rgba(255, 196, 61, .08); }
.sname { font-family: var(--display); font-size: 1.25rem; line-height: 40px; }
@media (prefers-reduced-motion: reduce) { .vf::before, .vf::after, .nx-shimmer, .nx-rainbow, .nx-pulse { animation: none; } }
.panel.vip-teaser { flex-direction: row; align-items: center; }
.vip-teaser .grow { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vip-teaser .grow p { margin: 0; }
@media (max-width: 560px) { .panel.vip-teaser { flex-direction: column; text-align: center; } .vip-teaser .grow { align-items: center; } }

/* File updates */
.upd-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.upd-box legend { padding: 0 6px; font-weight: 600; }
.upd-note { margin-top: 4px; font-size: .85rem; color: var(--fg); }

/* Themes members can pick (data-theme on <html>). Purple is the default above. */
html[data-theme="blue"] { --bg: #000000; --surface: #0a0d15; --surface-2: #121a28; --fg: #edf2fa; --muted: #9aa8bf; --line: #1f2c44;
  --accent: #2f7bff; --accent-fg: #ffffff; --accent-soft: #0f2247; --accent-rgb: 47, 123, 255; --accent-2: #7fb0ff; --accent-3: #cfe1ff; --dim: #2c3a52; }
html[data-theme="red"] { --bg: #000000; --surface: #140a0c; --surface-2: #231317; --fg: #faeef0; --muted: #bf9ca2; --line: #3d1f25;
  --accent: #ff2e4d; --accent-fg: #ffffff; --accent-soft: #47101a; --accent-rgb: 255, 46, 77; --accent-2: #ff8a9b; --accent-3: #ffd0d7; --dim: #4d2f35; }
html[data-theme="pink"] { --bg: #000000; --surface: #140a12; --surface-2: #22131e; --fg: #faeef7; --muted: #bf9cb4; --line: #3d1f36;
  --accent: #ff3fb4; --accent-fg: #ffffff; --accent-soft: #47103a; --accent-rgb: 255, 63, 180; --accent-2: #ff8fd3; --accent-3: #ffd3ee; --dim: #4d2f44; }
html[data-theme="minimal"] { --bg: #0b0b0b; --surface: #121212; --surface-2: #1a1a1a; --fg: #ededed; --muted: #9a9a9a; --line: #262626;
  --accent: #ececec; --accent-fg: #0b0b0b; --accent-soft: #222222; --accent-rgb: 200, 200, 200; --accent-2: #d4d4d4; --accent-3: #f2f2f2; --dim: #333333; }
/* Minimal: no animated background and no glows, just flat dark panels. */
html[data-theme="minimal"] #fx { display: none; }
html[data-theme="minimal"] .spin-wheel, html[data-theme="minimal"] .profile-head, html[data-theme="minimal"] .stat, html[data-theme="minimal"] .vip-teaser,
html[data-theme="minimal"] .style-preview { background: var(--surface); }
html[data-theme="minimal"] .wheel-svg { filter: none; }
html[data-theme="minimal"] .av-lg { box-shadow: none; }

/* Theme picker */
.theme-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.theme-opt { display: flex; flex-direction: column; gap: 8px; padding: 10px; cursor: pointer; text-align: left; font: inherit; color: var(--fg);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.theme-opt:hover { border-color: var(--accent); }
.theme-opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.theme-sample { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 6px; border: 1px solid; height: 84px; }
.theme-sample .ts-bar { height: 8px; width: 60%; border-radius: 4px; }
.theme-sample .ts-line { height: 6px; width: 85%; border-radius: 3px; opacity: .6; }
.theme-sample .ts-btn { margin-top: auto; height: 18px; width: 52px; border-radius: 4px; }
.theme-name { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.wslice { stroke: var(--surface); stroke-width: 0.01; }

/* Promo codes */
.ok-msg { margin: 0; padding: 8px 12px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); font-weight: 600; }
h3.sub { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.promo-item { flex-wrap: wrap; }
.promo-hist { margin-top: 8px; overflow-x: auto; }
.promo-hist .odds { min-width: 420px; }

/* Bans and reports */
.notice.notice-bad, .notice-bad { background: var(--bad-bg); color: var(--bad); }
.notice-bad a { color: inherit; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--fg); border-color: var(--line); }
.report-reasons { display: flex; flex-direction: column; gap: 6px; }
.rr { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; background: var(--surface-2); }
.rr:has(input:checked) { border-color: var(--accent); }
.rr > span { display: flex; flex-direction: column; }
.report-item { flex-wrap: wrap; }
.report-details { margin: 6px 0 0; padding: 8px 10px; border-left: 3px solid var(--line); color: var(--fg); overflow-wrap: anywhere; }

/* ---------- Front page hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 34px 32px; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--r) + 8px);
  background: radial-gradient(70% 90% at 85% 40%, rgba(var(--accent-rgb), .22), transparent 65%), linear-gradient(160deg, var(--surface-2), var(--surface) 60%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(var(--accent-rgb), .08) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .08) 1px, transparent 1px); background-size: 34px 34px;
  mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent 75%); }
.hero-txt { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .35); }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em; }
.hero-accent { color: var(--accent-2); text-shadow: 0 0 28px rgba(var(--accent-rgb), .55); }
.hero p { margin: 0; color: var(--muted); max-width: 58ch; font-size: 1.02rem; }
.btn.big { padding: 12px 22px; font-size: 1rem; border-radius: calc(var(--r) + 2px); }
.btn.primary.big { box-shadow: 0 8px 30px -10px rgba(var(--accent-rgb), .8); }
.btn.discord { display: inline-flex; align-items: center; gap: 8px; border-color: rgba(var(--accent-rgb), .5); color: var(--accent-2); }
.btn .ico, .ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.hstat { min-width: 112px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.hstat-v { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--accent-3); }
.hstat-k { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(100%, 320px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 1px solid rgba(var(--accent-rgb), .45);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .06), 0 20px 80px -10px rgba(var(--accent-rgb), .65); animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float { 50% { transform: translateY(-8px); } }
html[data-theme="minimal"] .hero, html[data-theme="minimal"] .hero::before { background: var(--surface); background-image: none; }
html[data-theme="minimal"] .hero-art img { box-shadow: none; animation: none; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding: 22px 18px; } .hero-art { order: -1; } .hero-art img { width: 150px; border-radius: 16px; } .hstat { min-width: 0; flex: 1 1 40%; } }

/* Live activity ticker */
.ticker { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.ticker-live { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 12px; border-radius: 999px; font-family: var(--mono); font-weight: 600; font-size: .75rem; letter-spacing: .14em;
  color: var(--accent-2); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.ticker-win { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tk-scroll var(--tk-dur, 40s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; padding-right: 18px; }
.tk { background: none; border: 0; padding: 2px 6px; font: inherit; font-size: .88rem; color: var(--fg); cursor: pointer; white-space: nowrap; }
.tk:hover .tk-t { text-decoration: underline; }
.tk-t { color: var(--accent-2); font-weight: 600; }
.tk-dot { color: var(--accent); padding: 0 8px; }
@keyframes tk-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-win { overflow-x: auto; } .hero-art img { animation: none; } }

/* Category chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-n { opacity: .65; font-variant-numeric: tabular-nums; margin-left: 2px; }
.chip[aria-pressed="true"] .chip-n { opacity: .85; }

/* ---------- Staff: side menu ---------- */
.staff-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.staff-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: var(--surface); }
.snav { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r); background: none; color: var(--muted); font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.snav:hover { background: var(--surface-2); color: var(--fg); }
.snav[aria-current="page"] { background: rgba(var(--accent-rgb), .14); color: var(--fg); box-shadow: inset 3px 0 0 var(--accent); }
.snav[aria-current="page"] .ico { color: var(--accent-2); }
.snav span:first-of-type { flex: 1; }
.snav-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-align: center; background: var(--surface-2); color: var(--fg); }
.snav-n.bad { background: var(--bad-bg); color: var(--bad); }
.staff-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.staff-main > .staff-sec { display: flex; flex-direction: column; gap: 14px; }
.staff-main > .staff-sec[hidden] { display: none; }
@media (max-width: 860px) {
  .staff-layout { grid-template-columns: 1fr; }
  .staff-nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; }
  .snav { width: auto; flex: none; white-space: nowrap; padding: 8px 12px; }
  .snav[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
}

/* Overview dashboard */
#ov { display: flex; flex-direction: column; gap: 16px; }
.ov-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-tile .stat-v { font-size: 1.9rem; }
.ov-subline { font-size: .8rem; min-height: 1.2em; }
.ov-sub { color: var(--muted); }
.ov-delta { font-weight: 700; color: var(--muted); }
.ov-delta.up { color: var(--ok); } .ov-delta.down { color: var(--bad); }
.ov-tile .linklike { font-size: inherit; }
.ov-charts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-chart { gap: 6px; padding: 14px; }
.ov-chart-h { display: flex; flex-direction: column; gap: 2px; }
.ov-chart-h h3 { font-size: .95rem; }
.ov-chart-val { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.ov-plot { position: relative; height: 110px; cursor: crosshair; touch-action: pan-y; }
.ov-plot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ov-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ov-area { stroke: none; }
.cg-top { stop-color: var(--accent); stop-opacity: .35; }
.cg-bot { stop-color: var(--accent); stop-opacity: 0; }
.ov-base { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ov-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ov-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.ov-axis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }
.ov-lists { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ov-col { display: flex; flex-direction: column; gap: 12px; }
.ov-lists h3 { font-size: 1rem; }
.ov-table td { vertical-align: top; }
.ov-table .linklike { text-align: left; }
.ov-bars { display: flex; flex-direction: column; gap: 8px; }
.ov-bar { display: grid; grid-template-columns: 110px 1fr 54px; gap: 10px; align-items: center; font-size: .88rem; }
.ov-bar .num { text-align: right; font-variant-numeric: tabular-nums; }
.ov-bar-track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.ov-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
@media (max-width: 1100px) { .ov-tiles, .ov-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-lists { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ov-tile .stat-v { font-size: 1.5rem; } .ov-bar { grid-template-columns: 90px 1fr 44px; } }

/* ---------- Glass header ---------- */
header.top { transition: background .25s, box-shadow .25s, border-color .25s; }
header.top.scrolled { background: rgba(var(--accent-rgb), .04); background-color: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: rgba(var(--accent-rgb), .25); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
nav#nav a { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px 8px 0 0; transition: color .15s, background .15s; }
nav#nav a .ico { width: 17px; height: 17px; opacity: .75; }
nav#nav a:hover { color: var(--fg); background: rgba(var(--accent-rgb), .07); }
nav#nav a[aria-current="page"] .ico { opacity: 1; color: var(--accent-2); }
.brand .logo { transition: transform .3s; }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }

/* Phone tab bar */
#bnav { display: none; }
@media (max-width: 640px) {
  nav#nav { display: none; }
  .top-in { padding-bottom: 10px; }
  #bnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; justify-content: space-around; gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .9); }
  #bnav a { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 10px;
    color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 600; }
  #bnav a .ico { width: 22px; height: 22px; }
  #bnav a[aria-current="page"] { color: var(--fg); background: rgba(var(--accent-rgb), .14); }
  #bnav a[aria-current="page"] .ico { color: var(--accent-2); }
  #bnav .nav-dot { position: absolute; top: 4px; right: calc(50% - 16px); margin: 0; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  #toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Footer ---------- */
.foot { margin-top: 24px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .05)), var(--surface); position: relative; z-index: 1; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 36px 16px 24px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-brand p { margin: 0; max-width: 36ch; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-col h4 { margin: 0 0 4px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-col a, .foot-btn { color: var(--fg); text-decoration: none; opacity: .85; font-size: .92rem; }
.foot-btn { text-decoration: none; }
.foot-col a:hover, .foot-btn:hover { color: var(--accent-2); opacity: 1; text-decoration: underline; }
.foot-base { max-width: 1120px; margin: 0 auto; padding: 14px 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
ol.rules { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Loading shimmer ---------- */
.sk { display: block; border-radius: 6px; background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--surface-2) 60%, var(--fg) 8%) 50%, var(--surface-2) 70%);
  background-size: 300% 100%; animation: sk-shine 1.4s ease-in-out infinite; }
@keyframes sk-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-page { display: flex; flex-direction: column; gap: 20px; }
.sk-lines { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.sk-line { height: 12px; width: 100%; }
.sk-line.short { width: 55%; }
.sk-line.wide { width: min(560px, 90%); }
.sk-title { height: 28px; width: 220px; margin-bottom: 6px; }
.sk-num { height: 26px; width: 60%; margin: 6px 0; }
.sk-pill { height: 20px; width: 64px; border-radius: 999px; }
.sk-thumb { aspect-ratio: 16 / 7; border-radius: 0; }
.sk-card { pointer-events: none; }
.sk-card .card-b { display: flex; flex-direction: column; gap: 10px; }
.sk-block { height: 220px; border-radius: calc(var(--r) + 4px); }
.sk-block.short { height: 150px; }
.sk-block.tall { height: 420px; }
.sk-hero .sk-block { height: 360px; border-radius: calc(var(--r) + 8px); }
.sk-ticker { height: 44px; border-radius: 999px; }
.stat .sk-line { margin: 2px 0; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ---------- Creator spotlight ---------- */
.creators { display: flex; flex-direction: column; gap: 10px; }
.creator-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.creator { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px 16px; text-align: center; text-decoration: none; color: var(--fg); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: calc(var(--r) + 6px);
  background: radial-gradient(100% 70% at 50% 0%, rgba(var(--accent-rgb), .18), transparent 70%), var(--surface); transition: transform .15s, border-color .15s; }
.creator:hover { transform: translateY(-3px); border-color: var(--accent); }
.creator-name { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.05rem; max-width: 100%; overflow-wrap: anywhere; }
.creator-stats { display: flex; gap: 12px; font-size: .8rem; color: var(--muted); }
.creator-stats b { color: var(--fg); }
.creator-rank { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--surface-2); border: 1px solid var(--line); }
.creator-rank.r1 { color: #ffd36b; border-color: rgba(255, 196, 61, .5); }
.creator-rank.r2 { color: #dfe6f0; border-color: rgba(223, 230, 240, .4); }
.creator-rank.r3 { color: #f0a46b; border-color: rgba(240, 164, 107, .45); }
.sk-creator { pointer-events: none; }
.sk-creator .sk-line { width: 70%; }
.sk-av { width: 96px; height: 96px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .creator, .brand .logo { transition: none; } .creator:hover { transform: none; } }
/* Keep the footer at the bottom of the screen on short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main#view { flex: 1 0 auto; width: 100%; }
.foot { flex: none; }

/* ---------- Card hover effects ---------- */
.card { transition: transform .2s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .2s; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .35), 0 18px 40px -18px rgba(var(--accent-rgb), .75); }
.card.vip:hover, .card.vip:focus-visible { box-shadow: 0 0 0 1px rgba(255, 196, 61, .4), 0 18px 40px -18px rgba(255, 196, 61, .7); }
.card-media { position: relative; display: block; overflow: hidden; }
.card-media .thumb { transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .3s; }
.card:hover .card-media .thumb, .card:focus-visible .card-media .thumb { transform: scale(1.06); filter: brightness(1.08); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .25s; pointer-events: none; }
.card:hover .card-media::after, .card:focus-visible .card-media::after { opacity: 1; }
.card-view { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--accent-fg); background: var(--accent); box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), .9);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.card-view span { transition: transform .2s; }
.card:hover .card-view, .card:focus-visible .card-view, .spot:hover .card-view, .spot:focus-visible .card-view { opacity: 1; transform: none; }
.card:hover .card-view span, .spot:hover .card-view span { transform: translateX(3px); }
.card h3 { transition: color .2s; }
.card:hover h3 { color: var(--accent-3); }
.spot:hover { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .35), 0 22px 50px -22px rgba(var(--accent-rgb), .8); }
.spot-img .card-view { bottom: 12px; right: 12px; }
@media (hover: none) { .card-view { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .card, .card-media .thumb, .card-view, .card-view span { transition: none; }
  .card:hover, .card:focus-visible { transform: none; }
  .card:hover .card-media .thumb { transform: none; }
}

/* ---------- Profiles ---------- */
.pf { position: relative; border: 1px solid var(--line); border-radius: calc(var(--r) + 8px); background: var(--surface); overflow: hidden; }
.pf-banner:not([class*="nc-"]) { --nc: var(--accent); }
.pf-banner { position: relative; height: 210px; overflow: hidden;
  background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--nc) 55%, transparent), transparent 70%),
              radial-gradient(50% 120% at 10% 100%, color-mix(in srgb, var(--nc) 35%, transparent), transparent 70%),
              linear-gradient(120deg, color-mix(in srgb, var(--nc) 30%, var(--surface-2)), var(--surface-2)); }
.pf-banner.has-img { background: var(--surface-2); }
.pf-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--surface) 85%, transparent)); pointer-events: none; }
.pf-banner-art { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(color-mix(in srgb, var(--nc) 25%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--nc) 25%, transparent) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(70% 90% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 90% at 70% 30%, #000, transparent 75%); }
.pf-banner-btn { position: absolute; right: 14px; top: 14px; z-index: 1; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pf-body { position: relative; display: flex; align-items: flex-end; gap: 18px; padding: 0 24px 16px; margin-top: -58px; z-index: 1; flex-wrap: wrap; }
.pf-av .av-lg { width: 124px; height: 124px; border: 4px solid var(--surface); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pf-av .vf-lg .av-lg { border-width: 3px; }
.pf-av .av-letter.av-lg { font-size: 3rem; }
.pf-id { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.pf-id h1 { display: flex; align-items: center; gap: 2px; font-size: clamp(1.5rem, 3vw, 2.1rem); overflow-wrap: anywhere; }
.pf-id .badges { margin-top: 6px; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.pf-ban { margin: 0 24px 12px; }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pf-stat { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.pf-stat + .pf-stat { border-left: 1px solid var(--line); }
.pf-stat-v { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--accent-3); }
.pf-stat-k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-stat-sub { font-size: .78rem; color: var(--muted); }
.pf-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pf-tab { position: relative; padding: 10px 16px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pf-tab:hover { color: var(--fg); }
.pf-tab[aria-selected="true"] { color: var(--fg); }
.pf-tab[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .8); }
.pf-panel { display: flex; flex-direction: column; gap: 12px; animation: pf-in .25s ease-out; }
@keyframes pf-in { from { opacity: 0; transform: translateY(6px); } }
.pf-reviews { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: start; }
.pf-rating { align-items: center; text-align: center; }
.pf-rating-big { font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: 1; }
.pf-rbars { width: 100%; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.pf-rbar { display: grid; grid-template-columns: 28px 1fr 26px; gap: 8px; align-items: center; font-size: .82rem; }
.pf-rbar .ov-bar-fill { background: #ffc43d; }
.banner-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.banner-prev:not([class*="nc-"]) { --nc: var(--accent); }
.banner-prev { position: relative; height: 90px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--nc) 35%, var(--surface-2)), var(--surface-2)); }
.banner-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-ctl { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) {
  .pf-banner { height: 140px; }
  .pf-body { padding: 0 16px 14px; margin-top: -48px; gap: 10px; }
  .pf-av .av-lg { width: 96px; height: 96px; }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-stat:nth-child(3) { border-left: 0; }
  .pf-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pf-reviews { grid-template-columns: 1fr; }
  .banner-pick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pf-panel { animation: none; } }
/* Only the avatar overlaps the banner; the name sits below it so it's always readable */
.pf-body { margin-top: 0; padding-top: 12px; align-items: flex-start; }
.pf-av { margin-top: -74px; flex: none; }
.pf-id { padding-top: 2px; }
.pf-actions { align-self: center; }
.pf .badges { justify-content: flex-start; }
@media (max-width: 760px) { .pf-body { margin-top: 0; padding-top: 10px; } .pf-av { margin-top: -60px; width: 100%; } .pf-actions { align-self: flex-start; } }
.pfp-pick { grid-template-columns: auto minmax(0, 1fr); }
.pfp-prev { display: grid; place-items: center; padding: 6px 12px; }

/* Preview videos */
.vid-badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(4px); pointer-events: none; }
.vid-badge svg { color: rgb(var(--accent-rgb)); }
.card-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .3s; pointer-events: none; background: #000; }
.card-vid.on { opacity: 1; }
.vid-wrap { border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.vid { display: block; width: 100%; max-height: 60vh; aspect-ratio: 16 / 9; background: #000; }
.vid-sm { max-width: 360px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 8px; }
video.shot { background: #000; }
@media (prefers-reduced-motion: reduce) { .card-vid { display: none; } }

/* Page heads with a button on the right */
.head.head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.head-row > div { min-width: 0; flex: 1 1 420px; display: flex; flex-direction: column; gap: 4px; }

/* Wishlist and following */
.wish-btn { display: inline-flex; align-items: center; gap: 6px; }
.wish-btn svg { color: var(--muted); transition: color .2s, transform .2s; }
.wish-btn.on { border-color: #ff4d8d; color: #ff8fb6; background: rgba(255, 77, 141, .1); }
.wish-btn.on svg { color: #ff4d8d; }
.wish-btn:active svg { transform: scale(1.25); }
.wish-badge { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #ff4d8d; border: 1px solid rgba(255, 77, 141, .45); pointer-events: none; }
.card.vip .wish-badge { top: 36px; }
.follow-btn.on { border-color: rgb(var(--accent-rgb)); color: var(--accent-2); background: rgba(var(--accent-rgb), .12); }
.alerts-box { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.alerts-box .grow { flex: 1 1 280px; }
.follow-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.follow-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; }
.follow-who { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.follow-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.follow-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Request board */
.req-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.req-strip > div { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.req-strip b { font-family: var(--display); font-size: 1.5rem; }
.req-strip span { color: var(--muted); font-size: .85rem; }
.req-list { display: flex; flex-direction: column; gap: 12px; }
.req { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; transition: border-color .2s; }
.req:hover { border-color: rgba(var(--accent-rgb), .45); }
.req.mine { border-left: 3px solid rgb(var(--accent-rgb)); }
.req.claimed-me { border-left: 3px solid #e0a21a; }
.req-bounty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 14px 8px; border-radius: var(--r); background: linear-gradient(160deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .05)); border: 1px solid rgba(var(--accent-rgb), .35); }
.req-bounty .coin { font-family: var(--display); font-size: 1.45rem; font-weight: 700; }
.req-bounty-k { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.req-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.req-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.req-top h3 { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.req-body { margin: 2px 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fg); opacity: .92; }
.req-state { font-size: .92rem; }
.req-note { margin: 0; padding: 8px 10px; border-radius: var(--r); background: rgba(224, 162, 26, .1); border: 1px solid rgba(224, 162, 26, .35); font-size: .9rem; }
.req-actions { align-items: center; margin-top: 4px; }
.req-boost, .req-deliver { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.req-boost input { width: 90px; }
.req-deliver select { max-width: 240px; }
.req-reject { display: flex; flex-direction: column; gap: 6px; }
.req-how ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.req-how b { color: var(--fg); }
@media (max-width: 640px) {
  .req-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req { grid-template-columns: 1fr; gap: 10px; }
  .req-bounty { flex-direction: row; justify-content: flex-start; padding: 8px 12px; }
}

/* Creator dashboard */
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.dash-pick { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.dash-pick select { max-width: min(320px, 70vw); }
.dash-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; min-width: 640px; }
.dash-table tr.on td { background: rgba(var(--accent-rgb), .1); }
.conv { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.conv-bar { width: 48px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.conv-fill { display: block; height: 100%; width: 0; background: rgb(var(--accent-rgb)); border-radius: 3px; transition: width .5s; }
@media (max-width: 640px) { .dash-charts { grid-template-columns: 1fr; } }
.req-strip .coin { align-self: flex-start; }

/* Giveaways */
.gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.gw-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.gw-card.live { border-color: rgba(242, 193, 78, .45); box-shadow: 0 0 0 1px rgba(242, 193, 78, .12), 0 10px 30px -14px rgba(242, 193, 78, .45); }
.gw-card.live:hover { transform: translateY(-2px); }
.gw-card.won { border-color: #3fd28a; }
.gw-grid.ended .gw-card { opacity: .9; }
.gw-art { position: relative; aspect-ratio: 16 / 6; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 140% at 20% 0%, rgba(242, 193, 78, .35), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(var(--accent-rgb), .45), transparent 60%), var(--surface-2); }
.gw-art.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gw-art-ico { color: #f2c14e; filter: drop-shadow(0 4px 14px rgba(242, 193, 78, .5)); }
.gw-art-ico svg { width: 54px; height: 54px; }
.gw-card.live .gw-art-ico { animation: gw-bob 2.6s ease-in-out infinite; }
@keyframes gw-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
.gw-ribbon { position: absolute; top: 10px; left: 10px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.gw-card.live .gw-ribbon { background: #f2c14e; color: #1a1300; border-color: #f2c14e; }
.gw-card.won .gw-ribbon { background: #3fd28a; color: #002313; border-color: #3fd28a; }
.gw-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gw-prize { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gw-prize .coin { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.gw-prize .gw-res { font-family: var(--display); font-size: 1.25rem; }
.gw-vip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.35rem; }
.gw-x { color: var(--muted); font-weight: 600; }
.gw-body h3 { margin: 0; font-size: 1.05rem; }
.gw-desc { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.gw-rules-row { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-rule { font-size: .78rem; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.gw-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.gw-clock { font-variant-numeric: tabular-nums; color: #f2c14e; }
.gw-winners { font-weight: 600; }
.gw-actions { align-items: center; }
.gw-enter { width: 100%; justify-content: center; }
.gw-in { color: #3fd28a; font-weight: 700; }
.gw-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gw-empty svg { width: 40px; height: 40px; color: #f2c14e; }
.gw-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r); border: 1px solid rgba(242, 193, 78, .5);
  background: linear-gradient(100deg, rgba(242, 193, 78, .18), rgba(var(--accent-rgb), .14)); }
.gw-banner .grow { flex: 1 1 240px; min-width: 0; }
.gw-banner-ico { color: #f2c14e; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(242, 193, 78, .15); animation: gw-bob 2.6s ease-in-out infinite; }
.gw-banner-k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f2c14e; }
.gw-banner-t { font-variant-numeric: tabular-nums; }
.gw-rules { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.gw-rules legend { padding: 0 6px; font-weight: 600; }
.gw-age input { width: 70px; margin: 0 4px; }
@media (prefers-reduced-motion: reduce) { .gw-card.live .gw-art-ico, .gw-banner-ico { animation: none; } }
.gw-body > .linklike { align-self: flex-start; text-align: left; }

/* Held accounts notice */
.notice.notice-warn { background: rgba(224, 162, 26, .14); color: #f2c14e; border-bottom: 1px solid rgba(224, 162, 26, .35); }
.notice-warn a { color: inherit; }

/* Coupons at checkout */
.cp-box { display: flex; flex-direction: column; gap: 6px; }
.cp-box input { width: 160px; text-transform: uppercase; letter-spacing: .06em; }
.cp-on { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: var(--r); background: rgba(63, 210, 138, .08); border: 1px dashed rgba(63, 210, 138, .5); }
.cp-on .pill { font-family: var(--mono, monospace); letter-spacing: .06em; }
/* Seller coupon manager */
.cpn-panel { display: flex; flex-direction: column; gap: 12px; }
.cpn-panel h2 { margin: 0; }
.cpn-form { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.cpn-form .field { margin: 0; }
.cpn-form #cpn-code { width: 150px; text-transform: uppercase; letter-spacing: .06em; }
.cpn-form .grow { flex: 1 1 200px; }
.cpn-code { display: inline-block; padding: 2px 8px; border-radius: 6px; border: 1px dashed rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .12); color: var(--accent-2); font-weight: 700; letter-spacing: .06em; }

/* Staff: alt accounts */
.alt-group { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.alt-group.open { border-color: rgba(255, 77, 109, .45); background: rgba(255, 77, 109, .04); }
.alt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.alt-table { min-width: 760px; }
.alt-table td { vertical-align: top; }
.alt-table tr.is-banned td { opacity: .55; }
.alt-acts { flex-wrap: nowrap; justify-content: flex-end; }

/* Wall of Shame */
.shame-strip { display: flex; justify-content: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 46, 77, .18); background: linear-gradient(180deg, rgba(255, 46, 77, .07), transparent); }
.shame-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #e8263f, #a8102a); border: 1px solid rgba(255, 120, 135, .6); box-shadow: 0 6px 22px -8px rgba(255, 46, 77, .8), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .15s, box-shadow .15s; }
.shame-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(255, 46, 77, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.shame-n { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: .75rem; }
.shame-hero { position: relative; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; padding: 26px; border-radius: calc(var(--r) * 2); border: 1px solid rgba(255, 46, 77, .35); overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 46, 77, .22), transparent 55%), linear-gradient(180deg, var(--surface), var(--surface)); }
.shame-hero-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; color: #ff6b7f; background: rgba(255, 46, 77, .14); border: 1px solid rgba(255, 46, 77, .45); }
.shame-hero-ico svg { width: 26px; height: 26px; }
.shame-hero .grow { flex: 1 1 320px; min-width: 0; }
.shame-k { font-family: var(--mono, monospace); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #ff6b7f; font-weight: 700; }
.shame-hero h1 { margin: 2px 0 6px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.shame-hero p { margin: 0; color: var(--muted); max-width: 60ch; }
.shame-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.shame-stats > div { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 130px; padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(255, 46, 77, .3); background: rgba(0, 0, 0, .25); }
.shame-stats b { font-family: var(--mono, monospace); font-size: 1.4rem; color: #ff6b7f; }
.shame-stats span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shame-search input { width: 100%; }
.shame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.shame-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: calc(var(--r) * 1.5); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.shame-card::before { content: ''; position: absolute; left: 16px; right: 16px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff2e4d, transparent); }
.shame-top { display: flex; align-items: center; gap: 12px; }
.shame-top .grow { min-width: 0; flex: 1; }
.shame-av { flex: none; width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(#ff2e4d, #7a0f1f, #ff2e4d); display: grid; place-items: center; }
.shame-av img, .shame-av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.55) contrast(1.05); background: var(--surface-2); display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--muted); }
.shame-name { display: block; font-weight: 800; font-size: 1.05rem; color: var(--fg); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shame-id { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.shame-tag { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #ff8494; background: rgba(255, 46, 77, .12); border: 1px solid rgba(255, 46, 77, .5); }
.shame-reason { padding: 10px 12px; border-left: 3px solid #ff2e4d; border-radius: 0 var(--r) var(--r) 0; background: var(--surface-2); overflow-wrap: anywhere; }
.shame-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .75rem; color: var(--muted); }
.shame-staff { border-top: 1px dashed var(--line); padding-top: 10px; }
.shame-opt legend { display: inline-flex; align-items: center; gap: 6px; color: #ff6b7f; }
.shame-av, .shame-av span { text-decoration: none; }
@media (max-width: 640px) {
  .shame-hero { padding: 18px; }
  .shame-stats { width: 100%; }
  .shame-stats > div { flex: 1 1 0; min-width: 0; padding: 12px 8px; }
  .shame-stats b { font-size: 1.1rem; }
}

/* NEW / UPDATED badges */
.nbs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.nb { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; line-height: 1.2; white-space: nowrap; }
.nb-new { color: #052b17; background: linear-gradient(180deg, #5cf0a5, #2fcf7f); box-shadow: 0 0 12px -2px rgba(63, 210, 138, .7); }
.nb-upd { color: #0b1d3d; background: linear-gradient(180deg, #8fc0ff, #4f8dff); box-shadow: 0 0 12px -2px rgba(79, 141, 255, .7); }
.upd-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-color: rgba(79, 141, 255, .45); background: rgba(79, 141, 255, .07); }

/* Basket */
.basket-btn { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.basket-btn.has { border-color: rgb(var(--accent-rgb)); color: var(--accent-2); }
.basket-n { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: rgb(var(--accent-rgb)); color: #fff; font-size: .7rem; }
.bk { max-width: 640px; }
.bk h2 { display: flex; align-items: center; gap: 8px; }
.bk-list { display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow: auto; padding-right: 2px; }
.bk-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.bk-thumb .thumb { aspect-ratio: 16 / 10; border-radius: 8px; font-size: .9rem; }
.bk-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bk-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-cpn { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .85rem; }
.bk-cpn input { width: 110px; padding: 4px 8px; text-transform: uppercase; }
.bk-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bk-rm { font-size: .8rem; color: var(--muted); }
.bk-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.bk-total > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.bk-total b .coin, .bk-total .coin { font-size: 1.3rem; }
.err-inline { color: var(--bad, #ff6b7f); }
.bk-codes { display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow: auto; }
.bk-code { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 520px) { .bk-item { grid-template-columns: 60px minmax(0, 1fr); } .bk-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* Tips */
.tip-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: var(--r); border: 1px dashed rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .06); }
.tip-row { align-items: center; }
.tip-custom { display: inline-flex; gap: 6px; align-items: center; }
.tip-custom input { width: 84px; }

/* Resource pages for Google */
.rp-body { display: flex; flex-direction: column; min-height: 100vh; }
.rp-nav { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; margin-left: auto; }
.rp-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; }
.rp-nav a:not(.btn):hover { color: var(--fg); }
.rp-main { max-width: 1120px; width: 100%; margin: 0 auto; padding: 20px 16px 64px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.rp-crumbs { font-size: .85rem; color: var(--muted); }
.rp-crumbs a { color: var(--muted); }
.rp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rp-media { border-radius: calc(var(--r) * 1.5); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.rp-media img, .rp-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-ph { font-family: var(--display); font-size: 2.4rem; color: var(--accent-2); }
.rp-info { display: flex; flex-direction: column; gap: 10px; }
.rp-info h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.rp-badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 0; }
.rp-badges:empty { display: none; }
.rp-price .coin { font-size: 1.6rem; font-family: var(--display); }
.rp-buy { justify-content: center; }
.rp-stars { color: #f2c14e; letter-spacing: .05em; }
.rp-sec h2 { margin: 0 0 8px; font-size: 1.15rem; }
.rp-desc { white-space: pre-wrap; margin: 0 0 8px; }
.rp-review { padding: 10px 0; border-top: 1px solid var(--line); }
.rp-review:first-of-type { border-top: 0; }
.rp-review p { margin: 4px 0 0; }
.rp-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.rp-more-card { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.rp-more-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.rp-more-card:hover { border-color: rgba(var(--accent-rgb), .6); }
.rp-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 16px; }
.rp-gone { text-align: center; }
@media (max-width: 820px) { .rp { grid-template-columns: 1fr; } }

/* What's new */
.nb-fix { color: #2b1700; background: linear-gradient(180deg, #ffd27a, #f2a93b); box-shadow: 0 0 12px -2px rgba(242, 169, 59, .6); }
.upd-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--r); border: 1px solid rgba(63, 210, 138, .4); background: rgba(63, 210, 138, .07); }
.upd-strip a { font-weight: 700; }
.upd-strip .linklike { margin-left: auto; color: var(--muted); }
.upd-timeline { display: flex; flex-direction: column; gap: 14px; }
.upd-card { display: flex; flex-direction: column; gap: 10px; border-left: 3px solid var(--line); }
.upd-card.latest { border-left-color: #3fd28a; }
.upd-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upd-head h2 { margin: 0; font-family: var(--mono, monospace); }
.upd-head .meta { margin-left: auto; }
.upd-card p { margin: 0; }
.upd-sec { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.upd-sec ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.upd-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .upd-cols { grid-template-columns: 1fr; } }
.alt-you { display: block; margin-top: 6px; padding: 8px 10px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line); }
.alt-hdrs { display: block; margin-top: 6px; font-size: .75rem; overflow-wrap: anywhere; }
.reset-panel { border-color: rgba(255, 46, 77, .45); background: linear-gradient(180deg, rgba(255, 46, 77, .06), transparent 60%), var(--surface); display: flex; flex-direction: column; gap: 10px; }
.reset-panel h2 { margin: 0; }
.reset-preview { padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed rgba(255, 46, 77, .4); }
