/* Loading screen: the team name appears, shakes, breaks, and the pieces fall away.
   Colours come from the THEME block in style.css. Timing lives at the top of break-loader.js. */
#break-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: all;
}
#break-loader .bl-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
#break-loader .bl-stage {
  position: relative;
  padding: 1.2rem 2rem;
  opacity: 0;               /* JS fades it in; no-JS hides the whole loader below */
}
#break-loader .bl-title,
#break-loader .bl-piece {
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;  /* heavy system font, nothing to download */
  font-weight: 900;
  font-size: clamp(3rem, 14vw, 10rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--green);
  white-space: nowrap;
}
#break-loader .bl-piece { position: absolute; top: 0; left: 0; will-change: transform, opacity; }
#break-loader .bl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.bl-loading { overflow: hidden; }