/* ============================================================
   FestivalPWA — engine stylesheet (structural + derived).
   BRAND TOKENS LIVE IN THE INSTANCE: instances/<x>/theme.css overrides the five
   --brand vars + fonts below. The neutral defaults here let the engine render
   unbranded on its own; everything downstream derives from these five colours.
   ============================================================ */

:root {
  /* Brand tokens — neutral engine defaults; instance theme.css overrides these five + fonts */
  --midnight:  #14181d;   /* primary dark background */
  --blue:      #2a3a49;   /* secondary dark surface */
  --cream:     #f4f4f1;   /* light surfaces + text on dark */
  --accent:    #4a90d9;   /* primary accent */
  --accent-2:  #7ac29a;   /* secondary accent */
  --font-body:    system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-body);

  /* Surfaces / text — DERIVED from the five brand tokens (color-mix), so an
     instance only needs to set the five colours and everything recolours. */
  --bg:           var(--midnight);
  --surface:      color-mix(in srgb, var(--blue) 38%, transparent);   /* cards */
  --surface-2:    color-mix(in srgb, var(--blue) 62%, transparent);   /* pressed/active */
  --line:         color-mix(in srgb, var(--cream) 15%, transparent);  /* hairline */
  --text:         var(--cream);
  --text-dim:     color-mix(in srgb, var(--cream) 68%, transparent);
  --text-faint:   color-mix(in srgb, var(--cream) 45%, transparent);

  --gradient-hero: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-dark: linear-gradient(150deg, var(--blue) 0%, var(--midnight) 100%);

  /* legacy var aliases (older rules resolve to the brand tokens) */
  --ocean:      var(--blue);
  --ocean-deep: var(--midnight);
  --gold:       var(--accent);
  --teal:       var(--accent-2);
  --coral:      var(--accent);
  --sage:       var(--blue);
  --pink:       var(--accent-2);
  --powder:     var(--cream);

  --radius:   16px;
  --radius-sm: 11px;
  --shadow:   0 8px 30px rgba(4, 14, 26, .40);

  --maxw: 640px;                          /* mobile-first, capped for tablet/desktop */
  --tabbar-h: 62px;
  --topbar-h: 54px;

  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* Bebas Neue is condensed + uppercase-only — used on h1 headings only (per brand). */
h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: 1.04; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Fixed dark coastal backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(240,97,75,.20), transparent 55%),
    radial-gradient(90% 60% at 90% 8%, rgba(206,222,109,.14), transparent 60%),
    var(--gradient-dark);
  z-index: -1;
}

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
.eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--gold);
}

/* ---------- Loading splash ---------- */
.app-loading {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--gradient-dark);
}
.app-loading__mark { width: 74px; height: auto; animation: pulse 1.6s ease-in-out infinite; }
.app-loading__bar { width: 140px; height: 4px; border-radius: 4px; background: rgba(245,237,216,.18); overflow: hidden; }
.app-loading__bar span { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 4px; animation: slide 1.1s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:.55; transform:scale(.97);} 50%{ opacity:1; transform:scale(1);} }
@keyframes slide { 0%{ transform: translateX(-120%);} 100%{ transform: translateX(350%);} }
.app-loading.hide { opacity: 0; pointer-events: none; transition: opacity .35s ease; }

/* ---------- Top bar (detail views) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: calc(var(--topbar-h) + var(--safe-t)); padding-top: var(--safe-t);
  display: flex; align-items: center; gap: 6px;
  padding-inline: 6px;
  background: rgba(18,48,74,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__title {
  flex: 1; margin: 0; font-size: 1.02rem; font-weight: 800;
  text-align: center; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__back, .topbar__share {
  width: 42px; height: 42px; flex: 0 0 auto;
  display: grid; place-content: center;
  background: none; border: 0; color: var(--cream); border-radius: 50%;
}
.topbar__back:active, .topbar__share:active { background: var(--surface-2); }

/* ---------- App shell / layout ---------- */
.app {
  max-width: var(--maxw); margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
}
.app:focus { outline: none; }
.section { padding: 18px 16px; }
.section--flush { padding: 0; }

/* ---------- Bottom tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: flex;
  background: rgba(15,38,56,.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-faint); font-size: .64rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  padding-top: 4px; transition: color .15s ease;
}
.tabbar__item svg { width: 24px; height: 24px; }
.tabbar__item.is-active { color: var(--gold); }
.tabbar__item:active { color: var(--cream); }

/* ============================================================
   HOME
   ============================================================ */
.home-hero {
  position: relative;
  padding: calc(var(--safe-t) + 30px) 22px 30px;
  text-align: center;
  overflow: hidden;
}
.home-hero__glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(240,97,75,.30), transparent 60%),
    radial-gradient(90% 60% at 20% 30%, rgba(240,97,75,.22), transparent 60%),
    radial-gradient(90% 60% at 90% 40%, rgba(206,222,109,.24), transparent 60%);
}
.home-hero > * { position: relative; z-index: 1; }
.home-hero__logo { width: min(84%, 360px); margin: 0 auto 4px; }
.home-hero__meta {
  display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center;
  color: var(--cream); font-weight: 700; letter-spacing: .04em; font-size: .82rem;
  margin-top: 6px;
}
.home-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.home-hero__free {
  display: inline-block; margin-top: 14px;
  background: var(--gold); color: var(--ocean-deep);
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem;
  padding: 6px 14px; border-radius: 999px;
}

.home-tiles { display: grid; gap: 12px; padding: 4px 16px 8px; }
.tile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--cream); position: relative; overflow: hidden;
  transition: transform .12s ease, background .15s ease;
}
.tile:active { transform: scale(.985); background: var(--surface-2); }
.tile__icon {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px;
  display: grid; place-content: center; color: var(--ocean-deep);
  background: var(--gold);
}
.tile--teal .tile__icon { background: var(--accent-2); color: var(--midnight); }  /* lime */
.tile--coral .tile__icon { background: var(--blue); color: var(--cream); }          /* dark blue */
.tile--pink .tile__icon { background: var(--cream); color: var(--midnight); }        /* cream */
.tile__icon svg { width: 26px; height: 26px; }
.tile__body { flex: 1; min-width: 0; }
.tile__title { font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; }
.tile__sub { color: var(--text-dim); font-size: .82rem; }
.tile__chev { color: var(--text-faint); flex: 0 0 auto; }

.home-strip { padding: 20px 0 4px; }
.home-strip__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 16px 10px;
}
.home-strip__head h2 { margin: 0; font-size: 1.16rem; font-weight: 800; }
.home-strip__more { color: var(--gold); font-weight: 700; font-size: .82rem; }
.hscroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }

.artist-card {
  flex: 0 0 auto; width: 128px; scroll-snap-align: start;
  text-align: center;
}
.artist-card__img {
  width: 128px; height: 128px; border-radius: 14px; object-fit: cover;
  background: var(--surface-2); border: 1px solid var(--line);
}
.artist-card__name { margin-top: 8px; font-weight: 700; font-size: .84rem; line-height: 1.25; }

/* ============================================================
   SCHEDULE
   ============================================================ */
.subtabs {
  position: sticky; top: calc(var(--topbar-h) + var(--safe-t));
  z-index: 30;
  display: flex; gap: 4px; padding: 10px 16px;
  background: rgba(18,48,74,.82); backdrop-filter: blur(10px);
}
.subtabs--top { top: var(--safe-t); }
.subtab {
  flex: 1; text-align: center; padding: 9px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid transparent;
  color: var(--text-dim); font-weight: 700; font-size: .86rem;
}
.subtab.is-active { background: var(--gold); color: var(--ocean-deep); }

.daybar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.daybar::-webkit-scrollbar { display: none; }
.daypill {
  flex: 0 0 auto; min-width: 60px; text-align: center;
  padding: 9px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--cream);
}
.daypill.is-active { background: var(--cream); color: var(--ocean-deep); border-color: var(--cream); }
.daypill__dow { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .8; }
.daypill__num { font-size: 1.28rem; font-weight: 800; line-height: 1.1; }

.timegroup { padding: 6px 16px 0; }
.timegroup__label {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--gold); font-size: .82rem; letter-spacing: .05em;
  text-transform: uppercase; margin: 16px 0 8px;
}
.timegroup__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.event-row {
  display: flex; gap: 13px; align-items: stretch;
  padding: 10px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .12s ease, background .15s ease;
}
.event-row:active { transform: scale(.99); background: var(--surface-2); }
.event-row__img {
  width: 74px; height: 74px; flex: 0 0 auto; border-radius: 11px; object-fit: cover;
  background: var(--surface-2);
}
.event-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.event-row__name { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.event-row__venue { color: var(--text-dim); font-size: .82rem; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.event-row__venue svg { width: 13px; height: 13px; flex: 0 0 auto; opacity: .8; }
.event-row__time { color: var(--gold); font-size: .8rem; font-weight: 700; margin-top: 3px; }
.event-row__star { align-self: center; }

/* Star button */
.star {
  width: 40px; height: 40px; flex: 0 0 auto; border: 0; background: none;
  display: grid; place-content: center; color: var(--text-faint); border-radius: 50%;
}
.star svg { width: 24px; height: 24px; }
.star:active { background: var(--surface-2); }
.star.is-on { color: var(--gold); }
.star.is-on svg path { fill: var(--gold); }

/* ============================================================
   LISTS (artists / venues / partners / news)
   ============================================================ */
.searchbar { padding: 12px 16px 4px; }
.searchbar input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--cream);
  font-size: .95rem;
}
.searchbar input::placeholder { color: var(--text-faint); }

.list { padding: 8px 16px; }
.list-row {
  display: flex; align-items: center; gap: 13px;
  padding: 9px 4px; border-bottom: 1px solid var(--line);
}
.list-row__img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; background: var(--surface-2); flex: 0 0 auto; }
.list-row__img--round { border-radius: 50%; }
.list-row__body { flex: 1; min-width: 0; }
.list-row__title { font-weight: 700; font-size: 1rem; }
.list-row__sub { color: var(--text-dim); font-size: .82rem; margin-top: 2px; }
.list-row__chev { color: var(--text-faint); flex: 0 0 auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px 16px; }
.grid-card { text-align: center; }
.grid-card__img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.grid-card__name { margin-top: 7px; font-weight: 700; font-size: .82rem; line-height: 1.2; }
@media (min-width: 480px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* Section label divider used within lists */
.alpha-label { font-weight: 800; color: var(--gold); font-size: .82rem; padding: 14px 4px 4px; letter-spacing: .05em; }

/* ============================================================
   DETAIL VIEWS
   ============================================================ */
.detail-hero { position: relative; }
.detail-hero__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--surface-2); }
.detail-hero__img--tall { aspect-ratio: 4/5; }
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(18,48,74,.7) 82%, var(--bg) 100%);
  pointer-events: none;
}
.detail-hero__star {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(18,48,74,.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--cream);
  display: grid; place-content: center;
}
.detail-hero__star svg { width: 26px; height: 26px; }
.detail-hero__star.is-on { color: var(--gold); }
.detail-hero__star.is-on svg path { fill: var(--gold); }

.detail-body { padding: 18px 16px; }
.detail-title { font-size: 1.55rem; font-weight: 800; line-height: 1.12; margin: 0 0 6px; }
.detail-meta { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 18px; }
.meta-line { display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: .96rem; }
.meta-line svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); }
.meta-line--dim { color: var(--text-dim); }
.meta-line--map { text-decoration: none; }
.meta-line--map span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.meta-line--map:active span { color: var(--gold); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--cream); font-weight: 700; font-size: .84rem;
}
.chip svg { width: 14px; height: 14px; color: var(--gold); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 15px; border-radius: 14px; border: 0;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em;
  background: var(--gold); color: var(--ocean-deep);
  transition: transform .1s ease, filter .15s ease;
}
.btn:active { transform: scale(.99); filter: brightness(.96); }
.btn svg { width: 20px; height: 20px; }
.btn--ghost { background: var(--surface-2); color: var(--cream); border: 1px solid var(--line); }
.btn--on { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }

.detail-section-title {
  font-weight: 800; font-size: 1.06rem; margin: 24px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.prose { color: var(--cream); font-size: .96rem; line-height: 1.62; }
.prose p { margin: 0 0 12px; }

/* Social row */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--cream);
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:active { background: var(--gold); color: var(--ocean-deep); }

/* Lineup mini-rows inside a detail (appearing artists / venue events) */
.mini-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.mini-row__img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex: 0 0 auto; }
.mini-row__img--round { border-radius: 50%; }
.mini-row__body { flex: 1; min-width: 0; }
.mini-row__title { font-weight: 700; font-size: .95rem; }
.mini-row__sub { color: var(--text-dim); font-size: .8rem; }

/* Partners grid */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px 16px; }
.partner-card {
  background: var(--cream); border-radius: 14px; padding: 16px;
  display: grid; place-content: center; min-height: 92px;
}
.partner-card img { max-height: 60px; width: auto; object-fit: contain; }

/* News */
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 14px;
}
.news-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--surface-2); }
.news-card__body { padding: 14px 16px 16px; }
.news-card__date { color: var(--gold); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.news-card__title { font-weight: 800; font-size: 1.1rem; margin: 5px 0 6px; line-height: 1.2; }
.news-card__excerpt { color: var(--text-dim); font-size: .9rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--cream);
  padding: 16px 4px; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold); transition: transform .2s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; color: var(--text-dim); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 16px; margin: 0; }

/* More menu */
.more-list { padding: 8px 16px; }
.more-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 4px;
  border-bottom: 1px solid var(--line); color: var(--cream);
}
.more-row__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); display: grid; place-content: center; color: var(--gold); flex: 0 0 auto; }
.more-row__icon svg { width: 22px; height: 22px; }
.more-row__title { flex: 1; font-weight: 700; font-size: 1rem; }
.more-row__chev { color: var(--text-faint); }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 60px 30px; color: var(--text-dim); }
.empty svg { width: 54px; height: 54px; color: var(--text-faint); margin-bottom: 14px; }
.empty h3 { color: var(--cream); font-size: 1.1rem; margin: 0 0 6px; }
.empty p { margin: 0 0 18px; font-size: .92rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translate(-50%, 20px);
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); z-index: 80;
  background: var(--ocean-deep); color: var(--cream);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Install banner (Add to Home Screen) ---------- */
.install-banner {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); z-index: 70;
  width: min(92vw, 560px);
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  background: var(--ocean-deep); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--cream); padding: 11px 11px 11px 16px; border-radius: 14px; font-size: .88rem;
}
.install-banner__text { flex: 1; line-height: 1.35; }
.install-banner__text strong { color: var(--cream); }
.install-banner__text svg { width: 15px; height: 15px; vertical-align: -3px; margin: 0 3px; color: var(--gold); }
.install-banner__actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.install-banner__go { background: var(--gold); color: var(--ocean-deep); border: 0; font-weight: 800; padding: 8px 15px; border-radius: 999px; font-size: .84rem; }
.install-banner__go:active { filter: brightness(.96); }
.install-banner__x { background: none; border: 0; color: var(--text-dim); width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; flex: 0 0 auto; }
.install-banner__x:active { background: var(--surface-2); }

/* ---------- Footer credit ---------- */
.footer-note { text-align: center; color: var(--text-faint); font-size: .74rem; padding: 26px 20px 10px; }
.footer-note a { color: var(--text-dim); font-weight: 700; }

/* wave divider */
.wave-divider { display: block; width: 100%; height: auto; opacity: .5; margin-top: -1px; }

@media (min-width: 680px) {
  .app { border-inline: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Places: List/Map toggle + map ---------- */
.seg { display: inline-flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 9px; color: var(--text-dim); font-weight: 700; font-size: .9rem; }
.seg__btn svg { width: 18px; height: 18px; }
.seg__btn.is-active { background: var(--accent); color: var(--cream, #fff); }

.place-map { height: 68vh; min-height: 380px; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; background: var(--surface); }
.map-fallback { display: flex; align-items: center; justify-content: center; height: 100%; padding: 24px; text-align: center; color: var(--text-dim); }

.place-marker { background: none; border: 0; }
.place-marker__pin {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; font-size: 16px; line-height: 1;
  border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.45); position: relative;
}
.place-marker__pin::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #fff;
}
.map-pop { font-size: .9rem; min-width: 150px; }
.map-pop strong { font-size: 1rem; }
.map-pop__type { color: #667; font-size: .8rem; }
.map-pop a { color: #2a6fb0; font-weight: 700; text-decoration: none; }

/* ---------- Sponsors / Partners ---------- */
.partner-card-link { display: block; }
.detail-hero--logo { background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 24px; }
.detail-hero--logo .detail-hero__img { object-fit: contain; }
.tier-chip { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 20px; border-radius: 12px; background: var(--accent); color: var(--cream, #fff); font-weight: 800; }
.cta-btn svg { width: 18px; height: 18px; }

.presented-by { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 2px; }
.presented-by__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 700; color: var(--text-dim); }
.presented-by__logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #fff; }

.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; cursor: pointer; }
.video-facade__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); border-radius: 50%; }
.video-facade__play svg { width: 34px; height: 34px; color: #fff; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
