/* Railroad Tycoon */
#game-root .sim-controls-help { margin-top: 14px; }
.ty-wrap { display: flex; flex-direction: column; gap: 8px; }
.ty-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ty-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; font-variant-numeric: tabular-nums; }
.ty-pill.is-neg { border-color: #fb7185; color: #fda4af; }
.ty-sp { flex: 1; display: flex; justify-content: flex-end; }
.ty-bar button.is-on { border-color: #facc15; box-shadow: 0 0 0 3px rgba(250, 204, 21, .4); }
.ty-loco { padding: 6px 8px; border-radius: 10px; background: var(--color-bg-alt, #1c1f27); color: inherit; border: 1px solid var(--color-border, #2d3240); font: 700 13px system-ui, sans-serif; max-width: 240px; }
.ty-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); }
.ty-wrap .ak-stage canvas { width: 100%; height: 100%; display: block; touch-action: manipulation; cursor: crosshair; }
.ty-log { min-height: 64px; font-size: 13px; }
.ty-log p { margin: 2px 0; padding: 4px 10px; border-radius: 8px; background: var(--color-bg-alt, #1c1f27); }
.ty-log p:first-child { border-left: 3px solid #facc15; }
.ty-log p:not(:first-child) { opacity: .6; }
.ty-result { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4, 10, 20, .55); }
.ty-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%; }
.ty-card h3 { margin: 0 0 6px; font-size: 22px; } .ty-card p { margin: 4px 0; opacity: .92; }
.ty-stars { font-size: 30px; letter-spacing: 4px; margin: 4px 0 8px; }
.ty-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
