/* Destination Ghost Companion.
   Same palette and type as destinationghost.com: night ink, haint blue, moonlight, fog,
   gaslight amber for "live" moments. Instrument Serif for display, Hanken Grotesk to read.
   Built for a phone held in one hand, at night, outdoors. */

:root {
	--ink: #05070b;
	--ink-2: #0a0f18;
	--ink-3: #111926;
	--haint: #1d8efb;
	--haint-pale: #9fd3f5;
	--haint-deep: color-mix(in srgb, var(--haint) 80%, #000);
	--moon: #f2f5f8;
	--fog: #8c97a6;
	--gas: #e9b35f;
	--line: rgb(159 211 245 / .14);
	--line-2: rgb(159 211 245 / .26);
	--serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
	--sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--r: 16px;
	--tab-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--fs: 1.0625rem;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--ink); color: var(--moon); font: 400 var(--fs)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--haint-pale); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.i { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--haint-pale); outline-offset: 3px; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--haint-pale); }
.kicker { display: block; color: var(--haint-pale); font: 700 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .65em 1.25em; border: 0; border-radius: 999px; background: var(--haint-deep); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: rgb(159 211 245 / .08); color: var(--moon); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { min-height: 44px; padding: .5em 1em; font-size: .92rem; }
.btn--lg { min-height: 58px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; cursor: default; }
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .2em .65em; border-radius: 999px; font: 700 .72rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.pill .i { width: 1.1em; height: 1.1em; }
.pill--live { background: rgb(233 179 95 / .16); color: var(--gas); }
.pill--done { background: rgb(140 151 166 / .16); color: var(--fog); }

/* ---------- plain pages ---------- */
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; padding-top: max(14px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.site-top__logo { display: inline-flex; align-items: center; gap: 8px; color: var(--moon); text-decoration: none; font-weight: 700; }
.site-top__logo img { height: 38px; width: auto; }
.site-top__k { color: var(--fog); font-size: .82rem; }
.home, .page { max-width: 720px; margin: 0 auto; padding: 28px 18px 60px; }
.home__h, .page__h { font: 400 clamp(2.2rem, 9vw, 3.2rem)/1.02 var(--serif); }
.home__sub { color: var(--fog); margin: 10px 0 24px; }
.tourlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tourcard { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--moon); text-decoration: none; }
.tourcard__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink-3); display: grid; place-items: center; color: var(--fog); }
.tourcard__img img { width: 100%; height: 100%; object-fit: cover; }
.tourcard__img .i { width: 40%; height: 40%; }
.tourcard__body { display: grid; gap: 4px; justify-items: start; }
.tourcard__t { font: 400 1.45rem/1.1 var(--serif); }
.tourcard__m { color: var(--fog); font-size: .9rem; }
.home__guides { margin-top: 40px; text-align: center; font-size: .9rem; }
.home__guides a { color: var(--fog); }

/* ---------- companion app ---------- */
.app { min-height: 100dvh; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 16px); }
.app-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); background: rgb(5 7 11 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.app-top__logo { display: grid; place-items: center; min-width: 44px; height: 44px; color: var(--haint-pale); }
.app-top__logo img { height: 30px; width: auto; max-width: 92px; object-fit: contain; }
@media (max-width: 380px) { .app-top__logo img { max-width: 64px; } }
.app-top__title h1 { font: 400 1.32rem/1.05 var(--serif); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-top__tools { display: flex; gap: 4px; }
.tool { display: grid; justify-items: center; gap: 1px; min-width: 52px; min-height: 48px; padding: 4px 6px; border: 0; border-radius: 12px; background: transparent; color: var(--fog); font-size: .64rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.tool .i { width: 22px; height: 22px; }
.tool[aria-pressed="true"] { background: rgb(29 142 251 / .16); color: var(--haint-pale); }

/* Guide card */
.guide { margin: 12px 12px 0; padding: 12px; border-radius: var(--r); background: linear-gradient(135deg, rgb(29 142 251 / .14), rgb(17 25 38 / .9)); box-shadow: inset 0 0 0 1px var(--line-2); }
.guide__row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.guide__photo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gas); background: var(--ink-3); }
.guide__k { color: var(--fog); font-size: .78rem; }
.guide__name { font: 400 1.4rem/1.05 var(--serif); }
.guide__txt p { margin: 0; }
.guide__at { margin: 0; padding: 0; border: 0; background: none; color: var(--gas); font-size: .88rem; font-weight: 600; text-align: left; line-height: 1.35; }
button.guide__at { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.guide__follow { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--fog); font-size: .9rem; }
.guide__none { color: var(--fog); font-size: .92rem; margin: 0; }
.guide__pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.guide__pick button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 14px 4px 4px; border: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.guide__pick img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.guide__map { min-height: 44px; }

/* Toggle switch */
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--fog); transition: transform .2s var(--ease), background .2s; }
.switch input:checked { background: var(--haint-deep); }
.switch input:checked::after { transform: translateX(18px); background: #fff; }

/* Banner when the guide moves on */
.banner { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--haint-deep); color: #fff; font-weight: 600; box-shadow: 0 18px 40px -12px #000; animation: rise .35s var(--ease); }
.banner p { flex: 1; margin: 0; }
.banner .btn { min-height: 40px; background: #fff; color: #0b2a4a; }
.banner__x { border: 0; background: none; color: #fff; padding: 8px; cursor: pointer; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.flash { animation: flash .9s 2; }
@keyframes flash { 50% { background: var(--gas); color: #000; } }

/* Panes and tab bar */
.panes { max-width: 760px; margin: 0 auto; }
.pane { padding: 14px 12px 0; }
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2px; padding: 6px 8px calc(6px + var(--safe-b)); background: rgb(10 15 24 / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tab { flex: 1 1 0; max-width: 140px; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 4px; border: 0; border-radius: 12px; background: none; color: var(--fog); font-size: .74rem; font-weight: 700; cursor: pointer; }
.tab .i { width: 24px; height: 24px; }
.tab.is-on { color: var(--moon); background: rgb(29 142 251 / .16); }
.tab.is-on .i { color: var(--haint-pale); }

/* Stories: one page at a time */
.intro { margin: 0 0 16px; color: color-mix(in srgb, var(--moon) 86%, var(--fog)); }
.dhh-note { display: none; }
.pages { display: grid; gap: 14px; }
.pg { border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); padding: 16px 14px 18px; scroll-margin-top: 84px; }
.is-paged .pg.in-fwd { animation: pgIn .32s var(--ease); }
.is-paged .pg.in-back { animation: pgBack .32s var(--ease); }
@keyframes pgIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes pgBack { from { opacity: 0; transform: translateX(-24px); } }
.pg__h { font: 400 1.9rem/1.05 var(--serif); margin: 0 0 10px; }
.toc { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 8px; }
.toc__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 8px 10px; border-radius: 12px; background: var(--ink-3); color: var(--moon); text-decoration: none; }
.toc__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.3rem/1 var(--serif); color: var(--haint-pale); }
.toc__n .i { width: 20px; height: 20px; color: var(--gas); }
.toc__t { display: grid; font: 400 1.2rem/1.2 var(--serif); }
.toc__flag:empty { display: none; }
.toc__flag { font: 700 .74rem/1.4 var(--sans); color: var(--fog); }
.toc__img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.toc__item.is-here { box-shadow: inset 0 0 0 2px var(--gas); }
.toc__item.is-here .toc__n { background: var(--gas); color: #1a1205; box-shadow: none; }
.toc__item.is-here .toc__flag { color: var(--gas); }
.toc__item.is-skipped { opacity: .55; }
.toc__item.is-skipped .toc__t { text-decoration: line-through; text-decoration-thickness: 1px; }
.toc__item--bonus .toc__flag { color: var(--gas); }

.stop__top { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: start; margin-bottom: 14px; }
.stop__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.5rem/1 var(--serif); color: var(--haint-pale); }
.stop__n .i { width: 22px; height: 22px; }
.stop__kick { margin: 0; color: var(--fog); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stop__title { margin: 2px 0 0; font: 400 1.75rem/1.08 var(--serif); }
.stop__flag { margin: 6px 0 0; }
.stop__flag:empty { display: none; }
.stop__flag { justify-self: start; display: inline-block; padding: .15em .65em; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.stop__lockic .i { width: 24px; height: 24px; color: var(--fog); }
.stop__photo { margin: 0 -14px 14px; }
.stop__photo img { width: 100%; max-height: 56vh; object-fit: cover; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stop__audio { margin: 0 0 14px; padding: 12px; border-radius: 12px; background: var(--ink-3); }
.stop__audiolabel { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--haint-pale); font-weight: 700; font-size: .92rem; }
.stop__audio audio { width: 100%; }
.dhh-only { display: none; }
.stop__story { font-size: var(--fs); }
.stop__tx { margin: 14px 0 0; border-radius: 12px; background: var(--ink-3); }
.stop__tx summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; color: var(--haint-pale); font-weight: 700; cursor: pointer; list-style: none; }
.stop__tx summary::-webkit-details-marker { display: none; }
.stop__tx .prose { padding: 0 14px 14px; }
.stop__go { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

/* More from this stop */
.more { margin: 22px -14px 0; padding: 18px 14px 4px; border-top: 1px solid var(--line); }
.more__h { margin: 0 0 14px; font: 400 1.45rem/1.1 var(--serif); }
.more__group { margin: 0 0 18px; }
.more__k { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--haint-pale); font: 700 .8rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.more__k .i { width: 18px; height: 18px; }
.more__k span { color: var(--fog); font-weight: 600; letter-spacing: 0; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gallery li:first-child:nth-last-child(1) { grid-column: 1 / -1; }
.gallery li:first-child:nth-last-child(2), .gallery li:first-child:nth-last-child(2) ~ li { grid-column: span 1; }
.gallery:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gallery li:first-child:nth-last-child(1) img { aspect-ratio: 4 / 3; }
.vlist, .alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vlist__item iframe, .vlist__item video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.vid { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 12px; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.vid__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, rgb(29 142 251 / .25), transparent 70%), var(--ink-3); color: var(--fog); }
.vid__ph .i { width: 40%; height: 40%; opacity: .25; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vid__play .i { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: rgb(0 0 0 / .62); color: #fff; fill: #fff; }
.alist__item { padding: 12px; border-radius: 12px; background: var(--ink-3); }
.alist__item audio { display: block; width: 100%; margin-top: 6px; }
.media__cap { margin: 6px 0 0; font-weight: 600; line-height: 1.35; }
.alist__item .media__cap { margin: 0; }
.media__cap span { color: var(--fog); font-weight: 500; font-size: .88rem; }

/* Previous / Next */
.pager { position: fixed; z-index: 38; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b) + 6px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: stretch; max-width: 760px; margin: 0 auto; padding: 0 10px; }
.pager__btn, .pager__mid { min-height: 56px; border: 0; border-radius: 14px; background: rgb(17 25 38 / .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -12px #000; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; }
.pager__btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px; min-width: 0; text-align: left; }
.pager__btn--next { justify-content: flex-end; text-align: right; background: var(--haint-deep); box-shadow: 0 12px 30px -12px #000; color: #fff; }
.pager__btn[disabled] { opacity: .35; cursor: default; }
.pager__btn--next[disabled] { background: rgb(17 25 38 / .96); }
.pager__arrow { font-size: 1.3rem; line-height: 1; }
.pager__lbl { display: grid; min-width: 0; }
.pager__k { font-weight: 800; font-size: .95rem; }
.pager__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; opacity: .78; }
.pager__mid { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 6px 12px; color: var(--moon); font-size: .76rem; font-weight: 700; }
.pager__dots { display: flex; gap: 4px; }
.pager__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.pager__dots i.is-on { background: var(--haint-pale); width: 14px; border-radius: 3px; }
.pager__dots i.is-here { background: var(--gas); }
.pager__dots i.is-skipped { opacity: .3; }
.on-stories .app { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 84px); }
.on-stories .banner { bottom: calc(var(--tab-h) + var(--safe-b) + 74px); }

/* Guide-led states */
.stop.is-here { box-shadow: inset 0 0 0 2px var(--gas), 0 0 0 4px rgb(233 179 95 / .14); }
.stop.is-here .stop__n { background: var(--gas); color: #1a1205; box-shadow: none; }
.stop.is-here .stop__flag { background: rgb(233 179 95 / .16); color: var(--gas); }
.stop.is-skipped .stop__flag { background: rgb(140 151 166 / .16); color: var(--fog); }

/* Finale and bonus */
.finale { text-align: center; background: radial-gradient(circle at 50% 0, rgb(29 142 251 / .22), transparent 70%), var(--ink-2); padding: 24px 14px; }
.finale__icon .i { width: 44px; height: 44px; color: var(--haint-pale); }
.finale h2 { margin: 6px 0 6px; font: 400 2rem/1.05 var(--serif); }
.finale > p { color: color-mix(in srgb, var(--moon) 85%, var(--fog)); }
.finale .stop--bonus { margin: 18px 0; text-align: left; background: var(--ink-3); box-shadow: inset 0 0 0 1px rgb(233 179 95 / .45); }
.finale .stop--bonus .stop__photo { margin: 0 -14px 14px; }
.finale .stop--bonus .more { margin-left: -14px; margin-right: -14px; }
.stop--bonus .stop__n { color: var(--gas); }
.stop__locktext { margin: 0; color: var(--fog); }
.stop--bonus.is-unlocking { animation: glow 1.6s var(--ease); }
@keyframes glow { 30% { box-shadow: inset 0 0 0 2px var(--gas), 0 0 40px rgb(233 179 95 / .45); } }
.stop--bonus:not(.is-locked) .stop__lockic { display: none; }
.finale__ctas { display: grid; gap: 10px; margin: 18px 0 0; }

/* Tip your guide (top of the end card) */
.tipjar { display: grid; gap: 12px; margin: 16px 0 6px; }
.tipjar__card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 14px; border-radius: var(--r); background: linear-gradient(160deg, rgb(233 179 95 / .14), rgb(233 179 95 / .04)); box-shadow: inset 0 0 0 1px rgb(233 179 95 / .4); text-align: left; }
.tipjar__me { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gas); }
.tipjar__txt { min-width: 0; }
.tipjar__card:not(:has(.tipjar__me)) .tipjar__txt { grid-column: 1 / -1; }
.tipjar__h { margin: 0; font: 400 1.6rem/1.1 var(--serif); color: var(--moon); }
.tipjar__p { margin: 2px 0 0; font-size: .95rem; color: color-mix(in srgb, var(--moon) 80%, var(--fog)); }
.tipjar__btns { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 10px; }
.tipjar__btn { flex-direction: column; gap: 0; min-height: 58px; padding: .5em .9em; background: var(--gas); color: #1a1205; border-radius: 14px; }
.tipjar__svc { font-size: 1.02rem; }
.tipjar__handle { font-weight: 500; font-size: .82rem; opacity: .8; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Map */
.pane--map { padding: 0; }
.map { position: relative; z-index: 0; isolation: isolate; height: calc(100dvh - 70px - var(--tab-h) - var(--safe-b)); min-height: 280px; background: var(--ink-2); }
/* The map is its own layer stack, so its panes (z-index 400+) stay under the header and the bottom bar. */
.on-map .app { padding-bottom: 0; }
.on-map { overflow: hidden; }
.guide__done { margin: 0; color: var(--fog); font-size: .92rem; }
.map__tools { position: fixed; z-index: 35; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); display: grid; gap: 8px; justify-items: end; }
.map__tools .btn { box-shadow: 0 10px 24px -8px #000; }
.map__tools .btn--ghost { background: rgb(10 15 24 / .92); }
.map__msg { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 120px); margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--ink-3); color: var(--moon); font-size: .9rem; }
.leaflet-container { background: #0b1018; font: inherit; }
/* OpenStreetMap's light tiles, turned dark to match the theme (no map service key needed). */
.tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.55); }
.red .tiles-dark img { filter: none; }
.red .tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.6) grayscale(1) sepia(1) saturate(5) hue-rotate(-50deg); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--ink-3); color: var(--moon); box-shadow: 0 10px 30px -10px #000; }
.leaflet-popup-content { margin: 12px 14px; font-size: .95rem; }
.leaflet-popup-content .btn { margin-top: 8px; min-height: 40px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--fog); }
.leaflet-control-attribution { background: rgb(5 7 11 / .7) !important; color: var(--fog) !important; }
.leaflet-control-attribution a { color: var(--haint-pale) !important; }
.leaflet-bar a { background: var(--ink-3) !important; color: var(--moon) !important; border-color: var(--line) !important; }
.mpin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-3); color: var(--moon); border: 2px solid var(--haint-pale); font: 400 1.05rem/1 var(--serif); box-shadow: 0 4px 12px rgb(0 0 0 / .6); }
.mpin.is-here { background: var(--gas); border-color: #fff; color: #1a1205; }
.mpin.is-skipped { opacity: .45; border-color: var(--fog); }
.mguide { position: relative; display: block; width: 52px; height: 52px; }
.mguide img, .mguide span { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gas); background: var(--ink-3); display: grid; place-items: center; }
.mguide::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--gas); animation: ping 2s infinite; }
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.mme { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--haint); border: 3px solid #fff; box-shadow: 0 0 0 6px rgb(29 142 251 / .25); }

/* Cards (Listen) */
.card { padding: 18px 16px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.card__h { font: 400 1.8rem/1.1 var(--serif); }
.card__sub { color: var(--fog); margin: 6px 0 14px; }

/* Photo viewer */
.lightbox { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 16px 12px 64px; background: rgb(0 0 0 / .95); }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 10px; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: 78dvh; object-fit: contain; }
.lightbox__cap { color: #e6e9ee; text-align: center; font-size: .95rem; max-width: 60ch; }
.lightbox__cap:empty { display: none; }
.lightbox__close { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); width: 56px; height: 48px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__count { position: absolute; bottom: max(26px, calc(env(safe-area-inset-bottom) + 12px)); left: 50%; transform: translateX(-50%); margin: 0; color: #c9ced6; font-size: .85rem; }
.lb-open { overflow: hidden; }

/* ---------- photo booth ---------- */
.booth { display: grid; gap: 12px; }
.booth__stage { position: relative; aspect-ratio: 4 / 5; max-height: 62dvh; margin: 0 auto; width: 100%; max-width: calc(62dvh * .8); border-radius: var(--r); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.booth__video, .booth__frame, .booth__result { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booth__video.is-mirror { transform: scaleX(-1); }
.booth__frame { pointer-events: none; }
.booth__start { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, rgb(29 142 251 / .18), transparent 60%), var(--ink-2); }
.booth__ic .i { width: 48px; height: 48px; color: var(--haint-pale); }
.booth__msg { margin: 0; color: var(--fog); font-size: .92rem; }
.booth__frames { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: .4em 1em; border: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fog); font-weight: 700; font-size: .88rem; cursor: pointer; }
.chip[aria-checked="true"] { background: rgb(29 142 251 / .2); color: var(--moon); box-shadow: inset 0 0 0 1px var(--haint); }
.booth__controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.booth__controls > :first-child { justify-self: start; }
.booth__controls > :last-child { justify-self: end; }
.booth__controls[data-step="done"] { grid-template-columns: 1fr 1fr 1fr; }
.booth__controls[data-step="done"] > * { justify-self: stretch; }
.booth__pick { cursor: pointer; }
.shutter { width: 76px; height: 76px; padding: 6px; border: 3px solid #fff; border-radius: 50%; background: none; cursor: pointer; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .1s; }
.shutter:active span { transform: scale(.88); }
.shutter[disabled] { opacity: .35; }
.booth__note { margin: 0; text-align: center; color: var(--fog); font-size: .85rem; }

/* ---------- guide console ---------- */
.is-console .site-top { display: none; }
.is-console .page { max-width: 560px; padding: 0 0 40px; }
.console { padding: max(16px, env(safe-area-inset-top)) 14px 24px; }
.console__h { font: 400 clamp(1.9rem, 8vw, 2.4rem)/1.05 var(--serif); margin: 4px 0 18px; }
.console__tour { display: block; color: var(--haint-pale); font: 700 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.console__back { min-height: 44px; padding: 0; border: 0; background: none; color: var(--haint-pale); font-weight: 700; cursor: pointer; }
.tourpick { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tourpick__btn { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 80px; padding: 8px 14px 8px 8px; border: 0; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; font: 400 1.35rem/1.15 var(--serif); cursor: pointer; }
.tourpick__btn img, .tourpick__ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--ink-3); display: grid; place-items: center; color: var(--fog); }
.tourpick__btn:active { background: var(--ink-3); }
.pin { display: grid; justify-items: center; margin: 4px 0 8px; position: relative; }
.pin__dots { display: flex; gap: 14px; min-height: 26px; }
.pin__dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--moon); }
.pin__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pin__msg { min-height: 1.6em; margin: 0 0 10px; text-align: center; color: #ffb4a8; font-weight: 600; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 340px; margin: 0 auto; }
.keypad button { min-height: 68px; border: 0; border-radius: 18px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); font: 400 1.9rem/1 var(--serif); cursor: pointer; }
.keypad button:active { background: var(--ink-2); transform: scale(.97); }
.keypad .keypad__go { background: var(--haint-deep); color: #fff; font: 700 1.05rem/1 var(--sans); }
.console__top { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; margin-bottom: 10px; }
.console__me { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gas); display: grid; place-items: center; background: var(--ink-3); }
.console__who { margin: 0; color: var(--fog); font-weight: 600; }
.console__top .console__h { margin: 2px 0 0; font-size: 1.7rem; }
.cbox { margin: 12px 0; padding: 16px 14px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.cbox h2 { font: 400 1.5rem/1.1 var(--serif); margin-bottom: 4px; }
.cbox__row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 12px; }
.cbox__ic .i { width: 32px; height: 32px; color: var(--haint-pale); }
.cbox__hint { margin: 8px 0 0; color: var(--fog); font-size: .88rem; }
.loc__status { margin: 0; color: var(--fog); }
.cbox--loc.is-on { box-shadow: inset 0 0 0 2px rgb(233 179 95 / .6); }
.cbox--loc.is-on .loc__status { color: var(--gas); font-weight: 600; }
.cstops { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 8px; }
.cstop { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "n t here" "n skip skip"; gap: 6px 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--ink-3); }
.cstop__n { grid-area: n; align-self: start; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.2rem/1 var(--serif); }
.cstop__t { grid-area: t; font-weight: 700; line-height: 1.25; }
.cstop__state { display: block; color: var(--gas); font-size: .8rem; font-weight: 700; }
.cstop__here { grid-area: here; }
.cstop .switch { grid-area: skip; font-size: .88rem; color: var(--fog); min-height: 36px; }
.cstop.is-here { box-shadow: inset 0 0 0 2px var(--gas); }
.cstop.is-here .cstop__n { background: var(--gas); color: #1a1205; box-shadow: none; }
.cstop.is-here .cstop__here { background: var(--gas); color: #1a1205; }
.cstop.is-skipped .cstop__t { color: var(--fog); text-decoration: line-through; }
.cstop.is-skipped .cstop__here { visibility: hidden; }
.qrsheet { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(0 0 0 / .9); }
.qrsheet__card { width: min(420px, 100%); padding: 22px 18px 18px; border-radius: 22px; background: #fff; color: #05070b; text-align: center; }
.qrsheet__k { margin: 0 0 10px; font: 700 .85rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #0b4f99; }
.qrsheet__code svg { width: 100%; height: auto; display: block; }
.qrsheet__t { margin: 10px 0 2px; font: 400 1.5rem/1.1 var(--serif); }
.qrsheet__u { margin: 0 0 14px; font-size: .78rem; color: #4b5563; word-break: break-all; }
.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%); max-width: calc(100% - 28px); padding: 12px 18px; border-radius: 12px; background: var(--moon); color: var(--ink); font-weight: 700; box-shadow: 0 14px 30px -10px #000; }
.toast.is-bad { background: #ffb4a8; }

/* ---------- Deaf or Hard of Hearing mode ---------- */
.dhh { --fs: 1.2rem; }
.dhh .dhh-note { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 14px; padding: 12px 14px; border-radius: 12px; background: rgb(29 142 251 / .12); color: var(--haint-pale); font-size: .95rem; line-height: 1.45; }
.dhh .dhh-note .i { margin-top: 2px; }
.dhh .dhh-only { display: inline; }
.dhh .stop__tx { background: rgb(29 142 251 / .1); box-shadow: inset 0 0 0 1px var(--line-2); }
.dhh .stop__tx .prose { font-size: 1.2rem; line-height: 1.65; }
.dhh .stop__title { font-size: 1.5rem; }
.dhh .banner { font-size: 1.1rem; }

/* ---------- Red-light mode: dim red only, for night vision ---------- */
.red { --ink: #000; --ink-2: #0a0000; --ink-3: #140202; --moon: #ff3b2f; --fog: #a8281f; --haint: #b3241a; --haint-pale: #ff4a3d; --haint-deep: #5c0f0a; --gas: #ff6a3d; --line: rgb(255 59 47 / .18); --line-2: rgb(255 59 47 / .3); background: #000; }
.red img, .red video, .red iframe, .red .leaflet-tile-pane:not(:has(.tiles-dark)), .red .booth__stage canvas { filter: grayscale(1) sepia(1) saturate(5) hue-rotate(-50deg) brightness(.55); }
.red .app-top, .red .tabbar { background: rgb(0 0 0 / .94); }
.red .btn { color: #ffd6d2; }
.red .banner { background: #5c0f0a; color: #ffd6d2; }
.red .pager__btn--next { background: #5c0f0a; }
.red .banner .btn { background: #ff3b2f; color: #000; }
.red .qrsheet__card { background: #fff; filter: none; }
.red audio { filter: grayscale(1) sepia(1) saturate(5) hue-rotate(-50deg) brightness(.6); }
.red .shutter, .red .shutter span { border-color: #ff3b2f; background: none; }
.red .shutter span { background: #ff3b2f; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 760px) {
	.pane { padding: 20px 20px 0; }
	.guide { max-width: 736px; margin: 14px auto 0; }
	.finale__ctas { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ---------- Home: find your tour ---------- */
.notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgb(233 179 95 / .12); color: var(--gas); font-weight: 600; }
.home__h2 { margin: 28px 0 12px; font: 400 1.6rem/1.1 var(--serif); }
.codebox { margin: 0 0 8px; padding: 14px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.codebox label { display: block; margin-bottom: 8px; color: var(--fog); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.codebox__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.codebox input { min-width: 0; min-height: 52px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font: 400 1.6rem/1 var(--serif); letter-spacing: .25em; }
.codebox input:focus { outline: 2px solid var(--haint-pale); }
.livelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.livecard { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: var(--r); background: linear-gradient(135deg, rgb(29 142 251 / .14), rgb(17 25 38 / .9)); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); text-decoration: none; }
.livecard__photo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gas); display: grid; place-items: center; background: var(--ink-3); color: var(--fog); }
.livecard__photo img { width: 100%; height: 100%; object-fit: cover; }
.livecard__body { display: grid; gap: 2px; min-width: 0; }
.livecard__k { color: var(--fog); font-size: .88rem; }
.livecard__k strong { color: var(--moon); }
.livecard__air { color: var(--gas); font-weight: 700; font-size: .78rem; }
.livecard__t { font: 400 1.3rem/1.15 var(--serif); }
.livecard__go { padding: .5em 1em; border-radius: 999px; background: var(--haint-deep); color: #fff; font-weight: 700; font-size: .9rem; }

/* ---------- GhostCast: guest ---------- */
.cast { text-align: center; }
.cast__ic .i { width: 44px; height: 44px; color: var(--haint-pale); }
.cast__status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 1.6em; margin: 0 0 14px; color: var(--fog); font-weight: 600; }
.cast__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fog); flex: 0 0 auto; }
.cast[data-state="ready"] .cast__dot, .cast[data-state="connecting"] .cast__dot { background: var(--gas); }
.cast[data-state="live"] .cast__dot { background: #ff4d4d; box-shadow: 0 0 0 0 rgb(255 77 77 / .6); animation: onair 1.6s infinite; }
.cast[data-state="live"] .cast__status, .cast[data-state="ready"] .cast__status { color: var(--moon); }
.cast[data-state="error"] .cast__status { color: #ffb4a8; }
@keyframes onair { 70% { box-shadow: 0 0 0 10px rgb(255 77 77 / 0); } }
.cast .btn + .btn { margin-top: 10px; }
.cast__hint { margin: 14px 0 0; color: var(--fog); font-size: .86rem; }
.cast audio { display: none; }
.tab.is-air { position: relative; }
.tab.is-air::after { content: ""; position: absolute; top: 8px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 2px var(--ink-2); }

/* ---------- GhostCast and tour code: guide ---------- */
.joincode { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.joincode__k { color: var(--fog); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.joincode__n { font: 400 2.6rem/1 var(--serif); letter-spacing: .14em; color: var(--moon); }
.meter { height: 8px; margin: 0 0 12px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--haint), var(--gas)); transform-origin: left; transform: scaleX(0); transition: transform .08s linear; }
.cbox--cast.is-on { box-shadow: inset 0 0 0 2px rgb(255 77 77 / .7); }
.cbox--cast.is-on .cast__status { color: #ff8a80; font-weight: 700; }
.cbox--cast.is-muted .meter span { background: var(--fog); }
.cast__on { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cast__on [aria-pressed="true"] { background: rgb(255 77 77 / .2); }
.qrsheet__code2 { margin: 0 0 4px; font-size: .95rem; color: #374151; }
.qrsheet__code2 strong { font: 400 1.5rem/1 var(--serif); letter-spacing: .12em; color: #05070b; }
.red .cast[data-state="live"] .cast__dot { background: #ff3b2f; }

/* ---------- Home: live tours with their guides ---------- */
.livetours { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.livetour { border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.livetour__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; }
.livetour__img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.livetour__head { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.livetour__t { font: 400 1.45rem/1.1 var(--serif); }
.livetour__city { display: inline-flex; align-items: center; gap: .3em; margin: 0; color: var(--fog); font-size: .86rem; }
.livetour__city .i { width: 1em; height: 1em; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home: city filter and search */
.finder { position: sticky; top: 0; z-index: 5; display: grid; gap: 10px; margin: 0 -18px 18px; padding: 10px 18px 12px; background: linear-gradient(var(--ink) 80%, rgb(5 7 11 / 0)); }
.finder__search { position: relative; display: block; }
.finder__search .i { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--fog); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.finder__search input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; border: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font: 400 1rem var(--sans); -webkit-appearance: none; appearance: none; }
.finder__search input::placeholder { color: var(--fog); }
.finder__search input:focus { outline: 2px solid var(--haint-pale); outline-offset: 1px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font: 600 .95rem var(--sans); cursor: pointer; white-space: nowrap; }
.chip__n { min-width: 1.6em; padding: 1px 6px; border-radius: 999px; background: rgb(159 211 245 / .12); color: var(--haint-pale); font-size: .78rem; font-weight: 700; text-align: center; }
.chip.is-on { background: var(--haint-deep); box-shadow: none; color: #fff; }
.chip.is-on .chip__n { background: rgb(255 255 255 / .2); color: #fff; }
.citygroup + .citygroup { margin-top: 8px; }
.citygroup__h { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font: 400 1.7rem/1.1 var(--serif); }
.citygroup__h::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.finder__none { display: grid; justify-items: center; gap: 12px; margin: 10px 0 24px; padding: 22px 16px; border-radius: var(--r); background: var(--ink-2); color: var(--fog); text-align: center; }
.livetour__n { margin: 0; color: var(--gas); font-size: .86rem; font-weight: 700; }
.guides { list-style: none; margin: 0; padding: 0 10px 10px; display: grid; gap: 8px; }
.guidecard { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 14px; background: linear-gradient(135deg, rgb(29 142 251 / .16), rgb(17 25 38 / .95)); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); text-decoration: none; }
.guidecard:active { transform: scale(.99); }
.guidecard__photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gas); display: grid; place-items: center; background: var(--ink-3); color: var(--fog); }
.guidecard__photo img { width: 100%; height: 100%; object-fit: cover; }
.guidecard__photo .i { width: 50%; height: 50%; }
.guidecard__body { display: grid; gap: 1px; min-width: 0; }
.guidecard__k { color: var(--fog); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guidecard__name { font: 400 1.7rem/1.05 var(--serif); }
.guidecard__at { color: var(--fog); font-size: .86rem; }
.guidecard__air { color: #ff8a80; font-weight: 700; }
.guidecard__go { padding: .55em 1.1em; border-radius: 999px; background: var(--haint-deep); color: #fff; font-weight: 700; }

.cast__room { margin: 0 0 10px; color: var(--haint-pale); font-weight: 700; font-size: .9rem; }
.cast__room:empty { display: none; }
.cbox--cast .cast__room { margin: 2px 0 4px; font-size: .86rem; }

/* ---------- 1.5: tonight's stops, Go live, incident reports ---------- */
.console__top { grid-template-columns: 60px 1fr auto; }
.inc-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; min-width: 64px; min-height: 60px; padding: 6px 10px; border: 0; border-radius: 14px; background: rgb(255 120 100 / .14); color: #ffb4a8; font: 700 .78rem/1.1 var(--sans); cursor: pointer; }
.inc-btn .i { width: 26px; height: 26px; }
.inc-btn__q { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gas); color: #1a1205; font-size: .75rem; line-height: 22px; }
.plan__list { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 6px; }
.prow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 8px 8px 10px; border-radius: 12px; background: var(--ink-3); }
.prow__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.15rem/1 var(--serif); color: var(--haint-pale); }
.prow__t { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.prow__b { display: flex; gap: 4px; }
.pbtn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgb(159 211 245 / .08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font-size: .85rem; cursor: pointer; }
.pbtn:disabled { opacity: .3; cursor: default; }
.pbtn--x { color: #ffb4a8; }
.ptag { display: inline-block; margin: 0 0 0 6px; padding: 1px 7px; border-radius: 999px; background: rgb(233 179 95 / .16); color: var(--gas); font: 700 .68rem/1.5 var(--sans); letter-spacing: .03em; vertical-align: 2px; }
.ptag--o { background: rgb(159 211 245 / .12); color: var(--haint-pale); }
.ptag--warn { background: rgb(255 120 100 / .14); color: #ffb4a8; }
.plan__meta { margin: 4px 0 0; color: var(--fog); font-size: .88rem; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--haint-pale); font-weight: 700; text-decoration: underline; cursor: pointer; }
.plan__h { margin: 18px 0 8px; font: 400 1.3rem/1.1 var(--serif); }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.pchip { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font-weight: 600; font-size: .88rem; cursor: pointer; }
.pchip.is-on { background: var(--haint-deep); box-shadow: none; color: #fff; }
.psearch { width: 100%; min-height: 46px; margin: 0 0 8px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font: inherit; }
.plan__pool { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.padd { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 56px; padding: 6px 10px 6px 6px; border: 0; border-radius: 12px; background: var(--ink-3); color: var(--moon); text-align: left; cursor: pointer; }
.padd img, .padd__ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--ink-2); }
.padd__t { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.padd__plus { color: var(--haint-pale); font-weight: 800; white-space: nowrap; }
.plan__empty { margin: 8px 0; color: var(--fog); }
.golive { position: sticky; bottom: 0; z-index: 5; margin: 12px -14px 0; padding: 12px 14px calc(12px + var(--safe-b)); background: linear-gradient(transparent, var(--ink) 30%); }
.btn--live { background: var(--gas); color: #1a1205; }
.btn--live .i { width: 1.4em; height: 1.4em; }
.sheet { position: fixed; z-index: 92; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgb(0 0 0 / .78); }
.sheet__card { display: flex; flex-direction: column; width: min(560px, 100%); max-height: 94dvh; padding: 14px 14px calc(14px + var(--safe-b)); border-radius: 22px 22px 0 0; background: var(--ink-2); box-shadow: 0 -10px 40px #000; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.sheet__top h2 { font: 400 1.6rem/1.1 var(--serif); }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink-3); color: var(--moon); cursor: pointer; }
.sheet__foot { position: sticky; bottom: calc(-14px - var(--safe-b)); margin: 12px -14px calc(-14px - var(--safe-b)); padding: 12px 14px calc(14px + var(--safe-b)); background: var(--ink-2); box-shadow: 0 -1px 0 var(--line); }
.inc-911 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 12px; background: #7f1d1d; color: #fff; text-decoration: none; font-weight: 600; line-height: 1.3; }
.inc-911 strong { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #fff; color: #7f1d1d; }
.inc-k { margin: 0 0 8px; color: var(--fog); font-weight: 700; }
.inc-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.inc-type { min-height: 64px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font-weight: 700; line-height: 1.25; text-align: left; cursor: pointer; }
.inc-type:active { background: var(--haint-deep); }
.inc-chosen { margin: 6px 0 12px; font: 400 1.5rem/1.15 var(--serif); }
.inc-f { display: block; margin: 0 0 12px; font-weight: 700; }
.inc-f small { color: var(--fog); font-weight: 500; }
.inc-f textarea, .inc-f input[type=file] { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 0; border-radius: 12px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--moon); font: inherit; }
.sheet--inc .switch { display: flex; margin: 0 0 6px; }
.inc-auto { margin: 10px 0; color: var(--fog); font-size: .88rem; }
@media (max-width: 360px) { .inc-types { grid-template-columns: 1fr; } }
.ptag--b { background: rgb(233 179 95 / .22); color: var(--gas); }
.plan__bonus { margin: 12px 0 0; padding: 12px; border-radius: 12px; background: rgb(233 179 95 / .07); box-shadow: inset 0 0 0 1px rgb(233 179 95 / .25); }
.plan__bh { margin: 0 0 6px; color: var(--gas); font-weight: 800; }
.plan__bonus ol { margin: 0; padding-left: 1.3em; }
.plan__bonus li { margin: 2px 0; font-weight: 600; }
.plan__note, .plan__warn { margin: 8px 0 0; font-size: .85rem; color: var(--fog); }
.plan__warn { color: #ffb4a8; }
