/* v43 - Coming from out of town: interactive route board above "Your trip, step by step" */
.tvr{--gy:78.6667%;--dot:46px;position:relative;margin:0 0 18px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line);box-shadow:0 40px 80px -56px #081e2280;overflow:hidden}
.tvr-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:14px 18px 14px 22px;background:var(--night);color:var(--on-night)}
.tvr-hint{display:inline-flex;align-items:center;gap:10px;font-size:.88rem;font-weight:600}
.tvr-hint i{display:inline-grid;color:#6fd8e1}
.tvr-ctl{display:flex;align-items:center;gap:8px}
.tvr-ctl button{display:inline-grid;place-items:center;height:36px;min-width:36px;border-radius:999px;border:1px solid #e9f3f42e;background:#ffffff0f;color:var(--on-night);cursor:pointer;transition:background-color .2s,border-color .2s,opacity .2s}
.tvr-ctl button:hover:not(:disabled){background:#ffffff24;border-color:#e9f3f466}
.tvr-ctl button:focus-visible{outline:2px solid #6fd8e1;outline-offset:2px}
.tvr-ctl button:disabled{opacity:.35;cursor:default}
.tvr-ctl .tvr-play{display:inline-flex;gap:8px;padding:0 16px 0 12px;font:inherit;font-size:.86rem;font-weight:600;background:#6fd8e1;border-color:#6fd8e1;color:#0c1e22}
.tvr-ctl .tvr-play:hover:not(:disabled){background:#8fe3ea;border-color:#8fe3ea}
.tvr-play .i-pause{display:none}
.tvr.is-playing .tvr-play .i-play{display:none}
.tvr.is-playing .tvr-play .i-pause{display:inline}
.tvr-count{min-width:64px;text-align:center;font-size:.84rem;font-weight:600;color:#e9f3f4b3}
.tvr-count b{color:var(--on-night);font-weight:700}
[dir=rtl] .tvr-prev svg,[dir=rtl] .tvr-next svg{transform:scaleX(-1)}
.tvr-zones{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.tvr-zone{display:flex;align-items:center;gap:8px;padding:14px 16px 0;font-size:.8rem;font-weight:600;color:var(--teal-ink);white-space:nowrap;overflow:hidden}
.tvr-zone svg{flex:none}
.tvr-zone em{font-style:normal;font-weight:500;color:var(--ink-3)}
.tvr-zone.is-city{color:#8a3e22}
.tvr-zone.z1{grid-column:1/3}.tvr-zone.z2{grid-column:3/6}.tvr-zone.z3{grid-column:6/7}
.tvr-body{position:relative}
.tvr-zones,.tvr-sky,.tvr-stops{position:relative;z-index:1}
.tvr-bands{position:absolute;inset:0;z-index:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));pointer-events:none}
.tvr-band{grid-row:1}
.tvr-band.z1{grid-column:1/3;background:color-mix(in srgb,var(--teal-soft) 55%,transparent)}
.tvr-band.z2{grid-column:3/6;background:color-mix(in srgb,var(--peach) 20%,transparent)}
.tvr-band.z3{grid-column:6/7;background:color-mix(in srgb,var(--teal-soft) 55%,transparent)}
.tvr-sky{position:relative;height:150px}
.tvr-sky>svg.tvr-route{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
[dir=rtl] .tvr-sky>svg.tvr-route,.tvr[dir=rtl] .tvr-sky>svg.tvr-route{transform:scaleX(-1)}
.tvr-path{fill:none;stroke:var(--line-2);stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round}
.tvr:not(.is-live) .tvr-path{vector-effect:non-scaling-stroke}
.tvr-fill{fill:none;stroke:var(--teal);stroke-width:3;stroke-linecap:round}
.tvr:not(.is-live) .tvr-fill{display:none}
.tvr-city{position:absolute;bottom:22%;left:calc(100% / 6 * 2);width:calc(100% / 6 * 3);height:58%;color:#b4532e;opacity:.16;pointer-events:none}
[dir=rtl] .tvr-city{left:auto;right:calc(100% / 6 * 2)}
.tvr-city svg{width:100%;height:100%}
.tvr-mk{position:absolute;z-index:3;left:8.3333%;top:var(--gy);width:40px;height:40px;margin:-62px 0 0 -20px;display:grid;place-items:center;border-radius:50%;background:var(--teal-ink);color:#fff;box-shadow:0 0 0 4px var(--surface),0 10px 24px -8px #081e2299;pointer-events:none;opacity:0;transition:opacity .4s,background-color .4s}
.tvr-mk:after{content:"";position:absolute;left:50%;bottom:-11px;width:2px;height:9px;margin-left:-1px;border-radius:1px;background:var(--teal-ink);transition:opacity .3s}
.tvr.is-live .tvr-mk{opacity:1}
.tvr-mk svg{transition:transform .2s}
.tvr-mk .i-plane{display:none;transform:rotate(var(--a,0deg))}
.tvr-mk.is-fly .i-plane{display:block}
.tvr-mk.is-fly .i-bag{display:none}
.tvr-mk.is-fly:after{opacity:0}
[dir=rtl] .tvr-mk{margin:-62px -20px 0 0}
.tvr.in-city .tvr-mk,.tvr.in-city .tvr-mk:after{background:var(--mandarin)}
.tvr-stops{z-index:2;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:-150px 0 0;padding:calc(150px * .786667 - var(--dot) / 2) 0 20px;list-style:none}
.tvr-stop{display:grid;justify-items:center;align-content:start;gap:6px;padding:0 8px;border:0;background:none;color:inherit;font:inherit;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tvr-dot{position:relative;display:grid;place-items:center;width:var(--dot);height:var(--dot);border-radius:50%;background:var(--surface);border:1.5px solid var(--teal);color:var(--teal-ink);transition:background-color .3s,border-color .3s,color .3s,transform .35s var(--ease),box-shadow .3s}
.tvr-stop[data-zone=city] .tvr-dot{border-color:#d6785a;color:#8a3e22}
.tvr-stop.is-past .tvr-dot{background:var(--teal-soft)}
.tvr-stop[data-zone=city].is-past .tvr-dot{background:color-mix(in srgb,var(--peach) 40%,#fff)}
.tvr-stop:hover .tvr-dot{transform:translateY(-2px)}
.tvr-stop.is-on .tvr-dot{background:var(--teal-ink);border-color:var(--teal-ink);color:#fff;transform:scale(1.08);box-shadow:0 0 0 6px color-mix(in srgb,var(--teal) 22%,transparent)}
.tvr-stop[data-zone=city].is-on .tvr-dot{background:var(--mandarin);border-color:var(--mandarin);box-shadow:0 0 0 6px color-mix(in srgb,var(--peach) 55%,transparent)}
.tvr-stop:focus-visible{outline:none}
.tvr-stop:focus-visible .tvr-dot{outline:2px solid var(--teal-ink);outline-offset:4px}
.tvr-n{margin-top:6px;display:inline-grid;place-items:center;min-width:28px;height:20px;padding:0 6px;border-radius:7px;background:var(--bg-2);color:var(--ink-2);font-size:.72rem;font-weight:700;transition:background-color .3s,color .3s}
.tvr-stop.is-on .tvr-n{background:var(--teal-fill);color:#fff}
.tvr-stop[data-zone=city].is-on .tvr-n{background:var(--mandarin)}
.tvr-t{max-width:17ch;font-family:var(--serif);font-weight:420;font-size:1.02rem;line-height:1.2;color:var(--ink-2);transition:color .3s}
.tvr-stop.is-on .tvr-t,.tvr-stop:hover .tvr-t{color:var(--ink)}
/* the six cards follow the board */
.tvr.is-live~.tv-steps li{cursor:pointer;transition:border-color .3s,box-shadow .35s,transform .35s var(--ease)}
.tvr.is-live~.tv-steps li.is-on{border-color:var(--teal);box-shadow:0 0 0 1px var(--teal),0 24px 48px -32px #081e2299;transform:translateY(-3px)}
.tvr.is-live~.tv-steps li.away.is-on{border-color:#d6785a;box-shadow:0 0 0 1px #d6785a,0 24px 48px -32px #5a1e0a80}
@media(max-width:999px){.tvr-t{font-size:.92rem}.tvr-zone em{display:none}}
@media(max-width:699px){
.tvr{--dot:38px;border-radius:var(--r-inner)}
.tvr-top{padding:12px 14px}
.tvr-hint{font-size:.8rem}
.tvr-ctl .tvr-play span{display:none}
.tvr-ctl .tvr-play{padding:0 12px}
.tvr-zone{padding:12px 8px 0;font-size:.74rem;gap:5px}
.tvr-zone.z3 span{display:none}
.tvr-zone.z3{justify-content:center}
.tvr-sky{height:120px}
.tvr-stops{margin-top:-120px;padding-top:calc(120px * .786667 - var(--dot) / 2);padding-bottom:14px}
.tvr-stop{padding:0 2px}
.tvr-t{display:none}
.tvr-mk{width:34px;height:34px;margin:-54px 0 0 -17px}
[dir=rtl] .tvr-mk{margin:-54px -17px 0 0}
.tvr.is-live~.tv-steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;padding:4px 2px 14px;overscroll-behavior-x:contain}
.tvr.is-live~.tv-steps::-webkit-scrollbar{display:none}
.tvr.is-live~.tv-steps>li{flex:0 0 86%;min-width:0;scroll-snap-align:start}
.tvr.is-live~.tv-steps li.is-on{transform:none}
}
@media(prefers-reduced-motion:reduce){.tvr *,.tvr.is-live~.tv-steps li{transition:none!important}}
