/* Transport upgrade (2026-10-20): instrument strip, contextual action buttons, ride sheets. Minimal Premium tokens. */
#tv-hud{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;max-width:min(680px,calc(100% - 24px));padding:7px 12px;border-radius:16px;background:var(--mp-chip,rgba(255,255,255,.88));color:var(--mp-ink,#111);box-shadow:var(--mp-shadow-chip,0 2px 10px rgba(0,0,0,.12));-webkit-backdrop-filter:var(--mp-blur);backdrop-filter:var(--mp-blur);font:600 12px/1.15 var(--mp-font,system-ui,sans-serif);pointer-events:none;box-sizing:border-box;font-variant-numeric:tabular-nums}
#tv-hud[hidden]{display:none!important}
#tv-hud .tv-kind{font-size:10px;letter-spacing:.08em;color:var(--mp-muted,#8a857a);font-weight:700}
#tv-hud .tv-cell{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}
#tv-hud .tv-cell small{font-size:10px;font-weight:600;color:var(--mp-muted,#8a857a)}
#tv-hud .tv-cell b{font-size:15px;font-weight:700}
#tv-hud .tv-up{color:#2f9e5b}#tv-hud .tv-down{color:#d9822b}
#tv-hud .tv-hot b,#tv-hud .tv-hot .tv-bar span{color:#e5484d;background:#e5484d}
#tv-hud .tv-bar{display:inline-block;width:46px;height:6px;border-radius:9px;background:var(--mp-off,#e9e6df);overflow:hidden;vertical-align:middle}
#tv-hud .tv-bar span{display:block;height:100%;background:var(--mp-ink,#111);border-radius:9px}
#tv-hud .tv-warn{flex-basis:100%;text-align:center;font-style:normal;font-weight:800;color:#fff;background:#e5484d;border-radius:9px;padding:3px 8px;letter-spacing:.03em;animation:tv-blink 1s steps(2) infinite}
#tv-hud .tv-extra{flex-basis:100%;text-align:center;font-style:normal;font-weight:500;color:var(--mp-ink-2,#6b665c)}
#tv-hud .tv-lights{display:inline-flex;gap:3px;vertical-align:middle}
#tv-hud .tv-lights i{width:9px;height:9px;border-radius:50%;background:#f6f4ee;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
#tv-hud .tv-lights i.r{background:#e5484d}
#tv-hud .tv-sig{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;box-shadow:0 0 0 1px rgba(0,0,0,.3)}
#tv-hud .tv-sig.g{background:#2fbf5b}#tv-hud .tv-sig.y{background:#f2c230}#tv-hud .tv-sig.r{background:#e5484d}
@keyframes tv-blink{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){#tv-hud .tv-warn{animation:none}}
/* contextual buttons live in .gesture-actions (touch screens) */
.gesture-actions .tv-act[hidden]{display:none!important}
.gesture-actions .tv-act{min-width:44px;min-height:44px}
/* ride / board / hail sheet */
#tv-sheet{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:6;width:min(420px,calc(100% - 24px));max-height:min(70%,520px);overflow:auto;padding:14px;border-radius:20px;background:var(--mp-chip,rgba(255,255,255,.94));color:var(--mp-ink,#111);box-shadow:0 10px 40px rgba(0,0,0,.22);-webkit-backdrop-filter:var(--mp-blur);backdrop-filter:var(--mp-blur);font:500 14px/1.35 var(--mp-font,system-ui,sans-serif);box-sizing:border-box}
#tv-sheet[hidden]{display:none!important}
#tv-sheet h3{margin:0 44px 4px 0;font-size:16px;font-weight:700}
#tv-sheet p{margin:0 0 10px;color:var(--mp-ink-2,#6b665c);font-size:13px}
#tv-sheet .tv-x{position:absolute;right:10px;top:10px;width:44px;height:44px;border-radius:22px;border:0;background:var(--mp-off,#e9e6df);color:var(--mp-ink,#111);font-size:20px}
#tv-sheet .tv-list{display:grid;gap:8px}
#tv-sheet .tv-list button{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border:0;border-radius:var(--mp-r-btn,12px);background:var(--mp-off,#e9e6df);color:var(--mp-ink,#111);font:600 14px/1.2 var(--mp-font,system-ui,sans-serif);text-align:left}
#tv-sheet .tv-list button small{display:block;font-weight:500;color:var(--mp-muted,#8a857a);font-size:12px}
#tv-sheet .tv-list button.tv-primary{background:var(--mp-ink,#111);color:var(--mp-on-ink,#fff)}
#tv-sheet .tv-list button.tv-primary small{color:inherit;opacity:.75}
/* announcement ticker (stations, airport) */
#tv-announce{position:absolute;left:50%;top:58px;transform:translateX(-50%);z-index:4;max-width:min(560px,calc(100% - 24px));padding:6px 12px;border-radius:12px;background:#111;color:#ffb21a;font:700 12px/1.3 var(--mp-font,system-ui,sans-serif);text-align:center;pointer-events:none;box-sizing:border-box}
#tv-announce[hidden]{display:none!important}
#tv-announce span{display:block;color:#f5f3ee;font-weight:600}
/* phones: the strip and the ticker join the banner lane (mobile.js) */
.m-phone #tv-hud,.m-phone #tv-announce{position:static!important;transform:none!important;max-width:100%!important;width:100%;margin:0;font-size:11px;padding:5px 8px;gap:2px 8px}
.m-phone #tv-hud .tv-cell b{font-size:13px}
.m-phone #tv-sheet{bottom:calc(var(--m-ctrl,90px) + 4px);max-height:min(60dvh,460px)}
.m-phone body.m-modal #tv-sheet{display:none!important}
/* Desktop/tablet: when a job card sits at the top centre, move the gauge to the bottom centre. */
@media(min-width:761px){.mission-active #tv-hud{top:calc(var(--mission-bottom,170px) + 8px)}}
