/* SmileDice v25.11 – isolated O/U 2.5 algorithm Premium theme, English only. */
#sp-view-algorithm {--sa-deep:#020b1d;--sa-panel:#06182e;--sa-border:#1a5785;--sa-bright:#19d2f7;--sa-blue:#267fff;--sa-ink:#f6fbff;--sa-muted:#9db8d3;color:var(--sa-ink)}
#sp-view-algorithm .sa-app,#sp-view-algorithm .sa-app *{box-sizing:border-box}
#sp-view-algorithm .sa-app{font-family:inherit;display:grid;gap:13px;padding:0 0 25px;color:var(--sa-ink);min-width:0}
#sp-view-algorithm button,#sp-view-algorithm select,#sp-view-algorithm input{font-family:inherit;font-size:inherit}
#sp-view-algorithm button{cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}
#sp-view-algorithm button:disabled{cursor:not-allowed;opacity:.52}
#sp-view-algorithm .sa-panel{background:linear-gradient(128deg,rgba(8,32,59,.96),rgba(3,13,29,.98));border:1px solid rgba(41,126,197,.43);border-radius:17px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(115,197,248,.06),0 8px 28px rgba(1,8,22,.16)}
#sp-view-algorithm .sa-hero{position:relative;min-height:173px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 27px;background:radial-gradient(ellipse 95% 140% at 72% 20%,rgba(14,103,194,.32),transparent 70%),linear-gradient(112deg,#031127 2%,#081d39 61%,#102f58 100%);border-color:rgba(31,190,249,.65)}
#sp-view-algorithm .sa-hero::before{content:'';position:absolute;right:-2%;top:-34%;width:52%;height:155%;background-image:linear-gradient(90deg,#06142c 0%,transparent 35%),url('assets/sport/hero-2026/05-ai-predictions.webp');background-size:auto 180%;background-position:right center;background-repeat:no-repeat;opacity:.55;pointer-events:none}
#sp-view-algorithm .sa-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,14,30,.14) 0%,transparent 60%,rgba(2,9,26,.12) 100%);pointer-events:none}
#sp-view-algorithm .sa-hero-copy,#sp-view-algorithm .sa-hero-actions{z-index:1;position:relative}
#sp-view-algorithm .sa-eyebrow{color:#47e9ff;font-size:10px;letter-spacing:2.3px;font-weight:900;text-transform:uppercase}
#sp-view-algorithm .sa-hero h2{font-size:clamp(24px,2.65vw,39px);font-weight:900;line-height:1.1;letter-spacing:-1.4px;margin:10px 0 8px;color:#fff}
#sp-view-algorithm .sa-hero h2 em{font-style:normal;color:#2dd8ff}
#sp-view-algorithm .sa-hero p{font-size:12px;line-height:1.6;max-width:610px;color:#b3cce3;margin:0}
#sp-view-algorithm .sa-hero-foot{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px;color:#c3d8f2}
#sp-view-algorithm .sa-pill{border:1px solid rgba(71,215,246,.45);border-radius:999px;background:rgba(7,47,83,.82);color:#75e6ff;padding:6px 11px;font-size:10px;font-weight:900;letter-spacing:.4px;white-space:nowrap}
#sp-view-algorithm .sa-hero-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:370px}
#sp-view-algorithm .sa-btn{border:1px solid #22669a;border-radius:10px;background:linear-gradient(150deg,#09294b,#051629);color:#f2faff;padding:11px 14px;font-weight:900;font-size:11px;white-space:nowrap}
#sp-view-algorithm .sa-btn:hover{border-color:#3fb6ff;background:#092d53}
#sp-view-algorithm .sa-btn-primary{background:linear-gradient(115deg,#14d5f0,#3984ff);color:#00152b;border-color:#3cc4ff;box-shadow:0 5px 18px rgba(9,118,241,.21)}
#sp-view-algorithm .sa-btn-primary:hover{background:linear-gradient(115deg,#4cecff,#66a4ff);box-shadow:0 7px 20px rgba(9,118,241,.32)}
#sp-view-algorithm .sa-admin-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
#sp-view-algorithm .sa-kpi{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#sp-view-algorithm .sa-stat{min-height:106px;padding:16px;position:relative;background:linear-gradient(145deg,#071b33,#051327);border:1px solid rgba(43,107,170,.42);border-radius:14px}
#sp-view-algorithm .sa-stat .sa-stat-icon{position:absolute;right:14px;top:16px;width:35px;height:35px;display:grid;place-items:center;background:#092e55;border:1px solid #1b5985;border-radius:10px;color:#37d9ff;font-size:20px}
#sp-view-algorithm .sa-stat-name{font-size:10px;font-weight:900;letter-spacing:1px;color:#a5c4df;text-transform:uppercase;display:block;margin-bottom:9px}
#sp-view-algorithm .sa-stat strong{font-size:27px;font-weight:900;letter-spacing:-.5px;display:block;line-height:1.05}
#sp-view-algorithm .sa-stat small{display:block;font-size:10px;line-height:1.45;color:#91abc7;margin-top:7px}
#sp-view-algorithm .sa-stat.sa-positive .sa-stat-icon{color:#46f6be}
#sp-view-algorithm .sa-stat.sa-negative{border-color:rgba(210,65,105,.48)}
#sp-view-algorithm .sa-stat.sa-negative .sa-stat-icon{background:#321326;color:#ff749a;border-color:#72274c}
#sp-view-algorithm .sa-inner{padding:17px 19px}
#sp-view-algorithm .sa-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
#sp-view-algorithm .sa-title{font-size:15px;line-height:1.35;font-weight:900;letter-spacing:-.1px;margin:0}
#sp-view-algorithm .sa-small{font-size:11px;line-height:1.5;color:#a3bed8;margin:4px 0 0}
#sp-view-algorithm .sa-tag{font-size:10px;color:#8adfff;border:1px solid rgba(25,151,220,.35);background:#082b49;border-radius:999px;padding:6px 10px;font-weight:800}
#sp-view-algorithm .sa-metrics-extra{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:rgba(34,94,148,.35);border-top:1px solid rgba(47,112,173,.31)}
#sp-view-algorithm .sa-extra-cell{padding:12px 18px;background:#06172c}
#sp-view-algorithm .sa-extra-cell span{display:block;color:#91aec9;font-size:10px;font-weight:700;margin-bottom:6px}
#sp-view-algorithm .sa-extra-cell b{font-size:18px;font-weight:900}
#sp-view-algorithm .sa-progress{width:100%;height:7px;background:#091427;border:1px solid #163e64;border-radius:99px;overflow:hidden;margin-top:13px}
#sp-view-algorithm .sa-progress i{display:block;height:100%;background:linear-gradient(90deg,#1873f1,#3be4ff);width:0;transition:width .4s}
#sp-view-algorithm .sa-scan-stats{display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid rgba(43,98,149,.31);margin-top:14px;padding-top:11px;color:#b1cce6;font-size:11px}
#sp-view-algorithm .sa-scan-stats b{color:white}
#sp-view-algorithm .sa-highlight{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:12px}
#sp-view-algorithm .sa-highlight-row{border-radius:11px;border:1px solid rgba(35,106,167,.46);padding:12px;background:linear-gradient(135deg,#092845,#06182f)}
#sp-view-algorithm .sa-highlight-row b{display:block;font-size:12px;color:#f3fbff;margin-bottom:7px}
#sp-view-algorithm .sa-highlight-row .sa-highlight-line{display:flex;justify-content:space-between;gap:12px;color:#aed4f0;font-size:11px}
#sp-view-algorithm .sa-highlight-row .sa-highlight-line strong{color:#66e3ff}
#sp-view-algorithm .sa-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:11px}
#sp-view-algorithm .sa-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
#sp-view-algorithm .sa-tab{border:1px solid #214a71;border-radius:10px;color:#b7cae0;font-weight:800;font-size:11px;background:#071a32;padding:11px 15px}
#sp-view-algorithm .sa-tab.is-active{border-color:#38caff;background:linear-gradient(105deg,#14d4ef,#2b7cf1);color:#04162a}
#sp-view-algorithm .sa-list-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#sp-view-algorithm .sa-list-controls input,#sp-view-algorithm .sa-list-controls select{border:1px solid #225a89;border-radius:9px;background:#071c36;color:#f3faff;padding:10px 12px;min-height:39px;outline:none;max-width:100%;font-size:11px}
#sp-view-algorithm .sa-list-controls input:focus,#sp-view-algorithm .sa-list-controls select:focus{border-color:#29c8f8;box-shadow:0 0 0 2px rgba(26,183,250,.12)}
#sp-view-algorithm .sa-list-controls input{width:min(215px,100%)}
#sp-view-algorithm .sa-list{overflow-x:auto;padding:0}
#sp-view-algorithm .sa-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;min-width:700px}
#sp-view-algorithm .sa-table th{font-size:10px;letter-spacing:.55px;text-transform:uppercase;background:#081e37;color:#9cbddc;padding:13px 13px;border-bottom:1px solid #24567f;white-space:nowrap}
#sp-view-algorithm .sa-table td{padding:13px;border-top:1px solid rgba(44,104,154,.24);color:#e4effb;vertical-align:middle}
#sp-view-algorithm .sa-table tbody tr:hover{background:rgba(20,92,159,.12)}
#sp-view-algorithm .sa-table td small{font-size:10px;color:#88a9c7;display:block;margin-top:3px}
#sp-view-algorithm .sa-team{font-weight:900;color:white}
#sp-view-algorithm .sa-market{color:#51ddff;font-weight:900}
#sp-view-algorithm .sa-market-muted{color:#93acc3}
#sp-view-algorithm .sa-status{display:inline-flex;border:1px solid #38608b;color:#b7d1e8;background:#0b243c;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900}
#sp-view-algorithm .sa-status.won{color:#51f4c2;border-color:#126c5d;background:#06352f}
#sp-view-algorithm .sa-status.lost{color:#ff85ab;border-color:#6f3352;background:#2b1225}
#sp-view-algorithm .sa-status.pending{color:#ffdc7c;border-color:#765928;background:#31240e}
#sp-view-algorithm .sa-empty{padding:34px 18px;text-align:center;color:#a3bdd8;font-size:12px}
#sp-view-algorithm .sa-error{color:#ff9cb6}
#sp-view-algorithm .sa-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:10px;color:#87a8c7;margin-top:11px}
#sp-view-algorithm .sa-notice{border:1px solid #245a88;border-radius:12px;padding:11px 15px;background:#0a203e;font-size:11px;color:#c7e5ff}
#sp-view-algorithm .sa-notice.is-error{border-color:#75314d;color:#ffbdc9}
#sp-view-algorithm .sa-hist-header{font-size:11px;line-height:1.6;color:#b8d1e8;margin:0 0 10px}
#sp-view-algorithm .sa-blue{color:#5ce3ff}
#sp-view-algorithm .sa-green{color:#5cf1bf}
#sp-view-algorithm .sa-red{color:#ff8aa9}
#sp-view-algorithm .sa-source{padding:0 3px;font-size:10px;line-height:1.5;color:#8aaac7}
@media(max-width:1100px){#sp-view-algorithm .sa-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}#sp-view-algorithm .sa-hero{align-items:flex-start;flex-direction:column;gap:12px}#sp-view-algorithm .sa-hero-actions{justify-content:flex-start}#sp-view-algorithm .sa-hero::before{width:80%}}
@media(max-width:700px){#sp-view-algorithm .sa-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}#sp-view-algorithm .sa-stat{min-height:90px;padding:12px}#sp-view-algorithm .sa-stat strong{font-size:22px}#sp-view-algorithm .sa-stat-icon{display:none!important}#sp-view-algorithm .sa-hero{padding:21px 17px}#sp-view-algorithm .sa-hero::before{width:100%;opacity:.3}#sp-view-algorithm .sa-hero h2{font-size:26px}#sp-view-algorithm .sa-metrics-extra{grid-template-columns:repeat(2,minmax(0,1fr))}#sp-view-algorithm .sa-inner{padding:15px 13px}#sp-view-algorithm .sa-list-controls{width:100%}#sp-view-algorithm .sa-list-controls input{width:100%}#sp-view-algorithm .sa-list-controls select{flex:1}#sp-view-algorithm .sa-tab{padding:9px 10px}#sp-view-algorithm .sa-hero-actions{width:100%}}

/* v25.11.1: detailed all-time statistics, scoped solely to AI Algorithm. */
#sp-view-algorithm .sa-stats-open{margin-left:auto;padding:8px 12px;font-size:10px}
#sp-view-algorithm .sa-statstab{border-color:#2b8fd0;color:#b2ecff;box-shadow:inset 0 0 0 1px rgba(23,188,252,.08)}
#sp-view-algorithm .sa-prem-stats{display:grid;gap:13px;padding:0 16px 19px}
#sp-view-algorithm .sa-stats-banner{border:1px solid rgba(42,145,231,.6);border-radius:15px;padding:18px 20px;background:radial-gradient(circle at 87% 0%,rgba(19,91,184,.22),transparent 60%),linear-gradient(120deg,#0a2442,#06152c);display:flex;align-items:center;justify-content:space-between;gap:12px}
#sp-view-algorithm .sa-stats-banner h3{font-size:21px;font-weight:950;letter-spacing:-.6px;margin:6px 0;color:#fff}
#sp-view-algorithm .sa-stats-banner h3 em{font-style:normal;color:#4fdaff}
#sp-view-algorithm .sa-stats-banner p{color:#a4c6e5;font-size:11px;margin:0;line-height:1.6}
#sp-view-algorithm .sa-stats-kicker{font-size:10px;color:#40d9ff;letter-spacing:1.5px;font-weight:950}
#sp-view-algorithm .sa-stats-verified{border:1px solid #1379c1;border-radius:99px;color:#83dfff;background:rgba(8,56,101,.66);padding:9px 12px;font-size:10px;font-weight:900;white-space:nowrap}
#sp-view-algorithm .sa-stats-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#sp-view-algorithm .sa-stats-card{background:linear-gradient(145deg,#0b284c,#06182f);border:1px solid rgba(58,126,192,.43);border-radius:12px;padding:15px 16px;min-width:0}
#sp-view-algorithm .sa-stats-card small{display:block;color:#a4c2df;font-size:10px;letter-spacing:.7px;font-weight:900}
#sp-view-algorithm .sa-stats-card strong{display:block;font-size:clamp(18px,2vw,27px);font-weight:950;margin:8px 0 5px;letter-spacing:-.4px;color:#fff;white-space:normal}
#sp-view-algorithm .sa-stats-card strong.sa-red{color:#ff8da8}
#sp-view-algorithm .sa-stats-card strong.sa-blue{color:#4edcff}
#sp-view-algorithm .sa-stats-card span{color:#8daccc;font-size:10px;line-height:1.5}
#sp-view-algorithm .sa-stats-sample-info{display:flex;align-items:flex-start;gap:12px;border:1px solid rgba(29,110,186,.5);border-left:3px solid #31cfff;background:#071e38;border-radius:10px;padding:12px 14px;color:#b6cfe9;font-size:11px;line-height:1.6}
#sp-view-algorithm .sa-stats-sample-info strong{white-space:nowrap;color:#6bdbff}
#sp-view-algorithm .sa-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#sp-view-algorithm .sa-stats-box{min-width:0;border:1px solid rgba(37,113,176,.48);border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#081d37,#051326)}
#sp-view-algorithm .sa-stats-box.sa-stats-wide{grid-column:1/-1}
#sp-view-algorithm .sa-stats-box-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 15px;border-bottom:1px solid rgba(53,117,173,.37);background:rgba(13,46,81,.57)}
#sp-view-algorithm .sa-stats-box-head h4{font-size:13px;font-weight:950;color:#f9fcff;margin:0}
#sp-view-algorithm .sa-stats-box-head p{font-size:10px;color:#8db7d8;margin:4px 0 0}
#sp-view-algorithm .sa-stats-sortbar{display:flex;gap:6px;flex-wrap:wrap}
#sp-view-algorithm .sa-stat-sort{font-size:10px;font-weight:800;padding:7px 10px;border:1px solid #285c90;border-radius:8px;background:#0a203b;color:#b0cbe5}
#sp-view-algorithm .sa-stat-sort.selected{color:#051b30;background:linear-gradient(120deg,#2dddf5,#2f8dff);border-color:#59ccff}
#sp-view-algorithm .sa-stats-overflow{overflow:auto;max-width:100%}
#sp-view-algorithm .sa-stats-table{border-collapse:collapse;width:100%;min-width:440px;font-size:10.5px;line-height:1.45}
#sp-view-algorithm .sa-stats-table th{white-space:nowrap;text-transform:uppercase;text-align:left;background:#0f2b4b;color:#a6cce6;font-size:9px;letter-spacing:.3px;padding:11px 12px}
#sp-view-algorithm .sa-stats-table td{color:#d5e9ff;border-top:1px solid rgba(57,111,165,.19);padding:11px 12px;vertical-align:middle}
#sp-view-algorithm .sa-stats-table tbody tr:nth-child(even){background:rgba(13,46,83,.47)}
#sp-view-algorithm .sa-stats-table tbody tr:hover{background:rgba(27,90,145,.38)}
#sp-view-algorithm .sa-stat-table-name{color:#fff;font-weight:900}
#sp-view-algorithm .sa-stats-table small{display:block;color:#8cb2d4;font-size:9px;margin-top:3px}
#sp-view-algorithm .sa-stats-none{text-align:center;color:#9fb7d1!important}
#sp-view-algorithm .sa-stats-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 15px;color:#8eafce;font-size:10px}
#sp-view-algorithm .sa-stats-bottom button{color:#b5e9ff;border:1px solid #3178b8;border-radius:99px;padding:8px 14px;font-size:10px;font-weight:900;background:#102e51}
@media(max-width:1100px){#sp-view-algorithm .sa-stats-grid{grid-template-columns:1fr}#sp-view-algorithm .sa-stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#sp-view-algorithm .sa-prem-stats{padding:0 10px 14px}#sp-view-algorithm .sa-stats-banner{padding:14px;align-items:flex-start;flex-direction:column}#sp-view-algorithm .sa-stats-card{padding:12px}#sp-view-algorithm .sa-stats-sample-info{display:block}#sp-view-algorithm .sa-stats-sample-info strong{display:block;margin-bottom:5px}#sp-view-algorithm .sa-stats-box-head{padding:11px}}
#sp-view-algorithm .sa-list-controls[hidden]{display:none!important}

/* v25.11.2: League Statistics matches the premium two-column reference, not a flat list. */
#sp-view-algorithm .sa-prem-stats{padding-top:11px}
#sp-view-algorithm .sa-stats-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#sp-view-algorithm .sa-league-premium{box-shadow:0 8px 35px rgba(0,3,19,.27),inset 0 1px 0 rgba(82,191,255,.08);border-color:rgba(53,155,229,.65)}
#sp-view-algorithm .sa-league-premium .sa-stats-table{min-width:810px}
#sp-view-algorithm .sa-league-premium .sa-stats-table th{background:linear-gradient(100deg,#123b65,#103052);color:#c2e5fc}
#sp-view-algorithm .sa-league-premium .sa-stats-table td{font-variant-numeric:tabular-nums}
#sp-view-algorithm .sa-stats-grid>.sa-stats-box:not(.sa-stats-wide){box-shadow:0 6px 20px rgba(0,4,22,.18)}
#sp-view-algorithm .sa-stats-cards .sa-stats-card{box-shadow:inset 0 1px 0 rgba(91,183,255,.08)}
#sp-view-algorithm .sa-stats-table tbody tr:nth-child(even){background:#092542}
#sp-view-algorithm .sa-stats-table tbody tr:hover{background:#124775}
#sp-view-algorithm .sa-stat-table-name{font-size:11px}
#sp-view-algorithm .sa-stats-bottom{line-height:1.5;flex-wrap:wrap}
@media(min-width:1340px){#sp-view-algorithm .sa-stats-cards{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:700px){#sp-view-algorithm .sa-stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
