/* v10 candle-burn intro (22 Nov): logo-only loading, gold ring from the inner candle. Overlay never takes a tap, except Try again if load fails. */
html.hl-flame-only #hlLs .hl-below,
html.hl-flame-only #hlWord,
html.hl-flame-only #hlBy,
html.hl-flame-only #hlBar,
html.hl-flame-only #hlStatus {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fail path (8s still-loading / 20s didn't-finish + Try again): reveal status and retry only. */
html.hl-flame-only.hl-load-fail #hlLs .hl-below,
html.hl-flame-only.hl-load-fail #hlStatus,
html.hl-flame-only.hl-load-fail #hlRetry {
  opacity: 1 !important;
  visibility: visible !important;
}
html.hl-flame-only.hl-load-fail #hlWord,
html.hl-flame-only.hl-load-fail #hlBy,
html.hl-flame-only.hl-load-fail #hlBar {
  display: none !important;
}
html.hl-flame-only.hl-load-fail #hlLs .hl-below,
html.hl-flame-only.hl-load-fail #hlStatus,
html.hl-flame-only.hl-load-fail #hlRetry {
  position: relative;
  z-index: 8;
}
html.hl-flame-only.hl-load-fail #hlRetry {
  pointer-events: auto !important;
}

html.hl-align-home #hlLs .hl-c288,
html.hl-align-home #hlLs #hlStill,
html.hl-align-home #hlLs #hlF2,
html.hl-align-home #hlLs #hlCglow,
html.hl-align-home #hlLs .hl-halo,
html.hl-align-home #hlLs .hl-halo2w,
html.hl-align-home #hlLs #hlEmb,
html.hl-align-home #hlLs .hl-bgw {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#hlLs #hlBurn10 {
  position: absolute; inset: 0; pointer-events: none; z-index: 6;
}
#hlLs #hlBurn10 canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block;
}
#hlAlignLogo {
  position: absolute;
  pointer-events: none;
  z-index: 7;
  display: block;
  object-fit: fill;
  border: 0;
}
#hlLs.hl-handoff #hlAlignLogo { opacity: 1; visibility: visible; transition: none; }

/* smooth1123: B2 still -> Home mark glide, pre-rendered burn layers (transform/opacity only), header fade-in */
html:not(.hl-align-home) #hlAlignLogo { visibility: hidden; } /* until the glide shows it (inline style) */
#hlAlignLogo { will-change: transform, opacity; }
#hlLs.hl-handoff { transition: opacity 250ms ease-out; }
#hlLs #hlBurn10 { overflow: hidden; will-change: opacity; }
#hlLs #hlBurn10 .hl-blayer,
#hlLs #hlBurn10 .hl-bcov {
  position: absolute; display: block; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity;
}
#hlLs #hlBurn10 canvas.hl-blayer { inset: auto; }
#hlAlignFlare {
  position: absolute; pointer-events: none; z-index: 8; display: block; object-fit: fill; border: 0;
  filter: brightness(1.42); will-change: opacity; transform: none;
}
html.hl-acts-hold .hv-home.hv-ring .hv-head { opacity: 0 !important; }
html.hl-acts-in .hv-home.hv-ring .hv-head { opacity: 1; transition: opacity 320ms cubic-bezier(.2, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  html.hl-acts-hold .hv-home.hv-ring .hv-head { opacity: 1 !important; }
  html.hl-acts-in .hv-home.hv-ring .hv-head { transition: none; }
}
