.ext-card-footer.has-train-switch{justify-content:space-between;gap:12px;margin-top:0}.train-mode-switch{display:inline-flex;padding:2px;gap:2px;border-radius:999px;background:#0000000f;flex-shrink:0}.train-mode-btn{border:none;background:transparent;color:#0000008c;font:inherit;font-size:.75em;font-weight:700;padding:5px 14px;border-radius:999px;cursor:pointer;transition:background .2s ease,color .2s ease}.train-mode-btn[aria-pressed=true]{background:#fff;color:#000000d9;box-shadow:0 1px 3px #0000001f}.extension-route-card.train-mode-station>.adv-details-container{display:none}.train-board{display:flex;flex-direction:column;gap:10px}.train-board .adv-details-container.train-groups{gap:14px;margin:0}.train-dir-title{margin-left:8px;font-weight:600}.train-board-note{font-size:.8em;font-weight:600;opacity:.65;padding:2px 4px;line-height:1.5}.train-board-actions{display:flex;flex-wrap:wrap;gap:8px}.train-board-btn{border:1px solid rgba(0,0,0,.08);background:#0000000a;color:inherit;font:inherit;font-size:.8em;font-weight:700;padding:8px 16px;border-radius:999px;cursor:pointer}.train-board-btn.primary{background:#000000d1;border-color:transparent;color:#fff}.train-guide{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;border-radius:18px;background:#0a84ff14;border:1px solid rgba(10,132,255,.2)}.train-guide-text{flex:1;font-size:.8em;font-weight:600;line-height:1.5}.train-guide .train-board-btn{flex-shrink:0}.train-where{display:flex;min-width:0;white-space:nowrap;font-size:.9em;font-weight:600;opacity:.75}.train-where-gap{flex-shrink:0;width:.3em}.train-where-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.train-board-btn:active,.train-type-chip:active,.train-mode-btn:active{transform:scale(.96)}.train-board-time{font-size:.72em;font-weight:600;opacity:.45;text-align:right}.train-board-time.stale{opacity:.8;color:#c28500}.train-main{display:flex;align-items:center;gap:8px;min-width:0;font-weight:700;font-size:.95em}.train-dest{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.train-capsule{gap:12px;font-size:1em;padding:9px 16px}.train-capsule .train-main{flex:1}.train-capsule .bus-eta-pill.chip{font-size:.95em;flex-shrink:0}.train-delay{font-weight:800;flex-shrink:0}.train-delay.minor{color:#c28500}.train-delay.major{color:#d70015}.train-type{flex-shrink:0;padding:2px 8px;border-radius:6px;font-size:.8em;font-weight:800;line-height:1.4;border:1px solid transparent;white-space:nowrap}.train-type.tc-local{background:#78788024;color:#000000b3}.train-type.tc-rapid{background:#0a84ff1f;color:#0062c4}.train-type.tc-express{background:#ff950026;color:#a65a00}.train-type.tc-limited_express{background:#ff3b301f;color:#c4001a}.train-type.tc-other{background:transparent;border-color:#0003;color:#000000b3}.train-type-filter{display:flex;flex-wrap:wrap;gap:6px}.train-type-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(0,0,0,.08);background:#ffffff8c;color:#000000bf;font:inherit;font-size:.78em;font-weight:700;padding:6px 12px;border-radius:999px;cursor:pointer}.train-type-chip.active{background:#000000d1;border-color:transparent;color:#fff}.train-type-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.train-type-dot.tc-local{background:#787880cc}.train-type-dot.tc-rapid{background:#0a84ff}.train-type-dot.tc-express{background:#ff9500}.train-type-dot.tc-limited_express{background:#ff3b30}.train-type-dot.tc-other{background:transparent;border:1px solid currentColor}.train-dir-slider{margin:0}.train-station-name{flex-grow:1;min-width:0;border:none;background:none;padding:0;color:inherit;font:inherit;font-weight:700;font-size:.95em;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.train-station-name:active{opacity:.6}.train-station-name.approach-next{color:#ff9500}.train-marker-row .train-main{font-size:1em}.train-stop-label{flex-shrink:0;font-weight:800;color:#ff9500}@media (prefers-color-scheme: dark){.train-mode-switch{background:#ffffff1a}.train-mode-btn{color:#fff9}.train-mode-btn[aria-pressed=true]{background:#ffffffeb;color:#000}.train-board-btn{border-color:#ffffff1a;background:#ffffff0f}.train-board-btn.primary{background:#ffffffeb;color:#000}.train-guide{background:#64a9ff1f;border-color:#64a9ff38}.train-board-time.stale,.train-delay.minor{color:#ffd60a}.train-delay.major{color:#ff453a}.train-type.tc-local{background:#aeaeb233;color:#ffffffd9}.train-type.tc-rapid{background:#64a9ff33;color:#8cc1ff}.train-type.tc-express{background:#ff9f0a33;color:#ffb340}.train-type.tc-limited_express{background:#ff453a33;color:#ff7a70}.train-type.tc-other{border-color:#ffffff4d;color:#fffc}.train-type-chip{background:#1e1e20a6;border-color:#ffffff1a;color:#fffc}.train-type-chip.active{background:#ffffffeb;color:#000}.train-station-name.approach-next,.train-stop-label{color:#ff9f0a}}
