/* Railway Switch Master */
#game-root .sim-controls-help { margin-top: 14px; }
.sm-wrap { display: flex; flex-direction: column; gap: 8px; }
.sm-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sm-pill { background: var(--color-bg-alt, #1c1f27); border: 1px solid var(--color-border, #2d3240); border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 14px; }
.sm-sp { flex: 1; display: flex; justify-content: flex-end; }
.sm-wrap .ak-stage { position: relative; width: 100%; max-width: none; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.sm-wrap .ak-stage canvas { width: 100%; height: 100%; display: block; touch-action: manipulation; cursor: pointer; }
.sm-result { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4, 10, 20, .55); }
.sm-card { background: rgba(14, 22, 36, .96); color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 18px 22px; text-align: center; max-width: 88%; }
.sm-card h3 { margin: 0 0 6px; font-size: 22px; } .sm-card p { margin: 4px 0; opacity: .9; }
.sm-stars { font-size: 30px; letter-spacing: 4px; margin: 4px 0 8px; }
.sm-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
