/* Eign: Reykjavík Locals */
/* Reykjavík Local Walk — visitor guide. Calm, editorial, one accent (Atlantic blue), thin hairlines. */
@font-face { font-family: "Fraunces Local"; src: url("admin/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #f7f6f2; --surface: #ffffff; --sunk: #efede7; --raise: rgba(255,255,255,.92);
  --ink: #15191c; --ink-2: #434a50; --muted: #6b7278; --line: #e4e1d9; --line-2: #d2cec4;
  --accent: #1e4d6b; --accent-ink: #ffffff; --accent-soft: #e3ebf0;
  --ok: #2d7a50; --warn: #9b4a17; --bad: #a3321f;
  --serif-fallback: "Fraunces Local", Georgia, "Times New Roman", serif;
  --sans-fallback: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", var(--serif-fallback);
  --sans: "Inter", var(--sans-fallback);
  --r-sm: 10px; --r: 14px; --r-lg: 18px;
  --sh-1: 0 1px 2px rgba(21,25,28,.06), 0 2px 10px rgba(21,25,28,.06);
  --sh-2: 0 2px 6px rgba(21,25,28,.06), 0 18px 40px rgba(21,25,28,.12);
  --tabh: 62px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121518; --surface: #1a1e22; --sunk: #20252a; --raise: rgba(26,30,34,.92);
    --ink: #ece9e2; --ink-2: #c4c1b9; --muted: #969ca1; --line: #2a3036; --line-2: #3a4148;
    --accent: #8dbad8; --accent-ink: #0b1f2d; --accent-soft: #1b2c38;
    --ok: #6fc28f; --warn: #e6a061; --bad: #f08a76;
    --sh-1: 0 1px 2px rgba(0,0,0,.3), 0 2px 10px rgba(0,0,0,.25);
    --sh-2: 0 2px 6px rgba(0,0,0,.3), 0 18px 40px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
/* category colour: --c is set inline; --cc is the readable version (lighter on dark backgrounds) */
* { --cc: var(--c); }
@media (prefers-color-scheme: dark) { * { --cc: color-mix(in srgb, var(--c) 60%, #fff); } .mk.on { color: #10161a; } }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine.warn { color: var(--warn); }
.linkish { background: none; border: 0; padding: 4px 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.linkish .ic { width: 16px; height: 16px; }
.h-sec { font: 500 22px/1.2 var(--serif); letter-spacing: -.005em; }
.h-mini { font: 500 18px/1.25 var(--serif); margin-bottom: 10px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn.sm .ic { width: 17px; height: 17px; }
.btn.block { width: 100%; }
.btn.grow { flex: 1; }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--raise); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }

/* ---------- boot ---------- */
.g-boot { position: fixed; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.boot-name { font: 500 26px/1.1 var(--serif); color: var(--muted); animation: breathe 1.6s ease-in-out infinite alternate; }
.boot-err p + p { margin-top: 10px; color: var(--ink-2); }
@keyframes breathe { from { opacity: .45; } to { opacity: 1; } }

/* ---------- landing ---------- */
.g-landing { min-height: 100vh; min-height: 100dvh; }
.land { max-width: 600px; margin: 0 auto; padding: calc(32px + var(--safe-t)) 20px calc(32px + var(--safe-b)); }
.land-by { font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.land-name { font: 500 clamp(48px, 15vw, 76px)/.92 var(--serif); letter-spacing: -.025em; margin-top: 18px; font-variation-settings: "opsz" 144; }
.land-name.sm { font-size: clamp(44px, 12vw, 64px); }
.land-promise { font-size: 19px; line-height: 1.4; color: var(--ink-2); margin-top: 18px; max-width: 28ch; }
.skyline { display: block; width: calc(100% + 40px); margin: 22px -20px 0; height: auto; fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.skyline path, .skyline circle { vector-effect: non-scaling-stroke; }
.skyline .sk-esja { stroke: var(--muted); stroke-dasharray: none; opacity: .7; }
.skyline .sk-sun { stroke: var(--accent); }
.skyline .sk-sea { stroke: var(--line-2); }
.skyline .sk-b { fill: var(--bg); }
.skyline .sk-w { stroke: var(--muted); opacity: .8; }
.land-teaser { font-size: 13.5px; color: var(--muted); margin-top: 10px; font-variant-numeric: tabular-nums; min-height: 1.5em; }
.redeem { margin-top: 36px; display: grid; gap: 10px; }
.redeem-label { font: 500 22px/1.2 var(--serif); }
.redeem-row { display: flex; gap: 8px; }
.code-in, .text-in { width: 100%; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; }
.code-in { font-size: 20px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-variant-numeric: tabular-nums; flex: 1; }
.code-in::placeholder { color: var(--line-2); letter-spacing: .16em; }
.code-in:focus, .text-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.redeem-row .btn { min-height: 52px; flex: none; }
.redeem-msg { font-size: 14px; min-height: 1.4em; color: var(--muted); }
.redeem-msg.bad { color: var(--bad); }
.redeem .linkish { justify-self: start; }
.plans { margin-top: 40px; }
.plan-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan { display: grid; grid-template-columns: 1fr auto 20px; grid-template-areas: "t p g" "b p g"; align-items: center; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.plan-t { grid-area: t; font: 500 21px/1.15 var(--serif); }
.plan-b { grid-area: b; font-size: 13.5px; color: var(--muted); }
.plan-p { grid-area: p; font-size: 14px; font-weight: 600; color: var(--accent); }
.plan-go { grid-area: g; color: var(--muted); width: 18px; height: 18px; transition: transform .15s; }
.plan:hover .plan-go { transform: translateX(3px); }
.plans .fine { margin-top: 12px; }
.land-foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* ---------- app shell (mobile first) ---------- */
.shell { position: fixed; inset: 0; }
.mapwrap { position: absolute; inset: 0 0 calc(var(--tabh) + var(--safe-b)) 0; z-index: 0; }
#map { position: absolute; inset: 0; background: var(--sunk); z-index: 0; isolation: isolate; }
.panel { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.brand { display: none; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--tabh) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(var(--ntabs, 5), minmax(0, 1fr)); background: var(--raise); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); pointer-events: auto; }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.tabs a .ic { width: 23px; height: 23px; }
.tabs a[aria-current] { color: var(--ink); }
.tabs a[aria-current] .ic { color: var(--accent); stroke-width: 1.7; }
.page { position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--tabh) + var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); pointer-events: auto; padding: calc(20px + var(--safe-t)) 16px 40px; }
.page[hidden] { display: none; }
.pg-head { margin-bottom: 18px; }
.pg-h { font: 500 32px/1.08 var(--serif); letter-spacing: -.015em; }
.pg-sub { color: var(--muted); margin-top: 6px; }

/* explore: floating search over the map; the list covers the map when chosen */
.pg-explore { background: transparent; pointer-events: none; padding: 0; overflow: hidden; }
.ex-top { pointer-events: auto; padding: calc(12px + var(--safe-t)) 16px 0; }
.searchrow { display: flex; gap: 8px; }
.search { flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; text-overflow: ellipsis; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); height: 100%; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-x { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; }
.search-x[hidden] { display: none; }
.search-x .ic { width: 18px; height: 18px; }
.filters-btn { height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1); font-weight: 600; font-size: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px 6px; margin: 0 -16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; white-space: nowrap; box-shadow: var(--sh-1); }
.chip:has(button) { padding-right: 4px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cc); }
.chip button { width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: var(--muted); }
.chip button .ic { width: 15px; height: 15px; }
.chip.all { color: var(--ink); }
.chip.info { box-shadow: none; background: var(--raise); color: var(--ink-2); }
.chips.scroll .chip { box-shadow: none; }
.chip.pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ex-list { display: none; }
body[data-view="list"] .pg-explore { background: var(--bg); pointer-events: auto; overflow-y: auto; }
body[data-view="list"] .ex-list { display: block; padding: 0 16px 110px; }
body[data-view="list"] .ex-top { position: sticky; top: 0; z-index: 2; background: var(--bg); padding-bottom: 4px; }
body[data-view="list"] .ex-top .search, body[data-view="list"] .ex-top .filters-btn, body[data-view="list"] .chip { box-shadow: none; }
.viewtoggle { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--safe-b) + 16px); z-index: 20; display: flex; padding: 4px; border-radius: 999px; background: var(--ink); box-shadow: var(--sh-2); pointer-events: auto; }
.viewtoggle button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--bg); opacity: .72; font-weight: 600; font-size: 14px; }
.viewtoggle button .ic { width: 18px; height: 18px; }
.viewtoggle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); opacity: 1; }
.fab { position: absolute; right: 16px; bottom: 16px; z-index: 500; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1); color: var(--ink); }
.fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fab.on { color: var(--accent); }
.fab.busy .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
body:not([data-tab="explore"]) .viewtoggle, body[data-view="list"] .fab, body.place-open .viewtoggle, body.place-open .fab { display: none; }

/* list cards */
.list-n { font-size: 13px; color: var(--muted); padding: 8px 0 2px; }
.card { width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; border-radius: 0; }
.card:hover .card-t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 11%, var(--surface)); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-ic .ic { width: 28px; height: 28px; color: var(--cc); stroke-width: 1.3; }
.card-body { min-width: 0; display: grid; gap: 3px; }
.card-t { font-size: 16px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 6px; }
.card-s { font-size: 14px; color: var(--ink-2); line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-m { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.card-cat { color: var(--cc); font-weight: 600; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: var(--surface); flex: none; }
.tick .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.price { letter-spacing: .04em; font-weight: 600; color: var(--ink-2); }
.price .faint { opacity: .28; }
.deal { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.deal .ic { width: 14px; height: 14px; }
.empty { padding: 40px 8px; text-align: center; color: var(--muted); display: grid; gap: 8px; justify-items: center; }
.empty-t { font: 500 20px/1.3 var(--serif); color: var(--ink); }
.empty .btn { margin-top: 8px; }
.loading { color: var(--muted); padding: 24px 0; }

/* ---------- map ---------- */
.leaflet-container { font: inherit; background: var(--sunk); }
.leaflet-control-attribution { font-size: 10px; background: color-mix(in srgb, var(--bg) 75%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--ink-2); }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: var(--sh-1) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; width: 36px !important; height: 36px !important; line-height: 36px !important; }
.osm-tiles { filter: saturate(.92); } /* venjulegt götukort (áður grátt) */
@media (prefers-color-scheme: dark) { .osm-tiles { filter: grayscale(1) invert(.92) hue-rotate(180deg) brightness(.9) contrast(.85); } }
.mk { display: block; width: 14px; height: 14px; margin: 7px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 0 2px var(--surface), 0 1px 4px rgba(0,0,0,.28); transition: transform .15s var(--ease); }
.leaflet-marker-icon:hover .mk, .leaflet-marker-icon:focus-visible .mk { transform: scale(1.3); }
.mk.v { background: radial-gradient(circle, var(--surface) 0 2.4px, var(--cc) 2.8px); }
.mk.o { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--cc), 0 1px 4px rgba(0,0,0,.28); }
.mk.on { width: 34px; height: 34px; margin: 0; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 3px var(--surface), 0 6px 16px rgba(0,0,0,.28); }
.mk.on .ic { width: 19px; height: 19px; stroke-width: 1.7; }
.mk.on-pick { width: 18px; height: 18px; margin: 2px; background: var(--accent); }
.cl { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 2px var(--cc), 0 2px 8px rgba(0,0,0,.14); transition: transform .15s var(--ease); }
.leaflet-marker-icon:hover .cl { transform: scale(1.08); }
.me-dot { display: block; width: 16px; height: 16px; margin: 1px; border-radius: 50%; background: #2f7fd8; box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(47,127,216,.18); }
.leaflet-marker-icon:focus-visible { outline: none; }

/* ---------- place sheet ---------- */
#placeHost { pointer-events: none; }
.psheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 94vh; height: 94dvh; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--sh-2); transform: translateY(100%); transition: transform .3s var(--ease); pointer-events: auto; visibility: hidden; }
.psheet.in { transform: translateY(36dvh); visibility: visible; }
.psheet.in.full { transform: translateY(0); }
.ps-grab { position: absolute; top: 0; left: 30%; right: 30%; height: 22px; display: grid; place-items: center; z-index: 4; cursor: grab; }
.ps-grab span { width: 38px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--surface) 70%, var(--ink)); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.ps-bar { position: absolute; top: 0; left: 0; right: 0; height: 62px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; border-radius: var(--r-lg) var(--r-lg) 0 0; pointer-events: none; transition: background .2s, box-shadow .2s; }
.ps-bar > * { pointer-events: auto; }
.ps-bar-t { flex: 1; min-width: 0; font: 500 18px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; pointer-events: none; }
.psheet.scrolled .ps-bar { background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.psheet.scrolled .ps-bar-t { opacity: 1; }
.psheet.scrolled .ps-bar .iconbtn { background: transparent; border-color: transparent; }
.ps-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; border-radius: inherit; padding-bottom: calc(24px + var(--safe-b)); }
.ps-fig { margin: 0; }
.ps-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sunk); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.ps-fig figcaption { font-size: 11.5px; color: var(--muted); padding: 6px 20px 0; }
.ps-fig figcaption a { color: var(--muted); text-underline-offset: 2px; }
.ps-body { padding: 18px 20px 8px; max-width: 680px; }
.ps-fig + .ps-body { padding-top: 14px; }
.psheet:not(:has(.ps-fig)) .ps-body { padding-top: 34px; }
.psheet:not(:has(.ps-fig)) :is(.ps-cat, .ps-name) { padding-right: 52px; }
.ps-cat { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--cc); }
.ps-cat .sep { color: var(--muted); font-weight: 500; }
.ps-cat .sep::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); vertical-align: middle; margin-right: 8px; }
.ps-cat-ic .ic { width: 18px; height: 18px; display: block; }
.ps-name { font: 500 30px/1.1 var(--serif); letter-spacing: -.015em; margin-top: 8px; }
.ps-is { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 4px; }
.ps-facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }
.ps-facts li { display: inline-flex; align-items: center; gap: 6px; }
.ps-facts .ic { width: 16px; height: 16px; color: var(--muted); }
.ps-facts .ok { color: var(--ok); font-weight: 600; }
.ps-facts .ok .ic { color: var(--ok); }
.ps-short { font-size: 17px; line-height: 1.45; font-weight: 600; margin-top: 18px; }
.ps-desc { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }
.ps-tip { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--cc) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--cc) 18%, transparent); }
.ps-tip-h { font: 500 italic 15px/1.2 var(--serif); color: var(--cc); margin-bottom: 4px; }
.ps-tip p:last-child { font-size: 14.5px; line-height: 1.55; }
.book { margin-top: 22px; }
.book small { font-weight: 500; opacity: .75; font-size: 12.5px; }
.ps-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin-top: 18px; }
.book + .ps-actions { margin-top: 12px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.act:hover { border-color: var(--line-2); }
.act .ic { width: 22px; height: 22px; color: var(--accent); }
.act.on { background: var(--accent-soft); border-color: transparent; }
.act.on .ic { fill: var(--accent); }
.gline { display: flex; align-items: center; gap: 12px; padding: 14px 2px; margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.gline > span { flex: 1; }
.gline .ic { color: var(--accent); }
.gline .ext { color: var(--muted); width: 17px; height: 17px; }
.offer { margin-top: 22px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--accent); background: var(--accent-soft); display: grid; gap: 6px; }
.offer-k { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.offer-k .ic { width: 16px; height: 16px; }
.offer-t { font: 500 21px/1.2 var(--serif); }
.offer .btn { margin-top: 8px; }
.offer-used { font-size: 13.5px; color: var(--muted); }
.checkin { margin-top: 22px; display: grid; gap: 8px; }
.checkin .btn { justify-content: flex-start; }
.checkin .btn > span { flex: 1; text-align: left; }
.checkin .pts { font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; }
.ci-done { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); color: var(--ink); font-size: 14px; }
.ci-done .ic { color: var(--ok); }
.photos { margin-top: 26px; }
.strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.strip figure { margin: 0; flex: none; width: 128px; }
.strip img { width: 128px; height: 128px; object-fit: cover; border-radius: 12px; background: var(--sunk); }
.strip figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.sources { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.sources ol { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.sources li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.sources a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.src-host { display: block; font-size: 12px; color: var(--muted); }

/* happy hour / brunch box */
.spec { margin-top: 18px; padding: 14px 16px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.spec-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spec-h h3 { font: 500 18px/1.2 var(--serif); }
.spec-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 12%, var(--surface)); color: var(--scc); flex: none; }
.spec-ic .ic { width: 19px; height: 19px; }
.spec.happyhour { --sc: #9a4a5e; } .spec.brunch { --sc: #b06a26; }
.spec { --scc: var(--sc); }
@media (prefers-color-scheme: dark) { .spec { --scc: color-mix(in srgb, var(--sc) 55%, #fff); } }
.spec-now { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.spec-now i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.spec-dl { margin: 10px 0 0; display: grid; }
.spec-dl > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.spec-dl dt { color: var(--muted); font-size: 12.5px; padding-top: 1px; }
.spec-dl dd { margin: 0; color: var(--ink); display: grid; gap: 2px; overflow-wrap: anywhere; }
.spec-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; color: var(--muted); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.spec-src .ic { width: 13px; height: 13px; }
.hh-now { color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.hh-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.report { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); text-decoration: none; }
.report .ic { width: 16px; height: 16px; }
.report span { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.report:hover { color: var(--ink-2); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; }

/* ---------- info: good to know ---------- */
.sos { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--bad) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bad) 30%, var(--line)); box-shadow: var(--sh-1); transition: border-color .15s, transform .1s; }
.sos:hover { border-color: var(--bad); }
.sos:active { transform: scale(.99); }
.sos-n { font: 500 46px/1 var(--serif); letter-spacing: -.02em; color: var(--bad); font-variant-numeric: lining-nums tabular-nums; font-variation-settings: "opsz" 144; }
.sos-t { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid color-mix(in srgb, var(--bad) 25%, var(--line)); }
.sos-t strong { font-size: 16px; font-weight: 600; }
.sos-t span { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.sos .sos-ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--bad); color: var(--surface); stroke-width: 1.7; }
.gk-h { font: 500 22px/1.2 var(--serif); margin: 32px 0 8px; }
.gk-list { border-top: 1px solid var(--line); }
.gk-item { border-bottom: 1px solid var(--line); }
.gk-item > summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 14px 0; cursor: pointer; border-radius: 10px; }
.gk-item > summary::-webkit-details-marker { display: none; }
.gk-item > summary:hover .gk-t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.gk-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.gk-ic .ic { width: 21px; height: 21px; }
.gk-ic.em { background: color-mix(in srgb, var(--bad) 10%, var(--surface)); color: var(--bad); }
.gk-txt { display: grid; gap: 2px; min-width: 0; }
.gk-t { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.gk-s { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.gk-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.gk-item[open] .gk-chev { transform: rotate(90deg); }
.gk-item[open] > summary { padding-bottom: 10px; }
.gk-body { padding: 0 0 20px 54px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.gk-body > p + p, .gk-body > p + ul, .gk-body > ul + p { margin-top: 8px; }
.gk-body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.gk-body li::marker { color: var(--line-2); }
.gk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gk-src { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); }
.gk-src-h { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gk-src ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: 13px; line-height: 1.45; }
.gk-src li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.gk-src a { color: var(--ink-2); text-decoration-color: var(--line-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.gk-src .fine { margin-top: 8px; font-size: 12px; }
.gk-foot { margin-top: 24px; }
.gk-modal .pg-head { padding-right: 48px; }
.gk-modal .pg-h { font-size: 28px; }
.gk-modal .sos { box-shadow: none; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.btn.danger:hover { filter: brightness(1.08); }
@media (max-width: 380px) { .sos { gap: 12px; padding: 14px 12px 14px 16px; } .sos-n { font-size: 40px; } .sos-t { padding-left: 12px; } .sos .sos-ic { width: 42px; height: 42px; padding: 11px; } .gk-body { padding-left: 0; } }

/* ---------- menu: what are you looking for? ---------- */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; opacity: 0; transform: translateY(16px); transition: opacity .28s var(--ease), transform .32s var(--ease); }
.menu.in { opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }
.menu-in { max-width: 760px; margin: 0 auto; padding: calc(28px + var(--safe-t)) 16px calc(120px + var(--safe-b)); }
.menu-head { position: relative; padding-right: 8px; }
.menu-kicker { font-size: 13px; color: var(--muted); }
.menu-x { position: absolute; top: -6px; right: 0; }
.menu-h { font: 500 clamp(38px, 11vw, 60px)/.98 var(--serif); letter-spacing: -.025em; margin-top: 14px; max-width: 11ch; font-variation-settings: "opsz" 144; }
.menu-sub { color: var(--ink-2); margin-top: 14px; max-width: 46ch; font-size: 15.5px; }
.mgroup { margin-top: 30px; }
.mgroup-h { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .01em; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mgroup-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 108px; padding: 14px 14px 13px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color .15s, background .15s, box-shadow .15s, transform .1s; }
.tile:hover { border-color: var(--line-2); }
.tile:active { transform: scale(.985); }
.tile-ic .ic { width: 30px; height: 30px; color: var(--cc); stroke-width: 1.35; }
.tile-t { font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.tile-txt { display: grid; gap: 1px; }
.tile-n { font-size: 12.5px; color: var(--muted); }
.tile-tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: transparent; transition: background .15s, border-color .15s; }
.tile-tick .ic { width: 15px; height: 15px; stroke-width: 2.3; }
.tile[aria-pressed="true"] { border-color: var(--cc); background: color-mix(in srgb, var(--cc) 7%, var(--surface)); box-shadow: inset 0 0 0 1px var(--cc); }
.tile[aria-pressed="true"] .tile-tick { background: var(--cc); border-color: var(--cc); color: #fff; }
.tile:disabled { opacity: .45; cursor: default; }
.menu-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 8px; padding: 12px 16px calc(12px + var(--safe-b)); background: var(--raise); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.menu-foot .btn { min-height: 52px; }
.menu-foot > * { max-width: 520px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .menu-in { max-width: 980px; padding-left: 32px; padding-right: 32px; } .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 600px) { .menu-foot { justify-content: center; } .menu-foot .grow { flex: 0 1 360px; } }

/* ---------- tonight ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--sunk); gap: 2px; max-width: 100%; }
.seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); font-weight: 600; }
.seg.sm button { min-height: 32px; padding: 0 10px; font-size: 13px; }
#pgTonight .chips { margin-top: 6px; }
.ev-list { margin-top: 4px; }
.ev-day { font: 500 19px/1.3 var(--serif); margin: 22px 0 2px; }
.ev { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ev-time { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 1px; }
.ev-t { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ev-m { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--muted); margin-top: 3px; }
.ev-c { color: var(--accent); font-weight: 500; }
.ev-tix { align-self: center; }
.ev-foot { margin-top: 20px; }

/* ---------- passport ---------- */
.pp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-stats > div { padding: 14px 0 14px 14px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.pp-stats > div:first-child { border-left: 0; padding-left: 0; }
.pp-n { font: 500 34px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pp-l { font-size: 12.5px; color: var(--muted); }
.pp-sec { margin-top: 32px; }
.pp-sec > .h-sec { margin-bottom: 14px; }
.sec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.todo { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 4px 6px; }
.todo-i { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 10px 2px 8px; border: 1px solid transparent; border-radius: var(--r); background: none; }
.todo-i:hover { border-color: var(--line); background: var(--surface); }
.todo-r { position: relative; width: 52px; height: 52px; margin-bottom: 3px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 2.5; }
.ring-fg { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke: var(--cc); }
.todo-ic .ic { width: 22px; height: 22px; color: var(--cc); }
.todo-t { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.25; }
.todo-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chs { border-top: 1px solid var(--line); }
.ch { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.ch-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ch-t { font-size: 16px; font-weight: 600; }
.ch-pts { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ch.done .ch-pts { color: var(--ok); }
.ch-pts .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.ch-d { font-size: 14px; color: var(--ink-2); }
.ch .btn { justify-self: start; margin-top: 4px; }
.bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; background: var(--cc); border-radius: 2px; }
.ch-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.board li.me { background: var(--accent-soft); margin: 0 -12px; padding: 11px 12px; border-radius: 10px; border-bottom-color: transparent; font-weight: 600; }
.b-r { color: var(--muted); }
.b-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-n small { font-weight: 400; color: var(--muted); }
.b-p { font-weight: 600; }
.board .b-empty { display: block; color: var(--muted); font-size: 14px; }

/* ---------- me ---------- */
.pass-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 18px; display: grid; gap: 14px; }
.pass-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pass-plan { font: 500 20px/1.2 var(--serif); }
.pass-code { font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.pass-left { display: grid; gap: 2px; }
.pass-l { font-size: 12.5px; color: var(--muted); }
.pass-t { font: 500 36px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pass-nick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.pass-nn { font-weight: 600; flex: 1; }
.me-pass .gline { margin-top: 6px; border-top: 0; }
.me-sec { margin-top: 32px; }
.me-sec > .h-sec { margin-bottom: 8px; }
.me-sec > .fine { margin-bottom: 14px; }
#meSaved .card:last-child { border-bottom: 0; }
.wallet { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.w-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.w-ic .ic { width: 18px; height: 18px; }
.w-b { flex: 1; display: grid; font-size: 14px; }
.w-b span { color: var(--muted); font-size: 13px; }
.wallet .ext { color: var(--muted); width: 17px; height: 17px; }
.wallet.used { opacity: .65; }
.wallet.used .w-ic { background: var(--sunk); color: var(--ok); }
.share { border-bottom: 1px solid var(--line); }
.share:first-of-type { border-top: 1px solid var(--line); }
.share > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; }
.share > summary::-webkit-details-marker { display: none; }
.share > summary .ext { color: var(--muted); width: 17px; height: 17px; transition: transform .2s; }
.share[open] > summary .ext { transform: rotate(90deg); }
.share > .fine { margin: 0 0 14px; }
.share > .form { padding-bottom: 22px; }
.photo-pick { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--surface); cursor: pointer; font-weight: 500; color: var(--ink-2); }
.photo-pick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-pick .ic { color: var(--accent); }
.photo-pick-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13.5px; font-weight: 600; }
.fld i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld textarea.text-in { padding: 12px 16px; min-height: 96px; resize: vertical; line-height: 1.5; }
.fld select.text-in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.fld.file input { font-size: 14px; max-width: 100%; }
.fld.file input::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.loc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pickmap { height: 220px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-top: 4px; }
.consent { border-radius: var(--r); background: var(--sunk); padding: 14px; display: grid; gap: 12px; }
.consent p { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 32px; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin: 0; }
.form-msg { font-size: 14px; color: var(--bad); min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); }
.me-foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 20px; }

/* ---------- dialogs, coupon, terms ---------- */
.g-modal { position: fixed; inset: 0; z-index: 200; display: grid; align-items: end; justify-items: center; background: rgba(9,13,17,.42); opacity: 0; transition: opacity .2s; }
.g-modal.in { opacity: 1; }
.g-dialog { width: 100%; max-width: 540px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 22px 20px calc(20px + var(--safe-b)); box-shadow: var(--sh-2); transform: translateY(24px); transition: transform .3s var(--ease); outline: none; }
.g-modal.in .g-dialog { transform: none; }
.dlg { display: grid; gap: 12px; }
.dlg-h { font: 500 24px/1.15 var(--serif); }
.dlg-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.coupon-modal { background: #0e2838; align-items: stretch; }
.coupon-modal .g-dialog { max-width: none; max-height: none; height: 100%; border-radius: 0; background: radial-gradient(120% 70% at 50% 30%, #1d4a66 0%, #0e2838 60%, #0a1e2b 100%); color: #f7f6f2; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 24px calc(24px + var(--safe-b)); }
.coupon { width: 100%; max-width: 420px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.cp-k { font-size: 14px; letter-spacing: .02em; color: #b9d2e2; }
.cp-t { font: 500 clamp(30px, 9vw, 44px)/1.08 var(--serif); letter-spacing: -.015em; }
.cp-clock { display: flex; align-items: center; gap: 14px; font-size: clamp(48px, 15vw, 72px); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; margin-top: 18px; }
.cp-pulse { width: 14px; height: 14px; border-radius: 50%; background: #7fe0a6; box-shadow: 0 0 0 0 rgba(127,224,166,.6); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,224,166,.55); } 100% { box-shadow: 0 0 0 18px rgba(127,224,166,0); } }
.cp-date { font-size: 16px; color: #d5e4ee; }
.cp-code { font-size: 15px; letter-spacing: .14em; font-weight: 600; color: #f7f6f2; border: 1px solid rgba(247,246,242,.3); padding: 8px 14px; border-radius: 999px; margin-top: 8px; }
.cp-terms { font-size: 13px; color: #b9d2e2; max-width: 34ch; text-wrap: balance; }
.cp-lead { font-size: 15px; color: #d5e4ee; margin-top: 6px; }
.cp-promo { width: 100%; display: grid; gap: 12px; justify-items: center; padding: 22px 18px 18px; border-radius: var(--r-lg); background: rgba(247,246,242,.07); border: 1px dashed rgba(247,246,242,.38); }
.cp-promo-c { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: clamp(30px, 10vw, 46px); font-weight: 600; letter-spacing: .08em; line-height: 1.1; color: #fff; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.cp-copy { min-height: 42px; background: transparent; color: #f7f6f2; border-color: rgba(247,246,242,.45); }
.cp-copy:hover { border-color: #f7f6f2; }
.cp-copy.done { background: #7fe0a6; border-color: #7fe0a6; color: #0e2838; }
.cp-saved { font-size: 12.5px; color: #9fbdd0; }
.cp-done { margin-top: 18px; background: #f7f6f2; color: #0e2838; border-color: #f7f6f2; max-width: 280px; }
.terms { position: relative; display: grid; gap: 10px; }
.terms h3 { font-size: 15px; font-weight: 600; margin-top: 10px; }
.terms p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.terms-x { position: absolute; top: -6px; right: -4px; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--safe-b) + 70px); z-index: 300; max-width: calc(100% - 32px); width: max-content; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--sh-2); }
.toast.bad { background: var(--bad); color: #fff; }
body[data-screen="landing"] .toast { bottom: 24px; }

/* ---------- wide screens: side panel + map ---------- */
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 420px 1fr; }
  .panel { position: relative; inset: auto; pointer-events: auto; display: flex; flex-direction: column; height: 100vh; background: var(--bg); border-right: 1px solid var(--line); overflow: hidden; z-index: 2; }
  .mapwrap { position: relative; inset: auto; height: 100vh; }
  .brand { display: block; padding: 22px 24px 4px; }
  .wordmark { font: 500 24px/1.1 var(--serif); letter-spacing: -.015em; }
  .tabs { position: static; height: auto; padding: 0 20px; display: flex; justify-content: space-between; gap: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 0; border-bottom: 1px solid var(--line); }
  .tabs a { flex-direction: row; gap: 6px; padding: 14px 3px 12px; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .tabs a .ic { width: 17px; height: 17px; }
  .tabs a[aria-current] { border-bottom-color: var(--ink); }
  .page { position: relative; inset: auto; flex: 1; min-height: 0; padding: 22px 24px 40px; }
  .pg-h { font-size: 30px; }
  .pg-explore { pointer-events: auto; background: var(--bg); overflow-y: auto; padding: 0; }
  .ex-top { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 16px 24px 4px; }
  .ex-top .search, .ex-top .filters-btn, .ex-top .chip { box-shadow: none; }
  .chips { margin: 0 -24px; padding: 10px 24px 6px; }
  .ex-list, body[data-view="list"] .ex-list { display: block; padding: 0 24px 40px; }
  .viewtoggle { display: none; }
  .fab { top: 16px; right: 16px; bottom: auto; width: auto; height: 42px; display: inline-flex; gap: 8px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
  .fab span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  body[data-view="list"] .fab, body.place-open .fab { display: inline-flex; }
  .psheet { position: absolute; inset: 0; height: auto; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); transform: translateX(-24px); opacity: 0; transition: transform .26s var(--ease), opacity .2s; }
  .psheet.in, .psheet.in.full { transform: none; opacity: 1; }
  .ps-grab { display: none; }
  .ps-fig img { border-radius: 0; }
  .ps-body { padding: 16px 24px 8px; }
  .ps-fig figcaption { padding: 6px 24px 0; }
  .g-modal { align-items: center; }
  .g-dialog { border-radius: var(--r-lg); padding: 26px 26px 24px; }
  .land { max-width: 1080px; padding: 64px 40px 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 72px;
    grid-template-areas: "hero plans" "redeem plans" "sky sky" "teaser teaser" "foot foot"; align-items: start; }
  .land-hero { grid-area: hero; }
  .land .redeem { grid-area: redeem; margin-top: 32px; max-width: 460px; }
  .land .plans { grid-area: plans; margin-top: 52px; }
  .land .skyline { grid-area: sky; width: 100%; margin: 36px 0 0; }
  .land-teaser { grid-area: teaser; }
  .land-foot { grid-area: foot; }
  .land-welcome { grid-template-areas: "hero redeem" "sky sky" "teaser teaser" "foot foot"; }
  .land-welcome .redeem { margin-top: 56px; }
  body[data-screen="app"] .toast { bottom: 28px; left: calc(420px + (100% - 420px) / 2); }
}

@media (max-width: 380px) {
  .filters-btn span { display: none; }
  .filters-btn { width: 48px; padding: 0; justify-content: center; }
  .pg-h { font-size: 29px; }
  .pp-n { font-size: 30px; }
  .seg button { padding: 0 11px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .cp-pulse { animation: none; box-shadow: 0 0 0 6px rgba(127,224,166,.25); }
}

/* ---------- product switches ---------- */
.off { display: none !important; }
/* a product's header note (the platform demo uses it); hidden unless the config sets one */
.demo-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.demo-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.demo-note.m { pointer-events: auto; margin: 0; padding: calc(10px + var(--safe-t)) 16px 0; }
.demo-note.m + .ex-top { padding-top: 8px; }
@media (min-width: 960px) { .demo-note.m { display: none; } .demo-note.m + .ex-top { padding-top: 16px; } }

/* Gönguleið í appinu (js/route.js) */
.routebar { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 1200; max-width: 520px; margin: 0 auto; background: var(--surface, #fff); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); padding: 12px 14px; }
.routebar .rb-top { display: flex; gap: 12px; align-items: center; }
.routebar .rb-main { flex: 1; display: flex; flex-direction: column; }
.routebar .rb-left { font-size: 18px; }
.routebar .rb-sub { font-size: 13px; color: var(--muted); }
.routebar .rb-end { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; background: var(--ink); color: var(--bg, #fff); cursor: pointer; }
.routebar .rb-steps { margin-top: 8px; font-size: 14px; }
.routebar .rb-steps summary { cursor: pointer; font-weight: 600; color: #2f7fd8; }
.routebar .rb-steps ol { margin: 6px 0 0; padding-left: 20px; max-height: 38vh; overflow: auto; }
.routebar .rb-steps li { padding: 3px 0; } .routebar .rb-steps small { color: var(--muted); margin-left: 6px; }
.routebar .rb-note { margin: 8px 0 0; font-size: 13px; } .routebar .rb-re { border: 0; background: none; color: #2f7fd8; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Opening hours in the place sheet */
.hours { margin-top: 18px; padding: 4px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.hours details > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; }
.hours details > summary::-webkit-details-marker { display: none; }
.hours-now { display: flex; align-items: center; gap: 10px; flex: 1; font-weight: 600; font-size: 15px; margin: 0; padding: 10px 0; }
.hours summary .hours-now { padding: 0; }
.hours-now .ic { width: 20px; height: 20px; flex: none; }
.hours-now.ok { color: var(--ok); }
.hours-now.shut { color: var(--bad); }
.hours-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.hours details[open] .hours-chev { transform: rotate(180deg); }
.hours-week { margin: 0 0 10px; display: grid; gap: 2px; font-size: 14.5px; }
.hours-week > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-top: 1px solid var(--line); }
.hours-week dt { color: var(--ink-2); }
.hours-week dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours-week .today dt, .hours-week .today dd { font-weight: 700; color: var(--ink); }
.hours-note { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.hours .fine { margin: 0 0 10px; }
.card-open { color: var(--ok); font-weight: 600; }
.card-shut { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .hours-chev { transition: none; } }

/* Food & drink kinds: filter row and labels in the place sheet */
.chips.kinds { padding-top: 2px; }
.chips.kinds .chip { box-shadow: none; height: 32px; font-size: 13px; }
.chip .kc { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; }
.chip.pick[aria-pressed="true"] .kc { color: inherit; opacity: .75; }
button.chip.info { border: 1px solid var(--line); cursor: pointer; }
.ps-kinds { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.ps-kinds li { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); }

/* "Did you know?" – fun facts Reykjavík Locals added (sources listed under Sources) */
.ps-facts-box { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--sunk); }
.ps-facts-box ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.ps-facts-box li { font-size: 15px; line-height: 1.5; }

/* Report a problem + reviews (report.js) */
button.report { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.share-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.share-btn .ext { color: var(--muted); width: 17px; height: 17px; }
.rp { display: grid; gap: 10px; position: relative; }
.rp-x { position: absolute; top: -6px; right: -6px; }
.rp-h { font: 500 24px/1.15 var(--serif); letter-spacing: -.01em; margin: 0; padding-right: 44px; }
.rp-sub { margin: 0; color: var(--muted); font-size: 14.5px; }
.rp-kinds { border: 0; margin: 6px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-kind { position: relative; }
.rp-kind input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.rp-kind span { display: inline-block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--surface); }
.rp-kind input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rp-kind input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-done { justify-items: center; text-align: center; padding: 10px 0 4px; }
.rp-ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.rp-ok .ic { width: 26px; height: 26px; }
.rv .rv-p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.rv-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-btns .btn { display: inline-flex; align-items: center; gap: 8px; }
.rv-btns .ic { width: 17px; height: 17px; }

/* Án nets (js/offline.js) */
.offline-bar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 290; max-width: calc(100% - 32px); width: max-content; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-2); font-size: 13px; font-weight: 500; text-align: center; }
.offline-bar[hidden] { display: none; }

/* Ábending: bæta á heimaskjáinn (js/offline.js) */
.install-hint { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabh) + var(--safe-b) + 12px); z-index: 280; max-width: 440px; margin: 0 auto; padding: 16px 52px 16px 16px; border-radius: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.install-hint .ih-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; }
.install-hint .ih-t { margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.install-hint .ih-p { margin: 0; font-size: 14px; color: var(--ink-2); }
.install-hint .ih-how { margin-top: 8px; color: var(--ink); }
.install-hint .ih-go { margin-top: 12px; }
.install-hint .ih-share { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Stimplar í vegabréfinu */
.st-goal { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.stamp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.stamp { aspect-ratio: 1; border: 1.5px solid var(--c); color: var(--c); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1px; padding: 7px; text-align: center; transform: rotate(var(--r, 0deg)); }
.stamp b { font-size: 10.5px; line-height: 1.2; color: var(--ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stamp small { font-size: 9.5px; color: var(--muted); }
.stamp-ic .ic { width: 17px; height: 17px; }
.stamp.empty { border: 1.5px dashed var(--line-2); color: var(--line-2); transform: none; }
.stamp.empty span { font-size: 13px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .stamp { transform: none; } }

/* Gönguleiðir (js/walks.js) */
@media (max-width: 440px) { #openMenu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } #openMenu { padding: 0 13px; } }
.wk-modal .g-dialog { max-width: 560px; }
.wk-sheet { position: relative; padding: 4px 2px; }
.wk-seg { margin: 14px 0 6px; flex-wrap: wrap; }
.wk-list { display: grid; gap: 12px; margin-top: 10px; }
.wk-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); display: grid; gap: 6px; }
.wk-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.wk-top h3 { font: 500 19px/1.2 var(--serif); }
.wk-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.wk-badge .ic, .wk-meta .ic { width: 15px; height: 15px; }
.wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); margin: 0; }
.wk-blurb { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.wk-card .btn { justify-self: start; margin-top: 4px; }
.wk-line { stroke: var(--accent); }
.wk-pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent); border: 2px solid var(--accent); font: 700 13px/1 var(--sans); box-shadow: var(--sh-1); }
.wk-pin.done { background: var(--accent-soft); }
.wk-pin.on { background: var(--accent); color: var(--accent-ink); transform: scale(1.12); }
.wk-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabh) + var(--safe-b) + 12px); z-index: 1100; max-width: 520px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--sh-2); padding: 14px 16px 12px; max-height: 58vh; overflow: auto; }
.wk-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wk-k { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wk-x { width: 36px; height: 36px; flex: none; }
.wk-name { font: 500 21px/1.2 var(--serif); margin: 2px 0 4px; }
.wk-intro { font-size: 14px; color: var(--ink-2); margin: 6px 0; }
.wk-audio { margin: 10px 0 4px; display: grid; gap: 6px; }
.wk-audio .btn { justify-self: start; }
.wk-text summary { cursor: pointer; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.wk-text p { font-size: 15px; line-height: 1.55; margin: 6px 0; }
.wk-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.wk-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.wk-dots { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; flex: 1; }
.wk-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.wk-dots i.ok { background: var(--accent-soft); outline: 1px solid var(--accent); }
.wk-dots i.on { background: var(--accent); }
body.walking .fab { bottom: 250px; }
body.walking.routing .wk-bar { max-height: 38vh; }

/* Veður og norðurljós í Tonight (js/skies.js) */
.sky { display: grid; gap: 10px; margin: 4px 0 20px; }
.sky-now, .sky-au { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px 16px; }
.sky-now { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.sky-k { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sky-t { margin: 2px 0; font: 500 30px/1.1 var(--serif); }
.sky-t span { font: 500 15px var(--sans); color: var(--ink-2); }
.sky-s { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.sky-s a { white-space: nowrap; }
.sky-next { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.sky-next li { display: grid; justify-items: center; gap: 1px; font-variant-numeric: tabular-nums; }
.sky-next small { font-size: 11.5px; color: var(--muted); }
.sky-next b { font-size: 16px; }
.sky-l { margin: 2px 0; font: 500 21px/1.2 var(--serif); }
.sky-au { border-left: 4px solid var(--line-2); }
.sky-au.good { border-left-color: var(--ok); }
.sky-au.possible { border-left-color: var(--accent); }
.sky-src { margin: 0; }

/* Minningarmynd (js/souvenir.js) */
.sv-modal .g-dialog { max-width: 560px; }
.sv { position: relative; display: grid; gap: 10px; }
.sv .seg { flex-wrap: wrap; }
.sv-canvas { background: var(--sunk); border-radius: 12px; padding: 10px; display: grid; place-items: center; }
.sv-canvas canvas { width: 100%; max-width: 360px; height: auto; border-radius: 6px; box-shadow: var(--sh-1); }
.sv-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sv-slots li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; font-size: 14.5px; }
.sv-slots label { cursor: pointer; }
.sv .dlg-row { display: flex; gap: 8px; flex-wrap: wrap; }
#svOpen { margin-top: 12px; }

/* WCAG 2.2 (2.5.8): snertisvæði að minnsta kosti 24×24 px */
.leaflet-control-attribution a { display: inline-block; padding: 6px 2px; }
.report { min-height: 32px; }
input[type="checkbox"], input[type="radio"] { width: 24px; height: 24px; flex: none; }
button.gline { width: 100%; background: none; border-left: 0; border-right: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.gline + .gline, .gline + button.gline { margin-top: 0; border-top: 0; }
/* hljóðsaga staðar */
.ps-audio { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; flex-wrap: wrap; }
.ps-addphoto { margin: 8px 0 16px; }
