
/* "Lagos After Dark": one committed night look. Phone = full-bleed live map + photo carousel; ≥900px = list column | map.
   Brand from the Hoo Socials Figma file: navy #112347, owl yellow #FBF67E. */
:root {
  --night: #060B16; --land: #0C1529; --surface: #0F1A33; --surface-2: #17264B; --glass: rgba(10, 18, 36, .78);
  --line: rgba(160, 185, 235, .14); --fg: #F2F5FB; --muted: #96A5C8; --decor: #64739A;
  --sun: #F4C70A; --sun-ink: #1A1400; --eye: #00AFEF; --live: #46E08A; --navy: #112347; --warn: #FFB547; --test: #E7A6F5;
  --featured: #00AFEF; --featured-ink: #001A24; --sponsored: #FFB547; --sponsored-ink: #2A1800;
  --f-word: 'Poppins', 'Inter', sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 16px; color-scheme: dark;
}
html, body { height: 100%; }
[hidden] { display: none !important; }
.seg, .pillbtn, .listtoggle, .opt, .rowbtn { min-height: 44px; box-sizing: border-box; }
.iconbtn, .x { width: 44px !important; height: 44px !important; }
.link { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.bar:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }
.seg[aria-pressed="true"], .opt[aria-pressed="true"] { background: var(--fg) !important; color: var(--night) !important; border-color: var(--fg) !important; }
.btn[disabled] { background: var(--surface-2) !important; color: var(--muted) !important; opacity: 1 !important; }
.iconbtn, .round, .x { padding: 0; }
.bar { margin: 0; }
.bar input { min-height: 44px; box-sizing: border-box; }
#unk { width: 20px; height: 20px; margin: 0; }
label:has(#unk) { min-height: 44px; }
::selection { background: var(--sun); color: var(--sun-ink); }
input, textarea { caret-color: var(--sun); }
* { scrollbar-color: #2A3A63 transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--night); color: var(--fg); font: 15px/1.45 var(--body); overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.app { height: 100%; display: grid; grid-template-rows: 1fr auto auto; position: relative; }
.view { position: relative; min-height: 0; overflow: hidden; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); }

/* ---------- map ---------- */
#map { position: absolute; inset: 0; background: var(--land); }
.maplibregl-canvas:focus { outline: none; }
.area-label { font: 700 12px var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(150, 170, 215, .42); pointer-events: none; white-space: nowrap; text-shadow: 0 1px 6px #000; }
.area-label.water { color: rgba(90, 140, 220, .38); font-style: italic; letter-spacing: .3em; }
/* Map credit: required, but out of the way, under the map buttons. */
.osm { position: absolute; z-index: 30; top: 392px; right: max(12px, env(safe-area-inset-right, 0px)); font-size: 10px; line-height: 1.6; color: var(--muted); background: rgba(6, 11, 22, .55); padding: 1px 7px; border-radius: 10px; }
.osm a { color: var(--muted); }

.pin { position: relative; width: 54px; height: 54px; border: 0; padding: 0; background: none; display: grid; place-items: center; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.pin .ph, .pin .stack i { background-size: cover !important; }
.credits > div { min-width: 0; }
.chip2 { min-height: 44px; }
.nopic { width: 54%; height: 54%; fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); pointer-events: none; }
.pin .ph:has(.nopic), .pin .stack i:has(.nopic), .card .img:has(.nopic), i:has(> .nopic) { display: grid; place-items: center; }
.card .img .nopic { width: 30%; height: 30%; }
.round.claim { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); color: var(--fg, #EEF2FF); }
.round.claim svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.calhint { margin: 4px 0 10px; font-size: 14px; color: var(--muted); text-align: center; }
.pin .ph { width: 44px; height: 44px; border-radius: 50%; background: center / cover no-repeat; border: 2.5px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 18px rgba(0, 0, 0, .6); transition: transform .2s, border-color .2s; }
.pin .tag2 { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); font: 800 12px var(--body); letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--fg); white-space: nowrap; border: 1px solid var(--line); }
.pin.live .ph { border-color: var(--live); }
.pin.live .tag2 { background: var(--live); color: #04200F; border-color: transparent; }
.pin.live::before, .pin.live::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px solid var(--live); animation: pulse 2.2s ease-out infinite; }
.pin.live::after { animation-delay: 1.1s; }
.pin.tonight .ph { border-color: var(--sun); box-shadow: 0 6px 18px rgba(0, 0, 0, .6); }
.pin.tonight .tag2 { background: var(--sun); color: var(--sun-ink); border-color: transparent; }
.pin.sel { z-index: 5; }
.pin.sel .ph { transform: scale(1.28); border-color: #fff; }
.pin.cluster .stack { position: relative; width: 52px; height: 44px; }
.pin.cluster .stack i { position: absolute; top: 0; width: 40px; height: 40px; border-radius: 50%; background: center / cover; border: 2.5px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 18px rgba(0, 0, 0, .6); }
.pin.cluster .stack i:first-child { left: 0; } .pin.cluster .stack i:last-child { left: 14px; }
.pin.cluster b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--sun); color: var(--sun-ink); font: 800 12px/22px var(--body); text-align: center; }
.pin .cat { position: absolute; right: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--night); }
.pin .cat svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.event.themed h1, #promo .promo b, .intro .date, .intro .tname, .intro .chip b, .tier b, .tier .amt, .pin.promo .tag2, .event.themed .cta .p b { font-weight: var(--t-weight, 800) !important; }
/* ---------- organiser brand kit (multi-tenant) ----------
   Every organiser's colours, font, logo and cover reach the page only through --t-* variables,
   produced by resolveTheme() below (same rules as lib/theme.mjs). Hoo's own tokens are never overridden. */
.pin.promo { width: 76px; height: 76px; background: none; border: 0; box-shadow: none; }
.pin.promo .ph { width: 64px; height: 64px; border: 3px solid var(--t-accent); background-color: var(--t-surface); background-size: 88%; background-position: center; background-repeat: no-repeat; box-shadow: 0 10px 24px rgba(0, 0, 0, .7); }
.pin.promo .ph.cover { background-size: cover; }
.pin.promo .tag2 { background: var(--t-accent); color: var(--t-accent-ink); border-color: transparent; font-family: var(--t-display); font-synthesis: none; font-size: 13px; bottom: -10px; }
#promo .promo { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; margin: 0; padding: 8px 16px 8px 8px;
  border: 0; border-radius: 16px; text-align: left; background: var(--t-surface); color: var(--fg); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); outline: 1px solid rgba(255, 255, 255, .08); }
#promo .promo .lg { width: 52px; height: 52px; border-radius: 12px; background: var(--t-surface) center / 92% no-repeat; box-shadow: inset 0 0 0 2px var(--t-accent); }
#promo .promo .lg.cover { background-size: cover; }
.spotrow { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -2px; padding: 0 2px; }
.spotrow::-webkit-scrollbar { display: none; }
#promo .promo.spot { flex: none; width: 84%; scroll-snap-align: start; }
#promo .promo .tx { display: grid; gap: 2px; min-width: 0; }
#promo .promo .lb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; }
#promo .promo b { font: 800 21px/1.05 var(--t-display); font-synthesis: none; color: var(--t-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#promo .promo .go { font-size: 15px; font-weight: 700; color: var(--t-accent); }
.st.featured { background: var(--featured); color: var(--featured-ink); }
.st.sponsored { background: var(--sponsored); color: var(--sponsored-ink); }

/* first screen: the city's promoted event, once per visitor, always skippable */
.intro { position: fixed; inset: 0; z-index: 50; background: var(--t-surface) var(--t-cover-pos) / cover no-repeat; color: var(--fg); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  padding-block: calc(16px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--t-surface) 50%, transparent), transparent 18%, transparent 34%, color-mix(in srgb, var(--t-surface) 80%, transparent) 54%, color-mix(in srgb, var(--t-surface) 97%, transparent) 72%); }
.intro > * { position: relative; }
.intro .brandrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.intro .brandrow > div { display: flex; gap: 12px; align-items: center; }
.intro .skip { border: 0; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.intro .mid { align-self: end; display: grid; gap: 12px; justify-items: start; max-width: 520px; width: 100%; margin-inline: auto; }
.tlogo { width: min(60vw, 280px); aspect-ratio: 1.42; background: center / contain no-repeat; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.intro .tlogo { justify-self: start; width: min(46vw, 200px); margin-bottom: 4px; animation: tilt 6s ease-in-out infinite alternate; }
@keyframes tilt { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.intro .date { margin: 0; font: 800 clamp(40px, 11vw, 64px)/.95 var(--t-display); font-synthesis: none; color: var(--t-accent); letter-spacing: .01em; }
.intro .tname { margin: 0; font: 800 clamp(30px, 8vw, 46px)/1 var(--t-display); font-synthesis: none; color: var(--fg); }
.intro .place { font-size: 17px; }
.intro .chip { display: inline-flex; align-items: baseline; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.intro .chip b { font: 800 21px var(--t-display); font-synthesis: none; color: var(--t-accent); }
.intro .extra { font-size: 15px; color: var(--muted); }
.intro .acts { display: grid; gap: 12px; max-width: 520px; width: 100%; margin-inline: auto; padding-top: 16px; }
.btn.tenant { background: var(--t-accent); color: var(--t-accent-ink); }
.intro .btn { font-size: 17px; padding: 16px 20px; text-align: center; text-decoration: none; }
.btn.tghost { background: transparent; color: var(--fg); border: 1.5px solid rgba(255, 255, 255, .4); }
.intro .fine { white-space: nowrap; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.intro.out { animation: shrink .7s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro[data-pre] .brandrow, .intro[data-pre] .tname, .intro[data-pre] .date, .intro[data-pre] .place, .intro[data-pre] .chip, .intro[data-pre] .acts { animation: none !important; }
@keyframes shrink { to { clip-path: circle(0 at var(--px, 50%) var(--py, 50%)); } }
.intro { clip-path: circle(150% at var(--px, 50%) var(--py, 50%)); }
.hoo-word { display: inline-flex; align-items: center; gap: 8px; font: 700 21px var(--f-word); letter-spacing: -.01em; color: #fff; text-transform: lowercase; }
.hoo-word svg { width: 28px; height: 32px; }

/* organiser event page: the same template as every event, with the brand kit applied */
.event.themed { background: var(--t-surface); }
.event.themed .hero { background-position: var(--t-cover-pos); }
.event.themed .hero::after { background: linear-gradient(to top, var(--t-surface) 2%, color-mix(in srgb, var(--t-surface) 25%, transparent) 55%, color-mix(in srgb, var(--t-surface) 50%, transparent) 100%); }
.event .tlogo { position: absolute; z-index: 2; left: 16px; top: calc(72px + env(safe-area-inset-top, 0px)); width: min(40vw, 176px); transform: rotate(-3deg); }
.event.themed h1 { font-family: var(--t-display); font-synthesis: none; color: var(--t-accent); }
.event.themed .mrow .ic { background: rgba(255, 255, 255, .06); color: var(--muted); }
.event.themed .cta { background: color-mix(in srgb, var(--t-surface) 92%, transparent); }
.event.themed .cta .p b { font-family: var(--t-display); font-synthesis: none; }
.tiers { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tier { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px; border-top: 1px solid var(--line); }
.tier:first-child { border-top: 0; }
.tier b { font: 800 21px var(--t-display, var(--display)); font-synthesis: none; }
.tier .amt { font: 800 21px var(--t-display, var(--display)); font-synthesis: none; color: var(--fg); text-align: right; }
.tier span { color: var(--muted); font-size: 13px; }
.tier.past { opacity: .55; }
.tier.past .amt { text-decoration: line-through; color: inherit; }
.tier.on { background: rgba(255, 255, 255, .05); }
.tier.on span { color: var(--fg); font-weight: 600; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.strip i { aspect-ratio: 1; border-radius: 12px; background: center / cover; }
.kitnote { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.kitnote b { color: var(--fg); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- top controls ---------- */
.top { position: absolute; z-index: 10; inset: 0 0 auto; display: grid; gap: 12px; padding-block: 12px 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.top > * { pointer-events: auto; min-width: 0; }
.privlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; min-height: 44px; padding: 0 12px; color: var(--muted); font: 600 14px var(--body); text-decoration: none; }
.privlink svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sdrop .shrow { display: flex; align-items: center; justify-content: space-between; }
.sdclear { border: 0; background: none; color: var(--muted); font: 600 14px var(--body); min-height: 44px; padding: 0 4px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.sdrop .dot svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sdrop .dot { display: grid; place-items: center; }
/* The map never shows through the search bar and chips: a backing fades from the night colour to clear below them. */
.top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--night) 0, color-mix(in srgb, var(--night) 92%, transparent) calc(100% - 46px), transparent); }
.pin.citybadge { display: grid; justify-items: center; gap: 2px; }
.pin.citybadge .ph { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(0,0,0,.5); display: grid; place-items: center; }
.pin.citybadge b { position: absolute; top: -6px; right: -10px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--sun); color: var(--sun-ink); font: 800 13px/26px var(--body); box-sizing: border-box; }
.homebtn { position: absolute; z-index: 9; left: 50%; transform: translateX(-50%); top: 214px; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; font: 700 15px var(--body); color: var(--fg); border: 1px solid var(--line); }
.homebtn svg { width: 20px; height: 20px; fill: none; stroke: var(--sun); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.bar { display: flex; align-items: center; gap: 8px; border-radius: 30px; padding: 8px 8px 8px 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.logo { width: 30px; height: 34px; flex: none; display: grid; }
.logo svg { width: 100%; height: 100%; }
.bar input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 8px 4px; outline: none; font-size: 15px; }
.bar input::placeholder { color: var(--muted); }
.pillbtn { flex: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); border-radius: 24px; padding: 8px 12px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.iconbtn { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); display: grid; place-items: center; }
.iconbtn svg, .round svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #FF5A5A; box-shadow: 0 0 0 2px var(--surface); }
.when { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 32px 2px 2px; margin-left: -2px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }

.when::-webkit-scrollbar { display: none; }
.biz { padding-top: 0; }
.biz .illo { width: min(40vw, 160px); }
@media (max-height: 600px) { .biz .illo { display: none; } }
.biz .hint { text-wrap: balance; }
a, button { -webkit-tap-highlight-color: transparent; }
.wabtn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 52px; width: min(360px, 100%); box-sizing: border-box; text-decoration: none; }
.wabtn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seg { flex: none; border: 1px solid var(--line); border-radius: 24px; padding: 8px 16px; font-weight: 600; font-size: 15px; color: var(--fg); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; transition: background .2s, color .2s; }
.seg[aria-pressed="true"] { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.seg .ld { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.seg[aria-pressed="true"] .ld { background: #0A7A3B; box-shadow: none; }
.seg .n { font-size: 12px; opacity: .7; font-weight: 700; }

.me { width: 18px; height: 18px; border-radius: 50%; background: #3d8bff; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(61, 139, 255, .25), 0 2px 8px rgba(0, 0, 0, .5); }
.near { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 0 16px; margin: 0 0 8px; white-space: nowrap; font-size: 13px; color: var(--muted, #aaa); }
.near button { min-height: 32px; border-radius: 999px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: inherit; font: inherit; }
.near button[aria-pressed="true"] { background: #fff; color: #111; border-color: #fff; }
.tools { position: absolute; z-index: 9; right: max(12px, env(safe-area-inset-right, 0px)); top: 208px; display: grid; gap: 12px; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--fg); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.here { position: absolute; z-index: 9; top: 260px; min-height: 44px; left: 50%; transform: translateX(-50%); border-radius: 24px; padding: 8px 16px; font-weight: 700; font-size: 15px; color: var(--fg); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.note { position: absolute; z-index: 9; top: 208px; left: max(12px, env(safe-area-inset-left, 0px)); right: 68px; border-radius: 16px; padding: 12px 16px; font-size: 15px; }

/* ---------- results sheet ---------- */
.sheet { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; display: grid; grid-template-rows: auto auto 1fr; padding-bottom: 8px;
  background: linear-gradient(to top, var(--night) 62%, rgba(6, 11, 22, 0) 100%); transition: top .3s cubic-bezier(.2, .8, .2, 1); top: max(calc(var(--toph, 202px) + 160px), calc(100% - 352px)); }
.sheet.full { z-index: 11; top: var(--toph, 118px); background: var(--night); border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-block: 16px 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.shead { position: relative; touch-action: none; }
.grab { position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .28); transform: translateX(-50%); }
.sheet.peek { top: max(calc(var(--toph, 202px) + 200px), calc(100% - 240px)); }
.sheet.tucked { top: calc(100% - 84px); }
.sheet.tucked #promo, .sheet.tucked #nearbar, .sheet.tucked #list { display: none; }
.sheet.tucked .shead { cursor: pointer; }
.sheet.dragging { transition: none; }
.day { margin: 8px 0 0; font: 700 13px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.shead h2 { margin: 0; font: 800 26px/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.shead p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.listtoggle { flex: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.sheet { overflow: hidden; }
.carousel { align-items: flex-start; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); scroll-padding-inline: 16px; }
.carousel::-webkit-scrollbar { display: none; }
.sheet.full .carousel { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; scroll-snap-type: none; gap: 16px; padding-bottom: 24px; }

.card { position: relative; flex: none; width: min(78vw, 330px); scroll-snap-align: start; border: 0; padding: 0; text-align: left; border-radius: var(--r); overflow: hidden; background: var(--surface); color: var(--fg); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transition: transform .2s; }
.sheet.full .card { width: 100%; }
.card:active { transform: scale(.98); }
.card .img { display: block; width: 100%; aspect-ratio: 16 / 9; background: center / cover no-repeat; }
.card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 11, 22, .97) 0%, rgba(6, 11, 22, .55) 45%, rgba(6, 11, 22, 0) 70%); }
.card .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; gap: 4px; }
.card .chips { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.card h3 { margin: 0; font: 800 21px/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .sub { color: #C9D3EA; font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .price { font-weight: 700; font-size: 15px; color: var(--fg); }
.card .sub svg, .mrow .ic svg { flex: none; }
.more { flex: none; width: min(60vw, 220px); border: 1px dashed var(--line); border-radius: var(--r); background: rgba(15, 26, 51, .8); color: var(--fg); font: 800 21px var(--display); display: grid; place-items: center; gap: 4px; padding: 16px; }
.sheet.full .more { width: 100%; min-height: 64px; }
.more span { font: 600 13px var(--body); color: var(--muted); }
.empty.one { gap: 12px; align-self: start; flex: none; }
.empty .btns { align-items: start; }
#promo { padding: 0 max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.gone { border: 1px dashed var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px; }
.gone b { font: 800 17px var(--display); }
.card.sel { box-shadow: 0 0 0 2px var(--sun), 0 14px 34px rgba(0, 0, 0, .5); }
.st { display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--body); letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: rgba(6, 11, 22, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--fg); }
.st.live { background: var(--live); color: #04200F; }
.st.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #04200F; animation: blink 1.4s infinite; }
.st.tonight { background: var(--sun); color: var(--sun-ink); }
.st.test { color: var(--test); background: rgba(40, 14, 48, .78); }
@keyframes blink { 50% { opacity: .25; } }
.empty { width: 100%; box-sizing: border-box; border: 1px dashed var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; background: rgba(15, 26, 51, .8); }
.empty h3 { margin: 0; font: 800 21px var(--display); }
.empty p { margin: 0; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn { border: 0; border-radius: 24px; padding: 12px 16px; font-weight: 700; background: var(--sun); color: var(--sun-ink); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: var(--fg); border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- event page ---------- */
.event { position: fixed; inset: 0; z-index: 30; background: var(--night); overflow-y: auto; animation: rise .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero { position: relative; height: min(58vh, 460px); background: center 20% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 0%, rgba(6, 11, 22, .2) 55%, rgba(6, 11, 22, .55) 100%); }
.hero .nav { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); display: flex; justify-content: space-between; gap: 12px; }
.hero .nav div { display: flex; gap: 12px; }
.hero .credit { position: absolute; z-index: 2; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(72px + env(safe-area-inset-top, 0px)); font-size: 12px; color: rgba(255, 255, 255, .75); text-shadow: 0 1px 4px #000; }
.ebody { position: relative; margin-top: -90px; z-index: 2; display: grid; gap: 16px; max-width: 720px; margin-inline: auto; padding-block: 0 140px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ebody h1 { margin: 0; font: 800 clamp(34px, 9vw, 52px)/1.0 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.meta { display: grid; gap: 12px; }
.mrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.mrow .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.mrow .ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mrow b { display: block; font-weight: 600; }
.mrow span { color: var(--muted); font-size: 15px; }
.np { color: var(--muted); font-style: italic; }
.ver { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; background: var(--surface); }
.ver .seal { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.ver .seal svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ver.ok .seal { background: rgba(70, 224, 138, .15); color: var(--live); }
.ver.pub .seal { background: rgba(150, 165, 200, .15); color: var(--muted); }
.ver p { margin: 0; font-size: 15px; color: var(--muted); }
.ver b { color: var(--fg); font-weight: 700; }
.h { margin: 8px 0 0; font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.desc { margin: 0; white-space: pre-line; color: #D5DDF0; font-size: 17px; line-height: 1.6; max-width: 62ch; }
.cal3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; justify-self: start; }
.cta { position: fixed; z-index: 31; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: rgba(6, 11, 22, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.cta .p b { display: block; font: 800 21px var(--display); }
.cta .p span { color: var(--muted); font-size: 13px; }
.cta .btn { white-space: nowrap; flex: none;  padding: 16px 24px; font-size: 17px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }

/* ---------- panels (bottom sheets) ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55); display: grid; align-items: end; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; max-height: 90%; overflow-y: auto; display: grid; gap: 16px; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
  padding-block: 16px calc(24px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); animation: rise .3s cubic-bezier(.2, .8, .2, 1); }
.panel h2 { margin: 0; font: 800 26px/1.1 var(--display); text-wrap: balance; }
.panel .head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-size: 21px; line-height: 1; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 24px; padding: 12px 16px; font-weight: 600; }
.opt .ci { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: 8px; vertical-align: -5px; }
.opt .ci svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.opt[aria-pressed="true"] { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.rows { display: grid; gap: 8px; }
.rowbtn { text-align: left; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 16px; padding: 16px; display: grid; gap: 2px; }
.rowbtn[aria-pressed="true"] { border-color: var(--sun); }
.rowbtn span { color: var(--muted); font-size: 13px; }
.share { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share > * { border: 1px solid var(--line); background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 16px 4px; text-align: center; font-weight: 600; font-size: 13px; color: var(--fg); text-decoration: none; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select { border: 1px solid var(--line); background: var(--night); border-radius: 14px; padding: 12px 16px; width: 100%; box-sizing: border-box; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input { text-align: center; font: 800 26px var(--display); border: 1px solid var(--line); background: var(--night); border-radius: 14px; padding: 12px 0; width: 100%; min-width: 0; box-sizing: border-box; }
.err { color: #FF9C9C; font-size: 13px; }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: #FF6B6B !important; }
.code input:focus { border-color: var(--sun); outline: none; }
.notif { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 16px; padding: 12px; }
.notif i { width: 54px; height: 54px; border-radius: 12px; background: center / cover; }
.notif b { display: block; }
.notif span { color: var(--muted); font-size: 13px; }
.qrbox { justify-self: center; width: min(250px, 72vw); aspect-ratio: 1; background: #fff; border-radius: 16px; padding: 16px; box-sizing: border-box; }
.qrbox svg { width: 100%; height: 100%; display: block; }
.passcode { justify-self: center; font: 800 26px var(--display); letter-spacing: .25em; }
.facts { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }

/* ---------- other tabs ---------- */
/* No scroll anchoring: a pressed button's :active scale made Chrome jump the form ~76px between finger-down and
   finger-up, so a tap on Publish landed on "I pay fee" instead (2 Dec 2026). Pages redraw whole, so nothing needs it. */
.page { height: 100%; overflow-y: auto; overflow-anchor: none; box-sizing: border-box; padding-block: calc(24px + env(safe-area-inset-top, 0px)) 60px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page > div { max-width: 640px; margin-inline: auto; display: grid; gap: 16px; }
.page h1 { margin: 0; font: 800 44px/1 var(--display); letter-spacing: -.02em; }
.lede { margin: 0; color: var(--muted); font-size: 17px; }
.box { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 8px; color: var(--fg); }
.mini i { width: 72px; height: 72px; border-radius: 12px; background: center / cover; }
.mini b { display: block; font: 700 17px var(--display); }
.mini span { color: var(--muted); font-size: 13px; }
.ticket { position: relative; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ticket .timg { height: 120px; background: center / cover; position: relative; }
.ticket .timg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface), rgba(15, 26, 51, 0)); }
.ticket .tb { padding: 0 16px 16px; display: grid; gap: 4px; margin-top: -26px; position: relative; }
.ticket .tb b { font: 800 21px var(--display); }
.ticket .perf { position: relative; border-top: 2px dashed var(--line); margin: 0 16px; }
.ticket .perf::before, .ticket .perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 1px solid var(--line); }
.ticket .perf::before { left: -30px; } .ticket .perf::after { right: -30px; }
.ticket .tf { padding: 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sugs { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sugs div { padding: 12px 16px; }
.sugs div[aria-selected="true"] { background: var(--surface-2); font-weight: 700; }

.tabs { position: relative; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(6, 11, 22, .94); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.tab { border: 0; background: none; display: grid; justify-items: center; gap: 4px; padding: 8px 0 12px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="page"] { color: var(--sun); }
.banner { justify-self: center; margin: 4px 0; text-align: center; font: 700 12px var(--body); letter-spacing: .04em; color: var(--test); background: rgba(40, 14, 48, .85); padding: 4px 12px; border-radius: 99px; white-space: normal; pointer-events: none; }
.toast { pointer-events: none; position: fixed; z-index: 60; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); background: var(--fg); color: var(--night); border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 600; max-width: min(92vw, 460px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }


/* ---------- calendar profile, invites, organiser ---------- */
.prof { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); font: 800 21px var(--display); }
.avatar.sm { width: 32px; height: 32px; font-size: 13px; border: 2px solid var(--night); margin-left: -8px; }
.avatar.sm:first-child { margin-left: 0; }
.prof h1 { font-size: 34px !important; }
.prof .hint { margin: 4px 0 0; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle button { border: 0; background: none; color: var(--muted); border-radius: 999px; padding: 8px 16px; min-height: 44px; font-weight: 700; font-size: 13px; }
.toggle button[aria-pressed="true"] { background: var(--fg); color: var(--night); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
@media (max-width: 400px) { .month { margin-inline: -12px; gap: 0; } .month button, .month span.d { min-height: 44px; } }
.month .wd { font: 700 12px var(--body); color: var(--muted); padding-bottom: 4px; }
.month button, .month span.d { position: relative; aspect-ratio: 1; min-height: 0; min-width: 0; border: 0; border-radius: 12px; background: none; color: var(--muted); font: 600 15px var(--body); display: grid; place-items: center; }
.month button { background: var(--surface); color: var(--fg); }
.month button i { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.month button i b { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.month .today { box-shadow: inset 0 0 0 2px var(--fg); }
.calrow { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.calrow > button:first-child { all: unset; display: contents; cursor: pointer; }
.calrow i.t { width: 56px; height: 56px; border-radius: 12px; background: center / cover; }
.calrow b { display: block; font: 700 17px var(--display); }
.calrow span { color: var(--muted); font-size: 13px; }
.calrow.off { opacity: .45; }
.eye { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); display: grid; place-items: center; padding: 0; }
.eye svg, .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faces { display: flex; align-items: center; gap: 12px; }
.faces > div { display: flex; }
.rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsvp .btn { padding-inline: 8px; }
.rsvp .btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--fg); }
.invite { position: fixed; inset: 0; z-index: 45; background: var(--night); overflow-y: auto; display: grid; align-content: start; }
.invite .hero { height: min(42vh, 340px); }
.invite .ebody { margin-top: -64px; padding-bottom: 40px; }
.seg2 { display: flex; gap: 8px; flex-wrap: wrap; }
.stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.stat b { font: 800 21px var(--display); }
.stat span { color: var(--muted); font-size: 12px; }
.trow { display: grid; grid-template-columns: 1fr 104px 72px 44px; gap: 8px; align-items: end; }
.qty { display: inline-grid; grid-template-columns: 44px 32px 44px; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; color: var(--fg); font-size: 21px; }
.tline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tline:first-child { border-top: 0; }
.door { border-radius: 24px; padding: 24px; display: grid; gap: 8px; text-align: center; }
.door b { font: 800 34px var(--display); }
.door.ok { background: #0F3B24; color: #CFF7DF; }
.door.bad { background: #3B0F14; color: #FFD6DA; }
.door.used { background: #3A2E0A; color: #FFE9A8; }
.kitpv { border-radius: 16px; overflow: hidden; }

/* ---------- lifecycle: trip, week strip, checkout, share kit, door ---------- */
.st.cancelled { background: #FF6B6B; color: #2A0000; }
.st.ended { background: #3A4358; color: #D7DCE6; }
.trip { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.trip .field { flex: 1 1 120px; }
.week { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.week::-webkit-scrollbar { display: none; }
.wk { flex: none; width: 56px; min-height: 72px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg); display: grid; justify-items: center; align-content: center; gap: 4px; padding: 8px 0; }
.wk small { font: 700 12px var(--body); color: var(--muted); text-transform: uppercase; }
.wk b { font: 800 17px var(--display); }
.wk i { width: 20px; height: 20px; border-radius: 50%; background: center / cover; box-shadow: 0 0 0 2px var(--surface); }
.wk.empty { background: none; color: var(--muted); }
.wk.out { opacity: .35; }
.wk.today { border-color: var(--fg); }
.wk .tk { width: 16px; height: 16px; color: var(--fg); }
.clash { display: flex; gap: 8px; align-items: center; color: #FFB4B4; font-size: 13px; }
.clash svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.chips2 { display: flex; gap: 8px; flex-wrap: wrap; }
.chip2 { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; background: none; color: var(--fg); font-weight: 600; }
.chip2[aria-pressed="true"] { background: var(--fg); color: var(--night); border-color: var(--fg); }
.done { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 0; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: #0F3B24; color: #46E08A; display: grid; place-items: center; }
.done .ok svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.done b { font: 800 26px var(--display); }
.names { display: grid; gap: 8px; }
.kit { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.poster { flex: none; width: 200px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; position: relative; background: var(--t-surface, var(--surface)) center / cover; display: grid; align-content: end; padding: 12px; box-sizing: border-box; gap: 4px; }
.poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--t-surface, #000) 25%, transparent 70%); }
.poster > * { position: relative; }
.poster b { font: var(--t-weight, 800) 26px/1 var(--t-display, var(--display)); color: var(--t-accent, var(--sun)); font-synthesis: none; }
.poster span { font-size: 12px; color: var(--fg); }
.poster .q { position: absolute; top: 12px; right: 12px; width: 56px; background: #fff; border-radius: 8px; padding: 4px; }
.poster.story { width: 144px; aspect-ratio: 9 / 16; }
.poster.flyer { background: #fff; align-content: center; justify-items: center; color: var(--night); }
.poster.flyer::before { display: none; }
.poster.flyer span { color: var(--night); font-weight: 700; }
.bars { display: grid; gap: 8px; }
.bar2 { display: grid; gap: 4px; }
.bar2 div { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar2 div i { display: block; height: 100%; background: var(--fg); border-radius: 99px; }
.bar2 span { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.viewfinder { position: relative; aspect-ratio: 1; border-radius: 24px; background: #000 radial-gradient(circle at 50% 40%, #1b2440, #000 70%); display: grid; place-items: center; overflow: hidden; }
.viewfinder::before { content: ""; width: 58%; aspect-ratio: 1; border-radius: 16px; box-shadow: 0 0 0 2000px rgba(0, 0, 0, .35); outline: 3px solid var(--fg); outline-offset: -3px; }
.viewfinder .lbl { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--fg); font-weight: 600; }
.viewfinder .off { position: absolute; top: 12px; left: 12px; }
.drop { display: grid; place-items: center; gap: 4px; aspect-ratio: 16 / 9; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--surface) center / cover; color: var(--muted); cursor: pointer; text-align: center; }
.drop.logo { aspect-ratio: 1; width: 96px; }
.drop svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars { display: flex; gap: 4px; }
.stars button { width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 26px; padding: 0; }
.stars button[aria-pressed="true"] { color: var(--fg); }
textarea { font: inherit; color: inherit; border: 1px solid var(--line); background: var(--night); border-radius: 14px; padding: 12px 16px; width: 100%; box-sizing: border-box; min-height: 96px; }


/* ---------- Moments as stories (D20): anyone watches, people at the event post ---------- */
.rings { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.ring { flex: none; display: grid; justify-items: center; gap: 4px; border: 0; background: none; color: var(--fg); font: 600 12px var(--body); width: 76px; padding: 0; }
.ring i { width: 68px; height: 68px; border-radius: 50%; background: var(--surface) center / cover; box-shadow: 0 0 0 3px var(--night), 0 0 0 6px var(--t-accent, var(--sun)); }
.ring span { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin.hasmom .ph { box-shadow: 0 0 0 3px var(--night), 0 0 0 6px #FF5A7A; }
.story { position: fixed; inset: 0; z-index: 46; background: #000; display: grid; }
.story img, .story video { width: 100%; height: 100%; object-fit: contain; }
/* Instagram's bar: thin equal segments, seen ones full, the current one filling. Its own class names: the checkout's
   ".done" screen once leaked into this bar and swelled every seen segment into a fat pill (owner, 2 Dec 2026). */
.story .prog { position: absolute; z-index: 2; top: calc(8px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; display: flex; gap: 3px; pointer-events: none; }
.story .prog i { all: unset; display: block; flex: 1 1 0; min-width: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story .prog i b { all: unset; display: block; height: 100%; width: 0; background: #fff; }
.story .prog i.seg-seen b { width: 100%; }
.story .prog i.seg-on b { animation: fill 5s linear forwards; }
.story.held .prog i.seg-on b, .story.held video { animation-play-state: paused; }
.story { touch-action: none; transition: transform .2s, opacity .2s; }
@keyframes fill { to { width: 100%; } }
.story .top { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; }
.story .top b { flex: 1; text-shadow: 0 1px 4px #000; }
.story .tapL, .story .tapR { position: absolute; top: 80px; bottom: 96px; width: 40%; border: 0; background: none; }
.story .tapL { left: 0; } .story .tapR { right: 0; }
.story .bot { position: absolute; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 8px; align-items: center; }
.story .bot .btn { flex: 1; }
/* ---------- motion: quick, physical, never in the way (all off under reduced motion) ---------- */
.btn, .chip2, .seg, .round, .opt, .eye, .wk, .card, .mini, .notif, .tab, .promo, .love { transition: transform .16s cubic-bezier(.2, .8, .2, 1), background-color .16s, color .16s, box-shadow .16s; }
.btn:active, .chip2:active, .seg:active, .round:active, .opt:active, .eye:active, .wk:active, .mini:active, .notif:active, .tab:active, .love:active { transform: scale(.94); }
@media (hover: hover) { .card:hover, .mini:hover { transform: translateY(-2px); } }
.panel { animation: sheetIn .34s cubic-bezier(.2, 1.15, .3, 1); }
@keyframes sheetIn { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.burst { animation: burst .42s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes burst { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.done .ok svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .1s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done .ok { animation: burst .5s cubic-bezier(.2, 1.4, .4, 1); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: 40%; left: 50%; width: 8px; height: 12px; border-radius: 2px; animation: fly 1s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
.skel { flex: none; width: min(72vw, 300px); aspect-ratio: 16 / 9; border-radius: 16px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.2s linear infinite; }
.sheet.full .skel, .left .skel { width: 100%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.n.tick { animation: tick .3s ease-out; }
@keyframes tick { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- illustrations ---------- */
.illo { width: min(56vw, 220px); height: auto; display: block; margin: 8px auto; }
.illo .float { animation: float 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.illo .blink { animation: blink 5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes float { to { transform: translateY(-6px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.zero { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 16px 0; }
.zero h2 { margin: 0; font: 800 26px var(--display); }
.zero p { margin: 0; color: var(--muted); max-width: 32ch; }

/* ---------- Moments ---------- */
.evchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.evchip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--fg); font-weight: 700; }
.evchip i { width: 36px; height: 36px; border-radius: 50%; background: var(--t-surface, var(--surface)) center / 86% no-repeat; }
.evchip[aria-pressed="true"] { background: var(--fg); color: var(--night); }
.momgrid { display: grid; gap: 16px; }
@media (min-width: 900px) { .momgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } .momgrid .mom img, .momgrid .mom video { aspect-ratio: 4 / 5; max-height: none; } }
.mom { position: relative; border-radius: 24px; overflow: hidden; background: var(--surface); }
.mom img, .mom video { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: cover; background: #000; }
.mom .bar3 { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 12px; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.mom .bar3 b { flex: 1; font: 700 15px var(--body); text-shadow: 0 1px 4px #000; }
.mom .tag { position: absolute; top: 12px; left: 12px; }
.love, .more2 { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; padding: 0; }
.love svg, .more2 svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.love[aria-pressed="true"] { color: #FF5A7A; }
.love[aria-pressed="true"] svg { fill: currentColor; }
.mom.removed img, .mom.removed video { filter: blur(24px) brightness(.5); }
.mom.removed .gone2 { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-weight: 700; }
.upl { height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.upl i { display: block; height: 100%; width: 0; background: var(--fg); animation: up 1.2s ease-out forwards; }
@keyframes up { to { width: 100%; } }
.imin { width: min(80vw, 300px); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; position: relative; justify-self: center; background: center / cover; display: grid; align-content: end; padding: 20px; box-sizing: border-box; }
.imin::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85) 20%, transparent 65%); }
.imin > * { position: relative; }
.imin b { font: 800 44px/1 var(--t-display, var(--display)); color: var(--t-accent, var(--sun)); font-synthesis: none; }
.imin span { color: #fff; font-weight: 600; }
.code-snip { font: 13px ui-monospace, Menlo, monospace; background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: 12px; overflow-x: auto; white-space: pre; }
.plan { scroll-snap-align: start; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; flex: none; width: min(78vw, 320px); box-sizing: border-box; }
.sheet.full .plan, .left .plan { width: 100%; }
.plan .stop { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; }
.plan .stop b { font-weight: 700; }
.plan .leg { color: var(--muted); font-size: 13px; padding-left: 72px; }
@media (min-width: 900px), (orientation: landscape) and (max-height: 500px) and (min-width: 600px) {
  .explore { display: grid; grid-template-columns: 430px 1fr; height: 100%; }
  .left { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 0; background: var(--night); border-right: 1px solid var(--line); z-index: 5; }
  .top { position: static; padding-inline: 16px; padding-bottom: 8px; }
  .sheet, .sheet.full { position: static; top: auto; background: none; border: 0; min-height: 0; }
  .carousel, .sheet.full .carousel { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; scroll-snap-type: none; gap: 16px; padding-bottom: 24px; min-height: 0; }
  .card { width: 100%; }
  .listtoggle { display: none; }
  .mapwrap { position: relative; }
  .tools, .here, .note { top: 16px; }
  .homebtn { top: 16px; }
  .top::before { display: none; }
  .osm { top: auto; }
  .scrim { align-items: center; justify-items: center; }
  .panel { border-radius: 24px; border-bottom: 1px solid var(--line); max-width: 520px; width: 100%; }
  .event { left: auto; width: min(560px, 100%); border-left: 1px solid var(--line); box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
  .cta { left: auto; width: min(560px, 100%); }
  .hero { height: 380px; }
  .app { grid-template-rows: 1fr; }
  .osm { top: auto; left: auto; bottom: 12px; right: 12px; }
  .tabs, .banner { position: fixed; left: 0; width: 430px; z-index: 6; }
  .tabs { bottom: 0; }
  .banner { bottom: 64px; margin: 0; left: 215px; transform: translateX(-50%); width: auto; }
  .left { padding-bottom: 96px; }
  .page { padding-left: 446px; }
  .intro { background-size: auto 100%; background-position: center top; }
  .intro::before { background: linear-gradient(to right, var(--t-surface) 0, transparent 30%, transparent 70%, var(--t-surface) 100%), linear-gradient(to bottom, transparent 40%, color-mix(in srgb, var(--t-surface) 95%, transparent) 75%); }
}
@media (max-width: 599px), (max-width: 899px) and (min-height: 501px) { .left { display: contents; } .mapwrap { position: absolute; inset: 0; z-index: 0; } }
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1100px) {
  .explore { grid-template-columns: 340px 1fr; }
  .tabs, .banner { width: 340px; }
  .banner { left: 170px; bottom: 56px; }
  .left { padding-bottom: 80px; }
  .page { padding-left: 356px; }
  .tab { padding-block: 4px; }
  .banner { max-width: 296px; }
  .event, .cta { left: 340px !important; width: auto !important; }
}

/* ---------- desktop and laptop (owner, 2 Dec 2026: "no thought was given to how customers experience this on web") ----------
   A slim navigation rail on the left (as Google Maps and Airbnb do on desktop), Explore = event list + map,
   every other page uses the full width centred, chips stay on one scrolling line, the event page docks to the right. */
@media (min-width: 900px) {
  :root { --rail: 84px; }
  .tabs { position: fixed !important; left: 0 !important; top: 0; bottom: 0 !important; width: var(--rail) !important; height: auto; z-index: 20;
    display: flex !important; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 6px; padding: 18px 8px; box-sizing: border-box;
    border-top: 0; border-right: 1px solid var(--line); background: var(--night); }
  .tabs .tab { flex: none; min-height: 64px; border-radius: 14px; padding: 8px 4px; }
  .tabs .tab[aria-current="page"] { background: rgba(255, 255, 255, .06); }
  .app { padding-left: var(--rail); box-sizing: border-box; }
  .explore { grid-template-columns: 420px 1fr; }
  .left { padding-bottom: 16px; }
  .page { padding-left: 32px; padding-right: 32px; }
  .banner { left: calc(var(--rail) + 210px); bottom: 16px; }
  .grab { display: none; }
  .when, #shorts { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); padding-right: 24px; }
  .event { top: 0; bottom: 0; right: 0; left: auto !important; width: min(520px, 44vw) !important; box-sizing: border-box; border-left: 1px solid var(--line); box-shadow: -24px 0 48px rgba(0, 0, 0, .55); }
  .cta { right: 0; left: auto !important; width: min(520px, 44vw) !important; box-sizing: border-box; }
  .hero { height: 340px; }
}
@media (min-width: 1500px) { .explore { grid-template-columns: 460px 1fr; } }
/* search dropdown (owner, 2 Dec: "see what a searchable drop down should look like") */
.sdrop { position: relative; z-index: 12; max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.sdrop .sh { color: var(--muted); font: 700 12px var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 10px 10px 4px; }
.sdrop .sdhelp { display: grid; gap: 8px; padding: 14px 16px; }
.sdhelp p { margin: 0; color: var(--muted); }
.sdhelp .btn { justify-self: start; }
.sdnote { color: var(--muted); font-size: 14px; padding: 8px 10px 2px; }
.sdrop .row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
.sdrop .row:hover, .sdrop .row[aria-selected="true"] { background: var(--surface-2); }
.sdrop .row i { flex: none; width: 40px; height: 40px; border-radius: 10px; background-size: cover; background-position: center; }
.sdrop .row i.dot { width: 28px; height: 28px; border-radius: 14px; margin: 0 6px; }
.sdrop .row span { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sdrop .row b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdrop .row b mark { background: none; color: var(--accent, #F4C70A); }
.sdrop .row small { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdrop .row em { font-style: normal; color: var(--muted); font-size: 14px; }
.sdrop .chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 10px 8px; }
.sdrop .chips button { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: 600 15px var(--body); }
/* closest results when a search finds nothing exact */
.closest { flex: 0 0 100%; margin: 0 0 4px; color: var(--muted); font-size: 15px; }
/* ---------- craft layer (D102): one light from above, real depth, taps that answer ---------- */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); --ease: cubic-bezier(.2, .8, .2, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
/* Cards: ambient + key shadow, a hairline of light on the top edge, press sinks, photo leans in */
.card { box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 2px 4px rgba(0, 0, 0, .35), 0 18px 40px -12px rgba(0, 0, 0, .7);
  transition: transform .28s var(--spring), box-shadow .28s var(--ease); }
.card .img { transition: transform .6s var(--ease); }
.card:active { transform: scale(.97); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 1px 2px rgba(0, 0, 0, .4), 0 8px 18px -10px rgba(0, 0, 0, .7); }
.card:active .img { transform: scale(1.04); }
@media (hover: hover) { .card:hover { transform: translateY(-3px); } .card:hover .img { transform: scale(1.03); } }
.card.sel { box-shadow: 0 0 0 2px var(--sun), 0 18px 44px -12px rgba(244, 199, 10, .28), 0 18px 40px -12px rgba(0, 0, 0, .7); }
#list .card { animation: cardIn .5s var(--ease) both; }
#list .card:nth-child(2) { animation-delay: .05s; } #list .card:nth-child(3) { animation-delay: .1s; } #list .card:nth-child(4) { animation-delay: .15s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
/* Event page: the photo settles, the words arrive in order */
.event .hero { animation: settle 1.1s var(--ease) both; }
@keyframes settle { from { filter: brightness(.55) saturate(.7); } }
.event h1, .event .mrow { animation: rowIn .5s var(--ease) both; }
.event h1 { animation-delay: .08s; } .event .mrow:nth-of-type(1) { animation-delay: .14s; } .event .mrow:nth-of-type(2) { animation-delay: .19s; } .event .mrow:nth-of-type(3) { animation-delay: .24s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }
.event .mrow .ic { background: linear-gradient(180deg, #1D2E57, #142245); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 4px 10px -4px rgba(0, 0, 0, .6); }
/* The ticket bar: frosted, lit from above; the button invites the tap and answers it */
.cta { backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -1px 0 rgba(255, 255, 255, .06), 0 -18px 40px -20px rgba(0, 0, 0, .8); }
.cta a.btn, .intro .acts a.btn { position: relative; overflow: hidden; gap: 8px; background: linear-gradient(180deg, #FFD83A, var(--sun) 55%, #E0B400);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 8px 22px -6px rgba(244, 199, 10, .55), 0 2px 4px rgba(0, 0, 0, .35);
  transition: transform .22s var(--spring), box-shadow .22s var(--ease); }
.cta a.btn::after, .intro .acts a.btn::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .22s var(--spring); }
.cta a.btn:active, .intro .acts a.btn:active { transform: scale(.96); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 3px 10px -4px rgba(244, 199, 10, .5); }
.cta a.btn:active::after, .intro .acts a.btn:active::after { transform: translateX(4px); }
@media (hover: hover) { .cta a.btn:hover::after, .intro .acts a.btn:hover::after { transform: translateX(3px); } }
.cta a.btn::before, .intro .acts a.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 1.1s .9s var(--ease) 1 both; pointer-events: none; }
@keyframes sheen { to { transform: translateX(120%); } }
.cta { animation: barUp .25s var(--ease) both; }
@keyframes barUp { from { transform: translateY(100%); } }
/* Opening screen: the photo breathes, everything arrives in order */
.intro .brandrow { animation: rowIn .5s .05s var(--ease) both; }
.intro .tlogo { animation: logoIn .7s .15s var(--spring) both, tilt 6s 1s ease-in-out infinite alternate; }
@keyframes logoIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
.intro .date { animation: rowIn .55s .3s var(--ease) both; } .intro .tname, .intro .place { animation: rowIn .55s .38s var(--ease) both; }
.intro .chip, .intro .extra { animation: rowIn .55s .46s var(--ease) both; } .intro .acts { animation: rowIn .6s .56s var(--ease) both; }
.intro .chip b { text-shadow: 0 0 18px color-mix(in srgb, var(--t-accent) 60%, transparent); }
/* Taps everywhere answer the finger */
.seg, .chip2, .round, .tab, .opt, .btn { transition: transform .2s var(--spring), background-color .16s, color .16s, box-shadow .2s var(--ease); }
.seg:active, .chip2:active, .round:active, .opt:active { transform: scale(.94); }
.tab:active svg { transform: scale(.86); } .tab svg { transition: transform .2s var(--spring); }
.tab[aria-current="page"] svg { animation: tabPop .35s var(--spring); }
@keyframes tabPop { 40% { transform: scale(1.18) translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
