
/* BART-Erweiterung: Buttons in derselben Zeile, Umbruch nur bei Platzmangel. */
.sf-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.sf-tools .sf-mode{font-weight:700}
.sf-tools .sf-mode[aria-pressed="true"]{background:#1e5a75;color:#fff;border-color:#1e5a75}
.sf-bart-explainer{font-size:.83rem;line-height:1.45;color:#59666e;margin:.4rem 0 .6rem}
.sf-bart-popup{font-size:.88rem;max-width:340px}
.sf-bart-popup .sf-bart-departure{margin:.45rem 0;padding:.25rem .3rem .25rem .6rem;border-left:4px solid #687988}

/* BART: Statusring nach Alter der zugrunde liegenden Echtzeitprognose. */
.sf-bart-train-icon{background:transparent;border:0}
.sf-bart-train-symbol{box-sizing:border-box;display:flex;width:28px;height:28px;align-items:center;justify-content:center;
 background:#f0a02d;color:#222;font-size:15px;font-weight:800;border:3px solid #fff;border-radius:50%;
 box-shadow:0 0 0 2px #d7830a,0 1px 4px #0006}

/* Moderne Bahn-live-Marker: das Fahrzeugbild steht frei links.
   Nur das separate Linienschild rechts hat weiße Trennfuge und orange
   Außenkontur. Farbe kennzeichnet Datenaktualität, nicht GPS-Ortung. */
.sf-bart-train-symbol{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  width:27px;height:27px;background:transparent;color:#212529;border:0;border-radius:0;box-shadow:none}
.sf-bart-train-letter{display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  box-sizing:border-box;width:24px;height:24px;border-radius:50%;background:#f0a02d;
  border:3px solid #fff;box-shadow:0 0 0 2px #d7830a,0 1px 4px #0005;
  font-size:12px;line-height:1;font-weight:800;color:#232323}
.sf-bart-train-with-image{width:57px;height:38px;gap:4px;padding:0;
  justify-content:flex-start;background:transparent;border:0;border-radius:0;box-shadow:none}
.sf-bart-train-with-image .sf-bart-train-picture{display:block;width:28px;height:37px;
  object-fit:contain;flex:0 0 auto;background:transparent;border:0;box-shadow:none}
.sf-bart-train-with-image .sf-bart-train-letter{width:21px;height:21px;
  font-size:10px;line-height:1;border-radius:50%}

/* eBART: eigener Umsteigebahnsteig, kein regularer Haltepunkt. */
.sf-ebart-transfer-icon{background:transparent;border:0}
.sf-ebart-transfer-sign{box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;background:#174665;color:#fff;border:3px solid #fff;
  box-shadow:0 0 0 3px #e0a821,0 1px 5px #0008;border-radius:8px;
  font-size:18px;line-height:1;font-weight:800}

/* Gemeinsamer Statusstandard: grün aktuell, orange ältere Echtzeit, grau Fahrplan. */
.sf-bart-train-symbol.sf-bart-status-current .sf-bart-train-letter{box-shadow:0 0 0 2px #178042,0 1px 4px #0005}
.sf-bart-train-symbol.sf-bart-status-older .sf-bart-train-letter{box-shadow:0 0 0 2px #e88c19,0 1px 4px #0005}
.sf-bart-train-symbol.sf-bart-status-schedule .sf-bart-train-letter{box-shadow:0 0 0 2px #72777b,0 1px 4px #0005}
