:root{--sb-canvas:#f5f7fa;--sb-surface:#fff;--sb-soft:#f0f3f7;--sb-line:#dfe5ec;--sb-text:#182230;--sb-muted:#667085;--sb-blue:#1366cf;--sb-blue-soft:#eaf3ff;--sb-green:#0e9e0c;--sb-green-soft:#edf9ed;--sb-red:#d92d20;--sb-red-soft:#fff0ee;--sb-orange:#b54708;--sb-shadow:0 1px 2px rgba(16,24,40,.05),0 6px 20px rgba(16,24,40,.04)}
*{box-sizing:border-box}html{background:#fff}body{margin:0;background:var(--sb-canvas);color:var(--sb-text);font-family:Rubik,system-ui,sans-serif;min-height:100vh}.hdr{position:sticky;top:0;z-index:40}.sports-shell{width:min(1180px,100%);margin:0 auto;padding:24px clamp(14px,1.6vw,18px) 40px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.sports-main{min-width:0}.sports-titlebar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 20px}.eyebrow{font-size:11px;line-height:1.2;letter-spacing:.13em;color:var(--sb-blue);font-weight:800}.sports-titlebar h1{font-size:clamp(24px,2.3vw,32px);line-height:1.13;letter-spacing:-.035em;margin:5px 0 7px;color:var(--sb-text)}.sports-titlebar p{margin:0;color:var(--sb-muted);font-size:14px}.history-trigger{min-height:48px;border:1px solid #b9cee9;border-radius:10px;background:var(--sb-surface);color:var(--sb-blue);display:flex;align-items:center;gap:9px;padding:0 18px;font:700 14px inherit;cursor:pointer;box-shadow:var(--sb-shadow)}.history-icon{font-size:19px}.sports-nav{display:flex;align-items:center;gap:10px;padding:10px;background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:12px;box-shadow:var(--sb-shadow)}.tabs{display:flex;gap:4px}.tabs button,.refresh,.sport-chips button{font:700 13px inherit;cursor:pointer}.tabs button{min-height:44px;padding:0 17px;border:0;border-radius:8px;background:transparent;color:var(--sb-muted);display:flex;align-items:center;gap:8px}.tabs button:hover{background:var(--sb-soft)}.tabs button.on{background:var(--sb-blue);color:#fff}.live-dot{width:7px;height:7px;border-radius:50%;background:#f04438;box-shadow:0 0 0 4px rgba(240,68,56,.13)}.sport-search{margin-left:auto;height:44px;width:min(270px,32vw);display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--sb-line);border-radius:9px;background:#fff;color:var(--sb-muted)}.sport-search:focus-within{border-color:#83afe5;box-shadow:0 0 0 3px rgba(19,102,207,.1)}.sport-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--sb-text);font:400 14px inherit}.refresh{width:44px;height:44px;border:1px solid var(--sb-line);border-radius:9px;background:#fff;color:var(--sb-blue);font-size:20px}.sport-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:14px 1px 8px}.sport-chips::-webkit-scrollbar{display:none}.sport-chips button{flex:0 0 auto;min-height:44px;padding:0 13px;border:1px solid var(--sb-line);border-radius:10px;background:#fff;color:var(--sb-muted);display:flex;align-items:center;gap:8px}.sport-chips button.on{color:var(--sb-blue);border-color:#8db7e8;background:var(--sb-blue-soft)}.sport-icon{font-size:17px}.sport-count{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--sb-soft);display:grid;place-items:center;font-size:10px;color:var(--sb-muted)}.sport-chips button.on .sport-count{background:#fff;color:var(--sb-blue)}.feed-meta{min-height:36px;display:flex;justify-content:space-between;align-items:center;padding:4px 2px;color:var(--sb-muted);font-size:12px}.feed-meta b{color:var(--sb-text);font-size:13px}.event-feed{display:grid;gap:12px}.sports-loading,.empty-feed{min-height:260px;border:1px dashed #bdc8d5;border-radius:12px;background:#fff;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--sb-muted);text-align:center;padding:24px}.sports-loading i{width:28px;height:28px;border:3px solid #dbe4ee;border-top-color:var(--sb-blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.event-card{border:1px solid var(--sb-line);background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--sb-shadow)}.event-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:14px 16px;border-bottom:1px solid var(--sb-line);background:#fbfcfd}.event-league{display:flex;align-items:center;gap:7px;color:var(--sb-muted);font-size:11px;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-league .sport-mark{width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--sb-line);border-radius:6px;background:#fff;font-size:12px}.match{font-weight:800;font-size:14px;line-height:1.45}.match span{color:#98a2b3;margin:0 7px;font-weight:500}.event-top-actions{display:flex;align-items:center;gap:12px}.event-state{font-size:11px;color:var(--sb-muted);white-space:nowrap}.event-state.live{padding:5px 8px;border-radius:6px;color:var(--sb-red);background:var(--sb-red-soft);font-weight:800}.more-markets{min-height:36px;border:1px solid #b9cee9;border-radius:8px;background:#fff;color:var(--sb-blue);font:700 11px inherit;cursor:pointer;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.more-markets:disabled{opacity:.55}.market-row{padding:13px 16px 16px}.market-row+.market-row{border-top:1px solid var(--sb-line)}.market-name{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#475467;font-size:12px;font-weight:700}.market-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px}.odd-btn{position:relative;min-height:48px;border:1px solid #d5dde7;border-radius:8px;background:var(--sb-soft);color:var(--sb-text);padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;text-align:left;font-family:inherit}.odd-btn span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.odd-btn b{color:var(--sb-blue);font-size:14px;font-variant-numeric:tabular-nums}.odd-btn:hover{border-color:#8db7e8;background:var(--sb-blue-soft)}.odd-btn.on{background:var(--sb-green-soft);border:2px solid var(--sb-green);padding:7px 10px;box-shadow:0 0 0 2px rgba(14,158,12,.08)}.odd-btn.on::before{content:'✓';flex:0 0 18px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--sb-green);color:#fff;font-size:11px;font-weight:900}.odd-btn.on b{color:#087b08}.betslip{position:sticky;top:92px;align-self:start;max-height:calc(100vh - 112px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--sb-line);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px rgba(16,24,40,.09)}.slip-grabber{display:none}.slip-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--sb-line)}.slip-head>div:first-child{display:grid;gap:3px}.slip-head b{font-size:17px}.slip-head span{font-size:11px;color:var(--sb-muted)}.slip-head-actions{display:flex;align-items:center;gap:5px}.slip-head button{min-height:36px;border:0;background:none;color:var(--sb-blue);font:700 12px inherit;cursor:pointer}.slip-close{display:none!important;font-size:25px!important;color:var(--sb-muted)!important}.slip-mode{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px;border-bottom:1px solid var(--sb-line);background:#fbfcfd}.slip-mode button{min-height:48px;border:1px solid var(--sb-line);background:#fff;color:var(--sb-muted);border-radius:8px;cursor:pointer;display:grid;gap:2px;place-content:center;font-family:inherit}.slip-mode button b{font-size:12px}.slip-mode button small{font-size:9px}.slip-mode button.on{background:var(--sb-blue-soft);color:var(--sb-blue);border-color:#8db7e8}.slip-empty{padding:42px 24px;display:grid;justify-items:center;text-align:center;gap:8px}.slip-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--sb-blue-soft);color:var(--sb-blue);font-size:27px}.slip-empty p{max-width:220px;margin:0;color:var(--sb-muted);font-size:12px;line-height:1.5}.slip-legs{min-height:0;max-height:330px;overflow:auto}.slip-leg{position:relative;padding:13px 15px 13px 18px;border-bottom:1px solid var(--sb-line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#fff}.slip-leg::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--sb-green)}.slip-leg-main{min-width:0;display:grid;gap:4px}.slip-leg small{color:var(--sb-muted);font-size:10px;text-transform:uppercase;letter-spacing:.03em}.slip-leg .event-name{font-size:12px;line-height:1.4}.slip-leg .market-label{color:var(--sb-muted);font-size:10px}.slip-leg .pick{display:flex;align-items:center;gap:6px;color:#087b08;font-size:12px;font-weight:800}.slip-leg .pick::before{content:'✓';width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:var(--sb-green);color:#fff;font-size:10px}.leg-side{display:grid;justify-items:end;align-content:space-between;gap:12px}.leg-side button{width:32px;height:32px;border:0;border-radius:8px;background:var(--sb-soft);color:var(--sb-muted);font-size:18px;cursor:pointer}.price{font-size:15px;font-weight:800;color:var(--sb-blue);font-variant-numeric:tabular-nums}.single-stake{grid-column:1/-1;width:100%;height:42px;margin-top:5px;padding:0 10px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:var(--sb-text);font-weight:800}.slip-summary{flex:0 0 auto;padding:14px 15px;display:grid;gap:10px;border-top:1px solid var(--sb-line);background:#fbfcfd}.stake-field{display:grid;grid-template-columns:1fr auto;gap:6px;color:var(--sb-muted);font-size:11px}.stake-field>b{color:var(--sb-text)}.stake-field input{grid-column:1/-1;width:100%;height:50px;padding:0 13px;border:1px solid #aab7c5;border-radius:8px;background:#fff;color:var(--sb-text);font-weight:800;font-size:19px;outline:0}.stake-field input:focus{border-color:var(--sb-blue);box-shadow:0 0 0 3px rgba(19,102,207,.1)}.quick-stakes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.quick-stakes button{min-height:38px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:var(--sb-blue);font:800 11px inherit;cursor:pointer}.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:12px}.summary-row span{color:var(--sb-muted)}.summary-row b{font-variant-numeric:tabular-nums}.summary-row.payout{padding-top:9px;border-top:1px solid var(--sb-line)}.summary-row.payout b{font-size:18px;color:#087b08}.place-btn{min-height:48px;border:1px solid #087b08;border-radius:9px;background:linear-gradient(180deg,#18b515,#0e950c);color:#fff;font:900 14px inherit;cursor:pointer;box-shadow:0 7px 18px -10px rgba(14,158,12,.8)}.place-btn:disabled{opacity:.55;cursor:not-allowed}.slip-msg{font-size:11px;line-height:1.4;color:var(--sb-red);margin:0;text-align:center;min-height:15px}.slip-msg.odds-change{padding:9px;border:1px solid #fdb4ac;border-radius:8px;background:var(--sb-red-soft);font-weight:700}.slip-history-link{flex:0 0 auto;width:100%;min-height:48px;padding:0 16px;border:0;border-top:1px solid var(--sb-line);background:#fff;color:var(--sb-blue);display:flex;align-items:center;justify-content:space-between;font:700 13px inherit;cursor:pointer}.mobile-slip-bar,.slip-backdrop{display:none}.history-modal[hidden]{display:none}.history-modal{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px}.history-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.46);backdrop-filter:blur(2px)}.history-panel{position:relative;width:min(760px,100%);max-height:min(84vh,800px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--sb-line);border-radius:14px;box-shadow:0 24px 80px rgba(16,24,40,.22);overflow:hidden}.history-panel>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px;border-bottom:1px solid var(--sb-line)}.history-panel h2{margin:3px 0 0;font-size:24px}.history-panel>header button{width:44px;height:44px;border:0;border-radius:9px;background:var(--sb-soft);color:var(--sb-muted);font-size:25px;cursor:pointer}.history-tabs{display:flex;gap:6px;padding:12px 20px;border-bottom:1px solid var(--sb-line)}.history-tabs button{min-height:42px;padding:0 18px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:var(--sb-muted);font:700 12px inherit;cursor:pointer}.history-tabs button.on{color:#fff;background:var(--sb-blue);border-color:var(--sb-blue)}.history-list{overflow:auto;padding:14px 20px 22px;display:grid;gap:12px}.history-state{min-height:220px;display:grid;place-content:center;text-align:center;color:var(--sb-muted);font-size:13px}.ticket{border:1px solid var(--sb-line);border-radius:10px;overflow:hidden}.ticket-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 15px;background:#fbfcfd;border-bottom:1px solid var(--sb-line)}.ticket-id{display:grid;gap:3px}.ticket-id b{font-size:12px}.ticket-id small{color:var(--sb-muted);font-size:10px}.ticket-status{padding:5px 8px;border-radius:6px;font-size:10px;font-weight:900;text-transform:uppercase}.ticket-status.pending,.ticket-status.manual_review{color:var(--sb-orange);background:#fff5e8}.ticket-status.won{color:#087b08;background:var(--sb-green-soft)}.ticket-status.lost{color:var(--sb-red);background:var(--sb-red-soft)}.ticket-status.void{color:var(--sb-muted);background:var(--sb-soft)}.ticket-legs{display:grid}.ticket-leg{display:grid;grid-template-columns:1fr auto;gap:10px;padding:11px 15px}.ticket-leg+.ticket-leg{border-top:1px solid var(--sb-line)}.ticket-leg div{display:grid;gap:3px}.ticket-leg b{font-size:12px}.ticket-leg small{color:var(--sb-muted);font-size:10px}.ticket-leg>strong{color:var(--sb-blue);font-size:13px}.ticket-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 15px;background:#fbfcfd;border-top:1px solid var(--sb-line)}.ticket-totals div{display:grid;gap:3px}.ticket-totals span{color:var(--sb-muted);font-size:9px;text-transform:uppercase}.ticket-totals b{font-size:12px;font-variant-numeric:tabular-nums}.toast{position:fixed;z-index:130;left:50%;bottom:30px;transform:translate(-50%,30px);opacity:0;pointer-events:none;background:#182230;color:#fff;padding:12px 18px;border-radius:9px;transition:.2s}.toast.on{opacity:1;transform:translate(-50%,0)}.sports-seo-copy{margin:24px 0 0;padding:20px;border:1px solid var(--sb-line);border-radius:12px;background:#fff;color:var(--sb-muted)}.sports-seo-copy h2{margin:0 0 8px;color:var(--sb-text);font-size:18px}.sports-seo-copy p{margin:6px 0;font-size:12.5px;line-height:1.65}footer.ftr{margin-top:0}.price,#totalOdds,#potential{font-variant-numeric:tabular-nums}button:focus-visible,input:focus-visible{outline:3px solid rgba(19,102,207,.25);outline-offset:2px}
@media(max-width:980px){.sports-shell{display:block;padding-bottom:150px}.sports-titlebar{margin-top:0}.betslip{position:fixed;z-index:102;left:0;right:0;bottom:0;top:auto;max-height:min(88dvh,780px);border-radius:18px 18px 0 0;transform:translateY(105%);opacity:0;transition:transform .24s ease,opacity .2s;box-shadow:0 -20px 60px rgba(16,24,40,.2);padding-bottom:env(safe-area-inset-bottom)}.betslip.mobile-open{transform:translateY(0);opacity:1}.slip-grabber{display:block;flex:0 0 auto;width:42px;height:5px;margin:8px auto 0;border-radius:4px;background:#c8d1dc}.slip-close{display:block!important}.slip-legs{max-height:31dvh}.slip-summary{overflow:auto}.slip-backdrop{display:block;position:fixed;z-index:100;inset:0;background:rgba(16,24,40,.5);opacity:0;pointer-events:none;transition:opacity .2s}.slip-open .slip-backdrop{opacity:1;pointer-events:auto}.slip-open{overflow:hidden}.mobile-slip-bar{display:flex;position:fixed;z-index:88;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));min-height:58px;border:1px solid #087b08;border-radius:12px;background:linear-gradient(180deg,#18b515,#0e950c);color:#fff;align-items:center;justify-content:space-between;padding:8px 14px;box-shadow:0 12px 30px rgba(14,158,12,.26);font-family:inherit;cursor:pointer}.mobile-slip-bar>span{display:flex;align-items:center;gap:9px}.mobile-slip-bar>span:last-child{display:grid;justify-items:end;gap:2px}.mobile-slip-bar em{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:12px;background:#fff;color:#087b08;font-style:normal;font-weight:900}.mobile-slip-bar small{font-size:9px;opacity:.85}.mobile-slip-bar strong{font-size:12px;font-variant-numeric:tabular-nums}.slip-history-link{display:none}footer.ftr{padding-bottom:125px!important}}
@media(max-width:640px){.hdr-in{padding-inline:12px!important}.balchip{margin-left:auto}.sports-shell{padding:16px 12px 145px}.sports-titlebar{align-items:flex-start;margin-bottom:14px}.sports-titlebar h1{font-size:25px}.sports-titlebar p{line-height:1.45}.history-trigger{min-width:48px;width:48px;padding:0;justify-content:center}.history-trigger>span:last-child{display:none}.sports-nav{display:grid;grid-template-columns:1fr 44px;padding:8px}.tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.tabs button{justify-content:center;padding:0 8px}.sport-search{margin:0;width:100%}.sport-chips{margin-inline:-12px;padding-inline:12px}.feed-meta{padding-inline:1px}.feed-meta span{font-size:10px}.event-top{padding:12px;gap:8px}.match{font-size:13px}.market-row{padding:12px}.market-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.history-modal{padding:0;place-items:end center}.history-panel{width:100%;max-height:92dvh;border-radius:18px 18px 0 0}.history-panel>header{padding:16px}.history-tabs{padding:10px 12px}.history-tabs button{padding:0 8px}.history-list{padding:12px}.ticket-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.ticket-totals b{font-size:11px}.sports-seo-copy{padding:16px}.quick-stakes button{min-height:44px}}
@media(max-width:380px){.event-state{white-space:normal}.more-markets{padding-inline:8px}.sports-titlebar h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.history-trigger{overflow:hidden}
.freebet-box{padding:11px;border:1px solid #d7b66a;border-radius:9px;background:#fffaf0;display:grid;gap:9px}.freebet-title{display:flex;align-items:center;justify-content:space-between;font-size:12px}.freebet-title button{min-height:34px;border:1px solid #d7b66a;border-radius:7px;background:#fff;color:#8a5b00;font:800 10px inherit;cursor:pointer}.freebet-options{display:flex;gap:6px;overflow:auto}.freebet-token{flex:0 0 auto;min-height:38px;padding:0 10px;border:1px solid #e2c98f;border-radius:8px;background:#fff;color:#8a5b00;font:800 11px inherit;cursor:pointer}.freebet-token.on{background:#8a5b00;color:#fff;border-color:#8a5b00}.freebet-claim{display:grid;grid-template-columns:1fr auto;gap:6px}.freebet-claim input{min-width:0;height:40px;border:1px solid #d9c89e;border-radius:8px;padding:0 10px;text-transform:uppercase}.freebet-claim button{min-height:40px;border:0;border-radius:8px;background:#8a5b00;color:#fff;padding:0 13px;font:800 11px inherit}.freebet-box>small{color:#866b33;font-size:9px;line-height:1.4}.freebet-active .stake-field input{background:#fff8e8;color:#8a5b00}.ticket-status.freebet{color:#8a5b00;background:#fff5d9}
.match-link{display:inline-flex;align-items:center;color:var(--sb-text);text-decoration:none}.match-link i{margin-left:8px;color:var(--sb-blue);font-style:normal;font-size:18px}.match-link:hover{color:var(--sb-text)}
/* Premium sportsbook color system */
.sports-titlebar{position:relative;isolation:isolate;overflow:hidden;padding:22px 24px;border:1px solid #cfe0f3;border-radius:16px;background:linear-gradient(115deg,#ffffff 0%,#f0f7ff 52%,#edfbf1 100%);box-shadow:0 12px 34px -24px rgba(19,102,207,.45)}.sports-titlebar::before,.sports-titlebar::after{content:'';position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}.sports-titlebar::before{width:210px;height:210px;right:12%;top:-155px;background:rgba(19,102,207,.13)}.sports-titlebar::after{width:150px;height:150px;right:-45px;bottom:-100px;background:rgba(14,158,12,.14)}.title-copy{min-width:0}.title-stats{display:flex;align-items:center;gap:8px;margin-top:14px}.title-stat{min-height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:1px solid rgba(19,102,207,.17);border-radius:8px;background:rgba(255,255,255,.78);color:#5a6b80;font-size:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.title-stat b{color:var(--sb-text);font-size:12px}.live-stat{border-color:rgba(217,45,32,.18);color:#a42b22}.live-stat i{width:7px;height:7px;border-radius:50%;background:#f04438;box-shadow:0 0 0 4px rgba(240,68,56,.12)}.sports-titlebar .history-trigger{background:rgba(255,255,255,.9);box-shadow:0 8px 24px -16px rgba(19,102,207,.55)}
.sport-chips{gap:10px;padding-top:16px;padding-bottom:12px}.sport-chips .sport-chip{--sport:#1366cf;--sport-soft:#eaf3ff;position:relative;min-width:154px;min-height:66px;padding:9px 12px 9px 9px;border-color:#dce3eb;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 6px 18px -16px rgba(16,24,40,.6);gap:10px;text-align:left;overflow:hidden}.sport-chips .sport-chip::after{content:'';position:absolute;right:-20px;bottom:-28px;width:68px;height:68px;border-radius:50%;background:var(--sport-soft);opacity:.8}.sport-chips .sport-chip:hover{transform:translateY(-1px);border-color:var(--sport);box-shadow:0 10px 22px -17px var(--sport)}.sport-chips .sport-chip.on{color:var(--sport);border-color:var(--sport);background:linear-gradient(145deg,#fff,var(--sport-soft));box-shadow:0 0 0 2px color-mix(in srgb,var(--sport) 10%,transparent)}.sport-chip .sport-icon{position:relative;z-index:1;flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:var(--sport-soft);color:var(--sport);font-size:21px}.sport-chip .sport-icon i{font-style:normal;filter:saturate(1.08)}.sport-chip .sport-label{position:relative;z-index:1;min-width:0;display:grid;gap:3px}.sport-chip .sport-label b{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sb-text);font-size:12px}.sport-chip .sport-label small{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sb-muted);font-size:8.5px;font-weight:500}.sport-chip .sport-count{position:absolute;z-index:2;right:7px;top:7px;background:#fff;border:1px solid color-mix(in srgb,var(--sport) 18%,#dce3eb);color:var(--sport);font-weight:900}.sport-all{--sport:#1366cf!important;--sport-soft:#eaf3ff!important}.sport-soccer,.sport-futsal{--sport:#13923a!important;--sport-soft:#e8f7ed!important}.sport-football{--sport:#a15c19!important;--sport-soft:#fbefe2!important}.sport-basketball{--sport:#e36d16!important;--sport-soft:#fff0e5!important}.sport-tennis,.sport-badminton{--sport:#83a900!important;--sport-soft:#f2f8dd!important}.sport-baseball{--sport:#d6473d!important;--sport-soft:#fdeceb!important}.sport-hockey{--sport:#168aa8!important;--sport-soft:#e5f7fb!important}.sport-volleyball,.sport-handball{--sport:#7956d8!important;--sport-soft:#f0ebff!important}.sport-mma,.sport-boxing{--sport:#bf3148!important;--sport-soft:#fce9ed!important}.sport-esports{--sport:#7a3ee0!important;--sport-soft:#f1eaff!important}.sport-cricket{--sport:#008c80!important;--sport-soft:#e4f7f4!important}.sport-rugby{--sport:#176db0!important;--sport-soft:#e7f2fa!important}.sport-golf{--sport:#168b55!important;--sport-soft:#e5f6ed!important}.sport-table_tennis{--sport:#d34f8c!important;--sport-soft:#fceaf3!important}.sport-darts,.sport-snooker{--sport:#43566e!important;--sport-soft:#ebeff4!important}.sport-motorsport,.sport-cycling{--sport:#d43232!important;--sport-soft:#fde9e9!important}.sport-horse_racing{--sport:#8b5b32!important;--sport-soft:#f7eee7!important}
.event-card{--event-accent:#1366cf;position:relative}.event-card::before{content:'';position:absolute;z-index:2;left:0;top:0;bottom:0;width:4px;background:var(--event-accent)}.sport-card-soccer,.sport-card-futsal{--event-accent:#13923a}.sport-card-football{--event-accent:#a15c19}.sport-card-basketball{--event-accent:#e36d16}.sport-card-tennis{--event-accent:#83a900}.sport-card-baseball{--event-accent:#d6473d}.sport-card-hockey{--event-accent:#168aa8}.sport-card-volleyball{--event-accent:#7956d8}.sport-card-mma,.sport-card-boxing{--event-accent:#bf3148}.sport-card-esports{--event-accent:#7a3ee0}.event-card.is-live{border-color:color-mix(in srgb,var(--event-accent) 38%,var(--sb-line));box-shadow:0 8px 24px -20px var(--event-accent)}.event-card.is-live .event-top{background:linear-gradient(90deg,color-mix(in srgb,var(--event-accent) 7%,#fff),#fbfcfd 55%)}.event-league .sport-mark{border-color:color-mix(in srgb,var(--event-accent) 28%,var(--sb-line));background:color-mix(in srgb,var(--event-accent) 9%,#fff)}
.match-link{display:flex!important;align-items:center;gap:8px;max-width:100%}.match-link .team-name{min-width:0;display:inline-flex;align-items:center;gap:6px;margin:0!important;color:var(--sb-text)!important;font-weight:800}.match-link .team-name i{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:6px;color:#fff;font:900 9px inherit;font-style:normal}.match-link .team-away i{background:linear-gradient(135deg,#e45a4f,#b8324e)}.match-link .team-home i{background:linear-gradient(135deg,#2783de,#3449a6)}.match-link .versus-mini{flex:0 0 auto;margin:0!important;color:#98a2b3!important;font-size:9px;font-weight:900}.match-link>strong{color:var(--sb-blue);font-size:18px}.match-link:hover .team-name{color:var(--sb-text)!important}
@media(max-width:640px){.sports-titlebar{padding:18px 16px}.title-stats{flex-wrap:wrap;margin-top:11px}.sport-chips .sport-chip{min-width:138px;min-height:62px}.sport-chip .sport-icon{width:38px;height:38px;flex-basis:38px}.sport-chip .sport-label b,.sport-chip .sport-label small{max-width:62px}.match-link{align-items:flex-start;flex-wrap:wrap;gap:6px}.match-link .team-name{flex:1 1 calc(50% - 24px);font-size:12px;line-height:1.3;overflow-wrap:anywhere}.match-link .versus-mini{align-self:center}.match-link>strong{display:none}}
/* Advanced discovery, sharing and replay */
.advanced-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:9px 10px;border:1px solid var(--sb-line);border-radius:11px;background:#fff;box-shadow:var(--sb-shadow)}.league-chips{min-width:0;flex:1;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.league-chips::-webkit-scrollbar{display:none}.league-chips button{flex:0 0 auto;min-height:38px;padding:0 11px;border:1px solid var(--sb-line);border-radius:8px;background:var(--sb-soft);color:#53647a;font:700 10px inherit;cursor:pointer;display:flex;align-items:center;gap:7px}.league-chips button b{min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#fff;color:var(--sb-blue);display:grid;place-items:center;font-size:9px}.league-chips button.on{border-color:#8db7e8;background:var(--sb-blue-soft);color:var(--sb-blue)}.advanced-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px}.tool-button{min-height:40px;padding:0 11px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:#53647a;font:700 10px inherit;cursor:pointer}.tool-button.on{border-color:#d6a938;background:#fff8e7;color:#956200}.tool-select{height:40px;display:flex;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:var(--sb-muted);font-size:9px}.tool-select select{max-width:96px;border:0;outline:0;background:transparent;color:var(--sb-text);font:700 10px inherit}.ticket-actions{padding:10px 15px;border-top:1px solid var(--sb-line);background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ticket-actions button{width:100%;min-height:40px;border:1px solid #b9cee9;border-radius:8px;background:var(--sb-blue-soft);color:var(--sb-blue);font:800 11px inherit;cursor:pointer}.slip-head-actions #shareSlip{color:#7a3ee0}.sports-compact .event-feed{gap:7px}.sports-compact .event-top{padding-block:9px}.sports-compact .event-league{margin-bottom:4px}.sports-compact .market-row{padding-block:8px 10px}.sports-compact .odd-btn{min-height:40px}.sports-compact .event-card:not(.is-live){box-shadow:none}.sports-compact .market-name{margin-bottom:6px}.sports-compact .more-markets{min-height:32px}
@media(max-width:1120px){.advanced-toolbar{align-items:stretch;flex-direction:column}.advanced-actions{justify-content:flex-end}.league-chips{width:100%}}
@media(max-width:640px){.advanced-toolbar{margin-inline:0;padding:8px}.advanced-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tool-button{padding:0 7px}.tool-button span{display:none}.tool-select{min-width:0;padding:0 5px}.tool-select>span{display:none}.tool-select select{width:100%;max-width:none}.sports-compact .market-prices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.league-chips button,.tool-button,.tool-select{min-height:44px;height:44px}}
/* Narrow-screen overflow hardening */
.sports-shell,.sports-main,.sports-titlebar,.title-copy,.sports-nav,.advanced-toolbar,.league-chips,.event-card,.event-top>div,.match-link,.market-row,.market-prices,.betslip,.history-panel{min-width:0}.advanced-toolbar{max-width:100%;overflow:hidden}.team-name{min-width:0;overflow-wrap:anywhere;white-space:normal}.odd-btn{min-width:0}.odd-btn span{min-width:0}.event-league>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.ticket-totals b{overflow-wrap:anywhere}.slip-head-actions{min-width:0}.slip-head-actions button{padding-inline:6px}
@media(max-width:420px){.sports-shell{padding-inline:10px}.sports-titlebar{gap:10px}.sports-titlebar h1{font-size:22px}.sports-titlebar p{font-size:11px}.title-stat{padding-inline:7px}.event-top{grid-template-columns:1fr}.event-top-actions .event-state{align-self:center}.match-link .team-name{flex-basis:calc(50% - 20px);white-space:normal;overflow-wrap:anywhere}.market-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.odd-btn{padding-inline:8px}.odd-btn.on{padding-inline:7px}.advanced-actions{grid-template-columns:44px minmax(74px,1fr) 92px 44px}.league-chips button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sport-search input{font-size:13px}.ticket-totals{gap:5px;padding-inline:10px}.ticket-totals b{font-size:10px}.slip-head{padding-inline:12px}.slip-head-actions{gap:1px}.slip-head-actions button{font-size:10px;padding-inline:4px}.freebet-claim{grid-template-columns:minmax(0,1fr) auto}.history-panel>header{padding-inline:12px}}

/* R34 concept refresh: stadium-led sportsbook top card. */
.sports-titlebar{
  position:relative;
  isolation:isolate;
  min-height:330px;
  margin:0 0 14px;
  padding:38px 46px;
  overflow:hidden;
  border:1px solid rgba(88,226,191,.18);
  border-radius:22px;
  background:#071725 url('/assets/img/sports-hero-final-v3.webp') center/cover no-repeat;
  box-shadow:0 24px 58px -30px rgba(8,29,43,.48);
  color:#fff;
}
.sports-titlebar::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(4,19,31,.98) 0%,rgba(4,19,31,.89) 44%,rgba(4,19,31,.2) 76%,rgba(4,19,31,.03) 100%);
}
.sports-hero-mark{display:none!important}
.sports-titlebar .title-copy{
  align-self:center;
  max-width:510px;
}
.sports-titlebar .eyebrow{
  color:#68f3cb;
  font-size:10px;
  letter-spacing:2px;
}
.sports-titlebar h1{
  max-width:480px;
  margin:12px 0 14px;
  color:#fff;
  font-size:clamp(38px,3.7vw,54px);
  line-height:.98;
  letter-spacing:-.045em;
}
.sports-titlebar p{
  max-width:480px;
  color:rgba(232,242,247,.8);
  font-size:14px;
  line-height:1.55;
}
.title-stats{margin-top:24px}
.title-stat{
  min-height:40px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  background:rgba(5,26,39,.52);
  color:rgba(255,255,255,.72);
  backdrop-filter:blur(7px);
}
.title-stat b{color:#fff}
.history-trigger{
  position:absolute;
  right:24px;
  bottom:24px;
  border-color:rgba(255,255,255,.18);
  background:rgba(5,24,36,.78);
  color:#fff;
  box-shadow:none;
  backdrop-filter:blur(8px);
}
.history-trigger:hover{background:rgba(5,24,36,.92)}
.sports-nav{
  padding:10px;
  border-radius:14px;
  box-shadow:0 12px 30px -24px rgba(16,24,40,.45);
}
@media(max-width:640px){
  .sports-titlebar{
    min-height:390px;
    padding:28px 24px;
    align-items:flex-end;
    background-position:62% center;
  }
  .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.58),rgba(4,19,31,.94) 62%,rgba(4,19,31,.98))}
  .sports-titlebar h1{font-size:36px}
  .sports-titlebar p{font-size:13px}
  .history-trigger{right:16px;bottom:16px}
  .title-stats{padding-right:56px}
}
@media(max-width:340px){.sports-titlebar{padding-inline:12px}.sports-titlebar .history-trigger{width:44px;min-width:44px}.title-stats{gap:5px}.title-stat{font-size:9px}.advanced-actions{grid-template-columns:44px minmax(66px,1fr) 84px 44px}}
html,body{max-width:100%;overflow-x:clip}.match-link .team-name{line-height:22px}
@media(max-width:420px){.sport-chips{margin-inline:-10px;padding-inline:10px}}
/* Compact, centered betslip sheet on touch layouts: keep the match visible and
   leave the bottom navigation accessible without making the slip full-screen. */
@media(max-width:980px){.betslip{left:50%!important;right:auto!important;bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;width:min(460px,calc(100vw - 24px))!important;max-height:min(72dvh,620px)!important;border-radius:16px!important;transform:translate(-50%,105%)!important;padding-bottom:12px!important}.betslip.mobile-open{transform:translate(-50%,0)!important;padding-bottom:12px!important}.slip-head{padding:10px 13px}.slip-head b{font-size:15px}.slip-mode{padding:8px 10px;gap:5px}.slip-mode button{min-height:42px}.slip-empty{padding:22px 18px}.slip-empty>span{width:40px;height:40px;font-size:23px}.slip-legs{max-height:32dvh}.slip-leg{padding:10px 12px 10px 15px}.slip-summary{padding:10px 12px;gap:8px}.stake-field input,.single-stake-panel .stake-field input{height:44px;font-size:16px}.single-stake-box .single-stake{height:42px!important;font-size:16px!important}.quick-stakes button,.single-quick button{min-height:34px}.place-btn{min-height:44px}.slip-history-link{min-height:42px}}
@media(max-width:420px){.betslip{width:calc(100vw - 16px)!important;max-height:min(76dvh,600px)!important}.slip-head-actions button{min-height:34px}.slip-legs{max-height:25dvh}.slip-summary{gap:7px}}
/* Stable, non-distorting history modal and accordion tickets */
html{scrollbar-gutter:stable}.history-backdrop{background:rgba(20,30,45,.52);backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.history-panel{isolation:isolate}.ticket-toggle{width:100%;min-height:64px;padding:12px 14px;border:0;background:#fbfcfd;color:var(--sb-text);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-family:inherit;cursor:pointer}.ticket-toggle:hover{background:#f5f8fc}.ticket-toggle:focus-visible{position:relative;z-index:1}.ticket-toggle-right{flex:0 0 auto;display:flex;align-items:center;gap:8px}.ticket-toggle-right>i{width:28px;height:28px;border:1px solid var(--sb-line);border-radius:7px;background:#fff;color:var(--sb-blue);display:grid;place-items:center;font:900 16px/1 inherit;font-style:normal}.ticket-detail{border-top:1px solid var(--sb-line)}.ticket.open{border-color:#b9cee9;box-shadow:0 6px 18px -16px rgba(19,102,207,.55)}.ticket.open .ticket-toggle{background:var(--sb-blue-soft)}
@media(max-width:640px){html{scrollbar-gutter:auto}.history-backdrop{background:rgba(20,30,45,.58)}.ticket-toggle{min-height:68px;padding:11px 12px}.ticket-id{min-width:0}.ticket-id b,.ticket-id small{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-toggle-right{gap:5px}.ticket-toggle-right>i{width:32px;height:32px}.ticket-status{font-size:9px}}
@media(max-width:340px){.ticket-id b,.ticket-id small{max-width:145px}.ticket-toggle{gap:6px}.ticket-toggle-right>i{width:30px;height:30px}}
/* My Bets: visual ticket history with server-side pagination */
.history-panel{width:min(820px,100%);max-height:min(88vh,860px)}
.history-panel>header{background:linear-gradient(115deg,#fff 0%,#eef6ff 58%,#edf9ed 100%);padding:18px 20px}
.history-heading{display:flex;align-items:center;gap:12px;min-width:0}
.history-heading>div{min-width:0}
.history-heading small{display:block;margin-top:3px;color:var(--sb-muted);font-size:11px;font-weight:600}
.history-hero-icon{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border:1px solid #bdd7f5;border-radius:13px;background:#fff;color:var(--sb-blue);box-shadow:0 8px 20px -14px rgba(19,102,207,.65)}
.history-hero-icon svg,.ticket-actions svg,.ticket-chevron svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.history-tabs{gap:8px;background:#fbfcfd}
.history-tabs button{flex:1;justify-content:center;display:flex;align-items:center;gap:7px;font-weight:800}
.history-tabs button span{font-size:15px}.history-tabs button b{font:inherit}
.history-list{flex:1 1 auto;min-height:0;padding-bottom:14px;overflow-y:auto;grid-auto-rows:max-content;align-content:start}
.ticket{position:relative;min-height:64px;border-radius:12px;box-shadow:0 5px 18px -18px rgba(16,24,40,.65);transition:border-color .18s,box-shadow .18s,transform .18s}
.ticket::before{content:'';position:absolute;z-index:2;left:0;top:0;bottom:0;width:4px;background:#98a2b3}
.ticket.pending::before,.ticket.manual_review::before{background:#e9a23b}.ticket.won::before{background:#16a34a}.ticket.lost::before{background:#dc3f35}.ticket.void::before{background:#78869a}
.ticket:hover{transform:translateY(-1px);box-shadow:0 10px 24px -19px rgba(16,24,40,.7)}
.ticket-toggle{padding:12px 14px 12px 17px;background:linear-gradient(90deg,#fff,#fbfcfd)}
.ticket-kind-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #d9e3ef;border-radius:10px;background:#f1f6fc;font-size:19px}
.ticket-id{flex:1;min-width:0}.ticket-id b{font-size:12.5px}.ticket-id small{font-size:10.5px}
.ticket-status{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.ticket-status>i{font-style:normal;font-size:12px}
.ticket-toggle-right>i.ticket-chevron{border:0;background:transparent;transition:transform .18s}.ticket-toggle-right>i.ticket-chevron svg{width:18px;height:18px}
.ticket.open .ticket-chevron{transform:rotate(90deg)}
.ticket-leg{grid-template-columns:30px minmax(0,1fr) auto;align-items:center}
.ticket-leg-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:var(--sb-soft);font-size:13px}
.ticket-totals div{padding:8px 9px;border:1px solid #e4eaf1;border-radius:8px;background:#fff}.ticket-totals span{text-transform:none;font-size:9.5px}
.ticket-actions button{display:flex;align-items:center;justify-content:center;gap:7px}.ticket-actions svg{width:17px;height:17px}
.history-empty-icon{font-size:38px;margin-bottom:4px}
.history-spinner{width:28px;height:28px;margin:0 auto 7px;border:3px solid #dbe4ee;border-top-color:var(--sb-blue);border-radius:50%;animation:spin .8s linear infinite}
.history-pager{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;min-height:62px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--sb-line);background:#fff}
.history-pager[hidden]{display:none}.history-pager button{min-width:38px;height:38px;padding:0 10px;border:1px solid var(--sb-line);border-radius:9px;background:#fff;color:#53647a;font:800 12px inherit;cursor:pointer}
.history-pager button:hover:not(:disabled){border-color:#8db7e8;background:var(--sb-blue-soft);color:var(--sb-blue)}.history-pager button.on{border-color:var(--sb-blue);background:var(--sb-blue);color:#fff}.history-pager button:disabled{opacity:.4;cursor:not-allowed}
.history-pager>span{margin:0 5px;color:var(--sb-muted);font-size:10px;font-weight:700;white-space:nowrap}
@media(max-width:640px){.history-panel{max-height:94dvh}.history-panel>header{padding:14px 15px}.history-hero-icon{width:40px;height:40px;flex-basis:40px;border-radius:11px}.history-tabs{padding:9px 10px}.history-tabs button{padding:0 6px}.history-tabs button span{font-size:14px}.history-list{padding:10px}.ticket-kind-icon{width:34px;height:34px;flex-basis:34px;font-size:17px}.ticket-toggle{padding-left:15px}.ticket-id b,.ticket-id small{max-width:150px}.ticket-status{padding:5px 6px}.ticket-status>i{display:none}.ticket-leg{grid-template-columns:28px minmax(0,1fr) auto;padding-inline:11px}.ticket-totals{gap:5px;padding:10px}.ticket-totals div{padding:7px 6px}.history-pager{gap:4px;padding-inline:8px}.history-pager button{min-width:34px;height:36px;padding:0 7px}.history-pager>span{display:none}}
/* Sports layout refinements: keep long club names readable and the slip compact. */
.match-link{min-width:0;flex-wrap:wrap;row-gap:4px}
.match-link .team-name{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.match-link .team-away,.match-link .team-home{max-width:calc(50% - 22px)}
.match-link .team-name i{flex:0 0 22px}
.event-top-actions{min-width:0}

.odd-btn.odds-up{border-color:#8fd3ab;background:#eaf8ef;animation:oddsPulseUp .8s ease}
.odd-btn.odds-up b{color:#087b3d}
.odd-btn.odds-down{border-color:#efaaa5;background:#fff0ef;animation:oddsPulseDown .8s ease}
.odd-btn.odds-down b{color:#c4322a}
@keyframes oddsPulseUp{0%{box-shadow:0 0 0 4px rgba(23,164,84,.2)}100%{box-shadow:none}}
@keyframes oddsPulseDown{0%{box-shadow:0 0 0 4px rgba(220,62,52,.18)}100%{box-shadow:none}}
.odd-btn:disabled{cursor:not-allowed;opacity:.48;background:#e9edf2;color:#667085;border-style:dashed;filter:saturate(.45)}
.odd-btn:disabled:hover{border-color:#c5ced9;background:#e9edf2}
.odd-btn:disabled b{color:#7b8795;text-decoration:line-through;text-decoration-thickness:1px}
.odd-btn:disabled::after{content:'×';position:absolute;right:5px;top:4px;width:12px;height:12px;border-radius:50%;display:grid;place-items:center;background:#98a2b3;color:#fff;font:800 8px/1 Arial}
@media(max-width:1120px) and (min-width:981px){.sports-shell{grid-template-columns:minmax(0,1fr) 300px;gap:16px;padding-inline:16px}.event-top{gap:10px}.event-top-actions{gap:7px}.event-state{font-size:10px}}
@media(max-width:640px){.match-link{column-gap:6px}.match-link .team-name{flex:1 1 calc(50% - 24px);max-width:none;font-size:12px}.match-link .team-away,.match-link .team-home{max-width:none}.event-top-actions .event-state{min-width:0;white-space:normal;line-height:1.25}.market-prices{min-width:0}.odd-btn span{overflow-wrap:anywhere;white-space:normal;text-overflow:clip;line-height:1.25}.betslip{width:min(460px,calc(100vw - 24px))!important;max-height:min(70dvh,560px)!important;bottom:calc(68px + env(safe-area-inset-bottom,0px))!important}.betslip.mobile-open{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}.slip-legs{max-height:30dvh}.slip-summary{padding:10px 12px;gap:7px}.slip-selection .single-stake-panel{padding:10px 12px;gap:7px}.single-quick button{min-height:34px}}
@media(max-width:420px){.betslip{width:calc(100vw - 20px)!important;max-height:min(72dvh,540px)!important}.slip-head{padding:9px 12px}.slip-legs{max-height:21dvh}.slip-summary{gap:6px}.place-btn{min-height:42px}}
@media(max-width:360px){.sports-shell{padding-inline:8px}.sport-category-content,.league-category-content{padding:5px}.event-top{padding:9px}.match-link .team-name{flex-basis:100%;max-width:100%}.match-link .versus-mini,.match-link .live-score{margin-left:27px!important}.odd-btn{padding-inline:7px}.odd-btn b{font-size:12px}}
.live-score{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-width:64px;margin:0 10px!important;padding:5px 8px;border:1px solid #f0b6b1;border-radius:8px;background:var(--sb-red-soft);color:var(--sb-red)!important;font-variant-numeric:tabular-nums}.live-score b{font-size:16px}.live-score small{color:var(--sb-muted);font-weight:700}.event-card.is-live{border-left:3px solid var(--sb-red)}
@media(max-width:640px){.match-link .live-score{flex:0 0 auto;min-width:56px;margin-inline:3px!important}.live-score b{font-size:14px}}
/* Team names always share one horizontal row. Long names are clipped cleanly,
   never pushed below the score or the opposing team. */
.match-link{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:8px;flex-wrap:nowrap!important;width:100%;min-width:0}
.match-link .team-name{display:flex;align-items:center;gap:7px;min-width:0;max-width:none!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important}
.match-link .team-name b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit}
.match-link .team-away{justify-content:flex-start}.match-link .live-score,.match-link .versus-mini{margin-inline:2px!important}.advanced-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Keep the date/live clock and market action on the same baseline as the
   teams. The league label occupies the row above only on the left side. */
@media(min-width:641px){
 .match-link{min-height:36px}
 .event-top-actions{align-self:end;min-height:36px;padding-bottom:1px}
 .event-top-actions .event-state{min-height:36px;display:flex;align-items:center;justify-content:flex-end}
}
@media(max-width:640px){.match-link{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:4px}.match-link .team-name{flex-basis:auto!important;max-width:none!important;font-size:11px}.match-link .team-name i{flex-basis:18px;width:18px;height:18px}.match-link .live-score{min-width:50px;padding-inline:5px}}
@media(max-width:360px){.match-link .team-name{flex-basis:auto!important;max-width:none!important}.match-link .versus-mini,.match-link .live-score{margin-inline:1px!important}}

/* v17: the hidden attribute must always win over component display rules (empty betslip / endless loader bug) */
[hidden]{display:none!important}

/* Single tickets need an unmistakable, persistent stake editor per pick. */
.single-stake-box{display:grid;gap:7px;margin-top:7px;padding:10px;border:1px solid #d9e2ec;border-radius:9px;background:#f8fafc}
.single-stake-label{display:flex;align-items:center;justify-content:space-between;color:var(--sb-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.single-stake-box .single-stake{grid-column:auto;margin:0;height:44px;border-color:#aab7c5;background:#fff;padding:0 11px;font-size:16px;font-weight:800;color:var(--sb-text);outline:0}
.single-stake-box .single-stake:focus{border-color:var(--sb-blue);box-shadow:0 0 0 3px rgba(19,102,207,.1)}
.single-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.single-quick button{min-height:34px;border:1px solid var(--sb-line);border-radius:7px;background:#fff;color:var(--sb-blue);font:800 10px inherit;cursor:pointer}
.team-name i.has-logo{background:#fff!important;border:1px solid var(--sb-line);padding:2px;overflow:hidden}
.team-name i.has-logo img{width:100%;height:100%;object-fit:contain;display:block}
.team-name i.tc{background:var(--tc)!important}
.match-link .team-name i.tc{background:color-mix(in srgb,var(--tc) 24%,#fff)!important;color:color-mix(in srgb,var(--tc) 58%,#182230)!important;border:1px solid color-mix(in srgb,var(--tc) 38%,#fff)}
.match-link .team-away i{background:linear-gradient(135deg,#f4aaa3,#f8d9d5);color:#7f2630}
.match-link .team-home i{background:linear-gradient(135deg,#a9d2fb,#d6e9ff);color:#174c83}

/* Keep the compact slip control visible without letting it dominate the feed. */
@media(max-width:980px){
  .mobile-slip-bar{min-height:52px;padding:7px 14px;border:1px solid #b7dfb5;border-left:4px solid #16a34a;border-radius:12px;background:rgba(255,255,255,.98);color:#182230;box-shadow:0 8px 24px rgba(16,24,40,.14);backdrop-filter:blur(10px)}
  .mobile-slip-bar>span:first-child{color:#176b2c;font-weight:800}
  .mobile-slip-bar em{background:#16a34a;color:#fff}
  .mobile-slip-bar>span:last-child{color:#475467}
  .mobile-slip-bar small{font-size:9px;opacity:1}
  .mobile-slip-bar strong{color:#182230;font-size:12px}
}
@media(min-width:861px) and (max-width:980px){
  .mobile-slip-bar{left:calc(50% + 36px);right:auto;width:min(460px,calc(100vw - 96px));transform:translateX(-50%)}
}
.event-state.live{white-space:nowrap}
.detail-view{margin-top:8px}
/* keep the place-bet button clear of the fixed bottom navigation when the betslip sheet is open on phones */
.betslip.mobile-open{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}

/* Games-lobby shell parity: same rail/header/footer treatment on sportsbook. */
body.history-modal-open{overflow:hidden!important}
.history-modal{z-index:10050!important}
body.history-modal-open #nbNav{display:none!important}
body .hdr{background:#fff;border-bottom:1px solid var(--line)}
body .hdr .nav a{color:var(--dim)}
body .hdr .nav a.on,body .hdr .nav a:hover{color:var(--txt)}
body .balchip{background:#f6f8fb;border:1px solid var(--line2);color:var(--txt)}
body .siderail{background:#fff;border-right:1px solid var(--line)}
body .siderail a{color:var(--dim)}
body .siderail a:hover,body .siderail a.on{color:var(--green);background:#f6f8fb}
body .ftr{background:#fff;border-top:1px solid var(--line);color:var(--dim)}
body .ftr a{color:var(--dim)}
body .ftr a:hover{color:var(--txt)}
body .ftr h4{color:var(--txt)}
@media(max-width:760px){
  body{padding-bottom:64px}
  .ft-grid{grid-template-columns:1fr 1fr!important;gap:20px 18px!important;padding:26px 0 16px!important}
  .ft-brand{grid-column:1/-1!important}
}
@media(max-width:430px){.ft-grid{grid-template-columns:1fr 1fr!important;gap:16px 12px!important}}

/* Categorized sportsbook: show the complete provider catalogue in nested sport/league groups. */
.sport-chips{flex-wrap:wrap;overflow:visible;padding:12px 0 10px}
.sport-chips .sport-chip{min-width:142px;flex:1 1 142px;max-width:220px}
.advanced-toolbar{align-items:flex-start;flex-direction:column;padding:12px}
.league-chips{width:100%;flex:0 1 auto;flex-wrap:wrap;overflow:visible;max-height:none;padding:1px 2px 4px}
.league-chips button{min-height:36px;max-width:100%;font-size:11px}
.advanced-actions{width:100%;justify-content:flex-end}
.event-feed{gap:14px}
.sport-category{min-width:0;border:1px solid #d9e1ea;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 5px 20px rgba(16,24,40,.035)}
.sport-category-heading{width:100%;min-height:58px;display:flex;align-items:center;gap:11px;padding:9px 15px;border:0;border-bottom:1px solid #e7ecf2;background:linear-gradient(100deg,#f7faff,#fff);color:var(--sb-text);text-align:left;cursor:pointer}
.category-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid #d7e5f5;border-radius:10px;background:#eaf3ff;color:var(--sb-blue);font-size:18px}
.category-heading-copy{min-width:0;display:grid;gap:3px}.category-heading-copy b{font-size:14px;font-weight:800}.category-heading-copy small{color:var(--sb-muted);font-size:11px}
.category-chevron{margin-left:auto;color:#667085;font-size:19px;font-style:normal;transition:transform .16s ease}.is-collapsed>.sport-category-heading .category-chevron,.is-collapsed>.league-category-heading .category-chevron{transform:rotate(-90deg)}
.sport-category-content{padding:9px;display:grid;gap:9px}.league-category{min-width:0;border:1px solid #e5eaf0;border-radius:10px;background:#fbfcfe;overflow:hidden}
.league-category-heading{width:100%;min-height:42px;display:flex;align-items:center;gap:9px;padding:8px 12px;border:0;background:#f3f6fa;color:#344054;text-align:left;cursor:pointer}
.league-heading-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}.league-heading-meta{margin-left:auto;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#667085;font-size:10px}.league-heading-meta .live-dot{width:6px;height:6px;box-shadow:none}
.league-category-content{padding:8px;display:grid;gap:8px}.event-card{border-radius:10px;box-shadow:0 2px 8px rgba(16,24,40,.045)}.event-top{background:#fff;padding:12px 14px}.market-row{padding:11px 14px 13px}.market-name{margin-bottom:8px}.market-prices{grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:7px}.odd-btn{min-height:44px;border-radius:7px;background:#f6f8fb}.more-markets{white-space:nowrap}.more-markets span{font-size:14px;margin-left:3px}
.sport-category-heading:hover,.league-category-heading:hover{filter:brightness(.985)}
.sport-category-content[hidden],.league-category-content[hidden]{display:none!important}
@media(max-width:1120px){.sports-shell{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:980px){.sport-chips .sport-chip{max-width:none}}
@media(max-width:640px){.sport-chips{padding:10px 0;gap:7px}.sport-chips .sport-chip{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px);min-height:58px;padding:7px}.sport-chips .sport-icon{width:34px;height:34px;flex:0 0 34px}.sport-chips .sport-label b,.sport-chips .sport-label small{max-width:calc(100vw - 130px)}.league-chips{gap:5px}.league-chips button{min-height:40px;white-space:normal;text-align:left}.sport-category-content{padding:6px}.league-category-content{padding:6px}.sport-category-heading{min-height:54px;padding-inline:11px}.league-category-heading{min-height:44px;padding-inline:9px}.league-heading-title{font-size:11px}.league-heading-meta{font-size:9px}.event-top{padding:10px}.market-row{padding:10px}.market-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.event-card .market-prices.market-3way{grid-template-columns:repeat(3,minmax(0,1fr))}.event-card .market-prices.market-3way .odd-btn{padding-inline:6px}.odd-btn{min-height:46px;padding:7px}.odd-btn span{font-size:11px}.odd-btn b{font-size:13px}}
@media(max-width:380px){.sport-chips .sport-chip{min-width:100%;flex-basis:100%}.league-heading-meta{font-size:8px}.market-prices{grid-template-columns:1fr}}

/* Single-bet stake editor spans the slip width like the combo stake field. */
.slip-selection{min-width:0;background:#fff;border-bottom:1px solid var(--sb-line)}
.slip-selection .slip-leg{border-bottom:0;padding-bottom:7px}
.slip-selection .single-stake-box{margin:0 12px 12px;padding:12px;gap:8px;border-color:var(--sb-line);border-radius:9px;background:#f8fafc}
.single-stake-label{font-size:11px;letter-spacing:0;text-transform:none}
.single-stake-label>b{color:var(--sb-text);font-size:11px}
.slip-selection .single-stake-box .single-stake{width:100%;height:50px;padding:0 13px;border:1px solid #aab7c5;border-radius:8px;font-size:19px}
.single-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.single-quick button{min-height:38px;border-radius:8px;font-size:11px}
.single-stake-panel{margin:0;padding:14px 15px;gap:10px;border-top:1px solid var(--sb-line);background:#fbfcfd}
.single-stake-panel .stake-field{margin:0}
.single-stake-panel .stake-field input{height:50px;padding-inline:13px;font-size:19px}
.single-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
.odd-btn{height:auto;min-height:48px}
.odd-btn span{flex:1 1 auto;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.odd-btn b{flex:0 0 auto;margin-left:4px}
.ticket-match-score{display:flex!important;grid-auto-flow:column;align-items:center;justify-content:start;gap:7px;margin:2px 0;padding:5px 7px;width:max-content;max-width:100%;border:1px solid #c8d8eb;border-radius:7px;background:#f3f7fc;color:#344054}.ticket-match-score b{font-size:13px!important;font-variant-numeric:tabular-nums}.ticket-match-score em{font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase;color:#667085}.ticket-match-score.live{border-color:#f5b5b0;background:#fff1f0;color:#b42318}.ticket-match-score.live em{color:#d92d20}
.ticket.won{border-color:#71c994;box-shadow:0 0 0 1px rgba(18,151,76,.08)}.ticket.won .ticket-toggle{background:linear-gradient(90deg,#effcf4,#fff)}.ticket.lost{border-color:#ee958d;box-shadow:0 0 0 1px rgba(217,45,32,.07)}.ticket.lost .ticket-toggle{background:linear-gradient(90deg,#fff1f0,#fff)}.ticket-leg.won{background:#f2fcf6}.ticket-leg.won>strong{color:#087b3f}.ticket-leg.lost{background:#fff4f3}.ticket-leg.lost>strong{color:#c43228}

/* Clear in-slip placement result; remains visible on desktop and in the mobile drawer. */
.bet-confirm{margin:12px;padding:13px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid #9ad8b1;border-radius:12px;background:linear-gradient(135deg,#edfff4,#f7fffb);color:#155b32;box-shadow:0 8px 24px rgba(21,91,50,.08)}
.bet-confirm[hidden]{display:none!important}.bet-confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#18a957;color:#fff;font-size:22px;font-weight:900}.bet-confirm div{min-width:0;display:grid;gap:3px}.bet-confirm b{font-size:14px}.bet-confirm small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#44705a;font-size:10px;font-weight:700}.bet-confirm button{min-height:36px;padding:0 11px;border:1px solid #63bd86;border-radius:8px;background:#fff;color:#16733d;font:800 10px inherit;cursor:pointer}

@media(max-width:640px){
 .freebet-box{padding:8px 9px;gap:6px;border-radius:10px}
 .freebet-title{min-height:32px}.freebet-title button{min-height:30px;padding:0 9px}
 .freebet-box:not(.freebet-expanded) .freebet-options,.freebet-box:not(.freebet-expanded) .freebet-claim,.freebet-box:not(.freebet-expanded)>small{display:none}
 .freebet-options{padding:2px 0}.freebet-token{min-height:34px}
 .freebet-claim input,.freebet-claim button{height:36px;min-height:36px}
 .bet-confirm{grid-template-columns:38px minmax(0,1fr);margin:9px 10px;padding:10px;gap:9px}
 .bet-confirm-icon{width:38px;height:38px}.bet-confirm button{grid-column:1/-1;width:100%;min-height:38px}
}

/* v20: denser desktop slip, mobile-style freebet drawer and a richer sportsbook masthead. */
.freebet-box:not(.freebet-expanded) .freebet-options,
.freebet-box:not(.freebet-expanded) .freebet-claim,
.freebet-box:not(.freebet-expanded)>small{display:none}
.sports-titlebar{min-height:190px;padding:28px 28px 26px 96px;border-color:#bdd6f2;background:radial-gradient(circle at 88% 24%,rgba(31,183,106,.17),transparent 22%),radial-gradient(circle at 72% 118%,rgba(19,102,207,.18),transparent 36%),linear-gradient(122deg,#fff 0%,#eef6ff 56%,#eefbf4 100%);box-shadow:0 18px 42px -28px rgba(19,67,121,.52)}
.sports-titlebar::before{width:280px;height:280px;right:-30px;top:-178px;border:1px solid rgba(19,102,207,.14);background:transparent;box-shadow:0 0 0 27px rgba(19,102,207,.035),0 0 0 56px rgba(14,158,12,.025)}
.sports-titlebar::after{width:210px;height:210px;right:16%;bottom:-168px;background:rgba(14,158,12,.1)}
.sports-hero-mark{position:absolute;left:27px;top:30px;display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(19,102,207,.18);border-radius:16px;background:linear-gradient(145deg,#1475df,#0ca88a);color:#fff;box-shadow:0 12px 25px -13px rgba(19,102,207,.7);transform:rotate(-3deg)}
.sports-hero-mark svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sports-titlebar .eyebrow{display:inline-flex;align-items:center;gap:7px}.sports-titlebar .eyebrow::after{content:'LIVE ODDS';padding:4px 7px;border-radius:99px;background:#e4f6ea;color:#0a7e3a;font-size:8px;letter-spacing:.08em}
.sports-titlebar h1{max-width:560px;font-size:clamp(27px,2.5vw,35px)}.sports-titlebar p{max-width:560px;line-height:1.55}.sports-titlebar .history-trigger{position:relative;z-index:2;border-color:#9fc5ed;border-radius:13px;background:#fff;box-shadow:0 14px 28px -18px rgba(19,102,207,.64)}
.title-stat{min-height:32px;border-radius:10px;background:rgba(255,255,255,.9)}
@media(min-width:981px){
 .sports-shell{grid-template-columns:minmax(0,1fr) 308px;gap:14px}
 .betslip{top:82px;max-height:calc(100vh - 96px);font-size:12px}
 .slip-head{padding:11px 12px}.slip-head b{font-size:15px}.slip-head button{min-height:31px;font-size:10px}.slip-head-actions{gap:1px}
 .slip-mode{padding:7px 9px}.slip-mode button{min-height:40px}.slip-empty{padding:28px 16px}
 .slip-legs{max-height:284px}.slip-leg{padding:9px 10px 9px 13px;gap:6px}.slip-leg small,.slip-leg .market-label{font-size:9px}.slip-leg .event-name,.slip-leg .pick{font-size:11px}.slip-leg .pick::before{width:15px;height:15px;font-size:9px}.leg-side{gap:8px}.leg-side button{width:27px;height:27px}.price{font-size:13px}
 .slip-selection .single-stake-box,.single-stake-panel{padding:9px 10px;margin-bottom:8px;gap:6px}.slip-selection .single-stake-box .single-stake,.single-stake-panel .stake-field input{height:40px;font-size:15px}.single-quick button{min-height:31px;font-size:10px}
 .slip-summary{padding:10px 11px;gap:7px}.stake-field input{height:42px;font-size:16px}.quick-stakes button{min-height:32px}.summary-row{font-size:11px}.summary-row.payout{padding-top:6px}.summary-row.payout b{font-size:15px}.place-btn{min-height:42px;font-size:12px}.slip-history-link{min-height:42px;font-size:11px}
 .freebet-box{padding:7px 8px;gap:6px}.freebet-title{font-size:10px}.freebet-title button{min-height:29px;font-size:9px}.freebet-options{gap:4px}.freebet-token{min-height:31px;font-size:9px}.freebet-claim input,.freebet-claim button{height:33px;min-height:33px;font-size:10px}
}
@media(max-width:1120px) and (min-width:981px){.sports-titlebar{padding-left:82px}.sports-hero-mark{left:18px}.sports-titlebar h1{font-size:27px}.sports-titlebar .history-trigger{padding-inline:13px}}
@media(max-width:640px){.sports-titlebar{padding:20px 15px 18px 68px}.sports-hero-mark{left:14px;top:18px;width:42px;height:42px;border-radius:13px}.sports-hero-mark svg{width:23px;height:23px}.sports-titlebar .eyebrow::after{display:none}}

/* Mobile betslip positioning and compact event actions. */
@media(max-width:640px){
  .betslip{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;width:min(350px,calc(100vw - 32px))!important;max-height:min(72dvh,570px)!important;border-radius:16px!important;padding-bottom:8px!important;visibility:hidden;pointer-events:none;transform:translate(-50%,-46%) scale(.97)!important;transform-origin:center}
  .betslip.mobile-open{visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)!important;padding-bottom:8px!important}
  .slip-grabber{display:none}
  .slip-legs{max-height:24dvh}
  .event-top-actions{width:100%;justify-content:flex-end;gap:6px}
  .event-top-actions .event-state{margin-right:auto}
  .event-top-actions .more-markets{width:auto!important;min-width:0!important;min-height:32px!important;max-width:148px!important;padding:5px 8px!important;border-radius:7px;font-size:10px;line-height:1.15;white-space:normal}
  .event-top-actions .more-markets span{font-size:12px;margin-left:2px}
}
@media(max-width:360px){
  .betslip{width:calc(100vw - 24px)!important}
  .event-top-actions .more-markets{max-width:132px!important;padding-inline:7px!important}
}

/* Sportsbook filters: keep the event list visible and put long league lists in a picker. */
.sports-titlebar{min-height:148px;padding:20px 24px 18px 82px;margin-bottom:12px}
.sports-titlebar h1{font-size:clamp(24px,2.2vw,30px)}
.sports-titlebar p{font-size:13px}
.sports-nav{margin-bottom:4px}
.sport-chips{flex-wrap:nowrap!important;align-items:center;gap:7px;padding:8px 1px;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}
.sport-chips .sport-chip{flex:0 0 auto!important;min-width:max-content!important;max-width:none!important;min-height:42px;padding:6px 10px;border-radius:9px;background:#fff;box-shadow:none;gap:7px;scroll-snap-align:start}
.sport-chips .sport-chip::after{display:none}
.sport-chip .sport-icon{width:25px;height:25px;flex:0 0 25px;border-radius:7px;font-size:15px}
.sport-chip .sport-label{display:block}
.sport-chip .sport-label b{max-width:none;font-size:11px}
.sport-chip .sport-label small{display:none}
.sport-chip .sport-count{position:static;z-index:auto;min-width:17px;width:auto;height:17px;padding:0 4px;font-size:9px}
.advanced-toolbar{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 5px;padding:7px 8px;border-radius:9px;box-shadow:none}
.league-filter{display:flex;flex:1 1 180px;min-width:0;max-width:360px}
.league-filter .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.league-filter select{width:100%;height:38px;min-width:0;padding:0 32px 0 10px;border:1px solid var(--sb-line);border-radius:8px;background:#fff;color:var(--sb-text);font-family:inherit;font-size:13px;font-weight:600;line-height:1.2}
.advanced-toolbar .advanced-actions{display:flex;width:auto;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:6px}
.advanced-toolbar .tool-select{height:38px;min-height:38px;min-width:148px;justify-content:space-between;gap:8px;padding-inline:10px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap}
.advanced-toolbar .tool-select select{max-width:120px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.2}
.feed-meta{min-height:30px;margin-top:2px}
@media(max-width:980px){.sports-titlebar{min-height:132px}.sport-chips{margin-inline:0}}
@media(max-width:640px){
  .sports-titlebar{min-height:0;padding:16px 13px 14px 62px;margin-bottom:9px}
  .sports-titlebar p{font-size:12px}
  .sport-chips{padding:7px 0;gap:6px}
  .sport-chips .sport-chip{min-height:40px;padding:5px 9px}
  .sport-chip .sport-icon{width:23px;height:23px;flex-basis:23px;font-size:14px}
  .advanced-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 106px;gap:6px;padding:6px}
  .league-filter{width:100%;max-width:none}
  
  .advanced-toolbar .advanced-actions{display:contents}
  .advanced-toolbar .tool-select{width:106px;min-width:0;padding:0 6px}
  .advanced-toolbar .tool-select>span{display:none}
  .advanced-toolbar .tool-select select{width:100%;max-width:none}
}

/* Mobile betslip: hide the trigger while empty and keep its active state compact. */
.mobile-slip-bar[hidden]{display:none!important}
@media(max-width:980px){
 .mobile-slip-bar:not([hidden]){display:inline-flex!important;left:50%!important;right:auto!important;width:max-content!important;max-width:calc(100vw - 24px)!important;min-height:42px!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;transform:translateX(-50%)!important;padding:7px 12px!important;gap:8px!important;justify-content:center;border:1px solid #b7dfb5;border-left-width:3px;border-radius:999px;background:rgba(255,255,255,.98);color:#182230;box-shadow:0 8px 24px rgba(16,24,40,.14);backdrop-filter:blur(10px)}
 .mobile-slip-bar b{font-size:12px;line-height:1.2;color:#176b2c}
 .mobile-slip-bar em{min-width:21px;height:21px;padding:0 5px;background:#16a34a;color:#fff;font-size:11px}
 .slip-bar-chevron{font-size:14px;line-height:1;color:#64748b;font-weight:800}
}
@media(max-width:640px){
 .betslip{max-height:min(66dvh,500px)!important}
 .betslip.mobile-open{padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))!important}
 .slip-head{padding:8px 11px!important}
 .slip-head b{font-size:14px!important}
 .slip-head span{font-size:10px!important}
 .slip-head-actions button{min-height:29px!important;font-size:10px!important}
 .slip-mode{padding:6px 8px;gap:4px}
 .slip-mode button{min-height:36px}
 .slip-mode button b{font-size:11px}
 .slip-mode button small{font-size:9px}
 .slip-empty{padding:14px 12px;gap:5px}
 .slip-empty>span{width:34px;height:34px;font-size:20px}
 .slip-empty p{font-size:11px}
 .slip-legs{max-height:min(22dvh,150px)}
 .slip-leg{padding:8px 10px 8px 13px;gap:6px}
 .slip-leg small,.slip-leg .market-label{font-size:9px}
 .slip-leg .event-name,.slip-leg .pick{font-size:11px}
 .leg-side{gap:7px}
 .leg-side button{width:26px;height:26px}
 .price{font-size:13px}
 .slip-summary{padding:8px 10px;gap:6px}
 .stake-field{font-size:10px}
 .stake-field input,.single-stake-panel .stake-field input{height:40px;font-size:15px}
 .quick-stakes button,.single-quick button{min-height:30px;font-size:10px}
 .place-btn{min-height:40px;font-size:12px}
 .slip-history-link{min-height:36px;padding-inline:12px;font-size:11px}
}
/* Bounded catalogue rendering keeps large public feeds responsive. */
.event-load-more{width:100%;min-height:54px;border:1px solid #b9cee9;border-radius:10px;background:#fff;color:var(--sb-blue);display:grid;place-content:center;gap:3px;font-family:inherit;cursor:pointer}.event-load-more:hover{background:var(--sb-blue-soft)}.event-load-more b{font-size:13px}.event-load-more small{color:var(--sb-muted);font-size:10px}.refresh{display:grid;place-items:center}.refresh svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.ticket-actions.single{grid-template-columns:1fr}
@media(max-width:640px){
 .betslip .stake-field,.betslip .stake-field input,.betslip .single-stake-panel .stake-field input,.betslip .quick-stakes button,.betslip .single-quick button,.betslip .freebet-title,.betslip .freebet-title button,.betslip .freebet-token,.betslip .freebet-claim input,.betslip .freebet-claim button{font-size:11px!important}
}

/* ── Bet Tracker Bar ─────────────────────────────────────────────────────── */
.bet-tracker-bar{position:fixed;z-index:95;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:min(480px,calc(100vw - 24px));max-width:min(600px,calc(100vw - 24px));min-height:54px;padding:8px 14px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:linear-gradient(135deg,#182230 0%,#0f1623 100%);color:#fff;box-shadow:0 8px 32px rgba(16,24,40,.38);cursor:pointer;font-family:inherit;text-align:left;transition:transform .22s ease,opacity .22s ease}
.bet-tracker-bar[hidden]{display:none}
.bet-tracker-bar:hover{background:linear-gradient(135deg,#1f2f45 0%,#14203a 100%)}
.bt-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.bt-icon{font-size:20px;flex:0 0 auto}
.bt-info{display:grid;gap:2px;min-width:0}
.bt-info b{font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-info small{font-size:10px;color:rgba(255,255,255,.6);white-space:nowrap}
.bt-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.bt-score{font-size:13px;font-weight:900;color:#f6c90e;font-variant-numeric:tabular-nums}
.bt-amount{font-size:12px;font-weight:700;color:rgba(255,255,255,.75);font-variant-numeric:tabular-nums}
.bt-chevron{font-size:18px;color:rgba(255,255,255,.5)}
.bt-won{color:#18b515}
.bt-lost{color:#f04438}
@media(max-width:980px){.bet-tracker-bar{bottom:calc(80px + env(safe-area-inset-bottom,0px));left:12px;right:12px;transform:none;max-width:none;min-width:0}}
@media(max-width:640px){.bet-tracker-bar{bottom:calc(76px + env(safe-area-inset-bottom,0px))}.bt-info b{font-size:12px}.bt-score{font-size:12px}}

/* ── League chip name truncation ─────────────────────────────────────────── */
.league-chips button .lc-name{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.league-chips button b{flex:0 0 auto}
@media(max-width:640px){.league-chips button .lc-name{max-width:100px}}
@media(max-width:420px){.league-chips button .lc-name{max-width:80px}}

/* Concept demo top-card override (kept last to win the compact production cascade). */
body .sports-titlebar{
 position:relative;isolation:isolate;min-height:330px;margin:0 0 14px;padding:38px 46px;overflow:hidden;
 border:1px solid rgba(88,226,191,.18);border-radius:22px;
 background:#071725 url('/assets/img/sports-hero-final-v3.webp') center/cover no-repeat;
 box-shadow:0 24px 58px -30px rgba(8,29,43,.48);color:#fff
}
body .sports-titlebar::before{content:"";position:absolute;inset:0;z-index:-1;width:auto;height:auto;right:0;top:0;border:0;border-radius:0;filter:none;background:linear-gradient(90deg,rgba(4,19,31,.98) 0%,rgba(4,19,31,.89) 44%,rgba(4,19,31,.2) 76%,rgba(4,19,31,.03) 100%);box-shadow:none}
body .sports-titlebar::after{content:none}
body .sports-titlebar .sports-hero-mark{display:none!important}
body .sports-titlebar .title-copy{align-self:center;max-width:510px}
body .sports-titlebar .eyebrow{color:#68f3cb;font-size:10px;letter-spacing:2px}
body .sports-titlebar h1{max-width:480px;margin:12px 0 14px;color:#fff;font-size:clamp(38px,3.7vw,54px);line-height:.98;letter-spacing:-.045em}
body .sports-titlebar p{max-width:480px;color:rgba(232,242,247,.8);font-size:14px;line-height:1.55}
body .sports-titlebar .title-stats{margin-top:24px}
body .sports-titlebar .title-stat{min-height:40px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(5,26,39,.52);color:rgba(255,255,255,.72);backdrop-filter:blur(7px)}
body .sports-titlebar .title-stat b{color:#fff}
body .sports-titlebar .history-trigger{position:absolute;right:24px;bottom:24px;min-width:auto;border-color:rgba(255,255,255,.18);background:rgba(5,24,36,.78);color:#fff;box-shadow:none;backdrop-filter:blur(8px)}
body .sports-titlebar .history-trigger:hover{background:rgba(5,24,36,.92)}
@media(max-width:640px){
 body .sports-titlebar{min-height:390px;padding:28px 24px;align-items:flex-end;background-position:62% center}
 body .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.58),rgba(4,19,31,.94) 62%,rgba(4,19,31,.98))}
 body .sports-titlebar h1{font-size:36px}
 body .sports-titlebar p{font-size:13px}
 body .sports-titlebar .history-trigger{right:16px;bottom:16px}
 body .sports-titlebar .title-stats{padding-right:56px}
}

/* Mobile alignment pass: keep the pick + price pair visually centered. */
.odd-btn{display:grid;grid-template-columns:auto auto;justify-content:center;column-gap:10px;text-align:center}
.odd-btn span{flex:none;width:auto;max-width:100%}
.odd-btn b{margin-left:0}
.odd-btn.on::before{position:absolute;left:6px;top:50%;transform:translateY(-50%)}
@media(max-width:640px){
 .odd-btn{column-gap:8px}
 .ticket-toggle{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center}
 .ticket-id small{max-width:none;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
}
@media(max-width:340px){
 .ticket-toggle{grid-template-columns:30px minmax(0,1fr) auto}
 .ticket-status{padding-inline:5px}
}

/* Concept demo top-card override (kept last to win the compact production cascade). */
body .sports-titlebar{position:relative;isolation:isolate;min-height:330px;margin:0 0 14px;padding:38px 46px;overflow:hidden;border:1px solid rgba(88,226,191,.18);border-radius:22px;background:#071725 url('/assets/img/sports-hero-final-v3.webp') center/cover no-repeat;box-shadow:0 24px 58px -30px rgba(8,29,43,.48);color:#fff}
body .sports-titlebar::before{content:"";position:absolute;inset:0;z-index:-1;width:auto;height:auto;right:0;top:0;border:0;border-radius:0;filter:none;background:linear-gradient(90deg,rgba(4,19,31,.98) 0%,rgba(4,19,31,.89) 44%,rgba(4,19,31,.2) 76%,rgba(4,19,31,.03) 100%);box-shadow:none}
body .sports-titlebar::after{content:none}
body .sports-titlebar .sports-hero-mark{display:none!important}
body .sports-titlebar .title-copy{align-self:center;max-width:510px}
body .sports-titlebar .eyebrow{color:#68f3cb;font-size:10px;letter-spacing:2px}
body .sports-titlebar h1{max-width:480px;margin:12px 0 14px;color:#fff;font-size:clamp(38px,3.7vw,54px);line-height:.98;letter-spacing:-.045em}
body .sports-titlebar p{max-width:480px;color:rgba(232,242,247,.8);font-size:14px;line-height:1.55}
body .sports-titlebar .title-stats{margin-top:24px}
body .sports-titlebar .title-stat{min-height:40px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(5,26,39,.52);color:rgba(255,255,255,.72);backdrop-filter:blur(7px)}
body .sports-titlebar .title-stat b{color:#fff}
body .sports-titlebar .history-trigger{position:absolute;right:24px;bottom:24px;min-width:auto;border-color:rgba(255,255,255,.18);background:rgba(5,24,36,.78);color:#fff;box-shadow:none;backdrop-filter:blur(8px)}
body .sports-titlebar .history-trigger:hover{background:rgba(5,24,36,.92)}
@media(max-width:640px){body .sports-titlebar{min-height:390px;padding:28px 24px;align-items:flex-end;background-position:62% center}body .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.58),rgba(4,19,31,.94) 62%,rgba(4,19,31,.98))}body .sports-titlebar h1{font-size:36px}body .sports-titlebar p{font-size:13px}body .sports-titlebar .history-trigger{right:16px;bottom:16px}body .sports-titlebar .title-stats{padding-right:56px}}

/* Keep the My bets action clear of the hero ball artwork. */
@media(min-width:641px){body .sports-titlebar .history-trigger{top:24px;right:24px;bottom:auto}}

/* Mobile sportsbook composition: keep the stadium, goal and ball visible above the copy. */
@media(max-width:640px){
 body .sports-titlebar{min-height:550px;padding:236px 24px 74px;background-color:#071725;background-size:auto 218px;background-position:center 18px;background-repeat:no-repeat;align-items:flex-start}
 body .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.02) 0,rgba(4,19,31,.14) 200px,rgba(4,19,31,.96) 270px,rgba(4,19,31,.99) 100%)}
 body .sports-titlebar .title-copy{align-self:flex-start}
}

/* Refined mobile sportsbook hero: larger right-side ball/goal, compact integrated copy. */
@media(max-width:640px){
 body .sports-titlebar{min-height:500px;padding:205px 24px 70px;background-color:#071725;background-size:auto 245px;background-position:right -28px top 12px;background-repeat:no-repeat;align-items:flex-start}
 body .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.04) 0,rgba(4,19,31,.14) 155px,rgba(4,19,31,.84) 225px,rgba(4,19,31,.99) 305px,rgba(4,19,31,1) 100%)}
 body .sports-titlebar h1{font-size:34px;line-height:1.02;max-width:320px;margin-top:10px}
 body .sports-titlebar p{font-size:12.5px;line-height:1.5;max-width:310px}
 body .sports-titlebar .title-stats{margin-top:18px}
}

/* Mobile v2: true split composition — headline left, stadium panel right. */
@media(max-width:640px){
 body .sports-titlebar{min-height:440px;padding:27px 22px 68px;background:#071725;border-color:rgba(92,235,192,.2)}
 body .sports-titlebar::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(240px 190px at 92% 4%,rgba(0,224,134,.15),transparent 72%),linear-gradient(160deg,#061725 0%,#071b28 58%,#05141f 100%)}
 body .sports-titlebar::after{content:"";position:absolute;z-index:0;top:20px;right:17px;left:auto;bottom:auto;width:150px;height:158px;border:1px solid rgba(123,242,210,.2);border-radius:18px;background:#071a27 url('/assets/img/sports-hero-final-v3.webp') right center/auto 100% no-repeat;box-shadow:0 18px 36px -18px rgba(0,230,138,.42);pointer-events:none}
 body .sports-titlebar .title-copy{position:relative;z-index:1;width:100%;max-width:none;align-self:flex-start}
 body .sports-titlebar .eyebrow{display:block;max-width:175px;min-height:22px}
 body .sports-titlebar h1{max-width:190px;margin:9px 0 22px;font-size:31px;line-height:1.02;letter-spacing:-.04em}
 body .sports-titlebar p{max-width:100%;margin-top:0;font-size:12.5px;line-height:1.5}
 body .sports-titlebar .title-stats{margin-top:18px;padding-right:0}
 body .sports-titlebar .history-trigger{z-index:2}
}
@media(max-width:640px){body .sports-titlebar{min-height:410px}}

/* Mobile v3: one-piece stadium background, preserve the right edge and crop from the left. */
@media(max-width:640px){
 body .sports-titlebar{min-height:505px;padding:205px 24px 70px;background:#071725 url('/assets/img/sports-hero-final-v3.webp') right center/auto 100% no-repeat;align-items:flex-start}
 body .sports-titlebar::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,19,31,.04) 0%,rgba(4,19,31,.12) 30%,rgba(4,19,31,.8) 58%,rgba(4,19,31,.99) 82%,#04131f 100%),linear-gradient(90deg,rgba(4,19,31,.96) 0%,rgba(4,19,31,.76) 40%,rgba(4,19,31,.2) 78%,rgba(4,19,31,.02) 100%)}
 body .sports-titlebar::after{content:none}
 body .sports-titlebar .title-copy{position:relative;z-index:1;width:100%;max-width:none}
 body .sports-titlebar .eyebrow{max-width:none;min-height:0}
 body .sports-titlebar h1{max-width:320px;margin:9px 0 14px;font-size:34px;line-height:1.01}
 body .sports-titlebar p{max-width:310px;font-size:12.5px;line-height:1.5}
 body .sports-titlebar .title-stats{margin-top:18px}
}
@media(max-width:640px){body .sports-titlebar{background-size:auto 84%;background-position:right center}body .sports-titlebar::before{background:linear-gradient(180deg,rgba(4,19,31,.02) 0%,rgba(4,19,31,.08) 30%,rgba(4,19,31,.68) 57%,rgba(4,19,31,.98) 80%,#04131f 100%),linear-gradient(90deg,rgba(4,19,31,.94) 0%,rgba(4,19,31,.64) 40%,rgba(4,19,31,.1) 78%,rgba(4,19,31,0) 100%)}}
@media(max-width:640px){body .sports-titlebar{min-height:460px;padding-top:168px;background-size:auto 90%;background-position:right 56%}}

/* Mobile v4: materially shorter first viewport. */
@media(max-width:640px){
 body .sports-titlebar{min-height:390px;padding:112px 24px 62px;background-size:auto 100%;background-position:right 64%}
 body .sports-titlebar h1{max-width:300px;margin:8px 0 10px;font-size:31px;line-height:1}
 body .sports-titlebar p{max-width:300px;font-size:12px;line-height:1.42}
 body .sports-titlebar .title-stats{margin-top:13px}
 body .sports-titlebar .title-stat{min-height:36px;padding-inline:10px}
}

/* Mobile v5: trim the hero bottom and place My bets over the ball on the right. */
@media(max-width:640px){
 body .sports-titlebar{min-height:370px;padding-bottom:54px}
 body .sports-titlebar .history-trigger{top:232px;right:16px;bottom:auto;width:auto;min-width:0;min-height:42px;padding:0 12px;gap:7px}
 body .sports-titlebar .history-trigger>span:last-child{display:inline}
 body .sports-titlebar .history-trigger .history-icon{font-size:17px}
}
@media(max-width:640px){body .sports-titlebar{min-height:345px;padding-bottom:42px}body .sports-titlebar .history-trigger{top:202px}}
@media(max-width:640px){body .sports-titlebar .history-trigger{top:104px}}
@media(max-width:640px){body .sports-titlebar .history-trigger{top:52px}}
