:root {
  --ink: #183238;
  --ink-soft: #415d61;
  --cream: #f2f5f3;
  --cream-deep: #e5ece8;
  --paper: #fbfcfa;
  --white: #ffffff;
  --muted: #6b7f7f;
  --line: rgba(24,50,56,.14);
  --line-strong: rgba(24,50,56,.25);
  --red: #c84a3d;
  --red-deep: #a83a30;
  --blue: #dceaed;
  --blue-deep: #315e6b;
  --sweden-blue: #3f7781;
  --sweden-yellow: #d1b979;
  --sage: #dde8e1;
  --sage-deep: #3b6657;
  --sand: #eee8de;
  --amber: #c69a4b;
  --action: #2f6872;
  --action-hover: #275761;
  --action-soft: #e4efed;
  --focus: #76aeb6;
  --on-action: #ffffff;
  --inverse: #203b43;
  --on-inverse: #f7fbfa;
  --selected-bg: #d8e8e5;
  --selected-ink: #173c42;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow: 0 16px 44px rgba(16,36,62,.10);
  --font-body: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Noto Sans Display", "Noto Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --content-width: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--cream); color-scheme: light; }
body { margin: 0; min-width: 320px; min-height: 100dvh; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body.sheet-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-140%); background: var(--paper); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sweden-yellow); outline-offset: 3px; }

.ambient { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(110px); opacity: .16; z-index: 0; }
.ambient-one { width: 420px; height: 420px; background: #80b6d4; top: -230px; right: -140px; }
.ambient-two { width: 340px; height: 340px; background: #c6d8d0; bottom: 10%; left: -250px; }

.brand { position: relative; display: block; width: 112px; height: 44px; min-height: 44px; overflow: hidden; flex: 0 0 112px; }
.brand-logo { position: absolute; top: -67px; left: -33px; width: 177px; height: 177px; max-width: none; object-fit: contain; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
h1 em, h2 em { color: var(--sweden-blue); font-style: normal; font-weight: 700; }
.text-button { min-height: 44px; border: 0; padding: 8px 0; background: none; color: var(--ink-soft); font-weight: 700; cursor: pointer; }
.primary-button, .secondary-button, .light-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border-radius: 999px; border: 0; padding: 0 24px; font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; }
.primary-button { background: var(--action); color: var(--on-action); box-shadow: 0 10px 24px rgba(47,104,114,.18); }
.primary-button svg, .light-button svg { width: 19px; }
.primary-button:hover { background: var(--action-hover); box-shadow: 0 14px 28px rgba(47,104,114,.24); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.primary-button:disabled:hover { background: var(--action); box-shadow: none; }
.primary-button:disabled:active { transform: none; }
.secondary-button { min-height: 52px; border: 1px solid var(--line); background: transparent; }
.light-button { background: var(--paper); color: var(--ink); }
.primary-button:active, .secondary-button:active, .light-button:active, button:active { transform: scale(.97); }
.icon-button { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }

/* City gateway and onboarding */
.city-gateway { position: fixed; inset: 0; z-index: 110; overflow-y: auto; background: var(--cream); }
.city-gateway[hidden] { display: none; }
.city-gateway-shell { width: min(100%, 1140px); min-height: 100dvh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom)); }
.city-gateway-copy { width: min(100%, 720px); margin: clamp(72px, 12vh, 130px) 0 38px; }
.city-gateway-copy h1 { margin: 8px 0 18px; font-size: clamp(52px, 9vw, 92px); }
.city-gateway-copy > p:not(.eyebrow):not(.city-gateway-message) { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.city-gateway-message { display: inline-flex; margin: 18px 0 0; border-radius: 999px; background: var(--action-soft); color: var(--action); padding: 10px 14px; font-size: 13px; font-weight: 700; }
.city-gateway-message[hidden] { display: none; }
.region-browser { display: grid; gap: 14px; }
.region-browser-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.region-browser-heading .eyebrow { margin: 0; }
.region-browser-heading > span, .region-panel-heading > span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.region-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.region-tabs::-webkit-scrollbar { display: none; }
.region-tab { display: inline-flex; min-height: 48px; flex: 0 0 auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px 0 18px; background: rgba(255,255,255,.54); color: var(--muted); cursor: pointer; font: inherit; font-weight: 700; transition: transform .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.region-tab small { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--cream-deep); color: var(--ink); font-size: 11px; }
.region-tab:hover { transform: translateY(-1px); border-color: var(--line-strong); color: var(--ink); }
.region-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.region-tab.active { border-color: var(--action); background: var(--inverse); color: var(--on-inverse); }
.region-tab.active small { background: rgba(255,255,255,.14); color: inherit; }
.region-panel { border: 1px solid var(--line); border-radius: 30px; padding: 24px; background: rgba(255,255,255,.36); box-shadow: 0 18px 50px rgba(24,50,56,.055); }
.region-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.region-panel-heading .eyebrow { margin: 0 0 6px; }
.region-panel-heading h2 { margin: 0 0 5px; font-size: clamp(28px,4vw,40px); }
.region-panel-heading p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.region-panel-heading > span { flex: 0 0 auto; border-radius: 999px; background: var(--cream-deep); padding: 9px 12px; }
.city-catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.onboarding { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--cream); }
.onboarding-shell { position: relative; width: min(100%, 1140px); min-height: 100dvh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); }
.onboarding-header { display: flex; align-items: center; justify-content: space-between; }
.progress { position: absolute; top: max(78px, calc(env(safe-area-inset-top) + 68px)); left: 20px; right: 20px; height: 2px; overflow: hidden; background: var(--line); }
.progress span { display: block; width: 25%; height: 100%; background: var(--action); transition: width .55s var(--ease); }
.onboarding-step { display: none; width: min(100%, 600px); margin: 84px auto 0; padding-bottom: 32px; }
.onboarding-step.active { display: block; animation: stepIn .55s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } }
.onboarding-step h1 { margin: 10px 0 18px; font-size: clamp(44px, 12vw, 74px); }
.onboarding-step h2 { margin: 12px 0 18px; font-size: clamp(42px, 10vw, 64px); }
.step-copy { margin: 0 0 28px; max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.step-count { color: var(--action); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.city-picker { margin: 0; padding: 0; border: 0; }
.city-option { position: relative; display: grid; width: 100%; grid-template-rows: 180px 1fr; min-width: 0; min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; background: rgba(251,250,245,.68); color: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 30px rgba(24,50,56,.06); transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease), background .25s ease; }
.city-option:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.city-option:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.city-option.selected { border-color: var(--action); background: var(--action-soft); box-shadow: 0 0 0 1px var(--action), 0 18px 42px rgba(47,104,114,.14); }
.city-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.city-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.city-option:has(input:checked) { border-color: var(--action); background: var(--action-soft); box-shadow: 0 0 0 1px var(--action), 0 18px 42px rgba(47,104,114,.14); }
.city-option.selected { border-color: var(--action); background: var(--action-soft); box-shadow: 0 0 0 1px var(--action), 0 18px 42px rgba(47,104,114,.14); }
.city-option:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.city-card-visual { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 17px; padding: 18px; color: #f8fbfa; background: radial-gradient(circle at 74% 22%, rgba(209,185,121,.95) 0 16px, transparent 17px), linear-gradient(150deg, #5d8d92 0%, #315e68 48%, #19383f 100%); }
.city-card-visual::before { content: ""; position: absolute; right: -28px; bottom: -62px; width: 160px; height: 160px; border: 20px solid rgba(255,255,255,.1); border-radius: 50%; }
.city-card-visual strong { position: relative; font-family: var(--font-display); font-size: 52px; letter-spacing: -.06em; line-height: 1; }
.city-card-visual > span:last-child { position: relative; margin-top: 7px; color: rgba(255,255,255,.72); font-size: 9px; font-weight: 600; }
.city-availability { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(18,51,58,.72); color: #fff; font-size: 10px; font-weight: 700; backdrop-filter: blur(14px); }
.city-availability i { width: 7px; height: 7px; border-radius: 50%; background: #7dd3a4; box-shadow: 0 0 0 4px rgba(125,211,164,.15); }
.city-card-copy { display: flex; min-width: 0; flex-direction: column; justify-content: flex-start; padding: 20px 7px 7px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.city-card-heading { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.city-card-heading > span:first-child { display: grid; gap: 4px; }
.city-card-heading strong { overflow-wrap: anywhere; color: var(--ink); font-family: var(--font-display); font-size: clamp(27px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1.02; }
.city-card-heading small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.city-selected { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: transparent; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.city-selected svg { width: 19px; height: 19px; }
.city-option:has(input:checked) .city-selected { border-color: var(--action); background: var(--action); color: var(--on-action); }
.city-option.selected .city-selected { border-color: var(--action); background: var(--action); color: var(--on-action); }
.welcome-art { position: relative; aspect-ratio: 1.65; width: 100%; margin-bottom: 32px; overflow: hidden; border-radius: var(--radius-lg); background: #dce8ee; }
.welcome-art > svg { width: 100%; height: 100%; stroke: none; }
.welcome-art .water { fill: #a8c5ca; }
.welcome-art .skyline { fill: var(--ink); opacity: .94; }
.welcome-art .bridge { fill: none; stroke: #6d949b; stroke-width: 4; }
.welcome-art .sun { fill: var(--sweden-yellow); }
.arrival-chip { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 16px; background: rgba(251,250,245,.82); box-shadow: 0 12px 40px rgba(23,25,19,.18); backdrop-filter: blur(14px); }
.arrival-chip svg { width: 21px; }
.arrival-chip span { flex: 1; font-weight: 700; }
.arrival-chip strong { font-size: 13px; }
.field-group { margin-bottom: 18px; }
.field-group > label, .field-group legend { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.field-group input, .field-group select { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; background: rgba(251,250,245,.8); color: var(--ink); caret-color: var(--action); padding: 0 16px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.field-group input::placeholder, .search-box input::placeholder { color: var(--muted); opacity: .82; }
.field-group select option { background: var(--paper); color: var(--ink); }
.field-group input:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); transition: background-color 9999s ease-out 0s; }
.field-group input:focus, .field-group select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,25,19,.08); }
.select-wrap, .input-wrap { position: relative; }
.select-wrap svg, .input-wrap svg { position: absolute; z-index: 1; top: 15px; left: 16px; width: 22px; pointer-events: none; color: var(--muted); }
.select-wrap select, .input-wrap input { padding-left: 50px; appearance: none; }
.select-wrap::after { content: "⌄"; position: absolute; right: 18px; top: 15px; color: var(--muted); pointer-events: none; }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 28px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.privacy-note svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--sage-deep); }
.step-actions { display: flex; gap: 12px; margin-top: 26px; }
.step-actions .primary-button { flex: 1; }
.split-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset.field-group { margin-inline: 0; padding: 0; border: 0; }
.stay-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stay-options input { position: absolute; opacity: 0; pointer-events: none; }
.stay-options span { display: grid; place-items: center; min-height: 50px; border: 1px solid var(--line); border-radius: 15px; background: rgba(251,250,245,.75); font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.stay-options input:checked + span { border-color: var(--action); background: var(--selected-bg); color: var(--selected-ink); }
.stay-options input:focus-visible + span { outline: 3px solid #2c6bed; outline-offset: 2px; }
.custom-days-field { display: grid; gap: 7px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(251,250,245,.58); }
.custom-days-field label { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.custom-days-field small { color: var(--muted); font-size: 10px; }
.custom-days-control { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); }
.custom-days-control input { min-height: 50px; border: 0; border-radius: 0; background: transparent; }
.custom-days-control span { padding-right: 16px; color: var(--muted); font-size: 12px; font-weight: 700; }
.form-error { min-height: 20px; margin: 0; color: var(--red-deep); font-size: 13px; font-weight: 600; }

/* App shell */
.app-shell { position: relative; z-index: 1; min-height: 100dvh; padding-bottom: calc(92px + var(--safe-bottom)); opacity: 0; transition: opacity .35s ease; }
.app-shell.ready { opacity: 1; }
.app-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; width: min(100%, var(--content-width)); height: calc(68px + env(safe-area-inset-top)); margin: 0 auto; padding: env(safe-area-inset-top) 20px 0; background: rgba(243,246,245,.88); backdrop-filter: blur(18px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.location-pill { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251,250,245,.65); font-size: 12px; font-weight: 700; cursor: pointer; }
.location-pill i { width: 7px; height: 7px; border-radius: 50%; background: #36a266; box-shadow: 0 0 0 4px rgba(54,162,102,.12); }
.theme-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--action); background: var(--action-soft); }
.theme-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-toggle svg { width: 19px; height: 19px; }
.avatar-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); font-size: 12px; font-weight: 700; cursor: pointer; }
main { width: min(100%, var(--content-width)); margin: 0 auto; }
.screen { display: none; padding: 22px 20px 46px; }
.screen.active { display: block; view-transition-name: nara-screen; }
.screen.screen-entering { animation: screenIn .38s var(--ease) both; }
@keyframes screenIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes screenOut { from { opacity: 1; transform: translate3d(0, 0, 0); } to { opacity: 0; transform: translate3d(0, -6px, 0); } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(nara-screen) { animation: screenOut .28s ease both; }
::view-transition-new(nara-screen) { animation: screenIn .44s var(--ease) both; }
.hero-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 14px 0 28px; }
.hero-copy { min-width: 0; flex: 1; }
.hero-copy h1 { margin: 8px 0 14px; font-size: clamp(52px, 14vw, 78px); }
.weather-line { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.weather-line span { color: var(--ink); font-weight: 700; }
.emergency-orb { position: relative; display: grid; flex: 0 0 92px; place-items: center; min-height: 106px; border: 0; border-radius: 46px 46px 22px 22px; background: var(--red); color: white; box-shadow: 0 18px 38px rgba(229,61,47,.26); cursor: pointer; overflow: visible; transition: transform .2s var(--ease), box-shadow .2s ease; }
.emergency-orb:hover { box-shadow: 0 22px 46px rgba(229,61,47,.38); }
.emergency-orb svg { width: 22px; height: 22px; }
.emergency-orb strong { font-family: "Newsreader", serif; font-size: 25px; line-height: 1; }
.emergency-orb small { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.emergency-orb .pulse { position: absolute; inset: -7px; border: 1px solid rgba(229,61,47,.38); border-radius: 54px 54px 29px 29px; animation: pulse 2.8s ease-out 3; }
@keyframes pulse { 70%,100% { transform: scale(1.08); opacity: 0; } }
.search-row { display: flex; gap: 10px; }
.search-box { display: flex; flex: 1; align-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 18px; background: rgba(251,250,245,.82); box-shadow: 0 8px 26px rgba(23,25,19,.05); }
.search-box > svg { width: 21px; margin-left: 16px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; height: 54px; border: 0; outline: none; background: transparent; color: var(--ink); caret-color: var(--action); padding: 0 12px; font-size: 14px; }
.search-box kbd { display: none; margin-right: 12px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-family: inherit; font-size: 10px; }
.map-search button { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; margin-right: 6px; border: 0; border-radius: 13px; background: var(--action); color: var(--on-action); cursor: pointer; transition: opacity .2s ease, transform .2s var(--ease); }
.map-search button svg { width: 18px; }
.map-search button:disabled { opacity: .55; cursor: wait; }
.map-search button[aria-busy="true"] svg { animation: searchTurn .8s ease-in-out infinite alternate; }
@keyframes searchTurn { to { transform: translateX(4px); opacity: .45; } }
.search-feedback { min-height: 16px; margin: 6px 4px -4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.locate-button { display: grid; place-items: center; width: 56px; flex: 0 0 56px; border: 0; border-radius: 18px; background: var(--action); color: var(--on-action); cursor: pointer; }
.section { margin-top: 42px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: 34px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-card { position: relative; display: flex; min-height: 148px; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; text-align: left; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .2s ease; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-card.coral, .quick-card.sage, .quick-card.blue, .quick-card.sand { background: var(--paper); }
.quick-card.coral:hover, .quick-card.blue:hover { border-color: rgba(0,106,167,.34); }
.quick-card.sage:hover { border-color: rgba(40,88,73,.34); }
.quick-card.sand:hover { border-color: rgba(217,155,19,.38); }
.quick-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: var(--sweden-blue); }
.quick-card.sage .quick-icon { background: var(--sage); color: var(--sage-deep); }
.quick-card.sand .quick-icon { background: #fff4bf; color: #765500; }
.quick-icon svg { width: 21px; }
.quick-card span:nth-child(2) { display: grid; gap: 3px; }
.quick-card strong { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.quick-card small { color: var(--ink-soft); font-size: 11px; }
.card-arrow { position: absolute; top: 17px; right: 16px; width: 20px; }
.nearby-list { display: grid; gap: 10px; }
.nearby-card { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 14px; min-height: 98px; border: 1px solid var(--line); border-radius: 20px; background: rgba(251,250,245,.72); padding: 8px 14px 8px 8px; cursor: pointer; transition: transform .2s var(--ease), background .2s ease; }
.nearby-card:hover { transform: translateX(3px); background: var(--paper); }
.place-art { position: relative; width: 86px; height: 80px; border-radius: 14px; overflow: hidden; }
.place-art::before, .place-art::after { content: ""; position: absolute; }
.place-art.museum { background: #bdc4b5; }
.place-art.museum::before { left: 13px; right: 13px; bottom: 17px; height: 35px; background: var(--ink); clip-path: polygon(50% 0,100% 28%,92% 28%,92% 100%,8% 100%,8% 28%,0 28%); }
.place-art.museum::after { left: 31px; bottom: 17px; width: 6px; height: 23px; background: #bdc4b5; box-shadow: 17px 0 #bdc4b5; }
.place-art.fika { background: #e3c3a0; }
.place-art.fika::before { width: 44px; height: 29px; left: 19px; bottom: 20px; border: 5px solid var(--ink); border-radius: 4px 4px 18px 18px; }
.place-art.fika::after { width: 14px; height: 14px; border: 4px solid var(--ink); border-left: 0; border-radius: 0 10px 10px 0; left: 62px; bottom: 29px; }
.place-art.pharmacy { background: #b9d1c5; }
.place-art.pharmacy::before { width: 42px; height: 14px; left: 22px; top: 33px; background: var(--sage-deep); }
.place-art.pharmacy::after { width: 14px; height: 42px; left: 36px; top: 19px; background: var(--sage-deep); }
.place-copy { min-width: 0; }
.place-copy .meta { color: var(--red-deep); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.place-copy h3 { margin: 5px 0 4px; font-family: "Newsreader", serif; font-size: 20px; line-height: 1; }
.place-copy p { margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.distance { display: grid; justify-items: end; gap: 7px; color: var(--muted); font-size: 10px; }
.distance svg { width: 19px; }
.event-list { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.event-card { display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; scroll-snap-align: start; border-radius: var(--radius-md); padding: 18px; color: white; overflow: hidden; }
.event-card:nth-child(1) { background: linear-gradient(145deg,#4c7566,#294b41); }
.event-card:nth-child(2) { background: linear-gradient(145deg,#557f8c,#315562); }
.event-card:nth-child(3) { background: linear-gradient(145deg,#746b83,#4a4358); }
.event-date { display: flex; align-items: flex-start; justify-content: space-between; }
.event-date span { display: grid; font-family: "Newsreader", serif; font-size: 30px; line-height: .8; }
.event-date span small { margin-top: 8px; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.event-date svg { opacity: .7; }
.event-card h3 { margin: 0 0 7px; font-family: "Newsreader", serif; font-size: 27px; line-height: 1; }
.event-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.country-card { position: relative; display: grid; min-height: 360px; margin: 44px 0 6px; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-deep); color: white; padding: 26px; }
.country-card .eyebrow { color: rgba(255,255,255,.56); }
.country-card h2 { margin: 0 0 14px; font-size: 43px; }
.country-card p:not(.eyebrow) { max-width: 310px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.6; }
.country-card .light-button { margin-top: 12px; }
.flag-art { --flag-background: #006aa7; --flag-cross: #fecc02; position: absolute; right: -40px; bottom: -48px; width: 190px; height: 190px; border-radius: 50%; background: var(--flag-background); transform: rotate(-12deg); overflow: hidden; }
.flag-art[data-country="DK"] { --flag-background: #c60c30; --flag-cross: #fff; }
.flag-art[data-country="NO"] { --flag-background: #ba0c2f; --flag-cross: #fff; }
.flag-art[data-country="FI"] { --flag-background: #fff; --flag-cross: #002f6c; box-shadow: inset 0 0 0 1px rgba(0,47,108,.12); }
.flag-art[data-country="IT"] { background: linear-gradient(90deg,#009246 0 33.333%,#fff 33.333% 66.666%,#ce2b37 66.666%); box-shadow: inset 0 0 0 1px rgba(20,40,30,.1); }
.flag-art[data-country="ES"] { background: linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); box-shadow: inset 0 0 0 1px rgba(80,20,20,.12); }
.flag-art[data-country="IT"] .flag-cross-h, .flag-art[data-country="IT"] .flag-cross-v { display: none; }
.flag-art[data-country="ES"] .flag-cross-h, .flag-art[data-country="ES"] .flag-cross-v { display: none; }
.flag-cross-h, .flag-cross-v { position: absolute; background: var(--flag-cross); }
.flag-cross-h { top: 84px; left: 0; right: 0; height: 26px; }
.flag-cross-v { top: 0; bottom: 0; left: 62px; width: 26px; }
.flag-cross-h::after, .flag-cross-v::after { content: ""; position: absolute; display: none; background: #00205b; }
.flag-art[data-country="NO"] .flag-cross-h::after { display: block; inset: 8px 0; }
.flag-art[data-country="NO"] .flag-cross-v::after { display: block; inset: 0 8px; }
.flag-art[data-country="FI"] i { color: rgba(0,47,108,.64); text-shadow: none; }
.flag-art[data-country="IT"] i { color: rgba(20,40,30,.56); text-shadow: 0 1px 8px rgba(255,255,255,.4); }
.flag-art[data-country="ES"] i { color: rgba(70,26,18,.56); text-shadow: 0 1px 8px rgba(255,255,255,.35); }
.flag-art i { position: absolute; z-index: 2; right: 43px; top: 42px; color: rgba(255,255,255,.62); font-family: "Newsreader",serif; font-size: 30px; text-shadow: 0 1px 8px rgba(0,0,0,.18); }

/* Explore */
.screen-intro { padding: 26px 0 22px; }
.screen-intro h1 { margin: 8px 0 14px; font-size: clamp(52px, 14vw, 78px); }
.screen-intro > p:last-child { max-width: 480px; color: var(--muted); line-height: 1.6; }
.screen-intro.compact { padding-bottom: 8px; }
.explore-intro { display: grid; gap: 20px; padding-bottom: 14px; }
.explore-intro h1 { margin-bottom: 12px; }
.explore-intro > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.view-switcher { display: grid; grid-template-columns: 1fr 1fr; align-self: end; width: 100%; border: 1px solid var(--line); border-radius: 16px; background: rgba(251,250,245,.68); padding: 4px; }
.view-switcher button { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.view-switcher button svg { width: 17px; }
.view-switcher button.active { background: var(--selected-bg); color: var(--selected-ink); box-shadow: 0 7px 18px rgba(24,50,56,.10); }
.sticky-tools { position: sticky; top: calc(68px + env(safe-area-inset-top)); z-index: 30; margin-inline: -20px; padding: 10px 20px 14px; background: rgba(243,246,245,.94); backdrop-filter: blur(16px); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.chip { display: flex; align-items: center; gap: 7px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 0 15px; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.chip svg { width: 17px; }
.chip.active { border-color: rgba(47,104,114,.34); background: var(--selected-bg); color: var(--selected-ink); }
.range-row { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.range-row > span { display: flex; align-items: center; gap: 6px; min-width: 135px; font-size: 12px; }
.range-row svg { width: 18px; }
.range-row input { width: 100%; accent-color: var(--action); }
.range-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 9px; }
.range-meta > span { display: flex; align-items: center; gap: 6px; }
.range-meta i { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.range-meta strong { color: var(--ink-soft); }
.range-meta small { font-size: 9px; }
.map-panel { padding-top: 14px; }
.map-frame { position: relative; z-index: 1; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #dce1da; box-shadow: 0 18px 52px rgba(23,25,19,.1); }
#city-map { width: 100%; height: clamp(410px, 57dvh, 610px); background: radial-gradient(circle at 70% 30%,#ecddc5,#cad6cf); }
#city-map .leaflet-tile-pane { filter: grayscale(.82) saturate(.55) contrast(.92) brightness(1.05); }
#city-map .leaflet-control-zoom { overflow: hidden; border: 0; border-radius: 13px; box-shadow: 0 8px 24px rgba(23,25,19,.16); }
#city-map .leaflet-control-zoom a { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: rgba(251,250,245,.95); color: #171913; font: 500 22px/1 "DM Sans",sans-serif; }
#city-map .leaflet-control-attribution { max-width: calc(100% - 90px); overflow: hidden; background: rgba(251,250,245,.88); color: #4c5148; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
#city-map .leaflet-control-attribution a { color: #243b31; text-decoration: underline; }
.map-control { position: absolute; z-index: 600; right: 12px; bottom: 36px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 15px; background: var(--action); color: var(--on-action); box-shadow: 0 9px 24px rgba(24,50,56,.20); cursor: pointer; }
.map-control svg { width: 21px; }
.map-control.locating svg { animation: locating 1s ease-in-out infinite; }
@keyframes locating { 50% { transform: scale(.76); opacity: .45; } }
.map-status:empty { display: none; }
.map-status { position: absolute; z-index: 550; left: 12px; right: 70px; bottom: 36px; border-radius: 12px; background: rgba(23,25,19,.9); color: white; padding: 10px 12px; font-size: 10px; line-height: 1.4; }
.place-marker-wrap, .origin-marker-wrap { border: 0; background: transparent; }
.place-marker { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border: 3px solid white; border-radius: 50% 50% 50% 10px; background: var(--pin-color); color: #171913; box-shadow: 0 7px 18px rgba(23,25,19,.28); transform: rotate(-45deg); transition: transform .22s var(--ease), box-shadow .22s ease; }
.place-marker::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(23,25,19,.12); border-radius: inherit; }
.place-marker svg { z-index: 1; width: 20px; height: 20px; transform: rotate(45deg); stroke-width: 2; }
.place-marker.selected { box-shadow: 0 9px 24px rgba(47,104,114,.34); transform: rotate(-45deg) scale(1.18); }
.place-marker.selected::before { content: ""; position: absolute; inset: -8px; border: 2px solid var(--action); border-radius: inherit; }
.origin-marker { display: grid; width: 26px; height: 26px; place-items: center; border: 3px solid white; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 7px rgba(47,104,114,.18),0 6px 16px rgba(23,25,19,.25); }
.origin-marker i { width: 6px; height: 6px; border-radius: 50%; background: white; }
.map-popup { display: grid; min-width: 190px; padding: 2px; font-family: "DM Sans",sans-serif; }
.map-popup > span { color: #c82920; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.map-popup strong { margin-top: 5px; font-family: "Newsreader",serif; font-size: 20px; line-height: 1.05; }
.map-popup p { margin: 7px 0 10px; color: #6d7166; font-size: 10px; line-height: 1.45; }
.map-popup .place-rating { margin-bottom: 10px; color: #735314; }
.map-popup button { display: grid; width: 100%; min-height: 40px; place-items: center; border: 0; border-radius: 11px; background: var(--action); color: var(--on-action); font-size: 11px; font-weight: 700; cursor: pointer; }
#city-map .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 14px 38px rgba(23,25,19,.22); }
#city-map .leaflet-popup-content { margin: 14px; }
.map-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 3px 11px; }
.map-results-heading span { font-family: "Newsreader",serif; font-size: 19px; }
.map-results-heading strong { color: var(--action); }
.map-results-heading small { color: var(--muted); font-size: 9px; }
.map-place-cards { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 310px); gap: 10px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.map-place-card { display: grid; grid-template-columns: 50px 1fr 44px; min-height: 98px; align-items: center; gap: 11px; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 10px; cursor: pointer; transition: border .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.map-place-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23,25,19,.09); }
.map-place-card.selected { border-color: var(--action); box-shadow: 0 0 0 2px rgba(47,104,114,.11); }
.map-card-icon { display: grid; width: 48px; height: 66px; place-items: center; border-radius: 16px; background: var(--pin-color); color: #171913; }
.map-card-icon svg { width: 23px; }
.map-place-card > div { min-width: 0; }
.map-place-card > div > span { color: var(--action); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-place-card h3 { margin: 5px 0 3px; overflow: hidden; font-family: "Newsreader",serif; font-size: 20px; line-height: 1; white-space: nowrap; text-overflow: ellipsis; }
.map-place-card p { margin: 0; color: var(--muted); font-size: 10px; }
.place-rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; color: #75540d; font-size: 9px; font-weight: 700; }
.place-rating svg { width: 12px; height: 12px; fill: #e8a83e; stroke: #9b6d14; }
.map-place-card > .map-directions { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }
.map-place-card > .map-directions svg { width: 18px; }
.map-empty { display: grid; min-width: min(84vw,310px); min-height: 94px; place-content: center; gap: 7px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); padding: 14px; text-align: center; }
.map-empty strong { color: var(--ink); }
.explore-grid { display: grid; gap: 12px; padding-top: 22px; }
.explore-card { display: grid; grid-template-columns: 108px 1fr; min-height: 126px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); cursor: pointer; }
.explore-card .place-visual { display: grid; place-items: center; background: var(--visual, var(--blue)); font-family: var(--font-display); font-size: 40px; font-weight: 700; color: rgba(16,36,62,.82); }
.explore-card .place-visual svg { width: 42px; height: 42px; stroke-width: 1.2; }
.explore-card > div:last-child { padding: 16px; }
.explore-card .tag-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.explore-card h3 { margin: 10px 0 6px; font-family: "Newsreader",serif; font-size: 23px; line-height: 1; }
.explore-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty-state { grid-column: 1/-1; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; color: var(--muted); }
.external-search-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; border-radius: 999px; background: var(--selected-bg); color: var(--selected-ink); padding: 0 16px; font-size: 11px; font-weight: 700; }
.external-search-link svg { width: 16px; }

/* Transport */
.transit-card { display: grid; gap: 18px; margin-top: 20px; border-radius: var(--radius-lg); background: var(--inverse); color: var(--on-inverse); padding: 24px; }
.transit-logo { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: #0673ce; font-size: 22px; font-style: italic; font-weight: 700; }
.verified { display: flex; align-items: center; gap: 6px; color: #a8d4bc; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.verified svg { width: 15px; }
.transit-card h2 { margin: 10px 0; font-size: 41px; }
.transit-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }
.ticket-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticket-options span { display: grid; gap: 7px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; }
.ticket-options small { color: rgba(255,255,255,.5); }
.ticket-options strong { font-size: 13px; }
.transit-card .primary-button { background: var(--action); color: var(--on-action); box-shadow: none; }
.transit-card .secondary-button { color: white; border-color: rgba(255,255,255,.18); }
.route-cards, .stop-list { display: grid; gap: 9px; }
.route-cards article { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: start; gap: 12px; min-height: 82px; border-top: 1px solid var(--line); padding: 16px 4px; }
.route-number { color: var(--action); font-size: 11px; font-weight: 700; }
.route-cards h3 { margin: 0 0 4px; font-size: 15px; }
.route-cards p { margin: 0; color: var(--muted); font-size: 11px; }
.route-cards strong { font-family: "Newsreader",serif; font-size: 18px; }
.route-duration { align-self: center; white-space: nowrap; }
.route-actions { grid-column: 2/-1; display: flex; flex-wrap: wrap; gap: 8px; }
.route-link { display: inline-flex; min-height: 44px; flex: 1 1 150px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); color: var(--ink); padding: 10px 12px; font-size: 12px; font-weight: 700; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.route-link:hover { transform: translateY(-1px); border-color: var(--action); background: var(--action-soft); }
.route-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.route-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.route-link-muted { color: var(--muted); }
.stop-item { display: flex; align-items: center; gap: 12px; min-height: 68px; border-radius: 17px; background: rgba(251,250,245,.72); padding: 10px 14px; }
.line-badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--line-color); color: white; font-weight: 700; }
.stop-item span:nth-child(2) { flex: 1; display: grid; gap: 3px; }
.stop-item small { color: var(--muted); }
.stop-item > strong { font-size: 12px; }

/* Safety */
.safety-hero { margin: 14px -20px 0; padding: 34px 20px 30px; background: var(--red); color: white; }
.safety-hero .eyebrow { color: rgba(255,255,255,.65); }
.safety-hero h1 { margin: 8px 0 16px; font-size: clamp(52px, 14vw, 76px); }
.safety-hero h1 em { color: #ffc8bf; }
.safety-hero > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.call-112 { display: flex; width: 100%; min-height: 78px; align-items: center; justify-content: space-between; margin-top: 24px; border: 0; border-radius: 22px; background: white; color: var(--red-deep); padding: 14px 18px; cursor: pointer; }
.call-112 span { display: flex; align-items: center; gap: 12px; }
.call-112 svg { width: 25px; }
.call-112 strong { font-family: "Newsreader",serif; font-size: 27px; }
.call-112 small { color: var(--muted); font-size: 10px; }
.help-list { display: grid; gap: 9px; }
.help-list a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; min-height: 72px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 10px 14px; }
.help-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
.help-icon.green { background: #d8e8dc; color: #1e6540; }.help-icon.blue { background: #d9e7f4; color: #215c96; }.help-icon.amber { background: #f4e3be; color: #805811; }
.help-icon svg { width: 21px; }
.help-list a > span:nth-child(2) { display: grid; gap: 4px; }
.help-list small { color: var(--muted); font-size: 10px; }
.help-list b { font-family: "Newsreader",serif; font-size: 20px; }
.embassy-card { display: grid; gap: 14px; border-radius: var(--radius-md); background: var(--blue-deep); color: white; padding: 20px; }
.embassy-card header { display: flex; align-items: center; gap: 12px; }
.country-monogram { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); font-family: "Newsreader",serif; font-size: 20px; }
.embassy-card h3 { margin: 0 0 3px; font-size: 17px; }
.embassy-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.5; }
.embassy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.embassy-actions a { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; font-size: 12px; font-weight: 700; }
.embassy-actions a:first-child { background: white; color: var(--blue-deep); }
.embassy-actions svg { width: 17px; }
.compact-place-list { display: grid; gap: 8px; }
.compact-place-list article { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.compact-place-list .mini-cross { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #d8e8dc; color: #1e6540; }
.compact-place-list span:nth-child(2) { flex: 1; display: grid; gap: 3px; }
.compact-place-list small { color: var(--muted); }
.compact-place-list b { font-size: 11px; }
.source-note { margin: 34px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

/* Profile */
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 30px 0; }
.profile-avatar { display: grid; place-items: center; width: 82px; height: 82px; flex: 0 0 82px; border-radius: 18px; background: var(--action); color: var(--on-action); font-family: var(--font-display); font-size: 25px; font-weight: 700; }
.profile-hero h1 { margin: 4px 0 7px; font-size: 40px; }
.profile-hero p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.trip-card { display: grid; gap: 24px; border-radius: var(--radius-md); background: var(--inverse); color: var(--on-inverse); padding: 22px; }
.trip-card .eyebrow { color: rgba(255,255,255,.52); }
.trip-card h2 { margin: 0 0 9px; font-size: 32px; }
.trip-card #trip-remaining { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; }
.trip-storage-note { display: block; margin-top: 8px; color: rgba(255,255,255,.48); font-size: 10px; }
.trip-progress { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.14); }
.trip-progress span { display: block; width: var(--trip-progress); height: 100%; border-radius: inherit; background: #9fc4bd; }

/* Arrival guide */
.arrival-intro > p:last-child { max-width: 620px; }
.arrival-guide { display: grid; gap: 18px; }
.arrival-overview { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; overflow: hidden; border-radius: 28px; background: var(--inverse); color: var(--on-inverse); padding: 24px; }
.arrival-overview::after { content: ""; position: absolute; right: -55px; bottom: -75px; width: 190px; height: 190px; border-radius: 50%; background: rgba(159,196,189,.16); }
.arrival-overview .eyebrow { color: rgba(255,255,255,.55); }
.arrival-overview h2 { max-width: 640px; margin: 0 0 10px; font-size: clamp(32px,7vw,50px); }
.arrival-overview p:not(.eyebrow) { max-width: 680px; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.65; }
.arrival-status { position: relative; z-index: 1; display: inline-flex; width: fit-content; height: fit-content; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.12); padding: 9px 12px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.arrival-status i { width: 7px; height: 7px; border-radius: 50%; background: #9fe0b7; }
.arrival-status.non-eu i { background: #efc276; }
.arrival-status.unknown i { background: #c4cfcc; }
.arrival-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.arrival-toolbar p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.arrival-toolbar .text-button { flex: 0 0 auto; white-space: nowrap; }
.arrival-grid { display: grid; gap: 12px; }
.arrival-card { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.72); padding: 18px; }
.arrival-card-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; background: var(--action-soft); color: var(--action); }
.arrival-card-icon svg { width: 21px; }
.arrival-card h3 { margin: 1px 0 7px; font-size: 18px; }
.arrival-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.arrival-card ul { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 17px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.arrival-card.prominent { border-color: rgba(47,104,114,.26); background: var(--action-soft); }
.arrival-card.prominent .arrival-card-icon { background: var(--action); color: var(--on-action); }
.arrival-disclaimer { margin: 0; border-left: 3px solid var(--action); color: var(--muted); padding: 2px 0 2px 13px; font-size: 10px; line-height: 1.6; }
.arrival-sources { border-top: 1px solid var(--line); padding-top: 18px; }
.arrival-sources summary { min-height: 44px; color: var(--ink-soft); font-size: 12px; font-weight: 800; cursor: pointer; }
.arrival-source-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.arrival-source-links a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 0 13px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.arrival-source-links svg { width: 15px; }
.arrival-reviewed { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.settings-list { display: grid; margin-top: 28px; }
.settings-list button { display: flex; min-height: 78px; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 2px; text-align: left; cursor: pointer; }
.settings-list button > span { display: flex; align-items: center; gap: 13px; }
.settings-list button > span > svg { width: 22px; }
.settings-list button span span { display: grid; gap: 4px; }
.settings-list small { color: var(--muted); }
.settings-list button > svg { width: 19px; color: var(--muted); }
.reset-button { width: 100%; min-height: 50px; margin-top: 36px; border: 1px solid rgba(229,61,47,.25); border-radius: 15px; background: rgba(229,61,47,.06); color: var(--red-deep); font-weight: 700; cursor: pointer; }
.version { margin: 24px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

/* Navigation & sheets */
.bottom-nav { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: max(10px, var(--safe-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); max-width: 660px; margin: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: rgba(23,25,19,.94); box-shadow: 0 18px 46px rgba(23,25,19,.28); padding: 7px; backdrop-filter: blur(16px); }
.bottom-nav button { position: relative; display: grid; place-items: center; gap: 3px; min-height: 56px; border: 0; border-radius: 17px; background: transparent; color: rgba(255,255,255,.52); cursor: pointer; transition: color .32s ease, background .32s ease, transform .32s var(--ease), box-shadow .32s ease; }
.bottom-nav button svg { width: 21px; height: 21px; transition: transform .4s var(--ease); }
.bottom-nav button span { font-size: 9px; font-weight: 600; transition: transform .35s var(--ease); }
.bottom-nav button:hover { color: rgba(255,255,255,.86); transform: translateY(-1px); }
.bottom-nav button.active { background: rgba(255,255,255,.11); color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.bottom-nav button.active svg { transform: translateY(-1px) scale(1.08); }
.bottom-nav button.active::before { content: ""; position: absolute; top: 5px; right: calc(50% - 16px); width: 5px; height: 5px; border-radius: 50%; background: #a8cdc5; }

/* City apps rail & mobile pull-out drawer */
.city-apps-scrim { position: fixed; inset: 0; z-index: 67; border: 0; background: rgba(15,30,34,.34); opacity: 0; pointer-events: none; backdrop-filter: blur(2px); transition: opacity .42s ease; }
.city-apps-scrim.open { opacity: 1; pointer-events: auto; }
.city-apps-handle { position: fixed; z-index: 72; top: 43%; right: 0; display: grid; width: 34px; min-height: 96px; place-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.14); border-right: 0; border-radius: 18px 0 0 18px; background: rgba(32,59,67,.94); color: white; box-shadow: -8px 12px 30px rgba(24,50,56,.20); padding: 11px 6px; cursor: grab; touch-action: none; backdrop-filter: blur(16px); transition: right .48s var(--ease), background .25s ease, transform .25s ease; }
.city-apps-handle:active { cursor: grabbing; }
.city-apps-handle:hover { background: rgba(47,104,114,.98); }
.city-apps-handle svg { width: 17px; height: 17px; transform: rotate(180deg); transition: transform .42s var(--ease); }
.city-apps-handle span { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; }
.city-apps-handle.open { right: min(78vw,340px); }
.city-apps-handle.open svg { transform: rotate(0); }
.city-apps-drawer { position: fixed; z-index: 71; top: calc(78px + env(safe-area-inset-top)); right: 0; bottom: calc(84px + var(--safe-bottom)); width: min(78vw,340px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.52); border-right: 0; border-radius: 30px 0 0 30px; background: rgba(244,248,246,.76); box-shadow: -24px 0 70px rgba(24,50,56,.18); padding: 24px 18px; opacity: 0; transform: translateX(105%); backdrop-filter: blur(24px) saturate(1.18); transition: transform .48s var(--ease), opacity .32s ease; }
.city-apps-drawer.open { opacity: 1; transform: translateX(0); }
.city-apps-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.city-apps-header .eyebrow { margin-bottom: 7px; }
.city-apps-header h2 { margin: 0; font-size: 34px; }
.city-apps-close { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.city-apps-close svg { width: 18px; }
.city-app-list { display: grid; gap: 10px; }
.city-app-link { display: grid; grid-template-columns: 48px minmax(0,1fr) 18px; align-items: center; gap: 12px; min-height: 68px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.72); color: var(--ink); padding: 10px 12px; text-decoration: none; opacity: 0; transform: translateX(18px); transition: transform .38s var(--ease), opacity .28s ease, border-color .22s ease, background .22s ease; }
.city-apps-drawer.open .city-app-link { opacity: 1; transform: none; }
.city-apps-drawer.open .city-app-link:nth-child(1) { transition-delay: .08s; }
.city-apps-drawer.open .city-app-link:nth-child(2) { transition-delay: .12s; }
.city-apps-drawer.open .city-app-link:nth-child(3) { transition-delay: .16s; }
.city-apps-drawer.open .city-app-link:nth-child(4) { transition-delay: .20s; }
.city-app-link:hover { border-color: var(--action); background: var(--paper); transform: translateX(-2px); }
.city-app-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.city-app-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: white; font-size: 14px; font-weight: 800; letter-spacing: -.03em; }
.app-sl { background: #ed1b2f; }
.app-uber { background: #111; }
.app-bolt { background: #2f9e84; }
.app-voi { background: #ff5b35; }
.app-rejsebillet { background: #6b3fa0; }
.app-donkey { background: #ef6a36; }
.app-ruter { background: #1d6f62; }
.app-oslobike { background: #245c94; }
.app-hsl { background: #007ac9; }
.app-atac { background: #c73931; }
.app-lime { background: #1fbe63; }
.app-mooneygo { background: #4966d7; }
.app-madrid360 { background: #1474a7; }
.app-bicimad { background: #50b7a2; }
.city-app-copy { display: grid; gap: 3px; min-width: 0; }
.city-app-copy strong { font-size: 14px; }
.city-app-copy small { overflow: hidden; color: var(--muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.city-app-link > svg { width: 18px; }
.city-app-note { margin: 18px 4px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.sheet-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(12,13,10,.56); opacity: 0; transition: opacity .25s ease; }
.sheet-scrim.visible { opacity: 1; }
.bottom-sheet { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; width: min(100%, 600px); max-height: min(92dvh, 760px); overflow-y: auto; overscroll-behavior: contain; margin: auto; border-radius: 30px 30px 0 0; background: var(--paper); padding: 30px 22px calc(24px + var(--safe-bottom)); box-shadow: 0 -22px 70px rgba(12,13,10,.26); transform: translateY(105%); transition: transform .35s var(--ease); }
.bottom-sheet.visible { transform: none; }
.sheet-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream-deep); cursor: pointer; }
.sheet-close svg { width: 20px; }
.emergency-symbol { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 20px; border-radius: 22px; background: var(--red); color: white; }
.emergency-sheet h2, .content-sheet h2 { margin: 9px 42px 13px 0; font-size: 38px; }
.emergency-sheet > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.6; }
.call-confirm { display: flex; min-height: 78px; align-items: center; gap: 14px; margin: 20px 0 10px; border-radius: 20px; background: var(--red); color: white; padding: 14px 18px; }
.call-confirm > svg { width: 27px; }
.call-confirm span { display: grid; gap: 3px; }
.call-confirm strong { font-family: "Newsreader",serif; font-size: 24px; }
.call-confirm small { color: rgba(255,255,255,.72); }
.emergency-sheet .secondary-button { width: 100%; }
.guide-list { display: grid; gap: 8px; margin-top: 20px; }
.guide-list article { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 14px; border-radius: 15px; background: var(--cream); }
.guide-list b { color: var(--red); font-family: "Newsreader",serif; font-size: 21px; }
.guide-list strong { display: block; margin-bottom: 3px; }
.guide-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.map-app-options { display: grid; gap: 9px; margin-top: 22px; }
.map-app-option { display: grid; grid-template-columns: 48px 1fr auto; min-height: 72px; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: var(--cream); padding: 10px 14px; }
.map-app-option > span:nth-child(2) { display: grid; gap: 3px; }
.map-app-option small { color: var(--muted); font-size: 10px; }
.map-app-option > svg { width: 18px; color: var(--muted); }
.map-app-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--selected-bg); color: var(--selected-ink); font-size: 14px; font-weight: 800; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(94px + var(--safe-bottom)); display: flex; align-items: center; gap: 9px; min-height: 48px; border-radius: 999px; background: var(--inverse); color: var(--on-inverse); padding: 0 18px; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: .28s var(--ease); white-space: nowrap; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 17px; color: #9fe0b7; }

/* Scandinavian visual system: quiet surfaces, sturdy grotesk type, Swedish accents. */
.brand,
h1, h2,
.emergency-orb strong,
.place-copy h3,
.event-date span,
.event-card h3,
.flag-art i,
.map-popup strong,
.map-results-heading span,
.map-place-card h3,
.explore-card h3,
.route-cards strong,
.call-112 strong,
.help-list b,
.country-monogram,
.call-confirm strong,
.guide-list b { font-family: var(--font-display); }

.event-date span,
.event-card h3,
.place-copy h3,
.map-popup strong,
.map-results-heading span,
.map-place-card h3,
.explore-card h3,
.route-cards strong,
.call-112 strong,
.help-list b,
.country-monogram,
.call-confirm strong,
.guide-list b { font-weight: 700; letter-spacing: -.025em; }

.event-date span small,
.map-popup { font-family: var(--font-body); }

.place-copy .meta { color: var(--action); }
.map-popup > span { color: var(--action); }
.country-card { background: var(--blue-deep); }
.arrival-chip,
.search-box,
.nearby-card,
.stop-item { background: rgba(255,255,255,.82); }
.bottom-nav { background: rgba(32,59,67,.96); box-shadow: 0 16px 40px rgba(24,50,56,.22); }

@media (min-width: 700px) {
  .onboarding-shell, .app-header, .screen { padding-inline: 32px; }
  .progress { left: 32px; right: 32px; }
  .location-pill { display: flex; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-card { min-height: 170px; }
  .nearby-list { grid-template-columns: 1fr 1fr; }
  .nearby-card:last-child { grid-column: 1/-1; }
  .event-list { grid-auto-flow: initial; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .event-card { min-height: 260px; }
  .country-card { grid-template-columns: 2fr 1fr; padding: 38px; }
  .sticky-tools { margin-inline: -32px; padding-inline: 32px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .explore-intro { grid-template-columns: 1fr auto; align-items: end; }
  .view-switcher { width: 210px; }
  .map-place-cards { grid-auto-columns: 310px; }
  .transit-card { grid-template-columns: 76px 1fr; padding: 32px; }
  .transit-card .ticket-options, .transit-card .primary-button, .transit-card .secondary-button { grid-column: 2; }
  .route-cards { grid-template-columns: repeat(3,1fr); }
  .arrival-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .arrival-overview { grid-template-columns: minmax(0,1fr) auto; }
  .arrival-card.prominent { grid-column: 1/-1; }
  .route-cards article { grid-template-columns: 34px minmax(0,1fr); align-content: start; }
  .route-duration { grid-column: 2; justify-self: start; }
  .route-actions { grid-column: 2; flex-direction: column; width: 100%; margin-top: auto; }
  .route-link { width: 100%; flex-basis: auto; }
  .safety-hero { margin-inline: -32px; padding-inline: 32px; border-radius: 0 0 32px 32px; }
  .call-112 { max-width: 500px; }
}

@media (min-width: 1024px) {
  .app-shell { padding-bottom: 32px; }
  .app-header { border-bottom: 1px solid var(--line); }
  main { padding-inline: 104px; }
  .bottom-nav { top: 96px; bottom: auto; left: max(18px, calc(50% - 560px)); right: auto; width: 78px; grid-template-columns: 1fr; border-radius: 28px; }
  .bottom-nav button { min-height: 66px; }
  .city-apps-scrim, .city-apps-handle, .city-apps-close { display: none; }
  .city-apps-drawer { top: 96px; right: max(18px, calc(50% - 560px)); bottom: auto; width: 78px; max-height: calc(100dvh - 118px); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; background: rgba(32,59,67,.96); box-shadow: 0 16px 40px rgba(24,50,56,.22); padding: 10px 7px; opacity: 1; transform: none; backdrop-filter: blur(18px); }
  .city-apps-header { display: block; margin: 4px 0 7px; text-align: center; }
  .city-apps-header .eyebrow { margin: 0; color: rgba(255,255,255,.48); font-size: 7px; line-height: 1.4; }
  .city-apps-header h2 { margin-top: 3px; color: white; font-family: var(--font-body); font-size: 10px; letter-spacing: 0; line-height: 1.2; }
  .city-app-list { gap: 3px; }
  .city-app-link { display: grid; grid-template-columns: 1fr; min-height: 66px; justify-items: center; gap: 4px; border: 0; border-radius: 17px; background: transparent; color: rgba(255,255,255,.58); padding: 7px 2px; opacity: 1; transform: none; transition-delay: 0s !important; }
  .city-app-link:hover { background: rgba(255,255,255,.1); color: white; transform: translateY(-1px); }
  .city-app-icon { width: 34px; height: 34px; border-radius: 11px; font-size: 11px; }
  .city-app-copy { display: block; text-align: center; }
  .city-app-copy strong { font-size: 9px; font-weight: 600; }
  .city-app-copy small, .city-app-link > svg, .city-app-note { display: none; }
  .hero-block { padding-top: 24px; }
  .search-box kbd { display: inline-block; }
  .nearby-list { grid-template-columns: repeat(3,1fr); }
  .nearby-card { grid-template-columns: 76px 1fr; }
  .nearby-card .distance { display: none; }
  .nearby-card:last-child { grid-column: auto; }
  .place-art { width: 76px; }
  #city-map { height: 620px; }
}

@media (orientation: landscape) and (max-height: 580px) {
  .onboarding-step { margin-top: 56px; }
  .welcome-art { max-height: 220px; }
  .bottom-nav { bottom: 6px; }
}

@media (max-width: 520px) {
  .city-gateway-copy { margin-top: 52px; }
  .region-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .region-tab { min-width: 0; justify-content: space-between; gap: 6px; padding: 0 7px 0 12px; font-size: 13px; white-space: nowrap; }
  .region-tab small { width: 28px; height: 28px; flex: 0 0 28px; }
  .region-panel { border-radius: 24px; padding: 14px; }
  .region-panel-heading { align-items: flex-start; margin: 6px 4px 18px; }
  .region-panel-heading > span { display: none; }
  .city-catalog { grid-template-columns: 1fr; }
  .city-option { min-height: 0; }
  .city-card-visual { min-height: 158px; }
  .city-card-copy { padding: 18px 5px 7px; }
}

@media (min-width: 521px) and (max-width: 1100px) {
  .city-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1101px) {
  .city-card-heading strong { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html[data-theme="dark"] { color-scheme: dark; --ink:#eef4f2; --ink-soft:#d1ddda; --cream:#0f1e22; --cream-deep:#1b2d30; --paper:#16272a; --muted:#a8bab7; --line:rgba(235,244,241,.15); --line-strong:rgba(235,244,241,.28); --sweden-blue:#8ab2b7; --action:#3d727c; --action-hover:#315f68; --action-soft:#203d42; --focus:#8fc3ca; --on-action:#ffffff; --inverse:#254047; --on-inverse:#f7fbfa; --selected-bg:#35585d; --selected-ink:#f5faf9; --shadow:0 18px 60px rgba(0,0,0,.34); }
html[data-theme="dark"] .app-header, html[data-theme="dark"] .sticky-tools { background: rgba(15,30,34,.90); }
html[data-theme="dark"] .field-group input, html[data-theme="dark"] .field-group select, html[data-theme="dark"] .stay-options span, html[data-theme="dark"] .search-box { background: rgba(22,39,42,.90); }
html[data-theme="dark"] .city-option { background: rgba(22,39,42,.84); }
html[data-theme="dark"] .region-panel { background: rgba(22,39,42,.5); }
html[data-theme="dark"] .region-tab { background: rgba(22,39,42,.72); }
html[data-theme="dark"] .custom-days-field, html[data-theme="dark"] .arrival-card { background: rgba(22,39,42,.84); }
html[data-theme="dark"] .view-switcher { background: rgba(22,39,42,.90); }
html[data-theme="dark"] .nearby-card, html[data-theme="dark"] .stop-item, html[data-theme="dark"] .arrival-chip { background: rgba(22,39,42,.84); }
html[data-theme="dark"] .quick-card { color: var(--ink); background: var(--paper); }
html[data-theme="dark"] .quick-card small { color: var(--muted); }
html[data-theme="dark"] .country-card, html[data-theme="dark"] .embassy-card { background: #294f58; }
html[data-theme="dark"] .place-art.museum::before, html[data-theme="dark"] .place-art.fika::before, html[data-theme="dark"] .place-art.fika::after { border-color: #171913; color: #171913; }
html[data-theme="dark"] .transit-card, html[data-theme="dark"] .trip-card { background: var(--inverse); color: var(--on-inverse); }
html[data-theme="dark"] .safety-hero { background: #c83228; }
html[data-theme="dark"] .range-row input { color-scheme: dark; }
html[data-theme="dark"] #city-map .leaflet-tile-pane { filter: grayscale(.9) saturate(.45) brightness(.72) contrast(1.12); }
html[data-theme="dark"] .city-apps-drawer { border-color: rgba(255,255,255,.12); background: rgba(15,30,34,.82); box-shadow: -24px 0 70px rgba(0,0,0,.34); }
html[data-theme="dark"] .city-app-link { background: rgba(22,39,42,.78); }

@media (min-width: 1024px) {
  html[data-theme="dark"] .city-apps-drawer { background: rgba(20,39,44,.97); }
  html[data-theme="dark"] .city-app-link { background: transparent; }
  html[data-theme="dark"] .city-app-link:hover { background: rgba(255,255,255,.1); }
}
