@font-face{font-family:"TFMarkazi";src:url("fonts/MarkaziText-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+200C-200D,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),url("fonts/Vazirmatn-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* Layout: a phone-first matchday app — brand bar, day tabs, league-grouped match rows, and a bottom tab bar for matches, tables, live and my teams. Oranje accent in honour of Dutch total football. */
:root{
  --bg:#f4f5f7; --surface:#ffffff; --surface-2:#f8f9fb; --ink:#111827; --muted:#6b7280; --line:#e5e7eb;
  --oranje:#ef6c00; --oranje-ink:#ffffff; --oranje-soft:#fff1e5;
  --live:#dc2626; --live-soft:#fee2e2; --win:#15803d; --win-soft:#dcfce7; --warn:#b45309; --warn-soft:#fef3c7; --loss:#b91c1c; --loss-soft:#fee2e2;
  --display:"Vazirmatn",Tahoma,sans-serif;
  --body:"Vazirmatn",Tahoma,"Segoe UI",sans-serif;
  --c-epl:#6a2c9c; --c-laliga:#e0482b; --c-seriea:#1a6fd6; --c-bl:#d01c35; --c-l1:#2449a8; --c-ucl:#13306f; --c-ded:#e8540a; --c-ppl:#0b7a3e; --c-wc:#8a1538; --c-unl:#0b3d91; --c-ec:#1b3f9e; --c-tsl:#c8102e; --c-uel:#d45a00; --c-uecl:#0d8a3c;
  --nav-h:62px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0b0f17; --surface:#121826; --surface-2:#0f1520; --ink:#eef1f6; --muted:#8e98aa; --line:#1f2737;
  --oranje:#ff8a2a; --oranje-ink:#1a0d00; --oranje-soft:#2a1a0c;
  --live:#ff5c5c; --live-soft:#3a1616; --win:#4ade80; --win-soft:#12301d; --warn:#fbbf24; --warn-soft:#33270c; --loss:#f87171; --loss-soft:#3a1616;
  --c-epl:#b98bea; --c-laliga:#ff8e70; --c-seriea:#74abff; --c-bl:#ff7086; --c-l1:#91a9ff; --c-ucl:#a6b9ff; --c-ded:#ff9a52; --c-ppl:#4fd28a; --c-wc:#e0718f; --c-unl:#8fb0ff; --c-ec:#8fa9ff; --c-tsl:#ff7b86; --c-uel:#ffa257; --c-uecl:#52dd8c; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0b0f17; --surface:#121826; --surface-2:#0f1520; --ink:#eef1f6; --muted:#8e98aa; --line:#1f2737;
  --oranje:#ff8a2a; --oranje-ink:#1a0d00; --oranje-soft:#2a1a0c;
  --live:#ff5c5c; --live-soft:#3a1616; --win:#4ade80; --win-soft:#12301d; --warn:#fbbf24; --warn-soft:#33270c; --loss:#f87171; --loss-soft:#3a1616;
  --c-epl:#b98bea; --c-laliga:#ff8e70; --c-seriea:#74abff; --c-bl:#ff7086; --c-l1:#91a9ff; --c-ucl:#a6b9ff; --c-ded:#ff9a52; --c-ppl:#4fd28a; --c-wc:#e0718f; --c-unl:#8fb0ff; --c-ec:#8fa9ff; --c-tsl:#ff7b86; --c-uel:#ffa257; --c-uecl:#52dd8c; color-scheme:dark}

*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5;direction:rtl;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-kerning:normal;
  padding-left:max(0px,env(safe-area-inset-left,0px));padding-right:max(0px,env(safe-area-inset-right,0px));
  padding-block:0 calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 16px)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:20;background:var(--surface)}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0}
:focus-visible{outline:2px solid var(--oranje);outline-offset:2px}
.app{max-width:720px;margin:0 auto}
html.fit .app,html.fit nav.tabs .in{max-width:760px}
.gut{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}

/* header */
header.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:inset 0 3px 0 var(--oranje)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-block:10px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.logo{width:42px;height:42px;flex:none;position:relative;filter:drop-shadow(0 3px 8px rgba(224,83,0,.35))}
.logo svg{width:100%;height:100%;display:block}
.wm{display:grid;gap:3px;line-height:1}
.wm span{direction:ltr;text-align:right;font-family:var(--body);font-size:10.5px;font-weight:800;letter-spacing:.24em;color:var(--muted)}
.logo b{position:absolute;bottom:-4px;left:-4px;background:var(--ink);color:var(--surface);font-size:10px;font-weight:900;border-radius:6px;padding:0 4px;line-height:16px}
.brand h1{font-family:var(--display);font-weight:900;font-size:27px;line-height:1;margin:0;color:var(--oranje);white-space:nowrap}
.tools{display:flex;align-items:center;gap:4px}
.icon-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.icon-btn[aria-pressed="true"]{background:var(--oranje-soft);color:var(--oranje)}
.icon-btn svg{width:22px;height:22px}
.panel{padding-bottom:10px;display:grid;gap:8px}
.searchbox{display:flex;align-items:center;gap:8px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:8px 12px}
.searchbox input{flex:1;min-width:0;border:0;background:transparent;outline:none}
.tzrow{display:flex;gap:6px;flex-wrap:wrap}
.tzrow button{border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700;background:var(--surface)}
.tzrow button[aria-pressed="true"]{background:var(--oranje);border-color:var(--oranje);color:var(--oranje-ink)}

/* day tabs */
.days{display:flex;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;position:relative}
.days .ind{position:absolute;left:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--oranje);pointer-events:none;transition:transform .26s cubic-bezier(.2,.8,.3,1),width .26s cubic-bezier(.2,.8,.3,1)}
.days::-webkit-scrollbar{display:none}
.day{flex:none;min-width:86px;padding:10px 12px 9px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;scroll-snap-align:center;white-space:nowrap;display:grid;justify-items:center;line-height:1.3}
.day small{font-size:11px;font-weight:500}
.day[aria-selected="true"]{color:var(--oranje);font-weight:800}
.day .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--live);margin-inline-start:4px;vertical-align:middle}

/* feature card */
.feature{margin-top:12px;border-radius:18px;overflow:hidden;color:#fff;position:relative;
  background:radial-gradient(110% 120% at 100% 0%,rgba(255,255,255,.18),transparent 55%),linear-gradient(135deg,#d65a00,#ef6c00 45%,#1f2a44)}
.feature svg.pitch{position:absolute;inset:0;width:100%;height:100%;opacity:.13;pointer-events:none}
.feature .in{position:relative;padding:14px 16px;display:grid;gap:10px}
.feature .tp{display:flex;justify-content:space-between;font-size:12px;font-weight:700}
.feature .tp span:first-child{background:rgba(0,0,0,.22);border-radius:999px;padding:2px 10px}
.feature .vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;text-align:center}
.feature .side{display:grid;justify-items:center;gap:6px;min-width:0}
.feature .side b{font-weight:900;font-size:clamp(15px,4.2vw,19px);overflow-wrap:anywhere}
.feature .crest{width:54px;height:58px}
.feature .c b{display:block;font-size:26px;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr}
.feature .c small{font-size:12px;opacity:.9}
.feature .cd{display:flex;justify-content:center;align-items:flex-start;gap:6px}
.feature .cd i{font-style:normal;font-weight:900;font-size:18px;line-height:1.6;opacity:.8}
.feature .cd div{background:rgba(0,0,0,.24);border-radius:10px;padding:4px 8px;text-align:center;min-width:54px}
.feature .cd b{display:block;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}
.feature .cd span{font-size:11px;opacity:.9}

/* league blocks */
.list{display:grid;gap:12px;margin-top:12px}
.lg{background:var(--surface);border-block:1px solid var(--line)}
@media (min-width:560px){.lg{border:1px solid var(--line);border-radius:16px;overflow:hidden}}
.lghead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;width:100%;text-align:right}
.lghead .t{display:flex;align-items:center;gap:8px;font-weight:800;font-size:14px}
.lghead .t i{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;color:#fff;font-style:normal;font-size:11px;font-weight:900}
.lghead .go{color:var(--muted);display:flex;align-items:center;gap:2px;font-size:12px}
.lghead .go svg{width:16px;height:16px}

.m{display:grid;grid-template-columns:1fr 92px 1fr;align-items:center;gap:6px;padding:14px 12px;border-top:1px solid var(--line);position:relative}
.m.fav{background:linear-gradient(270deg,var(--oranje-soft),transparent 70%)}
.team{display:flex;align-items:center;gap:8px;min-width:0;font-weight:700;font-size:14.5px}
.team.home{justify-content:flex-start}
.team.away{justify-content:flex-start;flex-direction:row-reverse;text-align:left}
.team span{overflow:hidden;white-space:normal;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:normal;word-break:keep-all}
.team span.long{font-size:.9em}
.team.win span{font-weight:900}
.team.lose span{color:var(--muted);font-weight:600}
.crest{width:34px;height:36px;flex:none;display:block;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.25))}
.center{display:grid;justify-items:center;gap:4px;text-align:center}
.score{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr;letter-spacing:.02em}
.kick{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.pill{font-size:11.5px;font-weight:700;border-radius:999px;padding:1px 10px;background:var(--surface-2);color:var(--muted);border:1px solid var(--line)}
.pill.live{background:var(--live-soft);color:var(--live);border-color:transparent;display:inline-flex;align-items:center;gap:5px}
.pill.live::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--live);animation:pulse 1.4s infinite}
.score.live{color:var(--live)}
.star{position:absolute;top:6px;left:10px;font-size:11px;color:var(--oranje)}
@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 60%,transparent)}70%{box-shadow:0 0 0 6px transparent}100%{box-shadow:0 0 0 0 transparent}}

/* chips */
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-block:12px 2px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px}
.chip i{width:8px;height:8px;border-radius:50%}
.chip[aria-pressed="true"]{background:var(--oranje);border-color:var(--oranje);color:var(--oranje-ink)}

/* tables */
.tblwrap{background:var(--surface);border-block:1px solid var(--line);margin-top:12px;overflow-x:auto}
@media (min-width:560px){.tblwrap{border:1px solid var(--line);border-radius:16px}}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:14px}
th{font-size:12px;color:var(--muted);font-weight:700;padding:10px 6px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}
td{padding:9px 6px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}
tr:last-child td{border-bottom:0}
td.tn{text-align:right;font-weight:700;width:100%}
td.tn div{display:flex;align-items:center;gap:8px}
td.tn .crest{width:24px;height:26px}
td.pts{font-weight:900}
.rk{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;font-weight:800;font-size:12px}
.z-top .rk{background:var(--win-soft);color:var(--win)}
.z-mid .rk{background:var(--warn-soft);color:var(--warn)}
.z-low .rk{background:var(--loss-soft);color:var(--loss)}
.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:10px 14px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:3px}
tr.fav td{background:var(--oranje-soft)}

/* my teams */
.teamgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:12px}
.tbtn{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px 10px;font-weight:700;font-size:14px;text-align:right;min-width:0}
.tbtn span.n{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbtn .crest{width:24px;height:26px}
.tbtn .s{color:var(--line);font-size:18px}
.tbtn[aria-pressed="true"]{border-color:var(--oranje);background:var(--oranje-soft)}
.tbtn[aria-pressed="true"] .s{color:var(--oranje)}
.h2{font-family:var(--display);font-weight:900;font-size:20px;margin:16px 0 0}
.note{color:var(--muted);font-size:13px;margin:4px 0 0}

.empty{margin-top:12px;background:var(--surface);border:1px dashed var(--line);border-radius:16px;padding:26px 16px;text-align:center;color:var(--muted)}
footer{font-size:12px;color:var(--muted);text-align:center;display:grid;gap:3px;margin-top:18px}
footer b{color:var(--ink)}

/* bottom nav */
nav.tabs{position:fixed;inset:auto 0 0;z-index:15;background:var(--surface);border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom,0px);padding-left:max(0px,env(safe-area-inset-left,0px));padding-right:max(0px,env(safe-area-inset-right,0px))}
nav.tabs .in{max-width:720px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);height:var(--nav-h)}
nav.tabs button{display:grid;justify-items:center;align-content:center;gap:2px;font-size:12px;font-weight:700;color:var(--muted);position:relative}
nav.tabs svg{width:24px;height:24px}
nav.tabs button[aria-selected="true"]{color:var(--oranje)}
nav.tabs .badge{position:absolute;top:8px;inset-inline-start:calc(50% + 6px);background:var(--live);color:#fff;font-size:10px;border-radius:999px;padding:0 5px;line-height:16px;min-width:16px}
@media (max-width:380px){.m{grid-template-columns:1fr 78px 1fr;padding:12px 8px}.team{font-size:13.5px}.crest{width:30px;height:32px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important}}

/* standalone extras */
.banner{margin-top:12px;display:flex;align-items:center;gap:10px;background:var(--oranje-soft);border:1px solid var(--oranje);border-radius:14px;padding:10px 12px;font-size:13.5px}
.banner b{color:var(--oranje)}
.banner .grow{flex:1;min-width:0}
.banner button{background:var(--oranje);color:var(--oranje-ink);border-radius:10px;padding:6px 12px;font-weight:800;font-size:13px}
.banner .x{background:none;color:var(--muted);padding:4px 6px}
.msg{margin-top:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;color:var(--muted);text-align:center}
.msg b{color:var(--ink)}
.loading{display:grid;gap:10px;margin-top:12px}
.loading div{height:72px;border-radius:14px;background:linear-gradient(90deg,var(--surface) 0%,var(--surface-2) 50%,var(--surface) 100%);background-size:200% 100%;animation:sh 1.2s infinite}
@keyframes sh{to{background-position:-200% 0}}
@media (max-width:480px){
  table{font-size:13px}
  th,td{padding:8px 3px}
  th:first-child,td:first-child{padding-inline-start:10px}
  th:last-child,td:last-child{padding-inline-end:10px}
  td.tn div{gap:6px}
  td.tn .crest{width:20px;height:22px}
  .rk{width:22px;height:22px}
}

@media (max-width:460px){ th:nth-child(7), td:nth-child(7){display:none} td.tn{max-width:170px} td.tn span{white-space:normal;line-height:1.2;font-size:.95em} }

.plabel{font-size:12px;font-weight:700;color:var(--muted)}
.tzrow button[data-ct]{padding:4px 10px;font-size:12.5px}
.tv{padding:0 14px 8px;font-size:12px;color:var(--muted);line-height:1.7}
.tv bdi{color:var(--ink);font-weight:700}
.tvbox{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding-top:8px;margin:0 0 10px}
.lghead .t em.rd{font-style:normal;font-size:11.5px;font-weight:800;color:var(--oranje);background:var(--oranje-soft);border-radius:999px;padding:2px 9px}

/* ---------- intro (cinematic): a luxury night stadium in red and white, floodlights switch on, phone flashes in the stands,
   the camera pushes in; on the centre spot the ball does a Cruyff turn, then we dive into the ball and land on the oranje logo ---------- */
html.splashing,html.splashing body{overflow:hidden}
#splash,.door{position:fixed;inset:0;z-index:999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;overflow:hidden;
  background:#02040a;color:#fff;transform-origin:100% 50%;backface-visibility:hidden;will-change:transform,opacity;
  transition:transform .85s cubic-bezier(.66,0,.18,1),border-radius .85s ease}
/* leaving the intro: the cover splits in the middle and its two halves slide apart like grand doors, a thread of light along the seam,
   while the app's pieces drop in from the top (a quick skip simply fades) */
#splash.out{opacity:0;transition:opacity .35s ease;pointer-events:none}
.door{pointer-events:none;transition:transform 1s cubic-bezier(.76,0,.2,1);will-change:transform}
.door *{animation-delay:-60s!important;animation-play-state:paused!important}
.door.dl{clip-path:inset(0 50% 0 0)}
.door.dr{clip-path:inset(0 0 0 50%)}
.door.dl.open{transform:translateX(-102%)}
.door.dr.open{transform:translateX(102%)}
.door::after{content:"";position:absolute;top:0;bottom:0;width:34px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.4))}
.door.dl::after{left:calc(50% - 34px)}
.door.dr::after{left:50%;transform:scaleX(-1)}
.seam{position:fixed;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;z-index:1000;pointer-events:none;background:linear-gradient(180deg,transparent,#ffe3a6 18%,#ffd27d 50%,#ffe3a6 82%,transparent);box-shadow:0 0 18px 5px rgba(255,205,120,.65);transition:opacity .4s ease .2s,transform 1s ease}
.seam.open{opacity:0;transform:scaleY(1.35) scaleX(3)}
.sp-scene{position:absolute;inset:0;width:100%;height:100%}
.sp-cam{transform-box:view-box;transform-origin:200px 505px;animation:spCam 3.1s cubic-bezier(.45,0,.2,1) both}
.sp-lights .lt{opacity:.08;animation:spLight .5s ease-out both}
.sp-glow{opacity:0;animation:spIn .9s ease-out .35s forwards}
.sp-beam2{opacity:0;mix-blend-mode:screen;animation:spIn .8s ease-out both}
.sp-led{opacity:.25;animation:spLed 1.2s ease-out .4s forwards}
.sp-scene .fl{opacity:0;animation:spTwinkle .5s ease-out both}
.sp-pball{transform-box:fill-box;transform-origin:50% 50%;animation:spPBall 1.2s cubic-bezier(.3,.7,.3,1) .85s both,spShot .6s cubic-bezier(.2,.6,.35,1) 2.15s forwards}
.sp-trail{stroke-dasharray:150;stroke-dashoffset:150;opacity:0;animation:spTrail .5s ease-out 2.15s forwards}
.sp-pb{transform-box:fill-box;transform-origin:50% 50%;animation:spSpin 1.2s cubic-bezier(.3,.7,.3,1) .85s both,spSpin2 .42s linear 2.15s forwards}
.sp-orange{position:absolute;inset:0;background:radial-gradient(120% 80% at 50% 38%,#ff9a3c 0%,#f07a1a 45%,#d94f00 100%);opacity:0;animation:spIn .35s ease-out 2.8s forwards}
.sp-stage{position:relative;width:190px;height:190px;margin-top:-50px;z-index:1}
.sp-arrows{position:absolute;inset:0;width:100%;height:100%;opacity:0;transform:rotate(-200deg) scale(.55);animation:spArrows .75s cubic-bezier(.2,.9,.25,1.15) 3.05s forwards;filter:drop-shadow(0 2px 4px rgba(0,0,0,.18))}
.sp-ball{position:absolute;left:50%;top:50%;width:90px;height:90px;margin:-45px 0 0 -45px;opacity:0;animation:spPop .45s cubic-bezier(.2,.9,.3,1.2) 2.9s both;filter:drop-shadow(0 3px 6px rgba(0,0,0,.25))}
.sp-ball svg{width:100%;height:100%;display:block}
.sp-shadow{position:absolute;left:50%;top:50%;width:62px;height:12px;margin:42px 0 0 -31px;border-radius:50%;background:rgba(0,0,0,.22);filter:blur(3px);opacity:0;animation:spPop .45s ease-out 2.9s both}
.sp-word{position:relative;z-index:1;text-align:center;opacity:0;transform:translateY(14px);animation:spUp .5s ease-out 3.4s forwards}
.sp-word b{display:block;font-family:var(--display);font-weight:900;font-size:40px;line-height:1.1;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.sp-word span{display:block;direction:ltr;font-weight:800;font-size:13px;letter-spacing:.42em;margin-top:6px;opacity:.92}
@keyframes spCam{0%{transform:scale(1)}66%{transform:scale(1.4)}72%{transform:scale(1.4)}100%{transform:translateY(45px) scale(1.5)}}   /* push in, hold for kick-off, follow the ball up the pitch */
@keyframes spLight{0%{opacity:.08}40%{opacity:1}60%{opacity:.6}100%{opacity:1}}
@keyframes spLed{0%{opacity:.25}30%{opacity:1}45%{opacity:.5}100%{opacity:.95}}
@keyframes spTwinkle{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
@keyframes spIn{to{opacity:1}}
@keyframes spPBall{0%{transform:translateX(160px)}38%{transform:translateX(-26px)}48%{transform:translateX(-38px)}      /* dribble in, shape to shoot… */
  58%{transform:translateX(-30px) translateY(-5px)}70%{transform:translateX(-8px) translateY(-2px)}                          /* …drag it back behind the standing leg, turn */
  86%{transform:translateX(3px)}100%{transform:translateX(0)}}                                                            /* settle exactly on the centre spot */
@keyframes spShot{0%{transform:translate(0,0) scale(1)}100%{transform:translate(4px,-75px) scale(.7)}}  /* whistle → kick-off: the ball is struck up the pitch */
@keyframes spSpin2{from{transform:rotate(-470deg)}to{transform:rotate(-1100deg)}}
@keyframes spTrail{0%{opacity:0;stroke-dashoffset:150}20%{opacity:.7}100%{opacity:0;stroke-dashoffset:0}}
@keyframes spSpin{0%{transform:rotate(0)}52%{transform:rotate(-620deg)}64%{transform:rotate(-590deg)}100%{transform:rotate(-470deg)}}
@keyframes spPop{0%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:scale(1)}}
@keyframes spArrows{to{opacity:1;transform:rotate(0) scale(1)}}
@keyframes spUp{to{opacity:1;transform:none}}

img.crest{object-fit:contain;background:transparent}
.hl{display:inline-flex;align-items:center;gap:3px;margin-top:4px;font-size:11.5px;font-weight:800;color:#fff;background:#e62117;border-radius:999px;padding:2px 10px;text-decoration:none;white-space:nowrap}
.hl:active{opacity:.8}
.hl.busy{opacity:.6;pointer-events:none}
.player{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:16px}
.pl-in{width:100%;max-width:720px;background:#0f1320;border-radius:16px;overflow:hidden;color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.pl-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px}
.pl-top b{font-size:15px}
.pl-x{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.12);font-size:16px}
.pl-v{position:relative;aspect-ratio:16/9;background:#000}
.pl-v iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pl-f{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;font-size:12px;color:#c9cfdd}
.pl-f span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pl-f a{color:#ff9a3c;font-weight:800;white-space:nowrap;text-decoration:none}

/* day pager: the match list can be dragged sideways (vertical scrolling stays with the browser) */
#view{touch-action:pan-y pinch-zoom;min-height:calc((100vh - 200px) / var(--z,1))}
body{touch-action:pan-y pinch-zoom}
html,body{overflow-x:clip}
body{position:relative}
.pg-ghost>:first-child{margin-top:0!important}
.pg-ghost{position:absolute;left:0;z-index:1;pointer-events:none;background:var(--bg)}
#view{position:relative;z-index:2;background:var(--bg)}

/* events */
.evs{display:grid;gap:8px;margin-top:10px}
.ev{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px}
.ev .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:var(--oranje-soft)}
.ev .tx{display:grid;gap:2px;min-width:0}
.ev .tx b{font-size:14.5px;font-weight:800;line-height:1.35}
.ev .tx small{font-size:12px;color:var(--muted);line-height:1.5}
.ev .when{font-size:12px;font-weight:800;color:var(--oranje);background:var(--oranje-soft);border-radius:999px;padding:3px 10px;white-space:nowrap}
.ev.next{border-color:var(--oranje);box-shadow:0 0 0 1px var(--oranje) inset}
.ev.next .when{background:var(--oranje);color:var(--oranje-ink)}

.tv a{color:inherit;text-decoration:underline;text-decoration-color:var(--oranje);text-underline-offset:3px}
.watch{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:11.5px;font-weight:800;color:#fff;background:var(--live);border-radius:999px;padding:2px 10px;text-decoration:none;white-space:nowrap}
.lchip{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px auto 0;width:max-content;max-width:100%;font-size:12.5px;font-weight:800;color:#fff;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:5px 14px;text-decoration:none}
.lchip .dotl{width:7px;height:7px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 0 rgba(255,59,48,.7);animation:pulse 1.4s infinite}
.quiet{margin:10px 0 0;font-size:12.5px;color:var(--muted);text-align:center;line-height:1.7}
.quiet button{color:var(--oranje);font-weight:800;text-decoration:underline;text-underline-offset:3px}

/* league tab bar (tables) — same look and sliding underline as the day bar */
.lgs .day.lg{min-width:auto;padding:13px 14px 12px}
.lgs .day.lg span{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.lgs .day.lg i{width:8px;height:8px;border-radius:50%;flex:none}
.tvbox{margin-top:12px}

/* reminders */
#btn-rem{position:relative}
#btn-rem .bell-dot{position:absolute;top:9px;inset-inline-end:9px;width:8px;height:8px;border-radius:50%;background:var(--oranje);display:none}
#btn-rem.on .bell-dot{display:block}
.rem-note{margin:0;font-size:13px;color:var(--muted);line-height:1.8}
.rem-on{justify-self:start;background:var(--oranje);color:var(--oranje-ink);font-weight:800;border-radius:999px;padding:8px 16px}
.rem-row{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.rem-row input{width:18px;height:18px;accent-color:var(--oranje)}
.rem-row small{color:var(--muted);font-weight:500}
.rem-btns{display:flex;gap:8px;flex-wrap:wrap}
.rem-msg{margin:0;font-size:12.5px;color:var(--oranje);font-weight:700}

/* compact "watch live" chip in the corner of a match row */
.m.has-w{padding-top:30px}
.corner{position:absolute;top:8px;left:10px;display:flex;align-items:center;gap:6px}
.corner .star{position:static}
.wchip{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px 0 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;
  color:var(--live);background:var(--live-soft);border:1px solid color-mix(in srgb,var(--live) 28%,transparent);transition:transform .12s ease,background .15s ease}
.wchip svg{width:9px;height:9px;flex:none}
.wchip:active{transform:scale(.94)}
.wchip:hover{background:color-mix(in srgb,var(--live) 16%,var(--live-soft))}
.wchip.anten{color:#c2185b;background:#fde7f0;border-color:#f6bcd2}
.wchip.tvonly{color:var(--muted);background:var(--surface-2);border-color:var(--line);font-weight:600}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .wchip.anten{color:#ff79ac;background:#3a1626;border-color:#5c2340}}
:root[data-theme="dark"] .wchip.anten{color:#ff79ac;background:#3a1626;border-color:#5c2340}

/* ---------- live button + "where to watch" sheet ---------- */
.m.has-w{padding-top:28px}
.wbtn{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border-radius:50%;cursor:pointer;flex:none;
  color:var(--muted);background:var(--surface-2);border:1px solid var(--line);transition:transform .12s ease,background .15s ease}
.wbtn svg{width:9px;height:9px;margin-inline-start:-1px}
.wbtn.on{color:#fff;background:var(--live);border-color:transparent;animation:pulse 1.6s infinite}
.wbtn:active{transform:scale(.9)}
button.lchip{border:0;cursor:pointer;font:inherit;font-size:12.5px;font-weight:800}
.wsheet{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}
.wsheet[hidden]{display:none}
.wback{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .2s ease}
.wcard{position:relative;width:100%;max-width:520px;max-height:calc(85vh / var(--z,1));overflow:auto;background:var(--surface);color:var(--ink);
  border-radius:22px 22px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.25);
  transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.wsheet.open .wback{opacity:1}
.wsheet.open .wcard{transform:none}
.wgrab{width:38px;height:4px;border-radius:4px;background:var(--line);margin:4px auto 12px}
.whead{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.whead b{font-size:15px}
.wvs{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:14px;flex-wrap:wrap}
.wvs .crest{width:26px;height:28px}
.wvs i{color:var(--muted);font-style:normal}
.wlist{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.wlist a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;text-decoration:none;color:inherit;
  background:var(--surface-2);border:1px solid var(--line);transition:transform .12s ease}
.wlist a:active{transform:scale(.98)}
.wlist a.first{background:var(--live-soft);border-color:color-mix(in srgb,var(--live) 30%,transparent)}
.wlist em{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-style:normal;font-weight:800;font-size:13px;flex:none;
  background:var(--surface);border:1px solid var(--line)}
.wlist a.first em{background:var(--live);color:#fff;border-color:transparent}
.wlist span{display:flex;flex-direction:column;flex:1;min-width:0}
.wlist b{font-size:14.5px}
.wlist small{font-size:12px;color:var(--muted)}
.wlist a > svg{width:12px;height:12px;color:var(--live);flex:none}
.wnote{margin:12px 2px 0;font-size:12px;color:var(--muted);line-height:1.8;text-align:center}
.wclose{display:block;width:100%;margin-top:10px;padding:11px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}

/* ---------- settings drawer (☰) ---------- */
#btn-menu{position:relative}
#btn-menu .bell-dot{position:absolute;top:8px;inset-inline-end:8px;width:8px;height:8px;border-radius:50%;background:var(--oranje);display:none;border:2px solid var(--surface)}
#btn-menu.on .bell-dot{display:block}
.drawer{position:fixed;inset:0;z-index:70}
.dback{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .2s ease}
.dpanel{position:absolute;top:0;bottom:0;left:0;width:min(340px,calc(88vw / var(--z,1)));background:var(--bg);color:var(--ink);overflow-y:auto;
  padding:calc(10px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));box-shadow:10px 0 40px rgba(0,0,0,.25);
  transform:translateX(-100%);transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.drawer.open .dback{opacity:1}
.drawer.open .dpanel{transform:none}
.dhead{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 10px}
.dhead b{font-size:18px;font-weight:900}
.dsec{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-bottom:12px}
.dsec h3{margin:0 0 8px;font-size:12.5px;font-weight:800;color:var(--muted)}
.drow{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14.5px;padding:4px 0;color:inherit;text-decoration:none}
.drow b{font-weight:800}
.drow.link{font-weight:700}
.drow.link svg{width:18px;height:18px;color:var(--muted);flex:none}
.swrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;cursor:pointer}
.swrow span{display:flex;flex-direction:column;min-width:0}
.swrow b{font-size:14.5px;font-weight:800}
.swrow small{font-size:12px;color:var(--muted)}
.swrow input{position:absolute;opacity:0;pointer-events:none}
.sw{position:relative;width:44px;height:26px;border-radius:999px;background:var(--line);flex:none;transition:background .18s ease}
.sw::after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .18s ease}
.swrow input:checked + .sw{background:var(--oranje)}
.swrow input:checked + .sw::after{transform:translateX(-18px)}
.swrow input:focus-visible + .sw{outline:2px solid var(--oranje);outline-offset:2px}
.dsub{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
.dbtn{margin-top:6px;width:100%;padding:9px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);font:inherit;font-size:13.5px;font-weight:700;color:var(--ink);cursor:pointer}
.dnote{margin:0;font-size:13px;color:var(--muted);line-height:1.8}
.seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:4px}
.seg button{border:0;border-radius:9px;padding:8px 4px;font:inherit;font-size:13.5px;font-weight:700;color:var(--muted);background:transparent;cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.dver{text-align:center;font-size:12px;color:var(--muted);margin:16px 0 0}

/* ---------- share sheet ---------- */
.wsheet .wcard{z-index:1}
#ssheet{z-index:80}
button.drow{width:100%;border:0;background:transparent;font:inherit;cursor:pointer;text-align:start}
.shares{display:flex;justify-content:center;gap:24px;margin:16px 0 6px}
.shares a,.shares button{display:flex;flex-direction:column;align-items:center;gap:6px;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink);text-decoration:none;background:none;border:0;cursor:pointer;padding:0}
.shares[hidden],.shares button[hidden]{display:none}
.shares i{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;transition:transform .12s ease}
.shares a:active i,.shares button:active i{transform:scale(.92)}
.shares svg{width:24px;height:24px}
.slink{display:flex;align-items:center;gap:8px;margin-top:14px;padding:6px 6px 6px 6px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.slink span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;padding-inline:8px;text-align:left}
.slink button{flex:none;border:0;border-radius:10px;padding:9px 16px;font:inherit;font-weight:800;font-size:13.5px;background:var(--oranje);color:var(--oranje-ink);cursor:pointer;transition:background .15s ease}
.slink button.ok{background:var(--win);color:#fff}
.sqr{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.sqr .qrsvg{width:176px;height:176px;background:#fff;padding:10px;border-radius:12px}
.sqr small{font-size:12px;color:var(--muted)}

.day small .alt{font-size:9.5px;opacity:.8;margin-inline-start:2px}
.about p{margin:0;font-size:13.5px;line-height:1.95}
.about ul{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.about li{position:relative;padding-inline-start:18px;font-size:12.5px;line-height:1.8;color:var(--muted)}
.about li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--win);font-weight:900}

/* ---------- news ---------- */
.news{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:18px}
.nw{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;text-decoration:none;color:inherit;border-top:1px solid var(--line)}
.nw:first-child{border-top:0}
.nw:active{background:var(--surface-2)}
.nw img{width:84px;height:60px;object-fit:cover;border-radius:10px;flex:none;background:var(--surface-2)}
.nw div{display:flex;flex-direction:column;gap:4px;min-width:0}
.nw b{font-size:14.5px;font-weight:700;line-height:1.75}
.nw small{font-size:12px;color:var(--muted)}

.dsec .drow + .drow{border-top:1px solid var(--line);margin-top:4px;padding-top:10px}
#asheet .wcard{text-align:start}
.about-body p{margin:12px 0 0;font-size:14px;line-height:2}
.about-body ul{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.about-body li{position:relative;padding-inline-start:20px;font-size:13.5px;line-height:1.85;color:var(--ink)}
.about-body li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--win);font-weight:900}
.about-body .ver{text-align:center;font-size:12px;color:var(--muted);margin-top:14px}
#asheet{z-index:80}

.ev .tx small + small{margin-top:1px}
.evt{font-weight:800;color:var(--ink)}
.when.on{background:var(--live);color:#fff}

/* live button: clearly visible before kick-off too */
.wbtn{width:26px;height:26px;color:var(--live);background:var(--live-soft);border:1.5px solid color-mix(in srgb,var(--live) 45%,transparent);box-shadow:0 1px 3px color-mix(in srgb,var(--live) 25%,transparent)}
.wbtn svg{width:11px;height:11px}
.wbtn.on{color:#fff;background:var(--live);border-color:var(--live)}
.m.has-w{padding-top:32px}

/* settings: one tidy list, details open inside */
.dlist{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:12px}
.dlist button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border:0;background:transparent;font:inherit;color:var(--ink);cursor:pointer;text-align:start}
.dlist button + button{border-top:1px solid var(--line)}
.dlist button:active{background:var(--surface-2)}
.dlist i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--oranje-soft);color:var(--oranje);flex:none}
.dlist i svg{width:18px;height:18px}
.dlist span{flex:1;font-size:15px;font-weight:700}
.dlist em{font-style:normal;font-size:13px;color:var(--muted);font-weight:600}
.dlist .chev{width:16px;height:16px;color:var(--muted);flex:none}
.dpage .dnote{margin-top:8px}
#d-back svg{width:22px;height:22px}
.dhead{gap:6px}
.dhead b{flex:1}
/* intro: welcome line */
.sp-welcome{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:-4px;opacity:0;transform:translateY(8px);animation:spUp .7s ease-out 4.1s forwards}
.sp-welcome em{font-style:normal;font-weight:600;font-size:16px;letter-spacing:.02em;color:#fff7ec;text-shadow:0 1px 8px rgba(0,0,0,.18)}
.sp-welcome i{display:block;width:34px;height:1.5px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent)}

footer .src{font-size:10.5px;opacity:.7}

/* goals and cards under a match */
.evts{grid-column:1/-1;display:grid;grid-template-columns:1fr 92px 1fr;gap:0 6px;margin-top:6px}
.es{display:flex;flex-direction:column;gap:3px;min-width:0}
.es.h{grid-column:1;align-items:flex-start;padding-inline-start:4px}
.es.a{grid-column:3;align-items:flex-end;padding-inline-end:4px}
.e{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted);max-width:100%;line-height:1.4}
.e b{font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.e em{font-style:normal;font-variant-numeric:tabular-nums;font-size:10.5px}
.e small{font-size:10px}
.eb{font-style:normal;font-size:11px;line-height:1;flex:none}
.e small.og{color:var(--live)}
.ec{width:8px;height:11px;border-radius:1.5px;flex:none;box-shadow:0 0 0 .5px rgba(0,0,0,.2)}
.ec.y{background:#facc15}
.ec.r{background:#dc2626}
.ec.yr{margin-inline-start:-6px;transform:rotate(12deg)}
@media (max-width:380px){.evts{grid-template-columns:1fr 78px 1fr}}

.nw p{margin:0;font-size:12.5px;line-height:1.8;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* small buttons under the score: details + highlights */
.chips{display:flex;gap:5px;justify-content:center;margin-top:4px;flex-wrap:wrap}
.dchip{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:999px;padding:2px 9px;font:inherit;font-size:11px;font-weight:700;cursor:pointer;line-height:1.6}
.dchip b{font-weight:700;color:var(--muted)}
.chips .hl{margin-top:0;font-size:11px;padding:2px 9px;line-height:1.6}
/* match details sheet */
.dhd{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:4px 0 6px}
.dhd .dt{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.dhd .dt .crest{width:40px;height:43px}
.dhd .dt b{font-size:13.5px}
.dsc{display:flex;flex-direction:column;align-items:center;gap:4px}
.dsc > b{font-size:26px;font-weight:900;font-variant-numeric:tabular-nums}
.dsc > b.live{color:var(--live)}
#dsheet h4{margin:16px 0 8px;font-size:13px;color:var(--muted);font-weight:800}
.tl{display:flex;flex-direction:column;gap:6px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.tr{display:flex;align-items:center;gap:8px}
.tr.a{flex-direction:row-reverse}
.tr em{font-style:normal;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:38px;text-align:center}
.tr .e{font-size:13px}
.tr .e b{color:var(--ink);font-weight:700}
.tr.a .e{flex-direction:row-reverse}
.stats{display:flex;flex-direction:column;gap:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px}
.sv{display:flex;justify-content:space-between;align-items:center;font-size:13px}
.sv span{color:var(--muted);font-size:12px}
.sv b{font-weight:800;font-variant-numeric:tabular-nums;min-width:36px}
.sv b:last-child{text-align:left}
.sb{display:flex;gap:4px;margin-top:4px}
.sb i{display:block;height:5px;border-radius:3px;background:var(--oranje)}
.sb i + i{background:var(--muted);opacity:.55}
.dhl{display:flex;justify-content:center;margin-top:14px}
.dhl .hl{font-size:13px;padding:6px 16px}

.m > .chips{grid-column:1/-1;margin-top:8px;gap:8px}
.dchip{display:inline-flex;align-items:center;gap:4px;padding:3px 11px}
.dchip svg{width:12px;height:12px;color:var(--muted)}

/* where-to-watch list: compact rows with channel icons */
#wsheet .wlist{gap:6px;margin-top:12px}
#wsheet .wlist a{padding:8px 12px;border-radius:12px;gap:10px}
#wsheet .wlist img{width:24px;height:24px;border-radius:6px;flex:none;background:#fff;object-fit:contain;padding:2px;box-shadow:0 0 0 1px var(--line)}
#wsheet .wlist b{font-size:13.5px}
#wsheet .wlist small{font-size:11px}
#wsheet .wlist a > svg{width:10px;height:10px}
.wlist .wsep{display:flex;align-items:center;gap:6px;margin:8px 2px 0;font-size:11.5px;font-weight:800;color:var(--muted)}
.wlist .wsep svg{width:13px;height:13px;flex:none}
#wsheet .wnote{margin-top:10px}

#wsheet .wlist a{padding:7px 10px}
.wlist .wgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#wsheet .wlist .wgrid a{padding:7px 8px;gap:8px}
#wsheet .wlist .wgrid b{font-size:12.5px}
#wsheet .wlist .wgrid small{font-size:10.5px}
#wsheet .wlist .wgrid img{width:20px;height:20px}

.wlist .wsep span{display:flex;flex-direction:column;gap:1px}
.wlist .wsep small{font-weight:500;font-size:10.5px}

/* watch sheet, compact */
#wsheet .wcard{padding-top:6px}
#wsheet .whead{gap:5px}
#wsheet .whead b#wtitle{font-size:14px}
#wsheet .wvs{font-size:13px;gap:6px}
#wsheet .wvs .crest{width:22px;height:24px}
#wsheet .wlist{gap:6px;margin-top:10px}
#wsheet .wlist .wgrid{gap:6px}
#wsheet .wlist a{padding:7px 9px;gap:8px;border-radius:11px}
#wsheet .wlist a.first{padding:9px 11px}
#wsheet .wlist img{width:22px;height:22px;padding:1px}
#wsheet .wlist .wgrid img{width:20px;height:20px}
#wsheet .wlist b{font-size:13px}
#wsheet .wlist .wgrid b{font-size:12.5px}
#wsheet .wlist small{font-size:10.5px;line-height:1.5}
#wsheet .wlist .wsep{margin:6px 2px 0;font-size:11.5px}
#wsheet .wlist .wsep small{font-size:10.5px}
#wsheet .wnote{margin-top:8px;font-size:11.5px}
#wsheet .wclose{margin-top:8px;padding:9px}
#wsheet .wlist .wgrid > a:last-child:nth-child(odd){grid-column:1/-1}
#wsheet .wlist a > span{flex:1;min-width:0}
#wsheet .wlist .wplay{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;color:var(--live);background:var(--live-soft);border:1.5px solid color-mix(in srgb,var(--live) 45%,transparent);font-style:normal}
#wsheet .wlist .wplay svg{width:9px;height:9px;margin-inline-start:-1px}
#wsheet .wlist a.first .wplay{width:26px;height:26px;color:#fff;background:var(--live);border-color:var(--live);animation:pulse 1.6s infinite}
#wsheet .wlist a.first .wplay svg{width:11px;height:11px}

/* v69: tappable match rows + highlight pill + richer details sheet */
.m.tap{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s}
.m.tap:active{background:var(--surface-2)}
.m.tap:focus-visible{outline:2px solid var(--oranje);outline-offset:-2px}
.hlp{display:inline-flex;align-items:center;gap:4px;margin-top:2px;padding:3px 9px 3px 8px;border-radius:999px;white-space:nowrap;text-decoration:none;
  font-size:10.5px;font-weight:700;letter-spacing:-.1px;color:#c81e1e;background:color-mix(in srgb,#e62117 9%,transparent);border:1px solid color-mix(in srgb,#e62117 22%,transparent)}
.hlp svg{width:13px;height:13px;flex:none}
.hlp.busy,.dact.busy{opacity:.6}
:root[data-theme="dark"] .hlp{color:#ff8080}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hlp{color:#ff8080}}

#dsheet .wcard{padding-top:6px}
.dhero{position:relative;border-radius:18px;padding:10px 12px 14px;margin-top:6px;color:#fff;overflow:hidden;
  background:radial-gradient(120% 100% at 100% 0%,rgba(255,255,255,.16),transparent 55%),linear-gradient(140deg,#d65a00,#ef6c00 40%,#1f2a44)}
.dtop{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.dlg{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;opacity:.95}
.dlg i{font-style:normal;font-size:9px;font-weight:900;color:#fff;border-radius:5px;padding:1px 4px;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.dhero .dshare{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}
.dhero .dshare svg{width:15px;height:15px}
.dhero .dhd{margin:2px 0 0}
.dhero .dhd .dt b{color:#fff;font-size:13.5px;font-weight:800}
.dhero .dhd .dt .crest{filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.dhero .dsc > b{color:#fff;font-size:30px;letter-spacing:1px}
.dhero .dsc > b.live{color:#fff}
.dhero .dsc .pill{background:rgba(255,255,255,.16);color:#fff;border-color:transparent}
.dhero .dsc .pill.live{background:#fff;color:var(--live)}
.dact{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:7px 14px 7px 13px;border-radius:12px;border:0;cursor:pointer;white-space:nowrap;text-decoration:none;
  font:inherit;font-size:12.5px;font-weight:800;color:#1f2a44;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.dact svg{width:17px;height:17px;color:#e62117;flex:none}
.dact.live svg{color:var(--live)}
.dgoals{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.2);font-size:11.5px}
.dgoals ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.dgoals ul:first-child{text-align:right}
.dgoals ul:last-child{text-align:left}
.dgoals li b{font-weight:700}
.dgoals li em{font-style:normal;opacity:.8;font-variant-numeric:tabular-nums}
.dgoals .gi{font-size:12px;opacity:.9;align-self:start}
#dsheet .dnote{text-align:center;margin:14px 0 0;font-size:12px;color:var(--muted)}
.dinfo{display:flex;flex-direction:column;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:2px 12px}
.dinfo > div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:12.5px}
.dinfo > div + div{border-top:1px solid var(--line)}
.dinfo span{color:var(--muted)}
.dinfo b{font-weight:700;text-align:left}
.dinfo small{color:var(--muted);font-weight:500}
.dbtns{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;margin-top:12px}
.dbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.dbtn svg{width:16px;height:16px;color:var(--oranje)}

/* v70: headline event banner (Ballon d'Or) */
.evh{position:relative;margin-top:12px;border-radius:18px;overflow:hidden;color:#fff;display:grid;grid-template-columns:1fr 112px;align-items:center;gap:6px;padding:14px 14px 14px 8px;
  background:radial-gradient(60% 90% at 12% 55%,rgba(255,196,64,.28),transparent 70%),radial-gradient(120% 80% at 90% 0%,rgba(90,120,200,.25),transparent 60%),linear-gradient(160deg,#0d1530 0%,#141d3b 55%,#2a1d0c 100%);
  box-shadow:0 6px 20px rgba(13,21,48,.25)}
.evh::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(1px 1px at 20% 25%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 55% 15%,#fff 50%,transparent 51%),radial-gradient(1.2px 1.2px at 75% 70%,#ffe9a8 50%,transparent 51%),radial-gradient(1px 1px at 38% 80%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 90% 40%,#fff 50%,transparent 51%)}
.evh::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:linear-gradient(90deg,transparent,#e8b54a,transparent)}
.evtx{position:relative;display:grid;gap:6px;min-width:0}
.evtag{justify-self:start;font-size:11px;font-weight:800;color:#ffd978;background:rgba(255,217,120,.12);border:1px solid rgba(255,217,120,.28);border-radius:999px;padding:1px 10px}
.evh h3{margin:2px 0 0;font-size:clamp(19px,5.6vw,24px);font-weight:900;line-height:1.3;
  background:linear-gradient(180deg,#fff6d6,#ffd36b 55%,#d99a26);-webkit-background-clip:text;background-clip:text;color:transparent}
.evh h3 em{font-style:normal}
.evh p{margin:0;font-size:12px;color:rgba(255,255,255,.75)}
.evh .evcd{display:flex;justify-content:flex-start;align-items:flex-start;gap:5px;margin-top:2px}
.evh .evcd div{background:rgba(255,255,255,.08);border:1px solid rgba(255,217,120,.18);border-radius:10px;padding:3px 6px;text-align:center;min-width:46px}
.evh .evcd b{display:block;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums;color:#fff}
.evh .evcd span{font-size:10px;color:rgba(255,255,255,.7)}
.evh .evcd i{font-style:normal;font-weight:900;font-size:16px;line-height:1.7;color:#ffd978;opacity:.8}
.evlive{display:inline-flex;align-items:center;gap:7px;justify-self:start;font-size:12.5px;font-weight:800;color:#fff;background:rgba(220,38,38,.85);border-radius:999px;padding:3px 12px}
.evlive i{width:7px;height:7px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite}
.evft{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:2px}
.evft span{font-size:12px;font-weight:700;color:#ffe7a6}
.evft button{display:inline-flex;align-items:center;gap:3px;border:0;cursor:pointer;font:inherit;font-size:11.5px;font-weight:800;color:#1b1407;
  background:linear-gradient(180deg,#ffe9a6,#e8b54a);border-radius:999px;padding:4px 10px 4px 8px;box-shadow:0 2px 8px rgba(232,181,74,.35)}
.evft button svg{width:13px;height:13px}
.evart{position:relative;align-self:stretch;display:grid;place-items:center}
.evart svg{width:108px;height:auto;filter:drop-shadow(0 8px 16px rgba(0,0,0,.45))}
@media (max-width:360px){.evh{grid-template-columns:1fr 84px}.evart svg{width:82px}.evh .evcd div{min-width:40px}}
#bsheet .bhd{display:flex;align-items:center;gap:12px;margin-top:6px;padding:10px 12px;border-radius:16px;color:#fff;background:linear-gradient(160deg,#0d1530,#1b2546 60%,#2a1d0c)}
#bsheet .bhd svg{width:54px;height:auto;flex:none}
#bsheet .bhd b{display:block;font-size:16px;font-weight:900;color:#ffd978}
#bsheet .bhd small{font-size:11.5px;color:rgba(255,255,255,.75)}
#bsheet h4{margin:16px 0 8px;font-size:13px;color:var(--muted);font-weight:800}
.bfav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bfav div{display:grid;justify-items:center;gap:1px;text-align:center;padding:9px 4px;border-radius:12px;border:1px solid color-mix(in srgb,#e8b54a 40%,var(--line));background:color-mix(in srgb,#e8b54a 8%,var(--surface))}
.bfav b{font-size:12.5px;font-weight:800}
.bfav small{font-size:10.5px;color:var(--muted)}
.bnoms{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin:0;padding:8px 12px;list-style:none;counter-reset:n;background:var(--surface-2);border:1px solid var(--line);border-radius:14px}
.bnoms li{counter-increment:n;display:flex;gap:6px;align-items:baseline;padding:5px 0;font-size:12.5px;font-weight:600;border-bottom:1px dashed var(--line)}
.bnoms li::before{content:counter(n,persian);min-width:18px;font-size:11px;color:var(--muted);font-weight:700}
.bnoms li:nth-last-child(-n+2){border-bottom:0}

/* v71: news tab segments + small event banner */
.nseg{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:12px 0 10px;padding:4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.nseg button{position:relative;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:800;padding:8px 6px;border-radius:10px;cursor:pointer;line-height:1.4}
.nseg button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08),0 0 0 1px var(--line)}
.nseg button[aria-selected="true"]::after{content:"";position:absolute;inset:auto 30% 3px;height:2px;border-radius:2px;background:var(--oranje)}
.nsegs .ndot,.nseg .ndot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--live);margin-inline-start:5px;vertical-align:middle;animation:pulse 1.6s infinite}
.evm{position:relative;display:grid;grid-template-columns:62px 1fr;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;overflow:hidden;color:#fff;margin-bottom:10px;
  background:radial-gradient(70% 120% at 0% 50%,rgba(255,196,64,.26),transparent 70%),linear-gradient(160deg,#0d1530 0%,#141d3b 60%,#2a1d0c 100%)}
.evm::after{content:"";position:absolute;inset:auto 0 0 0;height:1.5px;background:linear-gradient(90deg,transparent,#e8b54a,transparent)}
.evm .evart svg{width:60px}
.evm .evtx{gap:2px}
.evm .evtx > b{font-size:15px;font-weight:900;background:linear-gradient(180deg,#fff6d6,#ffd36b 55%,#d99a26);-webkit-background-clip:text;background-clip:text;color:transparent}
.evm .evtx > small{font-size:11px;color:rgba(255,255,255,.75)}
.evmft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;flex-wrap:wrap}
.evmcd{display:inline-flex;align-items:center;gap:2px;font-variant-numeric:tabular-nums;background:rgba(255,255,255,.08);border:1px solid rgba(255,217,120,.2);border-radius:8px;padding:2px 8px}
.evmcd b{font-size:14px;font-weight:900;color:#fff}
.evmcd i{font-style:normal;font-weight:900;color:#ffd978;opacity:.8}
.evm .evlive{font-size:11.5px;padding:2px 10px}
.evmft button{display:inline-flex;align-items:center;gap:3px;border:0;cursor:pointer;font:inherit;font-size:11px;font-weight:800;color:#1b1407;background:linear-gradient(180deg,#ffe9a6,#e8b54a);border-radius:999px;padding:3px 9px 3px 7px}
.evmft button svg{width:12px;height:12px}
.sup-t{margin:0 0 12px;font-size:14px;line-height:1.8}
.sup-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:14px;background:var(--oranje);color:#fff;font-weight:800;font-size:14.5px;text-decoration:none;margin-bottom:12px}
.sup-btn svg{width:20px;height:20px}
/* v74: news segments live in the header (swipeable like the day tabs) */
.nsp{height:2px}
.days.nsegs{display:grid;grid-template-columns:1fr 1fr;gap:4px;overflow:hidden;margin:6px 12px 10px;padding:4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);scroll-snap-type:none}
.nsegs .day{position:relative;z-index:1;min-width:0;border:0;background:transparent;padding:8px 6px;font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);border-radius:10px;cursor:pointer;white-space:normal;text-align:center;display:block}
.nsegs .day[aria-selected="true"]{color:var(--ink);font-weight:800}
.days.nsegs .ind{top:4px;bottom:4px;height:auto;border-radius:10px;background:var(--surface);box-shadow:0 1px 4px rgba(0,0,0,.08),0 0 0 1px var(--line);z-index:0}
.days.nsegs .ind::after{content:"";position:absolute;inset:auto 30% 3px;height:2px;border-radius:2px;background:var(--oranje)}
/* v77: compact featured match card (about half the old height) */
.feature .in{padding:9px 12px 10px;gap:6px}
.feature .tp{font-size:11px}
.feature .tp span:first-child{padding:1px 9px}
.feature .vs{gap:6px}
.feature .side{gap:3px}
.feature .side b{font-size:clamp(13px,3.7vw,15.5px);line-height:1.35}
.feature .crest{width:36px;height:39px}
.feature .c b{font-size:21px;line-height:1.2}
.feature .c small{font-size:10.5px}
.feature .fbot{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.feature .cd{gap:3px;align-items:center}
.feature .cd div{display:flex;align-items:baseline;gap:3px;min-width:0;padding:2px 7px;border-radius:8px}
.feature .cd b{display:inline;font-size:14px}
.feature .cd span{font-size:9.5px}
.feature .cd i{font-size:13px;line-height:1}
.feature .lchip{margin:0;padding:3px 11px;font-size:11.5px}
/* v79: channels confirmed for this match + "where to watch" search */
#wsheet .wlist a.ok{border-color:color-mix(in srgb,var(--win) 55%,var(--line));background:color-mix(in srgb,var(--win) 7%,var(--surface))}
#wsheet .wlist a.ok.first{background:color-mix(in srgb,var(--win) 10%,var(--surface))}
#wsheet .wlist small.wok{color:var(--win);font-weight:800}
#wsheet .wlist .wgg a{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:11px;border:1px dashed var(--line);background:transparent;color:var(--ink);text-decoration:none}
#wsheet .wlist .wgg svg{width:18px;height:18px;flex:none;color:var(--oranje)}
#wsheet .wlist .wgg b,#wsheet .wlist .wgg span{font-size:12.5px;font-weight:700;display:flex;flex-direction:column}
#wsheet .wlist .wgg small{font-weight:500;color:var(--muted)}
/* v81: official league logos (code badge as fallback) */
.lgm{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;background:#fff;box-shadow:0 0 0 1px var(--line);font-style:normal;overflow:hidden}
.lgm img{width:19px;height:19px;object-fit:contain}
.lgm.nol{background:var(--lc);box-shadow:none}
.lgm.nol::before{content:attr(data-ab);color:#fff;font-size:10.5px;font-weight:900}
.lgm.sm{width:18px;height:18px;border-radius:5px}
.lgm.sm img{width:14px;height:14px}
.lgm.sm.nol::before{font-size:8px}
.lghead .t .lgm{width:24px;height:24px}
.dlg .lgm{padding:0;width:20px;height:20px;border-radius:6px;box-shadow:0 0 0 1px rgba(255,255,255,.4)}
.dlg .lgm img{width:16px;height:16px}
.dlg .lgm.nol::before{font-size:8.5px}
.lgs .day.lg .lgm{width:18px;height:18px;border-radius:5px}
.sup-lbl{margin-top:4px;font-size:12.5px;color:var(--muted);font-weight:700}
.slink.sup-link{margin-top:6px}
.slink.sup-link span{font-size:13px;padding-inline:6px}
.slink.sup-link button{padding:8px 14px;font-size:13px}
.slink.sup-link span{font-size:12px;letter-spacing:-.15px;padding-inline:4px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.slink.sup-link button{padding:7px 12px}
.slink.sup-link span{font-size:11.5px;white-space:nowrap;overflow-wrap:normal;letter-spacing:-.2px;padding-inline:2px}
.slink.sup-link button{padding:7px 9px;font-size:12px;min-width:56px}
/* v86: live button on the event banner */
.evft button.evw,.evmft button.evw{background:#fff;color:#c81e1e;box-shadow:0 2px 8px rgba(0,0,0,.25);gap:6px}
.evw .dotl{width:7px;height:7px;border-radius:50%;background:#e62117;animation:pulse 1.4s infinite}
.evft{gap:6px}
.evh .evw-top{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;border:0;cursor:pointer;font:inherit;font-size:10.5px;font-weight:800;color:#c81e1e;background:#fff;border-radius:999px;padding:3px 9px 3px 8px;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.evh .evw-top .dotl{width:6px;height:6px}
.evmft button.evw{font-size:10.5px;padding:2px 8px}
/* v98: Ballon d'Or winners card (compact) */
.wcard-gold{position:relative;margin-top:12px;border-radius:18px;overflow:hidden;color:#fff;display:flex;align-items:center;gap:12px;padding:12px 14px 12px 12px;
  background:radial-gradient(60% 120% at 100% 0%,rgba(255,206,92,.28),transparent 70%),linear-gradient(160deg,#141c38 0%,#0d1430 60%,#2b1e08 100%);box-shadow:0 6px 18px rgba(13,21,48,.25)}
.wcard-gold::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:linear-gradient(90deg,transparent,#e8b54a,transparent)}
.wg-ball{flex:none;width:58px;perspective:300px}
.wg-ball svg{display:block;width:100%;height:auto;animation:wgSpin 7s linear infinite;transform-origin:50% 40%;filter:drop-shadow(0 4px 10px rgba(255,200,80,.25))}
@keyframes wgSpin{to{transform:rotateY(360deg)}}
.wg-in{min-width:0;flex:1;display:grid;gap:3px}
.wg-tag{justify-self:start;font-size:10.5px;font-weight:800;color:#ffd978;letter-spacing:.2px}
.wg-men{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.wg-men small,.wg-wom small{font-size:10.5px;color:rgba(255,231,166,.8);font-weight:700}
.wcard-gold h3{margin:0;font-size:21px;font-weight:900;line-height:1.25;background:linear-gradient(180deg,#fff7d9,#ffd36b 55%,#d99a26);-webkit-background-clip:text;background-clip:text;color:transparent}
.wg-men i,.wg-wom i{font-style:normal;font-size:11px;color:rgba(255,255,255,.68)}
.wg-wom{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:13.5px}
.wg-wom b{font-weight:800;color:#fff3cf}
.wg-tick{position:relative;height:25px;margin-top:3px;border-top:1px solid rgba(255,217,120,.18);padding-top:4px;overflow:hidden}
.wg-ti{position:absolute;inset:4px 0 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px;opacity:0;transform:translateY(10px);transition:opacity .45s,transform .45s}
.wg-ti.on{opacity:1;transform:none}
.wg-tl{color:#ffd978;font-weight:700}
.wg-ti b{font-weight:700;color:#fff}
.wcard-gold.mini{margin:0 0 10px}
@media (prefers-reduced-motion:reduce){.wg-ball svg{animation:none}.wg-ti{transition:none}}
/* v92: help for viewers abroad */
/* v101: league header — rights holder in brackets, no "table" word */
.lghead .t{min-width:0;flex:1;gap:3px 7px;flex-wrap:wrap}
.lghead .t .lgn{font-weight:800;white-space:nowrap}
.lghead .t .lgm{flex:none}
.lghead .t em.rd{flex:none;font-size:11px;padding:1px 8px}
.lghead .t .bc{white-space:nowrap;font-size:10.5px;font-weight:600;color:var(--muted);letter-spacing:.1px}
.lghead .t .bc bdi{font-family:var(--body)}
.lghead[role=button]{cursor:pointer}
.lghead .bc a.bcl{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor;padding:2px 0}
.lghead .bc a.bcl:active{color:var(--oranje)}
/* v104: official broadcasters of the match, Persiana outage note */
#wsheet .woffw{display:contents}
#wsheet .wlist .woff span small{display:block;font-weight:500;font-size:10.5px;color:var(--muted)}
#wsheet .wlist .wpsn span{font-size:11.5px;color:var(--muted);line-height:1.6}
/* v109: compact, refined "live" pill for every watchable match; the dot blinks only when a free live stream is confirmed */
.wpill{display:inline-flex;align-items:center;gap:4px;font:inherit;font-size:9.5px;font-weight:700;line-height:1.45;letter-spacing:.2px;cursor:pointer;white-space:nowrap;
  padding:1px 8px 1px 9px;border-radius:999px;color:color-mix(in srgb,var(--live) 88%,var(--ink));
  background:linear-gradient(180deg,color-mix(in srgb,var(--live) 4%,var(--surface)),color-mix(in srgb,var(--live) 9%,var(--surface)));
  border:.5px solid color-mix(in srgb,var(--live) 40%,transparent);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--live) 5%,transparent),inset 0 1px 0 rgba(255,255,255,.5);transition:transform .15s,box-shadow .2s}
.wpill .wdot{width:5px;height:5px;border-radius:50%;flex:none;background:transparent;border:1.2px solid currentColor;opacity:.6;box-sizing:border-box}
.wpill.live .wdot{background:var(--live);border:0;opacity:1;animation:wblink 1.1s steps(1,end) infinite,wglow 2.2s ease-out infinite}
.wpill.on{color:#fff;background:linear-gradient(180deg,color-mix(in srgb,var(--live) 82%,#fff),var(--live));border-color:transparent;
  box-shadow:0 1px 4px color-mix(in srgb,var(--live) 35%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}
.wpill.on .wdot{border-color:#fff}
.wpill.on.live .wdot{background:#fff}
.wpill:active{transform:scale(.94)}
.lmin{font-size:10px;font-weight:800;color:var(--live);line-height:1;margin:-2px 0 1px;font-variant-numeric:tabular-nums}
#wsheet .wlist small.wnt{display:block;font-size:10px;font-weight:600;color:var(--muted)}
@keyframes wblink{0%{opacity:1}50%{opacity:.15}}
@keyframes wglow{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 55%,transparent)}70%{box-shadow:0 0 0 4px transparent}100%{box-shadow:0 0 0 0 transparent}}
@media (prefers-reduced-motion:reduce){.wpill.live .wdot{animation:none}}
/* v110: big-match poster with the clubs' stars */
.feature.poster{min-height:232px;isolation:isolate;
  background:radial-gradient(90% 85% at 100% 10%,color-mix(in srgb,var(--hc) 55%,transparent),transparent 62%),
             radial-gradient(90% 85% at 0% 10%,color-mix(in srgb,var(--ac) 55%,transparent),transparent 62%),
             linear-gradient(180deg,#121a3c 0%,#0a0f26 70%,#070a1a 100%);
  box-shadow:0 10px 28px rgba(8,12,32,.35),inset 0 0 0 1px rgba(255,214,120,.14)}
.feature.poster::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;z-index:4;background:linear-gradient(90deg,transparent,#e8b54a,transparent)}
.poster .pin::before{content:"";position:absolute;inset:-10px 22%;z-index:-1;background:radial-gradient(closest-side,rgba(7,10,26,.55),transparent);pointer-events:none}
.poster .pbg{position:absolute;inset:0;z-index:0;opacity:.5;pointer-events:none;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.035) 0 2px,transparent 2px 26px),
             radial-gradient(40% 55% at 50% 38%,rgba(255,214,120,.16),transparent 70%)}
.poster .pl{position:absolute;bottom:0;height:84%;width:36%;margin:0;z-index:1;pointer-events:none;isolation:isolate}
.poster .pl.h{right:-5%}
.poster .pl.a{left:-5%}
.poster .plglow{position:absolute;left:50%;bottom:8%;width:120%;height:85%;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--tc) 70%,transparent),transparent);opacity:.55;filter:blur(6px)}
.poster .plw{position:absolute;bottom:0;left:50%;height:100%;transform:translateX(-50%);display:block;line-height:0;isolation:isolate;
  -webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent 97%);mask-image:linear-gradient(to bottom,#000 62%,transparent 97%)}
.poster .pl.h .plw{left:auto;right:0;transform:none}
.poster .pl.a .plw{left:0;transform:none}
.poster .pl img{height:100%;width:auto;display:block;filter:grayscale(.9) contrast(1.15) brightness(1.04)}
.poster .pltint{position:absolute;inset:0;mix-blend-mode:color;opacity:.62;
  background:linear-gradient(180deg,#ffe3a0 0%,color-mix(in srgb,var(--tc) 75%,#d9a43a) 55%,var(--tc) 100%);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
@media (max-width:380px){.poster .pl.h{right:-6%}.poster .pl.a{left:-6%}}
.poster .pl figcaption{display:none}
.poster .pc small{display:block;margin-top:-2px;font-size:10px;font-weight:700;color:#f3cf7a;text-shadow:0 1px 6px rgba(0,0,0,.7);white-space:nowrap}
.poster .pin{position:relative;z-index:3;display:grid;justify-items:center;gap:7px;padding:10px 12px 12px;text-align:center}
.poster .ptp{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:10.5px;font-weight:800}
.poster .pbadge{background:linear-gradient(180deg,#ffe3a0,#d9a43a);color:#2a1d05;border-radius:999px;padding:1px 9px;box-shadow:0 1px 6px rgba(232,181,74,.35)}
.poster .pcomp{display:flex;align-items:center;gap:5px;color:rgba(255,255,255,.88);background:rgba(0,0,0,.28);border-radius:999px;padding:1px 9px 1px 4px}
.poster .pcomp .lgm{width:16px;height:16px}
.poster .pvs{display:flex;align-items:flex-start;justify-content:center;gap:10px;margin-top:4px}
.poster .pc{display:grid;justify-items:center;gap:4px;width:84px}
.poster .pc .crest{width:46px;height:50px;padding:6px;box-sizing:content-box;border-radius:14px;background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 16px rgba(0,0,0,.35);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.poster .pc b{font-size:13px;font-weight:900;line-height:1.3;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.poster .pv{align-self:center;margin-top:-18px;font-style:normal;font-size:11px;font-weight:900;letter-spacing:1px;color:#e8b54a;opacity:.9}
.poster .pt b{display:block;font-size:24px;font-weight:900;line-height:1.1;direction:ltr;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,#fff,#ffe3a0);-webkit-background-clip:text;background-clip:text;color:transparent}
.poster .pt small{font-size:10.5px;color:rgba(255,255,255,.82)}
.poster .fbot{margin-top:2px}
.poster .cd div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.poster .pcred{position:absolute;z-index:5;bottom:6px;left:50%;transform:translateX(-50%);font-size:9px;color:rgba(255,255,255,.55)}
.poster .pcred summary{list-style:none;cursor:pointer;padding:0 6px}
.poster .pcred summary::-webkit-details-marker{display:none}
.poster .pcred[open]>div{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:250px;background:rgba(8,12,30,.95);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;text-align:right;color:#fff}
.poster .pcred ul{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:3px}
.poster .pcred a{color:#ffe3a0}
.poster .pl{overflow:hidden}
.poster .pl.h{-webkit-mask-image:linear-gradient(to left,#000 72%,transparent);mask-image:linear-gradient(to left,#000 72%,transparent)}
.poster .pl.a{-webkit-mask-image:linear-gradient(to right,#000 72%,transparent);mask-image:linear-gradient(to right,#000 72%,transparent)}
@media (max-width:380px){.poster .pl{height:70%;width:33%}}
/* v113: poster — natural-colour stars with a soft club tint, crests kept clear of the players, orange accents of the app */
.feature.poster{background:
  radial-gradient(38% 46% at 50% 40%,rgba(255,122,24,.38),transparent 72%),
  radial-gradient(90% 85% at 100% 10%,color-mix(in srgb,var(--hc) 55%,transparent),transparent 62%),
  radial-gradient(90% 85% at 0% 10%,color-mix(in srgb,var(--ac) 55%,transparent),transparent 62%),
  linear-gradient(180deg,#141b3e 0%,#0b1028 68%,#120c14 100%)}
.feature.poster::after{height:3px;background:linear-gradient(90deg,transparent,#ff7a18 25%,#ffb347 50%,#ff7a18 75%,transparent)}
.poster .pbg{opacity:.7;background:
  linear-gradient(105deg,transparent 44%,rgba(255,140,40,.16) 49.5%,rgba(255,170,80,.22) 50%,rgba(255,140,40,.16) 50.5%,transparent 56%),
  repeating-linear-gradient(115deg,rgba(255,255,255,.03) 0 2px,transparent 2px 26px),
  radial-gradient(40% 55% at 50% 38%,rgba(255,214,120,.14),transparent 70%)}
.poster .pl{height:86%;width:33%}
.poster .pl.h{right:-4%}
.poster .pl.a{left:-4%}
.poster .pl img{filter:saturate(1.08) contrast(1.1) brightness(1.03) drop-shadow(0 0 10px color-mix(in srgb,var(--tc) 65%,transparent))}
.poster .pltint{opacity:.28;mix-blend-mode:soft-light;background:linear-gradient(180deg,#ffd27a 0%,var(--tc) 100%)}
.poster .plglow{opacity:.7;background:radial-gradient(closest-side,color-mix(in srgb,var(--tc) 75%,transparent),color-mix(in srgb,#ff7a18 22%,transparent) 60%,transparent)}
.poster .pvs{gap:6px}
.poster .pc{width:72px}
.poster .pc .crest{width:40px;height:44px;padding:6px}
.poster .pc b{font-size:12.5px}
.poster .pv{color:#ffa34d;margin-top:-16px}
.poster .pbadge{background:linear-gradient(180deg,#ffb066,#ff7a18);color:#fff;box-shadow:0 1px 8px rgba(255,122,24,.45);text-shadow:0 1px 2px rgba(0,0,0,.2)}
.poster .pcred{left:12px;transform:none;bottom:5px}
.poster .pcred[open]>div{left:0;transform:none}
@media (max-width:380px){.poster .pl{height:78%;width:31%}.poster .pl.h{right:-5%}.poster .pl.a{left:-5%}}
/* v114: cinematic face-off — bigger stars, small crests in a narrow centre column that never covers a face */
.feature.poster{min-height:250px;background:
  radial-gradient(26% 40% at 50% 42%,rgba(255,122,24,.5),transparent 72%),
  radial-gradient(80% 90% at 100% 0%,color-mix(in srgb,var(--hc) 62%,transparent),transparent 60%),
  radial-gradient(80% 90% at 0% 0%,color-mix(in srgb,var(--ac) 62%,transparent),transparent 60%),
  linear-gradient(180deg,#10163a 0%,#090d22 65%,#0d0710 100%)}
.poster .pbg{opacity:1;background:
  radial-gradient(120% 100% at 50% 50%,transparent 55%,rgba(0,0,0,.55) 100%),
  linear-gradient(100deg,transparent 46%,rgba(255,150,50,.22) 49.6%,rgba(255,220,150,.55) 50%,rgba(255,150,50,.22) 50.4%,transparent 54%),
  repeating-linear-gradient(115deg,rgba(255,255,255,.025) 0 2px,transparent 2px 24px)}
.poster .pl{height:97%;width:41%}
.poster .pl.h{right:-7%}
.poster .pl.a{left:-7%}
.poster .pl.h{-webkit-mask-image:linear-gradient(to left,#000 66%,transparent);mask-image:linear-gradient(to left,#000 66%,transparent)}
.poster .pl.a{-webkit-mask-image:linear-gradient(to right,#000 66%,transparent);mask-image:linear-gradient(to right,#000 66%,transparent)}
.poster .pl img{filter:saturate(1.12) contrast(1.16) brightness(1.02) drop-shadow(0 0 2px color-mix(in srgb,var(--tc) 90%,#fff)) drop-shadow(0 0 14px color-mix(in srgb,var(--tc) 70%,transparent))}
.poster .pltint{opacity:.32}
.poster .pin{padding:10px 12px 12px;gap:5px}
.poster .pvs,.poster .pt{max-width:34%;min-width:132px}
.poster .pvs{gap:2px;margin-top:10px;align-items:center}
.poster .pc{width:60px;gap:3px}
.poster .pc .crest{width:30px;height:33px;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.poster .pc b{font-size:11px;font-weight:800;line-height:1.25;color:rgba(255,255,255,.92)}
.poster .pv{margin:0 0 14px;font-size:17px;font-weight:900;letter-spacing:.5px;color:#fff;
  text-shadow:0 0 10px #ff7a18,0 0 22px rgba(255,122,24,.8),0 2px 0 #b04a00;font-style:italic}
.poster .pt b{font-size:25px;text-shadow:none}
.poster .pt{margin-top:2px}
@media (max-width:380px){.poster .pl{height:92%;width:40%}.poster .pl.h{right:-9%}.poster .pl.a{left:-9%}.poster .pt b{font-size:22px}}
/* v115: the two labels sit in the centre column too, never over a player's head */
.poster .ptp{width:auto;max-width:44%;min-width:140px;flex-direction:column;justify-content:flex-start;gap:4px}
.poster .pbadge{font-size:10px;padding:1px 10px}
.poster .pcomp{font-size:9.5px;font-weight:700;padding:1px 8px 1px 4px;text-align:center;line-height:1.35;background:rgba(0,0,0,.35)}
.poster .pcomp .lgm{width:14px;height:14px;flex:none}
.poster .pvs{margin-top:4px}
.poster .pl.h .plw,.poster .pl.a .plw{left:50%;right:auto;transform:translateX(-50%)}
.poster .pl.h{-webkit-mask-image:linear-gradient(to left,#000 80%,transparent);mask-image:linear-gradient(to left,#000 80%,transparent)}
.poster .pl.a{-webkit-mask-image:linear-gradient(to right,#000 80%,transparent);mask-image:linear-gradient(to right,#000 80%,transparent)}
/* v118: taller poster with room between every element */
.feature.poster{min-height:318px}
.poster .pin{gap:0;padding:14px 12px 16px;min-height:318px;box-sizing:border-box;align-content:space-between}
.poster .ptp{gap:6px}
.poster .pvs{margin-top:14px}
.poster .pt{margin-top:10px}
.poster .pt small{display:block;margin-top:4px}
.poster .fbot{margin-top:14px;gap:12px}
.poster .pl{height:93%}
@media (max-width:380px){.poster .pl{height:88%}}
/* the head of each star is centred in its frame, whatever the width of the photo */
.poster .pl.h .plw,.poster .pl.a .plw{left:50%;right:auto;transform:translateX(calc(var(--fx,50) * -1%))}
.poster .pl.h{right:-5%}
.poster .pl.a{left:-5%}
/* v121: bigger poster; "big match" label and the competition sit in the two top corners, above the stars' heads */
.feature.poster{min-height:352px;border-radius:20px}
.poster .pin{min-height:352px;padding:12px 12px 14px}
.poster .ptp{width:100%;max-width:none;min-width:0;flex-direction:row;justify-content:space-between;align-items:center;gap:8px}
.poster .pbadge{font-size:10.5px;padding:2px 11px;letter-spacing:.2px}
.poster .pcomp{font-size:10px;font-weight:700;padding:2px 9px 2px 4px;background:rgba(8,12,30,.55);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.poster .pcomp .lgm{width:16px;height:16px}
.poster .pl{height:84%}
.poster .pvs{margin-top:22px}
.poster .pc .crest{width:34px;height:37px}
.poster .pc b{font-size:12px}
.poster .pv{font-size:19px}
.poster .pt b{font-size:28px;letter-spacing:.5px}
.poster .pt small{font-size:11px;opacity:.9}
.poster .fbot{margin-top:18px}
@media (max-width:380px){.feature.poster,.poster .pin{min-height:336px}.poster .pl{height:80%}.poster .pbadge{font-size:10px;padding:2px 9px}.poster .pcomp{font-size:9.5px}}
/* v122: clearer stars — lighter club tint, no extra smoothing */
.poster .pltint{opacity:.16}
.poster .pl img{filter:saturate(1.06) contrast(1.06) drop-shadow(0 0 2px color-mix(in srgb,var(--tc) 85%,#fff)) drop-shadow(0 0 12px color-mix(in srgb,var(--tc) 60%,transparent))}
/* v123: big-match poster without photos — official crests in glowing rings, club colours and the app's orange */
.poster2{min-height:330px}
.poster2 .pin{min-height:330px}
.poster2 .p2wm{position:absolute;top:52%;width:64%;max-width:300px;z-index:0;opacity:.085;pointer-events:none;filter:grayscale(1) brightness(1.9)}
.poster2 .p2wm.h{right:-20%;transform:translateY(-50%) rotate(-12deg)}
.poster2 .p2wm.a{left:-20%;transform:translateY(-50%) rotate(12deg)}
.poster2 .p2vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;width:100%;gap:4px;margin-top:6px}
.poster2 .p2t{display:grid;justify-items:center;gap:10px;min-width:0}
.poster2 .p2ring{width:98px;height:98px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--tc) 50%,rgba(255,255,255,.08)),rgba(10,14,34,.75) 72%);
  box-shadow:0 0 0 1.5px rgba(255,205,120,.65),0 0 0 7px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.45),0 0 34px color-mix(in srgb,var(--tc) 45%,transparent)}
.poster2 .p2ring::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px dashed rgba(255,170,80,.28)}
.poster2 .p2ring .crest{width:62px;height:66px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.55))}
.poster2 .p2t b{font-size:15px;font-weight:900;line-height:1.3;text-align:center;text-shadow:0 2px 10px rgba(0,0,0,.6);overflow-wrap:anywhere}
.poster2 .p2mid{display:grid;justify-items:center;gap:8px;min-width:96px}
.poster2 .pv{margin:0;font-size:24px}
.poster2 .pt{margin:0}
.poster2 .pt b{font-size:30px}
.poster2 .fbot{margin-top:6px}
@media (max-width:380px){.poster2 .p2ring{width:84px;height:84px}.poster2 .p2ring .crest{width:52px;height:56px}.poster2 .p2t b{font-size:13.5px}.poster2 .pt b{font-size:26px}.poster2 .p2mid{min-width:84px}}
/* v124: shorter, wider poster; the "big match" label shimmers */
.feature.poster2{min-height:0;margin-inline:-6px;border-radius:18px}
.poster2 .pin{min-height:0;padding:10px 12px 12px;gap:6px;align-content:start}
.poster2 .p2vs{margin-top:2px}
.poster2 .p2t{gap:6px}
.poster2 .p2ring{width:78px;height:78px}
.poster2 .p2ring::after{inset:-5px}
.poster2 .p2ring .crest{width:48px;height:52px}
.poster2 .p2t b{font-size:14px}
.poster2 .p2mid{gap:4px}
.poster2 .pv{font-size:21px}
.poster2 .pt b{font-size:28px}
.poster2 .fbot{margin-top:4px}
.poster2 .p2wm{width:52%;top:56%}
/* luxury shimmer: a soft light sweeps across the label, with a gentle glow */
.poster .pbadge{position:relative;overflow:hidden;isolation:isolate;animation:pbGlow 2.6s ease-in-out infinite}
.poster .pbadge::after{content:"";position:absolute;inset:-2px auto -2px -60%;width:45%;z-index:1;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-20deg);animation:pbShine 2.6s ease-in-out infinite}
@keyframes pbShine{0%{left:-60%}55%,100%{left:130%}}
@keyframes pbGlow{0%,100%{box-shadow:0 1px 8px rgba(255,122,24,.45)}50%{box-shadow:0 0 16px rgba(255,140,40,.85),0 0 2px rgba(255,220,160,.9)}}
@media (prefers-reduced-motion:reduce){.poster .pbadge,.poster .pbadge::after{animation:none}}
@media (max-width:380px){.feature.poster2{margin-inline:-4px}.poster2 .p2ring{width:70px;height:70px}.poster2 .p2ring .crest{width:42px;height:46px}.poster2 .pt b{font-size:24px}}
/* v125: watermark crests equally clear for every club (thin/red crests like Liverpool were vanishing) */
.poster2 .p2wm{width:60%;top:54%;opacity:var(--wo,.13);filter:grayscale(1) contrast(.55) brightness(var(--wb,1.75));transition:opacity .4s}
.poster2 .p2wm.h{right:-12%}
.poster2 .p2wm.a{left:-12%}
/* v138: "match not started yet" note, centred on screen above the watch sheet */
.wtoast{position:fixed;left:50%;top:50%;z-index:10000;pointer-events:none;width:max-content;max-width:calc((100vw - 40px) / var(--z,1));
  padding:12px 18px;border-radius:16px;background:#16181e;color:#fff;font-size:13.5px;font-weight:700;line-height:1.7;text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.35);border:1px solid rgba(255,140,40,.6);opacity:0;transform:translate(-50%,-50%) scale(.94);transition:opacity .18s,transform .18s}
.wtoast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.wtoast::before{content:"⏱ "}
/* v141: broadcasts sheet — one calm, even design: same play button everywhere, aligned tiles, clear sections */
#wsheet .wcard{padding:6px 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -14px 44px rgba(0,0,0,.22)}
#wsheet .wgrab{width:42px;height:4px;margin:4px auto 10px;opacity:.9}
#wsheet .whead{gap:6px;padding-bottom:12px;border-bottom:1px solid var(--line)}
#wsheet .whead b#wtitle{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:900;color:var(--oranje);letter-spacing:.2px}
#wsheet .whead b#wtitle::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--live);animation:pulse 1.6s infinite}
#wsheet .wvs{font-size:15px;font-weight:900;gap:8px}
#wsheet .wvs .crest{width:26px;height:28px}
#wsheet .whead .pill{font-size:11.5px;padding:3px 12px}
#wsheet .wlist{gap:7px;margin-top:6px}
#wsheet .wlist .wgrid{gap:7px}
/* section titles */
#wsheet .wlist .wsep{margin:12px 2px 2px;gap:8px;align-items:flex-start;font-size:12.5px;font-weight:900;color:var(--ink)}
#wsheet .wlist .wsep svg{width:15px;height:15px;color:var(--oranje);margin-top:2px}
#wsheet .wlist .wsep small{font-size:10.5px;font-weight:500;color:var(--muted);line-height:1.6}
/* every channel tile: same height, same icon box, same play button */
#wsheet .wlist a,#wsheet .wlist a.first{min-height:56px;padding:8px 10px;gap:9px;border-radius:13px;border:1px solid var(--line);
  background:var(--surface);box-shadow:0 1px 2px rgba(15,23,42,.05);transition:transform .12s,box-shadow .15s}
#wsheet .wlist a:active{transform:scale(.985);box-shadow:none}
#wsheet .wlist img,#wsheet .wlist .wgrid img{width:28px;height:28px;border-radius:8px;padding:2px;background:#fff;box-shadow:0 0 0 1px var(--line),0 1px 3px rgba(0,0,0,.08)}
#wsheet .wlist b,#wsheet .wlist .wgrid b{font-size:13px;font-weight:800;line-height:1.45}
#wsheet .wlist small,#wsheet .wlist .wgrid small{font-size:10.5px;line-height:1.55}
#wsheet .wlist .wplay,#wsheet .wlist a.first .wplay{width:26px;height:26px;color:var(--live);background:transparent;
  border:1.5px solid color-mix(in srgb,var(--live) 50%,transparent);animation:none;box-shadow:none}
#wsheet .wlist .wplay svg,#wsheet .wlist a.first .wplay svg{width:9px;height:9px}
/* confirmed for this match: soft green tint and a green edge on the start side */
#wsheet .wlist a.ok,#wsheet .wlist a.ok.first{background:color-mix(in srgb,var(--win) 6%,var(--surface));
  border-color:color-mix(in srgb,var(--win) 38%,var(--line));box-shadow:inset -3px 0 0 var(--win),0 1px 2px rgba(15,23,42,.05)}
#wsheet .wlist a.ok .wplay{background:var(--surface)}
#wsheet .wlist small.wok{font-size:10.5px;font-weight:800}
#wsheet .wlist small.wnt{font-size:10px}
/* helper rows */
#wsheet .wlist .wgg a{min-height:0;border-radius:13px;box-shadow:none}
#wsheet .wnote{margin-top:12px;font-size:11px}
#wsheet .wclose{margin-top:8px;padding:10px;border:0;border-radius:13px;background:var(--surface-2);font-size:13px;box-shadow:inset 0 0 0 1px var(--line)}
/* v142: channels' own logos (Esteqlal TV, IRIB TV3, IRIB Varzesh) fill their icon box */
#wsheet .wlist img.chlogo{padding:0;background:transparent;border-radius:8px}
/* v151: compact broadcasts sheet — every section is a 3-column grid of small cards (logo, name, status), fits about one screen */
#wsheet .wcard{padding:4px 12px calc(12px + env(safe-area-inset-bottom))}
#wsheet .wgrab{margin:4px auto 8px}
#wsheet .whead{gap:4px;padding-bottom:9px}
#wsheet .whead b#wtitle{font-size:11.5px}
#wsheet .wvs{font-size:14px;gap:7px}
#wsheet .wvs .crest{width:22px;height:24px}
#wsheet .whead .pill{font-size:10.5px;padding:2px 10px}
#wsheet .wlist{gap:5px;margin-top:4px}
#wsheet .wlist .wsep{margin:9px 2px 1px;gap:6px;font-size:11.5px;line-height:1.5}
#wsheet .wlist .wsep svg{width:13px;height:13px;margin-top:1px}
#wsheet .wlist .wsep small{font-size:9.5px;line-height:1.5}
#wsheet .wlist .wgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#wsheet .wlist .wgrid > a:last-child:nth-child(odd){grid-column:auto}
#wsheet .wlist .wgrid a,#wsheet .wlist .wgrid a.first{position:relative;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;
  gap:4px;min-height:0;padding:9px 4px 8px;border-radius:12px}
#wsheet .wlist .wgrid a > span{align-items:center;width:100%;gap:1px}
#wsheet .wlist .wgrid img,#wsheet .wlist .wgrid img.chlogo{width:30px;height:30px;border-radius:8px;flex:none}
#wsheet .wlist .wgrid b{font-size:11.5px;line-height:1.35;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wsheet .wlist .wgrid small,#wsheet .wlist .wgrid small.wok,#wsheet .wlist .wgrid small.wnt{font-size:9.5px;line-height:1.45;max-width:100%;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#wsheet .wlist .wgrid .wplay,#wsheet .wlist .wgrid a.first .wplay{position:absolute;top:5px;left:5px;width:18px;height:18px;border-width:1.2px}
#wsheet .wlist .wgrid .wplay svg{width:7px;height:7px}
#wsheet .wlist .wgrid a.ok,#wsheet .wlist .wgrid a.ok.first{box-shadow:inset 0 3px 0 var(--win),0 1px 2px rgba(15,23,42,.05)}
#wsheet .wlist .wgg a{padding:7px 10px;gap:8px}
#wsheet .wlist .wgg b,#wsheet .wlist .wgg span{font-size:11.5px}
#wsheet .wlist .wgg small{font-size:9.5px}
#wsheet .wlist .wgg svg{width:15px;height:15px}
#wsheet .wnote{margin-top:8px;font-size:10px}
#wsheet .wclose{margin-top:6px;padding:8px;font-size:12.5px}
#wsheet .wlist .wgrid a,#wsheet .wlist .wgrid a.first{padding:7px 4px 7px;gap:3px}
#wsheet .wlist .wgrid img,#wsheet .wlist .wgrid img.chlogo{width:28px;height:28px}
#wsheet .wlist .wgrid .wplay,#wsheet .wlist .wgrid a.first .wplay{top:4px;left:4px;width:17px;height:17px}
/* v153: match details — compact hero (league, crests, names, score, highlights); everything else below */
#dsheet .wcard{padding:4px 12px calc(12px + env(safe-area-inset-bottom))}
.dhero{border-radius:16px;padding:9px 10px 11px;margin-top:4px}
.dtop{justify-content:center;margin-bottom:2px}
.dlg{font-size:11px}
.dhero .dhd{gap:6px;margin:0}
.dhero .dhd .dt .crest{width:34px;height:36px}
.dhero .dhd .dt b{font-size:12.5px}
.dhero .dsc{gap:3px}
.dhero .dsc > b{font-size:26px;line-height:1.1}
.dhero .dsc .pill{font-size:10.5px;padding:1px 9px}
.dhero .dact{margin-top:4px;padding:6px 12px;font-size:12px;border-radius:11px}
.dhero .dact svg{width:15px;height:15px}
#dsheet h4{margin:12px 2px 6px;font-size:12px}

#dsheet .tl{gap:4px;padding:8px 10px}
#dsheet .tl .tr .e{font-size:12.5px}
#dsheet .stats .sr{padding:5px 0}
#dsheet .dinfo > div{padding:7px 0;font-size:12px}
#dsheet .stats{gap:8px;padding:10px 12px}
#dsheet .dbtns{margin-top:10px;gap:8px}
#dsheet .dbtn{padding:9px;font-size:12.5px}
#dsheet .wclose{margin-top:8px;padding:9px;font-size:12.5px}
/* v154: events timeline — minute in the centre, home events on the right, away on the left; Persian name + small English */
#dsheet .tl{position:relative;gap:0;padding:6px 6px}
#dsheet .tl::before{content:"";position:absolute;top:12px;bottom:12px;left:50%;width:1px;background:var(--line)}
#dsheet .xr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;min-height:30px}
#dsheet .xr > em{justify-self:center;position:relative;z-index:1;font-style:normal;font-size:10.5px;font-weight:700;line-height:1.5;color:var(--muted);background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:0 6px;min-width:30px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
#dsheet .xr.goal > em{color:var(--ink);border-color:color-mix(in srgb,var(--ink) 22%,var(--line))}
#dsheet .xc{display:flex;align-items:center;gap:6px;min-width:0;padding:3px 4px}
#dsheet .xc.h{flex-direction:row-reverse;justify-content:flex-start;text-align:end}
#dsheet .xc.a{justify-content:flex-start;text-align:start}
#dsheet .xn{min-width:0;font-size:12.5px;line-height:1.35}
#dsheet .xn b{font-weight:700;color:var(--ink)}
#dsheet .xr.goal .xn b{font-weight:800}
#dsheet .xn bdi{font-size:10px;font-weight:500;color:var(--muted);letter-spacing:.1px}
#dsheet .xt{display:block;font-style:normal;font-size:10px;line-height:1.3;color:var(--muted)}
#dsheet .xt.og{color:#e5484d}
#dsheet .xr .eb{font-size:12px}
#dsheet .xr .eb.og{opacity:.75}
#dsheet .xh{position:relative;z-index:1;display:flex;justify-content:center;margin:4px 0}
#dsheet .xh span{font-size:10.5px;color:var(--muted);background:var(--surface-2);border:1px dashed var(--line);border-radius:999px;padding:1px 10px}
#dsheet .xh b{color:var(--ink);font-weight:700;margin-inline-start:4px}
/* v157: support page — one line of text, then the address: send directly or copy */
.sup .sup-t{margin:0 0 12px;font-size:13.5px;line-height:1.85}
.sup .sup-lbl{margin:0 2px 7px;font-size:12px}
.sup .sup-btn{padding:10px;border-radius:12px;font-size:13.5px;margin-bottom:8px}
.sup .sup-btn svg{width:18px;height:18px}
.slink.sup-link{margin-top:0}
/* v158: league tables — card with league header, zone bars, ellipsis names, all columns visible on phones */
.tblwrap.t2{margin:12px 12px 0;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow-x:auto;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 28px -18px rgba(0,0,0,.35)}
.t2{--z-cl:#16a34a;--z-el:#ea7a12;--z-ecl:#0ea5a0;--z-po:#e0a106;--z-rel:#dc2f3c;--z-top:#16a34a;--z-mid:#e0a106;--z-low:#dc2f3c}
.t2 .thd{display:flex;align-items:center;gap:8px;padding:11px 14px 10px;border-bottom:1px solid var(--line)}
.t2 .thd .lgm{flex:none}
.t2 .thd b{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t2 .thd small{margin-inline-start:auto;font-size:11px;color:var(--muted);white-space:nowrap}
.t2 table{width:100%;table-layout:auto;border-collapse:collapse;font-size:12.5px}
.t2 th{font-size:10.5px;font-weight:700;color:var(--muted);padding:7px 1px;background:var(--surface-2);border-bottom:1px solid var(--line);min-width:27px}
.t2 th.tn{text-align:right;padding-inline-start:4px}
.t2 td{padding:0 1px;height:40px;border-bottom:1px solid color-mix(in srgb,var(--line) 75%,transparent);color:var(--ink)}
.t2 th:first-child,.t2 td:first-child{padding-inline-start:10px;padding-inline-end:4px;width:28px}
.t2 th:last-child,.t2 td:last-child{padding-inline-end:10px}
.t2 th:nth-child(7),.t2 td:nth-child(7){display:table-cell}
.t2 td.rkc{position:relative}
.t2 td.rkc::before{content:"";position:absolute;inset-inline-start:0;top:9px;bottom:9px;width:3px;border-radius:3px 0 0 3px;background:var(--zc,transparent)}
.t2 .rk{width:22px;height:22px;border-radius:7px;font-size:11.5px;font-weight:800;color:var(--ink);background:transparent}
.t2 tr[class*="z-"] .rk{color:var(--zc);background:color-mix(in srgb,var(--zc) 14%,transparent)}
.t2 .z-cl{--zc:var(--z-cl)} .t2 .z-el{--zc:var(--z-el)} .t2 .z-ecl{--zc:var(--z-ecl)} .t2 .z-po{--zc:var(--z-po)} .t2 .z-rel{--zc:var(--z-rel)}
.t2 .z-top{--zc:var(--z-top)} .t2 .z-mid{--zc:var(--z-mid)} .t2 .z-low{--zc:var(--z-low)}
.t2 td.tn{max-width:0;width:100%;text-align:right;font-weight:700}
.t2 td.tn div{display:flex;align-items:center;gap:7px;min-width:0}
.t2 td.tn .crest{width:22px;height:24px;flex:none}
.t2 td.tn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:1.3}
.t2 td.gd{font-size:12px;color:var(--muted)}
.t2 td.gd.pos{color:var(--z-cl)} .t2 td.gd.neg{color:var(--z-rel)}
.t2 th:last-child,.t2 td.pts{background:color-mix(in srgb,var(--oranje) 8%,transparent)}
.t2 td.pts{font-weight:900;font-size:13.5px;color:var(--ink)}
.t2 tr.zend td{border-bottom:1px dashed color-mix(in srgb,var(--muted) 55%,transparent)}
.t2 tr:last-child td{border-bottom:0}
.t2 tr.fav td{background:var(--oranje-soft)}
.t2 tr.fav td.tn span{color:var(--oranje)}
.t2 .legend{border-top:1px solid var(--line);padding:10px 14px 4px;gap:7px 14px;font-size:11.5px}
.t2 .legend i{width:8px;height:8px;border-radius:50%;background:var(--zc)}
.t2 .tnote{margin:0;padding:2px 14px 11px;font-size:10.5px;color:var(--muted);line-height:1.6}
.t2 .legend:last-child{padding-bottom:11px}
@media (max-width:370px){ .t2 th{min-width:24px;font-size:10px} .t2 td{font-size:12px} .t2 td.tn span{font-size:12px} .t2 td.tn .crest{width:20px;height:22px} }
.t2 td.tn span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25}
.t2 th{padding:7px 3px}
.t2 td.rkc::before{top:6px;bottom:6px}
@media (max-width:390px){ .tblwrap.t2{margin:10px 8px 0} .t2 th{min-width:23px;padding:7px 2px} .t2 th:first-child,.t2 td:first-child{padding-inline-start:8px;padding-inline-end:2px} .t2 th:last-child,.t2 td:last-child{padding-inline-end:8px} .t2 td.tn div{gap:5px} }
/* legend dots take the zone colour of the table rows */
.t2 .legend span.z-cl{--zc:var(--z-cl)} .t2 .legend span.z-el{--zc:var(--z-el)} .t2 .legend span.z-ecl{--zc:var(--z-ecl)} .t2 .legend span.z-po{--zc:var(--z-po)} .t2 .legend span.z-rel{--zc:var(--z-rel)}
.t2 .legend span.z-top{--zc:var(--z-top)} .t2 .legend span.z-mid{--zc:var(--z-mid)} .t2 .legend span.z-low{--zc:var(--z-low)}
.t2 .legend i{width:9px;height:9px;box-shadow:0 0 0 3px color-mix(in srgb,var(--zc) 18%,transparent)}
/* v160: bottom navigation — football-coloured icons in a soft pill when selected, crisper labels */
nav.tabs{background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);box-shadow:0 -6px 20px -14px rgba(0,0,0,.35)}
nav.tabs button{gap:3px;font:inherit;color:var(--muted);-webkit-tap-highlight-color:transparent}
nav.tabs button[data-tab="matches"]{--ic:#ff8a2a;--ic2:#d94f00}
nav.tabs button[data-tab="live"]{--ic:#e11d2e;--ic2:#b31322}
nav.tabs button[data-tab="tables"]{--ic:#f2b01e;--ic2:#b7791f}
nav.tabs button[data-tab="events"]{--ic:var(--oranje);--ic2:var(--oranje)}
nav.tabs button[data-tab="mine"]{--ic:#f7a21b;--ic2:#d97706}
nav.tabs .ico{position:relative;display:grid;place-items:center;width:54px;height:30px;border-radius:999px;font-style:normal;transition:background-color .2s ease}
nav.tabs svg{width:23px;height:23px;transition:transform .2s ease}
nav.tabs svg .o,nav.tabs svg .s{stroke:currentColor}
nav.tabs svg .f{fill:none;transition:fill .2s ease}
nav.tabs svg .dot{fill:currentColor;stroke:none}
nav.tabs .lbl{font-size:11px;font-weight:600;letter-spacing:-.1px;line-height:1.2}
nav.tabs button[aria-selected="true"] .lbl{color:var(--oranje);font-weight:800}
nav.tabs button[aria-selected="true"] .ico{background:color-mix(in srgb,var(--ic) 15%,transparent)}
nav.tabs button[aria-selected="true"] svg{transform:translateY(-.5px) scale(1.04)}
nav.tabs button[aria-selected="true"] svg .o{fill:var(--ic);stroke:var(--ic2)}
nav.tabs button[aria-selected="true"] svg .s{stroke:var(--ic2)}
nav.tabs button[aria-selected="true"] svg .f:not(.o){fill:var(--ic)}
/* the pitch: green grass, white lines; news: white text lines on the orange page; live: red waves and dot */
nav.tabs button[data-tab="matches"][aria-selected="true"] svg .s{stroke:#fff}
nav.tabs button[data-tab="events"][aria-selected="true"] svg .w{stroke:#fff}
nav.tabs button[data-tab="live"][aria-selected="true"] svg .s,nav.tabs button[data-tab="live"][aria-selected="true"] svg .dot{stroke:var(--ic);fill:var(--ic)}
nav.tabs button[data-tab="live"][aria-selected="true"] svg .s{fill:none}
nav.tabs button[data-tab="live"][data-on] svg .dot{fill:var(--ic);animation:navpulse 1.6s ease-in-out infinite;transform-origin:12px 12px}
@keyframes navpulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.8)}}
nav.tabs .badge{top:-3px;inset-inline-start:auto;inset-inline-end:2px;font-size:9.5px;font-weight:800;line-height:15px;min-width:15px;padding:0 4px;border:2px solid var(--surface);box-sizing:content-box}
/* v170: 12-hour clock (Afghanistan): the part of day sits small under big kick-off times */
.kick .ap{display:block;font-size:11px;font-weight:700;color:var(--muted);line-height:1.25;margin-top:1px}
.feature .c b .ap{display:block;direction:rtl;font-size:12px;font-weight:700;opacity:.8;line-height:1.3}
/* v170: anonymous count of today's users, under the version in the settings menu */
.dusers{display:flex;align-items:center;justify-content:center;gap:7px;margin:6px 0 0;font-size:12px;color:var(--muted)}
.dusers b{color:var(--ink);font-weight:800}
.dusers i{width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px color-mix(in srgb,#16a34a 22%,transparent)}
/* v172: privacy & security page */
.prv .prv-t{margin:0 0 12px;font-size:13.5px;line-height:1.9;font-weight:600}
.prv .prv-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.prv .prv-l li{position:relative;padding-inline-start:26px;font-size:12.5px;line-height:1.8;color:var(--muted)}
.prv .prv-l li::before{content:"";position:absolute;inset-inline-start:0;top:3px;width:18px;height:18px;border-radius:50%;background:color-mix(in srgb,#16a34a 14%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat}
.prv .prv-l li b{display:block;color:var(--ink);font-size:13px;font-weight:800;line-height:1.6}
.prv .prv-s{margin:14px 0 0;padding:11px 12px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);font-size:12.5px;line-height:1.85;font-weight:600}
.prv .prv-h{margin:18px 2px 8px;font-size:12px;font-weight:800;color:var(--muted)}
.prv .prv-st{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.prv .prv-st div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.prv .prv-st b{font-size:20px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--ink)}
.prv .prv-st span{font-size:11.5px;color:var(--muted);font-weight:600}
.prv .prv-n{margin:8px 2px 0;font-size:11px;color:var(--muted);line-height:1.7}
/* Settings: card captions, choice lists (city, calendar), favourite-team search, logo above the version */
.dcap{margin:4px 6px 6px;font-size:12px;font-weight:700;color:var(--muted);opacity:.85}
.dlist + .dcap{margin-top:16px}
.copt{display:flex;flex-direction:column}
.copt button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 2px;border:0;background:transparent;font:inherit;color:var(--ink);cursor:pointer;text-align:start}
.copt button + button{border-top:1px solid var(--line)}
.copt button > span{flex:1;min-width:0;display:flex;flex-direction:column}
.copt button b{font-size:14.5px;font-weight:800}
.copt button small{font-size:12px;color:var(--muted)}
.copt button em{font-style:normal;font-weight:900;color:var(--oranje);visibility:hidden}
.copt button[aria-pressed="true"] em{visibility:visible}
.copt button em.tm{visibility:visible;color:var(--muted);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.copt button[aria-pressed="true"] em.tm{color:var(--oranje)}
.tsr-q{display:block;width:100%;box-sizing:border-box;margin:8px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--ink);font:inherit;font-size:14px}
.tsr-q:focus{outline:2px solid var(--oranje);outline-offset:0;border-color:transparent}
.tsr-row{display:flex;align-items:center;gap:10px;width:100%;padding:6px 2px;border:0;background:transparent;font:inherit;color:var(--ink);cursor:pointer;text-align:start}
.tsr-row .crest{width:22px;height:22px;flex:none}
.tsr-row > span{flex:1;font-size:13.5px;font-weight:700}
.tsr-row b{font-size:17px;color:var(--line)}
.tsr-row[aria-pressed="true"] b{color:var(--oranje)}
.tsr-fav{display:flex;flex-wrap:wrap;gap:6px}
.tsr-fav:not(:empty){margin-top:8px}
.tsr-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 6px 4px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);font:inherit;font-size:12.5px;font-weight:700;color:var(--ink);cursor:pointer}
.tsr-chip .crest{width:18px;height:18px}
.tsr-chip i{font-style:normal;font-size:10px;color:var(--muted)}
/* notifications page: one compact card */
.remc{padding:6px 14px 10px}
.remc .swrow{padding:6px 0}
.remc .dsub{margin-top:2px;padding-top:2px}
.rem-lead{padding:2px 0 8px}
.rem-lead small{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:5px}
/* reminder time: the viewer writes the minutes, or steps them five at a time */
.leadset{display:flex;align-items:center;gap:8px}
.leadpm{width:38px;height:38px;flex:none;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--ink);font:inherit;font-size:19px;font-weight:800;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease,transform .12s ease}
.leadpm:active{transform:scale(.94);background:var(--oranje-soft);color:var(--oranje)}
.leadv{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border-radius:12px;color:var(--oranje);
  background:linear-gradient(180deg,var(--surface),var(--oranje-soft));border:1px solid color-mix(in srgb,var(--oranje) 28%,transparent)}
.leadv:focus-within{border-color:var(--oranje);box-shadow:0 0 0 3px color-mix(in srgb,var(--oranje) 16%,transparent)}
.leadv input{width:2.8em;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:17px;font-weight:900;text-align:center;padding:0;letter-spacing:0;font-variant-numeric:tabular-nums}
.leadv input:focus{outline:0}
.leadv em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--oranje)}
.leadh{margin:8px 2px 0;font-size:12px;color:var(--muted);line-height:1.7}
#set-team{border-top:1px solid var(--line);margin-top:4px;padding-top:2px}
.remc .tsr-q{margin:8px 0 0;padding:8px 11px;font-size:13.5px}
#tsr-res:not(:empty){margin-top:4px}
.rem-test{display:block;margin:10px auto 0;padding:4px 8px;border:0;background:transparent;font:inherit;font-size:12.5px;font-weight:700;color:var(--oranje);cursor:pointer}
/* 🔔 on a coming match, and the chosen teams and matches in Settings → اعلان‌ها */
.m{position:relative}
.m > .star{left:auto;right:10px}
.rbell{position:absolute;left:4px;top:4px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);opacity:.75;cursor:pointer;transition:background .15s ease,color .15s ease,transform .12s ease}
.rbell svg{width:15px;height:15px}
.rbell:active{transform:scale(.9)}
.rbell[aria-pressed="true"]{color:var(--oranje);background:var(--oranje-soft);opacity:1}
.tsr-cap{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:2px}
.tsr-sub{margin:12px 0 2px;font-size:12px;font-weight:700;color:var(--muted)}
.tsr-game{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid var(--line)}
.tsr-game + .tsr-game{margin-top:0}
.tsr-sub + .tsr-game{border-top:0}
.tsr-game span{flex:1;min-width:0;display:flex;flex-direction:column}
.tsr-game b{font-size:13.5px;font-weight:800}
.tsr-game small{font-size:11.5px;color:var(--muted)}
.tsr-game button{width:26px;height:26px;border:0;border-radius:50%;background:var(--surface-2);color:var(--muted);font-size:11px;cursor:pointer}
.tsr-hint:empty{display:none}
.tsr-hint{margin-top:10px;font-size:12.5px}
/* Settings, compact and modern: slim head, captions with an accent bar and a hairline, inset separators */
.dpanel{padding-top:calc(4px + env(safe-area-inset-top))}
.dhead{padding:0 0 4px}
.dhead b{font-size:16.5px}
#dmain .dcap{display:flex;align-items:center;gap:8px;margin:8px 4px 6px;font-size:11.5px;font-weight:800;letter-spacing:.01em;color:var(--muted);opacity:1}
#dmain .dcap::before{content:"";width:3px;height:12px;border-radius:3px;background:linear-gradient(180deg,#ff9a3c,#e05300);flex:none}
#dmain .dcap::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--line))}
#dmain .dlist{border-radius:14px;margin-bottom:6px;box-shadow:0 1px 2px rgba(20,24,40,.04),0 6px 16px -10px rgba(20,24,40,.18)}
#dmain .dlist button{padding:9px 12px;gap:10px}
#dmain .dlist button + button{border-top:0;background:linear-gradient(var(--line),var(--line)) left top/calc(100% - 52px) 1px no-repeat}
#dmain .dlist button:active{background-color:var(--surface-2)}
#dmain .dlist i{width:28px;height:28px;border-radius:8px}
#dmain .dlist i svg{width:16px;height:16px}
#dmain .dlist span{font-size:14px}
#dmain .dlist em{font-size:12px}
#dmain .dlist .chev{width:14px;height:14px}
/* app counts page */
.stp-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stp-t{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 8px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.stp-t i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--oranje-soft);color:var(--oranje);margin-bottom:4px}
.stp-t i svg{width:19px;height:19px}
.stp-t b{font-size:26px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--ink)}
.stp-t span{font-size:12px;font-weight:700;color:var(--muted)}
.stp .dnote{margin-top:12px;text-align:center;font-size:12px}
/* Settings footer: one large touch target at the bottom of the panel (reachable with one hand) that closes Settings */
.dpanel{display:flex;flex-direction:column}
.dpanel > *{flex:none}
.dpanel > #dmain:not([hidden]){flex:1 0 auto;display:flex;flex-direction:column}
.dfoot{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;padding:14px 8px 4px;border:0;background:transparent;font:inherit;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent}
.dfoot img{width:48px;height:48px;border-radius:13px;box-shadow:0 6px 16px -6px rgba(224,83,0,.45),0 0 0 1px rgba(0,0,0,.04);transition:transform .15s ease}
.dfoot:active img{transform:scale(.94)}
.dfoot .dver{margin:6px 0 0;font-size:11.5px;color:var(--muted)}
.dfoot em{font-style:normal;font-size:11px;font-weight:700;color:var(--oranje);opacity:.9}

/* ---- Matches page: each league is a floating card with a warm header band (different from the table card) ---- */
.list > .lg{border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 1px 2px rgba(20,24,40,.04),0 10px 24px -14px rgba(20,24,40,.22)}
.list > .lg .lghead{background:linear-gradient(270deg,color-mix(in srgb,var(--oranje) 10%,var(--surface)),var(--surface) 78%);box-shadow:inset -3px 0 0 var(--oranje);padding:11px 14px}
.list > .lg .lghead + .m{border-top:1px solid color-mix(in srgb,var(--line) 85%,transparent)}
.list > .lg .m + .m{border-top-color:color-mix(in srgb,var(--line) 70%,transparent)}
.list > .lg .m .kick{letter-spacing:.3px}
.days:not(.nsegs):not(.lgs) .day[aria-selected="true"]{background:linear-gradient(180deg,transparent,var(--oranje-soft));border-radius:12px 12px 0 0}
.day{transition:color .2s ease,background .2s ease}
/* ---- News: a magazine feed. The first story is a large cover, the rest are separate soft cards ---- */
.news{background:transparent;border:0;border-radius:0;overflow:visible;gap:10px;margin-top:8px}
.news .nw{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:10px;gap:12px;box-shadow:0 1px 2px rgba(20,24,40,.04),0 10px 24px -16px rgba(20,24,40,.25);transition:transform .15s ease,box-shadow .15s ease}
.news .nw + .nw{border-top:1px solid var(--line)}
.news .nw:active{transform:scale(.99);background:var(--surface)}
.news .nw img{width:96px;height:72px;border-radius:12px}
.news .nw b{font-size:14.5px;font-weight:800;line-height:1.7}
.news .nw small{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--oranje)}
.news .nw:first-child{flex-direction:column;gap:10px;padding:0 0 12px;overflow:hidden}
.news .nw:first-child img{width:100%;height:auto;aspect-ratio:16/9;border-radius:0}
.news .nw:first-child div{padding:0 14px}
.news .nw:first-child b{font-size:16.5px;line-height:1.7}
.news .nw:first-child p{-webkit-line-clamp:3}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .list > .lg,:root:not([data-theme="light"]) .news .nw{box-shadow:0 10px 24px -14px rgba(0,0,0,.6)}}
:root[data-theme="dark"] .list > .lg,:root[data-theme="dark"] .news .nw{box-shadow:0 10px 24px -14px rgba(0,0,0,.6)}

/* ---- Live tab: a calm "on air" look: white card, a thin red top line and a soft red-tinted header (different from the Matches page) ---- */
.list.livelist > .lg{border:1px solid var(--line);border-top:3px solid var(--live);border-radius:18px;box-shadow:0 1px 2px rgba(20,24,40,.04),0 12px 26px -16px color-mix(in srgb,var(--live) 55%,transparent)}
.list.livelist > .lg .lghead{background:linear-gradient(180deg,color-mix(in srgb,var(--live) 8%,var(--surface)),var(--surface));box-shadow:none;cursor:default}
.list.livelist > .lg .lghead::after{content:"● زنده";flex:none;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--live);background:color-mix(in srgb,var(--live) 11%,transparent);border-radius:999px;padding:3px 10px}
.list.livelist > .lg .m .score.live{color:var(--live)}
/* ---- First-launch welcome ---- */
.welcome{position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:18px;background:rgba(8,10,18,.66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .25s ease}
.welcome[hidden]{display:none}
.welcome.open{opacity:1}
.wc-card{width:min(390px,100%);max-height:100%;overflow-y:auto;background:var(--surface);color:var(--ink);border-radius:26px;border:1px solid var(--line);box-shadow:0 30px 60px -20px rgba(0,0,0,.6);transform:translateY(14px) scale(.98);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.welcome.open .wc-card{transform:none}
.wc-top{display:flex;flex-direction:column;align-items:center;gap:3px;padding:22px 18px 18px;text-align:center;color:#fff;background:radial-gradient(120% 140% at 50% 0%,#ffb25e,#e86400 60%,#c24d00)}
.wc-top img{width:56px;height:56px;border-radius:16px;box-shadow:0 0 0 3px rgba(255,255,255,.35),0 10px 22px -8px rgba(0,0,0,.45);margin-bottom:6px}
.wc-top small{font-size:12px;font-weight:700;letter-spacing:.02em;opacity:.92}
.wc-top h2{margin:0;font-size:17px;font-weight:900;line-height:1.6}
.wc-l{list-style:none;margin:0;padding:14px 16px 6px;display:flex;flex-direction:column;gap:12px}
.wc-l li{display:flex;gap:12px;align-items:flex-start}
.wc-l i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--oranje-soft);color:var(--oranje)}
.wc-l i svg{width:19px;height:19px}
.wc-l span{font-size:12.5px;line-height:1.9;color:var(--muted)}
.wc-l b{display:block;font-size:13.5px;font-weight:800;color:var(--ink);line-height:1.6}
.wc-act{display:flex;flex-direction:column;gap:6px;padding:12px 16px 16px}
.wc-go{border:0;border-radius:14px;padding:13px;font:inherit;font-size:15px;font-weight:900;color:#fff;cursor:pointer;background:linear-gradient(135deg,#ff9a3c,#e05300);box-shadow:0 10px 20px -10px rgba(224,83,0,.7),inset 0 1px 0 rgba(255,255,255,.3)}
.wc-go:active{transform:scale(.98)}
.wc-set{border:0;background:transparent;padding:8px;font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer;text-decoration:underline;text-underline-offset:4px}
/* pointer to the Settings button after the welcome */
#btn-menu.hint{position:relative}
#btn-menu.hint::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid var(--oranje);animation:menuPulse 1.3s ease-out infinite;pointer-events:none}
@keyframes menuPulse{0%{transform:scale(.8);opacity:.95}100%{transform:scale(1.55);opacity:0}}
.menutip{position:fixed;z-index:80;max-width:min(260px,calc((100vw - 16px) / var(--z,1)));padding:9px 13px;border-radius:12px;background:#1b2236;color:#fff;font-size:12.5px;font-weight:700;line-height:1.6;box-shadow:0 12px 26px -10px rgba(0,0,0,.55);animation:tipIn .35s cubic-bezier(.2,.8,.2,1);cursor:pointer}
.menutip::before{content:"";position:absolute;top:-5px;left:var(--ax,20px);width:10px;height:10px;background:#1b2236;transform:rotate(45deg);border-radius:2px}
.menutip.out{opacity:0;transition:opacity .25s ease}
@keyframes tipIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ---- After the intro: header, tabs and cards drop in from the top one after another and settle in their usual places ---- */
@keyframes dropIn{0%{opacity:0;transform:translateY(-90px) scale(.96);filter:blur(6px)}55%{opacity:1;transform:translateY(7px) scale(1.004);filter:blur(0)}78%{transform:translateY(-2px)}100%{opacity:1;transform:none;filter:none}}
@keyframes riseIn{from{opacity:0;transform:translateY(46px)}to{opacity:1;transform:none}}
html.revealing header.top{animation:dropIn .8s cubic-bezier(.22,.9,.28,1) .30s both}
html.revealing #view > *,html.revealing #view .list > *,html.revealing #view .news > *{animation:dropIn .8s cubic-bezier(.22,.9,.28,1) both}
html.revealing #view > :nth-child(1){animation-delay:.48s}
html.revealing #view > :nth-child(2){animation-delay:.60s}
html.revealing #view > :nth-child(n+3){animation-delay:.72s}
html.revealing #view .list > :nth-child(1),html.revealing #view .news > :nth-child(1){animation-delay:.62s}
html.revealing #view .list > :nth-child(2),html.revealing #view .news > :nth-child(2){animation-delay:.76s}
html.revealing #view .list > :nth-child(3),html.revealing #view .news > :nth-child(3){animation-delay:.90s}
html.revealing #view .list > :nth-child(4),html.revealing #view .news > :nth-child(4){animation-delay:1.04s}
html.revealing #view .list > :nth-child(n+5),html.revealing #view .news > :nth-child(n+5){animation-delay:1.16s}
html.revealing nav.tabs{animation:riseIn .7s cubic-bezier(.2,.8,.2,1) .9s both}
.nw b em.hot{font-style:normal;font-size:10.5px;font-weight:800;color:#fff;background:var(--live);border-radius:6px;padding:1px 7px;margin-inline-end:6px;vertical-align:middle}
#updated .alt{font-size:.82em;font-weight:600;color:var(--muted)}
/* ---- Pre-match page ---- */
:root{--pv-away:#3b4f86}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--pv-away:#8ea2d8}}
:root[data-theme="dark"]{--pv-away:#8ea2d8}
.pvs{margin-top:16px}
.pvh{display:flex;align-items:center;gap:7px;margin:0 2px 8px;font-size:12.5px;font-weight:800;color:var(--muted)}
.pvh svg{width:15px;height:15px;color:var(--oranje);flex:none}
.pvc,.pvfs,.h2h,.h2s{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.pvc{padding:6px 14px 10px}
.pvth{display:flex;justify-content:space-between;gap:8px;padding:8px 0 6px;border-bottom:1px solid var(--line);font-size:12.5px;font-weight:800}
.pvth span{display:flex;align-items:center;gap:6px;min-width:0}
.pvth .crest{width:20px;height:20px}
.pvr{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:4px 10px;padding:9px 0 3px}
.pvr + .pvr{border-top:1px dashed color-mix(in srgb,var(--line) 80%,transparent)}
.pvr > span{font-size:11.5px;font-weight:700;color:var(--muted);text-align:center}
.pvr > b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink)}
.pvr > b:last-of-type{text-align:left}
.pvr > b.best{color:var(--oranje);font-weight:900}
.pvb{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px}
.pvb > span{display:flex;height:6px;border-radius:4px;background:var(--surface-2);overflow:hidden}
.pvb > span:first-child{justify-content:flex-start}
.pvb > span:last-child{justify-content:flex-end}
.pvb i{display:block;height:100%;border-radius:4px;background:color-mix(in srgb,var(--muted) 55%,transparent)}
.pvb i.on{background:linear-gradient(90deg,#ff9a3c,#e05300)}
.pvfs{display:grid;gap:0;overflow:hidden}
.pvf{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px}
.pvf + .pvf{border-top:1px solid var(--line)}
.pvf > b{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;min-width:0}
.pvf .crest{width:20px;height:20px}
.fms{display:flex;gap:7px}
.fm{display:flex;flex-direction:column;align-items:center;gap:2px}
.fm i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-style:normal;font-size:12px;font-weight:900;color:#fff;background:var(--muted)}
.fm.w i{background:var(--win)}
.fm.l i{background:var(--loss,#dc2626)}
.fm small{font-size:10px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.h2s{padding:12px 14px;margin-bottom:8px}
.h2b{display:flex;gap:3px;height:9px}
.h2b i{display:block;border-radius:5px;min-width:0}
.h2b i.x{background:linear-gradient(90deg,#ff9a3c,#e05300)}
.h2b i.y{background:color-mix(in srgb,var(--muted) 55%,transparent)}
.h2b i.z{background:var(--pv-away)}
.h2b i[style*="flex:0"]{display:none}
.h2n{display:flex;justify-content:space-between;gap:6px;margin-top:9px;font-size:11.5px;font-weight:700;color:var(--muted)}
.h2n span{display:flex;flex-direction:column;align-items:center;gap:1px;flex:1;min-width:0;text-align:center}
.h2n b{font-size:18px;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.h2s p{margin:9px 0 0;padding-top:9px;border-top:1px solid var(--line);font-size:11.5px;color:var(--muted);text-align:center}
.h2h{overflow:hidden}
.h2r{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:5px 10px;padding:10px 14px;font-size:13px}
.h2r + .h2r{border-top:1px solid var(--line)}
.h2r small{grid-column:1/-1;font-size:10.5px;color:var(--muted);font-weight:600;text-align:center}
.h2r .t{min-width:0;font-weight:600;color:var(--muted)}
.h2r .t.win{font-weight:900;color:var(--ink)}
.h2r .t:last-child{text-align:left}
.h2r b{min-width:54px;text-align:center;padding:3px 10px;border-radius:10px;background:var(--surface-2);font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
.pvsk{display:grid;gap:8px;margin-top:16px}
.pvsk i{display:block;height:58px;border-radius:16px;background:linear-gradient(90deg,var(--surface-2),color-mix(in srgb,var(--line) 70%,var(--surface-2)),var(--surface-2));background-size:200% 100%;animation:pvsh 1.2s ease-in-out infinite}
@keyframes pvsh{0%{background-position:100% 0}100%{background-position:-100% 0}}
/* ---- Official line-ups: small, two columns ---- */
.pvnote{margin:12px 2px 0;padding:8px 12px;border-radius:12px;background:var(--surface-2);border:1px dashed var(--line);font-size:11.5px;font-weight:600;color:var(--muted);text-align:center}
.luc{padding:4px 12px 8px}
.luc .pvth{padding:8px 0 6px}
.luc .pvth small{margin-inline-start:2px;font-size:10.5px;font-weight:800;color:var(--oranje);background:var(--oranje-soft);border-radius:999px;padding:1px 7px}
.lur{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:3px 0}
.lur + .lur{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.lu{display:flex;align-items:baseline;gap:5px;min-width:0;font-size:12.5px;line-height:1.7;white-space:nowrap}
.lu em{flex:none;min-width:17px;font-style:normal;font-size:10.5px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center}
.lu b{font-weight:800;overflow:hidden;text-overflow:ellipsis}
.lu bdi{flex:none;font-size:9.5px;font-weight:600;color:var(--muted);letter-spacing:-.1px;max-width:46%;overflow:hidden;text-overflow:ellipsis}
/* ---- Television browsers: ten-foot size and a strong focus ring for the remote ---- */
html.tv :focus-visible{outline:4px solid var(--oranje);outline-offset:3px;border-radius:12px}
html.tv .day:focus-visible,html.tv nav.tabs button:focus-visible{outline-offset:-4px}
/* Footer (last update, delay note, data source): small, and held at the very bottom of every page */
body{padding-block:0 calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 6px)}
.app{display:flex;flex-direction:column;min-height:calc((100vh - var(--nav-h) - env(safe-area-inset-bottom,0px) - 6px) / var(--z,1));min-height:calc((100dvh - var(--nav-h) - env(safe-area-inset-bottom,0px) - 6px) / var(--z,1))}
.app > #view{flex:1 0 auto}
footer{font-size:10.5px;line-height:1.55;gap:0;margin-top:10px;padding-bottom:2px}
footer .src{font-size:9.5px;opacity:.6}
/* Header buttons (search, Settings): soft rounded keys with a fine rim; the Settings key has right-aligned lines like Persian text */
header.top .icon-btn{width:40px;height:40px;border-radius:13px;color:var(--ink);background:linear-gradient(180deg,var(--surface),var(--surface-2));border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(20,24,40,.07),inset 0 1px 0 rgba(255,255,255,.55);transition:transform .15s ease,box-shadow .15s ease,background .2s ease}
header.top .icon-btn:active{transform:scale(.93);box-shadow:inset 0 1px 3px rgba(20,24,40,.15)}
header.top .icon-btn svg{width:21px;height:21px;stroke-width:1.9}
header.top #btn-q[aria-pressed="true"]{background:var(--oranje-soft);border-color:color-mix(in srgb,var(--oranje) 40%,transparent);color:var(--oranje)}
header.top #btn-menu .bell-dot{top:-3px;inset-inline-end:-3px;width:11px;height:11px;border:2px solid var(--surface);background:linear-gradient(135deg,#ffa24a,#e05300);box-shadow:0 0 0 1px color-mix(in srgb,var(--oranje) 35%,transparent),0 2px 6px rgba(224,83,0,.55)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) header.top .icon-btn{box-shadow:0 1px 2px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05)}}
:root[data-theme="dark"] header.top .icon-btn{box-shadow:0 1px 2px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05)}
/* ---- «تیم‌های من»: compact picker ---- */
.mineinfo{display:flex;align-items:center;gap:10px;margin:12px 0 2px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,var(--oranje-soft),var(--surface));border:1px solid color-mix(in srgb,var(--oranje) 22%,var(--line))}
.mineinfo svg{width:22px;height:22px;flex:none;color:var(--oranje)}
.mineinfo span{font-size:12.5px;font-weight:600;line-height:1.8;color:var(--muted)}
.mhead{display:flex;align-items:baseline;justify-content:space-between;margin:16px 2px 6px}
.mhead b{font-size:16px;font-weight:900}
.mhead small{font-size:11.5px;font-weight:700;color:var(--oranje)}
.minechips{display:flex;gap:6px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:none}
.minechips::-webkit-scrollbar{display:none}
.mc{flex:none;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--oranje) 35%,var(--line));background:var(--oranje-soft);font-size:12px;font-weight:800;color:var(--ink)}
.mc .crest{width:18px;height:19px}
.mc i{font-style:normal;font-size:10px;color:var(--muted)}
.minesearch{display:flex;align-items:center;gap:8px;margin:6px 0 2px;padding:0 12px;height:40px;border-radius:13px;border:1px solid var(--line);background:var(--surface);box-shadow:0 1px 2px rgba(20,24,40,.04)}
.minesearch:focus-within{border-color:var(--oranje);box-shadow:0 0 0 3px color-mix(in srgb,var(--oranje) 15%,transparent)}
.minesearch svg{width:18px;height:18px;flex:none;color:var(--muted)}
.minesearch input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:13.5px;color:var(--ink);outline:0}
.tcap{display:flex;align-items:center;gap:8px;margin:14px 2px 7px;font-size:12.5px;font-weight:800}
.tcap::before{content:"";width:3px;height:12px;border-radius:3px;background:linear-gradient(180deg,#ff9a3c,#e05300);flex:none}
.tcap em{margin-inline-start:auto;font-style:normal;font-size:11px;font-weight:700;color:var(--muted)}
.ttgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.tt{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 4px 8px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-weight:700;font-size:11.5px;line-height:1.45;min-width:0;transition:transform .12s ease,border-color .15s ease,background .15s ease}
.tt:active{transform:scale(.96)}
.tt .crest{width:30px;height:32px}
.tt .n{width:100%;min-height:1.45em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center}
.tt .s{position:absolute;top:5px;inset-inline-start:7px;font-style:normal;font-size:13px;color:color-mix(in srgb,var(--line) 90%,var(--muted));transition:color .15s ease,transform .15s ease}
.tt[aria-pressed="true"]{border-color:var(--oranje);background:linear-gradient(180deg,var(--oranje-soft),var(--surface));box-shadow:0 0 0 1px var(--oranje) inset}
.tt[aria-pressed="true"] .s{color:var(--oranje);transform:scale(1.15)}

/* clean header and cards: the status bar is white (theme-color), no orange hairlines; cards rest on a soft shadow only; the app name is dark ink next to the orange icon */
header.top{box-shadow:0 1px 0 var(--line)}
.brand h1{color:var(--ink)}
.list > .lg .lghead{box-shadow:none}
.list > .lg{border-color:transparent;box-shadow:0 1px 3px rgba(20,24,40,.05),0 14px 30px -14px rgba(20,24,40,.26)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .list > .lg{border-color:var(--line)}}
:root[data-theme="dark"] .list > .lg{border-color:var(--line)}
.days:not(.nsegs):not(.lgs) .ind{display:none}
.days:not(.nsegs):not(.lgs) .day[aria-selected="true"]{background:var(--oranje-soft);border-radius:12px}

/* the closing area at the bottom of Settings is the whole empty space under the content (not only the word), on the main page and on every sub-page */
.dpanel > .dpage:not([hidden]){flex:1 0 auto;display:flex;flex-direction:column}
.dfoot{flex:1 1 auto;margin-top:0;justify-content:flex-end;min-height:120px;padding:18px 8px 10px}
.dfoot.dbk img{width:40px;height:40px;border-radius:11px}
.dfoot.dbk em{margin-top:4px}

/* quiet closing hint: small muted text with a thin bar above it; the logo stays only on the main Settings page */
.dfoot em{font-size:10.5px;font-weight:600;color:var(--muted);opacity:.85;letter-spacing:.01em}
.dfoot.dbk{min-height:96px;padding-bottom:16px}
.dfoot.dbk::before{content:"";width:34px;height:3px;border-radius:3px;background:var(--line);margin-bottom:8px}

/* formal Markazi Text letterforms for the Persian app name (the small Latin line keeps its own style) */
.brand h1{font-family:"TFMarkazi",var(--display);font-weight:700;font-size:30px;letter-spacing:0;line-height:1.1}

/* stats page: four tiles, each with a small caption */
.stp-t small{font-size:10.5px;font-weight:600;color:var(--muted);opacity:.85;text-align:center;line-height:1.5}
.stp-t span{text-align:center}

.stp-wide{grid-column:1 / -1}

/* stats page: three equal rows (icon · label + caption · number), same look as the Settings rows */
.stp-grid{grid-template-columns:1fr;gap:8px}
.stp-t,.stp-wide{grid-column:auto;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:0;padding:12px 14px;text-align:start}
.stp-t i{grid-row:1 / span 2;grid-column:1;margin:0}
.stp-t span{grid-row:1;grid-column:2;font-size:14px;font-weight:800;color:var(--ink);text-align:start}
.stp-t small{grid-row:2;grid-column:2;font-size:11.5px;text-align:start}
.stp-t b{grid-row:1 / span 2;grid-column:3;font-size:24px}

/* news: tap-to-refresh bar and the pull-down hint */
.nrf{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:0 0 10px;padding:9px 12px;border-radius:12px;border:1px dashed color-mix(in srgb,var(--oranje) 45%,var(--line));background:var(--oranje-soft);color:var(--oranje);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nrf svg{width:16px;height:16px;flex:none}
.nrf:active{transform:scale(.985)}
.nrf.busy svg{animation:nrfSpin .9s linear infinite}
@keyframes nrfSpin{to{transform:rotate(360deg)}}
.ptr{position:fixed;top:calc(env(safe-area-inset-top,0px) + 74px);left:50%;transform:translate(-50%,-14px);z-index:30;padding:8px 16px;border-radius:999px;background:var(--ink);color:var(--surface);font-size:12.5px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;box-shadow:0 8px 24px -8px rgba(0,0,0,.4)}
.ptr.show{opacity:.96;transform:translate(-50%,0)}

/* quieter refresh bar and hint */
.nrf{width:auto;margin:0 auto 8px;padding:4px 12px;gap:6px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:11px;font-weight:600}
.nrf svg{width:13px;height:13px}
.ptr{padding:6px 12px;font-size:11.5px;font-weight:700}

/* v218: a team that is playing right now — small live badge next to its name in the league tables */
.t2 .tlv{display:inline-flex;align-items:center;gap:4px;flex:none;font-style:normal;font-size:10px;font-weight:800;line-height:1;color:var(--live);background:var(--live-soft);border-radius:999px;padding:3px 7px 3px 6px;white-space:nowrap}
.t2 .tlv i{width:6px;height:6px;border-radius:50%;background:var(--live);animation:pulse 1.6s ease-out infinite}
.t2 tr.lv td{background:color-mix(in srgb,var(--live) 5%,transparent)}
.t2 tr.lv.fav td{background:var(--oranje-soft)}
.t2 .tlvn{display:flex;align-items:center;gap:8px;margin:0;padding:8px 14px;border-top:1px solid var(--line);font-size:10.5px;color:var(--muted);line-height:1.5}
@media (prefers-reduced-motion:reduce){.t2 .tlv i{animation:none}}

/* v220: Persian highlight clip (from the broadcasters' own channels) under the English one */
.dact.fa2{margin-top:4px}
.dact.fa2 svg{color:var(--oranje)}

/* v222: one small box for the satellite / local-TV networks that have no official internet stream */
#wsheet .wlist .wsat{display:block;margin:10px 0 0;padding:9px 9px 9px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);list-style:none}
.wsat .wsh{display:flex;flex-direction:column;gap:1px;margin:0 2px 8px}
.wsat .wsh b{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:var(--ink)}
.wsat .wsh b svg{width:14px;height:14px;flex:none;color:var(--muted)}
.wsat .wsh small{font-size:10.5px;line-height:1.55;color:var(--muted);font-weight:500}
.wsat .wsc{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.wsat .wsc > div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 3px 7px;border-radius:11px;background:var(--surface);border:1px solid var(--line);text-align:center;min-width:0}
.wsat .wsc img{width:30px;height:30px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
.wsat .wsc b{font-size:11.5px;font-weight:800;line-height:1.3}
.wsat .wsc small{font-size:10px;line-height:1.4;color:var(--muted)}
.wsat .wsc .ok{border-color:color-mix(in srgb,var(--win) 50%,var(--line));background:color-mix(in srgb,var(--win) 7%,var(--surface))}
.wsat .wsc .ok small{color:var(--win);font-weight:700}

/* v229: five share buttons (WhatsApp, Telegram, Messenger, Instagram, More) must fit narrow phones */
.shares{gap:clamp(8px,3.2vw,22px)}
.shares i{width:50px;height:50px}
.shares a,.shares button{font-size:12px;min-width:0}

/* v231: tapping an official broadcaster opens a small chooser: official site (watch live / sign up) or the app in the store */
#osheet{z-index:70}
#osheet .whead{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
#osheet .whead .ologo{width:44px;height:44px;border-radius:12px;background:#fff;object-fit:contain;padding:5px;box-shadow:0 0 0 1px var(--line)}
#osheet .whead b{font-size:16px;font-weight:800}
#osheet .whead small{font-size:11.5px;color:var(--muted)}
#osheet .oopts{display:flex;flex-direction:column;gap:8px;margin:14px 0 8px}
#osheet .oopt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--ink);text-decoration:none}
#osheet .oopt:active{transform:scale(.99)}
#osheet .oopt .oic{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--oranje) 12%,transparent);color:var(--oranje);flex:none}
#osheet .oopt .oic svg{width:21px;height:21px}
#osheet .oopt span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#osheet .oopt b{font-size:13.5px;font-weight:800}
#osheet .oopt small{font-size:11px;color:var(--muted)}
#osheet .oopt .oarr{display:grid;place-items:center;color:var(--muted);flex:none;transform:scaleX(-1)}
#osheet .oopt .oarr svg{width:16px;height:16px}

/* v241: several big matches on the same day → the posters take turns (soft cross-fade), one progress dot per match */
.fcar{display:grid;margin-top:12px}
.fcar .fslide{grid-area:1/1;opacity:0;transform:translateX(-14px) scale(.985);pointer-events:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1);min-width:0}
.fcar .fslide.on{opacity:1;transform:none;pointer-events:auto}
.fcar .feature{margin-top:0;height:100%}
.fdots{grid-area:2/1;display:flex;justify-content:center;gap:6px;margin:9px 0 0}
.fdot{position:relative;width:8px;height:8px;padding:0;border:0;border-radius:999px;background:color-mix(in srgb,var(--muted) 38%,transparent);cursor:pointer;overflow:hidden;transition:width .35s cubic-bezier(.2,.8,.2,1);-webkit-tap-highlight-color:transparent}
.fdot::before{content:"";position:absolute;inset:-10px}
.fdot i{position:absolute;inset:0;border-radius:inherit;background:var(--oranje);transform:scaleX(0);transform-origin:left}
.fdot.on{width:26px}
.fdot.on i{animation:fdotfill 6s linear forwards}
@keyframes fdotfill{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.fcar .fslide{transition:none;transform:none}.fdot.on i{animation:none;transform:scaleX(1)}}
.fcar.hold .fdot.on i{animation-play-state:paused}
.fcar .fslide:not(.on){visibility:hidden;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1),visibility 0s .7s}

/* v247: the live badge in the tables — smaller and tucked right after the club name */
.t2 .tlv{font-size:9px;gap:3px;padding:2px 5px 2px 4px;margin-inline-start:-3px;letter-spacing:0}
.t2 .tlv i{width:5px;height:5px}
.t2 .tlvn .tlv{font-size:9px}

/* v248: upcoming events — two lists (clubs / national teams and big tournaments) behind a small segmented switch */
.evk{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:4px 12px 10px;padding:4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.evkb{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:800;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.evkb span{font-size:14px;line-height:1}
.evkb.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 12px -6px rgba(0,0,0,.25)}
.evkb.on span{filter:none}

/* v251: Telewebion Sport — a chooser for its three channels (and the match's own page when the schedule names it) */
#osheet .oopt.hi{border-color:color-mix(in srgb,var(--win) 50%,var(--line));background:color-mix(in srgb,var(--win) 7%,var(--surface-2))}
#osheet .oopt.hi .oic{background:color-mix(in srgb,var(--win) 14%,transparent);color:var(--win)}

/* Today poster (compact, dark navy with a thin gold edge) */
.dpost{margin-top:12px;border-radius:16px;padding:1px;background:linear-gradient(135deg,#f0cf85,#8a6a24 38%,#e9c777 70%,#7a5a1c);box-shadow:0 6px 18px rgba(15,28,61,.22)}
.dpi{border-radius:15px;padding:10px 10px 8px;color:#fff;position:relative;overflow:hidden;background:radial-gradient(120% 90% at 100% 0,rgba(240,207,133,.16),transparent 55%),radial-gradient(90% 70% at 0 100%,rgba(70,110,230,.22),transparent 60%),linear-gradient(165deg,#13244d,#0a1330 62%,#0f1d42)}
.dph{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 2px 8px;border-bottom:1px solid rgba(240,207,133,.22)}
.dph b{display:block;font-size:14px;font-weight:900;line-height:1.3;background:linear-gradient(90deg,#fff3cf,#e8c474);-webkit-background-clip:text;background-clip:text;color:transparent}
.dph small{display:block;font-size:10.5px;color:rgba(255,255,255,.62);margin-top:1px}
.dpsub{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;color:#f3d996;background:rgba(240,207,133,.12);border:1px solid rgba(240,207,133,.28);border-radius:999px;padding:2px 9px;white-space:nowrap}
.dpsub .lgm{width:18px;height:18px;border-radius:5px;box-shadow:none}.dpsub .lgm img{width:14px;height:14px}.dpsub .lgm.nol::after{font-size:8px}

.dpr{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;min-height:34px;padding:3px 2px;border-bottom:1px solid rgba(255,255,255,.07);cursor:pointer;border-radius:8px}
.dpr:last-child{border-bottom:0}
.dpr:active{background:rgba(255,255,255,.07)}
.dpn{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:700}
.dpn.a{flex-direction:row-reverse;justify-content:flex-start}
.dpn em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.dpn.w em{color:#ffe7a8}
.dpc{width:20px;height:21px;flex:none;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.dpt{min-width:58px;text-align:center;font-size:12.5px;font-weight:900;padding:3px 8px;border-radius:999px;color:#1b1203;background:linear-gradient(180deg,#f6dc9c,#d9ac4c);box-shadow:inset 0 1px 0 rgba(255,255,255,.45);font-variant-numeric:tabular-nums;white-space:nowrap}
.dpt.live{color:#fff;background:linear-gradient(180deg,#ef4444,#b91c1c);box-shadow:0 0 0 2px rgba(239,68,68,.25)}
.dpt.done{color:#e8ecf7;background:rgba(255,255,255,.13);box-shadow:none}
.dpt .ap{display:inline;font-size:9px;font-weight:700;margin-inline-start:3px;opacity:.8}
.ev.hasdp{display:block;padding:6px;overflow:visible}
.dpmini{margin:0;box-shadow:0 4px 14px rgba(15,28,61,.22);transform-origin:50% 50%;animation:dpb 8s ease-in-out infinite}
.dpmini .dpi{padding:8px 9px 5px}
.dpmini .dpi::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,236,190,.16) 50%,transparent 62%);transform:translateX(-120%);animation:dpshine 8s ease-in-out infinite}
.dpmini .dph{padding-bottom:6px}
.dpmini .dph b{font-size:13px}
.dpmini .dph small{font-size:10px}
.dpmini .dpr{min-height:27px;padding:1px 2px}
.dpmini .dpn{font-size:11.5px;gap:5px}
.dpmini .dpc{width:17px;height:18px}
.dpmini .dpt{min-width:52px;font-size:11.5px;padding:2px 7px}
@keyframes dpb{0%,58%{transform:none;opacity:1}74%{transform:scale(.945);opacity:.8}90%,100%{transform:none;opacity:1}}
@keyframes dpshine{0%,70%{transform:translateX(-120%)}95%,100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.dpmini,.dpmini .dpi::after{animation:none}}
.dpl{display:grid;margin-top:2px}
.ev.hasdp{position:relative;padding:12px 8px 7px;margin-top:10px}
.evtag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);z-index:2;background:linear-gradient(180deg,#ff8a1f,#ef6c00);color:#fff;font-size:11.5px;font-weight:900;line-height:1;padding:6px 16px;border-radius:999px;box-shadow:0 3px 8px rgba(239,108,0,.35),0 0 0 3px var(--bg);white-space:nowrap;letter-spacing:.2px}
.dpmini .dpi{padding:6px 8px 3px}
.dpmini .dph{padding-bottom:4px}
.dpmini .dph b{font-size:12px}
.dpmini .dph small{font-size:9.5px}
.dpmini .dpsub{font-size:9.5px;padding:1px 7px}
.dpmini .dpr{min-height:23px;padding:0 2px;gap:5px}
.dpmini .dpn{font-size:10.5px;gap:4px}
.dpmini .dpc{width:15px;height:16px}
.dpmini .dpt{min-width:46px;font-size:10.5px;padding:2px 6px}
.dptabs{display:flex;gap:6px;margin:6px 0 2px}
.dptab{flex:1;display:grid;gap:0;justify-items:center;padding:4px 6px;border-radius:10px;border:1px solid rgba(240,207,133,.22);background:rgba(255,255,255,.04);color:rgba(255,255,255,.7);font-family:var(--body);cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.dptab b{font-size:11px;font-weight:800;line-height:1.3}
.dptab small{font-size:9.5px;opacity:.8;line-height:1.2}
.dptab.on{color:#1b1203;background:linear-gradient(180deg,#f6dc9c,#d9ac4c);border-color:transparent}
.dpfaces{display:grid;perspective:900px;margin-top:2px}
.dpf{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:rotateY(180deg);opacity:0;pointer-events:none;transition:transform .8s cubic-bezier(.4,.1,.2,1),opacity .4s ease .2s}
.dpf.on{transform:none;opacity:1;pointer-events:auto;transition:transform .8s cubic-bezier(.4,.1,.2,1),opacity .3s ease}
.dpdate{font-size:9.5px;color:rgba(255,255,255,.62);text-align:center;padding:3px 0 2px}
@media (prefers-reduced-motion:reduce){.dpf,.dpf.on{transition:none}}
.dpf:not(.on){position:absolute;inset:0 0 auto 0;visibility:hidden;transition:transform .8s cubic-bezier(.4,.1,.2,1),opacity .4s ease .2s,visibility 0s .8s}
.dpfaces{position:relative}
.dpf.on{position:relative;visibility:visible}

/* Featured free channel (Arezo): bigger card, no satellite / VPN / subscription */
#wsheet .wlist .wfeat{list-style:none;margin:2px 0 8px}
#wsheet .wlist .wfeat a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:16px;text-decoration:none;color:var(--ink);position:relative;
  background:linear-gradient(135deg,var(--win-soft),var(--surface));border:1.5px solid var(--win);box-shadow:0 4px 14px rgba(21,128,61,.18)}
#wsheet .wlist .wfeat img{width:46px;height:46px;border-radius:13px;flex:none;object-fit:contain;background:#fff;padding:4px;box-shadow:0 0 0 1px var(--line)}
#wsheet .wlist .wfeat a>span{display:grid;gap:3px;min-width:0;flex:1}
#wsheet .wlist .wfeat b{font-size:16px;font-weight:900;line-height:1.3}
#wsheet .wlist .wfeat small{font-size:11.5px;line-height:1.45;color:var(--muted)}
#wsheet .wlist .wfeat .wok{color:var(--win);font-weight:800}
#wsheet .wlist .wfeat .wnet{color:var(--ink);font-weight:800;font-size:12px}
#wsheet .wlist .wfeat .wfree{display:flex;flex-flow:row wrap;align-items:flex-start;justify-content:flex-start;gap:4px;margin:3px 0}
#wsheet .wlist .wfeat .wfree q{quotes:none;position:static;display:inline-block;width:auto;flex:none;align-self:flex-start;font-size:10.5px;font-weight:800;color:var(--win);background:var(--win-soft);border:1px solid rgba(21,128,61,.35);border-radius:999px;padding:1px 8px;white-space:nowrap}
#wsheet .wlist .wfeat .wplay{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--win);color:#fff;border:0;position:static}
#wsheet .wlist .wfeat .wplay svg{width:14px;height:14px}
/* Arezo featured card: slimmer, red blinking play button */
#wsheet .wlist .wfeat a.ok{padding:9px 11px;gap:10px;border-radius:14px}
#wsheet .wlist .wfeat a.ok img{width:40px;height:40px;border-radius:11px}
#wsheet .wlist .wfeat a.ok b{font-size:14.5px}
#wsheet .wlist .wfeat a.ok small{font-size:11px;line-height:1.4}
#wsheet .wlist .wfeat a.ok .wnet{font-size:11px}
#wsheet .wlist .wfeat a.ok .wfree{gap:3px;margin:2px 0}
#wsheet .wlist .wfeat a.ok .wfree q{font-size:9.5px;padding:0 7px}
#wsheet .wlist .wfeat a.ok .wplay{position:static;width:28px;height:28px;border-radius:50%;background:var(--live);color:#fff;border:1.5px solid var(--live);animation:wsoft 2.6s ease-in-out infinite}
#wsheet .wlist .wfeat a.ok .wplay svg{width:11px;height:11px;fill:#fff;color:#fff;margin-inline-start:-1px}
@keyframes wsoft{0%,100%{opacity:1;box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 25%,transparent)}50%{opacity:.62;box-shadow:0 0 0 6px transparent}}
@media (prefers-reduced-motion:reduce){#wsheet .wlist .wfeat a.ok .wplay{animation:none}}

/* large screens / TV: remote & keyboard focus ring */
html.fit :focus-visible{outline-width:3px;outline-offset:3px}


/* remote / keyboard focus: a clear orange ring and soft tint wherever the focus is */
html.kbd :focus{outline:4px solid var(--oranje)!important;outline-offset:-4px!important;border-radius:14px}
html.kbd .m:focus,html.kbd .dpr:focus,html.kbd .lghead:focus,html.kbd .day:focus{background:color-mix(in srgb,var(--oranje) 12%,transparent)}
html.kbd nav.tabs button:focus{background:color-mix(in srgb,var(--oranje) 14%,transparent)}
html.kbd .wlist a:focus,html.kbd .oopt:focus{box-shadow:0 0 0 4px color-mix(in srgb,var(--oranje) 35%,transparent)}
.dcap2{display:block;font-size:13px;margin:2px 4px 8px;color:var(--ink)}

/* Match-day poster, 3 Nov 2026 redesign: calmer midnight-slate card with a mint accent, hairline rows, Markazi title; smaller and without pulsing motion */
.dpost{border-radius:14px;padding:0;background:none;border:1px solid rgba(110,231,200,.16);box-shadow:0 8px 22px rgba(4,12,20,.30)}
.dpi{border-radius:13px;color:#e9f1f3;background:radial-gradient(90% 70% at 0 0,rgba(45,212,170,.14),transparent 60%),radial-gradient(70% 60% at 100% 100%,rgba(56,120,200,.12),transparent 65%),linear-gradient(165deg,#0f1d27,#0a1319 64%,#0c1a1b)}
.dpmini{animation:none;box-shadow:0 8px 22px rgba(4,12,20,.30)}
.dpmini .dpi::after{display:none}
.dpmini .dpi{padding:8px 10px 5px}
.dph{border-bottom:1px solid rgba(255,255,255,.08)}
.dpmini .dph{padding-bottom:6px}
.dph b,.dpmini .dph b{font-family:"TFMarkazi",var(--display);font-weight:700;font-size:16px;line-height:1.25;letter-spacing:0;background:none;color:#f2faf8;-webkit-background-clip:border-box;background-clip:border-box}
.dpsub,.dpmini .dpsub{font-size:10px;font-weight:700;color:#6ee7c8;background:rgba(45,212,170,.08);border:1px solid rgba(110,231,200,.28);padding:1px 8px}
.dpdate{font-size:10px;font-weight:500;color:rgba(214,230,235,.62);padding:5px 0 3px;letter-spacing:0}
.dpl{margin-top:0}
.dpmini .dpr{min-height:24px;padding:0 3px;gap:6px;border-radius:7px;border-bottom:1px solid rgba(255,255,255,.055)}
.dpr:active{background:rgba(110,231,200,.08)}
.dpmini .dpn{font-size:11.5px;font-weight:600;gap:5px;color:#e6eff2}
.dpn.w em{color:#6ee7c8}
.dpmini .dpc{width:15px;height:16px;filter:none}
.dpmini .dpt{min-width:48px;font-size:11px;font-weight:800;padding:1px 6px;border-radius:7px;color:#6ee7c8;background:rgba(45,212,170,.07);border:1px solid rgba(110,231,200,.3);box-shadow:none;letter-spacing:.2px}
.dpmini .dpt.live{color:#fff;background:#dc2626;border-color:transparent;box-shadow:none}
.dpmini .dpt.done{color:#d6e4e8;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
.dptab{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:rgba(220,235,240,.72);border-radius:9px;padding:3px 6px}
.dptab.on{color:#6ee7c8;background:rgba(45,212,170,.12);border-color:rgba(110,231,200,.4)}
.dph b,.dpmini .dph b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.dph>div{min-width:0}
.dpmini .dpt{min-width:44px;font-size:10.5px;font-weight:700;padding:0 5px;line-height:20px}
.dpmini .dpr{min-height:23px}

/* v292: national teams show their real flag, round (the Nations League feed has no crest) */
img.crest.flag{height:auto!important;aspect-ratio:1/1;object-fit:cover;border-radius:50%;
  filter:none!important;box-shadow:0 0 0 1.5px rgba(255,255,255,.9),0 0 0 2.5px rgba(0,0,0,.14),0 2px 5px rgba(0,0,0,.22);background:#e8edf0}
img.crest.flag:not(.dpc):not(.p2c){width:30px}
td.tn img.crest.flag,.t2 td.tn img.crest.flag{width:22px}
.feature img.crest.flag,.dhd .dt img.crest.flag{width:36px}
img.crest.flag.dpc{width:26px}
.poster2 .p2ring img.crest.flag{width:54px}
.wvs img.crest.flag{width:24px}

/* v293: «تنظیمات» replaces «تیم‌های من» in the bottom bar; the header menu button is gone */
#btn-menu{display:none!important}
nav.tabs button[data-tab="settings"]{--ic:#64748b;--ic2:#334155}
nav.tabs button[data-tab="settings"]:active .ico{background:color-mix(in srgb,var(--ic) 15%,transparent)}
.menutip.up::before{top:auto;bottom:-5px}
.menutip.up{animation:none}
nav.tabs .ico.hint::after{content:"";position:absolute;inset:-2px;border-radius:999px;border:2px solid var(--oranje);animation:menuPulse 1.3s ease-out infinite;pointer-events:none}

/* v294: reminder note — small, formal, above the bottom bar; search icon removed from the header */
.rnote{position:fixed;left:50%;bottom:calc(var(--nav-h,60px) + 16px + env(safe-area-inset-bottom,0px));z-index:10000;pointer-events:none;width:max-content;max-width:min(340px,calc((100vw - 32px) / var(--z,1)));text-wrap:balance;
  padding:8px 14px;border-radius:10px;background:#1b2236;color:#f4f6fb;border-inline-start:3px solid var(--oranje);
  font:600 12px/1.8 Vazirmatn,Tahoma,sans-serif;text-align:start;box-shadow:0 10px 24px -10px rgba(0,0,0,.55);
  opacity:0;transform:translate(-50%,8px);transition:opacity .22s ease,transform .22s ease}
.rnote.show{opacity:1;transform:translate(-50%,0)}

/* v295: the match bell sits beside the kick-off time (never over a team crest); small, precise ring */
.krow{display:flex;align-items:center;justify-content:center;gap:5px}
.krow .rbell{position:static;flex:none;width:22px;height:22px;border:1px solid var(--line);background:transparent;opacity:1;color:var(--muted)}
.krow .rbell svg{width:12px;height:12px}
.krow .rbell[aria-pressed="true"]{border-color:var(--oranje);background:var(--oranje);color:#fff}

/* v297: day poster — champagne-gold frame, refined type, pill times, a button that turns it over to a light or dark side */
.dpost.dpmini{margin:0;padding:1px;border:0;border-radius:18px;perspective:900px;
  background:linear-gradient(135deg,#f3dba0,#9a7a30 36%,#e8c777 66%,#6f5116);box-shadow:0 14px 30px -14px rgba(0,0,0,.6)}
.dpost.dpmini .dpi{border-radius:17px;padding:12px 12px 8px;color:#eef2f8;position:relative;overflow:hidden;
  background:radial-gradient(120% 80% at 100% 0,rgba(233,199,119,.14),transparent 55%),radial-gradient(90% 70% at 0 100%,rgba(60,90,200,.16),transparent 60%),linear-gradient(170deg,#101a2e,#090e1a 70%,#0b1322);
  transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.dpost.dpmini.fl1 .dpi{transform:rotateY(90deg);transition-timing-function:ease-in}
.dpost.dpmini.fl2 .dpi{transform:rotateY(-90deg);transition:none}
.dpost.dpmini .dpi::after{display:block;content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.07) 50%,transparent 58%);transform:translateX(-130%);animation:dpgleam 8s ease-in-out infinite}
@keyframes dpgleam{0%,62%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
.dpost.dpmini .dph{display:flex;align-items:center;gap:8px;padding:0 2px 9px;border-bottom:0;position:relative}
.dpost.dpmini .dph::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(233,199,119,.6),transparent)}
.dpost.dpmini .dph>div{flex:1;min-width:0}
.dpk{display:block;font:700 8.5px/1 Roboto,Arial,sans-serif;letter-spacing:2.4px;color:#d9b86c;margin-bottom:5px;direction:ltr;text-align:right;white-space:nowrap}
.dpost.dpmini .dph b{font-family:"TFMarkazi",var(--display);font-weight:700;font-size:19px;line-height:1.2;color:#f6e7bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.dpost.dpmini .dpsub{flex:none;font-size:10.5px;font-weight:700;color:#e8c777;background:rgba(233,199,119,.1);border:1px solid rgba(233,199,119,.36);padding:2px 9px;border-radius:999px}
.dpth{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#e8c777;background:rgba(233,199,119,.08);border:1px solid rgba(233,199,119,.4);cursor:pointer;-webkit-tap-highlight-color:transparent}
.dpth svg{width:14px;height:14px;grid-area:1/1}
.dpth .ic-moon{display:none}
.dpost[data-th="light"] .dpth .ic-sun{display:none}.dpost[data-th="light"] .dpth .ic-moon{display:block}
.dpth:active{transform:scale(.92)}
.dpost.dpmini .dpdate{font-size:10.5px;font-weight:500;color:rgba(226,232,245,.62);text-align:center;padding:8px 0 5px;letter-spacing:0}
.dpost.dpmini .dpr{min-height:31px;padding:2px 3px;gap:8px;border-radius:8px;border-bottom:1px solid rgba(255,255,255,.06)}
.dpost.dpmini .dpr:last-child{border-bottom:0}
.dpost.dpmini .dpr:active{background:rgba(233,199,119,.08)}
.dpost.dpmini .dpn{font-size:12.5px;font-weight:600;gap:7px;color:#f1f4fa}
.dpost.dpmini .dpn.w em{color:#f3d98e}
.dpost.dpmini .dpc{width:19px;height:20px;filter:none}
.dpost.dpmini .dpc.flag{width:19px;height:auto!important}
.dpost.dpmini .dpt{min-width:56px;font-size:12px;font-weight:800;line-height:22px;padding:0 9px;border-radius:999px;color:#f3d98e;background:rgba(233,199,119,.09);border:1px solid rgba(233,199,119,.4);box-shadow:none;letter-spacing:.2px;font-variant-numeric:tabular-nums}
.dpost.dpmini .dpt.live{color:#fff;background:linear-gradient(180deg,#ef4444,#b91c1c);border-color:transparent;box-shadow:0 0 0 3px rgba(239,68,68,.18)}
.dpost.dpmini .dpt.done{color:#e1e8f4;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.dpost.dpmini .dptab{border:1px solid rgba(233,199,119,.25);background:rgba(233,199,119,.04);color:rgba(236,226,196,.75);border-radius:10px}
.dpost.dpmini .dptab.on{color:#1b1203;background:linear-gradient(180deg,#f3dba0,#d9b45e);border-color:transparent}
/* light side */
.dpost.dpmini[data-th="light"]{background:linear-gradient(135deg,#e8cf91,#b0914a 36%,#e3c47a 66%,#9a7a30);box-shadow:0 14px 30px -16px rgba(80,60,10,.45)}
.dpost.dpmini[data-th="light"] .dpi{color:#1d2433;background:radial-gradient(120% 80% at 100% 0,rgba(233,199,119,.28),transparent 55%),linear-gradient(170deg,#fffdf8,#f7f0e0 70%,#f2e9d4)}
.dpost.dpmini[data-th="light"] .dpi::after{background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.55) 50%,transparent 58%)}
.dpost.dpmini[data-th="light"] .dpk{color:#9a7a30}
.dpost.dpmini[data-th="light"] .dph b{color:#5b4010}
.dpost.dpmini[data-th="light"] .dph::after{background:linear-gradient(90deg,transparent,rgba(154,122,48,.6),transparent)}
.dpost.dpmini[data-th="light"] .dpsub{color:#7a5a14;background:rgba(154,122,48,.1);border-color:rgba(154,122,48,.4)}
.dpost.dpmini[data-th="light"] .dpth{color:#7a5a14;background:rgba(154,122,48,.1);border-color:rgba(154,122,48,.45)}
.dpost.dpmini[data-th="light"] .dpdate{color:#6b7280}
.dpost.dpmini[data-th="light"] .dpr{border-bottom-color:rgba(60,45,10,.1)}
.dpost.dpmini[data-th="light"] .dpr:active{background:rgba(154,122,48,.1)}
.dpost.dpmini[data-th="light"] .dpn{color:#1d2433}
.dpost.dpmini[data-th="light"] .dpn.w em{color:#8a5a00}
.dpost.dpmini[data-th="light"] .dpt{color:#6b4e12;background:rgba(154,122,48,.1);border-color:rgba(154,122,48,.5)}
.dpost.dpmini[data-th="light"] .dpt.live{color:#fff;background:linear-gradient(180deg,#ef4444,#b91c1c);border-color:transparent}
.dpost.dpmini[data-th="light"] .dpt.done{color:#334155;background:rgba(29,36,51,.06);border-color:rgba(29,36,51,.14)}
.dpost.dpmini[data-th="light"] .dptab{color:#6b4e12;border-color:rgba(154,122,48,.35);background:rgba(154,122,48,.06)}
.dpost.dpmini[data-th="light"] .dptab.on{color:#1b1203;background:linear-gradient(180deg,#f3dba0,#d9b45e)}
@media (prefers-reduced-motion:reduce){.dpost.dpmini .dpi::after{animation:none;display:none}.dpost.dpmini .dpi{transition:none}}
.ev.hasdp>*,.dpost.dpmini,.dpost.dpmini .dpi,.dpost.dpmini .dph{min-width:0;max-width:100%}
.dpost.dpmini .dph b{font-size:17px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
.dpost.dpmini .dph b{text-wrap:balance}
.dpost.dpmini .dpi{padding:12px 10px 8px}
.dpost.dpmini .dpr{gap:6px}
.dpost.dpmini .dpn{font-size:12px;gap:6px}
.dpost.dpmini .dpt{min-width:52px;padding:0 7px}
/* v300: shorter poster — compact header (no kicker), tighter rows */
.dpost.dpmini .dpk{display:none}
.dpost.dpmini .dpi{padding:8px 9px 4px}
.dpost.dpmini .dph{padding:0 2px 6px;gap:6px}
.dpost.dpmini .dph b{font-size:14.5px;line-height:1.25}
.dpost.dpmini .dpsub{font-size:10px;padding:1px 8px}
.dpth{width:24px;height:24px}.dpth svg{width:12px;height:12px}
.dpost.dpmini .dpdate{font-size:9.5px;padding:5px 0 2px}
.dpost.dpmini .dpr{min-height:25px;padding:0 2px;gap:5px}
.dpost.dpmini .dpn{font-size:11.5px;gap:5px}
.dpost.dpmini .dpc{width:16px;height:17px}.dpost.dpmini .dpc.flag{width:16px}
.dpost.dpmini .dpt{min-width:46px;font-size:11px;line-height:19px;padding:0 6px}
.dpost.dpmini .dpt.live{box-shadow:0 0 0 2px rgba(239,68,68,.18)}

/* v301: a fresh goal makes the live score pulse for a few seconds */
.score.gl{animation:goalpulse 1.1s ease-out 3}
@keyframes goalpulse{0%{transform:scale(1);text-shadow:0 0 0 rgba(239,68,68,0)}35%{transform:scale(1.22);text-shadow:0 0 14px rgba(239,68,68,.55)}100%{transform:scale(1);text-shadow:0 0 0 rgba(239,68,68,0)}}
@media (prefers-reduced-motion:reduce){.score.gl{animation:none}}

/* v302 — stadium-night backdrop for the big-match card (original artwork: lights, arcs and team-colour beams; no real people or marks) */
.feature.poster2::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
   radial-gradient(60% 55% at 50% -8%,rgba(120,170,255,.26),transparent 70%),radial-gradient(45% 40% at 50% 104%,rgba(255,138,40,.22),transparent 72%),
   radial-gradient(38% 60% at 0% 100%,color-mix(in srgb,var(--hc) 70%,transparent),transparent 72%),
   radial-gradient(38% 60% at 100% 100%,color-mix(in srgb,var(--ac) 70%,transparent),transparent 72%),
   repeating-radial-gradient(circle at 50% 118%,transparent 0 46px,rgba(150,190,255,.10) 47px 48px,transparent 49px 94px);
  mix-blend-mode:screen}
.feature.poster2::after{z-index:2}
.poster2 .pbg{background-image:
   radial-gradient(circle at 12% 9%,rgba(255,255,255,.9) 0 1.6px,transparent 2.4px),radial-gradient(circle at 26% 6%,rgba(255,255,255,.75) 0 1.3px,transparent 2px),
   radial-gradient(circle at 41% 10%,rgba(255,255,255,.9) 0 1.6px,transparent 2.4px),radial-gradient(circle at 58% 5%,rgba(255,255,255,.8) 0 1.4px,transparent 2.1px),
   radial-gradient(circle at 73% 9%,rgba(255,255,255,.9) 0 1.6px,transparent 2.4px),radial-gradient(circle at 89% 6%,rgba(255,255,255,.75) 0 1.3px,transparent 2px),
   linear-gradient(180deg,#0a1a4d 0,#0b1233 55%,#060a1f 100%)!important;opacity:1!important}
.poster2 .p2ring{box-shadow:0 0 0 2px rgba(232,181,74,.55),0 0 28px color-mix(in srgb,var(--hc) 55%,transparent)}
.poster2 .p2t:last-child .p2ring{box-shadow:0 0 0 2px rgba(232,181,74,.55),0 0 28px color-mix(in srgb,var(--ac) 55%,transparent)}

/* v303 — big-match card: competition label centred on top, clear of the crests */
.poster2 .ptp{position:relative;justify-content:center;min-height:24px}
.poster2 .pbadge{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.poster2 .pcomp{max-width:58%;white-space:nowrap}
.poster2 .p2vs{margin-top:16px}

/* v304 — smaller, gold-edged competition label, truly centred */
.poster2 .ptp{min-height:20px}
.poster2 .pcomp{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:none;font-size:9px;font-weight:700;letter-spacing:.2px;color:#f3dba0;gap:4px;padding:1px 9px 1px 3px;
  background:rgba(6,10,28,.62);border:1px solid rgba(232,181,74,.38);box-shadow:0 2px 10px rgba(0,0,0,.35)}
.poster2 .pcomp .lgm{width:13px;height:13px}
.poster2 .p2vs{margin-top:10px}

/* v306 — official league emblem instead of the text label */
.poster2 .plg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:radial-gradient(circle at 50% 30%,#fff,#e8eefc 70%,#cfd9f3);box-shadow:0 0 0 2px rgba(232,181,74,.75),0 0 0 5px rgba(232,181,74,.14),0 6px 18px rgba(0,0,0,.45),0 0 22px rgba(120,160,255,.35)}
.poster2 .plg .lgm{width:30px;height:30px;border-radius:50%;background:none;box-shadow:none}
.poster2 .plg .lgm img{width:28px;height:28px}
.poster2 .plg .lgm.nol{background:var(--lc);box-shadow:none}
.poster2 .ptp{min-height:42px}
.poster2 .p2vs{margin-top:8px}

/* v307 — league emblem: bigger disc, logo never clipped */
.poster2 .plg{width:58px;height:58px}
.poster2 .plg .lgm{width:46px;height:46px;border-radius:0;overflow:visible}
.poster2 .plg .lgm img{width:46px;height:46px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 1px 1px rgba(10,20,60,.25))}
.poster2 .plg .lgm.nol{border-radius:50%;width:40px;height:40px}
.poster2 .ptp{min-height:58px}
.poster2 .p2vs{margin-top:4px}

/* v308 — Champions League starball (local, crisp) */
.poster2 .plg{width:54px;height:54px;background:none;box-shadow:0 0 0 2px rgba(232,181,74,.8),0 0 0 5px rgba(232,181,74,.14),0 6px 18px rgba(0,0,0,.5),0 0 24px rgba(90,130,255,.45)}
.poster2 .plg .lgm{width:54px;height:54px;border-radius:50%;overflow:hidden;background:none;box-shadow:none}
.poster2 .plg .lgm img{width:54px;height:54px;filter:none}
.poster2 .ptp{min-height:54px}
.lgm img[src$="ucl.png"]{border-radius:50%}

/* v309 — smaller league emblem */
.poster2 .plg,.poster2 .plg .lgm,.poster2 .plg .lgm img{width:38px;height:38px}
.poster2 .plg{box-shadow:0 0 0 1.5px rgba(232,181,74,.8),0 0 0 4px rgba(232,181,74,.14),0 4px 12px rgba(0,0,0,.5),0 0 16px rgba(90,130,255,.4)}
.poster2 .ptp{min-height:38px}
.poster2 .p2vs{margin-top:8px}

/* v310 — league emblem: slow spin + soft breathing glow */
.poster2 .plg .lgm img[src$="ucl.png"]{animation:uclSpin 36s linear infinite;will-change:transform}
.poster2 .plg{animation:uclGlow 4s ease-in-out infinite}
@keyframes uclSpin{to{transform:rotate(360deg)}}
@keyframes uclGlow{0%,100%{box-shadow:0 0 0 1.5px rgba(232,181,74,.8),0 0 0 4px rgba(232,181,74,.14),0 4px 12px rgba(0,0,0,.5),0 0 12px rgba(90,130,255,.3)}
 50%{box-shadow:0 0 0 1.5px rgba(255,214,120,1),0 0 0 5px rgba(232,181,74,.28),0 4px 12px rgba(0,0,0,.5),0 0 24px rgba(110,150,255,.75)}}
@media (prefers-reduced-motion:reduce){.poster2 .plg,.poster2 .plg .lgm img{animation:none}}

/* v311 — crossed swords in place of "VS" */
.poster2 .pv.xsw{display:grid;place-items:center;font-size:0;margin:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(255,190,80,.35))}
.poster2 .pv.xsw svg{display:block}

/* v312 — emblem now sits in the centre column (emblem · swords · score · minute); original blue ring; very slow turn; equal watermark crests */
.poster2 .ptp{min-height:24px}
.poster2 .plg{position:static;transform:none;animation:none;margin:0 0 2px;
  box-shadow:0 0 0 1.5px #2f7bff,0 0 0 3px rgba(255,255,255,.92),0 3px 10px rgba(0,0,0,.5)}
.poster2 .plg,.poster2 .plg .lgm,.poster2 .plg .lgm img{width:36px;height:36px}
.poster2 .plg .lgm img[src$="ucl.png"]{animation:uclSpin 240s linear infinite}
.poster2 .pv.xsw svg{width:36px;height:36px}
.poster2 .p2mid{gap:2px;align-self:center}
.poster2 .p2vs{margin-top:2px;align-items:center}
.poster2 .p2wm{width:52%;height:176px;object-fit:contain;top:58%}

/* v313 — emblem back at the top; large luxurious swords between the teams */
.poster2 .ptp{min-height:38px}
.poster2 .plg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0}
.poster2 .pv.xsw svg{width:64px;height:64px}
.poster2 .pv.xsw{filter:drop-shadow(0 3px 7px rgba(0,0,0,.6)) drop-shadow(0 0 12px rgba(255,190,80,.4))}
.poster2 .p2mid{gap:0}
.poster2 .p2vs{margin-top:6px}

/* v314 — minute readable */
.poster2 .pt small{font-size:12.5px;font-weight:800;color:rgba(255,255,255,.82);letter-spacing:.3px;margin-top:2px}

/* v315 — Europa League / Conference League emblems (local): dark tile so the white trophy shows */
.lgm.dk{background:#0b0d14!important;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.lgm.dk img{width:19px;height:19px;object-fit:contain}
.poster2 .plg[data-lg="EL"],.poster2 .plg[data-lg="UECL"]{background:#0b0d14}
.poster2 .plg[data-lg="EL"]{box-shadow:0 0 0 1.5px #ff7a14,0 0 0 3px rgba(255,255,255,.9),0 3px 10px rgba(0,0,0,.5)}
.poster2 .plg[data-lg="UECL"]{box-shadow:0 0 0 1.5px #16b53a,0 0 0 3px rgba(255,255,255,.9),0 3px 10px rgba(0,0,0,.5)}
.poster2 .plg[data-lg="EL"] .lgm img,.poster2 .plg[data-lg="UECL"] .lgm img{width:26px;height:26px}

/* v318 — «خبر ویژه»: compact poster-style pinned news (until midnight) */
.nspec{display:flex;align-items:center;gap:14px;position:relative;overflow:hidden;margin:6px 0 12px;padding:12px 14px;border-radius:18px;color:#fff;text-decoration:none;
  background:radial-gradient(90% 140% at 100% 0%,rgba(190,30,45,.5),transparent 62%),radial-gradient(80% 120% at 0% 100%,rgba(16,140,70,.4),transparent 62%),linear-gradient(160deg,#0a1034,#0b0e24 65%,#150a1c);
  border:1px solid rgba(232,181,74,.65);box-shadow:0 8px 22px rgba(10,16,52,.32),0 0 0 3px rgba(232,181,74,.09)}
.nspec::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 40%,rgba(255,226,154,.16) 50%,transparent 60%);transform:translateX(-120%);animation:spShine 5.5s ease-in-out infinite;pointer-events:none}
@keyframes spShine{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
.nspec .nsb{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;font-style:normal;background:conic-gradient(from 210deg,#0a8f46 0 25%,#d4202e 25% 60%,#0a8f46 60% 100%);padding:3px;box-shadow:0 0 0 2px rgba(232,181,74,.9),0 4px 12px rgba(0,0,0,.45)}
.nspec .nsb span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 50% 30%,#1a2250,#080b22);font-weight:900;font-size:30px;line-height:1;color:#ffd978;text-shadow:0 0 12px rgba(255,200,80,.55)}
.nspec .nsx{min-width:0;flex:1}
.nspec .nst{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(180deg,#ffe29a,#e8b54a);color:#3a2605;font-weight:900;font-size:11px;padding:2px 10px;border-radius:999px}
.nspec .nst u{width:6px;height:6px;border-radius:50%;background:#c2162a;animation:spBlink 1.6s ease-in-out infinite}
@keyframes spBlink{50%{opacity:.3}}
.nspec b{display:block;margin-top:6px;font-size:16px;line-height:1.7;font-weight:900;text-wrap:balance}
.nspec small{display:flex;justify-content:space-between;gap:8px;margin-top:2px;font-size:11.5px;color:#f3dba0;font-weight:600}
.nspec small em{font-style:normal;color:#ffc933;font-weight:800;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.nspec::after,.nspec .nst u{animation:none}}

/* v319: «عاجل» badge on its own line, never overlaps the title */
.news .nw b em.hot{display:table;font-size:11px;line-height:1.5;padding:2px 10px;margin:0 0 6px;margin-inline-end:0;white-space:nowrap;letter-spacing:0;vertical-align:baseline}

/* v322: special card carries a portrait on its right half; the text stays in the left half and never touches the photo */
.nspec{position:relative;overflow:hidden;min-height:176px}
.nspec::before{content:"";position:absolute;top:0;bottom:0;right:0;width:46%;background:url(img/ronaldo.jpg) 30% 6%/auto 118% no-repeat;-webkit-mask-image:linear-gradient(270deg,#000 55%,transparent);mask-image:linear-gradient(270deg,#000 55%,transparent);pointer-events:none}
.nspec>*{position:relative;z-index:1}
.nspec .nsx{padding-inline-start:48%;max-width:100%;box-sizing:border-box}
.nspec .nsx b{font-size:17px}

/* v323: news meta — time in its own isolated span so the separator can't be mistaken for a digit */
.nw small .ago{unicode-bidi:isolate;white-space:nowrap}
.nw small .ago::before{content:"•";display:inline-block;margin:0 7px;opacity:.55;font-size:.8em;vertical-align:.1em}

/* v324 — Premier League emblem: light tile so the purple crest is clearly visible */

/* v326 — league emblem in the big-match card: smaller */
.poster2 .plg,.poster2 .plg .lgm{width:28px;height:28px}
.poster2 .plg .lgm img{width:28px;height:28px}
.poster2 .plg[data-lg="EL"] .lgm img,.poster2 .plg[data-lg="UECL"] .lgm img{width:20px;height:20px}

/* v327 — league emblem: small square tile in the top corner (opposite the badge), full-quality logo */
.poster2 .ptp{min-height:30px}
.poster2 .plg,.poster2 .plg[data-lg]{position:absolute;left:0;top:50%;transform:translateY(-50%);margin:0;width:30px;height:30px;border-radius:9px;overflow:hidden;animation:none;
  background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.55),0 3px 10px rgba(0,0,0,.45)}
.poster2 .plg[data-lg="CL"],.poster2 .plg[data-lg="EL"],.poster2 .plg[data-lg="UECL"]{background:#0b0d14;box-shadow:0 0 0 1px rgba(255,255,255,.35),0 3px 10px rgba(0,0,0,.5)}
.poster2 .plg .lgm,.poster2 .plg[data-lg] .lgm{width:30px;height:30px;border-radius:9px;background:none;box-shadow:none;overflow:hidden;display:grid;place-items:center}
.poster2 .plg .lgm img,.poster2 .plg[data-lg] .lgm img{width:22px;height:22px;object-fit:contain;filter:none;animation:none;image-rendering:auto}
.poster2 .plg .lgm.nol{background:var(--lc)}

/* v328 — emblem tile smaller */
.poster2 .plg,.poster2 .plg[data-lg],.poster2 .plg .lgm,.poster2 .plg[data-lg] .lgm{width:22px;height:22px;border-radius:7px}
.poster2 .plg .lgm img,.poster2 .plg[data-lg] .lgm img{width:16px;height:16px}

/* v329 — emblem tile: fixed tile, logo fully visible (contain), no old ring */
.poster2 .plg[data-lg]{box-shadow:0 0 0 1px rgba(255,255,255,.55),0 2px 8px rgba(0,0,0,.45)}
.poster2 .plg[data-lg] .lgm{padding:0}
.poster2 .plg[data-lg] .lgm img{max-width:none;object-fit:contain;display:block}
.poster2 .plg[data-lg] .lgm img{width:18px;height:18px}

/* v331 — swords level with the crests (exact middle between the teams); time/date sit lower; live chip smaller and lower */
.poster2{--rh:78px}
@media (max-width:380px){.poster2{--rh:70px}}
.poster2 .p2vs{align-items:start}
.poster2 .p2ring{width:var(--rh);height:var(--rh)}
.poster2 .p2mid{align-self:start;gap:6px}
.poster2 .pv.xsw{height:var(--rh);width:100%;display:grid;place-items:center}
.poster2 .pv.xsw svg{width:60px;height:60px}
.poster2 .fbot{margin-top:10px;gap:10px}
.poster2 .fbot .lchip{margin-top:12px;padding:2px 9px;font-size:10.5px;gap:5px}
.poster2 .fbot .lchip .dotl{width:6px;height:6px}
.poster2 .fbot{flex-direction:column;gap:0}
.poster2 .fbot .lchip{margin:12px auto 0}

/* v332 — weak-network mode: no looping animations (less CPU/battery on weak phones) */
html[data-net="lo"] *,html[data-net="lo"] *::before,html[data-net="lo"] *::after{animation:none!important}

/* v334 — compact settings so the whole menu fits one screen */
#dmain .dlist button{padding:6px 12px;gap:9px}
#dmain .dlist i{width:26px;height:26px;border-radius:8px}
#dmain .dlist i svg{width:15px;height:15px}
#dmain .dlist span{font-size:13.5px}
#dmain .dlist{margin-bottom:2px}
#dmain .dcap{margin:6px 4px 4px}
.dpanel .dhead{padding:0 0 2px}
.dfoot{padding:8px 8px 2px;gap:2px}
.dfoot img{width:34px;height:34px;border-radius:10px}
.dfoot .dver{margin:3px 0 0;font-size:11px}
.dfoot em{font-size:10.5px}

/* v337 — slim, luxurious "next big match" bar (a mini poster) */
.nbar{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin:2px 0 10px;padding:6px 34px 6px 34px;border:1px solid rgba(232,181,74,.5);border-radius:13px;font:inherit;color:#fff;cursor:pointer;
  background:radial-gradient(120% 160% at 85% 0,rgba(255,150,50,.16),transparent 55%),linear-gradient(100deg,#0a1140,#1a1052 58%,#3a0f45);
  box-shadow:0 8px 18px -10px rgba(10,15,60,.7),inset 0 1px 0 rgba(255,255,255,.09)}
.nbar .nbt{font-size:10.5px;font-weight:800;color:#f0c867;letter-spacing:.01em;line-height:1.3}
.nbar .nbm{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:800;line-height:1.3;max-width:100%}
.nbar .nbm b{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.nbar .nbm i{font-style:normal;color:#f0c867;opacity:.85;font-size:11px}
.nbar .nbm .crest,.nbar .nbm .crest.logo{width:20px;height:20px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.nbar .nbg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#f0c867;opacity:.9}
.nbar:active{filter:brightness(1.12)}

/* v341 group table + squads */
.gtb{display:grid;grid-template-columns:22px 1fr 34px 40px 34px;align-items:center;gap:6px;padding:8px 0;font-size:12.5px;border-top:1px solid var(--line)}
.gtb.gth{border-top:0;font-size:10.5px;font-weight:800;color:var(--muted)}
.gtb > span:nth-child(2){display:flex;align-items:center;gap:6px;min-width:0;font-weight:700}
.gtb .crest{width:18px;height:18px}
.gtb > span:nth-child(n+3),.gtb > b{text-align:center;font-variant-numeric:tabular-nums}
.gtb.me{color:var(--oranje);font-weight:900}
.sqh{margin:10px 0 2px;font-size:10.5px;font-weight:800;color:var(--muted)}
.sqc .pvth small{font-weight:600;color:var(--muted);font-size:10.5px}
/* v343 squad rows: Persian name with the English name small underneath */
.sqc .lu{display:grid;grid-template-columns:20px 1fr;grid-template-rows:auto auto;column-gap:5px;row-gap:0;white-space:normal;line-height:1.35;padding:3px 0;align-items:center}
.sqc .lu em{grid-row:1 / 3}
.sqc .lu b{grid-column:2;white-space:normal;overflow:visible;font-size:12.5px}
.sqc .lu bdi{grid-column:2;max-width:none;font-size:9.5px;text-align:start;white-space:normal}

/* v347 player photos on a poster: the dark photo background melts into the card (lighten blend), edges fade out */
.poster2.hasph .pph{position:absolute;bottom:0;height:56%;width:auto;max-width:47%;object-fit:cover;object-position:top;z-index:0;pointer-events:none;mix-blend-mode:lighten;opacity:.88}
.poster2.hasph .pph.h{right:0;-webkit-mask-image:linear-gradient(to top,transparent 0,#000 22%),linear-gradient(to bottom,transparent 0,#000 30%),linear-gradient(to left,#000 72%,transparent 100%);-webkit-mask-composite:source-in,source-in;mask-image:linear-gradient(to top,transparent 0,#000 22%),linear-gradient(to bottom,transparent 0,#000 30%),linear-gradient(to left,#000 72%,transparent 100%);mask-composite:intersect}
.poster2.hasph .pph.a{left:0;-webkit-mask-image:linear-gradient(to top,transparent 0,#000 22%),linear-gradient(to bottom,transparent 0,#000 30%),linear-gradient(to right,#000 72%,transparent 100%);-webkit-mask-composite:source-in,source-in;mask-image:linear-gradient(to top,transparent 0,#000 22%),linear-gradient(to bottom,transparent 0,#000 30%),linear-gradient(to right,#000 72%,transparent 100%);mask-composite:intersect}
.poster2.hasph .p2wm{display:none}

/* v349 photo poster (owner's layout) */
.poster3{position:relative;background:#06060f;border-radius:22px;overflow:hidden;padding:0 0 22px;color:#fff;text-align:center;border:1px solid rgba(217,169,77,.25)}
.poster3 .p3top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px}
.poster3 .pbadge{position:static;background:linear-gradient(135deg,#f6dc90,#d9b45e);color:#2b1d05;font-weight:800;font-size:12.5px;padding:6px 14px;border-radius:99px;box-shadow:none}
.poster3 .plg{position:static;width:36px;height:36px;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden}
.poster3 .plg img{width:30px;height:30px;object-fit:contain}
.poster3 .p3img{position:relative;line-height:0}
.poster3 .p3img img{width:100%;height:auto;display:block;-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);filter:saturate(1.05)}
.poster3 .p3nm{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 22px;margin-top:-6px}
.poster3 .p3nm b{flex:1;font-size:17px;font-weight:900;color:#fff}
.poster3 .p3nm i{font-style:normal;font-size:24px;color:#e9c46a;line-height:1;filter:drop-shadow(0 0 8px rgba(233,196,106,.5))}
.poster3 .p3dt{margin-top:14px;font-size:19px;font-weight:900;color:#fff}
.poster3 .p3tm{display:inline-flex;align-items:baseline;gap:10px;margin-top:12px;padding:6px 22px 8px;border:1px solid #c9a24d;background:#17120a;color:#f6dc90}
.poster3 .p3tm b{font-size:34px;font-weight:900;line-height:1.15}
.poster3 .p3tm span{font-size:14px;font-weight:700;color:#fff}
.poster3 .p3ch{margin-top:14px;display:flex;justify-content:center}
.poster3,.poster3.feature{background:#06060f !important}
.poster3::before,.poster3::after{display:none !important}
.poster3 .p3img img{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 7%,#000 90%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 7%,#000 90%,transparent 100%)}
.poster3 .p3cd{margin:14px auto 0;justify-content:center}
/* v352 each carousel slide keeps its own height (the tall photo poster no longer stretches the others) */
.fcar .fslide:not(.on){max-height:0;overflow:hidden}
/* v353 photo poster: LaLiga mark fits its tile; bigger battle swords */
.poster3 .plg{width:48px;height:48px;padding:5px;border-radius:11px}
.poster3 .plg img,.poster3 .plg svg{width:100%;height:100%;object-fit:contain;display:block}
.poster3 .p3nm .pv.xsw{flex:none;width:76px;height:76px;margin:-8px 0;display:grid;place-items:center;font-size:0;filter:drop-shadow(0 3px 7px rgba(0,0,0,.6)) drop-shadow(0 0 12px rgba(255,190,80,.4))}
.poster3 .p3nm .pv.xsw svg{width:76px;height:76px;display:block}
/* v354 badge shimmer stays inside the badge; LaLiga mark fills its square tile */
.poster3 .pbadge{position:relative;overflow:hidden}
.poster3 .plg{width:54px;height:54px;padding:6px;border-radius:12px;background:#fff;overflow:hidden}
.poster3 .plg .lgm{width:100%;height:100%;border-radius:0;background:none;box-shadow:none;display:grid;place-items:center;overflow:visible}
.poster3 .plg .lgm img{width:100%;height:100%;max-width:none;object-fit:contain;filter:none}
/* v355 smaller LaLiga tile */
.poster3 .plg{width:38px;height:38px;padding:4px;border-radius:9px}
.poster3 .plg{width:30px;height:30px;padding:3px;border-radius:8px}
/* v357 compact photo poster: shorter photo (faces kept), smaller text */
.poster3{padding-bottom:16px}
.poster3 .p3top{padding:10px 14px 6px}
.poster3 .pbadge{font-size:11.5px;padding:5px 12px}
.poster3 .p3img img{aspect-ratio:1/1.02;object-fit:cover;object-position:50% 12%}
.poster3 .p3nm{margin-top:-4px;padding:0 18px}
.poster3 .p3nm b{font-size:15px}
.poster3 .p3nm .pv.xsw,.poster3 .p3nm .pv.xsw svg{width:56px;height:56px}
.poster3 .p3nm .pv.xsw{margin:-6px 0}
.poster3 .p3dt{margin-top:8px;font-size:15px}
.poster3 .p3tm{margin-top:8px;padding:3px 16px 5px}
.poster3 .p3tm b{font-size:26px}
.poster3 .p3cd{margin-top:10px;transform:scale(.88);transform-origin:center}
.poster3 .p3ch{margin-top:6px;transform:scale(.92)}
/* v358 time sits in the date line; photo a bit shorter */
.poster3 .p3dt em{font-style:normal;color:#f6dc90;font-weight:900;margin-inline-start:4px;padding:1px 9px;border:1px solid #c9a24d;background:#17120a;border-radius:6px;font-size:16px}
.poster3 .p3img img{aspect-ratio:1/.9;object-position:50% 14%}
.poster3 .p3cd{margin-top:8px;transform:scale(.84)}
.poster3 .p3ch{margin-top:2px;transform:scale(.88)}
.poster3{padding-bottom:12px}
.poster3 .p3dt em{border:0;background:none;padding:0;border-radius:0;font-size:17px;margin-inline-start:6px}
/* v368 luxe gold frame for photo posters */
.poster3,.poster3.feature{border:1.5px solid transparent !important;border-radius:22px;background:linear-gradient(#06060f,#06060f) padding-box,linear-gradient(145deg,#f8e3a0 0%,#a97f33 28%,#f1d27d 52%,#8a6522 76%,#f4dc92 100%) border-box !important;box-shadow:0 12px 30px rgba(0,0,0,.5),0 0 24px rgba(233,196,106,.16)}
.poster3::after{display:block !important;content:"";position:absolute;inset:6px;width:auto;height:auto;border:1px solid rgba(233,196,106,.32);border-radius:17px;background:none;animation:none;transform:none;opacity:1;pointer-events:none;z-index:3}
.poster3 .p3img img{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 88%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 88%,transparent 100%)}
.poster3::after{top:6px !important;left:6px !important;right:6px !important;bottom:6px !important;height:auto !important;width:auto !important;background:none !important;box-shadow:none !important}
.poster3::after{top:3px !important;left:3px !important;right:3px !important;bottom:3px !important;border-radius:19px;border-color:rgba(233,196,106,.38)}
/* v379 settings footer: small slowly turning logo, version line, then a clear gap before the hint */
.dfoot{gap:0;padding:14px 8px 8px}
.dfoot img{width:30px;height:30px;border-radius:9px;box-shadow:0 4px 10px -5px rgba(224,83,0,.5);animation:dlogo 70s linear infinite;will-change:transform}
.dfoot .dver{margin:9px 0 0;font-size:11px;color:var(--muted)}
.dfoot em{margin-top:16px;font-size:10.5px}
@keyframes dlogo{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.dfoot img{animation:none}}
.dfoot.dbk img{animation:none}
/* v380 only the arrows + ball turn; the orange tile stays put */
.dfoot img{animation:none !important}
.dfoot .dlogo{position:relative;display:block;width:30px;height:30px;flex:none}
.dfoot .dlogo img{position:absolute;display:block;border-radius:0;box-shadow:none}
.dfoot .dlogo .lb{left:0;top:0;width:100%;height:100%;filter:drop-shadow(0 4px 6px rgba(224,83,0,.35))}
.dfoot .dlogo .ls{left:5.08%;top:5.08%;width:89.84%;height:89.84%;animation:dlogo 60s linear infinite;will-change:transform}
@media (prefers-reduced-motion:reduce){.dfoot .dlogo .ls{animation:none !important}}
/* v381 close/back zone: a visible soft panel with a handle bar, so the touchable grey area is obvious; the logo turns calmly but visibly */
.dfoot{margin:6px 10px 10px;width:auto;border-radius:20px;background:linear-gradient(180deg,rgba(224,83,0,.06),rgba(224,83,0,.015));border:1px solid rgba(224,83,0,.14);position:relative}
.dfoot::before{content:"";display:block;width:40px;height:4px;border-radius:4px;background:linear-gradient(90deg,#ff9b4a,#e05300);opacity:.55;margin:0 0 12px}
.dfoot:active{background:rgba(224,83,0,.1)}
.dfoot em{max-width:270px;text-align:center;line-height:1.7;margin-top:12px}
.dfoot .dlogo .ls{animation-duration:18s}
.dfoot.dbk::before{width:40px;height:4px;margin:0 0 10px;background:linear-gradient(90deg,#ff9b4a,#e05300);opacity:.55}
.wsat .wsc{grid-template-columns:repeat(4,1fr)}
@media (max-width:340px){.wsat .wsc{grid-template-columns:repeat(2,1fr)}}
.wsat .wsn{margin:7px 2px 0;font-size:9.5px;line-height:1.5;color:var(--muted);text-align:center;direction:rtl}

/* Glass rails: two thin luxurious gold hairlines with a soft glass sheen mark the inner space of the app on both sides */
html::before,html::after{content:"";position:fixed;top:0;bottom:0;width:11px;z-index:9;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 82%,transparent 100%)}
html::before{left:0;background:linear-gradient(90deg,rgba(232,176,70,.0) 0,rgba(232,176,70,.0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px)}
html::after{right:0;background:linear-gradient(270deg,rgba(232,176,70,.0) 0,rgba(232,176,70,.0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px)}
html.splashing::before,html.splashing::after{display:none}
@media (min-width:760px){html::before,html::after{display:none}}
/* top rail, same glass-gold hairline as the sides */
body::after{content:"";position:fixed;left:0;right:0;top:env(safe-area-inset-top,0px);height:11px;z-index:11;pointer-events:none;
  background:linear-gradient(180deg,rgba(232,176,70,0) 0,rgba(232,176,70,0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
html.splashing body::after{display:none}
@media (min-width:760px){body::after{display:none}}

/* in-app news reader: Dari summary of a foreign article, with its source */
.nread{text-align:start}
.nread .whead b{font-size:16px;line-height:1.7}
.nmeta{margin:6px 2px 0;font-size:11.5px;color:var(--muted);text-align:center}
.nbody{margin:12px 2px 6px;font-size:14.5px;line-height:2;color:var(--ink)}
.nbody p{margin:0 0 10px}
.nbody .nl{height:14px;border-radius:7px;background:linear-gradient(90deg,var(--surface-2),var(--line),var(--surface-2));background-size:200% 100%;animation:nlsh 1.2s linear infinite;margin:0 0 11px}
@keyframes nlsh{to{background-position:-200% 0}}
.nbody .nnote{font-size:11.5px;color:var(--muted)}
.nsrcl{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px 0 4px;padding:11px 12px;border-radius:12px;border:1px solid color-mix(in srgb,var(--oranje) 40%,var(--line));color:var(--oranje);font-weight:700;font-size:13px;text-decoration:none}
.nsrcl:active{transform:scale(.985)}

.nsrcl.sm{border:0;padding:6px 10px;font-weight:600;font-size:12px;color:var(--muted)}
.nw small .trb{font-style:normal;font-size:9.5px;font-weight:700;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:0 5px;margin-inline-start:6px;line-height:1.5}
.pl-v.tg{aspect-ratio:auto;height:min(68vh,520px)}
.wsat .wsc.ll{margin-bottom:6px}
.wsat .wsc .llc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:9px 3px;border-radius:11px;background:var(--surface);border:1px solid var(--line);text-align:center;min-width:0;color:var(--ink);text-decoration:none}
.wsat .wsc .llc b{font-size:11px;font-weight:800;line-height:1.3}
.wsat .wsc .llc small{font-size:9.5px;color:var(--win);font-weight:700}
.wsat .wsc .llc.ok{border-color:color-mix(in srgb,var(--win) 50%,var(--line));background:color-mix(in srgb,var(--win) 7%,var(--surface))}
.wsat .wsn.llh{text-align:right;font-weight:700;margin:8px 2px 5px}
.llbox .llgo{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px;padding:12px 13px;border-radius:12px;background:linear-gradient(135deg,var(--accent,#ee6c00),#c85400);color:#fff;text-decoration:none}
.llbox .llgo span{display:flex;flex-direction:column;gap:2px}
.llbox .llgo b{font-size:13px;font-weight:800;line-height:1.5}
.llbox .llgo small{font-size:10.5px;opacity:.92}
.llbox .llgo svg{width:26px;height:26px;flex:none;padding:7px;border-radius:50%;background:rgba(255,255,255,.22);color:#fff}
#wsheet .wlist .llbox .llgo{background:linear-gradient(135deg,#f07a10,#c85400);color:#fff;border:0;min-height:0;box-shadow:none}
#wsheet .wlist .llbox .llgo b{color:#fff;font-size:13px}
#wsheet .wlist .llbox .llgo small{color:#fff;opacity:.92;font-size:10.5px}
#wsheet .wlist .llbox .wsc .llc{min-height:0;height:auto;padding:9px 3px;flex-direction:column;justify-content:center}
#wsheet .wlist .llbox .wsc .llc b{font-size:11px;color:var(--ink)}
#wsheet .wlist .llbox .wsc{grid-template-columns:repeat(3,1fr)}

/* watch sheet: two columns */
#wsheet .wlist .wcols{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start;list-style:none}
#wsheet .wlist .wcol{display:flex;flex-direction:column;gap:6px;min-width:0}
#wsheet .wlist .wcol .wsep{margin:2px 0 0;font-size:11.5px}
#wsheet .wlist .wcol .wsep small{font-size:9.5px}
#wsheet .wlist .wcol li{list-style:none}
#wsheet .wlist .wcol a{flex-wrap:wrap;min-height:0;padding:7px 8px;gap:6px}
#wsheet .wlist .wcol a b{font-size:12px}
#wsheet .wlist .wcol a small{font-size:9.5px;line-height:1.5}
#wsheet .wlist .wcol a img{width:22px;height:22px}


/* Liveland hero card + channel names */
#wsheet .wlist .wcols{grid-template-columns:1.18fr 1fr}
#wsheet .wlist .llx{border-radius:16px;overflow:hidden;border:1px solid color-mix(in srgb,var(--oranje) 45%,var(--line));background:linear-gradient(160deg,color-mix(in srgb,var(--oranje) 12%,var(--surface)),var(--surface));box-shadow:0 4px 14px color-mix(in srgb,var(--oranje) 18%,transparent)}
#wsheet .wlist .wcol a.llmain{display:flex;flex-wrap:nowrap;align-items:center;gap:9px;padding:13px 11px;border:0;border-radius:0;background:transparent;box-shadow:none;min-height:66px}
#wsheet .wlist .wcol a.llmain img{width:34px;height:34px;border-radius:10px}
#wsheet .wlist .wcol a.llmain b{font-size:15px;font-weight:900;letter-spacing:.2px}
#wsheet .wlist .wcol a.llmain small{font-size:10px;line-height:1.55;color:var(--muted)}
#wsheet .wlist .wcol a.llmain .wplay{display:flex;width:26px;height:26px;color:#fff;background:var(--oranje);border-color:var(--oranje)}
#wsheet .wlist .llch{padding:7px 10px 9px;border-top:1px dashed color-mix(in srgb,var(--oranje) 35%,var(--line));background:color-mix(in srgb,var(--oranje) 5%,transparent)}
#wsheet .wlist .llch>small{display:block;font-size:9.5px;font-weight:800;color:var(--muted);margin-bottom:4px}
#wsheet .wlist .llch p{margin:0;display:flex;flex-wrap:wrap;gap:3px 4px}
#wsheet .wlist .llch q{quotes:none;font-size:9.5px;font-weight:600;line-height:1.4;padding:2px 6px;border-radius:99px;background:var(--surface);border:1px solid var(--line);color:var(--ink)}
#wsheet .wlist .llch q.on{border-color:var(--win);color:var(--win);font-weight:800}
#wsheet .wlist .wcol a.wsm{padding:5px 7px;gap:5px}
#wsheet .wlist .wcol a.wsm img{width:18px;height:18px}
#wsheet .wlist .wcol a.wsm b{font-size:11.5px}
#wsheet .wlist .wcol a.wsm small{font-size:9px;line-height:1.4}

/* compact modern play marks */
#wsheet .wlist .wcol a:not(.llmain) .wplay{display:inline-flex;flex:none;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;margin-inline-start:auto;
  color:var(--oranje);background:color-mix(in srgb,var(--oranje) 12%,transparent);border:0;animation:none;box-shadow:none}
#wsheet .wlist .wcol a:not(.llmain) .wplay svg{width:8px;height:8px}
#wsheet .wlist .wcol a.llmain .wplay{flex:none;width:28px;height:28px;min-width:28px;aspect-ratio:1;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:0;
  color:#fff;background:linear-gradient(145deg,#ffa94d,var(--oranje) 55%,#d9570a);box-shadow:0 0 0 3px color-mix(in srgb,var(--oranje) 16%,transparent),0 3px 8px color-mix(in srgb,var(--oranje) 38%,transparent);animation:none}
#wsheet .wlist .wcol a.llmain .wplay svg{width:12px;height:12px;margin-inline-start:1px}

/* settings drawer: full width, two columns (general right, info left), version card below */
.dpanel{width:100%}
#dmain .dcols{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start;padding:0 2px}
#dmain .dcolx{min-width:0}
#dmain .dcolx .dcap{font-size:11px;margin:6px 2px 6px}
#dmain .dcolx .dlist{margin-bottom:0}
#dmain .dcolx .dlist button{padding:10px 9px;gap:8px}
#dmain .dcolx .dlist i{width:26px;height:26px;border-radius:8px}
#dmain .dcolx .dlist i svg{width:15px;height:15px}
#dmain .dcolx .dlist span{font-size:13px;line-height:1.35}
#dmain .dcolx .dlist em{font-size:10.5px}
#dmain .dcolx .dlist .chev{display:none}
#dmain .dfoot{flex:none;min-height:0;margin-top:12px;justify-content:center;padding:14px 12px}

/* live clock in the settings header */
.dhead .dclock{display:inline-flex;align-items:center;gap:6px;margin-inline:auto;padding:4px 11px;border-radius:99px;font-size:12.5px;font-weight:800;letter-spacing:.02em;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px rgba(20,24,40,.05);font-variant-numeric:tabular-nums}
.dhead .dclock i{width:6px;height:6px;border-radius:50%;background:var(--oranje);box-shadow:0 0 0 3px color-mix(in srgb,var(--oranje) 20%,transparent);animation:pulse 1.6s infinite}
/* a thin strip of the app stays visible on the right */
.dpanel{width:calc(100% - 16px);box-shadow:6px 0 24px -8px rgba(0,0,0,.35)}

.dhead .dclock .dcl{display:flex;flex-direction:column;align-items:center;line-height:1.15;min-width:84px;transition:opacity .16s}
.dhead .dclock .dcl.sw{opacity:0}
.dhead .dclock small{font-size:9px;font-weight:700;color:var(--muted);letter-spacing:0}
.dhead .dclock time{font-size:12.5px}

/* slimmer clock pill */
.dhead .dclock{padding:2px 9px;gap:5px;box-shadow:none;background:color-mix(in srgb,var(--surface) 80%,transparent)}
.dhead .dclock i{width:5px;height:5px;box-shadow:0 0 0 2px color-mix(in srgb,var(--oranje) 18%,transparent)}
.dhead .dclock .dcl{min-width:70px;line-height:1.1}
.dhead .dclock small{font-size:8.5px}
.dhead .dclock time{font-size:11px;font-weight:800}

/* settings header: no close cross (tap anywhere empty closes); the clock sits small in a refined frame at the left */
.dhead [data-dclose]{display:none}
.dhead .dclock{margin-inline:auto 0;padding:3px 10px;border:1px solid transparent;border-radius:12px;
  background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(135deg,#ffb066,#e05300 60%,#ffcf9e) border-box;box-shadow:0 2px 8px -3px color-mix(in srgb,var(--oranje) 45%,transparent)}

/* settings footer: no tinted box; sits at the bottom of the page */
#dmain .dfoot{background:transparent;border:0;box-shadow:none;border-radius:0;margin:auto 0 0;padding:18px 12px calc(14px + env(safe-area-inset-bottom));flex:1 1 auto;justify-content:flex-end}
#dmain .dfoot::before{display:none}
#dmain .dfoot:active{background:transparent}
#dmain .dfoot em{margin-top:6px;font-size:11.5px;font-weight:600;color:var(--muted);opacity:.9}

/* settings: more air under the header; the clock becomes a small modern one-line chip */
#dmain .dcols{margin-top:16px}
.dpanel .dhead{padding:0 0 8px}
.dhead .dclock{padding:0 9px 0 8px;gap:6px;height:24px;border:0;border-radius:99px;background:color-mix(in srgb,var(--oranje) 9%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 26%,transparent)}
.dhead .dclock i{width:5px;height:5px;box-shadow:0 0 0 2px color-mix(in srgb,var(--oranje) 20%,transparent)}
.dhead .dclock .dcl{flex-direction:row-reverse;align-items:baseline;gap:6px;min-width:0;line-height:1}
.dhead .dclock small{font-size:9.5px;font-weight:700;color:var(--muted)}
.dhead .dclock time{font-size:11.5px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.01em;direction:ltr}

/* ---- poster v2: text sits ON the picture (less cropping), each match gets its own type and colour ---- */
.poster3 .p3img img{aspect-ratio:var(--ar,1/.9);object-fit:cover;object-position:50% 0;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 6%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 6%,#000 100%)}
.poster3 .p3img::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--gh,58px);background:linear-gradient(to top,#06060f 0,rgba(6,6,15,.9) 35%,rgba(6,6,15,.5) 70%,transparent 100%);pointer-events:none}
.poster3 .p3nm,.poster3 .p3dt,.poster3 .p3cd,.poster3 .p3ch{position:relative;z-index:2}
.poster3 .p3nm{margin-top:calc(var(--ov,34px) * -1)}
.poster3 .p3nm b{font-family:var(--pf,Vazirmatn,sans-serif);font-weight:var(--pw,900);font-size:var(--pn,17px);color:var(--pc1,#fff);letter-spacing:var(--pls,0);text-shadow:0 2px 12px rgba(0,0,0,.85),0 0 22px var(--pg,transparent)}
.poster3 .p3dt{font-family:var(--pf2,Vazirmatn,sans-serif);color:var(--pc1,#fff);text-shadow:0 2px 10px rgba(0,0,0,.8)}
.poster3 .p3dt em{color:var(--pa,#f6dc90);font-family:var(--pf,Vazirmatn,sans-serif);font-size:var(--pt,19px);text-shadow:0 0 16px var(--pg,transparent),0 2px 8px rgba(0,0,0,.8)}
.poster3 .cd b{color:var(--pa,#f6dc90)}
.poster3 .p3nm i.xsw{filter:drop-shadow(0 3px 7px rgba(0,0,0,.6)) drop-shadow(0 0 12px var(--pg,rgba(255,190,80,.4)))}
.poster3 .pbadge{background:linear-gradient(135deg,var(--pa2,#f6dc90),var(--pa,#d9b45e));color:#16100a}
/* golden hour: amber, serif */
.th-amb{--pf:"TFMarkazi",Vazirmatn,serif;--pf2:Vazirmatn,sans-serif;--pw:700;--pn:25px;--pt:26px;--pc1:#fff4e0;--pa:#ffb347;--pa2:#ffe0a8;--pg:rgba(255,160,60,.55)}
/* ice night: cool blue, serif */
.th-ice{--pf:"TFMarkazi",Vazirmatn,serif;--pw:700;--pn:25px;--pt:26px;--pc1:#f2f8ff;--pa:#8fd3ff;--pa2:#d6efff;--pg:rgba(110,190,255,.6)}
/* stadium orange: heavy sans */
.th-org{--pf:Vazirmatn,sans-serif;--pw:900;--pn:17px;--pt:19px;--pc1:#fff;--pa:#ff9a3d;--pa2:#ffd2a1;--pg:rgba(255,140,40,.55)}
/* rose red: heavy sans, wide */
.th-ros{--pf:Vazirmatn,sans-serif;--pw:800;--pn:16.5px;--pls:.2px;--pt:19px;--pc1:#fff0f2;--pa:#ff6b81;--pa2:#ffc2cc;--pg:rgba(255,80,110,.55)}
/* gold diamond: serif, champagne */
.th-gld{--pf:"TFMarkazi",Vazirmatn,serif;--pw:700;--pn:25px;--pt:26px;--pc1:#fffaf0;--pa:#f0c96a;--pa2:#fff0b8;--pg:rgba(240,200,100,.55)}
/* champagne ribbons: medium sans */
.th-chm{--pf:Vazirmatn,sans-serif;--pw:800;--pn:16.5px;--pt:19px;--pc1:#fffdf5;--pa:#ffe08a;--pa2:#fff3c4;--pg:rgba(255,220,130,.5)}
/* burgundy: serif, rose-gold */
.th-bur{--pf:"TFMarkazi",Vazirmatn,serif;--pw:700;--pn:25px;--pt:26px;--pc1:#fff2ee;--pa:#f2a58a;--pa2:#ffd9cb;--pg:rgba(255,130,100,.5)}
.poster3 .p3nm i.xsw{background:radial-gradient(circle,rgba(6,6,15,.78) 0,rgba(6,6,15,.45) 45%,transparent 70%);border-radius:50%}
/* posters a little wider than the other cards (there is room on both sides) */
.poster3{margin-inline:-9px !important}
/* tighter poster: photo moves up toward the badge and league mark (without touching them), less empty space at the bottom */
.poster3 .p3img{margin-top:-26px}
.poster3 .p3top{position:relative;z-index:4}
.poster3 .p3dt{margin-top:6px}
.poster3 .p3cd{margin-top:5px}
.poster3 .p3ch{margin-top:0}
.poster3{padding-bottom:7px}

/* poster v3: every photo is cropped/padded individually so the heads sit just under the badge and the text starts right below the chins */
.poster3{--ov:150px}
.poster3 .p3img{position:relative;height:0;padding-bottom:calc(var(--tv,80) * 1% + var(--ov));overflow:hidden;margin-top:-20px;line-height:0}
.poster3 .p3img img{position:absolute;left:0;top:0;width:100%;height:auto;aspect-ratio:auto;margin-top:calc(var(--tcn,0) * -1%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 7%,#000 80%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 7%,#000 80%,transparent 100%)}
.poster3 .p3img::after{height:calc(var(--ov) + 12px)}
.poster3 .p3nm{margin-top:calc(var(--ov) * -1)}

/* v490 compact squads: one line per player, both teams side by side */
.sqc .sqh{margin:8px 0 1px;font-size:10px;letter-spacing:.2px;padding-top:6px;border-top:1px solid color-mix(in srgb,var(--line) 60%,transparent)}
.sqc .sqh:first-of-type{border-top:0;padding-top:0}
.sqc .lur{gap:14px;padding:0}
.sqc .lur + .lur{border-top:0}
.sqc .lu{display:block;padding:1.5px 0;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sqc .lu b{font-size:12px;font-weight:700;white-space:nowrap;display:inline}
.sqc .pvnote{margin-top:8px;font-size:9.5px}

/* v492 head-to-head: only wins / draws / wins, no list of results */
.h2x{padding:16px 14px 14px;margin-bottom:0;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--oranje) 5%,var(--surface)))}
.h2x .h2t{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:14px}
.h2x .h2k{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;text-align:center}
.h2x .h2k .cr .crest{width:30px;height:30px}
.h2x .h2k b{font-size:30px;line-height:1.1;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.h2x .h2k span{font-size:11px;font-weight:700;color:var(--muted)}
.h2x .h2k.mid b{font-size:22px;color:var(--muted)}
.h2x .h2b{height:7px}

/* v496 small clock pill at the left of the header */
.hclk{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 9px;border-radius:999px;background:color-mix(in srgb,var(--oranje) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--oranje) 22%,var(--line));direction:ltr}
.hclk i{width:5px;height:5px;border-radius:50%;background:var(--oranje);box-shadow:0 0 0 2px color-mix(in srgb,var(--oranje) 20%,transparent);animation:hclkp 2s ease-in-out infinite}
.hclk .hckb{display:flex;flex-direction:column;align-items:center;line-height:1.1;min-width:44px;transition:opacity .16s}
.hclk .hckb.hswp{opacity:0}
.hclk time{font-size:13px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:.2px;direction:rtl}
.hclk small{font-size:8.5px;font-weight:700;color:var(--muted);direction:rtl}
@keyframes hclkp{50%{opacity:.35}}

/* v497 clock pill like the settings one: dot · time · city on the left of the time, one row */
.hclk{direction:rtl;gap:7px;padding:5px 11px;box-shadow:0 1px 2px rgba(20,24,40,.05)}
.hclk .hckb{flex-direction:row;align-items:baseline;gap:7px;min-width:0;line-height:1}
.hclk time{font-size:13.5px;font-weight:800;order:1}
.hclk small{font-size:9.5px;font-weight:700;order:2;min-width:50px;text-align:start;white-space:nowrap}
/* v498 compact pill, pushed to the left edge */
.tools{flex:none}
.hclk{flex:none;width:max-content;padding:4px 10px;gap:6px}
.hclk .hckb{gap:6px}
.hclk small{min-width:0;font-size:9px}
.hclk time{font-size:13px}
/* v499 header clock = exactly the settings clock pill */
.hclk{display:inline-flex;align-items:center;direction:rtl;gap:6px;height:24px;padding:0 9px 0 8px;border:0;border-radius:99px;background:color-mix(in srgb,var(--oranje) 9%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 26%,transparent);width:max-content;flex:none;margin:0}
.hclk i{width:5px;height:5px;border-radius:50%;background:var(--oranje);box-shadow:0 0 0 2px color-mix(in srgb,var(--oranje) 20%,transparent);animation:pulse 1.6s infinite}
.hclk .hckb{display:flex;flex-direction:row;align-items:baseline;gap:6px;min-width:0;line-height:1}
.hclk small{font-size:9.5px;font-weight:700;color:var(--muted);order:0;min-width:0}
.hclk time{font-size:11.5px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.01em;direction:ltr;color:var(--ink);order:0}

/* v500 settings page carries the same gold hairline frame as the main page */
.drawer::before,.drawer::after{content:"";position:absolute;top:0;bottom:0;width:11px;z-index:72;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 82%,transparent 100%)}
.drawer::before{left:0;background:linear-gradient(90deg,rgba(232,176,70,0) 0,rgba(232,176,70,0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px)}
.drawer::after{right:0;background:linear-gradient(270deg,rgba(232,176,70,0) 0,rgba(232,176,70,0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px)}
.dfr{position:absolute;left:0;right:0;top:env(safe-area-inset-top,0px);height:11px;z-index:72;pointer-events:none;
  background:linear-gradient(180deg,rgba(232,176,70,0) 0,rgba(232,176,70,0) 3px,rgba(222,168,62,.75) 3.5px,rgba(222,168,62,.75) 4.5px,rgba(240,190,90,.16) 5px,rgba(240,190,90,0) 11px);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
@media (min-width:760px){.drawer::before,.drawer::after,.dfr{display:none}}
/* settings sub-pages: no grey/pink box at the bottom, just a small formal hint; the whole empty area below stays tappable */
.dpage .dfoot.dbk{background:transparent;border:0;box-shadow:none;border-radius:0;margin:auto 0 0;width:100%;flex:1 1 auto;min-height:72px;justify-content:flex-end;padding:18px 12px calc(14px + env(safe-area-inset-bottom))}
.dpage .dfoot.dbk::before{display:none}
.dpage .dfoot.dbk:active{background:transparent}
.dpage .dfoot.dbk em{max-width:none;margin:0;font-size:11px;font-weight:500;line-height:1.8;color:var(--muted);opacity:.75;letter-spacing:0}

/* v517 TV / wide screens: the big-match poster is capped so it fits in one screen height (list and remote focus stay in view) */
@media (min-aspect-ratio:5/4){html.fit .poster3{max-width:calc(var(--vhc,500) * .6px);margin-left:auto;margin-right:auto}html.fit .fcar .fdots{justify-content:center}}

/* v526: compact squads (one row per position), recent-form columns, listed head-to-head */
.sqc .sqh{margin:7px 0 2px;font-size:10px}
.sqrow{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:5px;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent)}
.sqcell{display:flex;flex-wrap:wrap;gap:1px 0;font-size:10.5px;font-weight:700;line-height:1.55;color:var(--ink);align-content:flex-start}
.sqcell span{white-space:nowrap}
.sqcell span:not(:last-child)::after{content:"·";margin:0 4px;color:var(--muted);font-weight:900}
.fcols{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px 12px}
.fcol{display:flex;flex-direction:column;gap:3px;min-width:0}
.fcol>b{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;padding-bottom:5px;border-bottom:1px solid var(--line);margin-bottom:2px}
.fcol>b .crest{width:18px;height:18px}
.fr{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;min-width:0}
.fr i{flex:none;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;font-style:normal;font-size:9px;font-weight:900;color:#fff;background:var(--muted)}
.fr.w i{background:var(--win)}.fr.l i{background:var(--loss,#dc2626)}
.fr>span{flex:1;display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.fr .crest{width:15px;height:15px;flex:none}
.fr small{flex:none;font-size:10.5px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}
.h2l{margin-top:8px;padding:4px 10px}
.hm5{display:grid;grid-template-columns:56px 1fr auto 1fr;align-items:center;gap:6px;padding:5px 0;font-size:11.5px;font-weight:700}
.hm5+.hm5{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.hm5 small{font-size:9.5px;color:var(--muted);font-weight:600;min-width:52px}
.hm5>span{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.hm5>span:last-child{justify-content:flex-end}
.hm5 .crest{width:15px;height:15px;flex:none}
.hm5 b{font-size:12.5px;font-weight:900;font-variant-numeric:tabular-nums;text-align:center}
.fcol>b img.crest.flag:not(.dpc):not(.p2c){width:18px}
.fr img.crest.flag:not(.dpc):not(.p2c),.hm5 img.crest.flag:not(.dpc):not(.p2c){width:15px}
.fr .crest,.hm5 .crest{height:auto!important}

/* v527: squads as one table per team */
.sqts{display:grid;gap:10px}
.sqt{border:1px solid color-mix(in srgb,var(--oranje) 22%,var(--line));border-radius:16px;background:var(--surface);overflow:hidden;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 6px 18px -12px rgba(0,0,0,.25)}
.sqt-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;background:linear-gradient(135deg,color-mix(in srgb,var(--oranje) 14%,var(--surface)),var(--surface-2));border-bottom:1px solid color-mix(in srgb,var(--oranje) 25%,var(--line))}
.sqt-h span{display:flex;align-items:center;gap:8px;min-width:0}
.sqt-h b{font-size:14px;font-weight:900}
.sqt-h .crest{width:22px;height:auto!important}
.sqt-h small{font-size:10.5px;font-weight:800;color:var(--oranje);background:var(--oranje-soft);border-radius:999px;padding:2px 9px;white-space:nowrap}
.sqt-r{display:grid;grid-template-columns:82px 1fr;align-items:start;gap:0}
.sqt-r+.sqt-r{border-top:1px solid color-mix(in srgb,var(--line) 70%,transparent)}
.sqt-k{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;height:100%;background:color-mix(in srgb,var(--surface-2) 70%,transparent);border-inline-end:1px solid color-mix(in srgb,var(--line) 70%,transparent)}
.sqt-k b{font-size:11px;font-weight:900;color:var(--ink)}
.sqt-k em{font-style:normal;font-size:10px;font-weight:800;color:var(--oranje);background:var(--oranje-soft);border-radius:999px;min-width:18px;text-align:center;padding:0 5px}
.sqt-n{display:flex;flex-wrap:wrap;gap:3px 0;padding:8px 10px;font-size:11px;font-weight:700;line-height:1.55;align-content:flex-start}
.sqt-n span{white-space:nowrap}
.sqt-n span:not(:last-child)::after{content:"·";margin:0 5px;color:var(--oranje);font-weight:900}
.sqts+.pvnote{margin-top:8px}

/* v528: compact table comparison */
.cmpc{padding:4px 14px 8px}
.cmpc .pvth{padding:6px 0 7px;font-size:13px;font-weight:900}
.cmpc .pvth img.crest.flag:not(.dpc):not(.p2c),.cmpc .pvth .crest{width:22px;height:auto!important}
.cmpc .pvr{padding:6px 0 2px;gap:3px 10px}
.cmpc .pvr+.pvr{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.cmpc .pvr>span{font-size:10.5px;font-weight:800;letter-spacing:.1px}
.cmpc .pvr>b{font-size:14px}
.cmpc .pvb{gap:4px}
.cmpc .pvb>span{height:4px}

/* v529: head-to-head tidy */
.hm5{grid-template-columns:76px 1fr auto 1fr}
.hm5 small{white-space:nowrap;min-width:0}
.h2x{padding:12px 14px 12px}
.h2x .h2t{margin-bottom:10px}
.h2x .h2k b{font-size:24px}
.h2x .h2k .cr img.crest.flag:not(.dpc):not(.p2c),.h2x .h2k .cr .crest{width:26px;height:auto!important}
.h2x .h2k span{font-size:10.5px}

/* v530: clear win / draw / loss block */
.wdlr{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;padding:8px 0 6px;border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.wdlt{grid-column:1/-1;text-align:center;font-size:10.5px;font-weight:800;color:var(--muted)}
.wdl{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.wdl span{display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 0 4px;border-radius:11px;border:1px solid transparent}
.wdl b{font-size:17px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}
.wdl i{font-style:normal;font-size:9.5px;font-weight:800}
.wdl .w{background:color-mix(in srgb,var(--win) 13%,var(--surface));border-color:color-mix(in srgb,var(--win) 30%,transparent)}
.wdl .w b,.wdl .w i{color:var(--win)}
.wdl .d{background:var(--surface-2);border-color:var(--line)}
.wdl .d b,.wdl .d i{color:var(--muted)}
.wdl .l{background:color-mix(in srgb,var(--loss,#dc2626) 11%,var(--surface));border-color:color-mix(in srgb,var(--loss,#dc2626) 28%,transparent)}
.wdl .l b,.wdl .l i{color:var(--loss,#dc2626)}

/* v531: recent form as proper tables */
.ftabs{display:grid;gap:10px}
.ftab{border:1px solid color-mix(in srgb,var(--oranje) 22%,var(--line));border-radius:16px;background:var(--surface);overflow:hidden;box-shadow:0 6px 18px -12px rgba(0,0,0,.25)}
.fth{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:linear-gradient(135deg,color-mix(in srgb,var(--oranje) 14%,var(--surface)),var(--surface-2));border-bottom:1px solid color-mix(in srgb,var(--oranje) 25%,var(--line))}
.fth>span{display:flex;align-items:center;gap:8px;min-width:0}
.fth b{font-size:14px;font-weight:900}
.fth .crest,.fth img.crest.flag:not(.dpc):not(.p2c){width:22px;height:auto!important}
.fth small{display:flex;gap:5px}
.fth u{text-decoration:none;font-size:10px;font-weight:800;border-radius:999px;padding:2px 8px;white-space:nowrap}
.fth u.w{color:var(--win);background:color-mix(in srgb,var(--win) 14%,var(--surface))}
.fth u.d{color:var(--muted);background:var(--surface-2)}
.fth u.l{color:var(--loss,#dc2626);background:color-mix(in srgb,var(--loss,#dc2626) 12%,var(--surface))}
.ftr{display:grid;grid-template-columns:82px 1fr 34px 52px 44px;align-items:center;gap:6px;padding:6px 12px;font-size:11.5px;font-weight:700}
.ftr+.ftr{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.ftr small{font-size:10px;color:var(--muted);font-weight:600;white-space:nowrap}
.ftr>span{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ftr .crest,.ftr img.crest.flag:not(.dpc):not(.p2c){width:15px;height:auto!important;flex:none}
.ftr em{font-style:normal;font-size:10px;color:var(--muted);font-weight:700;text-align:center}
.ftr b{text-align:center;font-size:12.5px;font-weight:900;font-variant-numeric:tabular-nums}
.ftr i{font-style:normal;text-align:center;font-size:10px;font-weight:900;border-radius:999px;padding:2px 0}
.ftr.w i{color:var(--win);background:color-mix(in srgb,var(--win) 14%,var(--surface))}
.ftr.d i{color:var(--muted);background:var(--surface-2)}
.ftr.l i{color:var(--loss,#dc2626);background:color-mix(in srgb,var(--loss,#dc2626) 12%,var(--surface))}
.ftr.fhd{background:color-mix(in srgb,var(--surface-2) 75%,transparent);padding-block:4px}
.ftr.fhd small,.ftr.fhd span,.ftr.fhd em,.ftr.fhd b,.ftr.fhd i{font-size:9.5px;font-weight:800;color:var(--muted);background:none;padding:0}
.hhd{background:color-mix(in srgb,var(--surface-2) 75%,transparent);margin:-4px -10px 2px;padding:4px 10px;border-radius:14px 14px 0 0}
.hhd small,.hhd span,.hhd b{font-size:9.5px!important;font-weight:800;color:var(--muted)!important;justify-content:flex-start}
.hhd b{text-align:center}
.hhd span:last-child{justify-content:flex-end}

/* v532: modern comparison table */
.cmt{border:1px solid color-mix(in srgb,var(--oranje) 22%,var(--line));border-radius:16px;background:var(--surface);overflow:hidden;box-shadow:0 6px 18px -12px rgba(0,0,0,.25)}
.cmh,.cmr{display:grid;grid-template-columns:1fr 88px 1fr;align-items:center}
.cmh{padding:8px 10px;background:linear-gradient(135deg,color-mix(in srgb,var(--oranje) 14%,var(--surface)),var(--surface-2));border-bottom:1px solid color-mix(in srgb,var(--oranje) 25%,var(--line))}
.cmh span{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center}
.cmh b{font-size:13px;font-weight:900}
.cmh .crest,.cmh img.crest.flag:not(.dpc):not(.p2c){width:26px!important;height:auto!important}
.cmr{padding:0 10px;min-height:34px}
.cmr:nth-child(even){background:color-mix(in srgb,var(--surface-2) 55%,transparent)}
.cmr+.cmr{border-top:1px solid color-mix(in srgb,var(--line) 45%,transparent)}
.cmr span{text-align:center;font-size:10.5px;font-weight:800;color:var(--muted)}
.cmr b{justify-self:center;min-width:44px;text-align:center;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;padding:3px 8px;border-radius:999px;color:var(--ink)}
.cmr b.best{color:var(--oranje);background:var(--oranje-soft);font-weight:900;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 35%,transparent)}
.cmr.key b{font-size:16px}
.cmr.key{min-height:40px}
/* v533: smaller comparison box, points row stands out */
.cmh{padding:6px 10px}
.cmh span{gap:2px}
.cmh b{font-size:12px}
.cmh .crest,.cmh img.crest.flag:not(.dpc):not(.p2c){width:22px!important}
.cmr{min-height:27px;padding:0 8px}
.cmr b{font-size:12.5px;min-width:36px;padding:2px 7px}
.cmr span{font-size:10px}
.cmr.key{min-height:44px;background:linear-gradient(90deg,color-mix(in srgb,var(--oranje) 13%,var(--surface)),color-mix(in srgb,#f4c14e 18%,var(--surface)),color-mix(in srgb,var(--oranje) 13%,var(--surface)))!important;border-block:1px solid color-mix(in srgb,var(--oranje) 30%,var(--line))}
.cmr.key span{color:var(--oranje);font-size:11px;font-weight:900;letter-spacing:.2px}
.cmr.key b{font-size:21px;font-weight:900;min-width:52px;padding:2px 10px;color:var(--ink);background:none;box-shadow:none}
.cmr.key b.best{color:#fff;background:linear-gradient(135deg,#ffb04a,#e05300);box-shadow:0 4px 10px -4px rgba(224,83,0,.6)}

/* v534: every value in a pill, tighter spacing */
.cmr b{background:var(--surface-2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 85%,transparent)}
.cmr b.best{background:var(--oranje-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 35%,transparent)}
.cmr.key b{background:var(--surface);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--oranje) 25%,var(--line))}
.cmr.key b.best{background:linear-gradient(135deg,#ffb04a,#e05300);box-shadow:0 4px 10px -4px rgba(224,83,0,.6)}
.pvs{margin-top:12px}
.pvh{margin-bottom:6px;font-size:12px}
.sqt-h{padding:6px 10px}.sqt-h b{font-size:13px}.sqt-h .crest,.sqt-h img.crest.flag:not(.dpc):not(.p2c){width:20px!important}
.sqt-r{grid-template-columns:72px 1fr}
.sqt-k{padding:6px 8px}.sqt-k b{font-size:10.5px}
.sqt-n{padding:6px 8px;font-size:10.5px;line-height:1.5}
.fth{padding:6px 10px}.fth b{font-size:13px}
.ftr{padding:4px 10px;font-size:11px}
.ftr.fhd{padding-block:3px}
.h2x{padding:9px 12px 9px}.h2x .h2t{margin-bottom:7px}.h2x .h2k b{font-size:20px}
.h2x .h2k .cr img.crest.flag:not(.dpc):not(.p2c),.h2x .h2k .cr .crest{width:22px!important}
.hm5{padding:3px 0;font-size:11px}
.wclose{margin-top:6px}

/* v536: luxury line-up box */
.lux{border:1px solid color-mix(in srgb,#d9a94d 55%,var(--line));border-radius:16px;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,#d9a94d 7%,var(--surface)),var(--surface));box-shadow:0 0 0 3px color-mix(in srgb,#d9a94d 10%,transparent),0 8px 22px -14px rgba(0,0,0,.35)}
.luxh{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 12px;background:linear-gradient(135deg,color-mix(in srgb,#f6dc90 38%,var(--surface)),color-mix(in srgb,#d9a94d 14%,var(--surface)));border-bottom:1px solid color-mix(in srgb,#d9a94d 45%,var(--line))}
.luxh span{display:flex;align-items:center;gap:7px;min-width:0}
.luxh b{font-size:13px;font-weight:900}
.luxh .crest,.luxh img.crest.flag:not(.dpc):not(.p2c){width:21px!important;height:auto!important}
.luxh small{margin-inline-start:auto;font-size:10px;font-weight:800;color:#8a6417;background:color-mix(in srgb,#f6dc90 55%,var(--surface));border-radius:999px;padding:1px 8px}
.lpr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:3px 12px}
.lpr+.lpr{border-top:1px solid color-mix(in srgb,var(--line) 45%,transparent)}
.lp{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px;font-weight:700;line-height:1.7;white-space:nowrap}
.lp em{flex:none;display:grid;place-items:center;min-width:19px;height:19px;border-radius:50%;font-style:normal;font-size:9.5px;font-weight:900;color:#7a5712;background:color-mix(in srgb,#f6dc90 60%,var(--surface));border:1px solid color-mix(in srgb,#d9a94d 50%,transparent)}
.lp b{font-weight:800;overflow:hidden;text-overflow:ellipsis}
.lp i{flex:none;font-style:normal;font-size:10px}
.lp .mg sup{font-size:8px;font-weight:900;margin-inline-start:1px}
.lp .mc{display:inline-block;width:8px;height:11px;border-radius:2px;background:#f5c518}
.lp .mc.r{background:#dc2626}
.lp .mo{font-size:9px;font-weight:800;color:var(--loss,#dc2626);margin-inline-start:auto}
.lph{padding:5px 12px 2px;font-size:10px;font-weight:900;color:#8a6417;border-top:1px solid color-mix(in srgb,#d9a94d 40%,var(--line));background:color-mix(in srgb,#f6dc90 14%,var(--surface))}
.lsb{display:grid;gap:2px;font-size:10.5px;font-weight:700;line-height:1.5}
.lsb span{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.lsb i{font-style:normal;font-size:9px;font-weight:800;color:var(--muted)}
.lsb u{text-decoration:none;font-size:9px;color:var(--muted);font-weight:600}
.lsr{padding-block:4px}

/* v537 header clock: fixed-width pill, city and time glide to the next zone together */
.hclk .hckb{transition:opacity .22s ease,transform .22s ease,filter .22s ease;will-change:opacity,transform}
.hclk .hckb.hswp{opacity:0;transform:translateY(-6px);filter:blur(1.5px)}
.hclk .hckb.hin{animation:hckin .32s cubic-bezier(.2,.8,.2,1)}
@keyframes hckin{from{opacity:0;transform:translateY(6px);filter:blur(1.5px)}to{opacity:1;transform:none;filter:none}}
.hclk time{min-width:52px;text-align:center}
.hclk small{min-width:62px;text-align:start;white-space:nowrap}
/* v538 smaller header clock, clear gap from the title */
.hclk{height:21px;padding:0 8px 0 7px;gap:5px}
.hclk .hckb{gap:5px}
.hclk time{font-size:10.5px;min-width:46px}
.hclk small{font-size:8.5px;min-width:52px}
.hclk i{width:4px;height:4px}
.tools{margin-inline-start:auto;padding-inline-start:14px}

/* v539: line-up on a pitch */
.luxp{padding:8px;display:grid;gap:10px;background:linear-gradient(180deg,color-mix(in srgb,#d9a94d 9%,var(--surface)),var(--surface))}
.pith{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 2px 6px}
.pith>span{display:flex;align-items:center;gap:7px}
.pith>span>b{font-size:13.5px;font-weight:900}
.pith .crest,.pith img.crest.flag:not(.dpc):not(.p2c){width:21px!important;height:auto!important}
.pith small{font-size:10.5px;font-weight:900;color:#7a5712;background:color-mix(in srgb,#f6dc90 62%,var(--surface));border:1px solid color-mix(in srgb,#d9a94d 50%,transparent);border-radius:999px;padding:1px 9px;letter-spacing:.4px}
.pith em{margin-inline-start:auto;font-style:normal;font-size:10.5px;font-weight:700;color:var(--muted)}
.pith em b{color:var(--ink);font-weight:900}
.pit{position:relative;height:318px;border-radius:14px;overflow:hidden;background:repeating-linear-gradient(180deg,#14532d 0 12.5%,#176034 12.5% 25%);box-shadow:inset 0 0 0 1.5px rgba(246,220,144,.55),0 8px 18px -12px rgba(0,0,0,.5)}
.pit u{position:absolute;pointer-events:none;border:1.5px solid rgba(246,240,214,.35)}
.pit .pl1{left:30%;right:30%;bottom:-1px;height:17%;border-bottom:0}
.pit .pl2{left:14%;right:14%;bottom:-1px;height:34%;border-bottom:0}
.pit .pl3{left:34%;right:34%;top:-26%;height:42%;border-radius:50%}
.pp{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;width:25%;text-align:center}
.pp>i:first-child{position:relative;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;font-style:normal;font-size:10.5px;font-weight:900;color:#4a3408;background:linear-gradient(135deg,#fff3c4,#e2b24c);box-shadow:0 2px 5px rgba(0,0,0,.4),0 0 0 1.5px rgba(255,255,255,.7)}
.pp b{font-size:9.5px;font-weight:800;line-height:1.25;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.85);max-width:100%;word-break:break-word}
.pp .mg,.pp .mo{position:absolute;font-size:9px;line-height:1}
.pp .mg{top:-3px;inset-inline-start:calc(50% + 7px)}
.pp .mc{position:absolute;top:-2px;inset-inline-end:calc(50% + 8px);width:6px;height:9px;border-radius:1.5px;background:#f5c518}
.pp .mc.r{background:#dc2626}
.pp .mo{top:10px;inset-inline-start:calc(50% + 8px);font-style:normal;font-size:8px;font-weight:900;color:#ffb4b4;text-shadow:0 1px 2px #000}
.luxp .lph{margin:0 -8px;border-top:1px solid color-mix(in srgb,#d9a94d 40%,var(--line))}
.luxp .lsr{padding-inline:2px}

.pp .mg,.pp .mo{background:none;box-shadow:none;width:auto;height:auto;display:block}

/* v541: compact, clearer pitch line-up: row labels (GK / defenders / midfielders / forwards) */
.luxp{gap:8px;padding:7px}
.pith{padding:0 2px 4px}
.pit{height:228px;border-radius:12px}
.pp{width:21%;gap:1px}
.pp>i:first-child{width:19px;height:19px;font-size:9.5px}
.pp b{font-size:8.6px;line-height:1.2}
.pp .mg{top:-4px;inset-inline-start:calc(50% + 5px);font-size:8px}
.pp .mc{inset-inline-end:calc(50% + 6px);width:5px;height:8px}
.pp .mo{top:8px;inset-inline-start:calc(50% + 6px);font-size:7.5px}
.pp.gk>i:first-child{color:#eaf6ff;background:linear-gradient(135deg,#3b82c4,#16457a);box-shadow:0 2px 5px rgba(0,0,0,.45),0 0 0 1.5px rgba(190,225,255,.85)}
.pit .pr{position:absolute;left:3px;translate:0 -50%;writing-mode:vertical-rl;rotate:180deg;font-size:8px;font-weight:800;letter-spacing:.2px;color:rgba(255,243,196,.78);text-decoration:none;line-height:1;white-space:nowrap;pointer-events:none;padding:3px 1px;border-left:1.5px solid rgba(246,220,144,.55)}
.pit .pr.gk{color:rgba(200,228,255,.9);border-color:rgba(150,200,245,.7)}

/* v542: the two pitches side by side, each in real pitch proportions (68 x 105), attacking upwards */
.luxp{grid-template-columns:1fr 1fr;gap:8px 7px;padding:7px 6px}
.luxp>.lph,.luxp>.lsr{grid-column:1/-1}
.luxp .pitw{min-width:0}
.pith{gap:3px 5px;padding:0 1px 5px}
.pith>span{gap:5px;min-width:0}
.pith>span>b{font-size:11.5px;white-space:nowrap}
.pith .crest,.pith img.crest.flag:not(.dpc):not(.p2c){width:17px!important}
.pith small{font-size:9.5px;padding:0 7px}
.pith em{flex-basis:100%;margin:0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pit{height:auto;aspect-ratio:68/105;border-radius:10px;background:repeating-linear-gradient(180deg,#14532d 0 8.33%,#176034 8.33% 16.66%)}
.pit u{border-width:1.2px}
.pit .pl1{left:36.5%;right:36.5%;bottom:-1px;top:auto;height:5.2%;border-bottom:0;border-radius:0}
.pit .pl2{left:20.5%;right:20.5%;bottom:-1px;top:auto;height:16%;border-bottom:0;border-radius:0}
.pit .pl3{left:36.5%;right:36.5%;top:-1px;bottom:auto;height:5.2%;border-top:0;border-radius:0}
.pit .pl4{left:20.5%;right:20.5%;top:-1px;bottom:auto;height:16%;border-top:0;border-radius:0}
.pit .pl5{left:0;right:0;top:50%;height:0;border-width:1.2px 0 0}
.pit .pl6{left:36.5%;width:27%;aspect-ratio:1;top:50%;translate:0 -50%;height:auto;right:auto;border-radius:50%}
.pp{width:27%;gap:1px}
.pp>i:first-child{width:17px;height:17px;font-size:8.8px}
.pp b{font-size:7.7px;line-height:1.15}
.pp .mg{font-size:7px;top:-4px}
.pp .mo{font-size:6.5px;top:7px}
.pp .mc{width:4px;height:7px}
.pit .pr{left:2px;font-size:6.8px;padding:2px 1px;border-left-width:1.2px}
.pp b{font-size:7.3px;letter-spacing:-.1px}

/* v544: perspective pitch with gold name tags (no photos), one team per pitch */
.luxp{grid-template-columns:1fr;gap:10px;padding:8px 7px}
.pit.pit3{aspect-ratio:100/76;background:none;box-shadow:none;overflow:visible;border-radius:0}
.pit3>svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 6px 8px rgba(0,0,0,.28))}
.pith{padding:0 2px 5px}
.pith em{flex-basis:auto;margin-inline-start:auto;font-size:10px}
.ptg{position:absolute;transform:translate(-50%,-50%) scale(var(--sc,1));display:flex;align-items:center;gap:3px;padding:1px 5px 1px 2px;border-radius:3px;white-space:nowrap;font-size:8.6px;font-weight:800;line-height:1.35;color:#3a2506;background:linear-gradient(180deg,#f4d98f,#cf9a3e);box-shadow:0 1px 3px rgba(0,0,0,.5),inset 0 0 0 .6px rgba(255,246,210,.7)}
.ptg i{display:grid;place-items:center;min-width:12px;height:12px;border-radius:3px;font-style:normal;font-size:7.6px;font-weight:900;color:#f6e3a6;background:#3a2506}
.ptg b{font-weight:800}
.ptg.gk{color:#fff;background:linear-gradient(180deg,#5fa6e3,#1d5a9b);box-shadow:0 1px 3px rgba(0,0,0,.5),inset 0 0 0 .6px rgba(210,235,255,.75)}
.ptg.gk i{color:#1d5a9b;background:#fff}
.ptg .mg,.ptg .mo{position:absolute;background:none;box-shadow:none;min-width:0;height:auto;display:block;font-style:normal}
.ptg .mg{top:-8px;inset-inline-end:-3px;inset-inline-start:auto;font-size:8px}
.ptg .mo{bottom:-8px;top:auto;inset-inline-end:3px;inset-inline-start:auto;font-size:7px;color:#ffb4b4;text-shadow:0 1px 2px #000}
.ptg .mc{position:absolute;top:-5px;inset-inline-start:-3px;inset-inline-end:auto;width:5px;height:8px;border-radius:1px;background:#f5c518}
.ptg .mc.r{background:#dc2626}
.pit3 .pr{left:1.5%;font-size:6.8px;padding:2px 1px;color:#f6e3a6;background:rgba(0,0,0,.28);border-left:0;border-radius:2px}
.pit3 .pr.gk{color:#cfe8ff}

/* v545: the perspective pitches side by side again, small */
.luxp{grid-template-columns:1fr 1fr;gap:8px 7px;padding:7px 6px}
.luxp>.lph,.luxp>.lsr{grid-column:1/-1}
.pith{gap:3px 5px;padding:0 1px 5px}
.pith em{flex-basis:100%;margin:0;font-size:9px}
.pit.pit3{aspect-ratio:100/112}
.ptg{padding:1px 3px;font-size:7.4px;border-radius:2.5px;gap:0}
.ptg i{display:none}
.ptg .mg{top:-7px;font-size:7px;inset-inline-end:-2px}
.ptg .mo{bottom:-7px;font-size:6.2px}
.ptg .mc{width:4px;height:7px;top:-4px}
.pit3 .pr{left:1px;font-size:6px;padding:2px 0}

/* v546: shorter, more refined perspective pitch */
.pit.pit3{aspect-ratio:100/90}
.pit3>svg{filter:drop-shadow(0 7px 9px rgba(0,0,0,.3))}
.ptg{background:linear-gradient(180deg,#fbeab5 0%,#e3b95c 55%,#c9963a 100%);color:#2f1e04;letter-spacing:.1px;box-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.25),inset 0 0 0 .6px rgba(255,250,225,.85),inset 0 -1px 0 rgba(120,80,10,.35)}
.ptg.gk{background:linear-gradient(180deg,#8ec4f2 0%,#3f86cd 55%,#1d5a9b 100%);color:#fff;text-shadow:0 1px 1px rgba(0,30,70,.5);box-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.25),inset 0 0 0 .6px rgba(225,242,255,.9)}
.pit3 .pr{background:rgba(6,30,16,.5);color:#f6dc90;border:.6px solid rgba(246,220,144,.45);border-radius:3px;font-weight:700}
.pit3 .pr.gk{color:#d4eaff;border-color:rgba(160,205,245,.6)}

/* v547: substitutions applied on the pitch: the player who came on takes the slot (green tag, minute he came on) */
.ptg.sb{color:#0e3a12;background:linear-gradient(180deg,#e2f8d2 0%,#8fd67c 55%,#52a446 100%);box-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.25),inset 0 0 0 .6px rgba(240,255,232,.9)}
.ptg .mi{position:absolute;bottom:-7px;top:auto;inset-inline-end:3px;font-style:normal;font-size:6.2px;font-weight:900;color:#b8f5a8;background:none;text-shadow:0 1px 2px #000;min-width:0;height:auto;display:block}

/* v548: live score on the poster: small, centred under the swords between the two crests */
.poster2 .pt.ptl b{font-size:21px;letter-spacing:.4px;line-height:1}
.poster2 .pt.ptl small{font-size:10.5px;margin-top:1px;opacity:.85}
.poster2 .p2mid:has(.ptl){gap:2px}

/* v549: highlight button states: waiting for the official video / ready */
.dact.wt{opacity:.9}
.dact.wt svg{color:#9a8a6a}
.dact.rdy{background:linear-gradient(135deg,#e9fbef,#c6f0d6);color:#0b5a31;box-shadow:0 0 0 1px rgba(34,164,93,.55),0 5px 14px -5px rgba(34,164,93,.6)}
.dact.rdy svg{color:#15a05a}

/* v550: wide screens (laptop / desktop window): the photo poster sits in the middle, like the plain poster that spans the width */
@media (min-aspect-ratio:5/4){html.fit .poster3{margin-inline:auto !important}}
@media (min-width:760px){.poster3{margin-inline:auto !important;max-width:min(460px,100%)}.fcar .fdots{justify-content:center}}

/* v551: wide screens (laptop / desktop / TV): the photo poster becomes a full-width banner like the plain poster (photo on one side, details on the other) */
@media (min-width:760px) and (min-aspect-ratio:5/4){
  html.fit .poster3,.poster3{max-width:none !important;margin-inline:0 !important;display:grid;grid-template-columns:46% 1fr;grid-template-rows:auto auto auto auto 1fr;align-content:center;padding:0 0 8px;min-height:clamp(300px,50vh,430px)}
  .poster3 .p3img{grid-column:1;grid-row:1/-1;position:relative;height:auto !important;min-height:0 !important;padding-bottom:0 !important;margin-top:0 !important;overflow:hidden;align-self:stretch}
  .poster3 .p3img::after{display:none}
  .poster3 .p3img img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin-top:0 !important;object-fit:cover;object-position:50% 24%;-webkit-mask-image:linear-gradient(to left,#000 70%,transparent 100%);mask-image:linear-gradient(to left,#000 70%,transparent 100%)}
  .poster3 .p3top{grid-column:2;grid-row:1;padding:14px 22px 4px}
  .poster3 .p3nm{grid-column:2;grid-row:2;margin-top:6px;padding:0 22px}
  .poster3 .p3nm b{font-size:24px}
  .poster3 .p3nm .pv.xsw,.poster3 .p3nm .pv.xsw svg{width:60px;height:60px}
  .poster3 .p3dt{grid-column:2;grid-row:3;margin-top:8px;font-size:18px}
  .poster3 .p3tm,.poster3 .p3cd{grid-column:2;grid-row:4;justify-self:center;margin-top:10px}
  .poster3 .p3tm b{font-size:36px}
  .poster3 .p3ch{grid-column:2;grid-row:5;margin-top:10px;align-self:start}
}

/* v551b: banner is short enough to sit fully inside a laptop window */
@media (min-width:760px) and (min-aspect-ratio:5/4){
  html.fit .poster3,.poster3{min-height:clamp(220px,calc(var(--vhc,540) * .44px),320px);padding-bottom:6px}
  .poster3 .p3img img{object-position:50% 30%}
  .poster3 .p3top{padding:8px 20px 2px}
  .poster3 .p3nm{margin-top:2px}
  .poster3 .p3nm b{font-size:20px}
  .poster3 .p3nm .pv.xsw,.poster3 .p3nm .pv.xsw svg{width:46px;height:46px;margin:-4px 0}
  .poster3 .p3dt{margin-top:2px;font-size:15px}
  .poster3 .p3tm,.poster3 .p3cd{margin-top:6px}
  .poster3 .p3tm{padding:3px 16px 4px}
  .poster3 .p3tm b{font-size:28px}
  .poster3 .p3ch{margin-top:6px}
}

/* v552: header clock pill — narrower (sized for the longest label), nudged left, away from the title */
.hclk{width:max-content;flex:none;transform:translateX(-9px);padding:0 8px 0 7px;gap:5px;height:21px}
.hclk .hckb{gap:5px}
.hclk time{font-size:10.5px;min-width:44px}
.hclk small{font-size:8.5px;min-width:53px;max-width:53px;text-align:start;white-space:nowrap}

/* v553: pitch proportions like the reference (wide, shallow trapezoid) */
.pit.pit3{aspect-ratio:100/78}

/* v554: live photo poster — no "today" line; the running score takes its place, large and bright */
.poster3 .p3tm.lv{position:relative;z-index:3;opacity:1!important;animation:none!important;margin-top:10px;padding:5px 22px 7px;background:rgba(10,8,4,.86);border:1.5px solid #e8c36a;border-radius:10px;box-shadow:0 0 22px rgba(232,195,106,.35),0 6px 16px rgba(0,0,0,.6)}
.poster3 .p3tm.lv b{font-size:38px;color:#fff1c2;text-shadow:0 0 14px rgba(255,214,120,.65),0 2px 4px rgba(0,0,0,.8);filter:none;opacity:1}
.poster3 .p3tm.lv span{font-size:15px;font-weight:800;color:#fff;opacity:1}
@media (min-width:760px) and (min-aspect-ratio:5/4){.poster3 .p3tm.lv b{font-size:30px}}

/* v555: substitutes on the pitch — clear, solid minute badge, stronger green tag */
.ptg.sb{background:linear-gradient(180deg,#f0ffe6 0%,#9be486 50%,#4fb23f 100%);color:#06300b;font-weight:900;box-shadow:0 0 0 1.4px #fff,0 0 8px 1px rgba(96,214,92,.75),0 2px 6px rgba(0,0,0,.4)}
.ptg .mi{bottom:-9px;inset-inline-end:50%;transform:translateX(50%);padding:1px 4px;border-radius:99px;font-size:7.6px;line-height:1.15;color:#fff;background:#14803a;border:.8px solid #d6ffd0;text-shadow:none;box-shadow:0 1px 3px rgba(0,0,0,.5);white-space:nowrap;z-index:3}
.ptg .mi::before{content:"";}
.ptg .mg{z-index:3;top:-9px;font-size:9px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}
.ptg .mo{bottom:-9px;padding:1px 4px;border-radius:99px;background:#a61b1b;color:#fff;font-size:7.4px;text-shadow:none;border:.8px solid #ffd0d0;inset-inline-end:50%;transform:translateX(50%);z-index:3}
.ptg .mi,.ptg .mo{bottom:-13px}
.ptg .mi,.ptg .mo{bottom:auto;top:50%;inset-inline-end:auto;inset-inline-start:calc(100% + 1px);left:calc(100% + 1px);transform:translateY(-50%)}
.ptg .mo{left:auto;inset-inline-start:calc(100% + 1px)}
.ptg.sb{z-index:6}
.ptg .mi,.ptg .mo{padding:0 3px;font-size:7px;line-height:1.2;left:calc(100% + 0px)}

/* v556: live photo poster — the minute sits small, centred under the score (inside the box) */
.poster3 .p3tm.lv{flex-direction:column;align-items:center;gap:0;padding:4px 22px 5px}
.poster3 .p3tm.lv b{line-height:1.05}
.poster3 .p3tm.lv span{font-size:11.5px;font-weight:700;margin-top:1px;opacity:.9;line-height:1.1;letter-spacing:.2px}

/* v557: substitutions — centred heading, one framed box per team, ▲ in / ▼ out instead of "به‌جای" */
.lph.sbh{display:flex;justify-content:center;align-items:center;gap:10px;text-align:center}
.lph.sbh::before,.lph.sbh::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(201,162,77,.55),transparent)}
.lpr.lsr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px 2px 6px}
.lsr .lsb{display:flex;flex-direction:column;gap:3px;padding:6px 8px;border:1px solid rgba(201,162,77,.5);border-radius:10px;background:color-mix(in srgb,var(--surface,#fff) 70%,transparent);align-content:start;min-width:0}
.lsr .lsb:empty{border-style:dashed;opacity:.4}
.lsb span{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"m i" "m o";column-gap:6px;row-gap:0;align-items:center;padding:2px 0;border-bottom:1px dashed rgba(120,120,120,.2)}
.lsb span:last-child{border-bottom:0}
.lsb span>i{grid-area:m;align-self:center;font-size:9px;padding:1px 5px;border-radius:99px;background:rgba(0,0,0,.06);color:var(--muted)}
.lsb .si{grid-area:i;color:#177a2e;font-weight:800;font-size:10.5px}
.lsb .so{grid-area:o;color:#b32323;font-weight:600;font-size:9.8px}
.lsb b em{font-style:normal;font-size:7.5px;margin-inline-end:4px;vertical-align:1px}

/* v558: header clock pill — the frame hugs its label (short city = short pill; long = long), left edge fixed, as far left as it goes */
.hclk{width:max-content;transform:translateX(-12px)}
.hclk small{min-width:0!important;max-width:none!important;width:auto}
.hclk time{min-width:0!important;width:auto}
.hclk .hckb{min-width:0}

/* v561: notice about the official line-up timing (before it is announced) */
.lunote{display:flex;align-items:center;gap:10px;margin:10px 0 4px;padding:10px 12px;border:1px solid rgba(201,162,77,.55);border-radius:12px;background:linear-gradient(180deg,color-mix(in srgb,#f6e3b0 38%,var(--surface,#fff)),var(--surface,#fff))}
.lunote i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:14px;color:#fff;background:linear-gradient(135deg,#e9a43a,#c9791c)}
.lunote p{margin:0;font-size:11.5px;line-height:1.7;color:var(--ink,#222)}
.lunote p b{color:#b46a10;font-weight:800}

/* v565: one-time "tap a match for details" hint */
.taph{display:flex;align-items:center;justify-content:center;gap:7px;margin:2px 14px 8px;padding:7px 12px;border-radius:99px;border:1px dashed rgba(201,162,77,.65);background:color-mix(in srgb,#f6e3b0 30%,var(--surface,#fff));color:#9a5a0c;font-size:11px;font-weight:700;line-height:1.5;text-align:center}
.taph svg{flex:none}

/* v574: shorter, wider line-up pitch (reference: Oranje-style board) */
.pit.pit3{aspect-ratio:100/64}

/* v575: compact, modern match stats — two columns of slim cards */
#dsheet .stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:none;border:0;padding:0}
#dsheet .stats .sr{padding:7px 9px 8px;background:var(--surface-2);border:1px solid var(--line);border-radius:11px;min-width:0}
#dsheet .stats .sv{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:4px;font-size:13px}
#dsheet .stats .sv span{order:0;grid-column:1/-1;grid-row:1;text-align:center;font-size:10.5px;font-weight:600;color:var(--muted);letter-spacing:.1px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dsheet .stats .sv b{grid-row:2;min-width:0;font-size:14.5px;font-weight:800;line-height:1}
#dsheet .stats .sv b:first-child{grid-column:1}
#dsheet .stats .sv b:last-child{grid-column:3;text-align:left}
#dsheet .stats .sb{gap:3px;margin-top:5px}
#dsheet .stats .sb i{height:3.5px;border-radius:2px}
#dsheet .stats .sr:first-child{grid-column:1/-1}

/* v576: line-up pitch framed in the national/club colours, name tags in the team colour */
.pitw .pfr{stroke:var(--t1,#f6dc90)!important;stroke-width:1.5!important;stroke-opacity:1}
.pitw .pfr2{stroke:var(--t2,#fff)!important;stroke-width:.35!important;stroke-opacity:.9;transform:none}
.pitw .ptg:not(.gk):not(.sb){background:linear-gradient(180deg,color-mix(in srgb,var(--t1) 80%,#fff) 0%,var(--t1) 58%,color-mix(in srgb,var(--t1) 84%,#000) 100%);color:var(--tx);text-shadow:none;box-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.25),inset 0 0 0 1px var(--t2)}

/* v577: slimmer, more refined events timeline */
#dsheet .tl{padding:4px 8px;background:linear-gradient(180deg,var(--surface-2),var(--surface));border-radius:14px}
#dsheet .tl::before{top:10px;bottom:10px;background:linear-gradient(180deg,transparent,color-mix(in srgb,#c9963a 55%,var(--line)) 12%,color-mix(in srgb,#c9963a 55%,var(--line)) 88%,transparent)}
#dsheet .xr{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);min-height:23px}
#dsheet .xr + .xr{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
#dsheet .xr > em{font-size:9.8px;font-weight:800;min-width:26px;padding:0 5px;line-height:1.45;color:#8a5f12;background:color-mix(in srgb,#e3b95c 18%,var(--surface));border-color:color-mix(in srgb,#c9963a 45%,var(--line))}
#dsheet .xr.goal > em{color:#6b4608;background:linear-gradient(180deg,#fff3cf,#f1cf7a);border-color:#c9963a}
#dsheet .xc{padding:1px 3px;gap:5px}
#dsheet .xn{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dsheet .xn bdi{font-size:9.5px;margin-inline-start:2px}
#dsheet .xt{display:inline;font-size:9.5px;margin-inline-start:4px}
#dsheet .xh{margin:2px 0}
#dsheet .xh span{font-size:10px;padding:0 10px;border-style:solid;border-color:color-mix(in srgb,#c9963a 35%,var(--line))}

/* v578: permanent three-sign guide under the poster + small details sign on each match */
.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:2px 14px 10px;padding:8px 4px;border-radius:14px;border:1px solid color-mix(in srgb,#c9a24d 45%,var(--line));background:linear-gradient(180deg,color-mix(in srgb,#f6e3b0 34%,var(--surface,#fff)),var(--surface,#fff));box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 3px 10px -6px rgba(120,80,10,.35)}
.guide .gd{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 6px;min-width:0}
.guide .gd + .gd{border-inline-start:1px solid color-mix(in srgb,#c9a24d 35%,transparent)}
.guide .gi{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#fff7de,#f1d388);color:#7a4d0a;box-shadow:inset 0 0 0 1px rgba(201,150,58,.6)}
.guide .gi svg{width:14px;height:14px}
.guide .gi.l{color:#c42b2b;background:linear-gradient(180deg,#fff0f0,#f9c9c9);box-shadow:inset 0 0 0 1px rgba(196,43,43,.35)}
.guide .gd span{display:grid;gap:1px;min-width:0}
.guide .gd b{font-size:11.5px;font-weight:800;color:var(--ink);line-height:1.3;white-space:nowrap}
.guide .gd small{font-size:9.5px;color:var(--muted);line-height:1.3;white-space:nowrap}
@media (max-width:370px){.guide .gd small{display:none}.guide .gi{width:24px;height:24px}}
.m .dti{position:absolute;top:6px;right:10px;width:18px;height:18px;display:grid;place-items:center;border-radius:6px;color:#9a6a14;background:color-mix(in srgb,#f1d388 38%,transparent);pointer-events:none}
.m .dti svg{width:11px;height:11px}
.m .dti{top:2px;right:4px;width:13px;height:13px;border-radius:4px}
.m .dti svg{width:9px;height:9px}
.guide .gd{padding:0 4px;gap:6px}
.guide .gd small{font-size:9.5px}

/* v579: details sign sits right of the time/score, bell left of it; guide under the poster is smaller */
.m{grid-template-columns:1fr 104px 1fr}
.m .dti{position:static;flex:none;width:19px;height:19px;border-radius:50%;color:#8a5f12;background:linear-gradient(180deg,#fff7de,#f1d388);box-shadow:inset 0 0 0 1px rgba(201,150,58,.55)}
.m .dti svg{width:10px;height:10px}
.m .dsp{flex:none;width:19px;height:19px}
.krow{gap:4px}
.krow .rbell{width:19px;height:19px}
.krow .rbell svg{width:10.5px;height:10.5px}
.krow .kick,.krow .score{margin:0}
.guide{margin:0 18px 8px;padding:5px 2px;border-radius:11px}
.guide .gd{gap:5px;padding:0 3px}
.guide .gi{width:19px;height:19px}
.guide .gi svg{width:10px;height:10px}
.guide .gd b{font-size:10px}
.guide .gd small{font-size:8.5px}

/* v580: details sign as quiet as the bell — the time stays the strongest element */
.m .dti{width:17px;height:17px;background:transparent;color:var(--muted);box-shadow:none;border:1px solid var(--line);opacity:.9}
.m .dti svg{width:9.5px;height:9.5px}
.m .dsp{width:17px;height:17px}
.krow .rbell{width:17px;height:17px}
.krow .rbell svg{width:9.5px;height:9.5px}

/* v581: details sign keeps the gold look of the guide, at the bell's small size */
.m .dti{background:linear-gradient(180deg,#fff7de,#f1d388);color:#8a5f12;border:0;box-shadow:inset 0 0 0 1px rgba(201,150,58,.55);opacity:1}

/* v582: all three signs share one quiet white look; the bell is centred in its circle */
.m .dti{background:transparent;color:var(--muted);box-shadow:none;border:1px solid var(--line)}
.guide .gi,.guide .gi.l{background:transparent;color:var(--muted);box-shadow:none;border:1px solid var(--line)}
.guide .gi.l{color:#c42b2b}
.krow .rbell,.m .dti,.m .dsp{padding:0;display:flex;align-items:center;justify-content:center;line-height:0;box-sizing:border-box}
.krow .rbell svg,.m .dti svg{display:block;margin:0}

/* v584: poster dots stay with the poster; the guide sits clearly below and is slimmer */
.fdots{margin:6px 0 0}
.fcar{margin-bottom:12px}
.guide{margin:12px 22px 8px;padding:3px 2px;border-radius:10px}
.guide .gd{gap:4px;padding:0 2px}
.guide .gi{width:16px;height:16px}
.guide .gi svg{width:9px;height:9px}
.guide .gd span{gap:0}
.guide .gd b{font-size:9.5px;line-height:1.2}
.guide .gd small{font-size:8px;line-height:1.2}

/* v585: a little air between the time/score and the two small signs */
.m{grid-template-columns:1fr 118px 1fr}
.krow{gap:8px}
.krow .rbell,.m .dti,.m .dsp{width:19px;height:19px}
.krow .rbell svg,.m .dti svg{width:10.5px;height:10.5px}
.krow .rbell::before,.m .dti::before{content:"";position:absolute;inset:-6px}
.m .dti{position:relative;pointer-events:auto}
.krow .rbell{position:relative}

/* v586: the details sign is exactly as big as the bell */
.krow .rbell,.m .dti,.m .dsp{width:18px!important;height:18px!important;min-width:18px;flex:none;box-sizing:border-box;border-radius:50%}
.krow .rbell svg,.m .dti svg{width:10px!important;height:10px!important}

/* v591: title in a heavy news-style face (Vazirmatn Black), like the Persian news headline the owner liked */
.brand h1{font-family:"Vazirmatn",var(--display)!important;font-weight:900!important;font-size:29px;letter-spacing:-.015em;line-height:1.15}

/* v592: lighter, more modern title weight */
.brand h1{font-weight:700!important;font-size:28px;letter-spacing:-.01em}

/* v593: title in Estedad (OFL), a smooth modern Persian face */
@font-face{font-family:"TFEstedad";src:url("fonts/Estedad-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
.brand h1{font-family:"TFEstedad","Vazirmatn",var(--display)!important;font-weight:600!important;font-size:30px;letter-spacing:0;line-height:1.1}

/* v594: slimmer (Medium) and softer colour for the title */
@font-face{font-family:"TFEstedad";src:url("fonts/Estedad-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
.brand h1{font-weight:500!important;color:color-mix(in srgb,var(--ink) 78%,#fff)!important}

/* v595: title in Lateef Bold (OFL) with a gold gradient — sample 29 chosen by the owner */
@font-face{font-family:"TFLateef";src:url("fonts/Lateef-Bold.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}
.brand h1{font-family:"TFLateef","Vazirmatn",var(--display)!important;font-weight:700!important;font-size:42px;letter-spacing:0;line-height:1.05;background:linear-gradient(180deg,#e9c46a,#b8862b 60%,#8a5f12);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
.brand h1{font-size:38px}

/* v596: a fine dark outline around the gold title */
.brand h1{-webkit-text-stroke:1.2px #1b2233;paint-order:stroke fill;text-shadow:0 1px 0 rgba(27,34,51,.25)}

/* v596b: outline drawn as a layer behind the gold text, so the gold stays clean */
.brand h1{-webkit-text-stroke:0;text-shadow:none;background:none!important;-webkit-text-fill-color:transparent;color:transparent!important;position:relative;display:inline-block;isolation:isolate}
.brand h1::before,.brand h1::after{content:"توتال فوتبال";position:absolute;inset:0;white-space:nowrap;font:inherit;line-height:inherit;letter-spacing:inherit}
.brand h1::before{z-index:-1;color:#1b2233;-webkit-text-fill-color:#1b2233;-webkit-text-stroke:2px #1b2233;paint-order:stroke fill}
.brand h1::after{background:linear-gradient(180deg,#f0cf78,#c9962f 55%,#9a6a16);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* v597: black title with a very pale orange outline */
.brand h1::before{color:#f6c59a;-webkit-text-fill-color:#f6c59a;-webkit-text-stroke:2.4px #f6c59a;opacity:.85}
.brand h1::after{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#12151c;-webkit-text-fill-color:#12151c}

/* v598: thinner outline, slightly smaller title so the header stays compact */
.brand h1{font-size:36px}
.brand h1::before{-webkit-text-stroke:1.6px #f6c59a;opacity:.8}

/* v600: laptop photo poster — the picture fades out a little earlier so the team names and the time always sit on clean dark, never on the players' faces */
@media (min-width:760px) and (min-aspect-ratio:5/4){
  .poster3 .p3img img{-webkit-mask-image:linear-gradient(to left,#000 62%,transparent 96%);mask-image:linear-gradient(to left,#000 62%,transparent 96%);object-position:50% 22%}
  .poster3 .p3top,.poster3 .p3nm,.poster3 .p3dt,.poster3 .p3tm,.poster3 .p3cd,.poster3 .p3ch{position:relative;z-index:2}
}

/* v602: news / upcoming-events tabs — each with a small icon; the active one is orange and clear, the other one is quiet */
.nsegs .day{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px}
.nsegs .day svg{width:16px;height:16px;flex:none;opacity:.7}
.nsegs .day span{white-space:nowrap}
.nsegs .day[aria-selected="true"]{color:var(--oranje)}
.nsegs .day[aria-selected="true"] svg{opacity:1;color:var(--oranje)}
.nsegs .day[aria-selected="false"]{color:var(--muted);opacity:.85}

/* v605: match rows — names that run long get room: a slightly smaller crest and gap, and no clipping beside the flag */
.m .team{gap:6px}
.m .team .crest{width:31px;height:33px}
.m .team span{overflow:visible;-webkit-line-clamp:unset;display:block;word-break:normal}
.m .team span.long{font-size:.9em}

/* v606: news — each story is a quiet card: headline, one-line lead, the newsroom's name (credit only, never a link) and a small «جزئیات» cue that opens the Dari details */
.news .nw{cursor:pointer;-webkit-tap-highlight-color:transparent}
.news .nw small{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.news .nw .nsrc{color:var(--oranje);font-weight:800;white-space:nowrap}
.news .nw .ago{white-space:nowrap}
.news .nw .nmore{margin-inline-start:auto;font-style:normal;font-weight:800;font-size:11.5px;color:var(--oranje);white-space:nowrap}
.nnote{text-align:center;font-size:11px;opacity:.8;margin:10px 16px 4px}
.nread .nsrcl,.nread .nsrcl.sm{display:block;pointer-events:none;border:0;background:transparent;box-shadow:none;color:var(--muted);font-size:11.5px;font-weight:600;line-height:1.8;text-align:center;padding:8px 6px;margin:4px 0}
.nsegs .day{font-size:12.5px;gap:5px}
.nsegs .day svg{width:15px;height:15px}

/* v611: line-up board — a calm, near-square rectangle with a gentle perspective instead of a long flat trapezoid */
.pit.pit3{aspect-ratio:100/86}

/* v612: match stats – one full-width row per stat: home value on the right, label centred, away value on the left */
#dsheet .stats{display:flex;flex-direction:column;gap:8px}
#dsheet .stats .sth{display:flex;justify-content:space-between;padding:0 6px 2px;font-size:12px;font-weight:800;color:var(--muted)}
#dsheet .stats .sr:first-child{grid-column:auto}
#dsheet .stats .sr{padding:9px 12px 10px}
#dsheet .stats .sv{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;direction:rtl}
#dsheet .stats .sv span{grid-column:2;grid-row:1;margin:0;font-size:12.5px;color:var(--text,inherit);font-weight:700;white-space:nowrap}
#dsheet .stats .sv b{grid-row:1;font-size:16px}
#dsheet .stats .sv b:first-child{grid-column:1;text-align:right}
#dsheet .stats .sv b:last-child{grid-column:3;text-align:left}
#dsheet .stats .sb{direction:rtl;gap:4px;margin-top:7px}
#dsheet .stats .sb i{height:5px}

/* v617: events – Afghan/Iranian solar date under the Gregorian date */
.evs .ev .tx small.evs2{color:var(--accent,#e8700a);font-weight:700;opacity:.9}

/* v625: line-up board with team shirts (number on the shirt, name tag under it) */
.pit.pit3{margin-top:18px;aspect-ratio:100/114}
.pit3 .ptg .jsy{position:absolute;left:50%;bottom:calc(100% - 3px);width:20px;height:21px;transform:translateX(-50%);filter:drop-shadow(0 1.5px 1.5px rgba(0,0,0,.55));pointer-events:none;z-index:1}
.pit3 .ptg.sb .jsy{filter:drop-shadow(0 0 3px rgba(120,235,110,.95)) drop-shadow(0 1.5px 1.5px rgba(0,0,0,.55))}
.pit3 .ptg .mg{top:-23px;inset-inline-end:-6px}
.pit3 .ptg .mc{top:-21px;inset-inline-start:-1px}

/* v631: in-app posters without photos, two tiers. «بازی بزرگ روز» (both sides famous): gold luxury. «بازی پرطرفدار روز» (one famous side): calm, thin frame. */
.poster2.p2-big{background:linear-gradient(180deg,#17120b,#07060b 70%)!important;border:1.5px solid #e2bf68;box-shadow:0 0 0 4px rgba(226,191,104,.12),0 0 30px rgba(232,196,106,.26),0 16px 38px rgba(0,0,0,.4)}
.poster2.p2-big .pbg{opacity:1;background:radial-gradient(70% 55% at 50% 0%,rgba(255,226,140,.28),transparent 72%),radial-gradient(60% 60% at 8% 70%,color-mix(in srgb,var(--hc) 34%,transparent),transparent 70%),radial-gradient(60% 60% at 92% 70%,color-mix(in srgb,var(--ac) 34%,transparent),transparent 70%)!important}
.poster2.p2-big .pbadge{background:linear-gradient(180deg,#fff0b8,#e2bf68 55%,#a8791f);color:#2a1d05;box-shadow:0 0 14px rgba(255,214,120,.55)}
.poster2.p2-big .p2ring{width:86px;height:86px;border:2px solid transparent;background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--tc) 40%,rgba(255,255,255,.06)),#0c0a0e 74%) padding-box,linear-gradient(145deg,#fff1b8,#c99a3a 45%,#fff1b8 70%,#a8791f) border-box;box-shadow:0 0 22px rgba(255,214,120,.45),0 10px 24px rgba(0,0,0,.5)}
.poster2.p2-big .p2ring::after{border-color:rgba(255,224,150,.4)}
.poster2.p2-big .p2ring .crest{width:54px;height:58px}
.poster2.p2-big .p2t b{color:#fff6d3}
.poster2.p2-big .pt b{background:linear-gradient(180deg,#fff6d3,#ecc86e 55%,#b8872c);-webkit-background-clip:text;background-clip:text;color:transparent}
.poster2.p2-pop{background:linear-gradient(180deg,#151b30,#0b0f1e)!important;border:1px solid rgba(255,255,255,.12);box-shadow:0 8px 20px rgba(0,0,0,.28)}
.poster2.p2-pop .pbg{opacity:1;background:radial-gradient(70% 60% at 50% 0%,rgba(255,255,255,.07),transparent 72%)!important}
.poster2.p2-pop .pbadge{background:rgba(255,255,255,.14);color:#fff;box-shadow:none;text-shadow:none}
.poster2.p2-pop .p2ring{width:68px;height:68px;box-shadow:0 0 0 1px rgba(255,255,255,.3),0 6px 14px rgba(0,0,0,.4)}
.poster2.p2-pop .p2ring::after{display:none}
.poster2.p2-pop .p2ring .crest{width:42px;height:46px}
.poster2.p2-pop .p2t b{font-size:13px}
.poster2.p2-pop .pv svg{display:none}
.poster2.p2-pop .pv::after{content:"VS";font-weight:900;font-size:14px;letter-spacing:2px;color:rgba(255,255,255,.7)}
.poster2.p2-pop .pt b{font-size:24px}
.poster2.p2-pop .pin{padding-block:8px 10px}

/* v632: warm golden light behind the time and swords instead of a dark patch; thin outlined countdown boxes */
.poster2.p2-big .pin::before{inset:-6px 14%;background:radial-gradient(closest-side,rgba(255,214,120,.20),rgba(255,214,120,.07) 55%,transparent)}
.poster2.p2-pop .pin::before{background:radial-gradient(closest-side,rgba(255,255,255,.06),transparent)}
.poster2.p2-big .cd div{border:1px solid rgba(226,191,104,.75);background:linear-gradient(180deg,rgba(255,226,140,.14),rgba(255,226,140,.03));box-shadow:0 0 14px rgba(226,191,104,.20),inset 0 0 0 1px rgba(255,240,190,.07);backdrop-filter:none;-webkit-backdrop-filter:none}
.poster2.p2-big .cd div b{background:linear-gradient(180deg,#fff6d3,#ecc86e 60%,#b8872c);-webkit-background-clip:text;background-clip:text;color:transparent}
.poster2.p2-big .cd div span{color:#e9d9a8}
.poster2.p2-big .cd i{color:#e2bf68}
.poster2.p2-pop .cd div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05)}
/* v633: finer, quieter outline on the countdown boxes */
.poster2.p2-big .cd div{border:.75px solid rgba(226,191,104,.42);box-shadow:0 0 8px rgba(226,191,104,.10)}
.poster2.p2-pop .cd div{border:.75px solid rgba(255,255,255,.16)}

/* v646: the blinking dot means "in progress" — «پخش زنده» (before kick-off) has no dot, «تماشای زنده» (match on) has a white blinking one */
.wpill.on .wdot{background:#fff;border:0;opacity:1;animation:wblink 1.1s steps(1,end) infinite,wglowW 2.2s ease-out infinite}
@keyframes wglowW{0%{box-shadow:0 0 0 0 rgba(255,255,255,.65)}70%{box-shadow:0 0 0 4px transparent}100%{box-shadow:0 0 0 0 transparent}}
@media (prefers-reduced-motion:reduce){.wpill.on .wdot{animation:none}}

/* v649: «پخش زنده» before kick-off — the words fade on and off softly so people tap and see which channels carry the match */
.wtx{display:inline-block;animation:wtx 1.7s ease-in-out infinite}
@keyframes wtx{0%,100%{opacity:1}50%{opacity:.22}}
@media (prefers-reduced-motion:reduce){.wtx{animation:none}}

/* club squad: the original spelling shows when a name is tapped; in the line-up list it is always shown in grey */
.sqt-n .pn{cursor:pointer}
.sqt-n .pn small{display:none;font-size:.85em;font-weight:600;color:var(--muted,#8a8a8a);margin-inline-start:3px}
.sqt-n .pn.on small{display:inline}
.lp b small{font-size:.8em;font-weight:600;color:var(--muted,#8a8a8a)}
/* v682: compact, modern event cards (dates page) */
.evs{gap:7px;margin-top:8px}
.ev:not(.hasdp){grid-template-columns:34px 1fr auto;gap:10px;padding:9px 11px;border-radius:14px;border:1px solid var(--line);background:var(--surface);box-shadow:0 1px 2px rgba(20,30,50,.04)}
.ev:not(.hasdp) .ic{width:34px;height:34px;border-radius:11px;font-size:17px}
.ev:not(.hasdp) .tx{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 7px;min-width:0}
.ev:not(.hasdp) .tx b{flex:0 0 100%;font-size:13.5px;font-weight:800;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev:not(.hasdp) .tx small{font-size:11px;line-height:1.4;color:var(--muted)}
.ev:not(.hasdp) .tx small.evs2{font-weight:700}
.ev:not(.hasdp) .tx small.evsub{flex:0 0 100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.ev:not(.hasdp) .when{font-size:10.5px;font-weight:800;padding:2px 9px}
.ev.next:not(.hasdp){background:linear-gradient(135deg,var(--oranje-soft),var(--surface) 70%);box-shadow:0 0 0 1px var(--oranje) inset,0 4px 14px rgba(232,112,10,.12)}
/* v683: slimmer, calmer news list */
.news{gap:7px;margin-top:6px}
.news .nw{padding:9px 10px;gap:10px;border-radius:14px;box-shadow:0 1px 2px rgba(20,24,40,.04)}
.news .nw img{width:72px;height:54px;border-radius:10px}
.news .nw div{gap:3px}
.news .nw b{font-size:13.5px;font-weight:800;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news .nw p{display:none}
.news .nw small{font-size:11px;gap:5px}
.news .nw:first-child{gap:8px;padding:0 0 10px;border-radius:16px}
.news .nw:first-child img{aspect-ratio:2/1}
.news .nw:first-child b{font-size:15px;line-height:1.6;-webkit-line-clamp:3}
.news .nw:first-child p{display:-webkit-box;-webkit-line-clamp:2;font-size:12px;line-height:1.7}
.news .nw:first-child div{padding:0 12px;gap:4px}
.nrf{font-size:11.5px}

/* v684: spotlight poster for the big event of the day (draws and finals) */
.spot{position:relative;margin:8px 0 10px;border-radius:18px;padding:12px 14px 13px;color:#fff;text-align:center;overflow:hidden;background:radial-gradient(120% 140% at 85% -20%,#2a3a6b 0,#141c36 55%,#0c1226 100%);box-shadow:0 10px 26px -14px rgba(10,16,40,.7)}
.spot::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:linear-gradient(90deg,transparent,#e8b54a,transparent)}
.spot .spg{display:inline-block;font-size:11px;font-weight:800;color:#ffd978;background:rgba(255,217,120,.12);border:1px solid rgba(255,217,120,.28);border-radius:999px;padding:2px 11px}
.spot .spn{display:block;margin-top:6px;font-size:16px;font-weight:900;line-height:1.4}
.spot .spw{display:block;margin-top:1px;font-size:11px;color:rgba(255,255,255,.68)}
.spot .spcd{display:flex;justify-content:center;gap:5px;margin-top:9px}
.spot .spcd div{background:rgba(255,255,255,.08);border:1px solid rgba(255,217,120,.2);border-radius:10px;padding:3px 7px;min-width:46px}
.spot .spcd b{display:block;font-size:19px;font-weight:900;font-variant-numeric:tabular-nums}
.spot .spcd span{font-size:10px;color:rgba(255,255,255,.7)}
.spot .spcd i{font-style:normal;font-weight:900;font-size:17px;line-height:1.75;color:#ffd978;opacity:.8}
.spot .spm{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:10px}
.spot .spt2{display:grid;justify-items:center;gap:4px;font-size:12px;font-weight:800}
.spot .spc{width:42px;height:42px;object-fit:contain}
.spot .sps b{display:block;font-size:24px;font-weight:900;color:#ffd978;letter-spacing:1px}
.spot .sps small{font-size:11px;color:rgba(255,255,255,.75)}
.spot .spr{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:9px}
.spot .spr span{font-size:11.5px;font-weight:800;background:rgba(255,255,255,.09);border-radius:9px;padding:3px 9px}
.spot .spr i{font-style:normal;opacity:.6;margin:0 5px}
.spot .spn2{margin-top:9px;font-size:12px;color:rgba(255,255,255,.78)}

/* v696 news cards: the translated summary is the hook — readable, accented, up to 3 lines */
.news .nw p{-webkit-line-clamp:3;font-size:13px;line-height:1.95;color:var(--text-2,var(--muted));padding-inline-start:10px;border-inline-start:3px solid var(--oranje);border-radius:2px;margin:2px 0 4px}
.news .nw:first-child p{-webkit-line-clamp:4;font-size:13.5px}
.news .nw b{font-size:15px;line-height:1.75}

/* v699 news reader: only a small, tidy source tag */
.nread .nsrcl,.nread .nsrcl.sm{display:flex;width:max-content;max-width:100%;margin:14px auto 4px;padding:5px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);font-size:11.5px;font-weight:600;gap:6px;align-items:center;justify-content:center}
.nread .nsrcl b{color:var(--oranje);font-weight:800}

/* v699 news: headline never longer than 2 lines on the card */
.news .nw b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news .nw:first-child b{-webkit-line-clamp:3}

/* v708: quiet match count on the far side of each league header */
.lghead .lgc{flex:none;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.1px;padding:2px 9px;border-radius:999px;background:color-mix(in srgb,var(--oranje) 7%,var(--surface));border:1px solid color-mix(in srgb,var(--oranje) 16%,transparent);white-space:nowrap}

/* v709: slimmer, calmer league header — logo, name, round and count only */
.list > .lg .lghead{padding:6px 12px;min-height:0;gap:6px}
.list > .lg .lghead .t{gap:2px 7px;flex-wrap:nowrap;align-items:center}
.list > .lg .lghead .t .lgm{width:20px;height:20px;border-radius:6px}
.list > .lg .lghead .t .lgm img{width:15px;height:15px}
.list > .lg .lghead .t .lgn{font-size:13px;line-height:1.3}
.list > .lg .lghead .t em.rd{font-size:10.5px;line-height:1.4;padding:0 7px;background:transparent;border:1px solid color-mix(in srgb,var(--oranje) 30%,transparent)}
.list > .lg .lghead .lgc{font-size:10.5px;font-weight:600;line-height:1.4;padding:0;border:0;background:none;color:var(--muted);opacity:.85}
.list > .lg .lghead .lgc::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--oranje);margin-inline-end:5px;vertical-align:middle;opacity:.8}
.list > .lg .lghead{background:linear-gradient(270deg,color-mix(in srgb,var(--oranje) 7%,var(--surface)),var(--surface) 70%);box-shadow:inset -2px 0 0 var(--oranje)}

/* v710: the date reads in the calendar of the country first; the other two sit quietly in brackets */
.alt{font-size:.86em;font-weight:600;color:var(--muted);white-space:normal}
.pill .alt,.dpdate .alt,.day small .alt{font-size:.9em}
.day small{line-height:1.45}

/* v711: day tabs — the date on one line, the other two calendars under it, so the tabs stay narrow */
.days:not(.nsegs) .day small{display:grid;justify-items:center;gap:0}
.days:not(.nsegs) .day small .alt{display:block;font-size:9.5px;opacity:.85;margin:0;line-height:1.35}

/* v712: day tabs — the date in one row, the other two calendars small and quiet in brackets */
.days:not(.nsegs) .day small{display:block;white-space:nowrap;line-height:1.5}
.days:not(.nsegs) .day small .alt{display:inline;font-size:9px;font-weight:600;opacity:.7;margin-inline-start:3px;letter-spacing:0}
/* 12-hour clock: the part of the day stays under the time, smaller, in a thin bracket */
.kick .ap{display:block;font-size:9px;font-weight:600;line-height:1;color:var(--muted);opacity:.85;margin-top:0;letter-spacing:.2px}
.kick .ap::before{content:"(";margin-inline-end:2px;opacity:.6;font-weight:400}
.kick .ap::after{content:")";margin-inline-start:2px;opacity:.6;font-weight:400}
.m .center .wpill{margin-top:3px}

/* قرعه‌کشی یک‌چهارم: کارت کم‌ارتفاع، لوکس، ۸ پرچم در یک ردیف */
.spot.lux{padding:9px 8px 9px;border:1px solid rgba(232,181,74,.7);background:radial-gradient(120% 140% at 50% -20%,#2b2250 0,#141c36 55%,#0a0f20 100%);box-shadow:0 0 0 2px rgba(232,181,74,.1) inset,0 8px 20px -14px rgba(10,16,40,.8)}
.spot.lux::before{content:"";position:absolute;top:0;left:0;width:26px;height:26px;background:linear-gradient(135deg,#ffd978,#c8902a 60%,transparent 61%);border-top-left-radius:18px}
.spot.lux .spg{font-size:10px;padding:1px 9px}
.spot.lux .spn{margin-top:4px;font-size:14px;font-weight:900;line-height:1.3}
.spot.lux .spw{font-size:10px;margin-top:0}
.spot.lux .spq{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;margin:8px 0 7px}
.spot.lux .spq div{display:grid;justify-items:center;gap:3px;min-width:0}
.spot.lux .spq img{width:100%;max-width:34px;aspect-ratio:3/2;object-fit:cover;border-radius:4px;border:1px solid #e8b54a;box-shadow:0 2px 6px -2px rgba(0,0,0,.7)}
.spot.lux .spq span{font-size:9px;font-weight:800;line-height:1.2;white-space:nowrap}
.spot.lux .spcd{margin-top:0;gap:3px;align-items:center}
.spot.lux .spcd div{display:flex;align-items:baseline;gap:3px;padding:2px 7px;min-width:0;border-radius:8px}
.spot.lux .spcd b{display:inline;font-size:14px}
.spot.lux .spcd span{font-size:9.5px}
.spot.lux .spcd i{font-size:13px;line-height:1}

/* v723 — draw poster slide (same shell/size as the big-match posters) */
.poster2.pdraw .pin{min-height:318px;align-content:space-between;gap:0}
.pdraw .pdt{display:grid;gap:1px;margin-top:4px}
.pdraw .pdt b{font-family:"TFMarkazi",var(--display);font-weight:700;font-size:25px;line-height:1.2;background:linear-gradient(180deg,#fff6d3,#ecc86e 55%,#b8872c);-webkit-background-clip:text;background-clip:text;color:transparent}
.pdraw .pdt small{font-size:11.5px;font-weight:700;color:#e9d9a8;letter-spacing:0}
.pdraw .pdf{display:grid;gap:6px;width:100%;margin-top:8px}
.pdraw .pdr{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:5px 4px;border-radius:10px;background:rgba(255,226,140,.06);border:1px solid rgba(226,191,104,.25)}
.pdraw .pdr div{display:grid;justify-items:center;gap:2px}
.pdraw .pdr img{width:30px;height:21px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
.pdraw .pdr span{font-size:10.5px;font-weight:700;color:#f3ead0}
.pdraw .p2mid{margin-top:6px}
.pdraw .pt b{font-size:24px}
.pdraw .pt .ap.in{display:inline;font-size:13px;font-weight:700;margin:0 3px;opacity:.9;-webkit-text-fill-color:#e9d9a8;color:#e9d9a8}
.pdraw .pt b{white-space:nowrap}.pdraw .pt b .ap.in{display:inline!important;margin:0 0 0 5px;line-height:1}
.pdraw .pt b{direction:rtl;unicode-bidi:isolate}.pdraw .pt b .ap.in{font-size:11px;margin:0 6px 0 0}
.pdraw .pt b .ap.in{font-size:10px!important;margin:0 4px 0 0!important;display:inline!important}.pdraw .pt b{display:inline-block}
.pdraw .pt b .ap.in{margin:0 3px 0 0!important}
.pdraw .pt>small{white-space:nowrap;font-size:11.5px}.pdraw .pt>small *{white-space:nowrap}

.poster2 .pt>small{white-space:nowrap;font-size:11.5px}.poster2 .pt>small *{white-space:nowrap}

/* v729 — draw poster: premium finish (round gold-ringed flags, hairline ornaments) */
.pdraw .pdt{position:relative;padding-top:2px}
.pdraw .pdt::after{content:"";display:block;width:92px;height:1px;margin:6px auto 0;background:linear-gradient(90deg,transparent,#e2bf68,transparent)}
.pdraw .pdt b{text-shadow:0 2px 14px rgba(226,191,104,.28)}
.pdraw .pdt small{letter-spacing:.6px;opacity:.95}
.pdraw .pdf{gap:8px;margin-top:10px}
.pdraw .pdr{padding:9px 4px 7px;border-radius:14px;background:linear-gradient(180deg,rgba(255,226,140,.10),rgba(255,226,140,.02));border:1px solid rgba(226,191,104,.42);box-shadow:inset 0 0 0 1px rgba(255,240,190,.05),0 6px 16px -8px rgba(0,0,0,.6)}
.pdraw .pdr div{gap:5px}
.pdraw .pdr img{width:38px;height:38px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px #e2bf68,0 0 0 3.5px rgba(226,191,104,.18),0 4px 10px rgba(0,0,0,.5)}
.pdraw .pdr span{font-size:11px;font-weight:800;color:#fff3cf;letter-spacing:0}
.pdraw .pt b{text-shadow:0 2px 16px rgba(226,191,104,.35)}
.pdraw .fbot .cd div{box-shadow:0 0 14px rgba(226,191,104,.22),inset 0 0 0 1px rgba(255,240,190,.10)}

/* v732 — draw poster: who-can-meet-whom table inside the card */
.pdraw .pdm{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:3px 4px;width:100%;margin-top:8px;padding:8px 6px;border-radius:14px;background:linear-gradient(180deg,rgba(255,226,140,.10),rgba(255,226,140,.02));border:1px solid rgba(226,191,104,.42);box-shadow:inset 0 0 0 1px rgba(255,240,190,.05),0 6px 16px -8px rgba(0,0,0,.6);align-items:center}
.pdraw .pdc{display:grid;justify-items:center;gap:2px}
.pdraw .pdc img{width:30px;height:30px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px #e2bf68,0 0 0 3px rgba(226,191,104,.18),0 3px 8px rgba(0,0,0,.5)}
.pdraw .pdc span{font-size:9.5px;font-weight:800;color:#fff3cf;line-height:1.1}
.pdraw .pdx{display:grid;place-items:center;height:30px}
.pdraw .pdx i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:13px;line-height:1}
.pdraw .pdx.ok i{background:linear-gradient(180deg,#fff0b8,#e2bf68 55%,#a8791f);color:#2a1d05;box-shadow:0 0 10px rgba(226,191,104,.4)}
.pdraw .pdx.no i{background:rgba(255,255,255,.05);color:#8b93b0;border:1px dashed rgba(255,255,255,.22);font-size:11px}
.pdraw .pdt::after{margin-top:4px}
.pdraw .p2mid{margin-top:8px}

/* v732b — compact draw poster */
.poster2.pdraw .pin{min-height:0}
.pdraw .pdt b{font-size:21px}
.pdraw .pdt small{font-size:10.5px}
.pdraw .pdt::after{width:76px;margin-top:3px}
.pdraw .pdm{gap:1px 3px;margin-top:5px;padding:5px 5px}
.pdraw .pdc img{width:25px;height:25px}
.pdraw .pdc span{font-size:8.5px}
.pdraw .pdx{height:26px}
.pdraw .pdx i{width:20px;height:20px;font-size:11px}
.pdraw .pdx.no i{font-size:9.5px}
.pdraw .p2mid{margin-top:5px}
.pdraw .pt b{font-size:20px}
.pdraw .pt b .ap.in{font-size:9px!important}
.pdraw .pt>small{font-size:10.5px}
.pdraw .fbot{margin-top:6px}
.pdraw .fbot .cd div{padding:3px 9px}
.pdraw .fbot .cd div b{font-size:15px}
.pdraw .fbot .cd div span{font-size:9.5px}
.pdraw .fbot .lchip{margin-top:7px;padding:1px 8px;font-size:10px}
.pdraw .fbot .cd div{padding:2px 7px}
.pdraw .pdm{grid-template-columns:1.6fr repeat(4,1fr)}
.pdraw .pdc.rw{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;padding-inline-start:2px}
.pdraw .pdc.rw span{font-size:11px}
.pdraw .pdm{grid-template-columns:1.1fr repeat(4,1fr);gap:7px 3px}
.pdraw .pdx{height:36px}
.pdraw .pdc{gap:3px}
.pdraw .pbadge{font-size:10px;padding:3px 10px;letter-spacing:.3px;font-weight:800}

/* v739 — draw poster: the official result */
.pdraw .pdres{display:grid;gap:7px;width:100%;margin-top:10px;padding:10px 8px;border-radius:14px;background:linear-gradient(180deg,rgba(255,226,140,.10),rgba(255,226,140,.02));border:1px solid rgba(226,191,104,.42)}
.pdraw .pdrr{display:grid;grid-template-columns:16px 1fr 18px 1fr;align-items:center;gap:6px}
.pdraw .pdn{font-size:10px;font-weight:800;color:#e2bf68;text-align:center}
.pdraw .pdt1{display:flex;align-items:center;gap:7px;min-width:0}
.pdraw .pdt1 img{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 1.5px #e2bf68,0 0 0 3px rgba(226,191,104,.18),0 3px 8px rgba(0,0,0,.5)}
.pdraw .pdt1 b{font-size:13px;font-weight:800;color:#fff3cf;white-space:nowrap}
.pdraw .pdrr i{font-style:normal;color:#e2bf68;font-size:12px;text-align:center}
.pdraw .pdleg{margin-top:9px;text-align:center;font-size:10.5px;font-weight:700;color:#e9d9a8}
/* v740 — swords centred between the two teams */
.pdraw .pdrr{position:relative;grid-template-columns:1fr 20px 1fr;gap:4px;padding:0 4px}
.pdraw .pdrr .pdn{position:absolute;right:-2px;top:50%;transform:translateY(-50%)}
.pdraw .pdrr .pdt1:last-of-type{flex-direction:row-reverse}
.pdraw .pdrr .pdt1:first-of-type{padding-right:14px}
.pdraw .pdrr .pdt1:last-of-type{padding-left:4px}
/* v743 — draw poster legs: date in the user's calendar, the other two small in brackets */
.pdraw .pdleg{display:grid;gap:5px;width:100%;margin-top:9px;padding:8px 10px 7px;border-radius:12px;background:linear-gradient(180deg,rgba(255,226,140,.13),rgba(255,226,140,.03));border:1px solid rgba(226,191,104,.4);text-align:start;font-size:11.5px}
.pdraw .pdl{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pdraw .pdl b{font-weight:800;color:#f3d98a;white-space:nowrap}
.pdraw .pdl span{font-weight:800;color:#fff3cf;text-align:end}
.pdraw .pdl .alt{display:inline;margin-inline-start:3px;font-size:9.5px;font-weight:600;color:#d2bd83;opacity:.95;white-space:nowrap}
.pdraw .pdleg small{display:block;text-align:center;font-size:9.5px;font-weight:700;color:#cdb77a;border-top:1px solid rgba(226,191,104,.25);padding-top:4px}
/* v767: tall luxury slab board, small player figures, gold name tags */
.pit.pit3{aspect-ratio:100/126!important;margin-top:6px!important}
.pit3 .ptg{padding:0 3px!important;font-size:6.8px!important;gap:0!important;line-height:1.3!important;border-radius:2.5px!important;color:#2f1e04!important;background:linear-gradient(180deg,#fbeab5,#e3b95c 55%,#c9963a)!important;text-shadow:none!important;box-shadow:0 1px 2px #0008,inset 0 0 0 .5px #fff8!important}
.pit3 .ptg.gk{color:#fff!important;background:linear-gradient(180deg,#8ec4f2,#3f86cd 55%,#1d5a9b)!important}
.pit3 .ptg.sb{color:#06300b!important;background:linear-gradient(180deg,#f0ffe6,#9be486 50%,#4fb23f)!important}
.pit3 .ptg i{display:none!important}
.pit3 .ptg .jsy{width:12px!important;height:22px!important;bottom:calc(100% - 4px)!important;left:50%!important}
.pit3 .ptg .mg{top:-24px!important;inset-inline-end:-6px!important}
.pit3 .ptg .mc{top:-22px!important}
.pit3 .ptg .jsy{bottom:calc(100% + 1px)!important}
.pit3 .ptg .mg{top:-26px!important}
.pit3 .ptg .mc{top:-24px!important}
.pit.pit3{aspect-ratio:100/114!important}
/* v775: the Persian app name in the poster's professional heavy Vazirmatn */
.brand h1{font-family:Vazirmatn,var(--display),sans-serif!important;font-weight:900!important;font-size:27px!important;letter-spacing:-.2px!important;line-height:1.15!important}
/* v776: no orange outline around the app name */
.brand h1::before{display:none!important}
/* v777: Persian app name in Parastoo Bold (chosen font) */
@font-face{font-family:"TFParastoo";src:url("fonts/Parastoo-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
.brand h1,.brand h1::after{font-family:"TFParastoo",Vazirmatn,sans-serif!important;font-weight:700!important;font-size:25.6px!important;letter-spacing:0!important;line-height:1.2!important}
.wm span{white-space:nowrap}
/* v782: bench cards under the substitutions */
.bnr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px 2px 8px}
.luxp>.bnr{grid-column:1/-1}
.bnc{min-width:0;border:1px solid rgba(201,162,77,.45);border-radius:10px;padding:6px 7px 7px;background:color-mix(in srgb,var(--surface,#fff) 72%,transparent);align-content:start}
.bnc h5{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 5px;font-size:10px;font-weight:900;color:#5b4210}
.bnc h5 span{display:flex;align-items:center;gap:4px;min-width:0}.bnc h5 .crest{width:14px;height:14px}.bnc h5 b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bnc h5 em{font-style:normal;font-size:8.6px;padding:0 5px;border-radius:99px;background:rgba(201,162,77,.2);color:#8a6417}
.bng+.bng{margin-top:5px}.bng s{display:block;text-decoration:none;font-size:8px;font-weight:800;color:var(--muted);margin-bottom:2px}
.bng>div{display:flex;flex-wrap:wrap;gap:3px}
.bp{display:inline-flex;align-items:center;gap:3px;padding:1px 4px 1px 1px;border-radius:6px;background:rgba(0,0,0,.045);font-size:9.2px;font-weight:700;line-height:1.5;white-space:nowrap}
.bp i{font-style:normal;min-width:13px;height:13px;padding:0 2px;border-radius:5px;display:grid;place-items:center;font-size:7.6px;font-weight:900;background:linear-gradient(180deg,#f4d98f,#cf9a3e);color:#3a2506}
.bp.on{background:rgba(31,157,70,.14);color:#0e5a24}.bp u{text-decoration:none;font-size:7.6px;font-weight:800;color:#177a2e}
/* v783: figures never touch the name tags of the row behind */
.pit.pit3{aspect-ratio:100/134!important}
.pit3 .ptg .jsy{width:10px!important;height:18px!important;bottom:calc(100% + 0px)!important}
.pit3 .ptg .mg{top:-21px!important}.pit3 .ptg .mc{top:-19px!important}

/* v802: tap a name in the line-up -> English name for a moment */
#pv-lu [data-en]{cursor:pointer}
#pv-lu [data-en].en{color:#fff;background:#c2410c;border-radius:4px;padding:0 4px;font-weight:800;letter-spacing:0;unicode-bidi:isolate}
.ptg b.en{background:rgba(194,65,12,.95)}
.luxp>.enhint,.enhint{grid-column:1/-1;margin:0;padding:0 4px 2px;text-align:center;font-size:8.6px;color:var(--muted);line-height:1.3;opacity:.85;white-space:nowrap}

/* v804: tighter bench cards */
.bnr{gap:6px;padding:2px 0 0}
.bnc{padding:4px 6px 5px}
.bnc h5{margin:0 0 3px}
.bng+.bng{margin-top:3px}
.bng>div{gap:2px}

/* v818: line-up boards — each team on its own colour-themed card, the vertical text labels replaced by tiny icons (no space taken), wider pitches */
.luxp{padding:6px 3px 8px!important;gap:7px 4px!important}
.luxp .pitw{position:relative;min-width:0;padding:7px 4px 6px;border-radius:15px;overflow:hidden;background:radial-gradient(120% 55% at 50% 0%,color-mix(in srgb,var(--t1,#e8731a) 62%,#050a16) 0%,#060b18 78%),repeating-linear-gradient(115deg,rgba(255,255,255,.055) 0 11px,transparent 11px 22px);box-shadow:inset 0 0 0 1.3px color-mix(in srgb,var(--t1,#e8731a) 75%,transparent),inset 0 0 22px -6px color-mix(in srgb,var(--t2,#fff) 45%,transparent),0 10px 22px -14px #000}
.luxp .pitw .pith{padding:0 3px 5px;color:#fff}
.luxp .pitw .pith>span>b,.luxp .pitw .pith em b{color:#fff}
.luxp .pitw .pith em{color:rgba(255,255,255,.72)}
.luxp .pitw .pith small{color:#ffe9b3;background:rgba(0,0,0,.35);border-color:rgba(255,220,140,.5)}
.luxp .pitw .pit{border-radius:10px}
.pit .pr,.pit3 .pr{font-size:0!important;line-height:0!important;width:13px!important;height:13px!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(0,0,0,.4)!important;writing-mode:horizontal-tb!important;rotate:none!important;left:2px!important;translate:0 -50%!important;box-shadow:0 0 0 .6px rgba(255,235,170,.55);pointer-events:none}
.pit .pr::before,.pit3 .pr::before{content:"";position:absolute;inset:2.6px;background:#f6e3a6;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.pit .pr.gk::before{background:#cfe8ff}
.pit .pr[data-k=g]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 21v-9a1.6 1.6 0 0 1 3.2 0V6.200a1.600 1.600 0 0 1 3.200 0V11a1.600 1.600 0 0 1 3.200 0v1a1.600 1.600 0 0 1 3.200 0v4.500c0 3-2.200 4.500-5 4.500Z'/%3E%3C/svg%3E")}
.pit .pr[data-k=d]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.400 8.600 8 10 4.600-1.400 8-5 8-10V5Z'/%3E%3C/svg%3E")}
.pit .pr[data-k=m]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8h14l-3.500-3.500 1.400-1.400L21.800 9 14.900 15.900l-1.400-1.400L17 11H3Zm18 8H7l3.500 3.500-1.400 1.400L2.200 15l6.900-6.900 1.400 1.400L7 13h14Z'/%3E%3C/svg%3E")}
.pit .pr[data-k=f]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 5.500 3.800 2.800-1.400 4.500H9.600L8.200 10.300 12 7.500Z'/%3E%3C/svg%3E")}

/* v834: share sheet — choose which link to send: Google Play (Android) or the website (iPhone, computers) */
.shsw{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin:12px 0 4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.shsw button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 6px;border:0;border-radius:11px;background:transparent;color:var(--muted);font:inherit;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.shsw button b{font-size:13.5px;font-weight:900}.shsw button small{font-size:10.5px;font-weight:600;opacity:.85}
.shsw button[aria-pressed=true]{background:var(--surface);color:var(--oranje);box-shadow:0 1px 6px rgba(0,0,0,.12),inset 0 0 0 1.5px var(--oranje)}
.qrsvg[hidden]{display:none}

/* v840: «ما را دنبال کنید» page */
.socl{display:flex;align-items:center;gap:14px;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-decoration:none;color:var(--ink)}
.socl i{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;flex:none}.socl i svg{width:24px;height:24px}
.socl.ig i{background:linear-gradient(45deg,#feda75 0%,#fa7e1e 28%,#d62976 55%,#962fbf 78%,#4f5bd5 100%)}.socl.fb i{background:#1877f2}
.socl span{display:flex;flex-direction:column;gap:2px;min-width:0}.socl b{font-size:15px;font-weight:900}.socl small{font-size:12px;color:var(--muted);font-weight:600;direction:ltr;text-align:right}
.socl:active{transform:scale(.99)}

/* v847: the two settings columns end on the same line: the shorter one stretches its rows evenly */
#dmain .dcols{align-items:stretch}
#dmain .dcolx{display:flex;flex-direction:column}
#dmain .dcolx .dlist{flex:1;display:flex;flex-direction:column}
#dmain .dcolx .dlist button{flex:1 1 auto}
#dmain .dcolx .dlist em{white-space:nowrap}

/* v849: «به‌روزرسانی برنامه» page — a gold-framed version card */
.updc{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px 20px;text-align:center;border-radius:22px;background:linear-gradient(180deg,var(--surface),var(--surface-2));border:1.5px solid transparent;background-clip:padding-box;box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
.updc::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(160deg,#f6dc90,#d9a94d 45%,#f6dc90);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.updi{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--oranje-soft);color:var(--oranje);box-shadow:0 0 0 6px color-mix(in srgb,var(--oranje) 8%,transparent)}
.updv{display:flex;flex-direction:column;align-items:center;margin-top:8px;line-height:1.1}
.updv small{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.3px}
.updv b{font-size:60px;font-weight:900;background:linear-gradient(180deg,#f6dc90,#d9a94d 55%,#b9831f);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 8px rgba(217,169,77,.28));padding:2px 8px}
.updt{font-size:16px;font-weight:900;line-height:1.6;margin-top:2px}
.updc .upds{font-size:12.5px;color:var(--muted);line-height:1.8}
.updbuild{margin-top:10px;padding:3px 12px;border-radius:999px;font-size:10.5px;font-weight:700;color:var(--muted);background:color-mix(in srgb,var(--muted) 10%,transparent);letter-spacing:.2px}
.updc .u-ok,.updc .u-new,.updc .u-err,.updc .u-spin{display:none}
.updc[data-st=check] .u-spin{display:block;transform-origin:12px 12px;animation:updspin 1s linear infinite}
.updc[data-st=ok] .u-ok{display:block}.updc[data-st=ok] .updi{background:color-mix(in srgb,var(--win,#1f9d55) 16%,transparent);color:var(--win,#1f9d55);box-shadow:0 0 0 6px color-mix(in srgb,var(--win,#1f9d55) 8%,transparent)}
.updc[data-st=new] .u-new{display:block}.updc[data-st=err] .u-err{display:block}.updc[data-st=err] .updi{background:rgba(214,60,60,.14);color:#d63c3c;box-shadow:0 0 0 6px rgba(214,60,60,.07)}
@keyframes updspin{to{transform:rotate(360deg)}}
.updb{display:block;width:100%;margin-top:12px;padding:14px;border:0;border-radius:15px;font:inherit;font-size:14.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff9a3c,#e05300);box-shadow:0 10px 20px -10px rgba(224,83,0,.7);cursor:pointer}
.updb.sec{background:transparent;color:var(--ink);border:1px solid var(--line);font-weight:800;box-shadow:none}.updb:disabled{opacity:.55}

/* v857 — tiny weather under your own local time (hidden for the other zones, keeps the pill's size) */
.hclk .hcol{display:flex;flex-direction:column;align-items:center;min-width:0}
.hclk .hwx{display:none;align-items:center;justify-content:center;gap:4px;direction:ltr;line-height:1;white-space:nowrap;font-size:8px;font-weight:700;color:var(--muted);opacity:0;transition:opacity .28s ease;margin-top:1px;height:10px}
.hclk.hasw .hwx{display:flex}
.hclk.wxon .hwx{opacity:1}
.hclk .hwx b{font-size:9px;font-weight:400;line-height:1}
.hclk .hwx span{unicode-bidi:isolate;direction:ltr;font-variant-numeric:tabular-nums}
.hclk .hwx .wt{color:var(--ink);font-weight:800;font-size:8.5px}
.hclk .hwx em{font-style:normal;letter-spacing:0;opacity:.85;display:inline-flex;gap:3px}
.hclk.hasw{height:auto;padding-top:3px;padding-bottom:3px;border-radius:14px}

/* v858 — weather row: high / low with a drawn icon; the pill is one row again when another city's time is shown */
.hclk{transition:height .3s cubic-bezier(.2,.8,.2,1),border-radius .3s ease}
.hclk.hasw{height:21px;padding-top:0;padding-bottom:0;border-radius:99px}
.hclk.hasw.wxon{height:31px;border-radius:15px}
.hclk .hwx{display:flex;height:0;margin-top:0;overflow:hidden;opacity:0;gap:4px;transition:height .3s cubic-bezier(.2,.8,.2,1),margin .3s ease,opacity .25s ease}
.hclk.hasw.wxon .hwx{height:12px;margin-top:2px;opacity:1}
.hclk .hwx b{display:inline-flex;align-items:center}
.hclk .hwx b svg{display:block;filter:drop-shadow(0 .5px .6px rgba(60,40,10,.22))}
.hclk .hwx span{font-size:9px;font-weight:700;color:var(--muted);letter-spacing:0}
.hclk .hwx .wt{font-size:9.5px;font-weight:800;color:var(--ink)}
.hclk .hwx u{text-decoration:none;font-size:8px;color:var(--muted);opacity:.55;margin:0 -1px}

/* v861 — head-to-head with no official meeting on record */
.pvc .h2no{margin:0;padding:20px 18px;text-align:center;color:var(--muted);font-weight:600;font-size:14px;line-height:1.7}

/* v865 — the news page as a luxury news front page: header, cinematic top story, day headings, topic chips */
.nhead{margin:4px 4px 2px;padding:2px 0 12px;position:relative}
.nhead b{display:block;font-size:22px;font-weight:900;line-height:1.5;letter-spacing:0;color:var(--ink)}
.nhead small{display:block;margin-top:2px;font-size:12.5px;font-weight:500;color:var(--muted)}
.nhead::after{content:"";position:absolute;right:0;bottom:0;width:64px;height:3px;border-radius:3px;background:linear-gradient(90deg,#f6c86a,#e08a1e)}
.nday{display:flex;align-items:center;gap:12px;margin:22px 6px 10px;font-size:13px;font-weight:800;color:var(--muted)}
.nday::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--line),transparent)}
.news .nw img{width:104px;height:78px;border-radius:14px}
.news .nw b{font-size:15px;font-weight:800;line-height:1.75}
.nct{font-style:normal;font-size:10px;font-weight:800;line-height:1.7;padding:0 8px;border-radius:7px;color:#7a4a08;background:linear-gradient(180deg,#fff0c9,#f6d98e);white-space:nowrap}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nct{color:#ffd98f;background:rgba(246,201,106,.14);box-shadow:inset 0 0 0 1px rgba(246,201,106,.3)}}
:root[data-theme="dark"] .nct{color:#ffd98f;background:rgba(246,201,106,.14);box-shadow:inset 0 0 0 1px rgba(246,201,106,.3)}
.news .nw small{flex-wrap:wrap;row-gap:4px;column-gap:8px}
.news .nw:not(:first-child):has(img) .nmore{display:none}
.news .nw small .ago::before{display:none}

/* v867 — quieter «top story» label, and a «جزئیات» button on every card so readers know it opens */
.news .nw:not(:first-child):has(img) .nmore{display:inline-flex}
.news .nw .nmore{display:inline-flex;align-items:center;margin-inline-start:auto;padding:2px 11px 3px;border-radius:30px;font-style:normal;font-size:11px;font-weight:800;color:var(--oranje);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 45%,transparent);background:color-mix(in srgb,var(--oranje) 7%,transparent)}

/* v870 — the clock pill stays ONE row: location pin + time + weather in a line; the day tabs are smaller and finer */
.hclk .hcol{flex-direction:row;align-items:center;gap:7px}
.hclk .hckb{align-items:center}
.hclk .hckb small[data-k="0"]{display:inline-flex;align-items:center;min-width:0!important;line-height:1}
.hclk .hckb small .pin{display:block;filter:drop-shadow(0 1px 1.5px rgba(150,60,0,.35))}
.hclk.hasw,.hclk.hasw.wxon{height:21px;padding-top:0;padding-bottom:0;border-radius:99px}
.hclk .hwx,.hclk.hasw.wxon .hwx{height:auto;margin-top:0;display:flex;align-items:center}
.hclk .hwx{max-width:0;opacity:0;overflow:hidden;transition:max-width .35s ease,opacity .25s ease}
.hclk.hasw.wxon .hwx{max-width:120px;opacity:1}
.days:not(.nsegs):not(.lgs) .day{min-width:78px;padding:5px 12px 6px;margin:6px 3px;font-size:13.5px;line-height:1.35;border-radius:14px}
.days:not(.nsegs):not(.lgs) .day small{font-size:10.5px;line-height:1.4}
.days:not(.nsegs):not(.lgs) .day[aria-selected="true"]{background:linear-gradient(180deg,color-mix(in srgb,var(--oranje) 14%,var(--surface)),color-mix(in srgb,var(--oranje) 6%,var(--surface)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 36%,transparent),0 5px 12px -7px color-mix(in srgb,var(--oranje) 60%,transparent);border-radius:14px}

/* v871 — «دانستنی‌ها»: stars, clubs and charts */
.days.nsegs{grid-template-columns:.85fr 1.6fr 1.05fr}
.nsegs .day{font-size:12px;gap:4px;padding:8px 4px}
.nsegs .day svg{width:14px;height:14px}
.fxtabs{display:flex;gap:6px;margin:10px 4px 12px}
.fxtabs button{flex:1;padding:8px 6px;border:0;border-radius:12px;font:inherit;font-size:12.5px;font-weight:800;color:var(--muted);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}
.fxtabs button[aria-selected="true"]{color:#3b2204;background:linear-gradient(180deg,#ffe29a,#f1a93f);box-shadow:0 6px 14px -8px rgba(241,169,63,.9)}
.fxlist{display:flex;flex-direction:column;gap:10px}
.fxc{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 1px 2px rgba(20,24,40,.04),0 12px 26px -18px rgba(20,24,40,.35)}
.fxc.open{box-shadow:0 1px 2px rgba(20,24,40,.05),0 18px 34px -18px rgba(20,24,40,.5)}
.fxh1{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:0;background:transparent;font:inherit;color:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fxph{width:62px;height:62px;border-radius:18px;object-fit:cover;object-position:50% 18%;flex:none;background:var(--surface-2);box-shadow:0 0 0 2px color-mix(in srgb,var(--oranje) 30%,transparent)}
.fxno{display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900;color:#3b2204;background:linear-gradient(180deg,#ffe29a,#f1a93f)}
.fxcl{object-fit:contain;padding:6px;background:#fff}
.fxn{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.fxn b{font-size:16px;font-weight:900;line-height:1.5}
.fxn small{font-size:12px;color:var(--muted);line-height:1.6}
.fxn .fxy{color:var(--oranje);font-weight:700}
.fxar{width:10px;height:10px;flex:none;border-inline-end:2.5px solid var(--muted);border-bottom:2.5px solid var(--muted);transform:rotate(45deg);margin-inline-end:4px;transition:transform .2s}
.fxc.open .fxar{transform:rotate(-135deg)}
.fxb{padding:2px 14px 16px;border-top:1px solid var(--line)}
.fxbio{display:flex;flex-direction:column;gap:2px;margin:12px 0 4px;font-size:12.5px;color:var(--muted);font-weight:600}
.fxst{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:8px;margin:12px 0 4px}
.fxst div{padding:10px 6px 9px;border-radius:14px;text-align:center;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.fxst b{display:block;font-size:19px;font-weight:900;color:var(--oranje);line-height:1.3}
.fxst span{display:block;font-size:11px;color:var(--muted);font-weight:600;margin-top:2px}
.fxtx{margin:12px 0 4px;font-size:13.5px;line-height:2;color:var(--ink)}
.fxb h5{display:flex;align-items:center;gap:10px;margin:16px 0 8px;font-size:12.5px;font-weight:800;color:var(--muted)}
.fxb h5::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--line),transparent)}
.fxch{display:flex;flex-wrap:wrap;gap:6px}
.fxch span{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 12px;border-radius:30px;font-size:12px;font-weight:700;color:var(--ink);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.fxch b{min-width:20px;padding:0 6px;border-radius:20px;text-align:center;font-size:12px;font-weight:900;color:#3b2204;background:linear-gradient(180deg,#ffe29a,#f1a93f)}
.fxl{margin:10px 0 0;padding:0 18px 0 0;font-size:12.5px;line-height:1.95;color:var(--ink)}
.fxt{border-radius:14px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.fxr{display:grid;grid-template-columns:92px 1fr 44px 44px;align-items:center;gap:6px;padding:7px 10px;font-size:12.5px;border-top:1px solid var(--line)}
.fxr:first-child{border-top:0}
.fxr i{font-style:normal;color:var(--muted);font-weight:600;font-size:11.5px}
.fxr span{font-weight:700}
.fxr em{font-style:normal;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.fxr.fxh{background:var(--surface-2);color:var(--muted);font-size:11px;font-weight:700}
.fxr.fxh i,.fxr.fxh span,.fxr.fxh em{color:var(--muted);font-weight:700}
.fxcr{margin:14px 0 0;font-size:10.5px;line-height:1.7;color:var(--muted)}
.fxcr a{color:var(--muted);text-decoration:underline}
.fxcht{margin:0 0 12px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 26px -18px rgba(20,24,40,.35)}
.fxcht h4{margin:0 0 4px;font-size:15px;font-weight:900;line-height:1.7}
.fxsub{margin:0 0 10px;font-size:12px;color:var(--muted)}
.fxbars{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.fxbar{display:grid;grid-template-columns:96px 1fr 34px;align-items:center;gap:8px;font-size:12.5px;font-weight:700}
.fxbar i{display:block;height:12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.fxbar u{display:block;height:100%;border-radius:12px;background:linear-gradient(90deg,#f1a93f,#ee6a1a);text-decoration:none}
.fxbar b{text-align:start;font-weight:900;color:var(--oranje)}
.fxsrc{margin:10px 0 0;font-size:10.5px;color:var(--muted)}
.fximg{display:block;width:100%;height:auto;border-radius:14px}
.fxst{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}

/* v871 — the selected-day pill is the sliding indicator itself: it follows the finger and glides, so it never lags behind the tabs */
.days:not(.nsegs):not(.lgs) .ind{display:block;top:6px;bottom:6px;height:auto;border-radius:14px;background:linear-gradient(180deg,color-mix(in srgb,var(--oranje) 14%,var(--surface)),color-mix(in srgb,var(--oranje) 6%,var(--surface)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--oranje) 36%,transparent),0 5px 12px -7px color-mix(in srgb,var(--oranje) 60%,transparent);z-index:0;transition:transform .28s cubic-bezier(.2,.8,.3,1),width .28s cubic-bezier(.2,.8,.3,1)}
.days:not(.nsegs):not(.lgs) .day{position:relative;z-index:1}
.days:not(.nsegs):not(.lgs) .day[aria-selected="true"]{background:none;box-shadow:none}
.fxlead{margin:14px 0 6px;font-size:14px;font-weight:500;line-height:2.1;color:var(--ink);text-align:justify;text-justify:inter-word}
.fxb .fxbio{margin:8px 0 2px;padding:10px 12px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}

/* v873 — no poster-style top story: the first story is a card like all the others */
.news .nw:first-child{flex-direction:row;gap:12px;padding:10px;overflow:visible}
.news .nw:first-child img{width:104px;height:78px;aspect-ratio:auto;border-radius:14px}
.news .nw:first-child div{padding:0}
.news .nw:first-child b{font-size:15px;line-height:1.75}
.news .nw:first-child p{-webkit-line-clamp:2}

/* v874 — facts: five tabs (scrollable), national teams, stadiums, nationality chart with flags */
.fxtabs{overflow-x:auto;scrollbar-width:none;padding:2px 2px 6px}
.fxtabs::-webkit-scrollbar{display:none}
.fxtabs button{flex:none;padding:8px 14px;white-space:nowrap}
.fxfl{object-fit:cover;border-radius:50%;padding:0;background:var(--surface-2)}
.fxst0{display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff7e4,#ffe7bd);box-shadow:inset 0 0 0 1px rgba(238,122,26,.25)}
.fxnat{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.fxnr{display:grid;grid-template-columns:18px 26px 84px 1fr 52px;grid-template-areas:"e f n b p" ". . . . c";align-items:center;gap:2px 8px;font-size:12.5px;font-weight:700}
.fxnr em{grid-area:e;font-style:normal;font-size:11px;color:var(--muted);text-align:center;font-weight:800}
.fxnr img{grid-area:f;width:24px;height:24px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
.fxnr span{grid-area:n}
.fxnr i{grid-area:b;display:block;height:10px;border-radius:10px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.fxnr u{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#7b6bff,#ff5f9a 55%,#ff9a3c);text-decoration:none}
.fxnr b{grid-area:p;text-align:start;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.fxnr small{grid-area:c;justify-self:end;font-size:10px;color:var(--muted);font-weight:600}
.fxnr.fxot{margin-top:4px;padding:6px 8px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.fxnr .fxall{grid-column:2 / 5}

/* v876 — stadium photos */
.fxsph{object-position:50% 50%}
.fxban{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;margin:2px 0 12px;box-shadow:0 8px 22px -12px rgba(0,0,0,.45);background:var(--surface-2)}
