@font-face {
  font-family: "Fest24 Display";
  src: url('/assets/fonts/oswald-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #63706c;
  --paper: #f5eedd;
  --surface: #fffdf8;
  --surface-2: #eee8dc;
  --line: #d8d0c1;
  --accent: #d25535;
  --accent-dark: #9f3824;
  --leaf: #28725a;
  --gold: #a17d35;
  --danger: #a92e2e;
  --shadow: 0 18px 45px rgb(33 43 38 / 12%);
  --radius: 18px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px #146ca4;
  --fest-ink: #111b19;
  --fest-paper: #f5eedd;
  --fest-red: #d43e30;
  --fest-red-dark: #a82021;
  --fest-teal: #35b8ad;
  --fest-gold: #c1a05a;
  --fest-display: "Fest24 Display", "Arial Narrow Bold", sans-serif;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 0%, #efe0bb 0, transparent 33rem), var(--paper); }
button, input, select, textarea { font: inherit; }
button, a, input, select { min-height: 44px; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }
.boot-card { width: min(28rem, calc(100% - 2rem)); margin: 20vh auto; text-align: center; }
.brand-mark { display: inline-grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50% 50% 45% 55%; background: var(--accent); color: #fff; font: 800 2rem/1 Georgia, serif; transform: rotate(-4deg); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr); }
.auth-art { padding: clamp(2rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; background: #17221f; color: #f8f5ee; overflow: hidden; position: relative; }
.auth-art::after { content: ""; position: absolute; width: 34rem; height: 34rem; right: -15rem; bottom: -11rem; border: 6rem solid #d25535; border-radius: 45% 55% 48% 52%; transform: rotate(18deg); opacity: .82; }
.auth-wordmark { font: 800 clamp(3.4rem, 10vw, 8rem)/.78 Georgia, serif; letter-spacing: -.07em; max-width: 6ch; position: relative; z-index: 1; }
.auth-kicker, .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 800; }
.auth-copy { max-width: 34rem; color: #d8dedb; line-height: 1.7; position: relative; z-index: 1; }
.auth-panel { display: grid; place-items: center; padding: 2rem; }
.auth-card { width: min(29rem, 100%); background: rgb(255 253 248 / 88%); backdrop-filter: blur(16px); border: 1px solid #fff; border-radius: 28px; padding: clamp(1.6rem, 5vw, 3rem); box-shadow: var(--shadow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.auth-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
.auth-divider { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; color: var(--muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.demo-entry { width: 100%; }
.demo-explainer { margin: .6rem 0 0; color: var(--muted); text-align: center; font-size: .75rem; }
.subtle { color: var(--muted); line-height: 1.55; }
.field { display: grid; gap: .4rem; margin: 1rem 0; font-weight: 700; }
.field input, .field select, .field textarea, .toolbar input, .toolbar select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: .75rem .85rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.primary, .secondary, .ghost, .pick-button, .nav-button { border-radius: 999px; border: 1px solid transparent; padding: .65rem 1rem; font-weight: 800; }
.primary { width: 100%; background: var(--accent); color: white; }
.primary:hover { background: var(--accent-dark); }
.secondary { background: var(--ink); color: #fff; }
.ghost { background: transparent; border-color: var(--line); color: inherit; }
.danger { color: var(--danger); }
.usage-notice { position: fixed; z-index: 90; right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom)); display: flex; align-items: center; flex-wrap: wrap; gap: 0 .2rem; max-width: calc(100vw - 1rem); padding: .1rem .3rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgb(17 27 25 / 12%); font-size: .75rem; line-height: 1.3; }
.usage-notice span { white-space: nowrap; }
.usage-notice button { min-height: 44px; min-width: 0; padding: 0 .1rem; border: 0; background: transparent; color: var(--leaf); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .12rem; white-space: nowrap; }
@media (max-width: 700px) {
  .usage-notice { bottom: calc(108px + env(safe-area-inset-bottom)); }
  .compact-route .usage-notice, .compact-open .usage-notice { bottom: max(.5rem, env(safe-area-inset-bottom)); }
}
@media print { .usage-notice { display: none !important; } }
.form-error { color: var(--danger); min-height: 1.5rem; font-weight: 700; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .85rem; min-height: 58px; padding: .45rem clamp(1rem, 2.4vw, 2rem); border-bottom: 1px solid #35423f; background: radial-gradient(circle at 72% 20%, rgb(255 255 255 / 4%) 0 .08rem, transparent .1rem) 0 0 / .7rem .7rem, var(--fest-ink); color: #fff; box-shadow: 0 4px 22px rgb(0 0 0 / 16%); }
.wordmark { min-height: 42px; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; font: 400 2.2rem/.85 var(--fest-display); letter-spacing: .01em; text-transform: uppercase; }
.wordmark small { font: 700 .65rem/1 ui-sans-serif, sans-serif; color: #efc36b; letter-spacing: .12em; display: block; margin-top: .22rem; }
.festival-location { display: flex; align-items: center; gap: .65rem; margin-right: auto; padding-left: 1rem; border-left: 1px solid #76827f; color: #fff; font: 800 .72rem/1.2 ui-sans-serif, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.festival-location i { width: .25rem; height: .25rem; border-radius: 50%; background: var(--fest-red); }
.group-context { display: flex; align-items: center; gap: .5rem; }
.group-shortcut { border: 0; min-height: 36px; }
.group-context select { background: #263b35; color: #fff; border: 1px solid #5d716b; border-radius: 999px; padding: .45rem .8rem; max-width: 13rem; }
.refresh-status { color: #c9d3cf; font-size: .72rem; white-space: nowrap; }
.refresh-status[data-state="refreshing"] { color: #efc36b; }
.refresh-status[data-state="offline"] { color: #ffaaa0; }
.app-update-notice { position: fixed; z-index: 35; right: 1rem; bottom: calc(6.5rem + env(safe-area-inset-bottom)); width: min(22rem, calc(100% - 2rem)); padding: .65rem .8rem; border: 1px solid var(--line); border-left: .3rem solid var(--gold); background: var(--surface); color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / 15%); font-size: .8rem; line-height: 1.35; }
.back-to-guide { min-height: 34px; padding: .35rem .65rem; border: 1px solid #788984; border-radius: 999px; background: transparent; color: #fff; font-size: .72rem; font-weight: 800; }
.user-menu { position: relative; display: flex; align-items: center; gap: .65rem; }
.avatar-button { position: relative; min-height: auto; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.admin-notification-dot { position: absolute; top: -.15rem; right: -.15rem; width: .72rem; height: .72rem; border: 2px solid var(--fest-ink); border-radius: 50%; background: var(--fest-red); }
.admin-notification-dot[hidden] { display: none; }
.member-avatar { flex: 0 0 auto; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--avatar-color, var(--accent)); color: #fff; font-weight: 900; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.top-avatar { width: 2.5rem; height: 2.5rem; }
.account-menu { position: absolute; z-index: 40; top: calc(100% + .75rem); right: 0; width: min(19rem, calc(100vw - 1.5rem)); padding: .45rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.account-menu[hidden] { display: none; }
.account-menu-name { display: grid; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.account-menu-name small { color: var(--muted); overflow-wrap: anywhere; }
.account-menu button { width: 100%; min-height: 42px; padding: .55rem .8rem; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; }
.account-menu button:hover { background: var(--surface-2); }
.account-menu .contact-request-menu-item { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.contact-request-menu-item b { min-width: 1.35rem; min-height: 1.35rem; display: grid; place-items: center; border-radius: 999px; background: var(--fest-red-dark); color: #fff; font-size: .68rem; }
.contact-request-menu-item b[hidden] { display: none; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .65rem 1rem; background: #fff1cd; border-bottom: 1px solid #e9cf8c; color: #5f4710; font-size: .85rem; }
.demo-banner button { min-height: 32px; border: 1px solid #9b7623; border-radius: 999px; background: transparent; color: inherit; font-weight: 800; }

.shell { display: grid; grid-template-columns: 9.35rem minmax(0, 1fr); min-height: calc(100vh - 58px); }
.side-nav { position: sticky; top: 58px; align-self: start; height: calc(100vh - 58px); padding: 1.15rem 0; border-right: 1px solid #35423f; background: linear-gradient(180deg, #14201d, #0e1715); }
.nav-button { width: 100%; min-height: 50px; display: flex; gap: .7rem; align-items: center; border: 0; border-left: .35rem solid transparent; border-radius: 0; background: transparent; color: #c5ceca; margin: 0; padding: .6rem 1.2rem; text-align: left; }
.nav-button:hover { background: rgb(255 255 255 / 6%); color: #fff; }
.nav-button[aria-current="page"] { border-left-color: var(--fest-red); background: #23302d; color: white; }
.nav-home .nav-icon { color: var(--fest-red); font-size: .72rem; font-weight: 900; letter-spacing: -.04em; }
.nav-icon { width: 1.35rem; text-align: center; }
.content { position: relative; isolation: isolate; width: min(92rem, 100%); padding: clamp(1.1rem, 3vw, 3rem); overflow: hidden; }
.content::before {
  display: none;
}
.content > * { position: relative; z-index: 1; }
.pull-refresh-indicator {
  --indicator-shift: calc(-100% - .75rem + var(--pull-refresh-distance, 0px));
  position: fixed;
  z-index: 60;
  top: max(.45rem, env(safe-area-inset-top));
  left: 50%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .7rem;
  border: 1px solid #41504c;
  border-radius: 999px;
  background: var(--fest-ink);
  color: #fff;
  font-size: .7rem;
  box-shadow: 0 5px 16px rgb(0 0 0 / 30%);
  opacity: 0;
  transform: translate(-50%, var(--indicator-shift));
  transition: opacity 120ms ease, transform 120ms ease;
  pointer-events: none;
}
.pull-refresh-indicator span { color: var(--fest-red); font-size: 1rem; transition: transform 120ms ease; }
.pulling-to-refresh .pull-refresh-indicator,
.refreshing-from-pull .pull-refresh-indicator { opacity: 1; }
.pull-refresh-ready .pull-refresh-indicator span { transform: rotate(180deg); }
.refreshing-from-pull .pull-refresh-indicator { --indicator-shift: 0px; }
.refreshing-from-pull .pull-refresh-indicator span { animation: refresh-spin .75s linear infinite; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.page-heading h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; letter-spacing: -.05em; margin: .3rem 0; }
.page-heading p { margin-bottom: 0; }
.freshness { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.day-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .15rem 1rem; scrollbar-width: thin; }
.day-tab { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); padding: .55rem 1rem; white-space: nowrap; font-weight: 800; }
.day-tab[aria-selected="true"] { color: white; background: var(--accent); border-color: var(--accent); }
.toolbar { display: grid; grid-template-columns: minmax(12rem, 2fr) repeat(2, minmax(9rem, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.result-count { color: var(--muted); font-size: .9rem; margin: .25rem 0 .8rem; }
.search-day { color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 900; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; align-items: stretch; }
.schedule-card { min-height: 12.5rem; grid-template-rows: auto auto 1fr auto auto; }
.schedule-card-top { display: flex; align-items: start; justify-content: space-between; gap: .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.schedule-card-top time { flex: 0 0 auto; color: var(--accent-dark); font: 800 1rem/1.2 Georgia, serif; }
.venue-identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; color: var(--ink); }
.venue-identity strong { font-size: .77rem; letter-spacing: .07em; text-transform: uppercase; }
.venue-identity span { color: var(--muted); font-size: .75rem; }
.venue-identity span::before { content: '–'; margin-right: .35rem; }
.schedule-card-top .venue-identity { justify-content: flex-end; text-align: right; }

.time-group { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0 1.2rem; border-top: 1px solid var(--line); }
.time-label { position: sticky; top: 90px; align-self: start; padding-top: .55rem; font: 700 1rem/1 Georgia, serif; color: var(--accent-dark); }
.item-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: .75rem; }
.item-card { position: relative; display: grid; gap: .55rem; min-width: 0; padding: 1rem; text-align: left; background: var(--surface); border: 1px solid var(--line); border-left: .35rem solid var(--leaf); border-radius: 14px; box-shadow: 0 5px 16px rgb(36 44 40 / 7%); }
.clickable-card { cursor: pointer; transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease; }
.clickable-card:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgb(36 44 40 / 11%); border-color: #b8b0a2; }
.item-card.must-see { border-left-color: var(--gold); background: #f7f1e3; }
.item-card.information { border-left-color: #5d718d; }
.item-card.cancelled { opacity: .64; }
.item-card h3 { font-size: 1.15rem; line-height: 1.15; margin: 0; }
.item-meta { color: var(--muted); font-size: .88rem; }
.item-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.pick-button { min-height: 40px; padding: .45rem .75rem; background: #eef2ee; border-color: #ccd6d0; color: #31423c; }
.pick-button.active { color: #fff; background: var(--leaf); }
.pick-button.must.active { background: #755a24; }
.social-pill, .tag { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: .25rem .55rem; background: var(--surface-2); color: #46514d; font-size: .76rem; font-weight: 800; }
.private-pick { border: 1px solid #baa97c; background: #f7f1e3; color: #624d1e; }
.picker-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; margin-top: auto; }
.picker-person { min-height: 28px; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; border: 1px solid var(--picker-color); border-left: .35rem solid var(--picker-color); border-radius: 999px; background: #f4f0e8; color: var(--ink); font-size: .7rem; font-weight: 800; }
.picker-person > span:first-child { color: var(--picker-color); }
.picker-person.active { outline: 2px solid var(--picker-color); outline-offset: 1px; }
.picker-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .82rem; }
.picker-filter-bar span { display: flex; align-items: center; gap: .35rem; }
.picker-filter-bar i { width: .75rem; height: .75rem; border-radius: 50%; background: var(--picker-color); }
.picker-filter-bar button { min-height: 32px; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--leaf); font-weight: 800; }
.note-preview { font-size: .86rem; padding: .55rem .7rem; border-radius: 9px; background: #f2eee5; color: #554f46; overflow-wrap: anywhere; }
.now-card h3 { order: -2; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.now-card .now-place { order: -1; color: var(--ink); font-weight: 800; }
.next-tier { margin: 2rem 0 3rem; }
.next-tier > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.next-tier > header p { margin-bottom: .55rem; }
.next-tier > header > p:last-child { color: var(--muted); font-size: .88rem; }

.home-content { width: 100%; max-width: none; padding: 0; overflow: visible; }
.home-page { position: relative; max-width: 100rem; min-height: calc(100vh - 58px); margin: 0 auto; padding: 0 1rem 2rem; background: radial-gradient(circle at 86% 8%, rgb(239 180 61 / 10%), transparent 25rem), repeating-linear-gradient(8deg, rgb(17 27 25 / 1.25%) 0 1px, transparent 1px 5px), var(--fest-paper); overflow: hidden; }
.home-page::before {
  display: none;
}
.home-page::after { content: ""; position: absolute; z-index: 0; top: 0; right: -8rem; width: 26rem; height: 18rem; border-radius: 50%; background: repeating-radial-gradient(circle, rgb(17 27 25 / 11%) 0 1px, transparent 1px 6px); transform: rotate(-13deg); pointer-events: none; opacity: .45; }
.home-page > * { position: relative; z-index: 1; }
.home-kicker { display: none; color: var(--fest-red-dark); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 950; }
.home-hero { width: calc(100% + .5rem); display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(24rem, 1fr); gap: .7rem; align-items: stretch; margin: 0 0 .85rem -1rem; }
.home-lead { position: relative; height: 16.3rem; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; isolation: isolate; padding: 2rem 1.3rem .7rem; background: url('/assets/images/fest24-crowd-hero-v1.jpg') center / cover no-repeat var(--fest-paper); overflow: hidden; }
.home-lead::before, .home-lead::after { display: none; }
.home-lead h1 { position: relative; z-index: 1; width: 121.95%; max-width: none; margin: .3rem 0 .75rem; font: 900 clamp(5.25rem, 8vw, 6.3rem)/.94 var(--fest-display); letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; transform: scaleX(.82); transform-origin: left center; }
.home-lead h1 span { position: relative; left: .8rem; display: inline-block; color: var(--fest-red-dark); transform: scaleX(1.15); transform-origin: left center; }
.home-lead p { position: relative; z-index: 1; max-width: none; margin: 0; color: var(--fest-ink); font-size: .58rem; font-weight: 950; letter-spacing: .17em; line-height: 1.25; text-transform: uppercase; white-space: nowrap; }
.home-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-content: end; padding-bottom: .625rem; }
.home-next-card { min-width: 0; height: 13.5rem; display: grid; grid-template-rows: 62% 38%; background: var(--surface); color: var(--fest-ink); border: 1px solid #cfc6b8; box-shadow: 0 6px 16px rgb(17 27 25 / 9%); cursor: pointer; overflow: hidden; transition: transform 150ms ease, box-shadow 150ms ease; }
.home-next-card:hover { transform: translateY(-3px); box-shadow: 0 21px 34px rgb(17 27 25 / 23%); }
.home-next-art { position: relative; display: flex; align-items: flex-start; min-height: 0; padding: .95rem; overflow: hidden; background: linear-gradient(rgb(171 19 21 / 68%), rgb(80 0 3 / 72%)), url('/assets/images/fest24-crowd-hero-v1.jpg') 78% 72% / auto 185% no-repeat #6d1112; }
.home-next-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(113deg, transparent 0 18px, rgb(17 27 25 / 24%) 18px 21px); }
.home-next-interested .home-next-art { background: linear-gradient(rgb(6 117 111 / 70%), rgb(3 51 49 / 76%)), url('/assets/images/fest24-crowd-hero-v1.jpg') 82% 72% / auto 185% no-repeat #164c48; }
.home-next-interested .home-next-art::before { background: repeating-radial-gradient(circle at 70% 40%, rgb(255 255 255 / 13%) 0 1px, transparent 1.3px 5px); }
.home-next-art span { position: relative; z-index: 1; color: #fff; font-size: .68rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.home-next-copy { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .65rem .75rem; }
.home-next-card h2 { margin: 0 0 .2rem; font: 850 clamp(1.3rem, 2vw, 1.75rem)/.94 var(--fest-display); letter-spacing: .01em; text-transform: none; overflow-wrap: anywhere; }
.home-next-card p { margin: 0; color: #4f5b57; font-size: .7rem; line-height: 1.35; }
.home-next-copy > div { min-width: 0; }
.home-detail-link { width: 32px; height: 32px; min-height: 32px; display: grid; place-items: center; justify-self: end; flex: 0 0 auto; border: 1px solid #b9b0a2; border-radius: 50%; padding: 0; background: transparent; color: var(--fest-ink); font-size: 1.2rem; font-weight: 900; }
.home-next-empty { cursor: default; }
.home-next-empty:hover { transform: none; box-shadow: 0 9px 22px rgb(17 27 25 / 11%); }
.happening-panel { height: 8.5rem; min-height: 0; display: grid; grid-template-columns: 13.2rem minmax(19rem, 1fr) minmax(18rem, .9fr) auto; gap: .75rem; align-items: stretch; margin: 0; padding: .8rem 1rem; border: 0; background: linear-gradient(96deg, #13211f, #0b1513); color: #fff; box-shadow: inset 0 0 0 1px #34413e, 0 8px 18px rgb(17 27 25 / 13%); overflow: hidden; }
.happening-label { display: flex; align-items: flex-start; gap: .7rem; padding: .55rem .25rem; color: #fff; font-size: 1.1rem; font-family: var(--fest-display); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.happening-label > span { flex: 0 0 auto; width: .55rem; height: .55rem; margin-top: .12rem; border-radius: 50%; background: var(--fest-red); box-shadow: 0 0 0 .3rem rgb(212 62 48 / 18%); animation: live-pulse 1.8s ease-in-out infinite; }
.happening-label > div { display: grid; gap: .35rem; }
.happening-label strong { color: var(--fest-red); font: 900 2rem/.9 var(--fest-display); letter-spacing: .02em; }
.happening-item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .6rem .75rem; border: 0; border-left: 1px solid #68726f; background: transparent; cursor: pointer; }
.happening-primary { padding-right: 38%; padding-left: 1.35rem; background: linear-gradient(90deg, #13211f 0 54%, transparent 72%), url('/assets/images/fest24-crowd-hero-v1.jpg') 82% 72% / auto 180% no-repeat; }
.happening-secondary-list { display: grid; gap: 0; }
.happening-secondary { padding: .3rem .6rem; border-bottom: 1px solid #68726f; }
.happening-secondary:last-child { border-bottom: 0; }
.happening-item h3 { margin: .18rem 0; font: 850 1.8rem/.95 var(--fest-display); letter-spacing: .02em; text-transform: none; }
.happening-primary h3 { font-size: 2rem; }
.happening-secondary h3 { font-size: .9rem; }
.happening-secondary p { font-size: .64rem; }
.happening-item p { margin: 0; color: #bdc9c5; font-size: .73rem; line-height: 1.3; }
.happening-priority { color: var(--fest-teal); font-size: .62rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.happening-priority b { margin-right: .3rem; }
.happening-must .happening-priority { color: var(--fest-gold); }
.happening-item > button { width: 36px; height: 36px; min-height: 36px; border: 1px solid #60706c; border-radius: 50%; background: transparent; color: #fff; font-size: 1.35rem; }
.happening-feature { display: grid; align-content: center; gap: .2rem; }
.happening-feature strong { font: 850 1.35rem/1 var(--fest-display); text-transform: uppercase; }
.happening-feature small { color: #bdc9c5; }
.happening-actions { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
.happening-actions button { min-height: 38px; border: 1px solid #d7dedb; border-radius: 999px; padding: .45rem .8rem; background: transparent; color: #fff; font-size: .7rem; font-weight: 900; white-space: nowrap; }
.happening-actions button:hover { border-color: #fff; }
.happening-quiet { height: auto; min-height: 5rem; grid-template-columns: minmax(8rem, .45fr) minmax(16rem, 1.5fr) auto; background: #e9e2d5; color: var(--fest-ink); border-top: 3px solid #928b80; box-shadow: none; overflow: visible; }
.happening-quiet .happening-label { color: var(--fest-red-dark); }
.happening-quiet .happening-label strong { color: var(--fest-ink); }
.happening-quiet .happening-feature small { color: var(--muted); }
.happening-quiet .happening-actions button { border-color: #918b80; color: var(--fest-ink); }
@keyframes live-pulse { 50% { transform: scale(.72); opacity: .66; } }
.mobile-day-strip { display: none; }
.home-days { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: start; padding-top: .85rem; }
.home-days::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: .72rem; background: linear-gradient(90deg, var(--fest-red) 0 30%, var(--fest-ink) 32% 65%, var(--fest-red) 68% 100%); clip-path: polygon(0 16%, 6% 0, 14% 22%, 24% 5%, 34% 18%, 43% 1%, 54% 24%, 65% 4%, 76% 19%, 87% 2%, 100% 14%, 100% 78%, 91% 100%, 81% 76%, 70% 100%, 59% 80%, 48% 100%, 37% 75%, 25% 100%, 13% 78%, 0 100%); }
.home-day { min-width: 0; padding: 0 1rem; border-left: 1px solid var(--line); }
.home-day:first-child { border-left: 0; }
.home-day > header { display: flex; align-items: center; gap: .55rem; min-height: 2.9rem; }
.home-day > header::after { content: ""; height: 2px; flex: 1; margin-left: .55rem; background: var(--fest-red-dark); }
.home-day > header span { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 900; }
.home-day > header strong { font: 850 2rem/1 var(--fest-display); }
.home-day-past { border-top-color: var(--line); color: var(--muted); }
.home-pick { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) 1rem; gap: .6rem; align-items: start; padding: .7rem .2rem; border-top: 1px solid var(--line); cursor: pointer; }
.home-pick:hover h3 { color: var(--leaf); }
.home-pick time { color: var(--accent-dark); font-weight: 900; }
.home-pick h3 { margin: .12rem 0; font: 800 1rem/1.05 var(--fest-display); letter-spacing: .01em; text-transform: none; transition: color 120ms ease; }
.home-pick p { margin-bottom: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.home-priority { color: var(--leaf); text-transform: uppercase; font-size: .62rem; font-weight: 900; letter-spacing: .09em; }
.home-pick .picker-list { display: none; }
.home-must-see { background: linear-gradient(90deg, rgb(161 125 53 / 18%) 0, rgb(226 211 177 / 12%) 58%, transparent 92%); }
.home-must-see .home-priority { color: #755a24; }
.home-interested { opacity: .76; }
.home-open { color: var(--muted); font-size: 1.5rem; line-height: 1; }
.home-day-empty { min-height: 10rem; display: grid; align-content: center; justify-items: start; gap: .35rem; padding: 1rem; background: rgb(238 232 220 / 58%); color: var(--muted); }
.home-day-empty p { margin-bottom: .5rem; font-size: .82rem; line-height: 1.45; }
.home-day-empty button { min-height: 36px; border: 0; padding: 0; background: transparent; color: var(--leaf); font-weight: 800; }
.home-day-complete { justify-items: center; text-align: center; }
.home-day-complete > span { font-size: 1.35rem; }
.home-more { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--leaf); font-weight: 800; }
.home-footer-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.home-footer-actions button { border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; background: var(--surface); color: var(--ink); font-weight: 800; }
.group-actions { display: flex; justify-content: flex-end; margin: -1rem 0 1rem; }
.empty-state, .error-card { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px dashed #b9b0a2; border-radius: var(--radius); background: rgb(255 253 248 / 68%); text-align: center; }
.empty-state h2, .error-card h2 { font-size: 2rem; }
.error-card { border-color: #d39a90; }
.loading-row { height: 7rem; border-radius: 14px; background: linear-gradient(100deg, #ebe5d9 20%, #f8f5ee 40%, #ebe5d9 60%); background-size: 300% 100%; animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }

.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .8rem; }
.member-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.member-card input { width: 1.2rem; min-height: auto; height: 1.2rem; }
.member-card > div { min-width: 0; flex: 1; }
.member-card h3 { margin-bottom: .35rem; }
.member-picks { min-height: 36px; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--leaf); font-size: .75rem; font-weight: 800; }
.compare-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.compare-layout { display: grid; grid-template-columns: minmax(0, 54rem) minmax(15rem, 1fr); gap: 1.25rem; align-items: start; }
.compare-results-list { display: grid; gap: .75rem; }
.compare-card { display: grid; gap: .45rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: .4rem solid #a8aaa5; border-radius: 14px; background: var(--surface); box-shadow: 0 5px 16px rgb(36 44 40 / 6%); }
.compare-card h3 { margin: 0; font-size: 1.25rem; }
.compare-card.compare-shared { border-left-color: var(--leaf); background: #eef7f2; }
.compare-card.compare-consensus { border-left-color: var(--gold); background: #f2ead8; box-shadow: 0 8px 22px rgb(92 70 30 / 11%); }
.compare-summary { position: sticky; top: 92px; padding: 1.2rem; border-top: .3rem solid var(--ink); background: var(--surface-2); }
.compare-summary h3 { margin-bottom: .35rem; }
.compare-summary > p:not(.eyebrow) { color: var(--muted); font-size: .85rem; }
.compare-summary dl { display: grid; gap: .75rem; margin: 1.2rem 0; }
.compare-summary dl div { display: grid; gap: .15rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.compare-summary dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.compare-summary dd { margin: 0; font-weight: 800; }
.compare-legend { display: grid; gap: .45rem; font-size: .76rem; }
.compare-legend span { display: flex; align-items: center; gap: .45rem; }
.compare-legend i { width: .75rem; height: .75rem; border-radius: 3px; background: #a8aaa5; }
.compare-legend i.shared { background: var(--leaf); }
.compare-legend i.consensus { background: var(--gold); }

dialog { width: min(40rem, calc(100% - 1.5rem)); max-height: calc(100vh - 2rem); overflow: auto; border: 0; border-radius: 22px; padding: 0; color: var(--ink); background: var(--surface); box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
dialog::backdrop { background: rgb(9 18 15 / 70%); backdrop-filter: blur(4px); }
.dialog-body { padding: clamp(1.3rem, 4vw, 2rem); }
.dialog-head { display: flex; justify-content: space-between; gap: 1rem; }
.dialog-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.schedule-update-alert {
  position: fixed;
  z-index: 35;
  top: 4.55rem;
  right: clamp(.85rem, 2vw, 1.6rem);
  width: min(18.5rem, calc(100vw - 1.7rem));
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  padding: .58rem .68rem .58rem .72rem;
  border: 1px solid #52615d;
  border-left: .32rem solid var(--fest-red);
  border-radius: 2px;
  background-color: var(--fest-ink);
  background-image: linear-gradient(90deg, rgb(10 18 16 / 93%), rgb(17 27 25 / 83%)), url('/assets/images/fest24-sidebar-v2.jpg');
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 8px 24px rgb(8 16 14 / 30%);
  text-align: left;
}
.schedule-update-alert[hidden] { display: none; }
.schedule-update-alert:hover { border-color: #74827e; border-left-color: var(--fest-red); background-color: #20302c; }
.schedule-update-alert-icon { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; color: var(--fest-red); }
.schedule-update-alert-icon svg, .schedule-update-heading-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schedule-update-alert-copy { min-width: 0; }
.schedule-update-alert strong { display: block; font: 700 1.08rem/.95 var(--fest-display); letter-spacing: .03em; text-transform: uppercase; }
.schedule-update-alert small { display: block; margin-top: .18rem; color: #d5dedb; font-size: .66rem; font-weight: 800; }
.schedule-update-alert-arrow { color: var(--fest-gold); font: 700 1.75rem/.8 var(--fest-display); }
.schedule-update-dialog { width: min(38rem, calc(100% - 1.5rem)); height: min(44rem, calc(100dvh - 1.5rem)); max-height: none; overflow: hidden; background: var(--fest-paper); }
.schedule-update-dialog .dialog-body { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: 0; overflow: hidden; }
.schedule-update-head { min-height: 76px; align-items: center; padding: .7rem .85rem; border-bottom: .3rem solid var(--fest-red); background-color: var(--fest-ink); background-image: linear-gradient(90deg, rgb(9 18 16 / 87%), rgb(9 18 16 / 62%)), url('/assets/images/fest24-crowd-hero-v1.jpg'); background-position: center 58%; background-size: cover; color: #fff; }
.schedule-update-heading { min-width: 0; display: flex; align-items: center; gap: .75rem; }
.schedule-update-heading-icon { flex: 0 0 auto; width: 2rem; height: 2rem; color: var(--fest-red); }
.schedule-update-head p { margin: 0 0 .18rem; color: var(--fest-gold); font-size: .58rem; }
.schedule-update-head h2 { margin: 0; color: #fff; font: 700 1.7rem/.92 var(--fest-display); letter-spacing: .015em; text-transform: uppercase; }
.schedule-update-head .dialog-close { flex: 0 0 auto; border-color: #87938f; background: rgb(255 253 248 / 96%); color: var(--fest-ink); }
.schedule-update-summary { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .42rem .85rem; border-bottom: 1px solid #b7ad9a; background: #ebe3d4; color: var(--muted); font-size: .68rem; }
.schedule-update-summary strong { color: var(--fest-red-dark); font: 700 .9rem/1 var(--fest-display); letter-spacing: .06em; text-transform: uppercase; }
.schedule-update-list { min-height: 0; display: grid; align-content: start; gap: .65rem; overflow-y: auto; overscroll-behavior: contain; padding: .75rem; scrollbar-width: thin; }
.schedule-update-page { display: flex; flex-direction: column; padding: .85rem 1rem .75rem; border: 1px solid var(--line); border-left: .32rem solid var(--fest-ink); background: rgb(255 253 248 / 96%); }
.schedule-update-page.schedule-update-must { border-left-color: var(--gold); background: linear-gradient(105deg, rgb(161 125 53 / 17%), rgb(255 253 248 / 97%) 62%); }
.schedule-update-page.schedule-update-interested { border-left-color: var(--leaf); }
.schedule-update-priority { width: fit-content; max-width: 100%; margin-bottom: .32rem; font-size: .58rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.schedule-update-priority.must { color: #755a24; }
.schedule-update-priority.interested { color: var(--leaf); }
.schedule-update-priority.general { color: var(--muted); }
.schedule-update-page h3 { max-width: 100%; margin: 0; overflow-wrap: anywhere; font: 700 clamp(1.35rem, 5vw, 1.85rem)/.96 var(--fest-display); letter-spacing: .01em; }
.schedule-update-type { margin: .28rem 0 .58rem; color: var(--fest-red-dark); font-size: .64rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.schedule-update-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.schedule-update-snapshot, .schedule-update-cancelled { min-height: 6.4rem; padding: .58rem .62rem; border: 1px solid var(--line); border-left: .3rem solid var(--fest-ink); background: var(--surface); }
.schedule-update-snapshot.now { border-left-color: var(--fest-red); background: #fff8ef; }
.schedule-update-snapshot > span { display: block; margin-bottom: .28rem; color: var(--muted); font-size: .56rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.schedule-update-snapshot strong { display: block; font-size: .72rem; line-height: 1.2; }
.schedule-update-snapshot time { display: block; margin-top: .15rem; color: var(--fest-red-dark); font: 700 .96rem/1 var(--fest-display); }
.schedule-update-snapshot p, .schedule-update-cancelled p { margin: .32rem 0 0; font-size: .7rem; line-height: 1.3; }
.schedule-update-snapshot.was strong, .schedule-update-snapshot.was time, .schedule-update-snapshot.was p { color: #71695e; text-decoration: line-through; }
.schedule-update-cancelled { min-height: 5.5rem; border-left-color: var(--fest-red); background: #f4dfd7; }
.schedule-update-cancelled strong { display: block; color: var(--fest-red-dark); font: 700 1.15rem/1 var(--fest-display); text-transform: uppercase; }
.schedule-update-note { display: grid; gap: .2rem; margin-top: .58rem; padding: .5rem .6rem; border-left: .3rem solid var(--fest-red); background: #eadfc8; }
.schedule-update-note p { margin: 0; font-size: .68rem; line-height: 1.32; }
.account-action-list { display: grid; gap: .65rem; }
.account-action-list button { width: 100%; text-align: left; }
.managed-person { padding: .85rem 0; border-bottom: 1px solid var(--line, #d9d3c6); overflow-wrap: anywhere; }
.managed-person h3 { margin: .1rem 0 .45rem; }
.managed-person p { margin: .35rem 0; }
.managed-person > button { display: block; margin-top: .55rem; white-space: normal; }
.group-plans-launch { margin: .65rem 0; }
.schedule-update-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .45rem; padding-top: .58rem; }
.schedule-update-actions button { width: 100%; min-height: 42px; padding: .48rem .62rem; font-size: .68rem; }
.schedule-update-summary { flex-wrap: wrap; }
.schedule-update-summary .primary { min-height: 44px; width: auto; font-size: .8rem; }
.schedule-update-empty-dialog { height: auto; min-height: 18rem; }
.schedule-update-empty-dialog .dialog-body { display: block; padding: 1.25rem; }
.detail-time-place { line-height: 1.45; }
.detail-stage-link { display: inline-grid; justify-items: start; min-height: 0; margin-top: .15rem; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.detail-stage-link > span { font-size: 1rem; text-decoration: underline; text-decoration-color: var(--fest-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.detail-stage-link small { margin-top: .25rem; color: var(--leaf); font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.detail-stage-link:hover > span { color: var(--fest-red-dark); }
.admin-dialog { --admin-dialog-padding: clamp(1.3rem, 4vw, 2rem); --admin-safe-gap: max(1rem, env(safe-area-inset-top), env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--admin-safe-gap) - var(--admin-safe-gap)); max-width: calc(100vw - max(.5rem, env(safe-area-inset-left)) - max(.5rem, env(safe-area-inset-right))); scroll-padding-top: 8rem; }
.admin-dialog .dialog-body > .dialog-head { position: sticky; top: 0; z-index: 3; margin: calc(-1 * var(--admin-dialog-padding)) calc(-1 * var(--admin-dialog-padding)) 0; padding: var(--admin-dialog-padding) var(--admin-dialog-padding) 0; background: var(--surface); }
.admin-dialog .dialog-head > :first-child { min-width: 0; overflow-wrap: anywhere; }
.admin-dialog .dialog-head .dialog-close { flex: 0 0 44px; }

.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; }
.dialog-actions .primary { width: auto; }
.field-label { margin: 0 0 .45rem; font-weight: 800; }
.detail-picks { margin: 1rem 0; padding: 1rem; border-radius: 12px; background: var(--surface-2); }
.pick-sharing { display: flex; align-items: center; gap: .55rem; margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 700; }
.pick-sharing[hidden] { display: none; }
.pick-sharing input { width: 1.1rem; height: 1.1rem; min-height: auto; accent-color: var(--leaf); }
.music-links { margin: 1.25rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); }
.music-heading { display: flex; align-items: center; gap: .4rem; color: var(--muted); }
.music-heading .field-label { margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.music-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.music-link { display: inline-flex; align-items: center; gap: .25rem; padding: .35rem 0; color: var(--leaf); font-size: .84rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.music-link svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.music-link + .music-link::before { content: '·'; margin-right: .25rem; color: var(--muted); text-decoration: none; }
.music-link.apple { color: var(--ink); }
.music-fallback-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .55rem 0 .35rem; }
.music-copy-button { width: auto; min-height: 38px; border-radius: 2px; }
.music-fallback-controls > span { color: var(--muted); font-size: .74rem; }
.music-copy-name { color: var(--ink); user-select: text; -webkit-user-select: text; }
.music-links > .text-button { min-height: 28px; margin-top: .1rem; color: var(--muted); font-size: .72rem; }
.music-fallback-note { display: block; max-width: 36rem; margin-top: .2rem; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.music-copy-status { display: grid; gap: .2rem; margin-top: .55rem; padding: .7rem .8rem; border-left: .3rem solid var(--fest-red); background: #eee7da; font-size: .78rem; line-height: 1.4; }
.music-copy-status[hidden] { display: none; }
.music-copy-status span { color: var(--muted); }
.text-button { min-height: 36px; margin-top: .45rem; padding: 0; border: 0; background: transparent; color: var(--leaf); text-decoration: underline; }
.inline-panel { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.admin-link-editor { margin: .5rem 0 0; padding: .65rem 0 0; border-top: 1px dashed var(--line); }
.admin-link-editor summary { cursor: pointer; color: var(--muted); font-size: .75rem; font-weight: 700; }
.success-message { color: var(--leaf); font-weight: 800; }
.profile-avatar-row { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.profile-avatar { width: 5rem; height: 5rem; font-size: 1.4rem; }
.profile-avatar-row > div { display: grid; justify-items: start; gap: .45rem; }
.profile-avatar-row small { color: var(--muted); }
.file-button { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.report-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.report-card > div:first-child { display: grid; gap: .3rem; }
.report-card span, .report-card small { color: var(--muted); }
.report-actions { grid-column: 1 / -1; display: flex; gap: .5rem; }
.help-dialog { width: min(58rem, calc(100% - 1.5rem)); }
.manage-members-dialog { width: min(42rem, calc(100% - 1rem)); }
.managed-member { padding: 1rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.invite-destination-info { padding: .65rem 0; font-weight: 700; line-height: 1.5; }
.create-group-details { margin: 1rem 0; padding: .8rem 0; border-top: 1px solid var(--line); }
.create-group-details summary { cursor: pointer; font-weight: 800; min-height: 44px; }
.managed-member p { margin: .3rem 0; }
.managed-member small { display: block; margin-bottom: .65rem; color: var(--muted); }
.member-invite-result { margin: 1rem 0; padding: 1rem; border: 2px solid var(--leaf); }
.member-invite-result input { font-size: 16px; }
.help-jump-links { position: sticky; z-index: 2; top: -1px; display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; padding: .55rem 0; border-bottom: 2px solid var(--fest-ink); background: var(--surface); }
.help-jump-links button { min-height: 34px; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--leaf); font-size: .72rem; font-weight: 850; }
.help-sections { display: grid; gap: .8rem; }
.help-sections section { padding: 1rem; border: 1px solid var(--line); border-left: .3rem solid var(--fest-red-dark); border-radius: 2px; background: var(--surface); scroll-margin-top: 4rem; }
.help-sections h3 { margin-bottom: .35rem; font: 700 1.6rem/1 var(--fest-display); text-transform: uppercase; }
.help-sections p, .help-sections li { color: var(--muted); line-height: 1.5; }
.help-steps { display: grid; gap: .35rem; padding-left: 1.25rem; }
.help-sections details { padding: .65rem 0; border-top: 1px solid var(--line); }
.help-sections details:first-of-type { margin-top: .6rem; }
.help-sections details summary { cursor: pointer; color: var(--ink); font-weight: 900; }
.help-sections details p { margin: .5rem 0; }
.help-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.help-actions button { min-height: 36px; border-radius: 2px; }
.help-downloads { display: flex; flex-wrap: wrap; gap: .5rem; }
.help-downloads a { width: auto; min-height: 40px; border-radius: 2px; text-decoration: none; }
.help-downloads button { width: auto; min-height: 44px; border-radius: 2px; }
.guide-viewer { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; overflow: hidden; border-radius: 0; background: var(--fest-paper); }
.guide-viewer .dialog-body { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: 0; }
.guide-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: max(.65rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) .65rem max(.8rem, env(safe-area-inset-left)); background: var(--fest-ink); color: #fff; }
.guide-viewer-head h2 { margin: 0; font: 700 clamp(1.2rem, 4vw, 1.8rem)/1 var(--fest-display); text-transform: uppercase; }
.guide-viewer-head .eyebrow { margin: 0 0 .25rem; }
.guide-viewer-head button { flex-shrink: 0; }
.guide-viewer-tools { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem .8rem; border-bottom: 2px solid var(--fest-red); }
.guide-viewer-tools label { display: flex; gap: .5rem; align-items: center; font-weight: 800; }
.guide-viewer-tools select { min-height: 44px; width: auto; }
.guide-viewer-status { font-size: .8rem; color: var(--muted); }
.guide-viewer-pages { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 12px 12px max(12px, env(safe-area-inset-bottom)); background: #ded7c8; }
.guide-viewer-page { max-width: none; margin: 0 auto 1rem; }
.guide-viewer-page > p { margin: 0 0 .4rem; color: var(--fest-ink); font-size: .8rem; }
.guide-viewer-page canvas { display: block; background: white; box-shadow: 0 2px 8px rgb(0 0 0 / 18%); }
.guide-viewer-message { max-width: 36rem; margin: 1rem auto; padding: 1rem; background: var(--fest-paper); }
.legal-dialog { width: min(54rem, calc(100% - 1.5rem)); }
.independent-notice { margin: 1rem 0; padding: 1rem; border-left: .35rem solid var(--fest-red); background: #eee7da; }
.independent-notice h3, .legal-section h3 { margin: 0 0 .4rem; font-family: var(--fest-display); font-size: 1.35rem; text-transform: uppercase; }
.independent-notice p, .legal-section p { margin: .45rem 0; line-height: 1.55; }
.legal-jump-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; padding-bottom: .8rem; border-bottom: 2px solid var(--fest-ink); }
.legal-jump-links button { min-height: 34px; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--leaf); font-size: .75rem; font-weight: 850; }
.legal-section { padding: 1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.legal-section:last-child { border-bottom: 0; }
.legal-date { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.legal-section > .secondary { width: auto; min-height: 40px; margin-top: .35rem; border-radius: 2px; }
.optional-label { color: var(--muted); font-size: .7rem; font-weight: 600; }
.contact-requests-dialog { width: min(54rem, calc(100% - 1.5rem)); }
#contact-requests-list { display: grid; gap: .75rem; margin-top: 1rem; }
.contact-request-card { padding: 1rem; border: 1px solid var(--line); border-left: .35rem solid var(--fest-red); background: var(--surface); }
.contact-request-card header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.contact-request-card h3 { margin: .2rem 0; font: 700 1.45rem/1 var(--fest-display); }
.contact-request-card header p { margin: 0; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.contact-request-card header select { min-width: 7.5rem; }
.contact-request-type { color: var(--fest-red-dark); font-size: .62rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.contact-request-card section { margin-top: .8rem; }
.contact-request-card h4 { margin: 0 0 .25rem; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.contact-request-card section p { margin: 0; white-space: pre-wrap; line-height: 1.5; }
.diagnostic-note { display: grid; gap: .25rem; margin: 1rem 0; padding: .75rem; border-radius: 10px; background: var(--surface-2); font-size: .78rem; }
.diagnostic-note small { color: var(--muted); }
.bug-list { display: grid; gap: 1rem; max-width: 64rem; }
.bug-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 16px rgb(36 44 40 / 6%); }
.bug-card header { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.bug-card header h2 { margin: .45rem 0 .25rem; }
.bug-card header select { min-width: 8rem; }
.bug-card section { margin-top: 1rem; }
.bug-card section h3 { margin-bottom: .25rem; font-size: .82rem; font-family: inherit; text-transform: uppercase; letter-spacing: .07em; }
.bug-card section p { white-space: pre-wrap; line-height: 1.55; }
.bug-card footer { margin-top: 1rem; color: var(--muted); font-size: .75rem; }
.bug-screenshot { display: block; margin-top: 1rem; }
.bug-screenshot img { display: block; max-width: min(24rem, 100%); max-height: 20rem; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
.conflict-list { display: grid; gap: .5rem; padding: 0; list-style: none; }
.conflict-list li { padding: .75rem; border-radius: 10px; background: #fff4e0; }
.banner { padding: .75rem 1rem; border-radius: 12px; background: #fff1cd; border: 1px solid #e9cf8c; margin-bottom: 1rem; }
.offline { background: #f9dddd; border-color: #e5a6a6; }

.schedule-view-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.compact-launch, .compact-page-actions a, .venue-map-open { display: inline-flex; align-items: center; gap: .3rem; min-height: 38px; color: var(--leaf); font-weight: 800; }
.venue-map-card { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(24rem, 1.3fr); gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; padding: 1.2rem; background: var(--ink); color: #fff; border-radius: 18px; overflow: hidden; }
.venue-map-card h2 { margin: .35rem 0; font-size: 2rem; }
.venue-map-card p:not(.eyebrow) { color: #cbd5d1; line-height: 1.5; }
.venue-map-card img { width: 100%; background: var(--paper); }
.venue-map-card .venue-map-open { width: fit-content; padding: .55rem .8rem; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; }
.venue-map-frame { overflow: hidden; border: 3px solid var(--fest-ink); background: var(--fest-paper); box-shadow: 7px 7px 0 var(--fest-red); }
.venue-map-frame > header, .venue-map-frame > footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .7rem; background: #efe6d4; color: var(--fest-ink); }
.venue-map-frame > header { border-bottom: 2px solid var(--fest-ink); }
.venue-map-frame > footer { border-top: 2px solid var(--fest-ink); }
.venue-map-frame > header div { display: grid; gap: .08rem; }
.venue-map-frame > header span, .venue-map-frame > footer span { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.venue-map-frame > header strong { font: 700 1.25rem/1 var(--fest-display); text-transform: uppercase; }
.venue-map-frame > footer strong { color: var(--fest-red-dark); font: 700 1rem/1 var(--fest-display); text-transform: uppercase; }
.venue-map-frame > img { display: block; width: 100%; max-height: 42rem; object-fit: contain; }
.venue-map-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; background: var(--fest-paper); }
.venue-map-dialog .dialog-body { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 0; }
.venue-map-dialog-head { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: .65rem 1rem; background: var(--fest-ink); color: #fff; box-shadow: 0 3px 12px rgb(0 0 0 / 25%); }
.venue-map-dialog-head h2 { margin: 0; font: 700 1.8rem/1 var(--fest-display); text-transform: uppercase; }
.venue-map-close { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .7rem; border: 1px solid #84918d; border-radius: 2px; background: #fff; color: var(--fest-ink); font-weight: 900; }
.venue-map-close b { font-size: 1.4rem; line-height: 1; }
.venue-map-full { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); gap: 1rem; align-items: center; overflow: auto; overscroll-behavior: contain; padding: 1rem; background: #ded7c8; }
.venue-map-dialog-frame { height: 100%; min-height: 0; display: flex; justify-content: center; padding: .55rem; border: .35rem solid var(--fest-red); background: var(--fest-paper); }
.venue-map-dialog-frame img { display: block; width: auto; max-width: 100%; height: 100%; max-height: calc(100dvh - 104px); object-fit: contain; background: var(--fest-paper); }
.venue-map-dialog-info { display: grid; gap: .55rem; padding: 1rem; border-top: .3rem solid var(--fest-ink); background: var(--fest-paper); color: var(--fest-ink); }
.venue-map-dialog-info strong { color: var(--fest-red-dark); font: 700 1.6rem/1 var(--fest-display); text-transform: uppercase; }
.venue-map-dialog-info span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.venue-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.venue-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.venue-card h2 { margin: 0 0 .2rem; font-size: 1.2rem; }
.venue-card address { color: var(--muted); font-size: .86rem; font-style: normal; line-height: 1.45; }
.venue-short, .venue-stages { margin: .25rem 0; color: var(--muted); font-size: .75rem; }
.venue-card button { min-height: 36px; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--leaf); font-size: .75rem; font-weight: 800; }

.compact-open { overflow: hidden; }
.compact-overlay { position: fixed; z-index: 80; inset: 0; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: var(--paper); color: var(--ink); }
.compact-overlay > header { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .55rem .8rem; background: var(--ink); color: #fff; }
.compact-overlay > header p { margin: 0; color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.compact-overlay > header h1 { margin: 0; font-size: 1.3rem; }
.compact-overlay > header button { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #82908c; border-radius: 50%; background: transparent; color: #fff; font-size: 1.4rem; }
.compact-overlay-actions { min-width: 0; display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.compact-overlay-actions a { color: #fff; font-size: .72rem; font-weight: 800; }
.compact-overlay-body { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: .5rem; overflow: hidden; }
.compact-page-content { width: 100%; max-width: none; }
.compact-route { min-height: 100dvh; overflow-x: hidden; overflow-y: auto; }
.compact-route #app { height: max(100dvh, 42rem); min-height: 0; }
.compact-route .topbar, .compact-route .side-nav, .compact-route .demo-banner { display: none; }
.compact-route .shell { display: block; height: 100%; min-height: 0; padding: 0; }
.compact-route .compact-page-content { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left)); }
#compact-page-board { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.compact-route .page-heading { margin-bottom: .4rem; }
.compact-route .page-heading h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.compact-page-actions { margin: -.35rem 0 .45rem; }
.compact-controls { min-width: 0; }
.compact-controls .day-tabs { gap: .35rem; padding: 0 .1rem .3rem; }
.compact-controls .day-tab { min-height: 34px; padding: .35rem .75rem; }
.compact-member-filters { display: flex; gap: .3rem; overflow-x: auto; padding: 0 .1rem .3rem; scrollbar-width: thin; }
.compact-member-filter { position: relative; min-width: 3.85rem; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: .25rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .7rem; font-weight: 800; text-align: center; }
.compact-member-filter i { position: absolute; left: .42rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--picker-color); }
.compact-member-filter.active { border-color: var(--picker-color, var(--ink)); background: var(--ink); color: #fff; }
.compact-member-all.active { background: var(--ink); }
.compact-key { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0 .1rem .3rem; color: var(--muted); font-size: .66rem; font-weight: 700; }
.compact-board { min-height: 18rem; height: min(72vh, 52rem); display: flex; align-items: stretch; gap: .45rem; overflow: auto; padding: .1rem .1rem .55rem; scrollbar-color: var(--leaf) var(--surface-2); }
.compact-route .compact-board, .compact-overlay .compact-board { min-width: 0; min-height: 0; height: auto; overflow-x: auto; overflow-y: hidden; }
.compact-venue { flex: 0 0 clamp(16rem, 25vw, 20rem); min-width: 16rem; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.compact-venue > header { position: sticky; top: 0; z-index: 1; min-height: 2.8rem; padding: .42rem .65rem; border-bottom: 3px solid var(--accent); background: var(--ink); color: #fff; }
.compact-venue > header h2 { margin: 0; font-size: 1.05rem; }
.compact-venue > header small { display: block; margin-top: .08rem; color: #bfcac6; font-size: .64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-rows { min-height: 0; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: var(--leaf) var(--surface-2); }
.compact-row { min-height: 44px; display: grid; grid-template-columns: 3.05rem minmax(0, 1fr) auto; gap: .3rem; align-items: center; padding: .27rem .42rem; border-bottom: 1px solid var(--line); }
.compact-row:nth-child(even) { background: #f4f0e8; }
.compact-row.compact-must { box-shadow: inset .28rem 0 var(--gold); background: #f7f1e3; }
.compact-row time { color: var(--accent-dark); font: 800 .78rem/1 Georgia, serif; }
.compact-event { min-width: 0; display: grid; gap: .08rem; }
.compact-event strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.compact-event small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .62rem; }
.compact-row .picker-list { grid-column: 2 / 3; justify-content: flex-start; gap: .18rem; margin-top: -.08rem; overflow: hidden; flex-wrap: nowrap; }
.compact-row .picker-person { min-height: 18px; padding: .04rem .25rem; border-left-width: .2rem; font-size: .56rem; white-space: nowrap; }
.compact-pick-actions { grid-column: 3; grid-row: 1 / span 2; display: flex; gap: .18rem; }
.compact-pick-actions button { width: 30px; min-height: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #eef2ee; color: var(--leaf); font-size: .72rem; }
.compact-pick-actions button.active { background: var(--leaf); color: #fff; }
.compact-pick-actions button.must.active { background: #755a24; }
.compact-loading { padding: 2rem; text-align: center; color: var(--muted); }
.compact-empty { flex: 1; }

@media (min-width: 1650px) {
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .auth-page { display: block; }
  .auth-art { min-height: 15rem; padding: 2rem; }
  .auth-wordmark { font-size: 4rem; }
  .auth-copy { display: none; }
  .auth-panel { margin-top: -2rem; position: relative; z-index: 2; }
  .topbar { min-height: 58px; gap: .3rem; padding: max(.35rem, env(safe-area-inset-top)) max(.45rem, env(safe-area-inset-right)) .35rem max(.45rem, env(safe-area-inset-left)); }
  .schedule-update-alert { top: calc(max(.35rem, env(safe-area-inset-top)) + 4.05rem); right: max(.6rem, env(safe-area-inset-right)); width: min(17.5rem, calc(100vw - 1.2rem)); min-height: 54px; }
  .schedule-update-dialog { width: 100vw; height: 100dvh; max-width: none; margin: 0; border-radius: 0; }
  .schedule-update-head { min-height: 70px; padding: max(.55rem, env(safe-area-inset-top)) max(.7rem, env(safe-area-inset-right)) .55rem max(.7rem, env(safe-area-inset-left)); }
  .schedule-update-heading { gap: .55rem; }
  .schedule-update-heading-icon { width: 1.7rem; height: 1.7rem; }
  .schedule-update-head h2 { font-size: 1.45rem; }
  .schedule-update-summary { min-height: 36px; padding: .36rem .7rem; }
  .schedule-update-list { gap: .5rem; padding: .55rem; }
  .schedule-update-page { padding: .68rem .7rem .6rem; }
  .schedule-update-page h3 { font-size: clamp(1.22rem, 6vw, 1.58rem); }
  .schedule-update-snapshot, .schedule-update-cancelled { min-height: 5.8rem; padding: .5rem; }
  .schedule-update-note { margin-top: .48rem; padding: .42rem .5rem; }
  .schedule-update-actions { padding-top: .48rem; }
  .schedule-update-actions button { min-height: 40px; padding: .42rem .5rem; font-size: .64rem; }
  .wordmark { flex: 0 0 4.7rem; min-height: 36px; font-size: 1.45rem; white-space: nowrap; }
  .wordmark small { font-size: .55rem; }
  .festival-location { flex: 1 1 auto; max-width: 6.2rem; gap: .25rem; padding-left: .45rem; font-size: .46rem; letter-spacing: .1em; line-height: 1.25; }
  .refresh-status { display: none; }
  .back-to-guide { padding: .3rem .5rem; font-size: .65rem; }
  .user-name { display: none; }
  .group-context label { display: none; }
  .group-context select { max-width: 7.5rem; }
  .group-shortcut { max-width: 5.2rem; min-height: 32px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .55rem; padding: .35rem .35rem; }
  .top-avatar { width: 2.1rem; height: 2.1rem; }
  .shell { display: block; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .side-nav { position: fixed; inset: auto 0 0; z-index: 25; height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: .1rem; padding: .3rem max(.25rem, env(safe-area-inset-right)) max(.25rem, env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left)); overflow: visible; border: 0; border-top: 1px solid #34413e; background: rgb(17 27 25 / 99%); box-shadow: 0 -7px 20px rgb(0 0 0 / 20%); }
  .nav-button { min-width: 0; min-height: 49px; display: grid; place-items: center; align-content: center; gap: .1rem; border: 0; border-radius: 8px; color: #fff; font-size: .55rem; padding: .1rem .02rem; margin: 0; text-align: center; }
  .nav-button:hover { background: rgb(255 255 255 / 6%); }
  .nav-button[aria-current="page"] { border: 0; background: rgb(255 255 255 / 9%); color: #fff; }
  .nav-icon { display: block; width: auto; color: #fff; font-size: .92rem; }
  .nav-label { white-space: nowrap; }
  .nav-home { width: 60px; height: 60px; min-height: 60px; align-self: start; justify-self: center; transform: translateY(-.72rem); border: 3px solid var(--fest-ink); border-radius: 50%; background: var(--fest-red); color: #fff; box-shadow: 0 4px 13px rgb(0 0 0 / 30%); }
  .nav-home:hover, .nav-home[aria-current="page"] { background: var(--fest-red-dark); color: #fff; }
  .nav-home .nav-icon { display: none; }
  .nav-home .nav-label { font-size: 0; }
  .nav-home .nav-label::before { content: "NOW\A NEXT"; white-space: pre; font: 900 .68rem/.9 var(--fest-display); letter-spacing: .08em; }
  .content { padding: 1rem; }
  .content.home-content { padding: 0; }
  .page-heading { align-items: start; }
  .freshness { display: none; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar input { grid-column: 1 / -1; }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-card { min-height: 0; }
  .time-group { grid-template-columns: 1fr; gap: .25rem; }
  .time-label { position: static; }
  .item-stack { grid-template-columns: 1fr; }
  .next-tier > header { align-items: start; flex-direction: column; gap: 0; }
  .home-page { min-height: auto; padding: 0 .7rem 1.4rem; }
  .home-page::after { width: 17rem; height: 12rem; right: -8rem; }
  .home-hero { width: auto; grid-template-columns: 1fr; gap: .35rem; margin: 0 0 .35rem; }
  .home-lead { height: clamp(9.2rem, 46vw, 11.2rem); min-height: 0; justify-content: flex-start; padding: .4rem .3rem; background-position: center; }
  .home-lead::before { width: 11rem; height: 11rem; right: -4rem; bottom: 3rem; opacity: .18; }
  .home-lead::after { width: 6rem; height: 8rem; right: -1rem; bottom: 4.5rem; opacity: .12; }
  .home-kicker { font-size: .48rem; letter-spacing: .12em; }
  .home-lead h1 { width: auto; max-width: none; margin: .35rem 0 1.1rem; font-size: clamp(2.25rem, 11.6vw, 3rem); white-space: nowrap; transform: none; }
  .home-lead h1 span { left: 0; transform: none; }
  .home-lead p { max-width: none; width: auto; padding: 0; background: transparent; font-size: .44rem; letter-spacing: .14em; white-space: nowrap; }
  .home-next-grid { grid-template-columns: 1fr; gap: .25rem; align-content: stretch; padding-bottom: 0; }
  .home-next-card { height: 4.15rem; min-height: 0; grid-template-columns: minmax(6.2rem, 34%) minmax(0, 1fr); grid-template-rows: 1fr; }
  .home-next-art { min-height: 0; padding: .5rem; background-size: auto 235%; }
  .home-next-art span { font-size: .51rem; line-height: 1.2; }
  .home-next-copy { min-height: 0; padding: .5rem .6rem; }
  .home-next-card h2 { font-size: clamp(1.15rem, 5.8vw, 1.5rem); }
  .home-next-card p { font-size: .58rem; }
  .home-detail-link { width: 30px; height: 30px; min-height: 30px; font-size: 1.05rem; }
  .happening-panel { height: 13.7rem; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 3.6rem 3.85rem minmax(0, 1fr); gap: 0; padding: .55rem .65rem; }
  .happening-label { grid-column: 1; grid-row: 1; padding: 0; font-size: 1rem; }
  .happening-label strong { font-size: 1.8rem; }
  .happening-actions { grid-column: 2; grid-row: 1; align-items: start; justify-content: flex-end; }
  .happening-actions button { min-height: 30px; padding: .3rem .55rem; font-size: .58rem; }
  .happening-primary { grid-column: 1 / -1; grid-row: 2; min-height: 0; padding: .3rem .4rem .3rem 34%; border-left: 0; border-top: 1px solid #68726f; background: linear-gradient(90deg, transparent 0 29%, #13211f 35%), url('/assets/images/fest24-crowd-hero-v1.jpg') right 72% / auto 800% no-repeat; }
  .happening-primary h3 { font-size: 1.35rem; }
  .happening-primary p { overflow: hidden; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
  .happening-secondary-list { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr; gap: 0; }
  .happening-secondary { min-height: 0; align-content: center; padding: .2rem .4rem .2rem 34%; border-left: 0; background: linear-gradient(90deg, transparent 0 29%, #13211f 35%), url('/assets/images/fest24-crowd-hero-v1.jpg') right 72% / auto 800% no-repeat; }
  .happening-secondary:nth-child(2) { background-position: right 40%; }
  .happening-secondary h3 { font-size: 1rem; }
  .happening-item p { font-size: .58rem; }
  .happening-priority { font-size: .51rem; }
  .happening-item > button { width: 28px; height: 28px; min-height: 28px; font-size: 1rem; }
  .happening-quiet { height: auto; min-height: 6rem; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: .55rem .65rem; }
  .happening-quiet .happening-label { grid-column: 1; grid-row: 1; }
  .happening-quiet .happening-feature { grid-column: 1 / -1; grid-row: 2; }
  .happening-quiet .happening-actions { grid-column: 2; grid-row: 1; }
  .mobile-day-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .1rem; padding-top: .65rem; }
  .mobile-day-strip::before { content: ""; position: absolute; inset: 0 0 auto; height: .55rem; background: linear-gradient(90deg, var(--fest-red) 0 30%, var(--fest-ink) 32% 65%, var(--fest-red) 68% 100%); clip-path: polygon(0 16%, 8% 0, 18% 20%, 30% 3%, 42% 20%, 54% 0, 66% 22%, 78% 4%, 90% 20%, 100% 3%, 100% 78%, 88% 100%, 76% 76%, 64% 100%, 52% 80%, 40% 100%, 28% 76%, 16% 100%, 0 78%); }
  .mobile-day-strip button { min-width: 0; min-height: 0; height: 2.4rem; display: flex; align-items: center; justify-content: center; gap: .35rem; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--fest-ink); text-transform: uppercase; }
  .mobile-day-strip button:first-child { border-left: 0; }
  .mobile-day-strip span { font: 850 .78rem/1 var(--fest-display); }
  .mobile-day-strip strong { color: var(--fest-red-dark); font: 900 1.3rem/1 var(--fest-display); }
  .home-days { display: none; }
  .home-footer-actions { display: none; }
  .compare-layout { grid-template-columns: 1fr; }
  .compare-summary { position: static; grid-row: 1; }
  .bug-card header { align-items: start; flex-direction: column; padding-bottom: .8rem; }
  .home-day-empty { min-height: 7rem; }
  .demo-banner { align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
  .demo-banner span { flex: 1 1 12rem; }
  .venue-map-card { grid-template-columns: 1fr; }
  .venue-directory { grid-template-columns: 1fr; }
  .venue-card { grid-template-columns: minmax(0, 1fr); }
  .venue-card button { grid-column: 1; justify-self: start; }
  .venue-map-full { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: .5rem; padding: .5rem; overflow: hidden; }
  .venue-map-dialog-frame { height: 100%; padding: .3rem; border-width: .25rem; }
  .venue-map-dialog-frame img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .venue-map-dialog-info { gap: .2rem; padding: .55rem .7rem; }
  .venue-map-dialog-info strong { font-size: 1.05rem; }
  .venue-map-dialog-info span { font-size: .68rem; }
  .picker-list { justify-content: flex-start; }
  .picker-filter-bar { align-items: flex-start; }
  .schedule-view-actions { align-items: flex-start; }
}

@media (max-width: 760px) and (max-height: 650px) {
  .schedule-update-head { min-height: 62px; }
  .schedule-update-heading-icon { width: 1.5rem; height: 1.5rem; }
  .schedule-update-head h2 { font-size: 1.28rem; }
  .schedule-update-summary { min-height: 32px; }
  .schedule-update-page { padding-top: .52rem; }
  .schedule-update-priority { margin-bottom: .2rem; font-size: .52rem; }
  .schedule-update-page h3 { font-size: 1.18rem; }
  .schedule-update-type { margin: .18rem 0 .4rem; font-size: .56rem; }
  .schedule-update-snapshot, .schedule-update-cancelled { min-height: 5rem; padding: .42rem; }
  .schedule-update-snapshot p, .schedule-update-cancelled p { margin-top: .22rem; font-size: .63rem; }
  .schedule-update-note { margin-top: .38rem; padding: .34rem .42rem; }
  .schedule-update-note p { font-size: .61rem; }
  .schedule-update-actions { padding-top: .38rem; }
  .schedule-update-actions button { min-height: 36px; }
}

@media (max-width: 520px) {
  .topbar { gap: .45rem; }
  .user-menu { gap: .35rem; }
  .group-context select { display: none; }
  .group-shortcut { max-width: 4.7rem; font-size: .55rem; }
  .nav-button { font-size: .52rem; }
  .nav-home { width: 58px; height: 58px; min-height: 58px; }
  .home-lead h1 { font-size: clamp(2.2rem, 11.6vw, 2.85rem); }
}

/* Approved FEST 24 home visual system — local candidate */
.topbar {
  background-color: var(--fest-ink);
  background-image: radial-gradient(circle at 72% 20%, rgb(255 255 255 / 5%) 0 .06rem, transparent .08rem), linear-gradient(95deg, rgb(255 255 255 / 2%), transparent 36%);
  background-size: .62rem .62rem, 100% 100%;
}
.wordmark { font-weight: 700; letter-spacing: -.025em; text-shadow: 1px 1px 0 #000; }
.group-shortcut { display: inline-flex; align-items: center; gap: .4rem; }
.group-shortcut-icon { width: 1rem; height: 1rem; display: inline-grid; place-items: center; }
.group-shortcut-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.side-nav {
  background-color: #0d1715;
  background-image: linear-gradient(rgb(9 18 16 / 12%), rgb(9 18 16 / 12%)), url('/assets/images/fest24-sidebar-v2.jpg');
  background-position: center bottom;
  background-size: cover;
}
.nav-icon { display: inline-grid; place-items: center; }
.nav-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon svg.fill-icon { fill: currentColor; stroke: none; }
.nav-live-dot { display: block; width: 1rem; height: 1rem; border-radius: 50%; background: var(--fest-red); box-shadow: 0 0 0 .18rem rgb(212 62 48 / 12%); }
.nav-home-copy { display: none; }

.home-page { background: var(--fest-paper); }
.home-page::after { display: none; }
.home-hero { grid-template-columns: minmax(0, 1.62fr) minmax(25rem, .9fr); gap: .75rem; }
.home-lead {
  container-type: inline-size;
  height: 16.4rem;
  padding: .45rem 1rem .65rem;
  background: var(--fest-paper) url('/assets/images/fest24-home-hero-v2.jpg') center / cover no-repeat;
}
.home-lead h1 {
  width: 75%;
  margin: 0;
  font: 700 clamp(4.6rem, 14.1cqw, 7.25rem)/.91 var(--fest-display);
  letter-spacing: -.035em;
  white-space: normal;
  transform: rotate(-1.15deg);
  transform-origin: left top;
}
.home-lead h1 .home-headline-line { display: block; white-space: nowrap; transform-origin: left center; }
.home-lead h1 .home-headline-line:first-child { color: var(--fest-ink); }
.home-headline-line:last-child { color: var(--fest-red-dark); transform: scaleX(1.07); }
.home-lead h1 span { left: auto; }
.home-lead p {
  display: inline-block;
  margin: .5rem 0 0 .1rem;
  padding-bottom: .55rem;
  font-size: clamp(.54rem, 1.28cqw, .7rem);
  letter-spacing: .17em;
  white-space: nowrap;
}
.home-lead p::after { content: ""; position: absolute; left: 0; bottom: 0; width: 4.8rem; height: .25rem; background: var(--fest-red); }
.home-lead p span { display: inline; }
.home-next-grid { align-content: center; padding: 0; }
.home-next-card { height: 13.5rem; grid-template-rows: 62% 38%; }
.home-next-art { background-color: #681517; background-position: center; background-size: cover; }
.home-next-must .home-next-art { background-image: url('/assets/images/fest24-next-must-v2.jpg'); }
.home-next-interested .home-next-art { background-image: url('/assets/images/fest24-next-interested-v2.jpg'); }
.home-next-art::before { background: linear-gradient(180deg, rgb(17 27 25 / 34%), transparent 60%); }
.home-next-art span {
  display: inline-flex;
  align-items: center;
  padding: .22rem .34rem;
  border-left: 3px solid currentColor;
  background: rgb(6 15 13 / 76%);
  color: #ff5a4d;
  font-size: .78rem;
  text-shadow: 0 1px 2px #000, 0 0 5px #000;
}
.home-next-art b { color: var(--fest-gold); margin-right: .22rem; }
.home-next-interested .home-next-art span { color: #55d8cc; }
.home-next-interested .home-next-art b { color: var(--fest-gold); }
.home-next-card h2 { font-weight: 700; }

.happening-panel { border-top: 1px solid #485450; border-bottom: 1px solid #485450; background: #0d1816; }
.happening-panel.happening-quiet {
  height: auto;
  min-height: 5rem;
  grid-template-columns: minmax(8rem, .45fr) minmax(16rem, 1.5fr) auto;
  grid-template-rows: minmax(0, 1fr);
  background: #e9e2d5;
  color: var(--fest-ink);
  border-top: 3px solid #928b80;
  border-bottom: 0;
  box-shadow: none;
  overflow: visible;
}
.happening-panel.happening-quiet .happening-label { grid-column: auto; grid-row: auto; color: var(--fest-red-dark); }
.happening-panel.happening-quiet .happening-label strong { color: var(--fest-ink); }
.happening-panel.happening-quiet .happening-feature { grid-column: auto; grid-row: auto; }
.happening-panel.happening-quiet .happening-feature small { color: var(--muted); }
.happening-panel.happening-quiet .happening-actions { grid-column: auto; grid-row: auto; align-items: center; }
.happening-panel.happening-quiet .happening-actions button { border-color: #918b80; color: var(--fest-ink); }
.happening-label, .happening-label strong, .happening-item h3, .happening-feature strong { font-weight: 700; }
.happening-primary {
  background-image: linear-gradient(90deg, #13211f 0 43%, rgb(19 33 31 / 62%) 59%, transparent 78%), url('/assets/images/fest24-live-v2.jpg');
  background-position: center, 66% center;
  background-size: cover, auto 155%;
}
.happening-secondary {
  background-image: linear-gradient(90deg, #13211f 0 64%, rgb(19 33 31 / 72%) 80%, transparent), url('/assets/images/fest24-live-v2.jpg');
  background-position: center, 18% center;
  background-size: cover, auto 235%;
}
.happening-secondary:nth-child(2) { background-position: center, 86% center; }

.home-days { padding-top: 1.15rem; }
.home-days::before {
  height: 1.25rem;
  background: transparent url('/assets/images/fest24-day-divider-v2.png') center / 100% auto no-repeat;
  clip-path: none;
}
.home-day > header span, .home-day > header strong, .home-pick h3 { font-family: var(--fest-display); font-weight: 700; }

/* Keep adjacent desktop Next cards aligned with the hero, without clipped copy. */
@media (min-width: 1101px) {
  .home-lead { height: auto; min-height: 16.4rem; }
  .home-next-grid { align-content: stretch; grid-template-rows: minmax(0, 1fr); }
  .home-next-card {
    height: auto;
    min-height: 16.4rem;
    grid-template-rows: minmax(8rem, 1fr) auto;
  }
  .home-next-copy { min-height: 7rem; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-hero {
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    margin: 0 0 .85rem;
  }
  .home-lead { height: clamp(14rem, 32vw, 17rem); }
  .home-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-next-card { height: 12rem; }
  .happening-panel {
    height: 15.4rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 3.6rem 4.1rem minmax(0, 1fr);
    gap: 0;
    padding: .55rem .65rem;
  }
  .happening-label { grid-column: 1; grid-row: 1; padding: 0; }
  .happening-actions { grid-column: 2; grid-row: 1; align-items: start; justify-content: end; }
  .happening-actions button { padding-inline: .65rem; }
  .happening-primary {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    padding: .35rem .4rem .35rem 34%;
    border-left: 0;
    border-top: 1px solid #81908b;
    background-image: linear-gradient(90deg, transparent 0 30%, #13211f 36%), url('/assets/images/fest24-live-v2.jpg');
    background-position: center, 55% center;
    background-size: cover, auto 330%;
  }
  .happening-primary h3 { font-size: 1.35rem; }
  .happening-secondary-list {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .happening-secondary {
    min-height: 0;
    align-content: center;
    padding: .3rem .4rem .3rem 34%;
    border-left: 0;
    border-top: 1px solid #81908b;
    border-bottom: 0;
    background-image: linear-gradient(90deg, transparent 0 30%, #13211f 36%), url('/assets/images/fest24-live-v2.jpg');
    background-position: center, 10% center;
    background-size: cover, auto 470%;
  }
  .happening-secondary:nth-child(2) { background-position: center, 92% center; }
  .happening-item p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .happening-item > button { justify-self: end; }
}

@media (max-width: 760px) {
  .shell { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .side-nav {
    height: calc(78px + env(safe-area-inset-bottom));
    align-items: center;
    padding: .45rem max(.25rem, env(safe-area-inset-right)) max(.35rem, env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left));
    background-position: center 18%;
    background-size: cover;
  }
  .nav-button { min-height: 62px; gap: .25rem; font-size: .67rem; font-weight: 750; }
  .nav-button:not(.nav-home) { transform: translateY(-.2rem); }
  .nav-icon svg { width: 1.55rem; height: 1.55rem; }
  .nav-live-dot { display: none; }
  .nav-home {
    width: 74px;
    height: 74px;
    min-height: 74px;
    align-self: start;
    transform: translateY(-1.45rem);
    border: 2px solid #711719;
    background: var(--fest-red);
    box-shadow: 0 4px 10px rgb(0 0 0 / 38%);
  }
  .nav-home .nav-icon, .nav-home .nav-label { display: none; }
  .nav-home .nav-label::before { content: none; }
  .nav-home-copy { display: grid; grid-template-rows: 1fr 2px 1fr; place-items: center; color: #fff; font: 700 .86rem/.85 var(--fest-display); letter-spacing: .04em; }
  .nav-home-copy i { width: 2.1rem; height: 2px; background: #fff; }
  .home-page { padding: 0 .45rem 1.4rem; }
  .home-hero {
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
    margin: 0 0 .35rem;
  }
  .home-lead {
    height: clamp(10.8rem, 55vw, 12.6rem);
    padding: .32rem .42rem;
    background-position: center;
    background-size: cover;
  }
  .home-lead h1 {
    width: 84%;
    margin: 0;
    font-size: clamp(2.7rem, 16.1cqw, 3.25rem);
    line-height: .92;
    transform: rotate(-1.1deg);
  }
  .home-headline-line:first-child { transform: scaleX(.98); }
  .home-headline-line:last-child { transform: scaleX(1.12); }
  .home-lead p {
    margin: .48rem 0 0 .08rem;
    padding-bottom: .48rem;
    font-size: clamp(.42rem, 2.25cqw, .5rem);
    line-height: 1.5;
    letter-spacing: .14em;
    white-space: normal;
  }
  .home-lead p span { display: block; }
  .home-lead p::after { width: 3.7rem; height: .22rem; }
  .home-next-grid { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .home-next-card {
    height: 5.4rem;
    grid-template-columns: minmax(7.2rem, 34%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .home-next-art { background-position: center; background-size: cover; }
  .home-next-art span { font-size: .58rem; }
  .home-next-copy { padding: .55rem .65rem; }
  .home-next-card h2 { font-size: clamp(1.35rem, 6.1vw, 1.7rem); }
  .home-next-card p { font-size: .62rem; }
  .happening-panel {
    height: 15.4rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 3.6rem 4.1rem minmax(0, 1fr);
    gap: 0;
    padding: .55rem .65rem;
  }
  .happening-label { grid-column: 1; grid-row: 1; padding: 0; }
  .happening-actions { grid-column: 2; grid-row: 1; align-items: start; justify-content: end; }
  .happening-primary {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    padding: .35rem .4rem .35rem 34%;
    border-left: 0;
    padding-block: .35rem;
    border-top-color: #81908b;
    background-image: linear-gradient(90deg, transparent 0 30%, #13211f 36%), url('/assets/images/fest24-live-v2.jpg');
    background-position: center, 55% center;
    background-size: cover, auto 330%;
  }
  .happening-secondary-list {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .happening-secondary {
    min-height: 0;
    align-content: center;
    padding: .3rem .4rem .3rem 34%;
    border-left: 0;
    padding-block: .3rem;
    border-top: 1px solid #81908b;
    border-bottom: 0;
    background-image: linear-gradient(90deg, transparent 0 30%, #13211f 36%), url('/assets/images/fest24-live-v2.jpg');
    background-position: center, 10% center;
    background-size: cover, auto 470%;
  }
  .happening-secondary:nth-child(2) { background-position: center, 92% center; }
  .happening-item p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .happening-item > button { justify-self: end; }
  .happening-panel.happening-quiet {
    min-height: 6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }
  .happening-panel.happening-quiet .happening-label { grid-column: 1; grid-row: 1; }
  .happening-panel.happening-quiet .happening-feature { grid-column: 1 / -1; grid-row: 2; }
  .happening-panel.happening-quiet .happening-actions { grid-column: 2; grid-row: 1; align-items: start; }
  .mobile-day-strip { margin-top: .05rem; padding-top: 1.05rem; }
  .mobile-day-strip::before {
    height: 1.1rem;
    background: transparent url('/assets/images/fest24-day-divider-v2.png') center / 100% auto no-repeat;
    clip-path: none;
  }
  .mobile-day-strip button { height: 2.75rem; }
  .mobile-day-strip span { font-size: .88rem; font-weight: 700; }
  .mobile-day-strip strong { font-size: 1.5rem; font-weight: 700; }
  .home-days { display: block; padding-top: 0; }
  .home-days::before { display: none; }
  .home-day { padding: .35rem .35rem 1rem; border-left: 0; }
  .home-day + .home-day { border-top: 1px solid var(--line); }
  .home-day > header { min-height: 3.15rem; }
  .home-pick { grid-template-columns: 3.4rem minmax(0, 1fr) 1rem; padding: .72rem .15rem; }
}

@media (max-width: 520px) {
  .nav-home { width: 72px; height: 72px; min-height: 72px; }
}

/* Approved FEST 24 Schedule visual system */
.schedule-route .content {
  width: min(100rem, 100%);
  max-width: none;
  min-height: calc(100vh - 58px);
  padding: clamp(1rem, 2.5vw, 2.25rem);
  background:
    radial-gradient(circle at 94% 2%, rgb(193 160 90 / 9%), transparent 25rem),
    repeating-linear-gradient(7deg, rgb(17 27 25 / 1.3%) 0 1px, transparent 1px 6px),
    var(--fest-paper);
}
.schedule-route .page-heading {
  position: relative;
  min-height: 14.4rem;
  display: block;
  margin: 0 0 .35rem;
  padding: 1.5rem 1.6rem;
  background: url('/assets/images/fest24-crowd-hero-v1.jpg') center / cover no-repeat var(--fest-paper);
  overflow: hidden;
}
.schedule-route .page-heading > div { position: relative; z-index: 1; }
.schedule-route .page-heading .eyebrow {
  margin-bottom: .25rem;
  color: var(--fest-red-dark);
  font-size: .68rem;
  letter-spacing: .17em;
}
.schedule-route .page-heading h1 {
  display: inline-block;
  width: auto;
  margin: .25rem 0 .65rem;
  color: var(--fest-red-dark);
  font: 700 clamp(5.8rem, 8.8vw, 8rem)/.82 var(--fest-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
  transform: rotate(-1.2deg) scaleX(1.1);
  transform-origin: left center;
}
.schedule-route .page-heading .subtle {
  margin: 0;
  color: var(--fest-ink);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.schedule-route .picker-filter-bar {
  margin: .65rem 0 0;
  border-radius: 2px;
  background: #eee7da;
}
.schedule-route .day-tabs {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: .25rem;
  padding: 1.75rem 0 .4rem;
  overflow: visible;
}
.schedule-route .day-tabs::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1.35rem;
  background: url('/assets/images/fest24-day-divider-v2.png') center / 100% auto no-repeat;
}
.schedule-route .day-tab {
  flex: 0 0 auto;
  min-width: 9rem;
  min-height: 3.45rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-right: 0;
  border-bottom: 2px solid var(--fest-ink);
  border-radius: 0;
  padding: .65rem .5rem;
  background: transparent;
  color: var(--fest-ink);
  font: 700 1.05rem/1 var(--fest-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.schedule-route .day-tab strong { color: var(--fest-red-dark); font-size: 1.65rem; }
.schedule-route .day-tab[aria-selected="true"] {
  border-bottom: 3px solid var(--fest-red-dark);
  background: var(--fest-ink);
  color: #fff;
}
.schedule-route .toolbar {
  grid-template-columns: minmax(15rem, 2fr) repeat(2, minmax(10rem, .85fr));
  gap: .45rem;
  margin: 0;
  padding: .45rem 0;
}
.schedule-route .toolbar input,
.schedule-route .toolbar select {
  min-height: 44px;
  border-color: #aaa194;
  border-radius: 2px;
  background: var(--surface);
}
.schedule-route .stage-filter-context { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: .45rem 0 .7rem; padding: .55rem .7rem; border-left: 5px solid var(--fest-red); background: var(--fest-ink); color: var(--fest-paper); }
.schedule-route .stage-filter-context > div { display: grid; gap: .12rem; }
.schedule-route .stage-filter-context span { color: #c7d0cd; font-size: .58rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.schedule-route .stage-filter-context strong { font: 650 1.15rem/1 var(--fest-display); text-transform: uppercase; }
.schedule-route .stage-filter-context button { min-height: 36px; padding: .35rem .6rem; border: 1px solid #66736f; border-radius: 2px; background: transparent; color: var(--fest-paper); font-size: .66rem; font-weight: 850; }
.schedule-route .schedule-view-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 1.35fr) minmax(0, 1fr);
  align-items: center;
  min-height: 3.15rem;
  margin-bottom: .55rem;
  padding: .45rem .1rem;
  border-top: 2px solid var(--fest-ink);
  border-bottom: 1px solid var(--line);
}
.schedule-route .schedule-active-place { display: grid; justify-items: center; gap: .18rem; min-width: 0; text-align: center; }
.schedule-route .schedule-active-place strong { max-width: 100%; color: var(--fest-red-dark); font: 700 1rem/1 var(--fest-display); letter-spacing: .04em; text-transform: uppercase; }
.schedule-route .schedule-active-place button { min-height: 24px; padding: 0; border: 0; background: transparent; color: var(--leaf); font-size: .62rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.schedule-route .day-schedule-heading { display: flex; align-items: baseline; gap: .6rem; margin: 0; }
.schedule-route .day-schedule-heading strong { font: 700 1.15rem/1 var(--fest-display); letter-spacing: .05em; text-transform: uppercase; }
.schedule-route .day-schedule-heading span { color: var(--muted); font-size: .76rem; font-weight: 800; }
.schedule-route .compact-launch {
  justify-self: end;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.schedule-route .schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.schedule-route .schedule-card {
  min-height: 0;
  gap: .22rem;
  grid-template-rows: auto auto auto auto auto;
  padding: .55rem;
  border: 1px solid var(--line);
  border-left: .3rem solid var(--fest-ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.schedule-route .schedule-card:has(.pick-button.active:not(.must)) { border-left-color: var(--leaf); }
.schedule-route .schedule-card.must-see {
  border-left-color: var(--gold);
  background: linear-gradient(105deg, rgb(161 125 53 / 17%), rgb(255 253 248 / 97%) 62%);
}
.schedule-route .schedule-card:hover {
  transform: none;
  border-color: #a9a092;
  border-left-color: var(--fest-ink);
  box-shadow: none;
}
.schedule-route .schedule-card:has(.pick-button.active:not(.must)):hover { border-left-color: var(--leaf); }
.schedule-route .schedule-card.must-see:hover { border-left-color: var(--gold); }
@keyframes stage-focus-pulse {
  0% { outline-color: var(--fest-red); background: #ffe6d5; transform: translateY(-2px); box-shadow: 0 0 0 7px rgb(212 62 48 / 24%); }
  35% { outline-color: var(--fest-red); background: #fff3df; transform: translateY(0); box-shadow: 0 0 0 3px rgb(212 62 48 / 15%); }
  100% { outline-color: transparent; background: var(--surface); box-shadow: none; }
}
.schedule-route .schedule-card.stage-focus-target { outline: 3px solid transparent; outline-offset: 2px; animation: stage-focus-pulse 2.4s ease-out 1; }
.schedule-route .schedule-card-top {
  min-height: 1.35rem;
  align-items: baseline;
  padding-bottom: .25rem;
}
.schedule-route .schedule-card-top time {
  color: var(--fest-red-dark);
  font: 700 1.1rem/.9 var(--fest-display);
}
.schedule-route .schedule-card-top .venue-identity strong {
  font-size: .62rem;
  letter-spacing: .1em;
}
.schedule-route .schedule-card h3 {
  margin: 0;
  font: 700 clamp(1.25rem, 1.8vw, 1.55rem)/.95 var(--fest-display);
  letter-spacing: .01em;
}
.schedule-route .schedule-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .45rem;
}
.schedule-title-meta { display: grid; justify-items: end; gap: .25rem; }
.schedule-route .schedule-card:has(.pick-button.active:not(.must)) h3::before,
.schedule-route .schedule-card.must-see h3::before {
  display: block;
  margin: 0 0 .22rem;
  font: 900 .56rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.schedule-route .schedule-card:has(.pick-button.active:not(.must)) h3::before {
  content: "● Interested";
  color: var(--leaf);
}
.schedule-route .schedule-card.must-see h3::before {
  content: "★ Must see";
  color: #755a24;
}
.schedule-route .schedule-card .item-meta { font-size: .72rem; }
.schedule-route .schedule-card .note-preview {
  border-radius: 0;
  padding: .15rem 0;
  background: transparent;
  font-size: .72rem;
}
.schedule-route .schedule-card .item-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: .3rem;
  margin-top: .1rem;
}
.schedule-route .schedule-card .item-actions button {
  min-height: 34px;
  border-radius: 2px;
  padding: .35rem .5rem;
  font-size: .68rem;
  white-space: nowrap;
}
.schedule-route .schedule-card .picker-list {
  max-width: 8rem;
  justify-content: flex-end;
  gap: .22rem;
  margin-top: 0;
}
.schedule-route .schedule-card .picker-person {
  min-height: 20px;
  border-radius: 2px;
  padding: .05rem .28rem;
  font-size: .54rem;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .schedule-route .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .schedule-route .content { padding: .65rem .6rem 1.25rem; }
  .schedule-route .page-heading {
    min-height: 9.4rem;
    padding: .65rem .65rem .8rem;
    background-position: center;
  }
  .schedule-route .page-heading .eyebrow { font-size: .5rem; }
  .schedule-route .page-heading h1 {
    width: 68%;
    margin-top: .2rem;
    font-size: clamp(2.7rem, 14vw, 3.5rem);
    transform: rotate(-1.2deg);
  }
  .schedule-route .page-heading .subtle {
    max-width: 15rem;
    font-size: .43rem;
    line-height: 1.4;
  }
  .schedule-route .picker-filter-bar { margin-top: .45rem; }
  .schedule-route .day-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 1.2rem; }
  .schedule-route .day-tabs::before { height: .95rem; }
  .schedule-route .day-tab {
    min-width: 0;
    min-height: 2.9rem;
    gap: .25rem;
    padding: .45rem .2rem;
    font-size: .8rem;
  }
  .schedule-route .day-tab strong { font-size: 1.25rem; }
  .schedule-route .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
  }
  .schedule-route .toolbar input { grid-column: 1 / -1; }
  .schedule-route .toolbar input,
  .schedule-route .toolbar select {
    min-width: 0;
    min-height: 43px;
    padding: .55rem .6rem;
    font-size: .75rem;
  }
  .schedule-route .stage-filter-context { align-items: flex-start; margin-top: .35rem; }
  .schedule-route .stage-filter-context strong { font-size: 1rem; }
  .schedule-route .stage-filter-context button { flex: 0 0 auto; }
  .schedule-route .schedule-view-actions { min-height: 2.8rem; }
  .schedule-route .schedule-view-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .schedule-route .schedule-active-place { grid-column: 1 / -1; grid-row: 2; padding-top: .25rem; }
  .schedule-route .compact-launch { grid-column: 2; grid-row: 1; }
  .schedule-route .day-schedule-heading { gap: .4rem; }
  .schedule-route .day-schedule-heading strong { font-size: .95rem; }
  .schedule-route .day-schedule-heading span { font-size: .68rem; }
  .schedule-route .compact-launch { font-size: .68rem; }
  .schedule-route .schedule-grid { grid-template-columns: 1fr; gap: .5rem; }
  .schedule-route .schedule-card {
    min-height: 0;
    padding: .65rem;
  }
  .schedule-route .schedule-card h3 { font-size: 1.45rem; }
  .schedule-route .schedule-card .item-actions button { min-height: 42px; }
  .schedule-route .schedule-card .picker-list { justify-content: flex-end; }
}

/* FEST 24 secondary-page visual system */
.festival-section-route .content {
  width: min(100rem, 100%);
  max-width: none;
  min-height: calc(100vh - 58px);
  padding: clamp(1rem, 2.5vw, 2.25rem);
  background:
    repeating-linear-gradient(7deg, rgb(17 27 25 / 1.15%) 0 1px, transparent 1px 6px),
    var(--fest-paper);
}
.festival-section-route .page-heading {
  position: relative;
  min-height: 11.8rem;
  display: block;
  margin: 0 0 .7rem;
  padding: 1.35rem 1.55rem;
  background: url('/assets/images/fest24-crowd-hero-v1.jpg') center 54% / cover no-repeat var(--fest-paper);
  overflow: hidden;
}
.festival-section-route .page-heading > div { position: relative; z-index: 1; max-width: 68%; }
.festival-section-route .page-heading .eyebrow {
  margin-bottom: .25rem;
  color: var(--fest-red-dark);
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .17em;
}
.festival-section-route .page-heading h1 {
  display: inline-block;
  margin: .2rem 0 .55rem;
  color: var(--fest-red-dark);
  font: 700 clamp(4.6rem, 7vw, 6.6rem)/.84 var(--fest-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
  transform: rotate(-1.1deg) scaleX(1.05);
  transform-origin: left center;
}
.festival-section-route .page-heading .subtle {
  max-width: 34rem;
  margin: 0;
  color: var(--fest-ink);
  font-size: .59rem;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.festival-section-route .picker-filter-bar {
  margin: .5rem 0 .7rem;
  border-radius: 0;
  background: rgb(238 231 218 / 92%);
}

.mine-route .day-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 10rem));
  gap: .25rem;
  margin-bottom: .45rem;
  padding: .4rem 0 .55rem;
  border-top: 3px solid var(--fest-ink);
  overflow: visible;
}
.mine-route .day-tab {
  min-height: 3.2rem;
  border: 0;
  border-bottom: 2px solid var(--fest-ink);
  border-radius: 0;
  background: transparent;
  color: var(--fest-ink);
  font: 700 1.05rem/1 var(--fest-display);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mine-route .day-tab[aria-selected="true"] {
  border-bottom: 3px solid var(--fest-red);
  background: var(--fest-ink);
  color: #fff;
}
.mine-route .banner {
  border: 0;
  border-left: .3rem solid var(--fest-red);
  border-radius: 0;
  background: #eadfc8;
}
.mine-route .conflict-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .7rem; padding: .7rem .8rem; border-left: .32rem solid var(--fest-red); background: #eadfc8; }
.mine-route .conflict-summary > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.mine-route .conflict-summary strong { color: var(--fest-red-dark); font: 700 1.25rem/1 var(--fest-display); text-transform: uppercase; }
.mine-route .conflict-summary span { color: var(--muted); font-size: .75rem; font-weight: 800; }
.mine-route .conflict-summary button { flex: 0 0 auto; min-height: 34px; padding: .35rem .6rem; border: 0; border-bottom: 2px solid var(--fest-red); border-radius: 0; background: transparent; color: var(--fest-ink); font-size: .72rem; font-weight: 900; }
.conflict-marker { min-height: 22px; padding: .18rem .35rem; border: 0; border-radius: 2px; background: var(--fest-red-dark); color: #fff; font-size: .52rem; font-weight: 950; letter-spacing: .08em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.conflict-review-dialog { width: min(62rem, calc(100% - 1.5rem)); }
.conflict-intro { max-width: 46rem; color: var(--muted); line-height: 1.5; }
.conflict-review-list { display: grid; gap: 1rem; margin-top: 1rem; }
.conflict-group { border-top: .35rem solid var(--fest-red); background: #eee7da; }
.conflict-group > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: .75rem .85rem; border-bottom: 1px solid #cfc3af; }
.conflict-group > header span { color: var(--fest-red-dark); font-size: .65rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.conflict-group > header h3 { margin: .15rem 0 0; font: 700 1.35rem/1 var(--fest-display); text-transform: uppercase; }
.conflict-group > header p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 800; }
.conflict-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.conflict-choice { display: flex; align-items: end; justify-content: space-between; gap: .8rem; padding: .85rem; border-right: 1px solid #cfc3af; background: var(--surface); }
.conflict-choice:last-child { border-right: 0; }
.conflict-choice h4 { margin: .2rem 0 .3rem; font: 700 1.35rem/.95 var(--fest-display); }
.conflict-choice p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.conflict-priority { font-size: .58rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.conflict-priority.must { color: #755a24; }
.conflict-priority.interested { color: var(--leaf); }
.conflict-choice .ghost { flex: 0 0 auto; min-height: 34px; border-radius: 2px; }

.mine-route .schedule-grid,
.search-route .schedule-grid { gap: .65rem; }
.mine-route .schedule-card,
.search-route .schedule-card {
  min-height: 0;
  gap: .25rem;
  grid-template-rows: auto auto auto auto auto;
  padding: .65rem;
  border: 1px solid var(--line);
  border-left: .3rem solid var(--fest-ink);
  border-radius: 0;
  background: rgb(255 253 248 / 96%);
  box-shadow: none;
}
.mine-route .schedule-card:has(.pick-button.active:not(.must)),
.search-route .schedule-card:has(.pick-button.active:not(.must)) { border-left-color: var(--leaf); }
.mine-route .schedule-card.must-see,
.search-route .schedule-card.must-see {
  border-left-color: var(--gold);
  background: linear-gradient(105deg, rgb(161 125 53 / 17%), rgb(255 253 248 / 97%) 62%);
}
.mine-route .schedule-card:hover,
.search-route .schedule-card:hover { transform: none; box-shadow: none; border-color: #a9a092; }
.mine-route .schedule-card-top,
.search-route .schedule-card-top { min-height: 1.35rem; align-items: baseline; padding-bottom: .28rem; }
.mine-route .schedule-card-top time,
.search-route .schedule-card-top time { color: var(--fest-red-dark); font: 700 1.08rem/.9 var(--fest-display); }
.mine-route .schedule-card-top .venue-identity strong,
.search-route .schedule-card-top .venue-identity strong { font-size: .62rem; letter-spacing: .1em; }
.mine-route .schedule-card h3,
.search-route .schedule-card h3 { margin: 0; font: 700 clamp(1.25rem, 1.8vw, 1.55rem)/.96 var(--fest-display); letter-spacing: .01em; }
.mine-route .schedule-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .45rem; }
.mine-route .schedule-card:has(.pick-button.active:not(.must)) h3::before,
.mine-route .schedule-card.must-see h3::before,
.search-route .schedule-card:has(.pick-button.active:not(.must)) h3::before,
.search-route .schedule-card.must-see h3::before {
  display: block;
  margin: 0 0 .22rem;
  font: 900 .56rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mine-route .schedule-card:has(.pick-button.active:not(.must)) h3::before,
.search-route .schedule-card:has(.pick-button.active:not(.must)) h3::before { content: "● Interested"; color: var(--leaf); }
.mine-route .schedule-card.must-see h3::before,
.search-route .schedule-card.must-see h3::before { content: "★ Must see"; color: #755a24; }
.mine-route .schedule-card .item-meta,
.search-route .schedule-card .item-meta { font-size: .72rem; }
.mine-route .schedule-card .note-preview,
.search-route .schedule-card .note-preview { border-radius: 0; padding: .15rem 0; background: transparent; font-size: .72rem; }
.mine-route .schedule-card .item-actions,
.search-route .schedule-card .item-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .3rem; margin-top: .12rem; }
.mine-route .schedule-card .item-actions button,
.search-route .schedule-card .item-actions button { min-height: 36px; border-radius: 2px; padding: .35rem .5rem; font-size: .68rem; white-space: nowrap; }
.mine-route .schedule-card .picker-list { max-width: 8rem; justify-content: flex-end; gap: .22rem; margin-top: 0; }
.mine-route .schedule-card .picker-person,
.search-route .schedule-card .picker-person { min-height: 20px; border-radius: 2px; padding: .05rem .28rem; font-size: .54rem; }
.search-route .search-day { color: var(--fest-red-dark); font-size: .62rem; letter-spacing: .1em; }

.search-route #search-form {
  grid-template-columns: minmax(15rem, 2fr) minmax(9rem, .7fr) auto;
  gap: .4rem;
  margin: 0 0 .8rem;
  padding: .55rem 0 .75rem;
  border-top: 3px solid var(--fest-ink);
  border-bottom: 1px solid var(--line);
}
.search-route #search-form input,
.search-route #search-form select,
.search-route #search-form button { min-height: 46px; border-radius: 2px; }
.search-route #search-form input,
.search-route #search-form select { border-color: #aaa194; background: var(--surface); }
.search-route #search-form button { background: var(--fest-ink); }
.search-route #search-results.empty-state {
  border: 0;
  border-top: .3rem solid var(--fest-red);
  border-radius: 0;
  background: rgb(234 225 207 / 74%);
}
.search-route #search-results.empty-state h2 { font: 700 2.2rem/1 var(--fest-display); text-transform: uppercase; }

.group-route .group-actions { margin: .35rem 0 .75rem; padding: .55rem 0; border-top: 3px solid var(--fest-ink); border-bottom: 1px solid var(--line); }
.group-route .group-actions .secondary {
  min-height: 40px;
  border-radius: 2px;
  background: var(--fest-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .72rem;
}
.group-route .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.group-route .member-card {
  min-height: 7rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-left: .32rem solid var(--fest-red-dark);
  border-radius: 0;
  background: linear-gradient(112deg, rgb(255 253 248 / 98%), rgb(235 226 208 / 92%));
}
.group-route .member-card > .member-avatar { width: 3.4rem; height: 3.4rem; }
.group-route .member-card h3 { margin: 0 0 .3rem; font: 700 1.45rem/1 var(--fest-display); }
.group-route .member-card .tag { min-height: 22px; border-radius: 2px; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.group-route .member-picks {
  grid-column: 2;
  justify-self: start;
  min-height: 32px;
  border: 0;
  border-bottom: 2px solid var(--fest-red-dark);
  border-radius: 0;
  padding: .2rem 0;
  background: transparent;
  color: var(--fest-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.venues-route .venue-map-card {
  grid-template-columns: minmax(16rem, .65fr) minmax(24rem, 1.35fr);
  gap: 1rem;
  margin: .35rem 0 .8rem;
  padding: 1rem;
  border: 0;
  border-top: .35rem solid var(--fest-red);
  border-radius: 0;
  background: linear-gradient(105deg, #111b19, #1a2926);
  box-shadow: 0 10px 24px rgb(17 27 25 / 15%);
}
.venues-route .venue-map-card h2 { font: 700 2.6rem/.95 var(--fest-display); text-transform: uppercase; }
.venues-route .venue-map-card img { border-radius: 0; background: var(--fest-paper); }
.venues-route .venue-map-card .venue-map-open { border-radius: 2px; background: var(--fest-paper); }
.venues-route .venue-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.venues-route .venue-card {
  min-height: 8.5rem;
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-top: .25rem solid var(--fest-ink);
  border-radius: 0;
  background: rgb(255 253 248 / 96%);
}
.venues-route .venue-card h2 { margin: 0 0 .18rem; font: 700 1.3rem/1 var(--fest-display); }
.venues-route .venue-card button {
  grid-column: 1;
  justify-self: start;
  min-height: 30px;
  border: 0;
  border-bottom: 2px solid var(--fest-red-dark);
  border-radius: 0;
  padding: .15rem 0;
  color: var(--fest-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (min-width: 1181px) {
  .mine-route .schedule-grid,
  .search-route .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .group-route .member-grid,
  .venues-route .venue-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .contact-request-card header { grid-template-columns: 1fr; }
  .contact-request-card header select { width: 100%; }
  .festival-section-route .content { padding: .65rem .6rem 1.25rem; }
  .festival-section-route .page-heading {
    min-height: 8.6rem;
    margin-bottom: .45rem;
    padding: .65rem;
    background-position: center;
  }
  .festival-section-route .page-heading > div { max-width: 76%; }
  .festival-section-route .page-heading .eyebrow { font-size: .5rem; }
  .festival-section-route .page-heading h1 { margin-top: .2rem; font-size: clamp(2.6rem, 13vw, 3.45rem); transform: rotate(-1.1deg); }
  .festival-section-route .page-heading .subtle { max-width: 15rem; font-size: .43rem; line-height: 1.45; }
  .mine-route .day-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .mine-route .day-tab { min-width: 0; min-height: 2.85rem; padding: .4rem .2rem; font-size: .8rem; }
  .mine-route .conflict-summary { align-items: flex-start; }
  .mine-route .conflict-summary > div { display: grid; }
  .mine-route .conflict-summary button { white-space: nowrap; }
  .conflict-group > header { align-items: flex-start; }
  .conflict-group > header p { max-width: 8rem; text-align: right; }
  .conflict-choices { grid-template-columns: 1fr; }
  .conflict-choice { border-right: 0; border-bottom: 1px solid #cfc3af; }
  .conflict-choice:last-child { border-bottom: 0; }
  .mine-route .schedule-grid,
  .search-route .schedule-grid { grid-template-columns: 1fr; gap: .5rem; }
  .mine-route .schedule-card,
  .search-route .schedule-card { padding: .65rem; }
  .mine-route .schedule-card h3,
  .search-route .schedule-card h3 { font-size: 1.45rem; }
  .mine-route .schedule-card .item-actions button,
  .search-route .schedule-card .item-actions button { min-height: 42px; }
  .search-route #search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .search-route #search-form input { grid-column: 1 / -1; }
  .search-route #search-form select { min-width: 0; }
  .group-route .member-grid,
  .venues-route .venue-directory { grid-template-columns: 1fr; }
  .group-route .member-card { min-height: 6.5rem; }
  .venues-route .venue-map-card { grid-template-columns: 1fr; }
  .venues-route .venue-map-card h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Local live-schedule extension. Existing card layouts and pick colors remain. */
[data-live-item] { position: relative; }
.content.has-live-listing:not(.compact-page-content) { overflow: visible; }
[data-live-item].is-live-now { outline: 2px solid var(--fest-red-dark); outline-offset: -2px; }
.live-now-badge { position: absolute; z-index: 2; top: -.43rem; left: .55rem; padding: .08rem .35rem; border: 1px solid var(--fest-paper); background: var(--fest-red-dark); color: #fff; font-size: .56rem; line-height: 1.2; font-weight: 900; letter-spacing: .07em; white-space: nowrap; pointer-events: none; }
.live-now-badge[hidden], .live-schedule-tools[hidden] { display: none !important; }
.live-schedule-tools { position: sticky; top: var(--live-sticky-top, 62px); z-index: 12; display: flex; justify-content: flex-end; margin: .45rem 0 .65rem; pointer-events: none; }
.live-jump-button { pointer-events: auto; min-height: 36px; padding: .4rem .7rem; border: 1px solid var(--fest-ink); border-radius: 2px; background: var(--fest-ink); color: var(--fest-paper); font-size: .76rem; font-weight: 900; white-space: nowrap; box-shadow: 0 2px 8px rgb(17 27 25 / 14%); }
.live-jump-button::before { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: var(--fest-red); }
.live-jump-button:disabled { opacity: .65; }
.compact-key { align-items: center; }
.compact-key .live-schedule-tools { position: static; display: inline-flex; margin: 0 0 0 auto; }
.compact-key .live-jump-button { min-height: 30px; padding: .25rem .5rem; font-size: .65rem; }
.compact-row .live-now-badge { top: auto; bottom: .1rem; left: .2rem; padding: .03rem .15rem; font-size: .5rem; line-height: 1; letter-spacing: .02em; border: 0; }
.compact-row.is-live-now > time { padding-bottom: .6rem; }
@media print { .live-schedule-tools { display: none !important; } }

@media print {
  body { background: #fff; }
  .topbar, .side-nav, .toolbar, .item-actions, .day-tabs, .no-print { display: none !important; }
  .shell { display: block; }
  .content { padding: 0; width: 100%; }
  .item-card { break-inside: avoid; box-shadow: none; }
  .time-group { break-inside: avoid; }
}

/* Full-festival demo clock. Readable controls over a translucent panel. */
.demo-clock-active { padding-bottom: 150px; }
.demo-clock { position: fixed; inset: auto 16px max(10px, env(safe-area-inset-bottom)); z-index: 10050; margin: 0 auto; max-width: 900px; padding: 6px 12px; border: 1px solid #ca9b4b99; border-radius: 10px; color: #fff8e8; background: rgba(28, 28, 27, .62); backdrop-filter: blur(4px); box-shadow: 0 3px 16px #0003; font: 12px/1.3 system-ui, sans-serif; text-shadow: 0 1px 2px #0008; }
.demo-clock-heading { display: flex; align-items: center; gap: 12px; }
.demo-clock-heading strong { color: #f3c56e; font-size: 11px; letter-spacing: .08em; }
.demo-clock-heading output { flex: 1; font-variant-numeric: tabular-nums; }
.demo-clock-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; }
.demo-clock button { min-height: 28px; padding: 3px 8px; border: 1px solid #ffffff55; border-radius: 5px; background: #ffffff15; color: #fff8e8; font: inherit; text-shadow: inherit; cursor: pointer; white-space: nowrap; }
.demo-clock button:hover { background: #ffffff30; }
.demo-clock input[type=range] { flex: 1 0 100%; width: 100%; height: 18px; margin: 1px 0 0; accent-color: #f3c56e; }
.demo-clock-days, .demo-clock-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; }
.demo-clock-days { flex: 1 1 auto; }
.demo-clock-actions { flex: 0 1 auto; }
.demo-clock small { display: none; }
.demo-clock.is-collapsed .demo-clock-controls { display: none; }
.demo-clock-active dialog { max-height: calc(100dvh - 185px); margin-top: max(12px, env(safe-area-inset-top)); }
body.demo-clock-active:has(.demo-clock.is-collapsed) { padding-bottom: 65px; }
body.demo-clock-active:has(.demo-clock.is-collapsed) dialog { max-height: calc(100dvh - 100px); }
@media (max-width: 760px) {
 .demo-clock { inset-inline: 7px; bottom: calc(104px + env(safe-area-inset-bottom)); padding: 3px 6px; font-size: 11px; }
 .demo-clock button { min-height: 28px; padding: 2px 6px; }
 .demo-clock-heading { gap: 7px; }
 .demo-clock-controls { gap: 2px 6px; }
 .demo-clock input[type=range] { height: 16px; margin: 0; }
 .demo-clock-days, .demo-clock-actions { flex: 1 0 100%; gap: 3px; }
 .demo-clock.is-collapsed { left: auto; right: max(7px, env(safe-area-inset-right)); width: 44px; height: 44px; padding: 0; margin: 0; }
 .demo-clock.is-collapsed .demo-clock-heading { height: 100%; }
 .demo-clock.is-collapsed .demo-clock-heading strong,
 .demo-clock.is-collapsed .demo-clock-heading output { display: none; }
 .demo-clock.is-collapsed [data-collapse] { width: 100%; height: 100%; border: 0; font-size: 24px; }
 .demo-clock-active { padding-bottom: calc(250px + env(safe-area-inset-bottom)); }
 .demo-clock-active dialog { max-height: calc(100dvh - 280px - env(safe-area-inset-bottom)); }
 body.demo-clock-active:has(.demo-clock.is-collapsed) { padding-bottom: calc(155px + env(safe-area-inset-bottom)); }
 body.demo-clock-active:has(.demo-clock.is-collapsed) dialog { max-height: calc(100dvh - 180px - env(safe-area-inset-bottom)); }
}
