:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:#0b0d10;color:var(--text);font-size:14px}
body[data-theme="1"]{color-scheme:dark;--bg:#141619;--header:#111316;--surface:#1c1f23;--surface2:#25292e;--line:#343940;--text:#f5f6f7;--muted:#a6adb5;--accent:#f1bd4b;--accent-text:#242011;--chip:#30291b;--live:#ee6267;--shade:#080a0d}
body[data-theme="2"]{color-scheme:dark;--bg:#101a26;--header:#111b29;--surface:#182534;--surface2:#223245;--line:#344759;--text:#f3f6f9;--muted:#a8b8c7;--accent:#89c4ed;--accent-text:#10293b;--chip:#1e3449;--live:#f07976;--shade:#08111d}
body[data-theme="3"]{color-scheme:light;--bg:#f3f5f7;--header:#fff;--surface:#fff;--surface2:#edf0f4;--line:#d8dee5;--text:#1b2532;--muted:#596675;--accent:#215f94;--accent-text:#fff;--chip:#e8f1f9;--live:#d54a51;--shade:#17202b}
button,select,a{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,select:focus-visible,a:focus-visible,.match-list:focus-visible,.coupon-list:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
.sr-only,.svg-icons{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-shell{width:min(100%,480px);min-height:100dvh;margin:0 auto;background:var(--bg)}
.site-header{height:60px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;background:var(--header);border-bottom:1px solid var(--line)}
.brand-button{display:flex;align-items:center;min-width:0;border:0;background:none;padding:0}
.brand-button img{display:block;width:145px;max-width:42vw;height:auto}
.header-actions{display:flex;align-items:center;gap:8px}
.theme-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted)}
.theme-button:hover{color:var(--text)}
.coupon-trigger{position:relative;height:36px;display:flex;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:12px;font-weight:760}
.coupon-trigger .icon{width:19px;height:19px;color:var(--accent)}
.coupon-indicator{position:absolute;right:-2px;top:-2px;width:7px;height:7px;border:2px solid var(--header);border-radius:50%;background:var(--live);animation:quiet-pulse 3.5s ease-in-out infinite}
@keyframes quiet-pulse{50%{box-shadow:0 0 0 5px transparent}0%,100%{box-shadow:0 0 0 1px var(--live)}}
main{padding:0 12px 18px}
.site-context{min-height:43px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.07em}
.site-context>span{display:flex;align-items:center;gap:7px;color:var(--text)}
.status-dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--live)}
.site-context time{letter-spacing:0;text-transform:capitalize}

.ad-rail{display:flex;flex-direction:column;gap:8px;overflow:visible;margin:0 0 12px;padding:0}
.promo{position:relative;flex:none;width:100%;height:67px;display:flex;align-items:center;gap:10px;padding:8px 11px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.promo:before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--accent)}
.promo-label{width:46px;flex:none;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.06em}
.promo-copy{min-width:0;flex:1}
.promo-copy strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:800;color:var(--text)}
.promo-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:10px;color:var(--muted)}
.promo-arrow{flex:none;color:var(--accent);font-size:22px;line-height:1}
.promo.ad-image{height:auto;padding:0}
.promo.ad-image:before{display:none}
.promo.ad-image img{width:100%;height:auto;display:block}
.ad-rail-after{margin-top:10px;margin-bottom:17px}
.ad-rail-bottom{margin-top:12px;margin-bottom:8px}

.player-section{scroll-margin-top:70px}
.player-section-heading{height:31px;display:flex;align-items:flex-start;justify-content:space-between;padding:0 2px;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.095em}
.hd-label{padding:2px 6px;border:1px solid var(--line);border-radius:4px;color:var(--text);font-size:9px;letter-spacing:0}
.player-frame{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border:1px solid var(--line);border-radius:11px;background:#080c12 url("assets/stadium.webp") center/cover}
.player-frame.playing{background:#080c12}
.player-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#080c12}
.player-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:11px;background:linear-gradient(180deg,#0009 0%,transparent 36%,transparent 49%,#000d 100%)}
.player-top{display:flex;align-items:start;justify-content:space-between}
.state-badge{padding:5px 7px;border-radius:4px;background:var(--live);color:#fff;font-size:10px;font-weight:850;letter-spacing:.04em}
.state-badge.preview{background:#272f35;color:#fff;border:1px solid #67717b}
.player-top button{width:30px;height:30px;display:grid;place-items:center;border:1px solid #ffffff65;border-radius:6px;background:#0d1419ad;color:#fff}
.player-top .icon{width:17px;height:17px}
.player-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#101820a8;color:#fff}
.player-play .icon{width:25px;height:25px;fill:currentColor;stroke:none;margin-left:3px}
.player-bottom{display:flex;flex-direction:column;gap:3px;min-width:0;color:#fff}
.player-bottom span{font-size:9px;font-weight:850;letter-spacing:.08em;color:#f4d389}
.player-bottom strong{font-size:15px;line-height:1.15;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.player-bottom small{font-size:10px;color:#d2d7de;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-frame.playing .player-cover{opacity:0;pointer-events:none;transition:opacity .2s}
.player-foot{display:flex;flex-direction:column;gap:8px;padding:10px 0 4px}
.player-foot-label{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em}
.player-board{padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:var(--shade)}
.board-row{margin:0}
.board-channel,.board-empty{margin:0;font-size:15px;font-weight:800}
.board-channel{color:var(--text)}
.board-empty{color:var(--muted);font-size:13px;font-weight:700}
.player-message{margin:0;color:var(--muted);font-size:11px;line-height:1.4}
.player-message:not(:empty){padding:7px 3px 0}

.schedule{scroll-margin-top:70px}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 11px}
.section-kicker{color:var(--muted);font-size:10px;font-weight:820;letter-spacing:.08em}
.section-heading h1{font-size:23px;line-height:1.1;margin:3px 0 0;letter-spacing:-.03em}
.match-count{font-size:11px;color:var(--muted);font-weight:700}
.sport-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;margin:0 0 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.sport-tabs button{min-width:0;height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 1px;border:0;border-right:1px solid var(--line);border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:12px;font-weight:700}
.sport-tabs button:last-child{border-right:0}
.sport-tabs button img{width:23px;height:23px;object-fit:contain}
.sport-tabs button[aria-selected="true"]{border-bottom-color:var(--accent);background:var(--chip);color:var(--text)}
.filters{display:grid;grid-template-columns:68px minmax(0,1fr) 114px;gap:7px;margin-bottom:9px}
.filters button,.select-field{height:39px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px}
.live-filter{display:flex;align-items:center;justify-content:center;gap:6px;font-weight:750}
.live-filter[aria-pressed="true"]{border-color:var(--live);color:var(--live)}
.select-field{position:relative;display:flex;align-items:center}
.select-field select{width:100%;height:100%;appearance:none;overflow:hidden;text-overflow:ellipsis;padding:0 23px 0 9px;border:0;outline:0;background:transparent;color:inherit;font-size:11px;font-weight:650}
.select-field option{background:var(--surface);color:var(--text)}
.select-field .icon{position:absolute;right:5px;width:14px;height:14px;pointer-events:none;color:var(--muted)}

.list-shell{padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.list-top{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 3px 8px;font-size:12px;font-weight:850}
.list-top small{font-size:9px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.match-list{max-height:min(58dvh,510px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--muted) transparent}
.league-block{margin:0 0 10px}
.league-head{position:sticky;top:0;z-index:1;height:32px;display:flex;align-items:center;gap:6px;padding:0 8px;border-left:3px solid var(--accent);border-radius:5px;background:var(--surface2);font-size:11px;font-weight:790}
.league-head img{width:18px;height:18px}
.league-head small{margin-left:auto;color:var(--muted);font-size:10px;font-weight:650}
.match-row{width:100%;min-height:66px;display:grid;grid-template-columns:31px minmax(0,1fr) 58px 12px;gap:7px;align-items:center;margin:5px 0 0;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);text-align:left}
.match-row[aria-pressed="true"]{border-color:var(--accent);background:var(--chip)}
.match-row:hover{border-color:var(--accent)}
.match-row .ball-icon{width:27px;height:27px;object-fit:contain}
.match-names{min-width:0}
.match-names strong,.match-names span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.3}
.match-names span{margin-top:3px}
.match-status{min-width:0;text-align:right}
.match-status small,.match-status b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match-status small{font-size:10px;color:var(--muted)}
.match-status small.is-live{color:var(--live);font-weight:850}
.match-status b{margin-top:2px;font-size:13px}
.match-chevron{display:grid;place-items:center;color:var(--muted)}
.match-chevron .icon{width:14px;height:14px}
.view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
.view-tab{height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:850}
.view-tab[aria-pressed="true"]{background:var(--chip);color:var(--text);border-color:var(--accent)}
.channel-row{width:calc(100% - 8px);display:flex;align-items:center;gap:10px;margin:0 4px 8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--shade);color:var(--text);text-align:left}
.channel-row[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}
.ch-logo{width:36px;height:36px;flex:none;display:grid}
.ch-logo img,.ch-fallback{width:36px;height:36px;border-radius:8px}
.ch-logo img{object-fit:contain;background:#fff;grid-area:1/1}
.ch-fallback{display:none;place-items:center;background:var(--chip);color:var(--text);font-size:14px;grid-area:1/1}
.ch-logo img[hidden]+.ch-fallback,.ch-logo:not(:has(img)) .ch-fallback{display:grid}
.ch-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.ch-copy strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-copy small{color:var(--muted);font-size:11px;font-weight:700}
.list-filters{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none}
.list-filters::-webkit-scrollbar{display:none}
.list-filters-split{justify-content:space-between;align-items:center;gap:8px}
.list-filters-split>.list-filters{padding:0;flex:0 1 auto}
.list-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:12px;font-weight:800}
.list-chip img{width:16px;height:16px;object-fit:contain}
.list-chip[aria-pressed="true"]{background:var(--chip);color:var(--text);border-color:var(--accent)}
.league-card{margin:0 0 12px;padding:8px 6px 4px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.league-card .league-head{position:static;height:auto;padding:2px 8px 8px;border:0;background:transparent;font-size:13px}
.league-card .league-head small{color:var(--accent);font-weight:800}
.fixture{width:calc(100% - 8px);display:block;margin:0 4px 8px;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:var(--shade);color:var(--text);text-align:left}
.fixture[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}
.fixture-row{display:flex;align-items:center;justify-content:space-between;gap:4px}
.fixture-team{flex:1;min-width:0;display:flex;align-items:center;gap:6px}
.fixture-team.away{justify-content:flex-end}
.fixture-team img{width:28px;height:28px;object-fit:contain;flex:none;border-radius:4px}
.fixture-team span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700}
.fixture-team.away span{text-align:right}
.fixture-mid{width:76px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.fixture-mid b{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}
.fixture-score{font-size:15px;font-weight:850;letter-spacing:.01em;color:var(--text)}
.fixture-mid small{font-size:11px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}
.fixture-mid.is-live small{color:var(--live)}
.minute-dot{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:var(--live);vertical-align:1px;box-shadow:0 0 0 0 rgba(251,113,133,.7);animation:livepulse 1.4s infinite}
@keyframes livepulse{70%{box-shadow:0 0 0 5px rgba(251,113,133,0)}}
.live-pill{font-size:9px;font-weight:800;color:#fff;background:var(--live);padding:2px 6px;border-radius:5px}
.list-empty{padding:35px 12px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}
.site-footer{padding:12px 0 2px;text-align:center;color:var(--muted);font-size:10px}

body.modal-open{overflow:hidden}
.coupon-modal{position:fixed;inset:0;z-index:70;display:flex;align-items:end;justify-content:center}
.coupon-backdrop{position:absolute;inset:0;background:#090d13c9}
.coupon-dialog{position:relative;display:flex;flex-direction:column;width:min(100%,480px);max-height:91dvh;padding:9px 13px max(13px,env(safe-area-inset-bottom));overflow:hidden;border:1px solid var(--line);border-bottom:0;border-radius:17px 17px 0 0;background:var(--bg);box-shadow:0 -12px 45px #0008}
.coupon-handle{flex:none;width:38px;height:4px;margin:0 auto 12px;border-radius:10px;background:var(--line)}
.coupon-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.coupon-header h2{font-size:22px;margin:3px 0 0}
.coupon-close{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:25px;line-height:1}
.coupon-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}
.coupon-tabs button{height:39px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:750}
.coupon-tabs button[aria-selected="true"]{background:var(--chip);border-color:var(--accent);color:var(--text)}
.coupon-tabs span{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:3px;border-radius:20px;background:var(--surface2);font-size:10px}
.coupon-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--muted) transparent}
.coupon-card{margin:0 0 9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.coupon-card-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:9px}
.coupon-company{height:33px;max-width:52%;display:flex;align-items:center}
.coupon-company img{height:32px;width:auto;max-width:100%;object-fit:contain}
.coupon-company strong{font-size:12px}
.coupon-status{color:var(--accent);font-size:9px;font-weight:800;white-space:nowrap}
.coupon-picks{padding:0 9px;border:1px solid var(--line);border-radius:7px}
.coupon-pick{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:6px 0}
.coupon-pick+.coupon-pick{border-top:1px solid var(--line)}
.coupon-pick div{min-width:0}
.coupon-pick span,.coupon-pick strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.coupon-pick span{font-size:10px;color:var(--muted)}
.coupon-pick strong{font-size:11px;margin-top:2px}
.coupon-pick b{color:var(--accent);font-size:12px}
.coupon-totals{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:5px;padding:10px 0}
.coupon-totals span,.coupon-totals strong{display:block;white-space:nowrap}
.coupon-totals span{color:var(--muted);font-size:9px}
.coupon-totals strong{font-size:12px;margin-top:3px}
.coupon-return strong{color:var(--accent)}
.coupon-cta{height:38px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;background:var(--accent);color:var(--accent-text);font-size:12px;font-weight:850}
.coupon-cta span{font-size:16px}
.coupon-disclaimer{flex:none;margin:8px 1px 0;font-size:9px;line-height:1.4;color:var(--muted);text-align:center}
.coupon-empty{padding:30px 15px;text-align:center;color:var(--muted);font-size:12px}
@media(max-width:355px){.brand-button img{width:130px}.header-actions{gap:5px}.site-header{padding-inline:10px}.coupon-trigger{padding-inline:8px}.match-names strong,.match-names span{font-size:12px}.match-row{gap:4px}.promo-label{width:42px}}
@media(min-width:980px){
  body{background:#07080b}
  .site-shell{width:min(1180px,calc(100% - 40px));min-height:calc(100dvh - 44px);margin:18px auto 28px;border:1px solid var(--line);border-radius:18px;overflow:hidden}
  .site-header{padding-inline:18px}
  main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.92fr);column-gap:16px;align-items:start;padding:0 16px 20px}
  .site-context,#ads-before,#ads-bottom,.site-footer{grid-column:1 / -1}
  .stage{grid-column:1;min-width:0}
  .schedule{grid-column:2;position:sticky;top:78px;min-width:0;align-self:start}
  .match-list{max-height:calc(100dvh - 250px)}
  .coupon-modal{align-items:center}
  .coupon-dialog{width:min(440px,calc(100% - 32px));max-height:min(80dvh,760px);border-bottom:1px solid var(--line);border-radius:17px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
