/* SuperSquad Arena — holographic stadium HUD theme.
   Fonts: Orbitron (titles, big numbers) · Chakra Petch (HUD labels) · Inter (body). */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  color-scheme: dark;
  --bg: #030913; --bg2: #071328; --panel: rgba(9, 22, 44, .74); --line: rgba(84, 170, 255, .17); --line2: rgba(64, 200, 255, .5);
  --cyan: #22e1ff; --blue: #2f8bff; --elec: #1f6bff; --violet: #8b5cff; --orange: #ff9a3c; --red: #ff3b5c; --green: #3dffa2; --gold: #ffc940;
  --txt: #e6f2ff; --mut: #86a2c4; --dim: #58749a; --glow: 0 0 18px rgba(34, 225, 255, .35);
  --accent: var(--cyan);
  --fd: Orbitron, 'Chakra Petch', Inter, sans-serif;
  --fh: 'Chakra Petch', Inter, system-ui, sans-serif;
  --fb: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fn: Oxanium, 'Chakra Petch', Inter, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 120px; }
body { margin: 0; min-height: 100vh; overflow-x: clip; color: var(--txt); font: 14px/1.5 var(--fb); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(34, 225, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- background FX layer (index.html .bgfx) ---------- */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 640px at 50% -16%, rgba(22, 78, 160, .5), transparent 62%),
    radial-gradient(900px 560px at 108% 36%, rgba(31, 107, 255, .1), transparent 62%),
    radial-gradient(760px 520px at -10% 80%, rgba(34, 225, 255, .06), transparent 60%),
    linear-gradient(180deg, #050e1e 0%, #030913 46%, #02060d 100%); }
.bgfx::before { content: ''; position: absolute; inset: 0; background: url(assets/noise.svg); opacity: .045; }
.bgfx::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(70, 160, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 160, 255, .07) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000, transparent 78%); mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000, transparent 78%); }
.bgfx i { position: absolute; display: block; }
.fx-par { inset: 0; }
.fx-o1, .fx-o2, .fx-o3 { border-radius: 50%; will-change: transform; }
.fx-o1 { width: 780px; height: 780px; left: -280px; top: 18vh; background: radial-gradient(closest-side, rgba(31, 107, 255, .2), transparent); animation: drift 34s ease-in-out infinite alternate; }
.fx-o2 { width: 700px; height: 700px; right: -260px; top: 52vh; background: radial-gradient(closest-side, rgba(34, 225, 255, .13), transparent); animation: drift 41s ease-in-out -12s infinite alternate-reverse; }
.fx-o3 { width: 600px; height: 600px; left: 36%; top: 96vh; background: radial-gradient(closest-side, rgba(255, 122, 40, .08), transparent); animation: drift 47s ease-in-out -20s infinite alternate; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(80px, -60px, 0) scale(1.12); } 100% { transform: translate3d(-60px, 40px, 0) scale(.94); } }
.fx-floor { left: -25%; right: -25%; bottom: 0; height: 42vh; perspective: 380px; perspective-origin: 50% 0%; overflow: hidden; opacity: .55;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 90%); mask-image: linear-gradient(0deg, #000, transparent 90%); }
.fx-floor i { inset: -120% 0 0; transform: rotateX(64deg); transform-origin: 50% 100%; animation: floor 5s linear infinite;
  background-image: linear-gradient(rgba(64, 170, 255, .17) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(64, 170, 255, .17) 1.5px, transparent 1.5px); background-size: 72px 72px; }
@keyframes floor { to { transform: rotateX(64deg) translateY(72px); } }
.fx-scan { left: 0; right: 0; top: 0; height: 34vh; background: linear-gradient(180deg, transparent, rgba(34, 225, 255, .035) 70%, transparent); animation: scan 14s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { from { transform: translateY(-30vh); } to { transform: translateY(112vh); } }
@supports (animation-timeline: scroll()) {
  .fx-par { animation: para linear both; animation-timeline: scroll(root); }
  @keyframes para { to { transform: translateY(-36vh); } }
}

/* ---------- type + utilities ---------- */
h1, h2, h3, h4, .hud { margin: 0; text-transform: uppercase; }
h1 { font: 800 34px/1.12 var(--fd); letter-spacing: .045em; color: #f4f9ff; text-shadow: 0 0 28px rgba(34, 225, 255, .22); }
h2 { font: 800 18px/1.25 var(--fd); letter-spacing: .09em; color: #eef6ff; text-shadow: 0 0 18px rgba(34, 225, 255, .18); }
h3 { font: 700 13.5px/1.35 var(--fh); letter-spacing: .14em; color: var(--cyan); text-shadow: 0 0 14px rgba(34, 225, 255, .35); }
h4 { font: 600 11px/1.4 var(--fh); letter-spacing: .2em; color: var(--mut); }
.hud { font-family: var(--fh); font-weight: 700; letter-spacing: .06em; }
.mut { color: var(--mut); } .cy { color: var(--cyan); } .or { color: var(--orange); } .rd { color: var(--red); } .gr { color: var(--green); } .gd { color: var(--gold); }
.small { font-size: 12.5px; } .tiny { font-size: 11px; } .b { font-weight: 700; }
.row { display: flex; gap: 12px; align-items: center; } .col { display: flex; flex-direction: column; gap: 14px; } .wrap { flex-wrap: wrap; } .sp { justify-content: space-between; } .f1 { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; } .grid > * { min-width: 0; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
p { line-height: 1.6; }
a.mut:hover { color: var(--cyan); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; overflow-x: clip; background: linear-gradient(180deg, rgba(3, 9, 20, .94), rgba(4, 11, 24, .8)); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(84, 170, 255, .14); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .85); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 4%, color-mix(in srgb, var(--accent) 70%, transparent) 50%, transparent 96%); opacity: .75; }
.top::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 220px; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, #fff, transparent); animation: run 7s linear infinite; }
@keyframes run { from { transform: translateX(-240px); } to { transform: translateX(100vw); } }
.top .in { max-width: 1320px; margin: 0 auto; padding: 10px 20px 8px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .logo { position: relative; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 900 16px var(--fd); color: #01060f;
  background: conic-gradient(from 200deg, var(--accent), var(--blue), #7a4dff, var(--accent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 40px rgba(47, 139, 255, .25); }
.brand .logo::after { content: ''; position: absolute; inset: -6px; border-radius: 14px; border: 1px dashed rgba(34, 225, 255, .45); animation: turn 14s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.brand > span { display: flex; flex-direction: column; font: 800 15px/1 var(--fd); letter-spacing: .15em; color: #f2f8ff; text-shadow: 0 0 16px rgba(34, 225, 255, .3); }
.brand > span .cy { margin-top: 5px; font: 700 9.5px/1 var(--fh); letter-spacing: .6em; text-align-last: justify; color: var(--cyan); text-shadow: 0 0 10px rgba(34, 225, 255, .7); }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; justify-content: safe center; overflow-x: auto; scrollbar-width: none; padding: 4px 0 6px; margin: -4px 0 -6px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; padding: 8px 7px; border-radius: 8px; color: var(--mut); font: 600 12.5px/1 var(--fh); letter-spacing: .02em; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--txt); background: rgba(34, 225, 255, .06); }
.nav a.on { color: #fff; background: linear-gradient(180deg, rgba(34, 225, 255, .02), rgba(34, 225, 255, .14)); text-shadow: 0 0 12px rgba(34, 225, 255, .8); }
.nav a.on::after { content: ''; position: absolute; left: 7px; right: 7px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan), 0 0 18px rgba(34, 225, 255, .7); }
.wallet { display: flex; gap: 8px; align-items: center; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(84, 170, 255, .25); background: linear-gradient(180deg, rgba(16, 38, 72, .7), rgba(6, 16, 34, .7)); box-shadow: inset 0 1px 0 rgba(160, 220, 255, .08); font: 600 12.5px var(--fh); letter-spacing: .04em; white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 800 11px var(--fh); letter-spacing: .04em; color: #01060f; background: linear-gradient(135deg, #7ff0ff, var(--cyan) 35%, var(--blue)); box-shadow: 0 0 0 2px rgba(3, 9, 19, .9), 0 0 0 3px rgba(34, 225, 255, .45), 0 0 14px rgba(34, 225, 255, .35); }
.sportbar { max-width: 1320px; margin: 0 auto; padding: 4px 20px 12px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sportbar::-webkit-scrollbar { display: none; }
.sportbar::before { content: 'SPORT //'; flex: none; padding-right: 6px; font: 700 10px var(--fh); letter-spacing: .3em; color: var(--dim); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 11px; border-radius: 999px; border: 1px solid rgba(84, 170, 255, .2); background: linear-gradient(180deg, rgba(14, 32, 62, .78), rgba(6, 15, 32, .78)); color: var(--mut); font: 600 12.5px/1.2 var(--fh); letter-spacing: .03em; white-space: nowrap; transition: color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.chip:hover { color: var(--txt); border-color: rgba(84, 200, 255, .5); box-shadow: 0 0 14px rgba(34, 225, 255, .15); }
.chip.on { color: #01060f; font-weight: 700; border-color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--accent), #fff 30%), var(--accent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 16px color-mix(in srgb, var(--accent) 65%, transparent), 0 0 36px color-mix(in srgb, var(--accent) 25%, transparent); }
.chip:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
[data-site] .sportbar::before { content: 'NETWORK //'; }
.chip.ext .tiny { display: inline-block; margin-left: -2px; opacity: .55; transition: transform .2s var(--ease), opacity .2s, color .2s; }
.chip.ext:hover .tiny { opacity: 1; color: var(--cyan); transform: translate(2px, -2px); }
.pill .fam-av { width: 22px; height: 22px; font-size: 9px; margin-left: -7px; }
button.pill { transition: border-color .2s, box-shadow .2s; }
button.pill:hover { border-color: rgba(84, 200, 255, .55); box-shadow: 0 0 14px rgba(34, 225, 255, .18); }

/* ---------- page ---------- */
main { position: relative; max-width: 1320px; margin: 0 auto; padding: 26px 20px 96px; }
#app > * { animation: rise .5s var(--ease) both; }
main::after { content: 'SUPERSQUAD NETWORK  ◆  BRUNEI DARUSSALAM  ◆  ONE PLAYER PROFILE · 7 SPORTS'; display: block; margin-top: 64px; padding-top: 18px; text-align: center; font: 600 10px var(--fh); letter-spacing: .38em; color: var(--dim);
  background: linear-gradient(90deg, transparent, rgba(84, 170, 255, .3), transparent) top / 100% 1px no-repeat; }
#app > :nth-child(2) { animation-delay: .04s; } #app > :nth-child(3) { animation-delay: .08s; } #app > :nth-child(4) { animation-delay: .12s; } #app > :nth-child(5) { animation-delay: .16s; } #app > :nth-child(n+6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }

/* panels: glass + luminous edge + HUD corner ticks */
.panel { position: relative; border-radius: 14px; padding: 18px;
  background: linear-gradient(165deg, rgba(18, 42, 82, .56) 0%, rgba(8, 20, 42, .74) 40%, rgba(5, 12, 26, .84) 100%);
  border: 1px solid rgba(90, 170, 255, .16);
  box-shadow: inset 0 1px 0 rgba(160, 220, 255, .07), 0 18px 40px -20px rgba(0, 0, 0, .8); }
.panel::before { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; pointer-events: none; opacity: .6; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent), #fff 25%), transparent); }
.panel::after { content: ''; position: absolute; inset: 5px; pointer-events: none; border-radius: 10px; --c: rgba(120, 205, 255, .5);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 12px no-repeat; }
.panel.hot { border-color: rgba(64, 200, 255, .4); background: linear-gradient(165deg, rgba(18, 62, 116, .6) 0%, rgba(8, 24, 50, .78) 42%, rgba(5, 12, 26, .86) 100%);
  box-shadow: 0 0 0 1px rgba(34, 225, 255, .06), 0 0 30px rgba(34, 225, 255, .14), inset 0 0 44px rgba(34, 225, 255, .06), 0 24px 50px -22px rgba(0, 0, 0, .85); }
.panel.hot::after { --c: rgba(140, 235, 255, .9);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 14px no-repeat; }
/* light comet running around featured / hovered cards */
.panel.hot::before, .gcard:hover::before, .sportcard:hover::before, .prod:hover::before, .panel.fam:hover::before {
  inset: 0; height: auto; border-radius: inherit; padding: 1.5px; opacity: 1;
  background: conic-gradient(from var(--spin), transparent 0deg 210deg, rgba(34, 225, 255, .55) 290deg, #e6fdff 348deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 6s linear infinite; }
.gcard:hover::before, .sportcard:hover::before, .prod:hover::before, .panel.fam:hover::before { animation-duration: 2.4s; }
@keyframes spin { to { --spin: 360deg; } }
.ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.ph h3::before, .panel > h3:first-child::before { content: ''; display: inline-block; width: 3px; height: .95em; margin-right: 9px; vertical-align: -2px; border-radius: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.sec { position: relative; margin: 38px 0 16px; padding-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.sec::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), transparent) 0 100% / 110px 2px no-repeat,
    linear-gradient(90deg, rgba(84, 170, 255, .32), rgba(84, 170, 255, .1) 70%, transparent) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(120, 200, 255, .5) 0 1px, transparent 1px 8px) 100% 0 / 121px 4px no-repeat; }
.sec h2 { font-size: 19px; }
.panel ul { list-style: none; } .panel li { position: relative; }
.panel ul:not(.steps, .list) > li::before { content: ''; position: absolute; left: -15px; top: .72em; width: 5px; height: 5px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 6px var(--cyan); }

/* ---------- controls ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(64, 200, 255, .45);
  background: linear-gradient(180deg, rgba(34, 225, 255, .12), rgba(34, 225, 255, .03)); color: #bdf2ff; font: 700 11.5px/1.1 var(--fh); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 0 12px rgba(34, 225, 255, .08); transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn:hover { color: #fff; border-color: var(--cyan); background: linear-gradient(180deg, rgba(34, 225, 255, .22), rgba(34, 225, 255, .06)); box-shadow: inset 0 0 14px rgba(34, 225, 255, .18), 0 0 20px rgba(34, 225, 255, .35); transform: translateY(-1px); }
.btn:hover::after { animation: sheenHover .75s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.pri { color: #00101f; font-weight: 800; border: 0; padding: 11px 19px; text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
  background: linear-gradient(90deg, #4cecff, #22c3ff 45%, #2f8bff); box-shadow: inset 0 0 0 1px rgba(200, 248, 255, .55), inset 0 -8px 16px rgba(0, 40, 120, .25), 0 8px 24px -8px rgba(34, 190, 255, .8), 0 0 30px -6px rgba(34, 225, 255, .55); }
.btn.pri::after { opacity: 1; animation: sheen 6s ease-in-out 1.2s infinite; }
.btn.pri:hover { color: #00101f; background: linear-gradient(90deg, #7ff3ff, #36d0ff 45%, #4a9dff); box-shadow: inset 0 0 0 1px rgba(220, 252, 255, .7), 0 10px 30px -8px rgba(34, 190, 255, .9), 0 0 40px -4px rgba(34, 225, 255, .7); }
.btn.pri:hover::after { animation: sheenHover .75s var(--ease); }
.btn.or { border-color: rgba(255, 154, 60, .6); color: #ffc58f; background: linear-gradient(180deg, rgba(255, 154, 60, .16), rgba(255, 154, 60, .04)); box-shadow: inset 0 0 12px rgba(255, 154, 60, .1); }
.btn.or:hover { color: #fff; border-color: var(--orange); box-shadow: inset 0 0 14px rgba(255, 154, 60, .22), 0 0 20px rgba(255, 154, 60, .4); }
.btn.sm { padding: 7px 13px; font-size: 10.5px; letter-spacing: .12em; }
.btn.pri.sm { padding: 8px 14px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled::after { display: none; }
@keyframes sheen { 0% { opacity: 0; transform: skewX(-20deg) translateX(0); } 6% { opacity: 1; } 20%, 100% { opacity: 0; transform: skewX(-20deg) translateX(480%); } }
@keyframes sheenHover { 0% { opacity: 0; transform: skewX(-20deg) translateX(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: skewX(-20deg) translateX(480%); } }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; font: 600 10px/1.3 var(--fh); letter-spacing: .13em; text-transform: uppercase; color: var(--mut); border: 1px solid rgba(110, 170, 240, .26); background: rgba(10, 24, 48, .55); white-space: nowrap; vertical-align: middle; }
.tag.cam { color: #ff7a8f; border-color: rgba(255, 59, 92, .5); background: rgba(255, 59, 92, .09); }
.tag.ok { color: var(--green); border-color: rgba(61, 255, 162, .42); background: rgba(61, 255, 162, .07); }
.tag.cy { color: var(--cyan); border-color: rgba(34, 225, 255, .45); background: rgba(34, 225, 255, .07); }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 5px; color: #fff; background: linear-gradient(180deg, #ff4f6c, #df1a40); font: 700 10px/1.3 var(--fh); letter-spacing: .18em; box-shadow: inset 0 0 0 1px rgba(255, 150, 165, .45), 0 0 14px rgba(255, 59, 92, .55); vertical-align: middle; }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ping 1.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
@keyframes blink { 50% { opacity: .2; } }
.bar { position: relative; height: 6px; border-radius: 6px; background: rgba(110, 170, 255, .1); box-shadow: inset 0 0 0 1px rgba(120, 180, 255, .08); }
.bar > i { position: relative; display: block; height: 100%; max-width: 100%; border-radius: 6px; background: linear-gradient(90deg, rgba(31, 107, 255, .85), var(--cyan)); box-shadow: 0 0 12px rgba(34, 225, 255, .5); }
.bar > i::after { content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(50%, -50%); background: radial-gradient(circle, #fff 0 22%, rgba(120, 240, 255, .7) 40%, transparent 70%); }
.bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 11px, rgba(3, 9, 19, .55) 11px 12px); }
.kpi .v { --k: var(--cyan); font: 800 29px/1.12 var(--fn); letter-spacing: .03em; color: #fff; text-shadow: 0 0 18px color-mix(in srgb, var(--k) 60%, transparent); }
.kpi .v.rd { --k: var(--red); } .kpi .v.or { --k: var(--orange); } .kpi .v.gr { --k: var(--green); } .kpi .v.gd { --k: var(--gold); }
.kpi .v::before { content: ''; position: absolute; left: -1px; top: 24%; bottom: 24%; width: 2px; border-radius: 2px; background: var(--k); box-shadow: 0 0 10px var(--k), 0 0 22px var(--k); }
.kpi .l { margin-top: 4px; font: 600 10.5px/1.3 var(--fh); letter-spacing: .17em; color: var(--mut); text-transform: uppercase; }
table { width: 100%; border-collapse: collapse; }
td, th { padding: 10px 8px; border-bottom: 1px solid rgba(84, 170, 255, .09); text-align: left; font-size: 13px; }
th { font: 600 10px var(--fh); color: var(--dim); letter-spacing: .18em; text-transform: uppercase; border-bottom-color: rgba(84, 170, 255, .24); }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(34, 225, 255, .035); }
td.hud { font-size: 14px; }
td.mut:first-child { white-space: nowrap; }
tr.me td { background: rgba(34, 225, 255, .1); }
tr.me td:first-child { box-shadow: inset 2px 0 0 var(--cyan); }
input, select, textarea { background: rgba(4, 12, 26, .85); border: 1px solid rgba(84, 170, 255, .26); color: var(--txt); border-radius: 10px; padding: 9px 12px; font: 500 13.5px var(--fb); outline: none; box-shadow: inset 0 1px 8px rgba(0, 0, 0, .45); transition: border-color .2s, box-shadow .2s; }
input:hover, select:hover, textarea:hover { border-color: rgba(84, 190, 255, .45); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 225, 255, .14), 0 0 18px rgba(34, 225, 255, .25), inset 0 1px 8px rgba(0, 0, 0, .45); }
input::placeholder, textarea::placeholder { color: #5b7aa2; }
textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
select { -webkit-appearance: none; appearance: none; padding-right: 34px; cursor: pointer; background: rgba(4, 12, 26, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2322e1ff' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center; }
option { background: #071328; color: var(--txt); }
input[type=checkbox] { width: 16px; height: 16px; padding: 0; accent-color: var(--cyan); box-shadow: none; }
label.row { cursor: pointer; }

/* ---------- hero: stadium ---------- */
.hero { position: relative; isolation: isolate; container-type: inline-size; height: 500px; border-radius: 22px; overflow: hidden; background: #02060e; perspective: 1100px; perspective-origin: 50% 26%;
  border: 1px solid rgba(110, 190, 255, .24); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 80px -34px rgba(34, 160, 255, .5); }
.hero .stands { position: absolute; inset: 0; z-index: 0; background: url(assets/stadium.svg) 50% 100% / cover no-repeat; }
.hero .stands::before { content: ''; position: absolute; inset: 0; background: url(assets/flashes.svg) 50% 100% / cover no-repeat; }
.hero .stands::after { content: ''; position: absolute; top: 6%; left: 25%; width: 50%; height: 64%; background: radial-gradient(closest-side, rgba(150, 215, 255, .17), transparent); mix-blend-mode: screen; animation: sweep 16s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateX(-62%); } to { transform: translateX(62%); } }
.hero canvas.field { position: absolute; z-index: 1; left: 50%; bottom: -94px; width: 68%; transform: translateX(-50%) rotateX(63deg); transform-origin: 50% 100%; border-radius: 18px; mix-blend-mode: screen; filter: saturate(1.35) brightness(1.22);
  box-shadow: 0 0 0 2px rgba(150, 235, 255, .55), 0 0 26px rgba(34, 225, 255, .6), 0 0 120px rgba(34, 225, 255, .3); }
/* racket courts, netball and golf fill their whole canvas: scale them to sit inside the stadium ring like the football pitch */
html:not([data-sport="soccer"]) .hero canvas.field { width: 50%; bottom: -40px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; animation: beams 6s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 12% 8%, #fff 0 2px, rgba(180, 230, 255, .55) 5px, rgba(80, 160, 255, .16) 26px, transparent 64px),
    radial-gradient(circle at 88% 8%, #fff 0 2px, rgba(180, 230, 255, .55) 5px, rgba(80, 160, 255, .16) 26px, transparent 64px),
    conic-gradient(from 119deg at 12% 8%, transparent 0deg, rgba(150, 210, 255, .12) 7deg, transparent 14deg 360deg),
    conic-gradient(from 110deg at 12% 8%, transparent 0deg, rgba(150, 210, 255, .07) 5deg, transparent 10deg 360deg),
    conic-gradient(from 227deg at 88% 8%, transparent 0deg, rgba(150, 210, 255, .12) 7deg, transparent 14deg 360deg),
    conic-gradient(from 240deg at 88% 8%, transparent 0deg, rgba(150, 210, 255, .07) 5deg, transparent 10deg 360deg); }
@keyframes beams { from { opacity: .7; } to { opacity: 1; } }
.hero .shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(160, 220, 255, .025) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(2, 6, 14, .95) 0%, rgba(2, 6, 14, .78) 25%, rgba(2, 6, 14, .25) 48%, transparent 60%),
    linear-gradient(0deg, rgba(2, 6, 14, .8) 0%, rgba(2, 6, 14, 0) 30%), linear-gradient(180deg, rgba(2, 6, 14, .5), transparent 16%); }
.hero .shade::before { content: ''; position: absolute; left: 50%; bottom: -14%; width: 76%; height: 52%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(61, 255, 162, .2), rgba(34, 225, 255, .1) 55%, transparent); mix-blend-mode: screen; animation: beams 4.5s ease-in-out infinite alternate; }
.hero .shade::after { content: ''; position: absolute; top: 40%; bottom: 0; left: 0; width: 160px; mix-blend-mode: screen; opacity: 0; animation: aiscan 9s cubic-bezier(.5, 0, .5, 1) 1.5s infinite;
  background: linear-gradient(90deg, transparent, rgba(34, 225, 255, .1) 70%, rgba(34, 225, 255, .35) 97%, rgba(210, 250, 255, .85) 99.4%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%); }
@keyframes aiscan { 0% { opacity: 0; transform: translateX(16cqw); } 6% { opacity: 1; } 34% { opacity: 1; transform: translateX(82cqw); } 40%, 100% { opacity: 0; transform: translateX(82cqw); } }
.hero::after { content: 'SUPERSQUAD NETWORK  //  BRUNEI DARUSSALAM\A 4.9031°N · 114.9398°E  ·  CAM-01 ● REC'; white-space: pre; padding: 10px 16px; font: 600 10px/1.8 var(--fh); letter-spacing: .24em; color: rgba(150, 205, 255, .62);
  position: absolute; inset: 12px; z-index: 6; pointer-events: none; border-radius: 12px; --c: rgba(150, 225, 255, .75);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 2px 26px no-repeat; }
.hero .jumbo { position: absolute; z-index: 4; top: 30px; left: 50%; transform: translateX(-50%); padding: 10px 22px; border-radius: 6px; width: max-content; max-width: 42%; text-align: center; line-height: 1.4;
  border: 1px solid rgba(130, 225, 255, .65); background: linear-gradient(180deg, rgba(36, 130, 230, .4), rgba(4, 20, 45, .92) 62%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 26px rgba(34, 190, 255, .55), inset 0 0 18px rgba(34, 225, 255, .28);
  font: 700 13px var(--fd); letter-spacing: .16em; color: #e2f9ff; text-shadow: 0 0 10px rgba(34, 225, 255, .9); }
.hero .jumbo::first-letter { color: var(--red); text-shadow: 0 0 10px var(--red); }
.hero .jumbo::before { content: ''; position: absolute; left: 16%; right: 16%; bottom: 100%; height: 40px; border-left: 1px solid rgba(140, 200, 255, .35); border-right: 1px solid rgba(140, 200, 255, .35); }
.hero .jumbo::after { content: ''; position: absolute; left: 8%; right: 8%; top: calc(100% + 1px); height: 26px; background: radial-gradient(closest-side at 50% 0%, rgba(34, 225, 255, .35), transparent); }
.hero .copy { position: absolute; z-index: 5; left: 40px; bottom: 36px; max-width: 540px; }
.hero .copy h1 { font-size: 44px; font-weight: 900; line-height: 1.06; letter-spacing: .035em; text-shadow: 0 0 30px rgba(34, 225, 255, .25), 0 4px 18px rgba(0, 0, 0, .6); }
.hero .copy h1 .cy { display: block; color: transparent; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent), #fff 50%) 45%, color-mix(in srgb, var(--accent), var(--blue) 45%)); -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 55%, transparent)); }
.hero .copy p { color: #bcd6f2; font-size: 15px; margin: 12px 0 20px; max-width: 470px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hero .hudr { position: absolute; right: 30px; bottom: 30px; z-index: 5; display: flex; gap: 10px; }
.hero .hudr::before { content: '● NETWORK LIVE'; position: absolute; right: 2px; bottom: calc(100% + 8px); font: 700 10px var(--fh); letter-spacing: .26em; color: var(--green); text-shadow: 0 0 10px rgba(61, 255, 162, .7); }
.hero .hudr .panel { padding: 12px 16px; min-width: 132px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: linear-gradient(160deg, rgba(24, 60, 112, .5), rgba(4, 12, 26, .62)); border-color: rgba(110, 200, 255, .3); }
.ticker { position: relative; display: flex; gap: 26px; margin-top: 14px; padding: 12px 18px 12px 150px; border-radius: 12px; overflow: hidden; white-space: nowrap;
  border: 1px solid rgba(84, 170, 255, .2); background: linear-gradient(180deg, rgba(8, 20, 42, .92), rgba(3, 9, 20, .96)); box-shadow: inset 0 0 30px rgba(0, 0, 0, .6), 0 10px 30px -18px rgba(0, 0, 0, .8);
  font: 600 12px/1.3 var(--fh); letter-spacing: .12em; color: #a7bfdc;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker::before { content: '● LIVE SCORES'; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; padding: 0 22px 0 16px; color: #fff; font: 700 11px var(--fh); letter-spacing: .18em;
  background: linear-gradient(90deg, #ff3b5c, #d0143c); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); box-shadow: 0 0 20px rgba(255, 59, 92, .5); }
.ticker::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 0 .9px, rgba(2, 6, 14, .28) 1.1px) 0 0 / 3px 3px; }
.ticker > div { display: flex; gap: 26px; animation: tick 48s linear infinite; }
.ticker .cy { text-shadow: 0 0 10px rgba(34, 225, 255, .7); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.gcard { cursor: pointer; transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.gcard:hover { transform: translateY(-4px); border-color: rgba(64, 200, 255, .45); box-shadow: 0 0 0 1px rgba(34, 225, 255, .1), 0 22px 44px -18px rgba(0, 0, 0, .9), 0 0 30px rgba(34, 225, 255, .16); }
.gcard .time { font: 800 25px/1.1 var(--fn); color: var(--cyan); letter-spacing: .05em; text-shadow: 0 0 16px rgba(34, 225, 255, .55); }
.gcard .row > .small { flex: none; white-space: nowrap; }
.gcard canvas { display: block; transform: perspective(700px) rotateX(26deg) scale(.95); transform-origin: 50% 80%; transition: transform .5s var(--ease); filter: saturate(1.15);
  box-shadow: 0 0 0 1px rgba(140, 230, 255, .45), 0 0 24px rgba(34, 225, 255, .3), 0 18px 30px -10px rgba(0, 0, 0, .9); }
.gcard:hover canvas { transform: perspective(700px) rotateX(8deg) scale(.98); }
.slots { display: flex; gap: 2px; flex-wrap: wrap; }
.slots i { width: 8px; height: 8px; border-radius: 2px; background: rgba(120, 170, 255, .1); box-shadow: inset 0 0 0 1px rgba(120, 180, 255, .14); }
.slots i.r { background: #ff4a68; box-shadow: 0 0 7px rgba(255, 59, 92, .9); }
.slots i.b { background: #3f8fff; box-shadow: 0 0 7px rgba(47, 139, 255, .9); }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.day { position: relative; padding: 9px 14px; min-width: 76px; text-align: center; border-radius: 12px; border: 1px solid rgba(84, 170, 255, .18); background: linear-gradient(180deg, rgba(14, 32, 62, .75), rgba(6, 15, 32, .8)); transition: border-color .2s, box-shadow .2s, transform .2s; }
.day:hover { border-color: rgba(84, 200, 255, .45); transform: translateY(-2px); }
.day b { display: block; margin: 2px 0; font: 800 23px/1.15 var(--fn); }
.day.on { color: var(--cyan); border-color: var(--cyan); background: linear-gradient(180deg, rgba(34, 225, 255, .2), rgba(34, 225, 255, .04)); box-shadow: 0 0 22px rgba(34, 225, 255, .3), inset 0 0 14px rgba(34, 225, 255, .15); }
.day.on::after { content: ''; position: absolute; left: 22%; right: 22%; top: -1px; height: 2px; background: #fff; box-shadow: 0 0 10px var(--cyan); border-radius: 2px; }
.map { width: 100%; height: auto; display: block; }
.map .pin { cursor: pointer; }
.map .pin circle:first-child { transform-box: fill-box; transform-origin: center; animation: pin 2.6s ease-out infinite; }
.map .pin:nth-of-type(3n) circle:first-child { animation-delay: .9s; } .map .pin:nth-of-type(3n+1) circle:first-child { animation-delay: 1.7s; }
.map .pin:hover circle.c { r: 3.2; }
@keyframes pin { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- line-up ---------- */
.lineup { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(90, 185, 255, .32); transform: perspective(1500px) rotateX(17deg); transform-origin: 50% 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 40px rgba(34, 225, 255, .14), 0 34px 50px -26px rgba(34, 225, 255, .35); }
.lineup::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 6, 16, .5)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
.lineup canvas { width: 100%; display: block; filter: saturate(1.15); }
.slot { position: absolute; z-index: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: default; }
.slot .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--fh); letter-spacing: .04em; color: #fff; border: 2px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 14px rgba(0, 0, 0, .55); transition: transform .2s var(--ease), background .2s; }
.slot.t0 .dot { background: radial-gradient(circle at 35% 30%, #ff7a92, #d1183e 60%, #8a0d29); box-shadow: 0 0 16px rgba(255, 59, 92, .6), 0 6px 14px rgba(0, 0, 0, .55); }
.slot.t1 .dot { background: radial-gradient(circle at 35% 30%, #74b0ff, #1f62dc 60%, #113c94); box-shadow: 0 0 16px rgba(47, 139, 255, .6), 0 6px 14px rgba(0, 0, 0, .55); }
.slot.open .dot { background: rgba(2, 12, 24, .5); border: 2px dashed rgba(170, 245, 255, .9); color: var(--cyan); font-size: 16px; cursor: pointer; animation: pulse 1.8s ease-out infinite; }
.slot.open:hover .dot { background: rgba(34, 225, 255, .3); border-style: solid; transform: scale(1.12); }
.slot.mine .dot { background: linear-gradient(135deg, var(--cyan), var(--green)); color: #01060f; border-color: #fff; box-shadow: 0 0 0 4px rgba(34, 225, 255, .3), 0 0 26px var(--cyan); }
.slot span { font: 600 10.5px/1.4 var(--fh); letter-spacing: .04em; white-space: nowrap; padding: 1px 7px; border-radius: 5px; background: rgba(2, 8, 18, .8); border: 1px solid rgba(120, 200, 255, .2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 225, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(34, 225, 255, 0); } }

/* ---------- player card (holographic) ---------- */
.pcard { position: relative; isolation: isolate; width: 262px; height: 372px; flex: none; padding: 20px; border-radius: 20px; overflow: hidden; border: 1.5px solid transparent;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%) padding-box, linear-gradient(165deg, #10407a 0%, #0a1f44 46%, #050c18 100%) padding-box,
    conic-gradient(from 210deg, #22e1ff, #2f8bff, #8b5cff, #ff4fd8, #ff9a3c, #ffe66b, #3dffa2, #22e1ff) border-box;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 44px color-mix(in srgb, var(--accent) 30%, transparent), 0 34px 60px -24px rgba(0, 0, 0, .95);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease); animation: bob 6s ease-in-out infinite; }
.pcard:hover { transform: perspective(900px) rotateY(0) rotateX(0) scale(1.02); }
@keyframes bob { 50% { translate: 0 -7px; } }
.pcard::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .5; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 79, 216, .3) 32%, rgba(34, 225, 255, .32) 44%, rgba(61, 255, 162, .26) 56%, rgba(255, 201, 64, .26) 68%, transparent 85%) 0 0 / 260% 260%, url(assets/hex.svg) 0 0 / 24px 13.86px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .25) 75%); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .25) 75%); animation: foil 7s ease-in-out infinite alternate; }
@keyframes foil { from { background-position: 0% 0%, 0 0; } to { background-position: 100% 100%, 0 0; } }
.pcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .2) 48%, transparent 58%); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0% { transform: translateX(-110%); } 45%, 100% { transform: translateX(110%); } }
.pcard .ovr { font: 800 60px/1 var(--fn); color: transparent; background: linear-gradient(180deg, #fff 15%, color-mix(in srgb, var(--accent), #fff 20%) 70%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 70%, transparent)); }
.pcard .hud.small { margin-top: 4px; letter-spacing: .24em; font-size: 11px; }
.pcard > .row > div:last-child { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 60%, transparent)); }
.pcard .face { position: relative; width: 102px; height: 102px; border-radius: 50%; margin: 4px auto 12px; display: grid; place-items: center; font: 900 36px var(--fd); color: #fff; text-shadow: 0 0 18px rgba(34, 225, 255, .8);
  background: radial-gradient(circle at 50% 30%, #3a86e0, #0c2550 70%); box-shadow: 0 0 0 3px rgba(4, 12, 26, .95), 0 0 0 4px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 45%, transparent), inset 0 -12px 28px rgba(0, 0, 0, .45); }
.pcard .face::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); animation: turn 18s linear infinite; }
.pcard .nm { text-align: center; font: 800 15px var(--fd); letter-spacing: .12em; text-shadow: 0 0 12px rgba(34, 225, 255, .35); }
.pcard .at { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(140, 210, 255, .2); font: 700 15px var(--fh); }
.pcard .at span { color: var(--mut); font-size: 11px; letter-spacing: .14em; margin-left: 7px; }
.badge { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(84, 170, 255, .17); background: linear-gradient(160deg, rgba(16, 38, 72, .55), rgba(6, 14, 30, .7)); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.badge[data-sport]:hover { transform: translateY(-2px); border-color: rgba(64, 200, 255, .45); box-shadow: 0 0 18px rgba(34, 225, 255, .15); }
.badge .i { font-size: 22px; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 60%, rgba(34, 225, 255, .22), rgba(34, 225, 255, .04) 70%); box-shadow: inset 0 0 0 1px rgba(34, 225, 255, .25), 0 0 14px rgba(34, 225, 255, .1); }
.badge.lock { opacity: .45; filter: grayscale(1); }

/* ---------- live studio ---------- */
.broadcast { position: relative; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(64, 200, 255, .45); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 34px rgba(34, 225, 255, .22), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.broadcast canvas { display: block; width: 100%; }
.broadcast::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .07), transparent 28%), radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 0, .4)); }
.sb { position: absolute; z-index: 2; top: 16px; left: 16px; display: flex; align-items: stretch; font-family: var(--fd); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14); }
.sb > div { padding: 8px 14px; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .1em; }
.sb .t0 { background: linear-gradient(180deg, #ff5370, #b8112f); } .sb .t1 { background: linear-gradient(180deg, #4f90ff, #1745b3); }
.sb .sc { background: linear-gradient(180deg, #0d1c38, #040a16); font: 800 24px var(--fn); min-width: 96px; justify-content: center; letter-spacing: .06em; text-shadow: 0 0 14px rgba(34, 225, 255, .55); }
.sb .ck { background: rgba(4, 10, 22, .92); color: var(--cyan); font: 700 12px var(--fh); letter-spacing: .14em; }
.ovl-r { position: absolute; z-index: 2; top: 16px; right: 16px; display: flex; gap: 8px; align-items: center; }
.ovl-r .pill { background: rgba(3, 9, 20, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ovl-b { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; align-items: end; gap: 10px; pointer-events: none; text-shadow: 0 0 8px rgba(0, 0, 0, .9); }
.toast-ev { position: absolute; z-index: 3; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .35s, transform .35s var(--ease); pointer-events: none; text-align: center; padding: 26px 60px; border-radius: 50%;
  font: 900 32px/1.2 var(--fd); color: #fff; letter-spacing: .12em; text-shadow: 0 0 22px var(--cyan), 0 0 60px rgba(34, 225, 255, .6); background: radial-gradient(closest-side, rgba(2, 8, 18, .7), transparent); }
.toast-ev.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.feed { max-height: 360px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; }
.feed .e { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; border-left: 3px solid var(--blue); background: linear-gradient(90deg, rgba(47, 139, 255, .14), rgba(8, 20, 40, .6) 45%); font-size: 12.5px; animation: in .35s var(--ease); }
.feed .e.t0 { border-color: var(--red); background: linear-gradient(90deg, rgba(255, 59, 92, .15), rgba(8, 20, 40, .6) 45%); }
.feed .e.big { background: linear-gradient(90deg, rgba(34, 225, 255, .2), rgba(34, 225, 255, .05)); box-shadow: inset 0 0 0 1px rgba(34, 225, 255, .22); }
@keyframes in { from { opacity: 0; transform: translateX(10px); } }
.yt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 0, 0, .16), rgba(8, 20, 40, .6)); border: 1px solid rgba(255, 70, 70, .38); }
.yt .ic { width: 42px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 14px; background: linear-gradient(180deg, #ff3030, #cc0000); box-shadow: 0 0 18px rgba(255, 0, 0, .5); }

/* ---------- store + cart ---------- */
.prod { transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.prod:hover { transform: translateY(-4px); border-color: rgba(64, 200, 255, .4); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .9), 0 0 30px rgba(34, 225, 255, .14); }
.prod .img { position: relative; height: 150px; margin-bottom: 12px; padding-bottom: 6px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; font-size: 60px; text-shadow: 0 0 28px rgba(34, 225, 255, .55); transition: padding .4s var(--ease);
  background: radial-gradient(ellipse 50% 16% at 50% 84%, rgba(34, 225, 255, .4), transparent 70%), radial-gradient(circle at 50% 42%, rgba(47, 139, 255, .22), transparent 60%), linear-gradient(180deg, #0a1f42, #050d1d);
  border: 1px solid rgba(84, 170, 255, .2); }
.prod .img::before { content: ''; position: absolute; left: 50%; bottom: 14px; width: 116px; height: 24px; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(34, 225, 255, .65); box-shadow: 0 0 16px rgba(34, 225, 255, .5), inset 0 0 12px rgba(34, 225, 255, .4); }
.prod .img::after { content: ''; position: absolute; left: 50%; bottom: 26px; width: 116px; height: 100px; transform: translateX(-50%); background: linear-gradient(0deg, rgba(34, 225, 255, .16), transparent); clip-path: polygon(8% 100%, 92% 100%, 100% 0, 0 0); }
.prod:hover .img { padding-bottom: 22px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; z-index: 90; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(9, 22, 46, .94), rgba(4, 10, 22, .97)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-left: 1px solid rgba(64, 200, 255, .4);
  /* closed = wiped away with clip-path, never translated off-screen, so it can't widen the page on phones */
  visibility: hidden; opacity: 0; clip-path: inset(0 0 0 100%); transition: clip-path .42s var(--ease), opacity .3s, visibility 0s .42s; }
.drawer.open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 -90px); transition: clip-path .42s var(--ease), opacity .2s, visibility 0s; box-shadow: -30px 0 80px rgba(0, 0, 0, .7), -10px 0 40px -10px rgba(34, 225, 255, .3); }

/* ---------- modal / payment / toast ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(4, 16, 36, .55), rgba(0, 3, 10, .86)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 470px; max-width: 100%; max-height: 92vh; overflow: auto; background: linear-gradient(165deg, rgba(16, 48, 94, .92), rgba(6, 16, 34, .96) 55%); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.payopt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(84, 170, 255, .2); background: rgba(6, 16, 34, .55); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.payopt:hover { border-color: rgba(84, 200, 255, .45); }
.payopt.on { border-color: var(--cyan); background: linear-gradient(90deg, rgba(34, 225, 255, .14), rgba(34, 225, 255, .02)); box-shadow: 0 0 20px rgba(34, 225, 255, .18), inset 3px 0 0 var(--cyan); }
.qr { background: #fff; padding: 10px; border-radius: 12px; width: 180px; margin: 0 auto; box-shadow: 0 0 0 4px rgba(34, 225, 255, .25), 0 0 32px rgba(34, 225, 255, .4); }
.qr canvas { display: block; width: 100%; }
.toast { position: fixed; z-index: 200; bottom: 26px; left: 50%; translate: -50% 0; padding: 12px 20px 12px 18px; border-radius: 12px; font-weight: 600; animation: toastIn .4s var(--ease);
  background: linear-gradient(180deg, rgba(14, 40, 80, .96), rgba(6, 16, 34, .96)); border: 1px solid rgba(64, 200, 255, .6); box-shadow: inset 3px 0 0 var(--cyan), 0 0 30px rgba(34, 225, 255, .28), 0 20px 40px rgba(0, 0, 0, .6); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- vision / pitch deck ---------- */
.slide { min-height: 440px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.panel.slide::after { inset: 0; border-radius: inherit; background: url(assets/network.svg) 50% 50% / cover no-repeat; opacity: .75; }
.slide > * { position: relative; z-index: 1; }
.big:not(.e) { font: 800 50px/1.05 var(--fn); color: transparent; background: linear-gradient(180deg, #fff 10%, var(--cyan) 75%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 16px rgba(34, 225, 255, .5)); }
.flow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.flow .n { padding: 11px 16px; border-radius: 10px; border: 1px solid rgba(64, 200, 255, .4); background: linear-gradient(180deg, rgba(34, 225, 255, .12), rgba(34, 225, 255, .02)); box-shadow: inset 0 0 14px rgba(34, 225, 255, .08); font: 700 11.5px var(--fh); letter-spacing: .12em; text-transform: uppercase; }
.flow .a { color: var(--cyan); font-size: 20px; text-shadow: 0 0 10px var(--cyan); }
.step { position: relative; padding-left: 64px; }
.step .num { position: absolute; left: 16px; top: 18px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 900 15px var(--fd); color: #01060f; background: linear-gradient(135deg, #7ff3ff, var(--cyan) 40%, var(--blue)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 20px rgba(34, 225, 255, .45); }
.sportcard { cursor: pointer; text-align: center; padding: 26px 12px 18px; transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.sportcard:hover { transform: translateY(-4px); border-color: rgba(64, 200, 255, .45); box-shadow: 0 0 30px rgba(34, 225, 255, .18), 0 22px 44px -18px rgba(0, 0, 0, .9); }
.sportcard .em { position: relative; display: inline-block; margin-bottom: 12px; font-size: 42px; line-height: 1.1; filter: drop-shadow(0 0 14px rgba(34, 225, 255, .45)); transition: transform .4s var(--ease); }
.sportcard .em::after { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -9px; width: 78px; height: 18px; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(34, 225, 255, .55); box-shadow: 0 0 14px rgba(34, 225, 255, .4), inset 0 0 10px rgba(34, 225, 255, .35); }
.sportcard:hover .em { transform: translateY(-6px) scale(1.06); }
/* the active sport's card (site mode: 'you are here'); other cards open sibling sites */
.sportcard.on { border-color: color-mix(in srgb, var(--accent) 65%, transparent); background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 16%, rgba(8, 20, 42, .8)), rgba(5, 12, 26, .88)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.sportcard.on h3 { color: var(--accent); text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent); }
[data-site] .sportcard h3::after { content: ' ↗'; font-size: .85em; opacity: .55; }
[data-site] .sportcard.on h3::after { content: none; }
[data-site] .sportcard.on .em::before { content: '● YOU ARE HERE'; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; font: 700 9px/1 var(--fh); letter-spacing: .2em; color: var(--accent); }
.heat { display: grid; grid-template-columns: 40px repeat(17, minmax(0, 1fr)); gap: 3px; font-size: 10px; }
/* app.js sets the column count inline as 1fr (= minmax(auto, 1fr)); zero min-width stops the cells' aspect-ratio from forcing 26px columns on phones */
.heat > * { min-width: 0; }
.heat i { aspect-ratio: 1.6; border-radius: 3px; transition: transform .15s; }
.heat i:hover { transform: scale(1.25); box-shadow: 0 0 10px rgba(255, 255, 255, .35); }

/* ---------- family ---------- */
.fam-av { width: 28px; height: 28px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font: 700 10.5px var(--fh); letter-spacing: .03em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  background: radial-gradient(circle at 35% 30%, hsl(var(--h, 190) 95% 70%), hsl(var(--h, 190) 80% 44%) 60%, hsl(var(--h, 190) 85% 26%));
  box-shadow: 0 0 0 2px rgba(3, 9, 19, .9), 0 0 0 3px hsl(var(--h, 190) 90% 60% / .65), 0 0 14px hsl(var(--h, 190) 90% 55% / .45); }
a.fam, div.fam:not(.panel) { padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid rgba(84, 170, 255, .2); background: linear-gradient(180deg, rgba(14, 32, 62, .7), rgba(6, 15, 32, .7)); transition: border-color .2s, box-shadow .2s; }
div.fam:not(.panel) { border-radius: 12px; padding: 7px 8px 7px 7px; }
a.fam:hover { border-color: rgba(84, 200, 255, .5); box-shadow: 0 0 14px rgba(34, 225, 255, .15); }
.panel.fam { transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.panel.fam:hover { transform: translateY(-3px); }
.chip .fam-av { width: 22px; height: 22px; font-size: 9px; margin-left: -6px; }
.kid { display: inline-flex; align-items: center; margin-left: 5px; padding: 1px 6px; border-radius: 4px; font: 700 9px/1.4 var(--fh); letter-spacing: .14em; text-transform: uppercase; vertical-align: 1px; color: #241000; background: linear-gradient(180deg, #ffd08a, #ff9a3c); box-shadow: 0 0 10px rgba(255, 154, 60, .45); text-shadow: none; }
.guard { position: relative; padding: 12px 14px 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 154, 60, .38); color: #ffe4c8;
  background: linear-gradient(90deg, rgba(255, 154, 60, .15), rgba(255, 154, 60, .03) 65%), rgba(10, 18, 34, .6); box-shadow: inset 3px 0 0 var(--orange), 0 0 24px -10px rgba(255, 154, 60, .55); }
.payfor { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- prototype kit: forms, navigation, states (demo + markup in styleguide.html) ---------- */
.form { display: grid; gap: 14px; }
.field:not(canvas) { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span:first-child { font: 600 10.5px/1.3 var(--fh); letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.field input, .field select, .field textarea { width: 100%; }
.field small { font-size: 11.5px; color: var(--dim); }
.field.err input, .field.err select, .field.err textarea { border-color: rgba(255, 59, 92, .75); box-shadow: 0 0 0 3px rgba(255, 59, 92, .13), inset 0 1px 8px rgba(0, 0, 0, .45); }
.field.err small { color: #ff7a8f; }
.field.ok input, .field.ok select { border-color: rgba(61, 255, 162, .55); }
.field.ok small { color: var(--green); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch i { position: relative; width: 40px; height: 22px; flex: none; border-radius: 999px; background: rgba(110, 170, 255, .14); box-shadow: inset 0 0 0 1px rgba(120, 180, 255, .32); transition: background .25s, box-shadow .25s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9db6d6; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.switch input:checked + i { background: linear-gradient(90deg, rgba(34, 225, 255, .35), rgba(47, 139, 255, .5)); box-shadow: inset 0 0 0 1px rgba(34, 225, 255, .75), 0 0 14px rgba(34, 225, 255, .35); }
.switch input:checked + i::after { transform: translateX(18px); background: #fff; box-shadow: 0 0 10px var(--cyan); }
.switch input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 2px; }
.switch input:disabled + i { opacity: .4; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(84, 170, 255, .22); background: rgba(4, 12, 26, .7); }
.seg > * { padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--mut); font: 600 12px/1.2 var(--fh); letter-spacing: .06em; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s; }
.seg > :hover { color: var(--txt); }
.seg > .on { color: #01060f; background: linear-gradient(180deg, #7ff3ff, var(--cyan)); box-shadow: 0 0 14px rgba(34, 225, 255, .45); }
.otp { display: flex; gap: 8px; }
.otp input { width: 46px; height: 56px; padding: 0; text-align: center; font: 800 24px var(--fn); }
.divider { display: flex; align-items: center; gap: 12px; font: 600 10.5px var(--fh); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(84, 170, 255, .32), transparent); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(84, 170, 255, .18); }
.tabs > * { position: relative; padding: 10px 14px; border: 0; background: none; color: var(--mut); font: 600 13px/1.2 var(--fh); letter-spacing: .04em; white-space: nowrap; cursor: pointer; transition: color .2s; }
.tabs > :hover { color: var(--txt); }
.tabs > .on { color: #fff; text-shadow: 0 0 12px rgba(34, 225, 255, .7); }
.tabs > .on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.steps { display: flex; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; counter-increment: st; font: 600 10.5px/1.3 var(--fh); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.steps li::before { content: counter(st); position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--fn); letter-spacing: 0; color: var(--mut); background: #071328; box-shadow: inset 0 0 0 1.5px rgba(120, 180, 255, .32); }
.steps li::after { content: ''; position: absolute; top: 14px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; border-radius: 2px; background: rgba(120, 180, 255, .18); }
.steps li:first-child::after { display: none; }
.steps li.done, .steps li.on { color: var(--txt); }
.steps li.done::before { content: '✓'; color: #01060f; background: linear-gradient(135deg, #7ff3ff, var(--cyan)); box-shadow: 0 0 12px rgba(34, 225, 255, .5); }
.steps li.on::before { color: var(--cyan); box-shadow: inset 0 0 0 2px var(--cyan), 0 0 16px rgba(34, 225, 255, .45); }
.steps li.done::after, .steps li.on::after { background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 8px rgba(34, 225, 255, .5); }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: #d9f6ff; border: 1px solid rgba(34, 225, 255, .35);
  background: linear-gradient(90deg, rgba(34, 225, 255, .12), rgba(34, 225, 255, .02) 65%), rgba(6, 16, 34, .6); box-shadow: inset 3px 0 0 var(--cyan); }
.alert.ok { color: #d4ffe9; border-color: rgba(61, 255, 162, .38); background: linear-gradient(90deg, rgba(61, 255, 162, .12), rgba(61, 255, 162, .02) 65%), rgba(6, 16, 34, .6); box-shadow: inset 3px 0 0 var(--green); }
.alert.warn { color: #ffe4c8; border-color: rgba(255, 154, 60, .4); background: linear-gradient(90deg, rgba(255, 154, 60, .14), rgba(255, 154, 60, .02) 65%), rgba(6, 16, 34, .6); box-shadow: inset 3px 0 0 var(--orange); }
.alert.err { color: #ffd6dd; border-color: rgba(255, 59, 92, .42); background: linear-gradient(90deg, rgba(255, 59, 92, .14), rgba(255, 59, 92, .02) 65%), rgba(6, 16, 34, .6); box-shadow: inset 3px 0 0 var(--red); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 20px; text-align: center; }
.empty .ic { position: relative; width: 72px; height: 72px; margin-bottom: 8px; display: grid; place-items: center; font-size: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 225, 255, .18), transparent 70%); box-shadow: inset 0 0 0 1px rgba(34, 225, 255, .35), 0 0 24px rgba(34, 225, 255, .15); }
.empty .ic::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(34, 225, 255, .35); animation: turn 16s linear infinite; }
.empty p { max-width: 380px; margin: 0 0 8px; }
.skel { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(110, 170, 255, .07), rgba(150, 215, 255, .18), rgba(110, 170, 255, .07)) 0 0 / 200% 100%; animation: skel 1.4s ease-in-out infinite; }
.skel.r { border-radius: 50%; } .skel + .skel { margin-top: 8px; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.spin { display: inline-block; width: 16px; height: 16px; flex: none; vertical-align: -3px; border-radius: 50%; border: 2px solid rgba(34, 225, 255, .25); border-top-color: var(--cyan); animation: turn .8s linear infinite; }
.btn.loading { pointer-events: none; }
.btn.loading::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: turn .7s linear infinite; }
.count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font: 700 10.5px/1 var(--fn); color: #fff; background: linear-gradient(180deg, #ff4f6c, #df1a40); box-shadow: 0 0 10px rgba(255, 59, 92, .6); vertical-align: middle; }
.list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.list > * { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid rgba(84, 170, 255, .09); }
.list > :last-child { border-bottom: 0; }
.list > .unread { padding-left: 12px; background: linear-gradient(90deg, rgba(34, 225, 255, .08), transparent 60%); box-shadow: inset 2px 0 0 var(--cyan); }
.auth { max-width: 440px; margin: 5vh auto 0; }
.auth > .panel { padding: 30px 28px; }
.auth .brand { justify-content: center; margin-bottom: 20px; }
.toast.ok { border-color: rgba(61, 255, 162, .6); box-shadow: inset 3px 0 0 var(--green), 0 0 30px rgba(61, 255, 162, .2), 0 20px 40px rgba(0, 0, 0, .6); }
.toast.err { border-color: rgba(255, 59, 92, .6); box-shadow: inset 3px 0 0 var(--red), 0 0 30px rgba(255, 59, 92, .2), 0 20px 40px rgba(0, 0, 0, .6); }
.modal.lg { width: 680px; }

/* ---------- scrollbars ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 10px; border: 3px solid transparent; background: linear-gradient(180deg, rgba(34, 225, 255, .5), rgba(47, 139, 255, .45)) padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(34, 225, 255, .8), rgba(47, 139, 255, .7)) padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: rgba(64, 170, 255, .45) transparent; } }

/* ---------- responsive ---------- */
@media (max-width: 1330px) { .top .brand > span { display: none; } }
@media (max-width: 1180px) { .nav a { padding: 8px 5px; font-size: 12px; } .wallet .pill[title] { padding: 5px 9px; } }
@media (max-width: 1100px) { .nav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); } }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } .hero { height: 480px; } .hero .copy h1 { font-size: 38px; } }
@media (max-width: 900px) {
  main .grid[style*="grid-template-columns"]:not([style*="auto-f"]) { grid-template-columns: 1fr !important; }
  main .col[style*="sticky"] { position: static !important; }
  .hero .hudr { display: none; }
  .pcard { align-self: center; }
}
@media (max-width: 680px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  h1 { font-size: 24px; } .sec h2 { font-size: 15px; }
  .top { position: relative; }
  .top .in { flex-wrap: wrap; padding: 10px 14px 6px; }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .sportbar { padding: 4px 14px 10px; }
  .sportbar::before { display: none; }
  main { padding: 18px 14px 80px; }
  .panel { padding: 15px; }
  .hero { height: 560px; border-radius: 16px; }
  .hero canvas.field, html:not([data-sport="soccer"]) .hero canvas.field { width: 150%; bottom: -30px; }
  .hero .copy { left: 20px; right: 20px; bottom: 24px; }
  .hero .copy h1 { font-size: 29px; }
  .hero .copy p { font-size: 14px; }
  /* copy sits over the court on phones: darken bottom-up, keep the bowl visible at the top, no scan line through text */
  .hero .shade { background: repeating-linear-gradient(0deg, rgba(160, 220, 255, .025) 0 1px, transparent 1px 3px), linear-gradient(0deg, rgba(2, 6, 14, .94) 0%, rgba(2, 6, 14, .82) 38%, rgba(2, 6, 14, .35) 62%, transparent 78%), linear-gradient(180deg, rgba(2, 6, 14, .5), transparent 16%); }
  .hero .shade::after { display: none; }
  .hero::after { content: ''; }
  .hero .jumbo { top: 18px; font-size: 10px; letter-spacing: .1em; padding: 8px 14px; max-width: calc(100% - 48px); }
  .ticker { padding-left: 16px; } .ticker::before { display: none; }
  .lineup { transform: perspective(900px) rotateX(10deg); }
  .slot .dot { width: 30px; height: 30px; font-size: 9px; } .slot span { font-size: 9px; padding: 0 4px; }
  main .row { flex-wrap: wrap; }
  .grid.g4:has(> .panel.kpi) { grid-template-columns: repeat(2, 1fr); } .kpi .v { font-size: 23px; }
  .top .brand > span { display: flex; font-size: 12px; letter-spacing: .1em; } .top .brand > span .cy { margin-top: 4px; font-size: 7.5px; letter-spacing: .34em; }
  .slide h1 { font-size: 28px !important; }
  /* phones: scoreboard and AI line get their own bands above/below the court so nothing covers play */
  .broadcast { padding: 34px 0 20px; background: linear-gradient(180deg, #071224, #02060d 30%, #02060d 80%, #071224); }
  .sb { top: 6px; left: 8px; border-radius: 6px; } .sb > div { padding: 3px 7px; font-size: 9.5px; letter-spacing: .08em; } .sb .sc { font-size: 13px; min-width: 50px; }
  .sb .ck { display: block; max-width: 28vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8.5px; line-height: 16px; }
  .ovl-r { top: 7px; right: 8px; } .ovl-r .live { padding: 2px 7px; font-size: 9px; } .ovl-r .pill, .ovl-b > :last-child { display: none; }
  .ovl-b { left: 8px; right: 8px; bottom: 4px; } .ovl-b > span { font-size: 8px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .toast-ev { font-size: 20px; padding: 16px 30px; }
  td, th { padding: 8px 6px; font-size: 12px; }
  .heat { gap: 2px; font-size: 8.5px; } .heat .tiny { font-size: 8.5px; }
  .big:not(.e) { font-size: 36px; }
}

@media (max-width: 480px) { .slot span { display: none; } .wallet > .pill:nth-child(2) { display: none; } .wallet button.pill { font-size: 0; gap: 4px; padding: 4px 8px 4px 11px; } .wallet button.pill .live { font-size: 9px; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .bgfx i, .ticker > div { animation: none !important; }
  .hero .stands::before, .top::before { display: none; }
}
