/* Melee: Brawl Stars duels as a cartoon brawl. A dust cloud on a tiled violet arena floor with gloves, boots and team
   bandanas poking out; the page is the sky over the arena, panels are violet arena tiles, the header is hemmed with the
   arena curb in pink and lime blocks, card titles are strips of bandana cloth; pink is you, lime the rival; the logo is
   a pink glove punching out of a puff of dust. Fonts are self-hosted (SIL Open Font License): Paytone One for titles,
   Red Hat Display for text. No Supercell artwork is used. The shared layout is the Brawlz file; the Melee skin at the
   end overrides it. */
@font-face { font-family: 'Paytone One'; src: url('/fonts/paytone-one.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Red Hat Display'; src: url('/fonts/redhat-display.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #0a0a14;
  --panel: #233184;
  --panel-2: #18225f;
  --line: #3b4cb0;
  --text: #ffffff;
  --muted: #b3bff7;
  --on-blue: #dbe2ff;
  --gold: #ffd21f;
  --elixir: #a64dff;
  --red: #ff4658;
  --blue: #3d9bff;
  --green: #4be04b;
  --g-gold: linear-gradient(180deg, #ffec5c 0%, #ffd21f 52%, #f5a400 100%);
  --g-blue: linear-gradient(180deg, #6cc0ff 0%, #2f8dff 50%, #1560d8 100%);
  --g-red: linear-gradient(180deg, #ff8c93 0%, #ff3b4d 50%, #cf1933 100%);
  --g-green: linear-gradient(180deg, #a0ff7c 0%, #3bd13b 50%, #1c9a2b 100%);
  --g-elixir: linear-gradient(180deg, #ddb0ff, #a64dff 50%, #6f1fd0);
  --g-deep: linear-gradient(180deg, #2c3da3 0%, #1b2670 100%);
  --display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --edge: 3px solid var(--ink);
  --lift: inset 0 3px 0 rgba(255, 255, 255, .16), 0 7px 0 var(--ink), 0 22px 30px rgba(4, 6, 30, .4);
  --wrap: 1180px;
  --skew: -8deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background: #1f4bd6 linear-gradient(180deg, #2f7bf5 0%, #1f4bd6 40%, #2a1f9e 100%) fixed;
  color: #fff; font: 700 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
}
/* slanted stripes across the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 70px, transparent 70px 140px);
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.card :focus-visible, .result :focus-visible { outline-color: var(--blue); }
[hidden] { display: none !important; }

.ico { width: 1.3em; height: 1.3em; flex: none; }
.ico.line { width: 1.1em; height: 1.1em; }
/* white lettering with a dark outline and a hard shadow, the look of every title in the game */
h1, h2, .plate, .btn, .brand-name, .vs, .p-vs, .p-side b, .p-prize b, .p-prize i, .ticker-run span, .callout h3, .splitbar i, .steps li::before, .badge, .round-no b {
  font-family: var(--display); font-weight: 400; color: #fff;
  -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .1em 0 var(--ink);
}
h1, h2 { line-height: 1.02; letter-spacing: .01em; }
.kicker {
  display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgba(6, 8, 36, .5); color: var(--gold);
  font: 900 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em;
}
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.row.tight { gap: 6px; justify-content: flex-end; }
.fine { font-size: 13px; color: var(--on-blue); }
.lede { font-size: 19px; line-height: 1.45; max-width: 34em; color: #fff; text-shadow: 0 2px 0 rgba(6, 8, 36, .45); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; text-underline-offset: 4px; }
.linkish { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 900; }

/* ---------- top bar ---------- */
/* the launch strip above the header, shown while the token is live */
.launch { background: var(--ink); color: #fff; font: 800 14px/1.25 var(--body); }
.launch[hidden] { display: none; }
.launch-in { max-width: var(--wrap); margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
.launch-tag { padding: 3px 10px; border-radius: 999px; background: var(--g-gold); color: var(--ink); font: 900 11px/1.35 var(--body); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.launch-text b { font-weight: 900; color: var(--gold); }
.launch-ca { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1.5px solid rgba(237, 220, 255, .32); border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--on-blue); font: 700 13px/1.25 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; cursor: pointer; transition: border-color .15s, color .15s; }
.launch-ca:hover { border-color: var(--gold); color: #fff; }
.launch-ca .ico, .launch-go .ico { width: 15px; height: 15px; }
.ca-short { display: none; }
.launch-go { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.launch-go:hover { color: #fff; }
@media (max-width: 880px) { .ca-full { display: none; } .ca-short { display: inline; } }
@media (max-width: 520px) { .launch { font-size: 13px; } .launch-in { padding: 7px 14px; gap: 6px 10px; } }
.top { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, #6e1bb6, #55108a); border-bottom: 4px solid var(--ink); box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .12); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-size: 27px; line-height: 1; color: var(--gold); }
.brand-name b { font-weight: 400; color: #fff; }
.hud { display: flex; align-items: center; gap: 10px; }
.navlinks { display: none; gap: 22px; margin-right: 10px; }
.navlinks a { font: 900 13px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--on-blue); padding: 8px 0; border-bottom: 3px solid transparent; }
.navlinks a:hover { color: #fff; border-color: var(--gold); }
.pill { padding: 4px 10px; border: 2px solid var(--on-blue); border-radius: 999px; font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.pill.mock { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) { .navlinks { display: flex; } }
@media (max-width: 520px) { .pill:not(.mock), .top .btn.ghost { display: none; } .brand-name { font-size: 23px; } .brand-mark { width: 36px; height: 36px; } .top-in { padding: 0 14px; gap: 10px; } .hud { gap: 8px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  min-height: 50px; padding: 0 22px; border: var(--edge); border-radius: 14px; background: var(--g-gold);
  font-size: 21px; line-height: 1; letter-spacing: .02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -5px 0 rgba(0, 0, 0, .16), 0 5px 0 var(--ink);
  transition: transform .08s, box-shadow .08s, filter .12s;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -5px 0 rgba(0, 0, 0, .16), 0 1px 0 var(--ink); }
.btn.ink { background: var(--g-green); }
.btn.ghost { background: var(--g-blue); }
.btn.sm { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 17px; }
.btn.lg { min-height: 66px; padding: 0 30px; border-radius: 18px; font-size: 30px; }
.btn.wide { width: 100%; }
.btn.wide, .btn.lg { white-space: normal; text-align: center; padding-block: 8px; }
@media (max-width: 520px) { .btn.lg { font-size: 25px; padding-inline: 18px; min-height: 60px; } }
.btn.icon-btn { width: 46px; min-height: 46px; padding: 0; border-radius: 12px; }
.btn .wicon { width: 28px; height: 28px; border-radius: 6px; }
.btn.loading { color: transparent !important; -webkit-text-stroke: 0 transparent; text-shadow: none; pointer-events: none; }
.btn.loading > * { visibility: hidden; }
.btn.loading::after { content: ""; position: absolute; width: 24px; height: 24px; border: 4px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
body.busy .btn:not(.loading) { opacity: .65; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 6px; font: 900 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
input {
  width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: var(--edge); border-radius: 12px; background: #fff; color: var(--text);
  font: 800 16px/1 var(--body); appearance: none; box-shadow: inset 0 4px 0 rgba(6, 8, 36, .1);
}
input::placeholder { color: #ae93c4; }
input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.row > input.grow { width: auto; }
.big-in { height: 70px; font: 400 38px/1 var(--display); letter-spacing: .02em; }
.code-in { font: 400 24px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; }
.code-in::placeholder { letter-spacing: .02em; text-transform: none; }
.segs { display: inline-flex; border: var(--edge); border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.segs.wide { display: flex; }
.seg { flex: 1; min-height: 44px; padding: 0 12px; border: 0; border-left: var(--edge); background: none; color: var(--text); cursor: pointer; font: 900 13px/1.1 var(--body); text-transform: uppercase; letter-spacing: .05em; }
.seg:first-child { border-left: 0; }
.seg:hover { background: #e3cffb; }
.seg.on { background: var(--g-blue); color: #fff; text-shadow: 0 2px 0 rgba(6, 8, 36, .6); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4); }
.divider { display: flex; align-items: center; gap: 12px; font: 900 12px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: var(--line); }

/* ---------- cards ---------- */
.card { position: relative; min-width: 0; padding: 20px; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 20px; box-shadow: var(--lift); }
.card a { color: #6a17b3; }
.card.dark { background: var(--g-deep); color: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .22), 0 7px 0 var(--ink), 0 22px 30px rgba(4, 6, 30, .35); }
.card.dark a, .card.dark .linkish { color: var(--gold); }
.plate {
  margin: -20px -20px 18px; padding: 11px 20px 12px; border-bottom: var(--edge); border-radius: 16px 16px 0 0;
  background: var(--g-blue); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45); font-size: 24px; line-height: 1.1; text-align: center;
}
.plate.hot { background: var(--g-red); }
.well { padding: 11px 14px; border-radius: 12px; background: var(--panel-2); color: var(--text); }
.note { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: var(--edge); border-radius: 14px; background: #fff1b8; color: var(--text); }
.note > .ico { width: 30px; height: 30px; }
.note.bad { background: #ffdfe2; align-items: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--text); font: 800 12px/1.5 var(--body); white-space: nowrap; }
.chip.yours, .chip.prize { background: var(--g-gold); }
.chip.prize b { font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mode-tag { display: inline-block; padding: 2px 8px; border: 2px solid var(--ink); border-radius: 8px; background: #e2cfff; color: var(--text); font: 900 11px/1.5 var(--body); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.mode-tag.m-any { background: var(--g-gold); }
.mode-tag.m-draft { background: #eebbff; }
.mode-tag.m-team { background: var(--g-green); }
.badge {
  display: inline-grid; place-items: center; width: 50px; height: 50px; flex: none; border: var(--edge); border-radius: 13px;
  background: var(--g-blue); font-size: 27px; line-height: 1; text-transform: uppercase; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 0 3px 0 var(--ink);
}
.badge.red { background: var(--g-red); }
.badge.none { background: var(--panel-2); border-style: dashed; color: var(--muted); -webkit-text-stroke: 0 transparent; text-shadow: none; box-shadow: none; }
.corner-label { display: block; font: 900 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }

/* ---------- timer: the elixir bar ---------- */
.clock { display: flex; align-items: center; gap: 10px; }
.clock > .ico { width: 30px; height: 30px; }
.clock .bar { flex: 1; height: 20px; border: var(--edge); border-radius: 999px; background: #2a1a4e; overflow: hidden; }
.clock .bar i { display: block; height: 100%; background: var(--g-elixir); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45); transition: width 1s linear; }
.clock time { font: 400 25px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; min-width: 3.1ch; text-align: right; }
.clock.low .bar i { background: var(--g-red); }
.clock.low time { color: var(--red); }

/* ---------- main page ---------- */
#app { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; flex: 1; }
body[data-page="home"] #app { max-width: none; padding: 0; }
.boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 16px; font-weight: 900; }
.boot .brand-mark { width: 84px; height: 84px; animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.hero { overflow: hidden; }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(46px, 13.5vw, 104px); }
.hero h1 em, .final h2 em { display: block; font-style: normal; color: var(--gold); }
.hero .cta { margin-top: 28px; }
.hero .fine { margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cta.center { margin-top: 30px; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 60px 20px 80px; }
  .hero h1 { font-size: clamp(72px, 7.6vw, 104px); }
}

/* the matchup card */
.poster-wrap { position: relative; display: grid; justify-items: center; gap: 0; padding: 10px 10px 14px; }
.rays {
  position: absolute; left: 50%; top: 50%; width: 190%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .13) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 76%); mask: radial-gradient(closest-side, #000 18%, transparent 76%);
  animation: spin 120s linear infinite;
}
.p-crowns { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-bottom: -7px; filter: drop-shadow(0 5px 0 rgba(6, 8, 36, .55)); }
.p-crowns .ico { width: 62px; height: 62px; rotate: -12deg; animation: bob 2.6s ease-in-out infinite; }
.p-crowns .ico:nth-child(2) { width: 88px; height: 88px; rotate: 0deg; margin-bottom: 14px; animation-delay: .3s; }
.p-crowns .ico:nth-child(3) { rotate: 12deg; animation-delay: .6s; }
.ebar { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; width: min(400px, 92%); margin-top: 26px; rotate: -2deg; }
.ebar .ico { width: 40px; height: 40px; flex: none; margin-right: -18px; position: relative; z-index: 1; filter: drop-shadow(0 3px 0 rgba(4, 6, 30, .5)); }
.ebar-track { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); height: 26px; padding-left: 12px; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: #2b0f47; box-shadow: 0 5px 0 var(--ink); }
.ebar-track i { background: var(--g-elixir); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45); border-right: 2px solid rgba(6, 8, 36, .55); animation: ebar 3.2s ease-in-out infinite both; }
.ebar-track i:last-child { border-right: 0; }
.ebar-track i:nth-child(2) { animation-delay: .08s; } .ebar-track i:nth-child(3) { animation-delay: .16s; } .ebar-track i:nth-child(4) { animation-delay: .24s; } .ebar-track i:nth-child(5) { animation-delay: .32s; }
.ebar-track i:nth-child(6) { animation-delay: .4s; } .ebar-track i:nth-child(7) { animation-delay: .48s; } .ebar-track i:nth-child(8) { animation-delay: .56s; } .ebar-track i:nth-child(9) { animation-delay: .64s; } .ebar-track i:nth-child(10) { animation-delay: .72s; }
.ebar b { font: 400 26px/1 var(--display); color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; min-width: 30px; text-align: center; }
@keyframes ebar { 0%, 8% { opacity: .18; } 22%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ebar-track i { animation: none; } }
.poster { position: relative; width: min(440px, 100%); overflow: hidden; background: var(--panel); color: var(--text); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 10px 0 var(--ink), 0 34px 44px rgba(4, 6, 30, .5); rotate: -2deg; }
.p-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 16px; background: linear-gradient(180deg, #721dbf, #4f1287); color: var(--gold); font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; border-bottom: var(--edge); }
.p-top span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.p-top span:last-child { color: #fff; }
.p-top .ico { width: 15px; height: 15px; }
.p-fight { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.p-side { padding: 22px 16px 24px; min-width: 0; text-align: center; background: var(--g-blue); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .35); }
.p-side.red { background: var(--g-red); border-left: var(--edge); }
.p-side span { display: block; font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: #fff; text-shadow: 0 2px 0 rgba(6, 8, 36, .5); }
.p-side b { display: block; margin-top: 8px; font-size: clamp(32px, 9vw, 46px); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.p-side b.long { font-size: clamp(20px, 5.4vw, 27px); line-height: 1.85; }
.p-vs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -8deg; width: 66px; height: 66px; display: grid; place-items: center; border: 4px solid var(--ink); border-radius: 50%; background: var(--g-gold); font-size: 27px; line-height: 1; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), 0 4px 0 var(--ink); }
.p-prize { padding: 12px 12px 14px; text-align: center; background: var(--g-gold); border-top: var(--edge); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .5); }
.p-prize span { display: block; font: 900 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .3em; color: #7a3d00; }
.p-prize b { font-size: clamp(70px, 20vw, 104px); line-height: 1; -webkit-text-stroke: .1em var(--ink); }
.p-prize i { margin-left: 10px; font-style: normal; font-size: 30px; }
.p-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-top: var(--edge); font: 900 10.5px/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.p-foot span { white-space: nowrap; }
.barcode { display: none; }
@media (max-width: 520px) { .poster { width: 94%; rotate: -1.5deg; } .p-crowns .ico { width: 50px; height: 50px; } .p-crowns .ico:nth-child(2) { width: 72px; height: 72px; } }
.poster-btn { position: relative; margin-top: 30px; }
.gate .poster-wrap { display: none; }
@media (min-width: 960px) { .gate .poster-wrap { display: grid; } }

/* the running ribbon: no longer on the site, still drawn on the X banner (brand/crownz.html) */
.ticker { overflow: hidden; background: var(--g-gold); border-block: 4px solid var(--ink); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .5); }
.ticker-track { display: flex; width: max-content; animation: run 44s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; }
.ticker-run span { display: inline-flex; align-items: center; gap: 18px; margin-right: 18px; padding: 10px 0 12px; font-size: 22px; line-height: 1; white-space: nowrap; }
.ticker-run .ico { width: 22px; height: 22px; }
@keyframes run { to { transform: translateX(-50%); } }

.sec { max-width: var(--wrap); margin: 0 auto; padding: 76px 20px 0; scroll-margin-top: 60px; }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { margin: 14px 0 12px; font-size: clamp(36px, 8vw, 62px); }
.sec-head .sub { font-size: 18px; color: var(--on-blue); max-width: 40em; }
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }

.rounds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.rounds li { padding: 20px 22px 24px; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 20px; box-shadow: var(--lift); }
.round-no { display: flex; align-items: center; gap: 12px; font: 900 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.round-no b { order: -1; width: 62px; height: 62px; display: grid; place-items: center; border: var(--edge); border-radius: 50%; background: var(--g-blue); font-size: 34px; line-height: 1; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 0 4px 0 var(--ink); }
.rounds li:nth-child(2) .round-no b { background: var(--g-red); }
.rounds li:nth-child(3) .round-no b { background: var(--g-gold); }
.rounds h3 { margin: 18px 0 8px; font: 400 28px/1.05 var(--display); }
@media (min-width: 820px) { .rounds { grid-template-columns: repeat(3, 1fr); } }

.modes2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.mode-card { overflow: hidden; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 20px; box-shadow: var(--lift); }
/* the cards lie on arena grass */
.mode-art { min-height: 156px; padding: 26px 14px; display: flex; align-items: center; justify-content: center; gap: 12px; border-bottom: var(--edge); background: linear-gradient(180deg, #8fdb62, #4fb043); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .12); }
.deck { display: flex; gap: 5px; }
.pc { width: 36px; height: 48px; display: grid; place-items: center; border: var(--edge); border-radius: 8px; background: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 0 3px 0 var(--ink); }
.pc .ico { width: 24px; height: 24px; }
.deck.blue .pc { background: var(--g-blue); }
.deck.red .pc { background: var(--g-red); }
.eq { font: 400 40px/1 var(--display); color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.deck.offer { gap: 10px; }
.deck.offer .pc { width: 54px; height: 72px; border-radius: 10px; }
.deck.offer .pc .ico { width: 36px; height: 36px; }
.pick-b { background: var(--g-blue); translate: 0 -9px; }
.pick-r { background: var(--g-red); translate: 0 9px; }
.mode-copy { padding: 18px 20px 20px; }
.mode-copy h3 { margin: 10px 0 4px; font: 400 32px/1 var(--display); }
.points { display: grid; gap: 22px; margin-top: 34px; }
.points li { display: flex; gap: 14px; }
.points .ico { width: 54px; height: 54px; filter: drop-shadow(0 4px 0 rgba(6, 8, 36, .5)); }
.points h3 { font: 400 22px/1.2 var(--display); text-shadow: 0 2px 0 rgba(6, 8, 36, .6); }
.points p { color: var(--on-blue); }
@media (min-width: 820px) { .modes2 { grid-template-columns: 1fr 1fr; } .points { grid-template-columns: repeat(3, 1fr); } .pc { width: 42px; height: 56px; } .pc .ico { width: 28px; height: 28px; } }

/* past games: finished and off the ledger, so drawn calmer than anything live and never clickable */
.past-sum { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.past-sum .chip { padding: 4px 14px; font-size: 14px; }
.past-note { display: flex; align-items: flex-start; gap: 12px; max-width: 64em; margin-bottom: 30px; padding: 12px 16px; border: 2px dashed rgba(255, 255, 255, .45); border-radius: 14px; background: rgba(6, 8, 36, .45); color: var(--on-blue); font-size: 14px; }
.past-note .ico { width: 30px; height: 30px; }
.past-note b { color: #fff; }
.past-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
@media (min-width: 620px) { .past-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .past-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .past-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.past-card { position: relative; display: grid; justify-items: center; gap: 2px; padding: 24px 10px 14px; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 18px; box-shadow: inset 0 3px 0 #fff, 0 5px 0 var(--ink); text-align: center; }
.past-card > .ico { width: 38px; height: 38px; filter: grayscale(.85); opacity: .55; }
.past-card b { font: 400 clamp(40px, 11vw, 54px)/1.05 var(--display); color: #c97800; }
.past-card i { font: 900 12px/1.2 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.past-tag { position: absolute; top: 0; left: 50%; translate: -50% -50%; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #dfcfee; color: var(--muted); font: 900 10px/1.5 var(--body); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.past-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #d9f5d3; font: 900 12px/1.4 var(--body); white-space: nowrap; }
.past-status .ico { width: 16px; height: 16px; }

.money-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.money-grid h3 { margin-bottom: 14px; font: 400 27px/1.1 var(--display); display: flex; align-items: center; gap: 10px; }
.money-grid h3 .ico { width: 36px; height: 36px; }
.money-grid .card p + p, .money-grid .card p + a, .money-grid .card a + a { margin-top: 12px; }
.money-grid .card .more { display: flex; }
.splitbar { display: flex; height: 68px; border: var(--edge); border-radius: 16px; overflow: hidden; }
.splitbar i { display: grid; place-items: center; font-style: normal; font-size: 28px; line-height: 1; }
.splitbar .w { flex: 1; background: var(--g-gold); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .5); }
.splitbar .b { width: 24px; background: var(--g-elixir); border-left: var(--edge); }
.splitbar .s { width: 24px; background: var(--g-blue); border-left: var(--edge); }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.split div { padding-left: 12px; border-left: 8px solid var(--gold); border-radius: 4px; }
.split .b { border-color: var(--elixir); }
.split .s { border-color: var(--blue); }
.split b { display: block; font: 400 clamp(28px, 7vw, 44px)/1 var(--display); }
.split span { font-size: 14px; color: var(--muted); }
.card.dark .split span, .card.dark .muted { color: var(--on-blue); }
.ca span { display: block; margin-bottom: 4px; font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--on-blue); }
.ca .linkish { display: inline-flex; align-items: center; gap: 8px; text-align: left; word-break: break-all; font-weight: 800; }
@media (min-width: 820px) { .money-grid { grid-template-columns: 1fr 1fr; } .split-card { grid-column: 1 / -1; } }

.faq { display: grid; gap: 12px; }
.faq details { overflow: hidden; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 16px; box-shadow: inset 0 3px 0 #fff, 0 5px 0 var(--ink); }
.faq summary { position: relative; padding: 16px 54px 16px 18px; font: 900 17px/1.3 var(--body); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--g-gold); font: 400 22px/1 var(--display); }
.faq summary:hover { background: var(--panel-2); }
.faq details[open] summary { background: #e8d6ff; border-bottom: 2px solid var(--line); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 14px 18px 18px; max-width: 62em; }

.final { margin-top: 88px; overflow: hidden; background: linear-gradient(180deg, rgba(6, 8, 36, 0), rgba(6, 8, 36, .45)); }
.final-in { max-width: var(--wrap); margin: 0 auto; padding: 70px 20px 88px; display: grid; justify-items: center; gap: 20px; text-align: center; }
.final h2 { font-size: clamp(38px, 9vw, 84px); max-width: 12em; }
.final p { font-size: 20px; }
.final .fine { font-size: 13px; }

/* ---------- footer ---------- */
.foot { margin-top: 72px; background: linear-gradient(180deg, #55108a, #400a66); color: var(--on-blue); border-top: 4px solid var(--ink); }
body[data-page="home"] .foot { margin-top: 0; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 44px; display: grid; gap: 26px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand p { margin-top: 4px; font-size: 14px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font: 900 13px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: #fff; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.foot-links a:hover { border-color: var(--gold); }
.foot-legal { display: grid; gap: 8px; font-size: 13px; max-width: 70em; }
.disclaimer { color: #c49de6; }
@media (min-width: 820px) { .foot-in { grid-template-columns: 1fr auto; align-items: center; } .foot-legal { grid-column: 1 / -1; } }

/* ---------- the game ---------- */
.callout { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 18px; background: var(--g-gold); color: var(--text); border: var(--edge); border-radius: 18px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), 0 6px 0 var(--ink); }
.callout > .ico { width: 46px; height: 46px; }
.callout h3 { font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.callout p { margin-top: 4px; font-size: 15px; font-weight: 800; }
.callout.gone { background: var(--panel); }
.callout.gone h3 { color: var(--text); -webkit-text-stroke: 0 transparent; text-shadow: none; }
@media (max-width: 560px) { .callout { flex-wrap: wrap; } .callout > .btn { width: 100%; } }

.gate { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 36px; }
.gate-copy h1 { margin: 14px 0 14px; font-size: clamp(44px, 11vw, 84px); }
.gate-copy .lede { margin-bottom: 26px; }
.gate-copy .card { max-width: 520px; }
.gate-copy h1 + .card { margin-top: 24px; }
.gate + .fightcard { margin-top: 44px; }
@media (min-width: 960px) { .gate { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-top: 52px; } }

.who-row { display: flex; align-items: center; gap: 14px; }
.who-row h2 { font-size: 30px; overflow-wrap: anywhere; }
.who-row .chip { margin-top: 6px; }
@media (max-width: 520px) { .who-row { gap: 10px; } .who-row h2 { font-size: 24px; } .who-row .icon-btn { width: 40px; min-height: 40px; } }

.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; align-items: start; }
.dash.in-fight { max-width: 720px; margin: 0 auto; }
@media (min-width: 980px) {
  .dash:not(.in-fight) { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "player lobby" "ring lobby" "ring log"; grid-template-rows: auto auto 1fr; }
  .dash:not(.in-fight) .a-player { grid-area: player; }
  .dash:not(.in-fight) .a-ring { grid-area: ring; }
  .dash:not(.in-fight) .a-lobby { grid-area: lobby; }
  .dash:not(.in-fight) .a-log { grid-area: log; }
}
.form-strip { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--line); }
.form-strip span { margin-right: 6px; font: 900 11px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.form-strip i { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; font: 400 15px/1 var(--display); font-style: normal; color: #fff; background: #a67fc9; }
.form-strip .f-W { background: var(--g-green); }
.form-strip .f-L { background: var(--g-red); }
.settings { margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--line); }

.list-head { display: flex; align-items: center; gap: 8px; font: 400 22px/1 var(--display); }
.list-head span { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--gold); font-size: 15px; }
.bouts { display: grid; }
.bout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 2px solid var(--line); }
.bout:first-child { border-top: 0; padding-top: 2px; }
.bout:last-child { padding-bottom: 2px; }
.who { min-width: 0; }
.who b { display: block; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who b i { font-style: normal; font-weight: 700; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; font-size: 13px; color: var(--muted); }
.meta i { font-style: normal; }
.prize-col { text-align: right; }
.prize-col b { display: block; font: 400 26px/1 var(--display); color: #c97800; }
.prize-col span { font: 900 10.5px/1.3 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.live-dot { width: 14px; height: 14px; margin: 0 18px; border: 2px solid var(--ink); border-radius: 50%; background: #ff4b5e; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.75); } }
.res-tag { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 10px; background: #a67fc9; color: #fff; font: 400 19px/1 var(--display); }
.res-tag.win { background: var(--g-green); }
.res-tag.loss { background: var(--g-red); }
.res-tag.void { background: var(--panel-2); color: var(--muted); }
.bout.done .prize-col b, .pay.plus { color: var(--green); }
.pay { display: inline-flex; align-items: center; gap: 6px; font: 400 22px/1 var(--display); color: var(--text); text-decoration: none; white-space: nowrap; }
a.pay:hover { text-decoration: underline; }
.pay .ico { width: 14px; height: 14px; }
.pay.minus { color: var(--red); }
.score { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; color: var(--blue); --crown: url(#g-blue); --crown-band: #721ab8; }
.score.red { color: var(--red); --crown: url(#g-red); --crown-band: #a3132f; }
.score .ico { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .bout { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bout > .btn, .bout > .row, .bout > .chip { grid-column: 1 / -1; justify-self: end; }
}

.stake-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.quick { display: flex; gap: 8px; margin-top: 12px; }
.quick .btn { flex: 1; padding: 0 6px; }
.prize-box { display: grid; align-content: center; justify-items: center; padding: 12px 14px 10px; border: var(--edge); border-radius: 16px; background: var(--g-gold); text-align: center; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .55); }
.prize-box span { font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .16em; color: #7a3d00; }
.prize-box b { font: 400 clamp(52px, 13vw, 74px)/1.05 var(--display); color: #fff; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: 0 .08em 0 var(--ink); }
.prize-box i { font: 400 19px/1 var(--display); font-style: normal; color: var(--ink); }
@media (min-width: 560px) { .stake-row { grid-template-columns: 1fr 1fr; } }

.tape { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.corner { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 10px 14px; overflow: hidden; border: var(--edge); border-radius: 16px; background: linear-gradient(180deg, #e8d8ff, #f9f3ff 70%); text-align: center; min-width: 0; }
.corner.red { background: linear-gradient(180deg, #ffdfe2, #fff5f6 70%); }
.corner .corner-label { justify-self: stretch; margin: 0 -10px 6px; padding: 7px 4px; background: var(--g-blue); border-bottom: var(--edge); color: #fff; text-shadow: 0 2px 0 rgba(6, 8, 36, .55); letter-spacing: .1em; }
.corner.red .corner-label { background: var(--g-red); }
.corner-name { max-width: 100%; font: 400 clamp(21px, 5.2vw, 30px)/1.1 var(--display); overflow-wrap: anywhere; }
.corner-sub { font-size: 13px; color: var(--muted); }
.corner.empty { border-style: dashed; background: var(--panel-2); }
.corner.empty .corner-label { background: #aa8fc4; }
.corner.empty .corner-name { color: var(--muted); }
.vs { align-self: center; z-index: 1; width: 58px; height: 58px; margin: 0 -13px; display: grid; place-items: center; border: var(--edge); border-radius: 50%; background: var(--g-gold); font-size: 23px; line-height: 1; rotate: -8deg; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), 0 4px 0 var(--ink); }
.tape.live .vs { animation: thump 1.1s ease-in-out infinite; }
@keyframes thump { 50% { scale: 1.14; } }
.fight-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tiles { display: flex; justify-content: center; gap: 7px; }
.tiles span { width: 48px; height: 60px; display: grid; place-items: center; border: var(--edge); border-radius: 12px; background: var(--g-gold); color: var(--text); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), 0 4px 0 var(--ink); font: 400 34px/1 var(--display); }
@media (max-width: 400px) { .tiles span { width: 40px; height: 52px; font-size: 28px; } }
.watching { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 2px dashed #a67fc9; border-radius: 12px; background: var(--panel-2); font-size: 14px; font-weight: 800; }
.watching i { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #2fc23a; animation: pulse 1.2s ease-in-out infinite; }
.teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; }
.team-col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.team-col:last-child .corner-label { color: var(--red); text-align: right; }
.seat { display: flex; align-items: center; gap: 10px; padding: 8px; border: var(--edge); border-radius: 14px; background: #fff; min-width: 0; }
.seat.free { border-style: dashed; background: var(--panel-2); }
.seat .badge { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; }
@media (max-width: 480px) { .seat .badge { display: none; } }

.steps { counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 54px; min-height: 40px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border: var(--edge); border-radius: 50%; background: var(--g-blue); font-size: 21px; line-height: 1; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5); }
.steps h3 { font: 900 17px/1.3 var(--body); padding-top: 8px; }
.steps p, .steps .row, .steps form, .steps .modes { margin-top: 8px; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.mode { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 900 13px/1.4 var(--body); }
.mode .ico { width: 18px; height: 18px; }
.mode.no { color: var(--muted); border-color: #c0a9d6; background: var(--panel-2); text-decoration: line-through; }
.ok-line { display: flex; align-items: center; gap: 4px; }
.ok-line .ico { width: 20px; height: 20px; }
.buy-sol { margin-top: -4px; }
.dev { margin-top: 36px; padding: 14px; border: 3px dashed rgba(255, 255, 255, .5); border-radius: 16px; }
.dev h3 { margin-bottom: 12px; font: 900 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; }
.error-card { max-width: 480px; margin: 60px auto 0; }

/* ---------- stats ---------- */
.page-head { padding: 40px 0 26px; }
.page-head h1 { margin: 14px 0 12px; font-size: clamp(44px, 10vw, 84px); }
.page-head p { color: var(--on-blue); max-width: 44em; }
.tiles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { min-width: 0; padding: 14px 16px 12px; background: var(--panel); color: var(--text); border: var(--edge); border-radius: 16px; box-shadow: inset 0 3px 0 #fff, 0 5px 0 var(--ink); }
.tile b { display: block; font: 400 clamp(30px, 7vw, 46px)/1.05 var(--display); overflow: hidden; text-overflow: ellipsis; }
.tile span { display: block; margin-top: 6px; font: 900 11.5px/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tile.hot { background: var(--g-gold); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), 0 5px 0 var(--ink); }
.tile.hot span { color: #7a3d00; }
.tile.burn b { color: #a41fc0; }
@media (min-width: 820px) { .tiles-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { margin-top: 30px; }
.stat-card h2 { margin-bottom: 6px; font-size: 26px; color: var(--text); -webkit-text-stroke: 0 transparent; text-shadow: none; }
.an-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 30px; }
.an-grid .stat-card { margin-top: 0; }
@media (min-width: 900px) { .an-grid { grid-template-columns: 1fr 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 18px 0 6px; }
.facts div { padding-top: 8px; border-top: 4px solid var(--line); }
.facts b { display: block; font: 400 30px/1.05 var(--display); }
.facts span { font-size: 13px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 4px; }
.links a, .tbl a { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; text-underline-offset: 3px; }
.links .ico, .tbl .ico { width: 14px; height: 14px; }
.tbl-wrap { overflow-x: auto; margin-top: 14px; }
.tbl, .as-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .as-table th { padding: 8px 10px 8px 0; text-align: left; font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 3px solid var(--line); white-space: nowrap; }
.tbl td, .as-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: var(--panel-2); font-size: 14px; color: var(--muted); }
.chart { position: relative; margin-top: 14px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .axis { stroke: var(--ink); stroke-width: 2; }
.chart .tick { font: 800 11px var(--body); fill: var(--muted); }
.chart .hit { outline: none; }
.chart .hit:hover, .chart .hit:focus-visible { fill: rgba(126, 36, 219, .1); }
.tip { position: absolute; top: 0; translate: -50% 0; display: grid; gap: 2px; padding: 7px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; z-index: 2; }
.tip i, .legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; }
.chart-empty { position: absolute; inset: 30% 0 auto; text-align: center; font-size: 14px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; }
.as-table { margin-top: 10px; font-size: 13px; }
.as-table summary { cursor: pointer; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.hbars { display: grid; gap: 10px; margin-top: 18px; }
.hbars > div { display: grid; grid-template-columns: 92px 1fr 30px; align-items: center; gap: 10px; font-size: 14px; }
.hbars .track { height: 20px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.hbars .track i { display: block; height: 100%; background: var(--g-blue); }
.hbars b { font: 400 20px/1 var(--display); text-align: right; }

/* ---------- result ---------- */
#overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; overflow: auto; background: radial-gradient(circle at 50% 40%, #601d96, #210a33 75%); }
#overlay::before {
  content: ""; position: fixed; left: 50%; top: 50%; width: 220vmax; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .06) 0 7.5deg, transparent 7.5deg 15deg); animation: spin 140s linear infinite;
}
#overlay.win { background: radial-gradient(circle at 50% 40%, #975aff, #741bc4 60%, #520f86); }
#overlay.win::before { background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .16) 0 7.5deg, transparent 7.5deg 15deg); }
.result { position: relative; width: min(470px, 100%); padding: 22px 22px 24px; background: var(--panel); color: var(--text); border: 4px solid var(--ink); border-radius: 26px; box-shadow: inset 0 4px 0 #fff, 0 10px 0 var(--ink), 0 34px 50px rgba(4, 6, 30, .6); text-align: center; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { scale: .8; opacity: 0; } }
.result .kicker { background: var(--panel-2); color: var(--muted); }
.result h1 { margin: 10px 0 16px; font-size: clamp(64px, 19vw, 100px); color: var(--gold); }
#overlay.loss .result h1 { color: #ff6b78; }
#overlay.draw .result h1 { color: #fff; }
.scoreline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.scoreline .vs { all: unset; font: 400 34px/1 var(--display); color: var(--muted); }
.side { min-width: 0; padding: 8px 8px 10px; border: var(--edge); border-radius: 16px; background: linear-gradient(180deg, #e8d8ff, #f9f3ff); }
.side.red { background: linear-gradient(180deg, #ffdfe2, #fff5f6); }
.side span { display: block; font: 900 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side b { display: block; font: 400 58px/1.05 var(--display); color: var(--blue); }
.side.red b { color: var(--red); }
.crown-row { display: flex; justify-content: center; gap: 2px; --crown: url(#g-blue); --crown-band: #721ab8; }
.crown-row.red { --crown: url(#g-red); --crown-band: #a3132f; }
.crown-row .ico { width: 26px; height: 26px; }
.crown-row .ico.off { opacity: .2; filter: grayscale(1); }
.reward { margin-top: 14px; padding: 10px 12px 8px; border: var(--edge); border-radius: 16px; background: var(--g-gold); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .55); }
.reward span { display: block; font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .16em; color: #7a3d00; }
.reward b { font: 400 60px/1.05 var(--display); color: #fff; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: 0 .08em 0 var(--ink); }
.reward i { margin-left: 8px; font: 400 22px/1 var(--display); font-style: normal; }
.status { margin: 16px 0; font-size: 15px; }
.status a { color: #6a17b3; }
.confetti { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -24px; width: 12px; height: 18px; border: 2px solid var(--ink); border-radius: 4px; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(110vh) rotate(700deg); } }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; width: max-content; max-width: min(92vw, 520px); padding: 12px 18px;
  background: var(--ink); color: #fff; border: 3px solid #ff6b78; border-radius: 16px; box-shadow: 0 6px 0 rgba(4, 6, 30, .6); font: 800 15px/1.4 var(--body);
  translate: -50% 0; transform: translateY(24px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .2s, opacity .2s, visibility 0s .2s;
}
#toast.ok { border-color: var(--gold); }
#toast.show { transform: none; opacity: 1; visibility: visible; transition: transform .2s, opacity .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Brawlz skin =================
   Everything below overrides the shared layout above. Panels are navy with white text, so every light surface
   (inputs, chips, notes, yellow plates) sets its own dark text. */
.card :focus-visible, .result :focus-visible, input:focus-visible { outline-color: var(--gold); }
.kicker { background: rgba(5, 8, 40, .55); border-radius: 6px; transform: skewX(var(--skew)); }
.lede { text-shadow: 0 2px 0 rgba(4, 6, 30, .5); }

/* top bar */
.top { background: linear-gradient(180deg, #1c2e96, #121c66); }
.brand-name { color: #fff; font-size: 31px; rotate: -3deg; }
.brand-name b { color: var(--gold); }
@media (max-width: 520px) { .brand-name { font-size: 26px; } }

/* buttons: an upright label on a slanted plate */
.btn { background: none; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; padding: 0 26px; }
.btn::before {
  content: ""; position: absolute; inset: 0 3px; z-index: -1; border: var(--edge); border-radius: 9px;
  background: var(--btn-bg, var(--g-gold)); transform: skewX(var(--skew));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -5px 0 rgba(0, 0, 0, .18), 0 5px 0 var(--ink); transition: box-shadow .08s;
}
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn:active::before { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -5px 0 rgba(0, 0, 0, .18), 0 1px 0 var(--ink); }
.btn.ink { background: none; --btn-bg: var(--g-green); }
.btn.ghost { background: none; --btn-bg: var(--g-blue); }
.btn.sm { padding: 0 17px; }
.btn.sm::before { border-radius: 7px; inset: 0 2px; }
.btn.lg { padding: 0 36px; }
.btn.lg::before { border-radius: 11px; inset: 0 5px; }
.btn.wide, .btn.lg { padding-block: 8px; }
.btn.icon-btn { padding: 0; }
.quick .btn { padding: 0 6px; }

/* forms */
input { color: var(--ink); border-radius: 9px; box-shadow: inset 0 4px 0 rgba(10, 10, 20, .12); }
input::placeholder { color: #8a93c4; }
.segs { border-radius: 9px; }
.seg:hover { background: #2a3a9a; }
.seg.on { background: var(--g-gold); color: var(--ink); text-shadow: none; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .55); }

/* cards: the title is a slanted ribbon that hangs over the top edge */
.card { border-radius: 14px; }
.card:has(> .plate) { margin-top: 20px; }
.card a { color: var(--gold); }
.plate {
  display: table; margin: -42px 0 18px -8px; padding: 8px 24px 10px; border: var(--edge); border-radius: 8px;
  transform: skewX(var(--skew)) rotate(-1.5deg); transform-origin: left bottom; text-align: left;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 5px 0 var(--ink);
}
.plate span { display: block; transform: skewX(8deg); }
.note { background: #ffe14d; color: var(--ink); border-radius: 10px; }
.card .note a { color: #0d3fb8; }
.note.bad { background: #ffd0d5; }
.chip { color: var(--ink); border-radius: 7px; }
.mode-tag { background: #cfe0ff; color: var(--ink); border-radius: 6px; }
.mode-tag.m-fmt { background: var(--g-gold); }
.mode-tag.m-even { background: #dcb8ff; }
.badge { border-radius: 9px; transform: skewX(var(--skew)); }
.corner-label { color: #8cc6ff; }

/* timer: a charge bar */
.clock .bar { border-radius: 6px; background: #0b1038; transform: skewX(var(--skew)); }
.clock .bar i { background: var(--g-gold); }
.clock time { color: #fff; }
.clock.low time { color: #ff7582; }

/* hero */
.hero h1 { rotate: -2deg; transform-origin: left center; }
.sec-head h2, .page-head h1, .gate-copy h1 { rotate: -1.5deg; transform-origin: left center; }

/* the matchup card: blue against red across a slanted split, a health bar over each side */
.poster { border-radius: 14px; rotate: -3deg; }
.p-top { background: linear-gradient(180deg, #1c2e96, #121c66); }
.p-fight { background: linear-gradient(112deg, #2f8dff 0 49%, var(--ink) 49% 51%, #ff3b4d 51%); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .3); }
.p-side, .p-side.red { background: none; border: 0; box-shadow: none; }
.p-side { padding: 18px 16px 46px; }
.p-side.red { padding: 46px 16px 18px; }
.p-side .hp { width: 72%; height: 13px; margin: 0 auto 9px; border: 2.5px solid var(--ink); border-radius: 4px; background: #0b1038; overflow: hidden; }
.p-side .hp i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, #a0ff7c, #3bd13b); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5); }
.p-side .hp.red i { width: 84%; background: linear-gradient(180deg, #ffd27a, #ff9d1f); }
.p-vs { border-radius: 10px; }
.p-crowns .ico:nth-child(1) { rotate: -16deg; }
.p-crowns .ico:nth-child(3) { rotate: 14deg; }
/* three ammo segments reloading under the card */
.ammo {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: min(300px, 70%); margin-top: 30px; padding: 5px;
  border: 3px solid var(--ink); border-radius: 8px; background: #0b1038; box-shadow: 0 5px 0 var(--ink); transform: skewX(var(--skew)); rotate: -3deg;
}
.ammo i { height: 18px; border-radius: 3px; background: linear-gradient(180deg, #ffd27a, #ff9d1f 55%, #e86a00); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5); transform-origin: left; animation: reload 3.6s ease-in-out infinite both; }
.ammo i:nth-child(2) { animation-delay: .45s; }
.ammo i:nth-child(3) { animation-delay: .9s; }
@keyframes reload { 0%, 6% { transform: scaleX(0); } 28%, 100% { transform: scaleX(1); } }

/* how it works and the rules */
.rounds li, .mode-card { border-radius: 14px; }
.round-no b { border-radius: 10px; transform: skewX(var(--skew)); }
/* the pictures lie on the sand tiles of a map */
.mode-art { background: #f2c56b conic-gradient(#e7b455 25%, transparent 0 50%, #e7b455 0 75%, transparent 0) 0 0 / 44px 44px; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .16); gap: 16px; }
.formats { display: grid; gap: 10px; }
.dots { display: flex; align-items: center; justify-content: center; gap: 6px; }
.dots i { width: 26px; height: 26px; border: 3px solid var(--ink); border-radius: 50%; background: var(--g-blue); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 0 3px 0 var(--ink); }
.dots i.red { background: var(--g-red); }
.dots b { margin: 0 6px; font: 400 20px/1 var(--display); color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.power { display: grid; justify-items: center; gap: 2px; min-width: 100px; padding: 8px 14px 10px; border: var(--edge); border-radius: 10px; background: var(--g-blue); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 5px 0 var(--ink); transform: skewX(var(--skew)); }
.power.red { background: var(--g-red); }
.power span { font: 900 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: #fff; text-shadow: 0 2px 0 rgba(4, 6, 30, .5); }
.power b { font: 400 46px/1 var(--display); color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }

/* money, questions, footer */
.splitbar { border-radius: 10px; }
.faq details { border-radius: 10px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .14), 0 5px 0 var(--ink); }
.faq summary::after { color: var(--ink); border-radius: 7px; }
.faq details[open] summary { background: #2c3da3; }
.final { background: linear-gradient(180deg, rgba(6, 8, 36, 0), rgba(6, 8, 36, .5)); }
.foot { background: linear-gradient(180deg, #121c66, #0a1042); }
.disclaimer { color: #97a6f0; }
.callout { color: var(--ink); border-radius: 12px; }
.callout.gone { color: #fff; }

/* the game */
.prize-col b { color: var(--gold); }
.res-tag, .form-strip i { background: #5a6bd0; }
.res-tag { border-radius: 7px; }
.form-strip i { border-radius: 6px; }
.bout.done .prize-col b, .pay.plus { color: #5df07a; }
.pay.minus { color: #ff7582; }
.prize-box { border-radius: 12px; }
.corner { border-radius: 12px; background: linear-gradient(180deg, #2456c9, #233184 70%); }
.corner.red { background: linear-gradient(180deg, #b32641, #3b2468 70%); }
.corner.empty { background: var(--panel-2); }
.corner .corner-label { color: #fff; }
.corner.empty .corner-label { background: #5a6bd0; }
.vs { border-radius: 10px; }
.tiles span { color: var(--ink); border-radius: 8px; transform: skewX(var(--skew)); }
.watching { border-color: #5a6bd0; }
.seat { background: #2c3da3; border-radius: 10px; }
.seat.free { background: var(--panel-2); }
.steps li::before { border-radius: 9px; transform: skewX(var(--skew)); }
.mode { color: var(--ink); }
.mode.no { border-color: #5a6bd0; }

/* stats */
.tile { border-radius: 12px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .14), 0 5px 0 var(--ink); }
.tile.hot { color: var(--ink); }
.tile.burn b { color: #cf9dff; }
.chart .axis { stroke: #8fa0ff; }
.chart .hit:hover, .chart .hit:focus-visible { fill: rgba(255, 255, 255, .08); }
.hbars .track { background: #0b1038; }

/* result */
#overlay { background: radial-gradient(circle at 50% 40%, #1f3fb8, #070a2c 75%); }
#overlay.win { background: radial-gradient(circle at 50% 40%, #58b0ff, #1f4bd6 60%, #2a1f9e); }
.result { border-radius: 16px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .16), 0 10px 0 var(--ink), 0 34px 50px rgba(4, 6, 30, .6); }
.result .kicker { transform: none; }
.scoreline .vs { color: var(--on-blue); }
.side { border-radius: 12px; background: linear-gradient(180deg, #2456c9, #233184); }
.side.red { background: linear-gradient(180deg, #b32641, #3b2468); }
.side b, .side.red b { display: grid; place-items: center; height: 72px; color: #fff; }
.side b .ico { width: 56px; height: 56px; }
.status a { color: var(--gold); }

@media (max-width: 520px) { .p-top { padding-inline: 12px; font-size: 9.5px; letter-spacing: .06em; } }



/* ================= Melee skin =================
   Overrides everything above. A cartoon brawl in a daylight arena: the page is the open sky over the arena (pale lilac
   settling into warm dust); panels are violet arena tiles; the header is the tiled floor, hemmed with the arena curb in
   pink and lime blocks; card titles are frayed strips of pink bandana cloth; step numbers are round team tokens; main
   buttons are pink with a white line, joining a duel is lime, second buttons are dust white. Titles are Paytone One with
   a dark outline, text is Red Hat Display. You are the pink team, the rival is lime. */
:root {
  --ink: #1b1530;
  --panel: #4b36c9;
  --panel-2: #33249a;
  --line: #7a68f0;
  --text: #ffffff;
  --muted: #d9d3fc;
  --on-blue: #efecff;
  --gold: #ffc23a;
  --pink: #ec4b8a;
  --pink-hi: #ff9cc4;
  --lime: #b6de2c;
  --lime-hi: #effd9a;
  --tape: #fbfaff;
  --red: #b6de2c;
  --blue: #ec4b8a;
  --sky-ink: #4a3f6b;
  --g-gold: linear-gradient(180deg, #ffe596 0%, #ffb21e 52%, #c27500 100%);
  --g-pink: linear-gradient(180deg, #ff9cc4 0%, #ec4b8a 52%, #a81f57 100%);
  --g-lime: linear-gradient(180deg, #effd9a 0%, #b6de2c 52%, #68940f 100%);
  --g-red: var(--g-lime);
  --g-blue: var(--g-pink);
  --g-green: var(--g-lime);
  --g-tape: linear-gradient(180deg, #ffffff 0%, #f1eefb 55%, #d6cfee 100%);
  --g-track: linear-gradient(180deg, #5a45dc 0%, #4b36c9 52%, #3a28ad 100%);
  --g-deep: linear-gradient(180deg, #3a28ad 0%, #24187a 100%);
  /* violet arena tiles */
  --court: repeating-conic-gradient(rgba(255, 255, 255, .05) 0 25%, transparent 0 50%) 0 0 / 46px 46px;
  /* the arena curb: pink and lime blocks between two dark lines, used as a hem */
  --hem: linear-gradient(180deg, #1b1530 0 2.5px, transparent 2.5px 12.5px, #1b1530 12.5px 15px), repeating-linear-gradient(90deg, #ec4b8a 0 30px, #fbf5e6 30px 36px, #b6de2c 36px 66px, #fbf5e6 66px 72px);
  --display: 'Paytone One', 'Arial Black', Impact, sans-serif;
  --body: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --skew: 0deg;
  --lift: inset 0 2px 0 rgba(255, 255, 255, .16), 0 6px 0 var(--ink), 0 20px 30px rgba(27, 21, 48, .22);
}
/* the sky over the arena, settling into warm dust, a little grain */
body {
  background: #f2edf3 linear-gradient(180deg, #e2dcf3 0%, #ebe6f3 22%, #f4f0ee 55%, #f6eee2 82%, #f1e3cf 100%) fixed;
  color: var(--ink); font-weight: 500;
}
body::before {
  display: block; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .13 0 0 0 0 .3 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline-color: var(--ink); }
.card :focus-visible, .result :focus-visible, input:focus-visible { outline-color: var(--lime-hi); }

/* titles: Paytone One, a dark outline and a hard drop */
h1, h2, .brand-name, .vs, .callout h3, .splitbar i, .badge, .side b {
  font-family: var(--display); font-weight: 400; -webkit-text-stroke: .085em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); letter-spacing: .01em;
}
h1, h2 { line-height: 1.04; }
h1 em, h2 em { font-style: normal; }
.kicker { display: none; }
.lede { color: var(--ink); text-shadow: none; font-weight: 500; }
.fine { color: var(--sky-ink); font-weight: 500; }
.more { font-weight: 700; color: var(--ink); }
.linkish { font-weight: 700; }
.small { font-size: 14px; }
.card .fine, .card .more, .result .fine { color: inherit; }
.card .more { color: var(--lime-hi); }

/* the launch strip, shown only once the coin is switched on */
.launch { background: var(--ink); }
.launch-tag { padding: 0; border-radius: 0; background: none; color: var(--pink-hi); font: 700 13px/1.25 var(--body); text-transform: none; letter-spacing: 0; }
.launch-text b { color: var(--lime-hi); }
.launch-go { color: var(--lime-hi); }
.launch-ca:hover { border-color: var(--lime); }

/* top bar: the tiled floor, hemmed with the arena curb */
.top { background: var(--court), linear-gradient(180deg, #3d2bb3, #2a1d8f); border-bottom: 0; box-shadow: 0 4px 0 rgba(27, 21, 48, .12); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 15px; pointer-events: none; background: var(--hem); }
.top-in { position: relative; z-index: 1; }
.brand { gap: 8px; }
.brand-mark { width: 50px; height: 50px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .3)); }
.brand-name { font-size: 31px; rotate: -3deg; color: var(--tape); -webkit-text-stroke: .1em var(--ink); }
.navlinks a { font: 700 15px/1 var(--body); text-transform: none; letter-spacing: 0; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.navlinks a:hover { color: #fff; border-color: var(--lime); }
.hud-note { font: 700 13px/1.2 var(--body); color: var(--on-blue); white-space: nowrap; }
.hud-note.net { color: var(--lime-hi); }
.x-link .ico { width: 20px; height: 20px; }
.top .btn:not(.ghost) { --btn-bg: var(--g-lime); color: var(--ink); -webkit-text-stroke: 0; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
@media (max-width: 520px) { .brand-name { font-size: 27px; } .brand-mark { width: 42px; height: 42px; } .hud-note.net { display: none; } }

/* buttons: glossy pink with a white line across the bottom; ::before is the face */
.btn {
  font-family: var(--display); font-weight: 400; font-size: 20px; color: #fff; letter-spacing: .02em;
  -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink);
}
.btn::before {
  border-radius: 14px; transform: none;
  background: linear-gradient(180deg, transparent calc(100% - 13px), rgba(251, 250, 255, .92) calc(100% - 13px) calc(100% - 9px), transparent calc(100% - 9px)), var(--btn-bg, var(--g-pink));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .38), inset 0 -4px 0 rgba(0, 0, 0, .16), 0 6px 0 var(--ink);
}
.btn:active::before { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .38), inset 0 -4px 0 rgba(0, 0, 0, .16), 0 1px 0 var(--ink); }
.btn.ink { --btn-bg: var(--g-lime); color: var(--ink); -webkit-text-stroke: 0; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.btn.ink::before { background: linear-gradient(180deg, transparent calc(100% - 13px), rgba(27, 21, 48, .5) calc(100% - 13px) calc(100% - 10px), transparent calc(100% - 10px)), var(--g-lime); }
.btn.ghost { --btn-bg: var(--g-tape); color: #3a28ad; -webkit-text-stroke: 0; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.btn.ghost::before { background: linear-gradient(180deg, transparent calc(100% - 13px), rgba(236, 75, 138, .75) calc(100% - 13px) calc(100% - 10px), transparent calc(100% - 10px)), var(--g-tape); }
.btn.sm { font-size: 16px; padding-inline: 18px; }
.btn.sm::before { border-radius: 11px; background-size: 100% 100%; }
.btn.sm:not(.ink):not(.ghost)::before { background: var(--btn-bg, var(--g-pink)); }
.btn.sm.ink::before { background: var(--g-lime); }
.btn.sm.ghost::before { background: var(--g-tape); }
.btn.lg { font-size: 26px; padding-inline: 34px; }
.btn.lg::before { border-radius: 18px; }
.btn.icon-btn::before { border-radius: 11px; background: var(--btn-bg, var(--g-pink)); }
.btn.icon-btn.ghost::before { background: var(--g-tape); }
.btn.icon-btn .ico { width: 22px; height: 22px; }
.btn .ico { width: 1.4em; height: 1.4em; }
a.btn, .card a.btn, .card.dark a.btn { color: #fff; text-decoration: none; }
a.btn.ghost, .card a.btn.ghost { color: #3a28ad; }
a.btn.ink, .card a.btn.ink { color: var(--ink); }
@media (max-width: 520px) { .btn.lg { font-size: 23px; padding-inline: 28px; min-height: 58px; } }
.btn.loading::after { border-color: #fff; border-right-color: transparent; }
.btn.ghost.loading::after, .btn.ink.loading::after { border-color: var(--ink); border-right-color: transparent; }

/* forms */
.field { font: 600 12.5px/1.2 var(--body); letter-spacing: .03em; text-transform: none; color: var(--muted); }
input { color: var(--ink); border-radius: 10px; background: var(--tape); font-family: var(--body); font-weight: 600; box-shadow: inset 0 4px 0 rgba(27, 21, 48, .1); }
input::placeholder { color: #9a93b5; }
.big-in { font: 400 34px/1 var(--display); letter-spacing: .02em; }
.code-in { font: 400 23px/1 var(--display); letter-spacing: .05em; }
.segs { border-radius: 11px; background: var(--panel-2); }
.seg { font: 700 13.5px/1.1 var(--body); letter-spacing: .01em; text-transform: none; }
.seg:hover { background: #3f2db8; }
.seg.on { background: var(--g-lime); color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .5); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45); }
.divider { font: 600 12.5px/1 var(--body); letter-spacing: .03em; text-transform: none; }
.divider::before, .divider::after { background: var(--line); }

/* cards: violet arena tiles with a light rim; the title is a frayed strip of bandana cloth */
.card, .rounds li, .mode-card, .faq details { background: var(--court), var(--g-track); border-radius: 26px; box-shadow: var(--lift); outline: 2px solid rgba(251, 250, 255, .3); outline-offset: -8px; }
.card.dark { background: var(--court), var(--g-deep); }
.card a, .card.dark a { color: var(--lime-hi); }
.plate {
  position: relative; display: table; max-width: calc(100% + 8px); margin: -4px 0 20px -10px; padding: 9px 26px 8px 22px; border: 0; border-radius: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .75) 0 1.5px, transparent 2px) 0 0 / 10px 10px, linear-gradient(180deg, #ff7fb2, #ec4b8a 60%, #c42f6c); transform: rotate(-1.2deg); transform-origin: left center;
  clip-path: polygon(0 4%, 7px 18%, 1px 34%, 8px 50%, 2px 66%, 7px 82%, 0 98%, 100% 100%, calc(100% - 7px) 84%, 100% 68%, calc(100% - 6px) 52%, 100% 36%, calc(100% - 7px) 20%, 100% 2%);
  font-family: var(--display); font-size: 21px; line-height: 1.2; letter-spacing: .02em; text-align: left; color: #fff; -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); box-shadow: none;
}
.plate span { display: block; transform: none; }
.plate.hot { background: radial-gradient(circle, rgba(255, 255, 255, .7) 0 1.5px, transparent 2px) 0 0 / 10px 10px, var(--g-lime); color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; }
.card:has(> .plate) { margin-top: 0; }
.well { background: var(--panel-2); border-radius: 12px; }
.note { background: var(--tape); color: var(--ink); border-radius: 14px; }
.card .note a { color: #a81f57; }
.note.bad { background: #ffd6e6; }
/* labels are plain text, never pills */
.chip { padding: 0; border: 0; border-radius: 0; background: none; color: var(--muted); font: 600 13px/1.5 var(--body); }
.chip.yours, .chip.prize { background: none; color: var(--lime-hi); }
.chip.prize b { margin-left: 4px; font-weight: 800; color: #fff; }
.chips { gap: 4px 14px; }
.mode-tag, .mode-tag.m-fmt, .mode-tag.m-even { padding: 0; border: 0; border-radius: 0; background: none; color: var(--lime-hi); font: 700 12.5px/1.5 var(--body); letter-spacing: .02em; text-transform: none; }
.fight-facts { gap: 6px 18px; }
.badge { border-radius: 50%; transform: none; -webkit-text-stroke: .09em var(--ink); font-size: 22px; }
.corner-label { color: var(--tape); font-family: var(--body); font-weight: 700; letter-spacing: .03em; text-transform: none; }

/* timer: the referee clock and a lane that empties */
.clock .bar { border-radius: 999px; background: #24187a; transform: none; }
.clock .bar i { background: var(--g-lime); }
.clock time { font-family: var(--display); color: var(--gold); font-size: 25px; letter-spacing: .04em; }
.clock.low .bar i { background: var(--g-pink); }
.clock.low time { color: var(--pink-hi); }

/* ---------- hero: the brawl on the arena floor ---------- */
.hero { position: relative; border-bottom: 0; background: linear-gradient(180deg, transparent 0 70%, rgba(220, 170, 108, .16) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; background: var(--hem); }
.hero-in { position: relative; padding: 40px 20px 54px; gap: 22px; }
.hero h1 { margin: 6px 0 22px; font-size: clamp(38px, 10.4vw, 96px); line-height: 1.04; }
.hero h1 em { display: inline-block; color: var(--pink); white-space: nowrap; }
.hero .lede { font-size: 19px; max-width: 30em; }
.hero .cta { margin-top: 26px; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 56px 20px 70px; gap: 40px; }
  .hero h1 { font-size: clamp(54px, 5.2vw, 80px); }
}
.pot-wrap { position: relative; display: grid; justify-items: center; }
.pot { position: relative; margin: 0; width: min(580px, 100%); }
.pot-art, .final-art, .result-art { display: block; width: 100%; height: auto; overflow: visible; }
.pot-amount { font-family: var(--display); fill: var(--gold); stroke: var(--ink); stroke-width: 9px; stroke-linejoin: round; paint-order: stroke fill; letter-spacing: .03em; }
.pot-cur { font: 800 13px/1 var(--body); letter-spacing: .22em; fill: var(--ink); }
/* a strip of cream cloth that says whose pot it is */
.sign {
  position: relative; width: min(330px, 86%); margin: 4px auto 0; padding: 14px 26px 10px; border: 0;
  background: radial-gradient(circle, rgba(236, 75, 138, .2) 0 1.5px, transparent 2px) 0 0 / 10px 10px, linear-gradient(180deg, #fffbf2, #efe6dc); color: var(--ink); text-align: center; rotate: -2deg;
  clip-path: polygon(0 3%, 8px 16%, 1px 30%, 9px 44%, 2px 58%, 8px 72%, 1px 86%, 6px 100%, 100% 98%, calc(100% - 8px) 84%, 100% 70%, calc(100% - 7px) 56%, 100% 42%, calc(100% - 8px) 28%, 100% 14%, calc(100% - 5px) 0);
  filter: drop-shadow(0 5px 0 rgba(27, 21, 48, .2));
}
.s-owner { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 0; }
.s-owner span { font: 700 13px/1 var(--body); color: #a81f57; white-space: nowrap; }
.s-owner b { min-width: 0; font: 400 25px/1.3 var(--display); letter-spacing: .02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-owner.long b { font-size: 19px; }
.s-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; padding: 6px 4px 2px; border-top: 2px solid rgba(27, 21, 48, .16); font: 600 12.5px/1.25 var(--body); color: #554b74; }
.s-foot span { white-space: nowrap; }
.pot-btn { margin-top: 26px; }
.pot-wrap.compact .pot { width: min(460px, 100%); }
@media (max-width: 520px) { .sign { padding-inline: 20px; } .s-foot { font-size: 11.5px; } }
.gate .pot-wrap { display: none; }
@media (min-width: 960px) { .gate .pot-wrap { display: grid; } }

/* ---------- sections ---------- */
.sec { padding-top: 88px; }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { margin: 0 0 10px; font-size: clamp(32px, 7vw, 56px); }
.sec-head .sub { font-size: 17px; color: var(--sky-ink); }
.rounds li { padding: 26px 26px 28px; }
.round-no { display: block; }
/* step numbers are round team tokens: pink, lime, violet */
.round-no b, .rounds li:nth-child(2) .round-no b, .rounds li:nth-child(3) .round-no b {
  width: 62px; height: 62px; border-radius: 50%; transform: none;
  background: var(--g-pink);
  font-family: var(--display); font-size: 30px; color: #fff; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: 0 2px 0 var(--ink);
  box-shadow: 0 0 0 4px var(--ink), 0 6px 0 4px var(--ink), inset 0 5px 0 rgba(255, 255, 255, .35);
}
.rounds li:nth-child(2) .round-no b { background: var(--g-lime); }
.rounds li:nth-child(3) .round-no b { background: linear-gradient(180deg, #8a78f4, #4b36c9 55%, #2e2190); }
.rounds h3 { margin: 18px 0 8px; font: 400 24px/1.2 var(--display); letter-spacing: .02em; }
.rounds p, .mode-copy p, .points p, .faq details p, .money-grid p { font-weight: 500; }
.mode-card { overflow: hidden; }
/* the pictures sit on the tiled arena floor */
.mode-art { background: repeating-conic-gradient(#5c48e0 0 25%, #4b36c9 0 50%) 0 0 / 40px 40px;
  box-shadow: none; gap: 16px; }
/* 1v1, 2v2, 3v3: one bandana per player, folded into a triangle */
.dots i { position: relative; width: 34px; height: 26px; border: 0; border-radius: 0; background: var(--ink); box-shadow: none; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.dots i::before { content: ""; position: absolute; inset: 3px 5px 6px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 1.2px, transparent 1.6px) 0 0 / 7px 7px, var(--g-pink); }
.dots i.red::before { background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 1.2px, transparent 1.6px) 0 0 / 7px 7px, var(--g-lime); }
.dots b, .eq { font-family: var(--display); }
.dots b { color: #fff; }
.power { transform: none; border-radius: 14px; }
.power span { font-family: var(--body); font-weight: 700; letter-spacing: .04em; text-transform: none; color: #fff; text-shadow: 0 1px 0 rgba(27, 21, 48, .6); }
.power.red span { color: var(--ink); text-shadow: none; }
.power b { font-family: var(--display); font-size: 40px; -webkit-text-stroke: 5px var(--ink); }
.eq { color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.mode-copy h3 { margin: 0 0 6px; font: 400 24px/1.2 var(--display); letter-spacing: .02em; }
.points .ico { filter: drop-shadow(0 4px 0 rgba(27, 21, 48, .2)); }
.points h3 { font: 400 21px/1.3 var(--display); letter-spacing: .02em; color: var(--ink); text-shadow: none; }
.points p { color: var(--sky-ink); }

.money-grid h3 { font: 400 22px/1.2 var(--display); letter-spacing: .02em; }
.money-grid h3 .ico { width: 34px; height: 34px; }
.split-card .small { margin-top: 18px; }
.splitbar { height: 64px; border-radius: 14px; }
.splitbar i { font-size: 24px; }
.splitbar .w { background: var(--g-lime); }
.splitbar .s { width: 30px; background: var(--g-pink); }
.split { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.split div { border-left-color: var(--lime); border-radius: 2px; }
.split .b, .split .s { border-color: var(--pink-hi); }
.split b { font-family: var(--display); font-size: clamp(30px, 6vw, 42px); }
.split span { color: var(--muted); }
@media (min-width: 820px) { .money-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .money-grid .split-card { grid-column: auto; } }
.faq details { border-radius: 18px; background: var(--court), var(--g-track); outline-offset: -7px; outline-width: 2px; }
.faq summary { font: 700 17px/1.35 var(--body); }
.faq summary:hover { background: rgba(255, 255, 255, .06); }
.faq details[open] summary { background: rgba(36, 24, 122, .55); border-bottom-color: var(--line); }
.faq summary::after { background: var(--g-lime); color: var(--ink); font-family: var(--body); font-weight: 800; font-size: 20px; border-width: 2.5px; border-radius: 50%; }

.final { margin-top: 96px; background: linear-gradient(180deg, transparent, rgba(220, 170, 108, .18)); border-top: 0; }
.final-in { padding: 30px 20px 80px; gap: 16px; }
.final-art { width: min(420px, 86vw); margin-bottom: 4px; }
.final h2 { font-size: clamp(40px, 8vw, 68px); }
.final h2 em { color: var(--pink); }
.final p { color: var(--ink); font-size: 19px; }
.final .fine { color: var(--sky-ink); font-size: 14px; }

/* footer: the arena after dark, the curb along the top */
.foot { position: relative; background: #1b1530; border-top: 0; color: #e6e1f7; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; background: var(--hem); }
.foot-links a { font: 600 15px/1 var(--body); letter-spacing: 0; text-transform: none; }
.foot-links a:hover { border-color: var(--lime); }
.disclaimer { color: #a79fca; }
.foot .brand-name { font-size: 28px; }

/* ---------- the game ---------- */
.callout { background: var(--g-lime); color: var(--ink); border-radius: 18px; }
.callout h3 { color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; font-size: 23px; }
.callout p { font-weight: 600; }
.callout.gone { background: var(--court), var(--g-track); color: #fff; }
.callout.gone h3 { color: #fff; }
.gate-copy h1 { font-size: clamp(40px, 9vw, 70px); }
.gate-copy .lede { color: var(--ink); }
.who-row h2 { font-size: 27px; }
.list-head { font: 400 21px/1 var(--display); letter-spacing: .02em; }
.list-head span { padding: 0; background: none; color: var(--lime-hi); font-size: 17px; }
.live-dial { width: 28px; height: 28px; margin: 0 11px; animation: spin 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .live-dial { animation: none; } }
.watching { border: 2px solid rgba(251, 250, 255, .7); border-radius: 14px; background: var(--panel-2); color: #fff; font-weight: 600; }
.watching .live-dial { margin: 0; width: 26px; height: 26px; }
.watching i { display: none; }
.who b { font-weight: 700; }
.prize-col b { font-family: var(--display); font-size: 23px; color: var(--gold); letter-spacing: .02em; }
.prize-col span { font: 600 11.5px/1.3 var(--body); letter-spacing: .02em; text-transform: none; }
.bout { border-top-color: rgba(255, 255, 255, .14); }
.res-tag, .form-strip i { background: #6a55e0; font-family: var(--display); border-radius: 50%; }
.res-tag.win, .form-strip .f-W { background: var(--g-lime); color: var(--ink); }
.res-tag.loss, .form-strip .f-L { background: var(--g-pink); }
.bout.done .prize-col b, .pay.plus { color: var(--lime-hi); }
.pay { font-family: var(--display); font-size: 21px; }
.pay.minus { color: var(--pink-hi); }
.form-strip { border-top-color: rgba(255, 255, 255, .16); }
.form-strip span { font: 600 12.5px/1 var(--body); letter-spacing: .02em; text-transform: none; }
.settings { border-top-color: rgba(255, 255, 255, .16); }
.past-note { background: rgba(251, 250, 255, .85); color: var(--ink); border-color: rgba(27, 21, 48, .25); }
.past-note b { color: var(--ink); }

.prize-box, .reward { border: var(--edge); border-radius: 16px; background: #120d24; box-shadow: inset 0 0 0 3px #3d3460, 0 4px 0 var(--ink); }
.prize-box span, .reward span { font: 700 13px/1.2 var(--body); letter-spacing: .02em; text-transform: none; color: #a79fca; }
.prize-box b, .reward b { font-family: var(--display); color: var(--gold); letter-spacing: .03em; -webkit-text-stroke: 0; text-shadow: none; }
.prize-box b { font-size: clamp(44px, 11vw, 62px); }
.prize-box i, .reward i { font-family: var(--body); font-weight: 800; color: #a79fca; }
.corner { border-radius: 16px; background: linear-gradient(180deg, #f2609a, #a81f57 78%); }
.corner.red { background: linear-gradient(180deg, #a9d22a, #4f7208 78%); }
.corner .corner-label { color: #fff; font-family: var(--body); text-transform: none; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(27, 21, 48, .6); }
.corner.empty { background: var(--panel-2); }
.corner.empty .corner-label { background: #6a55e0; }
.corner-name { font-family: var(--display); font-size: clamp(19px, 4.6vw, 27px); letter-spacing: .02em; -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.corner.empty .corner-name { color: var(--muted); -webkit-text-stroke: 0; text-shadow: none; }
.corner-sub { color: #fff2f7; }
.vs { border-radius: 50%; background: var(--g-tape); color: #fff; font-size: 20px; rotate: -6deg; }
.tiles span { border-radius: 10px; transform: none; background: var(--g-tape); color: var(--ink); font-family: var(--display); font-size: 30px; }
.seat { background: #3f2db8; border-radius: 14px; }
.seat.free { background: var(--panel-2); }
.steps li::before { border-radius: 50%; transform: none; background: var(--g-lime); font-family: var(--display); color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; font-size: 17px; }
.steps h3 { font: 700 17px/1.3 var(--body); }
.mode { color: var(--ink); border-radius: 10px; }
.dev { border-color: rgba(27, 21, 48, .3); border-radius: 14px; color: var(--ink); }
.dev h3 { letter-spacing: .02em; }

/* ---------- stats: the fight card, a list, not a row of tiles ---------- */
.page-head h1 { font-size: clamp(40px, 9vw, 70px); }
.page-head p { color: var(--sky-ink); }
.ledger-card { padding: 26px 28px 18px; }
.ledger-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-bottom: 14px; border-bottom: 3px solid var(--tape); }
.ledger-top span { font: 600 16px/1.2 var(--body); color: var(--muted); }
.ledger-top b { font: 400 clamp(46px, 11vw, 74px)/1.1 var(--display); letter-spacing: .02em; color: var(--gold); -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; margin: 0; }
.entry { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(251, 250, 255, .22); }
.entry dt { color: var(--on-blue); font-weight: 500; }
.entry dd { margin: 0; font: 400 23px/1.15 var(--display); letter-spacing: .02em; }
@media (min-width: 760px) { .ledger { grid-template-columns: 1fr 1fr; } }
.stat-card h2 { font-family: var(--display); font-size: 23px; }
.facts div { border-top-color: rgba(255, 255, 255, .22); }
.facts b { font-family: var(--display); font-size: 27px; letter-spacing: .02em; }
.chart .axis { stroke: #d9d3fc; }
.chart .tick { font-family: var(--body); font-weight: 500; fill: #efecff; }
.chart .hit:hover, .chart .hit:focus-visible { fill: rgba(255, 255, 255, .08); }
.hbars .track { background: #24187a; }
.hbars .track i { background: var(--g-lime); }
.hbars b { font-family: var(--display); }
.tbl th, .as-table th { font: 700 11.5px/1.2 var(--body); letter-spacing: .04em; }
.tbl td, .as-table td { border-bottom-color: rgba(255, 255, 255, .14); }
.empty { background: var(--panel-2); border-radius: 12px; }

/* ---------- result: no rays, no confetti; on a win the cloud shows what you took ---------- */
#overlay, #overlay.win { background: linear-gradient(180deg, #e2dcf3, #efeaf3 40%, #f6eee2 75%, #f1e3cf); }
#overlay::before, #overlay.win::before { display: none; }
.result { border-radius: 28px; background: var(--court), var(--g-track); outline: 2px solid rgba(251, 250, 255, .3); outline-offset: -9px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .18), 0 10px 0 var(--ink), 0 34px 50px rgba(27, 21, 48, .36); }
.result-art { width: 300px; margin: -4px auto 2px; }
.result h1 { margin: 6px 0 16px; font-size: clamp(38px, 10vw, 54px); color: var(--lime-hi); }
#overlay.loss .result h1 { color: var(--pink-hi); }
#overlay.draw .result h1 { color: #fff; }
.scoreline .vs { color: var(--on-blue); font-family: var(--display); font-size: 26px; background: none; }
.side { border-radius: 16px; background: linear-gradient(180deg, #f2609a, #a81f57); }
.side.red { background: linear-gradient(180deg, #a9d22a, #4f7208); }
.side span { font-weight: 700; letter-spacing: .02em; text-transform: none; text-shadow: 0 1px 0 rgba(27, 21, 48, .6); }
.side b, .side.red b { display: grid; place-items: center; height: 72px; color: #fff; }
.side b .ico { width: 54px; height: 54px; }
.reward b { font-size: 56px; }
.status { font-weight: 500; }
.status a { color: var(--lime-hi); }
#toast { border-radius: 14px; font-family: var(--body); font-weight: 600; border-color: var(--pink); }
#toast.ok { border-color: var(--lime); }
.boot { font-weight: 600; color: var(--ink); }
.team-col .corner-label { color: var(--pink-hi); }
.team-col:last-child .corner-label { color: var(--lime-hi); }
.who-row h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 520px) { .who-row h2 { font-size: 23px; } }
/* small screens: the steps never grow wider than their card, long names shrink before they break */
.steps { grid-template-columns: minmax(0, 1fr); }
.steps li, .steps .row > input { min-width: 0; }
@media (max-width: 520px) { .corner-name { font-size: 16px; } }
