/* WF-BOOT-001 / APPROVED MP4 MASTER 2026-10-27.
 * Pixel-for-pixel approved video; NEVER create SVG fill, redraw the barrel,
 * brighten the gold, or overlay phone/status-bar mockups.
 */
#wf-barrel-loader{
  position:fixed;inset:0;z-index:2147483000;
  background:#120b08;color:#f6e2c3;
  display:grid;place-items:center;
  isolation:isolate;overflow:hidden;
  opacity:1;transition:opacity .42s ease;
  user-select:none;-webkit-user-select:none
}
body.wf-barrel-loading{overflow:hidden}
#wf-barrel-loader[hidden]{display:none!important}
#wf-barrel-loader.wf-leaving{opacity:0;pointer-events:none}
#wf-barrel-loader .wf-approved-video{
  display:block;max-width:100vw;max-height:100dvh;
  width:min(100vw,calc(100dvh * 614 / 1030));
  height:auto;aspect-ratio:614/1030;
  object-fit:contain;background:#120b08;
  pointer-events:none;-webkit-user-drag:none
}
#wf-barrel-loader .wf-boot-a11y-status{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  border:0;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0);
  clip-path:inset(50%)
}
@media(prefers-reduced-motion:reduce){
  #wf-barrel-loader{transition:none!important}
  #wf-barrel-loader .wf-approved-video{animation:none!important}
}
/* Owner-reviewed UI concept 28.10: text overlays, no alteration to approved MP4. */
#wf-barrel-loader .wf-boot-brand{
  position:absolute;z-index:1;
  top:calc(env(safe-area-inset-top, 0px) + clamp(10px,1.8dvh,22px));
  left:50%;transform:translateX(-50%);
  width:min(96vw,520px);text-align:center;
  pointer-events:none;
}
#wf-barrel-loader .wf-boot-name{
  white-space:nowrap;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;line-height:1.06;letter-spacing:.01em;
  font-size:clamp(35px, min(10vw, 5.6dvh), 62px);
  color:#f5db9e;text-shadow:0 2px 2px #210c08,0 2px 15px #25130c;
}
#wf-barrel-loader .wf-boot-motto{
  margin-top:6px;
  font:500 clamp(8px, 2.1vw, 11px)/1.4 Georgia,"Times New Roman",serif;
  letter-spacing:.13em;color:#ead6ab;
  text-shadow:0 1px 3px #211209;
}
#wf-barrel-loader .wf-boot-ornament{
  position:relative;width:min(156px,40%);height:12px;margin:11px auto 0;
  display:flex;align-items:center;justify-content:center;
}
#wf-barrel-loader .wf-boot-ornament::before,
#wf-barrel-loader .wf-boot-ornament::after{
  content:"";position:absolute;top:5px;width:43%;height:1px;
  background:linear-gradient(90deg,transparent,#ac8952);
}
#wf-barrel-loader .wf-boot-ornament::before{left:0}
#wf-barrel-loader .wf-boot-ornament::after{right:0;transform:rotate(180deg)}
#wf-barrel-loader .wf-boot-ornament span{
  width:7px;height:7px;border-radius:50%;background:#c9a15b;
  box-shadow:0 0 7px rgba(199,153,82,.45);
}
#wf-barrel-loader .wf-boot-status{
  position:absolute;z-index:1;
  left:50%;bottom:max(12px, env(safe-area-inset-bottom, 0px));
  transform:translateX(-50%);
  width:min(100%,460px);box-sizing:border-box;
  padding:10px 16px 8px;text-align:center;
  display:flex;align-items:center;flex-direction:column;gap:8px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(18,11,8,.86) 16%,rgba(18,11,8,.86) 84%,transparent);
}
#wf-barrel-loader .wf-boot-status-label{
  color:#f4e0c0;font:400 clamp(13px,3.2vw,16px)/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.015em;text-shadow:0 1px 3px #100807;
}
#wf-barrel-loader .wf-boot-dots{display:flex;align-items:center;gap:7px;justify-content:center}
#wf-barrel-loader .wf-boot-dots i{
  width:4px;height:4px;background:#c6a064;border-radius:50%;opacity:.35;
  animation:wf-boot-dot 1.3s ease-in-out infinite alternate;
}
#wf-barrel-loader .wf-boot-dots i:nth-child(2){animation-delay:.24s}
#wf-barrel-loader .wf-boot-dots i:nth-child(3){animation-delay:.48s}
@keyframes wf-boot-dot{from{opacity:.3}to{opacity:.95}}
@media(prefers-reduced-motion:reduce){
  #wf-barrel-loader .wf-boot-dots i{animation:none!important;opacity:.65}
}
