/* Reference: Tabler default dark Dashboard; local Tabler Core 1.4.0 / MIT. */
html{scroll-behavior:auto;scroll-padding-top:70px}
body{isolation:isolate;background:var(--bg);font:14px/1.5 var(--tblr-font-sans-serif);padding-left:0}
a{color:inherit}.topbar{height:68px;min-height:68px;padding:10px max(24px,calc((100vw - 1280px)/2));margin:0;background:#1d2939;backdrop-filter:none;border-bottom:1px solid var(--line);box-shadow:none;position:relative}
.brand{width:auto;gap:10px}.brand-mark{width:34px;height:34px;border-radius:8px;background:#f3f4f6;color:#1d2939;font-size:24px}.brand-mark span{color:#1d2939;font-size:20px}.brand h1{color:var(--text);font-size:21px;font-weight:650;letter-spacing:-.6px;margin:0}.brand .eyebrow{display:none}
.header-actions{gap:12px}.header-actions .btn{min-height:36px;padding:7px 12px;border-radius:4px;font-size:12px}.push-btn{background:transparent;border-color:#3a485a}.push-btn.enabled{background:#0d49382b;border-color:#3b7056;color:var(--green)}.health-badge{font-size:11px}
.navigation-shell{background:#1d2939;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:6}
.workspace-nav{max-width:1280px;margin:0 auto;padding:0 24px;border:0;border-radius:0;display:flex;flex-direction:row;gap:20px;align-items:stretch;background:transparent;overflow-x:auto;scrollbar-width:thin;position:static;width:auto;height:auto;box-shadow:none}
.workspace-nav::after{content:none}.workspace-nav .nav-item{display:flex;flex-direction:row;align-items:center;flex:0 0 auto;min-width:0;min-height:50px;padding:12px 1px;gap:8px;border:0;border-radius:0;background:none;font-size:12px;font-weight:500;color:#b9c5d5;box-shadow:none;justify-content:flex-start;white-space:nowrap;position:relative}
.workspace-nav .nav-item>span:not(.nav-icon):not(.nav-count){white-space:nowrap;text-align:left}.workspace-nav .nav-item[aria-current=true]{color:#fff;background:none;box-shadow:inset 0 -2px var(--accent)}.workspace-nav .nav-item::before{content:none}.nav-icon{display:flex;flex:0 0 17px;font-size:16px}.nav-icon svg{width:17px;height:17px}.nav-count{position:static;margin:0;background:#32475e;color:#d9ebff;border-radius:4px;padding:0 5px;font-size:10px;line-height:18px;min-width:18px}.nav-item[aria-current=true] .nav-icon{color:var(--blue)}
main{max-width:1280px;margin:0 auto;padding:26px 24px 32px;min-width:0}.workspace-head{flex-direction:row;padding:0;margin:0 0 22px;gap:16px;align-items:center;display:flex;justify-content:space-between}.workspace-head .eyebrow{font-size:10px;color:var(--muted);letter-spacing:.1em;margin:0 0 4px}.workspace-head h2{font-size:25px;font-weight:650;line-height:1.3;letter-spacing:-.5px;margin:0}.workspace-head p:last-child{font-size:12px;line-height:1.6;max-width:790px;margin:5px 0 0;color:var(--muted)}.refresh-button{background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:4px;padding:8px 13px;font-size:12px;min-height:36px;box-shadow:0 1px 2px #0002}.refresh-button span{display:inline}
.dashboard-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 22px}.funnel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.metric{background:var(--card);border:1px solid var(--line);border-radius:5px;padding:15px 17px;box-shadow:0 1px 3px #0002}.metric span{font-size:10px;letter-spacing:.045em;color:var(--muted);font-weight:500}.metric strong{font-size:26px;line-height:1.15;font-weight:600;letter-spacing:-.7px;margin-top:5px;font-variant-numeric:tabular-nums}.funnel-grid .metric:last-child{background:var(--card);border-color:var(--line);border-top:2px solid #2fb344}#betCount{color:var(--green)}
.service-status{position:relative;display:block;overflow:hidden;border:1px solid #355270;border-radius:5px;background:linear-gradient(110deg,#1c344b,#1f2937);padding:22px;margin:0;box-shadow:0 1px 3px #0002;min-height:188px}.service-heading{display:flex;align-items:center;gap:8px;max-width:calc(100% - 100px)}.service-heading strong{font-size:17px;line-height:1.4;font-weight:600}.service-heading a{font-size:11px;margin:0;color:#acd0fb;order:3;flex-basis:100%;padding-left:16px}.service-status p{max-width:calc(100% - 110px);font-size:12px;color:#c5d2e0;line-height:1.65;margin:10px 0 16px}.service-facts{display:flex;gap:5px 18px;flex-wrap:wrap;font-size:10px;color:#bac7d6;position:relative;z-index:1}.service-status[data-state=waiting],.service-status[data-state=stale]{background:linear-gradient(110deg,#3b3224,#1f2937);border-color:#77623d}.service-status[data-state=offline]{background:linear-gradient(110deg,#3b2832,#1f2937);border-color:#885663}.service-status[data-state=paused]{background:linear-gradient(110deg,#243954,#1f2937);border-color:#49658b}
.pitch-art{position:absolute;right:18px;top:30px;width:90px;height:126px;border:1px solid #8ebbe847;border-radius:3px;transform:rotate(12deg);opacity:.75;background:#066fd118;pointer-events:none}.pitch-art::before,.pitch-art::after{content:'';position:absolute;left:21px;right:21px;height:22px;border:1px solid #8ebbe847}.pitch-art::before{top:-1px}.pitch-art::after{bottom:-1px}.pitch-circle{position:absolute;left:27px;top:46px;width:34px;height:34px;border:1px solid #8ebbe847;border-radius:50%}.pitch-circle::after{content:'';position:absolute;left:-28px;top:16px;width:88px;border-top:1px solid #8ebbe847}.pitch-ball{position:absolute;width:10px;height:10px;border-radius:50%;background:#89c2ff;left:41px;top:58px;box-shadow:0 0 0 7px #066fd133}
body:not([data-workspace=live]) .dashboard-overview{display:block}body:not([data-workspace=live]) .funnel-grid{display:none}body:not([data-workspace=live]) .service-status{min-height:0;padding:12px 16px;background:var(--card)}body:not([data-workspace=live]) .service-heading{max-width:none}body:not([data-workspace=live]) .service-heading strong{font-size:13px}body:not([data-workspace=live]) .service-heading a{order:initial;flex-basis:auto;margin-left:auto;padding:0}body:not([data-workspace=live]) .service-status p{max-width:none;font-size:11px;margin:5px 0}body:not([data-workspace=live]) .pitch-art{display:none}
.search-row{display:flex;gap:12px;align-items:center;margin:0 0 22px}.search-row label{font-size:12px;color:var(--muted)}input[type=search]{background:var(--card);border:1px solid var(--line);border-radius:4px;min-height:36px;padding:8px 12px;width:min(360px,100%);font-size:14px}input::placeholder{color:#9babc0}.section-heading{margin-bottom:14px}.section-heading h2{font-size:18px;letter-spacing:-.3px;font-weight:600}.section-heading .eyebrow{font-size:9px;color:var(--muted)}.count-badge{min-width:24px;padding:2px 7px;font-size:11px;border-radius:4px;background:var(--card2)}
.signal-list,.asian-cards{gap:20px;align-items:start}.signal{background:var(--card);border:1px solid var(--line);border-radius:5px;padding:18px;box-shadow:0 1px 3px #0002;transition:border-color .15s}.signal:hover{border-color:#607389;transform:none;box-shadow:0 1px 3px #0002}.signal-top{gap:12px}.signal .teams{font-size:17px;font-weight:600;line-height:1.5}.signal-top .meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:11px}.live-score{font-size:25px;font-weight:650;color:var(--text);font-variant-numeric:tabular-nums}.decision{font-size:10px;padding:5px 7px;border-radius:4px;white-space:nowrap}.decision.bet{color:#b4f1ce;background:#244934}.decision.wait{color:var(--amber);background:#493d28}.signal-grid{gap:8px;margin-top:14px}.cell{background:#182332;border:1px solid #334256;border-radius:4px;padding:10px}.cell strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.cell span{font-size:10px}.progress{height:4px;background:#354357}.progress>div{background:var(--accent)}.pill{background:#253448;border:1px solid #3b4c61;padding:5px 7px;border-radius:4px;font-size:10px}.signal-checklist{margin-top:12px;padding-top:12px}.signal .reason{padding:0;font-size:12px;line-height:1.65}.card-footer{background:none;border-top:1px solid var(--line);padding:12px 0 0;margin-top:14px;font-size:10px}.card-footer button{font-size:11px}
.asian-card{display:block;cursor:default}.asian-badge{margin-bottom:10px;font-size:10px;letter-spacing:.025em;color:#aacdff}.asian-card h3{font-size:19px;line-height:1.45;font-weight:600;letter-spacing:-.35px;margin:0 0 6px}.asian-card p{font-size:12px;line-height:1.6}.asian-card .match-meta{color:var(--muted);font-size:11px;margin:0 0 12px}.outcome{padding:4px 7px;border-radius:4px;font-size:10px;background:#33445b}.outcome.WIN{background:#264637;color:var(--green)}.outcome.LOSS{background:#4b3039;color:var(--red)}.outcome.PUSH{background:#463b28;color:var(--amber)}.asian-card .match-score{font-size:26px;line-height:1.3;font-weight:650;margin:8px 0 14px;color:var(--text);letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.match-estimate{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;background:#19334f;border:1px solid #3a5b7d;border-radius:4px;padding:12px 14px;margin:12px 0 0}.estimate-label{font-size:10px;color:#b9cce4}.estimate-market{font-size:12px;font-weight:500}.estimate-value{grid-column:2;grid-row:1/3;font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:600;color:#b4d8ff;font-variant-numeric:tabular-nums}.asian-card .estimate-note{font-size:10px;color:var(--muted);margin:5px 0 12px}.asian-state{font-size:10px;border-radius:4px;margin-right:4px}.asian-placement{margin:12px 0}.asian-placement button{background:var(--accent);border-color:var(--accent);color:#fff;border-radius:4px;font-size:12px;min-height:36px;padding:7px 12px}.asian-card details{border-top:1px solid var(--line);padding-top:12px;margin:14px 0}.asian-card summary{font-size:12px;color:var(--blue);padding:4px 0}.asian-card details p{font-size:12px}.distribution th,.distribution td{padding:8px 6px;font-size:11px}.asian-card[data-outcome=WIN]{border-top:2px solid #3b9c65}.asian-card[data-outcome=LOSS]{border-top:2px solid #b65968}
.personal-bet-fields{border:1px solid #3b4b60;border-radius:4px;background:#1a2535;padding:12px;margin-top:14px}.personal-bet-fields p:first-child{font-size:11px;font-weight:600;color:var(--text);margin:0 0 10px}.personal-bet-grid{gap:8px}.personal-bet-grid input,.personal-bet-grid select{min-height:38px;padding:7px 9px;border:1px solid #45556b;border-radius:4px;background:#152030;color:var(--text);font-size:13px}.personal-bet-grid label{font-size:10px;color:var(--muted)}.personal-cash-toggle{font-size:11px;margin:10px 0;line-height:1.6}.personal-bet-result{border-top:1px solid var(--line);padding-top:8px;font-size:11px;margin-bottom:0}.result-explanation{background:#243448;border-left:2px solid #7094bf;border-radius:0 4px 4px 0;font-size:11px;padding:8px 10px;line-height:1.6}
.asian-summary{background:none;border:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}.asian-summary>div{background:var(--card);border:1px solid var(--line);border-radius:4px;padding:12px 14px}.asian-summary span{font-size:10px;color:var(--muted)}.asian-summary strong{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums}.forecast-filters{gap:6px;flex-wrap:wrap}.forecast-filters button,#halfOverOne>button{background:var(--card);border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:7px 10px;min-height:36px;font-size:11px}.forecast-filters button[aria-pressed=true]{background:#153e65;border-color:#376a9c;color:#d2e7ff}.forecast-filters input{min-width:0}.forecast-filters input[type=date]{border-radius:4px;min-height:36px}
.preparation-panel{border:1px solid var(--line);border-radius:4px;padding:12px 14px;background:var(--card);margin:18px 0}.preparation-panel>summary,.statistics-panel>summary{font-size:12px;font-weight:500;color:var(--muted)}.preparation-panel>p,.statistics-panel>p,#halfOverOne>.asian-footnote{font-size:11px;color:var(--muted);line-height:1.65}.statistics-panel{border-bottom:1px solid var(--line);padding:0 0 12px;margin:8px 0 18px}.statistics-panel>button{background:var(--card2);border:1px solid var(--line);color:var(--text);border-radius:4px;font-size:11px;padding:7px 10px}.selection-progress{padding:10px 12px;border:1px solid #3a5572;border-radius:4px;background:#1b3047;color:#c9dff6!important}.selection-warning{padding:10px 12px;border:1px solid #77633e;border-radius:4px;background:#372f23;color:var(--amber)!important}
#page-ai>.signal-section>.section-heading{display:none}#page-ai .ai-audit-panel{margin-top:20px}.asian-intro{font-size:11px;color:var(--muted);line-height:1.65}.results-wrap,.api-panel{background:var(--card);border-radius:5px}.ai-audit-panel{background:var(--card);border-radius:4px}.empty{border:1px dashed #455a75;border-radius:5px;background:var(--card);padding:20px;line-height:1.7}.upcoming-item,.rejected-item{background:var(--card);border-radius:4px}.dialog-card{background:var(--card);border-radius:7px}footer{max-width:1280px;color:var(--muted);font-size:10px;line-height:1.7;margin-top:0}input,select{color-scheme:dark}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.skip-link:not(:focus){visibility:hidden}.skip-link:focus{visibility:visible}
@media(min-width:1100px){.asian-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.asian-card h3{font-size:17px}.asian-card .match-estimate{padding:10px 12px}.estimate-value{font-size:28px}.asian-card .personal-bet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asian-card .personal-bet-grid label:first-child{grid-column:1/-1}.asian-card .personal-cash-fields{grid-template-columns:minmax(0,1fr) auto}.asian-card .personal-cash-fields label:first-child{grid-column:auto}}
@media(max-width:900px){.dashboard-overview{grid-template-columns:1fr;gap:12px}.funnel-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.service-status{min-height:165px}.workspace-nav{gap:18px}.signal-list,.asian-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:12px}.metric strong{font-size:24px}.header-actions{gap:8px}}
@media(max-width:700px){.topbar{height:auto;min-height:60px;padding:12px 16px;gap:8px;flex-wrap:wrap}.brand{flex-shrink:0}.brand h1{font-size:19px}.header-actions{width:auto;gap:6px}.header-actions .health-badge{display:none}.header-actions .btn{min-height:36px;padding:6px 8px;font-size:10px}.workspace-nav{padding:0 16px;gap:18px}.workspace-nav .nav-item{min-height:46px;font-size:11px;flex:0 0 auto;gap:6px}.workspace-nav .nav-count{position:static}.nav-icon{display:flex;flex-basis:15px}.nav-icon svg{width:15px;height:15px}main{padding:20px 16px 24px}.workspace-head{margin-bottom:16px;gap:12px}.workspace-head h2{font-size:23px}.workspace-head p:last-child{font-size:11px}.workspace-head .eyebrow{font-size:9px}.refresh-button{font-size:11px;padding:8px 10px;min-height:36px}.refresh-button span{display:none}.service-status{padding:16px;min-height:155px}.service-heading strong{font-size:15px}.service-facts{font-size:10px}.dashboard-overview{margin-bottom:18px}.funnel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.funnel-grid .metric{padding:12px;border-radius:4px}.funnel-grid .metric span{font-size:9px;min-height:0}.funnel-grid .metric strong{font-size:25px}.search-row{flex-wrap:wrap;gap:8px;margin-bottom:18px}.search-row label{font-size:11px}.search-row input{min-width:140px;flex:1;max-width:100%;font-size:16px}.signal-list,.asian-cards{grid-template-columns:1fr;gap:16px}.signal,.asian-card{padding:16px;border-radius:5px}.signal .teams{font-size:17px}.asian-card h3{font-size:18px}.asian-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.asian-summary>div{padding:10px}.asian-summary strong{font-size:21px}.results-grid{gap:8px}.service-status p{font-size:11px}body:not([data-workspace=live]) .service-heading{gap:6px}body:not([data-workspace=live]) .service-heading a{margin-left:0;flex-basis:100%;padding-left:14px}footer{padding:0 16px 20px}}
@media(max-width:380px){.header-actions{width:100%;justify-content:flex-end}.personal-bet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-bet-grid label:first-child{grid-column:1/-1}.service-heading,.service-status p{max-width:calc(100% - 75px)}.pitch-art{width:66px;height:100px;right:15px;top:32px}.pitch-circle{left:16px;top:34px}.pitch-circle::after{left:-17px;width:64px}.pitch-ball{left:30px;top:46px}.pitch-art::before,.pitch-art::after{left:13px;right:13px}}
@media(prefers-reduced-motion:reduce){.page-panel{animation:none}.signal{transition:none}}
/* Decorative crests keep the full team names accessible and reserve image space. */
.team-with-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;vertical-align:middle}.team-label{min-width:0;overflow-wrap:anywhere}.team-emblem{position:relative;display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:5px;background:#ffffff0b;border:1px solid #ffffff13;overflow:hidden;vertical-align:middle}.team-initials{font-size:9px;line-height:1;font-weight:650;color:#c3d2e5;letter-spacing:0}.team-emblem img{position:absolute;inset:2px;width:22px;height:22px;object-fit:contain;opacity:0}.team-emblem.emblem-loaded img{opacity:1}.emblem-loaded .team-initials{visibility:hidden}.teams,.asian-card h3{line-height:1.85}.team-with-badge .team-label{line-height:1.4}
@media(min-width:1100px){.asian-card .team-emblem{flex-basis:24px;width:24px;height:24px}.asian-card .team-emblem img{width:18px;height:18px}.asian-card .team-with-badge{gap:6px}}

.team-initials::before{content:attr(data-initials)}
/* Personal overview uses the same ledger totals as the journal. */
.myday-panel{padding:18px;margin:0 0 22px;border:1px solid var(--line);border-radius:6px;background:linear-gradient(110deg,#20364d,#1f2937)}.myday-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.myday-header h2{font-size:19px;font-weight:600;margin:3px 0 0;letter-spacing:-.3px}.myday-header .eyebrow{font-size:9px}.myday-journal{font-size:11px;color:var(--blue);text-decoration:none}.myday-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.myday-metric{padding-right:12px;border-right:1px solid #ffffff15}.myday-metric:last-child{border:0}.myday-metric span,.myday-next>span{display:block;font-size:10px;color:var(--muted)}.myday-metric strong{display:block;font-size:25px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:4px}.myday-metric[data-sign=positive] strong{color:var(--green)}.myday-metric[data-sign=negative] strong{color:var(--red)}.myday-next{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #ffffff15;padding-top:12px;margin-top:14px}.myday-next strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.myday-note{font-size:10px;color:var(--muted);margin:12px 0 0;line-height:1.6}.myday-login{font-size:12px;color:var(--muted);margin:0}body[data-workspace=system] .myday-panel{display:none}
/* Sports scoreboards keep names as text, with predictable crest and score space. */
.match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);align-items:start;gap:10px;padding:14px 0 8px;width:100%;font-weight:500}.match-scoreboard>.team-with-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;max-width:100%;text-align:center}.match-scoreboard .team-emblem{width:38px;height:38px;flex:0 0 38px;background:#ffffff08;border:1px solid #ffffff13;border-radius:9px}.match-scoreboard .team-emblem img{width:30px;height:30px;inset:3px}.match-scoreboard .team-label{font-size:13px;font-weight:600;line-height:1.4}.scoreboard-centre{display:flex;flex-direction:column;text-align:center;align-self:start;padding-top:2px;gap:7px}.scoreboard-centre strong{font-size:27px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}.scoreboard-centre small{font-size:9px;color:var(--muted);font-weight:400;letter-spacing:0;line-height:1.4}.signal-top{display:grid;grid-template-columns:minmax(0,1fr) auto}.signal-top>div:first-child{min-width:0}.signal-top .teams{font-size:13px}.asian-card h3{margin:0}.asian-card .match-score{font-size:12px;font-weight:400;color:var(--muted);margin:4px 0 10px;letter-spacing:0}.asian-card .match-meta{text-align:center;margin:4px 0 10px}.asian-card .match-estimate{margin-top:10px}.asian-card .match-estimate .estimate-value{font-size:25px}.signal-top .match-scoreboard{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr)}.signal-top .meta{justify-content:center;margin-top:4px}.signal-top .live-score{font-size:12px;letter-spacing:0;color:var(--muted)}
/* Native modal supplies focus trapping and Escape. Detailed forms stay in cards. */
.analysis-drawer,#detailDialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(600px,100%);max-width:600px;height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--line);border-radius:0;padding:0;background:var(--card);color:var(--text);overflow:auto;box-shadow:-20px 0 70px #0005}.analysis-drawer::backdrop,#detailDialog::backdrop{background:#070c16aa;backdrop-filter:blur(2px)}.analysis-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:sticky;top:0;padding:22px;background:var(--card);border-bottom:1px solid var(--line);z-index:1}.analysis-drawer-header h2{font-size:20px;font-weight:600;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.analysis-drawer-header .eyebrow{font-size:9px}.analysis-drawer-header button{border:1px solid var(--line);color:var(--muted);background:var(--card2);border-radius:5px;width:36px;min-width:36px;min-height:36px;font-size:25px;line-height:1}.analysis-drawer-body{padding:20px 22px 40px;overflow-wrap:anywhere}.analysis-drawer-body p{font-size:12px;line-height:1.8;color:#c6d1df}.analysis-drawer-body h4{font-size:14px;margin:26px 0 10px;color:var(--text)}.analysis-drawer-body .drawer-market{font-weight:600;color:var(--blue);margin-top:0}.analysis-drawer-body .drawer-snapshot{font-size:10px;color:var(--muted);padding-bottom:14px;border-bottom:1px solid var(--line)}.analysis-drawer-body .distribution{width:100%;font-size:11px;table-layout:fixed}#detailDialog .dialog-card{border:0;border-radius:0;background:var(--card);min-height:100%;padding:24px}#detailDialog .close{right:20px;top:18px;min-height:36px}#detailDialog .detail-title{font-size:20px;line-height:1.5}
@media(max-width:700px){.myday-panel{padding:15px;margin-bottom:18px}.myday-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.myday-metric:nth-child(2){border:0}.myday-metric strong{font-size:23px}.myday-header h2{font-size:18px}.myday-next{gap:5px 12px}.myday-next>span:first-child{flex-basis:100%}.match-scoreboard{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);padding-top:12px;gap:8px}.scoreboard-centre strong{font-size:25px}.analysis-drawer-header{padding:18px}.analysis-drawer-body{padding:18px}.analysis-drawer-header h2{font-size:18px}.signal-top .match-scoreboard{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:5px}.signal-top .match-scoreboard .team-label{font-size:12px}.signal-top .match-scoreboard .scoreboard-centre strong{font-size:23px}.signal-top{grid-template-columns:minmax(0,1fr)}.signal-top>.decision{justify-self:end;grid-row:1}.signal-top>div:first-child{grid-row:2}}
/* The central scoreboard carries the score visually; retain the old text for assistive technology. */
.asian-card .match-score,.signal-top .live-score{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#personalBetsTitle,#accountTitle{scroll-margin-top:76px}
/* Installed iOS PWA: keep controls below the status bar and away from cutouts. */
:root{--gs-safe-top:env(safe-area-inset-top,0px);--gs-safe-right:env(safe-area-inset-right,0px);--gs-safe-bottom:env(safe-area-inset-bottom,0px);--gs-safe-left:env(safe-area-inset-left,0px)}
.topbar{height:auto;min-height:calc(68px + var(--gs-safe-top));padding-top:calc(10px + var(--gs-safe-top));padding-left:max(24px,calc((100vw - 1280px)/2),var(--gs-safe-left));padding-right:max(24px,calc((100vw - 1280px)/2),var(--gs-safe-right))}.topbar .brand-mark{flex-shrink:0}.topbar .brand>span:last-child{min-width:0}.topbar .header-actions{min-width:0}.navigation-shell{top:var(--gs-safe-top)}
.analysis-drawer-header{padding-top:calc(22px + var(--gs-safe-top));padding-left:max(22px,var(--gs-safe-left));padding-right:max(22px,var(--gs-safe-right))}.analysis-drawer-body{padding-bottom:calc(40px + var(--gs-safe-bottom))}#detailDialog .dialog-card{padding-top:calc(24px + var(--gs-safe-top));padding-bottom:calc(24px + var(--gs-safe-bottom))}#detailDialog .close{top:calc(18px + var(--gs-safe-top))}#personalBetsTitle,#accountTitle{scroll-margin-top:calc(76px + var(--gs-safe-top))}
@media(max-width:700px){.topbar{padding-top:calc(12px + var(--gs-safe-top));padding-left:max(16px,var(--gs-safe-left));padding-right:max(16px,var(--gs-safe-right));min-height:calc(60px + var(--gs-safe-top))}.workspace-nav{padding-left:max(16px,var(--gs-safe-left));padding-right:max(16px,var(--gs-safe-right))}main{padding-left:max(16px,var(--gs-safe-left));padding-right:max(16px,var(--gs-safe-right))}.analysis-drawer-header{padding-top:calc(18px + var(--gs-safe-top))}}
@media(max-width:520px){.topbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-height:0;padding-bottom:12px}.topbar .brand{max-width:100%;width:fit-content;gap:10px}.topbar .brand h1{font-size:20px;line-height:1.3;white-space:nowrap}.topbar .header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.topbar .header-actions .health-badge{display:none}.topbar .header-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;font-size:12px;line-height:1.4;padding:8px 10px;white-space:normal;overflow-wrap:anywhere}}
.navigation-shell::before{content:'';position:fixed;top:0;left:0;right:0;height:var(--gs-safe-top);background:#1d2939;pointer-events:none;z-index:1}
/* Composited swipe motion; cleared after completion and cancelled navigation. */
body.swipe-transitioning{overflow-x:clip}
#mainContent.swipe-moving{will-change:transform,opacity}
/* Personal settlement badges are independent of the original AI forecast. */
.asian-badge{gap:8px;flex-wrap:wrap}
.asian-badge .outcome{flex-shrink:0;letter-spacing:0;max-width:100%;text-align:center}
.asian-badge .outcome.HALF_WIN{background:#264637;color:var(--green)}
.asian-badge .outcome.HALF_LOSS{background:#4b3039;color:var(--red)}
.asian-badge .outcome.CASH_OUT{background:#243b53;color:var(--blue)}
.forecast-outcome-note{margin:0 0 10px}
.personal-market-summary{padding:18px;margin:18px 0 22px}
.personal-market-summary h3,.ai-statistics-title{font-size:16px;margin:0 0 8px}
.personal-market-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.personal-market-metrics>div{padding:12px;background:var(--card2);border-radius:5px;min-width:0}
.personal-market-metrics span{display:block;color:var(--muted);font-size:10px}
.personal-market-metrics strong{font-size:21px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.personal-market-outcomes{display:flex;flex-wrap:wrap;gap:8px}
.personal-market-outcome{padding:5px 8px;border:1px solid var(--line);border-radius:4px;font-size:11px}
.personal-market-outcome.WIN,.personal-market-outcome.HALF_WIN{color:var(--green)}
.personal-market-outcome.LOSS,.personal-market-outcome.HALF_LOSS{color:var(--red)}
.personal-market-outcome.PUSH{color:var(--amber)}
.personal-market-summary>a{font-size:12px}
@media(max-width:700px){.personal-market-summary{padding:14px}.personal-market-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Automatic AI usage accounting, separate from the manually entered monthly bill. */
#aiSpending{margin-bottom:24px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card)}#aiSpending h2{margin:6px 0 18px}.ai-spending-grid .metric{min-width:0}.ai-spending-grid .metric strong{font-size:clamp(1.35rem,3vw,1.85rem)}.ai-spending-grid small{display:block;margin-top:8px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}#aiSpending .expense-caption{color:var(--muted);font-size:12px;line-height:1.6;margin:12px 0 0}@media(max-width:520px){#aiSpending{padding:16px}.ai-spending-grid{grid-template-columns:minmax(0,1fr)}}

.personal-bet-pair{min-width:0}.personal-bet-pair>button{max-width:100%;white-space:normal;margin-top:12px}.personal-second-bet:not(:empty){border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.personal-second-bet h4{margin:0 0 8px;font-size:13px}.personal-second-bet>.personal-bet-fields{margin-top:8px}.personal-second-bet>button{margin-top:10px;max-width:100%;white-space:normal}.personal-pair-result{color:var(--text);overflow-wrap:anywhere}.personal-line-breakdown{margin-top:12px}.personal-line-breakdown p{font-size:12px;overflow-wrap:anywhere}.asian-badge .outcome.PAIR{background:#243b53;color:var(--blue)}

.personal-stake-placement{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-size:12px;flex-wrap:wrap;cursor:pointer}.personal-stake-placement input{width:18px;height:18px;flex:none;accent-color:var(--blue)}.personal-placement-error{width:100%;color:var(--red);overflow-wrap:anywhere}.personal-stake-placement[hidden]{display:none}
.personal-count-audit{margin:14px 0;overflow-wrap:anywhere}
.personal-count-entry{padding:10px 0;border-top:1px solid var(--line)}
.personal-count-entry p{margin:0 0 6px;font-size:12px}
.personal-count-entry button{max-width:100%;white-space:normal}

.manual-half-export progress{display:block;width:100%;height:12px;margin:10px 0;accent-color:#3b9dff}.manual-export-readiness{font-weight:700;color:#a8c9ed}.manual-export-readiness[data-state=READY]{color:#55d99b}.manual-export-readiness[data-state=PARTIAL_LIMIT],.manual-export-readiness[data-state=RETRYING],.manual-export-readiness[data-state=PARTIAL_CALENDAR],.manual-export-readiness[data-state=PARTIAL_ERRORS]{color:#ffc568}
.gpt-import-panel{padding:16px;margin-bottom:16px}.gpt-import-panel textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0;background:#152232;color:#e5eef8;border:1px solid #44566c;border-radius:5px;padding:10px}.gpt-import-panel>input[type=file]{max-width:100%;margin-bottom:12px}.gpt-import-panel label{display:block;margin:8px 0}.gpt-import-panel button{margin:8px 10px 8px 0}.gpt-import-rows{max-height:420px;overflow:auto}.gpt-import-row{padding:10px;border-bottom:1px solid #3a4a5e;overflow-wrap:anywhere}.gpt-import-row select{max-width:100%;width:100%}.gpt-import-row[data-import-status=SELECTED]{border-left:3px solid #4fdb99}.gpt-import-row[data-import-status=EXCLUDED]{opacity:.7}.gpt-import-message{overflow-wrap:anywhere}

/* iOS zooms focused text controls below 16px and can retain that zoom after blur.
   Cover touch tablets in landscape as well as narrow phones; keep pinch zoom enabled. */
@media (max-width:700px), (hover:none) and (pointer:coarse){
 input,textarea,select,[contenteditable="true"]{font-size:16px!important}
}

.push-target-highlight{outline:2px solid var(--blue);outline-offset:4px}
/* Upcoming fixtures, collected by country and competition. */
.upcoming-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.upcoming-group{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--card);overflow:hidden}
.upcoming-group-heading{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#ffffff03;border-bottom:1px solid var(--line)}
.upcoming-group-heading>div{min-width:0;flex:1}.upcoming-group-heading h3{margin:3px 0 0;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.upcoming-group-country{display:block;font-size:10px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;overflow-wrap:anywhere}
.upcoming-group-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #3d5773;border-radius:8px;color:var(--blue);background:#1677c910;flex-shrink:0}.upcoming-group-icon svg{width:21px;height:21px}
.upcoming-group-count{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);background:var(--card2);padding:3px 8px;border-radius:5px;flex-shrink:0}
.upcoming-group .upcoming-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;border:0;border-radius:0;margin:0;padding:13px 16px;background:transparent}
.upcoming-group .upcoming-item+.upcoming-item{border-top:1px solid var(--line)}
.upcoming-kickoff{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.upcoming-teams{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.upcoming-teams>span{color:var(--muted)}.upcoming-group .starts{font-size:11px;font-weight:500;text-align:right}
@media(max-width:900px){.upcoming-list{grid-template-columns:1fr}}
@media(max-width:520px){.upcoming-group-heading{padding:12px}.upcoming-group .upcoming-item{grid-template-columns:40px minmax(0,1fr);gap:2px 10px;padding:12px}.upcoming-group .starts{grid-column:2;text-align:left;color:var(--muted);font-size:10px}.upcoming-kickoff{align-self:start;padding-top:2px}.upcoming-teams{font-size:13px}}
.competition-emblem{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #ffffff15;border-radius:8px;background:#ffffff08;color:var(--muted);overflow:hidden}
.competition-emblem>svg{width:22px;height:22px}.competition-emblem>img{position:absolute;inset:4px;width:28px;height:28px;object-fit:contain;opacity:0}.competition-emblem.emblem-loaded>img{opacity:1}.competition-emblem.emblem-loaded>svg{visibility:hidden}
.upcoming-group .upcoming-teams{display:flex;flex-direction:column;gap:6px;min-width:0}.upcoming-group .team-with-badge{display:flex;gap:8px}.upcoming-group .team-emblem{width:24px;height:24px;flex-basis:24px;border-color:transparent;background:#ffffff05;border-radius:5px}.upcoming-group .team-emblem img{inset:2px;width:18px;height:18px}.upcoming-group .team-label{font-weight:500;color:var(--text)}.upcoming-group .upcoming-item{padding-top:12px;padding-bottom:12px}.upcoming-group .upcoming-kickoff{align-self:start;padding-top:4px}
.ai-history-caption{margin:8px 0;color:#8fd8bd;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.ai-history-caption.caution{color:#f0c475;border-left:2px solid #c99643;padding-left:9px}.ai-history-caption.limited{color:var(--muted)}
.history-override-stats{margin:20px 0;padding:16px;border:1px solid #705d3a;border-radius:7px;background:#c9964306}.history-override-stats h3{margin:0 0 6px;font-size:15px;color:#f0c475}.history-override-stats .results-grid{margin:12px 0}.history-override-stats .meta{font-size:11px;line-height:1.7}
.forecast-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1100px){.forecast-summary{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:700px){.forecast-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.recent-live-signals{margin-top:20px;padding-top:18px;border-top:1px solid var(--border,#34465b)}.recent-live-signals h3{font-size:15px;color:#e0c78c;margin:0 0 10px}.recent-live-list{display:grid;gap:12px}.recent-live-list .result-row{border:1px solid #74613b;border-radius:10px;padding:16px;background:#202b39}.recent-live-list .personal-result-bet{grid-column:1/-1;min-width:0}
/* Live preparation: a lightweight CSS scanner, isolated from page transitions. */
.live-preparation{position:relative;isolation:isolate;overflow:hidden;margin:4px 0 28px;padding:26px 28px 18px;border:1px solid #b8a36b88;border-radius:18px;background:radial-gradient(ellipse at 50% 58%,#123f604d,transparent 62%),linear-gradient(155deg,#101d2b,#080f1a 70%);box-shadow:inset 0 1px 0 #ffeab22b,0 12px 35px #0003;contain:paint}
.live-preparation::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 49.8%,#6ccfff08 50%,transparent 50.2%);background-size:28px 28px;mask-image:linear-gradient(transparent,#000)}
.prep-top{text-align:center;position:relative;z-index:2}.prep-top h2{font-size:clamp(22px,3vw,32px);font-weight:750;letter-spacing:-.7px;margin:15px 0 8px;color:#f3e7bd}.prep-top p{font-size:13px;color:#a7bed2;margin:0 auto;max-width:650px;line-height:1.6}.prep-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #43bfe343;border-radius:30px;padding:6px 12px;font-size:10px;color:#a1d9eb;background:#0b2234}.prep-badge i{width:7px;height:7px;border-radius:50%;background:#76e2ff;box-shadow:0 0 12px #49cfff}
.prep-scene{height:285px;position:relative;max-width:900px;margin:0 auto;perspective:700px}.prep-pitch{position:absolute;left:24%;right:24%;top:44px;height:200px;border:1px solid #8edbffb0;transform:rotateX(48deg);background:repeating-linear-gradient(90deg,transparent 0 25px,#71cbff0a 26px),repeating-linear-gradient(0deg,#09223460 0 25px,#71cbff0e 26px);box-shadow:0 0 30px #43bcff28,inset 0 0 36px #3bcaff18}
.prep-half{position:absolute;left:50%;height:100%;border-left:1px solid #89dbff88}.prep-center{position:absolute;left:50%;top:50%;width:72px;height:72px;border:1px solid #89dbff99;border-radius:50%;transform:translate(-50%,-50%)}.prep-box{position:absolute;top:25%;width:15%;height:50%;border:1px solid #89dbff88}.prep-box-left{left:-1px}.prep-box-right{right:-1px}
.prep-scan{position:absolute;left:-4%;right:-4%;height:2px;top:10%;background:linear-gradient(90deg,transparent,#c5f4ff 25%,#fff 50%,#c5f4ff 75%,transparent);box-shadow:0 0 12px 3px #24c4ff88;animation:prep-scan 5s ease-in-out infinite}
.prep-orbit{position:absolute;width:65%;height:240px;left:17.5%;top:35px;border:1px solid #49bbf51c;border-radius:50%;transform:rotateX(50deg);box-shadow:0 0 0 22px #3aa9e008,0 0 0 45px #3aa9e006}
.prep-ghost{position:absolute;width:145px;height:74px;padding:12px;border:1px solid #498cb05e;clip-path:polygon(10px 0,94% 0,100% 10px,100% 90%,94% 100%,0 100%,0 10px);background:linear-gradient(120deg,#16354caa,#0a1724dd);box-shadow:inset 0 1px 0 #8edfff22}.prep-ghost>div{display:flex;align-items:center;justify-content:space-between}.prep-ghost svg{width:24px;height:28px;color:#7894a47a}.prep-ghost small{font-size:8px;color:#718b9d}.prep-ghost>span{display:inline-block;width:40%;height:4px;border-radius:4px;margin:9px 5% 0;background:#7995a333}.prep-ghost-0,.prep-ghost-2,.prep-ghost-4{left:2%}.prep-ghost-1,.prep-ghost-3,.prep-ghost-5{right:2%}.prep-ghost-0,.prep-ghost-1{top:15px}.prep-ghost-2,.prep-ghost-3{top:107px}.prep-ghost-4,.prep-ghost-5{top:199px}
.prep-stages{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px auto 0;padding:0;max-width:920px}.prep-stages li{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #6c84952b}.prep-stages i{font-style:normal;font-size:12px;display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #64778d;border-radius:50%;color:#758aa3}.prep-stages strong{display:block;color:#b9cbdf;font-size:12px}.prep-stages small{display:block;margin-top:4px;color:#7c92a9;font-size:10px}.prep-stages [data-ready=true] i{border-color:#e5ca79;color:#ffe9a2;box-shadow:0 0 12px #f7ce5c1a}.prep-stages [data-ready=true] small{color:#b6a878}.prep-foot{text-align:center;padding:11px;border:1px solid #3981a232;border-radius:9px;color:#87a9c0;font-size:11px;margin:12px 0 0;line-height:1.5}
.live-preparation[data-state=paused] .prep-scan,.live-preparation[data-state=offline] .prep-scan{animation:none;opacity:.2}.live-preparation[data-state=paused] .prep-badge i,.live-preparation[data-state=offline] .prep-badge i{background:#e4bf78;box-shadow:0 0 8px #e4bf7844}
@keyframes prep-scan{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(160px);opacity:1}}
@media(max-width:700px){.live-preparation{padding:20px 14px 14px;border-radius:13px}.prep-top h2{font-size:22px}.prep-top p{font-size:11px}.prep-scene{height:232px}.prep-pitch{left:18%;right:18%;top:35px;height:155px}.prep-orbit{height:160px;top:40px}.prep-ghost{width:78px;height:49px;padding:7px}.prep-ghost svg{width:16px;height:19px}.prep-ghost>span{margin-top:5px;height:3px}.prep-ghost-0,.prep-ghost-2,.prep-ghost-4{left:0}.prep-ghost-1,.prep-ghost-3,.prep-ghost-5{right:0}.prep-ghost-0,.prep-ghost-1{top:18px}.prep-ghost-2,.prep-ghost-3{top:94px}.prep-ghost-4,.prep-ghost-5{top:170px}.prep-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.prep-stages strong{font-size:11px}.prep-stages i{width:28px;height:28px}.prep-foot{font-size:10px}@keyframes prep-scan{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(120px);opacity:1}}}
@media(prefers-reduced-motion:reduce){.prep-scan{animation:none;top:50%}}

.prep-fixtures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px auto 20px;max-width:1000px}.prep-fixture{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;border:1px solid #4d91b14d;border-radius:11px;background:linear-gradient(120deg,#152b3dbb,#0d1927dd);box-shadow:inset 0 1px 0 #b0e5ff0a}.prep-fixture-teams{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#dae8f4;font-size:13px}.prep-fixture-teams .team-with-badge{min-width:0;max-width:100%}.prep-fixture-teams .team-label{overflow-wrap:anywhere}.prep-fixture-meta{color:#8ea8c0;font-size:11px;line-height:1.5}.prep-fixture-stage{align-self:flex-start;padding:3px 8px;border:1px solid #4c9fc555;border-radius:5px;font-size:10px;color:#8ddaff;background:#11334855}.prep-fixture p{margin:0;color:#a8bed0;font-size:11px;line-height:1.5}.prep-fixture[data-stage=GOAL],.prep-fixture[data-stage=CLOSED],.prep-fixture[data-stage=UNSUPPORTED]{border-color:#8e785a40}.prep-fixture[data-stage=GOAL] .prep-fixture-stage,.prep-fixture[data-stage=CLOSED] .prep-fixture-stage,.prep-fixture[data-stage=UNSUPPORTED] .prep-fixture-stage{color:#c5ae85;border-color:#8e785a55;background:#8e785a11}.prep-has-fixtures .prep-scene{height:150px;max-width:600px}.prep-has-fixtures .prep-pitch{top:0;height:125px}.prep-has-fixtures .prep-orbit{top:5px;height:135px}.prep-has-fixtures .prep-scan{animation-name:prep-candidate-scan}@keyframes prep-candidate-scan{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(95px);opacity:.9}}
@media(max-width:700px){.prep-fixtures{grid-template-columns:minmax(0,1fr);gap:9px}.prep-fixture{padding:12px}.prep-has-fixtures .prep-scene{height:125px}.prep-has-fixtures .prep-pitch{height:100px}.prep-has-fixtures .prep-orbit{height:100px}}
@media(prefers-reduced-motion:reduce){.prep-has-fixtures .prep-scan{animation:none}}
/* Compact preparation panel: short header, dense rows, bounded scrolling. */
.live-preparation{padding:16px 18px 12px;margin-bottom:20px;border-radius:12px}
.live-preparation .prep-top{text-align:left;min-height:74px;padding-right:175px}.live-preparation .prep-top h2{font-size:21px;margin:9px 0 5px;letter-spacing:-.4px}.live-preparation .prep-top p{max-width:none;font-size:11px;margin:0}.live-preparation .prep-badge{padding:4px 9px;font-size:9px}
.live-preparation .prep-scene{position:absolute;top:18px;right:18px;width:155px;height:80px;margin:0;pointer-events:none;opacity:.8}.live-preparation .prep-pitch{left:7%;right:7%;top:0;height:67px}.live-preparation .prep-center{width:28px;height:28px}.live-preparation .prep-orbit{left:0;top:2px;width:100%;height:70px;box-shadow:none}.live-preparation .prep-scan{animation-name:prep-compact-scan}
.live-preparation .prep-fixtures{display:flex;flex-direction:column;gap:0;margin:14px 0 8px;max-width:none;max-height:310px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#365268 transparent;border:1px solid #4d91b13b;border-radius:8px}
.live-preparation .prep-fixtures:empty{display:none}.live-preparation .prep-fixture{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.65fr) auto;grid-template-areas:"teams meta stage" "reason reason reason";align-items:center;gap:4px 12px;padding:10px 12px;border:0;border-bottom:1px solid #4d91b124;border-radius:0;box-shadow:none;background:#101f2d66}.live-preparation .prep-fixture:last-child{border-bottom:0}.live-preparation .prep-fixture-teams{grid-area:teams;font-size:12px;gap:5px}.live-preparation .prep-fixture-meta{grid-area:meta;font-size:10px}.live-preparation .prep-fixture-stage{grid-area:stage;justify-self:end;font-size:9px;padding:3px 6px}.live-preparation .prep-fixture p{grid-area:reason;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-preparation .prep-fixture .team-emblem{width:20px;height:20px;flex-basis:20px}.live-preparation .prep-fixture .team-emblem img{width:20px;height:20px}
.live-preparation .prep-stages{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 0;max-width:none}.live-preparation .prep-stages li{gap:6px;padding:8px 0}.live-preparation .prep-stages i{width:21px;height:21px;font-size:9px}.live-preparation .prep-stages strong{font-size:10px}.live-preparation .prep-stages small{font-size:9px;margin-top:2px}.live-preparation .prep-foot{padding:0;border:0;border-radius:0;text-align:left;font-size:10px;margin:6px 0 0}
@keyframes prep-compact-scan{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(46px);opacity:.9}}
@media(max-width:700px){.live-preparation{padding:12px 10px 10px}.live-preparation .prep-top{padding-right:0;min-height:0}.live-preparation .prep-top h2{font-size:18px;margin:8px 0 5px}.live-preparation .prep-top p{font-size:10px}.live-preparation .prep-scene{position:relative;top:auto;right:auto;width:115px;height:38px;margin:3px auto -2px;opacity:.65}.live-preparation .prep-pitch{height:34px}.live-preparation .prep-orbit{height:32px}.live-preparation .prep-center{width:18px;height:18px}.live-preparation .prep-fixtures{max-height:280px;margin-top:8px}.live-preparation .prep-fixture{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"teams stage" "meta meta" "reason reason";gap:3px 6px;padding:8px}.live-preparation .prep-fixture-teams{font-size:11px}.live-preparation .prep-fixture-stage{max-width:105px;white-space:normal}.live-preparation .prep-stages{gap:4px}.live-preparation .prep-stages li{gap:4px;align-items:flex-start}.live-preparation .prep-stages i{width:17px;height:17px;font-size:8px}.live-preparation .prep-stages strong{font-size:9px;overflow-wrap:anywhere}.live-preparation .prep-stages small{font-size:8px}.live-preparation .prep-foot{font-size:9px}.live-preparation .prep-scan{animation-name:prep-mobile-compact-scan}@keyframes prep-mobile-compact-scan{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(22px);opacity:.8}}}
@media(prefers-reduced-motion:reduce){.live-preparation .prep-scan{animation:none}}

.live-data-caption{margin:8px 0;padding:6px 9px;border-left:2px solid #d8b967;background:#d8b9670b;color:#d4c399;font-size:11px;line-height:1.5}
/* Three stable actions fit one mobile row; status remains in the dashboard. */
@media(max-width:520px){.topbar .header-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:8px}.topbar .header-actions>a[href="#results"],.topbar .header-actions #pushBtn{width:100%;height:44px;min-height:44px;padding:4px 6px;font-size:11px;line-height:1.25;white-space:normal}}
/* Dedicated selection monitor: full existing list, independent browser-tab route. */
.selection-live-link{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;margin:0 0 16px;border:1px solid #30485e;border-radius:8px;color:#a8d9f0;background:#142434;font-size:12px;text-decoration:none}.selection-live-link:hover{border-color:#5b96b3}.selection-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}.selection-toolbar p,.selection-note{font-size:12px;line-height:1.6;color:#9bb0c7;margin:0}.selection-popout{flex-shrink:0;border:1px solid #43748d;background:#193246;padding:10px 14px;border-radius:7px;color:#bceaff;font-size:12px;text-decoration:none}.selection-popout:hover{background:#23485e}.selection-monitor .live-preparation{border:1px solid #35546b;background:linear-gradient(135deg,#142939,#101b2a 70%);box-shadow:0 12px 35px #0002;padding:24px;border-radius:12px}.selection-monitor .live-preparation::before{display:none}.selection-monitor .prep-top h2{color:#dfedf7}.selection-monitor .prep-fixtures{max-height:calc(100vh - 430px);min-height:180px;border-color:#30485d;background:#0d1a26}.selection-monitor .prep-fixture{padding:13px 15px;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr) auto;gap:7px 16px}.selection-monitor .prep-fixture p{white-space:normal;line-height:1.5;color:#a6bbcd}.selection-monitor .prep-fixture-stage{border-color:#3b5669;background:#1b3042;color:#9fcde6}.selection-monitor .prep-fixture[data-stage=GOAL] .prep-fixture-stage,.selection-monitor .prep-fixture[data-stage=CLOSED] .prep-fixture-stage{color:#d1af86;background:#312c25;border-color:#60503b}.selection-monitor .prep-stages{border-top:1px solid #355066}.selection-monitor .prep-stages strong{color:#bbd8eb}.selection-monitor .prep-scene{opacity:.65}.selection-note{margin:14px 2px 0;font-size:11px}.selection-popout:focus-visible,.selection-live-link:focus-visible{outline:2px solid #7bd8ff;outline-offset:3px}@media(min-width:1500px){.selection-monitor .prep-fixtures{max-height:calc(100vh - 450px)}.selection-monitor .prep-fixture{padding:16px 18px}.selection-monitor .prep-fixture-teams{font-size:14px}}@media(max-width:700px){.selection-toolbar{align-items:stretch;flex-direction:column;gap:10px}.selection-popout{text-align:center}.selection-monitor .live-preparation{padding:13px}.selection-monitor .prep-fixtures{max-height:60vh}.selection-monitor .prep-fixture{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:5px 8px}.selection-monitor .prep-top h2{font-size:20px}.selection-monitor .prep-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.selection-monitor .prep-fixture-meta{overflow-wrap:anywhere}}
/* Immersive second-screen view, separate from the normal workspace. */
.monitor-header,.monitor-overview{display:none}body.selection-screen{background:#07111e;background-image:radial-gradient(ellipse at 10% 0,#12485b55,transparent 45%),radial-gradient(ellipse at 90% 70%,#23335944,transparent 50%);min-height:100vh}body.selection-screen>.topbar,body.selection-screen>.navigation-shell,body.selection-screen .workspace-head,body.selection-screen #connectionState,body.selection-screen .selection-toolbar,body.selection-screen .selection-note{display:none!important}body.selection-screen main{max-width:none;width:100%;margin:0;padding:30px 36px;box-sizing:border-box}body.selection-screen .monitor-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.monitor-eyebrow{font-size:10px;color:#6fd8ee;letter-spacing:.22em}.monitor-header h1{font-size:clamp(25px,2.5vw,44px);font-weight:750;letter-spacing:-1px;color:#edf8ff;margin:8px 0}.monitor-header p{color:#8ca7bc;font-size:13px;margin:0}.monitor-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#91b6cb}.monitor-actions a,.monitor-actions button{color:#b7d9ec;background:#132b3d;border:1px solid #35556b;border-radius:7px;padding:9px 12px;font:inherit;text-decoration:none;cursor:pointer}.monitor-pulse{width:7px;height:7px;border-radius:50%;background:#73dfc4;box-shadow:0 0 16px #73dfc4aa}body[data-monitor-state=offline] .monitor-pulse{background:#f1aa74;box-shadow:none}body.selection-screen .monitor-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px}.monitor-metric{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:22px;border:1px solid #2b455c;border-radius:12px;background:linear-gradient(135deg,#172c3cdd,#0e1c2ddd)}.monitor-metric::after{content:'';position:absolute;width:110px;height:110px;border:1px solid #72cfe91a;border-radius:50%;right:-30px;top:-30px;box-shadow:0 0 0 15px #72cfe906,0 0 0 30px #72cfe904}.monitor-metric strong{font-size:clamp(30px,3vw,52px);font-variant-numeric:tabular-nums;line-height:1.1;color:#c8eaff}.monitor-metric span{font-size:12px;margin-top:9px;color:#8eacc1}.monitor-metric.ready{border-color:#38645e;background:linear-gradient(135deg,#183831,#10242d)}.monitor-metric.ready strong{color:#8befce}.monitor-metric.closed strong{color:#d9b98e}body.selection-screen .live-preparation{padding:26px;background:linear-gradient(120deg,#122737bb,#101d2dcc);border-color:#2a485d;box-shadow:0 20px 80px #0003}body.selection-screen .prep-top{padding-right:180px}body.selection-screen .prep-top h2{font-size:24px}body.selection-screen .prep-scene{width:155px;opacity:.8}body.selection-screen .prep-fixtures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;background:none;max-height:none;min-height:0;overflow:visible;margin-top:24px}body.selection-screen .prep-fixture{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'teams stage' 'meta meta' 'reason reason';gap:10px;padding:18px;border:1px solid #2c475c;border-left:3px solid #42768d;border-radius:9px;background:linear-gradient(130deg,#19324488,#102033aa);align-content:start}body.selection-screen .prep-fixture[data-stage=WINDOW]{border-left-color:#68c9eb}body.selection-screen .prep-fixture[data-stage=GOAL],body.selection-screen .prep-fixture[data-stage=CLOSED]{border-left-color:#aa8758}body.selection-screen .prep-fixture-teams{font-size:15px;line-height:1.4}body.selection-screen .prep-fixture-meta{font-size:12px;color:#86aec8}body.selection-screen .prep-fixture p{font-size:12px;margin:0;color:#acc4d7}body.selection-screen .prep-fixture-stage{max-width:150px}body.selection-screen .prep-stages{display:none}body.selection-screen .prep-foot{margin-top:20px;color:#7b9db4}@media(min-width:1900px){body.selection-screen .prep-fixtures{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){body.selection-screen main{padding:20px}body.selection-screen .monitor-header{align-items:flex-start;flex-direction:column}body.selection-screen .monitor-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.monitor-metric{padding:15px}body.selection-screen .prep-fixtures{grid-template-columns:1fr}}@media(max-width:520px){body.selection-screen main{padding:14px}body.selection-screen .monitor-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.selection-screen .live-preparation{padding:13px}body.selection-screen .prep-top{padding-right:0}body.selection-screen .prep-fixture{padding:12px}body.selection-screen .prep-fixture-teams{font-size:12px}.monitor-actions{gap:8px}.monitor-actions a,.monitor-actions button{padding:8px}.monitor-header h1{letter-spacing:-.5px}}
body.selection-screen .dashboard-overview{display:none}body.selection-screen>footer{padding:12px 36px;color:#68849c;font-size:10px}

.ai-error-context{margin:7px 0 0;font-size:10px;line-height:1.6;color:#b9a88d;overflow-wrap:anywhere}


.result-versions{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0;max-width:100%}.result-version{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px;padding:3px 6px;border:1px solid #364b61;border-radius:4px;background:#11223366;color:#a6b9ce;font-size:10px;max-width:100%;box-sizing:border-box}.result-version code{font-size:10px;color:#b7dbee;overflow-wrap:anywhere;white-space:normal;min-width:0}.result-version-unknown{font-size:10px;color:#8999ad}.result-row>div:first-child{min-width:0}
@media(max-width:620px){#page-live-results .section-heading{flex-wrap:wrap}#page-live-results .results-period{max-width:100%}#page-live-results .results-period select{min-width:0;max-width:100%}}
#page-live-results .result-row{flex-wrap:wrap}#page-live-results .result-row>div:first-child{flex:1 1 180px;min-width:0}#page-live-results .result-row>.personal-result-bet{flex:0 0 100%;width:100%}

/* Upcoming calendar is a dedicated workspace panel. */
#page-upcoming .upcoming-wrap{padding-top:0;border-top:0}

[data-master-only][hidden]{display:none!important}
.master-account-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 16px}
.master-account-badge{border:1px solid #84703e;background:#382f1d;color:#ead49b;border-radius:5px;padding:5px 9px;font-size:11px}
body[data-master="false"] #page-system{display:none!important}

#page-system .dashboard-overview{display:grid}#page-system .funnel-grid{display:grid}
@media(max-width:900px){#page-system .dashboard-overview{grid-template-columns:1fr}}
/* Compact instrument navigation; scrolling remains native on small screens. */
.navigation-shell{background:#111d2c;border-color:#27394d}.workspace-nav{gap:5px;padding-top:7px;padding-bottom:7px;scroll-padding:16px}
.workspace-nav .nav-item{--nav-tone:#75baff;min-height:46px;padding:11px 14px;gap:10px;border:1px solid transparent;border-radius:9px;transition:background .15s,border-color .15s;color:#bdccdd;font-size:12px;font-weight:600}
.workspace-nav .nav-item:hover{background:#1d3045;color:#e3edfa}.workspace-nav .nav-item[aria-current=true]{background:linear-gradient(135deg,#203c56,#192c40);border-color:#5683a7;color:#f4f9ff;box-shadow:inset 0 1px #ffffff08}
.workspace-nav .nav-item[aria-current=true] .nav-icon{color:var(--nav-tone)}.workspace-nav .nav-icon{width:25px;height:25px;flex-basis:25px;display:grid;place-items:center;color:#8ba4bc}.workspace-nav .nav-icon svg{width:22px;height:22px;stroke-width:1.8}
.workspace-nav [data-page=ai-first]{--nav-tone:#c3a4ff}.workspace-nav [data-page=ai-second]{--nav-tone:#6be2bf}.workspace-nav [data-page=selection]{--nav-tone:#78ddd9}.workspace-nav [data-page=upcoming]{--nav-tone:#f2ca7d}.workspace-nav .nav-count{border-radius:5px;background:#35516c;color:#edf5ff;font-size:11px;font-weight:650}.workspace-nav .nav-item:focus-visible{outline:2px solid #7dc5ff;outline-offset:-2px}
/* Live Flow: local controls, without route changes or fake goal probabilities. */
.live-command-deck{margin:0 0 26px;border:1px solid #30435b;border-radius:14px;background:radial-gradient(ellipse at 0 0,#183b5140,transparent 65%),#101d2c;padding:17px;box-shadow:0 12px 30px #00000012}
.live-deck-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.live-deck-heading>span{font-size:10px;letter-spacing:.15em;color:#b2d9ee;font-weight:700;display:flex;align-items:center;gap:8px}.live-deck-heading i{width:6px;height:6px;border-radius:50%;background:#69d6c8;box-shadow:0 0 9px #69d6c84a}.live-deck-heading>small{font-size:10px;color:#8c9fb6}
.live-command-deck .funnel-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.live-command-deck .live-overview-action{--step-tone:#76bdff;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:15px 16px 17px;text-align:left;font:inherit;text-decoration:none;color:#dce9f8;cursor:pointer;border:1px solid #2b4056;border-radius:9px;background:#172639;box-shadow:none;overflow:hidden;transition:border-color .18s,background .18s,transform .18s}
.live-command-deck [data-live-focus=filtered]{--step-tone:#baa3ff}.live-command-deck [data-live-focus=window]{--step-tone:#f1c67a}.live-command-deck [data-live-focus=bet]{--step-tone:#62d5a5;border-top:1px solid #2b4056}
.live-command-deck .live-overview-action:hover{background:#20354b;transform:translateY(-2px);border-color:#627b99}.live-command-deck .live-overview-action:focus-visible{outline:2px solid var(--step-tone);outline-offset:3px}.live-command-deck .live-overview-action[aria-pressed=true]{background:linear-gradient(145deg,#284562,#1a3046);border-color:var(--step-tone)}
.live-step-top,.live-step-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.live-command-deck .live-step-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#08182755;color:var(--step-tone)}.live-step-icon svg{width:20px;height:20px}.live-command-deck .live-step-index{font-size:11px;letter-spacing:.08em;color:#7290a9;font-variant-numeric:tabular-nums}.live-command-deck .live-step-label{color:#9cb4cb;font-size:9px;letter-spacing:.08em;font-weight:600}
.live-command-deck .live-step-bottom strong{font-size:36px;line-height:1;letter-spacing:-1px;margin:0;font-weight:650;font-variant-numeric:tabular-nums;color:#e5f2ff}.live-command-deck [data-live-focus=bet] strong{color:var(--step-tone)}.live-step-bottom small{font-size:10px;color:#a1b6cb;text-align:right;max-width:95px}.live-step-track{position:absolute;bottom:0;left:0;height:2px;width:0;background:var(--step-tone);transition:width .2s}.live-overview-action[aria-pressed=true] .live-step-track{width:100%}
.live-stage-panel{margin-top:14px;padding-top:12px;border-top:1px solid #293c50}.live-overview-hint{font-size:11px;color:#91a8bf;margin:0;line-height:1.6}.live-filtered-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 10px}.live-filtered-heading strong{font-size:12px}.live-filtered-heading button{background:#213b54;border:1px solid #3b5974;color:#bdd9ef;padding:6px 10px;border-radius:6px;font-size:10px}.live-filtered-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-filtered-match{padding:12px;border:1px solid #2d455d;border-radius:7px;background:#122334;min-width:0}.live-filtered-match strong{display:block;font-size:12px;overflow-wrap:anywhere}.live-filtered-match>.live-catalog-meta{display:block;margin-top:5px;font-size:10px;color:#90adc4}.live-filtered-match p{font-size:10px;line-height:1.5;color:#bdcee0;margin:7px 0 0}
@media(max-width:700px){.workspace-nav{padding-top:6px;padding-bottom:6px;gap:4px}.workspace-nav .nav-item{padding:10px 12px;min-height:44px;gap:8px;font-size:11px}.live-command-deck{padding:12px;border-radius:12px}.live-command-deck .funnel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-command-deck .live-overview-action{padding:12px;gap:11px}.live-command-deck .live-step-bottom strong{font-size:30px}.live-deck-heading{align-items:flex-start}.live-deck-heading>small{max-width:140px;text-align:right;font-size:9px}.live-filtered-matches{grid-template-columns:1fr}.live-step-bottom small{font-size:9px;max-width:75px}}
@media(prefers-reduced-motion:reduce){.live-command-deck .live-overview-action,.live-step-track,.workspace-nav .nav-item{transition:none}.live-command-deck .live-overview-action:hover{transform:none}}
.live-command-deck .live-step-top,.live-command-deck .live-step-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}
.workspace-nav [data-page=ai-first] .nav-icon,.workspace-nav [data-page=ai-second] .nav-icon,.workspace-nav [data-page=selection] .nav-icon,.workspace-nav [data-page=upcoming] .nav-icon{color:var(--nav-tone)}
/* Keep centered content fixed when a shorter section removes the vertical scrollbar. */
html{scrollbar-gutter:stable;overflow-x:clip}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
.workspace-head{min-width:0}.workspace-head>div{min-width:0}
.workspace-nav{max-width:1280px;overscroll-behavior-x:contain}

[data-auth-only][hidden]{display:none!important}

/* Compact club identity in the personal journal, consistent with match lists. */
.personal-bet-teams{display:block;line-height:1.8;overflow-wrap:anywhere}.personal-bet-teams .team-with-badge{gap:7px;vertical-align:middle}.personal-bet-teams .team-emblem{width:24px;height:24px;flex-basis:24px;border-radius:6px}.personal-bet-teams .team-emblem img{width:20px;height:20px}.personal-bet-teams .team-initials{font-size:9px}

body:not([data-master="true"]) #page-plan{display:none!important}

.live-filtered-teams{line-height:1.8}.live-filtered-teams .team-with-badge{gap:6px;vertical-align:middle}.live-filtered-teams .team-emblem{width:23px;height:23px;flex-basis:23px;border-radius:5px}.live-filtered-teams .team-emblem img{width:19px;height:19px}.live-filtered-teams .team-initials{font-size:9px}
/* Four custom instruments: pulse core, selection prism, time aperture, approval shield. */
.live-command-deck .live-step-icon{width:54px;height:58px;background:none;border-radius:0;position:relative;isolation:isolate;transition:transform .2s}
.live-command-deck .live-step-icon::before{content:'';position:absolute;inset:15% 8%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,var(--step-tone),transparent 70%);opacity:.14;transition:opacity .2s}
.live-command-deck .live-step-icon .live-icon-art{width:54px;height:58px;overflow:visible;filter:drop-shadow(0 5px 5px #0004)}
.live-overview-action:hover .live-step-icon,.live-overview-action:focus-visible .live-step-icon{transform:translateY(-2px)}.live-overview-action:hover .live-step-icon::before,.live-overview-action[aria-pressed=true] .live-step-icon::before{opacity:.25}
.live-icon-orbit{transform-origin:32px 32px}.live-overview-action:hover .live-icon-orbit,.live-overview-action:focus-visible .live-icon-orbit{animation:live-instrument-turn .8s ease-out 1}.live-overview-action:hover .live-icon-core{animation:live-instrument-light .65s ease-out 1}
@keyframes live-instrument-turn{from{transform:rotate(-35deg)}to{transform:rotate(0)}}@keyframes live-instrument-light{0%,100%{opacity:1}45%{opacity:.45}}
@media(max-width:700px){.live-command-deck .live-step-icon,.live-command-deck .live-step-icon .live-icon-art{width:46px;height:49px}}
@media(prefers-reduced-motion:reduce){.live-command-deck .live-step-icon{transition:none!important;transform:none!important}.live-command-deck .live-icon-orbit,.live-command-deck .live-icon-core{animation:none!important}}
/* Event-sized SVG motion; no canvas, timers or extra API work. */
.live-icon-rotor,.live-icon-energy-ring,.live-icon-sparks{transform-origin:32px 32px}
.live-command-deck .live-icon-rotor{animation:live-icon-orbit-spin 12s linear infinite;animation-play-state:paused}
.live-command-deck .live-icon-data-flow{animation:live-icon-data-pass 3.4s ease-in-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-output{animation:live-icon-output-glow 3.4s ease-in-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-energy-ring{animation:live-icon-energy-wave 3s ease-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-bolt{animation:live-icon-bolt-charge 3s ease-in-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-sparks{animation:live-icon-spark-burst 3s ease-out infinite;animation-play-state:paused}
body[data-workspace=live] .live-command-deck :is(.live-icon-rotor,.live-icon-data-flow,.live-icon-output,.live-icon-energy-ring,.live-icon-bolt,.live-icon-sparks){animation-play-state:running}
.live-command-deck .live-overview-action:is(:hover,:focus-visible) .live-icon-rotor{animation-duration:3s}.live-command-deck .live-overview-action:is(:hover,:focus-visible) .live-icon-energy-ring{animation-duration:1.4s}
@keyframes live-icon-orbit-spin{to{transform:rotate(360deg)}}
@keyframes live-icon-data-pass{0%,30%,100%{transform:translateX(0);opacity:1}60%{transform:translateX(12px);opacity:.15}61%{transform:translateX(-3px);opacity:0}85%{transform:translateX(0);opacity:1}}
@keyframes live-icon-output-glow{0%,40%,100%{opacity:.55}65%,80%{opacity:1}}
@keyframes live-icon-energy-wave{0%,35%{transform:scale(.85);opacity:.6}85%,100%{transform:scale(1.35);opacity:0}}
@keyframes live-icon-bolt-charge{0%,35%,100%{opacity:.8}48%,70%{opacity:1}}
@keyframes live-icon-spark-burst{0%,35%,100%{transform:scale(.9);opacity:0}52%{transform:scale(1);opacity:.9}85%{transform:scale(1.12);opacity:0}}
@media(prefers-reduced-motion:reduce){.live-command-deck :is(.live-icon-rotor,.live-icon-data-flow,.live-icon-output,.live-icon-energy-ring,.live-icon-bolt,.live-icon-sparks){animation:none!important}}
/* Matching motion for the live pulse and analysis aperture. */
.live-icon-wave-ring,.live-icon-time-sweep,.live-icon-time-hands{transform-origin:32px 32px}
.live-command-deck .live-icon-pulse{animation:live-icon-pulse-travel 3.2s linear infinite;animation-play-state:paused}
.live-command-deck .live-icon-wave-ring{animation:live-icon-live-wave 3.2s ease-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-live-dot{animation:live-icon-output-glow 3.2s ease-in-out infinite;animation-play-state:paused}
.live-command-deck .live-icon-time-sweep{animation:live-icon-orbit-spin 6s linear infinite;animation-play-state:paused}
.live-command-deck .live-icon-time-hands{animation:live-icon-hand-scan 5s ease-in-out infinite;animation-play-state:paused}
body[data-workspace=live] .live-command-deck :is(.live-icon-pulse,.live-icon-wave-ring,.live-icon-live-dot,.live-icon-time-sweep,.live-icon-time-hands){animation-play-state:running}
.live-command-deck .live-overview-action:is(:hover,:focus-visible) .live-icon-pulse{animation-duration:1.5s}.live-command-deck .live-overview-action:is(:hover,:focus-visible) .live-icon-time-sweep{animation-duration:3s}
@keyframes live-icon-pulse-travel{from{stroke-dashoffset:100}to{stroke-dashoffset:-100}}
@keyframes live-icon-live-wave{0%,20%{transform:scale(.9);opacity:.45}85%,100%{transform:scale(1.5);opacity:0}}
@keyframes live-icon-hand-scan{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(28deg)}}
@media(prefers-reduced-motion:reduce){.live-command-deck :is(.live-icon-pulse,.live-icon-wave-ring,.live-icon-live-dot,.live-icon-time-sweep,.live-icon-time-hands){animation:none!important}}
/* Clean navigation pictograms remain distinct from the dimensional Live Flow emblems. */
.workspace-nav .nav-icon{width:27px;height:29px;flex-basis:27px;transition:transform .18s}
.workspace-nav .nav-icon .nav-instrument{width:25px;height:27px;stroke-width:1.8;overflow:visible;filter:none}
.workspace-nav .nav-item:hover .nav-icon,.workspace-nav .nav-item:focus-visible .nav-icon{transform:translateY(-1px) scale(1.06)}
.nav-icon-orbit{transform-origin:24px 24px}.workspace-nav .nav-item:is(:hover,:focus-visible) .nav-icon-orbit{animation:nav-instrument-sweep .7s ease-out 1}
@keyframes nav-instrument-sweep{from{transform:rotate(-45deg)}to{transform:rotate(0)}}
@media(max-width:700px){.workspace-nav .nav-icon{width:26px;height:28px;flex-basis:26px}.workspace-nav .nav-icon .nav-instrument{width:24px;height:26px}}
@media(prefers-reduced-motion:reduce){.workspace-nav .nav-icon{transition:none!important;transform:none!important}.workspace-nav .nav-icon-orbit{animation:none!important}}

/* Keep history loading visible while the server reads archived periods. */
.history-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:120px}
.history-loading::before{content:"";width:22px;height:22px;border:2px solid #35516b;border-top-color:#71c6ff;border-radius:50%;animation:history-spin .8s linear infinite}
@keyframes history-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.history-loading::before{animation:none;border-top-color:#71c6ff}}

.history-loader-panel{position:sticky;top:8px;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 20px;margin-bottom:18px;border:1px solid #5cbaff;border-radius:14px;background:#132a3f;box-shadow:0 6px 24px #07111fcc}
.history-loader-panel p{margin:0}.history-loader-panel progress{flex:1;min-width:100px;accent-color:#65d4ff}.history-loader-panel span{font-variant-numeric:tabular-nums;color:#9cdeff}
.history-loader-panel progress{height:10px;border-radius:10px;overflow:hidden}.history-loader-panel p{animation:history-glow 1.4s ease-in-out infinite alternate}@keyframes history-glow{to{color:#9eeaff;text-shadow:0 0 14px #60cdff80}}@media(prefers-reduced-motion:reduce){.history-loader-panel p{animation:none}}
/* Let the sticky navigation follow the full document, beyond the first screen. */
body:not(.selection-screen){height:auto;min-height:100vh}
.navigation-shell{box-shadow:0 5px 16px #07111c30}

.ai-decision-explanation{margin:14px 0;padding:12px 14px;border:1px solid #375875;border-left:3px solid #75c5ff;border-radius:8px;background:#102235;overflow-wrap:anywhere}.ai-decision-explanation p{margin:5px 0;font-size:12px;line-height:1.6}.ai-decision-explanation strong{color:#d7edff}.ai-decision-explanation>strong{display:block;margin-top:10px;font-size:12px}
.archive-loading-scene{position:fixed;z-index:45;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;pointer-events:none;overflow:hidden;display:flex;align-items:center;gap:18px;padding:28px 24px 34px;border:1px solid #6edcff66;border-radius:22px;background:linear-gradient(135deg,#15354cf5,#0a1528fa 70%);box-shadow:0 24px 90px #0009,inset 0 1px #d5faff22;animation:archive-arrive .28s ease-out}
.archive-loading-glow{position:absolute;inset:-70%;background:conic-gradient(from 0deg,transparent 65%,#3189b422,transparent);animation:archive-rotate 7s linear infinite}
.archive-loading-orbit{flex:0 0 96px;position:relative;filter:drop-shadow(0 0 14px #48d9ff44)}.archive-loading-orbit svg{display:block;width:96px;height:96px;stroke:#69dfff;stroke-width:1.5}.archive-ring-back{stroke:#a8e8ff16}.archive-ring-one{stroke-dasharray:85 223;stroke-width:3;transform-origin:60px 60px;animation:archive-rotate 1.8s linear infinite}.archive-ring-two{stroke:#b8a2ff;stroke-dasharray:45 194;transform-origin:60px 60px;animation:archive-rotate 2.8s linear infinite reverse}.archive-field{stroke:#9ccee3;stroke-width:1;opacity:.8}.archive-ball{fill:#c4fff1;stroke:#80f4ce;animation:archive-ball 1.6s ease-in-out infinite alternate}
.archive-loading-copy{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}.archive-loading-eyebrow{font-size:9px;letter-spacing:.15em;color:#74cfe8}.archive-loading-copy strong{font-size:19px;line-height:1.25;color:#effaff}.archive-loading-copy>span:last-child{font-size:12px;line-height:1.5;color:#a8c0d6}.archive-loading-track{position:absolute;bottom:0;left:0;right:0;height:3px;background:#75daff16}.archive-loading-track i{display:block;width:40%;height:100%;background:linear-gradient(90deg,transparent,#78e7ff,#b3a1ff,transparent);animation:archive-scan 1.5s ease-in-out infinite}
@keyframes archive-rotate{to{transform:rotate(360deg)}}@keyframes archive-scan{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes archive-ball{to{transform:translate(10px,-6px);filter:drop-shadow(0 0 6px #96ffdf)}}@keyframes archive-arrive{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:480px){.archive-loading-scene{padding:22px 18px 28px;gap:12px}.archive-loading-copy strong{font-size:17px}.archive-loading-orbit{flex-basis:80px}.archive-loading-orbit svg{width:80px;height:80px}}
@media(prefers-reduced-motion:reduce){.archive-loading-scene,.archive-loading-scene *{animation:none!important}.archive-loading-track i{width:100%;opacity:.6}}

/* The central loader is fixed; replaced inline loaders must not reserve document space. */
body.archive-loading-active :is(.history-loading,.history-loader-panel,#liveHistoryPagination>p){display:none}

.prep-stages i svg{width:70%;height:70%;display:block;flex-shrink:0}

.manual-critic-approval{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.critic-approved-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #5ce1b05c;border-radius:7px;background:#17443580;color:#8cf0bd;font-size:11px;font-weight:650}.critic-approved-badge::before{content:"✓"}.critic-approval-control{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#b8cde1;cursor:pointer}.critic-approval-control input{width:16px;height:16px;accent-color:#63d49b}.critic-approval-error{font-size:11px;color:#ffb6b6;flex-basis:100%}
.critic-candidates{margin:26px 0;padding-top:22px;border-top:1px solid #385066}.critic-candidates>h3{font-size:18px;margin:0 0 8px}.critic-candidate-editor{padding:14px;margin:16px 0;border:1px solid #3b586d;border-radius:9px;background:#152536}.critic-candidate-editor summary{cursor:pointer;font-weight:600}.critic-candidate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.critic-candidate-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px}.critic-candidate-fields input,.critic-candidate-fields select{width:100%;min-width:0;box-sizing:border-box;font-size:14px}.critic-candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.critic-candidate-card{padding:18px;border:1px solid #3e7162;border-radius:10px;background:#172a2d}.critic-candidate-card h4{margin:14px 0 8px;font-size:17px}.critic-candidate-card>button{margin:10px 10px 0 0}.critic-candidate-note{font-size:12px;overflow-wrap:anywhere;color:#b9d7cc}.critic-candidate-card .personal-bet-fields{margin-top:12px}
@media(max-width:700px){.critic-candidate-list,.critic-candidate-fields{grid-template-columns:1fr}.critic-candidate-fields input,.critic-candidate-fields select{font-size:16px}}
.critic-statistics{margin:1.25rem 0;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--card)}.critic-statistics select{margin-bottom:1rem}.critic-summary{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.critic-outcome{display:block;padding:.65rem .8rem;border-radius:8px;background:var(--card2);margin:.75rem 0}.critic-outcome-WIN,.critic-outcome-HALF_WIN{color:var(--green)}.critic-outcome-LOSS{color:var(--red)}.critic-outcome-PENDING{color:var(--amber)}
.poly-forecast-link{display:block;margin-top:12px;padding:9px 12px;border:1px solid #3f7196;border-radius:8px;color:#8edcff;background:#10263b;font-size:12px;text-decoration:none}

.live-catalog-group{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:20px 0 4px;font-size:14px;line-height:1.5;color:#d6e7f2}.live-catalog-group:first-child{margin-top:0}.live-catalog-group-count{padding:2px 8px;border:1px solid #3c5668;border-radius:6px;color:#aac1d2;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
.live-catalog-match{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:start;gap:12px;padding:16px;min-width:0}.live-catalog-match .live-filtered-teams{line-height:1.6;min-width:0}.live-catalog-match .live-catalog-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;grid-column:1/-1;margin:0;font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums;color:#afc6d7}.live-catalog-match .live-catalog-meta .live-catalog-score{display:inline;font-size:20px;line-height:1.3;font-weight:650;color:#e1edf5;white-space:nowrap}.live-catalog-match .live-catalog-reason{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid #2d455d;font-size:12px;line-height:1.6;color:#bfd1dd}
.live-catalog-badge{display:inline-flex;align-items:center;gap:6px;max-width:160px;padding:5px 8px;border-radius:6px;border:1px solid #486276;font-size:10px;font-weight:600;line-height:1.5;background:#203747;color:#c7dce9}.live-catalog-badge:before{content:'';width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:currentColor}
.live-catalog-match[data-live-tone=signal]{border-color:#5fa88b;background:#142e2b}.live-catalog-match[data-live-tone=signal] .live-catalog-badge{background:#1b4337;border-color:#3b8b6c;color:#9be3c0}.live-catalog-match[data-live-tone=analysis] .live-catalog-badge{background:#203f58;border-color:#547c99;color:#b0dcf7}.live-catalog-match[data-live-tone=watch] .live-catalog-badge{background:#21394e;border-color:#466681;color:#bad4eb}.live-catalog-match[data-live-tone=waiting] .live-catalog-badge,.live-catalog-match[data-live-tone=unavailable] .live-catalog-badge{background:#3b3220;border-color:#746040;color:#f3d596}
.live-catalog-match[data-live-tone=excluded]{background:#281e26;border-color:#6d414e}.live-catalog-match[data-live-tone=excluded] .live-catalog-badge{background:#452634;border-color:#995b6c;color:#ffc2cf}.live-catalog-match[data-live-tone=excluded] .live-catalog-reason{border-color:#5d3946;color:#e2bdc8}.live-catalog-match[data-live-tone=closed] .live-catalog-badge,.live-catalog-match[data-live-tone=stale] .live-catalog-badge{background:#27333d;border-color:#4d606e;color:#bdcbd6}
.live-catalog-open{grid-column:1/-1;justify-self:start;min-height:44px;padding:8px 12px;font-size:12px}.live-catalog-notice,.live-catalog-exit-summary{font-size:12px;line-height:1.6;color:#c5d6e2;margin:12px 0}.live-catalog-retry{margin-top:12px;min-height:44px}.live-filtered-heading strong{font-variant-numeric:tabular-nums}
@media(max-width:480px){.live-catalog-match{grid-template-columns:minmax(0,1fr);gap:10px}.live-catalog-badge{grid-column:1;justify-self:start;max-width:100%}}

.live-catalog-group[data-catalog-group=excluded]{color:#e7bdc8}.live-catalog-group[data-catalog-group=excluded] .live-catalog-group-count{border-color:#74495a;color:#efbdcb}
