.baseball-game{background:#123c36;color:#fff6e2;padding:24px;border-radius:16px;border:2px solid #c5a370}.baseball-game h4,.baseball-game h5{color:#fff!important;font-family:system-ui!important;font-size:1.3rem;line-height:1.4}.baseball-kicker{font-size:.75rem;font-weight:800;letter-spacing:.12em;color:#edcf90}.baseball-hud{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#08271f;padding:16px;border-bottom:4px solid #cea36b;border-radius:8px;font-variant-numeric:tabular-nums}.baseball-hud strong{font-size:1.2rem}.baseball-game input,.baseball-game select,.baseball-game textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0;padding:12px;background:#fff9eb;color:#203b34}.baseball-plays,.baseball-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0}.baseball-game button{white-space:normal;line-height:1.6;padding:14px!important;text-align:left;background:#f4ecd8!important;color:#163c32!important;border:2px solid #d2ab77!important}.baseball-game p{line-height:1.65}.baseball-status{color:#f2d590;font-weight:bold;min-height:1.5em}

.baseball-field{position:fixed;inset:0;z-index:10000;background:#102d2a;color:#fff6e3;display:flex;align-items:center;flex-direction:column;gap:8px;padding:14px 18px;box-sizing:border-box;overflow:auto}.baseball-field .field-score{font-size:1.15rem;font-weight:800;margin:0;text-align:center}.baseball-field .field-help{max-width:1060px;padding:7px 12px;margin:0;border-left:4px solid #e8bd79;background:#ffffff0c;font-size:.85rem;line-height:1.45}.baseball-field canvas{width:min(100%,calc((100dvh - 260px)*1.607));height:auto;max-width:1100px;flex-shrink:0;border:2px solid #e1bd82;border-radius:12px;touch-action:none;background:#112f3c;box-sizing:border-box}.baseball-field canvas:focus-visible{outline:3px solid #8de6ff;outline-offset:3px}.field-status{font-size:.9rem;font-weight:650;line-height:1.4!important;margin:0;min-height:1.4em}.field-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;max-width:1100px}.baseball-field .field-controls button{font-size:.85rem;padding:10px!important;min-height:44px;user-select:none;touch-action:none;line-height:1.35}.field-controls .field-dpad{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,42px);gap:3px}.field-controls .field-dpad button{padding:2px!important;text-align:center;min-width:0;min-height:0}.field-dpad button:first-child{grid-column:2}.field-dpad button:nth-child(2){grid-column:1;grid-row:2}.field-dpad button:nth-child(3){grid-column:2;grid-row:2}.field-dpad button:nth-child(4){grid-column:3;grid-row:2}.baseball-field .field-action{background:#b8e79d!important;min-height:62px!important;max-width:140px}.field-style-label{font-size:.8rem;max-width:175px}.baseball-field .field-style{padding:7px;margin:5px 0 0;font-size:.85rem}.baseball-field .field-leave{background:#143f3a!important;color:#fff6e4!important}.baseball-field button:focus-visible{outline:3px solid #9aeaff;outline-offset:3px}.baseball-field [hidden]{display:none!important}.baseball-field button:disabled{opacity:.5}@media(max-width:600px){.baseball-field{padding:10px 7px;gap:8px}.baseball-field canvas{width:100%}.baseball-field .field-help{font-size:.8rem}.field-controls{gap:6px;max-width:420px}.baseball-field .field-controls button{font-size:.8rem;padding:8px!important}.field-style-label{max-width:160px}}

.baseball-field .field-style-label{color:#fff6e3!important}.baseball-field .field-style-label span{color:#fff6e3!important}
