/* A quiet, fabric-inspired first reveal; later selections keep the showroom alive. */
.header nav .nav-active{position:relative;align-self:stretch;display:flex;align-items:center;margin-left:0}
.header .home-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 18px;border:1px solid #d8b78066;border-radius:30px;background:#17110b60;letter-spacing:.7px;text-transform:none;font-size:12px;transition:background .2s,border-color .2s}
.header .home-link:hover,.header .home-link:focus-visible{background:#d8b78020;border-color:#d8b780}
#loading{z-index:4;left:64%;top:46%;padding:22px 30px;gap:15px;width:270px;max-width:calc(100% - 40px);border:0;background:radial-gradient(ellipse,#17120be6 10%,#17120b99 60%,transparent 73%);border-radius:50%;color:#dfc79b;letter-spacing:normal;transition:opacity .28s ease,filter .28s ease;pointer-events:none}
#loading.done{opacity:0;filter:blur(4px)}
#loading[hidden]{display:none}
.loading-art{position:relative;width:166px;height:182px;isolation:isolate}
.loading-art svg{position:relative;z-index:1;width:100%;height:100%;overflow:visible;stroke:#e5c389;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px #d8a44e55)}
.garment-outline{stroke-dasharray:100;animation:garment-trace 3.4s ease-in-out infinite}
.stitch-line{stroke-dasharray:100;animation:stitch-trace 3.4s ease-in-out infinite}
.loading-halo{position:absolute;left:10%;right:10%;bottom:-8px;height:18px;border:1px solid #d8b78050;border-radius:50%;box-shadow:0 0 28px #d8b78024;animation:halo-breathe 3.4s ease-in-out infinite}
.loading-caption{display:flex;align-items:center;flex-direction:column;gap:8px;max-width:100%;text-align:center}
.loading-kicker{font-size:7px;letter-spacing:2.4px;color:#c3ad89}
#loading-label{font-family:Oswald,Arial,sans-serif;font-size:22px;line-height:1.1;color:#f1dfc1;letter-spacing:.3px}
#loading-detail{font-size:10px;line-height:1.5;color:#c2b399}
.loading-track{display:block;height:2px;width:116px;overflow:hidden;background:#d8b78022;border-radius:2px;margin-top:4px}
.loading-track i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#af8a50,#f3dca7,#af8a50);background-size:200% 100%;transform:scaleX(var(--load-progress,.12));transform-origin:left;transition:transform .18s linear;animation:thread-sheen 1.5s linear infinite}
#loading[data-phase=prepare] .loading-track i{transform:scaleX(.98)}
#loading[data-mode=switch]{top:auto;bottom:66px;width:auto;max-width:40%;padding:12px 19px;background:#1b1510df;border:1px solid #d8b7804d;border-radius:12px;backdrop-filter:blur(12px);transform:translateX(-50%);box-shadow:0 6px 30px #0003}
#loading[data-mode=switch] .loading-art,#loading[data-mode=switch] .loading-kicker{display:none}
#loading[data-mode=switch] .loading-caption{gap:5px}
#loading[data-mode=switch] #loading-label{font-size:15px}
#loading[data-mode=switch] #loading-detail{font-size:9px}
#stage[aria-busy=true] canvas{pointer-events:none}
@keyframes garment-trace{0%{stroke-dashoffset:100;opacity:.2}38%,70%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:-100;opacity:.2}}
@keyframes stitch-trace{0%,20%{stroke-dashoffset:100;opacity:0}50%,75%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
@keyframes halo-breathe{0%,100%{transform:scale(.9);opacity:.3}50%{transform:scale(1.05);opacity:.8}}
@keyframes thread-sheen{to{background-position:-200% 0}}
@media(max-width:760px){
 .header .home-link{min-height:32px;padding:0 13px;font-size:11px!important;letter-spacing:.3px!important;height:auto!important}
 .header nav{align-items:center}.header nav .nav-active{display:none}.stage-tools{right:100px}
 #loading{left:50%;top:var(--mobile-scene-center,46%);padding:18px 20px;width:240px;gap:12px}
 .loading-art{width:132px;height:150px}#loading-label{font-size:20px}
 #loading[data-mode=switch]{top:auto;bottom:164px;max-width:calc(100% - 90px);padding:10px 18px}
}
@media(min-width:560px) and (max-height:520px){
 #loading{left:64%;top:48%;width:200px;padding:8px 15px;gap:6px}.loading-art{width:82px;height:94px}.loading-kicker{font-size:6px}#loading-label{font-size:17px}#loading-detail{font-size:9px}
 #loading[data-mode=switch]{bottom:48px;max-width:45%}.stage-tools{right:110px}
}
@media(prefers-reduced-motion:reduce){.garment-outline,.stitch-line,.loading-halo,.loading-track i{animation:none}.garment-outline,.stitch-line{stroke-dashoffset:0}.loading-track i{transition:none}#loading{transition:none}}
