:root {
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.9);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(27, 29, 34, 0.11);
  --glass-highlight: rgba(255, 255, 255, 0.72);
  --text: #1B1D22;
  --muted: #6E6C73;
  --accent: #FF6B5E;
  --brand-lilac: #FF6B5E;
  --brand-lilac-bright: #FF9B7A;
  --radius: 24px;
  --card-padding: 16px;
  --font-sans: Inter, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; margin: 0; min-width: 320px; overflow-x: hidden; padding-bottom: 104px; background: radial-gradient(ellipse 72% 28% at 90% 9%, rgba(255, 107, 94, 0.09), transparent 72%), radial-gradient(ellipse 58% 22% at 8% 43%, rgba(255, 155, 122, 0.05), transparent 76%), var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; }
body > * { position: relative; z-index: 1; }
[data-home-content][hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { position: relative; }
/* Decorative pseudo-elements must never create invisible button overlays. */
button::before { position: absolute; z-index: 1; inset: -7px; content: ""; pointer-events: none; }
button > * { position: relative; z-index: 2; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--brand-lilac-bright); outline-offset: 3px; }
.wrapper { width: min(1180px, calc(100% - 32px)); margin: auto; }

.hero { position: relative; isolation: isolate; min-height: 370px; overflow: hidden; background: linear-gradient(115deg, #F7F5F2 0%, #FFF8F4 68%, #FCE9E3 100%); border-bottom: 1px solid var(--glass-border); }
.nav { position: relative; z-index: 10; min-height: 68px; display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 10px 18px; border: 1px solid var(--glass-border); border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 36px rgba(48, 34, 29, 0.1); backdrop-filter: blur(26px) saturate(130%); -webkit-backdrop-filter: blur(26px) saturate(130%); }
.brand { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; min-width: 72px; }
.brand img { display: block; width: 68px; height: 44px; object-fit: contain; filter: brightness(0) saturate(100%) invert(63%) sepia(56%) saturate(658%) hue-rotate(321deg) brightness(102%) contrast(101%); }
.beta-badge { display: inline-flex; flex: 0 0 auto; align-items: center; align-self: center; min-height: 24px; padding: 3px 7px; border: 1px solid rgba(255, 155, 122, 0.42); border-radius: 999px; background: rgba(255, 107, 94, 0.14); color: var(--brand-lilac-bright); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.nav-menu-group { display: contents; }
.nav-menu-toggle { display: grid; flex: 0 0 auto; place-content: center; gap: 4px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--glass-border); border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); color: var(--text); cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.nav-menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-menu-toggle:hover, .nav-menu-toggle[aria-expanded="true"] { border-color: rgba(255, 155, 122, 0.55); background: rgba(255, 107, 94, 0.16); color: var(--brand-lilac-bright); transform: translateY(-1px); }
.nav-menu { position: absolute; z-index: 4; top: calc(100% + 10px); right: 0; display: grid; min-width: 176px; padding: 8px; border: 1px solid rgba(224, 224, 224, 0.18); border-radius: 18px; background: var(--surface); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42); }
.nav-menu[hidden] { display: none; }
.nav-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--text); font-size: 14px; font-weight: 650; transition: color 160ms ease, background 160ms ease; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(255, 107, 94, 0.14); color: var(--brand-lilac-bright); outline: none; }
.nav-menu-toggle { display: none; }
@media (min-width: 801px) {
  .nav-menu-group { display: contents; }
  .nav-menu { position: static; display: flex; flex: 1 1 auto; align-items: center; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-menu[hidden] { display: flex !important; }
  .nav-menu a { min-height: 44px; padding: 8px 12px; border-radius: 999px; }
}
.city-selector { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--glass-border); border-radius: 999px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 28px rgba(0, 0, 0, 0.2); color: var(--accent); font: 600 14px/1.4 var(--font-sans); cursor: pointer; backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
.city-selector:hover { border-color: rgba(255, 255, 255, 0.42); background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.09)); transform: translateY(-1px); }
.location-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: var(--text); }
.city-selector-chevron { font-size: 16px; line-height: 1; }
.hero-content { position: relative; z-index: 2; padding: 42px 0 48px; }
.hero-kicker-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 540px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font: 600 14px/1.4 var(--font-sans); letter-spacing: 0.08em; }
.hero h1 { max-width: 720px; margin: 0 0 16px; font-size: clamp(40px, 7vw, 72px); line-height: 1.08; letter-spacing: -0.052em; }
.hero em { font-style: normal; color: var(--brand-lilac-bright); }
.hero p:not(.eyebrow) { max-width: 540px; margin: 0; font-size: 20px; line-height: 1.5; }
.cta { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 18px; border: 1px solid rgba(255, 107, 94, 0.55); border-radius: 999px; background: linear-gradient(135deg, rgba(255, 107, 94, 0.23), rgba(255, 255, 255, 0.08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 30px rgba(0, 0, 0, 0.2); color: var(--text); font-weight: 800; cursor: pointer; backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); transition: transform 280ms cubic-bezier(.18, 1.5, .3, 1), background 220ms ease, border-color 220ms ease; }
.cta:hover { border-color: rgba(255, 155, 122, 0.85); background: linear-gradient(135deg, rgba(255, 107, 94, 0.38), rgba(255, 155, 122, 0.15)); transform: translateY(-2px); }

.quick-navigation { position: relative; z-index: 12; display: flex; width: min(1180px, calc(100% - 24px)); align-items: center; justify-content: center; gap: 4px; margin-top: -25px; }
.quick-round-button, .quick-navigation .nav-menu-toggle { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(27, 29, 34, 0.13); border-radius: 50%; background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 22px rgba(42, 31, 26, 0.12), inset 0 1px 0 #fff; color: #171717; cursor: pointer; }
.quick-round-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.quick-calendar-button { position: relative; padding-top: 2px; }
#tomorrow-shortcut-date { position: absolute; right: 8px; bottom: 7px; font-size: 14px; font-weight: 600; line-height: 1; }
.tomorrow-shortcut-message { position: absolute; left: 52px; width: max-content; white-space: nowrap; opacity: 0; transform: translateX(-8px); font-size: 14px; font-weight: 700; pointer-events: none; transition: opacity 220ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1); }
.quick-calendar-button.is-empty-feedback, .quick-calendar-button.is-closing { position: absolute; z-index: 8; left: var(--tomorrow-left); justify-items: start; width: var(--tomorrow-expanded-width); padding-left: 15px; border-radius: 999px; transition: width 650ms cubic-bezier(.22, 1, .36, 1), border-radius 450ms ease, background 250ms ease; }
.quick-calendar-button.is-empty-feedback { background: var(--brand-lilac); border-color: transparent; color: var(--bg); box-shadow: 0 10px 28px rgba(255, 107, 94, .34), inset 0 1px 0 rgba(255, 255, 255, .42); }
.quick-calendar-button.is-empty-feedback .tomorrow-shortcut-message { opacity: 1; transform: translateX(0); }
.quick-calendar-button.is-empty-feedback #tomorrow-shortcut-date { opacity: 0; }
.quick-calendar-button.is-closing .tomorrow-shortcut-message { visibility: hidden; opacity: 0; transition: none; }
.quick-calendar-button.is-closing { width: 52px; border-radius: 50%; }
.quick-navigation .city-selector { width: auto; max-width: calc(100% - 120px); flex: 0 1 auto; min-height: 50px; padding-inline: 14px; overflow: hidden; border-color: rgba(27, 29, 34, 0.13); background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 22px rgba(42, 31, 26, 0.12), inset 0 1px 0 #fff; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.quick-navigation .city-selector span { overflow: hidden; text-overflow: ellipsis; }
.quick-navigation .city-selector-chevron { display: none; }
.quick-menu-group { position: relative; display: block; margin: 0; }
.quick-navigation .nav-menu-toggle { gap: 4px; }
.quick-navigation .nav-menu-toggle span { width: 19px; height: 2px; }
.quick-navigation .nav-menu-toggle:hover, .quick-navigation .nav-menu-toggle[aria-expanded="true"] { border-color: rgba(255, 107, 94, 0.52); background: #fff; color: var(--accent); transform: none; }
.quick-navigation .nav-menu { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 184px; padding: 8px; border: 1px solid rgba(27, 29, 34, 0.13); border-radius: 18px; background: #fff; box-shadow: 0 18px 42px rgba(42, 31, 26, 0.2); }
.quick-navigation .nav-menu[hidden] { display: none !important; }
.events-section { padding: 34px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 20px; }
.section-heading h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.035em; }
.title-emoji, .event-group-emoji { display: inline-flex; margin-left: 5px; align-items: center; justify-content: center; line-height: 1; vertical-align: -.12em; letter-spacing: 0; }
.ui-icon { display: block; width: 100%; height: 100%; overflow: visible; shape-rendering: geometricPrecision; transform: translateZ(0); }
.title-emoji .ui-icon, .event-group-emoji .ui-icon { width: 1em; height: 1em; }
.location-status { margin: 0; padding: 9px 14px; border: 1px solid var(--glass-border); border-radius: 999px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 24px rgba(0, 0, 0, 0.16); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); font: 500 13px/1.4 var(--font-sans); }
.all-events, .favorites-section, .today-section { margin-top: 56px; }
.calendar-section { margin-top: 72px; scroll-margin-top: 20px; }
.calendar-shell { max-width: 760px; padding: 20px; border: 1px solid rgba(224, 224, 224, 0.14); border-radius: 24px; background: rgba(255, 255, 255, 0.045); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16); backdrop-filter: blur(20px); }
.calendar-shell { touch-action: pan-y; }
.calendar-shell.is-swiping-next .calendar-grid, .calendar-shell.is-swiping-next #calendar-month-label { animation: calendar-swipe-next 240ms cubic-bezier(.22,1,.36,1); }
.calendar-shell.is-swiping-previous .calendar-grid, .calendar-shell.is-swiping-previous #calendar-month-label { animation: calendar-swipe-previous 240ms cubic-bezier(.22,1,.36,1); }
@keyframes calendar-swipe-next { from { opacity: .3; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes calendar-swipe-previous { from { opacity: .3; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
.calendar-toolbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; margin-bottom: 16px; }
.calendar-toolbar h3 { margin: 0; text-align: center; font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; text-transform: capitalize; }
.calendar-nav-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--glass-border); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--text); cursor: pointer; transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
.calendar-nav-button:hover { background: rgba(255, 107, 94, 0.14); color: var(--brand-lilac-bright); transform: translateY(-1px); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.calendar-day { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; min-width: 36px; padding: 0; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--muted); font-weight: 600; cursor: default; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.calendar-day-number { position: relative; z-index: 1; }
.calendar-favorite-heart { position: absolute; z-index: 0; top: 50%; left: 50%; width: 30px; height: 30px; opacity: .16; pointer-events: none; transform: translate(-50%, -48%); }
.calendar-favorite-heart .ui-icon { width: 30px; height: 30px; }
.calendar-day.selected .calendar-favorite-heart { color: #fff; opacity: .24; }
.calendar-day.has-events { border-color: rgba(255, 107, 94, 0.32); background: transparent; color: var(--muted); cursor: pointer; }
.calendar-day.has-events:hover:not(.selected) { border-color: rgba(255, 155, 122, 0.58); background: rgba(255, 107, 94, 0.1); color: var(--brand-lilac-bright); transform: translateY(-1px); }
.calendar-day.selected { border-color: rgba(255, 155, 122, 0.72); background: var(--brand-lilac); box-shadow: 0 6px 18px rgba(255, 107, 94, 0.3); color: var(--bg); }
.calendar-day.selected:hover, .calendar-day.selected:focus-visible { border-color: rgba(255, 155, 122, 0.72); background: var(--brand-lilac); box-shadow: 0 6px 18px rgba(255, 107, 94, 0.3); color: var(--bg); transform: translateY(-1px); }
.calendar-day.today { outline: 1px solid var(--brand-lilac-bright); outline-offset: -3px; color: var(--brand-lilac-bright); }
.calendar-day.today:not(.has-events) { outline-color: var(--text); color: var(--text); }
.calendar-day.today.selected { color: var(--bg); }
.calendar-day.empty { pointer-events: none; }
.calendar-events { margin-top: 20px; }
.calendar-events .events-grid { padding-right: 0; }
.calendar-empty { margin: 0; color: var(--muted); }
.events-refresh-wrap { display: flex; justify-content: center; padding: 58px 0 8px; }
.events-refresh-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 154px; min-height: 52px; gap: 9px; padding: 12px 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .76); border-radius: 999px; background: var(--brand-lilac); box-shadow: 0 12px 28px rgba(255, 107, 94, .28), inset 0 1px 0 rgba(255, 255, 255, .7); color: #fff; font: 700 15px/1 var(--font-sans); cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.events-refresh-button::after { display: none; }
.events-refresh-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 107, 94, .34), inset 0 1px 0 rgba(255, 255, 255, .82); }
.events-refresh-button:active { transform: translateY(0) scale(.98); }
.events-refresh-button.is-refreshed { background: #D94A43; }
.events-refresh-button svg, .events-refresh-button span { position: relative; z-index: 1; }
.events-refresh-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.events-refresh-button.is-refreshed svg { animation: refresh-button-spin 520ms cubic-bezier(.22, 1, .36, 1); }
@keyframes refresh-button-spin { to { transform: rotate(360deg); } }
.filter-bar { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 28px; isolation: isolate; }
.filter-button, .carousel-arrow, .favorite-button { border: 1px solid var(--glass-border); cursor: pointer; }
.filter-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; gap: 9px; padding: 8px 10px; overflow: visible; border-radius: 999px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 24px rgba(0, 0, 0, 0.16); color: var(--text); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); transition: opacity 240ms ease, background 240ms ease, border-color 240ms ease, color 240ms ease; }
.filter-button > span:first-child { display: inline-flex; align-items: center; line-height: 1.2; }
.filter-emoji { display: inline-grid; flex: 0 0 24px; width: 24px; height: 24px; align-self: center; place-items: center; line-height: 0; }
.filter-emoji .ui-icon { width: 24px; height: 24px; }
.gooey-filter { position: absolute; z-index: 0; display: block; border-radius: 999px; background: var(--brand-lilac); box-shadow: 0 0 18px rgba(255, 107, 94, 0.52); filter: blur(0.3px); transition: left 520ms cubic-bezier(.2, 1.15, .35, 1), top 520ms cubic-bezier(.2, 1.15, .35, 1), width 520ms cubic-bezier(.2, 1.15, .35, 1), height 520ms cubic-bezier(.2, 1.15, .35, 1); pointer-events: none; }
.filter-button.active { border-color: transparent; background: transparent; color: var(--bg); }
.filter-bar.has-selection .filter-button:not(.active) { opacity: 0.45; }
button, .ticket-button { position: relative; }
.gooey-particle { position: absolute; z-index: 10; top: calc(50% - var(--gooey-size) / 2); left: calc(50% - var(--gooey-size) / 2); width: var(--gooey-size); height: var(--gooey-size); border-radius: 50%; background: var(--brand-lilac); box-shadow: 0 0 10px rgba(255, 107, 94, 0.62); transform: translate(0, 0) scale(0); animation: gooey-particle 720ms cubic-bezier(.18, .8, .3, 1) forwards; pointer-events: none; }
@keyframes gooey-particle { 0% { opacity: 0; transform: translate(0, 0) scale(0); } 18% { opacity: 1; transform: translate(calc(var(--gooey-x) * .24), calc(var(--gooey-y) * .24)) scale(1.22); } 72% { opacity: .82; transform: translate(var(--gooey-x), var(--gooey-y)) scale(.68); } 100% { opacity: 0; transform: translate(calc(var(--gooey-x) * 1.12), calc(var(--gooey-y) * 1.12)) scale(0); } }

.carousel-controls { display: flex; gap: 8px; }
.carousel-controls[hidden], .carousel-arrow[hidden] { display: none !important; }
.carousel-arrow, .favorite-button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 24px rgba(0, 0, 0, 0.18); color: var(--text); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); transition: color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.carousel-arrow:hover, .favorite-button:hover { border-color: var(--accent); color: var(--accent); }
.event-group { margin-top: 28px; }
.event-group:first-child { margin-top: 0; }
.event-group-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.event-group-header h3 { margin: 0; color: var(--muted); font: 600 14px/1.4 var(--font-sans); }

.events-grid { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 32px 14px 2px; scroll-padding-left: 2px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 107, 94, 0.55) transparent; cursor: grab; }
.events-grid:active, .events-grid.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.events-grid::-webkit-scrollbar { height: 8px; }
.events-grid::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(255, 107, 94, 0.55); }
.carousel-shell { position: relative; }
.carousel-return { position: absolute; right: -62px; bottom: 24px; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; background: transparent; color: var(--accent); cursor: pointer; }
.carousel-return[hidden] { display: none; }
.carousel-return svg { width: 50px; height: 50px; fill: currentColor; transform: scaleX(-1); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34)); }
.event-card, .loading-card { border: 1px solid rgba(224, 224, 224, 0.14); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18); }
.favorites-list { display: grid; width: 100%; gap: 22px; }
.favorite-pair { display: grid; grid-auto-columns: min(86vw, 520px); grid-auto-flow: column; align-items: stretch; gap: 16px; overflow-x: auto; padding: 2px 2px 12px; scroll-padding-left: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 107, 94, 0.55) transparent; }
.favorite-pair::-webkit-scrollbar { height: 8px; }
.favorite-pair::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(255, 107, 94, 0.55); }
.favorite-pair .event-card { width: 100%; min-height: 100%; border-color: rgba(255, 119, 139, 0.3); background: linear-gradient(135deg, rgba(255, 93, 120, 0.13), rgba(255, 255, 255, 0.78)); scroll-snap-align: start; }
.promote-favorite-button { position: absolute; z-index: 3; top: 8px; right: 58px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%; background: rgba(16, 13, 22, 0.78); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18); color: #ff6b5e; cursor: pointer; backdrop-filter: blur(12px); transition: transform 180ms ease, background 180ms ease; }
.promote-favorite-button:hover { background: rgba(16, 13, 22, 0.9); transform: translateY(-1px) scale(1.04); }
.promote-favorite-button svg { width: 27px; height: 27px; overflow: visible; fill: currentColor; stroke: #fff; stroke-linejoin: round; stroke-width: 0.75; }
.favorite-pair.is-promoting { overflow: visible; pointer-events: none; animation: favorite-promote 460ms cubic-bezier(.4, 0, .2, 1) forwards; }
.favorite-pair.is-promoted-arrival { animation: favorite-promoted-arrival 400ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes favorite-promote { 0% { opacity: 1; transform: translateY(0) scale(1); } 55% { opacity: .58; transform: translateY(-20vh) scale(.86); } 100% { opacity: 0; transform: translateY(-72vh) scale(.58); } }
@keyframes favorite-promoted-arrival { 0% { opacity: 0; transform: translateY(-30px) scale(.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.favorite-note-card { display: flex; min-height: 100%; flex-direction: column; padding: var(--card-padding); overflow: hidden; border: 1px solid rgba(255, 119, 139, 0.3); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 107, 94, 0.09)); box-shadow: 0 14px 34px rgba(58, 43, 37, 0.09), inset 0 1px 0 #fff; scroll-snap-align: start; }
.favorite-note-header { flex: 0 0 auto; }
.favorite-note-header h3 { margin: 18px 0 12px; font-size: 25px; line-height: 1.3; letter-spacing: -0.03em; }
.favorite-note-input { width: 100%; min-height: 220px; flex: 1 1 auto; resize: vertical; padding: 16px; border: 1px solid rgba(27, 29, 34, 0.1); border-radius: 17px; outline: 0; background: rgba(255, 255, 255, 0.72); color: var(--text); font: 500 15px/1.6 var(--font-sans); transition: border-color 180ms ease, box-shadow 180ms ease; }
.favorite-note-input:focus { border-color: rgba(255, 107, 94, 0.58); box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.11); }
.favorite-note-input::placeholder { color: var(--muted); }
.favorite-note-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.favorite-note-copy { display: grid; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; place-items: center; border: 1px solid rgba(255, 107, 94, 0.4); border-radius: 50%; background: var(--brand-lilac); box-shadow: 0 8px 20px rgba(255, 107, 94, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42); color: #fff; cursor: pointer; transition: transform 180ms ease, opacity 180ms ease, background 180ms ease; }
.favorite-note-copy:hover:not(:disabled) { transform: translateY(-1px); }
.favorite-note-copy:disabled { opacity: 0.35; cursor: default; }
.favorite-note-copy.is-copied { background: #31A36B; }
.favorite-note-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.favorites-to-top { position: fixed; z-index: 890; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 82px); display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, 0.68); border-radius: 50%; background: var(--brand-lilac); box-shadow: 0 12px 28px rgba(255, 107, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(24px) scale(.88); transition: opacity 220ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1); }
.favorites-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.favorites-to-top:hover { transform: translateY(-2px) scale(1.03); }
.favorites-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.skeleton-card { display: grid; flex: 0 0 min(86vw, 520px); gap: 14px; padding: var(--card-padding); overflow: hidden; border: 1px solid rgba(224, 224, 224, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.055); }
.compact-skeleton { flex-basis: min(76vw, 310px); }
.skeleton-image, .skeleton-line { position: relative; display: block; overflow: hidden; border-radius: 12px; background: rgba(224, 224, 224, 0.09); }
.skeleton-image { aspect-ratio: 1.55; }
.skeleton-line { width: 72%; height: 16px; }
.skeleton-line.wide { width: 90%; height: 24px; }
.skeleton-line.short { width: 45%; }
.skeleton-image::after, .skeleton-line::after { position: absolute; inset: 0; content: ""; background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, 0.16) 48%, transparent 74%); transform: translateX(-120%); animation: skeleton-sheen 1.35s ease-in-out infinite; }
@keyframes skeleton-sheen { to { transform: translateX(120%); } }
.event-card { position: relative; flex: 0 0 min(82vw, 390px); overflow: hidden; scroll-snap-align: start; }
.event-card.expanded { flex-basis: min(88vw, 560px); }
.featured-grid .event-card { flex-basis: min(86vw, 520px); }
.event-card.compact { flex-basis: min(76vw, 310px); }
.event-card.is-past-event, .event-details-window.is-past-event { filter: grayscale(1); }
.event-card.is-past-event .event-date-value, .event-details-window.is-past-event .event-date { color: var(--muted); }
.event-rating { position: absolute; z-index: 3; bottom: 8px; left: 8px; display: flex; gap: 1px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(10,10,12,.76); box-shadow: 0 6px 18px rgba(0,0,0,.24); }
.event-rating-star { display: grid; width: 27px; height: 32px; min-width: 27px; min-height: 32px; padding: 0; place-items: center; border: 0; background: transparent; color: rgba(255,255,255,.42); font-size: 20px; line-height: 1; cursor: pointer; }
.event-rating-star.is-selected { color: #fff; text-shadow: 0 1px 8px rgba(255,255,255,.65); }
.image-wrap { position: relative; aspect-ratio: 1.55; overflow: hidden; margin: var(--card-padding); border-radius: calc(var(--radius) - var(--card-padding)); background: rgba(16, 13, 22, 0.76); }
.compact .image-wrap { margin-bottom: 12px; aspect-ratio: 1.7; }
.event-image { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: linear-gradient(135deg, rgba(255, 107, 94, 0.18), rgba(17, 18, 22, 0.92)); }
.image-placeholder span, .distance-pill, .badge { font: 600 13px/1.4 var(--font-sans); }
.image-placeholder[hidden], .ticket-button[hidden] { display: none; }
.distance-pill { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(16, 13, 22, 0.82); color: #fff; }
.event-date.is-urgent .event-date-value, .event-location.is-nearby .event-location-value, .distance-pill.is-nearby .distance-value { color: #D94A43; }
.favorite-button { position: absolute; top: 8px; right: 8px; z-index: 1; border-color: transparent; background: rgba(16, 13, 22, 0.78); color: #fff; }
.favorite-button svg { width: 28px; height: 28px; fill: transparent; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: fill 180ms ease, transform 180ms ease; }
.favorite-button.is-favorite { border-color: rgba(255, 255, 255, 0.58); background: rgba(16, 13, 22, 0.74); color: #ff4d6d; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.11), 0 0 18px rgba(255, 77, 109, 0.45); }
.favorite-button.is-favorite svg { fill: currentColor; }
.event-content { position: relative; padding: 0 52px var(--card-padding) var(--card-padding); }
.event-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 13px/1.4 var(--font-sans); color: var(--text); }
.event-date, .event-location { display: inline-flex; align-items: center; min-width: 0; gap: 6px; }
.event-date { flex: 0 0 auto; white-space: nowrap; }
.event-location { flex: 1 1 auto; justify-content: flex-end; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.event-date-value, .event-location-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-meta-icon { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; background: #080808; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28); }
.event-meta-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.event-location .event-meta-icon svg path { fill: currentColor; stroke: none; }
.event-location .event-meta-icon svg circle { fill: #080808; stroke: none; }
.event-card h3 { margin: 12px 0 8px; font-size: 25px; line-height: 1.4; letter-spacing: -0.03em; }
.compact h3 { margin-top: 8px; font-size: 20px; }
.event-description { display: -webkit-box; margin: 0 0 16px; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.favorite-pair .favorite-expanded-description { margin-bottom: 0; -webkit-line-clamp: 7; }
.compact .event-description { margin-bottom: 12px; -webkit-line-clamp: 2; }
.details-panel { max-height: 172px; margin: 0 0 16px; padding: 12px; overflow-y: auto; border: 1px solid rgba(255, 107, 94, 0.2); border-radius: 12px; background: rgba(28, 30, 36, 0.58); scrollbar-color: rgba(255, 107, 94, 0.6) transparent; }
.details-panel[hidden] { display: none; }
.event-time { margin: 0 0 8px; color: var(--accent); font: 600 14px/1.4 var(--font-sans); }
.event-weather { margin: 0 0 8px; color: var(--text); font: 600 14px/1.4 var(--font-sans); }
.event-long-description { margin: 0; color: var(--text); white-space: pre-line; }
.event-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.card-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.details-button { position: absolute; z-index: 2; top: 220px; right: 0; min-width: 42px; min-height: 116px; padding: 10px 9px; border: 1px solid rgba(244, 241, 247, 0.18); border-radius: 12px 0 0 12px; background: rgba(27, 22, 35, 0.86); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1; writing-mode: vertical-rl; text-orientation: mixed; cursor: pointer; backdrop-filter: blur(12px); transition: background 220ms ease, border-color 220ms ease, color 220ms ease; }
.details-button:hover { border-color: var(--accent); background: rgba(255, 107, 94, 0.12); color: var(--accent); }
.inline-details { max-height: 280px; margin-top: 18px; overflow-y: auto; border: 1px solid rgba(255, 107, 94, 0.24); border-radius: 16px; background: rgba(28, 30, 36, 0.78); scrollbar-color: rgba(255, 107, 94, 0.62) transparent; }
.inline-details[hidden] { display: none; }
.inline-details-header { position: sticky; z-index: 1; top: 0; padding: 14px 14px 10px; border-bottom: 1px solid rgba(244, 241, 247, 0.12); background: rgba(27, 22, 35, 0.96); backdrop-filter: blur(18px); }
.inline-details-title { margin: 10px 0 0; font-size: 20px; line-height: 1.35; letter-spacing: -0.03em; }
.inline-details-time, .inline-details-weather, .inline-details-description { margin: 0 14px 12px; }
.inline-details-time { margin-top: 14px; color: var(--accent); font-weight: 700; }
.inline-details-weather { color: var(--text); font-weight: 600; }
.inline-details-description { color: var(--muted); white-space: pre-line; }
.inline-details-ticket { margin: 2px 14px 14px; }
.location-empty { padding: 28px; border: 1px solid rgba(255, 107, 94, 0.22); border-radius: var(--radius); background: rgba(255, 107, 94, 0.08); color: var(--text); font-size: 20px; font-weight: 700; }
.badge { padding: 4px 8px; border-radius: 8px; background: rgba(255, 107, 94, 0.14); color: var(--accent); }
.ticket-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 6px 10px; border-radius: 10px; background: var(--accent); color: var(--bg); font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; transition: transform 300ms cubic-bezier(.18, 1.5, .3, 1), filter 220ms ease; }
.loading-card { padding: 32px; text-align: center; }
.compact-empty { flex: 0 0 min(76vw, 310px); color: var(--muted); }
.outro-section { position: relative; z-index: 1; background: var(--bg); border-top: 1px solid rgba(224, 224, 224, 0.16); }
.outro-content { position: relative; padding: 48px 0; }
.outro-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.outro-weather { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 16px; font-weight: 600; }
#outro-weather-icon { font-size: 24px; }
.outro-contact { position: absolute; top: 48px; right: 0; display: grid; justify-items: end; gap: 4px; text-align: right; color: var(--muted); font-size: 14px; }
.outro-contact span { color: var(--brand-lilac-bright); font-weight: 700; }
.outro-contact a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 107, 94, 0.55); text-underline-offset: 4px; }
.outro-message { max-width: 860px; margin: 0; font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.065em; }
.outro-word { display: inline-block; white-space: nowrap; }
.outro-letter { display: inline-block; transform-origin: 50% 80%; animation: outro-letter-grow 5.6s cubic-bezier(.2, .85, .25, 1) infinite both; }
.outro-letter.brand-letter { color: var(--accent); }
@keyframes outro-letter-grow { 0%, 12%, 100% { transform: scale(1); } 4% { transform: scale(1.18); } 8% { transform: scale(1.03); } }
.footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(224, 224, 224, 0.16); font: 600 14px/1.4 var(--font-sans); }
.footer > span { justify-self: end; white-space: nowrap; }
.footer-brand { display: inline-flex; align-items: center; min-width: 0; gap: 12px; }
.footer-logo { width: 128px; height: 48px; object-fit: contain; filter: brightness(0) saturate(100%) invert(63%) sepia(56%) saturate(658%) hue-rotate(321deg) brightness(102%) contrast(101%); }
.site-version { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-view { min-height: calc(100vh - 156px); padding-top: 56px; padding-bottom: 56px; }
.app-view[hidden] { display: none; }
.app-view-title { max-width: 620px; margin: 0 0 24px; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.055em; }
.app-view-centered { display: grid; align-content: center; justify-items: start; max-width: 680px; }
.app-view-centered > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; }
.app-view-icon { display: grid; width: 62px; height: 62px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(255, 107, 94, 0.32); border-radius: 20px; background: rgba(255, 107, 94, 0.1); color: var(--accent); font-size: 30px; font-weight: 600; }
.profile-view-icon { font-size: 34px; }
.event-search-field { display: flex; align-items: center; max-width: 680px; gap: 12px; margin: 0 0 30px; padding: 0 16px; border: 1px solid rgba(27, 29, 34, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.78); box-shadow: 0 12px 32px rgba(58, 43, 37, 0.08); }
.event-search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.12); }
.event-search-field svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-width: 1.8; }
.event-search-field input { width: 100%; min-height: 58px; border: 0; outline: 0; background: transparent; color: var(--text); font: 400 16px/1.5 var(--font-sans); }
.event-search-field input::placeholder { color: var(--muted); font-weight: 500; }
.app-view-results { min-height: 120px; }
.app-view-empty { margin: 8px 0; color: var(--muted); font-size: 16px; }
.search-category-picker { width: min(100%, 680px); }
.search-category-picker-title { margin: 0 0 12px; color: var(--text); font-size: 15px; font-weight: 750; }
.search-suggestions { width: min(100%, 680px); margin-top: 22px; }
.search-suggestions-title { margin: 0 0 10px; color: var(--text); font-size: 15px; font-weight: 700; }
.search-suggestions-list { display: grid; gap: 8px; }
.search-suggestion { display: grid; width: 100%; gap: 3px; padding: 14px 16px; border: 1px solid rgba(27, 29, 34, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92); color: var(--text); cursor: pointer; text-align: left; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.search-suggestion:hover, .search-suggestion:focus-visible { border-color: rgba(255, 107, 94, 0.54); box-shadow: 0 8px 20px rgba(255, 107, 94, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.92); outline: 0; transform: translateY(-1px); }
.search-suggestion strong { font-size: 15px; line-height: 1.35; }
.search-suggestion span { overflow: hidden; color: var(--muted); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.search-empty-message { margin-bottom: 0; }
.search-related-title { margin: 30px 0 12px; color: var(--text); font-size: 18px; font-weight: 800; }
.search-related-events { width: 100%; }
.profile-summary { display: grid; width: min(100%, 500px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 22px; }
.profile-summary p { display: grid; gap: 4px; margin: 0; padding: 16px; border: 1px solid rgba(27, 29, 34, 0.1); border-radius: 18px; background: rgba(255, 255, 255, 0.72); }
.profile-summary span { color: var(--muted); font-size: 14px; font-weight: 700; }
.profile-summary strong { font-size: 16px; }
.profile-view { align-content: start; padding-top: 32px; }
.profile-title { margin: 0 0 8px; font-size: clamp(34px, 9vw, 52px); line-height: 1.08; letter-spacing: -0.055em; }
.profile-heading { width: min(100%, 620px); }
.profile-kicker-row { display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 8px; }
.profile-kicker-row .eyebrow { height: auto; margin: 0; }
.account-settings-button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(27, 29, 34, .13); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text); cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.account-settings-button:hover { border-color: var(--accent); background: rgba(255, 107, 94, .1); transform: rotate(18deg); }
.account-settings-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.profile-settings-title { margin: 0 0 18px; color: var(--accent); font-size: 14px; font-weight: 600; }
.profile-setting-row { display: flex; width: min(100%, 430px); align-items: center; justify-content: flex-start; gap: 4px; }
.profile-city-button { display: grid; flex: 1 1 auto; width: auto; height: 48px; min-width: 0; align-content: center; gap: 1px; padding: 5px 16px; overflow: hidden; border: 1px solid rgba(27, 29, 34, 0.13); border-radius: 999px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 7px 20px rgba(42, 31, 26, 0.1), inset 0 1px 0 #fff; color: var(--text); text-align: left; cursor: pointer; }
.profile-city-button span { color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.1; }
.profile-city-button strong { display: block; overflow: hidden; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.transport-options { display: flex; gap: 4px; }
.transport-button { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; padding: 0; border: 1px solid rgba(27, 29, 34, 0.13); border-radius: 50%; background: rgba(255, 255, 255, 0.94); box-shadow: 0 7px 20px rgba(42, 31, 26, 0.09), inset 0 1px 0 #fff; color: #171717; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.transport-button svg { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.transport-button:hover { transform: translateY(-1px); }
.transport-button[aria-checked="true"] { border-color: rgba(255, 107, 94, 0.72); background: rgba(255, 107, 94, 0.18); box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.09), inset 0 1px 0 #fff; }
.transport-help { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.personalization-settings { display: grid; max-width: 720px; gap: 12px; margin-top: 30px; padding-bottom: 48px; }
.preference-group { padding: 18px; border: 1px solid rgba(27, 29, 34, 0.1); border-radius: 24px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 10px 28px rgba(42, 31, 26, 0.065), inset 0 1px 0 #fff; }
.preference-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.preference-heading h2 { margin: 0; color: var(--text); font-size: 16px; line-height: 1.3; letter-spacing: -0.025em; }
.preference-options { display: flex; flex-wrap: wrap; gap: 7px; }
.preference-options button { min-height: 38px; padding: 7px 12px; border: 1px solid rgba(27, 29, 34, 0.11); border-radius: 999px; background: #F7F5F2; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.preference-options button:hover { border-color: rgba(255, 107, 94, 0.42); transform: translateY(-1px); }
.preference-options button[aria-pressed="true"] { border-color: rgba(255, 107, 94, 0.72); background: rgba(255, 107, 94, 0.16); color: #B93630; box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.08); }
.budget-slider-wrap { --budget-progress: 100%; padding: 8px 2px 1px; }
.budget-slider-wrap input { width: 100%; height: 28px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.budget-slider-wrap input::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0 var(--budget-progress), #E6E2DE var(--budget-progress) 100%); }
.budget-slider-wrap input::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -9px; appearance: none; -webkit-appearance: none; border: 1px solid rgba(27, 29, 34, 0.14); border-radius: 50%; background: #fff; box-shadow: 0 4px 13px rgba(42, 31, 26, 0.2); }
.budget-slider-wrap input::-moz-range-track { height: 6px; border-radius: 999px; background: #E6E2DE; }
.budget-slider-wrap input::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.budget-slider-wrap input::-moz-range-thumb { width: 22px; height: 22px; border: 1px solid rgba(27, 29, 34, 0.14); border-radius: 50%; background: #fff; box-shadow: 0 4px 13px rgba(42, 31, 26, 0.2); }
.budget-slider-scale { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 700; }
.budget-slider-scale strong { color: var(--accent); font-size: 14px; text-align: center; }
.budget-slider-scale span:last-child { text-align: right; }
.bottom-navigation { position: fixed; z-index: 900; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); left: max(14px, env(safe-area-inset-left)); display: grid; width: min(560px, calc(100dvw - 28px)); height: 64px; grid-template-columns: repeat(5, 1fr); gap: 2px; margin: 0 auto; padding: 5px 9px; border: 1px solid rgba(27, 29, 34, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 16px 44px rgba(42, 31, 26, 0.2), inset 0 1px 0 #fff; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.bottom-nav-button { display: grid; width: 52px; height: 52px; min-width: 0; min-height: 0; padding: 0; place-self: center; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #171717; cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.bottom-nav-button:hover { color: #171717; background: #F1F1F1; transform: translateY(-1px); }
.bottom-nav-button.is-active { background: #F0F0F0; color: #111; }
.bottom-nav-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.bottom-nav-button[data-app-view="favorites"] svg { fill: transparent; }
.social-links { display: grid; width: 44px; gap: 8px; margin-top: 12px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 107, 94, 0.52); border-radius: 50%; background: rgba(255, 107, 94, 0.12); color: var(--brand-lilac-bright); transition: transform 180ms ease, background 180ms ease; }
.social-links a:hover { background: rgba(255, 107, 94, 0.24); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.social-links a:last-child svg { fill: currentColor; stroke: none; }
.city-dialog { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid rgba(244, 241, 247, 0.18); border-radius: var(--radius); background: rgba(27, 22, 35, 0.96); color: var(--text); box-shadow: 0 32px 90px rgba(0, 0, 0, 0.56); backdrop-filter: blur(28px); }
.city-dialog::backdrop { background: rgba(0, 0, 0, 0.64); backdrop-filter: blur(5px); }
.city-dialog-content { padding: 24px; }
.city-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.city-dialog h2 { margin: 0; font-size: 25px; line-height: 1.4; letter-spacing: -0.035em; }
.dialog-close { display: grid; flex: 0 0 auto; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--glass-border); border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 1px 0 var(--glass-highlight); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.city-dialog-copy { margin: 16px 0 20px; color: var(--muted); }
.account-settings-dialog, .delete-profile-dialog { width: min(560px, calc(100% - 32px)); max-height: min(82dvh, 760px); padding: 0; overflow: hidden; border: 1px solid rgba(27, 29, 34, .12); border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: 0 32px 90px rgba(42, 31, 26, .2); }
.account-settings-dialog::backdrop, .delete-profile-dialog::backdrop { background: rgba(19, 18, 22, .58); backdrop-filter: blur(8px); }
.account-settings-content { max-height: min(82dvh, 760px); padding: 26px; overflow-y: auto; }
.account-settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; }
.account-settings-header .eyebrow { margin-bottom: 6px; }
.account-settings-header h2, .delete-profile-content h2 { margin: 0; font-size: 30px; line-height: 1.12; letter-spacing: -.045em; }
.settings-block { padding: 18px 0; border-top: 1px solid rgba(27, 29, 34, .1); }
.settings-block h3, .settings-label { display: block; margin: 0 0 6px; color: var(--text); font-size: 15px; font-weight: 750; }
.settings-block p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.settings-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(27, 29, 34, .15); border-radius: 14px; outline: 0; background: rgba(255, 255, 255, .78); color: var(--text); }
.settings-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 107, 94, .12); }
.theme-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-options button { min-height: 42px; border: 1px solid rgba(27, 29, 34, .13); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.theme-options button[aria-checked="true"] { border-color: var(--accent); background: rgba(255, 107, 94, .12); color: var(--accent); font-weight: 750; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.settings-toggle { position: relative; flex: 0 0 auto; width: 52px; height: 30px; padding: 3px; border: 0; border-radius: 999px; background: #B7B4B0; cursor: pointer; transition: background 180ms ease; }
.settings-toggle span { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform 180ms ease; }
.settings-toggle[aria-checked="true"] { background: var(--accent); }
.settings-toggle[aria-checked="true"] span { transform: translateX(22px); }
.settings-links { display: grid; gap: 2px; }
.settings-links button, .organizer-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0; border: 0; background: transparent; color: var(--text); font: 650 15px/1.4 var(--font-sans); text-align: left; }
.settings-links button:disabled { cursor: default; opacity: 1; }
.settings-links span, .organizer-link span { color: var(--muted); font-size: 12px; font-weight: 650; }
.contact-settings a { display: block; color: var(--accent); font-weight: 700; }
.contact-settings .organizer-link { margin-top: 6px; color: var(--text); }
.delete-settings { margin-top: 8px; padding: 18px; border: 1px solid rgba(220, 25, 25, .24); border-radius: 18px; background: rgba(220, 25, 25, .055); }
.delete-settings p { margin-bottom: 14px; }
.delete-profile-button, .confirm-delete-profile { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; background: #D50000; color: #fff; font-weight: 800; cursor: pointer; }
.delete-profile-button:hover, .confirm-delete-profile:hover { background: #B00000; }
.delete-profile-content { padding: 30px; text-align: center; }
.delete-profile-content p { margin: 14px 0 24px; color: var(--muted); }
.delete-profile-actions { display: flex; justify-content: center; gap: 10px; }
.cancel-delete-profile { min-height: 44px; padding: 10px 20px; border: 1px solid rgba(27, 29, 34, .16); border-radius: 999px; background: transparent; color: var(--text); font-weight: 750; cursor: pointer; }
html[data-theme="dark"] { color-scheme: dark; --bg: #121214; --surface: #1C1C20; --glass: rgba(35, 35, 40, .92); --glass-strong: rgba(35, 35, 40, .98); --glass-border: rgba(255, 255, 255, .14); --glass-highlight: rgba(255, 255, 255, .12); --text: #F4F1F4; --muted: #BBB5BC; }
html[data-theme="dark"] body { background: #121214; }
html[data-theme="dark"] .hero { background: linear-gradient(115deg, #151518 0%, #1E1719 68%, #261719 100%); }
html[data-theme="dark"] .nav, html[data-theme="dark"] .bottom-navigation, html[data-theme="dark"] .city-dialog, html[data-theme="dark"] .account-settings-dialog, html[data-theme="dark"] .delete-profile-dialog, html[data-theme="dark"] .settings-input { background: #202025; color: var(--text); }
html[data-theme="dark"] .profile-city-button, html[data-theme="dark"] .account-settings-button { background: #25252B; color: var(--text); border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .preference-group, html[data-theme="dark"] .theme-options button { background: #202025; color: var(--text); border-color: rgba(255,255,255,.13); }
html[data-theme="dark"] .settings-block, html[data-theme="dark"] .delete-settings { border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .bottom-nav-button { color: var(--text); }
html[data-theme="dark"] .bottom-nav-button:hover, html[data-theme="dark"] .bottom-nav-button.is-active { background: #303038; color: var(--text); }
.city-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-option { min-height: 48px; padding: 8px 14px; border: 1px solid var(--glass-border); border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 1px 0 var(--glass-highlight); color: var(--text); text-align: left; cursor: pointer; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.city-option:last-child { grid-column: 1 / -1; }
.city-option:hover, .city-option.active { border-color: rgba(255, 107, 94, 0.72); background: linear-gradient(135deg, rgba(255, 107, 94, 0.2), rgba(255, 255, 255, 0.09)); color: var(--accent); }
body.has-open-dialog { overflow: hidden; }
body > #event-details-dialog.event-details-overlay { position: fixed !important; z-index: 1000 !important; inset: 0 !important; background: rgba(0, 0, 0, 0.58); backdrop-filter: blur(12px) brightness(0.68); -webkit-backdrop-filter: blur(12px) brightness(0.68); }
.event-details-overlay[hidden] { display: none; }
body > #event-details-dialog .event-details-window { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; width: min(820px, calc(100vw - 32px)); max-height: min(78vh, 760px); overflow: hidden; border: 1px solid rgba(244, 241, 247, 0.2); border-radius: 28px; background: rgba(27, 22, 35, 0.98); color: var(--text); box-shadow: 0 40px 110px rgba(0, 0, 0, 0.72); transform: translate(-50%, -50%) !important; backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); }
.event-details-content { position: relative; max-height: min(78vh, 760px); overflow-y: auto; }
.event-details-header { position: sticky; z-index: 2; top: 0; padding: 28px 84px 20px 32px; border-bottom: 1px solid rgba(244, 241, 247, 0.14); background: rgba(27, 22, 35, 0.98); backdrop-filter: blur(28px); }
.event-details-header .dialog-close { position: absolute; top: 16px; right: 16px; }
.event-details-header h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: -0.04em; }
.event-details-body { padding: 24px 36px 32px; }
.event-details-description { margin: 16px 0 24px; color: var(--text); white-space: pre-line; }
.event-details-header .event-details-meta { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 8px; }
.event-details-location { justify-content: flex-start; color: var(--text); font-weight: 650; }
.event-details-body .ticket-button { min-height: 44px; padding: 10px 14px; }
.event-details-image-wrap { margin: 0 0 20px; overflow: hidden; border-radius: 18px; background: #ECE9E5; aspect-ratio: 1.65; }
.event-details-image-wrap[hidden] { display: none; }
.event-details-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.event-details-actions { display: flex; align-items: center; gap: 10px; }
.event-details-actions .ticket-button { min-width: 132px; }
.ticket-button.is-free { background: rgba(255, 107, 94, 0.14); color: #C73F38; cursor: default; }
.event-share-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 107, 94, 0.45); border-radius: 50%; background: rgba(255, 107, 94, 0.1); color: var(--accent); cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.event-share-button:hover { transform: translateY(-1px); background: rgba(255, 107, 94, 0.18); }
.event-share-button.is-copied { background: #D94A43; color: #fff; }
.event-share-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

/* Light surface system: media remains the visual focus, while UI layers stay quiet. */
.calendar-shell, .event-card, .loading-card { border-color: rgba(27, 29, 34, 0.1); background: var(--glass); box-shadow: 0 14px 34px rgba(58, 43, 37, 0.09); }
.skeleton-card { border-color: rgba(27, 29, 34, 0.1); background: rgba(255, 255, 255, 0.72); }
.skeleton-image, .skeleton-line { background: #ECE9E5; }
.image-wrap { background: #ECE9E5; }
.image-placeholder { background: linear-gradient(135deg, rgba(255, 107, 94, 0.18), rgba(247, 245, 242, 0.92)); }
.details-panel, .inline-details { background: #FFF8F5; }
.details-button, .inline-details-header { border-color: rgba(27, 29, 34, 0.12); background: rgba(255, 255, 255, 0.94); }
.outro-section { background: #FFFDFC; border-top-color: rgba(27, 29, 34, 0.1); }
.footer { border-top-color: rgba(27, 29, 34, 0.1); }
.city-dialog, body > #event-details-dialog .event-details-window, .event-details-header { border-color: rgba(27, 29, 34, 0.12); background: rgba(255, 255, 255, 0.98); box-shadow: 0 32px 90px rgba(42, 31, 26, 0.18); }
.event-details-header { border-bottom-color: rgba(27, 29, 34, 0.1); }
.ticket-button { color: #FFFFFF; }

@media (max-width: 800px) {
  .wrapper { width: min(100% - 24px, 1180px); }
  .events-section { padding: 30px 0 64px; }
  .app-view { min-height: calc(100vh - 138px); padding-top: 36px; padding-bottom: 36px; }
  .app-view-title { font-size: clamp(30px, 10vw, 42px); }
  .event-search-field { margin-bottom: 24px; border-radius: 16px; }
  .profile-summary { gap: 8px; }
  .profile-view { padding-top: 24px; }
  .personalization-settings { gap: 10px; margin-top: 26px; }
  .preference-group { padding: 15px; border-radius: 21px; }
  .hero { min-height: 314px; }
  .hero-content { padding: 30px 0 38px; }
  .hero-kicker-row { max-width: 100%; }
  .hero-kicker-row .eyebrow { max-width: 260px; font-size: 14px; }
  .quick-navigation { width: calc(100% - 24px); gap: 3px; margin-top: -18px; }
  .quick-round-button, .quick-navigation .nav-menu-toggle { width: 48px; height: 48px; }
  .quick-navigation .city-selector { min-height: 46px; padding-inline: 10px; font-size: 14px; }
  .featured-heading { flex-direction: row; align-items: flex-end; gap: 10px; }
  .featured-heading .carousel-controls { flex: 0 0 auto; align-self: flex-end; margin-left: auto; }
  .featured-heading .carousel-arrow { min-width: 40px; min-height: 40px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading .carousel-controls { align-self: flex-start; margin-top: 0; }
  .section-heading h2 { font-size: 28px; }
  .location-status { max-width: 100%; }
  .events-grid { gap: 12px; }
  .carousel-return { right: 2px; bottom: 20px; }
  .event-card, .featured-grid .event-card { flex-basis: min(85vw, 440px); }
  .event-card, .loading-card { background: rgba(255, 255, 255, 0.94); }
  .event-card.compact { flex-basis: min(78vw, 320px); }
  .favorite-note-header .event-location { overflow: visible; }
  .favorite-note-location { display: block; min-width: 0; flex: 1 1 auto; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x; }
  .favorite-note-location::-webkit-scrollbar { display: none; }
  .event-card.expanded { flex-basis: min(88vw, 420px); }
  .event-bottom { align-items: flex-start; flex-direction: column; }
  .card-actions { width: 100%; justify-content: flex-end; }
  .beta-badge { font-size: 8px; }
  .city-options { grid-template-columns: 1fr; }
  .city-option:last-child { grid-column: auto; }
  .outro-content { padding: 40px 0; }
  .outro-topline { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .outro-contact { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; justify-items: start; text-align: left; }
  .outro-contact > span, .outro-contact > a { grid-column: 1; }
  .outro-contact .social-links { display: flex; grid-column: 2; grid-row: 1 / span 2; width: auto; margin: 0; align-self: center; }
  .nav { border-radius: 28px; padding-inline: 12px; }
  .footer { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: 13px; }
  .footer-logo { width: 112px; height: 42px; }
  .footer-brand { gap: 8px; }
  .site-version { font-size: 9px; }
}

@media (max-width: 420px) {
  .hero-content { padding-top: 28px; }
  .bottom-navigation { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: calc(100dvw - 24px); height: 60px; padding: 5px 7px; border-radius: 999px; }
  .bottom-nav-button { width: 48px; height: 48px; min-height: 0; border-radius: 50%; }
  .bottom-nav-button svg { width: 21px; height: 21px; }
  .hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .hero p:not(.eyebrow) { max-width: 330px; font-size: 16px; }
  .quick-navigation .city-selector { max-width: calc(100% - 108px); padding-inline: 10px; font-size: 14px; }
  .footer { gap: 8px; font-size: 12px; }
  .event-card, .featured-grid .event-card { flex-basis: min(88vw, 390px); }
  .event-content { padding-right: 48px; }
  .details-button { top: 204px; min-height: 102px; }
  .outro-message { font-size: clamp(30px, 10vw, 42px); letter-spacing: -0.055em; }
  .calendar-shell { padding: 14px; }
  .calendar-weekdays, .calendar-grid { gap: 4px; }
  .calendar-day { min-width: 0; border-radius: 10px; font-size: 14px; }
  .calendar-favorite-heart { font-size: 26px; }
  .event-details-header { padding: 24px 72px 16px 22px; }
  .event-details-header h2 { font-size: 25px; }
  .event-details-body { padding: 20px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* Profile controls share the home shortcuts' soft glass surface. */
.profile-city-button, .transport-button, .preference-options button {
  border: 1px solid rgba(27, 29, 34, 0.13);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .86));
  box-shadow: 0 8px 22px rgba(42, 31, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(27, 29, 34, .04);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.preference-options { gap: 8px; }
.preference-options button {
  min-height: 44px; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.transport-button[aria-checked="true"], .preference-options button[aria-pressed="true"] {
  border-color: transparent;
  background: var(--brand-lilac);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(255, 107, 94, 0.52), inset 0 1px 0 rgba(255, 255, 255, .46), inset 0 -1px 0 rgba(120, 31, 24, .12);
}
.profile-city-button:hover, .transport-button:hover, .preference-options button:hover {
  border-color: rgba(255, 107, 94, 0.52); transform: translateY(-1px);
}
.profile-setting-row { flex-wrap: nowrap; }
.profile-city-button span { font-size: 9px; }
.profile-city-button strong { font-size: 12px; }
.transport-help { font-size: 11px; }
.budget-slider-scale { font-size: 10px; }
.budget-slider-scale strong { font-size: 11px; }
.profile-settings-title { font-size: 15px; font-weight: 750; }

/* Booking and sharing use the same rounded, solid accent controls. */
.events-refresh-button { min-height: 44px; min-width: 132px; padding: 10px 18px; border: 0; background: var(--accent); color: var(--bg); box-shadow: none; font-weight: 700; }
.events-refresh-button:hover { box-shadow: none; filter: brightness(.95); transform: translateY(-1px); }
.events-refresh-button.is-refreshed { background: var(--accent); }
.all-events { scroll-margin-top: 100px; }
.ticket-button, .event-details-body .ticket-button { border-radius: 999px; min-height: 44px; padding: 10px 18px; background: var(--accent); color: var(--bg); }
.event-share-button { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--accent); color: var(--bg); box-shadow: 0 8px 22px rgba(42, 31, 26, .12); }
.event-share-button:hover, .event-share-button.is-copied { background: var(--accent); color: var(--bg); filter: brightness(.95); }
.event-share-button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.permanent-intro { max-width: 620px; margin: -8px 0 24px; color: var(--muted); }
.event-details-actions { flex-wrap: wrap; }
.event-details-actions .ticket-button { height: 44px; box-sizing: border-box; }
.event-share-button { flex: 0 0 44px; width: 44px; height: 44px; }
.social-share-button { color: #fff; }
.social-share-messenger, .social-share-messenger:hover, .social-share-messenger.is-copied { --social-background: #6d45ff; background: linear-gradient(30deg, #00b2ff, #6655ff 45%, #a033ff 65%, #ff5280); color: #fff; }
.social-share-instagram, .social-share-instagram:hover, .social-share-instagram.is-copied { background: radial-gradient(circle at 30% 100%, #ffd776 0%, #ff792b 25%, #e32a7f 55%, #9138ad 80%, #515bd4 100%); color: #fff; }
.hero-kicker-row { gap: 8px; }
.hero-kicker-row .eyebrow { flex: 0 1 auto; max-width: none; white-space: nowrap; font-size: clamp(9px, 2.7vw, 14px); letter-spacing: .06em; }
.hero-kicker-row .beta-badge { flex: 0 0 auto; }

/* Page headings share the home title's scale and first-line position. */
:root {
  --page-heading-top: 42px;
  --page-heading-kicker: 32px;
  --page-title-size: clamp(40px, 7vw, 72px);
}
.hero-content, .app-view { padding-top: var(--page-heading-top); }
.hero-kicker-row { height: 24px; margin-bottom: 8px; }
.hero-kicker-row .eyebrow { height: 24px; margin: 0; }
#search-view > .eyebrow, #permanent-view > .eyebrow,
#profile-view > .eyebrow,
#favorites-view .section-heading > div > .eyebrow {
  height: 24px;
  margin: 0 0 8px;
}
#favorites-view .favorites-section { margin-top: 0; }
.profile-view { padding-top: var(--page-heading-top); }
.eyebrow, .hero-kicker-row .eyebrow {
  color: var(--accent);
  font: 600 clamp(11px, 4vw, 14px)/1.4 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1, .app-view-title, .profile-title, #favorites-title {
  font-family: var(--font-sans);
  font-size: var(--page-title-size);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.052em;
}
@media (max-width: 800px) {
  :root {
    --page-heading-top: 28px;
    --page-title-size: clamp(38px, 12vw, 48px);
  }
}

/* A swipe to the right always settles on the following card, even during a fast gesture. */
.events-grid { scroll-snap-type: x mandatory; touch-action: pan-y pinch-zoom; -webkit-overflow-scrolling: touch; }
.events-grid[data-carousel-ready="true"], .events-grid[data-carousel-ready="true"]:active { scroll-snap-type: none; scroll-behavior: auto; }
.events-grid.is-dragging { user-select: none; }

/* Settings remain part of the profile flow, after the personalization questions. */
.account-settings-panel { width: min(100%, 720px); margin: 12px 0 52px; padding: 22px; border: 1px solid rgba(27, 29, 34, .12); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 30px rgba(42, 31, 26, .08); }
.account-settings-panel[hidden] { display: none; }
.account-settings-panel .account-settings-header { padding-bottom: 12px; }
.account-settings-panel .settings-block:last-child { padding-bottom: 0; }
.settings-summary { display: grid; gap: 2px; }
.settings-summary button { display: flex; width: 100%; min-height: 48px; align-items: center; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(27,29,34,.1); background: transparent; color: var(--text); font-weight: 700; text-align: left; cursor: pointer; }
.settings-summary button::after { margin-left: auto; color: var(--muted); content: '›'; font-size: 22px; font-weight: 400; }
.settings-summary .settings-summary-delete { border-bottom: 0; color: #D50000; }
.settings-sheet-backdrop { position: fixed; z-index: 1200; inset: 0; background: rgba(12, 12, 14, .42); backdrop-filter: blur(3px); }
.settings-sheet { position: fixed; z-index: 1201; right: 0; bottom: calc(72px + max(14px, env(safe-area-inset-bottom)) + 10px); left: 0; width: min(100%, 720px); min-height: 25dvh; max-height: min(25dvh, calc(100dvh - 106px)); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid rgba(27,29,34,.14); border-radius: 24px; background: var(--surface); box-shadow: 0 -18px 48px rgba(0,0,0,.24); transform: translateY(115%); transition: transform 280ms cubic-bezier(.22,1,.36,1); }
.settings-sheet.is-open { transform: translateY(0); }
.settings-sheet-close { position: absolute; top: 11px; right: 14px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgba(27,29,34,.08); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.settings-sheet h3, .settings-sheet .settings-label { padding-right: 42px; }

/* Dark mode uses opaque surfaces and high-contrast text for every interactive area. */
html[data-theme="dark"] body { background: radial-gradient(ellipse 72% 28% at 90% 9%, rgba(255, 107, 94, .14), transparent 72%), #121214; }
html[data-theme="dark"] .event-card, html[data-theme="dark"] .loading-card, html[data-theme="dark"] .favorite-pair .event-card, html[data-theme="dark"] .favorite-note-card, html[data-theme="dark"] .calendar-shell, html[data-theme="dark"] .account-settings-panel { background: #202025; border-color: rgba(255,255,255,.14); box-shadow: 0 12px 32px rgba(0,0,0,.32); }
html[data-theme="dark"] .event-card h3, html[data-theme="dark"] .event-meta, html[data-theme="dark"] .event-location, html[data-theme="dark"] .event-long-description, html[data-theme="dark"] .event-weather, html[data-theme="dark"] .outro-weather, html[data-theme="dark"] .outro-contact a { color: #F7F4F7; }
html[data-theme="dark"] .event-description, html[data-theme="dark"] .event-group-header h3, html[data-theme="dark"] .outro-contact, html[data-theme="dark"] .transport-help { color: #CDC7D0; }
html[data-theme="dark"] .profile-city-button, html[data-theme="dark"] .transport-button, html[data-theme="dark"] .preference-options button, html[data-theme="dark"] .quick-round-button, html[data-theme="dark"] .quick-navigation .city-selector, html[data-theme="dark"] .quick-navigation .nav-menu-toggle, html[data-theme="dark"] .nav-menu, html[data-theme="dark"] .filter-button { background: #29292F; border-color: rgba(255,255,255,.16); color: #F7F4F7; box-shadow: none; }
html[data-theme="dark"] .transport-button[aria-checked="true"], html[data-theme="dark"] .preference-options button[aria-pressed="true"], html[data-theme="dark"] .filter-button.active { background: var(--brand-lilac); color: #171217; }
html[data-theme="dark"] .settings-input, html[data-theme="dark"] .favorite-note-input { background: #151519; border-color: rgba(255,255,255,.18); color: #F7F4F7; }
html[data-theme="dark"] .event-details-window, html[data-theme="dark"] .event-details-header, html[data-theme="dark"] .inline-details, html[data-theme="dark"] .inline-details-header { background: #202025; color: #F7F4F7; }
html[data-theme="dark"] .outro-section { background: #121214; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .details-button { border-color: rgba(255,255,255,.16); background: #151519; color: #F7F4F7; }
html[data-theme="dark"] .details-button:hover { background: #29292F; color: #F7F4F7; }
html[data-theme="dark"] .search-suggestion { border-color: rgba(255,255,255,.14); background: #202025; color: #F7F4F7; box-shadow: none; }
html[data-theme="dark"] .search-suggestion span { color: #CDC7D0; }
html[data-theme="dark"] .settings-summary button { border-color: rgba(255,255,255,.12); color: #F7F4F7; }
html[data-theme="dark"] .settings-summary .settings-summary-delete { color: #FF5A5A; }
html[data-theme="dark"] .settings-sheet { border-color: rgba(255,255,255,.14); background: #202025; }
html[data-theme="dark"] .settings-sheet-close { background: #34343B; color: #F7F4F7; }

/* The search field and every card use the same opaque dark surface.  Icons are
   deliberately inverted so their small shapes stay legible against the cards. */
html[data-theme="dark"] .event-search-field {
  border-color: rgba(255,255,255,.16);
  background: #202025;
  box-shadow: 0 12px 32px rgba(0,0,0,.32);
}
html[data-theme="dark"] .event-search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,94,.22);
}
html[data-theme="dark"] .event-search-field input,
html[data-theme="dark"] .event-search-field input::placeholder { color: #F7F4F7; }
html[data-theme="dark"] .event-search-field input::placeholder { color: #BDB7C0; }
html[data-theme="dark"] .event-search-field svg { stroke: #F7F4F7; }
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .loading-card,
html[data-theme="dark"] .favorite-pair .event-card,
html[data-theme="dark"] .favorite-note-card {
  background: #202025;
  color: #F7F4F7;
}
html[data-theme="dark"] .event-meta-icon {
  border-color: rgba(18,18,20,.16);
  background: #F7F4F7;
  color: #17171B;
  box-shadow: 0 2px 7px rgba(0,0,0,.36);
}
html[data-theme="dark"] .event-location .event-meta-icon svg circle { fill: #F7F4F7; }
html[data-theme="dark"] .event-date.is-urgent .event-date-value,
html[data-theme="dark"] .event-location.is-nearby .event-location-value,
html[data-theme="dark"] .distance-pill.is-nearby .distance-value { color: #FF887D; }

.promote-favorite-button { color: #ff4d6d; }
.promote-favorite-button svg { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.event-details-location, .inline-details-meta .event-location { width: 100%; max-width: 100%; overflow: hidden; }
#event-details-location, .inline-location-value { display: block; min-width: 0; flex: 1 1 auto; overflow-x: auto; white-space: nowrap; text-overflow: clip; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain; }
#event-details-location::-webkit-scrollbar, .inline-location-value::-webkit-scrollbar { display: none; }
.event-details-location { --location-fade-surface: #FFFFFF; position: relative; }
.inline-details-meta .event-location { --location-fade-surface: #FFF8F5; position: relative; }
.event-details-location.has-more-right::after, .inline-details-meta .event-location.has-more-right::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 100%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--location-fade-surface) 88%);
}
html[data-theme="dark"] .event-details-location, html[data-theme="dark"] .inline-details-meta .event-location { --location-fade-surface: #202025; }
.social-share-messenger svg { display: block; width: 22px; height: 22px; aspect-ratio: 1; }

/* Mobile-first interaction and type scale.
   The visual icon may stay compact, but every control keeps a 44 px touch area. */
:root {
  --tap-target: 48px;
  --space-control: 8px;
  --space-1: 12px;
  --space-card: 16px;
  --space-2: 24px;
  --space-section: 48px;
}
button,
.ticket-button,
.social-links a,
.nav-menu a,
.organizer-link {
  min-height: var(--tap-target);
}
.calendar-day.has-events { min-width: 36px; min-height: 36px; }
.calendar-day.has-events::before { inset: -4px; }
.account-settings-button,
.settings-sheet-close,
.favorite-note-copy {
  width: var(--tap-target);
  height: var(--tap-target);
  min-width: var(--tap-target);
  min-height: var(--tap-target);
}
.settings-sheet-close { top: 8px; right: 10px; }
.settings-toggle { min-height: 30px; }
.details-button { min-width: var(--tap-target); }

/* A calm, repeatable spacing rhythm makes dense preference screens easier to scan. */
.profile-kicker-row { margin-bottom: var(--space-1); }
.profile-setting-row { gap: var(--space-1); }
.transport-options { gap: var(--space-1); }
.transport-help { margin-top: var(--space-1); }
.personalization-settings { gap: var(--space-2); margin-top: 32px; padding-bottom: 64px; }
.preference-group { padding: var(--space-2); }
.preference-heading { margin-bottom: var(--space-1); }
.preference-options { gap: var(--space-1); }
.event-group { margin-top: 36px; }
.event-group-header { margin-bottom: var(--space-1); }
.search-suggestions { margin-top: var(--space-2); }
.search-suggestions-list { gap: var(--space-1); }
.outro-topline { margin-bottom: var(--space-2); }

/* Readable at a glance: headings lead, supporting information never drops below 12 px. */
.event-group-header h3,
.preference-heading h2 { font-size: 20px; line-height: 1.3; }
.settings-block h3,
.settings-label { font-size: 20px; line-height: 1.3; }
.event-meta,
.image-placeholder span,
.distance-pill,
.badge,
.profile-city-button span,
.profile-city-button strong,
.transport-help,
.budget-slider-scale,
.budget-slider-scale strong,
.site-version,
.beta-badge { font-size: 12px; }
.event-description,
.inline-details-description,
.settings-block p,
.app-view-empty { font-size: 14px; }
.ticket-button,
.details-button,
.preference-options button,
.search-suggestion,
.settings-summary button { font-size: 14px; }

@media (max-width: 800px) {
  .personalization-settings { gap: var(--space-2); margin-top: 32px; }
  .preference-group { padding: 20px; }
  .profile-setting-row { gap: 10px; }
  .event-group-header h3 { font-size: 20px; }
  .search-suggestion { min-height: 52px; }
}

/* Mobile tab labels make every destination understandable before the first tap. */
.bottom-nav-label { display: none; }

.profile-filter-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(27, 29, 34, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 26px rgba(42, 31, 26, .07);
}
.profile-filter-summary .eyebrow { margin: 0 0 6px; }
.profile-filter-summary h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.profile-filter-summary-value { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.clear-profile-filters { flex: 0 0 auto; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(27, 29, 34, .16); border-radius: 999px; background: transparent; color: var(--text); font-weight: 700; }
.clear-profile-filters:disabled { opacity: .45; cursor: default; }
.settings-sheet .profile-filter-summary-value { margin: 12px 0 18px; padding-right: 16px; }
.settings-sheet .clear-profile-filters { width: 100%; }

.compact-empty-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 5px;
  row-gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: 8px auto;
  padding: 14px 16px;
  border: 1px solid rgba(27, 29, 34, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.compact-empty-message { width: 100%; color: var(--muted); font-size: 12px; }
.compact-empty-hint { color: var(--text); font-size: 14px; font-weight: 700; }
.compact-empty-recommendation { min-height: 32px; padding: 3px 7px; border: 0; border-radius: 8px; background: transparent; color: var(--accent); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.event-primary-action { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.event-details-actions { flex-wrap: nowrap; align-items: stretch; }
.event-details-actions .ticket-button { width: 100%; min-width: 0; min-height: 52px; }
.event-details-actions .event-share-button { flex: 0 0 52px; width: 52px; height: 52px; }
.ticket-button.is-free,
.event-details-body .ticket-button.is-free {
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  box-shadow: none;
}
.free-arrival-message {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: calc(100% + 10px);
  max-width: min(240px, 72vw);
  padding: 10px 13px;
  border: 1px solid rgba(27, 29, 34, .12);
  border-radius: 14px;
  background: var(--text);
  box-shadow: 0 12px 28px rgba(42, 31, 26, .2);
  color: var(--bg);
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.96);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}
.free-arrival-message::after { position: absolute; right: 20px; bottom: -6px; width: 12px; height: 12px; background: var(--text); content: ""; transform: rotate(45deg); }
.free-arrival-message.is-visible { opacity: 1; transform: translateY(0) scale(1); }

html[data-theme="dark"] .profile-filter-summary,
html[data-theme="dark"] .compact-empty-state { border-color: rgba(255,255,255,.14); background: #202025; color: #F7F4F7; }
html[data-theme="dark"] .profile-filter-summary-value,
html[data-theme="dark"] .compact-empty-message { color: #C8C2CC; }
html[data-theme="dark"] .compact-empty-hint { color: #F7F4F7; }
html[data-theme="dark"] .clear-profile-filters { border-color: rgba(255,255,255,.2); color: #F7F4F7; }
html[data-theme="dark"] .ticket-button.is-free,
html[data-theme="dark"] .event-details-body .ticket-button.is-free { border-color: #FF9B7A; color: #FFB09A; background: transparent; }
html[data-theme="dark"] .free-arrival-message,
html[data-theme="dark"] .free-arrival-message::after { background: #F7F4F7; color: #17171B; }

@media (max-width: 800px) {
  body { padding-bottom: 116px; }
  .bottom-navigation { height: 76px; padding: 6px 8px; border-radius: 24px; }
  .bottom-nav-button { display: grid; width: 100%; height: 64px; min-height: 64px; place-items: center; align-content: center; gap: 3px; border-radius: 17px; }
  .bottom-nav-button svg { width: 22px; height: 22px; }
  .bottom-nav-label { display: block; overflow: hidden; max-width: 100%; color: currentColor; font-size: 11px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
  .profile-filter-summary { align-items: flex-start; flex-direction: column; padding: 20px; }
  .clear-profile-filters { width: 100%; }
}

@media (max-width: 420px) {
  .bottom-navigation { height: 76px; padding: 6px; border-radius: 22px; }
  .bottom-nav-button { width: 100%; height: 64px; min-height: 64px; border-radius: 16px; }
  .bottom-nav-button svg { width: 21px; height: 21px; }
  .bottom-nav-label { font-size: 10px; }
}

/* High-contrast user settings retain the same hierarchy without relying on subtle shadows. */
@media (prefers-contrast: more) {
  .event-card, .preference-group, .profile-filter-summary, .compact-empty-state, .bottom-navigation { border-width: 2px; }
  .bottom-nav-button.is-active, .ticket-button, .details-button { outline: 2px solid currentColor; outline-offset: 2px; }
}

/* The tab labels are useful on desktop too: each destination remains explicit. */
.bottom-navigation { height: 76px; padding: 6px 8px; border-radius: 24px; }
.bottom-nav-button { display: grid; width: 100%; height: 64px; min-height: 64px; place-items: center; align-content: center; gap: 3px; border-radius: 17px; }
.bottom-nav-label { display: block; overflow: hidden; max-width: 100%; color: currentColor; font-size: 11px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }

/* Apple-style floating tab bar: stable destinations, concise labels and a quiet material layer. */
.bottom-navigation {
  width: min(500px, calc(100dvw - 28px));
  height: 72px;
  gap: 1px;
  padding: 5px 7px;
  border-color: rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(250, 250, 252, .78);
  box-shadow: 0 14px 38px rgba(25, 25, 30, .18), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.bottom-nav-button {
  width: 100%;
  height: 60px;
  min-height: 60px;
  gap: 2px;
  border-radius: 999px;
  color: rgba(23, 23, 27, .62);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.bottom-nav-button:hover { background: rgba(20,20,24,.055); color: #17171B; transform: none; }
.bottom-nav-button.is-active { background: rgba(255,255,255,.9); color: #17171B; box-shadow: 0 3px 12px rgba(22,22,27,.1), inset 0 1px 0 #fff; }
.bottom-nav-button svg { width: 21px; height: 21px; stroke-width: 1.9; }
.bottom-nav-label { font-size: 9px; font-weight: 650; letter-spacing: -.01em; }
html[data-theme="dark"] .bottom-navigation { border-color: rgba(255,255,255,.15); background: rgba(35,35,40,.8); box-shadow: 0 14px 40px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.12); }
html[data-theme="dark"] .bottom-nav-button { color: rgba(247,244,247,.64); }
html[data-theme="dark"] .bottom-nav-button:hover { background: rgba(255,255,255,.07); color: #F7F4F7; }
html[data-theme="dark"] .bottom-nav-button.is-active { background: rgba(255,255,255,.14); color: #F7F4F7; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

@media (max-width: 800px) {
  .bottom-navigation { height: 72px; padding: 5px 7px; border-radius: 999px; }
  .bottom-nav-button { height: 60px; min-height: 60px; border-radius: 999px; }
  .bottom-nav-label { font-size: 9px; }
}

@media (max-width: 420px) {
  .bottom-navigation { height: 70px; padding: 5px 6px; border-radius: 999px; }
  .bottom-nav-button { height: 58px; min-height: 58px; }
  .bottom-nav-button svg { width: 20px; height: 20px; }
  .bottom-nav-label { font-size: 8.5px; }
}

/* Keep the floating navigation island on the same viewport axis on every page. */
.bottom-navigation {
  right: auto;
  left: 50%;
  width: min(500px, calc(100% - 24px));
  box-sizing: border-box;
  transform: translateX(-50%);
}

/* Apple-style feedback: a short press state without particles or bubble bursts. */
button,
.ticket-button,
.organizer-link {
  -webkit-tap-highlight-color: transparent;
}
button:active:not(:disabled),
.ticket-button:active,
.organizer-link:active {
  opacity: .78;
  transform: scale(.97);
  transition-duration: 80ms;
}
.is-press-feedback { animation: apple-press-feedback 180ms ease-out; }
@keyframes apple-press-feedback {
  0% { opacity: .76; transform: scale(.97); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 800px) {
  .bottom-navigation { right: auto; left: 50%; width: calc(100% - 24px); transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .is-press-feedback { animation: none; }
}

/* Current-events home dashboard. The glass treatment stays on the navigation
   layer, while event content remains on calm, solid surfaces. */
.hero {
  min-height: 0;
  overflow: visible;
  border-bottom: 0;
  background: transparent;
}
.hero-content { padding: 19px 0 18px; }
.points-counter { position: absolute; top: 19px; right: 0; display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 4px; padding: 5px 9px; border: 1px solid rgba(27,29,34,.12); border-radius: 999px; background: rgba(255,255,255,.84); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(42,31,26,.1); color: var(--text); font: 700 14px/1 var(--font-sans); }
.points-counter > span { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; line-height: 0; }
.points-counter .ui-icon { width: 22px; height: 22px; filter: drop-shadow(0 2px 2px rgba(128,79,0,.18)); }
html[data-theme="dark"] .points-counter { border-color: rgba(255,255,255,.14); background: #29292F; color: #F7F4F7; box-shadow: none; }
.current-events-title {
  display: grid;
  justify-items: start;
  gap: 2px;
  max-width: none;
  margin: 0;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.hero .current-events-title { margin: 0; }
.current-events-title .current-title-top,
.current-events-title .current-title-bottom strong {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -.055em;
}
.current-events-title .current-title-top {
  font-size: clamp(25px, 6.6vw, 44px);
  line-height: 1;
}
.current-title-bottom {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #C65A00;
}
.current-events-title .current-title-bottom strong {
  font-size: clamp(27px, 7.1vw, 48px);
  line-height: .94;
}
.current-events-title .current-title-bottom em {
  position: absolute;
  left: calc(100% + 7px);
  bottom: -.14em;
  color: #C65A00;
  font: 500 clamp(39px, 10.2vw, 68px)/.78 Caveat, cursive;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.quick-navigation {
  position: relative;
  z-index: 12;
  display: grid;
  width: min(1180px, calc(100% - 24px));
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: stretch;
  gap: 10px;
  margin: 0 auto 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(250,250,252,.8);
  box-shadow: 0 16px 42px rgba(42,31,26,.12), inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}
.quick-actions-main { display: grid; width: 100%; align-content: space-between; gap: 12px; min-width: 0; }
.quick-navigation .city-selector {
  width: 100%;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  flex: none;
  justify-content: flex-start;
  padding: 8px 15px;
  border-color: rgba(27,29,34,.12);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgba(42,31,26,.08);
  color: var(--text);
}
.quick-navigation .city-selector span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-action-row { position: relative; display: block; width: 100%; max-width: 100%; }
.quick-buttons-cluster { position: relative; display: grid; width: 100%; grid-template-columns: 48px 48px minmax(64px, 1fr) 48px; align-items: center; gap: 6px; }
.quick-round-button {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border-color: rgba(27,29,34,.12);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgba(42,31,26,.08);
  color: #29292D;
}
.quick-round-button:hover { border-color: rgba(27,29,34,.22); background: #fff; }
.quick-round-button svg { width: 20px; height: 20px; }
.quick-emoji-button span { font-size: 20px; line-height: 1; }
.quick-weather { display: inline-flex; width: 100%; min-width: 64px; min-height: 48px; align-items: center; justify-content: center; justify-self: stretch; gap: 5px; margin: 0; padding: 5px 8px; border: 1px solid rgba(27,29,34,.12); border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgba(42,31,26,.08); color: var(--text); white-space: nowrap; }
.quick-weather span { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.quick-weather { flex-wrap: nowrap; align-content: center; }
.quick-weather strong { flex-shrink: 0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.quick-calendar-button { position: relative; z-index: 2; }
.calendar-sheet { display: grid; width: 100%; height: 100%; overflow: hidden; grid-template-rows: 32% 68%; border-radius: inherit; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(27,29,34,.08); }
.calendar-sheet-header { display: grid; min-width: 0; place-items: center; background: #C65A00; color: #fff; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.calendar-sheet-value { display: grid; min-width: 0; place-items: center; background: #fff; color: #1B1D22; font-weight: 500; line-height: 1; }
.quick-calendar-button { overflow: hidden; padding: 0; border-radius: 50%; background: #fff; }
.quick-calendar-button .calendar-sheet { position: absolute; inset: 10px; width: auto; height: auto; border: 1px solid rgba(27,29,34,.5); border-radius: 6px; box-shadow: none; }
.month-calendar-shortcut .calendar-sheet { position: absolute; inset: 0; width: 100%; height: 100%; }
.calendar-sheet-small .calendar-sheet-header { font-size: 6px; }
.calendar-sheet-small .calendar-sheet-value { font-size: 14px; letter-spacing: -.04em; }
#tomorrow-shortcut-date { position: static; right: auto; bottom: auto; font-size: 14px; font-weight: 500; }
.tomorrow-shortcut-message { left: 47px; font-size: 12px; }
.quick-calendar-button.is-empty-feedback,
.quick-calendar-button.is-closing {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: auto;
  width: 100%;
  padding-left: 13px;
  border-radius: 999px;
  transition: width 360ms cubic-bezier(.22,1,.36,1), background 180ms ease;
}
.quick-calendar-button.is-empty-feedback { border-color: #C65A00; background: #E66B12; color: #fff; box-shadow: 0 9px 24px rgba(198,90,0,.25); }
.quick-calendar-button.is-empty-feedback .calendar-sheet,
.quick-calendar-button.is-closing .calendar-sheet { opacity: 0; }
.quick-calendar-button.is-closing { width: 48px; border-radius: 50%; }
.month-calendar-shortcut {
  position: relative;
  display: grid;
  width: 88px;
  height: 108px;
  min-height: 108px;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(27,29,34,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(42,31,26,.1);
  color: var(--text);
  cursor: pointer;
}
.calendar-sheet-large { grid-template-rows: 30% 70%; }
.calendar-sheet-large::after {
  display: none;
}
.calendar-sheet-large .calendar-sheet-header { position: relative; z-index: 2; }
.calendar-sheet-large .calendar-sheet-header::before,
.calendar-sheet-large .calendar-sheet-header::after { position: absolute; bottom: -8px; width: 10px; height: 14px; border-radius: 0 0 999px 999px; background: #C65A00; content: ""; }
.calendar-sheet-large .calendar-sheet-header::before { left: 17%; }
.calendar-sheet-large .calendar-sheet-header::after { right: 17%; }
.calendar-sheet-large .calendar-sheet-value { position: absolute; z-index: 2; top: 76%; right: 0; left: 0; background: transparent; font-size: 24px; font-weight: 650; letter-spacing: .055em; text-shadow: 0 1px 0 rgba(255,255,255,.92); transform: translateY(-50%); }

.events-section { padding-top: 6px; }
.section-heading { margin-bottom: 14px; }
.section-heading h2,
.event-group-header h3 { color: var(--text); font: 700 30px/1.15 var(--font-sans); letter-spacing: -.04em; }
.event-group { margin-top: 32px; scroll-margin-top: 22px; }
.event-group:first-child { margin-top: 8px; }
.event-group-header { margin-bottom: 12px; }
.event-group-filters { margin-bottom: 16px; }
.event-group-filters .filter-button.active { border-color: transparent; background: var(--brand-lilac); color: #fff; box-shadow: 0 6px 18px rgba(255,107,94,.24); }
.event-group-empty { margin: 0; }
.event-group-emoji, .title-emoji { font-size: 1em; }
.all-events { margin-top: 48px; }
.all-events > .filter-bar { display: none; }
.today-section { display: none !important; }
.calendar-section { margin-top: 58px; }

html[data-theme="dark"] .current-title-bottom { color: #FF9B52; }
html[data-theme="dark"] .current-events-title .current-title-bottom em { color: #FF9B52; }
html[data-theme="dark"] .quick-navigation { border-color: rgba(255,255,255,.14); background: rgba(32,32,37,.84); box-shadow: 0 18px 44px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.1); }
html[data-theme="dark"] .quick-navigation .city-selector,
html[data-theme="dark"] .quick-round-button,
html[data-theme="dark"] .month-calendar-shortcut { border-color: rgba(255,255,255,.14); background: #29292F; color: #F7F4F7; box-shadow: none; }
html[data-theme="dark"] .quick-round-button:hover { background: #33333A; }
html[data-theme="dark"] .quick-weather { border-color: rgba(255,255,255,.14); background: #29292F; color: #F7F4F7; box-shadow: none; }
html[data-theme="dark"] .calendar-sheet,
html[data-theme="dark"] .calendar-sheet-value { background: #F7F4F7; color: #17171B; }
html[data-theme="dark"] .quick-calendar-button.is-empty-feedback { border-color: #FF9B52; background: #C65A00; color: #fff; }
html[data-theme="dark"] .event-group-filters .filter-button.active { background: var(--brand-lilac); color: #171217; }

@media (max-width: 800px) {
  .hero-content { padding: 19px 0 18px; }
  .points-counter { top: 19px; }
  .quick-navigation {
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 8px;
    padding: 13px;
    border-radius: 25px;
  }
  .quick-navigation .city-selector { width: 100%; }
  .quick-action-row { width: 100%; }
  .quick-buttons-cluster { grid-template-columns: 46px 46px minmax(64px, 1fr) 46px; gap: 6px; }
  .quick-weather { flex-direction: row; min-width: 64px; min-height: 46px; gap: 3px; padding: 3px 5px; }
  .quick-weather span { font-size: 18px; }
  .quick-weather strong { font-size: 12px; line-height: 1.2; }
  .quick-round-button { width: 46px; height: 46px; min-height: 46px; }
  .quick-calendar-button.is-closing { width: 46px; }
  .month-calendar-shortcut { width: 80px; height: 106px; min-height: 106px; align-self: center; border-radius: 22px; }
  .calendar-sheet-large .calendar-sheet-value { font-size: 21px; }
  .section-heading h2, .event-group-header h3 { font-size: 27px; }
}

@media (max-width: 360px) {
  .current-events-title { gap: 2px; }
  .current-events-title .current-title-top { font-size: 23px; }
  .current-events-title .current-title-bottom strong { font-size: 24px; }
  .current-events-title .current-title-bottom em { font-size: 36px; }
  .quick-navigation { width: calc(100% - 8px); grid-template-columns: minmax(0, 1fr) 64px; gap: 6px; padding: 10px; }
  .quick-navigation .city-selector { width: 100%; padding-inline: 12px; }
  .quick-action-row { width: 100%; }
  .quick-buttons-cluster { grid-template-columns: 44px 44px minmax(62px, 1fr) 44px; gap: 6px; }
  .quick-round-button { width: 44px; height: 44px; min-height: 44px; }
  .quick-calendar-button.is-closing { width: 44px; }
  .quick-weather { min-width: 62px; min-height: 44px; gap: 3px; padding-inline: 4px; }
  .quick-weather span { font-size: 17px; }
  .quick-weather strong { font-size: 11px; }
  .month-calendar-shortcut { width: 64px; height: 104px; min-height: 104px; padding: 0; border-radius: 20px; }
  .calendar-sheet-small .calendar-sheet-value { font-size: 14px; }
  #tomorrow-shortcut-date { font-size: 14px; }
  .calendar-sheet-large .calendar-sheet-value { font-size: 19px; }
}

.outro-weather { display: none; }

/* The featured rail uses an immersive, image-first card while keeping the
   same data, favorite behavior and details action as every other event. */
.featured-grid .event-card.featured-card {
  position: relative;
  height: clamp(500px, 120vw, 630px);
  flex-basis: min(86vw, 500px);
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.94);
  border-radius: 34px;
  background: #ECE9E5;
  box-shadow: 0 18px 42px rgba(42,31,26,.18);
  backdrop-filter: none;
}
.featured-grid .featured-card .image-wrap {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 24px;
  aspect-ratio: auto;
}
.featured-grid .featured-card .event-image { height: 100%; }
.featured-grid .featured-card .favorite-button { top: 10px; right: 10px; }
.featured-grid .featured-card .featured-price {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 12px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(20,20,24,.7);
  color: #fff;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.featured-grid .featured-card .event-content {
  position: absolute;
  z-index: 2;
  top: 45%;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 34px 18px 76px;
  overflow: hidden;
  background: transparent;
  color: #1B1D22;
}
.featured-grid .featured-card .event-content::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 14%, rgba(255,255,255,.7) 25%, rgba(255,255,255,.7) 100%);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.72) 14%, #000 25%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.72) 14%, #000 25%);
  content: "";
}
.featured-grid .featured-card .event-content > * { position: relative; z-index: 1; }
.featured-grid .featured-card h3,
html[data-theme="dark"] .featured-grid .featured-card h3 {
  min-height: 2.32em;
  margin: 0 0 9px;
  color: #1B1D22;
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.16;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.featured-grid .featured-card .event-meta { margin: 0 0 10px; color: #1B1D22; }
.featured-grid .featured-card .event-location { color: #1B1D22; }
.featured-grid .featured-card .event-description,
html[data-theme="dark"] .featured-grid .featured-card .event-description {
  margin: 0 0 13px;
  color: rgba(27,29,34,.78);
  line-height: 1.45;
  -webkit-line-clamp: 2;
}
.featured-grid .featured-card .event-bottom { display: block; }
.featured-grid .featured-card .badges { gap: 6px; }
.featured-grid .featured-card .badges > .badge {
  position: static;
  padding: 4px 8px;
  border: 1px solid rgba(183,63,47,.24);
  border-radius: 8px;
  background: rgba(255,239,235,.94);
  color: #A93429;
  box-shadow: 0 2px 7px rgba(75,31,25,.08);
  font-weight: 700;
}
.featured-grid .featured-card .featured-distance {
  position: static;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(16,13,22,.82);
  color: #fff;
  box-shadow: none;
}
.featured-grid .featured-card .details-button {
  position: absolute;
  z-index: 5;
  top: auto;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: auto;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #1B1D22;
  box-shadow: 0 9px 24px rgba(0,0,0,.16), inset 0 1px 0 #fff;
  font-size: 15px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.featured-grid .featured-card .details-button:hover { border-color: #fff; background: #fff; color: #1B1D22; }

@media (max-width: 520px) {
  .featured-grid .event-card.featured-card { height: clamp(480px, 138vw, 560px); flex-basis: min(88vw, 390px); border-width: 8px; border-radius: 30px; }
  .featured-grid .featured-card .image-wrap { border-radius: 22px; }
  .featured-grid .featured-card .event-content { padding: 50px 15px 72px; }
  .featured-grid .featured-card .details-button { right: 11px; bottom: 11px; left: 11px; }
}

/* The three live values in the home header share one typographic voice. */
#city-selector-label,
#quick-weather,
#points-counter {
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

/* Only the city and current weather remain in the compact quick row. */
.quick-navigation {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 132px);
  align-items: center;
  gap: 8px;
  padding: 12px;
}
.quick-navigation .city-selector { height: 48px; min-height: 48px; }
.quick-navigation .quick-weather { width: 100%; min-width: 96px; min-height: 48px; }

@media (max-width: 800px) {
  .quick-navigation { grid-template-columns: minmax(0, 1fr) minmax(92px, 116px); gap: 8px; padding: 11px; }
}

@media (max-width: 360px) {
  .quick-navigation { width: calc(100% - 8px); grid-template-columns: minmax(0, 1fr) 92px; gap: 6px; padding: 10px; }
  .quick-navigation .quick-weather { min-width: 92px; }
}

/* The profile uses the exact same three-column filter component as the home rails. */
.preference-options.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.preference-options .filter-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  overflow: visible;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 24px rgba(0,0,0,.16);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: opacity 240ms ease, background 240ms ease, border-color 240ms ease, color 240ms ease;
}
.preference-options .filter-button:hover {
  border-color: var(--glass-border);
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  transform: none;
}
.preference-options .filter-button.active {
  border-color: transparent;
  background: var(--brand-lilac);
  box-shadow: 0 6px 18px rgba(255,107,94,.24);
  color: #fff;
}
html[data-theme="dark"] .preference-options .filter-button {
  border-color: rgba(255,255,255,.16);
  background: #29292F;
  box-shadow: none;
  color: #F7F4F7;
}
html[data-theme="dark"] .preference-options .filter-button.active {
  border-color: transparent;
  background: var(--brand-lilac);
  box-shadow: 0 6px 18px rgba(255,107,94,.24);
  color: #171217;
}

/* Cross-platform spacing rhythm: 8px for grouped controls, 12px between
   separate actions, 16px inside cards and 24/48px between content levels. */
.quick-navigation { gap: var(--space-1); padding: var(--space-1); }
.carousel-controls,
.profile-setting-row,
.transport-options,
.event-details-actions,
.delete-profile-actions { gap: var(--space-1); }
.filter-bar,
.preference-options.filter-bar,
.theme-options,
.city-options { gap: var(--space-control); }
.events-grid,
.favorite-pair { gap: var(--space-card); }
.favorites-list { gap: var(--space-2); }
.section-heading { margin-bottom: var(--space-card); }
.event-group-header,
.preference-heading { margin-bottom: var(--space-1); }
.event-group-filters { margin-bottom: var(--space-card); }
.all-events,
.calendar-section { margin-top: var(--space-section); }
.events-refresh-wrap { padding-top: var(--space-section); }

.calendar-nav-button,
.carousel-arrow,
.favorite-button,
.promote-favorite-button,
.favorite-note-copy,
.account-settings-button,
.settings-sheet-close {
  width: var(--tap-target);
  height: var(--tap-target);
  min-width: var(--tap-target);
  min-height: var(--tap-target);
}
.nav-menu a,
.settings-links button,
.organizer-link,
.delete-profile-button,
.confirm-delete-profile,
.cancel-delete-profile,
.clear-profile-filters { min-height: var(--tap-target); }
.promote-favorite-button { right: 64px; }

@media (max-width: 800px) {
  .quick-navigation { gap: var(--space-1); padding: var(--space-1); }
  .profile-setting-row { gap: var(--space-1); }
  .events-grid { gap: var(--space-card); }
}

@media (max-width: 360px) {
  .quick-navigation { gap: var(--space-control); padding: 10px; }
}
