/* hero-weave.css (v2.2): the real woven B mark, laid thread by thread with
   true over/under, drawn on a <canvas> by /js/hero-weave-play.js. The last
   frame is the real <img> (the candidate the browser chose). Inline markup +
   this stylesheet + /js/hero-weave.js + /js/hero-weave-play.js only. No
   libraries. Play time 2.28s (v2.2: 2.2s weave + 80 ms margin). With no JS, prefers-reduced-motion, a failed
   canvas self-test, or a player that is not ready 600 ms after the image,
   the static <img> is shown. */
.hero-weave{position:relative;width:7rem;height:7rem;margin:0 0 1.15rem;flex:none;aspect-ratio:1/1;overflow:hidden}
@media (min-width:64rem){.hero-weave{width:9rem;height:9rem;margin-bottom:1.35rem}}
.hero-weave-mark{display:block;width:100%;height:100%}
.hero-weave-canvas{position:absolute;inset:0;width:100%;height:100%;display:none;pointer-events:none}
html[data-hero-weave-ok=wait] .hero-weave-mark{opacity:0}
html[data-hero-weave-ok=fail] .hero-weave-mark{opacity:0;visibility:hidden}
html[data-hero-weave-ok=play] .hero-weave-mark{opacity:0}
html[data-hero-weave-ok=play] .hero-weave-canvas{display:block}
html[data-hero-weave-ok=done] .hero-weave-mark{opacity:1}
@media (prefers-reduced-motion:reduce){
html[data-hero-weave-ok=play] .hero-weave-mark{opacity:1}
html[data-hero-weave-ok=play] .hero-weave-canvas{display:none}
}
