.yard { background:#1e3029; border:1px solid #425c4e; border-radius:16px; padding:clamp(12px,2.7vw,27px); color:#e6ebdc; --text-2:#cfddca; }
.score,.bar,.switches { display:flex; align-items:center; gap:.6rem; }
.score { justify-content:space-between; margin-bottom:.7rem; font-variant-numeric:tabular-nums; }
.score strong { color:#ffd28b; font-size:1.4rem; }
#map { display:block; width:100%; border-radius:10px; }
.ties,.rails,.active-route { fill:none; stroke-linecap:butt; }
.ties { stroke:#8d8170; stroke-width:12; stroke-dasharray:3 6; }
.rails { stroke:#59655c; stroke-width:7.5; }
.active-route { stroke:#b4b6a8; stroke-width:3.5; }
.active-route.on { stroke:#f3cc71; }
.station,.point,.letter { text-anchor:middle; font-family:system-ui,sans-serif; font-weight:850; }
.station { fill:white; font-size:25px; }.point { fill:white; font-size:16px; }.letter { fill:#30291d; font-size:20px; }
.switches { margin-top:.85rem; }
.switches button { flex:1; padding:.8rem .25rem; background:#375440; color:#fff0cf; border:1px solid #667e67; font-weight:700; }

#dispatch { min-height:1.7em; }

/* 어두운 테마: 넓은 밝은 풀밭이 눈부시지 않게 낮춘다. 밝은 테마는 원래 색 */
#map>rect:first-of-type{fill:#7d9273}#map>path{stroke:#5f8577}
:root[data-theme="light"] #map>rect:first-of-type{fill:#c3d3b5}:root[data-theme="light"] #map>path{stroke:#9cbeb0}
.switches button{min-height:52px}.rules{font-size:.92rem}#sound{background:#2a3d33;color:#e6ebdc;border-color:#4a6152}
