/* =====================================================================
   Sjöliv – „Sjökort & Fiskekort“
   Mobile-first. Tokens → Basis → Topbar → Cover → App (Karte/Liste)
   → Karten-Overlays → Reiseband → Cards → Sheets → Detail → Reiseplan
   → Lightbox → Toast → Motion/Print
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #EAF1F4;        /* Kartenpapier */
  --paper-2: #F7FAFB;      /* Karten-Feld / Cards */
  --paper-3: #DDE7EC;      /* Linien, Sekundärflächen */
  --ink: #0E2230;          /* See-Tinte */
  --ink-2: #3E5566;
  --ink-3: #6E8494;
  --lake: #1B5E7B;         /* Primär */
  --lake-2: #2F8BB0;
  --lake-soft: #D5E7EF;
  --falu: #9A3324;         /* Route, Herz, Aktion */
  --falu-soft: #F3DCD6;
  --reed: #4F7F5A;         /* offen / ok */
  --reed-soft: #DDEBDD;
  --brygga: #C9A46B;       /* Holz, Akzent für Gemerktes */
  --brygga-soft: #F2E7D2;
  --warn: #B7791F;
  --warn-soft: #F5E7C8;
  --shadow: 0 10px 30px rgba(14, 34, 48, .14), 0 2px 6px rgba(14, 34, 48, .08);
  --shadow-sm: 0 2px 10px rgba(14, 34, 48, .10);
  --ring: 0 0 0 3px rgba(47, 139, 176, .35);
  --r: 18px; --r-sm: 12px; --r-xs: 8px;
  --font: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --top: 56px;
  --nav: 64px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --map-h: 46svh;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #0B1720;
  --paper-2: #122330;
  --paper-3: #1C3140;
  --ink: #E8F0F4;
  --ink-2: #B7C7D1;
  --ink-3: #7F95A3;
  --lake: #5FB2D6;
  --lake-2: #8CCDE8;
  --lake-soft: #16344A;
  --falu: #E07A66;
  --falu-soft: #3A1E1A;
  --reed: #7FBF8A;
  --reed-soft: #17301F;
  --brygga: #D9B77E;
  --brygga-soft: #3A2F1B;
  --warn: #E2B25A;
  --warn-soft: #3A2E12;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--nav) + var(--sab));
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--lake); }
button { font: inherit; color: inherit; cursor: pointer; }
button, input, select { touch-action: manipulation; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.012em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-weight: 600; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--lake-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; text-decoration: none; transition: transform .15s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--lake); color: #fff; border-color: var(--lake); }
.btn-solid:hover { background: var(--lake-2); border-color: var(--lake-2); }
.btn-outline { background: var(--paper-2); color: var(--ink); border-color: var(--paper-3); }
.btn-outline:hover { border-color: var(--lake); }
.btn-ghost { background: transparent; color: var(--lake); border-color: transparent; padding-inline: 8px; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.btn-falu { background: var(--falu); color: #fff; border-color: var(--falu); }
.btn.on { background: var(--falu-soft); color: var(--falu); border-color: var(--falu); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--falu); color: #fff; font: 600 12px/1 var(--mono); }
.count:empty, .count[hidden] { display: none; }
.linklike { background: none; border: 0; padding: 0; color: var(--lake); text-decoration: underline; font: inherit; }

/* ---------- Topbar ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: calc(var(--top) + var(--sat)); padding-top: var(--sat);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 14px;
  background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--paper-3) 70%, transparent);
  transition: background .3s, color .3s;
}
.top.over { background: transparent; border-color: transparent; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark { flex: none; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-sub { font: 500 .72rem/1 var(--mono); opacity: .7; display: none; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-link { display: none; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: inherit; font-weight: 600; opacity: .85; }
.top-link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.top-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; font-weight: 600; }
.top-btn span { font-size: 1.05rem; }
.top-icon { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.top-icon:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
[data-theme="dark"] .top-icon .sun { display: none; }
:root:not([data-theme="dark"]) .top-icon .moon { display: none; }
@media (min-width: 720px) { .brand-sub { display: inline; } .top-link { display: inline-block; } }

/* ---------- Cover ---------- */
.cover { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: #0E2230; isolation: isolate; }
.cover-bg { position: absolute; inset: 0; z-index: -2; }
.cover-bg .kb { position: absolute; inset: -6%; background: center/cover no-repeat; opacity: 0; transition: opacity 1.6s ease; will-change: transform, opacity; }
.cover-bg .kb.show { opacity: 1; animation: kb 16s linear forwards; }
@keyframes kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 34, 48, .55) 0%, rgba(14, 34, 48, .05) 26%, rgba(14, 34, 48, .62) 52%, rgba(14, 34, 48, .95) 100%); }
.cover-grain { position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.cover-inner { position: relative; padding: calc(var(--top) + var(--sat) + 40px) 20px 92px; max-width: 1100px; width: 100%; margin: 0 auto; }
.cover-eyebrow { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; opacity: .9; margin-bottom: 14px; }
.cover-eyebrow .mono { background: rgba(255, 255, 255, .16); padding: 3px 8px; border-radius: 6px; text-transform: none; }
/* Cover-Aussage trägt die Überschrift (Headline entfernt 17.08.2026) */
.cover-lede { margin-top: 4px; max-width: 34ch; font-size: clamp(1.5rem, 5.6vw, 2.7rem); font-weight: 400; line-height: 1.24; letter-spacing: -.015em; text-wrap: balance; color: rgba(255, 255, 255, .84); }
.cover-lede b { font-weight: 700; color: #fff; }
.cover-lede b:last-of-type { color: #F6D9B0; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cover-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 28px 0 0; padding: 0; }
@media (min-width: 600px) { .cover-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; } }
.cover-stats div { display: grid; }
.cover-stats dt { order: 2; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.cover-stats dd { order: 1; margin: 0; font: 600 1.6rem/1.1 var(--mono); }
.cover-caption { position: absolute; left: 20px; bottom: 16px; font: 500 .72rem/1.3 var(--mono); opacity: .8; max-width: 70vw; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.scroll-hint { position: absolute; right: 22px; bottom: 18px; width: 30px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: #fff; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 720px) { .cover-inner { padding-inline: 32px; padding-bottom: 110px; } }

/* ---------- App: Karte + Liste ---------- */
.app { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); }
.map-pane, .list-pane { min-width: 0; }
.map-pane { position: sticky; top: calc(var(--top) + var(--sat)); z-index: 5; height: var(--map-h); background: var(--paper-3); transition: height .35s var(--ease); }
.app.map-full .map-pane { height: calc(100svh - var(--top) - var(--sat) - var(--nav) - var(--sab)); }
#map { position: absolute; inset: 0; background: var(--paper-3); }
.leaflet-container { font-family: var(--font); }
.dark-tiles .leaflet-tile-pane { filter: brightness(.72) contrast(1.08) saturate(.8); }
.dark-tiles { background: #1C3140; }
.leaflet-control-zoom { display: none; }
.leaflet-control-attribution { font-size: 10px !important; background: color-mix(in srgb, var(--paper) 70%, transparent) !important; color: var(--ink-3) !important; }
.leaflet-control-attribution a { color: var(--ink-2) !important; }

.map-ui { position: absolute; z-index: 500; pointer-events: none; }
.map-ui > * { pointer-events: auto; }
.map-ui.top { left: 10px; right: 10px; top: 10px; }
.map-ui.right { right: 10px; top: 60px; display: grid; gap: 8px; }
.map-ui.bottom { left: 10px; bottom: 26px; right: 64px; }
.map-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--paper-3) 80%, transparent); background: color-mix(in srgb, var(--paper-2) 92%, transparent); backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.map-btn:hover { color: var(--lake); }
.map-btn.on { background: var(--lake); color: #fff; border-color: var(--lake); }
.region-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-right: 60px; -webkit-overflow-scrolling: touch; }
.region-chips::-webkit-scrollbar { display: none; }
.rchip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--paper-3) 80%, transparent); background: color-mix(in srgb, var(--paper-2) 92%, transparent); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-sm); white-space: nowrap; }
.rchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 30%, transparent); }
.rchip.off { opacity: .45; text-decoration: line-through; }
.rchip.on { background: var(--c); color: #fff; border-color: var(--c); }
.rchip.on i { background: #fff; box-shadow: none; }
.map-legend { display: none; }

/* Pins */
.pin-wrap { background: none !important; border: 0 !important; }
.pin { position: relative; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px 5px 8px; border-radius: 10px; background: var(--paper-2); color: var(--ink); border: 2px solid var(--pin-c, var(--lake)); font: 600 12.5px/1 var(--mono); box-shadow: 0 3px 10px rgba(14, 34, 48, .22); white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s; cursor: pointer; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; margin-left: -6px; background: inherit; border-right: 2px solid var(--pin-c, var(--lake)); border-bottom: 2px solid var(--pin-c, var(--lake)); transform: rotate(45deg) translate(-2px, -2px); border-radius: 0 0 3px 0; z-index: -1; }
.pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--pin-c, var(--lake)); }
.pin small { font-family: var(--font); font-weight: 600; font-size: 11px; opacity: .8; }
.pin.is-plan { background: var(--falu); color: #fff; border-color: var(--falu); }
.pin.is-plan i { background: #fff; }
.pin.is-hover, .leaflet-marker-icon:hover .pin { transform: translate(-50%, -100%) scale(1.1); z-index: 1000; box-shadow: 0 8px 20px rgba(14, 34, 48, .3); }
.leaflet-marker-icon:hover { z-index: 1000 !important; }
.marker-cluster { background: transparent !important; }
.cl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); border: 3px solid var(--lake); font: 700 13px/1 var(--mono); box-shadow: 0 4px 12px rgba(14, 34, 48, .25); transform: translate(-6px, -6px); }
.cl.big { border-color: var(--falu); }
.route-line { stroke-dasharray: 8 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }
.van-wrap { background: none !important; border: 0 !important; }
.van { font-size: 26px; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); transform: translate(-50%, -60%) scaleX(-1); display: inline-block; }
.van.flip { transform: translate(-50%, -60%) scaleX(1); }
.me-wrap { background: none !important; border: 0 !important; }
.me { width: 16px; height: 16px; border-radius: 50%; background: var(--lake-2); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 139, 176, .3); transform: translate(-50%, -50%); }

/* Popup */
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); color: var(--ink); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.leaflet-popup-tip { background: var(--paper-2); }
.popup img { width: 100%; height: 120px; object-fit: cover; }
.popup-body { padding: 10px 12px 12px; }
.popup-body h4 { font-size: 1rem; line-height: 1.2; }
.popup-body p { font-size: .8rem; color: var(--ink-2); margin: 3px 0 8px; }
.popup-body .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.popup-body .price { font: 600 .82rem/1.2 var(--mono); }
.popup-body button { border: 0; background: var(--lake); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .85rem; }

/* Liste-Pane */
.list-pane { position: relative; z-index: 6; margin-top: -18px; background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px rgba(14, 34, 48, .12); padding: 8px 14px 24px; min-height: 60svh; }
.sheet-handle { display: grid; place-items: center; height: 18px; }
.sheet-handle span { width: 42px; height: 5px; border-radius: 3px; background: var(--paper-3); }
.toolbar { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.search { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 14px; background: var(--paper-2); border: 1.5px solid var(--paper-3); color: var(--ink-3); }
.search:focus-within { border-color: var(--lake); box-shadow: var(--ring); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search-x { border: 0; background: var(--paper-3); color: var(--ink-2); width: 24px; height: 24px; border-radius: 50%; font-size: 12px; }
.btn-filter { height: 46px; padding-inline: 14px; border-radius: 14px; }
.quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px -14px 0; padding: 2px 14px 6px; }
.quick::-webkit-scrollbar { display: none; }
.qchip { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--paper-3); background: var(--paper-2); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.qchip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qchip small { font-family: var(--mono); font-weight: 400; opacity: .7; margin-left: 4px; }

/* ---------- Reiseband ---------- */
/* ---------- Ablauf: Ort wählen → Platz wählen ----------
   Gestrichelte Lotlinie = dasselbe Motiv wie die Route auf der Karte.
   Sie verbindet die beiden Schritte, die Uferlinie darunter trennt sie. */
/* --flow-c wird per JS auf die Farbe der gewählten Etappe gesetzt;
   --flow-ink leitet daraus die textfähige Variante ab (Regionsfarben sind für Light gemacht) */
.flow { --flow-pad: 34px; --flow-c: var(--lake); --flow-ink: var(--flow-c); --flow-gap: 30px; list-style: none; margin: 22px 0 0; padding: 0; }
[data-theme="dark"] .flow { --flow-ink: color-mix(in srgb, var(--flow-c) 42%, #EAF1F4); }
.flow-step { position: relative; padding-left: var(--flow-pad); }
/* Nummernscheibe – gefüllt wie die Etappennummern im Reiseband */
.flow-num { position: absolute; left: 0; top: 0; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--flow-c); color: #fff; font: 700 13px/1 var(--mono); box-shadow: 0 0 0 4px var(--paper); transition: background-color .3s var(--ease); }
/* Lotlinie: läuft von Schritt 1 durch die Uferlinie bis in die Nummer 2 */
.flow-step[data-step="1"]::before { content: ""; position: absolute; left: 12px; top: 30px; bottom: calc(-1 * var(--flow-gap)); border-left: 2px dashed var(--flow-ink); opacity: .6; transition: border-color .3s var(--ease); }
/* Uferlinie: trennt die Platzauswahl ab, die Lotlinie kreuzt sie */
.flow-step[data-step="2"] { margin-top: var(--flow-gap); }
.flow-step[data-step="2"]::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--flow-gap) / 2 - 1px); border-top: 2px solid color-mix(in srgb, var(--ink-3) 42%, transparent); }
/* Knoten an der Kreuzung – hier dockt die gewählte Etappe an die Platzliste an */
.flow-step[data-step="2"]::after { content: ""; position: absolute; left: 9px; top: calc(-1 * var(--flow-gap) / 2 - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--flow-ink); transition: background-color .3s var(--ease); }
/* Sprungziel nach der Ortswahl: muss unter der fixen Topbar landen, nicht dahinter */
#flowPlaces { scroll-margin-top: calc(var(--top) + var(--sat) + 12px); }
.flow-head { margin-bottom: 10px; }
.flow-kicker { font: 600 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--flow-ink); transition: color .3s var(--ease); }
.flow-sub { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.flow-head h2, .list-head h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
/* Inhalte laufen bis zum Rand, nur die Köpfe hängen an der Linie */
.flow-step[data-step="2"] > .region-intro, .flow-step[data-step="2"] > .grid, .flow-step[data-step="2"] > .empty { margin-left: calc(-1 * var(--flow-pad)); }
.ribbon { list-style: none; margin: 0 -14px 0 calc(-1 * var(--flow-pad) - 14px); padding: 4px 14px 10px calc(var(--flow-pad) + 14px); display: flex; align-items: flex-start; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 14px; }
.ribbon::-webkit-scrollbar { display: none; }
.stop { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; }
.stop button { width: 100%; height: 100%; text-align: left; border: 0; padding: 0; background: var(--paper-2); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: transform .2s var(--ease), border-color .2s; }
.stop button:hover { transform: translateY(-2px); }
.stop.on button { border-color: var(--stop-c); }
.stop-media { position: relative; aspect-ratio: 16/9; background: var(--paper-3); }
.stop-media img { width: 100%; height: 100%; object-fit: cover; }
.stop-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 34, 48, .55)); }
.stop-num { position: absolute; left: 10px; top: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--stop-c); color: #fff; font: 700 13px/1 var(--mono); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.stop-n { position: absolute; right: 10px; bottom: 8px; z-index: 1; color: #fff; font: 600 .78rem/1 var(--mono); }
.stop-text { padding: 10px 12px 12px; }
.stop-text h3 { font-size: 1rem; line-height: 1.15; }
.stop-text p { font-size: .78rem; color: var(--ink-2); margin-top: 3px; }
.stop.empty button { opacity: .6; }

/* Region-Intro */
.region-intro { margin: 0 0 14px; }
.region-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 6px; scroll-snap-type: x proximity; }
.region-strip::-webkit-scrollbar { display: none; }
.region-strip img { flex: none; width: 150px; height: 104px; object-fit: cover; border-radius: 10px; scroll-snap-align: start; cursor: zoom-in; }
.region-text { margin-top: 8px; color: var(--ink-2); font-size: .9rem; }
.region-text .lakes { display: block; font: 500 .78rem/1.5 var(--mono); }

/* ---------- Liste ---------- */
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 14px; margin: 0 0 14px; }
.list-head .flow-head { margin-bottom: 0; }
.list-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result { font-size: .86rem; color: var(--ink-2); }
.result b { color: var(--ink); }
.sort select { height: 36px; border-radius: 10px; border: 1.5px solid var(--paper-3); background: var(--paper-2); color: var(--ink); padding: 0 8px; font: 600 .86rem var(--font); }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Card = Fiskekort */
.card { position: relative; background: var(--paper-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid color-mix(in srgb, var(--paper-3) 70%, transparent); transition: transform .25s var(--ease), box-shadow .25s; cursor: pointer; opacity: 0; transform: translateY(14px); }
.card.in { opacity: 1; transform: none; }
.card:hover, .card.is-hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card:focus-visible { box-shadow: var(--ring), var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--paper-3); }
.car { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car::-webkit-scrollbar { display: none; }
.car img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 2px rgba(0, 0, 0, .4); transition: transform .2s, background .2s; }
.car-dots i.on { background: #fff; transform: scale(1.3); }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: #0E2230; display: none; place-items: center; font-size: 18px; box-shadow: var(--shadow-sm); }
.car-arrow.l { left: 8px; } .car-arrow.r { right: 8px; }
@media (hover: hover) { .card-media:hover .car-arrow { display: grid; } }
.card-media .noimg { height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.badge { position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; backdrop-filter: blur(6px); }
.badge.reg { left: 10px; background: rgba(255, 255, 255, .9); color: #0E2230; }
.badge.reg i { width: 8px; height: 8px; border-radius: 50%; }
.badge.gew { left: 10px; top: 42px; background: rgba(14, 34, 48, .55); color: #fff; }
.heart { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #0E2230; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.heart svg { width: 20px; height: 20px; }
.heart.on { background: var(--falu); color: #fff; }
.heart.on svg path { fill: currentColor; }
.heart.pop { animation: pop .4s var(--ease); }
@keyframes pop { 30% { transform: scale(1.3); } 60% { transform: scale(.92); } }
.card-body { padding: 12px 14px 14px; }
.card-body h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; }
.card-sub { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 3px; font-size: .86rem; color: var(--ink-2); }
.card-sub .lake { color: var(--lake); font-weight: 600; }
.card-dist { margin-top: 4px; font: 500 .72rem/1.3 var(--mono); color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--paper); border: 1px solid var(--paper-3); font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.tag.fish { background: var(--lake-soft); border-color: transparent; color: var(--lake); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--paper-3); }
.price { font: 600 1rem/1.15 var(--mono); color: var(--ink); }
.price small { display: block; font: 400 .74rem/1.3 var(--font); color: var(--ink-3); margin-top: 2px; }
.price .eur { color: var(--ink-3); font-weight: 400; }
.meta-col { display: grid; gap: 5px; justify-items: end; text-align: right; }
.rating { font-size: .82rem; color: var(--ink-2); }
.rating b { color: var(--warn); }
.season { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; flex: none; }
.season.offen { background: var(--reed-soft); color: var(--reed); }
.season.eingeschränkt { background: var(--warn-soft); color: var(--warn); }
.season.unklar { background: var(--paper-3); color: var(--ink-2); }
.sun-line { font: 500 .74rem/1.3 var(--mono); color: var(--ink-3); }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-2); }
.empty-art { font-size: 44px; margin-bottom: 8px; }
.foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--paper-3); color: var(--ink-3); font-size: .78rem; display: grid; gap: 8px; }

/* Desktop-Layout */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .app { grid-template-columns: minmax(0, 1fr) minmax(400px, 46%); align-items: start; }
  .map-pane { order: 1; height: calc(100svh - var(--top)); }
  .app.map-full .map-pane { height: calc(100svh - var(--top)); }
  .list-pane { order: 2; margin-top: 0; border-radius: 0; box-shadow: none; padding: 16px 28px 40px; border-left: 1px solid var(--paper-3); }
  .sheet-handle { display: none; }
  .map-ui.bottom { display: block; }
  .map-legend { display: flex; flex-wrap: wrap; gap: 6px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
  .card-media { aspect-ratio: 3/2; }
  .stop { flex-basis: 200px; }
  #mapExpand { display: none; }
}
@media (min-width: 1500px) { .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }

/* ---------- Bottom-Nav ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--nav) + var(--sab)); padding-bottom: var(--sab); display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--paper-2) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--paper-3); }
.bottom-nav button { position: relative; border: 0; background: transparent; display: grid; justify-items: center; gap: 2px; align-content: center; font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.bottom-nav button.on { color: var(--lake); }
.bottom-nav .count { position: absolute; top: 6px; right: calc(50% - 22px); }
.bottom-nav .dot { position: absolute; top: 8px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--falu); }
@media (min-width: 960px) { .bottom-nav { display: none; } }

/* ---------- Sheets (dialog) ---------- */
/* Am Handy Vollbild ab Bildschirmoberkante. Die Höhe MUSS explizit gesetzt sein –
   mit dialog-Standard (height: fit-content) kollabiert der scrollbare Body in Safari
   zu einem Streifen am unteren Rand. */
.sheet { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: 100dvh; border: 0; padding: var(--sat) 0 0; border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: none; overflow: hidden; display: none; flex-direction: column; }
.sheet[open] { display: flex; animation: up .3s var(--ease); }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet::backdrop { background: rgba(14, 34, 48, .5); backdrop-filter: blur(3px); }
.sheet-grab { flex: none; height: 16px; display: grid; place-items: center; }
.sheet-grab::after { content: ""; width: 42px; height: 5px; border-radius: 3px; background: var(--paper-3); }
.sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 10px; border-bottom: 1px solid var(--paper-3); }
.sheet-head h2 { font-size: 1.25rem; }
.sheet .x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-3); color: var(--ink); display: grid; place-items: center; font-size: 15px; }
.sheet .x.float { position: absolute; right: 12px; top: calc(14px + var(--sat)); z-index: 5; width: 42px; height: 42px; background: rgba(255, 255, 255, .94); color: #0E2230; box-shadow: var(--shadow); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px 16px calc(20px + var(--sab)); }
.sheet-foot { flex: none; display: flex; gap: 10px; justify-content: space-between; padding: 10px 16px calc(12px + var(--sab)); border-top: 1px solid var(--paper-3); background: var(--paper); }
.fgroup { padding: 12px 0; border-bottom: 1px solid var(--paper-3); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 { font-size: .95rem; margin-bottom: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fgroup h3 small { font-weight: 400; color: var(--ink-3); }
input[type="range"] { width: 100%; accent-color: var(--falu); height: 32px; }
.seg { display: inline-flex; border: 1.5px solid var(--paper-3); border-radius: 999px; overflow: hidden; background: var(--paper-2); margin: 0 8px 8px 0; }
.seg button { border: 0; background: transparent; padding: 9px 13px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.seg button.on { background: var(--ink); color: var(--paper); }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--lake); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--paper-3); background: var(--paper-2); font-size: .86rem; font-weight: 600; }
.chip small { font-family: var(--mono); font-weight: 400; color: var(--ink-3); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.on small { color: inherit; opacity: .8; }
@media (min-width: 720px) {
  .sheet { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(720px, calc(100% - 40px)); height: auto; max-height: min(88svh, 900px); padding: 0; border-radius: 20px; box-shadow: 0 20px 60px rgba(14, 34, 48, .35); }
  .sheet .x.float { top: 12px; }
  .sheet[open] { animation: pop-in .3s var(--ease); }
  @keyframes pop-in { from { transform: translate(-50%, -48%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
  .sheet--detail { width: min(960px, calc(100% - 40px)); }
  .sheet-grab { display: none; }
  .sheet-head { padding-top: 14px; }
}

/* ---------- Detail ---------- */
.sheet--detail .sheet-body { padding: 0 0 calc(24px + var(--sab)); }
.dgal { position: relative; background: #0E2230; }
.dgal .car { height: min(58svh, 82vw, 640px); }
.dgal .car img { cursor: zoom-in; }
.dgal .cnt { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 .74rem/1 var(--mono); }
.dgal .car-arrow { display: none; }
@media (hover: hover) { .dgal:hover .car-arrow { display: grid; } }
.d-wrap { padding: 16px 16px 0; display: grid; gap: 14px; }
.d-eyebrow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .8rem; color: var(--ink-2); }
.d-eyebrow .reg { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.d-eyebrow .reg i { width: 10px; height: 10px; border-radius: 50%; }
.d-head h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; margin-top: 4px; }
.d-head .sub { color: var(--ink-2); margin-top: 4px; }
.d-head .sub b { color: var(--lake); }
.d-actions { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.d-actions::-webkit-scrollbar { display: none; }
.d-actions .btn { flex: none; }
.d-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.panel { background: var(--paper-2); border: 1px solid var(--paper-3); border-radius: var(--r-sm); padding: 14px; }
.panel h3 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; font-weight: 700; }
.panel.full { grid-column: 1 / -1; }
.panel .lead { font-size: 1rem; line-height: 1.5; }
.hl { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hl li { padding-left: 22px; position: relative; }
.hl li::before { content: "◆"; position: absolute; left: 2px; top: 1px; font-size: 10px; color: var(--brygga); }
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--ink-3); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); border: 1px dashed var(--ink-3); transform: translateY(-50%); }
.ticket::before { left: -9px; clip-path: inset(0 0 0 50%); } .ticket::after { right: -9px; clip-path: inset(0 50% 0 0); }
.ticket .big { font: 600 1.35rem/1.1 var(--mono); }
.ticket .big .eur { display: block; font-size: .85rem; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.ticket small { color: var(--ink-3); font-size: .78rem; }
.ticket .stamp { font: 600 .68rem/1.3 var(--mono); color: var(--falu); border: 2px solid var(--falu); border-radius: 6px; padding: 4px 6px; transform: rotate(-6deg); text-align: center; opacity: .85; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--ink-3); font-size: .8rem; padding-top: 2px; }
.kv dd { margin: 0; }
.fish-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fish-list span { padding: 5px 10px; border-radius: 999px; background: var(--lake-soft); color: var(--lake); font-size: .82rem; font-weight: 700; }
.amen { display: flex; flex-wrap: wrap; gap: 6px; }
.amen span { padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--paper-3); font-size: .84rem; }
.amen span.miss { opacity: .45; text-decoration: line-through; }
.mini-map { height: 200px; border-radius: 10px; overflow: hidden; }
.sources summary { cursor: pointer; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary h3 { margin-bottom: 0; }
.sources[open] summary h3 { margin-bottom: 8px; }
.sources a { display: block; font-size: .78rem; word-break: break-all; color: var(--ink-3); margin-top: 3px; }
.season-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.season-box p { font-size: .9rem; }
.season-box small { color: var(--ink-2); }
/* Wetter */
.wx { display: grid; gap: 10px; }
.wx-now { display: flex; align-items: center; gap: 12px; }
.wx-now .ico { font-size: 40px; line-height: 1; }
.wx-now b { font: 600 1.7rem/1 var(--mono); }
.wx-now small { display: block; color: var(--ink-2); font-size: .8rem; margin-top: 3px; }
.wx-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.wx-days::-webkit-scrollbar { display: none; }
.wx-day { flex: none; width: 66px; text-align: center; padding: 8px 4px; border-radius: 10px; background: var(--paper); border: 1px solid var(--paper-3); font-size: .74rem; }
.wx-day .d { font-weight: 700; }
.wx-day .i { font-size: 22px; margin: 2px 0; }
.wx-day .t { font-family: var(--mono); font-size: .74rem; }
.wx-day .r { color: var(--lake); font-size: .7rem; }
.wx-hint { color: var(--ink-3); font-size: .78rem; }
.sun { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.sun div { padding: 8px 4px; border-radius: 10px; background: var(--paper); border: 1px solid var(--paper-3); }
.sun b { display: block; font: 600 1.05rem/1.2 var(--mono); }
.sun span { font-size: .72rem; color: var(--ink-3); }
.sun-note { margin-top: 8px; font-size: .82rem; color: var(--ink-2); }
@media (min-width: 720px) { .d-grid { grid-template-columns: 1fr 1fr; } .d-wrap { padding: 20px 24px 0; } .d-actions { margin-inline: -24px; padding-inline: 24px; } }

/* ---------- Reiseplan ---------- */
.plan-intro { color: var(--ink-2); font-size: .9rem; margin-bottom: 12px; }
.plan-start { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-weight: 600; }
.plan-start input { height: 40px; border-radius: 10px; border: 1.5px solid var(--paper-3); background: var(--paper-2); color: var(--ink); padding: 0 10px; font: 600 .95rem var(--mono); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-city { display: flex; align-items: center; gap: 10px; padding: 6px 4px; color: var(--ink-2); font-size: .86rem; }
.plan-city i { width: 12px; height: 12px; border-radius: 50%; background: var(--falu); margin-left: 12px; }
.plan-city .mono { font-weight: 400; margin-left: auto; }
.leg { display: flex; align-items: center; gap: 8px; padding-left: 16px; color: var(--ink-3); font: 500 .74rem/1 var(--mono); }
.leg::before { content: ""; width: 2px; height: 22px; margin-left: 0; border-left: 2px dashed var(--falu); opacity: .6; }
.leg.warn { color: var(--warn); }
.plan-item { display: grid; grid-template-columns: auto 64px 1fr; grid-template-areas: "g i t" "g i c"; gap: 6px 10px; align-items: center; background: var(--paper-2); border: 1px solid var(--paper-3); border-radius: 14px; padding: 8px 10px 8px 4px; }
.plan-item .grab { grid-area: g; } .plan-item > img, .plan-item > .noimg { grid-area: i; } .plan-item > div:not(.plan-ctl) { grid-area: t; min-width: 0; }
.plan-item.dragging { opacity: .5; }
.plan-item .grab { cursor: grab; touch-action: none; width: 28px; height: 44px; display: grid; place-items: center; color: var(--ink-3); border: 0; background: transparent; font-size: 18px; }
.plan-item img { width: 64px; height: 56px; object-fit: cover; border-radius: 8px; }
.plan-item .noimg { width: 64px; height: 56px; background: var(--paper-3); border-radius: 8px; }
.plan-item h4 { font-size: .98rem; line-height: 1.2; }
.plan-item h4 button { background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; }
.plan-item p { font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.plan-item .date { font: 500 .74rem/1.3 var(--mono); color: var(--lake); }
.plan-item .date.warn { color: var(--warn); font-weight: 600; }
.plan-ctl { grid-area: c; display: flex; align-items: center; gap: 10px; }
.nights { display: inline-flex; align-items: center; border: 1.5px solid var(--paper-3); border-radius: 999px; overflow: hidden; }
.nights button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 16px; }
.nights b { min-width: 34px; text-align: center; font: 600 .82rem/1 var(--mono); }
.plan-item .rm { border: 0; background: transparent; color: var(--ink-3); font-size: 14px; padding: 4px 8px; }
.plan-sum { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.plan-sum b { display: block; font: 600 1.15rem/1.2 var(--mono); }
.plan-sum span { font-size: .7rem; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }
.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.plan-actions .btn { justify-content: center; }
.plan-actions .wide { grid-column: 1 / -1; }
.plan-empty { text-align: center; padding: 30px 10px; color: var(--ink-2); }
.plan-empty .art { font-size: 44px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border: 0; padding: 0; background: #06111A; color: #fff; display: none; }
.lightbox[open] { display: block; }
.lightbox::backdrop { background: #06111A; }
.lb-track { position: absolute; inset: 0 0 56px 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; scroll-snap-stop: always; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(56px + var(--sab)); padding-bottom: var(--sab); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 8px; background: rgba(0, 0, 0, .35); }
.lb-cap { flex: 1; text-align: center; font: 500 .74rem/1.3 var(--mono); opacity: .9; }
.lb-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; }
.lb-close { position: absolute; right: 12px; top: calc(12px + var(--sat)); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 16px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: calc(var(--nav) + var(--sab) + 14px); transform: translateX(-50%); z-index: 90; display: grid; gap: 6px; pointer-events: none; }
@media (min-width: 960px) { .toast-wrap { bottom: 20px; } }
.toast { background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); animation: up .3s var(--ease); white-space: nowrap; }

/* ---------- Motion / Print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card { opacity: 1; transform: none; }
}
@media print {
  .top, .cover, .map-pane, .bottom-nav, .toolbar, .quick, .flow-step[data-step="1"], .flow-num, .flow-kicker, .ribbon, .foot, .toast-wrap { display: none !important; }
  .flow-step { padding-left: 0; }
  .flow-step[data-step="2"] { margin-top: 0; }
  .flow-step[data-step="2"]::before { display: none; }
  body { padding: 0; background: #fff; color: #000; }
  .list-pane { box-shadow: none; }
  .sheet { position: static; display: block !important; max-height: none; box-shadow: none; }
  .sheet-head .x, .sheet-grab, .plan-actions, .plan-item .grab, .plan-item .rm, .nights button { display: none !important; }
}
