/* The Hidden Quarter · public site styles
   Five visitor-selectable palettes set on <html data-palette="...">. Every colour comes from these tokens. */

:root {
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  --r: 10px;
}

/* Midnight Velvet is the default, so it comes first and the other palettes override it */
:root, [data-palette="midnight"] {
  color-scheme: dark;
  --bg: #13111f; --surf: #1c192d; --surf2: #262239; --ink: #efe9dc; --muted: #a39cba;
  --acc: #d6b16a; --acc2: #a193f2; --line: #322d49; --onacc: #1b1524;
  --hero: #0c0a17; --hero-ink: #efe9dc; --star: .6;
  --danger: #ef8f86; --ok: #8fd0a8; --shadow: 0 14px 40px rgba(0, 0, 0, .4);
  --disp: "Cormorant Garamond", Georgia, serif; --disp-w: 600; --ds: 1.05;
}
[data-palette="night"] {
  color-scheme: dark;
  --bg: #141e19; --surf: #1b2922; --surf2: #24352c; --ink: #e4e9dc; --muted: #97a899;
  --acc: #c49b54; --acc2: #8fbc9f; --line: #2d3f35; --onacc: #1c170d;
  --hero: #0d1511; --hero-ink: #ecefe4; --star: .45;
  --danger: #e58a78; --ok: #86c9a0; --shadow: 0 14px 40px rgba(0, 0, 0, .35);
  --disp: "Marcellus", Georgia, serif; --disp-w: 400; --ds: .92;
}
[data-palette="lamplight"] {
  color-scheme: light;
  --bg: #cdd5c4; --surf: #e1e6d8; --surf2: #c1cab5; --ink: #141d17; --muted: #46544a;
  --acc: #234a39; --acc2: #85561f; --line: #adb99f; --onacc: #eef1e7;
  --hero: #15241d; --hero-ink: #eceee3; --star: .35;
  --danger: #a3372a; --ok: #256b45; --shadow: 0 14px 40px rgba(20, 35, 25, .18);
  --disp: "Marcellus", Georgia, serif; --disp-w: 400; --ds: .92;
}
[data-palette="apothecary"] {
  color-scheme: light;
  --bg: #e8ebe1; --surf: #f6f7f2; --surf2: #dde3d4; --ink: #1c2620; --muted: #56655b;
  --acc: #2d5a46; --acc2: #9e6a2c; --line: #c9d1c0; --onacc: #f3f5ee;
  --hero: #1e3329; --hero-ink: #eef1e7; --star: .3;
  --danger: #a3372a; --ok: #2b7250; --shadow: 0 14px 40px rgba(20, 35, 25, .12);
  --disp: "Marcellus", Georgia, serif; --disp-w: 400; --ds: .92;
}
[data-palette="dusk"] {
  color-scheme: dark;
  --bg: #1d1321; --surf: #2a1b2d; --surf2: #352339; --ink: #f5e7e4; --muted: #bda2ae;
  --acc: #e9a18b; --acc2: #88c3b7; --line: #46324c; --onacc: #2c1519;
  --hero: #140b17; --hero-ink: #f5e7e4; --star: .5;
  --danger: #f2958a; --ok: #8fd0b4; --shadow: 0 14px 40px rgba(0, 0, 0, .4);
  --disp: "Bodoni Moda", Georgia, serif; --disp-w: 500; --ds: .88;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); }
img { max-width: 100%; height: auto; }
a { color: var(--acc); text-underline-offset: 2px; }
[data-palette="night"] a, [data-palette="midnight"] a, [data-palette="dusk"] a { color: color-mix(in srgb, var(--acc) 85%, var(--ink)); }
h1, h2, h3 { font-family: var(--disp); font-weight: var(--disp-w); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: calc(clamp(32px, 4.4vw, 46px) * var(--ds)); }
h2 { font-size: calc(26px * var(--ds)); }
h3 { font-size: calc(21px * var(--ds)); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.page-narrow { max-width: 820px; padding-block: 8px 56px; display: grid; gap: 18px; align-content: start; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lede { font-size: 18px; color: var(--muted); max-width: 62ch; }
.prose { max-width: 65ch; }
.stack { display: grid; gap: 14px; }
.stack h2 { margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: var(--onacc); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--acc); color: var(--onacc) !important; border: 1px solid var(--acc);
  border-radius: 7px; padding: 10px 18px; font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-ghost:hover { border-color: var(--acc); filter: none; }
.btn-sm { padding: 6px 13px; font-size: 13px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips-tight { gap: 8px; }
.chip { display: inline-flex; gap: 8px; align-items: baseline; border: 1px solid var(--line); background: var(--surf); border-radius: 999px; padding: 7px 14px;
  font-size: 14px; color: var(--ink) !important; text-decoration: none; }
.chip small { color: var(--muted); font-size: 12px; }
a.chip:hover { border-color: var(--acc); }
.chip-static { font-size: 13.5px; padding: 5px 12px; }

.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.bdg { font-size: 11.5px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; color: var(--muted); white-space: nowrap; }
.bdg-v { color: var(--acc2); border-color: color-mix(in srgb, var(--acc2) 45%, transparent); }
.bdg-sample { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.ftag, .tag { background: var(--acc); color: var(--onacc); font: 600 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; vertical-align: middle; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.home .site-header { background: var(--hero); color: var(--hero-ink); border-color: color-mix(in srgb, var(--hero-ink) 12%, transparent); }
.hdr { display: flex; align-items: center; gap: 26px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit !important; text-decoration: none; font-family: var(--disp); font-weight: var(--disp-w);
  font-size: calc(22px * var(--ds)); white-space: nowrap; }
.logo .mark { width: 32px; height: 46px; color: var(--acc); flex: none; }
.nav { display: flex; gap: 22px; font-size: 14.5px; }
.nav a { color: inherit !important; text-decoration: none; opacity: .85; white-space: nowrap; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.moonchip { display: inline-flex; align-items: center; gap: 7px; font: 12px var(--f-mono); border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 999px; padding: 4px 11px 4px 5px; white-space: nowrap; }
.moonchip svg { width: 18px; height: 18px; }

/* the way back to the 3D street: the logo lantern, turning slowly in 3D with its star-cut glass */
.street-link { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 7px; border-radius: 999px; white-space: nowrap;
  color: inherit !important; text-decoration: none; font: 600 13.5px var(--f-body); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.street-link:hover, .street-link:focus-visible { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.lamp3d { position: relative; width: 18px; height: 28px; flex: none; perspective: 70px; }
.lamp3d i { position: absolute; display: block; }
.l3-glow { left: 50%; top: 60%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .55), rgba(255, 196, 110, 0) 65%); animation: l3-flicker 3.4s infinite; }
.l3-body { position: absolute; left: 3.5px; top: 11px; width: 11px; height: 12px; transform-style: preserve-3d; animation: l3-turn 9s linear infinite; }
.l3-body i { inset: 0; backface-visibility: visible; border: 1.3px solid color-mix(in srgb, var(--acc) 65%, #000);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 1.3Q5.4 4.6 7.3 5Q5.4 5.4 5 8.7Q4.6 5.4 2.7 5Q4.6 4.6 5 1.3Z' fill='%231a0f06'/%3E%3C/svg%3E") center / 9px 10px no-repeat,
    radial-gradient(circle at 50% 55%, #fff4d2, #ffc877 45%, #d9892f); }
.l3-body i:nth-child(1) { transform: rotateY(0deg) translateZ(5.5px); }
.l3-body i:nth-child(2) { transform: rotateY(90deg) translateZ(5.5px); }
.l3-body i:nth-child(3) { transform: rotateY(180deg) translateZ(5.5px); }
.l3-body i:nth-child(4) { transform: rotateY(270deg) translateZ(5.5px); }
.l3-ring { left: 50%; top: 0; width: 5px; height: 5px; margin-left: -2.5px; border: 1.2px solid var(--acc); border-radius: 50%; }
.l3-roof { left: 1px; top: 4.5px; width: 16px; height: 6.5px; background: var(--acc); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.l3-base { left: 2.5px; top: 23.3px; width: 13px; height: 2.2px; background: var(--acc); }
.l3-base::after { content: ""; position: absolute; left: 4.5px; top: 2.2px; width: 4px; height: 3px; background: var(--acc); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.street-link:hover .l3-glow, .street-link:focus-visible .l3-glow { transform: scale(1.35); }
@keyframes l3-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes l3-flicker { 0%, 100% { opacity: .85; } 38% { opacity: 1; } 44% { opacity: .6; } 50% { opacity: .95; } 72% { opacity: .8; } }

.palette { position: relative; }
.palette-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); background: color-mix(in srgb, var(--acc) 14%, transparent); color: inherit; font: 600 13.5px var(--f-body); }
.palette-btn:hover, .palette-btn[aria-expanded="true"] { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 26%, transparent); }
.palette-btn.is-new { animation: pal-pulse 2.2s ease-out 3; }
@keyframes pal-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.pal-dot { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(var(--acc) 0 33%, var(--acc2) 0 66%, var(--surf2) 0); border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.pal-chev { width: 12px; height: 12px; opacity: .8; transition: transform .15s; }
.palette-btn[aria-expanded="true"] .pal-chev { transform: rotate(180deg); }
.palette-hint { position: absolute; right: 0; top: calc(100% + 12px); z-index: 49; width: 250px; background: var(--acc); color: var(--onacc); border-radius: 10px;
  padding: 10px 36px 10px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.4; box-shadow: var(--shadow); animation: hint-in .35s ease-out; }
.palette-hint::before { content: ""; position: absolute; top: -6px; right: 34px; width: 12px; height: 12px; background: var(--acc); transform: rotate(45deg); }
.palette-hint[hidden] { display: none; }
.palette-hint-x { position: absolute; top: 5px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.palette-hint-x:hover { background: color-mix(in srgb, var(--onacc) 14%, transparent); }
@keyframes hint-in { from { opacity: 0; transform: translateY(-4px); } }
.palette-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; background: var(--surf); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; min-width: 270px; }
.palette-menu[hidden] { display: none; }
.palette-menu .eyebrow { padding: 4px 8px 2px; }
.palette-sub { font-size: 12.5px; color: var(--muted); padding: 0 8px 8px; }
.palette-menu button { display: flex; align-items: center; gap: 12px; background: none; border: 0; border-radius: 6px; padding: 7px 8px; cursor: pointer; text-align: left; font-size: 14px; }
.palette-menu button:hover { background: var(--surf2); }
.palette-menu button[aria-pressed="true"] { background: var(--surf2); font-weight: 600; }
.pal-prev { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; width: 46px; height: 30px; padding: 0 6px; border-radius: 6px; flex: none;
  border: 1px solid rgba(128, 128, 128, .45); }
.pal-prev i { width: 10px; height: 10px; border-radius: 50%; }
.pal-check { margin-left: auto; color: var(--acc); visibility: hidden; }
.palette-menu button[aria-pressed="true"] .pal-check { visibility: visible; }

.preview-bar { background: var(--acc2); color: var(--bg); text-align: center; font: 500 12px var(--f-mono); letter-spacing: .06em; padding: 4px 16px; }
[data-palette="lamplight"] .preview-bar, [data-palette="apothecary"] .preview-bar { color: #fff; }

/* ---------- hero & home ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-ink); padding-block: 56px 44px; }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--star); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 14px; justify-items: start; }
.eyebrow.on-hero { color: inherit; opacity: .7; }
.hero h1 { font-size: calc(clamp(38px, 6vw, 60px) * var(--ds)); line-height: 1.04; max-width: 15ch; }
.hero h1 em { color: var(--acc); font-style: italic; }
[data-palette="lamplight"] .hero h1 em, [data-palette="apothecary"] .hero h1 em { color: #d6b273; }
.hero-sub { max-width: 52ch; opacity: .8; font-size: 16.5px; }
.searchbar { display: grid; grid-template-columns: 1.4fr 1fr auto; width: 100%; max-width: 800px; margin-top: 12px; background: var(--surf); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.sb-field { display: grid; gap: 2px; padding: 11px 16px; border-right: 1px solid var(--line); }
.sb-field:nth-child(2) { border-right: 0; }
.searchbar .sb-field input { border: 0; background: transparent; padding: 2px 0; font-size: 16px; outline: none; box-shadow: none; min-width: 0; border-radius: 0; }
.sb-field input::placeholder { color: var(--muted); }
.sb-field:focus-within { box-shadow: inset 0 -2px 0 var(--acc); }
.searchbar .btn { margin: 7px; padding-inline: 26px; border-radius: 8px; }
.remote-toggle { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; opacity: .88; cursor: pointer; }
.remote-toggle input { accent-color: var(--acc); width: 16px; height: 16px; }

.seek { display: grid; gap: 12px; padding-block: 28px 8px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-block: 24px; }
.home-main { display: grid; gap: 34px; align-content: start; }
.home-side { display: grid; gap: 18px; align-content: start; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-head a { font-size: 14px; text-decoration: none; }

.spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spot-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scard { display: grid; grid-template-rows: auto 1fr; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  color: var(--ink) !important; text-decoration: none; transition: border-color .15s, transform .15s; }
.scard:hover { border-color: var(--acc); transform: translateY(-2px); }
.scard-img { position: relative; display: grid; place-items: center; height: 100px; color: var(--ink);
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--acc2) 38%, transparent), transparent 60%),
              radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--acc) 32%, transparent), transparent 55%), var(--surf2); }
.scard-img .sigil { width: 60px; height: 60px; opacity: .9; }
.scard-img .tag { position: absolute; top: 8px; left: 8px; }
.scard-body { display: grid; gap: 4px; padding: 12px 14px 14px; align-content: start; }
.scard-name { font-family: var(--disp); font-weight: var(--disp-w); font-size: calc(19px * var(--ds)); line-height: 1.2; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surf); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.cat small { color: var(--muted); font: 12px var(--f-mono); }
.cat:hover { border-color: var(--acc); }
.cat.is-empty { opacity: .55; }

.cities-strip { padding-block: 10px 48px; }
.city-row { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.city { display: inline-flex; gap: 10px; justify-content: space-between; min-width: 170px; padding: 8px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink) !important; text-decoration: none; font-size: 14.5px; }
.city small { color: var(--muted); font-family: var(--f-mono); }
.city:hover { border-color: var(--acc); }
.city-group { display: grid; gap: 14px; padding-top: 18px; }
.region { display: grid; gap: 6px; }

/* ---------- oracle card ---------- */
.oracle { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.flip { width: 128px; height: 194px; perspective: 800px; border: 0; background: none; padding: 0; cursor: pointer; }
.flip .inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.flip.open .inner { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; border: 1px solid var(--acc); }
.flip .back { color: var(--acc); background:
  repeating-linear-gradient(45deg, transparent 0 7px, color-mix(in srgb, var(--acc) 22%, transparent) 7px 8px),
  repeating-linear-gradient(-45deg, transparent 0 7px, color-mix(in srgb, var(--acc) 22%, transparent) 7px 8px), var(--hero); }
.flip .back svg { width: 54px; height: 54px; }
.flip .front { transform: rotateY(180deg); background: var(--hero); color: var(--hero-ink); padding: 12px; align-content: space-between; }
.flip .front .num { font: 12px var(--f-mono); color: var(--acc); }
.flip .front .mark { width: 46px; height: 46px; color: var(--acc); }
.flip .front .cn { font-family: var(--disp); font-weight: var(--disp-w); font-size: calc(20px * var(--ds)); }
.oracle-msg { font-size: 14px; color: var(--muted); min-height: 3.2em; }
.oracle-msg strong { color: var(--ink); }

/* ---------- ads ---------- */
.ad { border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--acc) 38%, var(--line)); padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  background: linear-gradient(100deg, color-mix(in srgb, var(--acc) 16%, var(--surf)), var(--surf) 70%); }
.ad-banner { justify-content: space-between; margin-block: 8px; }
.ad-box { flex-direction: column; align-items: flex-start; }
.ad-row { justify-content: space-between; border-style: dashed; }
.ad-copy { display: grid; gap: 4px; }
.ad-title { font-family: var(--disp); font-weight: var(--disp-w); font-size: calc(21px * var(--ds)); line-height: 1.2; }
.ad-text { color: var(--muted); font-size: 14px; }
.ad-direct img { max-width: 160px; border-radius: 6px; }
.ad-img { display: grid; gap: 6px; justify-items: center; margin-block: 8px; }
.ad-img .eyebrow { justify-self: stretch; text-align: center; font-size: 10px; }
.ad-img a, .ad-img picture { display: block; width: 100%; max-width: var(--ad-w); }
.ad-img img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ad-img-box { justify-items: start; }
.ad-google { display: block; background: none; border-style: dashed; }

/* ---------- results ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 18px 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted) !important; }
.results-form { display: grid; gap: 16px; padding-bottom: 56px; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.results-head > div { display: grid; gap: 4px; }
.results-intro { color: var(--muted); max-width: 62ch; }
.sortsel { display: grid; gap: 4px; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="password"], textarea {
  background: var(--surf); border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; font-size: 15px; width: 100%; }
select:focus, input:focus, textarea:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 1px var(--acc); }
.sortsel select { width: auto; }

.results-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 14px; }
.filters summary { list-style: none; font-weight: 600; cursor: pointer; display: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters-inner { display: grid; gap: 18px; font-size: 14px; }
.fgrp { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fgrp legend { padding: 0; margin-bottom: 6px; }
.cb { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cb input { accent-color: var(--acc); width: 15px; height: 15px; margin: 0; }
.filter-actions { display: flex; gap: 14px; align-items: center; font-size: 14px; }

.results { display: grid; gap: 12px; align-content: start; }
.lcard { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.lcard.is-featured { border-color: var(--acc); background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 11%, var(--surf)), var(--surf) 60%); }
.lcard.is-basic { background: transparent; }
.lcard-av { width: 76px; height: 76px; border-radius: 9px; display: grid; place-items: center; background: var(--surf2); color: var(--ink) !important; }
.lcard-av .sigil { width: 54px; height: 54px; }
.lcard-body { display: grid; gap: 5px; align-content: start; min-width: 0; }
.lcard-name { font-size: calc(21px * var(--ds)); line-height: 1.2; }
.lcard-name a { color: var(--ink) !important; text-decoration: none; }
.lcard-name a:hover { text-decoration: underline; }
.lcard-meta { color: var(--muted); font-size: 13.5px; }
.lcard-desc { font-size: 14.5px; max-width: 60ch; }
.claimlink { font-size: 13px; }
.lcard-side { display: grid; gap: 6px; justify-items: end; align-content: space-between; text-align: right; font-size: 13.5px; }
.lcard-price { font-family: var(--f-mono); font-size: 14px; }
.pager { display: flex; justify-content: center; gap: 22px; padding-top: 16px; font-size: 14px; color: var(--muted); }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 12px; justify-items: start; }

/* ---------- listing ---------- */
.lhead { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 12px 26px; border-bottom: 1px solid var(--line); }
.lhead-av { width: 128px; height: 128px; border-radius: 14px; display: grid; place-items: center; background: var(--surf2); color: var(--ink);
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--acc2) 30%, transparent), transparent 60%), var(--surf2); }
.lhead.is-featured .lhead-av { box-shadow: 0 0 0 2px var(--acc); }
.lhead-av .sigil { width: 90px; height: 90px; }
.lhead-main { display: grid; gap: 8px; }
.lactions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lbody { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; padding-block: 26px 60px; }
.lmain { display: grid; gap: 22px; align-content: start; }
.lsec { display: grid; gap: 10px; }
.lsec h2 { font-size: calc(23px * var(--ds)); }
.price-line { font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.fact { background: var(--surf); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; font-size: 14.5px; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.source-note { border-top: 1px solid var(--line); padding-top: 14px; }
.lside { display: grid; gap: 18px; align-content: start; }
.ownerbox { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; }
.ownerbox .eyebrow { margin-bottom: 6px; }
.ownerbox a { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-size: 14.5px; }
.ownerbox a:first-of-type { border-top: 0; }
.ownerbox a span:last-child { color: var(--acc); }
.ownerbox a:hover span:first-child { text-decoration: underline; }
.more { display: grid; gap: 10px; }
.more-item { display: flex; gap: 10px; align-items: center; color: var(--ink) !important; text-decoration: none; }
.more-item > span { display: grid; }
.more-item strong { font-weight: 600; font-size: 14.5px; }
.sigil-sm { width: 40px; height: 40px; flex: none; color: var(--acc); }

/* ---------- forms & static pages ---------- */
.form { display: grid; gap: 16px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; }
.form-group { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0; display: grid; gap: 14px; }
.form-group legend { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border: 1px solid var(--danger); color: var(--danger); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; }
.thanks { justify-items: start; padding-top: 48px; }
.thanks > .mark { width: 44px; height: 44px; color: var(--acc); }
.inline-search { display: flex; gap: 8px; max-width: 520px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tier { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; align-content: start; font-size: 14.5px; }
.tier-feat { border-color: color-mix(in srgb, var(--acc) 55%, var(--line)); }

/* ---------- footer ---------- */
.site-footer { background: var(--hero); color: var(--hero-ink); margin-top: 20px; }
.site-footer a { color: inherit !important; opacity: .82; text-decoration: none; font-size: 14px; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.foot-link { justify-self: start; background: none; border: 0; padding: 0; color: inherit; opacity: .82; font-size: 14px; cursor: pointer; text-align: left; }
.foot-link:hover { opacity: 1; text-decoration: underline; }
.site-footer .eyebrow { color: inherit; opacity: .6; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-block: 40px 26px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand p { opacity: .7; font-size: 14px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-legal { border-top: 1px solid color-mix(in srgb, var(--hero-ink) 14%, transparent); padding-block: 18px 30px; display: grid; gap: 6px; font-size: 12.5px; opacity: .65; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .moon-text { display: none; }
  .moonchip { padding: 4px; }
}
@media (max-width: 980px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .spot-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbody { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hdr { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
  .moon-text { display: none; }
  .moonchip { padding: 4px; }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surf); }
  .filters summary { display: block; }
  .filters[open] summary { margin-bottom: 14px; }
}
@media (max-width: 640px) {
  .searchbar { grid-template-columns: 1fr; }
  .sb-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .spot-grid, .spot-grid-4 { grid-template-columns: 1fr; }
  .lcard { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .lcard-av { width: 56px; height: 56px; }
  .lcard-av .sigil { width: 40px; height: 40px; }
  .lcard-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; text-align: left; flex-wrap: wrap; }
  .lhead { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .lhead-av { width: 76px; height: 76px; }
  .lhead-av .sigil { width: 54px; height: 54px; }
  .ad-banner { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .city { min-width: 0; flex: 1 1 140px; }
}
@media (max-width: 640px) {
  .street-text { display: none; }
  .street-link { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .l3-body { animation: none; transform: rotateY(-30deg); }
  .l3-glow { animation: none; }
  .flip .inner, .scard, .pal-chev { transition: none; }
  .palette-btn.is-new, .palette-hint { animation: none; }
}

/* ---- Node version (2026-10-23): what used to be inline styles, now classes (the security policy allows no inline styles) ---- */
.pal-prev.p-night { background: #141e19; } .pal-prev.p-night i:nth-child(1) { background: #c49b54; } .pal-prev.p-night i:nth-child(2) { background: #8fbc9f; }
.pal-prev.p-lamplight { background: #15241d; } .pal-prev.p-lamplight i:nth-child(1) { background: #cdd5c4; } .pal-prev.p-lamplight i:nth-child(2) { background: #85561f; }
.pal-prev.p-apothecary { background: #1e3329; } .pal-prev.p-apothecary i:nth-child(1) { background: #e8ebe1; } .pal-prev.p-apothecary i:nth-child(2) { background: #9e6a2c; }
.pal-prev.p-midnight { background: #13111f; } .pal-prev.p-midnight i:nth-child(1) { background: #d6b16a; } .pal-prev.p-midnight i:nth-child(2) { background: #a193f2; }
.pal-prev.p-dusk { background: #1d1321; } .pal-prev.p-dusk i:nth-child(1) { background: #e9a18b; } .pal-prev.p-dusk i:nth-child(2) { background: #88c3b7; }
.adz-home_banner { --ad-w: 970px; } .adz-results_infeed { --ad-w: 728px; } .adz-home_side, .adz-listing_side { --ad-w: 300px; }
ins.adsbygoogle { display: block; }
