/* goseq.app/route/<code>, /stop/<id>, /brisbane and /fleet (lines.js, stops.js, pageart.js): server-rendered, no scripts.
   v3 (22 Oct 2026): the homepage splash's look — warm near-black, GoAus coral, Plus Jakarta Sans with Instrument Serif for
   display — each route page tinted by its own colour (--rc, --rt on <body>). Dark by default, light when the device is.
   Phone first: one column with 16 px edges at 360–390 px; two columns from 1000 px. */
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'GSQ Serif'; src: url('/fonts/instrument-serif.woff2') format('woff2'); font-display: swap; }
body.ln {
  --bg: #121110; --surface: #1c1a18; --surface-2: #272421; --glass: #1c1a18cc; --text: #f6f1ea; --muted: #aaa196; --faint: #7a7269; --line: #ffffff14; --line-2: #ffffff24;
  --coral: #ff8a5b; --on-coral: #1d120c; --ok: #6fe3a0; --warn: #ffb21e; --rc: #ff8a5b; --rt: #1d1d1d;
  --m-land: #1a1816; --m-sea: #0d171c; --m-riv: #22404f; --m-dotc: #ffffff14; --m-case: #121110;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --serif: "GSQ Serif", "Iowan Old Style", Georgia, serif;
  color-scheme: dark; margin: 0; min-height: 100vh; font: 16px/1.55 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@media (prefers-color-scheme: light) {
  body.ln { --bg: #faf7f2; --surface: #ffffff; --surface-2: #f1ebe3; --glass: #faf7f2d9; --text: #1b1714; --muted: #655c53; --faint: #8d8379; --line: #1b171414; --line-2: #1b171424;
    --coral: #f0703f; --ok: #12804a; --warn: #a45a00; --m-land: #f1ece4; --m-sea: #d9e7ee; --m-riv: #a9c6d6; --m-dotc: #00000010; --m-case: #ffffff; color-scheme: light; }
}
.ln * { box-sizing: border-box; }
.ln a { color: inherit; }
.ln main a:not(.ln-btn):not(.xc) { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.ln :focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.ln img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ln-skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--coral); color: var(--on-coral) !important; font-weight: 700; text-decoration: none; }
.ln-skip:focus { top: 10px; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ln-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.ln-narrow { max-width: 760px; padding-bottom: 48px; }
@media (min-width: 768px) { .ln-wrap { padding: 0 28px; } }

/* header and footer */
.ln-top { position: sticky; top: 0; z-index: 10; background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.ln-top .ln-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.ln-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.ln-brand img { border-radius: 9px; }
.ln-nav { display: flex; align-items: center; gap: 2px; }
.ln-nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 999px; }
.ln-nav a:hover, .ln-nav a[aria-current] { color: var(--text); }
.ln-nav a.ln-open { background: var(--coral); color: var(--on-coral); font-weight: 700; padding: 0 16px; margin-left: 6px; }
.ln-foot { margin-top: 24px; padding: 32px 0 56px; font-size: 13px; line-height: 1.65; color: var(--muted); border-top: 1px solid var(--line); }
.ln-foot p { margin: 0 0 12px; max-width: 760px; }
.ln-foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 16px; }
.ln-foot-brand img { border-radius: 8px; } .ln-foot-brand em { font: italic 400 18px var(--serif); color: var(--muted); }
.ln-foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ln-foot a { color: inherit; }

/* shared type and controls */
.ln-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 0; }
.ln-crumbs a { color: var(--muted); text-decoration: none; padding: 10px 0; } .ln-crumbs a:hover { color: var(--text); }
.ln-over { display: inline-flex; align-items: center; gap: 9px; margin: 6px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.ln-over span { width: 7px; height: 7px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc) 25%, transparent); }
.ln-lead { max-width: 620px; margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.ln-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ln-tags li, .ln-pill { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); }
.ln-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 24px 0 0; }
.ln-cta span { font-size: 14px; color: var(--muted); }
.ln-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--coral); color: var(--on-coral) !important; font-weight: 750; font-size: 16px; text-decoration: none; box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--coral) 80%, transparent); }
.ln-btn:hover { filter: brightness(1.06); }
.ln-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 650; text-decoration: none !important; }
.ln-ghost:hover { background: var(--surface); }
.ln-sec { margin: 44px 0 0; }
.ln-sec h2 { margin: 0 0 16px; font: 400 clamp(28px, 6vw, 36px)/1.05 var(--serif); letter-spacing: -.01em; }
.ln-sec h3 { margin: 0 0 12px; font-size: 15px; letter-spacing: -.01em; }
.sec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; margin: 0 0 16px; }
.sec-h h2 { margin: 0; }
.sec-sub { font-size: 14px; color: var(--muted); }
.ln-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ln-more { margin: 14px 0 0; font-size: 15px; }
.ln-card { padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ln-card > h2 { font-size: 28px; }
.rt-catch { margin-top: 28px; padding: clamp(20px, 4vw, 32px); border-color: color-mix(in srgb, var(--rc) 38%, var(--line)); }
.rt-catch .ln-over { margin: 0 0 10px; }
.rt-catch h2 { margin-bottom: 8px; }
.rt-catch > p:not(.ln-over) { margin: 0 0 18px; color: var(--muted); }
.rt-catch form { margin: 20px 0 0; }
.rt-catch label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.rt-catch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rt-catch input { flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); color: var(--text); font: inherit; }
.rt-catch input::placeholder { color: var(--faint); }
.rt-catch button { min-height: 52px; padding: 10px 22px; border: 0; border-radius: 14px; background: var(--rc); color: var(--rt); font: 750 15px var(--sans); cursor: pointer; }
.rt-catch-answer { margin: 18px 0 10px !important; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); color: var(--text) !important; font-weight: 700; }
.rt-catch-yes { border-left: 4px solid var(--ok); }
.rt-catch-far, .rt-catch-missing, .rt-catch-busy, .rt-catch-unavailable { border-left: 4px solid var(--warn); }
.rt-catch .ln-note { margin: 14px 0 10px !important; font-size: 13px; }
.rt-catch-app { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 750; color: var(--coral) !important; }
.rt-catch-app .ic { width: 16px; height: 16px; }
@media (max-width: 480px) { .rt-catch button { width: 100%; } }
.tag { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.tag .ic { width: 14px; height: 14px; }
.tag-tt { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag-live { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.tag-warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); font-family: var(--sans); vertical-align: middle; margin-right: 10px; }

/* route chips */
.ln-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 44px; padding: 0 12px; border-radius: 12px; font-size: 24px; font-weight: 800; letter-spacing: 0; }
a.ln-chip { text-decoration: none; }
.xc { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 32px; height: 26px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 800; line-height: 1; text-decoration: none !important; white-space: nowrap; }
.xc-line { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); font-weight: 700; }
.xc-line i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.xc-bus { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-2); }
.xc-bus .ic { width: 14px; height: 14px; }
.xc-lg { height: 36px; min-width: 50px; padding: 0 10px; border-radius: 11px; font-size: 16px; }
.xc-lg.xc-line { font-size: 14px; }

/* the hero */
.rt-hero { position: relative; padding: 4px 0 34px; border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(60% 70% at 90% 0%, color-mix(in srgb, var(--rc) 26%, transparent), transparent 70%), radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--coral) 8%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--rc) 9%, var(--bg)), var(--bg)); }
.rt-hero-in { display: grid; gap: 26px; }
.rt-h1 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; font-size: clamp(30px, 7.4vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 750; overflow-wrap: anywhere; text-wrap: balance; }
.rt-name { min-width: 0; }
.rt-name i { font-style: normal; font-weight: 400; color: var(--muted); }
.rt-name small { display: block; margin-top: 6px; font-size: .42em; font-weight: 600; letter-spacing: -.01em; color: var(--muted); }
.rt-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 68px; height: 68px; padding: 0 14px; border-radius: 20px; background: var(--rc); color: var(--rt); font-size: 32px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--rc) 70%, transparent), inset 0 0 0 1px #ffffff26; }
.rt-badge-ic .ic { width: 36px; height: 36px; stroke-width: 1.9; }
.rt-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
.rt-facts li { display: grid; gap: 1px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--line); min-width: 0; }
.rt-facts b { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rt-facts span { font-size: 12px; color: var(--muted); }
@media (min-width: 560px) { .rt-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rt-map { margin: 0; border-radius: 26px; overflow: hidden; background: var(--m-land); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -40px #000; }
.rt-map svg { display: block; width: 100%; height: auto; }
.rt-map figcaption { padding: 10px 16px 12px; font-size: 12px; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .rt-hero { padding-bottom: 56px; }
  .rt-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
  .rt-hero-txt { padding-top: 12px; }
}

/* the maps (pageart.js) */
.m-land { fill: var(--m-land); } .m-sea { fill: var(--m-sea); } .m-isl { stroke: none; }
.m-dot { fill: var(--m-dotc); }
.m-riv { fill: none; stroke: var(--m-riv); stroke-linecap: round; stroke-linejoin: round; }
.m-case { fill: none; stroke: var(--m-case); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.m-rt { fill: none; stroke: var(--rc); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.m-back { fill: none; stroke: var(--rc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .4; stroke-dasharray: 2 5; }
.m-stops circle { fill: var(--m-land); stroke: var(--rc); stroke-width: 2; }
.m-end { fill: var(--rc); stroke: var(--text); stroke-width: 3; }
.m-lbl { fill: var(--text); font-family: var(--sans); font-weight: 750; letter-spacing: -.01em; paint-order: stroke; stroke: var(--m-land); stroke-width: 5px; stroke-linejoin: round; }
.m-lbl.sm { fill: var(--muted); font-weight: 600; }
.m-scale path { fill: none; stroke: var(--muted); stroke-width: 1.5; } .m-scale text { fill: var(--muted); font: 600 11px var(--sans); }
.m-net { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.m-net.n-metro { stroke-width: 3.4; } .m-net.n-ferry { stroke-width: 3; stroke-dasharray: 1 5; } .m-net.n-tram { stroke-width: 3.4; }
.m-city rect { fill: var(--muted); }
.m-place { fill: var(--text); stroke: var(--m-land); stroke-width: 2; }
.m-ln { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.m-near circle { fill: var(--surface); stroke: var(--muted); stroke-width: 1.6; }
.m-pin { fill: var(--coral); stroke: var(--text); stroke-width: 3; } .m-pulse { fill: var(--coral); opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .m-map .m-rt { stroke-dasharray: 1; animation: m-draw 1.6s cubic-bezier(.6, 0, .2, 1) both .15s; }
  .m-net { stroke-dasharray: 1; animation: m-draw 2.2s cubic-bezier(.6, 0, .2, 1) both; }
  .m-net.n-ferry { animation: none; stroke-dasharray: 1 5; }
  .m-pulse { animation: m-pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
  .tag-live i { animation: live 2s ease-out infinite; }
  .ln-btn, .ln-ghost, .pop a, .tlines a, .stn a, .modes img { transition: filter .2s ease, background .2s ease, transform .35s ease, border-color .2s ease; }
  @keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes m-pulse { 0% { transform: scale(.5); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
  @keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
}

/* the body: one column on a phone, the main column and a side column from 1000 px */
.rt-body { padding-bottom: 24px; }
.rt-grid { display: grid; gap: 0; }
.rt-main, .rt-side { min-width: 0; }
@media (min-width: 1000px) { .rt-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }

/* next departures */
.deps { display: grid; gap: 12px; }
@media (min-width: 560px) { .deps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.dep { position: relative; padding: 18px 20px 16px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.dep::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--rc); }
.dep p { margin: 0; }
.dep-dir { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.dep-t { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px !important; }
.dep-t b { font-size: 42px; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dep-t small { font-size: 13px; color: var(--muted); }
.dep-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dep-more li { padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.dep-more small { color: var(--muted); font-weight: 500; }
.dep-at { display: flex; align-items: center; gap: 6px; margin-top: 12px !important; font-size: 13px; color: var(--muted); }
.dep-at .ic { width: 15px; height: 15px; }
.dep-none { margin-top: 10px !important; color: var(--muted); font-size: 14px; }

/* how often */
.tbl { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.rt-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.rt-tbl th, .rt-tbl td { padding: 12px 16px; text-align: left; vertical-align: top; }
.rt-tbl thead th { font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.rt-tbl tbody tr + tr > * { border-top: 1px solid var(--line); }
.rt-tbl tbody th { font-weight: 650; min-width: 120px; }
.rt-tbl tbody th small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.rt-tbl td { font-weight: 700; font-variant-numeric: tabular-nums; }
.fq-card { margin-top: 14px; }
.fq { display: grid; gap: 14px; }
.fq-row p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; font-size: 13.5px; }
.fq-row small { color: var(--muted); font-size: 12px; }
.fq-row svg { display: block; width: 100%; height: 46px; overflow: hidden; }
.fq-bars { fill: var(--rc); } .fq-0 { fill: var(--line-2); }
.fq-bars rect:hover { opacity: .75; }
.fq-peak { fill: color-mix(in srgb, var(--text) 6%, transparent); }
.fq-axis { position: relative; height: 16px; font-size: 11px; color: var(--muted); }
.fq-axis span { position: absolute; top: 0; transform: translateX(-10%); white-space: nowrap; }

/* stops: a metro-map line */
.ln-stops { margin: 0 0 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.ln-stops summary { cursor: pointer; list-style: none; padding: 16px 20px; min-height: 58px; display: flex; align-items: center; gap: 12px; font-weight: 750; }
.ln-stops summary::-webkit-details-marker { display: none; }
.ln-stops summary small { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ln-stops summary::after { content: ""; flex: none; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.ln-stops[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ln-stops ol:not(.tl) { margin: 0; padding: 4px 20px 16px 48px; color: var(--muted); font-size: 15px; } .ln-stops ol:not(.tl) li { padding: 3px 0; overflow-wrap: anywhere; }
.tl { list-style: none; margin: 0; padding: 4px 18px 18px 18px; }
.tl li { position: relative; padding: 8px 0 8px 34px; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.tl li::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 5px; background: var(--rc); }
.tl li:first-child::before { top: 50%; } .tl li:last-child::before { bottom: 50%; }
.tl li::after { content: ""; position: absolute; left: 5px; top: calc(50% - 6.5px); width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--rc); box-sizing: border-box; }
.tl li.tl-ic::after { left: 3px; top: calc(50% - 8.5px); width: 17px; height: 17px; background: var(--text); border-color: var(--surface); box-shadow: 0 0 0 2.5px var(--rc); }
.tl li.tl-end::after { left: 1px; top: calc(50% - 10.5px); width: 21px; height: 21px; background: var(--rc); border: 4px solid var(--text); }
.tl li.tl-end > a { font-weight: 750; }
.tl a { text-decoration: none; } .tl a:hover { text-decoration: underline; }
.tl-x { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.tl li:first-child:has(.tl-x)::before { top: 22px; } .tl li:last-child:has(.tl-x)::before { bottom: auto; height: 22px; }
.tl li:has(.tl-x)::after { top: 10px; } .tl li.tl-ic:has(.tl-x)::after { top: 8px; } .tl li.tl-end:has(.tl-x)::after { top: 6px; }

/* the app card */
.live { position: relative; margin: 44px 0 0; padding: 22px 20px 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--coral) 30%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--coral) 10%, var(--surface)), var(--surface)); display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 14px; }
.live-txt { padding-bottom: 22px; }
.live h2 { margin: 12px 0 14px; font: 400 30px/1.02 var(--serif); }
.live h2 em, .ln-end h2 em, .hb-h1 em { font-style: italic; color: var(--coral); }
.live-pts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.live-pts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--muted); }
.live-pts .ic { color: var(--coral); margin-top: 1px; }
.live .ln-btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.live-sm { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.live-shot { margin: 0; align-self: end; }
.live-shot img { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px -10px #000a; }
@media (min-width: 560px) and (max-width: 999px) { .live { grid-template-columns: minmax(0, 1fr) 180px; padding: 28px 28px 0; } }
.rt-body > .rt-note { margin-top: 28px; }

/* notes, on time, fleet, related, questions */
.rt-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: color-mix(in srgb, var(--rc) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); }
.rt-note > .ic { width: 28px; height: 28px; color: var(--text); margin-top: 2px; }
.rt-note h2 { font-size: 24px; margin: 0 0 6px; }
.rt-note p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ln-big { margin: 0; font-size: 18px; } .ln-big b { font-size: 56px; letter-spacing: -.05em; line-height: 1; color: var(--ok); margin-right: 6px; } .ln-big small { color: var(--muted); font-size: 14px; }
.ln-bands { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ln-bands li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.ln-bands b { font-size: 16px; font-variant-numeric: tabular-nums; } .ln-bands small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.ln-bands i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ok) var(--p), var(--line-2) var(--p)); }
.ln-fleet, .ln-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ln-fleet li { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ln-fleet img, .ln-nophoto { flex: none; width: 112px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.ln-fleet li > span { display: grid; gap: 2px; min-width: 0; } .ln-fleet small { color: var(--muted); font-size: 13px; }
.ln-credit, .ln-credit a { font-size: 11.5px !important; color: var(--faint); }
.ph-card { margin: 0; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ph-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ph-card figcaption { display: grid; gap: 2px; padding: 12px 16px 14px; }
.rt-alerts .ln-alerts li { padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.ln-alerts p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.rel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rel li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rel span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-size: 18px; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; max-width: 720px; color: var(--muted); }
.ln-end { margin: 56px 0 0; padding: 44px 22px; border-radius: 30px; text-align: center; border: 1px solid var(--line-2);
  background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 70%), radial-gradient(60% 80% at 50% 120%, color-mix(in srgb, var(--coral) 22%, transparent), transparent 70%), var(--surface); }
.ln-end h2 { margin: 0 auto 12px; max-width: 640px; font: 400 clamp(36px, 7vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.ln-end p { margin: 0 auto 22px; max-width: 520px; color: var(--muted); }
.ln-end .ln-over { justify-content: center; }

/* stop pages */
.sp-head { display: flex; align-items: center; gap: 14px; }
.sp-head h1 { margin: 0; font-size: clamp(28px, 6.4vw, 50px); line-height: 1.05; letter-spacing: -.04em; font-weight: 750; overflow-wrap: anywhere; text-wrap: balance; }
.sp-badge { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; height: 62px; padding: 0 10px; border-radius: 18px; background: var(--coral); color: var(--on-coral); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--coral) 80%, transparent); }
.sp-badge small { font-size: 9px; letter-spacing: .16em; font-weight: 800; margin-bottom: 3px; }
.sp-badge-ic .ic { width: 32px; height: 32px; }
.sp-heads { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.sp-heads .ic { color: var(--coral); }
.st-routes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st-routes li { margin: 0; }
.st-routes .xc { height: 32px; min-width: 42px; font-size: 14px; border-radius: 9px; }
.board { list-style: none; margin: 0; padding: 0; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.board li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 13px 16px; }
.board li + li { border-top: 1px solid var(--line); }
.board .xc { height: 34px; min-width: 46px; font-size: 15px; border-radius: 10px; }
.bd-to { font-weight: 650; overflow-wrap: anywhere; }
.bd-to small, .board.plat small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.bd-t { text-align: right; font-variant-numeric: tabular-nums; }
.bd-t b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.bd-t small { display: block; font-size: 12px; color: var(--muted); }
.board.plat li { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .board li { grid-template-columns: auto minmax(0, 1fr); } .bd-t { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .bd-t b { display: inline; } .bd-t small { display: inline; } }
.near { list-style: none; margin: 0; padding: 0; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.near li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; }
.near li + li { border-top: 1px solid var(--line); }
.near a { text-decoration: none; font-weight: 600; } .near a:hover { text-decoration: underline; }
.near span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-map svg { aspect-ratio: 640 / 300; }

/* the Brisbane hub */
.hb-h1 { margin: 0; font: 400 clamp(46px, 11vw, 92px)/.94 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.hb-h2 { font-size: clamp(34px, 7vw, 48px) !important; }
.hb-key { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.hb-key li { display: inline-flex; align-items: center; gap: 8px; }
.hb-key i { width: 22px; height: 5px; border-radius: 3px; }
.k-train { background: linear-gradient(90deg, #D53E45 0 25%, #4778B2 0 50%, #27855A 0 75%, #FFC425 0); } .k-metro { background: #E463A4; } .k-ferry { background: repeating-linear-gradient(90deg, #61C5C9 0 3px, transparent 0 6px); } .k-tram { background: #FFC425; }
.hb-map { max-width: 560px; justify-self: center; width: 100%; }
@media (max-width: 999px) { .hb-map svg { max-height: 78vh; } }
.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.modes a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--surface-2); text-decoration: none; isolation: isolate; }
.modes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.modes a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, #000000c4); }
.modes a:hover img { transform: scale(1.04); }
.md-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; color: #fff; }
.md-cap b { font-size: 19px; letter-spacing: -.02em; } .md-cap small { font-size: 12.5px; opacity: .88; line-height: 1.3; }
.md-credit { display: block; margin-top: 5px; font-size: 10.5px; color: var(--faint); line-height: 1.3; }
.pop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.pop.pop-1 { grid-template-columns: minmax(0, 1fr); }
.pop a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; }
.pop a:hover, .tlines a:hover, .stn a:hover { border-color: var(--line-2); background: var(--surface-2); }
.pop a > span:last-child { min-width: 0; } .pop b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tlines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.tlines a { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; grid-template-areas: "i b a" "i s a"; gap: 0 14px; align-items: center; padding: 13px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; }
.tlines i { grid-area: i; align-self: stretch; border-radius: 3px; } .tlines b { grid-area: b; font-size: 15.5px; } .tlines small { grid-area: s; font-size: 13px; color: var(--muted); } .tlines .ic { grid-area: a; color: var(--muted); }
.hb-two { display: grid; gap: 0 40px; }
@media (min-width: 900px) { .hb-two { grid-template-columns: 1fr 1fr; } }
.stn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.stn a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; }
.stn .ic { color: var(--coral); } .stn b { font-size: 14.5px; font-weight: 600; }
.shots { list-style: none; margin: 0 -16px; padding: 4px 16px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots li { scroll-snap-align: start; padding: 12px 12px 18px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.shots img { display: block; width: 100%; height: auto; border-radius: 18px; }
.shots h3 { margin: 16px 6px 4px; font-size: 18px; letter-spacing: -.02em; } .shots p { margin: 0 6px; font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .shots { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 16px; } }
.st-az { columns: 2 200px; margin: 0; padding: 4px 20px 16px 20px; list-style: none; font-size: 15px; }
.st-az li { padding: 3px 0; break-inside: avoid; }

/* the fleet page and the 404s (the narrow column) */
.ln-hero { padding: 22px 0 8px; }
.ln-hero h1 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: clamp(30px, 7.5vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 750; overflow-wrap: anywhere; }
.ln-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ln-type { display: flex; gap: 14px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ln-type .ln-photo .sil { display: block; width: 56px; height: auto; margin: 0 auto 4px; opacity: .45; }
.ln-type .ln-photo { flex: none; width: 128px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.ln-type img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-type h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.02em; } .ln-type p { margin: 2px 0; font-size: 14px; color: var(--muted); }
.ln-type > div:last-child { min-width: 0; }
@media (max-width: 420px) {
  .ln-nav a { font-size: 13.5px; } .ln-brand { font-size: 17px; }
  .ln-fleet img, .ln-nophoto, .ln-type .ln-photo { width: 92px; }
  .ln-nav a { padding: 0 8px; } .ln-nav a.ln-open { padding: 0 12px; }
  .rt-badge { min-width: 58px; height: 58px; font-size: 27px; border-radius: 17px; }
}
@media (max-width: 380px) { .ln-brand span { display: none; } }

/* (2 Nov) route pages: the live map over the drawn one (routemap.js), "Official name" line, two-button row */
.rt-official { margin: 12px 0 14px; font-size: 13px; color: var(--muted); }
.rt-map[data-rtmap] { position: relative; }
.rt-map .rt-gl { position: absolute; inset: 0 0 auto 0; aspect-ratio: 520 / 380; opacity: 0; transition: opacity .45s ease; background: var(--m-land); }
.rt-map .rt-gl.on { opacity: 1; }
.rt-map .rt-spin { position: absolute; top: calc(50% - 33px); left: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%; border: 3px solid #ffffff40; border-top-color: var(--rc, #f0703f); animation: rt-spin .8s linear infinite; pointer-events: none; z-index: 3; }
.rt-map .rt-spin[hidden] { display: none; }
@keyframes rt-spin { to { transform: rotate(360deg); } }
.rt-map .rt-gl .maplibregl-canvas { outline: none; }
.rt-end { overflow: hidden; text-overflow: ellipsis; font: 750 12.5px/1.2 var(--sans, system-ui, sans-serif); color: var(--text, #111); background: color-mix(in srgb, var(--m-land, #fff) 88%, transparent); padding: 3px 8px; border-radius: 999px; border: 1.5px solid var(--rc, #f0703f); white-space: nowrap; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); max-width: 42vw; }
.rt-end.rt-r { left: 20px; } .rt-end.rt-l { right: 20px; }
.rt-pin { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--rc, #f0703f); border: 3px solid #fff; box-shadow: 0 1px 6px #0006; }
/* the credit sits on the tiles, light or dark: always a light chip with dark text */
.rt-map .maplibregl-ctrl.maplibregl-ctrl-attrib { font-size: 11px; background: #ffffffd9; color: #333; }
.rt-map .maplibregl-ctrl-attrib a { color: #333; }
@media (prefers-reduced-motion: reduce) { .rt-map .rt-gl { transition: none; } .rt-map .rt-spin { animation-duration: 2s; } }
.ln-cta { flex-wrap: wrap; }
