/* =========================================================
   Clash of Candles — landing (v3: dark arena)
   Hero stays on the turquoise stage; everything after it is a dark,
   glowing arena with glass panels.
     arena  #7EF0F8  turquoise — brand stage + accent light
     night  #03161F  page background
     jade   #2EE29A  breakout / win
     ruby   #FF4767  breakdown / loss
     coin   #FFC233  coins only
   ========================================================= */

@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --arena: #7EF0F8;
  --arena-hi: #D2FCFE;
  --arena-lo: #3CCFE0;
  --night: #03161F;
  --night-2: #062433;
  --abyss: #04202D;
  --ink: #0B2C3A;
  --text: #E4F5F9;
  --muted: #8DB0BC;
  --line: rgba(255,255,255,.09);
  --jade: #2EE29A;
  --jade-hi: #6BF7BF;
  --jade-d: #0C9A60;
  --ruby: #FF4767;
  --ruby-hi: #FF7A92;
  --ruby-d: #C9183A;
  --coin: #FFC233;
  --coin-hi: #FFE59A;
  --coin-d: #C98F00;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --navh: 72px;
  --wrap: 1200px;
  --r: 24px;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 12px); background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--night);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--arena); outline-offset: 3px; border-radius: 10px; }
.hero :focus-visible, .final :focus-visible, .nav:not(.is-dark) :focus-visible { outline-color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* ---------- type ---------- */
.h2 {
  font-stretch: 112%; font-weight: 800;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1; letter-spacing: -0.03em;
  margin: 0 0 20px; max-width: 18ch; text-wrap: balance; color: #fff;
}
.h3 { font-stretch: 105%; font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 8px; color: #fff; }
.lede { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.fine { font-size: 13.5px; color: #6F94A1; margin: 14px 0 0; }

/* ---------- surfaces ---------- */
.glass, .glass--dark {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 30px 60px -34px rgba(0,0,0,.8);
}
.glass::before { /* top highlight line */
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(126,240,248,.55), transparent);
}

/* ---------- buttons ---------- */
.btn {
  --bg: linear-gradient(135deg, #8DF4FA 0%, #3BE3A6 100%);
  --fg: #03161F; --glow: rgba(126,240,248,.55);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-stretch: 105%; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 30px -10px var(--glow);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 40px -10px var(--glow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--coin { --bg: linear-gradient(135deg, #FFE08A, #FFB21E); --fg: #2E2000; --glow: rgba(255,178,30,.55); }
.btn--glass { --bg: rgba(255,255,255,.06); --fg: #fff; --glow: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { --bg: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(126,240,248,.5); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12.5px; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; pointer-events: none; }
/* the hero sits on turquoise: its primary button goes dark */
.hero .btn--primary, .final .btn--primary, .nav:not(.is-dark) .btn--primary { --bg: linear-gradient(180deg, #123F52, #04202D); --fg: #fff; --glow: rgba(4,32,45,.5); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -12px var(--glow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--navh);
  display: flex; align-items: center; gap: 28px;
  padding: 0 max(20px, calc((100% - var(--wrap)) / 2));
  color: var(--ink);
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
}
.nav.is-solid { background: rgba(210,252,254,.6); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(11,44,58,.08); }
.nav.is-dark { color: #fff; background: rgba(3,22,31,.7); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__brand img { width: 124px; transition: filter .3s; }
.nav.is-dark .nav__brand img { filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 960px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 420px) { .nav__brand img { width: 104px; } .nav .btn { padding: 0 14px; font-size: 11.5px; } }

/* =========================================================
   HERO (sticky; the dark game panel slides up over it)
   ========================================================= */
.hero-wrap { position: relative; height: 175svh; }
.hero {
  position: sticky; top: 0; height: 100svh; min-height: 600px;
  overflow: hidden; isolation: isolate; color: var(--ink);
  background: radial-gradient(120% 80% at 50% 25%, var(--arena-hi) 0%, var(--arena) 45%, var(--arena-lo) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--navh) + 4px) 0 30px;
}
.hero__light { position: absolute; inset: -30% -10% auto; height: 75%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 50% at 50% 50%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%); }
.hero__orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__orbs i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); filter: blur(1px); }
.hero__orbs i:nth-child(1) { width: 14px; height: 14px; left: 12%; top: 30%; }
.hero__orbs i:nth-child(2) { width: 26px; height: 26px; left: 84%; top: 22%; opacity: .7; }
.hero__orbs i:nth-child(3) { width: 9px; height: 9px; left: 72%; top: 62%; }
.hero__orbs i:nth-child(4) { width: 18px; height: 18px; left: 22%; top: 70%; opacity: .6; }
.hero__orbs i:nth-child(5) { width: 40px; height: 40px; left: 6%; top: 48%; opacity: .35; filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .hero__orbs i { animation: float 9s ease-in-out infinite alternate; }
  .hero__orbs i:nth-child(2n) { animation-duration: 12s; animation-delay: -4s; }
  .hero__orbs i:nth-child(3n) { animation-duration: 15s; animation-delay: -7s; }
}
@keyframes float { to { transform: translate(18px, -26px); } }

.hero__scene {
  --w: min(960px, 92vw, calc((100svh - var(--navh) - 270px) / 1.054));
  --tw: min(90vw, calc(var(--w) * 1.3));
  --th: calc(var(--tw) * 0.312);
  --dh: calc(var(--w) * 0.759);
  --dt: calc(var(--th) * 0.82);
  position: relative; flex: none; width: var(--w); height: calc(var(--dt) + var(--dh) * 0.93);
}
@media (max-width: 700px) { .hero__scene { --w: min(94vw, calc((100svh - var(--navh) - 360px) / 1.054)); } }
.hero__titlewrap { position: absolute; top: 0; left: calc(50% - var(--tw) / 2); width: var(--tw); z-index: 1; will-change: transform, opacity; }
.hero__title { margin: 0; }
.hero__title img { width: 100%; filter: drop-shadow(0 20px 30px rgba(4,32,45,.2)); }
.hero__floor {
  position: absolute; z-index: 0; left: 50%; width: 220vw; translate: -50% 0;
  top: calc(var(--dt) + var(--dh) * 0.88); height: 60svh; pointer-events: none;
  background:
    radial-gradient(28% 22% at 50% 0%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    linear-gradient(90deg, transparent 20%, rgba(255,255,255,.7) 50%, transparent 80%) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(20,170,190,.16), rgba(20,170,190,0) 60%);
}
/* 3D mark (assets/js/logo3d.js) — nav + footer */
.mark3d:not(.is-on) { display: none; }
.mark3d.is-on + .mark3d-fallback { display: none; }
/* nav + footer: canvas is ~1.32× the mark (perspective headroom), negative margins keep the old footprint */
.duo { position: absolute; left: 0; top: var(--dt); width: var(--w); height: var(--dh); z-index: 2; }
.duo__shadow { position: absolute; left: 16%; right: 12%; bottom: -2%; height: 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(3,50,66,.45), rgba(3,50,66,0) 70%); filter: blur(5px); }
.duo__bob { position: absolute; inset: 0; }
.fighter { position: absolute; inset: 0; will-change: transform; }
.fighter--green { z-index: 2; } .fighter--red { z-index: 1; }
.fighter__in, .fighter__in img { width: 100%; }
.fighter__in { will-change: transform; }
.impact { position: absolute; left: 63%; top: 35%; width: 36%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,240,180,.45) 40%, rgba(255,255,255,0) 68%);
  opacity: 0; scale: .2; z-index: 3; pointer-events: none; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

.hero__copy { position: relative; z-index: 4; text-align: center; padding: 0 20px; margin-top: clamp(0px, 1svh, 12px); will-change: opacity, transform; }
.hero__q { font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 10px; text-wrap: balance; }
.hero__sub { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: #17485A; margin: 0 auto 22px; max-width: 64ch; }
.hero__cta { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

.js-anim #fGreen { transform: translateX(-80vw) rotate(-14deg); }
.js-anim #fRed { transform: translateX(80vw) rotate(14deg); }
.js-anim .hero__title, .js-anim #heroQ, .js-anim #heroSub, .js-anim #heroCta, .js-anim .duo__shadow { opacity: 0; }

/* =========================================================
   DEMO PANEL — the dark arena slides up over the hero
   ========================================================= */
.play { position: relative; z-index: 5; margin-top: -75svh; perspective: 1400px; perspective-origin: 50% 0; }
.play__inner {
  position: relative; border-radius: 44px 44px 0 0;
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(126,240,248,.22), transparent 70%),
    radial-gradient(40% 40% at 0% 60%, rgba(46,226,154,.10), transparent 70%),
    radial-gradient(40% 40% at 100% 70%, rgba(255,71,103,.08), transparent 70%),
    var(--noise), var(--night);
  box-shadow: 0 -40px 80px -30px rgba(3,22,31,.6), inset 0 1px 0 rgba(126,240,248,.5);
  transform-origin: 50% 0; will-change: transform;
}
.play__inner::before { content: ""; position: absolute; left: 50%; top: 14px; width: 54px; height: 5px; border-radius: 3px; translate: -50% 0; background: rgba(255,255,255,.18); }

/* ---------- game shell: the real game UI (light) + dark rewards column ---------- */
.game.is-open { --rw: 380px; }
.app .views__b svg { width: 30px; height: 26px; padding: 4px 6px; border-radius: 6px; background: var(--gbtn); color: var(--ink2); transition: background .2s; box-sizing: border-box; }
.app .views__b[aria-checked="true"] svg { background: var(--green); }
.app .views__b:hover svg { background: #D3DCE1; } .app .views__b[aria-checked="true"]:hover svg { background: var(--green); } .app__hand svg { width: 22px; height: 22px; }
.app__g.is-low { background: #FFD3DE; color: var(--red); } .app__sent .up { color: #10B871; }
.app__status.is-wait { color: #C99400; border: 1.5px solid #F2B705; }
.app__status.is-paired, .app__status.is-win { color: #10B871; border: 1.5px solid var(--green); }
.app__status.is-win { background: #E6FFF3; }
.app__status.is-loss { color: var(--red); border: 1.5px solid var(--red); }

/* level tags = the pick buttons (as in the game) */
.lvl.is-ready { animation: lvlPulse 1.6s ease-in-out infinite; }
.lvl.is-ready:hover { transform: translateX(-4px); filter: brightness(1.05); }
.lvl.is-chosen { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.lvl.is-lost { opacity: .35; }
@keyframes lvlPulse { 50% { box-shadow: 0 0 0 5px rgba(46,234,156,.25); } }
.lvl--down.is-ready { animation-name: lvlPulseR; }
@keyframes lvlPulseR { 50% { box-shadow: 0 0 0 5px rgba(224,25,90,.2); } }
@media (prefers-reduced-motion: reduce) { .lvl.is-ready { animation: none; } }
.app__avatar svg { width: 100%; height: 100%; border-radius: 50%; background: #2EEA9C; } .app__avatar:disabled svg { background: #C9D3D9; }
.fabmenu svg { width: 16px; height: 16px; color: #10B871; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- rewards drawer ---------- */
.game.is-open .rewards__in { opacity: 1; transform: none; }
.rw-result.is-win { background: linear-gradient(135deg, rgba(25,194,126,.28), rgba(25,194,126,.06)); box-shadow: 0 0 0 1px rgba(79,242,177,.4) inset; }
.rw-result.is-win .rw-result__delta { color: var(--coin); text-shadow: 0 0 24px rgba(255,194,51,.5); }
.rw-result.is-loss { background: linear-gradient(135deg, rgba(240,40,74,.24), rgba(240,40,74,.05)); box-shadow: 0 0 0 1px rgba(255,106,134,.35) inset; }
.rw-result.is-loss .rw-result__delta { color: var(--ruby-hi); }
.prod-ico svg { width: 30px; height: 30px; }
.rw-list .prod-ico svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .game, .game.is-open { grid-template-columns: minmax(0, 1fr); }
  .game.is-open .rewards { display: block; }
  .game.is-open .rewards__in { animation: rwIn .5s cubic-bezier(.2,.8,.2,1); }
}
@keyframes rwIn { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   SECTIONS (dark arena)
   ========================================================= */
main { background: var(--noise), var(--night); }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tint { background: radial-gradient(60% 50% at 100% 0%, rgba(126,240,248,.07), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(46,226,154,.06), transparent 70%); }
.section + .section, .wave + .section, .section + .wave { border-top: 1px solid rgba(255,255,255,.04); }

/* early access */
.wave { padding: clamp(90px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.wave::before { content: ""; position: absolute; right: -15%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,194,51,.16), transparent 62%); }
.wave__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
@media (max-width: 900px) { .wave__grid { grid-template-columns: 1fr; } }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perks li { padding: 16px 16px 16px 58px; position: relative; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.perks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF2C2 0 12%, var(--coin) 45%, #E39A00 100%); box-shadow: 0 0 0 2px #A87100 inset, 0 0 18px rgba(255,194,51,.5); }
.perks b { display: block; color: #fff; font-weight: 700; }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }
.signup { padding: clamp(26px, 3vw, 38px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(255,194,51,.25); }
.signup::before { background: linear-gradient(90deg, transparent, rgba(255,194,51,.7), transparent); }
.signup__title { font-stretch: 112%; font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; color: #fff; }
.signup__lead { color: var(--muted); font-size: 16px; }
.signup__label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: #BFDDE5; }
.signup__input { width: 100%; min-height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); padding: 0 18px; font: inherit; font-size: 17px; background: rgba(0,0,0,.25); color: #fff; margin-bottom: 14px; transition: border-color .2s, box-shadow .2s; }
.signup__input::placeholder { color: #6F94A1; }
.signup__input:focus-visible { outline: none; border-color: var(--arena); box-shadow: 0 0 0 4px rgba(126,240,248,.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin-bottom: 18px; cursor: pointer; color: #BFDDE5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--jade); flex: none; }
.signup__msg { min-height: 1.4em; font-weight: 700; font-size: 15px; margin: 12px 0 0; }
.signup__msg.is-ok { color: var(--jade-hi); } .signup__msg.is-err { color: var(--ruby-hi); }
.signup.is-disabled .signup__input, .signup.is-disabled .check, .signup.is-disabled .signup__label { opacity: .5; cursor: not-allowed; }
.signup.is-done .signup__input, .signup.is-done .check, .signup.is-done .signup__label, .signup.is-done .btn { display: none; }

/* steps */

/* key features — bento */
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--jade-hi);
  background: rgba(46,226,154,.10); border: 1px solid rgba(107,247,191,.3); }
.chip svg { width: 14px; height: 14px; }

/* split */

/* reveal card */

/* coins */
.coins3 { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coinCard { padding: 30px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,194,51,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,194,51,.16); }
.coinCard p { margin: 0; color: var(--muted); font-size: 15.5px; }
.coin3d { position: relative; width: 80px; height: 80px; margin-bottom: 24px; border-radius: 50%; display: grid; place-items: center;
  font-stretch: 112%; font-weight: 800; font-size: 22px; color: #6B4A00;
  background: radial-gradient(circle at 34% 28%, #FFF6D2 0 10%, #FFD35A 32%, var(--coin) 52%, #E39A00 88%);
  box-shadow: 0 0 0 4px #F2AE10 inset, 0 0 0 7px #FFD866 inset, 0 0 0 8px #C98F00 inset, 0 6px 0 #A87100, 0 16px 30px -6px rgba(0,0,0,.6), 0 0 50px -6px rgba(255,194,51,.55);
  transform: perspective(300px) rotateX(18deg); }
.coin3d span { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.coin3d--stack { box-shadow: 0 0 0 4px #F2AE10 inset, 0 0 0 7px #FFD866 inset, 0 0 0 8px #C98F00 inset, 0 6px 0 #A87100, 0 11px 0 #E39A00, 0 16px 0 #A87100, 0 21px 0 #E39A00, 0 26px 0 #A87100, 0 34px 30px -6px rgba(0,0,0,.6), 0 0 50px -6px rgba(255,194,51,.5); margin-bottom: 46px; }
@media (max-width: 860px) { .coins3 { grid-template-columns: 1fr; } }

/* ranks */

/* lives */

/* shop */
.product .prod-ico svg { width: 30px; height: 30px; }
.product.is-featured { border-color: rgba(255,194,51,.35); background: linear-gradient(180deg, rgba(255,194,51,.10), rgba(255,255,255,.02)); }
.product.is-featured .prod-ico { background: linear-gradient(160deg, #FFE08A, #E39A00); color: #3B2A00; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px -8px rgba(255,178,30,.7); }

/* stats + academy */

/* fairness */

/* faq */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, background .25s; }
.faq details[open] { background: rgba(255,255,255,.06); border-color: rgba(126,240,248,.3); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 58px 20px 22px; position: relative; font-weight: 700; font-size: 17px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 50%; background: rgba(126,240,248,.12); border: 1px solid rgba(126,240,248,.3); }
.faq summary::before { content: ""; position: absolute; right: 28px; top: 50%; width: 7px; height: 7px; z-index: 1; border: solid var(--arena); border-width: 0 2px 2px 0; translate: 0 -70%; rotate: 45deg; transition: rotate .25s, translate .25s; }
.faq details[open] summary::before { rotate: 225deg; translate: 0 -20%; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); max-width: 66ch; }

/* final */
.final { position: relative; overflow: hidden; text-align: center; color: var(--ink);
  background: radial-gradient(120% 90% at 50% 15%, var(--arena-hi), var(--arena) 50%, var(--arena-lo));
  padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 9vw, 110px); border-radius: 44px 44px 0 0; margin-top: 40px; }
.final__duo { width: min(540px, 92%); margin-bottom: 4px; filter: drop-shadow(0 30px 30px rgba(4,32,45,.25)); }
.final .h2 { margin-inline: auto; color: var(--ink); }
.final .lede { margin: 0 auto 30px; color: #17485A; }

/* footer */
.foot { background: #020F15; color: #7FA3AF; padding: 56px 0 64px; font-size: 14px; }
.foot__grid { display: grid; gap: 18px; }
.foot__grid img { width: 150px; margin-bottom: 8px; }
.foot__legal { max-width: 80ch; margin: 0; }
.foot__meta { margin: 0; color: #577C89; }

/* reduced motion: final composition, no sliding panel */
@media (prefers-reduced-motion: reduce) {
  .hero-wrap { height: auto; }
  .hero { position: relative; }
  .play { margin-top: 0; }
  .js-anim #fGreen, .js-anim #fRed { transform: none; }
  .js-anim .hero__title, .js-anim #heroQ, .js-anim #heroSub, .js-anim #heroCta, .js-anim .duo__shadow { opacity: 1; }
}

/* mobile game controls (kept last so it wins over the base .pick rules) */
@media (max-width: 600px) {
  .play__inner { border-radius: 28px 28px 0 0; }
}

/* wide screens: hero copy in two columns so the fighters get the height */
@media (min-width: 1000px) {
  .hero__scene { --w: min(1000px, 92vw, calc((100svh - var(--navh) - 175px) / 1.054)); }
  .hero__copy {
    display: grid; grid-template-columns: auto minmax(0, 520px); column-gap: 48px; align-items: center;
    text-align: left; max-width: 1180px; margin-top: clamp(4px, 1.4svh, 16px);
  }
  .hero__q { grid-row: 1 / 3; margin: 0; font-size: clamp(30px, 2.9vw, 46px); max-width: 12ch; }
  .hero__sub { margin: 0 0 14px; font-size: 15.5px; max-width: none; }
  .hero__cta { justify-content: flex-start; gap: 20px; }
  .hero__copy::before { inset: -40px -6%; }
}

/* rewards panel: always visible, with product art + prices */
.rw-result.is-idle { background: linear-gradient(135deg, rgba(126,240,248,.16), rgba(126,240,248,.03)); box-shadow: 0 0 0 1px rgba(126,240,248,.3) inset; }
.rw-result.is-idle .rw-result__title { font-size: 19px; }
.rw-result.is-idle .rw-result__delta { font-size: 24px; color: var(--coin); }
.product.is-featured .prod-ico:has(img) { background: radial-gradient(70% 70% at 50% 40%, rgba(255,194,51,.35), rgba(255,194,51,.04) 70%); box-shadow: inset 0 0 0 1px rgba(255,194,51,.3); }

/* =========================================================
   v4 — boss structure: tutorial, prizes, play, svíčky, contests, academy, ranks, stats
   ========================================================= */
.sechead { margin-bottom: 44px; }

/* svíčka icon (the win currency) */

/* tutorial step rail */
.tsteps li.is-done b { background: rgba(46,226,154,.25); color: var(--jade-hi); }
.tsteps li.is-on { background: rgba(126,240,248,.14); color: #fff; }
.tsteps li.is-on b { background: var(--arena); color: var(--night); box-shadow: 0 0 16px rgba(126,240,248,.7); }
@media (max-width: 700px) { .tsteps li.is-on span { display: inline; } .tsteps li.is-on { padding-right: 12px; } }
.game.is-tutorial .game__main, .game.is-tutorial .rewards { cursor: pointer; }
.cursor.is-on { opacity: 1; }
.cursor svg { width: 28px; height: 28px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.tcap.is-on { opacity: 1; transform: none; }

/* buy overlay + locked chart */
.game__stage.is-locked #chart { filter: blur(6px) saturate(.6); opacity: .6; transition: filter .5s, opacity .5s; }
.game__stage.is-drawing #chart { cursor: crosshair; }

/* win popup */

/* prizes: podium */
/* prizes in fog */
.fogcard { width: 200px; flex: none; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line); text-align: center; }
.fogcard__art { height: 110px; display: grid; place-items: center; } .fogcard__art img { height: 100%; filter: hue-rotate(60deg); }
.fogcard p { margin: 10px 0 2px; font-weight: 700; color: #fff; } .fogcard span { color: var(--coin); font-weight: 700; }
.fog__title { position: relative; font-stretch: 112%; font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; color: #fff; margin: 0 0 6px; }
.fog__text { position: relative; color: #CFE6EC; margin: 0 0 18px; }

/* points list */

/* play shot */

/* svíčky */

/* coins */
.coin3d--skill { background: radial-gradient(circle at 34% 28%, #E9FFF6 0 10%, #6BF7BF 32%, var(--jade) 52%, #0C9A60 88%); color: #053D27;
  box-shadow: 0 0 0 4px #1FB878 inset, 0 0 0 7px #8CF9CF inset, 0 0 0 8px #0C9A60 inset, 0 6px 0 #087447, 0 16px 30px -6px rgba(0,0,0,.6), 0 0 50px -6px rgba(46,226,154,.55); }

/* contests */

/* academy */
.ac-chart svg { width: 100%; height: 120px; display: block; }

/* leaderboard */
.lb .top1 .lb__pos { color: #FFD966; } .lb .top2 .lb__pos { color: #DDEBF0; } .lb .top3 .lb__pos { color: #F2B48A; }
.lb .top1 .lb__av { background: linear-gradient(160deg, #FFE08A, #E39A00); }

/* stats */
/* guard against horizontal overflow on small screens */
.play { overflow-x: clip; }

/* =========================================================
   v5 — real game UI details (tutorial cards, buy dialog, mobile bar)
   ========================================================= */
.coin-ico { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle at 35% 30%, #FFF2C2 0 12%, var(--coin) 40%, #E39A00 100%); box-shadow: 0 0 0 1.5px #A87100 inset, 0 0 10px rgba(255,194,51,.5); }

/* tutorial card = the in-game tutorial card */
.tcap.is-on { opacity: 1; transform: none; }

/* buy dialog (light, like the game's Action dialog) */
.game__stage.is-locked #chart { filter: blur(3px) saturate(.7); opacity: .55; }
.game.is-tutorial .app__stage, .game.is-tutorial .app__bar { cursor: pointer; }
@container (max-width: 1000px) { }
@container (max-width: 700px) { }
@media (max-width: 600px) {
  .app .views__b svg { width: 28px; height: 24px; }
}

/* real product photos sit on light "shop" tiles (the photos come on white/transparent) */
@keyframes hoverS { from { transform: translateY(3px) scale(.98); } to { transform: translateY(-4px) scale(1.02); } }
.prod-ico:has(img), .product .prod-ico:has(img), .product.is-featured .prod-ico:has(img) { background: radial-gradient(90% 80% at 50% 30%, #FFFFFF, #ECEFF2 80%); box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset; padding: 6px; }
.fogcard__art { border-radius: 14px; background: radial-gradient(90% 80% at 50% 30%, #FFFFFF, #E6EAEE 80%); overflow: hidden; }
.fogcard__art img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; filter: none; }
.fogcard__q { font-stretch: 112%; font-weight: 800; font-size: 54px; color: #B9C6CD; }

/* Play: real screenshot + rank window in the game's light style */

/* rank ladder: earned, not chosen */
.rk__tools svg { width: 11px; height: 11px; flex: none; }
.rk.is-locked { opacity: .55; }
.rk.is-locked .rk__name { color: #3F4F59; }
.rk.is-me { background: #E6FFF3; border-color: #2EEA9C; }
.rk.is-me .rk__lv { background: #2EEA9C; }
.drawer__row.is-off { cursor: default; } .drawer__row.is-off .sw { opacity: .5; }
.rk.is-locked { opacity: .6; }
.rk.is-locked .rb { filter: saturate(.5); }

/* =========================================================
   v6 — light turquoise page (continues the hero) + punchier rewards panel
   ========================================================= */
:root { --text: #0B2C3A; --muted: #2F6474; --line: rgba(11,44,58,.12); --card: rgba(255,255,255,.55); --card-b: rgba(255,255,255,.75); }
html, body { background: var(--arena); }
main { background:
  radial-gradient(70% 40% at 20% 10%, rgba(255,255,255,.45), transparent 70%),
  radial-gradient(60% 40% at 90% 60%, rgba(255,255,255,.35), transparent 70%),
  linear-gradient(180deg, #8FF2F9 0%, var(--arena) 40%, #74E9F3 100%); }
.section--tint { background: rgba(255,255,255,.18); }
.section + .section, .wave + .section, .section + .wave { border-top: 1px solid rgba(11,44,58,.06); }
.play__inner { background:
  radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.6), transparent 70%),
  linear-gradient(180deg, #B4F7FB 0%, #8FF2F9 30%, var(--arena) 100%);
  box-shadow: 0 -30px 70px -30px rgba(4,60,80,.45), inset 0 1px 0 rgba(255,255,255,.9); }
.play__inner::before { background: rgba(11,44,58,.18); }

/* type */
.h2, .h3, .kicker { color: var(--ink); }
.lede { color: #255A6B; }
.fine { color: #3D7383; }

/* surfaces */
.glass, .glass--dark { background: var(--card); border-color: var(--card-b); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -30px rgba(4,60,80,.45); }
.glass::before { background: linear-gradient(90deg, transparent, #fff, transparent); }
.feat, .pts li, .perks li, .faq details, .hist li, .lb li, .fogcard, .ac-opts span, .stats__kpi div { background: var(--card); border-color: var(--card-b); }
.faq details[open] { background: rgba(255,255,255,.8); border-color: #fff; }

/* everything that used to be white-on-dark */
main :is(.perks b, .signup__title, .pts b, .rp__name, .rp__stats dd, .lives__label b, .calc__cap, .calc__row b, .faq summary,
  .pod__name, .pod__price b, .fogcard p, .fog__title, .rankwin__title, .contest__name, .contest__meta b, .ac-q, .ac-score b,
  .board__head, .lb__name, .ring b, .stats__kpi dd, .product .price b, .rw-price b) { color: var(--ink); }
main :is(.ticks li, .rp__sub, .calc__row, .fog__text, .stats__label, .hist li) { color: #255A6B; }
main :is(.feat p, .pts span, .perks span, .faq p, .contest__meta, .lb__name small, .pod__price, .ring span, .stats__kpi dt) { color: #2F6474; }
.pod__need, .fogcard span, .contest__pool { color: #9A6A00; }
.tsteps li.is-on { background: var(--ink); color: #fff; } .tsteps li.is-on b { background: var(--arena); color: var(--ink); box-shadow: none; }
.tsteps li.is-done b { background: var(--jade); color: #04301F; }

/* buttons on light: primary goes dark everywhere, glass becomes an outline */
main .btn--primary { --bg: linear-gradient(180deg, #123F52, #04202D); --fg: #fff; --glow: rgba(4,32,45,.45); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -12px var(--glow); }
main .btn--glass { --bg: rgba(255,255,255,.35); --fg: var(--ink); box-shadow: inset 0 0 0 2px rgba(11,44,58,.5); }
main .btn--glass:hover { --bg: rgba(255,255,255,.6); box-shadow: inset 0 0 0 2px var(--ink); }

/* nav never turns dark now */
.nav.is-dark { color: var(--ink); background: rgba(210,252,254,.7); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(11,44,58,.08); }
.nav.is-dark .nav__brand img { filter: none; }
.nav.is-dark .btn--primary { --bg: linear-gradient(180deg, #123F52, #04202D); --fg: #fff; }

/* podium + fog */

/* components with dark fills */
.lb .top1 .lb__pos { color: #B07C00; } .lb .top2 .lb__pos { color: #5E7F8C; } .lb .top3 .lb__pos { color: #A35A2A; }
.coinCard { background: linear-gradient(180deg, rgba(255,226,140,.55), rgba(255,255,255,.5)); border-color: rgba(255,255,255,.8); }
.signup { box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(4,60,80,.5), 0 0 80px -20px rgba(255,194,51,.35); }
.signup__input { background: #fff; color: var(--ink); border-color: rgba(11,44,58,.2); }
.signup__input::placeholder { color: #6E97A4; }
.foot { background: var(--ink); color: #A6CEDB; }

/* ---------- the game card on the light page ---------- */

/* rewards column: bold, deep, gold */
.rw-featured.is-hit { animation: rwHit .9s cubic-bezier(.2,.8,.2,1); }
@keyframes rwHit { 20% { box-shadow: 0 0 0 3px #FFD36B inset, 0 0 80px 0 rgba(255,194,51,.9); transform: scale(1.02); } }
.rwx__pick.is-on { background: rgba(255,194,51,.14); box-shadow: inset 0 0 0 1.5px #FFD36B; }
.chip { color: #0A7A4C; background: rgba(46,226,154,.18); border-color: rgba(12,154,96,.35); }

/* =========================================================
   v7 — strict game UI, Ranks screen, rewards vault, legibility
   ========================================================= */
/* --- game top bar exactly like the game --- */
.app__full svg { width: 34px; height: 30px; padding: 6px 8px; border-radius: 6px; background: #E3E9ED; }
.app__full:hover svg { background: #D3DCE1; }
@container (max-width: 1000px) { }
@container (max-width: 700px) { }
.game:fullscreen, .game.is-full { position: fixed; inset: 0; z-index: 100; border-radius: 0; display: block; }
.game:fullscreen .rewards, .game.is-full .rewards { display: none; }
.game:fullscreen .game__main, .game.is-full .game__main { height: 100%; }
.game:fullscreen #chart, .game.is-full #chart { height: calc(100vh - 70px); }

/* --- FAB toolbar exactly like the game: white card, green border, icon over label --- */
.fabmenu svg { width: 22px; height: 22px; color: #22D98C; }

/* --- drawers exactly like the game --- */

/* --- Ranks screen exactly like the game (phone) --- */
.rkp-back { position: absolute; left: 16px; top: 12px; font-size: 30px; line-height: 1; color: #22C77E; }
.rkp-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.rkp { display: grid; grid-template-columns: 1fr 80px 70px; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(19,35,44,.05); border: 1.5px solid transparent; }
.rkp.is-me { border-color: #22D98C; }
.rkp-badge { justify-self: start; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 6px; background: var(--rc); color: #0B2C1E; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.rkp-badge.is-light { color: #fff; }
.rkp-badge.is-goat { height: 28px; padding: 0 10px; color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--rc); }
.rkp-val { display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rkp.is-locked .rkp-val { filter: blur(4px); opacity: .7; user-select: none; }
.rkp-lock svg { width: 20px; height: 20px; }

/* --- rewards vault: deep navy, gold, light rays --- */
.rw-result.is-idle, .rw-result.is-win, .rw-result.is-loss { background: none; box-shadow: none; }
.rw-result.is-idle .rw-result__delta { color: #7EF0F8; }
.rw-result.is-win .rw-result__delta { color: #FFD36B; }
.rwx__slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #FFD36B;
  background: radial-gradient(ellipse at 50% 70%, #fff 0 18%, #FFD45E 38%, #FF8A1C 75%); box-shadow: 0 0 16px rgba(255,160,30,.9); }
.rwx__slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #FFD36B; background: #FF9A2A; box-shadow: 0 0 16px rgba(255,160,30,.9); }
.rwx__pick.is-on { background: rgba(255,211,107,.16); box-shadow: inset 0 0 0 1.5px #FFD36B, 0 0 24px -6px rgba(255,194,51,.6); }

/* --- legibility on the light page: icons and small marks --- */
.faq summary::after { background: #0B2C3A; border-color: #0B2C3A; }
.faq summary::before { border-color: #7EF0F8; }
.chip { color: #fff; background: #0B2C3A; border-color: #0B2C3A; }
.chip svg { color: #2EEA9C; }
.perks li::before { box-shadow: 0 0 0 2px #A87100 inset, 0 4px 12px rgba(168,113,0,.35); }
.rkp-title { color: #13232C; }
/* legibility fixes: old light-on-dark text colours */
.signup__label, .check { color: #0B2C3A; }
main .rkp-title { color: #13232C; }
.check input { accent-color: #0B2C3A; }

/* =========================================================
   v8 — rewards panel in light colours (matches the game UI)
   ========================================================= */
.rw-result.is-idle .rw-result__delta { color: #0A8A97; }
.rw-result.is-win .rw-result__delta { color: #B07C00; text-shadow: none; }
.rw-result.is-loss .rw-result__delta { color: #D0164F; }
.rwx__pick.is-on { background: #FFF8E3; box-shadow: inset 0 0 0 1.5px #E8B53A, 0 8px 22px -12px rgba(176,124,0,.55); }
/* logo mark next to the wordmark */
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand .nav__mark { width: auto; height: 44px; }
@media (max-width: 420px) { .nav__brand .nav__mark { height: 37px; } .nav__brand { gap: 8px; } }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.foot__brand .foot__mark { width: auto; height: 53px; }

/* =========================================================
   v7 — hearts as the win currency, hex coin, mechanism strip,
   marketplace (no podium), contests + academy + rank in one block
   ========================================================= */

/* currency icons */
.heart-ico { display: inline-block; flex: none; width: 1.05em; height: .95em; margin: 0 .22em; vertical-align: -.12em;
  background: url(../img/heart-candle.webp?v=1) center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(160,11,61,.3)); }
.coin-ico, .app__fame .coin-ico, .rkp-val .coin-ico { border-radius: 0; box-shadow: none;
  background: url(../img/coin-hex-sm.webp?v=2) center / contain no-repeat; filter: drop-shadow(0 1px 1.5px rgba(120,80,0,.35)); }
.coin3d, .coin3d--stack, .coin3d--skill { width: 92px; height: 92px; border-radius: 0; box-shadow: none; isolation: isolate;
  background: url(../img/coin-hex-sm.webp?v=2) center / contain no-repeat; filter: drop-shadow(0 14px 16px rgba(120,80,0,.35)); }
.coin3d--stack { filter: drop-shadow(0 5px 0 #B4810F) drop-shadow(0 5px 0 #8C6100) drop-shadow(0 14px 16px rgba(120,80,0,.35)); }
.coin3d--skill { filter: hue-rotate(105deg) saturate(1.15) drop-shadow(0 14px 16px rgba(10,110,70,.35)); }
.coin3d span { position: absolute; right: -10px; bottom: -2px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff;
  font-stretch: 112%; font-weight: 800; font-size: 14px; line-height: 1.2; text-shadow: none; }
.coin3d--skill span { filter: hue-rotate(-105deg); }

/* ---------- mechanism strip: coin → play → heart → prize ---------- */
.flow { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.4vw, 18px);
  max-width: 940px; margin: clamp(8px, 2vw, 24px) auto clamp(64px, 8vw, 104px); }
.flow__node { position: relative; flex: none; width: clamp(64px, 11vw, 132px); aspect-ratio: 1; display: grid; place-items: center; }
.flow__node > img { width: 100%; height: 100%; object-fit: contain; }
.flow__node--coin > img { filter: drop-shadow(0 18px 20px rgba(120,80,0,.32)); }
.flow__node--heart > img { width: 92%; filter: drop-shadow(0 18px 22px rgba(160,11,61,.35)); }
.flow__badge { position: absolute; right: -4%; bottom: 2%; padding: .25em .7em; border-radius: 999px; background: var(--ink); color: #fff;
  font-stretch: 112%; font-weight: 800; font-size: clamp(11px, 1.3vw, 16px); line-height: 1.2; box-shadow: 0 6px 14px -6px rgba(4,32,45,.6); }
.flow__badge--heart { background: #fff; color: #C2134C; box-shadow: 0 0 0 2px #F0245F inset, 0 6px 14px -6px rgba(160,11,61,.5); }
.playbtn svg { width: 46%; height: 46%; margin-left: 8%; fill: #0B2C3A; }
.flow__arrow { position: relative; flex: 1 1 0; max-width: 110px; min-width: 18px; height: 14px; }
.flow__arrow::before { content: ""; position: absolute; left: 0; right: 7px; top: 50%; border-top: 3px dotted rgba(11,44,58,.35); translate: 0 -50%; }
.flow__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 9px; height: 9px; border: solid rgba(11,44,58,.55); border-width: 3px 3px 0 0; translate: 0 -50%; rotate: 45deg; border-radius: 1px; }
.flow__arrow i { position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.9); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .flow__arrow i { animation: flowdot 2.4s ease-in-out infinite; }
  .flow__arrow:nth-of-type(2) i { animation-delay: .8s; } .flow__arrow:nth-of-type(3) i { animation-delay: 1.6s; }
  .flow__node > img, .playbtn, .flow__fan { animation: hoverS 3.6s ease-in-out infinite alternate; } .flow__node--heart > img { animation-delay: -2.4s; }
}
@keyframes flowdot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
.flow__fan { position: relative; width: 100%; height: 100%; }
.flow__fan img { position: absolute; left: 50%; top: 46%; width: 78%; height: 78%; object-fit: contain; translate: -50% -50%; filter: drop-shadow(0 12px 14px rgba(4,32,45,.3)); }
.flow__fan img:nth-child(1) { rotate: -16deg; translate: -78% -46%; opacity: .9; }
.flow__fan img:nth-child(2) { rotate: 14deg; translate: -22% -44%; opacity: .9; }
.flow__pay { position: absolute; left: 50%; bottom: -14%; translate: -50% 0; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap;
  padding: .3em .75em; border-radius: 999px; background: #fff; color: var(--ink); font-stretch: 112%; font-weight: 800; font-size: clamp(11px, 1.3vw, 16px); line-height: 1.2;
  box-shadow: 0 0 0 1px rgba(11,44,58,.12), 0 8px 18px -8px rgba(4,32,45,.5); }
.flow__pay span { color: #0A7A4C; margin-left: 2px; }
@media (max-width: 520px) { .flow__arrow { min-width: 12px; } .flow__arrow::after { width: 7px; height: 7px; border-width: 2.5px 2.5px 0 0; } .flow__badge { right: -10%; } }

/* ---------- marketplace ---------- */
.market-wrap { margin-bottom: clamp(72px, 9vw, 120px); }
.market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1020px; margin: 0 auto; }
.mk { display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 28px; text-align: center;
  background: var(--card); border: 1px solid var(--card-b); box-shadow: 0 1px 0 #fff inset, 0 30px 60px -36px rgba(4,60,80,.55);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.mk:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 40px 70px -34px rgba(4,60,80,.6); }
.mk__art { position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; background: radial-gradient(90% 80% at 50% 30%, #fff, #E6EAEE 80%); }
.mk__art img, .mk__art svg { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) { .mk__art img { animation: hoverS 4s ease-in-out infinite alternate; } .mk:nth-child(2) .mk__art img { animation-delay: -1.3s; } .mk:nth-child(3) .mk__art img { animation-delay: -2.6s; } }
.mk__name { margin: 16px 0 2px; font-stretch: 112%; font-weight: 800; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.02em; color: var(--ink); }
.mk__was { margin: 0 0 10px; font-size: 14px; color: #2F6474; text-decoration: line-through; text-decoration-color: rgba(47,100,116,.6); }
.mk__pay { margin: 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,44,58,.1); font-variant-numeric: tabular-nums; }
.mk__hearts { display: inline-flex; align-items: center; font-weight: 800; color: #C2134C; }
.mk__hearts .heart-ico { margin-left: 0; }
.mk__pay em { font-style: normal; font-weight: 800; color: #2F6474; }
.mk__pay b { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 760px) {
  .market { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 6px 20px 18px; scrollbar-width: none; }
  .market::-webkit-scrollbar { display: none; }
  .mk { flex: 0 0 76%; scroll-snap-align: center; }
}

/* ---------- contests · academy · rank (one block) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.trio__card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.trio__card .chip { align-self: flex-start; }
.trio__card .h3 { margin: 6px 0 0; font-stretch: 112%; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
@media (max-width: 1000px) { .trio { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* v8 — PLAY tile like the game, Play + Coins in one section, no rewards column next to the game */
.playtile svg { width: 34%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.game, .game.is-open { --rw: 0px; grid-template-columns: minmax(0, 1fr); }
.fuel { margin-top: clamp(64px, 8vw, 110px); }
.fuel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.fuel .coins3 { margin-top: 0; }

/* v9 — lower half chunked: tighter rhythm, 4-card block, 2-col FAQ, sign-up = final CTA */
#play.section, #contesty.section, #faq.section { padding-block: clamp(56px, 6vw, 88px); }
.fuel { margin-top: clamp(40px, 5vw, 64px); }
.fuel__head { margin-bottom: 18px; }
.fuel .coins3 { gap: 12px; }
.fuel .coinCard { display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; align-items: center; padding: 18px 20px; }
.fuel .coin3d { grid-row: 1 / 3; width: 60px; height: 60px; margin: 0; }
.fuel .coin3d span { font-size: 11px; padding: 2px 7px; right: -8px; }
.fuel .coinCard .h3 { margin: 0; font-size: 17px; align-self: end; }
.fuel .coinCard p { font-size: 14px; line-height: 1.45; align-self: start; }

.trio--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trio--4 .trio__card { padding: 22px 20px; }
.trio--4 .trio__card .h3 { font-size: 19px; }
@media (max-width: 1180px) { .trio--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .trio--4 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.final--reg { text-align: left; margin-top: 0; padding-block: clamp(48px, 6vw, 84px); }
.final--reg::before { display: none; }
.final--reg .h2 { margin-inline: 0; }
.final--reg .lede { margin: 0; color: #17485A; }
.reg__copy .final__duo { width: min(360px, 70%); margin: 0 0 6px -10px; display: block; }
.perks--chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.perks--chips li { padding: 8px 14px 8px 36px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); }
.perks--chips li::before { left: 10px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; }
.perks--chips b { font-size: 14px; }
@media (max-width: 900px) { .reg__copy { text-align: center; } .reg__copy .final__duo { margin: 0 auto 6px; } .final--reg .lede { margin-inline: auto; } .perks--chips { justify-content: center; } }
.perks--chips li::before { border-radius: 0; box-shadow: none; background: url(../img/coin-hex-sm.webp?v=2) center / contain no-repeat; }
@media (max-width: 680px) {
  .trio--4 { display: flex; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 6px 20px 18px; scrollbar-width: none; }
  .trio--4::-webkit-scrollbar { display: none; }
  .trio--4 .trio__card { flex: 0 0 84%; scroll-snap-align: center; }
}

/* v10 — copy deck layout: hero with two paragraphs, "Jak se hraje" steps, card CTAs, footer links */
.hero__sub p { margin: 0 0 8px; } .hero__sub p:last-child { margin: 0; }
.hero__q { max-width: 18ch; }
@media (min-width: 1000px) { .hero__q { max-width: 13ch; } .hero__cta { gap: 18px; flex-wrap: nowrap; } }
.trio__cta { align-self: flex-start; margin-top: 12px; }

.foot__tag { margin: 0; color: #CFE6EC; font-weight: 700; font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot__links a { color: #CFE6EC; text-decoration: none; } .foot__links a:hover { color: #fff; text-decoration: underline; }
.foot__links span { color: #5F8592; }
#contesty .sechead { margin: 0; }
#play .h2, #odmeny .h2, .howto .h2 { font-size: clamp(32px, 3.7vw, 54px); }
#play .h2 { max-width: 14ch; }

/* v11 — nothing centered: left-aligned copy and layout */
.hero__copy, .play__head, .final, .reg__copy, .fine--center, .kicker, .mk, .fogcard, .sechead { text-align: left; }
.hero__sub, .final .lede, .final--reg .lede, .play__head .h2, .play__head .lede, .final .h2 { margin-left: 0; margin-right: 0; }
.hero__cta, .tctl, .center, .tsteps, .perks--chips { justify-content: flex-start; }
@media (max-width: 999px) {
  .hero__copy { width: 100%; max-width: var(--wrap); padding: 0 20px; }
}
@media (max-width: 900px) { .reg__copy { text-align: left; } .reg__copy .final__duo { margin: 0 0 6px -10px; } .final--reg .lede { margin-inline: 0; } .perks--chips { justify-content: flex-start; } }

/* symbols row: starts at the left edge of the content */
.flow { justify-content: space-between; max-width: 980px; margin-left: 0; margin-right: auto; margin-top: clamp(8px, 2vw, 20px); margin-bottom: clamp(32px, 4vw, 48px); }

/* market: 3 rewards + 1 fog column */
.market { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin: 0; }
.market-wrap { margin-bottom: clamp(72px, 9vw, 120px); }
.mk__pay { margin: 0; align-self: flex-start; }
.mk--fog { position: relative; overflow: hidden; padding: 0; min-height: 320px; background: rgba(255,255,255,.3); }
.fogv { position: absolute; inset: 0; overflow: hidden; }
.fogv__track { display: flex; flex-direction: column; row-gap: 14px; padding: 14px; filter: blur(9px) saturate(.6); opacity: .85; will-change: transform; }
.fogv .fogcard { width: 100%; flex: none; }
.fogv .fogcard__art { height: 130px; }
.fogv__veil { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0; padding: 22px 20px;
  background: linear-gradient(180deg, rgba(126,240,248,.15) 0%, rgba(126,240,248,.55) 55%, rgba(170,246,251,.92) 100%); }
.fogv__veil .fog__title { margin: 0 0 6px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; text-align: left; color: var(--ink); }
.fogv__veil .fog__text { margin: 0 0 16px; font-size: 14.5px; text-align: left; }
@media (max-width: 1100px) { .market { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk--fog { min-height: 380px; } }
@media (max-width: 760px) { .market { display: flex; } .mk--fog { flex: 0 0 76%; min-height: auto; } }

/* "Hraj chytře" right under the chart */
.earn__body .lede { margin: 0 0 10px; }
.earn__body .fine { margin: 16px 0 0; text-align: left; }

/* Coins: more air between the title and its line */
.fuel__head { display: block; margin-bottom: 22px; }

/* v12 — faint game chart behind the fighters (assets/js/herochart.js) */
.hero__chart { position: absolute; left: 0; right: 0; top: calc(var(--navh) + 14svh); height: 46svh; width: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.hero__q { margin: 0; }
.hero__q { margin: 0 0 12px; }
@media (min-width: 1000px) { .hero__q { margin: 0; } }
.hero__chart { top: 40%; height: 40%; opacity: 0; transform: scale(.985); transition: opacity .12s ease-out, transform .25s cubic-bezier(.34,1.56,.64,1); }
.hero__chart.is-on { opacity: 1; transform: none; }

/* v13 — nav wordmark hidden while the hero is on screen */
.nav__brand .nav__word { transition: filter .3s, opacity .35s ease, transform .35s ease; }
.nav.in-hero .nav__word { opacity: 0; transform: translateX(-10px); pointer-events: none; }

/* v14 — panel order (title → symbols → text → rewards → coins), game-UI demo panels, compact footer */
.earn__title { margin: clamp(8px, 2vw, 20px) 0 clamp(24px, 3vw, 36px); max-width: 22ch; font-size: clamp(32px, 3.7vw, 54px); }
.earn__body { max-width: 640px; margin: 0 0 clamp(36px, 4vw, 52px); }
.earn__body .lede { margin: 0 0 10px; }
.earn__body .fine { margin: 14px 0 0; text-align: left; }
.flow { margin-bottom: clamp(24px, 3vw, 36px); }
.market-wrap { margin-bottom: clamp(48px, 6vw, 72px); }
.play__inner .fuel { margin: 0 0 clamp(72px, 9vw, 120px); }

/* game panels inside the cards (same look as the in-game Ranks screen) */
.gpanel { margin-top: auto; border-radius: 18px; overflow: hidden; background: #F2F6F9; color: #13232C; border: 1px solid #fff;
  box-shadow: 0 22px 40px -26px rgba(4,32,45,.55); font-family: inherit; }
.gpanel__top { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #FAFCFD; box-shadow: 0 6px 14px -10px rgba(19,35,44,.25); }
.gpanel__top .rkp-back { position: static; font-size: 24px; line-height: 1; color: #22C77E; }
.gpanel__top .rkp-title { margin: 0; font-size: 15px; font-weight: 800; color: #13232C; }
.gpanel__tab { margin-left: auto; padding: 3px 9px; border-radius: 6px; background: #2EEA9C; color: #0B2C1E; font-size: 11px; font-weight: 800; }
.gpanel__body { list-style: none; margin: 0; padding: 10px 10px 12px; display: grid; gap: 6px; }
.gp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; background: #fff;
  border: 1.5px solid transparent; box-shadow: 0 1px 2px rgba(19,35,44,.05); font-size: 13px; font-weight: 700; color: #13232C; }
.gp-row.is-hot { border-color: #22D98C; }
.gp-timer { padding: 3px 8px; border-radius: 6px; background: #2EEA9C; color: #0B2C1E; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-row:not(.is-hot) .gp-timer { background: #E3E9ED; color: #13232C; }

/* leaderboard = Ranks screen rows */
.lbg-cols, .lbg__row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 58px; gap: 8px; align-items: center; }
.lbg-cols { padding: 9px 20px 4px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #7C8B94; }
.lbg-cols span:last-child { text-align: right; }
.lbg { list-style: none; margin: 0; padding: 4px 10px 12px; display: grid; gap: 5px; }
.lbg__row { padding: 8px 10px; }
.lbg__row.is-me { margin-top: 6px; }
.lbg__pos { font-weight: 800; font-size: 13px; color: #7C8B94; font-variant-numeric: tabular-nums; }
.lbg__pos.top1 { color: #C99400; } .lbg__pos.top2 { color: #5E7F8C; } .lbg__pos.top3 { color: #A35A2A; }
.lbg__name { font-size: 13px; font-weight: 700; color: #13232C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbg .rkp-badge { min-width: 30px; height: 22px; font-size: 10.5px; }
.lbg .rkp-val { color: #13232C; }

/* academy + stats inside game panels */

/* footer: brand + links left, legal right, low height */
.foot { padding: 26px 0 22px; }
.foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px 48px; align-items: start; }
.foot__left { display: grid; gap: 8px; }
.foot__brand .foot__mark { height: 40px; } .foot__grid .foot__brand img:not(.foot__mark) { width: 120px; margin: 0; }
.foot__legal { grid-column: 2; grid-row: 1; text-align: right; justify-self: end; max-width: 64ch; font-size: 13px; line-height: 1.55; }
.foot__meta { grid-column: 1 / -1; font-size: 12.5px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; } .foot__legal { grid-column: 1; grid-row: auto; text-align: left; justify-self: start; } }
.lbg-cols, .lbg__row { grid-template-columns: 20px minmax(0, 1fr) 36px 50px; gap: 6px; }
.lbg-cols { padding-inline: 18px; }
.lbg .rkp-badge { min-width: 0; width: 100%; padding: 0 4px; }

/* v15 — more air between every section */
#play.section, #contesty.section, #faq.section, #odmeny.section { padding-block: clamp(96px, 10vw, 150px); }
.final--reg { padding-block: clamp(88px, 9vw, 140px); }
.play__inner { padding-bottom: clamp(96px, 10vw, 150px); }
.earn__body { margin-bottom: clamp(56px, 6vw, 80px); }
.market-wrap { margin-bottom: clamp(88px, 9vw, 130px); }
.play__inner .fuel { margin-bottom: clamp(120px, 12vw, 180px); }

/* v16 — paragraphs at most 35 % of the content width on desktop */
@media (min-width: 1000px) {
  :root { --para: calc(min(var(--wrap), 100vw - 40px) * .40); }
  .lede, .hero__sub, .earn__body .fine, .play__inner > .wrap > .fine, .fuel__head .lede, .final--reg .lede,
  .sechead .lede, .play__head .lede, #play .lede, .howto .sechead .lede { max-width: var(--para); }
  .earn__body { max-width: none; }
}

/* v17 — one vertical rhythm for the whole page
   --sec: between sections · --in: between blocks inside a section · --head: heading → its content */
:root { --sec: clamp(96px, 11vw, 160px); --in: clamp(40px, 4vw, 56px); --head: clamp(24px, 2.2vw, 32px); }
#play.section, #contesty.section, #faq.section { padding-block: calc(var(--sec) / 2); }
.play__inner { padding-top: calc(var(--sec) / 2); padding-bottom: calc(var(--sec) / 2); }
.final--reg { padding-block: calc(var(--sec) / 2); }

/* section 2: title → symbols → text → rewards | coins | demo + steps */
.earn__title { margin: 0 0 var(--head); }
.flow { margin: 0 0 var(--head); }
.earn__body { margin: 0 0 var(--in); }
.market-wrap { margin: 0 0 var(--sec); }
.play__inner .fuel { margin: 0 0 var(--sec); }
.fuel__head { margin-bottom: var(--head); }

/* ranks + cards + FAQ + sign-up */
#play .h2 { margin-bottom: var(--head); }
#faq .h2 { margin: 0 0 var(--head); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { margin: 0; }
.wave__grid { align-items: start; }
.reg__copy .h2 { margin-bottom: 14px; }

/* v18 — hero copy uses the same container as the sections below */
.hero__copy { width: min(var(--wrap), calc(100% - 40px)); max-width: none; padding: 0; margin-left: auto; margin-right: auto; }
@media (min-width: 1000px) {
  .hero__copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .hero__q { max-width: 14ch; }
}

/* v19 — FAQ block centered in the page (questions stay left-aligned inside) */
#faq .wrap { display: flex; flex-direction: column; align-items: center; }
#faq .h2 { text-align: center; }
#faq .faq { width: 100%; max-width: 860px; margin-inline: auto; }

/* v20 — more air around the footer tagline */
.foot__left { gap: 0; }
.foot__tag { margin: 18px 0 16px; }

/* v21 — two columns: text left, CTA / line right; demo buttons on the right */
@media (min-width: 860px) {
  .earn__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .fuel__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
}
.earn__text .fine { margin: 14px 0 0; }

/* v22 — symbols → title → [rewards text | coins] → rewards */
.flow { margin: 0 0 var(--in); }
.earn__title { margin: 0 0 var(--head); }
.earn__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--in) clamp(40px, 5vw, 72px); align-items: start; margin: 0 0 var(--in); }
.earn__body .fuel { margin: 0; }
.earn__body .fuel__head { display: block; margin: 0 0 18px; }
.fuel__title { margin: 0 0 8px; font-stretch: 112%; font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.1; }
.earn__body .coins3 { grid-template-columns: 1fr; gap: 10px; }
.earn__body .coinCard { padding: 14px 18px; }
@media (max-width: 860px) { .earn__body { grid-template-columns: 1fr; } }

/* v23 — section 2, calmer: symbols on the full grid width; heading + text left, quiet Coins panel right, both starting on one line */
.flow { max-width: none; margin: 0 0 var(--sec); justify-content: space-between; }
.flow__node { width: clamp(64px, 8vw, 112px); }
.flow__arrow { max-width: none; }

.earn__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--in) clamp(48px, 6vw, 96px); align-items: start; margin: 0 0 var(--sec); }
.earn__text .earn__title { margin: 0 0 var(--head); max-width: 13ch; font-size: clamp(34px, 3.6vw, 52px); }
.earn__text .lede { margin: 0 0 12px; }
.earn__text .fine { margin: 16px 0 0; max-width: var(--para, 480px); }

.earn__body .fuel { padding: 28px 28px 10px; border-radius: 24px; background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px -36px rgba(4,60,80,.45); }
.earn__body .fuel__head { margin: 0 0 8px; }
.fuel__title { font-size: clamp(20px, 1.7vw, 24px); margin: 0 0 6px; }
.earn__body .coins3 { gap: 0; }
.earn__body .coinCard { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; align-items: center; padding: 16px 0; border: 0; border-top: 1px solid rgba(11,44,58,.1);
  border-radius: 0; background: none; box-shadow: none; }
.earn__body .coinCard .coin3d { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; filter: drop-shadow(0 6px 8px rgba(120,80,0,.25)); }
.earn__body .coin3d--stack { filter: drop-shadow(0 3px 0 #B4810F) drop-shadow(0 6px 8px rgba(120,80,0,.25)); }
.earn__body .coin3d--skill { filter: hue-rotate(105deg) saturate(1.15) drop-shadow(0 6px 8px rgba(10,110,70,.25)); }
.earn__body .coin3d span { display: none; }
.earn__body .coinCard .h3 { margin: 0; font-size: 16px; align-self: end; }
.earn__body .coinCard p { margin: 0; font-size: 14px; line-height: 1.45; color: #2F6474; align-self: start; }
@media (max-width: 860px) { .earn__body { grid-template-columns: 1fr; } }
.flow { margin-bottom: calc(var(--in) * 1.6); }
.earn__body { margin-bottom: calc(var(--in) * 1.6); }

/* v24 — even heights: cards share rows (chip · title · text · panel · CTA), CTAs full width, prices sit on one line */
@supports (grid-template-rows: subgrid) {
  .trio--4 { grid-template-rows: auto auto auto 1fr auto; row-gap: 0; }
  .trio--4 .trio__card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .trio--4 .trio__card > .chip { margin-bottom: 14px; }
  .trio--4 .trio__card > .h3 { margin: 0 0 10px; }
  .trio--4 .trio__txt { margin-bottom: 18px; }
  .trio--4 .gpanel { margin-top: 0; align-self: start; }
}
.trio__txt p { margin: 0 0 8px; color: #2F6474; font-size: 14px; line-height: 1.5; }
.trio__txt p:last-child { margin-bottom: 0; }
.trio__cta { align-self: stretch; justify-self: stretch; width: 100%; margin-top: 16px; }
@media (max-width: 680px) { .trio--4 { grid-template-rows: none; } .trio--4 .trio__card { display: flex; grid-row: auto; } }

.mk__was { margin-top: auto; }
.mk__name { margin-bottom: 6px; }
@supports (grid-template-rows: subgrid) { .trio--4 .gpanel { align-self: stretch; } }
.fogv__veil { padding: 22px 14px 20px; }
.fogv__veil .fog__title, .fogv__veil .fog__text { padding-inline: 6px; }
.fogv__veil .btn { align-self: stretch; width: 100%; }

/* v25 — smaller title + fighters, more air in the hero */
.hero__scene { --w: min(840px, 84vw, calc((100svh - var(--navh) - 330px) / 1.054)); }
@media (max-width: 700px) { .hero__scene { --w: min(86vw, calc((100svh - var(--navh) - 400px) / 1.054)); } }
@media (min-width: 1000px) { .hero__scene { --w: min(860px, 80vw, calc((100svh - var(--navh) - 250px) / 1.054)); } }
.hero__copy { margin-top: clamp(16px, 3svh, 36px); }
@media (max-width: 700px) { .hero__scene { --w: min(76vw, calc((100svh - var(--navh) - 420px) / 1.054)); --tw: min(80vw, calc(var(--w) * 1.3)); } }

/* v26 — rewards first in section 2, CTA under them on the right; ranks copy with a sub-heading */
.market-wrap { margin: 0 0 calc(var(--in) * 1.6); }
.trio--4 .trio__card > .chip { justify-self: start; align-self: start; }

/* v27 — hero: three-line headline, intro under it, smaller */
.hero__q { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; max-width: none; }
.hero__q span { display: block; }
.hero__intro { margin: 12px 0 0; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.55; color: #17485A; max-width: 44ch; }
@media (min-width: 1000px) { .hero__lead { grid-row: 1 / 3; align-self: start; } .hero__q { margin: 0; } }
@media (max-width: 999px) { .hero__lead { margin-bottom: 12px; } .hero__q { margin-bottom: 0; } }
.flow { margin-bottom: var(--in); }
.market-wrap { margin-bottom: calc(var(--in) * 1.6); }
/* hero CTA on the right edge of the content */
@media (min-width: 1000px) { .hero__cta { justify-content: flex-end; } }

/* prize symbol: phone, headphones, controller + a car in front */
.flow__node--prize { width: clamp(96px, 13vw, 184px); aspect-ratio: 1.45; }
.flow__fan img { width: 56%; height: 82%; top: 38%; }
.flow__fan img:nth-child(1) { translate: -88% -50%; }
.flow__fan img:nth-child(2) { translate: -12% -48%; }
.flow__fan img:nth-child(3) { translate: -50% -54%; }
.flow__fan img.flow__car { width: 104%; height: auto; top: 74%; left: 50%; translate: -50% -50%; rotate: 0deg; opacity: 1; filter: drop-shadow(0 12px 12px rgba(4,32,45,.35)); }
.flow__node--prize .flow__pay { bottom: -16%; }
/* demo note straight under the chart, buttons on the same row to the right */

/* prize symbol, calmer: car in front, phone + headphones peeking from behind */
.flow__fan--clean img { position: absolute; translate: none; rotate: none; opacity: 1; filter: none; }
.flow__fan--clean .ff-head { width: 40%; height: auto; left: 8%; top: 4%; rotate: -10deg; opacity: .85; }
.flow__fan--clean .ff-phone { width: 40%; height: auto; right: 6%; left: auto; top: -2%; rotate: 8deg; }
.flow__fan--clean .flow__car { width: 100%; height: auto; left: 0; top: auto; bottom: 4%; translate: none; filter: drop-shadow(0 10px 10px rgba(4,32,45,.28)); }
@media (prefers-reduced-motion: no-preference) { .flow__fan--clean { animation: hoverS 3.6s ease-in-out infinite alternate; } .flow__fan--clean img { animation: none; } }
.flow__fan--clean .ff-head { width: 30%; left: 16%; top: 16%; rotate: -8deg; opacity: 1; }
.flow__fan--clean .ff-phone { width: 30%; right: 16%; top: 4%; rotate: 6deg; }
.flow__fan--clean .flow__car { bottom: 14%; }
.flow__node--prize .flow__pay { bottom: -14%; }
.flow__fan--clean .ff-head { width: 36%; left: 12%; top: 14%; rotate: -10deg; }
.flow__fan--clean .ff-phone { width: 40%; right: 12%; top: 2%; rotate: 8deg; }
.flow__fan--clean .flow__car { width: 96%; left: 2%; bottom: 10%; }
.flow__node--prize .flow__pay { bottom: -20%; }
.flow__fan--clean .ff-head { top: 30%; left: 14%; }
.flow__fan--clean .ff-phone { top: 18%; right: 14%; }

/* v28 — compact symbol row: smaller symbols, short arrows, starts at the left */
.flow { justify-content: flex-start; gap: clamp(8px, 1.2vw, 16px); }
.flow__node { width: clamp(52px, 6vw, 84px); }
.flow__node--prize { width: clamp(84px, 9.5vw, 136px); }
.flow__arrow { flex: 0 0 clamp(28px, 4.5vw, 72px); min-width: 0; }
.flow__badge, .flow__pay { font-size: clamp(10px, 1vw, 13px); }
@media (max-width: 520px) { .flow { gap: 6px; } .flow__node { width: 46px; } .flow__node--prize { width: 78px; } .flow__arrow { flex-basis: 18px; } .flow__arrow::after { width: 6px; height: 6px; } }
/* no demo game any more: steps follow the rewards block with an in-section gap */

/* v29 — ranks as tiles F → G.O.A.T. */
.rtile.is-start { border-color: #22D98C; box-shadow: 0 0 0 1.5px #22D98C, 0 22px 40px -28px rgba(4,32,45,.55); }
.rtile__badge.is-light { color: #fff; }
.rtile__badge.is-goat { font-size: 13px; letter-spacing: .02em; }
.rtile__tag { position: absolute; right: 10px; top: 14px; padding: 3px 7px; border-radius: 6px; background: #2EEA9C; color: #0B2C1E; font-style: normal; font-size: 10px; font-weight: 800; }
@media (max-width: 600px) {
  .rtiles::-webkit-scrollbar { display: none; } }
.rtile__tag { top: auto; bottom: calc(100% - 10px); right: 8px; }
.rtile__tag { position: static; display: inline-block; }

/* v30 — symbol row across the full content width (symbols stay compact, arrows fill the gaps) */
.flow { justify-content: space-between; max-width: none; margin-right: 0; }
.flow__arrow { flex: 1 1 0; max-width: none; min-width: 18px; }

/* v31 — hero contest banner in the game's look */
.cban { --cg: #6BE6A5; --cg-d: #0F5E3A; width: min(100%, 440px); font-family: inherit; }
.cban__tabs { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.cban__tab { position: relative; padding: 12px 16px 10px; border: 0; border-radius: 12px 12px 0 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: left; color: rgba(11,44,58,.38); }
.cban__tab + .cban__tab:not(.is-on)::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 10px; width: 2px; background: rgba(11,44,58,.12); }
.cban__tab.is-on { background: var(--cg); color: var(--cg-d); }
.cban__tab.is-on + .cban__tab::before { display: none; }
.cban__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.cban__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px;
  background: var(--cg); border-radius: 0 12px 12px 12px; box-shadow: 0 24px 44px -26px rgba(4,60,40,.6); }

.cban__bars { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.14) 8px 12px) 62% 0 / 34% 100% no-repeat; opacity: .8; }
.cban__pool { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 10px 16px; border-radius: 4px; text-align: center;
  background: linear-gradient(115deg, #fff 0 46%, #EEFBF4 46% 60%, #fff 60%); color: var(--cg-d); }
.cban__pool span { font-size: 14px; font-weight: 600; }
.cban__pool b { font-stretch: 105%; font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cban__pool b::after { content: ""; display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--cg); }
@media (max-width: 520px) { .cban__tab { font-size: 13px; padding: 10px 10px 8px; } .cban__panel { grid-template-columns: 1fr; } }

/* O nás */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--head) clamp(40px, 5vw, 72px); align-items: start; }
.about__grid .h2, .about__grid .lede { margin: 0; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
#o-nas.section { padding-block: calc(var(--sec) / 2); }

/* v32 — ranks: text left, one game card with a line per rank (no economy numbers) */
.ranks__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--in) clamp(40px, 5vw, 72px); align-items: start; }
.ranks__grid .h2 { margin: 0 0 var(--head); }
.ranks__grid .lede { margin: 0; }
.rcard { margin: 0; width: min(100%, 460px); justify-self: end; }
.rlines { gap: 5px; }
.rline { display: flex; align-items: center; gap: 14px; padding: 9px 12px; }
.rline .rkp-badge { width: 44px; min-width: 44px; height: 28px; padding: 0; font-size: 13px; }
.rline .rkp-badge.is-goat { width: auto; padding: 0 8px; font-size: 11px; height: 28px; box-shadow: none; }
.rline__steps { font-size: 13px; font-weight: 700; color: #4F6470; }
.rline .rtile__tag { margin-left: auto; }
@media (max-width: 860px) { .ranks__grid { grid-template-columns: 1fr; } .rcard { justify-self: start; } }

/* hero banner, mobile: compact */
@media (max-width: 700px) {
  .cban__panel { grid-template-columns: 1fr auto; padding: 12px; gap: 10px; }
  .cban__pool { padding: 8px 6px 10px; } .cban__pool span { font-size: 12px; } .cban__pool b { font-size: 20px; }
  .cban__tab { padding: 8px 10px 6px; font-size: 12px; }
}

/* v33 — contest banner: white card, CTA built in */
.cban { width: min(100%, 460px); padding: 8px 8px 0; border-radius: 22px; background: #fff; border: 1px solid #fff;
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(4,60,80,.55), 0 0 0 1px rgba(11,44,58,.04); overflow: hidden; }
.cban__tabs { gap: 4px; padding: 0 0 8px; }
.cban__tab { border-radius: 12px; padding: 9px 12px; font-size: 13.5px; color: #8A99A3; background: transparent; }
.cban__tab + .cban__tab:not(.is-on)::before { display: none; }
.cban__tab.is-on { background: #6BE6A5; color: #0F5E3A; }
.cban__tab:not(.is-on):hover { background: #F2F6F9; color: #4F6470; }
.cban__panel { border-radius: 16px; background: #F2F6F9; box-shadow: none; padding: 14px; }
.cban__bars { background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(107,230,165,.18) 8px 12px) 62% 0 / 34% 100% no-repeat; }
.cban__pool { background: linear-gradient(115deg, #fff 0 46%, #F2FDF7 46% 60%, #fff 60%); box-shadow: 0 1px 2px rgba(19,35,44,.06); }
.cban__btn { flex: none; }
.cban__tab { padding: 8px 10px; font-size: 13px; white-space: nowrap; text-align: center; }
.cban__panel { padding: 10px; gap: 12px; }
.cban__pool { padding: 8px 10px 10px; }
.cban__pool span { font-size: 12.5px; }
.cban__pool b { font-size: clamp(20px, 1.8vw, 24px); }
.cban__pool b::after { height: 4px; margin-top: 4px; }
@media (min-width: 1000px) { .hero__scene { --w: min(820px, 76vw, calc((100svh - var(--navh) - 300px) / 1.054)); } }
@media (max-width: 700px) {
  .cban__tab { font-size: 11.5px; padding: 7px 4px; }
  .hero__scene { --w: min(72vw, calc((100svh - var(--navh) - 460px) / 1.054)); }
}
.lbg-cols, .lbg__row { grid-template-columns: 20px minmax(0, 1fr) 36px 62px; }
.lbg-cols span:last-child { text-align: right; letter-spacing: .02em; }
.lbg-cols, .lbg__row { grid-template-columns: 16px minmax(0, 1fr) 32px auto; gap: 6px; }
.lbg-cols { font-size: 9.5px; letter-spacing: .03em; padding-inline: 16px; }
.lbg__row { padding: 8px 8px; }
.lbg__name { font-size: 12.5px; }
.lbg .rkp-badge { font-size: 10px; }
.lbg .rkp-val { font-size: 12.5px; }

/* v34 — coin packages carousel (inside the Coins panel) */
.packs__track::-webkit-scrollbar { display: none; }

/* contest banner, more designed: live pill, glossy flip tiles with labels */
.cban__panel { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; row-gap: 8px; }
.cban__live { grid-column: 1 / -1; margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0F5E3A; position: relative; }
.cban__live i { width: 8px; height: 8px; border-radius: 50%; background: #E0195A; box-shadow: 0 0 0 0 rgba(224,25,90,.5); }
@media (prefers-reduced-motion: no-preference) { .cban__live i { animation: livePulse 1.6s ease-out infinite; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(224,25,90,.55); } 100% { box-shadow: 0 0 0 8px rgba(224,25,90,0); } }
.cban__pool { border: 1px solid rgba(107,230,165,.6); }
@media (min-width: 1000px) { .hero__scene { --w: min(800px, 74vw, calc((100svh - var(--navh) - 340px) / 1.054)); } }
@media (max-width: 700px) { .hero__scene { --w: min(66vw, calc((100svh - var(--navh) - 520px) / 1.054)); } .cban__live { font-size: 10px; } }

/* v35 — coin pile illustration on the Coins panel */
.earn__body .fuel { position: relative; overflow: visible; }
.earn__body .fuel__head { padding-right: clamp(90px, 9vw, 140px); }

/* standalone contest section (inside the panel, after rewards) */

/* 3 remaining cards */
@media (min-width: 1000px) {
  .hero__scene { --w: min(860px, 80vw, calc((100svh - var(--navh) - 250px) / 1.054)); }
  #heroSub { justify-self: end; align-self: end; }
}
@media (max-width: 700px) { .hero__scene { --w: min(76vw, calc((100svh - var(--navh) - 420px) / 1.054)); } }
@media (min-width: 1000px) { #heroSub { grid-row: 1 / 3; grid-column: 2; } }

/* v36 — coin packages as their own block (where steps 01–04 were) */

/* v37 — banner back in the hero: undo the CTA-only hero overrides */
@media (min-width: 1000px) {
  .hero__scene { --w: min(800px, 74vw, calc((100svh - var(--navh) - 340px) / 1.054)); }
  #heroSub { grid-row: auto; grid-column: auto; justify-self: stretch; align-self: start; }
}
@media (max-width: 700px) { .hero__scene { --w: min(66vw, calc((100svh - var(--navh) - 520px) / 1.054)); } }

/* v38 — coin pile next to the "Balíčky coins" title */
.earn__body .fuel__head { padding-right: 0; }

/* v39 — hero banner spans the whole right column (right edge = content edge below) */
@media (min-width: 1000px) { #heroSub { justify-self: stretch; } #heroSub .cban { width: 100%; max-width: none; } }
@media (min-width: 1000px) { .hero__copy .hero__sub#heroSub { max-width: none; width: 100%; margin: 0; } }

/* v40 — package cards: a coin pile that grows with the package */

/* v41 — loose 3D coin heap */

/* v42 — package piles from the illustrated set; size scales with the package */

/* v43 — green candle sitting on the "Oblíbený" card */

/* v44 — PLAY as a chunky 3D tile, same depth language as the coin */
.flow__node--play .play3d { width: 96%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) { .flow__node--play .play3d { animation: hoverS 3.6s ease-in-out -1.2s infinite alternate; } }
.flow__node--play { perspective: 420px; }
.flow__node--play .play3d { width: 92%; transform: rotateX(16deg) rotateY(-16deg) rotateZ(-4deg); filter: drop-shadow(0 12px 12px rgba(4,50,63,.28)); }
@media (prefers-reduced-motion: no-preference) { .flow__node--play .play3d { animation: none; } .flow__node--play { animation: hoverS 3.6s ease-in-out -1.2s infinite alternate; } }
/* PLAY stands upright like the coin: no CSS tilt, depth is in the artwork (edge toward bottom-left) */
.flow__node--play { perspective: none; }
.flow__node--play .play3d { width: 96%; transform: rotate(-8deg); filter: drop-shadow(0 16px 14px rgba(4,50,63,.28)); }
.flow__node--play .play3d { transform: none; }
/* heart symbol: the candle heart artwork */
.flow__node--heart > img { width: 100%; filter: drop-shadow(0 14px 16px rgba(160,11,40,.35)); }
.flow__node--heart > img { width: 118%; max-width: none; margin-inline: -9%; }

/* footer mark in the same proportion to the wordmark as in the nav */
.foot__brand { gap: 10px; }
.foot__brand .foot__mark { height: 44px; width: auto; }
/* new PLAY tile artwork */
.flow__node--play .play3d { width: 100%; transform: none; filter: drop-shadow(0 12px 12px rgba(4,50,63,.25)); }

/* red fighter jumping in from the top-right corner of the footer */
.foot { position: relative; overflow: visible; }

/* v45 — all six packages visible at once (no carousel) */
/* v46 — sad beggar candle sitting on the Starting card */
/* v47 — new mascots: jumping green on M, beggar red inside Starting (in place of the pile) */
/* v48 — new beggar (in-card) + rich green with top hat on XXL */
/* beggar anchored to the right edge so his feet never cover the STARTING label */

/* Starting: one coin stays behind the beggar */

/* v50 — hero dock: frosted tray docked to the right screen edge; contest card + two game screens (Live pořadí, Pořadí v ranku) */
.hero__copy { --bleed: max(20px, calc((100vw - var(--wrap)) / 2)); }
@media (min-width: 1000px) {
  .hero__copy { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); column-gap: clamp(28px, 3vw, 48px); }
}
#heroSub { min-width: 0; width: auto !important; margin-right: calc(-1 * var(--bleed)) !important; }
.cdock { position: relative; display: flex; align-items: stretch; gap: 10px; padding: 10px; padding-right: max(10px, calc(var(--bleed) - 10px));
  background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.75); border-right: 0; border-radius: 28px 0 0 28px;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 40px 80px -40px rgba(4,60,80,.55), inset 0 1px 0 rgba(255,255,255,.8);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 10px; scrollbar-width: none; will-change: transform; }
.cdock::-webkit-scrollbar { display: none; }
.cdock > * { scroll-snap-align: start; }
.cdock .cban { flex: 0 0 clamp(360px, 29vw, 420px); width: auto; max-width: none; margin: 0; border: 1px solid #fff; border-radius: 20px;
  box-shadow: 0 18px 36px -24px rgba(4,32,45,.5); }
.cboard { flex: 0 0 clamp(250px, 19vw, 284px); display: flex; }
.cpanel { margin: 0; flex: 1; display: flex; flex-direction: column; border-radius: 20px; }
.cpanel .gpanel__top { padding: 10px 12px; }
.cpanel .rkp-title { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.cpanel .gpanel__tab { white-space: nowrap; }
.cpulse { width: 7px; height: 7px; border-radius: 50%; background: #E0195A; box-shadow: 0 0 0 0 rgba(224,25,90,.5); }
@media (prefers-reduced-motion: no-preference) { .cpulse { animation: livePulse 1.6s ease-out infinite; } }
.cpanel .lbg-cols { padding: 9px 22px 2px 22px; }
.cpanel .lbg-cols, .cpanel .lbg__row { grid-template-columns: 16px minmax(0, 1fr) auto 62px; gap: 8px; }
.cpanel .lbg { padding: 4px 10px 10px; gap: 5px; }
.cpanel .lbg__row { padding: 8px 10px; transition: box-shadow .3s, border-color .3s; }
.cpanel .lbg__name { font-size: 12.5px; }
.cpanel .rkp-badge { min-width: 28px; height: 20px; padding: 0 5px; font-size: 10px; border-radius: 5px; }
.cpanel .rkp-val { gap: 4px; font-size: 12.5px; }
.cpanel .rkp-val b { font-weight: 800; padding: 1px 4px; margin-right: -4px; border-radius: 4px; transition: background .5s, color .5s; }
.crail { display: flex; gap: 4px; padding: 10px 10px 2px; }
.crail__b { flex: 1; min-width: 0; height: 24px; padding: 0 2px; border: 0; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800;
  opacity: .38; filter: saturate(.7); transition: opacity .2s, transform .2s, box-shadow .2s, filter .2s; }
.crail__b:hover { opacity: .75; }
.crail__b.is-on { opacity: 1; filter: none; transform: translateY(-1px); box-shadow: 0 0 0 2px #F2F6F9, 0 0 0 3.5px var(--rc); }
.crail__b:last-child { flex: 1.7; }
.crail__b:focus-visible { outline: 2px solid #13232C; outline-offset: 2px; }
.cdock__note { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 11.5px; color: #3E6676; }
.cdock__note i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1.2px solid currentColor; font: italic 700 10px/1 Georgia, serif; }
@media (max-width: 999px) {
  #heroSub { margin-right: -20px !important; }
  .cdock { border-radius: 24px 0 0 24px; padding-right: 20px; }
  .cdock .cban { flex-basis: min(420px, calc(100vw - 72px)); }
  .cboard { flex-basis: 268px; }
}
@media (min-width: 1000px) { .hero__copy { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); } }
.cdock { padding-right: 12px; }
.cdock .cban { flex-basis: clamp(340px, 26vw, 400px); }
.cboard { flex-basis: clamp(240px, 17.5vw, 270px); }
.crail__b { opacity: .5; }
.cdock__note { font-size: 12px; color: #2C5868; }
/* v51 — CTA out of the card: under the dock, pushed to the content's right edge */
.cdock .cban { display: flex; flex-direction: column; padding: 8px; }
.cdock .cban__panel { flex: 1; }
.cdock__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 14px; padding-right: var(--bleed); }
.cdock__note { margin: 0; }
@media (max-width: 999px) {
  .cdock__bar { padding-right: 20px; flex-direction: column-reverse; align-items: stretch; }
}
/* hero chart: only the left side fades, the game's level tags stay crisp on the right edge */
.hero__chart { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%); mask-image: linear-gradient(90deg, transparent 0, #000 8%); }
.cdock .cban { flex-basis: clamp(340px, 25vw, 400px); }
.cboard { flex-basis: clamp(236px, 17vw, 266px); }
.cdock__note { white-space: nowrap; }
@media (max-width: 999px) { .cdock__note { white-space: normal; } }
/* v52 — pool in hearts, no countdown; free-coins claim under the hero intro */
.cdock .cban__panel { grid-template-columns: 1fr; align-content: center; }
.cban__pool b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cban__pool b::after { flex-basis: 100%; }
.cban__heart { width: 1.25em; height: 1em; background: url(../img/heart-candle.webp?v=1) center / contain no-repeat; filter: drop-shadow(0 3px 4px rgba(160,10,50,.3)); }
.cdock .cban__pool { padding: 14px 12px 14px; }
.cdock .cban__pool b { font-size: clamp(28px, 2.6vw, 36px); }
.hero__claim { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); font-size: 14.5px; font-weight: 700; color: #0E3B4A; }
.hero__claim .coin-ico { width: 20px; height: 20px; }
.cdock__bar { margin-top: 12px; }
.cban__pool b span { font: inherit; color: inherit; }
/* dock boards without the success %, calmer */
.cpanel .rkp-val { display: none; }
.cpanel .lbg-cols, .cpanel .lbg__row { grid-template-columns: 16px minmax(0, 1fr) auto; }
.cpanel .lbg-cols span:last-child { text-align: right; }
.cpanel .lbg__name { font-size: 13px; }
/* v53 — slimmer contest card, no underline under the pool */
.cban__pool b::after { display: none; }
.cdock .cban { flex-basis: clamp(290px, 21vw, 330px); }
.cdock .cban__tab { font-size: 13px; padding: 7px 8px; }
.cdock .cban__pool { padding: 10px 10px 12px; }
.cdock .cban__pool b { font-size: clamp(24px, 2.1vw, 30px); }
.cdock .cban__panel { padding: 10px; row-gap: 6px; }
@media (max-width: 999px) { .cdock .cban { flex-basis: min(330px, calc(100vw - 72px)); } }
/* hero chart stays a quiet background layer */
.hero__chart.is-on { opacity: .62; }
/* v54 — dock hugs its content and sits at the right edge; free-coins line is quiet secondary text */
@media (min-width: 1000px) {
  #heroSub { display: flex; flex-direction: column; align-items: flex-end; }
  .cdock { max-width: 100%; }
  .cdock__bar { align-self: stretch; }
}
.hero__claim { padding: 0; background: none; border: 0; border-radius: 0; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #2C5868; gap: 7px; }
.hero__claim .coin-ico { width: 16px; height: 16px; }
@media (min-width: 1000px) { .cdock__bar { justify-content: flex-end; gap: 28px; } }
/* note starts at the dock's left edge, CTA stays at the content's right edge */
@media (min-width: 1000px) {
  #heroSub { justify-self: end; width: fit-content !important; max-width: calc(100% + var(--bleed)); align-items: stretch; }
  .cdock__bar { justify-content: space-between; }
}
@media (min-width: 1000px) { .hero__copy .hero__sub#heroSub { max-width: calc(100% + var(--bleed)) !important; } .cdock { min-width: 0; } }
/* v55 — pool split: hearts | main prize; success % back in the boards */
.cdock .cban__pool { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 0; overflow: hidden; background: #fff; }
.cban__bank { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; }
.cban__bank > span { font-size: 12.5px; font-weight: 600; }
.cban__bank b { display: inline-flex; align-items: center; gap: 6px; }
.cban__prize { position: relative; align-self: stretch; display: grid; place-items: center; padding: 6px 8px; border-left: 1px solid rgba(107,230,165,.6);
  background: radial-gradient(80% 70% at 50% 60%, #E9FBF2, #fff 75%); }
.cban__prize img { width: 100%; max-width: 150px; height: auto; filter: drop-shadow(0 8px 10px rgba(4,40,50,.25)); }
.cpanel .rkp-val { display: flex; }
.cpanel .lbg-cols, .cpanel .lbg__row { grid-template-columns: 16px minmax(0, 1fr) auto 58px; }
#rankPick ~ .lbg .lbg__row { grid-template-columns: 16px minmax(0, 1fr) auto 58px; }
/* v56 — CTA under the hero intro + free-coins line */
.hero__cta--lead { display: flex; justify-content: flex-start; margin: 18px 0 0; }
@media (min-width: 1000px) { .cdock__bar { justify-content: flex-start; padding-right: 0; } }
@media (max-width: 999px) { .cdock__bar { flex-direction: row; } }
/* v57 — one-word action under each flow symbol */
.flow { padding-bottom: clamp(34px, 3.4vw, 46px); }
.flow__label { position: absolute; left: 50%; top: calc(100% + clamp(14px, 1.6vw, 24px)); transform: translateX(-50%); white-space: nowrap;
  font-size: clamp(12px, 1.2vw, 15px); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #0E3B4A; }
.flow__node--prize .flow__label { top: calc(100% + clamp(14px, 1.6vw, 24px) - 6px); }
/* v58 — wide screens (>1920): scattered coins left, hearts right, faint background touch */
.sdeco { display: none; }
@media (min-width: 1921px) {
  main#obsah { position: relative; }
  .sdeco { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .sdeco__i { position: absolute; width: var(--s); height: auto; opacity: var(--o); transform: rotate(var(--r)); filter: blur(var(--b)) saturate(.9); }
  .sdeco { --g: calc((100vw - var(--wrap)) / 2 - 60px); }
  .sdeco__i--l { left: calc(var(--g) * var(--x) / 100); }
}
@media (min-width: 1921px) {
  .sdeco { z-index: 2; }
  .sdeco__i { filter: blur(var(--b)) drop-shadow(0 10px 14px rgba(4,60,80,.18)); }
}
/* v59 — Academy preview = the game's module list */
.acad__cols, .acm { display: grid; grid-template-columns: 22px minmax(0, 1fr) 34px 34px 14px; align-items: center; gap: 8px; }
.acad__cols { padding: 9px 14px 3px; font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6F8590; }
.acad__cols span:first-child { grid-column: 1 / 3; }
.acad__cols span:nth-child(2), .acad__cols span:nth-child(3) { text-align: center; font-size: 8.5px; letter-spacing: .04em; }
.acad__list { list-style: none; margin: 0; padding: 4px 8px 10px; display: grid; gap: 4px; }
.acm { padding: 7px 8px 7px 8px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(19,35,44,.05); }
.acm__ico { width: 20px; height: 20px; fill: none; stroke: #3EDC93; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.acm__name { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #13232C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acm__seal { position: relative; width: 30px; height: 30px; justify-self: center; display: grid; place-items: center; line-height: 1; color: #6F8590; }
.acm__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #D7E1E6; }
.acm__seal small { position: relative; font-size: 6.5px; font-weight: 700; margin-top: -11px; }
.acm__seal b { position: absolute; top: 12px; font-size: 11px; font-weight: 800; }
.acm__pct { text-align: center; font-size: 11px; font-weight: 600; color: #4F6470; font-variant-numeric: tabular-nums; }
.acm__go { width: 14px; height: 14px; fill: none; stroke: #C3CDD2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acm.is-next .acm__go { stroke: #3EDC93; }
.acad__cols, .acm { grid-template-columns: 18px minmax(0, 1fr) 30px 32px 12px; gap: 6px; }
.acm { padding: 6px 8px; }
.acm__ico { width: 18px; height: 18px; }
.acm__name { font-size: 11px; letter-spacing: 0; }
.acm__seal { width: 28px; height: 28px; }
.acm__seal b { top: 11px; font-size: 10.5px; }
.acm__go { width: 12px; height: 12px; }
.acad__cols { padding: 9px 16px 3px; }
.acad__cols span:nth-child(2), .acad__cols span:nth-child(3) { text-transform: none; letter-spacing: 0; font-size: 9px; white-space: nowrap; justify-self: center; }
.acad__cols, .acm { grid-template-columns: 18px minmax(0, 1fr) 30px 34px 12px; column-gap: 6px; }
.acad__cols > span:nth-child(3), .acm__pct { margin-left: 8px; }
.acad__cols, .acm { grid-template-columns: 18px minmax(0, 1fr) 30px 42px 12px; }
.acad__done { margin: 10px 16px 0; font-size: 11px; color: #4F6470; }
/* v60 — stats preview = the game's overview grid */
.stgrid { grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.st { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 58px; padding: 12px 24px 10px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(19,35,44,.05); overflow: hidden; }
.st--g::before, .st--r::before { content: ""; position: absolute; left: 6px; top: 0; width: 62%; height: 2.5px; border-radius: 0 0 2px 2px; background: #5FE3A1; }
.st--r::before { background: #E0335A; }
.st--wide { grid-column: 1 / -1; }
.st__l { font-size: 10.5px; font-weight: 500; color: #2E8F5E; white-space: nowrap; }
.st--r .st__l, .st__l em { color: #E0335A; font-style: normal; }
.st__l i { font-style: normal; color: #13232C; }
.st__v { font-size: 15px; font-weight: 800; color: #13232C; font-variant-numeric: tabular-nums; }
.st--wide .st__v { margin-top: 6px; }
.st__w { color: #2E8F5E; } .st__x { color: #E0335A; }
.st__go { position: absolute; right: 7px; top: 50%; width: 13px; height: 13px; margin-top: -6px; fill: none; stroke: #5FE3A1; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st--r .st__go { stroke: #E0335A; }
.st__ranks { display: flex; gap: 5px; margin-top: 4px; }
.st__ranks i, .st__rk i { display: grid; place-items: center; width: 16px; height: 18px; border-radius: 4px; background: #E3E9ED; font-style: normal; font-size: 9px; font-weight: 800; color: #13232C; }
.st__rk { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.st__rk b { font-size: 12.5px; font-weight: 800; color: #13232C; font-variant-numeric: tabular-nums; }
/* v61 — Arena card: prize illustration under the list (same as the hero banner) */
.gp-win { display: grid; grid-template-columns: 1fr 1.15fr; margin: 0 10px 12px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(107,230,165,.6); }
.gp-win__bank { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 12px 6px; }
.gp-win__bank span { font-size: 11.5px; font-weight: 600; color: #0F5E3A; }
.gp-win__bank b { display: inline-flex; align-items: center; gap: 5px; font-size: 24px; font-weight: 800; color: #0F5E3A; font-variant-numeric: tabular-nums; }
.gp-win__prize { display: grid; place-items: center; padding: 8px 6px; border-left: 1px solid rgba(107,230,165,.6); background: radial-gradient(80% 70% at 50% 60%, #E9FBF2, #fff 75%); }
.gp-win__prize img { width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgba(4,40,50,.22)); }
/* v62 — right gutter: one bigger heart with the hearts-count tag */
@media (min-width: 1921px) {
  .sdeco__heart { position: absolute; top: 15%; right: calc(((100vw - var(--wrap)) / 2 - 220px) / 2); width: 220px; opacity: .5; transform: rotate(-9deg); }
  .sdeco__heart img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(120,10,40,.25)); }
  .sdeco__heart .flow__badge { position: absolute; right: 6%; bottom: 12%; transform: rotate(9deg); font-size: 22px; padding: 6px 16px; }
}
@media (min-width: 1921px) { .sdeco { z-index: 6; } }

/* v63 — phones & tablets: the hero is a normal block (no sticky stage), fighters get real size, nothing hides under the nav */
@media (max-width: 999px) {
  .hero-wrap { height: auto; }
  .hero { position: relative; height: auto; min-height: 0; justify-content: flex-start; padding: calc(var(--navh) + 10px) 0 36px; }
  .hero__scene { --w: min(84vw, 460px); }
  .play { margin-top: 0; }
  .lbg-cols { letter-spacing: .02em; }
}
@media (pointer: coarse) { .crail__b { height: 28px; } }

.heart-ico { width: 1.2em; height: 1em; }
.svg-sprite { position: absolute; }
.sdeco__i--n1 { top:2.9%; --x:13; --s:87px; --r:-32deg; --o:0.24; --b:3px; }
.sdeco__i--n2 { top:12.4%; --x:38; --s:104px; --r:26deg; --o:0.25; --b:0px; }
.sdeco__i--n3 { top:25.2%; --x:8; --s:51px; --r:32deg; --o:0.28; --b:3px; }
.sdeco__i--n4 { top:34.1%; --x:17; --s:86px; --r:36deg; --o:0.33; --b:3px; }
.sdeco__i--n5 { top:47.7%; --x:7; --s:60px; --r:-33deg; --o:0.29; --b:0px; }
.sdeco__i--n6 { top:56.7%; --x:12; --s:53px; --r:35deg; --o:0.26; --b:0px; }
.sdeco__i--n7 { top:66.4%; --x:37; --s:58px; --r:9deg; --o:0.24; --b:0px; }
.sdeco__i--n8 { top:80.0%; --x:40; --s:77px; --r:30deg; --o:0.28; --b:0px; }
.sdeco__i--n9 { top:90.2%; --x:58; --s:69px; --r:0deg; --o:0.26; --b:0px; }

.rline .rkp-badge { width: auto; min-width: 84px; padding: 0 8px; font-size: 11px; }
.lbg-cols, .lbg__row { grid-template-columns: 20px minmax(0, 1fr) 78px 50px; }
.lbg .rkp-badge { font-size: 9.5px; letter-spacing: 0; }
.crail__b { font-size: 9.5px; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
