/* TIB live bus map, on the platform design system (/platform/assets/theme.css: --db-* tokens, light and
   dark). Punctuality colours must match COLORS in app.js. */
:root {
  --fg: var(--db-text);
  --muted: var(--db-muted);
  --line: var(--db-border);
  --bg: var(--db-surface);
  --soft: var(--db-surface-2);
  --page: var(--db-bg);
  --accent: var(--db-accent);
  --early: #2b7a99;
  --on_time: #2e8b57;
  --late: #d4920b;
  --very_late: #c0392b;
  --no_data: #8f918c;
  --panel-w: 340px;
  --radius: 8px;
  --shadow: 0 10px 28px rgba(27, 22, 14, .16), 0 1px 3px rgba(27, 22, 14, .1);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
/* the map page is the height of what one sees, also while the iPhone's bars come and go (100vh where dvh is unknown) */
body.map-page { height: 100vh; height: 100dvh; }
body.map-page { font-size: 14px; line-height: 1.45; color: var(--fg); background: var(--bg); }
button { font: inherit; }
a { color: var(--accent); }

/* Header (map and statistics) */
.topbar {
  display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  position: relative; z-index: 1100;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--db-text) !important; text-decoration: none; min-width: 0; }
.logo { width: 24px; height: 24px; flex: none; display: block; fill: var(--db-accent); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.db h1.brand-text { margin: 0; font: inherit; letter-spacing: normal; line-height: inherit; } /* the page's heading: the brand, as it looks */
.brand-title { font: 800 17px/1.15 var(--db-display); letter-spacing: -.025em; }
.brand-sub { font-size: 12px; color: var(--muted); line-height: 1.2; }
.topbar p { margin: 0; }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px;
  border-radius: 6px; background: var(--soft); white-space: nowrap;
}
.live-chip strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--on_time); position: relative; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--on_time);
  animation: pulse 2s ease-out infinite; opacity: 0;
}
.live-chip.is-stale .pulse { background: var(--late); }
.live-chip.is-stale .pulse::after { display: none; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.refresh { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.actions { display: flex; align-items: center; gap: 10px; }
/* the map's tiles at the first zoom, which is not a whole step: normal blending and tiles half a pixel larger leave no light seam
   between them (Leaflet 1.9.4's plus-lighter drew one; the same fix as the maps of the line pages, pages.css) */
.map.leaflet-container img.leaflet-tile { mix-blend-mode: normal; width: 256.5px !important; height: 256.5px !important; }
/* the one top navigation of the site (nav.css), next to theme, language and account; its icons only when the header has no room */
.topbar .tib-nav { margin-left: auto; }
@media (max-width: 1199px) {
  .topbar .tib-nav-btn { width: 36px; padding: 0; justify-content: center; }
  .topbar .tib-nav-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* with the switch Interurbano | Urbano in the header (14 Nov 2026) the header stays one row from 1000 px: below 1440 px without the
   "updated … ago" line (the stale banner still says when the data is old), below 1200 px the counter without its word */
@media (min-width: 900px) and (max-width: 1439px) {
  .topbar .refresh { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .topbar { gap: 8px 12px; }
  .topbar .live-chip span[data-i18n] { display: none; }
}
.panel-toggle {
  display: none; border: 1px solid var(--db-border-strong); border-radius: 6px; background: var(--bg);
  padding: 5px 12px; cursor: pointer; font-weight: 600;
}
.panel-toggle { color: var(--fg); }
.panel-toggle[aria-expanded="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* Map page layout */
body.map-page { display: flex; flex-direction: column; }
.layout { flex: 1; display: flex; min-height: 0; position: relative; }
.panel {
  width: var(--panel-w); flex: none; overflow-y: auto;
  border-right: 1px solid var(--line); padding: 2px 16px 16px; background: var(--bg);
}
.sheet-grip { display: none; }
.map-wrap { flex: 1; position: relative; min-width: 0; }
/* the map is a world of its own under the page: its panes (Leaflet's z-index 200-1000) never reach the header, the panel, the menus or
   a dialog, and nothing of it shows outside its box (map-fix/BRIEF.md, item 6a) */
.map { position: absolute; inset: 0; background: #ece8e1; z-index: 0; isolation: isolate; overflow: hidden; }
/* muted base map, so that the coloured buses stand out; in dark mode the same OpenStreetMap tiles, inverted
   (no other tile provider, so the OSM terms and attribution stay as they are) */
.base-tiles { filter: saturate(.4) contrast(.92) brightness(1.04); }
:root[data-theme="dark"] .map { background: #101317; }
:root[data-theme="dark"] .base-tiles { filter: invert(1) hue-rotate(180deg) saturate(.35) brightness(.88) contrast(.9); }
:root[data-theme="dark"] .leaflet-bar a { background: var(--db-surface); color: var(--db-text); border-color: var(--db-border); }
:root[data-theme="dark"] .leaflet-control-attribution { background: rgba(22, 26, 32, .86); color: var(--db-muted); }
:root[data-theme="dark"] .leaflet-control-attribution a { color: var(--db-accent); }
:root[data-theme="dark"] .leaflet-popup-content-wrapper, :root[data-theme="dark"] .leaflet-popup-tip { background: var(--db-surface); color: var(--db-text); }
:root[data-theme="dark"] .banner { background: var(--db-warning-soft); border-color: var(--db-warning); color: var(--db-text); }
/* the controls and credits of the map never under a phone's notch or rounded corners in landscape (viewport-fit=cover) */
.map .leaflet-left { left: env(safe-area-inset-left, 0px); }
.map .leaflet-right { right: env(safe-area-inset-right, 0px); }

/* «Mi ubicación» (assets/locate.js): the button in its states, the blue dot, the circle of its accuracy (an SVG circle of the map),
   the way one is going */
.db-locate { display: flex !important; align-items: center; justify-content: center; color: #1b1d21; }
.db-locate svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.db-locate.is-shown .db-locate-core, .db-locate.is-following .db-locate-core { fill: #1a73e8; stroke: #1a73e8; }
.db-locate.is-following { color: #1a73e8; }
.db-locate.is-asking svg { animation: db-locate-pulse 1s ease-in-out infinite; }
@keyframes db-locate-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .db-locate.is-asking svg { animation: none; opacity: .55; } }
.db-locate-icon { pointer-events: none; }
.db-loc { position: absolute; left: 50%; top: 50%; }
.db-loc-dot {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #1a73e8; box-shadow: 0 0 0 3px #fff, 0 1px 5px rgba(0, 0, 0, .45);
}
.db-loc-cone {
  display: none; position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(var(--heading, 0deg));
  border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 30px solid rgba(26, 115, 232, .32);
}
.db-loc.has-heading .db-loc-cone { display: block; }
.db-locate-msg {
  position: absolute; right: calc(52px + env(safe-area-inset-right, 0px)); bottom: calc(var(--sheet-covered, 0px) + 12px); z-index: 1000;
  max-width: min(360px, calc(100% - 72px)); padding: 10px 12px; border-radius: 8px; background: #fff; color: #1b1d21; border: 1px solid #d8d1c4;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .28); font: 13px/1.45 var(--db-font, system-ui, sans-serif);
}
.db-locate-msg p { margin: 0 0 8px; }
.db-locate-close { font: inherit; font-weight: 700; padding: 4px 12px; border-radius: 6px; border: 1px solid #b9b0a2; background: #f5f2ec; color: inherit; cursor: pointer; }
:root[data-theme="dark"] .db-locate { color: var(--db-text, #ede8e0); }
:root[data-theme="dark"] .db-locate-msg { background: #1b2027; color: #ede8e0; border-color: #3a424d; }
:root[data-theme="dark"] .db-locate-close { background: #2a3039; border-color: #4a5260; }
:root[data-theme="dark"] .db-loc-dot { box-shadow: 0 0 0 3px #101317, 0 1px 5px rgba(0, 0, 0, .6); }
/* «made by», a control in the map's own bottom-left corner (the owner, 15 Nov 2026: the same place on /tib/ and /emt/, never over
   anything); until the map's script has moved it there, at the same place over the map */
.map-wrap > .db-made-corner { bottom: 18px; left: 10px; position: absolute; z-index: 800; margin: 0; }
.leaflet-bottom.leaflet-left .db-made-corner.leaflet-control { position: static; z-index: auto; }
.leaflet-container .db-made a { color: inherit; } /* its own colours (theme.css), not those of Leaflet's links */

.panel section { padding: 12px 0; border-bottom: 1px solid var(--line); }
.panel section:last-child { border-bottom: 0; }
.panel h2 {
  margin: 2px 0 10px; font: 800 15px/1.2 var(--db-display); letter-spacing: -.01em;
  color: var(--muted);
}
.section-head { display: flex; align-items: center; justify-content: space-between; }
.section-head h2 { margin-bottom: 8px; }
.link { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font-weight: 600; }
.panel ul, .panel ol { list-style: none; margin: 0; padding: 0; }
.hint { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Punctuality: one bar with the shares, then the counts */
.stack-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--soft); margin-bottom: 8px; }
.stack-bar span { display: block; height: 100%; }
.stack-bar span + span { border-left: 2px solid #fff; }
.punctuality li { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.punctuality .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.punctuality .label { flex: 1; }
.punctuality .count { font-weight: 750; font-variant-numeric: tabular-nums; }

/* Most delayed */
.delayed li button, .lines li button[data-line] {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 6px; border: 0; background: none;
  text-align: left; cursor: pointer; border-radius: 5px; color: inherit;
}
.delayed li button:hover, .lines li button[data-line]:hover { background: var(--soft); }
.delayed .route { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delayed .minutes { font-weight: 750; font-variant-numeric: tabular-nums; }
.delayed .minutes.late { color: var(--db-warning); }
.delayed .minutes.very_late { color: var(--very_late); }
.empty { color: var(--muted); margin: 0; }

/* Legend with layer toggles: a sample marker of each kind */
.legend-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; margin: 0; }
.legend-row.toggle { cursor: pointer; }
.legend-row input { margin: 0; flex: none; }
.legend-row:not(.toggle) { padding-left: 23px; }
.sample { position: relative; width: 36px; height: 36px; flex: none; }
.sample .bm { left: 50%; top: 50%; cursor: inherit; }

/* Lines */
.lines li button[data-line][aria-pressed="true"] { background: var(--db-accent-soft); }
.lines .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.lines .count { font-weight: 650; font-variant-numeric: tabular-nums; }
.badge {
  display: inline-block; min-width: 40px; padding: 2px 6px; border-radius: 6px; text-align: center;
  font-weight: 750; font-size: 12px; flex: none; line-height: 1.3;
}
.about { color: var(--muted); font-size: 12.5px; }
.about p { margin: 0 0 8px; }
.about .legal { font-size: 11.5px; }

/* Banner over the map */
.banner {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000;
  max-width: calc(100% - 120px); padding: 8px 14px; border-radius: var(--radius);
  background: var(--db-warning-soft); border: 1px solid var(--db-warning); border-left-width: 3px; color: var(--db-text); box-shadow: var(--shadow);
}

/* Bus markers: a disc in the line colour with the line number; ring = punctuality (with a white gap, so
   it shows even on a line of the same colour); a small arrow on the ring points where the bus is going. */
/* The marker's box (app.js busIcon: 30 x 30, anchored at its centre) has its centre on the bus's point, and the disc, whatever its size
   at this zoom, sits in the middle of it. */
.bus-icon { background: none; border: 0; }
.bm {
  --size: 30px; --status: var(--no_data);
  position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size);
  transform: translate(-50%, -50%); cursor: pointer;
}
.bm-disc {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--line-color); color: var(--line-text, #fff);
  border: 3px solid var(--status);
  box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1.5px #fff, 0 2px 5px rgba(15, 23, 42, .35);
  font: 700 11px/1 var(--db-font); letter-spacing: -.02em;
  white-space: nowrap; transition: transform .15s ease-out;
}
.bm-long .bm-disc { font-size: 9.5px; letter-spacing: -.04em; }
.bm-dir { position: absolute; inset: -8px; transform: rotate(var(--heading, 0deg)); pointer-events: none; }
.bm-dir::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 9px solid var(--status);
  filter: drop-shadow(0 -1px 0 #fff);
}
.bm.no-dir .bm-dir { display: none; }
/* a bus whose GPS is far from its route (a detour?): drawn where the GPS says, with a mark on the ring (the disc stays on its point) */
.bm-off-mark {
  position: absolute; right: -5px; top: -5px; width: 14px; height: 14px; border-radius: 50%; pointer-events: none;
  background: #9a3412; color: #fff; font: 800 10px/14px var(--db-font); text-align: center; box-shadow: 0 0 0 1.5px #fff;
}
.zoom-far .bm-off-mark { right: -4px; top: -4px; width: 12px; height: 12px; font-size: 9px; line-height: 12px; }
.pop-off { color: #9a3412; font-weight: 600; }
:root[data-theme="dark"] .pop-off { color: #fdba74; }
.bm-estimated { opacity: .62; }
.bm-estimated .bm-disc { border-style: dashed; box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1.5px #fff; }
.bm-scheduled { --size: 26px; }
.bm-scheduled .bm-disc {
  background: rgba(255, 255, 255, .92); color: #475569; border: 2px dashed #8f918c; box-shadow: none; font-size: 10px;
}
.bm-scheduled .bm-dir { opacity: .6; }
.zoom-far .bm { --size: 24px; }
.zoom-far .bm-disc { font-size: 9px; border-width: 2.5px; }
.zoom-far .bm-long .bm-disc { font-size: 7.5px; }
.zoom-far .bm-dir { inset: -7px; }
.leaflet-marker-icon:hover .bm-disc, .bm.is-open .bm-disc { transform: scale(1.18); }
.leaflet-marker-icon:focus { outline: none; }
.leaflet-marker-icon:focus-visible .bm-disc { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Popups */
.bus-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.bus-popup .leaflet-popup-content { margin: 0; width: 260px !important; }
.bus-popup a.leaflet-popup-close-button { color: inherit; top: 6px; right: 6px; }
.pop { font-size: 13px; }
.pop-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 34px 10px 12px;
  background: var(--line-color); color: var(--line-text);
}
.pop-line { font: 800 20px/1 var(--db-display); letter-spacing: -.02em; }
.pop-name { font-weight: 600; line-height: 1.25; opacity: .95; }
.pop-body { padding: 10px 12px 12px; }
.pop-route { font-weight: 700; font-size: 14px; line-height: 1.3; }
.pop-via { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.pop-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 700; color: #fff; }
.pop-early .chip { background: var(--early); }
.pop-on_time .chip { background: var(--on_time); }
.pop-late .chip { background: var(--late); color: #3f2a00; }
.pop-very_late .chip { background: var(--very_late); }
.pop-no_data .chip { background: var(--soft); color: var(--muted); font-weight: 600; }
.pop-note { color: var(--muted); font-size: 12px; }
.pop-row { display: flex; gap: 14px; color: var(--muted); margin: 2px 0; }
.pop-row b { color: var(--fg); font-weight: 650; }
.pop-seen { color: var(--muted); margin: 2px 0; }
.follow {
  margin-top: 8px; width: 100%; padding: 6px 10px; border: 1px solid var(--db-border-strong); border-radius: 6px;
  background: var(--soft); color: var(--fg); font-size: 13px; font-weight: 600; cursor: pointer;
}
.follow[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: #fff; }

.leaflet-control-zoom a { color: var(--fg); }
.leaflet-container { font: inherit; }

/* Phones and small tablets: one compact header row, the panel becomes a sheet from the bottom */
@media (max-width: 899px) {
  .topbar { padding: 6px 10px; gap: 6px 10px; }
  /* never under the notch or the rounded corners of a phone in landscape (viewport-fit=cover): the header and the sheet's content */
  .topbar { padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
  .brand-sub, .refresh { display: none; }
  .actions .db-w-account span, .actions .db-w-user span { display: none; }
  .actions .db-w-account { width: 36px; padding: 0; justify-content: center; }
  .brand-title { font-size: 14px; }
  .logo { width: 22px; height: 22px; }
  .live-chip { padding: 3px 10px 3px 8px; }
  .live-chip strong { font-size: 15px; }
  .live-chip span[data-i18n] { display: none; }
  .actions { gap: 6px; margin-left: auto; } /* the second row, at the right; the menu stays in the first */
  .panel-toggle { display: inline-block; }
  /* The sheet. Closed, only its handle and first line show; open, up to 64 % of the map. Its bottom is the bottom of what the
     visitor sees, not of the screen: Safari 26 on iPhone floats its address bar over the last ~80 px of the page, and whatever lies
     below the page's own bottom shows through that bar. --sheet-lift: the part of the page below the visible area (app.js measures
     it; 0 elsewhere and in the app from the home screen). --sheet-safe: the safe area (home bar) under the sheet, 0 when a browser
     bar is there already. --sheet-covered: what the closed sheet takes from the bottom of the map. ?debug=vp shows the numbers. */
  .layout { overflow: hidden; }
  .panel {
    position: absolute; left: 0; right: 0; bottom: var(--sheet-lift, 0px); z-index: 1050;
    width: auto; max-height: calc(64% - var(--sheet-lift, 0px));
    border-right: 0; border-top: 1px solid var(--line); border-radius: 10px 10px 0 0;
    box-shadow: 0 -8px 24px rgba(27, 22, 14, .18);
    padding-bottom: calc(16px + var(--sheet-safe, env(safe-area-inset-bottom, 0px)));
  }
  .panel { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .panel:not(.open) { overflow: hidden; padding-bottom: var(--sheet-safe, env(safe-area-inset-bottom, 0px)); cursor: pointer; }
  .panel:not(.open) > :not(.sheet-grip):not(.unofficial):not(.about):not(.net-switch-row) { display: none; }
  .panel:not(.open) .unofficial { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
  /* closed, the sheet still says in one line what the page is (the facts sentence of its last section): visible text for people
     and for search engines, which read a phone's screen first and found only the map there */
  .panel:not(.open) > .about { padding: 0 0 8px; border: 0; }
  .panel:not(.open) > .about .legal { display: none; }
  .panel:not(.open) > .about .facts { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 13px; }
  .panel.open { animation: sheet-open .22s ease-out; }
  .sheet-grip {
    display: block; position: relative; width: calc(100% + 32px); height: 22px; margin: -2px -16px 0; padding: 0;
    border: 0; background: none; cursor: pointer; touch-action: none;
  }
  .sheet-grip::before {
    content: ''; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px;
    border-radius: 2px; background: var(--line);
  }
  .sheet-grip:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 10px 10px 0 0; }
  .map .leaflet-bottom { bottom: var(--sheet-covered, 0px); }
  /* a phone in landscape leaves the map little height: the buttons of the map's right corner stand in a row (they would not fit one
     above the other between the header and the sheet) */
  @media (max-height: 500px) {
    .map .leaflet-bottom.leaflet-right .leaflet-control:not(.leaflet-control-attribution) { clear: none; }
  }
  /* «made by» above the credits line, which takes the width of a phone's map (app.js measures it: --attribution-h) */
  .map .leaflet-bottom.leaflet-left { bottom: calc(var(--sheet-covered, 0px) + var(--attribution-h, 0px)); }
  .banner { max-width: calc(100% - 24px); top: 8px; font-size: 13px; }
}
@keyframes sheet-open { from { transform: translateY(24px); opacity: .6; } }
/* the smallest phones: the page's heading (the brand) stays, in fewer pixels, next to the counter; the nav buttons a little narrower */
@media (max-width: 420px) {
  .topbar { gap: 6px 8px; }
  .brand { gap: 6px; }
  .brand-title { font-size: 13px; letter-spacing: -.03em; }
  .live-chip { padding: 3px 8px 3px 7px; gap: 5px; }
  .topbar .tib-nav-btn { width: 32px; }
}
@media (max-width: 340px) {
  .brand-title { font-size: 12px; }
  .topbar .tib-nav { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .panel.open { transition: none; animation: none; }
  .pulse::after { animation: none; }
  .bm-disc { transition: none; }
}

/* favourite lines and the popup buttons */
.line-row { display: flex; align-items: center; gap: 2px; }
.line-row > button[data-line] { flex: 1; min-width: 0; }
.lines .fav { flex: none; width: 34px; height: 34px; border: 0; border-radius: 5px; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.lines .fav:hover { background: var(--soft); }
.lines .fav[aria-pressed="true"] { color: #d4920b; }
.pop-actions { display: flex; gap: 6px; margin-top: 8px; }
.pop-actions .follow { margin-top: 0; }

/* not an official TIB site: said plainly at the top of the panel and of the statistics */
.unofficial { font-size: 13px; line-height: 1.4; color: var(--db-muted); border-left: 3px solid var(--db-border-strong); padding: 2px 0 2px 10px; margin: 0 0 14px; }

/* "My stops" in the panel */
.stop-search { width: 100%; margin-bottom: 6px; }
.stops { list-style: none; margin: 0; padding: 0; }
.stops li { padding: 6px 2px; }
.stops li + li { border-top: 1px solid var(--line); }
