/* London Baby 2026 — conditional flight countdown
   Scope: Friday, June 12 daily hero card only. */


/* Create enough vertical room only on the departure-day hero while the countdown is visible. */
html body #app.app-shell .hero.has-flight-countdown {
  min-height: clamp(520px, 62vw, 680px) !important;
}

html body #app.app-shell .hero .flight-countdown-wrap {
  position: absolute !important;
  left: 50% !important;
  bottom: clamp(142px, 18vw, 178px) !important;
  z-index: 7 !important;
  width: min(74%, 720px) !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

html body #app.app-shell .hero .flight-countdown-wrap[hidden],
html body #app.app-shell .hero .flight-countdown-wrap.is-hidden {
  display: none !important;
}

html body #app.app-shell .hero .flight-countdown-card {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(14px, 2.2vw, 22px) clamp(16px, 3vw, 30px) !important;
  border-radius: clamp(18px, 3vw, 28px) !important;
  border: 2px solid rgba(218, 178, 84, .88) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 46%),
    linear-gradient(180deg, rgba(9, 31, 58, .98), rgba(5, 21, 42, .96)) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .30),
    0 0 0 1px rgba(255,255,255,.18),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
  color: #fff !important;
  text-align: center !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.15) !important;
  backdrop-filter: blur(10px) saturate(1.15) !important;
}

html body #app.app-shell .hero .flight-countdown-label {
  margin: 0 0 clamp(10px, 1.8vw, 16px) !important;
  color: rgba(232, 196, 105, .98) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(.68rem, 1.55vw, .96rem) !important;
  font-weight: 950 !important;
  letter-spacing: .28em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.32) !important;
}

html body #app.app-shell .hero .flight-countdown-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: 0 !important;
}

html body #app.app-shell .hero .flight-countdown-unit {
  position: relative !important;
  padding: 0 clamp(7px, 1.6vw, 18px) !important;
}

html body #app.app-shell .hero .flight-countdown-unit:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  top: 10% !important;
  right: 0 !important;
  width: 2px !important;
  height: 78% !important;
  border-radius: 99px !important;
  background: linear-gradient(180deg, transparent, rgba(232,196,105,.92), transparent) !important;
}

html body #app.app-shell .hero .flight-countdown-number {
  display: block !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(2.05rem, 6.1vw, 4.85rem) !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  line-height: .9 !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.46) !important;
}

html body #app.app-shell .hero .flight-countdown-name {
  display: block !important;
  margin-top: clamp(5px, 1vw, 10px) !important;
  color: rgba(255,255,255,.92) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(.62rem, 1.35vw, .9rem) !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
}

html body #app.app-shell .hero .flight-countdown-route {
  margin: clamp(11px, 2vw, 18px) 0 0 !important;
  color: rgba(232,196,105,.98) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(.74rem, 1.65vw, 1.05rem) !important;
  font-weight: 850 !important;
  letter-spacing: .04em !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.36) !important;
}

@media (max-width: 720px) {
  
/* Create enough vertical room only on the departure-day hero while the countdown is visible. */
html body #app.app-shell .hero.has-flight-countdown {
  min-height: clamp(520px, 62vw, 680px) !important;
}

html body #app.app-shell .hero .flight-countdown-wrap {
    width: min(calc(100% - 56px), 520px) !important;
    bottom: 104px !important;
  }

  html body #app.app-shell .hero .flight-countdown-card {
    padding: 13px 14px 14px !important;
    border-radius: 20px !important;
  }

  html body #app.app-shell .hero .flight-countdown-label {
    margin-bottom: 9px !important;
    font-size: .66rem !important;
    letter-spacing: .22em !important;
  }

  html body #app.app-shell .hero .flight-countdown-unit {
    padding: 0 7px !important;
  }

  html body #app.app-shell .hero .flight-countdown-number {
    font-size: clamp(1.88rem, 9.4vw, 2.8rem) !important;
  }

  html body #app.app-shell .hero .flight-countdown-name {
    font-size: .62rem !important;
    letter-spacing: .055em !important;
  }

  html body #app.app-shell .hero .flight-countdown-route {
    margin-top: 10px !important;
    font-size: .74rem !important;
  }
}

@media (max-width: 430px) {
  
/* Create enough vertical room only on the departure-day hero while the countdown is visible. */
html body #app.app-shell .hero.has-flight-countdown {
  min-height: clamp(520px, 62vw, 680px) !important;
}

html body #app.app-shell .hero .flight-countdown-wrap {
    width: calc(100% - 44px) !important;
    bottom: 98px !important;
  }

  html body #app.app-shell .hero .flight-countdown-card {
    padding: 12px 12px 13px !important;
    border-width: 1.5px !important;
  }
}
