/* Stránky tratí a seznam tratí (pro vyhledávače i lidi) */
:root {
  --bg: #0f0d16; --surface: #181523; --surface-2: #221e31; --line: #2f2a42;
  --fg: #f3f1f9; --muted: #a39dba; --accent: #9b8cff; --accent-ink: #120f1c; --brand: #91298d;
  --display: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f5f4fa; --surface: #ffffff; --surface-2: #eeecf6; --line: #dcd8ea; --fg: #17141f; --muted: #615a78; --accent: #5a45e0; --accent-ink: #fff; color-scheme: light; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 "IBM Plex Sans", "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand img { border-radius: 8px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font: 800 21px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand small { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.eyebrow { margin: 22px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 4px 0 16px; font: 800 clamp(34px, 7vw, 52px)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
h2 { margin: 32px 0 8px; font-size: 20px; }
.lead { font-size: 17px; color: var(--muted); }
.muted { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 18px; }
.facts div { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.facts b { display: block; font: 800 26px/1.05 var(--display); }
.facts span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font-weight: 600; text-decoration: none; text-align: center; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta { margin: 0 0 18px; }
.cta .btn { min-height: 52px; font-size: 16px; }
.cta p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.tmap { display: block; width: 100%; height: auto; margin: 8px 0; }
.tmap-cz { fill: var(--surface-2); stroke: var(--line); stroke-width: 2; }
.tmap-halo { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }
.tmap-line { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.tmap-end circle { fill: var(--bg); stroke: var(--fg); stroke-width: 3; }
.stations { columns: 2; column-gap: 28px; padding-left: 26px; }
.stations li { break-inside: avoid; }
@media (max-width: 480px) { .stations { columns: 1; } }
.nav-lines, .lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nav-lines a, .lines a { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.nav-lines a b { white-space: nowrap; font-weight: 600; }
.nav-lines a span { color: var(--muted); }
.lines a b { min-width: 40px; color: var(--accent); font-variant-numeric: tabular-nums; }
.lines a span { flex: 1; }
.lines a small { color: var(--muted); white-space: nowrap; }
.nav-lines a:hover, .lines a:hover { border-color: var(--accent); }
.shop { margin: 36px 0 0; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 18%, var(--surface)); border: 1px solid var(--line); }
.shop p { margin: 0 0 12px; }
.foot { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; border-top: 1px solid var(--line); font-size: 14px; }
.foot p { margin: 6px 0; }
.foot .muted { font-size: 12.5px; }
