/* =========================================================
   Station page - additions on top of the supplied design CSS
   (alert close, Thai name rollover, live map, sub-filters,
   pop-ups, video play badge, single-column fallbacks)
   ========================================================= */

/* ---------- Alert bar ---------- */
.stn-alert[hidden] { display: none; }
.stn-alert { position: relative; padding-right: 3.2rem; }
.stn-alert > img { width: 24px; height: auto; flex: none; }
.stn-alert__close {
  position: absolute; top: 50%; right: 1rem; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: #E11D1D; font-size: 1.1rem; cursor: pointer;
}
.stn-alert__close:hover { background: rgba(225, 29, 29, .12); }
.stn-alert__close:focus-visible { outline: 2px solid #E11D1D; outline-offset: 2px; }
@media (max-width: 767px) { .stn-alert { font-size: 15px; text-align: left; } }

/* ---------- Station name / Thai name rollover ---------- */
.stn-name[data-has-th] { cursor: pointer; outline-offset: 6px; }
.stn-name__th { display: none; }
.stn-name[data-has-th]:hover .stn-name__en,
.stn-name[data-has-th]:focus .stn-name__en,
.stn-name.is-th .stn-name__en { display: none; }
.stn-name[data-has-th]:hover .stn-name__th,
.stn-name[data-has-th]:focus .stn-name__th,
.stn-name.is-th .stn-name__th { display: inline; }

.stn-meta__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.stn-meta .fa-layer-group { font-size: 1.1rem; }
@media (max-width: 767px) { .stn-meta li { padding-inline: .75rem; font-size: 16px; } }

/* ---------- Sub-category filters (below the 6 category cards) ---------- */
.stn-subfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stn-subfilters[hidden] { display: none; }
.stn-subchip {
  --c: #0A66C2;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border: 1px solid var(--c); border-radius: 99px;
  background: #fff; color: var(--c); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.stn-subchip i { font-size: .8rem; }
.stn-subchip:hover { background: color-mix(in srgb, var(--c) 10%, #fff); }
.stn-subchip.is-on { background: var(--c); color: #fff; }
.stn-subchip:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.stn-cat { font-family: inherit; }
.stn-cat__desc:empty { display: none; }

/* ---------- Live map (Google Maps / Leaflet) ---------- */
.stn-map--live { min-height: 420px; }
.stn-livemap__canvas { position: absolute; inset: 0; z-index: 1; }
.stn-map--live .stn-map__expand { z-index: 1000; }
.stn-map__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stn-map__empty {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1000;
  max-width: calc(100% - 28px); padding: .55rem 1rem; border-radius: 99px;
  background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  font-size: 14px; font-weight: 600; text-align: center;
}
.stn-map__empty[hidden] { display: none; }
.stn-map__empty.is-static {
  inset: 0; transform: none; max-width: none; border-radius: 0; display: grid; place-content: center; gap: .4rem; background: #F2FBF9;
}
.stn-map__empty.is-static i { font-size: 2rem; color: #05A981; }
.stn-map__notice {
  position: absolute; left: 10px; top: 10px; z-index: 1000; max-width: 70%;
  padding: .3rem .6rem; border-radius: 6px; background: rgba(255, 255, 255, .9); font-size: 12px; color: #444;
}
.stn-map--live:fullscreen { aspect-ratio: auto; }

.stn-livemap-marker { position: absolute; width: 0; height: 0; }
.stn-livemap-marker .stn-pin { left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer; animation-delay: 0s; }
.stn-livemap-marker .stn-pin:focus-visible { outline: 2px solid #0A66C2; border-radius: 6px; }
.stn-livemap-marker .stn-pin--station { cursor: default; }
.leaflet-div-icon.stn-livemap-icon { background: none; border: 0; }

/* map tooltip */
.stn-pop { width: 220px; font-family: inherit; color: #1b2236; }
.stn-pop__img { display: block; width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.stn-pop strong { display: block; font-size: 15px; line-height: 1.25; }
.stn-pop__sub { display: block; margin: 2px 0 8px; font-size: 12.5px; color: #5b6475; }
.stn-pop__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.stn-pop__actions a {
  padding: .35rem .7rem; border-radius: 6px; background: #0A66C2; color: #fff !important; font-size: 12.5px; font-weight: 600; text-decoration: none;
}
.stn-pop__actions a + a { background: #fff; color: #0A66C2 !important; border: 1px solid #0A66C2; }
.leaflet-popup-content { margin: 12px; }

/* ---------- Layout fallbacks ---------- */
.stn-info__inner--single { grid-template-columns: minmax(0, 1fr); }
.stn-info__inner--single .stn-facilities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stn-exits__body--no-photo { grid-template-columns: minmax(0, 1fr); }
.stn-exits__body--no-photo .stn-exits__list { padding-left: 0; }
.stn-fac i.stn-fac__icon { display: grid; place-items: center; font-size: 3rem; color: #0A66C2; }
.stn-ad { display: block; }
.stn-ad img { width: 100%; height: auto; }
@media (max-width: 991px) {
  .stn-info__inner--single .stn-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stn-map--live { min-height: 360px; aspect-ratio: auto; height: 420px; }
}

/* ---------- Video thumbnails ---------- */
.stn-feat__media > a { position: relative; display: block; }
.stn-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.2rem; padding-left: 3px; transition: background-color .15s, transform .15s;
}
.stn-feat__media > a:hover .stn-play { background: #e11d1d; transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Pop-ups ---------- */
body.has-modal { overflow: hidden; }
.stn-modal[hidden] { display: none; }
.stn-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; }
.stn-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.stn-modal__panel {
  position: relative; width: min(760px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  padding: 2rem 2rem 1.75rem; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.stn-modal__close {
  position: absolute; top: .75rem; right: .75rem; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #f1f3f6; color: #222; font-size: 1.1rem; cursor: pointer;
}
.stn-modal__close:hover { background: #e3e7ee; }
.stn-modal__title { margin: 0 2.5rem 1rem 0; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }
.stn-modal__title small { font-size: .6em; font-weight: 500; color: #5b6475; margin-left: .4rem; }
.stn-modal__body { font-size: 16px; line-height: 1.7; color: #1b2236; }
.stn-modal__body h3 { margin: 1.4rem 0 .6rem; font-size: 1.15rem; }
.stn-modal__facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 1rem 0 0; }
.stn-modal__facts dt { font-weight: 700; }
.stn-modal__facts dd { margin: 0; }
.stn-modal__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.stn-modal__table th, .stn-modal__table td { padding: .5rem .6rem; border-bottom: 1px solid #e3e7ee; text-align: left; }
.stn-modal__table th { background: #f6f8fb; font-weight: 700; }
.stn-modal--video .stn-modal__panel { width: min(960px, 100%); padding: 0; background: #000; overflow: hidden; }
.stn-modal--video .stn-modal__close { z-index: 2; background: rgba(255, 255, 255, .9); }
.stn-video-frame { position: relative; aspect-ratio: 16 / 9; }
.stn-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 575px) { .stn-modal__panel { padding: 1.4rem 1.1rem; } .stn-modal--video .stn-modal__panel { padding: 0; } }

.stn-pop__walk { display: block; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: #05A981; }
.stn-pop__walk em { font-weight: 400; color: #8a93a3; font-style: normal; }
.stn-pop__walk i { margin-right: 3px; }

/* ---------- "Filter by listing type" panel (shown when a main category is selected) ---------- */
.stn-subfilters { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stn-subpanel { border: 1px solid #dfe5ee; border-top: 4px solid var(--pc); border-radius: 12px; background: #fff; padding: 14px 16px; box-shadow: 0 2px 10px rgba(20, 30, 60, .06); }
.stn-subpanel__head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.stn-subpanel__head > i { color: var(--pc); }
.stn-subpanel__cat { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--pc); }
.stn-subpanel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stn-subpanel .stn-subchip { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .45rem .4rem; border: 0; border-radius: 8px; background: transparent; color: #1b2236; font-size: 15px; font-weight: 500; text-align: left; }
.stn-subpanel .stn-subchip:hover { background: color-mix(in srgb, var(--pc) 8%, #fff); }
.stn-subpanel .stn-subchip.is-on { background: transparent; color: #1b2236; }
.stn-subchip__box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 2px solid #aab3c3; border-radius: 5px; background: #fff; color: transparent; font-size: .65rem; }
.stn-subchip.is-on .stn-subchip__box { background: var(--pc); border-color: var(--pc); color: #fff; }
.stn-subchip__icon { width: 18px; text-align: center; color: var(--pc); }
.stn-subchip__name { flex: 1; }
.stn-subchip__n { font-size: 12px; color: #6b7587; }

/* =========================================================
   Explore layouts (admin Settings > Station Explore Layout)
   classic         : big cards + map side by side (+ panels)
   compact_map     : small category row + full-width map
   compact_filter  : small category row + ONE dropdown + map
   progressive     : big cards + map first; after a click -> compact_filter
   ========================================================= */
.stn-explore--compact_map .stn-explore__grid,
.stn-explore--compact_filter .stn-explore__grid { display: flex; flex-direction: column; gap: 14px; }
.stn-explore--compact_map .stn-explore__grid > div:first-child,
.stn-explore--compact_filter .stn-explore__grid > div:first-child { display: contents; }

.stn-explore--compact_map .stn-cats,
.stn-explore--compact_filter .stn-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
.stn-explore--compact_map .stn-cat,
.stn-explore--compact_filter .stn-cat {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: .6rem;
  min-height: 0; padding: .55rem .75rem; border-radius: 10px; text-align: left;
}
.stn-explore--compact_map .stn-cat__icon,
.stn-explore--compact_filter .stn-cat__icon { width: 36px; height: 36px; margin: 0; font-size: 1rem; flex: none; }
.stn-explore--compact_map .stn-cat__icon img,
.stn-explore--compact_filter .stn-cat__icon img { width: 20px; height: 20px; }
.stn-explore--compact_map .stn-cat__title,
.stn-explore--compact_filter .stn-cat__title { margin: 0; font-size: 16px; line-height: 1.15; }
.stn-explore--compact_map .stn-cat__desc,
.stn-explore--compact_filter .stn-cat__desc,
.stn-explore--compact_map .stn-cat__count,
.stn-explore--compact_filter .stn-cat__count { display: none; }
.stn-explore--compact_map .stn-cat__check,
.stn-explore--compact_filter .stn-cat__check { top: 6px; right: 6px; width: 18px; height: 18px; font-size: .6rem; }

.stn-explore--compact_map .stn-map--live,
.stn-explore--compact_filter .stn-map--live { width: 100%; aspect-ratio: auto; height: 540px; min-height: 0; }
.stn-explore--compact_map .stn-subfilters { display: none; }

/* one dropdown */
.stn-explore--compact_filter .stn-subfilters { display: block; margin: 0; }
.stn-dd { position: relative; display: inline-block; width: min(100%, 360px); }
.stn-dd__toggle {
  display: flex; width: 100%; align-items: center; gap: .6rem; padding: .65rem .9rem;
  border: 1px solid #cfd7e3; border-radius: 10px; background: #fff; color: #1b2236;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left;
}
.stn-dd__toggle > i:first-child { color: #0A66C2; }
.stn-dd__toggle > span { flex: 1; }
.stn-dd__state { font-size: 12.5px; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; background: #eef3fb; color: #0A66C2; }
.stn-dd__caret { font-size: .75rem; transition: transform .15s; }
.stn-dd.is-open .stn-dd__caret { transform: rotate(180deg); }
.stn-dd.is-open .stn-dd__toggle { border-color: #0A66C2; box-shadow: 0 0 0 3px rgba(10, 102, 194, .15); }
.stn-dd__menu[hidden] { display: none; }
.stn-dd__menu {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 1200; width: max(100%, 300px); max-height: 380px; overflow: auto;
  padding: 8px 10px; border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(20, 30, 60, .18);
}
.stn-dd__group + .stn-dd__group { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef1f6; }
.stn-dd__gname { padding: .2rem .4rem; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--pc); }
.stn-dd .stn-subchip { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .4rem .4rem; border: 0; border-radius: 8px; background: transparent; color: #1b2236; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.stn-dd .stn-subchip:hover { background: color-mix(in srgb, var(--pc) 8%, #fff); }
.stn-dd .stn-subchip.is-on { background: transparent; color: #1b2236; }
.stn-dd .stn-subchip.is-on .stn-subchip__box { background: var(--pc); border-color: var(--pc); color: #fff; }

@media (max-width: 991px) {
  .stn-explore--compact_map .stn-cats,
  .stn-explore--compact_filter .stn-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stn-explore--compact_map .stn-map--live,
  .stn-explore--compact_filter .stn-map--live { height: 440px; }
}
@media (max-width: 575px) {
  .stn-explore--compact_map .stn-cats,
  .stn-explore--compact_filter .stn-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stn-explore--compact_map .stn-cat__title,
  .stn-explore--compact_filter .stn-cat__title { font-size: 14px; }
  .stn-dd { width: 100%; }
}

/* ---- Layout 4 (progressive): after a click the cards shrink but stay in the LEFT column; map stays on the right ---- */
.stn-explore--progressive.is-compact .stn-explore__grid { align-items: start; }
.stn-explore--progressive.is-compact .stn-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
.stn-explore--progressive.is-compact .stn-cat {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: .5rem;
  min-height: 0; padding: .5rem .6rem; border-radius: 10px; text-align: left;
}
.stn-explore--progressive.is-compact .stn-cat__icon { width: 32px; height: 32px; margin: 0; font-size: .95rem; flex: none; }
.stn-explore--progressive.is-compact .stn-cat__icon img { width: 18px; height: 18px; }
.stn-explore--progressive.is-compact .stn-cat__title { margin: 0; font-size: 15px; line-height: 1.15; }
.stn-explore--progressive.is-compact .stn-cat__desc,
.stn-explore--progressive.is-compact .stn-cat__count { display: none; }
.stn-explore--progressive.is-compact .stn-cat__check { top: 5px; right: 5px; width: 16px; height: 16px; font-size: .55rem; }
.stn-explore--progressive.is-compact .stn-subfilters { display: block; margin-top: 14px; }
.stn-explore--progressive.is-compact .stn-dd { display: block; width: 100%; }
.stn-explore--progressive.is-compact .stn-dd__toggle { cursor: default; }
.stn-explore--progressive.is-compact .stn-dd__caret { display: none; }
.stn-explore--progressive.is-compact .stn-dd__menu { position: static; width: 100%; max-height: 330px; margin-top: 6px; box-shadow: none; }
@media (max-width: 991px) {
  .stn-explore--progressive.is-compact .stn-explore__grid { display: flex; flex-direction: column; }
  .stn-explore--progressive.is-compact .stn-explore__grid > div:first-child { width: 100%; }
}

/* ---- Layout 5 (three_col): big cards + map first; after a click: categories | subcategories | map ---- */
.stn-explore--three_col.is-compact .stn-explore__grid { display: grid; grid-template-columns: 230px 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.stn-explore--three_col.is-compact .stn-explore__grid > div:first-child { display: contents; }
.stn-explore--three_col.is-compact .stn-cats { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
.stn-explore--three_col.is-compact .stn-subfilters { grid-column: 2; grid-row: 1; display: block; margin: 0; }
.stn-explore--three_col.is-compact .stn-map--live { grid-column: 3; grid-row: 1; width: 100%; aspect-ratio: auto; height: 560px; min-height: 0; }
.stn-explore--three_col.is-compact .stn-cat {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: .65rem;
  min-height: 0; padding: .7rem .8rem; border-radius: 10px; text-align: left;
}
.stn-explore--three_col.is-compact .stn-cat__icon { width: 38px; height: 38px; margin: 0; font-size: 1.05rem; flex: none; }
.stn-explore--three_col.is-compact .stn-cat__icon img { width: 20px; height: 20px; }
.stn-explore--three_col.is-compact .stn-cat__title { margin: 0; font-size: 17px; line-height: 1.15; }
.stn-explore--three_col.is-compact .stn-cat__desc { display: none; }
.stn-explore--three_col.is-compact .stn-cat__count { margin-left: auto; font-size: 12px; white-space: nowrap; }
.stn-explore--three_col.is-compact .stn-cat__check { display: none !important; }
.stn-explore--three_col.is-compact .stn-dd { display: block; width: 100%; }
.stn-explore--three_col.is-compact .stn-dd__toggle { cursor: default; }
.stn-explore--three_col.is-compact .stn-dd__caret { display: none; }
.stn-explore--three_col.is-compact .stn-dd__menu { position: static; width: 100%; max-height: 470px; margin-top: 6px; box-shadow: none; }
@media (max-width: 1199px) {
  .stn-explore--three_col.is-compact .stn-explore__grid { grid-template-columns: 200px minmax(0, 1fr); }
  .stn-explore--three_col.is-compact .stn-cats { grid-column: 1; grid-row: 1; }
  .stn-explore--three_col.is-compact .stn-subfilters { grid-column: 2; grid-row: 1; }
  .stn-explore--three_col.is-compact .stn-map--live { grid-column: 1 / -1; grid-row: 2; height: 460px; }
}
@media (max-width: 767px) {
  .stn-explore--three_col.is-compact .stn-explore__grid { grid-template-columns: minmax(0, 1fr); }
  .stn-explore--three_col.is-compact .stn-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1; grid-row: auto; }
  .stn-explore--three_col.is-compact .stn-subfilters, .stn-explore--three_col.is-compact .stn-map--live { grid-column: 1; grid-row: auto; }
}

/* ---- Slim, rounded scrollbars for the subcategory lists ---- */
.stn-dd__menu { scrollbar-width: thin; scrollbar-color: #c3ccdb transparent; }
.stn-dd__menu::-webkit-scrollbar { width: 8px; }
.stn-dd__menu::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.stn-dd__menu::-webkit-scrollbar-thumb { background: #c9d1df; border-radius: 99px; border: 2px solid #fff; }
.stn-dd__menu::-webkit-scrollbar-thumb:hover { background: #8fa0bd; }

/* ---- Facilities fill COLUMNS first (2 rows); exits take the leftover width ---- */
.stn-info__inner--fit { grid-template-columns: minmax(0, var(--fa, 1fr)) minmax(0, var(--fb, 1fr)); }
.stn-info__inner--fit .stn-facilities {
  grid-template-columns: repeat(var(--fc, 4), minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
}
@media (max-width: 991px) {
  .stn-info__inner--fit { grid-template-columns: minmax(0, 1fr); }
  .stn-info__inner--fit .stn-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; }
}

/* Facilities heading always stays on ONE line; the column never gets narrower than it */
.stn-info__inner--fit .stn-sec-head__title { white-space: nowrap; }
.stn-info__inner--fit { grid-template-columns: minmax(min-content, var(--fa, 1fr)) minmax(0, var(--fb, 1fr)); }
@media (max-width: 991px) {
  .stn-info__inner--fit { grid-template-columns: minmax(0, 1fr); }
  .stn-info__inner--fit .stn-sec-head__title { white-space: normal; }
}

/* Facility boxes are ALWAYS the same size (--fw), whatever the number selected; extra width goes to the exits card */
.stn-info__inner--fit { --fw: clamp(112px, 11.2vw, 160px); grid-template-columns: minmax(min-content, min(calc(var(--fc, 4) * var(--fw) + (var(--fc, 4) - 1) * 22px), 50%)) minmax(0, 1fr); }
.stn-info__inner--fit .stn-facilities { grid-template-columns: repeat(var(--fc, 4), var(--fw)); justify-content: start; }
.stn-info__inner--fit .stn-fac { min-height: calc(var(--fw) * 1.2); }
.stn-info__inner--fit .stn-fac__icon { width: calc(var(--fw) * .52); height: calc(var(--fw) * .52); }
.stn-info__inner--fit .stn-fac__label { font-size: clamp(15px, 1.35vw, 20px); }
@media (max-width: 991px) {
  .stn-info__inner--fit { grid-template-columns: minmax(0, 1fr); }
  .stn-info__inner--fit .stn-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- permanent "You are here" card in the line strips ---- */
.line-card .station-card--static { position: absolute; top: 0; left: 0; z-index: 5; opacity: 1; transform: none; transition: none; pointer-events: none; }
#lines { padding-top: 70px; }
#lines .line-card { margin-top: 60px; }
#lines .line-card:first-child { margin-top: 0; }
.line-card:has(.station-card--static) .station.is-current { visibility: hidden; }
