:root{color-scheme:dark;--bg:#0a0e18;--panel:#141b2e;--line:#303d57;--text:#f1f0fb;--muted:#b1bdd0;--purple:#c4a4fa}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% -25%,#302449 0%,#0a0e18 65%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text)}a{color:inherit}button,input,select{font:inherit}header{border-bottom:1px solid #2d3650;background:#0d101c}.wrap{max-width:1100px;margin:auto;padding:0 19px}.top{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:15px}.brand{display:flex;align-items:center;gap:10px;color:#eee;text-decoration:none;font-size:22px;font-weight:850;letter-spacing:-.04em}.brand img{width:39px;height:39px}.brand b{color:var(--purple)}.account{border:1px solid #39405d;border-radius:10px;padding:10px 13px;background:#1b2134;text-decoration:none;color:#d5ddf4;font-size:12px;font-weight:800}.hero{padding:42px 0 23px}.eyebrow{font-size:11px;color:var(--purple);font-weight:800;letter-spacing:.12em}.hero h1{font-size:clamp(33px,6vw,46px);letter-spacing:-.05em;margin:10px 0}.hero p{font-size:14px;line-height:1.65;color:var(--muted);max-width:730px;margin:0}.layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.8fr);gap:17px;align-items:start;padding-bottom:45px}.panel{border:1px solid #37435c;border-radius:17px;background:#151d30;padding:22px;box-shadow:0 10px 35px #03050b30}.panel h2{font-size:20px;letter-spacing:-.03em;margin:0 0 8px}.sub{margin:0 0 17px;font-size:12px;color:#a9b8cc;line-height:1.55}.control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.field{display:grid;gap:6px;font-size:12px;color:#b8c5d7;font-weight:750}.field input,.field select{min-width:0;width:100%;border:1px solid #455572;background:#0a1222;border-radius:9px;min-height:43px;padding:10px;color:white;font-size:14px}.toolbar{margin:23px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.toolbar h3{font-size:15px;margin:0}.button{border:1px solid #8962ce;border-radius:10px;background:#794dd2;color:white;font-weight:750;padding:10px 14px;min-height:41px;cursor:pointer}.button:hover{background:#8e65dd}.button-secondary{border-color:#465270;background:#262d44;color:#ddd9f1}.button-secondary:hover{background:#343957}.leg-row{display:grid;grid-template-columns:minmax(96px,1fr) minmax(140px,1.8fr) minmax(100px,.8fr) 36px;gap:7px;align-items:end;background:#0e1626;border:1px solid #293750;padding:11px;border-radius:11px;margin:0 0 8px}.leg-row label{font-size:11px;display:grid;gap:5px;color:#9fb2cf;min-width:0}.leg-row input,.leg-row select{min-width:0;width:100%;background:#111c2e;color:#e9edfa;border:1px solid #404b65;border-radius:8px;min-height:39px;padding:8px;font-size:12px}.remove{border:1px solid #4a4c65;background:#25253b;color:#bdb7d0;border-radius:8px;width:36px;height:39px;cursor:pointer;font-size:20px}.remove:disabled{opacity:.2;cursor:not-allowed}.summary{display:grid;gap:15px}.summary strong{font-size:clamp(37px,7vw,56px);font-weight:850;color:#c5a2fa;letter-spacing:-.06em;line-height:1}.status{font-size:12px;color:#cbd7ec;line-height:1.6}.note{font-size:12px;color:#a6b2c9;line-height:1.65;margin:0}.summary .copy{width:100%}.disclaimer{padding:14px;border-radius:11px;border:1px solid #4a405f;background:#251e36;color:#cdbce3;font-size:12px;line-height:1.55}.invalid{color:#f3b4bb}.good{color:#6be0bc}.footer{padding:22px 0 40px;border-top:1px solid #27334a;color:#899cb8;font-size:12px;display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap}.footer a{color:#b6c3db;text-decoration:none}.inline-link{color:#c6a8fc}
@media(max-width:790px){.layout{grid-template-columns:1fr}.summary{gap:13px}.hero{padding-top:30px}}
@media(max-width:530px){.wrap{padding:0 14px}.top{min-height:66px}.panel{padding:15px}.control-grid{grid-template-columns:1fr 1fr}.control-grid label:first-child{grid-column:1/-1}.leg-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 39px;gap:7px}.leg-row label:nth-child(3){grid-column:1/3}.leg-row .remove{grid-column:3;grid-row:1}.leg-row label:nth-child(2){grid-column:2;grid-row:1}.leg-row label:nth-child(1){grid-column:1;grid-row:1}.hero h1{font-size:34px}}

/* v3.57 automatic-scanner inspired layout; compact preview and configurable inputs. */
.hero{padding:35px 0 22px}.hero .purple,.studio-builder .purple{color:#c4a4fa}
.studio-builder{margin:0 0 23px;background:#151c30}.studio-builder h2{font-size:28px;margin:7px 0 0}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}
.read-only{font-size:12px;color:#b8cae8;border:1px solid #44506b;border-radius:10px;padding:7px 9px;white-space:nowrap}
.ms357-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.slider-field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#b9c6df;font-weight:750;min-width:0}
.slider-field output{font-size:23px;font-weight:850;color:#cba7ff;letter-spacing:-.03em}
.slider-field input[type=range],.candidate-price input[type=range]{width:100%;min-height:32px;cursor:pointer;touch-action:pan-y;accent-color:#9661d9}
.exact-range{color:#b6bdd1;margin:14px 0 8px;font-size:12px}
.exact-range summary{cursor:pointer;display:inline-block;padding:7px 0;color:#c0a8e0}
.exact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:390px;padding:9px 0}
.exact-grid label{display:grid;gap:6px;font-size:11px}
.exact-grid input{color:#fff;background:#11192b;border-radius:8px;border:1px solid #465270;min-height:41px;padding:10px;max-width:100%}
.slip-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}
.slip-presets span{font-size:11px;color:#9eacca}
.slip-presets button{border:1px solid #415274;border-radius:18px;background:#242c40;color:#d7c2f9;padding:7px 11px;font-size:12px;font-weight:750;cursor:pointer;min-height:35px}
.slip-presets button:hover{background:#302644}
.sport-filter{display:flex;gap:12px 19px;align-items:center;flex-wrap:wrap;border-radius:12px;border:1px solid #394a67;padding:13px;background:#111a2b}
.sport-filter legend{font-size:12px;color:#b4bed1;font-weight:800;padding:0 7px}
.sport-filter label{display:inline-flex;align-items:center;gap:7px;color:#e2d9f2;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer}
.sport-filter input{accent-color:#a776ee;width:17px;height:17px;cursor:pointer}
.results{margin:0 0 23px}.result-title{display:flex;justify-content:space-between;align-items:center;gap:13px;margin:0 0 14px}
.result-title h2{font-size:22px;margin:0}.result-title span{color:#aabbd3;font-size:12px}
.result-card{border:1px solid #4c406f;border-radius:17px;overflow:hidden;background:linear-gradient(145deg,#171e32,#101626)}
.result-top{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #34405c}
.result-top .rank{display:grid;place-items:center;border-radius:10px;border:1px solid #6c4b93;color:#d9a8fb;background:#352546;font-weight:800;padding:10px;min-width:43px}
.result-context{flex:1;min-width:0;font-size:14px;font-weight:800}
.result-multiplier{font-size:29px;font-weight:850;color:#c6a2ff;letter-spacing:-.04em}
.leg-preview{display:grid}.preview-leg{display:grid;grid-template-columns:100px minmax(0,1fr) 58px;gap:10px;align-items:center;min-height:53px;padding:12px 17px;border-bottom:1px solid #2b3750}
.preview-sport{color:#ccacf6;font-weight:800;font-size:11px}
.preview-name{color:#e7e6f2;font-weight:760;font-size:12px;min-width:0;overflow-wrap:anywhere}
.preview-price{color:#c7d5e8;text-align:right;font-weight:800;font-size:12px}
.result-bottom{padding:15px;font-size:12px;color:#b4c0d5}
.results .note{margin:10px 2px;color:#879ab6;font-size:11px}
.edit-candidates{margin-bottom:25px}.edit-candidates>summary{font-size:19px;font-weight:850;color:#f0e5ff;cursor:pointer;padding:3px 0 13px}
.edit-candidates>summary::marker{color:#a47edb}
.edit-candidates .sub{margin:5px 0 12px}
.candidate-row{display:grid;grid-template-columns:28px minmax(90px,.8fr) minmax(150px,1.6fr) minmax(155px,1.1fr) 31px;align-items:center;gap:8px;padding:11px 10px;border-bottom:1px solid #303a52;min-width:0}
.candidate-row:nth-child(odd){background:#0f1827}
.candidate-no{display:grid;place-items:center;color:#b6a0d0;font-size:12px;font-weight:800}
.compact-field{display:grid;gap:5px;font-size:11px;color:#a8b8d0;min-width:0}
.compact-field .label{font-size:10px}
.compact-field input,.compact-field select{width:100%;max-width:100%;min-width:0;background:#131c2b;border:1px solid #35445c;border-radius:7px;min-height:38px;color:#f0ecff;padding:8px;font-size:12px}
.candidate-price{display:grid;grid-template-columns:minmax(70px,1fr) 47px 55px;align-items:center;gap:6px}
.candidate-price .candidate-price-slider{width:100%;min-height:22px}
.candidate-price .price-out{font-size:11px;text-align:center;color:#cdaaf9;font-weight:800}
.candidate-price input.price-exact{min-height:34px;font-size:11px;padding:5px 4px;text-align:center}
.candidate-row .remove{width:31px;height:35px;font-size:19px}
.editor-actions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap;padding-top:16px}
.editor-actions .button{font-size:12px;min-height:40px}
.disclaimer{margin:0 0 25px;font-size:12px;line-height:1.6}
@media(max-width:850px){.candidate-row{grid-template-columns:27px minmax(100px,.8fr) minmax(120px,1.3fr) 30px}.candidate-row .compact-field:nth-of-type(3){grid-column:2/4;grid-row:2}.candidate-row .remove{grid-column:4;grid-row:1}.candidate-price{grid-template-columns:minmax(130px,1fr) 55px 62px}}
@media(max-width:580px){.wrap{padding:0 14px}.hero{padding:25px 0 19px}.ms357-controls{grid-template-columns:1fr 1fr;gap:12px}.ms357-controls .slider-field:first-child{grid-column:1/-1}.slider-field{gap:5px}.slider-field output{font-size:20px}.studio-builder{padding:18px 15px}.studio-builder h2{font-size:25px}.sport-filter{gap:10px}.sport-filter label{font-size:11px}.candidate-row{grid-template-columns:25px minmax(95px,.75fr) minmax(130px,1.4fr) 31px;padding:12px 6px;gap:6px}.compact-field .label{font-size:10px}.candidate-price{grid-template-columns:minmax(100px,1fr) 42px 54px}.candidate-price .price-out{font-size:10px}.result-top{padding:12px}.preview-leg{grid-template-columns:66px minmax(0,1fr) 46px;gap:7px;padding:10px}.result-multiplier{font-size:25px}.result-context{font-size:12px}.section-head{margin-bottom:13px}}

/* v3.58: auto-generated actual-bookmaker quote combinations on public Studio */
.studio-auto-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 13px}
.studio-auto-controls button{min-width:150px}
#auto-status{font-size:12px;color:#aabbd3}
.studio-auto-slips{display:grid;grid-template-columns:1fr;gap:12px}
.studio-generated-card{box-shadow:0 8px 24px #0002}
.studio-generated-card .result-top{display:flex;gap:12px}
.studio-more-legs{background:#10192c;border-bottom:1px solid #35415b}
.studio-more-legs summary{cursor:pointer;font-size:11px;font-weight:800;padding:12px 17px;color:#c9a9f5}
.studio-auto-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.studio-auto-bottom span{flex:1;min-width:165px;font-size:11px}
.studio-auto-bottom button{min-height:35px;font-size:11px;white-space:nowrap}
.studio-auto-empty{color:#b5c2d9;font-size:13px;border:1px solid #46506b;background:#151e31;padding:20px;border-radius:12px;line-height:1.6}
#auto-coverage{padding:10px 1px 0;color:#8c9ab1;line-height:1.5}
.manual-preview{border:1px solid #354464;border-radius:14px;background:#121b2e;padding:16px;margin:18px 0}
.manual-preview>summary{cursor:pointer;color:#d6b7fc;font-size:13px;font-weight:850}
.manual-preview .results{margin:15px 0 0}
.edit-candidates:not([open]){padding:17px}
@media(max-width:530px){.studio-auto-bottom{align-items:flex-start}.studio-auto-bottom button{width:100%}.studio-auto-controls button{width:100%}.studio-more-legs summary{font-size:11px}}

/* v3.59: full-game spread cards show selection, opponent, clock and transparent bookmaker quote. */
.studio-generated-card .preview-spread-leg{grid-template-columns:88px minmax(0,1fr) minmax(80px,95px);gap:11px;align-items:center;min-height:80px}
.preview-spread-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.preview-spread-info .preview-name{font-size:14px;color:#f2eafc;letter-spacing:-.015em;font-weight:850;line-height:1.25}
.preview-matchup{font-size:11px;color:#ccd6eb;line-height:1.4;overflow-wrap:anywhere}
.preview-quote-detail{font-size:10px;color:#95a4c0;line-height:1.45;overflow-wrap:anywhere}
.preview-spread-leg .preview-price{display:flex;flex-direction:column;gap:3px;text-align:right;align-items:flex-end}
.preview-spread-leg .preview-price strong{font-size:14px;color:#e5d1fb}
.preview-spread-leg .price-caption{font-size:9px;color:#99a9bf;font-weight:650}
.studio-auto-empty{font-size:14px;color:#d8d6ed;line-height:1.65}
@media(max-width:580px){.studio-generated-card .preview-spread-leg{grid-template-columns:59px minmax(0,1fr) 69px;padding:12px 9px;gap:7px}.preview-spread-info .preview-name{font-size:12px}.preview-matchup{font-size:10px}.preview-quote-detail{font-size:9px}.preview-spread-leg .preview-price strong{font-size:12px}.preview-spread-leg .price-caption{font-size:8px}}
