/* =====================================================================
   Pocket Cobble League — "League Night" design system
   Colours/fonts come from the admin panel as CSS variables on :root.
   ===================================================================== */

:root {
  --bg: #0b0614; --bg-2: #160b29; --primary: #d946ef; --secondary: #5b6cff;
  --accent: #ffb547; --accent-2: #ff7849; --text: #f5f0ff; --muted: #a99bcc;
  --success: #34d399; --danger: #fb5779; --warning: #fbbf24;
  --font-head: 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', system-ui, sans-serif;

  --surface: color-mix(in srgb, var(--bg-2) 86%, transparent);
  --surface-2: color-mix(in srgb, var(--bg-2) 70%, var(--text) 4%);
  --line: color-mix(in srgb, var(--text) 11%, transparent);
  --line-2: color-mix(in srgb, var(--text) 18%, transparent);
  --soft: color-mix(in srgb, var(--text) 6%, transparent);
  --primary-soft: color-mix(in srgb, var(--primary) 18%, transparent);
  --secondary-soft: color-mix(in srgb, var(--secondary) 18%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --grad: linear-gradient(115deg, var(--primary), var(--secondary));
  --grad-gold: linear-gradient(135deg, #fff1b8 0%, var(--accent) 38%, var(--accent-2) 100%);
  --cut: 14px;
  --cut-sm: 8px;
  --r-xs: 8px;
  --r-sm: 11px;
  --r: 14px;
  --r-lg: 20px;
  --r-btn: 14px;
  --header-h: 68px;
  --wrap: 1200px;
  --shadow: 0 18px 40px -18px rgb(0 0 0 / .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--font-body);
  font-size: 15.5px; line-height: 1.65; background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--primary); color: #fff; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--primary) 35%, var(--bg-2)); border: 2px solid var(--bg); }

/* ---------------------------------------------------------------- sky (background layers) */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% -6%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 62%),
    radial-gradient(760px 560px at 100% 4%, color-mix(in srgb, var(--secondary) 26%, transparent), transparent 62%),
    radial-gradient(900px 520px at 55% 115%, color-mix(in srgb, var(--accent-2) 11%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, var(--bg-2)) 100%);
}
.sky__art { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: var(--art-o, .18); mix-blend-mode: screen; }
.sky__grid { position: absolute; inset: -1px; opacity: .07;
  background-image: linear-gradient(var(--text) 1px, transparent 1px), linear-gradient(90deg, var(--text) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}
.sky__stars, .sky__stars::after { position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 28% 72%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 46% 34%, #fff, transparent 60%), radial-gradient(1px 1px at 64% 12%, #fff, transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 58%, #fff, transparent 60%), radial-gradient(1px 1px at 88% 26%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 64%, #fff, transparent 60%), radial-gradient(1px 1px at 38% 90%, #fff, transparent 60%),
    radial-gradient(1.3px 1.3px at 56% 82%, #fff, transparent 60%), radial-gradient(1px 1px at 94% 88%, #fff, transparent 60%);
  background-size: 520px 520px;
}
.sky__stars::after { content: ""; background-size: 380px 380px; background-position: 120px 80px; opacity: .7; }
.anim .sky__stars { animation: twinkle 6s ease-in-out infinite alternate; }
.anim .sky__stars::after { animation: twinkle 4.5s ease-in-out infinite alternate-reverse; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .7; } }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 860px); margin-inline: auto; }
main { min-height: calc(100vh - var(--header-h) - 200px); padding-bottom: 72px; }
.section { padding: 56px 0 8px; }
.section--tight { padding-top: 28px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.muted { color: var(--muted); }
.small { font-size: .86em; }
.tiny { font-size: .76em; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.w-full { width: 100%; }
.mono { font-family: var(--font-head); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.text-gold { color: var(--accent); } .text-ok { color: var(--success); } .text-bad { color: var(--danger); } .text-primary { color: var(--primary); }

/* ---------------------------------------------------------------- headings */
.kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 85%, var(--text)); }
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--grad-gold); transform: rotate(45deg); box-shadow: 0 0 12px var(--accent); }
.title-xl { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; line-height: 1.06; letter-spacing: -.005em; }
.title-lg { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.title-md { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.shine { background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--accent) 62%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shine-brand { background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 60%, #fff), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 30px); }
.sec-head p { margin: 4px 0 0; color: var(--muted); }
.page-head { padding: 44px 0 26px; position: relative; }
.page-head h1 { margin: 10px 0 6px; font-size: clamp(28px, 4vw, 44px); }
.page-head p { color: var(--muted); max-width: 640px; margin: 0; }
.page-head__row { display: flex; align-items: end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- plate (card) — rounded glass panel like the launcher */
.plate { position: relative; isolation: isolate; border-radius: var(--r-lg); border: 1px solid transparent;
  background:
    var(--fill, linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 92%, var(--text) 5%), color-mix(in srgb, var(--bg-2) 96%, var(--bg)))) padding-box,
    var(--edge, linear-gradient(150deg, color-mix(in srgb, var(--primary) 50%, transparent) 0%, color-mix(in srgb, var(--text) 9%, transparent) 30%, color-mix(in srgb, var(--text) 9%, transparent) 70%, color-mix(in srgb, var(--secondary) 46%, transparent) 100%)) border-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 18px 40px -26px rgb(0 0 0 / .9);
}
.plate__in { padding: 22px; }
.plate--glow { --edge: linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 22%, transparent) 38%, color-mix(in srgb, var(--secondary) 22%, transparent) 62%, var(--secondary));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 0 1px color-mix(in srgb, var(--primary) 8%, transparent), 0 22px 50px -26px color-mix(in srgb, var(--primary) 55%, transparent); }
.plate--gold { --edge: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 16%, transparent) 45%, color-mix(in srgb, var(--accent-2) 34%, transparent) 100%); }
.plate--flat { --edge: linear-gradient(var(--line), var(--line)); box-shadow: none; }
.plate--soft { --fill: linear-gradient(color-mix(in srgb, var(--bg-2) 70%, transparent), color-mix(in srgb, var(--bg-2) 70%, transparent)); }
.plate-hover { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plate-hover:hover { transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent), 0 26px 44px -20px color-mix(in srgb, var(--primary) 50%, transparent); }
/* 3D tilt (assets/js/app.js sets --rx/--ry/--gx/--gy on [data-tilt]) */
.tilt [data-tilt] { transform-style: preserve-3d; will-change: transform; }
.tilt [data-tilt].is-tilting { transition: transform .08s linear, box-shadow .35s var(--ease); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.015); }
.tilt [data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .16), transparent 45%); }
.tilt [data-tilt].is-tilting::after { opacity: 1; }
/* optional shapes from the admin panel */
.shape-notch .plate { border-radius: 0; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.shape-notch .btn { --r-btn: 0px; clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm)); }
.shape-square { --r-xs: 0px; --r-sm: 0px; --r: 0px; --r-lg: 0px; --r-btn: 0px; }
.btns-pill { --r-btn: 999px; }

/* ---------------------------------------------------------------- buttons — 3D: lifts on hover, sinks when pressed */
.btn { --b: var(--grad); --d: color-mix(in srgb, var(--primary) 50%, #12041f); --glow: color-mix(in srgb, var(--primary) 50%, transparent); --depth: 4px;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-btn); font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  color: #fff; background: var(--b); white-space: nowrap; user-select: none; text-shadow: 0 1px 1px rgb(0 0 0 / .25);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), inset 0 -2px 0 rgb(0 0 0 / .16), 0 var(--depth) 0 var(--d), 0 10px 22px -10px var(--glow);
  transform: translateY(0); transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(rgb(255 255 255 / .2), rgb(255 255 255 / 0)); }
.btn::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 45%; pointer-events: none; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .5), transparent); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07) saturate(1.06);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .42), inset 0 -2px 0 rgb(0 0 0 / .16), 0 calc(var(--depth) + 2px) 0 var(--d), 0 18px 30px -10px var(--glow); }
.btn:hover::after { animation: btn-shine .8s var(--ease); }
.btn:active { transform: translateY(calc(var(--depth) - 1px)); transition-duration: .06s;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 3px 8px rgb(0 0 0 / .22), 0 1px 0 var(--d), 0 4px 10px -6px var(--glow); }
@keyframes btn-shine { from { left: -70%; } to { left: 135%; } }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: rgb(255 255 255 / .45); animation: ripple .65s ease-out forwards; z-index: 0; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; box-shadow: none; }
.btn .i { width: 18px; height: 18px; }
.btn--gold { --b: var(--grad-gold); --d: color-mix(in srgb, var(--accent-2) 55%, #2d1000); --glow: color-mix(in srgb, var(--accent) 55%, transparent); color: #2a1404; text-shadow: 0 1px 0 rgb(255 255 255 / .35); }
.btn--ghost { --b: color-mix(in srgb, var(--text) 6%, transparent); --d: rgb(0 0 0 / .45); --glow: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 1px 0 rgb(255 255 255 / .08), 0 var(--depth) 0 var(--d); }
.btn--ghost:hover { --b: color-mix(in srgb, var(--primary) 16%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 60%, transparent), 0 calc(var(--depth) + 2px) 0 var(--d), 0 14px 26px -12px color-mix(in srgb, var(--primary) 60%, transparent); }
.btn--ghost:active { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 60%, transparent), inset 0 3px 8px rgb(0 0 0 / .3), 0 1px 0 var(--d); }
.btn--dark { --b: color-mix(in srgb, var(--bg) 85%, transparent); --d: rgb(0 0 0 / .55); --glow: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 var(--depth) 0 var(--d); }
.btn--danger { --b: linear-gradient(115deg, var(--danger), color-mix(in srgb, var(--danger) 60%, var(--accent-2))); --d: color-mix(in srgb, var(--danger) 45%, #1a0008); --glow: color-mix(in srgb, var(--danger) 50%, transparent); }
.btn--ok { --b: linear-gradient(115deg, var(--success), color-mix(in srgb, var(--success) 55%, var(--secondary))); --d: color-mix(in srgb, var(--success) 40%, #001a10); --glow: color-mix(in srgb, var(--success) 45%, transparent); color: #04130c; text-shadow: none; }
.btn--sm { min-height: 34px; padding: 6px 14px; font-size: 13.5px; --depth: 3px; border-radius: min(var(--r-btn), 11px); }
.btns-pill .btn--sm { border-radius: 999px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; --depth: 5px; border-radius: calc(var(--r-btn) + 2px); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 40px; min-height: 40px; }
.btn.is-loading { pointer-events: none; color: transparent !important; text-shadow: none; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after { content: ""; top: 50%; left: 50%; bottom: auto; width: 20px; height: 20px; margin: -10px 0 0 -10px; transform: none; border-radius: 50%; background: none; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn--gold.is-loading::after { border-color: rgb(42 20 4 / .3); border-top-color: #2a1404; }
.btn-flat .btn { --depth: 0px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* the launcher-style PLAY button: Poké Ball + ribbon */
.btn-play { --pb: var(--primary); position: relative; display: inline-flex; align-items: center; height: 82px; padding-left: 44px; isolation: isolate; text-decoration: none;
  filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--pb) 40%, transparent)); transition: transform .2s var(--ease), filter .3s; -webkit-tap-highlight-color: transparent; }
.btn-play__ball { position: absolute; left: 0; top: 50%; width: 82px; height: 82px; margin-top: -41px; z-index: 2; border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, rgb(255 255 255 / .75) 0 8%, transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--pb) 45%, #fff) 0%, color-mix(in srgb, var(--pb) 70%, #fff) 44%, #1a0f2b 44% 56%, #f5f2fb 56%, #cdc6dd 100%);
  box-shadow: 0 0 0 4px #1a0f2b, 0 0 0 7px color-mix(in srgb, var(--pb) 45%, transparent), inset -6px -8px 0 rgb(0 0 0 / .12);
  transition: transform .7s var(--ease); }
.btn-play__ball::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 36%, #ebe6f5 38% 55%, #1a0f2b 57%); box-shadow: 0 0 0 3px #1a0f2b, 0 0 14px rgb(255 255 255 / .55); }
.btn-play__ribbon { position: relative; display: flex; flex-direction: column; justify-content: center; height: 62px; padding: 0 74px 0 56px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--pb) 55%, #fff) 0%, color-mix(in srgb, var(--pb) 85%, var(--secondary)) 55%, var(--secondary) 100%);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%); }
.btn-play__ribbon::before { content: ""; position: absolute; inset: 0 0 52% 0; background: linear-gradient(rgb(255 255 255 / .3), transparent); }
.btn-play__ribbon::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent); }
.btn-play__ribbon b { position: relative; font-family: var(--font-head); font-size: 25px; font-weight: 700; line-height: 1.05; color: #fff; letter-spacing: .02em; text-shadow: 0 2px 0 color-mix(in srgb, var(--pb) 50%, #000), 0 0 18px rgb(255 255 255 / .35); }
.btn-play__ribbon small { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 3px; font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .32em; color: rgb(255 255 255 / .85); }
.btn-play__ribbon small::before, .btn-play__ribbon small::after { content: ""; width: 18px; height: 1.5px; background: rgb(255 255 255 / .55); }
.btn-play__arrow { position: absolute; right: 22px; top: 50%; width: 34px; height: 34px; margin-top: -17px; z-index: 2; display: grid; place-items: center; color: #fff;
  transform: rotate(45deg); border: 2px solid rgb(255 255 255 / .85); border-radius: 7px; background: color-mix(in srgb, var(--pb) 60%, #1a0f2b); transition: transform .3s var(--ease); }
.btn-play__arrow .i { transform: rotate(-45deg); width: 18px; height: 18px; stroke-width: 3; }
.btn-play:hover { transform: translateY(-3px); filter: drop-shadow(0 20px 28px color-mix(in srgb, var(--pb) 60%, transparent)); }
.btn-play:hover .btn-play__ball { transform: rotate(360deg); }
.btn-play:hover .btn-play__ribbon::after { animation: btn-shine .9s var(--ease); }
.btn-play:hover .btn-play__arrow { transform: rotate(45deg) translate(3px, -3px); }
.btn-play:active { transform: translateY(1px) scale(.97); transition-duration: .06s; }
.btn-play--gold { --pb: var(--accent-2); }
.link { color: color-mix(in srgb, var(--primary) 70%, #fff); font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--accent); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------------------------------------------------------------- chips & badges */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.5;
  font-family: var(--font-head); letter-spacing: .03em; color: var(--c, var(--text)); background: color-mix(in srgb, var(--c, var(--text)) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--text)) 30%, transparent);
  border-radius: 999px; }
.chip .i { width: 13px; height: 13px; }
.chip--ok { --c: var(--success); } .chip--bad { --c: var(--danger); } .chip--warn { --c: var(--warning); }
.chip--gold { --c: var(--accent); } .chip--primary { --c: var(--primary); } .chip--blue { --c: var(--secondary); } .chip--muted { --c: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--success)); box-shadow: 0 0 0 0 var(--c, var(--success)); flex: none; }
.dot--live { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, var(--success)) 70%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.count-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }

/* coins */
/* Point = gold coin stamped with a Poké Ball · League Point = faceted league crystal with a star */
.coin { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23a4470a'/%3E%3Cstop offset='1' stop-color='%23ffe08a'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff4b8'/%3E%3Cstop offset='.45' stop-color='%23ffc53d'/%3E%3Cstop offset='1' stop-color='%23ec7a10'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.2' fill='url(%23r)'/%3E%3Ccircle cx='12' cy='12' r='9.2' fill='url(%23g)'/%3E%3Cpath d='M6.3 12a5.7 5.7 0 0 1 11.4 0z' fill='%23fff8d6' opacity='.5'/%3E%3Ccircle cx='12' cy='12' r='5.7' fill='none' stroke='%23a4470a' stroke-width='1.3' opacity='.75'/%3E%3Cpath d='M6.3 12h11.4' stroke='%23a4470a' stroke-width='1.3' opacity='.75'/%3E%3Ccircle cx='12' cy='12' r='1.9' fill='%23ffe58a' stroke='%23a4470a' stroke-width='1.2'/%3E%3Cellipse cx='8.2' cy='6.6' rx='3.1' ry='1.3' fill='%23fff' opacity='.6' transform='rotate(-32 8.2 6.6)'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 50%, transparent)); }
.coin--rp { width: 1.25em; height: 1.25em; vertical-align: -.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f9a8ff'/%3E%3Cstop offset='1' stop-color='%23b81fd0'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2399a7ff'/%3E%3Cstop offset='1' stop-color='%233b2fc4'/%3E%3C/linearGradient%3E%3ClinearGradient id='t' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23e9b6ff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 .8 21.8 6.4v11.2L12 23.2 2.2 17.6V6.4z' fill='%231c0b3a'/%3E%3Cpath d='M12 2.6 19.9 7.1 12 11.2 4.1 7.1z' fill='url(%23t)'/%3E%3Cpath d='M4.1 7.1 12 11.2v10.2l-7.9-4.6z' fill='url(%23a)'/%3E%3Cpath d='M19.9 7.1 12 11.2v10.2l7.9-4.6z' fill='url(%23b)'/%3E%3Cpath d='M12 12.9l1.05 2.2 2.4.35-1.75 1.7.42 2.4L12 18.4l-2.12 1.15.42-2.4-1.75-1.7 2.4-.35z' fill='%23fff' opacity='.95'/%3E%3Cpath d='M6.6 6.9 9.4 5.4' stroke='%23fff' stroke-width='1.1' stroke-linecap='round' opacity='.9'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--primary) 60%, transparent)); }
.wallet-chip:hover .coin, .balance-tile:hover .coin, .price:hover .coin { animation: coin-flip .9s var(--ease); }
@keyframes coin-flip { 0% { transform: rotateY(0); } 60% { transform: rotateY(360deg) scale(1.15); } 100% { transform: rotateY(360deg); } }
.price { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); }
.price b { font-size: 1.15em; font-weight: 700; }
.price--rp b { color: #e9b6ff; }
.th-ic { display: inline-flex; align-items: center; gap: 6px; }

/* currency names: molten-gold "Point" · iridescent "League Point" — a light sweeps across the letters */
.cur { --cg: linear-gradient(90deg, #ffb020, #ffd86b 14%, #fff8dc 22%, #ffd86b 30%, #ffb020 46%, #ff8a1f 58%, #ffc94a 74%, #ffb020);
  --cglow: rgb(255 181 71 / .45);
  display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .015em; white-space: nowrap; line-height: 1.15;
  background: var(--cg) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 7px var(--cglow)) drop-shadow(0 1px 0 rgb(0 0 0 / .35)); }
.cur--rp { --cg: linear-gradient(90deg, #f472b6, #e879f9 14%, #c084fc 28%, #fdf4ff 38%, #a5b4fc 50%, #67e8f9 66%, #c084fc 84%, #f472b6);
  --cglow: rgb(192 132 252 / .55); }
.anim .cur { animation: cur-sweep 5s linear infinite; }
.anim .cur--rp { animation-duration: 7s; }
@keyframes cur-sweep { to { background-position: -200% 0; } }
.price small .cur, .balance-tile small .cur { font-size: 1.05em; }
.price small { color: var(--muted); font-size: .8em; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85em; font-family: var(--font-head); }

/* ---------------------------------------------------------------- forms */
.field { display: block; margin-bottom: 16px; }
.field > span, .label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 600; color: color-mix(in srgb, var(--text) 82%, var(--muted)); margin-bottom: 7px; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line-2); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  border-radius: var(--r-sm); }
.field textarea { min-height: 100px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: color-mix(in srgb, var(--bg) 55%, var(--primary) 6%); box-shadow: 0 0 0 3px var(--primary-soft); }
.field.is-error input, .field.is-error select { border-color: var(--danger); }
.field .hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.input-group { display: flex; gap: 8px; align-items: stretch; }
.input-group .input, .input-group input { flex: 1; }
.input-icon { position: relative; }
.input-icon > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 42px !important; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); padding: 6px; }
.form-error { display: none; padding: 10px 14px; margin-bottom: 14px; color: #fff; background: color-mix(in srgb, var(--danger) 22%, transparent); border-left: 3px solid var(--danger); font-size: 14px; }
.form-error.is-on { display: block; }

/* ---------------------------------------------------------------- announcement */
.announce { position: relative; z-index: 41; font-size: 14px; font-weight: 500; text-align: center; padding: 8px 44px; color: #fff; }
.announce--promo { background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary)); background-size: 200% 100%; }
.anim .announce--promo { animation: slide-bg 8s linear infinite; }
.announce--info { background: color-mix(in srgb, var(--secondary) 75%, var(--bg)); }
.announce--warn { background: linear-gradient(90deg, var(--warning), var(--accent-2)); color: #261300; }
.announce--danger { background: var(--danger); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce__x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); opacity: .8; padding: 4px; }
@keyframes slide-bg { to { background-position: 200% 0; } }

/* ---------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 70%, transparent) 20%, color-mix(in srgb, var(--secondary) 70%, transparent) 80%, transparent); }
.header__in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--secondary) 40%, transparent)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.05; letter-spacing: .04em; }
.brand__name small { display: block; font-size: 10.5px; letter-spacing: .3em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { position: relative; display: flex; align-items: center; gap: 7px; padding: 9px 12px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: color-mix(in srgb, var(--text) 78%, var(--muted)); transition: color .2s; }
.nav a .i { width: 16px; height: 16px; opacity: .7; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }
.nav a.is-active .i { opacity: 1; color: var(--accent); }
.header__side { display: flex; align-items: center; gap: 10px; flex: none; }
.wallet-chip { display: flex; align-items: center; gap: 2px; padding: 4px; background: color-mix(in srgb, var(--bg) 60%, transparent); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--r); }
.wallet-chip__bal { display: flex; align-items: center; gap: 7px; padding: 4px 10px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.wallet-chip__bal + .wallet-chip__bal { border-left: 1px solid var(--line); }
.wallet-chip__add { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); color: #2a1404; box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 2px 0 color-mix(in srgb, var(--accent-2) 55%, #2d1000); transition: transform .2s var(--ease); }
.wallet-chip__add:hover { transform: rotate(90deg) scale(1.08); }
.wallet-chip__add .i { width: 16px; height: 16px; stroke-width: 3; }
.user-btn { position: relative; display: flex; align-items: center; gap: 9px; padding: 3px 10px 3px 3px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--r); }
.user-btn img { width: 34px; height: 34px; image-rendering: pixelated; background: var(--bg-2); }
.user-btn__name { font-family: var(--font-head); font-weight: 600; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-btn .count-badge { position: absolute; top: -4px; left: 26px; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; z-index: 50; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s var(--ease); filter: drop-shadow(0 20px 30px rgb(0 0 0 / .55)); }
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.menu .plate__in { padding: 8px; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; font-size: 14.5px; color: color-mix(in srgb, var(--text) 85%, var(--muted)); text-align: left; }
.menu a:hover, .menu button:hover { background: var(--soft); color: #fff; }
.menu .i { width: 17px; height: 17px; color: var(--muted); }
.menu__head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu__head b { display: block; font-family: var(--font-head); }
.menu .count-badge { margin-left: auto; }
.burger { display: none; }
.dropdown { position: relative; }

/* mobile tab bar & drawer */
.tabbar { display: none; }
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgb(5 2 10 / .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: color-mix(in srgb, var(--bg-2) 96%, var(--bg)); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 10px; }
.drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.drawer__nav a.is-active { background: var(--primary-soft); color: #fff; }
.drawer__nav a .i { color: var(--accent); }
.drawer__foot { margin-top: auto; padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 46px 0 20px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: center; }
.hero__text .title-xl { margin: 16px 0 16px; }
.hero__lead { font-size: 17px; color: color-mix(in srgb, var(--text) 80%, var(--muted)); max-width: 560px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.ip-plate { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; cursor: pointer; transition: filter .2s; }
.ip-plate:hover { filter: brightness(1.15); }
.ip-plate__label { font-size: 11px; letter-spacing: .2em; color: var(--muted); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; }
.ip-plate__addr { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.ip-plate__copy { display: grid; place-items: center; width: 36px; height: 36px; background: var(--primary-soft); color: #fff; }
.online-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; font-family: var(--font-head); font-weight: 600; font-size: 14px; background: color-mix(in srgb, var(--success) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 30%, transparent); }
.online-pill.is-off { --c: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 30%, transparent); }
.online-pill b { font-size: 16px; }
.hero__art { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; }
.hero__art img { position: relative; z-index: 2; width: min(100%, 560px); filter: drop-shadow(0 30px 50px rgb(0 0 0 / .55)) drop-shadow(0 0 40px color-mix(in srgb, var(--primary) 35%, transparent)); }
.anim .hero__art img { animation: float 6s ease-in-out infinite; }
.hero__rays { position: absolute; inset: 4%; border-radius: 50%; z-index: 0;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--primary) 26%, transparent) 0 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle, #000 0 30%, transparent 68%); -webkit-mask-image: radial-gradient(circle, #000 0 30%, transparent 68%); opacity: .8; }
.anim .hero__rays { animation: spin 70s linear infinite; }
.hero__halo { position: absolute; inset: 14%; border-radius: 50%; z-index: 1; background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 45%, transparent), transparent 66%); filter: blur(10px); }
.hero__pixels span { position: absolute; z-index: 3; width: 10px; height: 10px; background: var(--c, var(--accent)); box-shadow: 0 0 12px var(--c, var(--accent)); }
.anim .hero__pixels span { animation: bob 5s ease-in-out infinite; }
.hero__pixels span:nth-child(1) { top: 12%; left: 8%; --c: var(--accent); }
.hero__pixels span:nth-child(2) { top: 22%; right: 6%; --c: var(--primary); width: 8px; height: 8px; animation-delay: -1.2s; }
.hero__pixels span:nth-child(3) { bottom: 18%; left: 4%; --c: var(--secondary); width: 12px; height: 12px; animation-delay: -2.4s; }
.hero__pixels span:nth-child(4) { bottom: 8%; right: 14%; --c: var(--accent-2); width: 7px; height: 7px; animation-delay: -3.3s; }
.hero__pixels span:nth-child(5) { top: 4%; left: 46%; --c: #fff; width: 6px; height: 6px; animation-delay: -.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(45deg); } }

/* ---------------------------------------------------------------- stat tiles / status strip */
.statbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.stat__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; color: var(--c, var(--primary)); background: color-mix(in srgb, var(--c, var(--primary)) 15%, transparent);
  border-radius: var(--r); }
.stat__icon .i { width: 22px; height: 22px; }
.stat__label { font-size: 12.5px; color: var(--muted); }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.15; }
.stat__value small { font-size: 13px; color: var(--muted); font-weight: 600; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.quick a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.quick a .i { width: 22px; height: 22px; color: var(--c, var(--accent)); }
.quick b { display: block; font-family: var(--font-head); font-size: 15.5px; }
.quick small { color: var(--muted); font-size: 12.5px; }
.quick .arrow { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.quick a:hover .arrow { transform: translateX(4px); color: #fff; }

/* ---------------------------------------------------------------- timers */
.timers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.timer { --c: var(--accent); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.timer__icon { grid-row: span 2; width: 54px; height: 54px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.timer__icon .i { width: 24px; height: 24px; }
.timer__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.timer__clock { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.1; }
.timer__bar { grid-column: 1 / -1; height: 5px; background: var(--soft); margin-top: 6px; overflow: hidden; }
.timer__bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c)); box-shadow: 0 0 10px var(--c); transition: width 1s linear; }
.timer__desc { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- slides */
.slides { position: relative; overflow: hidden; }
.slides__track { display: flex; transition: transform .6s var(--ease); }
.slide { position: relative; min-width: 100%; aspect-ratio: 21 / 8; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(transparent, rgb(5 2 10 / .85)); }
.slide__cap h3 { font-size: clamp(18px, 2.4vw, 28px); margin: 0 0 4px; }
.slide__cap p { margin: 0 0 12px; color: color-mix(in srgb, var(--text) 80%, var(--muted)); }
.slides__dots { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 7px; z-index: 2; }
.slides__dots button { width: 22px; height: 5px; background: rgb(255 255 255 / .35); transition: background .2s, width .2s; }
.slides__dots button.is-on { background: var(--accent); width: 34px; }
.slides__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; background: rgb(5 2 10 / .5); backdrop-filter: blur(6px); }
.slides__nav--prev { left: 12px; } .slides__nav--next { right: 12px; }

/* ---------------------------------------------------------------- features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { --c: var(--primary); padding: 22px; position: relative; overflow: hidden; }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--c); margin-bottom: 14px; position: relative; }
.feature__icon::before { content: ""; position: absolute; inset: 4px; transform: rotate(45deg); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.feature__icon .i { position: relative; width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.feature img.feature__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin: -22px -22px 16px; width: calc(100% + 44px); max-width: none; }

/* ---------------------------------------------------------------- products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product { --r: var(--muted); display: flex; flex-direction: column; height: 100%; }
.product > .plate__in { padding: 0; display: flex; flex-direction: column; height: 100%; }
.product__media { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--r) 34%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent), transparent); }
.product__media::before { content: ""; position: absolute; inset: auto 18% 10% 18%; height: 18%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--r) 40%, transparent), transparent 70%); filter: blur(6px); }
.product__media img { position: relative; width: 70%; height: 74%; object-fit: contain; filter: drop-shadow(0 12px 18px rgb(0 0 0 / .45)); transition: transform .35s var(--ease); }
.product:hover .product__media img { transform: translateY(-6px) scale(1.04); }
.product__media .placeholder { width: 64px; height: 64px; color: color-mix(in srgb, var(--r) 70%, #fff); opacity: .8; }
.product__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.product__desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.product__meta { font-size: 12px; color: var(--muted); }
.rarity-bar { height: 3px; background: linear-gradient(90deg, transparent, var(--r), transparent); }
.shop-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.cat-list { display: grid; gap: 4px; padding: 8px; }
.cat-list a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: color-mix(in srgb, var(--text) 80%, var(--muted)); transition: background .2s, color .2s; }
.cat-list a .i { color: var(--c, var(--muted)); }
.cat-list a small { margin-left: auto; color: var(--muted); font-weight: 500; }
.cat-list a:hover { background: var(--soft); color: #fff; }
.cat-list a.is-active { background: linear-gradient(90deg, var(--primary-soft), transparent); color: #fff; box-shadow: inset 3px 0 0 var(--primary); }
.shop-tools { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-tools .input-icon { flex: 1; min-width: 200px; }
.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.product-page__media { aspect-ratio: 1; display: grid; place-items: center; }
.product-page__media img { width: 72%; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .5)); }
.buybox .price b { font-size: 30px; }
.qty { display: inline-flex; align-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 40px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: #fff; background: var(--soft); }
.qty input, .field .qty input { width: 54px !important; min-height: 0 !important; padding: 0 !important; text-align: center; background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none; font-family: var(--font-head); font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kv { display: grid; gap: 10px; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt, .kv .k { color: var(--muted); }
.kv dd, .kv .v { margin: 0; font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- news & prose */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card > .plate__in { padding: 0; display: flex; flex-direction: column; height: 100%; }
.news-card__cover { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft)); }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__cover img { transform: scale(1.05); }
.news-card__cover .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.news-card__cover .ph img { width: 40%; height: auto; object-fit: contain; opacity: .9; }
.news-card__cover .chip { position: absolute; left: 12px; top: 12px; backdrop-filter: blur(6px); }
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__title { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; line-height: 1.35; }
.news-card__ex { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.news-card__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-card--wide { grid-column: span 2; }
.news-card--wide > .plate__in { flex-direction: row; }
.news-card--wide .news-card__cover { aspect-ratio: auto; flex: 1.2; min-height: 260px; }
.news-card--wide .news-card__body { flex: 1; padding: 24px; justify-content: center; }
.news-card--wide .news-card__title { font-size: 22px; }
.article-cover { aspect-ratio: 21 / 9; overflow: hidden; margin-bottom: 26px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 16px; line-height: 1.85; color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
.prose h2, .prose h3, .prose h4, .prose h5 { color: #fff; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; background: var(--grad-gold); transform: rotate(45deg) translateY(-3px); }
.prose h3 { font-size: 19px; } .prose h4 { font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose a { color: color-mix(in srgb, var(--primary) 65%, #fff); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--accent); }
.prose li.task { list-style: none; margin-left: -1.2em; }
.prose li.task::before { content: "☐ "; color: var(--muted); }
.prose li.task.done::before { content: "☑ "; color: var(--success); }
.prose img { margin: 1em 0; max-width: 100%; border: 1px solid var(--line); }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; padding: 2px 7px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: color-mix(in srgb, var(--primary) 50%, #fff); }
.prose pre { padding: 16px; overflow-x: auto; background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line); }
.prose pre code { background: none; padding: 0; color: var(--text); }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--primary); background: var(--soft); color: var(--muted); }
.prose mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: #fff; padding: 0 4px; }
.prose .table-wrap { overflow-x: auto; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--font-head); color: var(--accent); background: var(--soft); }
.callout { margin: 1em 0; padding: 14px 18px 14px 50px; position: relative; background: color-mix(in srgb, var(--c) 10%, transparent); border-left: 3px solid var(--c); }
.callout::before { position: absolute; left: 16px; top: 14px; font-weight: 700; font-family: var(--font-head); color: var(--c); }
.callout > :last-child { margin-bottom: 0; }
.callout--tip { --c: var(--success); } .callout--tip::before { content: "✓"; }
.callout--info, .callout--note { --c: var(--secondary); } .callout--info::before, .callout--note::before { content: "i"; }
.callout--warn { --c: var(--warning); } .callout--warn::before { content: "!"; }
.callout--danger { --c: var(--danger); } .callout--danger::before { content: "✕"; }
.doc-nav { display: grid; gap: 4px; padding: 8px; }
.doc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: color-mix(in srgb, var(--text) 78%, var(--muted)); }
.doc-nav a:hover { background: var(--soft); color: #fff; }
.doc-nav a.is-active { background: linear-gradient(90deg, var(--primary-soft), transparent); color: #fff; box-shadow: inset 3px 0 0 var(--primary); }
.tabs-line { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs-line a, .tabs-line button { padding: 8px 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background .2s, box-shadow .2s; }
.tabs-line a:hover, .tabs-line button:hover { color: #fff; }
.tabs-line .is-active { background: var(--grad); color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; background: var(--soft); }
.pager .is-active { background: var(--grad); }

/* ---------------------------------------------------------------- join steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: step; }
.step { padding: 26px 22px 22px; position: relative; }
.step__num { position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 18%, transparent); }
.step__icon { width: 50px; height: 50px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; border-radius: var(--r); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 4px 0 color-mix(in srgb, var(--primary) 45%, #12041f), 0 12px 22px -10px color-mix(in srgb, var(--primary) 60%, transparent); }
.step__icon .i { width: 22px; height: 22px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- leaderboard */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 18px; }
.podium__spot { text-align: center; padding: 22px 14px 18px; position: relative; }
.podium__spot--1 { --edge: linear-gradient(160deg, var(--accent), transparent 50%, var(--accent-2)); padding-top: 34px; }
.podium__spot--2 { --edge: linear-gradient(160deg, #cfd8ea, transparent 55%, #8d9bb8); }
.podium__spot--3 { --edge: linear-gradient(160deg, #e0a073, transparent 55%, #a8653d); }
.podium__avatar { width: 74px; height: 74px; margin: 0 auto 12px; image-rendering: pixelated; position: relative; }
.podium__spot--1 .podium__avatar { width: 92px; height: 92px; }
.podium__crown { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); color: var(--accent); width: 34px; height: 34px; filter: drop-shadow(0 0 10px var(--accent)); }
.podium__rank { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.podium__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranks { display: grid; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.rank-row__n { width: 34px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--muted); text-align: center; }
.rank-row img { width: 36px; height: 36px; image-rendering: pixelated; }
.rank-row__name { font-family: var(--font-head); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row.is-me { --edge: linear-gradient(90deg, var(--accent), transparent); }
.toplist .rank-row { padding: 9px 12px; }

/* ---------------------------------------------------------------- discord & cta */
.cta { position: relative; overflow: hidden; }
.cta > .plate__in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px 36px; }
.cta--discord { --edge: linear-gradient(120deg, #5865f2, transparent 40%, var(--primary)); --fill: linear-gradient(120deg, color-mix(in srgb, #5865f2 28%, var(--bg-2)), var(--bg-2) 60%); }
.cta__icon { position: absolute; right: -30px; bottom: -50px; width: 220px; height: 220px; color: #5865f2; opacity: .18; transform: rotate(-12deg); }
.cta h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 6px; }
.cta p { color: color-mix(in srgb, var(--text) 80%, var(--muted)); margin: 0; max-width: 560px; }
.btn--discord { --b: #5865f2; }

/* ---------------------------------------------------------------- staff */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.staff-card { text-align: center; padding: 24px 16px 20px; --c: var(--primary); }
.staff-card img { width: 96px; height: 96px; margin: 0 auto 14px; image-rendering: pixelated; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .5)); }
.staff-card h3 { font-size: 17px; margin: 0 0 6px; }
.staff-card p { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; margin-top: 40px; padding: 48px 0 26px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 85%, #000)); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer__brand img { width: 150px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 380px; }
.footer h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { color: color-mix(in srgb, var(--text) 80%, var(--muted)); font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: #fff; }
.footer__links .i { width: 15px; height: 15px; color: var(--muted); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.socials a:hover { background: var(--primary); color: #fff; }
.footer__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--text) 3%, transparent); }
.amount-plus { color: var(--success); font-weight: 700; font-family: var(--font-head); }
.amount-minus { color: var(--danger); font-weight: 700; font-family: var(--font-head); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .i { width: 46px; height: 46px; margin: 0 auto 12px; opacity: .5; }
.empty b { display: block; color: var(--text); font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; }

/* ---------------------------------------------------------------- topup */
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.method { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; width: 100%; cursor: pointer; transition: filter .2s, transform .2s var(--ease); }
.method:hover { transform: translateY(-2px); }
.method__logo { width: 52px; height: 52px; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13px; border-radius: var(--r); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 6px 16px -6px rgb(0 0 0 / .5); }
.method__logo .i { width: 26px; height: 26px; }
.method__logo--tw { background: linear-gradient(135deg, #ff9a00, #ff5a00); }
.method__logo--bank { background: var(--grad); }
.method b { display: block; font-family: var(--font-head); font-size: 17px; }
.method small { color: var(--muted); }
.method .check-mark { margin-left: auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); color: transparent; }
.method.is-active { --edge: linear-gradient(140deg, var(--accent), transparent 50%, var(--accent-2)); }
.method.is-active .check-mark { background: var(--accent); color: #2a1404; box-shadow: none; }
.method.is-off { opacity: .45; pointer-events: none; }
.bank-card { position: relative; padding: 22px 22px 20px; color: #fff; overflow: hidden; --bc: var(--secondary);
  background: radial-gradient(circle at 100% 0, rgb(255 255 255 / .22), transparent 45%), linear-gradient(135deg, var(--bc), color-mix(in srgb, var(--bc) 50%, #000));
  border-radius: var(--r-lg); box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / .2); }
.bank-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgb(255 255 255 / .07); }
.bank-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bank-card__bank { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.bank-card__chip { width: 40px; height: 30px; border-radius: 5px; background: linear-gradient(135deg, #f6e27a, #c9a227); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.bank-card__no { font-family: var(--font-head); font-size: clamp(20px, 3vw, 26px); font-weight: 700; letter-spacing: .1em; }
.bank-card__name { opacity: .9; margin-top: 4px; font-size: 14.5px; }
.bank-card__copy { position: relative; z-index: 1; margin-top: 16px; }
.qr-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.qr-box__qr { width: 176px; height: 176px; padding: 10px; background: #fff; display: grid; place-items: center; }
.qr-box__qr canvas, .qr-box__qr img, .qr-box__qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-box__pp { display: inline-flex; padding: 4px 10px; background: #113566; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; min-height: 190px; padding: 22px; cursor: pointer; border: 2px dashed var(--line-2); background: color-mix(in srgb, var(--bg) 50%, transparent); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--primary); background: var(--primary-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .i { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--primary); }
.dropzone b { display: block; font-family: var(--font-head); font-size: 16px; }
.dropzone img.preview { max-height: 260px; width: auto; margin: 0 auto; box-shadow: var(--shadow); }
.amount-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.amount-pick button { padding: 10px 6px; font-family: var(--font-head); font-weight: 700; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.amount-pick button:hover, .amount-pick button.is-on { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.quote-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.quote-box b { font-family: var(--font-head); font-size: 20px; color: var(--accent); }
.promo-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 20px; color: #fff; background: linear-gradient(110deg, color-mix(in srgb, var(--accent-2) 70%, transparent), color-mix(in srgb, var(--primary) 60%, transparent)); border-radius: var(--r); box-shadow: inset 0 1px 0 rgb(255 255 255 / .15); }
.promo-banner .i { width: 28px; height: 28px; flex: none; }
.promo-banner b { font-family: var(--font-head); font-size: 16px; display: block; }
.rate-table td:first-child { font-family: var(--font-head); font-weight: 700; }
.status-chip { white-space: nowrap; }

/* ---------------------------------------------------------------- gacha */
.pool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pool-card { --c: var(--primary); }
.pool-card > .plate__in { padding: 0; }
.pool-card__art { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 50%, transparent), transparent); }
.pool-card__art img { width: 100%; height: 100%; object-fit: cover; }
.pool-card__art .mini-ball { width: 90px; height: 90px; }
.pool-card__body { padding: 16px 18px 18px; }
.machine { position: relative; display: grid; place-items: center; min-height: 380px; padding: 30px 20px; overflow: hidden; }
.machine__glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc, var(--primary)) 45%, transparent), transparent 68%); filter: blur(4px); }
.machine__rays { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--pc, var(--primary)) 20%, transparent) 0 5deg, transparent 5deg 15deg); mask-image: radial-gradient(circle, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 65%); }
.anim .machine__rays { animation: spin 40s linear infinite; }
.ball { --top: var(--pc, var(--primary)); position: relative; width: 190px; height: 190px; border-radius: 50%; z-index: 2;
  background: linear-gradient(180deg, color-mix(in srgb, var(--top) 80%, #fff) 0%, var(--top) 38%, color-mix(in srgb, var(--top) 55%, #000) 49%, #15101f 49% 53%, #f3f1f8 53%, #c9c4d6 100%);
  box-shadow: inset -18px -22px 0 rgb(0 0 0 / .18), inset 14px 14px 0 rgb(255 255 255 / .22), 0 26px 50px rgb(0 0 0 / .5), 0 0 0 5px #15101f; }
.ball::before { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fff 0 38%, #e6e2ee 40% 56%, #15101f 58% 100%); box-shadow: 0 0 0 4px #15101f; }
.ball::after { content: ""; position: absolute; left: 22%; top: 14%; width: 26%; height: 16%; border-radius: 50%; background: rgb(255 255 255 / .5); transform: rotate(-30deg); filter: blur(1px); }
.ball.is-shaking { animation: shake 1.05s ease-in-out 3; }
.ball.is-open::before { background: radial-gradient(circle, #fff 0 38%, #fff 40% 56%, #15101f 58% 100%); box-shadow: 0 0 0 4px #15101f, 0 0 40px 12px var(--burst, #fff); }
@keyframes shake { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-16deg) translateX(-6px); } 30% { transform: rotate(14deg) translateX(6px); } 45% { transform: rotate(-9deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-2deg); } }
.mini-ball { width: 46px; height: 46px; }
.mini-ball.ball { box-shadow: inset -6px -8px 0 rgb(0 0 0 / .18), inset 5px 5px 0 rgb(255 255 255 / .22), 0 0 0 3px #15101f; }
.mini-ball.ball::before { width: 30%; height: 30%; box-shadow: 0 0 0 3px #15101f; }
.machine__controls { position: relative; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.machine__burst { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle, var(--burst, #fff), transparent 60%); }
.machine__burst.is-on { animation: burst .9s ease-out; }
@keyframes burst { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.pity { display: flex; align-items: center; gap: 12px; margin-top: 18px; position: relative; z-index: 3; width: min(100%, 360px); }
.pity__bar { flex: 1; height: 8px; background: var(--soft); overflow: hidden; }
.pity__bar i { display: block; height: 100%; background: var(--grad-gold); box-shadow: 0 0 10px var(--accent); }
.results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.results--one { grid-template-columns: minmax(0, 260px); justify-content: center; }
.result { --r: var(--muted); text-align: center; padding: 16px 10px 14px; position: relative; overflow: hidden; opacity: 0; transform: translateY(14px) scale(.96); }
.result.is-in { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease); }
.result::before { content: ""; position: absolute; left: 50%; top: -30%; width: 70%; height: 90%; transform: translateX(-50%); background: linear-gradient(180deg, color-mix(in srgb, var(--r) 55%, transparent), transparent); filter: blur(8px); }
.result__img { position: relative; width: 74px; height: 74px; margin: 6px auto 10px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(0 0 0 / .5)); }
.result__name { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.3; }
.result .chip { position: relative; margin-top: 8px; }
.rates { display: grid; gap: 6px; }
.rate-row { --r: var(--muted); display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; background: color-mix(in srgb, var(--r) 7%, transparent); border-left: 3px solid var(--r); }
.rate-row img { width: 40px; height: 40px; object-fit: contain; }
.rate-row b { font-family: var(--font-head); font-size: 14.5px; display: block; line-height: 1.3; }
.rate-row .pct { font-family: var(--font-head); font-weight: 700; color: var(--r); }
.ticker { display: grid; gap: 6px; }
.ticker div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 10px; background: var(--soft); }
.ticker img { width: 26px; height: 26px; image-rendering: pixelated; }

/* ---------------------------------------------------------------- rewards */
.checkin-track { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cday { position: relative; text-align: center; padding: 14px 6px 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--r); }
.cday__n { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.cday__icon { width: 44px; height: 44px; margin: 8px auto; display: grid; place-items: center; color: var(--accent); }
.cday__icon .i { width: 26px; height: 26px; }
.cday__label { font-size: 12.5px; line-height: 1.35; min-height: 2.7em; }
.cday.is-done { background: color-mix(in srgb, var(--success) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 40%, transparent); }
.cday.is-done .cday__icon { color: var(--success); }
.cday.is-today { background: linear-gradient(180deg, var(--accent-soft), transparent); box-shadow: inset 0 0 0 2px var(--accent); }
.anim .cday.is-today .cday__icon { animation: bob 2.4s ease-in-out infinite; }
.cday.is-big { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent); }
.code-box { display: flex; gap: 10px; }
.code-box input { flex: 1; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; font-size: 17px; }
.milestone { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; }
.milestone__img { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.milestone__img img { width: 72%; height: 72%; object-fit: contain; }
.milestone__img .i { width: 28px; height: 28px; }
.progress { height: 8px; background: var(--soft); overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); box-shadow: 0 0 10px var(--primary); }
.progress--gold i { background: var(--grad-gold); box-shadow: 0 0 10px var(--accent); }

/* ---------------------------------------------------------------- account */
.profile { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 24px; }
.profile__avatar { width: 92px; height: 92px; image-rendering: pixelated; position: relative; }
.profile__avatar img { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgb(0 0 0 / .5)); }
.profile h1 { font-size: 28px; margin: 4px 0 6px; }
.profile__bal { display: flex; gap: 12px; flex-wrap: wrap; }
.balance-tile { padding: 12px 18px; min-width: 150px; background: color-mix(in srgb, var(--bg) 50%, transparent); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--r); }
.balance-tile small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.balance-tile .price b { font-size: 22px; }
.acc-tabs { display: flex; gap: 4px; margin: 20px 0; overflow-x: auto; scrollbar-width: none; }
.acc-tabs a { display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.acc-tabs a:hover { color: #fff; }
.acc-tabs a.is-active { color: #fff; border-bottom-color: var(--accent); }
.mail-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; }
.mail-item__img { width: 56px; height: 56px; display: grid; place-items: center; background: var(--soft); }
.mail-item__img img { width: 80%; height: 80%; object-fit: contain; }
.mail-item__img .i { width: 26px; height: 26px; color: var(--accent); }
.mail-item b { font-family: var(--font-head); display: block; line-height: 1.3; }
.mail-item small { color: var(--muted); }

/* ---------------------------------------------------------------- auth pages */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: center; padding: 50px 0; }
.auth__art { text-align: center; position: relative; }
.auth__art img { width: min(100%, 460px); margin: 0 auto; filter: drop-shadow(0 26px 40px rgb(0 0 0 / .5)); }
.anim .auth__art img { animation: float 6s ease-in-out infinite; }
.auth__art p { color: var(--muted); max-width: 420px; margin: 18px auto 0; }
.auth__card .plate__in { padding: 30px; }
.auth__card h1 { font-size: 28px; margin: 8px 0 4px; }
.auth__switch { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.strength { height: 4px; background: var(--soft); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }

/* ---------------------------------------------------------------- download */
.dl-hero > .plate__in { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: 32px; }
.dl-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.dl-card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--secondary-soft); color: #fff; flex: none; border-radius: var(--r); }
.dl-card__icon .i { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- toast / modal / popup */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 90; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { --c: var(--secondary); display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; color: #fff; font-size: 14.5px;
  background: color-mix(in srgb, var(--bg-2) 92%, var(--c) 8%); box-shadow: inset 3px 0 0 var(--c), var(--shadow); backdrop-filter: blur(10px);
  border-radius: var(--r); animation: toast-in .35s var(--ease); }
.toast .i { color: var(--c); width: 20px; height: 20px; margin-top: 1px; }
.toast--ok { --c: var(--success); } .toast--error { --c: var(--danger); } .toast--warn { --c: var(--warning); }
.toast.is-out { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal__bg { position: absolute; inset: 0; background: rgb(5 2 10 / .72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal__box { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow-y: auto; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .25s, transform .3s var(--ease); }
.modal--wide .modal__box { width: min(100%, 760px); }
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__bg { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.modal__head h3 { margin: 0; font-size: 20px; }
.modal__x { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.modal__x:hover { color: #fff; }
.modal__body { padding: 16px 22px 22px; }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 22px 22px; }
.popup-img { width: 100%; max-height: 300px; object-fit: cover; margin-bottom: 14px; }
.discord-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: #5865f2; border-radius: 50%; box-shadow: 0 10px 26px rgb(88 101 242 / .5); transition: transform .2s var(--ease); }
.discord-float:hover { transform: translateY(-3px) scale(1.05); }
.discord-float .i { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- error / maintenance */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.error-page__code { font-family: var(--font-head); font-size: clamp(90px, 18vw, 180px); font-weight: 700; line-height: .9; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--primary) 60%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .ball { width: 110px; height: 110px; margin: 0 auto 18px; }
.anim .error-page .ball { animation: shake 1.4s ease-in-out infinite; }

/* ---------------------------------------------------------------- rounded shapes & micro-interactions (launcher style) */
.wallet-chip, .user-btn, .online-pill, .qty, .socials a, .burger, .slides__nav, .amount-pick button { border-radius: 999px; }
.user-btn img, .ip-plate__copy { border-radius: 50%; }
.menu a, .menu button, .drawer__nav a, .cat-list a, .doc-nav a, .ticker div, .rate-row, .mail-item__img, .pager a, .pager span,
.form-error, .callout, .prose blockquote, .prose pre, .quote-box, .dropzone, .prose img { border-radius: var(--r-sm); }
.qr-box__qr, .slide img { border-radius: var(--r); }
.product, .news-card, .pool-card, .slides, .cta, .plate.clip, .article-cover, .result { overflow: hidden; }
.timer__bar, .progress, .pity__bar, .strength { border-radius: 999px; }
.timer__bar i, .progress i, .pity__bar i, .strength i { border-radius: inherit; }

/* header navigation = launcher pills */
.nav { gap: 4px; }
.nav a { border-radius: 999px; padding: 8px 14px; transition: color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); }
.nav a::after { display: none; }
.nav a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); box-shadow: inset 0 0 0 1.5px var(--line-2); transform: translateY(-1px); }
.nav a:active { transform: translateY(1px) scale(.97); }
.nav a.is-active { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 32%, transparent), color-mix(in srgb, var(--secondary) 24%, transparent));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 62%, transparent), 0 8px 20px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.wallet-chip { padding: 4px 4px 4px 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.user-btn { box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s, background .2s, transform .2s var(--ease); }
.user-btn:hover { background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 60%, transparent); }
.user-btn:active { transform: scale(.97); }
.burger { transition: background .2s, transform .2s var(--ease); }
.burger:active { transform: scale(.92); }
.menu a, .menu button { transition: background .15s, color .15s, padding-left .2s var(--ease); }
.menu a:hover, .menu button:hover { padding-left: 16px; }

/* tabs & side lists */
.tabs-line a:hover, .tabs-line button:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 55%, transparent); }
.tabs-line .is-active { box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 8px 18px -8px color-mix(in srgb, var(--primary) 75%, transparent); }
.acc-tabs { gap: 6px; }
.acc-tabs a { border-radius: 999px; border-bottom: 0; transition: background .2s, color .2s, box-shadow .2s; }
.acc-tabs a:hover { background: var(--soft); }
.acc-tabs a.is-active { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--secondary) 22%, transparent)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 55%, transparent); }
.cat-list a, .doc-nav a { transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.cat-list a:hover, .doc-nav a:hover { transform: translateX(3px); }
.cat-list a.is-active, .doc-nav a.is-active { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 28%, transparent), color-mix(in srgb, var(--primary) 4%, transparent)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 42%, transparent); }

/* pressable cards & icons */
.method { transition: transform .2s var(--ease), box-shadow .25s; }
.method:active { transform: scale(.98); }
.method__logo { transition: transform .45s var(--ease); }
.method:hover .method__logo { transform: rotate(-8deg) scale(1.07); }
.amount-pick button { transition: transform .15s var(--ease), background .2s, box-shadow .2s, color .2s; }
.amount-pick button:hover { transform: translateY(-2px); }
.amount-pick button:active { transform: translateY(1px) scale(.97); }
.socials a { transition: transform .25s var(--ease), background .2s, color .2s; }
.socials a:hover { transform: translateY(-3px) rotate(-8deg); }
.stat__icon, .step__icon, .feature__icon, .dl-card__icon, .timer__icon, .milestone__img { transition: transform .5s var(--ease); }
.plate-hover:hover .stat__icon, .plate-hover:hover .feature__icon, .plate-hover:hover .dl-card__icon, .step:hover .step__icon, .timer:hover .timer__icon, .milestone:hover .milestone__img { transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.feature__icon::before { border-radius: 12px; }
.quick a .i:first-child { transition: transform .45s var(--ease); }
.quick a:hover .i:first-child { transform: scale(1.18) rotate(-8deg); }
.cday { transition: transform .2s var(--ease), box-shadow .2s; }
.cday:hover { transform: translateY(-3px); }
.ip-plate { transition: transform .2s var(--ease), filter .2s; }
.ip-plate:active { transform: scale(.97); }
.dropzone { transition: border-color .2s, background .2s, transform .2s var(--ease); }
.dropzone:active { transform: scale(.99); }
.tabbar__center span.tb-ball { box-shadow: 0 0 0 5px var(--bg), inset 0 1px 0 rgb(255 255 255 / .5), 0 4px 0 color-mix(in srgb, var(--accent-2) 55%, #2d1000), 0 12px 24px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .2s var(--ease); }
.tabbar a:active .tb-ball { transform: translateY(3px); }

/* ---------------------------------------------------------------- reveal on scroll (uses `translate`, so hover transforms still work) */
.anim .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.anim .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav a { padding: 9px 9px; font-size: 14px; }
  .nav a .i { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar, .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav, .header__side .user-btn__name, .header__side .guest-btns { display: none; }
  .burger { display: grid; place-items: center; width: 42px; height: 42px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
  .header__side { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero { padding-top: 20px; }
  .split, .split--rev, .shop-layout, .product-page, .auth, .dl-hero > .plate__in { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .cat-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card--wide { grid-column: auto; }
  .news-card--wide > .plate__in { flex-direction: column; }
  .news-card--wide .news-card__cover { min-height: 0; aspect-ratio: 16/9; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .auth__art { display: none; }
  .results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
  .tabbar a .i { width: 22px; height: 22px; }
  .tabbar a.is-active { color: #fff; }
  .tabbar a.is-active .i { color: var(--accent); }
  .tabbar__center { margin-top: -22px; }
  .tabbar__center span.tb-ball { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-gold); color: #2a1404; box-shadow: 0 0 0 5px var(--bg), 0 10px 22px color-mix(in srgb, var(--accent) 45%, transparent); }
  .tabbar .count-badge { position: absolute; top: 8px; left: calc(50% + 6px); }
  main { padding-bottom: 110px; }
  .discord-float { bottom: 82px; }
  .toasts { top: auto; bottom: 84px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid-2, .grid-3, .grid-4, .features, .news-grid, .methods { grid-template-columns: 1fr; }
  .statbar, .quick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 12px; gap: 10px; }
  .stat__icon { width: 38px; height: 38px; }
  .stat__value { font-size: 17px; }
  .quick a { padding: 12px; }
  .quick small, .quick .arrow { display: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product__body { padding: 10px 12px 12px; }
  .product__name { font-size: 14.5px; }
  .product__desc { display: none; }
  .product__foot { flex-direction: column; align-items: stretch; }
  .wallet-chip__bal:nth-child(2) { display: none; }
  .brand__name { display: none; }
  .cta > .plate__in { grid-template-columns: 1fr; padding: 24px; }
  .plate__in { padding: 18px; }
  .podium { gap: 8px; }
  .podium__spot { padding: 16px 6px 12px; }
  .podium__avatar { width: 52px; height: 52px; }
  .podium__spot--1 .podium__avatar { width: 64px; height: 64px; }
  .podium__name { font-size: 14px; }
  .checkin-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .milestone { grid-template-columns: 52px 1fr; }
  .milestone > :last-child { grid-column: 1 / -1; }
  .profile { grid-template-columns: auto 1fr; padding: 18px; }
  .profile__avatar { width: 64px; height: 64px; }
  .profile > :last-child { grid-column: 1 / -1; }
  .qr-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .amount-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ball { width: 150px; height: 150px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mail-item { grid-template-columns: 44px 1fr; }
  .mail-item > :last-child { grid-column: 1 / -1; }
  .mail-item__img { width: 44px; height: 44px; }
  .table th, .table td { padding: 10px 10px; }
  .hide-sm { display: none !important; }
}
@media (min-width: 961px) { .show-sm { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* balanced line breaks for Thai headings */
h1, h2, h3, .title-xl, .title-lg, .title-md { text-wrap: balance; }
.hero__lead, .page-head p, .sec-head p { text-wrap: pretty; }
@media (max-width: 640px) { .hero__art { max-width: 300px; } .hero { padding-top: 8px; } }

/* ---------------------------------------------------------------- ranked league */
.tier-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 7px; border-radius: 999px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--t); background: color-mix(in srgb, var(--t) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 40%, transparent); }
.tier-chip i { width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: var(--t); box-shadow: 0 0 8px var(--t); }
.tier-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.tier-step { --edge: linear-gradient(160deg, var(--t), transparent 55%); display: grid; justify-items: center; gap: 2px; padding: 14px 10px 12px; text-align: center; }
.tier-step b { font-family: var(--font-head); color: var(--t); font-size: 15px; }
.tier-step small { color: var(--muted); font-size: 12px; }
.tier-step__n { margin-top: 4px; font-size: 12px; font-weight: 600; }
.tier-badge { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 4px; color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: radial-gradient(circle at 35% 25%, rgb(255 255 255 / .55), transparent 40%), linear-gradient(160deg, var(--t), color-mix(in srgb, var(--t) 45%, #000)); }
.tier-badge .i { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .4)); }
.rk-podium .podium__spot { display: grid; justify-items: center; gap: 4px; }
.rk-elo { font-family: var(--font-head); color: var(--muted); font-size: 13px; }
.rk-elo b { color: #fff; font-size: 20px; margin-right: 3px; }
.rk-row { display: grid; grid-template-columns: 34px 36px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 16px; }
.rk-row img { width: 36px; height: 36px; image-rendering: pixelated; border-radius: 8px; }
.rk-row__name { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.rk-row__name b { font-family: var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-row__rec { font-family: var(--font-head); font-size: 13px; color: var(--muted); white-space: nowrap; }
.rk-row__rec small { margin-left: 6px; color: var(--text); }
.rk-row .rk-elo { text-align: right; min-width: 70px; }
.rk-row .rk-elo b { font-size: 18px; display: block; line-height: 1.1; margin: 0; }
.rk-row .rk-elo small { font-size: 11px; }
.rk-streak { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent-2); }
.rk-streak .i { width: 16px; height: 16px; }
.placing { display: grid; gap: 8px; }
.placing__row { display: grid; grid-template-columns: 28px minmax(0, 140px) 1fr auto; gap: 10px; align-items: center; }
.placing__row img { width: 28px; height: 28px; image-rendering: pixelated; border-radius: 6px; }
.placing__row b { font-family: var(--font-head); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.placing__row .progress { margin: 0; }
.matches { display: grid; gap: 8px; }
.match { padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft); }
.match__who { font-size: 14px; }
.match__who b { font-family: var(--font-head); }
.match__meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.home-ranked { display: grid; gap: 8px; }
@media (max-width: 640px) {
  .rk-row { grid-template-columns: 26px 32px minmax(0, 1fr) auto; gap: 8px; padding: 9px 12px; }
  .rk-row .rk-streak { display: none; }
  .placing__row { grid-template-columns: 24px minmax(0, 100px) 1fr auto; }
}

/* header menu: labels never break onto two lines. app.js adds .hdr-c1..3 while the bar is too full */
.header .wrap { width: min(100% - 32px, 1440px); }
.nav { flex-wrap: nowrap; min-width: 0; }
.nav a { white-space: nowrap; flex-shrink: 0; word-break: keep-all; }
.header .btn, .wallet-chip, .user-btn, .brand { white-space: nowrap; flex-shrink: 0; }
.hdr-c1 .brand__name small { display: none; }
.hdr-c2 .brand__name { display: none; }
.hdr-c3 .nav a .i { display: none; }
.hdr-c4 .nav a { padding: 8px 9px; font-size: 13.5px; }
.hdr-c4 .wallet-chip__bal + .wallet-chip__bal { display: none; }
.btn--blue { --b: linear-gradient(115deg, #38bdf8 0%, var(--secondary) 55%, color-mix(in srgb, var(--secondary) 70%, var(--primary)) 100%); --d: color-mix(in srgb, var(--secondary) 45%, #050a24); --glow: color-mix(in srgb, #38bdf8 55%, transparent); }

/* menu icon badges: each menu has its own colour, they pop on hover and glow when active */
.nav a { padding: 5px 14px 5px 5px; gap: 9px; }
.nav__ic { --ic: var(--primary); width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--ic);
  background: linear-gradient(145deg, color-mix(in srgb, var(--ic) 24%, transparent), color-mix(in srgb, var(--ic) 8%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 38%, transparent), inset 0 1px 0 rgb(255 255 255 / .12);
  transition: transform .35s var(--ease), background .25s, box-shadow .25s, color .25s; }
.nav a .nav__ic .i { width: 17px; height: 17px; opacity: 1; stroke-width: 2.1; color: inherit; }
.nav a:hover .nav__ic { transform: translateY(-1px) rotate(-8deg) scale(1.08); background: linear-gradient(145deg, color-mix(in srgb, var(--ic) 38%, transparent), color-mix(in srgb, var(--ic) 14%, transparent)); }
.nav a.is-active .nav__ic { color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--ic) 92%, #fff), color-mix(in srgb, var(--ic) 62%, #1a0f2b));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 0 0 1px color-mix(in srgb, var(--ic) 60%, transparent), 0 6px 16px -4px color-mix(in srgb, var(--ic) 75%, transparent); }
.nav a.is-active .nav__ic .i { color: #fff; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .35)); }
.nav a.is-active { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 26%, transparent), color-mix(in srgb, var(--secondary) 18%, transparent)); }
.hdr-c3 .nav a { padding: 8px 12px; }
.hdr-c3 .nav__ic { display: none; }
.drawer__nav a .nav__ic { width: 34px; height: 34px; }
.drawer__nav a .nav__ic .i { color: inherit; width: 18px; height: 18px; }
.drawer__nav a.is-active .nav__ic { color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--ic) 92%, #fff), color-mix(in srgb, var(--ic) 62%, #1a0f2b)); }
@media (max-width: 1100px) { .nav__ic { display: none; } .nav a { padding: 8px 10px; } }

/* shop: "details" button on every card + quick-view window to read everything before buying */
.product__peek { position: absolute; left: 50%; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 11px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff; white-space: nowrap; pointer-events: none;
  background: rgb(14 7 28 / .72); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 60%, transparent), 0 10px 22px -10px var(--r);
  opacity: 0; translate: -50% 12px; transition: opacity .25s, translate .35s var(--ease); }
.product__peek .i { width: 15px; height: 15px; color: color-mix(in srgb, var(--r) 65%, #fff); }
.product__media:hover .product__peek, .product__media:focus-visible .product__peek { opacity: 1; translate: -50% 0; }
@media (hover: none) { .product__peek { display: none; } }
.product__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.product__actions .btn { width: 100%; padding-inline: 10px; gap: 7px; }
/* round "!" details button next to Buy */
.product__actions .btn.btn--ex { width: 36px; min-height: 36px; height: 36px; padding: 0; border-radius: 50%; }
/* the "!" is drawn as an SVG so it sits dead-centre whatever the font */
.btn--ex .ex { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round;
  color: color-mix(in srgb, var(--r) 40%, #fff); filter: drop-shadow(0 0 5px var(--r)); }
.btn--ex .ex circle { fill: currentColor; stroke: none; }
.btn--ex:hover .ex { animation: ex-wiggle .55s var(--ease); }
@keyframes ex-wiggle { 25% { rotate: -16deg; scale: 1.15; } 50% { rotate: 11deg; } 75% { rotate: -5deg; } }
/* sales count on the card (replaces the short description) */
.product__sold { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 4px 12px 4px 8px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; color: color-mix(in srgb, var(--text) 85%, var(--muted)); background: linear-gradient(90deg, rgb(255 122 69 / .18), rgb(255 181 71 / .05));
  box-shadow: inset 0 0 0 1px rgb(255 140 60 / .3); }
.product__sold .i { width: 15px; height: 15px; flex: none; color: #ff8a3d; filter: drop-shadow(0 0 6px rgb(255 120 50 / .65)); }
.product__sold b { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: #ffd08a; }
.anim .product__sold:not(.is-zero) .i { animation: flame-flicker 1.4s ease-in-out infinite; }
@keyframes flame-flicker { 50% { scale: 1.15; rotate: -6deg; } }
.product__sold.is-zero { color: var(--muted); background: color-mix(in srgb, var(--r) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 22%, var(--line)); }
.product__sold.is-zero .i { color: color-mix(in srgb, var(--r) 65%, #fff); filter: none; }
@media (max-width: 640px) { .product__sold { font-size: 11.5px; padding: 3px 9px 3px 6px; white-space: normal; } .product__sold .i { width: 13px; height: 13px; } }
.btn--info { --r: var(--secondary); --b: linear-gradient(160deg, color-mix(in srgb, var(--r) 30%, #1d1133), color-mix(in srgb, var(--r) 10%, #120a22));
  --d: color-mix(in srgb, var(--r) 28%, #06020d); --glow: color-mix(in srgb, var(--r) 45%, transparent); color: #fff; }
.product .btn--info { --r: inherit; }
.btn--info, .btn--info:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--r) 55%, transparent), inset 0 1px 0 rgb(255 255 255 / .22), 0 var(--depth) 0 var(--d), 0 12px 24px -12px var(--glow); }
.btn--info:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--r) 85%, #fff), inset 0 1px 0 rgb(255 255 255 / .3), 0 calc(var(--depth) + 2px) 0 var(--d), 0 18px 30px -12px var(--glow); }
.btn--info .i { color: color-mix(in srgb, var(--r) 55%, #fff); }
@media (max-width: 640px) {
  .product__actions { gap: 6px; }
  .product__actions .btn { font-size: 12.5px; padding-inline: 4px; min-height: 32px; }
  .product__actions .btn .i { display: none; }
}

.modal--qv .modal__box { width: min(100%, 900px); padding: 0; overflow: hidden; }
.qv { position: relative; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.qv__x { position: absolute; top: 12px; right: 12px; z-index: 5; border-radius: 12px; background: rgb(10 5 20 / .55); backdrop-filter: blur(6px); }
.qv__media { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 320px; overflow: hidden;
  background: radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--r) 36%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--r) 14%, #140b26), #0b0617);
  border-right: 1px solid color-mix(in srgb, var(--r) 28%, var(--line)); }
.qv__media::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 68%); mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 68%); }
.qv__ring { position: absolute; left: 50%; top: 46%; width: 236px; height: 236px; margin: -118px 0 0 -118px; border-radius: 50%; z-index: -1; opacity: .9;
  background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--r) 70%, #fff) 10%, transparent 28%, transparent 50%, color-mix(in srgb, var(--r) 55%, transparent) 62%, transparent 80%);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64%, #000 66.5%, transparent 67.5%); mask: radial-gradient(circle, transparent 63%, #000 64%, #000 66.5%, transparent 67.5%); }
.anim .qv__ring { animation: spin 12s linear infinite; }
.qv__media img { width: 74%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 18px 26px rgb(0 0 0 / .55)); }
.qv__ph { width: 104px; height: 104px; stroke-width: 1.6; color: color-mix(in srgb, var(--r) 70%, #fff); filter: drop-shadow(0 0 20px color-mix(in srgb, var(--r) 75%, transparent)); }
.anim .qv__media img, .anim .qv__ph { animation: float 5s ease-in-out infinite; }
.qv__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.qv__rarity { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 15px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--r) 50%, #fff);
  background: color-mix(in srgb, var(--r) 16%, rgb(10 5 20 / .65)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 55%, transparent), 0 0 26px -6px var(--r); }
.qv__rarity .i { width: 14px; height: 14px; }
.qv__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; max-height: min(700px, calc(100vh - 32px)); }
.qv .kicker { letter-spacing: .05em; }
.qv__body { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 26px 18px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--r) 45%, transparent) transparent; }
.qv__name { margin: 6px 0 4px; padding-right: 40px; font-size: 26px; line-height: 1.2; }
.qv__short { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.qv__price { width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; padding: 12px 16px; border-radius: var(--r-sm);
  background: linear-gradient(100deg, color-mix(in srgb, var(--r) 12%, transparent), color-mix(in srgb, var(--bg) 55%, transparent) 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 22%, var(--line)); }
.qv__price::before { content: "ราคา"; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.qv__price .price b { font-size: 27px; }
.qv__until { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--accent); }
.qv__until .i { width: 14px; height: 14px; }
.qv__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 20px; }
.qv__fact { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.qv__fact > .i { width: 32px; height: 32px; padding: 7px; flex: none; border-radius: 10px; color: color-mix(in srgb, var(--r) 60%, #fff); background: color-mix(in srgb, var(--r) 18%, transparent); }
.qv__fact b { display: block; font-family: var(--font-head); font-size: 13.5px; line-height: 1.3; }
.qv__fact small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.qv__desc { font-size: 14.5px; line-height: 1.7; }
.qv__desc h1, .qv__desc h2, .qv__desc h3 { margin: 0 0 10px; padding: 0; border: 0; font-size: 16.5px; color: #fff; }
.qv__desc ul { list-style: none; display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.qv__desc li { position: relative; margin: 0; padding: 8px 12px 8px 40px; border-radius: 11px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--r) 11%, transparent), transparent 90%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 15%, transparent); }
.qv__desc li::before { content: ""; position: absolute; left: 11px; top: 10px; width: 19px; height: 19px; border-radius: 50%; box-shadow: 0 0 10px -2px var(--r);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(140deg, color-mix(in srgb, var(--r) 80%, #fff), color-mix(in srgb, var(--r) 75%, #000)); }
.qv__desc li strong { color: color-mix(in srgb, var(--r) 35%, #fff); }
.qv__desc .callout { font-size: 13.5px; line-height: 1.6; }
.qv__desc > :last-child { margin-bottom: 0; }
.anim .modal.is-open .qv__desc li { animation: qv-li .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms + 120ms); }
@keyframes qv-li { from { opacity: 0; translate: 14px 0; } }
.qv__foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 70%, transparent), color-mix(in srgb, var(--bg) 85%, transparent)); }
.qv__grow { flex: 1; }
@media (max-width: 760px) {
  .modal--qv { padding: 0; place-items: end center; }
  .modal--qv .modal__box { width: 100%; border-radius: 22px 22px 0 0; }
  .qv { grid-template-columns: 1fr; }
  .qv__main { max-height: calc(92vh - 210px); }
  .qv__media { min-height: 210px; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--r) 28%, var(--line)); }
  .qv__media img { max-height: 140px; }
  .qv__ring { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .qv__ph { width: 76px; height: 76px; }
  .qv__body { padding: 18px 16px 12px; }
  .qv__name { font-size: 21px; }
  .qv__facts { grid-template-columns: 1fr 1fr; }
  .qv__fact { padding: 8px 10px; gap: 8px; }
  .qv__fact > .i { width: 28px; height: 28px; padding: 6px; }
  .qv__foot { padding: 12px 16px 16px; }
  .qv__grow { display: none; }
  .qv__foot .btn:not(.btn--sm) { flex: 1; }
}
