:root {
  color-scheme: dark;
  --app-bg: #090d14;
  --app-surface: #121a26;
  --app-surface-2: #1a2433;
  --app-text: #f5f1ec;
  --app-muted: #aaa1a0;
  --app-line: rgba(255,255,255,.1);
  --orange: #ff8b36;
  --green: #42ce91;
  --pink: #e1498c;
  --cream: #f5e7c8;
  --dock-h: 62px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--app-bg); }
:where(main, section)[id] { scroll-margin-top: 8px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(225,73,140,.13), transparent 27rem),
    radial-gradient(circle at 4% 20%, rgba(255,139,54,.10), transparent 25rem),
    radial-gradient(circle at 78% 58%, rgba(106,120,255,.10), transparent 30rem),
    linear-gradient(180deg,#090d14 0%,#0b111b 48%,#080c13 100%);
  color: var(--app-text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 20px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 10px; top: 10px; z-index: 999; transform: translateY(-160%); background: white; color: black; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: calc(66px + env(safe-area-inset-top, 0px));
  padding: calc(10px + env(safe-area-inset-top, 0px)) 18px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(9,13,20,.97), rgba(9,13,20,.78));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-brand-mark {
  width: 38px; height: 38px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), #ff5a55);
  color: #120a08; font-size: .72rem; font-weight: 900; letter-spacing: -.04em;
  box-shadow: 0 8px 30px rgba(255,110,55,.18);
}
.app-brand > span:last-child { display: grid; line-height: 1; }
.app-brand strong { font-size: .93rem; letter-spacing: .05em; }
.app-brand small { margin-top: 4px; color: var(--green); font-size: .56rem; font-weight: 800; letter-spacing: .2em; }
.app-top-actions { display: flex; align-items: center; gap: 8px; }
.app-location {
  padding: 8px 10px; border: 1px solid var(--app-line); border-radius: 999px;
  color: var(--app-muted); font-size: .62rem; font-weight: 800; letter-spacing: .14em;
}
.icon-button {
  width: 38px; height: 38px; padding: 9px; border: 1px solid var(--app-line);
  border-radius: 50%; background: rgba(255,255,255,.045);
}
.icon-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { width: min(100%, 760px); margin: 0 auto; padding: 10px 14px 44px; }
.app-hero {
  position: relative; min-height: min(72svh, 670px); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); border-radius: 28px;
  background: #0c121c; box-shadow: 0 30px 80px rgba(0,0,0,.34);
}
.app-hero-media { position: absolute; inset: 0; }
.app-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.app-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(7,11,18,.99) 4%, rgba(9,14,23,.80) 35%, rgba(9,14,23,.10) 70%),
    linear-gradient(to right, rgba(8,14,24,.44), transparent 58%);
}
.app-hero-copy { position: absolute; z-index: 2; inset: auto 22px 24px; }
.app-live-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; color: #ddd5d0; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(66,206,145,.12); }
.hero-separator { opacity: .45; }
.app-hero h1 { max-width: 530px; margin: 0 0 12px; font-size: clamp(2.7rem, 11vw, 5.2rem); line-height: .92; letter-spacing: -.065em; text-wrap: balance; }
.app-hero p { max-width: 540px; margin: 0; color: #c6bdba; font-size: .93rem; line-height: 1.55; }
.app-hero-actions { display: flex; gap: 9px; margin-top: 20px; }

.app-button {
  min-height: 47px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 17px; border-radius: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .01em;
}
.app-button-primary { background: var(--orange); color: #180d08; box-shadow: 0 10px 28px rgba(255,139,54,.18); }
.app-button-glass { border: 1px solid rgba(255,255,255,.16); background: rgba(10,9,12,.56); backdrop-filter: blur(12px); }
.app-button-light { margin-top: 18px; background: #f3ece4; color: #171014; }
.wide { width: 100%; }

.install-card {
  position: relative; margin-top: 12px; padding: 16px 52px 16px 16px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  border: 1px solid rgba(66,206,145,.22); border-radius: 20px;
  background: linear-gradient(135deg, rgba(66,206,145,.10), rgba(255,255,255,.03));
}
.install-card strong { display: block; margin-top: 2px; font-size: .95rem; }
.install-card p { margin: 4px 0 0; color: var(--app-muted); font-size: .76rem; line-height: 1.4; }
.mini-button { border: 0; border-radius: 12px; background: var(--green); color: #06150e; padding: 10px 13px; font-weight: 800; }
.install-dismiss { position: absolute; right: 11px; top: 8px; border: 0; background: transparent; color: var(--app-muted); font-size: 1.2rem; }

.quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 12px 0 2px; }
.quick-actions a {
  min-width: 0; padding: 14px 10px 13px; border: 1px solid var(--app-line);
  border-radius: 18px; background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.quick-icon { display: block; margin-bottom: 18px; color: var(--orange); font-size: .59rem; font-weight: 800; }
.quick-actions strong { display: block; font-size: .8rem; }
.quick-actions small { display: block; margin-top: 2px; color: #847c7d; font-size: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.app-section { padding: 38px 2px 0; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 3px 16px; }
.section-kicker { color: var(--orange); font-size: .61rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-heading-row h2, .feature-copy h2, .app-book-card h2 { margin: 5px 0 0; font-size: clamp(1.9rem, 8vw, 3.2rem); line-height: .98; letter-spacing: -.05em; }
.section-link { color: var(--app-muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }

.next-event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 18px; border: 1px solid rgba(255,139,54,.2); border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,139,54,.10), rgba(255,255,255,.025));
}
.event-date-block { min-width: 60px; padding-right: 12px; border-right: 1px solid var(--app-line); }
.event-date-block span { display: block; color: var(--orange); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.event-date-block strong { display: block; margin-top: 2px; font-size: .92rem; }
.event-status { color: var(--green); font-size: .55rem; font-weight: 900; letter-spacing: .13em; }
.event-copy h3 { margin: 4px 0 3px; font-size: 1.15rem; }
.event-copy p { margin: 0; color: var(--app-muted); font-size: .72rem; }
.event-time { color: var(--cream); font-size: .74rem; font-weight: 800; text-align: right; }
.mini-schedule { display: grid; gap: 7px; margin-top: 8px; }
.mini-event { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .72rem; }
.mini-event span:first-child { color: var(--app-muted); }
.mini-event strong { font-size: .76rem; }
.mini-event span:last-child { color: #c8bfbc; text-align: right; }

.audio-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; padding: 0 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.audio-rail::-webkit-scrollbar { display: none; }
.audio-card {
  min-height: 310px; padding: 0; border-radius: 8px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.11); overflow: hidden;
  background: #171719;
}
.audio-source { font-size: .58rem; font-weight: 800; letter-spacing: .13em; color: #ded5d0; }
.audio-card h3 { margin: 0 0 8px; font-size: 2.3rem; line-height: .9; letter-spacing: -.05em; }
.audio-card p { margin: 0; color: #c3b9b8; font-size: .8rem; }
.play-pill { width: fit-content; padding: 9px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(0,0,0,.18); font-size: .6rem; font-weight: 900; letter-spacing: .08em; }

.feature-card { min-height: 360px; border-radius: 27px; padding: 24px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.1); }
.radio-card { background: radial-gradient(circle at 90% 5%, rgba(106,120,255,.38), transparent 45%), linear-gradient(145deg,#10182d,#0d0b11 72%); }
.jungle-card { background: radial-gradient(circle at 90% 5%, rgba(66,206,145,.35), transparent 45%), linear-gradient(145deg,#12251e,#0d0c0d 72%); }
.feature-number { position: absolute; right: 18px; top: 10px; color: rgba(255,255,255,.08); font-size: 5.2rem; font-weight: 900; letter-spacing: -.08em; }
.jungle-stamp { position: absolute; right: 18px; top: 18px; color: rgba(66,206,145,.25); font-size: 2rem; font-weight: 900; line-height: .8; text-align: right; }
.feature-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.feature-copy p { max-width: 460px; color: #b9b0ae; font-size: .84rem; line-height: 1.5; margin: 12px 0 0; }

.world-links { border: 1px solid var(--app-line); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.025); }
.world-links a { min-height: 68px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--app-line); }
.world-links a:last-child { border-bottom: 0; }
.world-links span { color: var(--app-muted); font-size: .7rem; }
.world-links strong { font-size: .78rem; }
.world-links b { color: var(--orange); }

.app-book-card { margin-top: 38px; padding: 24px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,139,54,.13), rgba(225,73,140,.08)); border: 1px solid rgba(255,139,54,.2); }
.app-book-card p { color: var(--app-muted); font-size: .84rem; line-height: 1.55; }
.app-book-card .app-button { margin-top: 10px; }

.app-dock {
  position: fixed; z-index: 100; left: 50%; bottom: max(10px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); width: min(calc(100% - 22px), 720px); min-height: var(--dock-h);
  padding: 7px 9px; display: grid; grid-template-columns: repeat(5,1fr);
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
  background: rgba(12,18,28,.92); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.app-dock a { display: grid; place-items: center; align-content: center; gap: 2px; color: #888083; }
.app-dock a[aria-current="page"] { color: var(--orange); }
.dock-icon { min-height: 20px; display: grid; place-items: center; font-size: .83rem; font-weight: 900; }
.app-dock small { font-size: .55rem; font-weight: 800; letter-spacing: .02em; }

.app-toast { position: fixed; z-index: 150; left: 50%; bottom: calc(var(--dock-h) + 34px + env(safe-area-inset-bottom,0px)); transform: translateX(-50%); padding: 10px 14px; border-radius: 999px; background: #f4eee8; color: #171115; font-size: .73rem; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.3); }



/* Animated DJ BRE signature — shared visual language with djbrexx.com */
.app-signature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 22px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(66,206,145,.10), transparent 44%),
    radial-gradient(circle at 78% 24%, rgba(106,120,255,.10), transparent 32%),
    linear-gradient(145deg,#081019,#0a0d14 72%);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.app-signature-glow {
  position: absolute;
  z-index: -1;
  width: min(88vw,560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(66,206,145,.12),rgba(255,139,54,.05) 42%,transparent 70%);
  filter: blur(22px);
}
.app-signature-mark {
  width: min(100%,620px);
  height: auto;
  filter: drop-shadow(0 18px 46px rgba(0,0,0,.46));
}

@media (min-width: 700px) {
  .app-shell { padding-left: 20px; padding-right: 20px; }
  .quick-actions a { padding: 17px 14px; }
  .audio-rail { grid-auto-columns: 48%; }
}
@media (max-width: 420px) {
  .quick-actions { gap: 6px; }
  .quick-actions small { display: none; }
  .quick-actions a { padding: 12px 9px; }
  .app-hero-copy { inset: auto 18px 20px; }
  .app-hero-actions { flex-direction: column; }
  .next-event-card { grid-template-columns: auto 1fr; }
  .event-time { grid-column: 2; text-align: left; }
  .mini-event { grid-template-columns: 58px 1fr; }
  .mini-event span:last-child { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Premium suite: Tonight Mode, BRE ACCESS, in-app audio and live Paid Jungle. */
.member-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(66,206,145,.28);
  background: rgba(66,206,145,.09);
  color: var(--green);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.tonight-mode {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 18px;
  border-radius: 23px;
  border: 1px solid rgba(255,139,54,.30);
  background: linear-gradient(145deg, rgba(59,23,15,.94), rgba(18,14,18,.96));
  box-shadow: 0 18px 55px rgba(0,0,0,.26);
}
.tonight-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -75px;
  top: -95px;
  border-radius: 50%;
  background: rgba(255,139,54,.22);
  filter: blur(28px);
  pointer-events: none;
}
.tonight-topline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ded5cf;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.tonight-topline [data-tonight-date] { color: var(--app-muted); }
.tonight-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin-top: 24px;
}
.tonight-layout h2 {
  margin: 4px 0 6px;
  font-size: clamp(2rem, 9vw, 3.7rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.tonight-layout p { margin: 0; color: #bdb3b0; font-size: .78rem; }
.tonight-time { color: var(--cream); font-size: .8rem; text-align: right; }
.tonight-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.tonight-details { margin-left: auto; color: #c7bdba; font-size: .69rem; font-weight: 800; }

.access-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(66,206,145,.18);
  background:
    radial-gradient(circle at 95% 5%, rgba(66,206,145,.13), transparent 30rem),
    linear-gradient(145deg, rgba(22,28,24,.98), rgba(14,12,15,.98));
}
.access-lockup { display: flex; align-items: center; gap: 13px; }
.access-monogram {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--green);
  color: #07170f;
  font-size: .83rem;
  font-weight: 950;
  letter-spacing: -.04em;
}
.access-lockup h2 { margin: 3px 0 0; font-size: 2rem; line-height: .95; letter-spacing: -.05em; }
.access-intro { margin: 18px 0 0; color: #b7aeab; font-size: .83rem; line-height: 1.55; }
.access-form { display: grid; gap: 10px; margin-top: 20px; }
.access-form label:not(.access-consent) { display: grid; gap: 6px; }
.access-form label > span { color: #bdb5b2; font-size: .64rem; font-weight: 800; letter-spacing: .05em; }
.access-form input[type="text"],
.access-form input[type="email"] {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  outline: 0;
  background: rgba(255,255,255,.045);
  color: var(--app-text);
}
.access-form input:focus { border-color: rgba(66,206,145,.60); box-shadow: 0 0 0 3px rgba(66,206,145,.08); }
.access-consent { display: flex; gap: 9px; align-items: flex-start; padding: 4px 0; }
.access-consent input { margin-top: 3px; accent-color: var(--green); }
.access-consent span { color: #978f8e !important; font-weight: 600 !important; line-height: 1.4; }
.access-privacy { margin: 0; text-align: center; color: #756f70; font-size: .6rem; }
.access-privacy a { text-decoration: underline; text-underline-offset: 2px; }

.member-pass {
  margin-top: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(245,231,200,.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,231,200,.06), rgba(255,255,255,.02));
}
.member-pass h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.member-pass p { margin: 0; color: #aaa1a0; font-size: .75rem; line-height: 1.45; }
.member-pass-badge {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(245,231,200,.18);
  background: #111013;
}
.member-pass-badge span { color: var(--cream); font-size: .5rem; font-weight: 900; letter-spacing: .12em; }
.member-pass-badge strong { margin-top: 3px; font-size: .88rem; }

.access-perks {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 16px;
}
.access-perks > div {
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
.access-perks span { display: block; color: var(--green); font-size: .56rem; font-weight: 900; }
.access-perks strong { display: block; margin-top: 15px; font-size: .72rem; line-height: 1.25; }
.access-perks small { display: block; margin-top: 5px; color: #817a7a; font-size: .58rem; line-height: 1.4; }

.alerts-card {
  margin-top: 14px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255,139,54,.15);
  background: rgba(255,139,54,.045);
}
.alerts-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,139,54,.12);
  color: var(--orange);
  font-size: 1.1rem;
}
.alerts-card h3 { margin: 2px 0 3px; font-size: .95rem; }
.alerts-card p { margin: 0; color: #8f8787; font-size: .64rem; line-height: 1.35; }
.alerts-button:disabled { opacity: .45; cursor: not-allowed; }

.product-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 15px 4px 10px;
}
.product-heading a { color: #9d9493; font-size: .68rem; font-weight: 800; }
.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-rail::-webkit-scrollbar { display: none; }
.product-card {
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 21px;
  border: 1px solid var(--app-line);
  background: rgba(255,255,255,.025);
}
.product-image {
  aspect-ratio: 1 / .82;
  overflow: hidden;
  background: linear-gradient(145deg, #17221d, #111012);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-copy { padding: 14px; }
.product-brand { color: var(--green); font-size: .52rem; font-weight: 900; letter-spacing: .12em; }
.product-card h3 { margin: 5px 0 13px; font-size: 1rem; line-height: 1.08; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-price { color: var(--cream); font-size: .78rem; font-weight: 900; }
.product-status { color: #807979; font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.product-skeleton {
  min-height: 255px;
  border-radius: 21px;
  background: linear-gradient(100deg, rgba(255,255,255,.03) 20%, rgba(255,255,255,.07) 40%, rgba(255,255,255,.03) 60%);
  background-size: 200% 100%;
  animation: product-loading 1.4s linear infinite;
}
@keyframes product-loading { to { background-position: -200% 0; } }

.player-sheet { position: fixed; inset: 0; z-index: 180; }
.player-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(8px); }
.player-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 760px);
  transform: translateX(-50%);
  padding: 9px 16px calc(18px + env(safe-area-inset-bottom,0px));
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  background: #141116;
  box-shadow: 0 -30px 80px rgba(0,0,0,.55);
}
.player-grabber { width: 42px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: rgba(255,255,255,.20); }
.player-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.player-heading h2 { margin: 3px 0 0; font-size: 1.6rem; line-height: 1; letter-spacing: -.04em; }
.player-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--app-line); background: rgba(255,255,255,.04); font-size: 1.25rem; }
.player-frame { min-height: 120px; overflow: hidden; border-radius: 17px; background: #08070b; }
.player-frame iframe { display: block; width: 100%; min-height: 166px; border: 0; }
.player-note { margin: 10px 3px 0; color: #746d6e; font-size: .58rem; }

html.player-open body { overflow: hidden; }

@media (min-width: 700px) {
  .product-rail { grid-auto-columns: 42%; }
}
@media (max-width: 520px) {
  .access-perks { grid-template-columns: 1fr; }
  .access-perks strong { margin-top: 8px; }
  .alerts-card { grid-template-columns: auto 1fr; }
  .alerts-button { grid-column: 1 / -1; width: 100%; }
  .tonight-layout { grid-template-columns: 1fr; gap: 8px; }
  .tonight-time { text-align: left; }
  .tonight-details { width: 100%; margin-left: 0; margin-top: 4px; }
}


.premium-status {
  margin: 2px 0 10px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, .72fr);
  gap: 7px;
  border: 1px solid rgba(66,206,145,.16);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(66,206,145,.08), rgba(255,255,255,.025));
}
.premium-status > div {
  min-width: 0;
  min-height: 45px;
  padding: 7px 9px;
  display: grid;
  align-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.premium-status > div:first-child {
  grid-template-columns: auto 1fr;
  column-gap: 7px;
}
.premium-status > div:first-child strong,
.premium-status > div:first-child small {
  grid-column: 2;
}
.premium-status strong { font-size: .66rem; letter-spacing: .035em; }
.premium-status small,
.premium-label {
  color: #847d7c;
  font-size: .49rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.premium-dot {
  width: 7px; height: 7px; border-radius: 50%;
  align-self: center;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(66,206,145,.10);
}
.premium-status > div:not(:first-child) strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: .63rem;
}
@media (max-width: 420px) {
  .premium-status { grid-template-columns: 1.55fr repeat(3,.7fr); gap: 5px; padding: 7px; }
  .premium-status > div { padding: 6px 7px; min-height: 42px; }
  .premium-status > div:first-child small { display: none; }
  .premium-status strong { font-size: .6rem; }
}


/* Simpler install + alerts and roomier dock */
.install-card-simple {
  grid-template-columns: 1fr;
  gap: 13px;
  padding: 18px 44px 18px 18px;
  border-color: rgba(255,139,54,.26);
  background: linear-gradient(135deg, rgba(255,139,54,.11), rgba(255,255,255,.025));
}
.install-card-copy { display: grid; gap: 4px; }
.install-card-simple strong { font-size: 1.05rem; }
.install-card-simple p { font-size: .8rem; line-height: 1.5; }
.install-card-simple p b { color: var(--cream); }
.install-main-button { width: 100%; min-height: 52px; font-size: .84rem; }

.alerts-card-simple {
  display: block;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,139,54,.075), rgba(255,255,255,.025));
}
.alerts-header h3 { margin: 4px 0 7px; font-size: 1.2rem; }
.alerts-header p { margin: 0; color: #aaa1a0; font-size: .75rem; line-height: 1.5; }
.alerts-steps { display: grid; gap: 8px; margin: 16px 0 13px; }
.alert-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.025);
}
.alert-step.is-done { border-color: rgba(66,206,145,.22); background: rgba(66,206,145,.055); }
.alert-step-number {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.065);
  color: var(--cream);
  font-size: .7rem; font-weight: 900;
}
.alert-step.is-done .alert-step-number { background: var(--green); color: #07150e; }
.alert-step strong { display: block; font-size: .78rem; }
.alert-step small { display: block; margin-top: 3px; color: #8f8787; font-size: .63rem; line-height: 1.35; }
.alerts-button { min-height: 52px; font-size: .82rem; }
.alerts-button:disabled { opacity: .55; }
.alerts-help { margin: 10px 2px 0; color: #9b9291; font-size: .64rem; line-height: 1.45; }

.app-dock {
  bottom: max(7px, env(safe-area-inset-bottom, 0px));
  width: min(calc(100% - 34px), 660px);
  min-height: var(--dock-h);
  padding: 4px 7px;
  border-radius: 20px;
}
.app-dock a { gap: 1px; }
.dock-icon { min-height: 17px; font-size: .76rem; }
.app-dock small { font-size: .51rem; }
body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 32px); }

@media (max-width: 520px) {
  .app-hero { min-height: 78svh; }
  .app-hero-copy { inset: auto 18px 76px; }
}


/* Clear status shortcuts + obvious BRE ACCESS signup */
.premium-status-action {
  min-width: 0;
  min-height: 45px;
  padding: 7px 9px;
  display: grid;
  align-content: center;
  justify-items: start;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.premium-status-action:active { transform: scale(.98); }
.premium-status-action strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: .63rem;
}
.premium-status-action:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.access-callout {
  margin-top: 16px;
  padding: 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255,139,54,.18);
  background: rgba(255,139,54,.055);
}
.access-callout-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #1a0d08;
  font-weight: 900;
  font-size: .72rem;
}
.access-callout strong { display: block; font-size: .79rem; }
.access-callout small { display: block; margin-top: 3px; color: #9c9391; font-size: .63rem; line-height: 1.35; }

.access-email-field {
  padding: 12px;
  border-radius: 17px;
  border: 1px solid rgba(66,206,145,.20);
  background: rgba(66,206,145,.045);
}
.access-email-field > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.access-email-field b {
  color: var(--green);
  font-size: .53rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.access-form label > span em {
  color: #6f6969;
  font-style: normal;
  font-size: .56rem;
  font-weight: 700;
}
.access-email-field input[type="email"] {
  min-height: 54px;
  font-size: 1rem;
  font-weight: 700;
  border-color: rgba(66,206,145,.24);
}


/* iPhone field sizing + install guide */
.access-form,
.access-form > label:not(.access-consent) {
  width: 100%;
  min-width: 0;
}
.access-form input[type="text"],
.access-form input[type="email"] {
  display: block;
  width: 100% !important;
  min-width: 0;
  min-height: 56px;
  font-size: 16px;
}
.access-email-field,
.access-form > label:not(.access-consent) {
  justify-self: stretch;
}
.access-form > label:not(.access-consent) > input {
  align-self: stretch;
}

.install-guide {
  position: fixed;
  inset: 0;
  z-index: 220;
}
.install-guide-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.install-guide-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 680px);
  transform: translateX(-50%);
  padding: 24px 18px calc(22px + env(safe-area-inset-bottom,0px));
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  background: #151116;
  box-shadow: 0 -30px 90px rgba(0,0,0,.58);
}
.install-guide-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--app-text);
  font-size: 1.25rem;
}
.install-guide-panel h2 {
  margin: 5px 42px 8px 0;
  font-size: 2rem;
  line-height: .98;
  letter-spacing: -.045em;
}
.install-guide-panel > p {
  margin: 0;
  color: #aaa1a0;
  font-size: .8rem;
  line-height: 1.5;
}
.install-guide-steps {
  display: grid;
  gap: 9px;
  margin: 18px 0 16px;
}
.install-guide-steps > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}
.install-guide-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #180d08;
  font-size: .72rem;
  font-weight: 900;
  grid-row: 1 / span 2;
}
.install-guide-steps strong { font-size: .8rem; }
.install-guide-steps small {
  display: block;
  color: #8e8686;
  font-size: .63rem;
  line-height: 1.35;
}
.install-guide-note {
  margin-top: 12px !important;
  text-align: center;
  color: #817a7a !important;
  font-size: .65rem !important;
}
html.install-guide-open body { overflow: hidden; }


/* Final mobile form sizing fix */
.access-form input[name="first-name"] {
  display: block;
  width: 100% !important;
  min-width: 100%;
  max-width: none;
  min-height: 56px;
  padding: 0 14px;
  font-size: 16px;
  box-sizing: border-box;
}


/* Compact alerts + first-launch permission prompt */
.alerts-card-compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
}
.alerts-compact-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,139,54,.12);
  color: var(--orange);
  font-weight: 900;
}
.alerts-compact-copy h3 { margin: 2px 0 3px; font-size: .95rem; }
.alerts-compact-copy > p { margin: 0; color: #91898a; font-size: .65rem; line-height: 1.4; }
.alerts-card-compact .alerts-button { min-width: 78px; }
.alerts-card-compact.is-on {
  border-color: rgba(66,206,145,.24);
  background: rgba(66,206,145,.05);
}
.alerts-card-compact.is-on .alerts-compact-icon { background: rgba(66,206,145,.12); color: var(--green); }

.push-onboarding { position: fixed; inset: 0; z-index: 240; }
.push-onboarding-backdrop {
  position: absolute; inset: 0; width: 100%; border: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.push-onboarding-panel {
  position: absolute;
  left: 50%; bottom: 0;
  width: min(100%, 680px);
  transform: translateX(-50%);
  padding: 28px 20px calc(24px + env(safe-area-inset-bottom,0px));
  border-radius: 30px 30px 0 0;
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,139,54,.15), transparent 15rem),
    #151116;
  box-shadow: 0 -30px 90px rgba(0,0,0,.62);
  text-align: center;
}
.push-onboarding-mark {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--orange);
  color: #180d08;
  font-size: .8rem; font-weight: 950;
}
.push-onboarding-panel h2 {
  margin: 6px auto 10px;
  max-width: 430px;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.push-onboarding-panel > p {
  max-width: 480px;
  margin: 0 auto 18px;
  color: #aaa1a0;
  font-size: .8rem;
  line-height: 1.5;
}
.push-not-now {
  margin-top: 9px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #8b8384;
  font-size: .72rem;
  font-weight: 800;
}
html.push-onboarding-open body { overflow: hidden; }

.product-image-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,139,54,.18), transparent 45%),
    linear-gradient(145deg, #17221d, #111012);
}
.product-image-fallback span {
  color: rgba(245,231,200,.74);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -.06em;
}

/* Usability: readable controls, anchored sections, and bounded dialogs. */
body * { letter-spacing: 0; }
html { scroll-padding-top: calc(82px + env(safe-area-inset-top, 0px)); }
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
.icon-button, .player-close, .install-guide-close, .install-dismiss {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.app-hero { min-height: 560px; }
.app-hero-copy { inset: auto 22px 28px; }
.app-hero h1 { font-size: 3.6rem; line-height: 1.04; }
.app-hero-actions { flex-wrap: wrap; }
.app-button { padding: 12px 17px; text-align: center; }
.quick-actions small { color: var(--app-muted); font-size: .7rem; white-space: normal; }
.quick-actions strong { font-size: .9rem; }
.app-dock a { min-width: 0; min-height: 48px; }
.app-dock small { font-size: .7rem; }
.dock-icon { font-size: 1rem; }
.app-dock a[aria-current] { color: var(--orange); background: rgba(255,139,54,.08); border-radius: 10px; }
.section-heading-row { gap: 12px; align-items: center; }
.section-heading-row > div:first-child { min-width: 0; }
.section-heading-row h2, .feature-copy h2, .app-book-card h2 { font-size: 2.25rem; line-height: 1.1; }
.section-link, .product-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
.event-copy { min-width: 0; overflow-wrap: anywhere; }
.event-time { line-height: 1.5; }
.mini-event { min-height: 52px; }
.rail-controls { display: flex; gap: 6px; flex-shrink: 0; }
.rail-controls button:disabled { opacity: .35; }
.audio-rail, .product-rail { scroll-padding-inline: 6px; padding: 6px 6px 10px; }
.audio-card { min-width: 0; }
.audio-card h3 { font-size: 2rem; line-height: 1.08; overflow-wrap: anywhere; }
.audio-source, .product-brand { font-size: .68rem; }
.product-heading { flex-wrap: wrap; gap: 8px 12px; }
.product-heading > .section-kicker { flex: 1 1 130px; }
.product-card { display: flex; flex-direction: column; }
.product-image { aspect-ratio: 1; flex-shrink: 0; background: #f5f5f5; }
.product-image img { object-fit: contain; }
.product-card-copy { flex: 1; display: flex; flex-direction: column; }
.product-card h3 { line-height: 1.3; }
.product-meta { margin-top: auto; flex-wrap: wrap; }
.product-status { color: #b6acab; font-size: .68rem; }
.access-intro { font-size: .9rem; line-height: 1.55; }
.access-perks > div { padding: 12px 0; border: 0; border-top: 1px solid var(--app-line); border-radius: 0; background: none; }
.access-perks strong { margin-top: 6px; font-size: .82rem; }
.access-perks small { color: var(--app-muted); font-size: .75rem; }
.access-consent { min-height: 44px; align-items: center; padding: 6px 0; }
.access-form .access-consent input { width: 22px; height: 22px; flex-shrink: 0; }
.access-form .access-consent span, .access-privacy { font-size: .78rem; line-height: 1.5; }
.access-feedback, .connection-status { padding: 12px; color: #ffe0ca; border-left: 3px solid var(--orange); background: #241b19; font-size: .86rem; line-height: 1.5; }
.access-feedback { margin: 0; }
.access-form[aria-busy="true"] [type="submit"] { opacity: .7; }
.alerts-compact-copy { min-width: 0; }
.alerts-compact-copy > p, .alerts-help { color: var(--app-muted); font-size: .78rem; line-height: 1.5; }
.premium-label, .premium-status small { color: #b2a9a7; font-size: .6rem; }
.premium-status-action { min-height: 48px; padding: 7px; }
.premium-status-action strong { font-size: .7rem; overflow-wrap: anywhere; }
.app-toast { width: max-content; max-width: calc(100% - 32px); border-radius: 12px; text-align: center; line-height: 1.5; }
dialog.player-sheet, dialog.install-guide {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--app-text);
}
dialog::backdrop { background: transparent; }
.player-panel, .install-guide-panel { max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
.player-heading > div { min-width: 0; }
.player-heading h2 { line-height: 1.2; overflow-wrap: anywhere; }
.player-external { min-height: 44px; display: flex; align-items: center; width: fit-content; color: var(--green); font-size: .85rem; text-decoration: underline; }
.player-status { color: var(--app-muted); font-size: .85rem; line-height: 1.5; }

.media-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 6px 14px; }
.media-platforms a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-bottom: 2px solid currentColor; font-size: .8rem; font-weight: 800; text-align: center; }
.media-platforms a:hover { background: rgba(255,255,255,.06); }
.platform-mixcloud { color: #8bc8ed; }
.platform-soundcloud { color: #ffad85; }
.platform-youtube { color: #ff8b8b; }
.media-platforms svg, .media-command svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.media-artwork { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #080809; flex-shrink: 0; }
.media-copy { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 16px; }
.audio-card .media-copy h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.media-copy p { line-height: 1.5; }
.media-command { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; min-height: 44px; font-size: .85rem; font-weight: 800; color: var(--green); }
.media-command svg { width: 18px; height: 18px; }
.player-frame[data-platform="SoundCloud"] iframe { height: 400px; }
.player-frame[data-platform="YouTube"] { border-radius: 8px; }
.player-frame[data-platform="YouTube"] iframe { height: auto; aspect-ratio: 16 / 9; min-height: 200px; }

@media (max-width: 520px) {
  .app-hero { min-height: 540px; }
  .app-hero-copy { inset: auto 18px 24px; }
  .app-hero h1 { font-size: 2.75rem; }
  .app-hero-actions { flex-direction: row; }
  .app-hero-actions > a { flex: 1; }
  .section-heading-row h2, .feature-copy h2, .app-book-card h2 { font-size: 1.9rem; }
  .alerts-card-compact { grid-template-columns: 42px minmax(0, 1fr); }
  .alerts-card-compact .alerts-button { grid-column: 1 / -1; width: 100%; }
  .access-perks { gap: 0; }
  .access-perks > div { display: grid; grid-template-columns: 22px 1fr; gap: 4px 8px; }
  .access-perks strong { margin: 0; }
  .access-perks small { grid-column: 2; margin: 0; }
  .premium-status { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
  .app-location { display: none; }
}
@media (max-width: 359px) {
  .app-hero h1 { font-size: 2.25rem; }
  .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-icon { margin-bottom: 8px; }
  .section-heading-row h2 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Photo navigation and consistent, visible tap targets. */
.quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.quick-actions .quick-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 250px; padding: 16px; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.38); background: #151217;
  box-shadow: 0 5px 0 #030305, 0 12px 22px rgba(0,0,0,.2);
}
.quick-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 180ms ease; }
.quick-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.12) 15%, rgba(8,7,11,.45) 40%, #08070b 82%); }
.quick-card-shop .quick-photo { object-position: center 20%; }
.quick-card .quick-icon { align-self: flex-start; margin: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; color: white; background: rgba(8,7,11,.8); font-size: .75rem; }
.quick-actions .quick-card strong { margin-top: 48px; font-size: 1.6rem; line-height: 1.15; color: white; }
.quick-actions .quick-card small { display: block; margin-top: 5px; color: #e2dcd8; font-size: .875rem; line-height: 1.4; white-space: normal; }
.quick-command { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 14px; padding: 9px 11px; border-radius: 9px; background: var(--orange); color: #1b0e05; font-size: .875rem; font-weight: 800; line-height: 1.3; }
.quick-card:nth-child(even) .quick-command { background: var(--green); color: #071b11; }
.quick-command > span { font-size: 1.25rem; }
.app-button { min-height: 48px; font-size: .9375rem; border: 1px solid rgba(255,255,255,.4); box-shadow: 0 3px 0 rgba(0,0,0,.45); }
.app-button-primary { border-color: #ffba83; }
.app-button-glass { background: #272129; border-color: #a59b9f; }
.icon-button, .player-close, .install-guide-close, .install-dismiss { border: 1px solid #7d727b; background: #29222c; color: #fff; }
.section-link, .product-heading > a, .tonight-details, .player-external {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 9px 12px; border: 1px solid #92724d; border-radius: 10px;
  background: #292017; color: #ffb77f; font-size: .875rem; font-weight: 800; line-height: 1.4;
}
.premium-status { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.premium-status > div:first-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: auto; background: transparent; }
.premium-status > div:first-child strong { font-size: .875rem; }
.premium-status > div:first-child small { display: none; }
.premium-status-action { min-height: 58px; padding: 10px 12px; border: 1px solid #70645f; background: #29221d; }
.premium-status-action .premium-label { color: #d4c7bf; font-size: .75rem; }
.premium-status-action strong { color: #ffb77f; font-size: .9375rem; }
.premium-status-action strong::after { content: " →"; }
.media-platforms a { border: 1px solid currentColor; border-bottom-width: 3px; border-radius: 12px; background: #201b22; font-size: .875rem; }
.audio-card, .product-card { border-color: #74696d; box-shadow: 0 4px 0 #030305; }
.media-command { width: fit-content; min-height: 44px; padding: 10px 14px; border: 1px solid #7be4b4; border-radius: 10px; background: var(--green); color: #071b11; }
.product-status { padding: 7px 10px; border-radius: 7px; background: var(--green); color: #071b11; font-size: .875rem; font-weight: 800; }
.world-links { border-color: #74696d; }
.world-links a { background: #211b23; min-height: 72px; }
.world-links span, .world-links strong { font-size: .9375rem; }
.world-links b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--orange); color: #1b0e05; }
.app-dock { gap: 5px; border-color: #74696d; background: rgba(19,16,21,.98); }
.app-dock a { border: 1px solid #645860; border-radius: 10px; color: #ddd5d9; background: #262027; }
.app-dock a[aria-current] { border-color: var(--orange); background: var(--orange); color: #1b0e05; }
.app-dock small { font-size: .875rem; line-height: 1.2; }
.app-dock { width: min(calc(100% - 24px), 660px); min-height: 68px; }
.app-dock a { min-height: 56px; }
.push-not-now { min-height: 44px; border: 1px solid #82767e; border-radius: 10px; color: #e7dfe3; font-size: .875rem; }
:where(a, button) { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
:where(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
:where(.quick-card, .app-button, .icon-button, .premium-status-action, .section-link, .mini-event, .next-event-card, .audio-card, .product-card):active { transform: translateY(2px); box-shadow: none; }
button:disabled { opacity: .45; box-shadow: none; }
@media (hover: hover) {
  :where(.quick-card, .app-button, .icon-button, .premium-status-action, .section-link, .mini-event, .next-event-card, .audio-card, .product-card, .world-links a, .app-dock a):hover { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,139,54,.28); }
  .quick-card:hover .quick-photo { transform: scale(1.04); }
}
/* Give the date, venue, and time distinct, readable positions. */
.next-event-card { grid-template-columns: minmax(76px, auto) minmax(0, 1fr); gap: 12px 18px; padding: 20px; border-color: #bc7b48; background: #211912; }
.event-date-block { grid-row: 1 / span 2; align-self: stretch; padding-right: 16px; }
.event-date-block span { font-size: 1.3rem; line-height: 1.25; }
.event-date-block strong { margin-top: 8px; font-size: 1rem; }
.event-status { font-size: .75rem; }
.event-copy h3 { font-size: 1.5rem; line-height: 1.25; }
.event-copy p { font-size: 1rem; line-height: 1.5; }
.event-time { grid-column: 2; justify-self: start; color: #ffb77f; font-size: 1.375rem; font-weight: 800; text-align: left; line-height: 1.3; }
.event-command { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-top: 4px; padding: 10px 12px; border: 1px solid #a67954; border-radius: 10px; background: #39271a; color: #ffbf8d; font-size: .875rem; font-weight: 800; }
.mini-schedule { gap: 10px; margin-top: 12px; }
.mini-event { position: relative; grid-template-columns: minmax(70px, auto) minmax(0, 1fr); gap: 8px 16px; padding: 16px 40px 16px 16px; border: 1px solid #74696d; border-radius: 14px; background: #201a21; }
.mini-event span:first-child { grid-row: 1 / span 2; align-self: start; color: var(--orange); font-size: 1rem; font-weight: 800; }
.mini-event strong { font-size: 1.125rem; line-height: 1.3; }
.mini-event span:last-child { grid-column: 2; color: #f7e7d6; font-size: 1.125rem; font-weight: 800; line-height: 1.4; text-align: left; }
.mini-event::after { content: "→"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.25rem; }
.tonight-topline { flex-wrap: wrap; font-size: .875rem; }
.tonight-topline [data-tonight-date] { color: #f5e7c8; }
.tonight-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tonight-layout p { font-size: 1rem; line-height: 1.5; }
.tonight-time { justify-self: start; padding: 8px 12px; border-left: 3px solid var(--orange); background: #382416; color: #ffbe8b; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.3; }
@media (max-width: 420px) {
  .quick-actions { gap: 10px; }
  .quick-actions .quick-card { padding: 12px; min-height: 235px; }
  .quick-actions .quick-card strong { font-size: 1.4rem; }
  .quick-command { padding: 8px; }
  .next-event-card { gap: 12px; padding: 16px; }
  .event-date-block { padding-right: 12px; }
  .section-heading-row { flex-wrap: wrap; }
  .world-links a { grid-template-columns: 1fr auto; padding-block: 14px; gap: 6px 12px; }
  .world-links strong { grid-column: 1; }
  .world-links b { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .quick-photo { transition: none; } }


/* October 2026: first-class, instantly visible public dates on the app home. */
.app-hero-next {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 13px 15px;
  margin-top: 17px;
  border: 1px solid rgba(255,174,105,.55);
  border-radius: 14px;
  background: rgba(16,13,13,.88);
  box-shadow: 0 7px 24px rgba(0,0,0,.3);
  text-decoration: none;
}
.app-hero-next[hidden] { display: none; }
.hero-next-label { display: flex; align-items: center; gap: 9px; color: #ffb37b; font-size: .61rem; font-weight: 900; letter-spacing: .1em; }
.hero-next-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; min-width: 0; font-size: .83rem; line-height: 1.3; }
.hero-next-line strong { color: #ffc28f; white-space: nowrap; }
.hero-next-line [data-hero-next-title] { color: #fff; font-weight: 800; }
.hero-next-time { display: flex; align-items: center; justify-content: space-between; color: #dcd5ca; font-size: .74rem; font-weight: 800; }
.app-schedule-feature { padding-top: 23px; margin-bottom: 12px; scroll-margin-top: 100px; }
.app-schedule-feature .section-heading-row h2 { font-size: clamp(1.6rem, 6.5vw, 2.8rem); }
.app-schedule-feature .mini-schedule { max-height: none; }
@media (max-width: 420px) {
  .app-hero { min-height: 82svh; }
  .app-hero-copy { inset: auto 16px 20px; }
  .app-hero h1 { font-size: clamp(2.25rem, 9.5vw, 3.2rem); }
  .app-hero-next { margin-top: 12px; padding: 10px 12px; }
  .hero-next-line { font-size: .76rem; }
  .app-schedule-feature .section-heading-row { align-items: start; }
}


/* October 2026: keep DJ BRE WORLD aligned with the public DJ BRE website. */
.app-hero h1 {
  font-size: clamp(4.4rem, 17vw, 7rem);
  letter-spacing: -.075em;
  line-height: .9;
  text-transform: uppercase;
}
.app-hero-copy > p { max-width: 590px; }
.app-hero-actions { flex-wrap: wrap; }
.app-brand-services h2 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.app-brand-lead, .app-gallery-lead {
  margin: 0 0 18px;
  color: #c8beb5;
  font-size: .94rem;
  line-height: 1.6;
}
.app-brand-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.app-brand-service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 196px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: linear-gradient(150deg,#1e2633,#111720);
  color: var(--app-text);
}
.app-brand-service > span {
  color: #ffb179;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.app-brand-service > strong { font-size: 1rem; line-height: 1.25; }
.app-brand-service > small { color: var(--app-muted); font-size: .74rem; line-height: 1.4; }
.app-brand-service > b { align-self: flex-end; margin-top: auto; color: var(--orange); font-size: 1.25rem; }
.app-site-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 14px 0 0; }
.app-site-links a { color: #f3d2b2; font-size: .79rem; font-weight: 800; }
.app-gallery-section { min-width: 0; }
.app-gallery-section .section-heading-row { align-items: flex-end; }
.app-gallery-section .section-heading-row h2 { font-size: clamp(2rem,8vw,3.15rem); }
.app-gallery-section .photo-carousel { min-width: 0; }
.app-gallery-section .photo-carousel-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.app-gallery-section .photo-carousel-hint {
  margin: 0;
  color: #bfb6ad;
  font-size: .72rem;
  font-weight: 750;
}
.app-gallery-section .photo-carousel-hint span { color: var(--green); margin-inline: 3px; }
.app-gallery-section .photo-carousel-controls { display: flex; align-items: center; gap: 7px; }
.app-gallery-section .photo-carousel-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
}
.app-gallery-section .photo-carousel-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.app-gallery-section [data-carousel-state="paused"] .photo-carousel-state { color: var(--app-muted); }
.app-gallery-section .photo-carousel-count { color: #bfb6ad; font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.app-gallery-section .photo-carousel-arrow,
.app-gallery-section .photo-carousel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.26);
  background: #1a2433;
  color: #fff;
  cursor: pointer;
}
.app-gallery-section .photo-carousel-arrow { width: 44px; font-size: 1.15rem; }
.app-gallery-section .photo-carousel-toggle { min-width: 68px; padding-inline: 12px; font-size: .72rem; font-weight: 800; }
.app-gallery-section .photo-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  scrollbar-width: thin;
  scrollbar-color: #536075 transparent;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.app-gallery-section .photo-carousel.is-powered .photo-carousel-viewport {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.app-gallery-section .photo-carousel-track { display: flex; align-items: stretch; gap: 12px; }
.app-gallery-section .photo-carousel-track::after { content: ""; flex: 0 0 calc(100% - min(77vw,350px)); }
.app-gallery-section .photo-carousel.is-powered .photo-carousel-track::after { display:none; }
.app-gallery-section .photo-carousel-slide {
  flex: 0 0 min(77vw,350px);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.app-gallery-section .photo-carousel-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(70vw,310px);
  background: transparent;
}
.app-gallery-section .photo-carousel-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-gallery-section .photo-carousel-slide figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 74px;
  padding: 12px 15px;
}
.app-gallery-section .photo-carousel-category {
  color: var(--green);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.app-gallery-section .photo-carousel-slide figcaption strong { color: #fff; font-size: .93rem; }
.app-gallery-section .photo-carousel-swipe { margin: 7px 0 0; text-align: right; color: var(--app-muted); font-size: .72rem; }
.app-gallery-section .photo-carousel-viewport:focus-visible,
.app-gallery-section .photo-carousel-controls button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .app-brand-service-grid { grid-template-columns: 1fr; }
  .app-brand-service { min-height: 124px; gap: 6px; }
  .app-brand-service > b { position:absolute; right: 16px; bottom: 13px; }
  .app-brand-service > small { padding-right: 27px; }
  .app-gallery-section .photo-carousel-controls { width:100%; justify-content: flex-end; }
  .app-gallery-section .photo-carousel-count { margin-right:auto; }
}
@media (prefers-reduced-motion: reduce) {
  .app-gallery-section .photo-carousel-viewport { scroll-behavior: auto; }
}
