:root {
  color-scheme: light;
  --sea: #a9cbe3; --land: #f1ecdf; --coast: #7d8b94; --road: #d18e68; --road-main: #c1744f;
  --ink: #1d2327; --muted: #5d676d; --card: #ffffff; --line: #d9dee2; --accent: #1f6fb2; --on-accent: #ffffff;
  --sel: #d6452f; --tram: #7b4fa6; --tram-line: #8d67af; --trail: #2f7d32; --trail-line: #4c9a55; --shop: #2b6cb0; --warn: #7a4f00; --warn-bg: #fff4d6; --peak: #7a5230;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bar-h: 92px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --sea: #142230; --land: #34383a; --coast: #56626a; --road: #8d5e47; --road-main: #a6684c;
    --ink: #e8ecee; --muted: #a3adb3; --card: #1f2427; --line: #394147; --accent: #6fb0e8; --on-accent: #0d1b26;
    --sel: #ff7a5c; --tram: #b58be0; --tram-line: #a27fc7; --trail: #6cc070; --trail-line: #63b26b; --shop: #7fb2ea; --warn: #ffd27a; --warn-bg: #3a3120; --peak: #d2a77c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --sea: #142230; --land: #34383a; --coast: #56626a; --road: #8d5e47; --road-main: #a6684c;
  --ink: #e8ecee; --muted: #a3adb3; --card: #1f2427; --line: #394147; --accent: #6fb0e8; --on-accent: #0d1b26;
  --sel: #ff7a5c; --tram: #b58be0; --tram-line: #a27fc7; --trail: #6cc070; --trail-line: #63b26b; --shop: #7fb2ea; --warn: #ffd27a; --warn-bg: #3a3120; --peak: #d2a77c;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: var(--font); color: var(--ink); background: var(--sea); }
body { overflow: hidden; }
a { color: var(--accent); }
button { font-family: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- телефон: строка сверху, карта, шторка снизу (три высоты) */
.panel { display: contents; }
.bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 1100; display: grid; grid-template-columns: 1fr 44px;
  grid-template-rows: 1fr 1fr; gap: 4px 6px; padding: 6px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.field { min-width: 0; }
.field input { width: 100%; height: 38px; font: inherit; font-size: 16px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.field input::placeholder { color: var(--muted); }
/* ✕ у поля: очищает только его (ux-reset.md, вариант Б) */
.field { position: relative; }
.field input { padding-right: 38px; }
.clr { position: absolute; top: 0; right: 0; width: 38px; height: 38px; border: 0; padding: 0; background: none; color: var(--muted); font-size: 15px; cursor: pointer; border-radius: 8px; }
.clr:hover, .clr:focus-visible { color: var(--ink); }
.clr[hidden] { display: none; }
/* окошко над третьей точкой: [Отсюда] [Сюда] [Только она] */
.pick-pop .leaflet-popup-content-wrapper, .pick-pop .leaflet-popup-tip { background: var(--card); color: var(--ink); box-shadow: 0 3px 14px #0004; }
.pick-pop .leaflet-popup-content-wrapper { border-radius: 10px; border: 1px solid var(--line); }
.pick-pop .leaflet-popup-content { margin: 8px 10px; font: 14px/1.3 var(--font); width: max-content !important; max-width: calc(100vw - 52px); }
.pp-name { font-weight: 650; margin: 0 2px 6px; }
.pp-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-btns button { min-height: 40px; padding: 6px 12px; font-size: 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pp-btns button[data-k="from"], .pp-btns button[data-k="to"] { border-color: var(--accent); color: var(--accent); }
.pp-btns button:hover, .pp-btns button:focus-visible { background: var(--accent); color: var(--on-accent); outline: none; }
.swap { grid-column: 2; grid-row: 1 / 3; font-size: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); cursor: pointer; }
.sugg { position: absolute; top: 100%; left: 16px; right: 66px; margin: 2px 0 0; padding: 4px 0; list-style: none; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px #0003; max-height: 50vh; overflow: auto; z-index: 1200; }
.sugg li { padding: 10px 12px; cursor: pointer; font-size: 15px; }
.sugg li small { color: var(--muted); margin-left: 6px; }
.sugg li[aria-selected="true"], .sugg li:hover { background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
.sugg li.none { color: var(--muted); cursor: default; }
.mapwrap { position: fixed; top: var(--bar-h); left: 0; right: 0; bottom: 0; }
#map { position: absolute; inset: 0; background: var(--sea); }
.leaflet-container { background: var(--sea); font-family: var(--font); }
.credit { position: absolute; right: 0; top: 0; z-index: 900; font-size: 12px; line-height: 14px; color: var(--muted); padding: 1px 6px;
  background: color-mix(in srgb, var(--card) 80%, transparent); border-bottom-left-radius: 6px; }
.credit a { color: inherit; }
.leaflet-top.leaflet-right { top: 16px; }

.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; overflow: auto; overscroll-behavior: contain;
  background: var(--card); border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; box-shadow: 0 -4px 16px #0002;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom)); font-size: 15px; line-height: 1.4; transition: max-height .2s; }
.sheet.s-peek { max-height: 176px; }
.sheet.s-half { max-height: 48vh; }
.sheet.s-full { max-height: calc(100dvh - var(--bar-h) - 18px); }
.sheet.drag { transition: none; }
.grip { position: sticky; top: 0; z-index: 2; display: block; width: calc(100% + 32px); margin: 0 -16px; height: 24px; border: 0; padding: 0;
  background: var(--card); cursor: grab; touch-action: none; }
.grip::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--muted); opacity: .5; margin: 9px auto 0; }
.head { position: sticky; top: 24px; z-index: 1; background: var(--card); display: flex; gap: 8px; align-items: flex-start; padding-bottom: 6px; }
.head h1, .head h2 { flex: 1; font-size: 18px; line-height: 1.25; margin: 0; padding-top: 2px; }
.close { flex: none; width: 44px; height: 44px; margin: -10px -12px -8px 0; font-size: 18px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.intro { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.sheet h3 { font-size: 15px; margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 4px; }
@media (max-width: 899px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; } .chips::-webkit-scrollbar { display: none; } .chips button { white-space: nowrap; } }
/* быстрые маршруты на телефоне — две строки с прокруткой вбок (ревью 3, Б7); «Газ» — своей строкой ниже */
@media (max-width: 899px) { .chips.two { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; justify-content: start; } }
.chips + .chips { margin-top: 6px; }
.pl-more summary { list-style: none; display: inline-flex; margin-top: 6px; }
.pl-more summary::-webkit-details-marker { display: none; }
.pl-nav { margin-bottom: 2px; }
.chips button, .chips a, .tabs button, .more-btn { font-size: 14px; min-height: 40px; padding: 6px 12px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chips button.gas { border-color: var(--shop); }
.more-btn { display: block; margin: 6px 0; color: var(--accent); }
/* страницы мест и маршрутов (build/render_pages.mjs): ссылки вместо кнопок без JS, обе вкладки места, блок «Частые маршруты» */
.chips a { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
a.more-btn { width: max-content; text-decoration: none; }
.group.tabh { font-size: 13px; margin-top: 16px; color: var(--ink); }
.pl { margin: 16px 0 4px; }
.pl-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; line-height: 1.6; }
.pl-list a { color: var(--accent); }
.tabs { display: flex; gap: 6px; margin: 2px 0 8px; }
.tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.about { font-size: 14px; margin: 4px 0 8px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.warn { font-size: 13.5px; margin: 6px 0; padding: 7px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); }
.group { margin: 12px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.group.sub { text-transform: none; letter-spacing: 0; font-size: 12.5px; margin-top: 14px; }
.shared { margin: 8px 0 4px; padding: 6px 10px; border-left: 3px solid var(--line, #ccc); }
.shared .it { font-size: 13.5px; }
.variant { margin: 4px 0 12px; padding-top: 10px; border-top: 2px solid var(--line); }
.variant:first-of-type { border-top: 0; padding-top: 0; }
/* диз-2, п. 4: цена всегда справа, хвост «+ долмуш» — мельче под числом */
.vh, .lh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.pr small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); white-space: normal; max-width: 9em; margin-left: auto; }
details.variant { scroll-margin-top: 72px; }   /* диз-2, п. 2: раскрытый вариант не уходит под строку «Откуда / Куда» */
@media (min-width: 900px) { details.variant { scroll-margin-top: 56px; } }
details.variant > summary { list-style: none; cursor: pointer; position: relative; padding-right: 22px; min-height: 44px; }
details.variant > summary::-webkit-details-marker { display: none; }
details.variant > summary::after { content: ""; position: absolute; right: 4px; top: 6px; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
details.variant[open] > summary::after { transform: rotate(-135deg); top: 10px; }
.vt { font-size: 15px; font-weight: 650; line-height: 1.35; }
.d0 { font-size: 12px; }
.steps { margin-top: 4px; }
.sum { font-size: 13.5px; color: var(--muted); margin: 2px 0 2px; }
.leg { padding: 8px 0; border-top: 1px solid var(--line); }
.variant .leg { margin-left: 2px; padding-left: 10px; border-top: 0; border-left: 3px solid var(--line); margin-top: 6px; }
.lt { font-weight: 600; }
.pr { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.pr.q { font-weight: 400; color: var(--muted); }
.lm { font-size: 14px; color: var(--muted); }
.it { font-size: 13.5px; line-height: 1.4; margin-top: 3px; font-variant-numeric: tabular-nums; }
.it + .it { margin-top: 6px; }
.leg .it:not(.s):not(.lk) { color: var(--muted); } .leg .it.s { color: var(--ink); }   /* расписание — тёмным, пояснения — серым */
.it.none { color: var(--muted); }
.d { font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; margin-left: 3px; vertical-align: 1px; }
.leg details summary { font-size: 13px; color: var(--accent); cursor: pointer; margin-top: 4px; min-height: 28px; line-height: 28px; }
.leg details .it { color: var(--muted); }
.meta { font-size: 13px; line-height: 1.35; color: var(--muted); }
.cp { font: inherit; color: inherit; background: none; border: 0; padding: 0 2px; cursor: pointer; white-space: nowrap; border-bottom: 1px dotted currentColor; }
.cp svg { vertical-align: -1px; }
.cp:hover, .cp:focus-visible { color: var(--accent); }
.foot { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* ---------- десктоп: боковая панель слева (решение 20.11.2026) */
@media (min-width: 900px) {
  .panel { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; width: 400px; z-index: 1000;
    background: var(--card); border-right: 1px solid var(--line); box-shadow: 4px 0 16px #0001; }
  .bar { position: relative; height: auto; padding: 12px 16px; }
  .sheet, .sheet.s-peek, .sheet.s-half, .sheet.s-full { position: static; flex: 1; max-height: none; border: 0; border-radius: 0; box-shadow: none; padding-top: 12px; }
  .grip { display: none; }
  .head { top: -12px; padding-top: 12px; margin-top: -12px; }
  .mapwrap { top: 0; left: 400px; }
}

/* ---------- карта: подложка красится переменными (тёмная тема без перезагрузки) */
.land { fill: var(--land); }
.road { stroke: var(--road); }
.road.main { stroke: var(--road-main); }
.tram-line { stroke: var(--tram-line); }
.trail-line { stroke: var(--trail-line); }
.tram-stop { stroke: var(--card); fill: var(--tram); }
.route-case { stroke: var(--card); }
.route { stroke: var(--sel); }
.route-hub { stroke: var(--sel); fill: var(--card); }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--card); color: var(--ink); border-color: var(--line); }
@media (pointer: coarse) and (max-width: 899px) { .leaflet-control-zoom { display: none; } }
.legend-box { text-align: right; }
.legend-btn { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: italic 700 15px/1 Georgia, serif; cursor: pointer; box-shadow: 0 1px 4px #0003; }
.legend { text-align: left; margin-top: 6px; padding: 8px 10px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; line-height: 1.6; box-shadow: 0 2px 8px #0003; width: 210px; }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--card); }
.legend i.sq { border-radius: 3px; } .legend i.tr { border-color: var(--trail); } .legend i.sh { border-color: var(--shop); width: 10px; height: 10px; }
.legend i.tram { border: 0; height: 3px; width: 16px; border-radius: 2px; background: var(--tram-line); vertical-align: 3px; }
.legend i.tw { border: 0; border-top: 2px dashed var(--trail-line); height: 0; width: 16px; border-radius: 0; background: none; vertical-align: 4px; }
.legend i.jn { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); margin-left: 2px; margin-right: 8px; }
.legend i.rt { border: 0; height: 4px; width: 16px; border-radius: 2px; background: var(--sel); vertical-align: 3px; }
.legend i.rd { border: 0; height: 2px; width: 16px; background: var(--road-main); vertical-align: 4px; border-radius: 0; }

/* точки */
.pt { position: relative; }
.pt .dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); cursor: pointer; }
.pt .dot::after { content: ""; position: absolute; inset: -12px; }          /* поле касания ~38 px */
.pt.k-airport .dot, .pt.k-stop .dot { border-radius: 3px; }
.pt.k-trail_start .dot { border-color: var(--trail); }
/* диз-2, п. 9: поворот на трассе — маленький ромб */
.pt.k-junction .dot { width: 10px; height: 10px; left: -5px; top: -5px; border-width: 2.5px; border-radius: 2px; transform: rotate(45deg); }
.pt.k-shop .dot { border-color: var(--shop); width: 10px; height: 10px; left: -5px; top: -5px; }
/* только на карте, без клика: городки в горах, вершина, канатная дорога */
.pt.k-label .dot { width: 6px; height: 6px; left: -3px; top: -3px; border: 0; background: var(--muted); cursor: default; }
.pt.k-label .dot::after, .pt.k-peak .dot::after { display: none; }
.pt.k-cable .dot { width: 10px; height: 10px; left: -5px; top: -5px; border-width: 2.5px; border-color: var(--peak); border-radius: 2px; }
.pt.k-peak .dot { width: 14px; height: 12px; left: -7px; top: -8px; border: 0; border-radius: 0; background: var(--peak); clip-path: polygon(50% 0, 100% 100%, 0 100%); cursor: default; }
.pt.k-label .lbl { font-weight: 500; font-size: 12px; color: var(--muted); cursor: default; pointer-events: none; }
.pt.k-peak .lbl { color: var(--peak); cursor: default; pointer-events: none; }
.cable { stroke: var(--peak); }
.pt.sel .dot { background: var(--sel); border-color: var(--sel); }
.pt .lbl { position: absolute; white-space: nowrap; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink); cursor: pointer;
  text-shadow: 0 0 2px var(--land), 0 0 3px var(--land), 0 0 4px var(--land), 0 0 5px var(--land); }
.pt .lbl.r { left: 10px; top: -8px; } .pt .lbl.l { right: 10px; top: -8px; }
.pt .lbl.b { top: 8px; transform: translateX(-50%); } .pt .lbl.t { bottom: 8px; transform: translateX(-50%); }
.pt .more { position: relative; display: inline-block; margin-left: 4px; font-size: 12px; line-height: 15px; font-weight: 700; padding: 0 5px; border-radius: 8px; vertical-align: 1px; cursor: pointer;
  background: color-mix(in srgb, var(--accent) 14%, var(--card)); color: color-mix(in srgb, var(--accent) 70%, var(--ink)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); text-shadow: none; }
.pt .more::after { content: ""; position: absolute; inset: -10px -6px; }
.pt .more:hover, .pt .more:focus-visible { background: var(--accent); color: var(--on-accent); outline: none; }
.pt .lbl.l .more { margin: 0 4px 0 0; }

/* ---------- язык, пометка EN, турецкое имя */
.lang-box { margin-top: 6px !important; }
.lang-btn { font: 700 12px/1 var(--font); letter-spacing: .02em; width: 36px; height: 36px; border-radius: 18px; }
.lang-list { list-style: none; margin: 4px 0 0; padding: 4px 0; width: auto; }
.lang-list a { display: block; padding: 8px 12px; min-height: 24px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-list a[aria-current] { font-weight: 700; color: var(--accent); }
.legend .dm { margin-top: 4px; max-width: 220px; white-space: normal; }
.fb { font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 3px; vertical-align: 1px; }
.trn { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---------- маршрут по шагам и значки (фидбек 1, этапы A и B) — только существующие токены, светлая и тёмная тема сами */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -4px; margin-right: 5px; }
.ic-tram { color: var(--tram); }                       /* цвет — только у трамвая, как его линия на карте */
.ch { white-space: nowrap; margin-right: 6px; }
.ch .ic { margin-right: 0; }
.ch .sep { margin: 0 2px; font-weight: 400; color: var(--muted); }
/* свёрнутый список времён: «20 рейсов, 05:45–22:00 ▾» */
.tf { font: inherit; color: var(--accent); background: none; border: 0; padding: 2px 0; margin: 0; cursor: pointer;
  text-decoration: underline dotted; text-underline-offset: 3px; font-variant-numeric: tabular-nums; }
.tf::after { content: " ▾"; text-decoration: none; display: inline-block; margin-left: 2px; }
.tf[aria-expanded="true"]::after { content: " ▴"; }
/* лента: узлы — места (кружок на линии, пересадка — белый с обводкой, как на карте), шаги — поездки (значок на линии) */
.tl { list-style: none; margin: 8px 0 0; padding: 0 0 0 34px; }
.tl > li { position: relative; }
.tl > li::before { content: ""; position: absolute; left: -22px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--sel); }
.tl > .n0::before { top: 9px; }
.tl > .n1::before { bottom: auto; height: 9px; }
.tl > .step.walk::before { background: repeating-linear-gradient(var(--sel) 0 3px, transparent 3px 8px); }
.node { padding: 1px 0 8px; }
.node::after { content: ""; position: absolute; left: -27px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--sel); }
.node.nh::after { box-sizing: border-box; background: var(--card); border: 3px solid var(--sel); }
.nn { font-size: 15px; font-weight: 650; line-height: 1.3; }
.chg { font-size: 13px; font-weight: 400; color: var(--muted); }
.ns { font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.ns .ic { width: 16px; height: 16px; vertical-align: -3px; }
.step { padding: 2px 0 12px; }
.sh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.sw { font-size: 15px; line-height: 1.35; }
.sw > .ic { position: absolute; left: -34px; top: 0; width: 27px; height: 27px; padding: 3px; margin: 0; border-radius: 50%;
  background: var(--card); border: 2px solid var(--sel); stroke-width: 2.2; }
.no { display: inline-block; min-width: 19px; height: 19px; padding: 0 4px; margin-right: 6px; border-radius: 10px; vertical-align: 1px;
  background: var(--ink); color: var(--card); font-size: 12px; font-weight: 700; line-height: 19px; text-align: center; }
.step .lm { margin-top: 1px; }
.step .lm .d { margin-left: 6px; }
.step .lm:empty { display: none; }
.step .it { color: var(--ink); }
.step .it.none { color: var(--muted); }
.step .lk { margin-top: 6px; }
.sd summary { font-size: 13px; color: var(--accent); cursor: pointer; margin-top: 4px; min-height: 32px; line-height: 32px; }
.sd .it { color: var(--muted); }
.variant .steps { margin-top: 2px; }

/* пояснения слов (ревью 3, Б4) */
.gl { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: help;
  text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gl:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 2px; }
#gltip { position: fixed; z-index: 3000; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; line-height: 1.4;
  background: var(--ink); color: var(--card); box-shadow: 0 4px 16px rgba(0,0,0,.25); pointer-events: none; }

/* без сети (app.js, #offline): плашка с датой данных над шторкой */
#offline { position: fixed; top: calc(var(--bar-h) + 8px); left: 50%; transform: translateX(-50%); z-index: 1200; padding: 4px 12px; border-radius: 14px;
  background: var(--ink); color: var(--card); font-size: 13px; box-shadow: 0 1px 4px #0004; white-space: nowrap; }
#offline[hidden] { display: none; }
.load-err{margin:16px;padding:12px 14px;border-radius:10px;background:var(--ink);color:var(--card);font-size:15px}
