/* Phase 15 compatibility module runtime */
.v99-module-host-loading{position:relative;isolation:isolate}
.v99-module-loader{position:absolute;z-index:90;inset:0;min-height:150px;padding:16px;border-radius:20px;background:linear-gradient(180deg,rgba(5,7,12,.94),rgba(5,7,12,.78));backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);animation:v99ModuleIn .14s ease both}
.v99-module-loader-card{height:48px;display:flex;align-items:center;justify-content:center;gap:10px;color:#8394AC;font:800 9px/1 Manrope,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.v99-module-loader-mark{height:22px;display:flex;align-items:center;gap:2px;color:#7DA5FF}
.v99-module-loader-mark i{width:3px;border-radius:999px;background:currentColor;animation:v99ModulePulse .8s ease-in-out infinite alternate}
.v99-module-loader-mark i:nth-child(1),.v99-module-loader-mark i:nth-child(5){height:7px}
.v99-module-loader-mark i:nth-child(2),.v99-module-loader-mark i:nth-child(4){height:14px;animation-delay:.12s}
.v99-module-loader-mark i:nth-child(3){height:22px;animation-delay:.24s}
.v99-module-skeleton{display:grid;gap:9px;margin-top:8px}
.v99-module-skeleton i{height:54px;border:1px solid rgba(255,255,255,.055);border-radius:15px;background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.065),rgba(255,255,255,.025));background-size:220% 100%;animation:v99ModuleShimmer 1.1s linear infinite}
.v99-module-skeleton i:nth-child(2){height:88px}.v99-module-skeleton i:nth-child(3){height:42px;width:72%}
.v99-module-loader.is-error .v99-module-loader-card{color:#fb7185}
@keyframes v99ModuleIn{from{opacity:0}to{opacity:1}}
@keyframes v99ModulePulse{from{opacity:.35;transform:scaleY(.72)}to{opacity:1;transform:scaleY(1)}}
@keyframes v99ModuleShimmer{to{background-position:-220% 0}}
@media(min-width:768px){.v99-module-loader{inset:0;padding:24px;border-radius:24px}.v99-module-skeleton{max-width:900px;margin:8px auto 0}}
@media(prefers-reduced-motion:reduce){.v99-module-loader,.v99-module-loader-mark i,.v99-module-skeleton i{animation:none!important}}


/* Phase 9C v2 — real fullscreen BeatHelper module loader. */
.v99-module-loader{
  position:fixed!important;z-index:10050!important;inset:0!important;min-height:100dvh!important;
  display:grid!important;place-items:center!important;padding:24px!important;border-radius:0!important;
  background:#05070C!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  animation:v99ModuleIn .12s ease both!important
}
.v99-module-loader-card{
  width:min(320px,calc(100vw - 48px))!important;height:auto!important;display:grid!important;
  grid-template-rows:auto auto auto auto!important;place-items:center!important;gap:0!important;
  color:#8394AC!important;font:600 10px/1.35 Manrope,system-ui,sans-serif!important;
  letter-spacing:0!important;text-transform:none!important;text-align:center!important
}
.v99-module-loader-mark{grid-row:1;height:34px!important;gap:4px!important;color:#2F6BFF!important;filter:drop-shadow(0 0 18px rgba(47,107,255,.34))}
.v99-module-loader-mark i{width:5px!important}
.v99-module-loader-mark i:nth-child(1),.v99-module-loader-mark i:nth-child(5){height:8px!important}
.v99-module-loader-mark i:nth-child(2),.v99-module-loader-mark i:nth-child(4){height:20px!important}
.v99-module-loader-mark i:nth-child(3){height:34px!important}
.v99-module-loader-card::before{content:"BeatHelper";grid-row:2;margin-top:16px;color:#fff;font-size:18px;font-weight:800;letter-spacing:-.02em}
.v99-module-loader-card>span:last-child{grid-row:3;margin-top:6px;color:#8394AC;font-size:10px;font-weight:600;line-height:1.4}
.v99-module-loader-card::after{
  content:"";grid-row:4;width:100%;height:3px;margin-top:18px;border-radius:999px;
  background:linear-gradient(90deg,transparent 0 24%,#2F6BFF 42% 60%,transparent 78% 100%);
  background-size:230% 100%;animation:bhModuleQuickLine 1.05s linear infinite
}
.v99-module-skeleton{display:none!important}
.v99-module-loader.is-error .v99-module-loader-card>span:last-child{color:#FCA5A5!important}
@keyframes bhModuleQuickLine{from{background-position:115% 0}to{background-position:-115% 0}}
@media(prefers-reduced-motion:reduce){.v99-module-loader-card::after{animation:none!important;background:#2F6BFF!important}}


/* Phase 9C v5 — exact BeatHelper boot-style internal loader. */
.v99-module-loader{
  position:fixed!important;z-index:10050!important;inset:0!important;min-height:100dvh!important;
  display:grid!important;place-items:center!important;padding:24px!important;border-radius:0!important;
  background:#05070C!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  animation:v99ModuleIn .12s ease both!important
}
.v99-module-loader .v99-boot-card{width:min(320px,calc(100vw - 48px))!important;text-align:center!important}
.v99-module-loader .v99-boot-title{margin-top:16px!important}
.v99-module-loader .v99-boot-copy{min-height:14px!important}
.v99-module-loader .v99-boot-line{width:100%!important}
.v99-module-loader.is-error .v99-boot-mark{color:#F87171!important;filter:drop-shadow(0 0 18px rgba(248,113,113,.25))!important}
.v99-module-loader.is-error .v99-boot-copy{color:#FCA5A5!important}

/* Phase 9C v5.1 — remove all legacy module-loader chrome. */
.v99-module-loader{
  position:fixed!important;
  z-index:10050!important;
  inset:0!important;
  min-height:100dvh!important;
  display:grid!important;
  place-items:center!important;
  padding:24px!important;
  border-radius:0!important;
  background:#05070C!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.v99-module-loader-card::before,
.v99-module-loader-card::after,
.v99-module-skeleton{content:none!important;display:none!important}
.v99-module-loader .v99-boot-card{width:min(320px,100%)!important;text-align:center!important}
.v99-module-loader.is-error .v99-boot-mark{color:#F87171!important;filter:drop-shadow(0 0 18px rgba(248,113,113,.25))!important}
.v99-module-loader.is-error .v99-boot-copy{color:#FCA5A5!important}
