.canopy-air{position:absolute;inset:0;pointer-events:none;overflow:hidden}.canopy-air i{position:absolute;width:12px;height:6px;border-radius:90% 11%;background:#d5e992;box-shadow:inset 1px 1px #f4f4ae;opacity:0;animation:drift 10s linear infinite}.canopy-air i:nth-child(1){top:13%;left:12%}.canopy-air i:nth-child(2){top:39%;left:49%;animation-delay:-3s;scale:.7}.canopy-air i:nth-child(3){top:5%;left:74%;animation-delay:-5s}.canopy-air i:nth-child(4){top:48%;left:4%;animation-delay:-7s}.canopy-air i:nth-child(5){top:7%;left:24%;animation-delay:-9s;scale:.55}@keyframes drift{0%{transform:translate(0,0) rotate(-40deg);opacity:0}15%{opacity:.8}85%{opacity:.6}100%{transform:translate(125px,110px) rotate(160deg);opacity:0}}.wind-off .canopy-air i{animation-play-state:paused;opacity:0}#airBtn{position:absolute;right:22px;top:12px;z-index:6;color:#1c422c;background:#e4edc9d9;border:0;padding:6px 12px;border-radius:99px;font:650 12px/1.4 "Segoe UI",sans-serif}.yarns{position:absolute;right:clamp(10px,2vw,38px);top:22%;z-index:3;display:grid;place-items:center;gap:8px;color:#fff5cd;background:#224e37ed;padding:12px 8px 10px;border:1px solid #bad291;border-radius:16px 16px 22px 22px;box-shadow:0 4px 0 #254d31}.yarns>span,.yarns>strong{font:700 10px/1 Consolas,monospace}.yarns>span{letter-spacing:2px}.yarns #heroDyes{position:static;gap:9px}.yarns .swatch{width:48px;height:30px;border:0;border-radius:2px;background:repeating-linear-gradient(0deg,transparent 0 2px,#153d303d 2px 3px),var(--c);position:relative;box-shadow:inset 1px 2px #fff3,0 3px #132e22}.swatch:before{content:"";position:absolute;inset:-3px 5px;z-index:-1;background:#dfb97a;border-radius:3px}.swatch[aria-pressed=true]:after{background:#224831;padding:0 3px;line-height:16px;border-radius:10px;font-size:11px}#greenwood:after{content:"";position:absolute;inset:auto 0 0;height:6px;z-index:3;background:repeating-linear-gradient(55deg,#264831 0 4px,#adc783 4px 7px,#58764c 7px 11px)}.turntable{padding:4px 6px;background:#1d4d36d9;border-radius:40px;border:1px solid #d3e0aa;bottom:13px}.turntable span{background:transparent;color:#fff6d2;min-width:46px;text-align:center}.turntable button{height:33px;width:36px}.stitched{animation:stitch .5s ease-out}@keyframes stitch{0%{filter:brightness(1.3) saturate(.7);transform:translateY(-3px)}100%{filter:none;transform:none}}.swatch-proof{background:repeating-linear-gradient(35deg,#e5ecd2 0 2px,#e0e8ca 2px 4px);border-radius:48% 48% 3px 3px;max-width:230px;margin:0 auto 12px}.shelf canvas{width:100%}.card #punch{background:#d8bb7d;border:5px solid #9e7a45;padding:8px;box-shadow:0 4px 0 #887249;border-radius:13px 3px 12px 3px}.card #punch button{background:#eaf0cf;border-radius:45%;box-shadow:inset 0 2px 2px #63795577}.card #punch button[aria-pressed=true]{background:#356b47;color:#dbdc9e}
@media(max-width:750px){#character{top:16px;bottom:220px;left:3%;right:6%}.hero-title{bottom:11%;z-index:2}.yarns{right:8px;top:16%;padding:9px 6px;gap:6px}.yarns .swatch{width:36px;height:25px}.yarns>strong{font-size:9px}.reelbar{left:9px}#airBtn{right:8px;top:8px}.turntable{bottom:10px}.hero-title p{background:#1e452aa8;padding:3px 5px}.hero-title span{text-shadow:0 1px 4px #264a2b}.canopy-air i{width:8px;height:4px}}@media(prefers-reduced-motion:reduce){.canopy-air i{opacity:0;animation:none}.stitched{animation:none}}
.pattern-tools{display:flex;gap:8px;align-items:center}.pattern-tools #punch{width:100%}.mini-proof{display:none}.card #punch button[aria-invalid=true]{outline:2px dashed #a75833;outline-offset:-4px}#undoPunch{padding:5px 4px}
@media(max-width:750px){.pattern-tools #punch{max-width:245px;flex:1 1 60%;min-width:0;gap:4px;padding:6px}.mini-proof{display:grid;place-items:center;width:33%;max-width:144px;font:600 11px Consolas,monospace;color:#395642}.mini-proof canvas{width:100%;height:auto;background:#e4ebcc;border-radius:48% 48% 0 0}.yarns .swatch{height:36px;margin-block:2px}.yarns{top:14%}.turntable button{width:44px;height:40px}.hero-title{bottom:10%}#character{bottom:230px}#loom .card{padding-inline:14px}.card #punch button{font-size:20px}.card #punch{min-width:0}.outputs button,.file,#new,#undoPunch{min-height:42px}.tailor .action{min-height:46px}}
@media(max-width:350px){#greenwood{height:597px}.hero-title h1{font-size:72px}.hero-title span{font-size:15px}.yarns{right:5px}.yarns .swatch{width:31px}.turntable{bottom:9px}.hero-title{bottom:12%}.wordmark{font-size:24px}nav{gap:13px}.card #punch button{min-height:25px}.reelbar:has(+video:not([hidden])){top:90px}}
