/* xG Lab entity sections on the light brand (4 Dec).
   The league hub, team and match "entities lane" markup (entity_graph.py /
   entity_sections.py / entity_viz.py) was styled only by b.css, which no page
   links (dark-first). These are the same rules, with b.css's token names
   mapped onto the brand tokens (paper #FAF6EF, ink #141414, green #0E7A34;
   orange = verdicts/gaps only), scoped so they never leak into style.css. */
.ev-sec,.mtiles,.mtile,.bug,.ev-svg,.strip,.ev-grid,.xv-phone,.xv-desk{
  --bg:#FAF6EF; --bg2:#F1EBDD; --panel:#FFFFFF; --panel2:#F1EBDD; --line:#E6DFD0; --line2:#CFC6B3;
  --fg:#141414; --text:#2A2A2A; --dim:#5B5B5B; --faint:#777777;
  --cy:#0E7A34; --cy-text:#0E7A34; --cy-ink:#E4F2E8; --cy-glow:rgba(14,122,52,.18);
  --hot:#D9541E; --hot-text:#B8430F; --hot-ink:#FFFFFF; --hot-glow:rgba(217,84,30,.2); --warn:#9C2F10;
  --rival:#6B6253; --third:#0E7A34; --ctx:#B9B0A0;
  --f:"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,sans-serif;
  --mono:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,sans-serif;
  --fs-xs:12px; --fs-s:14px; --fs-m:17px; --fs-l:20px; --fs-xl:clamp(22px,3vw,30px);
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:40px; --s8:56px;
  --r:2px; --cut:14px}
html[data-theme="dark"] .ev-sec,html[data-theme="dark"] .mtiles,html[data-theme="dark"] .bug{
  --bg:#06231A; --panel:#0B3D24; --panel2:#0E5130; --line:#1C5A3A; --line2:#2A6B48;
  --fg:#FAF6EF; --text:#E9F2E4; --dim:#B9D6C2; --cy:#D8F45B; --cy-text:#D8F45B; --rival:#B9B0A0}
.mtile{border-radius:12px}
.mt-s{border-radius:6px}
.bug{margin:var(--s4) 0;max-width:580px;container-type:inline-size}
.bug-a{display:block;text-decoration:none}
.bug-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch}
.bug-n2{grid-template-columns:1fr 1fr}
.bug-n1{grid-template-columns:minmax(0,max-content)}
.bug-1,.bug-2,.bug-gap{display:flex;flex-direction:column;justify-content:center;padding:10px 16px;min-width:0}
.bug-1{background:var(--fg);color:var(--bg);clip-path:polygon(0 0,100% 0,100% 100%,var(--cut) 100%)}
[dir="ltr"] .bug-1{clip-path:polygon(0 0,100% 0,calc(100% - var(--cut)) 100%,0 100%)}
.bug-2{background:var(--cy-ink);color:var(--cy-text);border:1.5px solid var(--cy);clip-path:polygon(0 0,100% 0,calc(100% - var(--cut)) 100%,0 100%)}
[dir="ltr"] .bug-2{clip-path:polygon(0 0,100% 0,100% 100%,var(--cut) 100%)}
.bug-n1 .bug-1{clip-path:none}
.bug-gap{background:var(--hot);color:var(--hot-ink);text-align:center;padding:10px 12px;min-width:76px}
.bug-l{font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.bug-v{font-family:var(--mono);font-weight:700;font-size:34px;line-height:1.1;white-space:nowrap}
.bug-gap .bug-v{font-size:22px}
.bug-src{margin:6px 0 0;font-size:11.5px;color:var(--dim);line-height:1.5}
.bug-big{max-width:680px}
.bug-big .bug-v{font-size:clamp(26px,9cqi,72px)}
.bug-big .bug-gap .bug-v{font-size:clamp(22px,3.4vw,34px)}
.bug-big .bug-1,.bug-big .bug-2{padding:12px clamp(10px,3cqi,20px)}
.bug-mini{margin:10px 0}
.bug-mini .bug-v{font-size:24px}.bug-mini .bug-gap .bug-v{font-size:17px}
.bug-mini .bug-1,.bug-mini .bug-2{padding:6px 12px}.bug-mini .bug-gap{padding:6px 8px;min-width:58px}
.bug-mini .bug-l{font-size:11px;font-weight:500}
.bug-mini .bug-src{font-size:10.5px}
.bug-solo .bug-v{white-space:normal}
.bug-err .bug-1{background:var(--panel2);color:var(--fg)}
.bug-err .bug-2{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.bug .flip{animation:flip .45s var(--ease)}
.mtiles{display:grid;gap:var(--s3);grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.mtile{display:flex;flex-direction:column;gap:6px;background:var(--panel);border:1px solid var(--line);padding:var(--s3) var(--s4);text-decoration:none;min-width:0}
.mtile:hover{border-color:var(--cy)}
.mt-meta{font-size:11.5px;color:var(--dim)}
.mt-row{display:grid;grid-template-columns:auto 1fr auto auto 1fr;align-items:center;gap:var(--s2)}
.crest{width:22px;height:25px;flex:none;vertical-align:-5px}
.mt-row .crest{width:26px;height:30px}
.mt-t{font-weight:600;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.mt-row .mt-t:last-child{text-align:end}
.mt-s{font-family:var(--mono);font-weight:700;font-size:20px;background:var(--fg);color:var(--bg);padding:0 8px;white-space:nowrap}
.mt-s i{font-style:normal;opacity:.6;padding:0 2px}
.mt-xg{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:12.5px;color:var(--cy-text)}
.mt-k{font-family:var(--f);font-size:11px;color:var(--dim)}
.mt-bar{flex:1;height:4px;background:var(--line2);position:relative}
.mt-bar::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:var(--h);background:var(--cy);box-shadow:0 0 6px var(--cy-glow)}
.strip{display:flex;gap:var(--s3);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:var(--s2);scrollbar-width:thin}
.strip>*{flex:0 0 min(78%,280px);scroll-snap-align:start}
@media (min-width:900px){.strip{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible}.strip>*{flex:auto}}
.xv-phone{display:block}.xv-desk{display:none}
@media (min-width:700px){.xv-phone{display:none}.xv-desk{display:block}}
/* entities lane */
/* One frame for match, player, team and league sections (site/entity_sections.py) and
   their SVG charts (site/entity_viz.py). Tokens only, so light + dark both work. */
.ev-sec{margin:var(--s7) 0 0;min-width:0}
.ev-head{border-top:2px solid var(--fg);padding-top:var(--s3);margin-bottom:var(--s4)}
.ev-head h2{font-size:var(--fs-xl);margin:0;border:0;padding:0;line-height:1.3}
.ev-k{margin:0 0 2px;font-size:12px;font-weight:500;color:var(--cy-text)}
:lang(en) .ev-k{letter-spacing:.06em;text-transform:uppercase}
.ev-read{margin:6px 0 0;color:var(--dim);font-size:var(--fs-s);line-height:1.6;max-width:62em}
.ev-grid{display:grid;gap:var(--s4);min-width:0}
.ev-grid>*{min-width:0}
.ev-grid>.panel,.ev-sec .panel{margin:0}
.ev-sec .panel+.panel{margin-top:var(--s4)}
.ev-grid>.panel+.panel{margin-top:0}
@media (min-width:900px){.ev-grid{grid-template-columns:1fr 1fr;align-items:start}.ev-g21{grid-template-columns:3fr 2fr}}
.ev-pn .pn-note b{color:var(--cy-text);font-weight:600}
.ev-src{margin-top:var(--s2)}
.ev-sub{margin:var(--s3) 0 6px;font-size:13px;font-weight:600;color:var(--text)}
.ev-h3{font-size:18px;margin:var(--s5) 0 0}
.ev-b{font-weight:700}
.ev-h-t{color:var(--cy-text);fill:var(--cy-text)}
.ev-a-t{color:var(--rival);fill:var(--rival)}
.ev-hot-t{color:var(--hot-text);fill:var(--hot-text)}
/* svg */
.ev-svg{display:block;width:100%;height:auto;font-family:var(--f);overflow:visible}
.ev-svg text{fill:var(--fg)}
.ev-svg .ev-m{fill:var(--dim)}
.ev-svg .ev-n{font-family:var(--mono)}
.ev-svg .ev-h-t{fill:var(--cy-text)} .ev-svg .ev-a-t{fill:var(--rival)} .ev-svg .ev-hot-t{fill:var(--hot-text)}
.ev-svg a .ev-sdot{cursor:pointer}
.ev-svg.ev-dk{display:none}
@media (min-width:700px){.ev-svg.ev-ph{display:none}.ev-svg.ev-dk{display:block}}
.ev-g{stroke:var(--line);stroke-width:1}
.ev-ax{stroke:var(--line2);stroke-width:1.3}
.ev-ht{stroke:var(--dim);stroke-width:1;stroke-dasharray:3 3;opacity:.7}
.ev-line{fill:none;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.ev-line.ev-h{stroke:var(--cy)} .ev-line.ev-a{stroke:var(--rival)} .ev-line.ev-hot{stroke:var(--hot);stroke-width:2.2}
.ev-bar.ev-h{fill:var(--cy)} .ev-bar.ev-a{fill:var(--rival)}
.ev-goal{stroke:var(--fg);stroke-width:2}
.ev-goal.ev-h{fill:var(--cy)} .ev-goal.ev-a{fill:var(--rival)} .ev-goal.ev-fg{fill:var(--fg);stroke:var(--panel);stroke-width:1.5}
.ev-ring{fill:none;stroke:var(--fg);stroke-width:1.8}
.ev-svg .ev-call{font-weight:700;fill:var(--fg)}
.ev-halo{paint-order:stroke;stroke:var(--panel);stroke-width:3.5px;stroke-linejoin:round}
.ev-zone{fill:transparent} .ev-z1{fill:var(--panel2);opacity:.45} .ev-z2{fill:var(--panel2);opacity:.9} .ev-z3{fill:var(--cy);opacity:.1}
.ev-dot{fill-opacity:.6;stroke:var(--panel);stroke-width:.8}
.ev-dot.ev-h{fill:var(--cy)} .ev-dot.ev-a{fill:var(--rival)}
.ev-dot.ev-gl{fill-opacity:1;stroke:var(--fg);stroke-width:2}
.ev-gap{stroke:var(--dim);stroke-width:1.5;stroke-dasharray:2 2}
.ev-sdot{fill:var(--ctx);stroke:var(--panel);stroke-width:1.5;transition:fill .15s}
.ev-sdot.ev-on,.ev-svg a:hover .ev-sdot,.ev-svg a:focus .ev-sdot{fill:var(--cy)}
/* results: one colour code for chips (html) and strips (svg) */
.ev-res{display:inline-block;min-width:22px;padding:0 5px;text-align:center;font-weight:700;font-size:12px;line-height:20px}
.ev-rw{background:var(--third);color:var(--bg);fill:var(--third)}
.ev-rd{background:var(--line2);color:var(--fg);fill:var(--line2)}
.ev-rl{background:var(--hot);color:var(--hot-ink);fill:var(--hot)}
.ev-svg .ev-rtw{fill:var(--bg)} .ev-svg .ev-rtd{fill:var(--fg)} .ev-svg .ev-rtl{fill:var(--hot-ink)}
/* key swatches */
.ev-key{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:0 0 var(--s2);font-size:13px;color:var(--dim);line-height:1.4}
.ev-sw{display:inline-block;width:12px;height:12px;margin-inline-end:5px;vertical-align:-1px}
.ev-sw.ev-h{background:var(--cy)} .ev-sw.ev-a{background:var(--rival)} .ev-sw.ev-hot{background:var(--hot);height:3px;vertical-align:3px}
/* match: what decided it */
.ev-take{list-style:none;margin:0;padding:0;display:grid;gap:var(--s3)}
.ev-take li{display:flex;gap:var(--s3);align-items:flex-start;background:var(--panel);border:1px solid var(--line);border-inline-start:3px solid var(--cy);padding:var(--s3) var(--s4)}
.ev-take p{margin:0;font-size:16px;line-height:1.65;font-weight:400}
.ev-tn{flex:none;font-family:var(--mono);font-weight:700;font-size:22px;line-height:1.2;color:var(--cy-text);min-width:1em}
/* match: side by side */
.ev-chead{display:flex;justify-content:space-between;gap:var(--s3);font-size:15px;margin-bottom:var(--s2)}
.ev-cr{padding:6px 0;border-top:1px solid var(--line)}
.ev-cl{display:block;text-align:center;font-size:13px;color:var(--dim);line-height:1.4}
.ev-cg{display:grid;grid-template-columns:3.4em 1fr 1fr 3.4em;align-items:center;gap:6px}
.ev-cv{font-family:var(--mono);font-size:14px;color:var(--text);text-align:center}
.ev-cv.ev-win{color:var(--fg);font-weight:700}
.ev-cb{display:flex;height:10px;background:var(--panel2)}
.ev-cb.ev-h{justify-content:flex-end}
.ev-cb i{display:block;height:100%}
.ev-cb.ev-h i{background:var(--cy)} .ev-cb.ev-a i{background:var(--rival)}
/* match: quality table */
.ev-qt{width:100%;border-collapse:collapse;font-size:13px;margin-top:var(--s3)}
.ev-qt caption{text-align:start;font-size:12px;color:var(--dim);padding-bottom:4px}
.ev-qt th,.ev-qt td{padding:4px 4px;border-top:1px solid var(--line);text-align:center;font-weight:400}
.ev-qt th[scope=row]{text-align:start;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:7em}
.ev-qt thead th{font-size:11.5px;color:var(--dim);line-height:1.3}
.ev-qt td{font-family:var(--mono)}
/* match: players */
.ev-plist{list-style:none;margin:0;padding:0}
.ev-plist li{padding:8px 0;border-top:1px solid var(--line)}
.ev-plist li:first-child{border-top:0;padding-top:0}
.ev-pl{display:flex;justify-content:space-between;align-items:baseline;gap:var(--s2);font-size:15px}
.ev-pn-n{font-weight:600;min-width:0;overflow-wrap:anywhere}
.ev-pt{font-size:12px;white-space:nowrap}
.ev-pbar{display:flex;height:8px;background:var(--panel2);margin:5px 0 3px}
.ev-pbar i{display:block;height:100%}
.ev-bx.ev-h{background:var(--cy)} .ev-bx.ev-a{background:var(--rival)}
.ev-bxa{background:var(--fg);opacity:.3}
.ev-pnum{margin:0;font-size:12.5px;color:var(--dim);line-height:1.5}
/* match: turning points */
.ev-tl{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ev-tp{display:flex;gap:var(--s3);align-items:baseline;padding:6px var(--s3);background:var(--panel2);border-inline-start:3px solid var(--ctx);font-size:14.5px;line-height:1.5}
.ev-tp.ev-h{border-inline-start-color:var(--cy)} .ev-tp.ev-a{border-inline-start-color:var(--rival)}
.ev-tp-goal{font-weight:600} .ev-tp-miss{color:var(--text)} .ev-tp-red{border-inline-start-color:var(--hot)}
.ev-tm{flex:none;font-family:var(--mono);font-size:13px;min-width:3.2em;color:var(--dim)}
.ev-tx{min-width:0;overflow-wrap:anywhere}
.ev-run{display:inline-block;white-space:nowrap;font-family:var(--mono);background:var(--fg);color:var(--bg);padding:0 6px;margin-inline-start:4px}
/* context: chips, next, prev/next */
.ev-ctx2{display:grid;gap:var(--s3)}
@media (min-width:600px){.ev-ctx2{grid-template-columns:1fr 1fr}}
.ev-ctx h4{margin:0;font-size:16px}
.ev-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:4px}
.ev-chip{display:flex;flex-direction:column;align-items:center;gap:0;min-width:0;padding:5px 3px 3px;border:1px solid var(--line);background:var(--panel2);text-decoration:none;font-size:12px;line-height:1.35;color:var(--fg)}
a.ev-chip:hover{border-color:var(--cy)}
.ev-fs{font-family:var(--mono);font-weight:700;font-size:13px}
.ev-fo{font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-fd{color:var(--dim);font-size:11.5px}
.ev-next{margin:var(--s2) 0 0;font-size:14px}
.ev-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3);margin:var(--s6) 0 0}
.ev-pn-c{display:flex;flex-direction:column;gap:2px;padding:var(--s3);border:1px solid var(--line);background:var(--panel);text-decoration:none;min-width:0;font-size:14px}
.ev-pn-c b{font-weight:600;overflow-wrap:anywhere}
a.ev-pn-c:hover{border-color:var(--cy)}
.ev-nextm{text-align:end}
.ev-none{visibility:hidden}
.ev-solo{margin:var(--s5) 0}
/* player */
.ev-nums{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.ev-nums li{background:var(--panel);padding:var(--s2) var(--s3);display:flex;flex-direction:column;min-width:0}
.ev-nums b{font-family:var(--mono);font-size:22px;font-weight:700;line-height:1.3}
.ev-nums span{font-size:12px;color:var(--dim);line-height:1.3}
.ev-links{font-size:14px;margin:var(--s3) 0 0;line-height:1.7}
/* team: squad bars + leaders */
.ev-leads{list-style:none;margin:0 0 var(--s4);padding:0;display:grid;gap:6px;font-size:14.5px}
.ev-leads li{background:var(--panel2);padding:6px var(--s3);line-height:1.6}
.ev-leads b{color:var(--cy-text);font-weight:600;margin-inline-end:6px}
.ev-sq{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ev-sq li{display:grid;grid-template-columns:1fr auto;gap:2px var(--s3);align-items:baseline}
.ev-sqn{font-size:14.5px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-sqv{font-size:12px;color:var(--dim);white-space:nowrap}
.ev-sqb{grid-column:1/-1;display:flex;flex-direction:column;gap:2px}
.ev-sqb i{display:block;height:6px}
.ev-bm{background:var(--ctx)} .ev-bc{background:var(--cy)}
@media (min-width:900px){.ev-sq li{grid-template-columns:13em 1fr 17em}.ev-sqb{grid-column:auto}.ev-sqv{text-align:end}}
.ev-lc{display:inline-block;unicode-bidi:plaintext;margin-inline-end:14px;white-space:nowrap}
.ev-up{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:14.5px}
.ev-up li{padding:4px 0;border-top:1px solid var(--line)}
.ev-up2{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));column-gap:var(--s5)}
/* league: boards + results */
.ev-boards{display:grid;gap:var(--s4);grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.ev-board{background:var(--panel);border:1px solid var(--line);padding:var(--s3) var(--s4)}
.ev-board h3{font-size:16px;margin:0 0 var(--s2)}
.ev-board ol{list-style:none;margin:0;padding:0}
.ev-board li{display:grid;grid-template-columns:minmax(0,1fr) 72px 3.6em;gap:var(--s2);align-items:center;padding:5px 0;border-top:1px solid var(--line);font-size:14px}
.ev-bn{min-width:0;display:flex;flex-direction:column;line-height:1.35}
.ev-bn a,.ev-bn bdi{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-bt{font-size:11.5px;color:var(--dim)}
.ev-bb{height:8px;background:var(--panel2);display:flex}
.ev-bb i{display:block;height:100%}
.ev-bpos{background:var(--cy)} .ev-bneg{background:var(--hot)}
.ev-bv{font-family:var(--mono);font-size:13.5px;text-align:end}
.ev-rgrid{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.ev-rtile{display:flex;flex-direction:column;gap:2px;padding:var(--s2) var(--s3);background:var(--panel);border:1px solid var(--line);text-decoration:none;color:var(--fg);min-width:0}
.ev-rmeta{display:flex;justify-content:space-between;gap:var(--s2)}
.ev-sp{display:inline-flex;gap:3px;align-items:center}.ev-sp i{font-style:normal;opacity:.6}
a.ev-rtile{border-color:var(--line2)}
a.ev-rtile:hover{border-color:var(--cy)}
.ev-rdate{font-size:11.5px;color:var(--dim)}
.ev-rt2{display:grid;grid-template-columns:1fr auto 1fr;gap:var(--s2);align-items:center;font-size:14px;line-height:1.3}
.ev-rt2 bdi{overflow-wrap:anywhere}
.ev-rt2 bdi:last-child{text-align:end}
.ev-rs{font-family:var(--mono);background:var(--fg);color:var(--bg);padding:0 7px;font-size:15px;white-space:nowrap}
a.ev-rtile .ev-rdate::after{content:" ←";color:var(--cy-text)}
:lang(en) a.ev-rtile .ev-rdate::after{content:" →"}
.ev-rx{font-family:var(--mono);font-size:12px;color:var(--cy-text)}
.ev-mp{font-size:12px;color:var(--cy-text)}
.ev-bit{display:inline-block;unicode-bidi:plaintext;white-space:nowrap}
.ev-chips{grid-template-columns:repeat(var(--n,5),minmax(0,1fr))}
.ev-pitch{fill:var(--pitch);stroke:var(--pitch-line);stroke-width:1.2}
.ev-pl{fill:none;stroke:var(--pitch-line);stroke-width:1.2}
.ev-goalmouth{fill:var(--dim)}
.ev-shot.ev-off{fill-opacity:.12;stroke-width:1.5}
.ev-shot.ev-off.ev-h{stroke:var(--cy)} .ev-shot.ev-off.ev-a{stroke:var(--rival)}
.ev-filter{position:relative}
.ev-f{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.ev-fl{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 var(--s3)}
.ev-fl label{cursor:pointer;border:1px solid var(--line2);padding:3px 12px;font-size:14px;background:var(--panel2);user-select:none}
.ev-f0:checked~.ev-fl label:nth-child(1),.ev-f1:checked~.ev-fl label:nth-child(2),.ev-f2:checked~.ev-fl label:nth-child(3){background:var(--fg);color:var(--bg);border-color:var(--fg)}
.ev-f:focus-visible~.ev-fl{outline:2px solid var(--cy);outline-offset:2px}
.ev-f1:checked~.ev-svg .ev-a,.ev-f2:checked~.ev-svg .ev-h{opacity:.1}
.ev-svg .ev-shot{transition:opacity .2s}
.ev-gapnote{margin:0;padding:12px 14px;border:1px dashed var(--line2);border-radius:8px;color:var(--dim);font-size:14px;line-height:1.6;max-width:72ch}


/* chart layer (viz.css), unlinked until 4 Dec */
/* xG Lab visual layer — reference styles for site/visuals (charts, number cards, photos, credits).
   Colours/fonts come from CSS custom properties with fallbacks; the design lane can override any of them. */
.xv{--xv-ink:var(--ink,#14171A);--xv-muted:var(--muted,#5B6470);--xv-line:var(--line,#E4E2DC);
  --xv-bg:var(--card,#FFFFFF);--xv-subject:var(--c-subject,#0072B2);--xv-subject-t:var(--c-subject-t,#005A8C);
  --xv-rival:var(--c-rival,#D55E00);--xv-rival-t:var(--c-rival-t,#A94700);--xv-third:var(--c-third,#009E73);
  --xv-third-t:var(--c-third-t,#00775A);--xv-context:var(--c-context,#A3A8B0);--xv-track:var(--c-track,#EEECE6);
  --xv-neg:var(--div-neg,#005A8C);--xv-pos:var(--div-pos,#A94700);--xv-pitch:var(--pitch-paper,#F1F3EF);
  --xv-pitch-line:var(--pitch-line,#C3C8C0);
  --xv-font:var(--f-body,"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,sans-serif);
  --xv-font-display:var(--f-display,"Readex Pro","IBM Plex Sans Arabic",system-ui,sans-serif);
  --xv-font-num:var(--f-num,"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,sans-serif);
  display:block;width:100%;height:auto;font-family:var(--xv-font)}
.xv text{fill:var(--xv-ink);font-family:var(--xv-font)}
.xv .xv-frame{fill:var(--xv-bg);stroke:none}
.xv .xv-title{font-family:var(--xv-font-display);font-weight:700;fill:var(--xv-ink)}
.xv .xv-sub,.xv .xv-src,.xv .xv-tick,.xv .xv-axlab,.xv .xv-legend{fill:var(--xv-muted)}
.xv .xv-src{font-weight:400}
.xv .xv-num{font-family:var(--xv-font-num);font-variant-numeric:tabular-nums;font-weight:600}
.xv .xv-rule{stroke:var(--xv-line);stroke-width:1}
.xv .xv-axis{stroke:var(--xv-ink);stroke-width:1.2}
.xv .xv-grid{stroke:var(--xv-line);stroke-width:1}
.xv .xv-track{fill:var(--xv-track)}
.xv .xv-bar{fill:var(--xv-context)}
.xv .xv-bar.xv-subject{fill:var(--xv-subject)} .xv .xv-bar.xv-rival{fill:var(--xv-rival)} .xv .xv-bar.xv-third{fill:var(--xv-third)}
.xv .xv-bar.xv-neg{fill:var(--xv-neg)} .xv .xv-bar.xv-pos{fill:var(--xv-pos)}
.xv .xv-label.xv-subject,.xv .xv-val.xv-subject{fill:var(--xv-subject-t);font-weight:700}
.xv .xv-label.xv-rival,.xv .xv-val.xv-rival{fill:var(--xv-rival-t);font-weight:700}
.xv .xv-label.xv-third,.xv .xv-val.xv-third{fill:var(--xv-third-t);font-weight:700}
.xv .xv-label.xv-context{fill:var(--xv-ink)}
.xv .xv-val.xv-neg{fill:var(--xv-neg)} .xv .xv-val.xv-pos{fill:var(--xv-pos)}
.xv .xv-seg{stroke:var(--xv-context);stroke-width:4;stroke-linecap:round}
.xv .xv-seg.xv-pos{stroke:var(--xv-pos)} .xv .xv-seg.xv-neg{stroke:var(--xv-neg)}
.xv .xv-dot-exp{fill:var(--xv-bg);stroke:var(--xv-muted);stroke-width:2.5}
.xv .xv-dot-act{fill:var(--xv-ink)} .xv .xv-dot-act.xv-subject{fill:var(--xv-subject)} .xv .xv-dot-act.xv-rival{fill:var(--xv-rival)}
.xv .xv-mid{stroke:var(--xv-muted);stroke-width:1;stroke-dasharray:3 3}
.xv .xv-line-home{fill:none;stroke:var(--xv-subject);stroke-width:2.5;stroke-linejoin:round}
.xv .xv-line-away{fill:none;stroke:var(--xv-rival);stroke-width:2.5;stroke-linejoin:round}
.xv .xv-home{fill:var(--xv-subject-t);font-weight:700} .xv .xv-away{fill:var(--xv-rival-t);font-weight:700}
.xv .xv-goal{stroke:var(--xv-ink);stroke-width:2}
.xv .xv-goal.xv-h{fill:var(--xv-subject)} .xv .xv-goal.xv-a{fill:var(--xv-rival)}
.xv .xv-call{font-size:11px;font-weight:600}
.xv .xv-pitch{fill:var(--xv-pitch);stroke:var(--xv-pitch-line);stroke-width:1.2}
.xv .xv-pl{fill:none;stroke:var(--xv-pitch-line);stroke-width:1.2}
.xv .xv-shot{fill-opacity:.5;stroke:var(--xv-bg);stroke-width:.8}
.xv .xv-shot.xv-h{fill:var(--xv-subject)} .xv .xv-shot.xv-a{fill:var(--xv-rival)}
.xv .xv-shot.xv-g{fill-opacity:1;stroke:var(--xv-ink);stroke-width:2}
.xv-phone{display:block}.xv-desk{display:none}
@media (min-width:700px){.xv-phone{display:none}.xv-desk{display:block}}
/* ---- component defaults (class hooks; restyle freely) ---- */
.xv-fig{margin:24px 0}
.xv-fig .xv{border:1px solid var(--line,#E4E2DC);border-radius:8px}
.xv-ncard{margin:0;padding:12px 16px;border-top:3px solid var(--ink,#14171A);background:var(--card,#fff)}
.xv-ncard .xv-n{display:block;font-family:var(--f-display,"Readex Pro",sans-serif);font-weight:700;font-size:clamp(40px,9vw,56px);line-height:1.1;font-variant-numeric:tabular-nums}
.xv-ncard.xv-lead{border-top:0;border-inline-start:4px solid var(--c-subject,#0072B2);padding:4px 16px}
.xv-ncard .xv-m{display:block;margin-top:4px;font-size:15px;line-height:1.6}
.xv-s{display:block;margin-top:8px;color:var(--muted,#5B6470);font-size:13px;line-height:1.6}
.xv-ncards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:24px 0}
.xv-ncards-h{grid-column:1/-1;margin:0;font-family:var(--f-display,"Readex Pro",sans-serif);font-weight:700;font-size:20px}
.xv-ncards>.xv-s{grid-column:1/-1}
.xv-ledger ol{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.xv-ledger-item{background:var(--card,#fff);border:1px solid var(--line,#E4E2DC);border-inline-start:3px solid var(--ink,#14171A);border-radius:4px;padding:10px 14px}
.xv-fig-text{display:block;font-weight:600;font-variant-numeric:tabular-nums}
.xv-photo,.xv-image{margin:0}
.xv-photo img,.xv-image img{display:block;width:100%;height:auto;object-fit:cover;background:var(--sunk,#EFEDE7)}
.xv-photo.xv-hero img{aspect-ratio:16/9}
@media (max-width:700px){.xv-photo.xv-hero img{aspect-ratio:4/3}}
.xv-photo figcaption,.xv-image figcaption{margin-top:6px;font-size:13px;line-height:1.6;color:var(--muted,#5B6470)}
.xv-cap{color:var(--ink,#14171A);font-weight:600}
.xv-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.xv-portrait{position:relative;display:inline-flex;align-items:center;justify-content:center;width:120px;aspect-ratio:1;background:var(--brand,#0B3D24);color:#fff;border-radius:8px;overflow:hidden;font-family:var(--f-display,"Readex Pro",sans-serif)}
.xv-portrait .xv-ini{font-weight:700;font-size:42px;line-height:1}
.xv-portrait .xv-shirt{position:absolute;bottom:8px;inset-inline-end:10px;font-weight:700;font-size:15px;color:var(--accent,#C6FF00)}
.xv-credit-list{display:grid;gap:16px;margin:24px 0}
.xv-credit-item{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:start;border:1px solid var(--line,#E4E2DC);border-radius:8px;padding:12px;background:var(--card,#fff)}
.xv-credit-item img{width:160px;height:110px;object-fit:cover;border-radius:4px}
.xv-credit-item h3{margin:0 0 4px;font-size:17px}
.xv-credit-item dl{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:0;font-size:13px}
.xv-credit-item dt{font-weight:600}.xv-credit-item dd{margin:0;overflow-wrap:anywhere;min-width:0}
.xv-used{font-size:13px;margin:8px 0 0}
@media (max-width:560px){.xv-credit-item{grid-template-columns:1fr}.xv-credit-item img{width:100%;height:auto;aspect-ratio:16/9}}
/* league hub header on the light brand */
.ent-mono{display:none}
.ent .facts{display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;padding:0;margin:10px 0 0;font-weight:700}
.ent .facts li{background:#fff;border:1px solid #E6DFD0;border-radius:999px;padding:3px 12px}
