@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #D8232A;
  --brand-crimson: #BE123C;
  --brand-dark: #0F172A;
  --brand-bg: #F8F9FB;
  --brand-yellow: #FBBF24;
}

html.dark body,
html.dark #phone-app,
html.dark .app-dark {
  background-color: #020617 !important;
  color: #e2e8f0;
}

html.dark input,
html.dark select,
html.dark textarea {
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.font-festive {
  font-family: 'Caveat', cursive, sans-serif;
}

/* Hide scrollbars for app carousel feel */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Map radar pulse animation */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.location-pulse {
  animation: pulse-ring 2.5s infinite ease-in-out;
}

/* Phone Container Frame for Android App & Desktop Emulation */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background-color: #0F172A;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-frame {
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .app-frame {
    height: min(880px, 98vh);
    max-height: min(880px, 98vh);
    border-radius: 36px;
    margin: auto;
    border: 6px solid #1E293B;
  }
}

/* Screen container handles its own scrolling so bottom nav is always fixed */
.screen-container {
  display: none;
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

/* Map containers must capture all pointer events and never let pan/pinch
   bleed into the outer scroll-container that wraps the full screen. */
#home-map-container,
#live-map-container,
#review-map-container,
#add-stop-map-container,
[id$="-map-container"] {
  touch-action: none;
}
/* Allow Leaflet/Google Maps gesture handling to work correctly */
.leaflet-container,
.gm-style {
  touch-action: none !important;
}

.screen-container.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

/* Fixed Bottom Navigation Bar */
#app-bottom-nav {
  flex-shrink: 0;
  width: 100%;
  z-index: 50;
  position: relative;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding-bottom: max(0.375rem, env(safe-area-inset-bottom, 0px));
}

/* Keep the brand/header clear of camera cut-outs and status-bar areas on
   modern phones while retaining the same compact visual layout. */
#app-top-nav {
  padding-top: calc(0.125rem + env(safe-area-inset-top, 0px)) !important;
}

/* Horizontal facility cards must not capture vertical page swipes. */
#live-facilities-strip {
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

[data-purpose="trails-carousel"][hidden] {
  display: none !important;
}

/* Leaflet Map Overrides to match App Design */
.leaflet-container {
  font-family: inherit;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.map-error {
  height: 100%; display: grid; place-items: center; padding: 1rem;
  background: #eef2f7; color: #475569; text-align: center; font-size: 12px;
}

.leaflet-control-attribution {
  font-size: 8px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  padding: 1px 4px !important;
}

.custom-pandal-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-pandal-marker:hover {
  transform: scale(1.18);
  z-index: 999;
}

.custom-pandal-marker .marker-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D8232A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 9px;
  box-shadow: 0 3px 8px rgba(216, 35, 42, 0.45);
  border: 2px solid #FFFFFF;
}

/* Bottom Nav Icon Styling */
.bottom-nav-item {
  color: #64748B;
  transition: color 0.15s ease, transform 0.15s ease;
}

.bottom-nav-item:active {
  transform: scale(0.93);
}

.bottom-nav-item.active {
  color: #D8232A !important;
}

.bottom-nav-item #nav-home svg,
.bottom-nav-item svg.fill-current {
  fill: #64748B;
  stroke: none;
  transition: fill 0.15s ease;
}

.bottom-nav-item.active #nav-home svg,
.bottom-nav-item.active svg.fill-current,
#nav-home.active svg {
  fill: #D8232A !important;
  stroke: none;
}

.bottom-nav-item svg.stroke-current {
  stroke: #64748B;
  fill: none;
  transition: stroke 0.15s ease;
}

.bottom-nav-item.active svg.stroke-current {
  stroke: #D8232A !important;
  fill: none;
}

/* Locate Me Floating Button */
.map-locate-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 25;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2563EB;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.map-locate-btn:hover {
  transform: scale(1.08);
  background: #F8FAFC;
}

.map-locate-btn:active {
  transform: scale(0.9);
}

/* User radar pin */
.user-radar-marker {
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-radar-marker .core {
  width: 13px;
  height: 13px;
  background: #2563EB;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.8), 0 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}

.user-radar-marker .pulse {
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 1;
}

/* Ola / Uber Style Interactive Red Location Pin */
/* Google Maps Native Real-time Live Location Blue Dot (Non-draggable live indicator) */
.gmap-blue-dot-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gmap-blue-dot-halo {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(66, 133, 244, 0.32);
  animation: gmapBluePulse 2.5s infinite ease-out;
}

.gmap-blue-dot-core {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1A73E8;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

@keyframes gmapBluePulse {
  0% { transform: scale(0.7); opacity: 0.85; }
  60% { transform: scale(1.7); opacity: 0.15; }
  100% { transform: scale(2.0); opacity: 0; }
}

.ola-pin-marker-container {
  width: 36px;
  height: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ola-pin-marker-container:active {
  cursor: grabbing;
  transform: translateY(-8px) scale(1.1);
}

/* Iconic teardrop pin body */
.ola-pin-head {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #EF4444 0%, #D8232A 100%);
  border: 2px solid #FFFFFF;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(216, 35, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

/* Inner white circle with dark center dot */
.ola-pin-inner-dot {
  width: 9px;
  height: 9px;
  background: #0F172A;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Ground shadow under pin tip */
.ola-pin-shadow {
  width: 14px;
  height: 5px;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 50%;
  margin-top: 1px;
  filter: blur(1px);
  z-index: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ola-pin-marker-container:active .ola-pin-shadow {
  transform: scale(0.6);
  opacity: 0.2;
}

/* Pulsing ground ripple */
.ola-pin-ripple {
  position: absolute;
  bottom: 0px;
  width: 28px;
  height: 12px;
  border-radius: 50%;
  background: rgba(216, 35, 42, 0.22);
  border: 1px solid rgba(216, 35, 42, 0.4);
  animation: ola-ripple 2.2s infinite ease-out;
  z-index: 0;
}

@keyframes ola-ripple {
  0% { transform: scale(0.6); opacity: 0.9; }
  50% { transform: scale(1.6); opacity: 0.3; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Floating helper pill above pin */
.ola-pin-tooltip {
  position: absolute;
  top: -26px;
  white-space: nowrap;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0.95;
}

.ola-pin-tooltip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #0F172A;
}

/* Custom Sleek Compact Leaflet Popup Styling (No Text Collision) */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.25), 0 4px 6px -2px rgba(15, 23, 42, 0.08) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  min-width: 220px !important;
  max-width: 270px !important;
}

.leaflet-popup-content {
  margin: 10px 12px !important;
  line-height: 1.3 !important;
  min-width: 200px !important;
}

/* Force white text specifically on Leaflet direction buttons */
.leaflet-container a.map-direction-btn,
.leaflet-popup-content a.map-direction-btn {
  color: #ffffff !important;
  text-decoration: none !important;
}

.leaflet-popup-tip {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-container .leaflet-popup-close-button {
  top: 8px !important;
  right: 8px !important;
  color: #94A3B8 !important;
  padding: 2px !important;
  width: 18px !important;
  height: 18px !important;
  font: 14px/14px Tahoma, Verdana, sans-serif !important;
  border-radius: 50% !important;
  background: rgba(241, 245, 249, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.leaflet-container .leaflet-popup-close-button:hover {
  color: #0F172A !important;
  background: #E2E8F0 !important;
}

/* Active Category Gradient Fill (Clean gradient shade with NO border) */
.category-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent !important;
}

.category-btn.active-pandals {
  background: linear-gradient(180deg, #FEF2F2 0%, #FEE2E2 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-pandals {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.45) 0%, rgba(153, 27, 27, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.category-btn.active-metro {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-metro {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.45) 0%, rgba(30, 64, 175, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.category-btn.active-toilets {
  background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-toilets {
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.45) 0%, rgba(6, 95, 70, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.category-btn.active-parking {
  background: linear-gradient(180deg, #FAF5FF 0%, #F3E8FF 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-parking {
  background: linear-gradient(180deg, rgba(88, 28, 135, 0.45) 0%, rgba(107, 33, 168, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.category-btn.active-restaurants {
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-restaurants {
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.45) 0%, rgba(146, 64, 14, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.category-btn.active-safety {
  background: linear-gradient(180deg, #FFF1F2 0%, #FFE4E6 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-safety {
  background: linear-gradient(180deg, rgba(136, 19, 55, 0.45) 0%, rgba(159, 18, 57, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Compact, grouped live-leg rows. Raw Google steps are intentionally not
   exposed one by one because they make a single walk look like many routes. */
.live-leg-row {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  min-height: 1.1rem;
}
.live-leg-mode {
  flex: 0 0 auto;
  font-weight: 800;
  color: #475569;
}
.live-leg-mode.walk { color: #059669; }
.live-leg-mode.metro { color: #7C3AED; }
.live-leg-mode.public { color: #A16207; }
.dark .live-leg-mode { color: #CBD5E1; }
.dark .live-leg-mode.walk { color: #6EE7B7; }
.dark .live-leg-mode.metro { color: #C4B5FD; }
.dark .live-leg-mode.public { color: #FDE68A; }

/* Guest user avatar placeholder - shown when no profile photo */
.guest-avatar-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Visited pandal badge in route list */
.stop-visited-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 700;
  color: #059669;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 6px;
  padding: 1px 5px;
}
.dark .stop-visited-badge {
  color: #6EE7B7;
  background: rgba(6,78,59,0.35);
  border-color: rgba(134,239,172,0.3);
}

/* Pandal skip button in live route list */
.live-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 2px 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.live-jump-btn:active { transform: scale(0.95); }
.dark .live-jump-btn {
  color: #93C5FD;
  background: rgba(30,58,138,0.25);
  border-color: rgba(147,197,253,0.25);
}

/* 360 Virtual Tour "available" badge */
.animate-pulse-glow {
  animation: pulse-glow 2.2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0); }
}

/* Pannellum's default zoom controls are bottom-right anchored right at the
   viewport edge, which the 360 tour overlay's own bottom action bar
   (Get Directions / Add to Route / Save, plus the scene-tab strip above it)
   then sits on top of -- the +/- buttons ended up pushed out of the tappable
   area or hidden behind that chrome. Lift them clear of both bars and the
   device's bottom safe-area inset. */
#tour360-mount .pnlm-controls-container {
  bottom: calc(150px + env(safe-area-inset-bottom, 0px)) !important;
  right: 10px !important;
}

/* While a search session is active the search box is lifted out of document
   flow (HomeScreen.pinSearchBar) and parked over the feed, so it needs its
   own opaque backdrop -- otherwise the pandal cards scrolling underneath
   show straight through the input row. */
[data-purpose="search-box"][data-pinned="1"] {
  background: #FFFFFF;
  padding-bottom: 0.625rem;
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.45);
}
html.dark [data-purpose="search-box"][data-pinned="1"] {
  background: #020617;
}

/* Feed search anchored above the keyboard (HomeScreen.pinFeedSearch): both
   the input header and its results panel are lifted out of flow, so they
   need their own opaque backdrop over the page they now float above. */
#home-feed-search-box[data-pinned="1"],
#home-pandals-list[data-pinned="1"] {
  background: #FFFFFF;
}
#home-feed-search-box[data-pinned="1"] {
  padding-bottom: 0.5rem;
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.45);
}
html.dark #home-feed-search-box[data-pinned="1"],
html.dark #home-pandals-list[data-pinned="1"] {
  background: #020617;
}

.category-btn.active-shops {
  background: linear-gradient(180deg, #ECFEFF 0%, #CFFAFE 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.dark .category-btn.active-shops {
  background: linear-gradient(180deg, rgba(21, 94, 117, 0.45) 0%, rgba(14, 116, 144, 0.45) 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Subtle, smooth looping nudge for CTA arrow */
@keyframes arrowSlideRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
.animate-arrow-nudge {
  display: inline-block;
  animation: arrowSlideRight 1.6s ease-in-out infinite;
  will-change: transform;
}

/* Collapse empty dynamic slots so they do not introduce dead vertical gap */
#home-live-broadcast-slot:empty,
#home-live-traffic-slot:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Google Maps InfoWindow: the marker popup is our own compact card
   (MapController.openPlaceDetails) -- remove Google's padding, header band
   and hover-effect button so nothing sits above the text. */
.gm-style-iw-c { padding: 0 !important; border-radius: 12px !important; box-shadow: 0 8px 24px rgba(15, 23, 42, .18) !important; max-height: none !important; }
.gm-style-iw-d { overflow: hidden !important; padding: 0 !important; max-height: none !important; }
.gm-style-iw-chr, .gm-style-iw .gm-ui-hover-effect { display: none !important; }
.gm-style-iw-tc::after { background: #fff !important; }

/* Step-by-step leg directions (walk -> board bus/metro -> get off -> walk) */
.leg-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.leg-step { display: flex; align-items: flex-start; gap: 7px; }
.leg-step-icon { width: 20px; height: 20px; border-radius: 9999px; flex-shrink: 0; display: grid; place-items: center; background: #F1F5F9; color: #475569; }
.dark .leg-step-icon { background: #27272A; color: #CBD5E1; }
.leg-step-icon svg { width: 12px; height: 12px; }
.leg-step-metro .leg-step-icon { background: #7C3AED; color: #fff; }
.leg-step-transit .leg-step-icon { background: #D97706; color: #fff; }
.leg-step-alight .leg-step-icon { background: #FEE2E2; color: #DC2626; }
.leg-step-auto .leg-step-icon, .leg-step-cab .leg-step-icon { background: #FEF3C7; color: #B45309; }
.leg-step-bike .leg-step-icon { background: #DCFCE7; color: #15803D; }
.leg-step-body { display: flex; flex-direction: column; min-width: 0; }
.leg-step-text { font-size: 10.5px; font-weight: 700; line-height: 1.3; color: #0F172A; overflow-wrap: anywhere; }
.dark .leg-step-text { color: #F1F5F9; }
.leg-step-sub { font-size: 9.5px; line-height: 1.3; color: #64748B; margin-top: 1px; }
.dark .leg-step-sub { color: #A1A1AA; }
.leg-steps-toggle > summary::-webkit-details-marker { display: none; }
.leg-steps-toggle > summary::before { content: '▸ '; }
.leg-steps-toggle[open] > summary::before { content: '▾ '; }

/* Brand partner (sponsor) card, one per page slot */
/* Sponsor cards live in css/promotions.css (shared with the Control Center preview). */

/* Launch sponsor video over the booting app */
#promo-launch { position: fixed; inset: 0; z-index: 5000; background: #000; display: flex; flex-direction: column; transition: opacity .3s ease; }
#promo-launch.promo-launch-out { opacity: 0; pointer-events: none; }
.promo-launch-stage { flex: 1; min-height: 0; display: grid; place-items: center; background: #000; position: relative; overflow: hidden; }
.promo-launch-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; border: none; }
.promo-launch-brand { max-width: 78%; max-height: 50%; object-fit: contain; }
#promo-launch:has(.promo-launch-brand) .promo-launch-stage { background: #fff; }
.promo-launch-skip, .promo-launch-sound { position: absolute; border: 0; cursor: pointer; font: 700 12px/1 system-ui, sans-serif; z-index: 25; }
.promo-launch-skip { right: 14px; top: calc(14px + env(safe-area-inset-top, 0px)); padding: 9px 14px; border-radius: 9999px; background: rgba(15,23,42,.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.promo-launch-skip:disabled { opacity: .75; cursor: default; }
.promo-launch-sound { left: 14px; top: calc(14px + env(safe-area-inset-top, 0px)); width: 36px; height: 36px; border-radius: 9999px; background: rgba(15,23,42,.72); color: #fff; font-size: 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.promo-launch-visit { position: absolute; left: 50%; transform: translateX(-50%); bottom: 46px; padding: 10px 20px; border-radius: 999px; background: #D8232A; color: #fff; font: 800 12px/1 system-ui, sans-serif; z-index: 15; box-shadow: 0 4px 14px rgba(0,0,0,0.35); border: 0; cursor: pointer; white-space: nowrap; }
/* Hairline seam between the video and the sponsor strip (was a thick
   rounded black band). */
.promo-launch-strip { background: #ffffff; border: none; border-top: 1px solid rgba(15,23,42,.08); border-radius: 8px 8px 0 0; padding: 14px 20px calc(12px + env(safe-area-inset-bottom, 12px)); text-align: center; position: relative; z-index: 20; box-shadow: 0 -1px 6px rgba(0,0,0,0.08); margin-top: -8px; }
.promo-launch-strip > span { display: block; font: 700 12px/1.3 system-ui, -apple-system, sans-serif; color: #334155; margin-bottom: 8px; letter-spacing: 0.02em; }
.promo-launch-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.promo-launch-logos img { height: 36px; max-width: 100px; object-fit: contain; }
