body{margin:0;font-family:system-ui,sans-serif;line-height:1.4}main{max-width:48rem;margin:0 auto;padding:0 16px 32px}.field{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}input,select,button{font:inherit;padding:6px 8px}.error{color:#b00020;margin:0}pre{white-space:pre;border:1px solid #8884;padding:12px;overflow-x:auto}.board{margin:16px 0}.board svg{color:#111;background:#fff;width:100%;height:auto;display:block}.board .pitch{fill:#cfe8c8}.board .line{stroke:#fff;stroke-width:3px}.board .slot rect:first-child{fill:#fff;stroke:#333;stroke-width:1.5px}.board .slot.empty rect:first-child{fill:none;stroke-dasharray:5 4}.board text{fill:#111;font:13px system-ui,sans-serif}.board .name{font-weight:600}.board .rating,.board .dice,.board .empty-label{font-size:11px}.board .yellow{font-size:10px;font-weight:700}.board .track-off{fill:#fff;stroke:#666}.board .track-on{fill:#ffd54a;stroke:#000;stroke-width:3px}.board .track-label,.board .side-label{font-weight:600}.board .score{font-size:20px;font-weight:700}.board .disc{stroke:#000;stroke-width:1.5px}.board .ball{fill:#fff}.board .key-O{fill:#ff9f40}.board .key-D{fill:#7ec8ff}.board .disc-label{font-size:12px;font-weight:700}.board .legend{margin:8px 0;font-size:.9rem}.board .reserves h3{margin:8px 0 4px;font-size:1rem}.board .reserves ul{margin:0;padding-left:20px}.replay .controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.replay .controls button{min-width:44px;min-height:44px}.replay .step{flex:12rem;align-items:center;gap:8px;display:flex}.replay .step input{flex:1;min-width:0}.replay .step-label{margin:8px 0 4px;font-weight:600}.replay .step-text{border:1px solid #8884;margin-bottom:12px;padding:8px 12px}.replay .step-text p{margin:0}
