:root{color-scheme:light;--background:#fafafa;--card:#fff;--ink:#18181b;--muted:#63636b;--border:#e4e4e7;--primary:#3131eb;--subtle:#f4f4f5}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.analysis{max-width:1320px;margin:auto;padding:28px 24px}.analysis-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:650;color:var(--muted);margin:0 0 8px}h1{font-size:24px;line-height:1.3;letter-spacing:-.045em;margin:0 0 8px;font-weight:650}.versus{color:#a1a1aa;font-size:.7em;font-weight:400;margin:0 7px}.muted{color:var(--muted);margin:6px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:11px 16px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--ink);font:600 13px inherit;cursor:pointer;white-space:nowrap}.button.primary{color:#fff;background:var(--primary);border-color:var(--primary)}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.card{border:1px solid var(--border);border-radius:10px;background:var(--card);box-shadow:0 1px 2px #00000003;overflow:hidden;margin-bottom:20px}.progress-card{padding:22px 24px}.progress-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.tabular,td{font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:5px;background:#fff;padding:3px 8px;font-size:11px;font-weight:550;color:#52525b}.badge i{width:6px;height:6px;background:#a1a1aa;border-radius:50%}.badge[data-state=running] i,.badge[data-state=calibrating] i{background:var(--primary);animation:breathe 1.8s infinite}.badge[data-state=complete]{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.badge[data-state=complete] i{background:#16a34a}.badge[data-state=error],.badge[data-state=interrupted]{color:#b91c1c;background:#fef2f2;border-color:#fecaca}h2{font-size:17px;letter-spacing:-.025em;line-height:1.3;font-weight:600;margin:14px 0 4px}.progress-track{height:4px;background:var(--subtle);border-radius:4px;margin:20px 0 12px;overflow:hidden}.progress-track span{display:block;width:0;height:100%;background:var(--primary);transition:width .5s ease}.progress-footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.section-label{display:flex;justify-content:space-between;align-items:center;margin:28px 0 12px}.section-label h2{margin:0}.card-head{padding:18px 22px;display:flex;justify-content:space-between;gap:14px;align-items:center}.card-head h3{font-size:14px;letter-spacing:-.02em;font-weight:600;margin:0 0 4px}.card-head p{font-size:11px;color:var(--muted);margin:0}.subtle-tag{color:var(--muted);font-size:10px;background:var(--subtle);border-radius:4px;padding:4px 7px;white-space:nowrap}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:12px 22px;text-align:right;white-space:nowrap;border-bottom:1px solid #f0f0f2}th{font-size:10px;color:var(--muted);font-weight:500;background:#fafafa;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}th:first-child,td:first-child{text-align:left}th button{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafafa}td[data-role=probability]{font-weight:650}.cell-number{display:inline-block}.cell-number.changed{animation:cell-update 1.1s ease}.range{color:var(--muted);font-size:10px}.table-note{border-top:1px solid var(--border);font-size:10px;color:var(--muted);padding:12px 22px;line-height:1.65}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-columns .card{align-self:start}.divider{border-top:1px solid var(--border)}.player-head select{border:1px solid var(--border);background:var(--card);color:var(--ink);border-radius:6px;padding:7px 11px;max-width:180px;font:11px inherit}#playerTable th:nth-child(2),#playerTable td:nth-child(2){text-align:left}#playerTable td:first-child{width:52px;color:var(--muted)}.player-name{font-weight:550;display:block}.player-team{display:block;color:var(--muted);font-size:10px;margin-top:2px}.empty{color:#a1a1aa;font-weight:400!important}.placeholder{text-align:center!important;padding:32px;color:var(--muted);white-space:normal}.method-note{font-size:10px;line-height:1.8;color:var(--muted);padding:0 4px 10px}.method-note strong{font-weight:600;color:#52525b}.method-note p{margin:4px 0}.notice{border:1px solid #fde68a;background:#fffbeb;border-radius:7px;color:#92400e;font-size:12px;padding:12px 16px;margin:0 0 16px}a{color:var(--primary);text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@keyframes cell-update{0%{color:var(--primary);background:#e9e9ff}100%{background:transparent}}@keyframes breathe{50%{opacity:.35}}@media(max-width:720px){.analysis{padding:20px 12px}.analysis-head{align-items:flex-start;flex-direction:column;gap:14px}h1{font-size:21px}.button.primary{width:100%}.progress-card{padding:18px 16px}.progress-footer{flex-direction:column;gap:3px}.two-columns{grid-template-columns:1fr;gap:0}.card-head{padding:16px}.player-head{align-items:flex-start}.player-head select{max-width:130px}th,td{padding:11px 16px}.table-note{padding:12px 16px}#outcomeTable{min-width:580px}#playerTable{min-width:630px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* release 324: how many games (5/10/15/20) and a Stop button while they run, like the stop button in Claude chat */
.run-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.run-count{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--subtle)}
.run-count-label{padding:0 8px 0 6px;font-size:12px;font-weight:550;color:var(--muted)}
.run-count button{min-width:40px;height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#52525b;font:600 13px/1 inherit;cursor:pointer;font-variant-numeric:tabular-nums}
.run-count button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.run-count button:disabled{cursor:default;opacity:.55}
.run-count button:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
#runAnalysis.is-stop{background:var(--ink);border-color:var(--ink);color:#fff;gap:9px}
#runAnalysis.is-stop:disabled{opacity:.7}
.stop-square{display:inline-block;width:10px;height:10px;border-radius:2px;background:currentColor}
.badge[data-state=stopped]{color:#92400e;background:#fffbeb;border-color:#fde68a}
.badge[data-state=stopped] i{background:#d97706}
@media(max-width:720px){.run-controls{width:100%;justify-content:space-between}.run-controls .button.primary{width:100%}.run-count{width:100%;justify-content:space-between}.run-count button{flex:1}}

/* release 370 (design panel): one primary button (mint, 44px, 8px radius, 600 15px Inter), the result card first, a 12px text
   floor, two weights (400/600), and 16px controls on phones so iOS does not zoom */
:root{--act:#19EFAE;--act-hi:#4FF5C3;--act-ink:#08111C;--home:#2563eb;--away:#c2410c;--draw:#63636b;--r-sm:6px;--r-md:8px;--r-lg:12px}
.button{min-height:44px;border-radius:var(--r-md);font:600 15px/1 Inter,ui-sans-serif,system-ui,sans-serif;gap:8px;text-decoration:none}
.button.primary,a.button.primary{color:var(--act-ink);background:var(--act);border-color:var(--act)}
.button.primary:hover:not(:disabled){background:var(--act-hi);border-color:var(--act-hi)}
.button.primary:disabled{opacity:1;background:#e4e4e7;border-color:#e4e4e7;color:#52525b}
button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.run-left{flex-basis:100%;margin:0;text-align:right;font-size:13px;font-weight:600;color:#3f3f46}
.card{border-radius:var(--r-lg)}
.eyebrow{font-size:12px;font-weight:600}
h1{font-weight:600}
.badge{font-size:12px;font-weight:600;border-radius:var(--r-sm)}
.progress-top,.progress-footer,.card-head p,.table-note,.player-team,.range,.method-note,th,.subtle-tag{font-size:12px}
.run-count-label,.player-name{font-weight:600}
td[data-role=probability]{font-weight:600}
.run-count button{font-size:15px}
.player-head select{font-size:13px;min-height:36px}
/* the result card */
.result-card{padding:20px 24px;border-color:#d4d4d8}
.result-kicker{margin:0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.result-card h2{margin:6px 0 14px;font-size:22px;letter-spacing:-.02em}
.result-bar{display:flex;height:12px;border-radius:999px;overflow:hidden;background:var(--subtle);gap:2px}
.result-bar .seg{display:block;height:100%}
.seg-home{background:var(--home)}.seg-away{background:var(--away)}.seg-draw{background:var(--draw)}
.result-legend{display:flex;flex-wrap:wrap;gap:6px 20px;margin:12px 0 0;padding:0;list-style:none;font-size:15px}
.result-legend li{display:flex;align-items:baseline;gap:6px}
.result-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;align-self:center}
.result-legend b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.result-legend span{font-size:13px;color:var(--muted)}
.result-compare{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--border);font-size:15px;line-height:1.5}
.result-compare .delta{font-variant-numeric:tabular-nums}
.result-compare .delta.up{color:#15803d}.result-compare .delta.down{color:#b91c1c}
.result-note{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){.result-card:not([hidden]){animation:resultIn .35s ease both}}
@keyframes resultIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:720px){
 .result-card{padding:16px}
 .result-card h2{font-size:20px}
 .run-left{text-align:left}
 .run-count button{min-height:44px}
 .player-head select,select,input{font-size:16px;min-height:44px}
}
/* release 370 (design panel): inside the sport page the frame lines up with the "Your results" heading and the editor card above */
.analysis{padding:12px 1px 28px}
@media(max-width:720px){.analysis{padding:8px 1px 20px}}
/* release 370 (design panel): the leaderboard sort buttons get a 44px hit area without making the header row taller */
th button{display:inline-flex;align-items:center;min-height:44px;margin:-14px 0;padding:0 2px}
