/* Homepage hero palette and floating-to-pill header, scoped to diagnostics. */
.yl-detail-page .dd-hero { background: var(--void); color: var(--star); }
.yl-detail-page .dd-hero-scene::after {
  background: linear-gradient(180deg,rgba(14,14,15,.64),rgba(14,14,15,.28) 28%,rgba(14,14,15,.34) 42%,rgba(14,14,15,.6) 60%,rgba(14,14,15,.84));
}
.yl-detail-page .dd-hero h1 { color: var(--star); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .yl-detail-page .dd-hero h1 {
    padding-bottom: .16em;
    margin-bottom: -.16em;
    background-image: linear-gradient(115deg, var(--star) 12%, #e8d7be 58%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.yl-detail-page .dd-hero .dd-hero-grid .dd-lead,
.yl-detail-page .dd-hero a.dd-breadcrumb { color: var(--star); }
.yl-detail-page .dd-facts { background: rgba(14,14,15,.48); }
.yl-detail-page .dd-hero .dd-facts dt { color: var(--star); }
.yl-detail-page .dd-hero .dd-facts dd { color: #bcb8b0; }
.yl-detail-page .dd-facts > div { border-color: rgba(233,228,218,.16); }

.yl-detail-page .masthead .hdr {
  margin: 16px var(--site-gutter) 32px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: margin .5s cubic-bezier(.22,1,.36,1), padding .5s cubic-bezier(.22,1,.36,1), background-color .35s ease, box-shadow .35s ease;
}
.yl-detail-page .masthead .hdr-logo { width: 220px; }
.yl-detail-page .masthead:not(.is-light) .hdr-logo .wm { color: var(--star); }
.yl-detail-page .masthead:not(.is-light) .hdr .mobile-nav-toggle {
  color: var(--star);
  background: rgba(14,14,15,.8);
  border-color: rgba(231,192,137,.35);
}
.yl-detail-page .masthead.has-bar .hdr {
  margin: 12px max(var(--site-gutter), calc((100vw - var(--pill-w)) / 2)) 12px;
  padding: 6px 6px 6px 24px;
  height: 60px;
  min-height: 60px;
  border-radius: 22px;
  background: rgba(233,228,218,.78);
  box-shadow: inset 0 0 0 1px rgba(14,14,15,.08), 0 10px 30px rgba(14,14,15,.08);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}
.yl-detail-page .masthead.has-bar .hdr-logo { width: 188px; }
html.hdr-hidden .yl-detail-page .masthead.has-bar .hdr,
html.menu-open .yl-detail-page .masthead.has-bar .hdr {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-width: 759px) {
  .yl-detail-page .masthead .hdr { margin: 16px var(--site-gutter) 24px; }
  .yl-detail-page .masthead .hdr-logo { width: 116px; }
  .yl-detail-page .masthead.has-bar .hdr {
    margin: 12px var(--site-gutter) 12px;
    padding: 5px 5px 5px 16px;
    height: 56px;
    min-height: 56px;
    border-radius: 21px;
  }
  .yl-detail-page .masthead.has-bar .hdr-logo { width: 116px; }
}
@media (max-width: 359px) {
  .yl-detail-page .masthead .hdr-logo,
  .yl-detail-page .masthead.has-bar .hdr-logo { width: 76px; }
  .yl-detail-page .masthead.has-bar .hdr { padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .yl-detail-page .masthead .hdr { transition: none; }
}
@media (forced-colors: active) {
  .yl-detail-page .dd-hero h1 { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
