/* Isolated WrenchLog opening; no existing homepage selectors modified. */
#wl-opening{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center;color:#fff;background:#09100d;isolation:isolate;transition:opacity .65s ease,visibility .65s ease}
#wl-opening *,#wl-opening *::before,#wl-opening *::after{box-sizing:border-box}
#wl-opening::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,#243629 0%,#070d0a 68%)}
#wl-opening .wl-scene{position:absolute;top:0;bottom:0;width:50%;background-position:center;background-size:cover;opacity:0;filter:brightness(.62) saturate(.9);transition:opacity .75s ease,transform 1.1s ease}
#wl-opening .wl-mechanic{left:0;background-image:url('/assets/wl-intro/mechanic.jpg');transform:translateX(-35px)}
#wl-opening .wl-lawn{right:0;background-image:url('/assets/wl-intro/lawn.jpg');transform:translateX(35px)}
#wl-opening.wl-images .wl-scene{opacity:.9;transform:none}
#wl-opening .wl-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#080f0bd9 0%,#08100b7a 28%,#08100b94 48%,#08100b70 73%,#080f0bd1 100%),linear-gradient(180deg,#070c09a1,transparent 45%,#070c09a1)}
#wl-opening .wl-center{z-index:1;position:relative;opacity:0;transform:translateY(15px) scale(.97);transition:opacity .75s ease,transform .75s ease;padding:20px 24px;max-width:100%}
#wl-opening.wl-logo-in .wl-center{opacity:1;transform:none}
#wl-opening .wl-stage{position:relative;margin:0 auto 16px;width:clamp(130px,20vw,205px);height:clamp(130px,20vw,205px);perspective:850px}
#wl-opening .wl-halo{position:absolute;inset:-35%;background:radial-gradient(circle,#ff990075,transparent 62%);filter:blur(22px);animation:wl-glow 2.1s ease-in-out infinite alternate}
#wl-opening .wl-coin{width:100%;height:100%;position:relative;transform-style:preserve-3d;animation:wl-spin 3.1s cubic-bezier(.13,.7,.2,1) both}
#wl-opening .wl-coin img{height:100%;width:100%;display:block;object-fit:contain;filter:drop-shadow(0 0 16px #ff99006b);backface-visibility:visible}
#wl-opening .wl-name{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;font-weight:900;font-size:clamp(2.7rem,7vw,5.8rem);letter-spacing:.095em;line-height:1.1;text-shadow:0 5px 32px #000e}
#wl-opening .wl-name span{color:#e5b974}
#wl-opening .wl-tagline{font:650 clamp(.92rem,2vw,1.3rem)/1.35 system-ui,-apple-system,Segoe UI,Arial,sans-serif;margin:15px auto 0;color:#f0f1e9}
#wl-opening .wl-subtitle{font:750 .78rem/1.5 system-ui,-apple-system,Segoe UI,Arial,sans-serif;letter-spacing:.22em;color:#dcbf91;margin-top:14px;text-transform:uppercase}
#wl-opening .wl-line{width:min(260px,60vw);height:3px;background:#ffffff38;border-radius:3px;margin:30px auto 0;overflow:hidden}
#wl-opening .wl-line span{display:block;background:#e5b974;height:100%;width:0}
#wl-opening.wl-logo-in .wl-line span{animation:wl-progress 3.8s linear forwards}
#wl-opening .wl-skip{position:absolute;bottom:26px;right:28px;z-index:2;background:#131b17d9;color:white;border:1px solid #ffffff66;border-radius:9px;padding:11px 16px;font:600 14px system-ui,sans-serif;cursor:pointer}
#wl-opening .wl-skip:focus-visible{outline:3px solid #ff9900;outline-offset:4px}
#wl-opening.wl-done{opacity:0;visibility:hidden;pointer-events:none}
@keyframes wl-spin{0%{transform:rotateY(-540deg) rotateX(18deg) scale(.3);opacity:0}16%{opacity:1}72%{transform:rotateY(15deg) rotateX(0) scale(1.09)}100%{transform:rotateY(0) rotateX(0) scale(1);opacity:1}}
@keyframes wl-glow{to{opacity:.5;transform:scale(1.06)}}
@keyframes wl-progress{to{width:100%}}
@media(max-width:650px){#wl-opening .wl-scene{width:100%;height:50%;left:0;right:0}#wl-opening .wl-mechanic{top:0;bottom:auto;transform:translateY(-24px)}#wl-opening .wl-lawn{top:50%;bottom:0;transform:translateY(24px)}#wl-opening .wl-vignette{background:#08100caa}#wl-opening .wl-name{font-size:clamp(2rem,10vw,3.5rem)}#wl-opening .wl-subtitle{font-size:.67rem;letter-spacing:.13em}}
@media(prefers-reduced-motion:reduce){#wl-opening{display:none!important}#wl-opening *,#wl-opening *::before{animation:none!important;transition:none!important}}
