:root{--yellow:#ffcb05;--ink:#0b0c0e;--panel:#17191d;--panel2:#202328;--line:#343840;--text:#f7f7f5;--muted:#aeb2b9;--green:#31c26d;--red:#ff5b62}
*{box-sizing:border-box}
html{background:#07080a;scroll-behavior:smooth}
body{margin:0;background:#07080a;color:var(--text);font-family:Arial,Helvetica,sans-serif}
button,select,input{font:inherit}button,a{color:inherit}a{text-decoration:none}
.app{width:min(100%,480px);min-height:100vh;margin:0 auto;background:#111317;box-shadow:0 0 42px rgba(0,0,0,.55)}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:11px;min-height:60px;padding:9px 12px;background:rgba(12,13,16,.97);border-bottom:1px solid #282b31;backdrop-filter:blur(12px)}
.back,.menu{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:10px;background:#22252b;color:var(--yellow);font-size:24px;font-weight:900;cursor:pointer}.brand{width:108px;height:auto}.topbar-title{min-width:0;flex:1}.topbar-title strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-title span{display:block;margin-top:2px;color:var(--muted);font-size:11px}
.drawer{position:fixed;z-index:50;top:0;bottom:0;left:50%;display:none;width:min(100%,480px);padding:18px;transform:translateX(-50%);background:rgba(12,13,16,.985)}.drawer.open{display:block}.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.drawer-head img{width:118px}.close{width:42px;height:42px;border:0;border-radius:10px;background:#25282e;color:var(--yellow);font-size:26px}.drawer a{display:flex;align-items:center;justify-content:space-between;padding:15px 4px;border-bottom:1px solid #34373e;font-weight:800}.drawer a.active{color:var(--yellow)}
.prize{position:relative;overflow:hidden;padding:17px 16px 18px;background:linear-gradient(120deg,#ffcb05,#ffdc4b);color:#0b0c0e}.prize:after{content:"";position:absolute;width:190px;height:190px;right:-84px;top:-83px;border:31px solid rgba(0,0,0,.06);border-radius:50%}.prize-row{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.eyebrow{margin:0 0 5px;font-size:12px;font-weight:900;letter-spacing:.9px;text-transform:uppercase}.prize h1{margin:0;font:900 32px/.95 Impact,"Arial Narrow Bold",Arial,sans-serif;letter-spacing:.3px;text-transform:uppercase}.prize h1 span{display:block;margin-bottom:5px;font:900 14px/1.1 Arial,sans-serif}.prize h1 b{font:inherit}.prize h1 small{display:block;margin-top:5px;font:1000 13px/1 Arial,sans-serif;letter-spacing:1.2px}.prize-copy{margin:9px 0 0;max-width:285px;font-size:13px;font-weight:700;line-height:1.35}.trial{position:relative;z-index:1;flex:0 0 auto;padding:7px 9px;border:2px solid #0b0c0e;border-radius:8px;font-size:10px;font-weight:1000;line-height:1.15;text-align:center;text-transform:uppercase}
.game-switch{display:flex;gap:7px;padding:10px 11px;overflow-x:auto;background:#0d0f12;scrollbar-width:none}.game-switch::-webkit-scrollbar{display:none}.game-switch a{flex:0 0 auto;padding:8px 11px;border:1px solid #343840;border-radius:999px;color:#c9ccd1;background:#181a1f;font-size:12px;font-weight:800}.game-switch a.active{border-color:var(--yellow);color:#111;background:var(--yellow)}
.tabs{display:grid;grid-template-columns:repeat(5,1fr);position:sticky;top:60px;z-index:25;background:#14161a;border-bottom:1px solid #30333a}.tab{min-height:48px;padding:5px 2px;border:0;border-bottom:3px solid transparent;background:transparent;color:#aeb2b9;font-size:10px;font-weight:900;cursor:pointer}.tab.active{border-bottom-color:var(--yellow);color:var(--yellow)}.tab-betslip{position:relative;color:var(--yellow)}.tab-betslip .betslip-count{position:absolute;top:4px;right:6px;min-width:18px;height:18px;padding:0 4px;font-size:10px}
.view{display:none}.view.active{display:block}.play-head{padding:14px 12px 10px}.roundline{display:flex;align-items:center;justify-content:space-between;gap:8px}.roundline strong{font-size:16px}.roundline span{font-size:12px;color:var(--muted)}.close-row{display:flex;align-items:center;gap:7px;margin-top:8px;color:#d5d7da;font-size:12px}.pulse{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(49,194,109,.13)}
.progress{position:sticky;top:108px;z-index:20;display:flex;align-items:center;gap:10px;padding:9px 12px;background:#202329;border-block:1px solid #343840}.progress-track{height:7px;flex:1;overflow:hidden;border-radius:999px;background:#3a3e46}.progress-fill{width:0;height:100%;border-radius:inherit;background:var(--yellow);transition:width .25s}.progress strong{min-width:58px;color:var(--yellow);font-size:12px;text-align:right}
.fixtures{display:grid;gap:11px;padding:12px 10px 104px}.fixture{overflow:hidden;border:1px solid #30343b;border-radius:13px;background:var(--panel);box-shadow:0 5px 16px rgba(0,0,0,.24)}.fixture-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;padding:11px 10px;background:#21242a}.team{min-width:0;font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team.away{text-align:right}.versus{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#111;background:var(--yellow);font-size:10px;font-weight:1000}.match-label{grid-column:1/-1;margin-top:2px;color:#9da1a9;font-size:10px;font-weight:800;letter-spacing:.5px;text-align:center;text-transform:uppercase}
.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px}.choice{min-height:49px;padding:7px 5px;border:1px solid #4a4e56;border-radius:8px;color:#f2f2f0;background:#292c32;font-size:11px;font-weight:850;line-height:1.18;cursor:pointer}.choice.selected{border-color:var(--yellow);color:#111;background:var(--yellow);box-shadow:0 0 0 2px rgba(255,203,5,.16)}.choice:focus-visible,.score-select:focus-visible,.submit:focus-visible{outline:3px solid #fff;outline-offset:2px}
.half-grid{padding:10px}.half-row{display:grid;grid-template-columns:39px 1fr;gap:8px;align-items:center}.half-row+.half-row{margin-top:9px}.half-label{display:grid;place-items:center;height:40px;border-radius:7px;color:#111;background:var(--yellow);font-size:11px;font-weight:1000}.half-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.half-options .choice{min-height:40px}
.score-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:end;padding:12px}.score-side label{display:block;margin-bottom:6px;color:#b8bbc1;font-size:11px;font-weight:800}.score-side:last-child label{text-align:right}.score-select{width:100%;min-height:48px;padding:0 10px;border:1px solid #4a4e56;border-radius:9px;color:#fff;background:#292c32;font-size:18px;font-weight:900;text-align:center}.score-dash{padding-bottom:15px;color:var(--yellow);font-size:20px;font-weight:900}
.question{padding:11px}.question+.question{border-top:1px solid #30343b}.question p{margin:0 0 9px;font-size:14px;font-weight:800;line-height:1.35}.question .choices{padding:0}
.submit-wrap{position:fixed;z-index:28;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr 1.18fr;gap:8px;width:min(100%,480px);margin:auto;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(17,19,23,0),#111317 24%)}.submit,.betslip-toggle{min-height:54px;border:0;border-radius:13px;font-weight:1000;cursor:pointer}.submit{width:100%;color:#101114;background:var(--yellow);font-size:15px;box-shadow:0 7px 22px rgba(0,0,0,.42)}.submit:disabled{color:#a7a9ad;background:#30343a;box-shadow:none}.betslip-toggle{display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #ffe36a;color:#111;background:var(--yellow);font-size:13px;box-shadow:0 7px 22px rgba(0,0,0,.35)}.betslip-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:999px;color:var(--yellow);background:#111317}
.empty{margin:18px 12px;padding:26px 18px;border:1px solid #343840;border-radius:13px;background:#1c1f24;text-align:center}.empty-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 13px;border-radius:50%;color:#111;background:var(--yellow);font-size:22px;font-weight:1000}.empty h2{margin:0 0 7px;font-size:19px}.empty p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.rules{padding:14px 12px 28px}.rules h2{margin:0 0 10px;font-size:20px}.rules ol{margin:0;padding-left:22px}.rules li{padding:6px 0;color:#d8dade;font-size:14px;line-height:1.45}.option-key{margin-top:15px;padding:12px;border-radius:12px;background:#202329}.option-key strong{display:block;margin-bottom:8px;color:var(--yellow)}.option-key p{margin:5px 0;color:#d6d8dc;font-size:13px;line-height:1.35}
.toast{position:fixed;z-index:70;right:16px;bottom:80px;left:16px;width:min(calc(100% - 32px),448px);margin:auto;padding:13px 15px;border-radius:11px;color:#111;background:#fff;font-size:14px;font-weight:800;box-shadow:0 9px 32px rgba(0,0,0,.55);transform:translateY(150px);opacity:0;transition:.25s}.toast.show{transform:translateY(0);opacity:1}.toast.error{color:#fff;background:#9f2027}
.overlay{position:fixed;z-index:80;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.overlay[hidden]{display:none}.dialog{position:absolute;right:16px;bottom:22px;left:16px;max-width:448px;margin:auto;padding:18px;border:1px solid #3c4048;border-radius:17px;background:#1b1e23;box-shadow:0 22px 60px rgba(0,0,0,.65)}.dialog-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:#111;background:var(--yellow);font-size:23px;font-weight:1000}.dialog h2{margin:14px 0 7px;font-size:22px}.dialog p{margin:0;color:#c7cad0;font-size:14px;line-height:1.45}.dialog-actions{display:grid;grid-template-columns:1fr 1.55fr;gap:8px;margin-top:17px}.dialog-actions button{min-height:48px;border:0;border-radius:10px;font-weight:900}.dialog-cancel{color:#fff;background:#343840}.dialog-confirm{color:#111;background:var(--yellow)}
.betslip-sheet{position:fixed;z-index:75;right:0;bottom:0;left:0;width:min(100%,480px);max-height:82vh;margin:auto;overflow:auto;border-top:1px solid #484c55;border-radius:18px 18px 0 0;background:#17191e;box-shadow:0 -16px 50px rgba(0,0,0,.62)}.betslip-sheet[hidden]{display:none}.sheet-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:15px 14px;background:#17191e;border-bottom:1px solid #333740}.sheet-head h2{margin:0;font-size:20px}.sheet-close{width:38px;height:38px;border:0;border-radius:9px;color:var(--yellow);background:#292d33;font-size:23px}.slip-list{display:grid;gap:8px;padding:12px 12px 96px}.slip-empty{padding:25px 10px;color:#aeb2b9;text-align:center}.slip-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #363a42;border-radius:11px;background:#22252b}.slip-item strong{display:block;font-size:13px}.slip-item span{display:block;margin-top:4px;color:var(--yellow);font-size:12px;font-weight:800}.slip-remove{width:34px;height:34px;border:0;border-radius:8px;color:#fff;background:#3b2428;font-size:18px}.sheet-foot{position:sticky;bottom:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#17191e;border-top:1px solid #333740}.sheet-foot button{width:100%;min-height:50px;border:0;border-radius:11px;color:#111;background:var(--yellow);font-weight:1000}
.submit-wrap[hidden]{display:none}
.slip-view{min-height:48vh;padding-bottom:24px}.slip-page-head{padding:20px 13px 7px}.slip-page-head h2{margin:0;color:#fff;font-size:23px}.slip-page-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.slip-view .slip-list{padding:12px 12px 20px}.slip-page-actions{padding:0 12px 30px}.slip-page-actions button{width:100%;min-height:50px;border:1px solid var(--yellow);border-radius:11px;color:var(--yellow);background:#25282e;font-weight:900}
@media(max-width:360px){.prize h1{font-size:28px}.choice{font-size:10px}.fixtures{padding-inline:7px}.trial{font-size:9px}.tab{font-size:9px}.tab-betslip .betslip-count{right:2px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.confirm-summary{max-height:160px;overflow:auto;margin:13px 0;padding:4px 10px;border:1px solid #3b3f47;border-radius:9px;background:#25282d}.confirm-summary div{display:flex;justify-content:space-between;gap:9px;padding:8px 0;border-bottom:1px solid #3b3f47;font-size:12px}.confirm-summary div:last-child{border-bottom:0}.confirm-summary span{min-width:0;color:#c9cbd0}.confirm-summary strong{flex:0 0 auto;color:var(--yellow);text-align:right}.dialog .preview-note{margin-top:11px;color:#aeb2b9;font-size:11px}
.receipt{margin:12px 10px 22px;padding:17px 14px;border:1px solid #4a505a;border-top:5px solid var(--yellow);border-radius:12px;background:#1d2025}.receipt-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--yellow);font-size:11px;font-weight:900;text-transform:uppercase}.receipt-top strong{color:#111;background:var(--yellow);padding:6px 8px;border-radius:6px}.receipt h2{margin:14px 0 4px;font-size:24px}.receipt-state{margin:0 0 15px;color:#b9bdc4;font-size:12px}.receipt dl{margin:0;padding:5px 0;border-top:1px solid #3b3f47;border-bottom:1px solid #3b3f47}.receipt dl div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px}.receipt dt{color:#aeb2b9}.receipt dd{margin:0;font-weight:800;text-align:right;overflow-wrap:anywhere}.receipt h3{margin:15px 0 9px;font-size:16px}.receipt ol{margin:0;padding-left:22px}.receipt li{padding:8px 0;border-top:1px solid #343840;font-size:12px}.receipt li span{display:block;color:#d8dade;line-height:1.35}.receipt li strong{display:block;margin-top:3px;color:var(--yellow);font-size:13px}
.results-head{padding:19px 13px 10px}.results-head h2{margin:0 0 6px;font-size:21px}.results-head p{margin:0;color:#adb2ba;font-size:12px;line-height:1.4}.results-list{display:grid;gap:9px;padding:3px 10px 25px}.result-row{padding:12px;border:1px solid #353a42;border-radius:11px;background:#202329}.result-meta{display:flex;align-items:center;justify-content:space-between;color:#aeb2b9;font-size:11px;font-weight:800}.result-status{padding:5px 8px;border-radius:5px;color:#24272c;background:#b9bec6;text-transform:uppercase}.result-status.is-live{color:#fff;background:#a41620}.result-fixture{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px;margin:15px 0 11px}.result-fixture strong{font-size:14px}.result-fixture strong:last-child{text-align:right}.result-fixture span{color:var(--yellow);font-size:16px;font-weight:900}.result-row small{color:#aeb2b9;font-size:11px}
@media(max-height:700px){.overlay .dialog{max-height:calc(100dvh - 36px);overflow:auto}}
.game-preview-note{margin:0;padding:7px 12px;color:#c3c7cd;background:#202329;font-size:11px;text-align:center}
.subscribe-link{display:block;margin:10px 12px;padding:12px;border-radius:10px;color:#111;background:var(--yellow);font-size:14px;font-weight:900;text-align:center;text-decoration:none}.subscribe-link[hidden]{display:none}
.dialog-actions a.dialog-confirm{display:grid;place-items:center;min-height:48px;border-radius:10px;font-weight:900;text-align:center}
