/* Breathtaking Lagoon v6.2.3 — Night-mode contrast hardening
   Covers components added after the original global theme layer. */

html[data-theme="night"] .bl620-trip-path{
  background:linear-gradient(180deg,#081b17,#071512)!important;
  color:var(--bl-theme-night-text)!important;
}

html[data-theme="night"] :where(
  .bl620-trip-card,
  .bl620-channel-card,
  .bl620-channel-note,
  .bl-video-card
){
  background:var(--bl-theme-night-surface)!important;
  color:var(--bl-theme-night-text)!important;
  border-color:var(--bl-theme-night-border)!important;
  box-shadow:var(--bl-theme-night-shadow)!important;
}

html[data-theme="night"] :where(
  .bl620-trip-head h2,
  .bl620-trip-card strong,
  .bl620-channel-card h1,
  .bl620-channel-card h2,
  .bl620-channel-card h3,
  .bl620-channel-note strong,
  .bl-video-pack h2,
  .bl-video-card h3
){
  color:var(--bl-theme-night-text)!important;
  -webkit-text-fill-color:var(--bl-theme-night-text)!important;
}

html[data-theme="night"] :where(
  .bl620-trip-head p,
  .bl620-trip-card span,
  .bl620-channel-card p,
  .bl620-channel-note,
  .bl-video-pack-lede,
  .bl-video-card p
){
  color:var(--bl-theme-night-muted)!important;
  -webkit-text-fill-color:var(--bl-theme-night-muted)!important;
}

html[data-theme="night"] :where(.bl620-trip-head .eyebrow,.bl620-trip-card small,.bl-video-card a){
  color:var(--bl-theme-night-accent)!important;
  -webkit-text-fill-color:var(--bl-theme-night-accent)!important;
}

html[data-theme="night"] .bl620-channel-card code{
  display:inline-block;
  padding:.18rem .42rem;
  border:1px solid var(--bl-theme-night-border)!important;
  border-radius:.45rem;
  background:var(--bl-theme-night-field)!important;
  color:#bfeee1!important;
  -webkit-text-fill-color:#bfeee1!important;
}

html[data-theme="night"] .bl620-trip-actions .secondary{
  color:var(--bl-theme-night-accent)!important;
  -webkit-text-fill-color:var(--bl-theme-night-accent)!important;
  border-color:var(--bl-theme-night-accent)!important;
  background:transparent!important;
}

html[data-theme="night"] .bl620-trip-actions .primary,
html[data-theme="night"] .bl620-channel-card .m-btn{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Keep light utility sections from reintroducing a white sheet behind Night content. */
html[data-theme="night"] :where(.m-section,.te-section.white){
  background:var(--bl-theme-night-bg)!important;
  color:var(--bl-theme-night-text)!important;
}

/* iOS/Safari can honor -webkit-text-fill-color from earlier rules more strongly
   than color. Reassert readable text inside these late-added components. */
html[data-theme="night"] :where(.bl620-channel-card,.bl620-trip-card,.bl-video-card) a:not(.m-btn){
  color:var(--bl-theme-night-accent)!important;
  -webkit-text-fill-color:var(--bl-theme-night-accent)!important;
}
