/*
 * RadarČeska — Train Profile Product v4.8.2
 * Product presentation only. Existing live map stays in its original DOM owner.
 */

body.rc-profile-v482{
  background:#f4f7f6;
}

body.rc-profile-v482 .train-page-main{
  width:min(1280px,calc(100% - 32px));
  max-width:1280px;
  margin-inline:auto;
}

/* Hero */
body.rc-profile-v482 .rc-v383-hero{
  display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(350px,.72fr);
  gap:20px;
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(35,68,72,.09);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(35,58,62,.045);
  overflow:hidden;
}
body.rc-profile-v482 .rc-v383-copy{
  min-width:0;
  padding:11px 8px 8px;
}
body.rc-profile-v482 .rc-v383-kicker,
body.rc-profile-v482 .rc-v383-lead,
body.rc-profile-v482 .rc-v383-status>.is-green,
body.rc-profile-v482 .rc-v383-status>a{
  display:none;
}
body.rc-profile-v482 .rc480-badges{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}
body.rc-profile-v482 .rc480-train-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 13px;
  border-radius:999px;
  background:#087f67;
  color:#fff;
  font-size:12px;
  font-weight:850;
  line-height:1;
}
body.rc-profile-v482 .rc480-type-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 12px;
  border-radius:999px;
  background:#f0f4f3;
  color:#60767a;
  font-size:11px;
  font-weight:750;
}
body.rc-profile-v482 .rc480-operator-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 10px;
  border-radius:999px;
  color:#315e72;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
body.rc-profile-v482 .rc-v383-copy>h1{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
body.rc-profile-v482 .rc-v383-route{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
  margin:0 0 18px;
  color:#173e45;
  font-size:clamp(22px,2.15vw,33px);
  font-weight:850;
  line-height:1.08;
  letter-spacing:-.045em;
}
body.rc-profile-v482 .rc-v383-route a,
body.rc-profile-v482 .rc-v383-route>a.rc-v463-station-link{
  display:inline-flex;
  align-items:center;
  padding:11px 14px;
  border-radius:14px;
  background:#f1f5f4;
  color:#173e45;
  text-decoration:none;
  transition:background .15s ease,color .15s ease;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.rc-profile-v482 .rc-v383-route a:hover{
  background:#e7f2ef;
  color:#08775f;
}
body.rc-profile-v482 .rc-v383-route b{
  color:#a5b7b4;
  font-size:.82em;
  font-weight:500;
}
body.rc-profile-v482 .rc-v383-status{
  display:flex;
  margin:0 0 4px;
}
body.rc-profile-v482 .rc-v383-watch{
  min-height:32px;
  padding:6px 11px;
  border:1px solid rgba(31,77,73,.12);
  border-radius:999px;
  background:#fff;
  color:#48686c;
  box-shadow:none;
  font-size:10px;
  font-weight:750;
}
body.rc-profile-v482 .rc-v383-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:14px;
  border-top:1px solid rgba(37,70,74,.075);
}
body.rc-profile-v482 .rc-v383-facts article{
  min-width:0;
  padding:13px 12px 7px;
  border:0;
  border-right:1px solid rgba(37,70,74,.075);
  background:transparent;
}
body.rc-profile-v482 .rc-v383-facts article:last-child{
  border-right:0;
}
body.rc-profile-v482 .rc-v383-facts article.rc480-hide{
  display:none;
}
body.rc-profile-v482 .rc-v383-facts article span{
  display:block;
  margin-bottom:3px;
  color:#87979a;
  font-size:9px;
  font-weight:700;
}
body.rc-profile-v482 .rc-v383-facts article b{
  display:block;
  overflow:hidden;
  color:#2a4a50;
  font-size:12px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.rc-profile-v482 .rc480-map-fact a{
  color:#087c63;
  text-decoration:none;
}
body.rc-profile-v482 .rc-v383-visual{
  position:relative;
  min-height:235px;
  border-radius:15px;
  overflow:hidden;
  background:#edf3f1;
}
body.rc-profile-v482 .rc-v383-photo-slot{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
}
body.rc-profile-v482 .rc-v383-photo-slot[hidden]{
  display:none;
}
body.rc-profile-v482 .rc-v383-photo-slot img{
  width:100%;
  height:100%;
  object-fit:cover;
}
body.rc-profile-v482 .rc-v383-photo-badge{
  display:none;
}
body.rc-profile-v482 .rc-v383-photo-caption{
  position:absolute;
  left:13px;
  bottom:12px;
  max-width:78%;
  padding:6px 9px;
  border-radius:9px;
  background:rgba(15,38,42,.72);
  color:#fff;
  font-size:9px;
  font-weight:750;
  backdrop-filter:blur(8px);
}
body.rc-profile-v482 .rc-v383-photo-slot:not([hidden])~.rc-v383-route-layer{
  display:none;
}
body.rc-profile-v482>.rc-train-operator-entity,
body.rc-profile-v482 .train-page-main>.rc-train-operator-entity{
  display:none;
}

/* Live summary */
body.rc-profile-v482 .rc480-livebar{
  display:grid;
  grid-template-columns:minmax(150px,1.15fr) minmax(105px,.7fr) minmax(105px,.7fr) minmax(145px,.9fr) auto;
  margin:12px 0;
  border:1px solid rgba(35,68,72,.09);
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 22px rgba(35,58,62,.035);
  overflow:hidden;
}
body.rc-profile-v482 .rc480-live-item{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  gap:10px;
  padding:12px 16px;
}
body.rc-profile-v482 .rc480-live-item+.rc480-live-item:before{
  content:"";
  position:absolute;
  left:0;
  top:22%;
  width:1px;
  height:56%;
  background:rgba(37,70,74,.075);
}
body.rc-profile-v482 .rc480-live-dot{
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#14aa84;
  box-shadow:0 0 0 6px rgba(20,170,132,.10);
}
body.rc-profile-v482 .rc480-live-item span{
  display:block;
  color:#839397;
  font-size:9px;
}
body.rc-profile-v482 .rc480-live-item strong{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:#29494f;
  font-size:13px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.rc-profile-v482 .rc480-live-status strong{
  color:#087a61;
}
body.rc-profile-v482 .rc480-delay.is-good strong{color:#148263}
body.rc-profile-v482 .rc480-delay.is-warn strong{color:#d27a19}
body.rc-profile-v482 .rc480-delay.is-bad strong{color:#c65449}
body.rc-profile-v482 .rc480-live-action{
  display:flex;
  align-items:center;
  padding:9px 11px;
}
body.rc-profile-v482 .rc480-live-action a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 17px;
  border-radius:12px;
  background:#087e66;
  color:#fff;
  font-size:10px;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}

/* Tabs */
body.rc-profile-v482 .rc-train-section-nav{
  display:flex;
  align-items:center;
  gap:5px;
  margin:0 0 12px;
  padding:6px;
  border:1px solid rgba(36,68,72,.08);
  border-radius:14px;
  background:#fff;
  box-shadow:none;
  overflow-x:auto;
  scrollbar-width:none;
}
body.rc-profile-v482 .rc-train-section-nav::-webkit-scrollbar{display:none}
body.rc-profile-v482 .rc-train-section-nav a{
  flex:0 0 auto;
  min-width:94px;
  padding:8px 14px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#526b70;
  font-size:10px;
  font-weight:800;
  text-align:center;
  text-decoration:none;
}
body.rc-profile-v482 .rc-train-section-nav a.is-active,
body.rc-profile-v482 .rc-train-section-nav a:hover{
  background:#eaf6f2;
  color:#08775f;
}

/* Keep the live MapLibre map in its original owner; only simplify presentation. */
body.rc-profile-v482 .rc-train-overview-grid-v430{
  display:grid;
  grid-template-columns:minmax(0,2.15fr) minmax(255px,.82fr);
  gap:12px;
  margin:0 0 12px;
}
body.rc-profile-v482 .rc-train-overview-grid-v430.rc481-no-photo{
  grid-template-columns:1fr;
}
body.rc-profile-v482 .rc-train-current-v430{
  display:block;
  padding:0;
  border:1px solid rgba(35,68,72,.09);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(35,58,62,.035);
  overflow:hidden;
}
body.rc-profile-v482 .rc-train-current-v430>.rc-full-section-title,
body.rc-profile-v482 .rc-train-current-v430>.train-page-route,
body.rc-profile-v482 .rc-train-current-v430>.train-page-stats,
body.rc-profile-v482 .rc-train-current-v430>.train-page-facts,
body.rc-profile-v482 .rc-train-current-v430 .train-live-context-grid,
body.rc-profile-v482 .rc-train-current-v430 .train-live-map-action,
body.rc-profile-v482 .rc-train-current-v430 .train-live-progress{
  display:none;
}
body.rc-profile-v482 .rc480-map-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px 11px;
}
body.rc-profile-v482 .rc480-map-head h2{
  margin:0;
  color:#193f46;
  font-size:15px;
  font-weight:850;
}
body.rc-profile-v482 .rc480-map-head p{
  margin:3px 0 0;
  color:#87979a;
  font-size:9px;
}
body.rc-profile-v482 .rc480-map-head a{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid rgba(28,79,71,.10);
  border-radius:9px;
  color:#08785f;
  font-size:9px;
  font-weight:800;
  text-decoration:none;
}
body.rc-profile-v482 .rc-train-current-v430 .train-live-understats{
  margin:0;
  padding:0 10px 10px;
}
body.rc-profile-v482 .rc-train-current-v430 .train-live-map-card{
  margin:0;
  padding:0;
  border:0;
  border-radius:13px;
  background:transparent;
  box-shadow:none;
  overflow:hidden;
}
body.rc-profile-v482 .rc-train-current-v430 .train-live-map-head{
  display:none;
}
body.rc-profile-v482 #trainProfileMiniMap{
  height:310px;
  min-height:310px;
  border:0;
  border-radius:13px;
  overflow:hidden;
}

/* Journey history */
body.rc-profile-v482 [data-rc-journey-history-v2-slot]{
  display:block;
  margin:0 0 13px;
}
body.rc-profile-v482 .rc-jh{
  margin:0;
  border:1px solid rgba(35,68,72,.09);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(35,58,62,.035);
  overflow:hidden;
}
body.rc-profile-v482 .rc-jh-head{
  align-items:center;
  padding:15px 16px 12px;
  border-bottom:0;
}
body.rc-profile-v482 .rc-jh-kicker{display:none}
body.rc-profile-v482 .rc-jh-head h2{
  color:#193f46;
  font-size:16px;
  font-weight:850;
  letter-spacing:-.02em;
}
body.rc-profile-v482 .rc-jh-head p{
  margin-top:3px;
  color:#87979a;
  font-size:9px;
}
body.rc-profile-v482 .rc-jh-count{
  min-width:auto;
  padding:7px 10px;
  border:1px solid rgba(28,79,71,.10);
  background:#fff;
  color:#08785f;
  font-size:9px;
  font-weight:800;
}
body.rc-profile-v482 .rc480-history-columns{
  display:grid;
  grid-template-columns:105px minmax(210px,1.7fr) 120px 120px 120px 155px 82px;
  gap:10px;
  align-items:center;
  margin:0 10px;
  padding:8px 10px;
  border-radius:9px;
  background:#f3f6f5;
  color:#73878b;
  font-size:8px;
  font-weight:750;
}
body.rc-profile-v482 .rc-jh-list{
  padding:0 10px 10px;
}
body.rc-profile-v482 .rc-jh-run{
  border-bottom:1px solid rgba(37,70,74,.07);
}
body.rc-profile-v482 .rc-jh-run:last-child{border-bottom:0}
body.rc-profile-v482 .rc-jh-run>summary{
  display:grid;
  grid-template-columns:105px minmax(210px,1.7fr) 120px 120px 120px 155px 82px;
  gap:10px;
  align-items:center;
  min-height:50px;
  padding:8px 10px;
  background:#fff;
  list-style:none;
  cursor:pointer;
}
body.rc-profile-v482 .rc-jh-run>summary::-webkit-details-marker{display:none}
body.rc-profile-v482 .rc-jh-run>summary:after{display:none}
body.rc-profile-v482 .rc-jh-run>summary:hover,
body.rc-profile-v482 .rc-jh-run[open]>summary{background:#fafcfb}
body.rc-profile-v482 .rc480-cell strong{
  display:block;
  overflow:hidden;
  color:#29494f;
  font-size:10px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.rc-profile-v482 .rc480-cell small{
  display:block;
  margin-top:2px;
  color:#92a0a3;
  font-size:8px;
}
body.rc-profile-v482 .rc480-delay-cell.is-good strong{color:#148263}
body.rc-profile-v482 .rc480-delay-cell.is-warn strong{color:#d27a19}
body.rc-profile-v482 .rc480-delay-cell.is-bad strong{color:#c65449}
body.rc-profile-v482 .rc480-spark{
  display:flex;
  align-items:flex-end;
  gap:2px;
  height:20px;
  color:#1ca985;
}
body.rc-profile-v482 .rc480-spark.is-warn{color:#e1a039}
body.rc-profile-v482 .rc480-spark.is-bad{color:#d16b5f}
body.rc-profile-v482 .rc480-spark i{
  display:block;
  width:3px;
  min-height:3px;
  height:var(--rc480-h,4px);
  border-radius:2px 2px 0 0;
  background:currentColor;
}
body.rc-profile-v482 .rc480-spark span{
  color:#89999c;
  font-size:8px;
  font-weight:700;
}
body.rc-profile-v482 .rc480-detail-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:5px 9px;
  border:1px solid rgba(28,79,71,.10);
  border-radius:8px;
  color:#08785f;
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
}
body.rc-profile-v482 .rc-jh-body{
  padding:13px 14px 16px;
  background:#f8faf9;
}
body.rc-profile-v482 .rc-jh-stat span{font-size:8px}
body.rc-profile-v482 .rc-jh-stat strong{font-size:11px}
body.rc-profile-v482 .rc-jh-legacy-note{
  margin-top:10px;
  padding:9px 11px;
  border-radius:9px;
  background:#f1f5f4;
  color:#788b8e;
  font-size:9px;
}
body.rc-profile-v482 [data-rc-history-slot]{display:none}

/* Secondary sections */
body.rc-profile-v482 .rc-full-consist-v430{
  margin-top:13px;
  border-radius:18px;
  box-shadow:0 8px 26px rgba(35,58,62,.035);
}
body.rc-profile-v482 .rc-full-section-head p{
  max-width:700px;
  color:#849598;
  font-size:10px;
}
body.rc-profile-v482 .rc-v383-about{
  margin-top:13px;
  grid-template-columns:1fr;
}
body.rc-profile-v482 .rc-v383-faq,
body.rc-profile-v482 .rc-v383-about-main>small,
body.rc-profile-v482 .rc-v383-route-note{
  display:none;
}
body.rc-profile-v482 .rc-v383-about-lead{
  max-width:900px;
  color:#75898d;
  font-size:11px;
  line-height:1.5;
}

@media (max-width:940px){
  body.rc-profile-v482 .train-page-main{
    width:min(100%,calc(100% - 20px));
  }
  body.rc-profile-v482 .rc-v383-hero{
    grid-template-columns:1fr;
  }
  body.rc-profile-v482 .rc480-livebar{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.rc-profile-v482 .rc480-live-action{
    grid-column:1 / -1;
  }
  body.rc-profile-v482 .rc480-live-action a{width:100%}
}

@media (max-width:700px){
  body.rc-profile-v482 .train-page-main{
    width:100%;
    padding-left:10px;
    padding-right:10px;
  }
  body.rc-profile-v482 .rc-v383-hero{
    margin-top:10px;
    padding:11px;
    border-radius:16px;
  }
  body.rc-profile-v482 .rc-v383-copy{padding:5px 2px 0}
  body.rc-profile-v482 .rc480-badges{
    gap:6px;
    margin-bottom:10px;
  }
  body.rc-profile-v482 .rc480-train-badge,
  body.rc-profile-v482 .rc480-type-badge,
  body.rc-profile-v482 .rc480-operator-badge{
    min-height:28px;
    padding:6px 9px;
    font-size:9px;
  }
  body.rc-profile-v482 .rc-v383-route{
    gap:7px;
    margin-bottom:11px;
    font-size:21px;
  }
  body.rc-profile-v482 .rc-v383-route a,
  body.rc-profile-v482 .rc-v383-route>a.rc-v463-station-link{
    padding:9px 10px;
    border-radius:11px;
  }
  body.rc-profile-v482 .rc-v383-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.rc-profile-v482 .rc-v383-facts article{padding:10px 8px}
  body.rc-profile-v482 .rc-v383-visual{min-height:170px}
  body.rc-profile-v482 .rc480-livebar{
    margin:8px 0;
    border-radius:14px;
  }
  body.rc-profile-v482 .rc480-live-item{padding:10px 11px}
  body.rc-profile-v482 .rc480-live-item strong{font-size:12px}
  body.rc-profile-v482 .rc-train-section-nav{
    margin-bottom:8px;
    border-radius:12px;
  }
  body.rc-profile-v482 .rc-train-section-nav a{
    min-width:82px;
    padding:7px 10px;
    font-size:9px;
  }
  body.rc-profile-v482 .rc-train-current-v430{border-radius:15px}
  body.rc-profile-v482 #trainProfileMiniMap{
    height:230px;
    min-height:230px;
  }
  body.rc-profile-v482 .rc-jh{border-radius:15px}
  body.rc-profile-v482 .rc-jh-head{padding:12px 12px 9px}
  body.rc-profile-v482 .rc480-history-columns{display:none}
  body.rc-profile-v482 .rc-jh-list{padding:0 8px 8px}
  body.rc-profile-v482 .rc-jh-run{
    margin-bottom:6px;
    border:1px solid rgba(37,70,74,.07);
    border-radius:11px;
    overflow:hidden;
  }
  body.rc-profile-v482 .rc-jh-run>summary{
    grid-template-columns:1fr auto;
    gap:6px 9px;
    min-height:0;
    padding:11px;
  }
  body.rc-profile-v482 .rc480-date{grid-column:1;grid-row:1}
  body.rc-profile-v482 .rc480-delay-cell{grid-column:2;grid-row:1;text-align:right}
  body.rc-profile-v482 .rc480-route{grid-column:1 / -1;grid-row:2}
  body.rc-profile-v482 .rc480-plan{grid-column:1;grid-row:3}
  body.rc-profile-v482 .rc480-range{grid-column:2;grid-row:3;text-align:right}
  body.rc-profile-v482 .rc480-spark-wrap{grid-column:1;grid-row:4}
  body.rc-profile-v482 .rc480-detail-button{grid-column:2;grid-row:4;justify-self:end}
}


/* ============================================================
   v4.8.2 ownership + follow-map fixes
   ============================================================ */

/* v4.8.2 is the single presentation owner. Old v4.6 live strip must
   never appear next to the canonical server/live-context summary. */
body.rc-profile-v482 .rc-v460-livebar,
body.rc-profile-v482 [data-rc-v460-livebar],
body.rc-profile-v482 .rc-route-variants{
  display:none;
}

/* The old hero schematic was designed for a dark background. v4.8.0
   changed the card to pale but did not recolor the schematic, which is
   why the right side looked washed out. */
body.rc-profile-v482 .rc-v383-visual-overlay{
  display:none;
}
body.rc-profile-v482 .rc-v383-route-layer{
  position:relative;
  z-index:2;
  min-height:235px;
  padding:17px 18px;
  background:linear-gradient(145deg,#eef7f4 0%,#e7f2ef 100%);
  color:#294f55;
}
body.rc-profile-v482 .rc-v383-visual-head span{
  color:#3b6667;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
body.rc-profile-v482 .rc-v383-visual-head b{
  color:#78918e;
  font-size:8px;
  font-weight:800;
}
body.rc-profile-v482 .rc-v383-line{
  margin-top:64px;
}
body.rc-profile-v482 .rc-v383-line:before{
  height:2px;
  background:linear-gradient(90deg,#20b18c,#8fd8c7,#20b18c);
  box-shadow:none;
}
body.rc-profile-v482 .rc-v383-stop i{
  width:12px;
  height:12px;
  border:3px solid #087d66;
  background:#fff;
  box-shadow:0 0 0 2px rgba(12,161,129,.16);
}
body.rc-profile-v482 .rc-v383-stop span{
  color:#365b60;
  font-size:8px;
  font-weight:800;
  text-shadow:none;
}
body.rc-profile-v482 .rc-v383-visual-foot{
  border-top:1px solid rgba(41,79,85,.10);
  color:#728a8d;
  font-size:7px;
  text-shadow:none;
}

/* If a real photo exists it wins. */
body.rc-profile-v482 .rc-v383-photo-slot:not([hidden])~.rc-v383-route-layer{
  display:none;
}

/* Photo module beside the existing map; map DOM ownership is unchanged. */
body.rc-profile-v482 .rc481-photo-panel{
  min-width:0;
  border:1px solid rgba(35,68,72,.09);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(35,58,62,.035);
  overflow:hidden;
}
body.rc-profile-v482 .rc481-photo-head{
  padding:14px 15px 10px;
}
body.rc-profile-v482 .rc481-photo-head h2{
  margin:0;
  color:#193f46;
  font-size:15px;
  font-weight:850;
}
body.rc-profile-v482 .rc481-photo-head p{
  margin:3px 0 0;
  color:#87979a;
  font-size:9px;
}
body.rc-profile-v482 .rc481-photo-link{
  position:relative;
  display:block;
  min-height:250px;
  margin:0 10px 10px;
  border-radius:13px;
  overflow:hidden;
  background:#eef3f1;
}
body.rc-profile-v482 .rc481-photo-link img{
  display:block;
  width:100%;
  height:250px;
  object-fit:cover;
}
body.rc-profile-v482 .rc481-photo-link span{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  padding:7px 9px;
  border-radius:8px;
  background:rgba(15,38,42,.72);
  color:#fff;
  font-size:9px;
  font-weight:750;
  backdrop-filter:blur(7px);
}

/* On tablet/mobile the page remains map-first. */
@media (max-width:940px){
  body.rc-profile-v482 .rc-train-overview-grid-v430{
    grid-template-columns:1fr;
  }
  body.rc-profile-v482 .rc481-photo-panel{
    display:none;
  }
}

@media (max-width:700px){
  body.rc-profile-v482 .rc-v383-route{
    flex-wrap:wrap;
    font-size:20px;
  }
}


/* ============================================================
   v4.8.2 LIVE MAP — CURRENT TRAIN FIRST
   ============================================================ */
body.rc-profile-v482 #trainProfileMiniMap{
  position:relative;
  background:#eef3f1;
}
body.rc-profile-v482 #trainProfileMiniMap .maplibregl-ctrl-attrib{
  margin:0 8px 8px 0;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 2px 8px rgba(31,62,58,.08);
  backdrop-filter:blur(8px);
}
body.rc-profile-v482 #trainProfileMiniMap .maplibregl-ctrl-attrib.maplibregl-compact{
  min-height:24px;
  min-width:24px;
}
body.rc-profile-v482 #trainProfileMiniMap .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner{
  display:none;
}
body.rc-profile-v482 #trainProfileMiniMap .maplibregl-ctrl-attrib-button{
  width:24px;
  height:24px;
}
body.rc-profile-v482 .rc-v482-refollow{
  position:absolute;
  left:12px;
  top:12px;
  z-index:9;
  display:none;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border:1px solid rgba(8,95,76,.12);
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#176455;
  box-shadow:0 7px 20px rgba(26,63,57,.10);
  font:800 10px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
body.rc-profile-v482 .rc-v482-refollow.is-visible{
  display:inline-flex;
}
body.rc-profile-v482 .rc-v482-train-marker{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#176455;
  cursor:pointer;
  user-select:none;
}
body.rc-profile-v482 .rc-v482-train-marker-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:3px solid #fff;
  border-radius:50%;
  background:#079f7f;
  color:#fff;
  box-shadow:0 3px 10px rgba(7,103,84,.28),0 0 0 7px rgba(7,159,127,.11);
}
body.rc-profile-v482 .rc-v482-train-marker-icon svg{
  width:16px;
  height:16px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.rc-profile-v482 .rc-v482-train-marker-label{
  max-width:160px;
  padding:3px 6px;
  border-radius:6px;
  background:rgba(255,255,255,.88);
  color:#345e59;
  box-shadow:0 2px 7px rgba(34,67,62,.08);
  font:800 9px/1.15 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  backdrop-filter:blur(6px);
}
body.rc-profile-v482 .rc-v482-train-marker.is-stale .rc-v482-train-marker-icon{
  background:#829995;
  box-shadow:0 3px 10px rgba(62,82,78,.18),0 0 0 6px rgba(93,116,111,.09);
}

/* Hero fallback is styled from the first paint because rc-profile-v482
   is written directly into the server HTML body class by the installer. */
body.rc-profile-v482 .rc-v383-visual{
  background:#edf3f1;
}
body.rc-profile-v482 .rc-v383-route-layer{
  background:linear-gradient(145deg,#eef7f4 0%,#e7f2ef 100%);
}

@media(max-width:680px){
  body.rc-profile-v482 .rc-v482-train-marker-icon{
    width:29px;
    height:29px;
  }
  body.rc-profile-v482 .rc-v482-refollow{
    left:9px;
    top:9px;
  }
}
