#era407{--ink:#0b155b;--text:#294477;--muted:#657a9f;--line:#ccdef3;--paper:#fff;--soft:#f5f8fd;--blue:#0867ff;color:var(--text);background:var(--paper);font:14px/1.45 Arial,sans-serif}#era407 *{box-sizing:border-box}#era407 [hidden]{display:none!important}#era407 h2{font-size:19px;line-height:1.25;color:var(--ink);margin:0 0 12px}#era407 h3{font-size:15px;color:var(--ink);line-height:1.25;margin:0 0 7px}#era407 p{margin:7px 0 10px}#era407 .subtitle{font-size:21px;font-weight:600;color:var(--ink);margin:0 0 4px}#era407 .intro{margin:0 0 14px}#era407 .panel{border:1px solid var(--line);border-radius:4px;padding:14px;min-width:0;background:var(--paper)}#era407 .presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}#era407 button,#era407 input{font:inherit}#era407 button{cursor:pointer;touch-action:manipulation;color:var(--blue);border:1px solid #3388ff;background:var(--paper);border-radius:4px}#era407 button:disabled{opacity:.48;cursor:default}#era407 button:focus-visible,#era407 input:focus-visible,#era407 summary:focus-visible,#era407 a:focus-visible{outline:3px solid #00a5ef;outline-offset:3px}#era407 .preset{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:9px 8px;text-align:left;height:108px;color:var(--ink)}#era407 .preset.selected{border:2px solid #3388ff;background:#edf6ff;padding:8px 7px}#era407 .preset>.era-art{width:53%;height:90px;flex:0 1 53%;min-width:0}#era407 .preset>span:last-child{flex:1;min-width:0}#era407 .preset strong{font-size:14px;display:block;line-height:1.3}#era407 .preset small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.4}#era407 .radio{position:absolute;left:8px;top:8px;border:1px solid #80a5d1;border-radius:50%;width:12px;height:12px;z-index:2}#era407 .selected .radio{border:3px solid #0867ff;background:#fff}#era407 .era-art{overflow:hidden;min-width:0}#era407 .era-art img{width:100%;height:100%;display:block;object-fit:contain}#era407 .field-card svg{display:block;width:100%;height:100%}#era407 .layout,#era407 .twocol{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:12px}#era407 .input-modes{margin-bottom:15px}#era407 .segmented{display:flex;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--soft)}#era407 .segmented button{border:0;border-right:1px solid var(--line);flex:1;border-radius:0;background:transparent;padding:8px 5px;font-size:12px}#era407 .segmented button:last-child{border-right:0}#era407 .segmented button.active{background:var(--blue);color:#fff}#era407 .input-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,1fr);gap:10px;align-items:center;margin:17px 0}#era407 .input-row label{font-size:13px}#era407 .field{min-width:0}#era407 input{border:1px solid var(--line);border-radius:4px;width:100%;min-width:0;background:var(--paper);color:var(--ink);padding:8px 10px;min-height:35px;color-scheme:light}#era407 input[type=number]{appearance:auto}#era407 .conversion{text-align:center;background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:7px 8px;color:var(--blue);font-size:12px}#era407 .conversion p{margin:0 0 3px}#era407 .conversion small{font-size:11px}#era407 .optional,#era407 .whip-result{border:1px solid var(--line);background:var(--soft);border-radius:4px;margin:12px 0 0;padding:8px 10px}#era407 summary{cursor:pointer;color:var(--ink);font-weight:600;font-size:13px}#era407 summary small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin:3px 0 0 15px}#era407 .optional .input-row{margin:12px 0}#era407 .form-actions{display:flex;gap:9px;margin-top:18px}#era407 .form-actions button{flex:1;min-height:40px;padding:8px}#era407 button.primary,#era407 .actions button:first-child{background:var(--blue);color:#fff;border-color:var(--blue)}#era407 .error{color:#b0292f;font-size:12px;min-height:14px}#era407 .error:empty{margin:0;min-height:0}#era407 .result{background:#e2fbee;border:1px solid #b2ebd2;border-radius:4px;color:var(--ink);text-align:center;padding:12px 8px}#era407 .result b{font-size:14px;display:block}#era407 .result strong{font-size:48px;line-height:1.1;display:block;margin-top:3px;letter-spacing:-1px;font-variant-numeric:tabular-nums}#era407 .metrics{display:grid;gap:8px;margin-top:9px}#era407 .metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}#era407 .metrics>div{background:var(--soft);border:1px solid var(--line);border-radius:4px;text-align:center;padding:9px 4px;min-width:0}#era407 .metrics b{display:block;color:var(--ink);font-size:24px;line-height:1.2}#era407 .metrics small{display:block;font-size:11px;line-height:1.3;margin-top:4px}#era407 .benchmark{margin-top:10px;border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:8px}#era407 .benchmark-head{display:flex;gap:6px;justify-content:space-between;align-items:flex-start;margin-bottom:12px}#era407 .benchmark-head h3{font-size:14px;flex:1}#era407 .benchmark-head label{display:flex;align-items:center;gap:5px;font-size:10px;max-width:44%}#era407 .benchmark-head input{width:65px;min-height:28px;padding:4px;font-size:11px}#era407 .bar-row{display:grid;grid-template-columns:105px 1fr 36px;align-items:center;gap:7px;margin:8px 0;font-size:11px}#era407 .bar-track{background:#dceaf8;height:19px;border-radius:3px;overflow:hidden}#era407 .bar-track i{display:block;height:100%;background:#087aff;transition:width .2s}#era407 #eraRefBar{background:#a4b4ca}#era407 .bar-row b{font-size:13px;color:var(--ink);text-align:right}#era407 .relative{font-size:12px;text-align:center;background:#e0f9e9;border:1px solid #c4efdb;color:#155d44;padding:7px 5px;border-radius:4px}#era407 .relative.above{background:#fff3dd;border-color:#ebce99;color:#7b5318}#era407 .hint{font-size:11px;color:var(--muted);line-height:1.5}#era407 .benchmark>.hint{text-align:center;margin:5px 0 0}#era407 .simulator{margin-top:12px}#era407 .sim-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px;align-items:stretch}#era407 .pitcher-photo{position:relative;overflow:hidden;border-radius:4px;min-width:0;background:var(--soft)}#era407 .pitcher-photo .era-art{height:100%;min-height:310px}#era407 .pitcher-photo .era-art img{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;inset:0}#era407 .watermark{position:absolute;bottom:12px;right:12px;width:34%;height:auto;opacity:.28;z-index:2;pointer-events:none}#era407 .watermark.night{display:none}#era407 .sim-panel{padding:9px;border:1px solid var(--line);border-radius:4px;background:var(--paper);min-width:0}#era407 .sim-panel>h3{font-size:16px;margin-bottom:2px}#era407 .sim-panel>.hint{margin:0 0 7px}#era407 .sim-controls{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;align-items:center}#era407 .diamond svg{display:block;width:100%;height:auto}#era407 .sim-ball{transform-box:fill-box;transform-origin:center}#era407 .sim-buttons>span{font-size:11px;display:block;color:var(--ink)}#era407 .out-dots{display:flex;gap:8px;margin:7px 0 10px}#era407 .out-dots i{display:block;border-radius:50%;width:22px;height:22px;border:2px solid #087aff;background:transparent;transition:background .15s,transform .15s}#era407 .out-dots i.filled{background:#087aff;transform:scale(1.06)}#era407 .sim-buttons>button{display:block;width:100%;padding:7px 3px;font-size:11px;margin:6px 0}#era407 .undo-row{display:flex;gap:5px}#era407 .undo-row button{flex:1;padding:6px 2px;font-size:10px;white-space:nowrap}#era407 #eraComplete{display:block;font-size:10px;color:#159763;min-height:14px;margin-top:5px}#era407 .scenario-result{display:grid;grid-template-columns:1fr 20px 1fr;text-align:center;align-items:center;background:#e2fbee;border:1px solid #b2ebd2;border-radius:4px;color:var(--ink);padding:8px 5px;margin-top:8px}#era407 .scenario-result small{font-size:11px;display:block}#era407 .scenario-result b{font-size:29px;line-height:1.15;font-variant-numeric:tabular-nums}#era407 .scenario-result p{grid-column:1/-1;font-size:11px;margin:6px 0 0}#era407 .sim-panel>.hint:last-child{text-align:center;margin-top:5px;font-size:10px}#era407 .explainer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:4px;margin-top:12px;padding:10px}#era407 .explainer>div{display:flex;gap:10px;align-items:flex-start;border-right:1px solid var(--line);padding-right:8px}#era407 .explainer>div:last-child{border-right:0}#era407 .step-circle{border-radius:50%;background:#087aff;color:#fff;display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;font-size:15px;font-weight:700}#era407 .explainer p{font-size:11px;margin:0}#era407 .explainer b{display:block;color:var(--ink);font-size:12px;line-height:1.3}#era407 .explainer small{display:block;margin-top:4px;color:var(--muted);font-size:10px}#era407 .actions{display:flex;gap:9px;margin-top:12px}#era407 .actions button{flex:1;padding:9px 5px;font-size:13px}#era407 .twocol{margin-top:12px}#era407 .twocol p{font-size:13px;line-height:1.6}#era407 .faq details{border:1px solid var(--line);border-radius:3px;margin:7px 0;padding:7px 8px}#era407 .faq summary{font-size:12px;font-weight:400}#era407 .faq p{font-size:12px}#era407 .sources{margin-top:12px;padding:10px}#era407 .sources h2{font-size:16px;margin-bottom:7px}#era407 .source-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#era407 .source-list a{border:1px solid var(--line);border-radius:4px;padding:9px;color:var(--text);text-decoration:none;font-size:12px;min-width:0}#era407 .source-list strong{display:block;color:var(--ink)}#era407 .source-list small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}#era407 .small-print{text-align:center;font-size:10px;color:var(--muted);margin:6px 0 0}#era407 .related{margin-top:12px}#era407 .related h2{font-size:16px;margin-bottom:7px}#era407 .related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#era407 .related a{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:4px;padding:7px;text-decoration:none;color:var(--ink);font-size:12px;min-width:0}#era407 .related .era-art{width:80px;height:62px;flex:0 0 80px}#era407 .related small{display:block;font-size:10px;color:var(--muted);margin-top:4px}#era407 textarea{width:100%;min-height:140px;color:var(--ink);background:var(--paper);border:1px solid var(--line)}html.st-master-dark #era407{--ink:#dfebff;--text:#bfcee0;--muted:#a6b9d1;--line:#35526f;--paper:#112438;--soft:#152e47;background:#0b1b2c}html.st-master-dark #era407 .preset.selected{background:#1b3a59;border-color:#6fa8fc}html.st-master-dark #era407 input{color-scheme:dark}html.st-master-dark #era407 .result,html.st-master-dark #era407 .scenario-result{background:#153d33;border-color:#397d68;color:#c6f2df}html.st-master-dark #era407 .relative{background:#153d33;border-color:#397d68;color:#c6f2df}html.st-master-dark #era407 .relative.above{background:#3c301c;color:#f0d8a5;border-color:#7b6236}html.st-master-dark #era407 .bar-track{background:#254260}html.st-master-dark #era407 .watermark.day{display:none}html.st-master-dark #era407 .watermark.night{display:block}html.st-master-dark #era407 .error{color:#ffb7c4}@media(max-width:800px){#era407 .bar-row{grid-template-columns:90px 1fr 32px;font-size:10px}#era407 .metrics b{font-size:20px}#era407 .preset strong{font-size:12px}#era407 .preset small{font-size:11px}#era407 .benchmark-head{flex-direction:column}#era407 .benchmark-head label{max-width:none}#era407 .undo-row{flex-direction:column}}@media(max-width:650px){#era407 .layout,#era407 .twocol,#era407 .sim-grid{grid-template-columns:1fr}#era407 .presets{gap:6px}#era407 .preset{flex-direction:column;height:auto;min-height:150px;padding:17px 6px 9px;gap:4px;justify-content:center;text-align:center}#era407 .preset.selected{padding:16px 5px 8px}#era407 .preset>.era-art{width:100%;height:65px;flex:0 0 65px}#era407 .preset strong{font-size:12px}#era407 .preset small{font-size:10px}#era407 .pitcher-photo{aspect-ratio:1.5/1}#era407 .pitcher-photo .era-art{min-height:0}#era407 .sim-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#era407 .undo-row{flex-direction:row}#era407 .explainer{grid-template-columns:1fr}#era407 .explainer>div{border-right:0;border-bottom:1px solid var(--line);padding:0 0 9px}#era407 .explainer>div:last-child{border:0;padding-bottom:0}#era407 .source-list,#era407 .related>div{grid-template-columns:1fr}#era407 .result strong{font-size:43px}#era407 .actions button{font-size:11px}#era407 .benchmark-head{flex-direction:row}#era407 .benchmark-head label{max-width:45%}#era407 .input-row{grid-template-columns:minmax(100px,1.1fr) minmax(120px,1fr)}#era407 .subtitle{font-size:20px}}@media(prefers-reduced-motion:reduce){#era407 *{transition:none!important;animation:none!important}}
#era407 .result strong,#era407 .metrics b,#era407 .scenario-result b{overflow-wrap:anywhere}
html.st-master-dark #era407 button:not(.primary):not(.active):not(.preset){color:#a9ceff}
html.st-master-dark #era407 .conversion{color:#a9ceff}
html.st-master-dark #era407 .actions button:first-child{color:#fff}
/* W408: photo-based stadium and play sequence; scoped to simulator. */
#era407 .simulator>.sim-panel{padding:0;border:0}
#era407 .stadium-stage{position:relative;aspect-ratio:3/2;overflow:hidden;border-radius:5px;isolation:isolate;background:#183d24;margin-top:10px}
#era407 .stadium-plate{display:block;width:100%;height:100%;object-fit:contain}
#era407 .play-overlay{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 1px 2px #10222088);pointer-events:none}
#era407 .play-status{position:absolute;top:12px;left:12px;max-width:80%;padding:9px 13px;border:1px solid #ffffff40;border-radius:5px;background:#0b2346e8;color:#fff;font-size:12px;z-index:3;box-shadow:0 3px 12px #0002}
#era407 .fielder{position:absolute;transform:translate(-50%,-50%);width:21px;height:21px;border-radius:50%;background:#fffffff0;color:#122f58;border:1px solid #183751;font-size:12px;line-height:19px;text-align:center;font-weight:bold;box-shadow:0 2px 5px #0004}
#era407 .stadium-brand{position:absolute;bottom:12px;right:12px;width:18%;height:auto;opacity:.5;pointer-events:none}
#era407 .play-steps{display:flex;gap:4px;margin:9px 0 12px}
#era407 .play-steps span{flex:1;text-align:center;padding:7px 3px;font-size:12px;font-weight:bold;background:var(--soft);color:var(--muted);border-radius:3px;transition:background .2s,color .2s}
#era407 .play-steps span.active{background:#d9eeff;color:#0860c8}
#era407 .play-steps span.done{background:#e0f6eb;color:#17664a}
#era407 .play-console{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center;margin:10px 0}
#era407 .play-console .pitcher-photo{aspect-ratio:4/3;min-height:0}
#era407 .play-console .pitcher-photo .era-art{min-height:0;height:100%}
#era407 .play-console .pitcher-photo .era-art img{object-fit:contain}
#era407 .play-console .sim-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;align-items:center}
#era407 .play-console .sim-buttons>span{font-size:13px}
#era407 .play-console .out-dots{margin:0;justify-self:end}
#era407 .play-console .sim-buttons>button{font-size:13px;margin:0;padding:10px}
#era407 .play-console .undo-row{grid-column:1/-1;flex-direction:row}
#era407 .play-console .undo-row button{font-size:12px;padding:7px}
#era407 .play-console #eraComplete{grid-column:1/-1;min-height:16px;margin:0;font-size:12px}
html.st-master-dark #era407 .play-steps span.active{background:#214d72;color:#d3ebff}
html.st-master-dark #era407 .play-steps span.done{background:#1a4739;color:#c6f2df}
@media(max-width:650px){#era407 .play-console{grid-template-columns:90px minmax(0,1fr);gap:9px}#era407 .play-console .sim-buttons{gap:6px}#era407 .play-console .sim-buttons>button{font-size:10px;padding:9px 2px}#era407 .play-console .sim-buttons>span{font-size:10px}#era407 .play-console .out-dots{gap:5px}#era407 .play-console .out-dots i{width:17px;height:17px}#era407 .play-console .undo-row button{font-size:10px}#era407 .play-console #eraComplete{font-size:10px}#era407 .play-status{top:7px;left:7px;font-size:10px;padding:6px 8px}#era407 .fielder{width:16px;height:16px;font-size:9px;line-height:14px}#era407 .stadium-brand{right:7px;bottom:7px;width:24%}}
/* W409 — shared visual standard for reference and related cards. */
#era407 .sources{padding:14px;border-radius:7px}
#era407 .sources h2{font-size:20px;margin-bottom:12px}
#era407 .source-list a{display:flex;align-items:center;gap:12px;padding:12px 10px;min-height:78px;border-radius:6px}
#era407 .source-logo{display:flex;align-items:center;justify-content:center;flex:0 0 60px;min-height:46px;padding:0 10px 0 0;border-right:1px solid var(--line)}
#era407 .source-logo img{display:block;width:50px;height:34px;object-fit:contain}
#era407 .source-copy{min-width:0}
#era407 .source-copy strong{font-size:12px;line-height:1.4}
#era407 .source-copy small{font-size:11px;color:var(--blue);line-height:1.4}
#era407 .sources .small-print{margin-top:10px;font-size:11px}
#era407 .related{margin-top:32px}
#era407 .related>.related-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
#era407 .related-heading h2{font-size:23px;margin:0}
#era407 .related-heading .category-link{display:block;border:0;padding:0;font-size:12px;color:var(--blue);text-align:right;white-space:nowrap}
#era407 .related>.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#era407 .related-grid>a{min-height:150px;padding:12px 10px;gap:10px;border-radius:6px}
#era407 .related .era-art{width:88px;height:100px;flex:0 0 88px}
#era407 .related-grid b{font-size:14px;line-height:1.4;display:block}
#era407 .related-grid small{font-size:12px;line-height:1.5;margin-top:8px}
html.st-master-dark #era407 .source-copy small,html.st-master-dark #era407 .related-heading .category-link{color:#a9ceff}
@media(max-width:800px){#era407 .source-logo{flex-basis:44px;padding-right:7px}#era407 .source-logo img{width:37px}#era407 .source-list a{gap:8px}#era407 .related .era-art{width:65px;flex-basis:65px;height:85px}#era407 .related-grid b{font-size:12px}#era407 .related-grid small{font-size:11px}}
@media(max-width:650px){#era407 .related>.related-grid{grid-template-columns:1fr}#era407 .source-logo{flex-basis:70px;padding-right:12px}#era407 .source-logo img{width:54px}#era407 .source-list a{min-height:76px;gap:14px}#era407 .source-copy strong{font-size:13px}#era407 .source-copy small{font-size:12px}#era407 .related>.related-heading{align-items:flex-start;flex-direction:column;gap:8px}#era407 .related-heading h2{font-size:21px}#era407 .related-grid>a{min-height:132px;padding:12px}#era407 .related .era-art{width:100px;flex-basis:100px;height:100px}#era407 .related-grid b{font-size:15px}#era407 .related-grid small{font-size:12px}}
