/* San Angelo Lights */
@font-face { font-family: "Young Serif"; src: url("../fonts/YoungSerif-Regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --sky: #0d1b3a;
  --sky-2: #13264d;
  --panel: #172c55;
  --line: #2a4373;
  --frost: #e9f1ff;
  --muted: #a9bbdb;
  --gold: #ffc94a;
  --gold-ink: #1d1400;
  --red: #e8344e;
  --pine: #2fa36b;
  --ice: #7fd4ff;
  --radius: 14px;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--frost); font: 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe08f; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; z-index: 2000; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--gold); background: var(--gold); color: var(--gold-ink); font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #ffd970; color: var(--gold-ink); }
.btn-ghost { background: transparent; color: var(--frost); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); color: var(--frost); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: #ff5068; color: #fff; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header. The blur lives on ::before so the fixed mobile menu is never trapped. */
.site-header { position: sticky; top: 0; z-index: 1000; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 58, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); z-index: -1; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--frost); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: var(--frost); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; color: var(--frost); text-decoration: none; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--panel); }
.nav-links .nav-cta a { background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.nav-links .nav-cta a:hover { background: #ffd970; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--frost); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 1001; flex-direction: column; align-items: stretch; gap: 6px; padding: 18px 16px 40px; background: var(--sky); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .menu-open .nav-links { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav-links a { padding: 14px 16px; font-size: 1.15rem; border: 1px solid var(--line); border-radius: 12px; }
  .nav-links .nav-cta a { text-align: center; border-color: var(--gold); }
  body.menu-open { overflow: hidden; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(640px, calc(100vh - 64px), 900px); display: flex; flex-direction: column; background: linear-gradient(#071027 0%, #0d1b3a 55%, #1a2f5c 100%); }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-copy { text-align: center; padding: clamp(84px, 9vh, 100px) 0 0; position: relative; }
.hero-copy h1 { max-width: 20ch; text-wrap: balance; margin-inline: auto; text-shadow: 0 2px 24px rgba(4, 10, 30, .8); }
.hero-copy .lede { max-width: 34rem; margin: 0 auto 22px; font-size: 1.12rem; color: #d6e2f8; text-shadow: 0 1px 12px rgba(4, 10, 30, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-ctas .btn-ghost { background: rgba(13, 27, 58, .6); }
.gift-tag { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 10px; background: rgba(13, 27, 58, .72); border: 1.5px solid rgba(255, 201, 74, .7); border-radius: 999px; color: var(--frost); text-decoration: none; font-size: .95rem; transform-origin: 50% -20px; animation: tag-sway 4s ease-in-out infinite; }
.gift-tag:hover { color: var(--frost); border-color: var(--gold); background: rgba(23, 44, 85, .9); }
.gift-tag svg { width: 30px; height: 30px; flex: none; }
.gift-tag strong { color: var(--gold); font-weight: 700; }
@keyframes tag-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }

/* Scene animation */
.star { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
.flake { animation: snow linear infinite; }
@keyframes snow { from { transform: translate(0, -40px); } to { transform: translate(30px, 680px); } }
/* Sky layer: never cropped, sits just under the light string */
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.moon { position: absolute; top: 34px; right: max(2vw, calc(50% - 640px)); width: 230px; height: 230px; }
.sleigh-lane { position: absolute; left: 0; right: 0; top: 84px; height: 190px; }
.team { position: absolute; left: 0; top: 0; width: clamp(470px, 32vw, 660px); height: calc(clamp(470px, 32vw, 660px) * .268); overflow: visible; animation: fly 17s linear infinite; will-change: transform; }
@keyframes fly {
  0% { transform: translate(-700px, 120px) rotate(-6deg); }
  50% { transform: translate(calc(50vw - 16vw), 6px) rotate(-3deg); }
  100% { transform: translate(100vw, -10px) rotate(-1deg); }
}
.bob { animation: bob 1.1s ease-in-out infinite; }
.bob.b2 { animation-delay: -.25s; } .bob.b3 { animation-delay: -.5s; } .bob.b4 { animation-delay: -.75s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.leg-f { transform-box: fill-box; transform-origin: top center; animation: gallop-f .55s ease-in-out infinite alternate; }
.leg-b { transform-box: fill-box; transform-origin: top center; animation: gallop-b .55s ease-in-out infinite alternate; }
@keyframes gallop-f { from { transform: rotate(-55deg); } to { transform: rotate(-20deg); } }
@keyframes gallop-b { from { transform: rotate(50deg); } to { transform: rotate(20deg); } }
.wave-arm { transform-box: fill-box; transform-origin: 10% 90%; animation: wave .5s ease-in-out infinite alternate; }
@keyframes wave { from { transform: rotate(-25deg); } to { transform: rotate(15deg); } }
.sparkle { animation: sparkle 1.2s ease-out infinite; }
@keyframes sparkle { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translate(-40px, 10px) scale(.2); } }

/* Music-synced house: 120 BPM, one beat = .5s */
.bulb { transform-box: fill-box; transform-origin: center; }
.chase { animation: chase 1s steps(1) infinite; }
@keyframes chase { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
.chase.d1 { animation-delay: -.25s; } .chase.d2 { animation-delay: -.5s; } .chase.d3 { animation-delay: -.75s; }
.pulse { animation: pulse .5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1.25); } 100% { opacity: .35; transform: scale(1); } }
.mega { animation: mega 2s linear infinite; }
@keyframes mega { 0% { fill: #e8344e; } 25% { fill: #ffc94a; } 50% { fill: #2fd17e; } 75% { fill: #7fd4ff; } 100% { fill: #e8344e; } }
.eq { transform-box: fill-box; transform-origin: bottom; animation: eq .5s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.drop { animation: drop 8s linear infinite; }
@keyframes drop { 0%, 86%, 100% { opacity: 0; } 87%, 89% { opacity: .55; } 88%, 90% { opacity: 0; } 91%, 93% { opacity: .45; } 94% { opacity: 0; } }
.note { animation: note 3s ease-out infinite; }
@keyframes note { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-30px, -120px) rotate(-15deg); } }
.window-glow { animation: glow 1s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
.wire-bulb { animation: chase 1s steps(1) infinite; }

.hero.paused *, .hero.paused { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hero *, .gift-tag { animation: none !important; }
  .team { transform: translate(calc(100vw - 52vw), 10px) rotate(-3deg); }
  .flake, .note, .drop, .sparkle { display: none; }
}

/* ===== Finder (map + list) ===== */
.finder { padding: 34px 0 60px; scroll-margin-top: 64px; }
.finder-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.finder-head h2 { margin: 0; }
.finder-head p { margin: 4px 0 0; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--sky-2); color: var(--frost); font: 1rem/1.1 var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--frost); color: var(--sky); border-color: var(--frost); font-weight: 700; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 8px var(--pine); }
.search-top { display: block; width: 100%; margin-bottom: 10px; }
.search { flex: 1 1 200px; min-width: 0; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--sky-2); color: var(--frost); font: 1rem var(--sans); }
.views { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--sky-2); }
.views button { min-height: 36px; padding: 4px 16px; border: 0; border-radius: 999px; background: none; color: var(--frost); font: 1rem var(--sans); cursor: pointer; }
.views button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.finder-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.finder-body > * { min-width: 0; }
#map { height: min(72vh, 680px); border-radius: var(--radius); border: 1px solid var(--line); background: #0a1630; position: sticky; top: 80px; z-index: 0; }
.list { display: grid; gap: 12px; max-height: min(72vh, 680px); overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; }
.finder.view-photos .finder-body { grid-template-columns: 1fr; }
.finder.view-photos #map { display: none; }
.finder.view-photos .list { max-height: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
.finder.view-photos .item { grid-template-columns: 1fr; }
.finder.view-photos .item img { aspect-ratio: 4 / 3; width: 100%; height: auto; }
@media (max-width: 860px) {
  .finder-body { grid-template-columns: 1fr; }
  #map { position: relative; top: 0; height: 58vh; min-height: 340px; }
  .list { max-height: none; overflow: visible; }
}

.item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 201, 74, .35); }
.item img { width: 112px; height: 100%; min-height: 112px; object-fit: cover; background: #0a1630; }
.item .ph { display: grid; place-items: center; min-height: 112px; background: radial-gradient(circle at 50% 40%, #2a4373, #13264d); }
.item .ph svg { width: 44px; }
.item-body { padding: 12px 14px; min-width: 0; }
.item h3 { font-size: 1.12rem; margin: 0 0 2px; }
.item h3 button { all: unset; cursor: pointer; }
.item h3 button:hover { color: var(--gold); }
.item h3 button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.item .addr { color: var(--muted); font-size: .93rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag { font-size: .8rem; padding: 2px 9px; border-radius: 999px; background: rgba(127, 212, 255, .12); color: #cdeeff; }
.status { font-size: .8rem; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.status.on { background: rgba(47, 163, 107, .2); color: #8ff0bd; }
.status.off { background: rgba(169, 187, 219, .12); color: var(--muted); }
.status.dark { background: rgba(232, 52, 78, .18); color: #ffb0bc; }
.status.feat { background: rgba(255, 201, 74, .18); color: var(--gold); }
.item-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.empty { padding: 30px 20px; text-align: center; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { margin-bottom: 6px; }

.vote { display: inline-flex; align-items: center; gap: 6px; }
.vote svg { width: 16px; height: 16px; }
.vote.voted { background: var(--red); border-color: var(--red); color: #fff; }
.in-route { background: var(--pine) !important; border-color: var(--pine) !important; color: #fff !important; }

/* Map pins: glowing bulbs */
.pin { width: 28px; height: 36px; }
.pin svg { width: 28px; height: 36px; overflow: visible; filter: drop-shadow(0 0 6px var(--c)); }
.pin.dim svg { filter: none; opacity: .55; }
.pin.sel svg { filter: drop-shadow(0 0 10px #fff); }
.pin-num { position: absolute; top: 10px; left: 0; width: 28px; text-align: center; font: 700 12px/1 var(--sans); color: #1d1400; }
.leaflet-container { font: 15px/1.4 var(--sans); background: #0a1630; }
/* Turn the standard OpenStreetMap tiles into a night map */
.leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) brightness(.95) contrast(.88) saturate(.55); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--panel); color: var(--frost); }
.leaflet-popup-content { margin: 12px 14px; }
.leaflet-popup-content h3 { font-size: 1.05rem; margin: 0 0 4px; }
.leaflet-popup-content img { border-radius: 8px; margin-bottom: 8px; width: 220px; height: 140px; object-fit: cover; }
.leaflet-container a.leaflet-popup-close-button { color: var(--frost); }
.leaflet-control-attribution { background: rgba(13, 27, 58, .8) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--ice); }
.leaflet-bar a { background: var(--panel); color: var(--frost); border-color: var(--line); }
.leaflet-bar a:hover { background: var(--sky-2); color: var(--frost); }

/* Route tray */
.route-tray { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 140%); z-index: 900; width: min(560px, 100% - 24px); padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 12px; background: var(--frost); color: var(--sky); border-radius: 999px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: transform .3s ease; }
.route-tray.show { transform: translate(-50%, 0); }
.route-tray p { margin: 0; flex: 1; font-weight: 700; min-width: 0; }
.route-tray .btn-ghost { color: var(--sky); border-color: #c5d3ec; }
.route-tray .btn-ghost:hover { background: #dbe6f8; color: var(--sky); }

/* Dialogs */
dialog { width: min(640px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--frost); }
dialog::backdrop { background: rgba(4, 10, 30, .72); }
.dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 18px 20px 6px; }
.dlg-head h2 { font-size: 1.6rem; margin: 0; }
.dlg-body { padding: 4px 20px 22px; }
.x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--sky-2); color: var(--frost); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 12px; margin-bottom: 12px; }
.gallery img { scroll-snap-align: start; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0a1630; }
.gallery.many { grid-auto-columns: 88%; gap: 8px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.stops { list-style: none; padding: 0; margin: 0 0 14px; counter-reset: s; display: grid; gap: 8px; }
.stops li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--sky-2); border-radius: 12px; }
.stops li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.stops li span { min-width: 0; overflow-wrap: anywhere; }
.stops small { display: block; color: var(--muted); }
.stops button { border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: 4px 8px; }
.route-note { font-size: .92rem; color: var(--muted); }
.toast { position: fixed; left: 50%; top: 80px; transform: translate(-50%, -20px); opacity: 0; z-index: 3000; padding: 10px 18px; border-radius: 999px; background: var(--frost); color: var(--sky); font-weight: 700; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 24px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* How it works band */
.how { padding: 56px 0; background: var(--sky-2); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.how-grid > div { min-width: 0; }
.how-grid h3 { display: flex; align-items: center; gap: 10px; }
.how-grid h3 svg { width: 28px; height: 28px; flex: none; }
.how-grid p { color: #cbd8f0; }
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; gap: 10px; } }

/* Content pages */
.page-hero { padding: 54px 0 26px; background: radial-gradient(ellipse at 70% 0%, #1f3a72 0%, transparent 60%); }
.page-hero p { color: #cbd8f0; max-width: 40rem; font-size: 1.1rem; }
.prose { max-width: 46rem; padding-bottom: 60px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #cbd8f0; }
.faq h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 46rem; padding-bottom: 60px; }
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-weight: 700; }
.field small, .hint { color: var(--muted); font-size: .9rem; font-weight: 400; }
input[type=text], input[type=email], input[type=date], input[type=time], input[type=search], input:not([type]), textarea, select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--sky-2); color: var(--frost); font: 1rem var(--sans); }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(255, 201, 74, .3); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > * { min-width: 0; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip-check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--sky-2); cursor: pointer; font-weight: 400; }
.chip-check:has(input:checked) { border-color: var(--gold); background: rgba(255, 201, 74, .14); }
.chip-check input { accent-color: var(--gold); width: 18px; height: 18px; }
.addr-row { display: flex; gap: 8px; }
.addr-row input { flex: 1; min-width: 0; }
#pickmap { height: 320px; border-radius: var(--radius); border: 1px solid var(--line); margin-top: 8px; }
.drop-zone { display: grid; place-items: center; gap: 6px; padding: 26px 16px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--sky-2); cursor: pointer; }
.drop-zone:hover, .drop-zone.over { border-color: var(--gold); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.previews { display: flex; gap: 8px; flex-wrap: wrap; }
.previews img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.check { display: flex; gap: 10px; align-items: start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: 12px; background: rgba(255, 201, 74, .14); border: 1px solid rgba(255, 201, 74, .5); }
.notice.err { background: rgba(232, 52, 78, .14); border-color: rgba(232, 52, 78, .6); }
.done-card { padding: 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--gold); }
.linkbox { display: flex; gap: 8px; margin: 10px 0; }
.linkbox input { flex: 1; min-width: 0; font-size: .9rem; }

/* Footer */
.site-footer { padding: 46px 0 110px; background: #091330; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.foot-gift { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 30px; border: 1.5px solid rgba(255, 201, 74, .55); border-radius: 18px; background: linear-gradient(100deg, rgba(232, 52, 78, .14), rgba(255, 201, 74, .08)); color: var(--frost); }
.foot-gift svg { width: 48px; height: 48px; flex: none; }
.foot-gift p { margin: 0; }
.foot-gift strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--gold); display: block; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--frost); }

/* Admin */
.adm { padding: 26px 0 60px; }
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.adm-login { max-width: 360px; display: grid; gap: 12px; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; }
.adm-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--frost); text-decoration: none; }
.adm-tabs a.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 700; }
.adm-tabs span { opacity: .75; }
.adm-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
.adm-photos { display: grid; gap: 6px; }
.adm-photos img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.adm-nophoto { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sky-2); border-radius: 10px; color: var(--muted); }
.adm-body h2 { font-size: 1.35rem; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.adm-actions form { margin: 0; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 10px 0; }
.adm-grid label, .adm-wide { display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.adm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.pill { font-family: var(--sans); font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); vertical-align: middle; }
details summary { cursor: pointer; color: var(--gold); }
@media (max-width: 640px) { .adm-item { grid-template-columns: 1fr; } }
.hero-wire { position: absolute; top: 0; left: 0; width: 100%; height: 78px; z-index: 1; pointer-events: none; }
.spin { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-scene { position: relative; inset: auto; height: 360px; z-index: -1; order: -1; }
  .moon { width: 150px; height: 150px; top: 40px; right: -20px; }
  .sleigh-lane { top: 70px; }
  .team { width: 300px; height: 80px; }
  @keyframes fly { 0% { transform: translate(-330px, 70px) rotate(-6deg); } 50% { transform: translate(calc(50vw - 150px), 14px) rotate(-3deg); } 100% { transform: translate(100vw, 0) rotate(-1deg); } }
  .hero-copy { padding: 6px 0 36px; }
}
@media (max-width: 700px) {
  .toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar .chip { flex: none; }
}
