/* Statselkora design system */
:root{
  --bg:#f3f4f6;--bg1:#ffffff;--bg2:#eef0f3;--bg3:#e4e7eb;--rule:#e3e6ea;--rule2:#cdd2d9;
  --text:#15181d;--mute:#4a5160;--dim:#646b78;
  --red:#c8102e;--red2:#a30d25;--ivory:#15181d;--gold:#9a6b12;--green:#1d8a52;--slate:#3b4a5f;
  --shadow:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.04);
  --display:"Reem Kufi","IBM Plex Sans Arabic",sans-serif;
  --body:"IBM Plex Sans Arabic",system-ui,sans-serif;
  --w:1120px;--r:16px;--nav:64px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--body);line-height:1.75;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
img{max-width:100%}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--w);margin:auto;padding:0 16px}
.d{font-family:var(--display)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;top:-60px;right:16px;background:var(--red);color:#fff;padding:8px 14px;border-radius:8px;z-index:60}
.skip:focus{top:10px}

/* header */
.top{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:16px}
.brand{display:flex;align-items:center;gap:10px}
.logo{height:52px;width:auto;flex:none;display:block}
.brand b{display:block;font-size:15px;line-height:1.2}
.brand small{font-size:10.5px;color:var(--mute);letter-spacing:2px}
.menu{display:flex;gap:2px;align-items:center}
.menu a{font-size:14px;padding:7px 12px;border-radius:9px;color:var(--mute)}
.menu a:hover{color:var(--text);background:var(--bg2)}
.menu a[aria-current=page]{color:var(--text);background:var(--bg2)}
.menu .play{color:var(--text);border:1px solid var(--red);margin-inline-start:6px}
.menu .play:hover{background:var(--red)}
@media(max-width:860px){.menu a:not(.play){display:none}}

/* bottom nav (mobile) */
.tabbar{display:none}
@media(max-width:860px){
  body{padding-bottom:calc(var(--nav) + env(safe-area-inset-bottom))}
  .tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;bottom:0;inset-inline:0;z-index:40;background:rgba(255,255,255,.97);border-top:1px solid var(--rule);padding-bottom:env(safe-area-inset-bottom)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:var(--nav);font-size:11px;color:var(--dim)}
  .tabbar svg{width:22px;height:22px}
  .tabbar a[aria-current=page]{color:var(--text)}
  .tabbar a[aria-current=page] svg{color:var(--red)}
}

/* type */
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.2}
.page-head{padding:44px 0 26px}
.crumbs{font-size:13px;color:var(--dim);display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.crumbs a{color:var(--mute)}
.crumbs a:hover{color:var(--text)}
.page-head h1{font-size:clamp(30px,5vw,50px)}
.page-head p{color:var(--mute);max-width:620px;margin-top:8px}
.eyebrow{font-family:var(--display);color:var(--red);font-size:14px;letter-spacing:1px}
.section{padding:40px 0;border-top:1px solid var(--rule)}
.section-h{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.section-h h2{font-size:clamp(22px,3vw,30px)}
.lnk{color:var(--gold);font-weight:700;font-size:14px}
.lnk:hover{text-decoration:underline}
.muted{color:var(--mute)}
.soon{display:inline-block;font-size:11px;font-weight:700;color:var(--gold);border:1px dashed var(--gold);border-radius:6px;padding:0 8px;vertical-align:middle}

/* controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:11px;font-weight:700;font-size:14.5px;border:1px solid var(--rule2);background:none;transition:.15s;white-space:nowrap}
.btn:hover{border-color:var(--ivory)}
.btn.red{background:var(--red);border-color:var(--red);color:#fff}
.btn.red:hover{background:var(--red2);border-color:var(--red2)}
.chip{font-size:13px;padding:6px 13px;border:1px solid var(--rule2);border-radius:99px;background:none;color:var(--mute);transition:.15s;white-space:nowrap}
.chip:hover,.chip[aria-pressed=true],.chip[aria-selected=true]{color:var(--text);border-color:var(--ivory);background:var(--bg2)}
.chips{display:flex;gap:6px;flex-wrap:wrap}
select,.field{background:var(--bg1);border:1px solid var(--rule2);border-radius:11px;padding:10px 12px;font-size:14.5px;width:100%}
.field:focus,select:focus{outline:0;border-color:var(--ivory)}

/* search */
.search{position:relative}
.sbox{display:flex;align-items:center;gap:8px;background:var(--bg1);border:1px solid var(--rule2);border-radius:16px;padding:4px 14px;transition:.2s}
.sbox:focus-within{border-color:var(--ivory)}
.sbox svg{flex:none;color:var(--mute)}
.sbox input{flex:1;min-width:0;background:none;border:0;outline:0;font-size:17px;padding:13px 2px}
.sbox input::placeholder{color:var(--dim)}
.sugg{position:absolute;inset-inline:0;top:calc(100% + 8px);background:var(--bg1);border:1px solid var(--rule2);border-radius:14px;padding:6px;z-index:30;box-shadow:0 18px 40px -12px rgba(16,24,40,.18);display:none;list-style:none}
.sugg.open{display:block}
.sugg li{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;cursor:pointer}
.sugg li[aria-selected=true],.sugg li:hover{background:var(--bg2)}
.sugg .t{font-weight:700;flex:1}
.sugg .k{font-size:12px;color:var(--mute)}
.sugg .empty{color:var(--mute);cursor:default}

/* avatar monogram */
.av{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-size:20px;background:var(--bg3);border:1.5px solid var(--rule2);color:var(--ivory)}
.av.lg{width:96px;height:96px;font-size:36px;border:2px solid var(--red)}

/* HOME */
.hero{padding:56px 0 48px}
.hero-g{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
@media(max-width:900px){.hero-g{grid-template-columns:1fr;gap:32px}}
.hero h1{font-size:clamp(36px,6.4vw,70px);line-height:1.12;margin:10px 0 14px}
.hero h1 span{color:var(--red)}
.hero .lead{color:var(--mute);font-size:17px;max-width:520px;margin-bottom:26px}
.quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;align-items:center}
.quick span{font-size:13px;color:var(--dim)}
.today{border:1px solid var(--rule);border-radius:22px;padding:26px;background:var(--bg1);position:relative;overflow:hidden}
.today:before{content:"";position:absolute;width:220px;height:220px;border:1px solid var(--rule);border-radius:50%;left:-80px;bottom:-110px}
.today .lab{display:flex;justify-content:space-between;font-size:13px;color:var(--mute)}
.today .lab b{color:var(--red2);font-weight:700}
.today .num{font-family:var(--display);font-size:clamp(80px,12vw,120px);line-height:1;color:var(--ivory);margin:16px 0 4px}
.today .txt{font-weight:700;font-size:17px;min-height:56px}
.today .who{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;border-top:1px solid var(--rule);padding-top:14px;position:relative}
.today .who a{font-weight:700;color:var(--gold);font-size:14px}
.today .who button{background:none;border:1px solid var(--rule2);border-radius:9px;padding:5px 12px;font-size:13px;color:var(--mute)}
.today .who button:hover{color:var(--text);border-color:var(--ivory)}

.dest{border-top:1px solid var(--rule)}
.dest a{display:grid;grid-template-columns:40px 1fr auto;gap:18px;align-items:center;padding:22px 4px;border-bottom:1px solid var(--rule);transition:.2s}
.dest a:hover{background:var(--bg1);padding-inline:14px}
.dest .n{font-family:var(--display);color:var(--dim);font-size:15px}
.dest a:hover .n{color:var(--red)}
.dest h3{font-size:clamp(20px,2.6vw,28px)}
.dest p{color:var(--mute);font-size:14px}
.dest .tv{font-family:var(--display);font-size:clamp(26px,4vw,40px);color:var(--ivory);text-align:left}
@media(max-width:560px){.dest a{grid-template-columns:28px 1fr auto;gap:12px}}

.strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.strip>*{scroll-snap-align:start}

.band{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border:1px solid var(--rule);border-radius:22px;padding:28px;background:radial-gradient(600px 300px at 0% 0%,rgba(200,16,46,.07),transparent 60%),var(--bg1)}
.band h2{font-size:clamp(22px,3.4vw,32px)}
.band p{color:var(--mute);margin-top:6px}
.band .langs{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.band .langs span{font-size:12px;padding:2px 9px;border-radius:6px;background:var(--bg2);color:var(--mute)}
@media(max-width:700px){.band{grid-template-columns:1fr}}

/* player cards (list) */
.pcard{display:flex;flex-direction:column;gap:14px;border:1px solid var(--rule);border-radius:var(--r);padding:18px;background:var(--bg1);transition:.15s;position:relative}
.pcard:hover{border-color:var(--rule2);transform:translateY(-2px)}
.pcard .ph{display:flex;align-items:center;gap:12px}
.pcard h3{font-size:18px}
.pcard .club{font-size:12.5px;color:var(--mute)}
.pcard .hl{font-size:13px;color:var(--gold);min-height:20px}
.pcard .stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule);padding-top:12px}
.pcard .stats div{text-align:center}
.pcard .stats b{display:block;font-family:var(--display);font-size:20px;color:var(--ivory);line-height:1.2}
.pcard .stats span{font-size:11px;color:var(--mute)}
.pcard .badge{position:absolute;top:14px;left:14px;width:10px;height:10px;border-radius:50%;background:var(--gold)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.toolbar{display:grid;grid-template-columns:1fr 220px;gap:10px;margin-bottom:14px}
@media(max-width:600px){.toolbar{grid-template-columns:1fr}}
.count{font-size:13px;color:var(--mute);margin:12px 0}
.empty-state{text-align:center;color:var(--mute);padding:40px 10px;border:1px dashed var(--rule2);border-radius:var(--r)}

/* PLAYER PROFILE */
.pf-head{padding:30px 0 0}
.pf-top{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.pf-top h1{font-size:clamp(30px,5vw,48px)}
.pf-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.pf-meta span{font-size:12.5px;padding:3px 10px;border-radius:99px;background:var(--bg2);color:var(--mute)}
.pf-meta span.club{color:var(--text);border:1px solid var(--red)}
.pf-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.pf-badges span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;padding:6px 12px;border-radius:10px;border:1px solid rgba(154,107,18,.4);color:var(--gold)}
.pf-badges span:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold)}
.keystats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:var(--r);overflow:hidden;margin-top:24px}
.keystats div{background:var(--bg1);padding:16px}
.keystats b{display:block;font-family:var(--display);font-size:34px;line-height:1.1;color:var(--ivory)}
.keystats span{font-size:13px;color:var(--text)}
.keystats small{display:block;font-size:11.5px;color:var(--mute)}
.pf-body{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;padding:28px 0 20px;align-items:start}
@media(max-width:900px){.pf-body{grid-template-columns:1fr}}
.card{border:1px solid var(--rule);border-radius:var(--r);background:var(--bg1);padding:22px;margin-bottom:16px}
.card h2{font-size:21px;margin-bottom:12px}
.card h2 small{unicode-bidi:isolate;display:inline-block;font-family:var(--body);font-size:12.5px;color:var(--mute);font-weight:500;margin-inline-start:8px}
.intro{font-size:16.5px;line-height:2;color:var(--text)}
.intro strong{color:var(--ivory);font-weight:700}
.brk{display:grid;gap:12px}
.brk .r{display:grid;grid-template-columns:130px 1fr 44px;gap:12px;align-items:center;font-size:14px}
.brk .r .v{font-family:var(--display);font-size:18px;color:var(--ivory);text-align:left}
.brk .bar{height:10px;border-radius:99px;background:var(--bg3);overflow:hidden;display:flex}
.brk .bar i{display:block;height:100%}
.brk .g{background:var(--red)}
.brk .a{background:var(--slate)}
.brk .m{background:var(--gold)}
@media(max-width:520px){.brk .r{grid-template-columns:96px 1fr 38px;gap:8px}}
.legend{display:flex;gap:16px;font-size:12.5px;color:var(--mute);margin-top:12px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-inline-end:6px;vertical-align:-1px}
.split{display:flex;gap:26px;align-items:center}
.ring{width:110px;height:110px;border-radius:50%;flex:none;display:grid;place-items:center}
.ring div{width:78px;height:78px;border-radius:50%;background:var(--bg1);display:grid;place-items:center;text-align:center;line-height:1.1}
.ring b{font-family:var(--display);font-size:26px}
.ring small{font-size:10.5px;color:var(--mute)}
.ladder{list-style:none;counter-reset:l}
.ladder li{display:grid;grid-template-columns:26px 1fr auto;gap:10px;align-items:center;padding:8px 6px;border-bottom:1px solid var(--rule);font-size:14px}
.ladder li:last-child{border:0}
.ladder .rk{font-family:var(--display);color:var(--dim)}
.ladder .vv{font-family:var(--display);color:var(--ivory)}
.ladder li.me{background:rgba(200,16,46,.08);border-radius:8px}
.ladder li.me .rk{color:var(--red2)}
.ladder a:hover{text-decoration:underline}
.side-act{display:grid;gap:8px}
.cmp-mini{display:grid;gap:8px}
.statlist{width:100%;border-collapse:collapse;font-size:14.5px}
.statlist caption{text-align:right;font-family:var(--display);font-size:21px;font-weight:700;margin-bottom:10px}
.statlist th,.statlist td{padding:10px 8px;border-bottom:1px solid var(--rule);text-align:right}
.statlist thead th{color:var(--mute);font-weight:500;font-size:13px;border-bottom-color:var(--rule2)}
.statlist td{font-family:var(--display);color:var(--ivory)}
.statlist tbody th{font-weight:500}
.statlist tfoot th,.statlist tfoot td{font-weight:700;color:var(--text);border-top:1px solid var(--rule2)}
.facts{list-style:none;margin-top:16px;display:grid;gap:6px}
.facts li{font-size:14.5px;padding-inline-start:16px;position:relative}
.facts li:before{content:"";position:absolute;right:0;top:11px;width:6px;height:6px;border-radius:50%;background:var(--red)}
.src{font-size:12.5px;color:var(--dim);margin-top:14px}
.src a{color:var(--mute);text-decoration:underline}
.tbl-scroll{overflow-x:auto}

/* RECORDS */
.museum{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
.plaque{grid-column:span 4;border:1px solid var(--rule);border-radius:4px 4px 20px 20px;padding:24px;background:linear-gradient(180deg,var(--bg1),var(--bg));display:flex;flex-direction:column;position:relative;transition:.2s}
.plaque:hover{border-color:var(--gold)}
.plaque:before{content:"";position:absolute;top:0;inset-inline:24px;height:3px;background:var(--gold)}
.plaque.wide{grid-column:span 6}
.plaque .cat{font-size:12px;color:var(--gold);letter-spacing:1px;font-weight:700}
.plaque .rv{font-family:var(--display);font-size:68px;line-height:1;margin:14px 0 6px;color:var(--ivory)}
.plaque .rv small{font-size:17px;color:var(--mute);font-family:var(--body)}
.plaque h3{font-size:21px}
.plaque p{color:var(--mute);font-size:14px;margin:6px 0 14px;flex:1}
.plaque .ps{font-size:12px;color:var(--dim);border-top:1px solid var(--rule);padding-top:12px;display:flex;justify-content:space-between;gap:10px}
@media(max-width:900px){.plaque,.plaque.wide{grid-column:span 6}}
@media(max-width:600px){.plaque,.plaque.wide{grid-column:span 12}}

/* LAB */
.lab{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;align-items:start}
@media(max-width:940px){.lab{grid-template-columns:1fr}}
.dtbl{width:100%;border-collapse:collapse;font-size:14.5px}
.dtbl thead th{text-align:right;font-weight:500;color:var(--mute);font-size:13px;border-bottom:1px solid var(--rule2);padding:0}
.dtbl thead th button{background:none;border:0;color:inherit;padding:10px 8px;width:100%;text-align:inherit;display:flex;gap:6px;align-items:center;white-space:nowrap}
.dtbl thead th button:after{content:"";border:4px solid transparent;border-top-color:var(--dim);margin-top:4px}
.dtbl thead th[aria-sort=descending] button{color:var(--text)}
.dtbl thead th[aria-sort=descending] button:after{border-top-color:var(--red)}
.dtbl thead th[aria-sort=ascending] button{color:var(--text)}
.dtbl thead th[aria-sort=ascending] button:after{border-top-color:transparent;border-bottom-color:var(--red);margin-top:-4px}
.dtbl td,.dtbl tbody th{padding:9px 8px;border-bottom:1px solid var(--rule);text-align:right}
.dtbl tbody th{font-weight:500}
.dtbl tbody th a:hover{color:var(--ivory);text-decoration:underline}
.dtbl td.n{font-family:var(--display);font-size:16px;color:var(--ivory);width:68px}
.dtbl tr.hl td,.dtbl tr.hl th{background:rgba(200,16,46,.07)}
.dtbl .bar{height:6px;border-radius:99px;background:var(--red);min-width:2px}
.vs{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.vs span{color:var(--dim);font-size:13px}
.vsrows{margin-top:18px;display:grid;gap:16px}
.vsl{display:flex;justify-content:space-between;font-size:13px;color:var(--mute);margin-bottom:6px}
.vsl b{font-family:var(--display);color:var(--text);font-size:16px;font-weight:500}
.vsb{display:grid;grid-template-columns:1fr 1fr;gap:3px;height:10px}
.vsb div{background:var(--bg3);border-radius:99px;overflow:hidden;display:flex}
.vsb div:last-child{justify-content:flex-end}
.vsb i{display:block;height:100%;border-radius:99px;transition:width .35s}
.vsb div:first-child i{background:var(--red)}
.vsb div:last-child i{background:var(--slate)}
.verdict{margin-top:18px;font-size:14px;color:var(--mute);border-top:1px solid var(--rule);padding-top:14px}
.verdict b{color:var(--text)}

/* TIMELINE */
.tm{border:1px solid var(--rule);border-radius:22px;padding:26px;background:var(--bg1)}
.tm-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}
.tm-year{font-family:var(--display);font-size:clamp(64px,10vw,110px);line-height:.9}
.tm-year small{display:block;font-family:var(--body);font-size:14px;color:var(--mute);margin-top:10px}
.tm-ctrl{display:flex;gap:8px}
.track{position:relative;margin:32px 0 8px;height:44px}
.track input{position:absolute;inset:0;width:100%;height:44px;opacity:0;cursor:pointer;z-index:2;margin:0}
.rail{position:absolute;inset-inline:0;top:21px;height:2px;background:var(--rule2)}
.rail-fill{position:absolute;top:21px;right:0;height:2px;background:var(--red)}
.ticks{position:absolute;inset:0;pointer-events:none}
.ticks i{position:absolute;top:14px;width:2px;height:16px;background:var(--rule2);transform:translateX(50%)}
.ticks i.ev{background:var(--gold);height:22px;top:11px;width:3px}
.thumb{position:absolute;top:12px;width:20px;height:20px;border-radius:50%;background:#fff;border:4px solid var(--red);transform:translateX(50%);pointer-events:none}
.track:focus-within .thumb{box-shadow:0 0 0 4px rgba(200,16,46,.2)}
.decades{display:flex;justify-content:space-between;font-size:12px;color:var(--dim)}
.tm-body{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;border-top:1px solid var(--rule);padding-top:20px}
@media(max-width:760px){.tm-body{grid-template-columns:1fr}}
.tm-body h2{font-size:22px;margin-bottom:6px}
.tm-body p{color:var(--mute)}
.match{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--rule);border-radius:12px;padding:12px 14px;margin-top:10px;gap:10px}
.match b{font-family:var(--display);font-size:22px;color:var(--ivory);direction:ltr;white-space:nowrap}
.match small{display:block;color:var(--mute);font-size:12.5px}

/* STUDIO */
.studio{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;align-items:start}
@media(max-width:880px){.studio{grid-template-columns:1fr}}
.opts{display:grid;gap:8px;border:0;min-width:0}
.opts label{display:flex;gap:12px;align-items:center;border:1px solid var(--rule);border-radius:12px;padding:12px 14px;cursor:pointer}
.opts label:has(input:checked){border-color:var(--ivory);background:var(--bg2)}
.opts input{accent-color:var(--red)}
.opts b{font-family:var(--display);font-size:20px;color:var(--ivory);min-width:46px}
.opts span{font-size:14px;color:var(--mute)}
.cv-wrap{border:1px solid var(--rule);border-radius:20px;padding:16px;background:var(--bg1);display:grid;place-items:center}
canvas{width:100%;max-width:420px;height:auto;aspect-ratio:4/5;border-radius:10px;display:block;background:#111}
.acts{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}

/* footer */
.foot{border-top:1px solid var(--rule);padding:34px 0 30px;margin-top:40px;font-size:14px;color:var(--mute)}
.foot-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px}
@media(max-width:760px){.foot-g{grid-template-columns:1fr 1fr}}
.foot h2{font-family:var(--body);font-size:13px;color:var(--text);margin-bottom:8px;font-weight:700}
.foot ul{list-style:none;display:grid;gap:4px}
.foot a:hover{color:var(--text)}
.foot .motto{font-family:var(--display);color:var(--text);font-size:18px}
.foot .copy{border-top:1px solid var(--rule);margin-top:24px;padding-top:16px;font-size:12.5px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}

@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* light theme surfaces */
.card,.pcard,.today,.tm,.plaque,.band,.keystats,.sbox,.cv-wrap{box-shadow:var(--shadow)}
.pcard:hover{box-shadow:0 6px 18px -6px rgba(16,24,40,.15)}
.chip{background:var(--bg1)}
.chip[aria-pressed=true],.chip[aria-selected=true]{background:var(--text);color:#fff;border-color:var(--text)}
.today .num,.keystats b,.plaque .rv,.st-num{color:var(--text)}
.today .lab b,.eyebrow{color:var(--red)}
.plaque{background:var(--bg1)}
.dest a:hover{background:var(--bg1)}
.btn{background:var(--bg1)}
.btn:hover{border-color:var(--text)}
.field,select{background:var(--bg1)}
.dtbl td.n,.statlist td,.ladder .vv,.brk .r .v{color:var(--text);font-weight:700}
.av{background:var(--bg2);color:var(--text)}

/* ===== v2 components ===== */
.ad{margin:22px 0;min-height:110px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;border-radius:12px}
.ad:before{content:"إعلان";font-size:11px;color:var(--dim);margin-bottom:4px}
.ad.ph{border:1px dashed var(--rule2);background:var(--bg2)}
.ad.ph:after{content:"مساحة إعلان";color:var(--dim);font-size:13px;text-align:center;padding:30px 0}
.hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.hero-stats div{background:var(--bg1);padding:18px 18px 16px}
.hero-stats b{display:block;font-family:var(--display);font-size:clamp(30px,4vw,42px);line-height:1.1;color:var(--text)}
.hero-stats span{font-size:13px;color:var(--mute)}
.hero-stats .cap{grid-column:1/-1;font-size:13px;color:var(--mute);padding:12px 18px;background:var(--bg2)}
.prow{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.mini{display:flex;align-items:center;gap:12px;border:1px solid var(--rule);border-radius:14px;padding:12px 14px;background:var(--bg1);box-shadow:var(--shadow);transition:.15s}
.mini:hover{border-color:var(--rule2);transform:translateY(-2px)}
.mini .rk{font-family:var(--display);color:var(--dim);width:20px;text-align:center}
.mini .nm{flex:1;min-width:0}
.mini .nm b{display:block;font-size:15.5px;line-height:1.3}
.mini .nm span{font-size:12px;color:var(--mute)}
.mini .vv{font-family:var(--display);font-size:24px;line-height:1;text-align:center}
.mini .vv small{display:block;font-family:var(--body);font-size:10.5px;color:var(--mute);margin-top:3px}
.more{display:inline-flex;margin-top:14px}
.rec-feature{border:1px solid var(--rule);border-radius:20px;background:var(--bg1);box-shadow:var(--shadow);overflow:hidden}
.rec-feature header{padding:20px 22px;border-bottom:1px solid var(--rule)}
.rec-feature header span{font-size:12px;color:var(--gold);font-weight:700;letter-spacing:.5px}
.rec-feature header h3{font-size:22px;margin-top:4px}
.rec-feature details{border-bottom:1px solid var(--rule)}
.rec-feature details:last-child{border:0}
.rec-feature summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 22px}
.rec-feature summary::-webkit-details-marker{display:none}
.rec-feature summary b{font-family:var(--display);font-size:34px;line-height:1;color:var(--red);min-width:70px}
.rec-feature summary .who{flex:1}
.rec-feature summary .who strong{display:block;font-size:18px}
.rec-feature summary .who small{color:var(--mute);font-size:13px}
.rec-feature summary:after{content:"";width:9px;height:9px;border-bottom:2px solid var(--mute);border-left:2px solid var(--mute);transform:rotate(-45deg);transition:.2s}
.rec-feature details[open] summary:after{transform:rotate(135deg)}
.rec-body{padding:0 22px 18px}
.rec-body .chips span{font-size:13px;padding:5px 12px;border-radius:99px;background:var(--bg2)}
.rec-body p{color:var(--mute);font-size:14px;margin:10px 0}
.rec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:14px}
.rec-card{border:1px solid var(--rule);border-radius:14px;padding:16px;background:var(--bg1);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:4px;transition:.15s}
.rec-card:hover{border-color:var(--gold)}
.rec-card .t{font-size:12.5px;color:var(--gold);font-weight:700}
.rec-card b{font-family:var(--display);font-size:30px;line-height:1.1}
.rec-card span{font-size:14px}
.rec-card small{font-size:12px;color:var(--mute)}
.h2h{border:1px solid var(--rule);border-radius:20px;background:var(--bg1);box-shadow:var(--shadow);padding:24px}
.h2h-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.h2h-top h2{font-size:clamp(22px,3vw,30px)}
.wdl{display:flex;height:16px;border-radius:99px;overflow:hidden;margin:18px 0 8px;gap:2px}
.wdl i{display:block;height:100%}
.wdl .w{background:var(--red)}.wdl .d{background:var(--rule2)}.wdl .l{background:var(--slate)}
.wdl-k{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;flex-wrap:wrap}
.wdl-k b{font-family:var(--display);font-size:22px;margin-inline-end:4px}
.h2h-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-top:16px}
.h2h-nums div{background:var(--bg2);border-radius:12px;padding:12px}
.h2h-nums b{font-family:var(--display);font-size:24px;display:block;line-height:1.2}
.h2h-nums span{font-size:12.5px;color:var(--mute)}
.status{font-size:12.5px;padding:3px 10px;border-radius:99px;font-weight:700}
.status.cur{background:rgba(29,138,82,.12);color:var(--green)}
.status.old{background:var(--bg2);color:var(--mute)}
.clubtabs{display:flex;gap:6px;margin-top:18px}
.clubtabs button{font-weight:700;font-size:14px;padding:8px 18px;border-radius:10px;border:1px solid var(--rule2);background:var(--bg1);color:var(--mute)}
.clubtabs button[aria-selected=true]{background:var(--text);border-color:var(--text);color:#fff}
.clubtabs button.ahly[aria-selected=true]{background:var(--red);border-color:var(--red)}
.ranks{list-style:none;display:grid;gap:2px}
.ranks li a{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:10px 6px;border-bottom:1px solid var(--rule);font-size:14px}
.ranks li:last-child a{border:0}
.ranks li a:hover{background:var(--bg2)}
.ranks .pos{font-family:var(--display);font-size:13px;padding:2px 10px;border-radius:99px;background:var(--bg2);white-space:nowrap}
.ranks .pos.top{background:rgba(154,107,18,.14);color:var(--gold)}
.ranks .val{font-family:var(--display);font-size:18px;min-width:34px;text-align:left}
.cur-season{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cur-season div{background:var(--bg2);border-radius:12px;padding:12px;text-align:center}
.cur-season b{font-family:var(--display);font-size:26px;display:block}
.cur-season span{font-size:12px;color:var(--mute)}
.seasons-tbl{width:100%;border-collapse:collapse;font-size:14px}
.seasons-tbl th,.seasons-tbl td{padding:7px 8px;border-bottom:1px solid var(--rule);text-align:right}
.seasons-tbl td.n{font-family:var(--display);font-weight:700;width:60px}
.seasons-tbl .bar{height:7px;border-radius:99px;background:var(--red)}
.lst{width:100%;border-collapse:collapse;font-size:15px}
.lst th,.lst td{padding:10px 8px;border-bottom:1px solid var(--rule);text-align:right}
.lst thead th{font-size:13px;color:var(--mute);font-weight:500;border-bottom-color:var(--rule2)}
.lst td.rk{font-family:var(--display);color:var(--mute);width:48px}
.lst td.n{font-family:var(--display);font-weight:700;width:64px}
.lst td.b{width:34%}
.lst .bar{height:8px;border-radius:99px;background:var(--red);min-width:2px}
.lst tr.tie td.rk{color:transparent}
.lst a{font-weight:500}
.lst a:hover{color:var(--red);text-decoration:underline}
.squad-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.season-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.season-grid div{border:1px solid var(--rule);border-radius:10px;padding:10px;background:var(--bg1);text-align:center;font-family:var(--display);font-size:15px}
.season-grid div small{display:block;font-family:var(--body);font-size:11px;color:var(--dim)}
.season-grid div.on{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.season-grid div.on small{color:var(--red)}
.founders{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;max-width:760px}
.founder{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;border:1px solid var(--rule);border-radius:20px;padding:26px;background:var(--bg1);box-shadow:var(--shadow);transition:.15s}
.founder:hover{border-color:var(--red);transform:translateY(-2px)}
.photo{width:150px;height:150px;border-radius:50%;object-fit:cover;background:var(--bg2);display:grid;place-items:center;font-family:var(--display);font-size:52px;color:var(--mute);border:3px solid var(--bg1);box-shadow:0 0 0 2px var(--red)}
.founder h2{font-size:21px}
.founder span{font-size:13px;color:var(--mute)}
.bio{display:grid;grid-template-columns:200px 1fr;gap:30px;align-items:start}
@media(max-width:700px){.bio{grid-template-columns:1fr;justify-items:center}}
.bio .photo{width:200px;height:200px;font-size:64px}
.prose{max-width:680px;font-size:16.5px;line-height:2}
.prose p{margin-bottom:14px}
.prose h2{font-size:22px;margin:24px 0 10px}
.prose ul{margin:0 0 14px;padding-inline-start:20px}
.form{display:grid;gap:14px;max-width:560px}
.form label{font-size:14px;font-weight:700;display:grid;gap:6px}
.form textarea{min-height:150px;resize:vertical;font:inherit;background:var(--bg1);border:1px solid var(--rule2);border-radius:11px;padding:10px 12px}
.form .hp{position:absolute;left:-5000px}
.notice{padding:12px 16px;border-radius:12px;font-weight:700;font-size:14.5px}
.notice.ok{background:rgba(29,138,82,.12);color:var(--green)}
.notice.err{background:rgba(200,16,46,.08);color:var(--red)}
.studio-pick{display:grid;gap:8px}
.studio-pick label{display:flex;gap:12px;align-items:center;border:1px solid var(--rule);border-radius:12px;padding:11px 14px;cursor:pointer;background:var(--bg1)}
.studio-pick label:has(input:checked){border-color:var(--text);background:var(--bg2)}
.studio-pick input{accent-color:var(--red);width:18px;height:18px}
.studio-pick b{font-family:var(--display);font-size:20px;min-width:52px}
.studio-pick span{font-size:14px;color:var(--mute)}
.hint{font-size:13px;color:var(--mute);margin:8px 0}
.cmp-tbl{width:100%;border-collapse:collapse;margin-top:16px}
.cmp-tbl td,.cmp-tbl th{padding:10px 6px;border-bottom:1px solid var(--rule);text-align:center;font-size:14px}
.cmp-tbl th{font-weight:500;color:var(--mute);font-size:13px}
.cmp-tbl td{font-family:var(--display);font-size:20px;font-weight:700;width:30%}
.cmp-tbl td.win{color:var(--red)}
.cmp-head{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:end}
.cmp-head span{color:var(--dim);font-size:13px;padding-bottom:12px}
.cmp-head label{font-size:12.5px;color:var(--mute);display:grid;gap:4px}
.pf-body>*,.lab>*,.studio>*,.hero-g>*,.bio>*{min-width:0}
.form .hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);left:auto}
.status{white-space:nowrap;display:inline-block}
.season-note{margin:14px 0 0;padding:10px 14px;border-radius:10px;background:var(--bg2);color:var(--mute);font-size:14px;line-height:1.8}
.lst tr.hl td,.lst tr.hl th{background:rgba(200,16,46,.07)}
b.ahly{color:var(--red)}
.small{font-size:13px}
.dtbl.champs td,.dtbl.champs th{vertical-align:top}
.dtbl.champs th a{color:var(--red)}
.dtbl.champs .muted.small{margin-top:4px;max-width:340px;line-height:1.6}

/* national team / table pages */
.nt-card h3.nt-h,.card h3.nt-h{font-size:15px;margin:12px 0 6px}
.nt-card h3.nt-h:first-of-type{margin-top:0}
.nt-dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;margin:0 0 6px}
.nt-dl div{background:var(--bg2);border-radius:8px;padding:6px 8px}
.nt-dl dt{font-size:12px;color:var(--dim)}
.nt-dl dd{margin:0;font-weight:700;font-size:16px}
.nt-mini{list-style:none;margin:0;padding:0}
.nt-mini li{display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--rule)}
.nt-mini li:last-child{border-bottom:0}
.nt-mini .rk{grid-row:span 2;color:var(--dim);font-weight:700}
.nt-mini b{grid-row:span 2;font-size:20px}
.nt-mini small{grid-column:2;color:var(--dim);font-size:12px}
.page-extra{margin-top:10px}
.page-note{line-height:1.9}
body[data-page=tpage] .dtbl th[scope=row]{white-space:nowrap}
.nt-dl div.long{grid-column:1/-1}.nt-dl div.long dd{font-size:14px;font-weight:500;line-height:1.7}
.vs-list{list-style:none;margin:0 0 8px;padding:0}
.vs-list li{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid var(--rule)}
.vs-list li:last-child{border-bottom:0}
.vs-list b{font-size:18px}
.vs-more{margin-top:10px;border-top:1px solid var(--rule);padding-top:8px}
.vs-more summary{cursor:pointer;font-weight:600;padding:4px 0}
body[data-page=vs] .dtbl th,body[data-page=vs-hub] .dtbl th{white-space:nowrap}
.pf-scope{margin:8px 0 0;font-size:13.5px;color:var(--dim);background:var(--bg2);border-radius:10px;padding:6px 10px;display:inline-block}
.pcard .stats span small{display:block;font-size:10.5px;color:var(--dim)}
[hidden]{display:none!important}
/* player photos */
.av.ph{padding:0;overflow:hidden;background:var(--bg2)}
.av.ph img{width:100%;height:100%;object-fit:cover;display:block}
.av.xs{width:30px;height:30px;font-size:12px;border-width:1px}
.who-ph{display:inline-flex;align-items:center;gap:8px}
.sugg li .sph{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none;margin-inline-end:8px;vertical-align:middle}
.save-ov{position:fixed;inset:0;z-index:90;background:rgba(10,12,16,.82);display:grid;place-items:center;padding:16px}
.save-box{background:var(--bg1);border-radius:18px;padding:14px;max-width:440px;width:100%;max-height:92vh;overflow:auto;text-align:center}
.save-box img{width:100%;height:auto;border-radius:10px;display:block;-webkit-touch-callout:default;user-select:auto}
.save-box p{margin:10px 0;font-size:14.5px}
.save-box .acts{justify-content:center}

/* ---------- home: slider ---------- */
.slider{position:relative;border-radius:22px;overflow:hidden;background:#15181d;box-shadow:var(--shadow)}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:start;position:relative;height:360px;display:block;color:#fff}
.slide-ph,.slide-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%}
.slide-ph.noph{background:linear-gradient(135deg,#c8102e,#5c0613);display:grid;place-items:center}
.slide-ph.noph b{font-family:var(--display);font-size:180px;color:rgba(255,255,255,.12);line-height:1}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,12,16,.92) 0%,rgba(10,12,16,.55) 45%,rgba(10,12,16,0) 75%)}
.slide-tx{position:absolute;inset-inline:0;bottom:0;padding:22px 26px 46px;z-index:1;display:grid;gap:8px;justify-items:start}
.slide .tag{background:var(--red);color:#fff;font-size:12.5px;font-weight:700;border-radius:99px;padding:3px 12px}
.slide-num{display:flex;align-items:baseline;gap:10px}
.slide-num b{font-family:var(--display);font-size:64px;line-height:1}
.slide-num small{font-size:15px;opacity:.85}
.slide-t{font-size:19px;font-weight:700;line-height:1.5;max-width:640px}
.sl-dots{position:absolute;bottom:16px;inset-inline:0;display:flex;justify-content:center;gap:7px;z-index:2}
.sl-dots button{width:8px;height:8px;border-radius:99px;border:0;background:rgba(255,255,255,.45);padding:0;cursor:pointer;transition:.2s}
.sl-dots button[aria-current=true]{width:22px;background:#fff}
.sl-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:1;cursor:pointer;backdrop-filter:blur(4px)}
.sl-nav.prev{inset-inline-start:12px}.sl-nav.next{inset-inline-end:12px}
@media(max-width:640px){.slide{height:420px}.slide-num b{font-size:54px}.slide-t{font-size:17px}.sl-nav{display:none}}

/* ---------- home: squad photo cards ---------- */
.pc-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px;scrollbar-width:thin}
.pc{flex:0 0 176px;scroll-snap-align:start;background:var(--bg1);border:1px solid var(--rule);border-radius:16px;overflow:hidden;position:relative;box-shadow:var(--shadow);transition:.15s}
.pc:hover{transform:translateY(-2px);border-color:var(--rule2)}
.pc-ph{display:block;aspect-ratio:1/1.08;background:var(--bg2);position:relative}
.pc-ph img{width:100%;height:100%;object-fit:cover;object-position:center 15%;display:block}
.pc-ph.noph{display:grid;place-items:center;background:linear-gradient(160deg,#c8102e,#7a0a1b)}
.pc-ph.noph b{font-family:var(--display);font-size:54px;color:rgba(255,255,255,.9)}
.pc-rk{position:absolute;top:10px;inset-inline-start:10px;background:#fff;color:var(--text);font-family:var(--display);font-size:15px;border-radius:99px;padding:2px 10px;box-shadow:var(--shadow)}
.pc-b{display:grid;gap:2px;padding:10px 12px 12px}
.pc-n{font-size:15.5px;line-height:1.35}
.pc-s{font-size:12px;color:var(--mute)}
.pc-v{font-size:12.5px;color:var(--mute);margin-top:4px}
.pc-v b{font-family:var(--display);font-size:22px;color:var(--red)}

/* ---------- home: leaders ---------- */
.ld-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.ld{background:var(--bg1);border:1px solid var(--rule);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow)}
.ld-h{display:block;font-size:13px;color:var(--dim);margin-bottom:10px}
.ld-h:hover{color:var(--red)}
.ld-top{display:flex;align-items:center;gap:12px}
.ld-v{background:var(--red);color:#fff;font-family:var(--display);font-size:22px;min-width:52px;text-align:center;border-radius:12px;padding:4px 8px}
.ld-n{flex:1;min-width:0;font-weight:700;font-size:16px;line-height:1.35}
.ld-n small{display:block;font-weight:400;font-size:12px;color:var(--mute)}
.ld-av{width:58px;height:58px}
.ld-rest{list-style:none;margin:10px 0 0;padding:8px 0 0;border-top:1px solid var(--rule);display:grid;gap:4px;font-size:14px}
.ld-rest li{display:flex;gap:10px;align-items:center}
.ld-rest .v{min-width:52px;text-align:center;font-family:var(--display);color:var(--dim)}

/* ---------- home: updates ---------- */
.updates{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.updates a{display:flex;gap:12px;align-items:center;background:var(--bg1);border:1px solid var(--rule);border-radius:14px;padding:10px 12px;box-shadow:var(--shadow)}
.updates a:hover{border-color:var(--rule2)}
.up-av{width:52px;height:52px}
.up-ic{flex:none;width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,#c8102e,#7a0a1b)}
.up-b{display:grid;gap:2px;min-width:0}
.up-m{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--dim)}
.up-tag{color:var(--red);font-weight:700}
.up-t{font-weight:700;font-size:15px;line-height:1.45}
@media(max-width:640px){.ld-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.ld{flex:0 0 86%;scroll-snap-align:start}}

/* ---------- leader picture on top of scorers pages ---------- */
.lead-hero{display:flex;align-items:stretch;background:#15181d;color:#fff;border-radius:20px;overflow:hidden;margin:0 0 18px;box-shadow:var(--shadow);min-height:200px}
.lh-ph{flex:0 0 42%;max-width:340px;position:relative;background:#222}
.lh-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lh-tx{flex:1;display:grid;align-content:center;justify-items:start;gap:8px;padding:22px 24px;background:linear-gradient(135deg,#c8102e 0%,#5c0613 100%)}
.lead-hero .tag{background:rgba(255,255,255,.16);font-size:12.5px;font-weight:700;border-radius:99px;padding:3px 12px}
.lh-n{font-family:var(--display);font-size:28px;line-height:1.3}
.lh-n a{color:#fff}.lh-n a:hover{text-decoration:underline}
.lh-v{font-size:15px;opacity:.92}
.lh-v b{font-family:var(--display);font-size:46px;line-height:1;margin-inline-end:4px}
@media(max-width:640px){.lead-hero{min-height:170px}.lh-ph{flex-basis:40%}.lh-n{font-size:21px}.lh-v b{font-size:36px}.lh-tx{padding:16px}}

/* ---------- home: most viewed ---------- */
.mostv{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.mostv a{display:flex;gap:12px;align-items:center;background:var(--bg1);border:1px solid var(--rule);border-radius:14px;padding:10px 12px;box-shadow:var(--shadow)}
.mostv a:hover{border-color:var(--rule2)}
.mv-rk{font-family:var(--display);font-size:24px;color:var(--red);min-width:24px;text-align:center}
.mv-av{width:52px;height:52px}
.mv-b{display:grid;gap:2px;min-width:0}.mv-b b{font-size:15.5px}.mv-b small{font-size:12.5px;color:var(--mute)}

/* ---------- home: records race ---------- */
.races{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}
.race a{display:flex;gap:12px;align-items:center;background:var(--bg1);border:1px solid var(--rule);border-radius:14px;padding:12px;box-shadow:var(--shadow);height:100%}
.race a:hover{border-color:var(--red)}
.rc-av{width:56px;height:56px}
.rc-b{flex:1;display:grid;gap:3px;min-width:0}
.rc-n{font-size:16px}.rc-t{font-size:13.5px;line-height:1.55;color:var(--text)}.rc-m{font-size:12px;color:var(--dim)}
.rc-need{flex:none;display:grid;justify-items:center;background:var(--red);color:#fff;border-radius:12px;padding:6px 10px;min-width:58px}
.rc-need b{font-family:var(--display);font-size:28px;line-height:1}.rc-need small{font-size:11.5px}
@media(max-width:640px){.races{grid-template-columns:1fr}}

/* ---------- pictures inside table pages ---------- */
.tp-fig{margin:14px auto;max-width:760px}
.tp-fig img{display:block;width:100%;height:auto;border-radius:14px;background:var(--bg2)}
.tp-fig figcaption{font-size:13px;color:var(--mute);text-align:center;margin-top:6px}
.tp-fig.small{max-width:360px}
.tp-fig.right,.tp-fig.left{max-width:300px;margin:4px 0 12px}
.tp-fig.right{float:right;margin-inline-end:18px}
.tp-fig.left{float:left;margin-inline-start:18px}
.card::after{content:"";display:table;clear:both}
@media(max-width:640px){.tp-fig.right,.tp-fig.left{float:none;max-width:100%;margin:12px auto}}

/* records page: admin cards */
.rec-h{font-size:clamp(20px,2.6vw,26px);margin:26px 0 4px}
.rec-card{position:relative}
.rec-card.has-ph{padding-inline-start:16px}
.rec-ph{position:absolute;top:14px;inset-inline-end:14px;width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid var(--bg1);box-shadow:0 0 0 1px var(--rule2)}
.rec-card.has-ph .t{padding-inline-end:56px}

/* current squad players inside scorers lists */
.lst tr.cur td{background:rgba(200,16,46,.045)}
.lst tr.cur td:first-child{box-shadow:inset -3px 0 0 var(--red)}
.lst tr.cur .rk{color:var(--red);font-weight:700}
.cur-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);margin-inline-start:7px;vertical-align:middle;box-shadow:0 0 0 3px rgba(200,16,46,.15)}
.legend{font-size:12.5px;color:var(--mute);margin-top:8px}
.legend .cur-dot{margin:0 0 0 4px}

/* table pages: picture on top */
.tp-top{margin:14px 0 10px}
.tp-top img{display:block;width:100%;height:auto;border-radius:16px;background:var(--bg2)}
.tp-top.wide img{max-height:480px;object-fit:cover}
.tp-top.side{float:left;width:min(300px,42%);margin:6px 22px 10px 0}
.page-head.has-top::after{content:"";display:table;clear:both}
@media(max-width:640px){.tp-top.side{float:none;width:100%;margin:12px 0}}

/* type-to-find above a list of players */
.finder{position:relative;margin-bottom:6px}
.finder input{width:100%;padding:9px 12px;border:1px solid var(--rule2);border-radius:10px;background:var(--bg1);font-size:14px}
.finder ul{position:absolute;inset-inline:0;top:100%;z-index:30;list-style:none;margin:4px 0 0;padding:4px;background:var(--bg1);border:1px solid var(--rule2);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-height:300px;overflow:auto}
.finder li{padding:8px 10px;border-radius:8px;cursor:pointer;font-size:14px;color:var(--text)}
.finder li[aria-selected=true],.finder li:hover{background:var(--bg2)}
.finder li.empty{color:var(--mute);cursor:default}

/* install as an app */
.linkish{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.inst-bar{position:fixed;inset-inline:12px;bottom:calc(var(--nav) + 12px);z-index:55;display:flex;align-items:center;gap:10px;background:var(--bg1);border:1px solid var(--rule2);border-radius:16px;padding:10px 12px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.inst-bar img{border-radius:10px;flex:none}
.inst-bar span{flex:1;display:grid;line-height:1.35}
.inst-bar b{font-size:14.5px}.inst-bar small{font-size:12px;color:var(--mute)}
.inst-bar .btn{padding:8px 14px}
.inst-x{background:none;border:0;font-size:24px;line-height:1;color:var(--mute);padding:4px 6px;cursor:pointer}
@media(min-width:861px){.inst-bar{bottom:16px;inset-inline:auto 16px;max-width:420px}}
.inst-ov{position:fixed;inset:0;z-index:70;background:rgba(10,12,16,.55);display:grid;place-items:end center;padding:16px}
.inst-ov[hidden]{display:none}
.inst-box{position:relative;background:var(--bg1);border-radius:18px;padding:22px 20px 18px;max-width:460px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.inst-box h2{font-size:21px;margin-bottom:10px}
.inst-box ol{margin:6px 22px 10px 0;display:grid;gap:6px}
.inst-box .inst-x{position:absolute;top:10px;inset-inline-end:10px}
.ios-share{display:inline-block;width:16px;height:18px;vertical-align:-3px;border:2px solid var(--text);border-top:0;border-radius:0 0 3px 3px;position:relative;margin:0 2px}
.ios-share::before{content:"";position:absolute;left:50%;top:-8px;width:2px;height:13px;background:var(--text);transform:translateX(-50%)}
.ios-share::after{content:"";position:absolute;left:50%;top:-9px;width:7px;height:7px;border-top:2px solid var(--text);border-left:2px solid var(--text);transform:translateX(-50%) rotate(45deg)}
@media(min-width:641px){.inst-ov{place-items:center}}

/* home: the admin's "text, picture and button" block */
.hb-text{background:var(--bg1);border:1px solid var(--rule);border-radius:20px;padding:22px;box-shadow:var(--shadow)}
.hb-text.has-img{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:22px;align-items:center}
.hb-text img{width:100%;border-radius:14px;display:block;max-height:380px;object-fit:cover}
.hb-text p{color:var(--mute);margin:6px 0 14px;font-size:16px}
@media(max-width:700px){.hb-text.has-img{grid-template-columns:1fr}}

/* home: share studio band */
.st-band{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:center;background:#15181d;color:#fff;border-radius:22px;padding:26px;box-shadow:var(--shadow)}
.st-band h2{color:#fff;font-size:clamp(24px,3vw,32px);margin:4px 0 8px}
.st-band p{color:rgba(255,255,255,.78)}
.st-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.st-card{display:grid;gap:4px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:14px;color:#fff;transition:.15s}
.st-card:hover{background:rgba(200,16,46,.25);border-color:var(--red)}
.st-card svg{width:26px;height:26px;color:var(--red)}
.st-card b{font-size:16px}.st-card small{font-size:12.5px;color:rgba(255,255,255,.7)}
@media(max-width:760px){.st-band{grid-template-columns:1fr;padding:20px}}
.st-tabs{margin:0 0 16px}
.st-tabs .chip[aria-pressed=true]{background:var(--text);color:var(--bg1);border-color:var(--text)}

/* ---------- blog ---------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.post-grid.four{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.post-card{display:flex;flex-direction:column;background:var(--bg1);border:1px solid var(--rule);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);transition:.15s}
.post-card:hover{transform:translateY(-2px);border-color:var(--rule2)}
.pcard-cover{margin:0;aspect-ratio:16/10;background:var(--bg2);position:relative;overflow:hidden}
.pcard-cover img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;display:block}
.pcard-b{display:grid;gap:6px;padding:14px 16px 16px}
.pcard-b b{font-family:var(--display);font-size:19px;line-height:1.4}
.pcard-b small{color:var(--mute);font-size:13.5px;line-height:1.6}
.pcard-b time{font-size:12px;color:var(--dim)}
.post-cover.gen,.pcard-cover.gen{display:grid;place-items:center;align-content:center;gap:4px;background:linear-gradient(135deg,var(--red),#5c0613);color:#fff}
.gen .pcg-in{font-family:var(--display);font-size:72px;line-height:1;opacity:.35}
.gen .pcg-n{font-family:var(--display);font-size:20px}
.post-match{display:inline-block;font-size:12.5px;font-weight:700;color:var(--red);background:rgba(200,16,46,.08);border-radius:99px;padding:3px 12px;justify-self:start}
.post-match.soon{background:var(--red);color:#fff}
.post-wrap{max-width:860px}
.post-head h1{font-size:clamp(28px,4.4vw,44px);line-height:1.3;margin-top:8px}
.post-meta{font-size:13.5px;color:var(--dim)}
.post-cover{margin:6px 0 22px;border-radius:20px;overflow:hidden;background:var(--bg2);aspect-ratio:16/9}
.post-cover img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;display:block}
.post-cover.gen .pcg-in{font-size:140px}.post-cover.gen .pcg-n{font-size:30px}
.post-body{font-size:18px;line-height:2}
.post-body p{margin:0 0 18px}
.post-body h2{font-size:clamp(22px,3vw,28px);margin:30px 0 12px}
.post-body h3{font-size:20px;margin:22px 0 10px}
.post-body strong{color:var(--text)}
.post-ul{margin:0 22px 18px 0;display:grid;gap:6px}
.post-q{margin:22px 0;padding:16px 20px;border-inline-start:5px solid var(--red);background:var(--bg1);border-radius:14px;font-family:var(--display);font-size:21px;line-height:1.7;box-shadow:var(--shadow)}
.pe-card{display:grid;grid-template-columns:200px 1fr;gap:0;background:var(--bg1);border:1px solid var(--rule);border-radius:20px;overflow:hidden;margin:24px 0;box-shadow:var(--shadow)}
.pe-ph{display:block;position:relative;background:var(--bg2);min-height:220px}
.pe-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%}
.pe-ph.noph{display:grid;place-items:center;background:linear-gradient(160deg,var(--red),#7a0a1b)}.pe-ph.noph b{font-family:var(--display);font-size:60px;color:rgba(255,255,255,.9)}
.pe-b{padding:16px 18px;display:grid;gap:8px;align-content:start}
.pe-tag{font-size:12px;color:var(--red);font-weight:700}
.pe-n{font-family:var(--display);font-size:24px}
.pe-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.pe-tiles div{background:var(--bg2);border-radius:12px;padding:8px 10px;display:grid}
.pe-tiles b{font-family:var(--display);font-size:24px;line-height:1.1}.pe-tiles span{font-size:13px}.pe-tiles small{font-size:11.5px;color:var(--dim)}
.pe-acts{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0}
.pe-acts .btn{padding:8px 14px;font-size:13.5px}
@media(max-width:600px){.pe-card{grid-template-columns:1fr}.pe-ph{min-height:260px}}
.pc2{background:var(--bg1);border:1px solid var(--rule);border-radius:20px;padding:16px;margin:24px 0;box-shadow:var(--shadow)}
.pc2-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:10px}
.pc2-h{display:grid;justify-items:center;gap:6px;text-align:center;font-weight:700}
.pc2-av{width:84px;height:84px;font-size:28px;border:2px solid var(--red)}
.pc2-vs{background:var(--red);color:#fff;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-family:var(--display)}
.pc2-t{width:100%;border-collapse:collapse;font-size:16px}
.pc2-t td,.pc2-t th{padding:9px 6px;border-bottom:1px solid var(--rule);text-align:center}
.pc2-t th{font-weight:500;color:var(--mute);font-size:14px}
.pc2-t td{font-family:var(--display);font-size:22px;width:30%}
.pc2-t td.win{color:var(--red)}
.pc2-f{font-size:14px;margin:10px 0 0}
.pl-embed,.vs-embed{margin:24px 0}
.pl-embed{background:var(--bg1);border:1px solid var(--rule);border-radius:20px;padding:16px;box-shadow:var(--shadow)}
.pl-embed h3{margin:0 0 8px;font-size:19px}.pl-embed h3 small{font-family:var(--body);font-size:12.5px;color:var(--mute);margin-inline-start:8px;font-weight:500}
.race-embed{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;background:#15181d;color:#fff;border-radius:20px;padding:18px;margin:24px 0}
.re-p{display:grid;justify-items:center;gap:4px;text-align:center}
.re-p b{font-size:15px}.re-p span{font-family:var(--display);font-size:30px}
.re-av{width:70px;height:70px;font-size:24px;border:2px solid var(--red)}
.re-mid{display:grid;justify-items:center;background:var(--red);border-radius:16px;padding:10px 16px;min-width:96px}
.re-mid b{font-family:var(--display);font-size:46px;line-height:1}.re-mid small{font-size:12px;opacity:.9}
.re-line{grid-column:1/-1;margin:6px 0 0;text-align:center;font-size:15.5px;color:rgba(255,255,255,.9)}
.post-tags{margin:20px 0 10px}
.post-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;font-size:14px}
.post-share a{border:1px solid var(--rule2);border-radius:99px;padding:5px 14px}
.post-share a:hover{border-color:var(--red);color:var(--red)}
.post-rel{margin-top:30px}.post-rel h2{font-size:24px;margin-bottom:12px}
.post-pages{margin:20px 0}
.ad-in{margin:22px 0}
.post-prof{background:var(--bg1);border:1px solid var(--rule);border-radius:18px;padding:16px 18px;margin:24px 0;box-shadow:var(--shadow)}
.post-prof h2{font-size:20px;margin-bottom:8px}
.post-prof ul{margin:0 20px 0 0;display:grid;gap:4px;font-size:15.5px}
