/* Wild Days UK - mobile first. Breakpoints: 720px (tablet), 1000px (desktop: side panel + top nav). */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
	/* brand: from the Wild Days logo */
	--navy: #0f2e47;
	--navy-2: #173d5c;
	--teal: #2eb5a4;
	--teal-2: #27a091;
	--teal-ink: #16776b;
	--teal-wash: #e3f4f1;
	--amber: #2eb5a4;
	--ink: #0f2e47;
	--ink-2: #36506a;
	--muted: #677a8a;
	--paper: #f4f9f8;
	--sand: #e4f3f0;
	--sand-2: #c9e6e0;
	--card: #ffffff;
	--forest: var(--navy);
	--forest-2: var(--navy-2);
	--moss: var(--teal-ink);
	--sea: #1f8577;
	--sun: var(--amber);
	--sun-2: #16776b;
	--line: rgba(15, 46, 71, .1);
	--line-2: rgba(15, 46, 71, .16);
	--shadow-s: 0 1px 2px rgba(15, 46, 71, .06), 0 2px 8px rgba(15, 46, 71, .06);
	--shadow: 0 1px 2px rgba(15, 46, 71, .05), 0 10px 30px rgba(15, 46, 71, .1);
	--shadow-l: 0 4px 12px rgba(15, 46, 71, .08), 0 24px 60px rgba(15, 46, 71, .18);
	--r-xl: 26px; --r-l: 20px; --r: 14px; --r-s: 10px;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--top-h: 68px;
	--tab-h: calc(62px + env(safe-area-inset-bottom));
	--safe-t: env(safe-area-inset-top);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--kind: var(--teal-ink);
	--contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180' fill='none' stroke='white' stroke-opacity='.2' stroke-width='1.4'%3E%3Cpath d='M-20 120c40-30 70-10 100-30s40-60 90-50 60 40 90 30'/%3E%3Cpath d='M-20 140c45-28 80-6 110-26s48-56 92-44 50 42 80 32'/%3E%3Cpath d='M-20 160c50-26 88-2 118-22s56-52 94-38 44 44 70 34'/%3E%3Cpath d='M-20 100c36-32 62-14 92-34s34-62 86-54 66 38 100 28'/%3E%3Cpath d='M-20 80c32-34 56-18 84-38s28-64 82-58 72 36 110 26'/%3E%3Cpath d='M-20 60c28-36 50-22 76-42s22-66 78-62 78 34 120 24'/%3E%3Cpath d='M150 70c10-14 34-14 40 2s-12 26-26 22-20-12-14-24z'/%3E%3Cpath d='M140 72c12-24 52-24 60 2s-20 40-42 34-30-20-18-36z'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.i { width: 1em; height: 1em; flex: none; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: .01em; }
.small { font-size: .82rem; color: var(--muted); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2rem, 6.2vw, 3.3rem); }
.eyebrow { font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }
.lede { font-size: 1.04rem; color: var(--ink-2); margin-top: 10px; max-width: 46ch; }
.h2 { font-family: var(--display); font-weight: 780; font-size: 1.5rem; letter-spacing: -.01em; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.sec-head h2 { font-family: var(--display); font-weight: 780; font-size: 1.3rem; letter-spacing: -.01em; }
.sec-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--moss); text-decoration: none; white-space: nowrap; }
.sec-note { font-size: .8rem; color: var(--muted); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--forest); color: #fff; font-weight: 650; font-size: .95rem; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--forest-2); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-sun { background: var(--teal); color: var(--navy); }
.btn-sun:hover { background: #3cc4b3; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { background: var(--sand); }
.btn-ghost { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.btn-ghost:hover { background: var(--sand); }
.btn .i, .btn-ghost .i { font-size: 1.1em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--moss); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--card); color: var(--ink); font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-s); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.chip .i { color: var(--kind, var(--moss)); font-size: 1.05em; }
.chip.is-on { background: var(--kind, var(--navy)); color: #fff; }
.chip[data-kind=""].is-on, .chip[data-fancy=""].is-on { background: var(--navy); }
.chip.is-on .i { color: #fff; }
.chip span { color: var(--muted); font-weight: 500; }
.chips-static { flex-wrap: wrap; overflow: visible; margin: 22px 0 6px; }
.chips-static .chip { box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.chips-static .chip:hover { background: var(--card); }

.kind-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kind); }
.kind-chip .i { font-size: 1.15em; }
.kind-chip.on-dark { color: #fff; background: var(--kind); padding: 5px 10px 5px 8px; border-radius: 999px; }

.glass { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-weight: 650; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow-s); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass .i { font-size: 1.15rem; }
.js-save .on { display: none; }
.js-save[aria-pressed="true"] .on { display: inline; }
.js-save[aria-pressed="true"] .off { display: none; }
.js-save[aria-pressed="true"] .i.on { display: block; color: var(--teal); }

/* ---------- logo (traced from the original artwork) ---------- */
.logo-link { text-decoration: none; display: inline-flex; align-items: center; }
.logo-img { display: block; height: 24px; width: auto; }
.footer .logo-img { height: 26px; }
.logo-mark { width: 30px; height: 30px; }

/* ---------- top bar (desktop) + tab bar (mobile) ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: var(--safe-t); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 60px; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.mainnav { display: none; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topbar-actions .btn-ghost, .topbar-actions .btn { display: none; }
.is-app .topbar, .is-place .topbar { display: none; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tab-h); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; }
.tabbar .i { font-size: 1.35rem; }
.tabbar a[aria-current] { color: var(--forest); }
.tabbar a[aria-current] .i { color: var(--teal); }
body { padding-bottom: var(--tab-h); }
.is-app { padding-bottom: 0; overflow: hidden; }

/* ================= HOME: explore map ================= */
.app { position: fixed; inset: 0; }
.map { position: absolute; inset: 0; background: #e8efed; }
.map-top { position: absolute; z-index: 15; left: 0; right: 0; top: calc(var(--safe-t) + 10px); padding: 0 12px; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.searchbar { position: relative; display: flex; align-items: center; height: 52px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); padding: 0 6px 0 8px; margin-bottom: 10px; }
.searchbar-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--forest); flex: none; }
.searchbar-logo img { width: 30px; height: 30px; }
.searchbar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 1rem var(--font); color: var(--ink); padding: 0 8px; outline: none; -webkit-appearance: none; appearance: none; }
.searchbar input::placeholder { color: var(--muted); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar-icon, .searchbar-clear { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--teal); color: var(--navy); flex: none; }
.searchbar-clear { background: transparent; }
.searchbar-clear:not([hidden]) + .searchbar-icon { display: none; }
.map-top .chips { margin: 0 -12px; padding: 2px 12px 8px; }

.map-ctrls { position: absolute; z-index: 15; right: 12px; bottom: calc(var(--tab-h) + 196px); display: flex; flex-direction: column; gap: 8px; transition: opacity .2s; }
.ctrl { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); font-size: 1.2rem; }
.ctrl[aria-pressed="true"] { background: var(--forest); color: #fff; }
.ctrl.is-busy .i { animation: spin 1s linear infinite; }
.ctrl-zoom { display: none; }
.sheet[data-state="half"] ~ .map-ctrls, .sheet[data-state="full"] ~ .map-ctrls { opacity: 0; pointer-events: none; }

/* bottom sheet */
.sheet { --peek: calc(var(--tab-h) + 184px); position: absolute; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(100% - var(--safe-t) - 70px); background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -8px 40px rgba(20, 33, 27, .18); transform: translateY(calc(100% - var(--peek))); transition: transform .42s var(--ease); display: flex; flex-direction: column; touch-action: none; will-change: transform; }
.sheet[data-state="half"] { transform: translateY(48%); }
.sheet[data-state="full"] { transform: translateY(0); }
.sheet.is-dragging { transition: none; }
.sheet-grab { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; }
.sheet-grab span { width: 42px; height: 5px; border-radius: 9px; background: var(--sand-2); }
.sheet-scroll { flex: 1; overflow: hidden; padding: 0 16px calc(var(--tab-h) + 24px); overscroll-behavior: contain; }
.sheet[data-state="full"] .sheet-scroll { overflow-y: auto; touch-action: pan-y; }
.sheet-hello .display { font-size: 1.85rem; }
.sheet-hello .lede { font-size: .95rem; margin-top: 6px; }
.sheet-sec { margin-top: 26px; }

.kind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.kind-tile { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-s); text-decoration: none; min-width: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.kind-tile:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.kind-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--kind); color: #fff; font-size: 1.05rem; flex: none; }
.kind-name { font-weight: 650; font-size: .9rem; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kind-count { margin-left: auto; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }

.gcard { position: relative; width: 74vw; max-width: 270px; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-s); background: var(--kind); }
.gcard-media, .gcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 46, 71, 0) 40%, rgba(15, 46, 71, .78) 100%); }
.gcard-text { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gcard-text strong { font-family: var(--display); font-weight: 780; font-size: 1.35rem; line-height: 1.1; }
.gcard-text small { font-size: .82rem; opacity: .85; }

/* place rows (in view / search) */
.plist { list-style: none; }
.prow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; }
.plist li:last-child .prow { border-bottom: 0; }
.prow-media { width: 58px; height: 58px; border-radius: 14px; overflow: hidden; flex: none; background: var(--kind); display: grid; place-items: center; color: #fff; font-size: 1.3rem; background-image: var(--contour); background-size: 180px; }
.prow-media img { width: 100%; height: 100%; object-fit: cover; }
.prow-text { min-width: 0; flex: 1; }
.prow-name { display: block; font-weight: 650; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow-meta { display: block; font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow-meta b { color: var(--kind); font-weight: 650; }
.prow-dist { font-size: .8rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.inview-count { font-family: var(--font); font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.tlist { list-style: none; }
.tlist .prow-media { background: var(--sand); color: var(--ink-2); }

/* selected place in the sheet */
.pv { padding-top: 2px; }
.pv-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-weight: 600; color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.pv-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: var(--kind); background-image: var(--contour); background-size: 260px; display: grid; place-items: center; color: #fff; font-size: 2.6rem; }
.pv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-title { font-family: var(--display); font-weight: 780; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.05; margin: 12px 0 4px; }
.pv-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-2); font-size: .9rem; }
.pv-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pv-meta .i { color: var(--kind); }
.pv-text { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.pv-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
.pv-actions .btn { grid-column: 1 / -1; }
.pv-actions .act-s { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; border-radius: var(--r); border: 0; background: var(--card); box-shadow: var(--shadow-s); font-size: .78rem; font-weight: 650; text-decoration: none; }
.pv-actions .act-s .i { font-size: 1.2rem; color: var(--forest); }
.pv-near { margin-top: 22px; }

/* map markers / popups */
.maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255, 255, 255, .7) !important; }
.is-app .maplibregl-ctrl-bottom-right { bottom: calc(var(--tab-h) + 184px); transition: opacity .2s; }
.maplibregl-ctrl-group { border-radius: 14px !important; box-shadow: var(--shadow) !important; }
.wd-me { width: 18px; height: 18px; border-radius: 50%; background: #2a7de1; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(42, 125, 225, .22); }

/* ================= PLACE PAGE ================= */
.place { --hero-h: min(70svh, 640px); }
.hero { position: relative; height: var(--hero-h); min-height: 400px; overflow: hidden; background: var(--kind); background-image: var(--contour); background-size: 420px; color: #fff; isolation: isolate; }
.hero-img, .hero-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-map { z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(15, 46, 71, .35) 0%, rgba(15, 46, 71, 0) 22%, rgba(15, 46, 71, 0) 45%, rgba(15, 46, 71, .78) 100%); }
.hero-3d .hero-shade { background: linear-gradient(180deg, rgba(15, 46, 71, .25) 0%, rgba(15, 46, 71, 0) 25%, rgba(15, 46, 71, 0) 55%, rgba(15, 46, 71, .62) 100%); }
.hero-bar { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--safe-t) + 12px); display: flex; justify-content: space-between; padding: 0 12px; }
.hero-bar-r { display: flex; gap: 8px; }
.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px; pointer-events: none; }
.hero-text a { pointer-events: auto; }
.hero-text .display { font-size: clamp(2.5rem, 10vw, 5rem); margin: 12px 0 10px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); max-width: 16ch; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; opacity: .9; margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .i { font-size: .7rem; opacity: .7; }
.listing .crumbs, .page .crumbs { color: var(--muted); }
.hero-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: .98rem; }
.hero-sub span { display: inline-flex; align-items: center; gap: 7px; }
.hero-sub .i { opacity: .85; }

.actionbar { position: sticky; top: 0; z-index: 25; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-top: -1px; }
.actionbar-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-top: 6px; padding-bottom: 6px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border-radius: 12px; border: 0; background: none; text-decoration: none; font-size: .74rem; font-weight: 650; color: var(--ink-2); }
.act .i { font-size: 1.3rem; color: var(--forest); }
.act:hover { background: var(--sand); }
.act.js-save[aria-pressed="true"] { color: var(--teal-ink); }

.place-grid { display: grid; gap: 28px; padding-top: 22px; padding-bottom: 48px; }
.place-main { min-width: 0; display: grid; gap: 34px; align-content: start; }
.place-side { display: grid; gap: 16px; align-content: start; }

.glance { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-s); padding: 18px; }
.glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.glance dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.glance dd { font-weight: 600; font-size: 1rem; }
.glance dd small { font-weight: 500; color: var(--muted); }
.features { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.features li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--sand); font-size: .86rem; font-weight: 600; }
.features .i { color: var(--kind); }

/* editorial guide */
.prose { font-size: 1.06rem; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 780; font-size: 1.6rem; letter-spacing: -.01em; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-family: var(--display); font-weight: 780; font-size: 1.25rem; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 1rem; color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--moss); font-weight: 550; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r); margin: 1.6em 0; width: 100%; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--kind); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.guide > .eyebrow + p::first-letter { float: left; font-family: var(--display); font-weight: 780; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--kind); }
.guide > .eyebrow + p { font-size: 1.14rem; color: var(--ink); }
.guide .eyebrow { color: var(--kind); }
.lead-p { font-family: var(--display); font-size: 1.35rem; line-height: 1.4; color: var(--ink); font-weight: 450; }
.contribute { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 20px; border-radius: var(--r-l); background: var(--sand); }
.contribute > .i { font-size: 1.6rem; color: var(--kind); margin-top: 2px; }
.contribute h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.contribute p { font-size: .95rem; margin: 0 0 14px; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.terrain-map { height: 380px; border-radius: var(--r-l); overflow: hidden; background: #e8efed; box-shadow: var(--shadow-s); }
.terrain-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .88rem; color: var(--muted); }

.cards-row .pcard { width: 240px; }

/* side cards */
.card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-s); padding: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-head h2 { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 780; font-size: 1.2rem; }
.card-head h2 .i { color: var(--kind); }
.card-note { font-size: .76rem; color: var(--muted); font-weight: 600; }
.partners p { font-size: .94rem; color: var(--ink-2); margin-bottom: 12px; }

.wx-now { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; min-height: 84px; }
.wx-big { display: flex; align-items: center; gap: 10px; }
.wx-temp { font-family: var(--display); font-weight: 780; font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; }
.wx-icon { font-size: 2.6rem; color: var(--teal); }
.wx-desc { font-weight: 650; }
.wx-feel { font-size: .85rem; color: var(--muted); }
.wx-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.wx-stat { background: var(--paper); border-radius: 12px; padding: 9px 10px; }
.wx-stat b { display: flex; align-items: center; gap: 5px; font-size: 1rem; }
.wx-stat small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.wx-arrow { display: inline-block; transition: transform .3s; }
.wx-hours { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -18px 0; padding: 0 18px 4px; min-height: 92px; }
.wx-hours::-webkit-scrollbar { display: none; }
.wx-h { flex: none; width: 54px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 0; border-radius: 12px; font-size: .8rem; }
.wx-h:first-child { background: var(--paper); }
.wx-h .i { font-size: 1.25rem; color: var(--ink-2); }
.wx-h b { font-size: .95rem; }
.wx-h small { color: var(--teal-ink); font-weight: 650; font-size: .72rem; min-height: 1em; }
.wx-sun { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.wx-sun span { display: inline-flex; align-items: center; gap: 6px; }
.wx-sun .i { color: var(--teal); font-size: 1.1rem; }
.tide-chart { min-height: 130px; }
.tide-chart svg { width: 100%; height: 130px; overflow: visible; }
.tide-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.skel { border-radius: 12px; background: linear-gradient(90deg, #e4f1ef 0%, #f3f9f8 50%, #e4f1ef 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.wx-now.skel { min-height: 84px; }
.wx-err { color: var(--muted); font-size: .9rem; }

/* ================= LISTINGS ================= */
.band { background: var(--teal-wash); border-bottom: 1px solid var(--line); }
.band-in { display: grid; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.band-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--kind); color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.band-count { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.band-count strong { color: var(--ink); font-size: 1.1rem; }
.band-map { height: 240px; border-radius: var(--r-l); overflow: hidden; background: #e8efed; box-shadow: var(--shadow-s); }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 22px 0 10px; }
.pcard { background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-link { display: block; text-decoration: none; height: 100%; }
.media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-tile { display: grid; place-items: center; background-color: var(--kind); background-image: var(--contour); background-size: 260px; color: #fff; }
.tile-icon { font-size: 2.6rem; opacity: .92; }
.pcard-body { position: relative; padding: 14px 16px 16px; display: grid; gap: 4px; }
.pcard-title { font-family: var(--display); font-weight: 780; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.15; }
.pcard-meta { font-size: .86rem; color: var(--muted); }
.guide-flag { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: var(--teal-ink); }
.pcard-sm .pcard-title { font-size: 1.08rem; }
.pcard-sm .media { aspect-ratio: 3 / 2; }
.pager { display: flex; justify-content: center; padding: 18px 0 40px; }
.pager .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 650; }
.pager .current { background: var(--forest); color: #fff; }
.pager a.page-numbers:hover { background: var(--sand); }
.pager .prev span, .pager .next span { display: none; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ================= PAGES + FOOTER ================= */
.page-head { padding: 34px 0 18px; }
.page .prose { padding-bottom: 20px; }
.footer { background: var(--navy); color: #d5e2ea; margin-top: 30px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .logo { color: #fff; }
.footer-in { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 30px; }
.footer-brand p { margin-top: 12px; max-width: 38ch; font-size: .94rem; opacity: .85; }
.footer-col h2 { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.footer-small { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 26px; font-size: .8rem; opacity: .75; display: grid; gap: 6px; }

/* ================= TABLET ================= */
@media (min-width: 720px) {
	.wrap { padding-left: 28px; padding-right: 28px; }
	.card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.photo-grid { grid-template-columns: repeat(3, 1fr); }
	.band-in { grid-template-columns: 1fr 1fr; align-items: center; padding-top: 34px; padding-bottom: 34px; }
	.band-map { height: 300px; }
	.footer-in { grid-template-columns: 2fr 1fr 1fr; }
	.glance dl { grid-template-columns: repeat(3, 1fr); }
	.gcard { width: 250px; }
	.hero-text { bottom: 48px; }
}

/* ================= DESKTOP ================= */
@media (min-width: 1000px) {
	body { padding-bottom: 0; }
	.tabbar { display: none; }
	.is-app .topbar, .is-place .topbar { display: block; }
	.topbar-in { height: var(--top-h); padding: 0 24px; }
	.mainnav { display: block; }
	.mainnav ul { list-style: none; display: flex; gap: 2px; }
	.mainnav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
	.mainnav a:hover { background: var(--sand); }
	.mainnav a[aria-current] { color: var(--forest); background: var(--sand); }
	.topbar-actions .btn-ghost, .topbar-actions .btn { display: inline-flex; }

	.app { top: calc(var(--top-h) + var(--safe-t) + 1px); }
	.map-top { left: 448px; right: 84px; top: 16px; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
	.searchbar { width: min(440px, 100%); }
	.searchbar-logo { display: none; }
	.searchbar input { padding-left: 14px; }
	.map-top .chips { margin: 0; padding: 2px 2px 8px; max-width: 100%; }
	.map-ctrls { right: 16px; top: 16px; bottom: auto; opacity: 1 !important; pointer-events: auto !important; }
	.ctrl-zoom { display: flex; flex-direction: column; gap: 8px; }
	.is-app .maplibregl-ctrl-bottom-right { bottom: 0; }

	.sheet { position: absolute; left: 16px; top: 16px; bottom: 16px; height: auto; width: 412px; border-radius: var(--r-xl); transform: none !important; box-shadow: var(--shadow-l); touch-action: auto; }
	.sheet-grab { display: none; }
	.sheet-scroll { overflow-y: auto !important; padding: 26px 22px 28px; scrollbar-width: thin; }
	.sheet-hello .display { font-size: 2.15rem; }
	.gcard { width: 230px; }

	.place { --hero-h: min(76vh, 720px); }
	.hero-bar { display: none; }
	.hero-text { bottom: 56px; }
	.actionbar { top: calc(var(--top-h) + 1px); }
	.actionbar-in { display: flex; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
	.act { flex-direction: row; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line-2); }
	.act .i { font-size: 1.1rem; }
	.place-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 36px; padding-bottom: 72px; }
	.place-side { position: sticky; top: calc(var(--top-h) + 82px); }
	.terrain-map { height: 460px; }
	.card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.card-grid-lg { grid-template-columns: repeat(3, 1fr); }
	.band-map { height: 340px; }
	.cards-row { margin: 0; padding-left: 0; padding-right: 0; }
	.page-head { padding: 56px 0 26px; }
}
@media (min-width: 1300px) {
	.card-grid { grid-template-columns: repeat(4, 1fr); }
	.card-grid-lg { grid-template-columns: repeat(3, 1fr); }
}

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ================= TODAY (daily pick) ================= */
.js-done .on { display: none; }
.js-done[aria-pressed="true"] .on { display: inline; }
.js-done[aria-pressed="true"] .off { display: none; }
.js-done[aria-pressed="true"] .i.on { display: block; color: var(--moss); }
.act.js-done[aria-pressed="true"] { color: var(--moss); }
.today .display { font-size: 2rem; }
.today-sub { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.today-form { display: grid; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-s); }
.today-where { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 2px; border: 0; background: none; text-align: left; }
.today-where > .i:first-child { display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--sand); color: var(--forest); }
.today-where span { flex: 1; min-width: 0; }
.today-where small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.today-where b { display: block; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-where-go { color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: var(--sand); }
.seg button { height: 38px; border: 0; border-radius: 10px; background: none; font-weight: 650; font-size: .9rem; color: var(--ink-2); transition: background .2s, box-shadow .2s; }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-s); }
.today-kinds { margin: 0 -14px; padding: 2px 14px 4px; }
.today-kinds .chip { box-shadow: inset 0 0 0 1px var(--line-2); height: 36px; }
.today-kinds .chip.is-on { box-shadow: none; }
.btn-go { min-height: 54px; font-weight: 800; font-size: 1.02rem; border-radius: 16px; }
.btn-go .i { font-size: 1.25rem; }
.btn-go.is-busy .i { animation: spin 1s linear infinite; }
.today-results { margin-top: 20px; }
.today-results .sec-head button { border: 0; background: none; font-size: .9rem; }
.picks { list-style: none; display: grid; gap: 12px; }
.pick { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: stretch; padding: 10px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-s); cursor: pointer; transition: box-shadow .2s, transform .2s var(--ease); }
.pick:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.pick-media { border-radius: 14px; overflow: hidden; background: var(--kind); background-image: var(--contour); background-size: 200px; display: grid; place-items: center; color: #fff; font-size: 1.7rem; min-height: 96px; }
.pick-media img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 2px 2px 2px 0; }
.pick-name { font-family: var(--display); font-weight: 780; font-size: 1.2rem; line-height: 1.12; }
.pick-meta { font-size: .84rem; color: var(--muted); }
.pick-why { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 6px; }
.pick-why span { font-size: .72rem; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.pick-num { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: .78rem; font-weight: 750; box-shadow: 0 0 0 2px #fff; }
.today-empty { padding: 16px; border-radius: var(--r); background: var(--sand); font-size: .92rem; }
.where-panel { display: grid; gap: 10px; }
.where-panel input { height: 48px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 14px; font: 500 1rem var(--font); background: var(--card); }
@media (min-width: 1000px) { .today .display { font-size: 2.3rem; } }

/* ---------- toast + map pins ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--tab-h) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-l); transition: opacity .25s, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1000px) { .toast { bottom: 28px; } }
.wd-pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--kind); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); font-size: 16px; }
.wd-pin.is-big { width: 46px; height: 46px; font-size: 21px; border-width: 4px; }
.wd-origin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--ink); color: #fff; border: 3px solid #fff; box-shadow: var(--shadow); font-size: 15px; }
.wd-flag { background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 8px; box-shadow: var(--shadow-s); }
.sheet .hscroll, .sheet .chips { touch-action: pan-x; }

/* maplibre-gl.css loads after this file and sets .maplibregl-map { position: relative } */
.app .map.maplibregl-map, .app .map { position: absolute; inset: 0; }
.hero .hero-map.maplibregl-map, .hero .hero-map { position: absolute; inset: 0; }
.searchbar-clear[hidden] { display: none; }

/* phones: half-open sheet shows the whole "Where to today?" card */
@media (max-width: 999px) {
	.sheet[data-state="half"] { transform: translateY(34%); }
	.today .display { font-size: 1.75rem; }
	.today-sub { font-size: .88rem; margin-top: 4px; }
	.today-form { gap: 10px; margin-top: 12px; padding: 12px; }
	.today-where > .i:first-child { width: 34px; height: 34px; padding: 8px; }
	.seg button { height: 34px; }
	.btn-go { min-height: 50px; }
}

/* ---------- place page layout fixes (0.1.5) ---------- */
.place-main { grid-template-columns: minmax(0, 1fr); }
.place-main > *, .place-side > * { min-width: 0; }
.prose { max-width: 70ch; }
.prose img { width: auto; max-width: 100%; max-height: 560px; object-fit: cover; margin-left: 0; margin-right: 0; }
.prose figure { margin: 1.6em 0; }
.photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
.photo, .photo:first-child { aspect-ratio: auto; height: 100%; }
.photo:first-child { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 720px) {
	.photo-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
	.photo:first-child { grid-column: span 2; grid-row: span 2; }
	.photo-grid:has(.photo:nth-child(2):last-child) { grid-template-columns: 2fr 1fr; }
	.photo-grid:has(.photo:only-child) .photo:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
	.place-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; max-width: 1200px; }
	.place-main { gap: 40px; }
	.hero-text .wrap, .hero-text { max-width: 1200px; }
	.cards-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; }
	.cards-row .pcard { width: auto; }
	.cards-row .pcard:nth-child(n+7) { display: none; }
	.glance dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.guide > .eyebrow + p { font-size: 1.18rem; }
}

/* ================= phones: map first (0.1.8) ================= */
.dock { display: none; }
@media (max-width: 999px) {
	.sheet { --peek: calc(var(--tab-h) + 196px); }
	.sheet[data-state="closed"] { transform: translateY(calc(100% + 24px)); box-shadow: none; }
	.sheet[data-state="peek"] { transform: translateY(calc(100% - var(--peek))); }
	.sheet[data-state="half"] { transform: translateY(36%); }
	.dock { display: flex; position: absolute; z-index: 16; left: 0; right: 0; bottom: calc(var(--tab-h) + 14px); justify-content: center; align-items: center; gap: 10px; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
	.dock > * { pointer-events: auto; }
	.dock-go { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--teal); color: var(--navy); font-weight: 800; font-size: 1rem; box-shadow: var(--shadow-l); }
	.dock-go .i { font-size: 1.25rem; }
	.dock-list { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--card); color: var(--navy); font-size: 1.3rem; box-shadow: var(--shadow-l); }
	body:not([data-sheet="closed"]) .dock { opacity: 0; transform: translateY(16px); pointer-events: none; }
	body:not([data-sheet="closed"]) .dock > * { pointer-events: none; }
	.map-ctrls { bottom: calc(var(--tab-h) + 82px); transition: opacity .2s; }
	body:not([data-sheet="closed"]) .map-ctrls { opacity: 0; pointer-events: none; }
	body[data-sheet="full"] .map-top .chips { display: none; }
	.is-app .maplibregl-ctrl-bottom-right { bottom: calc(var(--tab-h) + 2px); }
	body:not([data-sheet="closed"]) .maplibregl-ctrl-bottom-right { opacity: 0; }
}

/* compact place card (map sheet / panel) */
.pv-head { display: flex; align-items: center; gap: 12px; }
.pv-thumb { width: 64px; height: 64px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--kind); background-image: var(--contour); background-size: 180px; color: #fff; font-size: 1.5rem; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-hgroup { flex: 1; min-width: 0; }
.pv-hgroup .kind-chip { font-size: .68rem; }
.pv .pv-title { font-size: 1.3rem; margin: 2px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv .pv-meta { font-size: .84rem; color: var(--muted); gap: 2px 10px; }
.pv .pv-meta span + span::before { content: "·"; margin-right: 10px; color: var(--sand-2); }
.pv-close { display: grid; place-items: center; width: 38px; height: 38px; flex: none; align-self: flex-start; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink-2); font-size: .95rem; }
.pv .pv-actions { display: flex; gap: 8px; margin-top: 12px; }
.pv .pv-actions .pv-open { flex: 1; min-height: 46px; border-radius: 14px; grid-column: auto; }
.act-i { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-s); color: var(--navy); font-size: 1.15rem; text-decoration: none; }
.act-i.js-save[aria-pressed="true"] .i.on, .act-i.js-done[aria-pressed="true"] .i.on { color: var(--teal-ink); }
.pv-more { margin-top: 18px; }
.pv-more .pv-media { aspect-ratio: 16 / 9; }
