/* ═══════════════════════════════════════════════════════════════
   NOVA × FCB — matchday concept
   A stage presentation + a 390 × 844 phone UI.
   Dark-first. Gold is the club's jewellery; blue and maroon are light.
   ═══════════════════════════════════════════════════════════════ */

:root{
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --s: 1;                      /* device scale, set by JS */
  --gold:#E9C57C;
  --gold-2:#F8E7BC;
  --blue:#1E5CB8;
  --maroon:#A50044;
  --stage:#05070F;
  --stage-line:rgba(255,255,255,.09);
  --stage-text:#F2EEE3;
  --stage-muted:rgba(242,238,227,.52);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--stage);
  color:var(--stage-text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
img{display:block;max-width:100%}
h1,h2,h3,h4,p{margin:0}
bdi{unicode-bidi:isolate}
::selection{background:rgba(233,197,124,.3)}

/* ───────────────────────── stage ───────────────────────── */
.stage{
  position:relative;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  padding:22px 28px 18px;
  overflow:hidden;
}
.stage__bg{position:fixed;inset:0;z-index:0;pointer-events:none;background:
  radial-gradient(90% 70% at 50% -10%, #101A3E 0%, #070B1A 48%, #04060E 100%);
}
.stage__glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.45}
.stage__glow--a{width:640px;height:640px;left:-180px;top:-220px;background:radial-gradient(circle,#123B86,transparent 66%)}
.stage__glow--b{width:560px;height:560px;right:-160px;bottom:-260px;background:radial-gradient(circle,#6E0B39,transparent 66%)}
.stage__grid{position:absolute;inset:0;opacity:.35;background-image:
  linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:76px 76px;
  mask-image:radial-gradient(80% 70% at 50% 40%,#000 10%,transparent 78%);
}
.stage__crest{position:absolute;right:-90px;top:8%;width:520px;opacity:.045;filter:grayscale(1) brightness(2)}

.stage__head{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px}
.brand__mark{
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  background:linear-gradient(145deg,#E9C57C,#B98B3C);
  color:#100D05;font-family:'Anton';font-size:20px;line-height:1;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -8px rgba(233,197,124,.5);
}
.brand__txt{display:flex;flex-direction:column;line-height:1.1}
.brand__txt b{font-size:12px;letter-spacing:.34em;font-weight:800}
.brand__txt small{font-size:10.5px;color:var(--stage-muted);letter-spacing:.04em;margin-top:3px}
.stage__note{
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--stage-muted);
  border:1px solid var(--stage-line);border-radius:999px;padding:8px 14px;
  backdrop-filter:blur(8px);
}

.stage__phone{
  position:relative;z-index:2;
  width:calc(412px * var(--s));
  height:calc(866px * var(--s));
  margin:auto;
  flex:0 0 auto;
}
.phone{
  position:relative;
  width:412px;height:866px;
  padding:11px;
  border-radius:58px;
  transform-origin:top left;
  transform:scale(var(--s));
  background:
    linear-gradient(150deg,#4A4E59 0%,#15171D 16%,#0A0B0F 46%,#16181E 78%,#3A3D46 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.09),
    0 40px 90px -30px rgba(0,0,0,.95),
    0 90px 140px -60px rgba(18,59,134,.55);
}
.phone::before{ /* edge highlight */
  content:"";position:absolute;inset:-1px;border-radius:59px;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.55),transparent 18%,transparent 82%,rgba(255,255,255,.28));
  -webkit-mask:linear-gradient(#000,#000) content-box,linear-gradient(#000,#000);
  -webkit-mask-composite:xor;mask-composite:exclude;padding:1px;
}
.phone__bezel{
  position:absolute;inset:6px;border-radius:53px;pointer-events:none;z-index:60;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.9), inset 0 2px 4px rgba(255,255,255,.06);
}
/* side buttons */
.phone::after{
  content:"";position:absolute;right:-2px;top:210px;width:3px;height:88px;border-radius:2px;
  background:linear-gradient(#2a2d35,#0c0d11);box-shadow:0 0 0 1px rgba(0,0,0,.6);
}

/* ───────────────────────── app shell ───────────────────────── */
.app{
  position:relative;
  width:390px;height:844px;
  border-radius:48px;
  overflow:hidden;
  isolation:isolate;
  font-size:14px;
  background:var(--bg);
  color:var(--text);
  --bg:#070A19;
  --bg-2:#0B1030;
  --surface:rgba(255,255,255,.055);
  --surface-2:rgba(255,255,255,.085);
  --surface-solid:#0E1330;
  --line:rgba(255,255,255,.1);
  --line-soft:rgba(255,255,255,.06);
  --text:#F4F1E8;
  --muted:rgba(244,241,232,.6);
  --muted-2:rgba(244,241,232,.4);
  --gold:#E9C57C;
  --gold-ink:#171204;
  --blue:#2E6FD0;
  --maroon:#B00A4F;
  --danger:#FF4D5E;
  --glass:rgba(9,13,31,.72);
  --nav:rgba(8,11,26,.82);
  --tabs:rgba(7,10,25,.78);
  --shadow:0 24px 50px -24px rgba(0,0,0,.9);
}
.app[data-theme="light"]{
  --bg:#F2EDE3;
  --bg-2:#E9E2D4;
  --surface:#FFFFFF;
  --surface-2:#FFFFFF;
  --surface-solid:#FFFFFF;
  --line:rgba(16,18,38,.1);
  --line-soft:rgba(16,18,38,.06);
  --text:#101223;
  --muted:rgba(16,18,38,.62);
  --muted-2:rgba(16,18,38,.42);
  --gold:#9A6B1F;
  --gold-ink:#FFF8E7;
  --blue:#004D98;
  --maroon:#A50044;
  --glass:rgba(250,247,240,.78);
  --nav:rgba(250,247,240,.86);
  --tabs:rgba(244,239,230,.86);
  --shadow:0 26px 50px -26px rgba(30,24,10,.35);
}
.app[data-theme="light"] .stage__note{color:#222}

.app::before{ /* page wash */
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(30,92,184,.28), transparent 62%),
    radial-gradient(80% 40% at 100% 100%, rgba(165,0,68,.16), transparent 70%);
}
.app[data-theme="light"]::before{
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(0,77,152,.12), transparent 60%),
    radial-gradient(80% 40% at 100% 100%, rgba(165,0,68,.07), transparent 70%);
}
.app::after{ /* grain */
  content:"";position:absolute;inset:0;z-index:55;pointer-events:none;opacity:.16;mix-blend-mode:overlay;
  background-image: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='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

/* status bar */
.statusbar{
  position:absolute;top:0;left:0;right:0;height:46px;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 26px 0 30px;
  font-size:12.5px;font-weight:600;letter-spacing:.01em;
  color:var(--text);
  pointer-events:none;
  transition:color .4s var(--ease);
}
.statusbar__island{
  position:absolute;left:50%;top:9px;transform:translateX(-50%);
  width:110px;height:28px;border-radius:20px;background:#000;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.statusbar__icons{display:flex;align-items:center;gap:5px;opacity:.92}
.statusbar__time{width:52px}
.statusbar{transition:none}
.app[data-screen="home"] .statusbar,
.app[data-screen="travel"] .statusbar,
.app[data-screen="clips"] .statusbar{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.5)}

/* app bar */
.appbar{
  position:absolute;top:46px;left:0;right:0;z-index:45;
  height:52px;padding:0 16px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  transition:background .35s var(--ease), border-color .35s;
  border-bottom:1px solid transparent;
}
.app.is-scrolled .statusbar{
  background:var(--glass);
  backdrop-filter:blur(22px) saturate(1.4);
  -webkit-backdrop-filter:blur(22px) saturate(1.4);
}
.appbar.is-solid{
  background:var(--glass);
  backdrop-filter:blur(22px) saturate(1.4);
  -webkit-backdrop-filter:blur(22px) saturate(1.4);
  border-bottom-color:var(--line-soft);
}
.appbar__club{display:flex;align-items:center;gap:9px;min-height:44px}
.appbar__crest{width:26px;height:26px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.4))}
.appbar__wordmark{
  font-family:'Anton';font-size:14px;letter-spacing:.05em;line-height:1;
  color:var(--text);opacity:.94;
}
.appbar__right{display:flex;align-items:center;gap:6px}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  height:32px;padding:0 12px;border-radius:999px;
  background:rgba(255,255,255,.08);border:1px solid var(--line);
  font-size:12px;font-weight:700;
  backdrop-filter:blur(10px);
}
.app[data-theme="light"] .pill{background:#fff;box-shadow:0 4px 14px -8px rgba(0,0,0,.35)}
.pill svg{color:var(--gold)}
.pill b{font-variant-numeric:tabular-nums}
.iconbtn{
  width:38px;height:38px;border-radius:14px;display:grid;place-items:center;
  border:1px solid transparent;color:var(--text);
  transition:background .2s,border-color .2s,transform .2s;
}
.iconbtn:hover{background:rgba(255,255,255,.08);border-color:var(--line-soft)}
.iconbtn:active{transform:scale(.94)}
.iconbtn--on{background:var(--gold);color:var(--gold-ink);border-color:transparent}

/* screens */
.viewport{position:absolute;inset:0;z-index:10}
.screen{
  position:absolute;inset:0;
  overflow-y:auto;overflow-x:hidden;
  padding-bottom:104px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.screen::-webkit-scrollbar{display:none}
.screen:not(.is-active){display:none}
.screen.is-active{animation:screenIn .38s var(--ease-out)}
@keyframes screenIn{from{transform:translateY(8px)}to{transform:none}}
.screen__top{padding:112px 20px 14px}
.display--page{font-size:40px}
.page__sub{margin-top:6px;color:var(--muted);font-size:12px;letter-spacing:.02em}

/* ───────────────────────── type & atoms ───────────────────────── */
.display{
  font-family:'Anton',Impact,'Arial Narrow',sans-serif;
  font-weight:400;
  font-size:46px;
  line-height:.94;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--text);
}
.display--sm{font-size:34px;margin-top:14px}
.eyebrow{
  font-size:10.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text);opacity:.9;
}
.eyebrow--gold{color:var(--gold);opacity:1}
.block{padding:30px 20px 6px}
.block--tight{padding:18px 20px 6px}
.block__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.block__hint{font-size:9.5px;letter-spacing:.16em;color:var(--muted-2);font-weight:700}
.link{
  font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--muted);
  display:inline-flex;align-items:center;gap:6px;text-transform:uppercase;
  min-height:32px;
}
.link span{color:var(--gold);font-size:12px}
.link--gold{color:var(--gold)}
.chip{
  display:inline-flex;align-items:center;gap:6px;
  height:26px;padding:0 10px;border-radius:999px;
  font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  border:1px solid var(--line);background:rgba(255,255,255,.05);
  white-space:nowrap;
}
.chip--ghost{color:var(--text);background:rgba(9,12,24,.35);backdrop-filter:blur(10px)}
.chip--hot{background:var(--gold);color:var(--gold-ink);border-color:transparent}
.chip--gold{background:transparent;color:var(--gold);border-color:rgba(233,197,124,.45)}
.chip--glass{background:rgba(255,255,255,.12);backdrop-filter:blur(14px);border-color:rgba(255,255,255,.16);color:#fff}
.chip--live{background:rgba(255,77,94,.14);border-color:rgba(255,77,94,.5);color:#FF8A94}
.chip__logo{width:14px;height:14px;object-fit:contain}
.pulse{
  width:6px;height:6px;border-radius:50%;background:currentColor;
  box-shadow:0 0 0 0 currentColor;animation:pulse 1.8s infinite;
}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,77,94,.5)}70%{box-shadow:0 0 0 7px rgba(255,77,94,0)}100%{box-shadow:0 0 0 0 rgba(255,77,94,0)}}
.tag{
  display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:5px;
  font-size:8.5px;font-weight:800;letter-spacing:.14em;
  background:rgba(255,255,255,.09);color:var(--text);
}
.tag--gold{background:var(--gold);color:var(--gold-ink)}
.tag--maroon{background:var(--maroon);color:#fff}
.dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.5;display:inline-block;margin:0 7px;vertical-align:middle}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:50px;padding:0 20px;border-radius:999px;
  font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  transition:transform .18s var(--ease),box-shadow .25s,background .25s;
  white-space:nowrap;
}
.btn:active{transform:scale(.97)}
.btn--gold{
  background:linear-gradient(160deg,#F4DCA4 0%,#E9C57C 42%,#CFA356 100%);
  color:var(--gold-ink);
  box-shadow:0 10px 26px -12px rgba(233,197,124,.75), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn--gold:hover{box-shadow:0 14px 34px -12px rgba(233,197,124,.9)}
.btn--ghost{
  border:1px solid rgba(255,255,255,.22);color:var(--text);
  background:rgba(255,255,255,.04);backdrop-filter:blur(10px);
}
.app[data-theme="light"] .btn--ghost{border-color:rgba(16,18,38,.18);background:rgba(255,255,255,.5)}
.btn--sm{height:40px;padding:0 16px;font-size:10.5px}
.btn--wide{width:100%}
.btn:disabled{opacity:.35;pointer-events:none}

/* ───────────────────────── hero ───────────────────────── */
.hero{position:relative;min-height:648px;overflow:hidden;border-radius:0 0 30px 30px}
.hero__media{position:absolute;inset:0}
.hero__img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 28%;
  display:none;
}
.hero__img.is-on{display:block;animation:kenburns 22s var(--ease-out) both}
@keyframes kenburns{from{transform:scale(1.07)}to{transform:scale(1)}}
.hero__tone{
  position:absolute;inset:0;
  background:
    radial-gradient(85% 42% at 50% 52%, rgba(5,8,20,.46), rgba(5,8,20,0) 72%),
    linear-gradient(180deg, rgba(5,8,20,.6) 0%, rgba(5,8,20,.12) 26%, rgba(5,8,20,0) 44%, rgba(7,10,25,.82) 74%, #070A19 97%),
    linear-gradient(100deg, rgba(5,8,20,.8) 0%, rgba(5,8,20,.34) 42%, rgba(5,8,20,0) 68%),
    linear-gradient(120deg, rgba(165,0,68,.34) 0%, transparent 48%, rgba(30,92,184,.34) 100%);
  mix-blend-mode:normal;
}
.hero__body{position:relative;z-index:2;padding:118px 20px 24px;display:flex;flex-direction:column;gap:14px}
.hstate{display:none;flex-direction:column;gap:14px}
.hstate.is-on{display:flex}
.hstate__row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:6px}
.hero .display{margin-top:4px;max-width:340px}
.hero__meta{font-size:12.5px;color:rgba(255,255,255,.78);letter-spacing:.01em;line-height:1.5}
.app[data-theme="light"] .hero__meta{color:rgba(255,255,255,.86)}

.countdown{display:flex;gap:7px;margin-top:2px}
.cd{
  width:58px;height:56px;border-radius:14px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(14px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.cd b{font-family:'Anton';font-size:21px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.cd small{font-size:7.5px;letter-spacing:.18em;font-weight:700;opacity:.55}
.cd b.is-tick{animation:tick .5s var(--ease)}
@keyframes tick{0%{transform:translateY(-30%)}100%{transform:none}}
.hero__cta{display:flex;gap:8px;margin-top:10px}
.hero__cta .btn--gold{flex:1.15}
.hero__cta .btn--ghost{flex:1}

.scoreline{
  display:flex;align-items:center;gap:6px;margin:6px 0 2px;
  padding:10px 12px;border-radius:18px;
  background:rgba(6,9,22,.34);
  border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 18px 40px -30px rgba(0,0,0,.9);
}
.scoreline__team{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 58px;width:58px}
.scoreline__team img{width:46px;height:46px;object-fit:contain}
.scoreline__team b{font-size:8.5px;letter-spacing:.16em;font-weight:800;opacity:.8}
.scoreline__score{
  font-family:'Anton';font-size:58px;line-height:.85;letter-spacing:.02em;
  font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center;
  flex:1 1 auto;min-width:0;white-space:nowrap;
  text-shadow:0 8px 30px rgba(0,0,0,.45);
}
.scoreline__score bdi{display:flex;align-items:center;white-space:nowrap}
.scoreline__score i{font-style:normal;opacity:.5;margin:0 10px;font-size:46px}
.scoreline--final .scoreline__score{color:var(--gold)}
.scoreline__scorers{font-size:11.5px;margin-top:2px}

.hero__foot{
  position:absolute;left:20px;right:20px;bottom:14px;z-index:3;
  display:flex;align-items:center;justify-content:space-between;
  font-size:8px;letter-spacing:.2em;font-weight:800;color:rgba(255,255,255,.34);
}
.hero__scroll{writing-mode:vertical-rl;letter-spacing:.28em;font-size:7px}

/* ───────────────────────── fixtures ───────────────────────── */
.rail{
  display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:2px 20px 8px;
  scroll-snap-type:x mandatory;
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 93%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0,#000 93%,transparent 100%);
}
.rail::-webkit-scrollbar{display:none}
.rail > *{scroll-snap-align:start;flex:0 0 auto}
.fixture{
  position:relative;width:236px;border-radius:20px;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);
  scroll-snap-align:start;
}
.fixture__media{height:122px;overflow:hidden}
.fixture__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.fixture:hover .fixture__media img{transform:scale(1.05)}
.fixture__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.fixture__date{font-size:8.5px;letter-spacing:.14em;color:var(--muted);font-weight:700}
.fixture h3{font-family:'Anton';font-size:20px;line-height:1;text-transform:uppercase;letter-spacing:.01em;margin-top:1px}
.fixture p{font-size:10.5px;color:var(--muted)}
.fixture--plain{width:196px;background:linear-gradient(160deg,var(--surface),transparent)}
.fixture__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:0 14px 12px}
.fixture--plain .fixture__body{flex:1}
.fixture__foot .tick{font-size:8px;letter-spacing:.16em;font-weight:800;color:var(--muted-2)}

/* ───────────────────────── heritage ───────────────────────── */
.heritage{
  position:relative;margin:32px 16px 8px;border-radius:26px;overflow:hidden;
  border:1px solid rgba(233,197,124,.28);
  box-shadow:0 30px 60px -34px rgba(0,0,0,.9);
}
.heritage__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.5) brightness(.62)}
.heritage__scrim{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(7,10,25,.4),rgba(7,10,25,.86) 62%,rgba(7,10,25,.98)),
  linear-gradient(120deg,rgba(165,0,68,.35),transparent 60%);}
.heritage__inner{position:relative;z-index:2;padding:24px 22px 22px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.heritage__rule{display:flex;align-items:center;gap:10px;width:100%}
.heritage__rule span{height:1px;flex:1;background:linear-gradient(90deg,rgba(233,197,124,.7),transparent)}
.heritage__rule small{font-size:8px;letter-spacing:.24em;color:var(--gold);font-weight:800}
.heritage .display{font-size:42px;line-height:.92}
.foil{
  background:linear-gradient(100deg,#8C6A2E 0%,#F7E7B8 34%,#D9B56A 52%,#8C6A2E 76%,#EAD59C 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 10px rgba(233,197,124,.18));
}
.heritage p{font-size:12px;line-height:1.6;color:rgba(244,241,232,.68);max-width:300px}
.heritage__stats{display:flex;gap:20px;margin:6px 0 4px}
.heritage__stats div{display:flex;flex-direction:column;gap:2px}
.heritage__stats b{font-family:'Anton';font-size:22px;color:var(--gold);line-height:1}
.heritage__stats small{font-size:7.5px;letter-spacing:.14em;color:rgba(244,241,232,.45);font-weight:700}

/* ───────────────────────── players ───────────────────────── */
.rail--players{gap:8px}
.player{width:76px;display:flex;flex-direction:column;align-items:center;gap:7px}
.player__img{
  position:relative;width:70px;height:70px;border-radius:50%;overflow:hidden;
  background:linear-gradient(160deg,#16204A,#0A0E22);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.player__img img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;filter:saturate(.95)}
.player__img i{
  position:absolute;right:-2px;bottom:-2px;
  width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  background:var(--gold);color:var(--gold-ink);
  font-style:normal;font-size:9.5px;font-weight:800;
  border:2px solid var(--bg);
}
.player b{font-size:11px;font-weight:700;letter-spacing:.01em;margin-top:1px}
.player small{font-size:7.5px;letter-spacing:.14em;color:var(--muted-2);font-weight:700;margin-top:-4px}
.player:active .player__img{transform:scale(.96)}

/* ───────────────────────── missions ───────────────────────── */
.missioncard{
  border-radius:22px;padding:16px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(233,197,124,.14), transparent 52%),
    linear-gradient(160deg,var(--surface-2),var(--surface));
  border:1px solid rgba(233,197,124,.22);
}
.missioncard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.missioncard__sub{font-size:11px;color:var(--muted);margin-top:5px}
.missioncard__sub b{color:var(--gold)}
.missions{display:flex;flex-direction:column;gap:2px;margin-top:12px}
.mission{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-soft);font-size:11.5px}
.mission:last-child{border-bottom:0}
.mission i{
  width:18px;height:18px;border-radius:50%;border:1px solid var(--line);
  display:grid;place-items:center;font-style:normal;font-size:9px;color:var(--gold-ink);
  flex:0 0 auto;
}
.mission.is-done i{background:var(--gold);border-color:transparent;color:#171204;font-weight:800}
.mission span{flex:1;color:var(--muted)}
.mission.is-done span{color:var(--text)}
.mission b{font-size:10.5px;color:var(--muted-2);letter-spacing:.04em}
.mission.is-done b{color:var(--gold)}
.missioncard__bar{height:3px;border-radius:2px;background:var(--line-soft);margin-top:12px;overflow:hidden}
.missioncard__bar span{display:block;height:100%;background:linear-gradient(90deg,#B98B3C,var(--gold-2));border-radius:2px}
.missioncard__foot{display:flex;justify-content:space-between;margin-top:8px}
.missioncard__foot small{font-size:7.5px;letter-spacing:.14em;color:var(--muted-2);font-weight:700}

/* ───────────────────────── editorial ───────────────────────── */
.feature{position:relative;border-radius:22px;overflow:hidden;min-height:400px;display:flex;align-items:flex-end}
.feature > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.feature__grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,10,25,0) 30%,rgba(7,10,25,.55) 62%,rgba(7,10,25,.95))}
.feature__body{position:relative;z-index:2;padding:20px;display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.feature h3{font-family:'Anton';font-size:27px;line-height:1.02;text-transform:uppercase;letter-spacing:.005em}
.feature p{font-size:11.5px;line-height:1.55;color:rgba(244,241,232,.68);max-width:280px}
.feature__meta{font-size:8px;letter-spacing:.18em;color:rgba(244,241,232,.4);font-weight:700;margin-top:2px}
.rows{display:flex;flex-direction:column;gap:2px;margin-top:14px}
.row{
  display:flex;align-items:center;gap:12px;padding:10px 0;text-align:left;
  border-bottom:1px solid var(--line-soft);
}
.row:last-child{border-bottom:0}
.row__thumb{
  width:54px;height:54px;flex:0 0 auto;border-radius:14px;overflow:hidden;
  background:linear-gradient(150deg,#213065,#0B1030);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.row__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.row__thumb img.img-missing{opacity:0}
.row span{flex:1;display:flex;flex-direction:column;gap:4px}
.row small{font-size:7.5px;letter-spacing:.16em;color:var(--gold);font-weight:800}
.row b{font-size:12.5px;line-height:1.35;font-weight:600}
.row i{font-style:normal;color:var(--muted-2);font-size:15px}
.row:active{opacity:.75}

.appfoot{padding:26px 20px 24px;display:flex;align-items:center;gap:12px;opacity:.55}
.appfoot img{width:26px;filter:grayscale(1)}
.appfoot p{font-size:9px;line-height:1.6;color:var(--muted)}
.appfoot b{letter-spacing:.14em;font-size:8px}

/* ───────────────────────── match screen ───────────────────────── */
.matchcard{
  margin:2px 16px 16px;border-radius:24px;padding:16px;
  background:
    radial-gradient(110% 110% at 50% 0%, rgba(30,92,184,.22), transparent 55%),
    linear-gradient(170deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.matchcard__status{display:flex;align-items:center;justify-content:space-between;gap:8px}
.matchcard__score{display:flex;align-items:center;justify-content:space-between;padding:16px 6px 14px}
.matchcard .team{display:flex;flex-direction:column;align-items:center;gap:8px;width:82px}
.matchcard .team img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.5))}
.matchcard .team b{font-size:9px;letter-spacing:.16em;font-weight:800;opacity:.75}
.digits{font-family:'Anton';font-size:54px;line-height:1;letter-spacing:.02em;font-variant-numeric:tabular-nums;display:flex}
.digits i{font-style:normal;opacity:.35;margin:0 8px}
.momentum{margin-top:4px}
.momentum__labels{display:flex;justify-content:space-between;font-size:7.5px;letter-spacing:.16em;color:var(--muted-2);font-weight:800}
.momentum__track{position:relative;height:6px;border-radius:4px;background:rgba(255,255,255,.09);margin-top:7px;overflow:visible}
.momentum__track span{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,var(--blue),#4E8BE6)}
.momentum__track i{position:absolute;top:-3px;width:2px;height:12px;background:var(--gold);border-radius:2px}
.momentum__ends{display:flex;justify-content:space-between;margin-top:6px;font-size:8px;letter-spacing:.1em;color:var(--muted-2);font-weight:700}

.tabs{
  position:sticky;top:98px;z-index:6;
  display:flex;gap:6px;padding:8px 20px;margin:0 -20px 4px;
  background:var(--tabs);
  backdrop-filter:blur(18px) saturate(1.3);
  -webkit-backdrop-filter:blur(18px) saturate(1.3);
  border-bottom:1px solid var(--line-soft);
}
.tab{
  flex:1;height:36px;border-radius:10px;font-size:9.5px;font-weight:800;letter-spacing:.14em;
  color:var(--muted);border:1px solid transparent;
}
.tab.is-on{color:var(--text);background:var(--surface);border-color:var(--line)}
.mpanel{display:none;padding:8px 20px 0}
.mpanel.is-on{display:block;animation:screenIn .35s var(--ease-out) both}
.timeline{display:flex;flex-direction:column}
.ev{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line-soft)}
.ev:last-child{border-bottom:0}
.ev__min{width:34px;font-family:'Anton';font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.ev__dot{width:7px;height:7px;border-radius:50%;background:var(--line);flex:0 0 auto;position:relative}
.ev__dot--goal{background:var(--gold);box-shadow:0 0 0 4px rgba(233,197,124,.12)}
.ev__dot--ko{background:var(--blue)}
.ev__txt{flex:1;display:flex;flex-direction:column;gap:2px}
.ev__txt b{font-size:12px;font-weight:700}
.ev__txt small{font-size:9.5px;color:var(--muted-2)}
.ev img{width:22px;height:22px;object-fit:contain;opacity:.8}

.lineups{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:8px}
.lineups h4{font-family:'Anton';font-size:14px;letter-spacing:.06em;margin-bottom:8px;color:var(--gold)}
.lineups p{font-size:11px;padding:5px 0;border-bottom:1px solid var(--line-soft);color:var(--muted)}
.lineups p b{display:inline-block;width:20px;color:var(--text);font-weight:700;font-variant-numeric:tabular-nums}

.stat{padding:10px 0;border-bottom:1px solid var(--line-soft)}
.stat span{font-size:10px;letter-spacing:.1em;color:var(--muted-2);font-weight:700;text-transform:uppercase}
.stat div{height:5px;border-radius:3px;background:rgba(255,255,255,.09);margin:8px 0 6px;overflow:hidden}
.stat div i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,var(--blue),#4E8BE6)}
.stat b{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted)}

.poll{display:flex;flex-direction:column;gap:8px}
.poll__opt{
  position:relative;display:flex;align-items:center;gap:10px;
  height:46px;padding:0 12px;border-radius:14px;overflow:hidden;
  border:1px solid var(--line);background:var(--surface);text-align:left;
  transition:border-color .2s,transform .15s;
}
.poll__opt:active{transform:scale(.99)}
.poll__opt.is-voted{border-color:rgba(233,197,124,.7);box-shadow:inset 0 0 0 1px rgba(233,197,124,.25)}
.poll__bar{position:absolute;inset:0;z-index:0;opacity:0;transition:opacity .3s}
.poll__bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,rgba(233,197,124,.42),rgba(233,197,124,.1))}
.poll.has-votes .poll__bar{opacity:1}
.poll__name{position:relative;z-index:2;display:flex;align-items:center;gap:9px;flex:1;font-size:11.5px;font-weight:600}
.poll__name img{width:26px;height:26px;border-radius:50%;object-fit:cover;object-position:50% 16%}
.poll__opt b{position:relative;z-index:2;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}
.poll__opt.is-voted b{color:var(--gold)}

.ratecard{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px;border-radius:20px;border:1px solid var(--line);
  background:linear-gradient(160deg,var(--surface-2),var(--surface));
}
.matchpre{display:none;flex-direction:column;gap:10px;padding:6px 0 4px}
.screen[data-screen="match"][data-mode="pre"] .matchpre{display:flex}
.matchpre p{font-size:11px;line-height:1.6;color:var(--muted);max-width:280px}
.matchpre__list{display:flex;flex-direction:column;gap:2px;margin:6px 0 4px}
.matchpre__row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line-soft);font-size:10.5px;color:var(--muted)}
.matchpre__row:last-child{border-bottom:0}
.matchpre__row b{color:var(--text);font-weight:600}
.matchpre__row i{font-style:normal;font-size:9px;color:var(--gold);margin-left:auto;font-weight:700}
.matchpre__cta{display:flex;gap:8px}
.matchpre__cta .btn{flex:1}

.ratecard h3{font-family:'Anton';font-size:19px;text-transform:uppercase;letter-spacing:.02em;margin-top:4px}
.ratecard p{font-size:10px;color:var(--muted);margin-top:4px;max-width:190px;line-height:1.5}

/* ───────────────────────── clips ───────────────────────── */
.screen--flush{padding-bottom:0}
.clip{position:relative;height:100%;min-height:100%;overflow:hidden;background:#000}
.clip__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.clip__scrim{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,0) 24%,rgba(0,0,0,0) 52%,rgba(0,0,0,.78) 86%,#000 100%);}
.clip__progress{position:absolute;top:54px;left:14px;right:14px;z-index:3;display:flex;gap:4px}
.clip__progress i{flex:1;height:2.5px;border-radius:2px;background:rgba(255,255,255,.28)}
.clip__progress i.is-on{background:#fff}
.clip__top{position:absolute;top:64px;left:16px;right:16px;z-index:3;display:flex;align-items:center;justify-content:space-between}
.iconbtn--glass{background:rgba(255,255,255,.12);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.14);color:#fff}
.clip__rail{position:absolute;right:14px;bottom:150px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:16px}
.railbtn{display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff}
.railbtn small{
  font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;
  background:rgba(0,0,0,.35);backdrop-filter:blur(8px);
  padding:2px 7px;border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
}
.railbtn svg{filter:drop-shadow(0 2px 8px rgba(0,0,0,.5))}
.railbtn.is-liked svg{fill:var(--gold);stroke:var(--gold);animation:likePop .4s var(--ease)}
@keyframes likePop{0%{transform:scale(.7)}55%{transform:scale(1.18)}100%{transform:scale(1)}}
.clip__caption{position:absolute;left:18px;right:82px;bottom:108px;z-index:3;color:#fff}
.clip__tag{font-size:8.5px;letter-spacing:.18em;font-weight:800;color:var(--gold);display:block;margin-bottom:8px}
.clip__caption h2{font-family:'Anton';font-size:32px;line-height:.98;letter-spacing:.005em;text-transform:uppercase;text-shadow:0 4px 24px rgba(0,0,0,.5)}
.clip__caption p{font-size:11px;color:rgba(255,255,255,.66);margin-top:8px}
.clip__hint{display:none;
  position:absolute;left:0;right:0;bottom:94px;z-index:3;text-align:center;
  font-size:7.5px;letter-spacing:.24em;font-weight:800;color:rgba(255,255,255,.32);
}
.clip__hint span{display:inline-block;margin-left:4px;animation:bob 2s infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

/* ───────────────────────── travel ───────────────────────── */
.travelhero{position:relative;height:408px;overflow:hidden;border-radius:0 0 30px 30px}
.travelhero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:64% 46%;filter:saturate(.92) brightness(.9)}
.travelhero__grad{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(5,8,20,.9),rgba(5,8,20,.42) 22%,rgba(5,8,20,.05) 38%,rgba(7,10,25,.72) 70%,#070A19 100%)}
.travelhero__top{position:absolute;top:104px;left:18px;right:18px;z-index:2;display:flex;justify-content:space-between}
.travelhero__body{position:absolute;left:20px;right:20px;bottom:20px;z-index:2}
.travelhero .display{font-size:64px;line-height:.85;margin-top:8px}
.travelhero p{font-size:11.5px;color:rgba(255,255,255,.75);margin-top:8px}
.travelbody{padding:16px 16px 0}
.pricecard{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px;border-radius:20px;border:1px solid var(--line);
  background:linear-gradient(150deg,var(--surface-2),var(--surface));
}
.pricecard small{font-size:7.5px;letter-spacing:.16em;color:var(--muted-2);font-weight:800}
.price{display:flex;align-items:baseline;gap:8px;margin-top:4px}
.price b{font-family:'Anton';font-size:32px;line-height:1;letter-spacing:.01em}
.price span{font-size:9px;color:var(--muted-2)}
.pointsline{
  display:flex;align-items:center;gap:10px;margin:10px 0 4px;padding:10px 12px;
  border-radius:14px;border:1px dashed rgba(233,197,124,.4);
  background:rgba(233,197,124,.05);
}
.pointsline__ic{color:var(--gold);font-size:13px}
.pointsline p{flex:1;font-size:10px;color:var(--muted);line-height:1.5}
.pointsline b{color:var(--gold);font-weight:700}
.itin{display:flex;flex-direction:column;margin-top:4px}
.itin__row{display:flex;align-items:flex-start;gap:12px;padding:10px 0;position:relative}
.itin__row:not(:last-child)::before{
  content:"";position:absolute;left:76px;top:26px;bottom:-1px;width:1px;background:var(--line-soft);
}
.itin__time{width:40px;font-family:'Anton';font-size:13px;color:var(--muted);padding-top:2px;font-variant-numeric:tabular-nums}
.itin__dot{width:8px;height:8px;border-radius:50%;border:1.5px solid var(--muted-2);margin-top:6px;margin-left:4px;background:var(--bg);z-index:2}
.itin__dot--hot{background:var(--gold);border-color:var(--gold);box-shadow:0 0 0 4px rgba(233,197,124,.14)}
.itin__txt{display:flex;flex-direction:column;gap:3px;padding-left:8px}
.itin__txt b{font-size:12px;font-weight:700}
.itin__txt small{font-size:10px;color:var(--muted-2)}
.tripnote{
  display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;
  border:1px solid var(--line);background:var(--surface);
}
.tripnote__avs{display:flex}
.tripnote__avs img{width:30px;height:30px;border-radius:50%;border:2px solid var(--bg);object-fit:cover;object-position:50% 16%}
.tripnote__avs img:not(:first-child){margin-left:-10px}
.tripnote p{flex:1;font-size:10px;line-height:1.5;color:var(--muted)}
.tripnote b{color:var(--text)}

/* ───────────────────────── club ───────────────────────── */
.member{
  position:relative;margin:0 16px;border-radius:24px;overflow:hidden;
  padding:18px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(233,197,124,.24), transparent 55%),
    linear-gradient(150deg,#1A1230 0%,#2A0C22 48%,#0B1030 100%);
  border:1px solid rgba(233,197,124,.36);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12);
  color:#F6EFE1;
}
.member__shine{
  position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 46%,rgba(255,240,206,.10) 50%,transparent 54%);
  transform:translateX(-30%);animation:foil 9s ease-in-out infinite;
}
@keyframes foil{0%,100%{transform:translateX(-34%)}50%{transform:translateX(34%)}}
.member__top{display:flex;align-items:center;justify-content:space-between}
.member__top img{width:34px;height:34px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.5))}
.member__type{font-size:7.5px;letter-spacing:.24em;font-weight:800;color:rgba(246,239,225,.6)}
.member__name{margin-top:26px}
.member__name small{font-size:7px;letter-spacing:.22em;font-weight:800;color:rgba(246,239,225,.45)}
.member__name b{display:block;font-family:'Anton';font-size:26px;letter-spacing:.02em;margin-top:2px}
.member__bottom{display:flex;justify-content:space-between;align-items:flex-end;margin-top:18px;padding-top:12px;border-top:1px solid rgba(246,239,225,.14)}
.member__bottom div{display:flex;flex-direction:column;gap:3px}
.member__bottom small{font-size:6.5px;letter-spacing:.2em;font-weight:800;color:rgba(246,239,225,.4)}
.member__bottom b{font-family:'Anton';font-size:19px;letter-spacing:.03em;font-variant-numeric:tabular-nums;color:#F3D79A}
.member__bottom b span{font-family:'Inter';font-size:8px;color:rgba(246,239,225,.5);letter-spacing:.04em}

.progress{padding:14px 16px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}
.progress__head{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.16em;color:var(--muted-2);font-weight:800}
.progress__head b{color:var(--gold)}
.progress__track{height:4px;border-radius:3px;background:var(--line-soft);margin:9px 0 8px;overflow:hidden}
.progress__track span{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#B98B3C,var(--gold-2))}
.progress p{font-size:10px;color:var(--muted)}
.progress p b{color:var(--text)}
.missions--card{padding:4px 16px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}
.nexttrip{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}
.nexttrip img{width:52px;height:52px;border-radius:14px;object-fit:cover}
.nexttrip div{flex:1;display:flex;flex-direction:column;gap:3px}
.nexttrip small{font-size:7.5px;letter-spacing:.16em;color:var(--gold);font-weight:800}
.nexttrip b{font-size:12px}
.nexttrip span{font-size:9.5px;color:var(--muted-2)}
.rows--settings .row{padding:13px 2px}
.row--plain img{display:none}
.row--plain small{color:var(--muted-2);letter-spacing:.02em;font-size:10px;font-weight:400}

/* ───────────────────────── tab bar ───────────────────────── */
.tabbar{
  position:absolute;left:0;right:0;bottom:0;z-index:48;
  height:84px;padding:8px 8px 20px;
  display:grid;grid-template-columns:repeat(5,1fr);
  background:var(--bg);
  border-top:1px solid var(--line-soft);
}
.tabbar::after{
  content:"";position:absolute;bottom:7px;left:50%;transform:translateX(-50%);
  width:118px;height:4px;border-radius:4px;background:rgba(255,255,255,.22);
}
.app[data-theme="light"] .tabbar::after{background:rgba(16,18,38,.2)}
.tabbtn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  color:var(--muted-2);border-radius:14px;min-height:52px;
  transition:transform .2s;
  position:relative;
}
.tabbtn span{font-size:9px;font-weight:700;letter-spacing:.04em}
.tabbtn svg{transition:transform .3s var(--ease),filter .3s}
.tabbtn.is-on{color:var(--text)}
.tabbtn.is-on svg{color:var(--gold);transform:translateY(-1px);filter:drop-shadow(0 4px 10px rgba(233,197,124,.35))}
.tabbtn.is-on span{color:var(--text);font-weight:800}
.tabbtn:active{transform:scale(.94)}

/* ───────────────────────── sheet ───────────────────────── */
.sheet{position:absolute;inset:0;z-index:70}
.sheet[hidden]{display:none}
.sheet__backdrop{position:absolute;inset:0;width:100%;background:rgba(3,5,12,.62);backdrop-filter:blur(6px);border:0}
.sheet__panel{
  position:absolute;left:0;right:0;bottom:0;
  padding-bottom:38px;
  background:linear-gradient(180deg,#101632,#0A0E22 60%);
  border-radius:28px 28px 0 0;border-top:1px solid rgba(233,197,124,.22);
  padding:10px 20px 26px;
  box-shadow:0 -30px 60px rgba(0,0,0,.6);
}
.sheet__grip{width:38px;height:4px;border-radius:4px;background:rgba(255,255,255,.22);margin:0 auto 16px}
.sheet__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sheet__head h2{font-family:'Anton';font-size:28px;text-transform:uppercase;letter-spacing:.01em;margin-top:4px}
.predict{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 8px}
.predict__team{display:flex;flex-direction:column;align-items:center;gap:10px}
.predict__team img{width:44px;height:44px;object-fit:contain}
.predict__team small{font-size:8px;letter-spacing:.16em;font-weight:800;color:rgba(255,255,255,.5)}
.predict__dash{font-family:'Anton';font-size:26px;color:rgba(255,255,255,.3);margin-top:-18px}
.stepper{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:14px;padding:6px}
.stepper button{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  background:rgba(255,255,255,.08);font-size:18px;font-weight:600;line-height:0;
}
.stepper button:active{background:rgba(255,255,255,.16)}
.stepper b{font-family:'Anton';font-size:26px;width:26px;text-align:center;font-variant-numeric:tabular-nums}
.sheet__note{font-size:10px;color:rgba(244,241,232,.55);text-align:center;margin:6px 0 16px}
.sheet__note b{color:var(--gold)}
.sheet__fine{font-size:9px;color:rgba(244,241,232,.34);text-align:center;margin-top:12px;line-height:1.6}

/* toast */
.toast{
  position:absolute;left:50%;bottom:100px;transform:translate(-50%,14px);
  z-index:80;max-width:330px;width:max-content;
  padding:11px 16px;border-radius:14px;
  background:rgba(16,22,50,.92);border:1px solid rgba(233,197,124,.35);
  backdrop-filter:blur(18px);
  font-size:11px;font-weight:600;color:#F4F1E8;text-align:center;
  opacity:0;pointer-events:none;
  transition:opacity .3s var(--ease),transform .35s var(--ease-out);
  box-shadow:0 20px 40px -20px rgba(0,0,0,.8);
}
.toast.is-on{opacity:1;transform:translate(-50%,0)}
.toast b{color:var(--gold)}

/* ───────────────────────── stage dock ───────────────────────── */
.stage__dock{
  position:relative;z-index:2;
  display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap;
  padding-top:14px;
}
.dock__group{display:flex;align-items:center;gap:10px}
.dock__label{font-size:7.5px;letter-spacing:.22em;font-weight:800;color:rgba(242,238,227,.32)}
.seg{display:flex;padding:3px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--stage-line)}
.seg__btn{
  height:28px;padding:0 12px;border-radius:9px;
  font-size:8.5px;font-weight:800;letter-spacing:.12em;color:rgba(242,238,227,.45);
}
}
.seg__btn:hover{color:var(--stage-text)}
.seg__btn.is-on{background:rgba(233,197,124,.92);color:#151108}
.dock__hint{font-size:8px;letter-spacing:.08em;color:rgba(242,238,227,.24)}
kbd{
  font-family:inherit;font-size:8px;border:1px solid rgba(255,255,255,.16);
  border-radius:4px;padding:1px 4px;color:rgba(242,238,227,.4);
}

/* responsive */
@media (max-width:820px){
  .stage{padding:14px 14px 10px}
  .stage__head{justify-content:center}
  .stage__note{display:none}
  .stage__dock{gap:14px;padding-top:10px}
  .dock__hint{display:none}
}
@media (max-height:700px){
  .stage__head{display:none}
  .stage__dock{padding-top:6px}
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .hero__img{transition:none}
}

/* reveal */
/* reveal is transform-only: content is never invisible if JS or the compositor stalls */
[data-reveal]{transform:translateY(12px);transition:transform .7s var(--ease-out)}
[data-reveal].in{transform:none}

/* ── patches: hero legibility across themes, screen-specific chrome ── */
.hero .display,
.hero .display--sm,
.hero .scoreline__score{color:#fff}
.hero .chip--ghost{color:#fff;border-color:rgba(255,255,255,.22);background:rgba(9,12,24,.35)}
.hero .hero__meta{color:rgba(255,255,255,.8)}
.app[data-screen="home"] .appbar:not(.is-solid) .appbar__wordmark{color:#fff}
.app[data-screen="home"] .appbar:not(.is-solid) .pill{background:rgba(9,12,24,.35);border-color:rgba(255,255,255,.18);color:#fff}
.app[data-screen="home"] .appbar:not(.is-solid) .iconbtn{color:#fff}

/* clips owns its own chrome */
.app[data-screen="clips"] .appbar{opacity:0;pointer-events:none}
.screen[data-screen="clips"]{overflow:hidden;padding-bottom:0}
.screen[data-screen="travel"]{padding-bottom:104px}

/* score theatre */
.digits .is-tick, .scoreline__score .is-tick{display:inline-block;animation:scoreTick .6s var(--ease)}
@keyframes scoreTick{
  0%{transform:translateY(-38%) scale(.94)}
  65%{transform:translateY(3%) scale(1.01)}
  100%{transform:none}
}

/* pre-match: the match screen is a waiting room */
.screen[data-screen="match"][data-mode="pre"] .momentum,
.screen[data-screen="match"][data-mode="pre"] .timeline,
.screen[data-screen="match"][data-mode="pre"] [data-poll-block],
.screen[data-screen="match"][data-mode="pre"] .js-timeline-cta{display:none}

/* ═════════════════════════ calendar ═════════════════════════ */
.backlink{
  display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;
  font-size:9px;font-weight:800;letter-spacing:.18em;color:var(--gold);
  text-transform:uppercase;min-height:28px;
}
.monthstrip{
  display:flex;align-items:center;gap:6px;padding:0 20px 12px;
  overflow-x:auto;scrollbar-width:none;
}
.monthstrip::-webkit-scrollbar{display:none}
.mchip{
  height:30px;padding:0 13px;border-radius:9px;border:1px solid transparent;
  font-size:9px;font-weight:800;letter-spacing:.14em;color:var(--muted-2);
  flex:0 0 auto;
}
.mchip.is-on{background:var(--surface);border-color:var(--line);color:var(--text)}
.monthstrip__year{
  margin-left:auto;font-size:9px;letter-spacing:.16em;font-weight:700;color:var(--muted-2);
  flex:0 0 auto;padding-left:8px;
}

.nextmatch{
  margin:0 16px 14px;padding:14px;border-radius:20px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(233,197,124,.12), transparent 52%),
    linear-gradient(160deg,var(--surface-2),var(--surface));
  border:1px solid rgba(233,197,124,.2);
}
.nextmatch__comp{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nextmatch__row{display:flex;align-items:center;justify-content:space-between;padding:14px 4px 8px}
.nextmatch__team{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 70px}
.nextmatch__team img{width:40px;height:40px;object-fit:contain}
.nextmatch__team b{font-size:8px;letter-spacing:.15em;font-weight:800;opacity:.7}
.nextmatch__time{display:flex;flex-direction:column;align-items:center;gap:3px}
.nextmatch__time b{font-family:'Anton';font-size:30px;line-height:1;letter-spacing:.02em}
.nextmatch__time small{font-size:7.5px;letter-spacing:.16em;color:var(--muted-2);font-weight:700}
.nextmatch__venue{font-size:9.5px;color:var(--muted-2);text-align:center;padding-bottom:10px}
.nextmatch__cta{display:flex;gap:8px}
.nextmatch__cta .btn{flex:1}

.cpanel{display:none;padding:6px 20px 0}
.cpanel.is-on{display:block}
.monthhead{
  display:flex;align-items:baseline;justify-content:space-between;
  margin:16px 0 6px;
}
.monthhead span{font-size:9px;letter-spacing:.16em;font-weight:800;color:var(--gold)}
.monthhead small{font-size:7.5px;letter-spacing:.14em;color:var(--muted-2);font-weight:700}
.fxlist{display:flex;flex-direction:column}
.fx{
  display:flex;align-items:center;gap:12px;padding:10px 0;text-align:left;
  border-bottom:1px solid var(--line-soft);
}
.fx:last-child{border-bottom:0}
.fx__date{display:flex;flex-direction:column;align-items:center;width:34px;flex:0 0 auto}
.fx__date b{font-family:'Anton';font-size:17px;line-height:1}
.fx__date small{font-size:7px;letter-spacing:.14em;color:var(--muted-2);font-weight:700;margin-top:2px}
.fx__meta{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.fx__meta small{font-size:7px;letter-spacing:.14em;color:var(--muted-2);font-weight:800}
.fx__meta b{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx__meta b i{font-style:normal;color:var(--gold);margin:0 3px}
.fx__meta em{font-style:normal;font-size:9px;color:var(--muted-2)}
.fx__res{
  flex:0 0 auto;font-size:8.5px;font-weight:800;letter-spacing:.06em;
  width:34px;height:24px;border-radius:7px;display:grid;place-items:center;
  background:var(--surface);border:1px solid var(--line);color:var(--muted);
}
.fx__res--w{background:rgba(11,122,62,.16);border-color:rgba(11,122,62,.35);color:#54C98A}
.fx__res--d{background:rgba(233,197,124,.12);border-color:rgba(233,197,124,.3);color:var(--gold)}
.fx__res--next{background:var(--gold);border-color:transparent;color:var(--gold-ink);width:48px}
.fx--next .fx__meta b{color:var(--gold)}
.app[data-theme="light"] .fx__res--w{color:#0B7A3E}

.table{padding-top:6px}
.table__head,.table__row{
  display:grid;grid-template-columns:20px 1fr 24px 24px 24px 24px 36px;
  align-items:center;gap:4px;padding:7px 0;
}
.table__head{font-size:7px;letter-spacing:.12em;color:var(--muted-2);font-weight:800;border-bottom:1px solid var(--line-soft)}
.table__head span:not(:nth-child(2)),.table__row>span:not(.table__team),.table__row>b{text-align:center}
.table__row{font-size:10.5px;font-variant-numeric:tabular-nums;border-bottom:1px solid var(--line-soft)}
.table__row.is-us{background:rgba(233,197,124,.09);border-radius:10px;border-bottom-color:transparent;padding:8px 6px;margin:2px -6px}
.table__row>b{color:var(--gold);font-size:11px}
.table__team{display:flex;align-items:center;gap:6px;font-weight:600;min-width:0;white-space:nowrap}
.table__team img{width:16px;height:16px;object-fit:contain}
.tt{
  width:20px;height:20px;border-radius:6px;background:var(--surface);border:1px solid var(--line);
  display:inline-grid;place-items:center;font-style:normal;font-size:6.5px;font-weight:800;
  color:var(--muted);letter-spacing:.02em;flex:0 0 auto;
}
.table__note{margin-top:12px;font-size:8px;letter-spacing:.06em;color:var(--muted-2)}

.squad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:8px 0}
.sq{
  position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:12px 6px 10px;border-radius:16px;border:1px solid var(--line);
  background:linear-gradient(160deg,var(--surface-2),var(--surface));
}
.sq__av{
  position:relative;width:54px;height:54px;border-radius:50%;overflow:hidden;
  background:linear-gradient(160deg,#1B2A5A,#0B1030);border:1px solid var(--line);
  display:grid;place-items:center;margin-bottom:4px;
}
.sq__av img{width:100%;height:100%;object-fit:cover;object-position:50% 16%}
.sq__av--init{font-family:'Anton';font-size:16px;color:var(--gold);letter-spacing:.04em}
.sq>b{
  position:absolute;top:8px;right:10px;font-size:8px;font-weight:800;
  color:var(--gold);letter-spacing:.04em;
}
.sq>em{font-style:normal;font-size:10.5px;font-weight:600;text-align:center;line-height:1.2}
.sq>small{font-size:7px;letter-spacing:.14em;color:var(--muted-2);font-weight:700}

/* ═════════════════════════ settings ═════════════════════════ */
.sgroup{padding:16px 20px 4px}
.sgroup__h{font-size:9px;letter-spacing:.2em;font-weight:800;color:var(--muted-2);margin-bottom:8px}
.langs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.lang{
  height:38px;border-radius:11px;border:1px solid var(--line);
  font-size:10px;font-weight:600;color:var(--muted);background:var(--surface);
  white-space:nowrap;
}
.lang.is-on{background:var(--gold);border-color:transparent;color:var(--gold-ink);font-weight:800}
.sgroup__note{font-size:9px;line-height:1.6;color:var(--muted-2);margin-top:10px}
.settingrow{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:13px 0;border-bottom:1px solid var(--line-soft);width:100%;text-align:left;
}
.settingrow:last-child{border-bottom:0}
.settingrow span{display:flex;flex-direction:column;gap:3px;min-width:0}
.settingrow b{font-size:12.5px;font-weight:600}
.settingrow small{font-size:9.5px;color:var(--muted-2)}
.settingrow>i{font-style:normal;color:var(--muted-2)}
.settingrow--btn:active{opacity:.7}
.miniseg{display:flex;padding:2px;border-radius:9px;background:var(--surface);border:1px solid var(--line);flex:0 0 auto}
.mini{height:26px;padding:0 9px;border-radius:7px;font-size:7.5px;font-weight:800;letter-spacing:.1em;color:var(--muted-2)}
.mini.is-on{background:var(--gold);color:var(--gold-ink)}
.switch{
  width:44px;height:26px;border-radius:20px;background:var(--surface);
  border:1px solid var(--line);position:relative;flex:0 0 auto;
}
.switch i{
  position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;
  background:var(--muted-2);
}
.switch.is-on{background:rgba(233,197,124,.18);border-color:rgba(233,197,124,.5)}
.switch.is-on i{transform:translateX(18px);background:var(--gold)}
.about{padding:4px 0 10px;display:flex;flex-direction:column;gap:6px}
.about b{font-size:11px;letter-spacing:.06em}
.about small{font-size:9px;line-height:1.6;color:var(--muted-2)}

/* ═════════════════════════ rewards ═════════════════════════ */
.wallet{
  margin:0 16px;padding:18px;border-radius:22px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(233,197,124,.2), transparent 55%),
    linear-gradient(150deg,#1A1230,#2A0C22 52%,#0B1030);
  border:1px solid rgba(233,197,124,.34);color:#F6EFE1;
}
.wallet small{font-size:7px;letter-spacing:.22em;font-weight:800;color:rgba(246,239,225,.5)}
.wallet__num{display:flex;align-items:baseline;gap:7px;margin:4px 0 8px}
.wallet__num b{font-family:'Anton';font-size:44px;line-height:1;color:#F3D79A;font-variant-numeric:tabular-nums}
.wallet__num span{font-size:10px;letter-spacing:.14em;color:rgba(246,239,225,.55)}
.wallet__meta{display:flex;gap:18px;font-size:9.5px;color:rgba(246,239,225,.6)}
.wallet__meta b{color:#F3D79A}
.wallet__bar{height:4px;border-radius:3px;background:rgba(255,255,255,.14);margin:12px 0 8px;overflow:hidden}
.wallet__bar i{display:block;height:100%;background:linear-gradient(90deg,#B98B3C,var(--gold-2));border-radius:3px}
.wallet p{font-size:9.5px;color:rgba(246,239,225,.55)}
.wallet p b{color:#F3D79A}

.rewards{display:flex;flex-direction:column;gap:8px}
.reward{
  display:flex;align-items:center;gap:12px;padding:12px;border-radius:15px;
  border:1px solid var(--line);background:var(--surface);text-align:left;
}
.reward__ic{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  background:rgba(233,197,124,.12);border:1px solid rgba(233,197,124,.3);
  color:var(--gold);font-size:15px;flex:0 0 auto;
}
.reward span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.reward b{font-size:11.5px;font-weight:600}
.reward small{font-size:9px;color:var(--muted-2)}
.reward i{
  font-style:normal;font-size:8px;font-weight:800;letter-spacing:.1em;color:var(--gold);
}
.reward.is-locked{opacity:.74}
.reward.is-locked i{color:var(--muted-2)}
.reward.is-done{opacity:.6}
.reward.is-done i{color:var(--muted-2)}

.ledger{display:flex;flex-direction:column}
.ledger__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.ledger__row:last-child{border-bottom:0}
.ledger__row span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ledger__row b{font-size:10.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ledger__row small{font-size:8.5px;color:var(--muted-2)}
.ledger__row i{font-style:normal;font-size:10.5px;font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums}
.board{display:flex;flex-direction:column;gap:2px}
.board__row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-soft);font-size:11px}
.board__row:last-child{border-bottom:0}
.board__row b{width:20px;color:var(--muted-2);font-size:10px}
.board__row span{flex:1}
.board__row i{font-style:normal;font-size:10.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.board__row.is-you{color:var(--gold)}
.board__row.is-you b,.board__row.is-you i{color:var(--gold)}

/* ═════════════════════════ quiz card ═════════════════════════ */
.quizpromo{
  display:flex;align-items:center;gap:12px;margin-top:10px;padding:12px 14px;
  border-radius:16px;border:1px solid rgba(233,197,124,.24);
  background:linear-gradient(150deg,rgba(233,197,124,.1),var(--surface));
  text-align:left;
}
.quizpromo__ic{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--gold);color:var(--gold-ink);font-weight:800;font-size:14px;flex:0 0 auto;
}
.quizpromo__txt{flex:1;display:flex;flex-direction:column;gap:2px}
.quizpromo__txt small{font-size:7.5px;letter-spacing:.16em;color:var(--gold);font-weight:800}
.quizpromo__txt b{font-size:11.5px;font-weight:600}
.quizpromo__cta{font-size:8.5px;font-weight:800;letter-spacing:.12em;color:var(--gold)}
.quizpromo__cta i{font-style:normal;color:var(--muted-2);margin-left:4px}
.quiz{padding:0 20px}
.quiz__top{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.16em;font-weight:800;color:var(--muted-2)}
.quiz__top span:last-child{color:var(--gold)}
.quiz__bar{height:3px;border-radius:2px;background:var(--line-soft);margin:8px 0 20px;overflow:hidden}
.quiz__bar i{display:block;height:100%;background:var(--gold);border-radius:2px}
.quiz h2{font-family:'Anton';font-size:26px;line-height:1.1;text-transform:uppercase;letter-spacing:.01em;min-height:86px}
.quiz__opts{display:flex;flex-direction:column;gap:8px;margin:18px 0 14px}
.quizopt{
  text-align:left;padding:14px;border-radius:14px;border:1px solid var(--line);
  background:var(--surface);font-size:12px;font-weight:600;
  transition:border-color .2s,background .2s;
}
.quizopt.is-correct{background:rgba(11,122,62,.2);border-color:rgba(11,122,62,.6)}
.quizopt.is-wrong{background:rgba(196,22,42,.16);border-color:rgba(196,22,42,.5)}
.quizopt:disabled{opacity:.85}
.quiz__feedback{font-size:9.5px;line-height:1.6;color:var(--muted-2);min-height:34px}
.quizdone{padding:16px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.quizdone[hidden]{display:none}
.quizdone__pts{
  font-family:'Anton';font-size:44px;color:var(--gold);line-height:1;
}
.quizdone p{font-size:11px;color:var(--muted);line-height:1.6}
.quizdone .btn{margin-top:12px}

/* ═════════════════════════ notifications ═════════════════════════ */
.notifwrap{position:absolute;inset:0;z-index:62}
.notifwrap[hidden]{display:none}
.notifwrap__scrim{position:absolute;inset:0;width:100%;background:rgba(3,5,12,.28);border:0}
.notif{
  position:absolute;top:100px;left:12px;right:12px;
  background:linear-gradient(170deg,#141A38,#0A0E22);
  border:1px solid var(--line);border-radius:20px;padding:12px;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.9);
}
.notif__head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}
.notif__head b{font-size:8px;letter-spacing:.2em;color:var(--text)}
.notif__head .link{color:var(--gold)}
.notif__item{display:flex;gap:10px;padding:10px 4px;border-top:1px solid var(--line-soft)}
.notif__dot{width:6px;height:6px;border-radius:50%;background:var(--gold);margin-top:5px;flex:0 0 auto;opacity:.7}
.notif__item.is-new .notif__dot{opacity:1;box-shadow:0 0 0 4px rgba(233,197,124,.12)}
.notif__item div{display:flex;flex-direction:column;gap:3px}
.notif__item b{font-size:11px;font-weight:600}
.notif__item small{font-size:9px;line-height:1.5;color:var(--muted-2)}
.notif__fine{font-size:7.5px;color:var(--muted-2);letter-spacing:.06em;text-align:center;padding-top:8px}

/* ═════════════════════════ club services ═════════════════════════ */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.service{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:12px 10px;border-radius:15px;border:1px solid var(--line);
  background:linear-gradient(160deg,var(--surface-2),var(--surface));
}
.service svg{color:var(--gold);margin-bottom:4px}
.service b{font-size:10.5px;font-weight:600}
.service small{font-size:8px;color:var(--muted-2);line-height:1.3}
.service:active{opacity:.7}

/* reduced motion switch */
.app.reduce-motion *,
.app.reduce-motion *::before,
.app.reduce-motion *::after{
  animation-duration:.001ms !important;
  animation-iteration-count:1 !important;
  transition-duration:.001ms !important;
}


/* light theme chrome is opaque: avoids compositor ghosting of the dark backdrop */
.app[data-theme="light"] .tabbar{background:#F4EFE6}
.app[data-theme="light"] .appbar.is-solid{background:#F4EFE6}
.app[data-theme="light"] .is-scrolled .statusbar{background:#F4EFE6}

/* ═════════════════════════ calendar v2 (month grid) ═════════════════════════ */
.calhead{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  padding:108px 20px 12px;
}
.calhead__right{position:relative;padding-bottom:4px}
.teamsel{
  display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 11px;
  border-radius:999px;border:1px solid var(--line);background:var(--surface);
  font-size:8px;font-weight:800;letter-spacing:.14em;color:var(--text);
  white-space:nowrap;
}
.teamsel svg{color:var(--muted-2)}
.dropmenu{
  position:absolute;z-index:30;min-width:172px;padding:6px;
  background:var(--surface-solid);border:1px solid var(--line);
  border-radius:14px;box-shadow:0 24px 50px -20px rgba(0,0,0,.8);
}
.dropmenu[hidden]{display:none}
.teammenu{right:0;top:calc(100% + 6px)}
.dropmenu button{
  display:flex;align-items:center;width:100%;padding:9px 10px;border-radius:9px;
  text-align:left;font-size:10.5px;font-weight:500;color:var(--text);opacity:.78;
}
.dropmenu button:hover{background:var(--surface)}
.dropmenu button.is-on{color:var(--gold);font-weight:700}
.caltabs{
  position:sticky;top:98px;z-index:7;display:flex;gap:22px;
  padding:0 20px;background:var(--bg);
  border-bottom:1px solid var(--line-soft);
}
.caltab{
  position:relative;padding:11px 0 9px;font-size:9px;font-weight:800;letter-spacing:.16em;
  color:var(--muted-2);border-bottom:2px solid transparent;min-height:38px;
}
.caltab.is-on{color:var(--text);border-bottom-color:var(--gold)}
.cpanel[data-cpanel="fixtures"]{padding:0}
.monthbar{position:sticky;top:136px;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px;background:var(--bg);border-bottom:1px solid var(--line-soft)}
.mbarnav{
  width:36px;height:36px;border-radius:12px;display:grid;place-items:center;
  border:1px solid var(--line);background:var(--surface);font-size:17px;line-height:1;
  color:var(--text);
}
.mbarnav:disabled{opacity:.28}
.monthlabel{
  display:inline-flex;align-items:center;gap:6px;
  font-family:'Anton';font-size:15px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--text);
}
.monthlabel svg{color:var(--muted-2)}
.monthlabel:disabled{opacity:.45}
.monthmenu{top:52px;left:50%;transform:translateX(-50%);min-width:150px}
.monthblock{padding:10px 12px 4px;scroll-margin-top:196px}
.monthblock__label{
  font-size:8.5px;letter-spacing:.2em;font-weight:800;color:var(--gold);
  padding:8px 8px 6px;
}
.mweek{display:grid;grid-template-columns:repeat(7,1fr);padding:0 2px 2px}
.mweek span{
  font-size:7.5px;letter-spacing:.1em;text-align:center;color:var(--muted-2);font-weight:700;
}
.mgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.mcell{
  position:relative;height:76px;border-radius:10px;border:1px solid transparent;
  display:flex;flex-direction:column;align-items:center;gap:2px;padding-top:7px;
  color:var(--text);background:transparent;
}
.mcell--pad{pointer-events:none}
.mcell__num{
  width:23px;height:23px;border-radius:50%;display:grid;place-items:center;
  font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;
}
.mcell.is-today .mcell__num{background:var(--gold);color:var(--gold-ink);font-weight:800}
.mcell.is-fixture{background:var(--surface);border-color:var(--line)}
.mcell.is-next{border-color:rgba(233,197,124,.55);box-shadow:inset 0 0 0 1px rgba(233,197,124,.18)}
.mcell__crest{width:21px;height:21px;object-fit:contain;margin-top:1px}
.mcell__crest--init{
  display:grid;place-items:center;font-size:6.5px;font-weight:800;letter-spacing:.02em;
  background:var(--surface-2);border:1px solid var(--line);border-radius:5px;color:var(--muted);
}
.mcell__chip{
  font-size:6px;font-weight:800;letter-spacing:.1em;line-height:1;
  padding:2px 5px;border-radius:4px;
}
.mcell__chip.is-home{background:var(--blue);color:#fff}
.mcell__chip.is-away{background:var(--maroon);color:#fff}
.mcell:active{transform:scale(.97)}
.calempty{
  margin:16px 20px;padding:24px 18px;border:1px dashed var(--line);border-radius:18px;
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
}
.calempty b{font-size:9px;letter-spacing:.18em;color:var(--gold)}
.calempty p{font-size:11px;line-height:1.6;color:var(--muted);max-width:280px}
.app[data-theme="light"] .caltabs{background:#F4EFE6}

/* squad grid — matches the demo: 3 columns, photo, number, name, position */
.squadgrid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px 4px;
  padding:14px 14px 6px;
}
.sqcard{
  position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:2px 2px 6px;background:none;border:0;color:var(--text);text-align:center;
}
.sqcard__av{
  display:block;width:56px;height:56px;border-radius:50%;overflow:hidden;
  background:linear-gradient(160deg,#1B2A5A,#0B1030);
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.sqcard__av img{width:100%;height:100%;object-fit:cover;object-position:50% 12%}
.sqcard__media{position:relative;display:inline-block}
.sqcard__num{
  position:absolute;top:-3px;right:-7px;font-size:8.5px;font-weight:800;
  color:var(--gold);font-variant-numeric:tabular-nums;
  background:var(--bg);padding:0 2px;border-radius:5px;
}
.sqcard b{font-size:10px;font-weight:600;line-height:1.2;margin-top:2px;min-height:24px}
.sqcard small{font-size:7.5px;color:var(--muted-2);text-transform:capitalize;letter-spacing:.02em}
.sqcard:active .sqcard__av{transform:scale(.96)}
.calempty[hidden]{display:none}

.app[data-theme="light"] .monthbar{background:#F4EFE6}
