:is(#homeView,#motionModal){--ink:#202720;--paper:#f7f5ef;--lime:#e3ef91;--orange:#f45b32;--muted:#cfd5c8;--card:#394335;--stage:var(--orange)}
:is(#homeView,#motionModal) *{box-sizing:border-box}
:is(#homeView,#motionModal){margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif}
:is(#homeView,#motionModal) button,:is(#homeView,#motionModal) a,:is(#homeView,#motionModal) input{font:inherit}
:is(#homeView,#motionModal) button{cursor:pointer;border:0}
:is(#homeView,#motionModal) button:focus-visible,:is(#homeView,#motionModal) a:focus-visible,:is(#homeView,#motionModal) input:focus-visible{outline:3px solid #ffb162;outline-offset:4px}
:is(#homeView,#motionModal) button{transition:background .2s,transform .2s,box-shadow .2s}
:is(#homeView,#motionModal) button:hover{transform:translateY(-2px)}
:is(#homeView,#motionModal) button:active{transform:scale(.97)}
:is(#homeView,#motionModal) .experience{max-width:1392px;margin:4px auto 0;padding:20px;display:grid;grid-template-columns:minmax(0,1fr) 546px;gap:14px;border-radius:34px;background:var(--stage);transition:background .65s;min-height:812px}
:is(#homeView,#motionModal) .experience.polo{--stage:#dde6aa}
:is(#homeView,#motionModal) .stage{position:relative;min-width:0;min-height:772px;padding:14px 22px}
:is(#homeView,#motionModal) .hero-copy{position:relative;z-index:2;pointer-events:none}
:is(#homeView,#motionModal) .hero-copy button{pointer-events:auto}
:is(#homeView,#motionModal) .eyebrow{font-size:13px;font-weight:600;margin:0 0 25px}
:is(#homeView,#motionModal) h1{font-size:clamp(34px,3.4vw,47px);letter-spacing:-1.4px;margin:0 0 14px;font-weight:850;white-space:nowrap}
:is(#homeView,#motionModal) .intro{font-size:18px;line-height:1.7;margin:0 0 28px}
:is(#homeView,#motionModal) .start{background:var(--ink);color:var(--paper);padding:15px 23px;border-radius:28px;font-size:15px;font-weight:650}
:is(#homeView,#motionModal) .start span{margin-left:18px}
:is(#homeView,#motionModal) .art{position:absolute;left:0;right:0;top:206px;height:475px;touch-action:pan-y}
:is(#homeView,#motionModal) .backword{position:absolute;top:95px;left:0;width:100%;font-size:clamp(65px,7.3vw,105px);font-weight:900;letter-spacing:2px;white-space:nowrap;color:#d83e1d;opacity:.5;transition:color .6s}
:is(#homeView,#motionModal) .polo .backword{color:#a8b56a}
:is(#homeView,#motionModal) .garment{position:absolute;width:min(480px,83%);aspect-ratio:1;left:50%;top:0;translate:-50% 0;animation:float 5.5s ease-in-out infinite;isolation:isolate}
:is(#homeView,#motionModal) .product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transform:translateY(22px) scale(.95) rotate(-3deg);transition:opacity .42s,transform .65s cubic-bezier(.18,.7,.2,1);pointer-events:none}
:is(#homeView,#motionModal) .product-image.active{opacity:1;transform:translateY(0) scale(1) rotate(0)}
:is(#homeView,#motionModal) .shadow{position:absolute;width:53%;height:25px;background:rgba(30,35,14,.16);border-radius:50%;bottom:14px;left:25%;filter:blur(2px);animation:breathe 5.5s ease-in-out infinite}
:is(#homeView,#motionModal) .minimum{position:absolute;right:34px;top:215px;display:flex;flex-direction:column;padding:18px 23px;background:#fff7ec;border-radius:20px;z-index:3}
:is(#homeView,#motionModal) .minimum strong{font-size:32px}
:is(#homeView,#motionModal) .minimum span{font-size:13px;font-weight:600;margin-top:3px}
:is(#homeView,#motionModal) .effect-label{position:absolute;left:50%;bottom:3px;translate:-50% 0;background:var(--ink);color:var(--lime);border-radius:24px;padding:10px 20px;font-size:13px;opacity:0;z-index:5;white-space:nowrap}
:is(#homeView,#motionModal) .effect-label.show{animation:label-pop 2s both}
:is(#homeView,#motionModal) .focus-ring{position:absolute;display:block;width:25%;height:25%;border:2px solid var(--orange);border-radius:50%;opacity:0;z-index:4;pointer-events:none}
:is(#homeView,#motionModal) .focus-ring.pocket{left:52%;top:27%}
:is(#homeView,#motionModal) .focus-ring.pen{left:74%;top:25%;width:17%;height:26%}
:is(#homeView,#motionModal) .focus-ring.flash{animation:ring 1.1s ease-out 2}
:is(#homeView,#motionModal) .stage-bottom{position:absolute;bottom:0;left:22px;right:22px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
:is(#homeView,#motionModal) .stage-note{font-size:13px;width:100%;margin:0 0 10px}
:is(#homeView,#motionModal) .product-switch{display:flex;padding:6px;border-radius:40px;background:white;width:416px;max-width:100%}
:is(#homeView,#motionModal) .product-switch button{flex:1;padding:14px 12px;border-radius:28px;background:white;font-weight:650;font-size:16px}
:is(#homeView,#motionModal) .product-switch button[aria-pressed=true]{background:var(--ink);color:white}
:is(#homeView,#motionModal) .swipe-note{font-size:11px;margin:0}
:is(#homeView,#motionModal) .config{background:var(--ink);color:var(--paper);border-radius:28px;padding:27px 30px 20px;display:flex;flex-direction:column;position:relative}
:is(#homeView,#motionModal) .config>.eyebrow{color:var(--lime);font-size:11px;margin:0 0 15px}
:is(#homeView,#motionModal) h2{font-size:29px;margin:0 0 22px}
:is(#homeView,#motionModal) h3{font-size:22px;margin:0 0 9px}
:is(#homeView,#motionModal) .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-bottom:22px;border-bottom:1px solid #444c42}
:is(#homeView,#motionModal) .steps button{font-size:12px;white-space:nowrap;padding:14px 4px;border-radius:13px;background:#323b31;color:#c6cec1;font-weight:600}
:is(#homeView,#motionModal) .steps button[aria-current=step]{background:var(--lime);color:var(--ink)}
:is(#homeView,#motionModal) .step-content{padding-top:19px;flex:1;min-height:443px}
:is(#homeView,#motionModal) .step-content.enter{animation:step-in .4s both}
:is(#homeView,#motionModal) .subtext{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 20px}
:is(#homeView,#motionModal) .upload-zone{background:#fff7ec;border:2px dashed transparent;border-radius:20px;padding:26px 14px;text-align:center;color:var(--ink);min-height:242px;display:flex;flex-direction:column;align-items:center;justify-content:center}
:is(#homeView,#motionModal) .upload-zone.dragging{border-color:var(--orange);transform:scale(1.02)}
:is(#homeView,#motionModal) .upload-zone .up{font-size:46px;color:var(--orange)}
:is(#homeView,#motionModal) .upload-zone strong{font-size:20px;margin:6px 0 18px}
:is(#homeView,#motionModal) .upload-zone button{background:var(--orange);padding:13px 25px;border-radius:24px;font-weight:650}
:is(#homeView,#motionModal) .upload-zone small{margin-top:18px;color:#6b7065;font-size:12px}
:is(#homeView,#motionModal) .skip{display:block;background:transparent;color:var(--lime);font-size:14px;margin:20px auto 0;padding:10px}
:is(#homeView,#motionModal) .uploaded{display:flex;gap:10px;flex-wrap:wrap;background:#fff7ec;border-radius:20px;padding:16px;max-height:250px;overflow:auto}
:is(#homeView,#motionModal) .file-card{position:relative;width:calc(50% - 5px);color:var(--ink)}
:is(#homeView,#motionModal) .file-card img{display:block;width:100%;height:120px;object-fit:contain;cursor:zoom-in}
:is(#homeView,#motionModal) .file-card p{font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:5px 0}
:is(#homeView,#motionModal) .file-card button{position:absolute;right:0;top:0;border-radius:50%;width:24px;height:24px;background:var(--ink);color:white}
:is(#homeView,#motionModal) .file-tools{display:flex;gap:10px;margin:14px 0}
:is(#homeView,#motionModal) .file-tools button{flex:1;background:var(--card);color:var(--paper);border-radius:24px;padding:11px;font-size:13px}
:is(#homeView,#motionModal) .fabrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
:is(#homeView,#motionModal) .fabric{display:flex;flex-direction:column;text-align:left;background:var(--card);color:var(--paper);padding:10px 8px 9px;border-radius:15px;border:2px solid transparent}
:is(#homeView,#motionModal) .fabric[aria-pressed=true]{background:var(--lime);color:var(--ink);box-shadow:0 0 0 2px var(--ink),0 0 0 3px var(--lime)}
:is(#homeView,#motionModal) .fabric strong{font-size:14px;margin:0 3px 9px}
:is(#homeView,#motionModal) .fabric img{width:100%;height:65px;object-fit:cover;border-radius:6px}
:is(#homeView,#motionModal) .fabric small{font-size:11px;margin:8px 3px 0}
:is(#homeView,#motionModal) .fabric-description{margin:18px 0 0;color:var(--lime);font-size:15px;line-height:1.6;font-weight:650;border-left:3px solid var(--lime);padding-left:12px;min-height:48px}
:is(#homeView,#motionModal) .options{display:grid;gap:12px}
:is(#homeView,#motionModal) .option{display:flex;align-items:center;gap:16px;padding:17px 20px;min-height:82px;text-align:left;background:var(--card);color:var(--paper);border-radius:16px}
:is(#homeView,#motionModal) .option[aria-pressed=true]{background:var(--lime);color:var(--ink)}
:is(#homeView,#motionModal) .check{font-size:25px;width:27px}
:is(#homeView,#motionModal) .option strong{display:block;font-size:17px}
:is(#homeView,#motionModal) .option small{display:block;font-size:12px;margin-top:7px;opacity:.85}
:is(#homeView,#motionModal) .option .cost{font-size:12px;margin-left:auto;white-space:nowrap}
:is(#homeView,#motionModal) .option-note{margin:20px 0 12px;color:var(--lime);font-size:13px}
:is(#homeView,#motionModal) .processing-hint{font-size:12px;color:var(--muted);line-height:1.6}
:is(#homeView,#motionModal) .no-process{background:var(--card);border-radius:20px;padding:38px 20px;text-align:center}
:is(#homeView,#motionModal) .no-process b{display:block;color:var(--lime);font-size:44px;margin-bottom:18px}
:is(#homeView,#motionModal) .no-process strong{font-size:21px}
:is(#homeView,#motionModal) .no-process p{font-size:13px;color:var(--muted);line-height:1.6}
:is(#homeView,#motionModal) .sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
:is(#homeView,#motionModal) .size{padding:10px 12px;background:var(--card);border-radius:14px}
:is(#homeView,#motionModal) .size label{font-size:12px;color:var(--muted);font-weight:600}
:is(#homeView,#motionModal) .counter{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:7px}
:is(#homeView,#motionModal) .counter button{font-size:23px;color:var(--lime);background:none;padding:0 3px}
:is(#homeView,#motionModal) .counter input{font-weight:650;color:var(--paper);background:none;width:50px;min-width:0;border:0;text-align:center;font-size:20px;appearance:textfield;-moz-appearance:textfield}
:is(#homeView,#motionModal) .counter input::-webkit-inner-spin-button{display:none}
:is(#homeView,#motionModal) .quantity-note{color:var(--lime);font-size:14px;margin:16px 0 5px}
:is(#homeView,#motionModal) .order-footer{border-top:1px solid #444c42;padding-top:20px;margin-top:20px}
:is(#homeView,#motionModal) .price-row{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-bottom:20px;min-height:44px}
:is(#homeView,#motionModal) .price-row span{display:block;font-size:12px;color:#b6c0af;margin-bottom:8px}
:is(#homeView,#motionModal) .price-row strong{display:block;font-size:20px}
:is(#homeView,#motionModal) .price-row small{font-size:11px;color:#b6c0af;text-align:right;max-width:185px;line-height:1.5}
:is(#homeView,#motionModal) .next{width:100%;display:flex;justify-content:space-between;padding:14px 22px;border-radius:28px;background:var(--lime);color:var(--ink);font-weight:650;font-size:15px}
:is(#homeView,#motionModal) #validation{margin:0;font-size:13px;color:#ffc18d}
:is(#homeView,#motionModal) #validation:not(:empty){margin-top:12px}
#motionModal{position:fixed;inset:0;margin:auto;height:fit-content;border:0;border-radius:25px;padding:35px;background:var(--paper);color:var(--ink);max-width:620px;width:calc(100% - 32px);max-height:min(90vh,calc(100dvh - 32px));overflow-y:auto;overscroll-behavior:contain}
#motionModal::backdrop{background:#141b17b3;backdrop-filter:blur(5px)}
#motionModal .close{position:absolute;top:10px;right:15px;font-size:28px;background:none}
:is(#homeView,#motionModal) .reference-full{width:100%;max-height:65vh;object-fit:contain}
:is(#homeView,#motionModal) .summary-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #d7dbcf;font-size:14px}
:is(#homeView,#motionModal) .summary-row span{color:#65705e}
:is(#homeView,#motionModal) .summary-row strong{max-width:65%;text-align:right}
:is(#homeView,#motionModal) .review-note{font-size:13px;line-height:1.8;color:#687160}
#motionModal .next{margin-top:24px}
:is(#homeView,#motionModal) .success-icon{width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:var(--lime);font-size:40px;margin:20px auto}
:is(#homeView,#motionModal) .success{text-align:center}
:is(#homeView,#motionModal) .success h3{margin:20px 0 10px}
#toast{position:fixed;bottom:30px;left:50%;translate:-50% 0;background:var(--ink);color:var(--lime);padding:14px 24px;border-radius:30px;opacity:0;pointer-events:none;z-index:10;font-size:14px;transition:opacity .2s}
#toast.show{opacity:1}
@keyframes float{0%,100%{transform:translateY(0) rotate(-.8deg)}50%{transform:translateY(-10px) rotate(.8deg)}}
@keyframes breathe{50%{transform:scaleX(.9);opacity:.7}}
@keyframes step-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes ring{0%{opacity:0;scale:.75}35%{opacity:1;scale:1}100%{opacity:0;scale:1.25}}
@keyframes label-pop{0%{opacity:0;transform:translateY(10px) scale(.92)}15%,75%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-8px)}}
@media(min-width:1450px){:is(#homeView,#motionModal) .swipe-note{max-width:200px}
}
@media(max-width:1200px){:is(#homeView,#motionModal) .experience{margin:4px 16px 0;grid-template-columns:minmax(0,1fr) 480px}
:is(#homeView,#motionModal) .config{padding:25px 22px}
:is(#homeView,#motionModal) .stage{padding-left:10px}
:is(#homeView,#motionModal) .hero-copy h1{font-size:34px}
:is(#homeView,#motionModal) .intro{font-size:16px}
:is(#homeView,#motionModal) .minimum{right:0}
:is(#homeView,#motionModal) .backword{font-size:67px}
:is(#homeView,#motionModal) .stage-bottom{left:10px}
:is(#homeView,#motionModal) .swipe-note{display:none}
:is(#homeView,#motionModal) .steps{gap:5px}
:is(#homeView,#motionModal) .steps button{font-size:11px}
:is(#homeView,#motionModal) .fabric-description{font-size:14px}
}
@media(max-width:950px){:is(#homeView,#motionModal) .experience{grid-template-columns:1fr;max-width:720px;margin:0 auto;padding:16px}
:is(#homeView,#motionModal) .stage{min-height:735px;padding:14px}
:is(#homeView,#motionModal) .hero-copy h1{font-size:40px}
:is(#homeView,#motionModal) .intro{font-size:17px}
:is(#homeView,#motionModal) .art{top:210px;height:440px}
:is(#homeView,#motionModal) .garment{width:440px}
:is(#homeView,#motionModal) .minimum{right:20px}
:is(#homeView,#motionModal) .stage-bottom{left:14px;bottom:5px}
:is(#homeView,#motionModal) .stage-note{margin-bottom:0}
:is(#homeView,#motionModal) .backword{font-size:85px}
:is(#homeView,#motionModal) .config{padding:27px;min-height:770px}
:is(#homeView,#motionModal) .steps button{font-size:13px}
:is(#homeView,#motionModal) .step-content{min-height:420px}
:is(#homeView,#motionModal) .fabric img{height:84px}
:is(#homeView,#motionModal) .fabric-description{font-size:15px}
:is(#homeView,#motionModal) .swipe-note{display:block}
}
@media(max-width:520px){:is(#homeView,#motionModal) .experience{margin:0 8px;padding:10px;border-radius:24px}
:is(#homeView,#motionModal) .stage{min-height:650px;padding:16px 10px}
:is(#homeView,#motionModal) .eyebrow{font-size:11px;margin-bottom:20px}
:is(#homeView,#motionModal) .hero-copy h1{font-size:29px;letter-spacing:-.7px}
:is(#homeView,#motionModal) .intro{font-size:14px;margin-bottom:18px}
:is(#homeView,#motionModal) .start{font-size:13px;padding:12px 18px}
:is(#homeView,#motionModal) .art{top:215px;height:335px}
:is(#homeView,#motionModal) .garment{width:330px;max-width:95%}
:is(#homeView,#motionModal) .backword{font-size:46px;top:80px;left:0}
:is(#homeView,#motionModal) .minimum{top:160px;right:0;padding:12px;border-radius:14px}
:is(#homeView,#motionModal) .minimum strong{font-size:25px}
:is(#homeView,#motionModal) .minimum span{font-size:11px}
:is(#homeView,#motionModal) .shadow{bottom:18px}
:is(#homeView,#motionModal) .stage-bottom{left:10px;right:10px;bottom:12px;gap:12px}
:is(#homeView,#motionModal) .stage-note{font-size:11px}
:is(#homeView,#motionModal) .swipe-note{display:none}
:is(#homeView,#motionModal) .product-switch button{font-size:14px;padding:12px 8px}
:is(#homeView,#motionModal) .config{padding:24px 16px;min-height:770px;border-radius:22px}
:is(#homeView,#motionModal) h2{font-size:24px}
:is(#homeView,#motionModal) h3{font-size:20px}
:is(#homeView,#motionModal) .steps{gap:5px}
:is(#homeView,#motionModal) .steps button{font-size:10px;padding:13px 2px}
:is(#homeView,#motionModal) .fabrics{gap:8px}
:is(#homeView,#motionModal) .fabric{padding:8px 5px}
:is(#homeView,#motionModal) .fabric strong{font-size:12px}
:is(#homeView,#motionModal) .fabric img{height:64px}
:is(#homeView,#motionModal) .fabric small{font-size:10px}
:is(#homeView,#motionModal) .fabric-description{font-size:14px}
:is(#homeView,#motionModal) .option{padding:15px 12px;gap:9px}
:is(#homeView,#motionModal) .option strong{font-size:16px}
:is(#homeView,#motionModal) .option .cost{font-size:10px}
:is(#homeView,#motionModal) .option small{font-size:11px}
:is(#homeView,#motionModal) .size{padding:10px 7px}
:is(#homeView,#motionModal) .counter input{width:35px}
:is(#homeView,#motionModal) .counter button{font-size:21px}
:is(#homeView,#motionModal) .price-row strong{font-size:18px}
:is(#homeView,#motionModal) .price-row small{max-width:130px}
:is(#homeView,#motionModal) .effect-label{font-size:11px}
:is(#homeView,#motionModal) .step-content{min-height:425px}
}
@media(prefers-reduced-motion:reduce){:is(#homeView,#motionModal) *,:is(#homeView,#motionModal) *::before,:is(#homeView,#motionModal) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
:is(#homeView,#motionModal) .effect-label.show{opacity:1}
}
:is(#homeView,#motionModal) .quantity-offer{margin:14px 0 0;padding:3px 0 3px 12px;background:transparent;color:#cfd5c8;border-radius:0;border:0;border-left:2px solid #68745f;box-shadow:none;cursor:default}
:is(#homeView,#motionModal) .quantity-offer strong{display:block;font-size:14px;font-weight:500;line-height:1.6}
:is(#homeView,#motionModal) .quantity-offer small{display:block;font-size:12px;line-height:1.6;margin-top:3px;color:#aeb8a8}
:is(#homeView,#motionModal) .quantity-offer[data-kind=minimum]{border-left-color:#cfa66e}
:is(#homeView,#motionModal) .quantity-offer[data-kind=minimum] strong{color:#ffd39b}
:is(#homeView,#motionModal) .quantity-offer[data-kind=best]{border-left-color:#b5c984}
:is(#homeView,#motionModal) .ready-note{font-size:12px;color:#cfd5c8;text-align:center;margin:10px 0 0;line-height:1.6}
:is(#homeView,#motionModal) .ready-note:empty{display:none}
@media(max-width:520px){:is(#homeView,#motionModal) .quantity-offer strong{font-size:13px}
:is(#homeView,#motionModal) .quantity-offer small{font-size:11px}
}
:is(#homeView,#motionModal) .quantity-offer[data-kind=offer]{border-left-color:#cfa66e}
:is(#homeView,#motionModal) .quantity-offer[data-kind=offer] strong{color:#ffd39b;font-weight:700}
:is(#homeView,#motionModal) .line-cta{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:18px 20px;background:#087f3e;color:#fff;border-radius:28px;font-size:18px;font-weight:750;text-decoration:none;box-shadow:0 8px 20px #087f3e25;transition:transform .2s,background .2s}
:is(#homeView,#motionModal) .line-cta:hover{background:#066c34;transform:translateY(-2px)}
:is(#homeView,#motionModal) .line-cta:focus-visible{outline:3px solid #f45b32;outline-offset:4px}
:is(#homeView,#motionModal) .line-wordmark{font-size:12px;letter-spacing:.3px;border:1px solid #ffffff7a;padding:5px 7px;border-radius:12px}
:is(#homeView,#motionModal) .success .success-icon{background:#e3f5e6;color:#087f3e}
:is(#homeView,#motionModal) .success h3{font-size:27px;margin:18px 0 12px}
:is(#homeView,#motionModal) .success-lead{color:#596653;font-size:16px;line-height:1.8;margin:0 0 25px}
:is(#homeView,#motionModal) .success .line-cta{margin-top:24px}
:is(#homeView,#motionModal) .success .simulation-note{font-size:12px;color:#71766e;line-height:1.7;margin:18px 0 10px}
:is(#homeView,#motionModal) .back-design{background:transparent;color:#596653;padding:10px 16px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:520px){:is(#homeView,#motionModal) .line-cta{font-size:16px;padding:17px 14px;gap:8px}
:is(#homeView,#motionModal) .success h3{font-size:23px}
:is(#homeView,#motionModal) .success-lead{font-size:14px}
}

/* Reset V5 control defaults inside the immersive configurator only. */
#homeView button{color:inherit;text-align:inherit;line-height:normal}
#homeView .start,#homeView .product-switch button[aria-pressed=true]{color:#f7f5ef}
#homeView .counter button{color:#e3ef91}
#homeView .steps button{color:#c6cec1}
#homeView .steps button[aria-current=step],#homeView .next,#homeView .option[aria-pressed=true],#homeView .fabric[aria-pressed=true]{color:#202720}
#homeView .counter input{padding:0;line-height:1.4;box-shadow:none}
#homeView .product-switch button{color:#202720}
#homeView .size-tools{display:flex;justify-content:flex-end;gap:14px;margin:0 0 14px;font-size:12px;color:#e3ef91}
#homeView .size-tools button{padding:0;background:none;color:inherit;font-size:inherit}
#homeView .upload-zone button{color:#202720}
#motionModal .close{color:#202720;padding:2px 10px}
#motionModal .next{color:#202720}
#homeView .counter{min-width:0}
#homeView .counter button{min-width:24px}
#homeView .config{scroll-margin-top:100px}
#homeView .size label{display:block}
#homeView .fabrics button{display:flex}
#toast{z-index:40;background:#202720;color:#e3ef91;max-width:calc(100vw - 32px);width:max-content;text-align:center;line-height:1.5;overflow-wrap:anywhere}
#homeView .stage .eyebrow{color:#202720}
@media(max-width:520px){#homeView .price-row{align-items:flex-start;flex-direction:column}#homeView .price-row small{text-align:left;max-width:none}}

/* Legible supporting copy and fixed-size circular controls. */
:is(#homeView,#motionModal) .option small{color:#e6ebdf;font-size:13px;line-height:1.55;opacity:1;font-weight:500}
:is(#homeView,#motionModal) .option[aria-pressed=true] small{color:#36402b}
:is(#homeView,#motionModal) .fabric small{color:#e6ebdf;font-size:12px;opacity:1}
:is(#homeView,#motionModal) .fabric[aria-pressed=true] small{color:#36402b}
:is(#homeView,#motionModal) .file-card button{width:36px;height:36px;min-width:36px;min-height:36px;aspect-ratio:1;padding:0;display:grid;place-items:center;line-height:1;font-size:24px;flex:none}
#motionModal .close{width:40px;height:40px;min-width:40px;aspect-ratio:1;padding:0;display:grid;place-items:center;line-height:1;border-radius:50%}

/* Keep the primary hit target still; animate its arrow instead. */
#homeView #next,#motionModal #checkoutContinue{transform:none;min-height:44px;position:relative;z-index:1}
#homeView #next span,#motionModal #checkoutContinue span{pointer-events:none;transition:translate .2s}
#homeView #next:hover span,#motionModal #checkoutContinue:hover span{translate:3px 0}
#homeView .step-content{scroll-margin-top:calc(var(--header) + 16px)}
#homeView .step-content h3:focus{outline:none}
#homeView .upload-explainer{line-height:1.65}

/* Desktop: keep the whole ordering workspace in the first viewport. */
@media(min-width:951px){
 #homeView .experience{height:calc(100svh - var(--header) - 16px);min-height:0;margin-top:0;padding:14px;gap:14px}
 #homeView .stage{min-height:0;padding:12px 20px;display:flex;flex-direction:column}
 #homeView .hero-copy{flex:none}
 #homeView .hero-copy .eyebrow{margin-bottom:14px}
 #homeView .hero-copy h1{font-size:clamp(28px,3.15vw,45px);margin-bottom:10px}
 #homeView .intro{font-size:16px;line-height:1.65;margin-bottom:16px}
 #homeView .start{padding:12px 20px;font-size:14px}
 #homeView .art{position:relative;inset:auto;flex:1;min-height:0;height:auto;margin:0 -20px}
 #homeView .garment{width:auto;height:100%;max-height:470px;max-width:92%;top:50%;translate:-50% -50%}
 #homeView .backword{top:35%;font-size:clamp(48px,6.7vw,100px);text-align:center}
 #homeView .shadow{bottom:1%;height:16px}
 #homeView .minimum{top:45%;right:10px;padding:12px 16px;border-radius:16px}
 #homeView .minimum strong{font-size:27px}
 #homeView .effect-label{bottom:0}
 #homeView .stage-bottom{position:static;flex:none;gap:9px;margin-top:8px}
 #homeView .stage-note{margin:0;font-size:12px;font-weight:600}
 #homeView .product-switch{padding:5px;width:350px}
 #homeView .product-switch button{padding:11px;font-size:15px}
 #homeView .swipe-note{font-size:10px}
 #homeView .config{min-height:0;padding:20px 24px 16px}
 #homeView .config>.eyebrow{margin-bottom:9px}
 #homeView .config h2{font-size:26px;margin-bottom:14px}
 #homeView .steps{padding-bottom:14px;flex:none}
 #homeView .steps button{padding:12px 3px}
 #homeView .step-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:14px;flex:1}
 #homeView .step-content h3{font-size:21px;margin-bottom:6px}
 #homeView .subtext{margin-bottom:12px}
 #homeView .upload-zone{min-height:0;padding:16px 12px}
 #homeView .upload-zone .up{font-size:34px;line-height:1.2}
 #homeView .upload-zone strong{font-size:18px;margin:5px 0 12px}
 #homeView .upload-zone button{padding:11px 22px}
 #homeView .upload-zone small{margin-top:12px}
 #homeView .skip{margin:8px auto 0;padding:8px}
 #homeView .uploaded{padding:12px;max-height:175px}
 #homeView .file-card img{height:90px}
 #homeView .file-tools{margin:10px 0}
 #homeView .fabrics{gap:10px}
 #homeView .fabric img{height:clamp(45px,7.5vh,70px)}
 #homeView .fabric strong{margin-bottom:6px}
 #homeView .fabric small{margin-top:6px}
 #homeView .fabric-description{min-height:0;margin-top:12px;font-size:14px}
 #homeView .options{gap:10px}
 #homeView .option{min-height:70px;padding:12px 16px}
 #homeView .option small{margin-top:4px}
 #homeView .option-note{margin:12px 0 6px}
 #homeView .processing-hint{margin:0}
 #homeView .size-tools{margin-bottom:8px}
 #homeView .sizes{gap:7px}
 #homeView .size{padding:6px 10px}
 #homeView .size label{font-size:11px;line-height:1.3}
 #homeView .counter{margin-top:2px}
 #homeView .counter input{font-size:18px}
 #homeView .counter button{font-size:21px}
 #homeView .quantity-note{margin:9px 0 3px;font-size:13px}
 #homeView .quantity-offer{margin-top:8px;padding-top:0;padding-bottom:0}
 #homeView .quantity-offer strong{font-size:13px}
 #homeView .quantity-offer small{font-size:11px;margin-top:2px}
 #homeView .order-footer{flex:none;margin-top:12px;padding-top:12px}
 #homeView .price-row{min-height:0;margin-bottom:10px}
 #homeView .price-row span{margin-bottom:3px;font-size:11px}
 #homeView .price-row strong{font-size:19px}
 #homeView .next{padding:12px 20px}
 #homeView .ready-note{margin-top:5px}
}
@media(min-width:951px) and (max-height:780px){
 #homeView .experience{padding:10px;gap:10px}
 #homeView .config{padding:14px 20px 12px}
 #homeView .config>.eyebrow{font-size:10px;margin-bottom:6px}
 #homeView .config h2{font-size:24px;margin-bottom:10px}
 #homeView .steps{padding-bottom:10px}
 #homeView .steps button{padding:10px 3px;font-size:11px}
 #homeView .step-content{padding-top:10px}
 #homeView .step-content h3{font-size:19px;margin-bottom:4px}
 #homeView .subtext{font-size:12px;margin-bottom:8px}
 #homeView .hero-copy .eyebrow{font-size:11px;margin-bottom:10px}
 #homeView .intro{font-size:14px;margin-bottom:12px}
 #homeView .stage{padding:8px 14px}
 #homeView .stage-bottom{gap:7px}
 #homeView .stage-note{font-size:11px}
 #homeView .product-switch button{padding:9px;font-size:14px}
 #homeView .swipe-note{display:none}
 #homeView .uploaded{max-height:150px}
 #homeView .file-card img{height:78px}
 #homeView .upload-zone{padding:12px}
 #homeView .upload-zone .up{font-size:28px}
 #homeView .upload-zone strong{font-size:17px;margin-bottom:8px}
 #homeView .upload-zone small{font-size:11px;margin-top:8px}
 #homeView .upload-zone button{padding:10px 20px}
 #homeView .option{min-height:62px;padding:10px 14px}
 #homeView .option strong{font-size:16px}
 #homeView .option small{font-size:12px}
 #homeView .size-tools{font-size:11px;margin-bottom:6px}
 #homeView .sizes{gap:5px}
 #homeView .size{padding:5px 9px}
 #homeView .quantity-note{margin-top:6px}
 #homeView .quantity-offer{margin-top:5px}
 #homeView .order-footer{margin-top:8px;padding-top:8px}
 #homeView .price-row{margin-bottom:8px}
 #homeView .price-row strong{font-size:18px}
}
/* Leave a separate lane for the floating LINE control beside the desktop CTA. */
@media(min-width:951px){#homeView #next{width:calc(100% - 66px)}}
/* Clear inherited V5 card spacing so the V6 grids retain their own layout. */
#homeView .sizes{padding:0;background:transparent;border:0;box-shadow:none}
#homeView .fabric{gap:0;align-items:stretch;justify-content:flex-start}
@media(min-width:951px) and (max-height:780px){
 #homeView .fabric img{height:46px}
 #homeView .fabric-description{margin-top:8px;font-size:13px}
 #homeView .size{padding:4px 9px}
 #homeView .counter button{line-height:1;height:26px}
 #homeView .quantity-offer small{line-height:1.4}
}
@media(min-width:951px) and (max-height:780px){
 :root:has(#homeView:not([hidden])){--header:72px}
 #homeView .ready-note{display:none}
 #homeView .quantity-offer{margin-top:3px}
}
@media(min-width:951px){#homeView .experience{width:calc(100% - 32px);margin-inline:auto}}
@media(min-width:951px) and (max-height:780px){#homeView .quantity-offer{margin-top:0}}

/* Keep assistance secondary to the quantity controls, but comfortably readable. */
#homeView .size-tools{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:12px 0;font-size:13px}
#homeView .size-tools button,#homeView .size-tools a{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid #73835a;border-radius:12px;background:#303a2e;color:#e3ef91;text-decoration:none;font-weight:600}
#homeView .size label{font-size:16px;line-height:1.4;font-weight:750;color:#f7f5ef}
#homeView .counter input{font-size:22px}
#homeView .quantity-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;align-items:start;margin-top:14px}
#homeView .quantity-note{margin:0 0 4px;font-size:14px;font-weight:650}
#homeView .quantity-disclaimer{margin:0;font-size:12px;color:#cfd5c8;line-height:1.6}
#homeView .quantity-offer{margin:0;padding:0 0 0 12px}
#homeView .quantity-offer strong{font-size:13px}
#homeView .quantity-offer small{font-size:12px}
#homeView .source-file-offer{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin:0 0 14px;border:1px solid #718052;border-radius:14px;background:#303a2e;color:#edf3bd;font-size:14px;line-height:1.6;cursor:pointer}
#homeView .source-file-offer input{width:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#e3ef91}
#homeView .source-file-offer small{display:block;color:#cfd5c8;font-size:12px;font-weight:400}
#motionModal .summary-row{gap:20px;align-items:flex-start}
#motionModal .summary-row strong{overflow-wrap:anywhere;text-align:right;max-width:65%}
#motionModal .pricing-notice{font-size:12px;color:#65574d;line-height:1.8;margin:18px 0}
#motionModal #checkoutContinue{position:sticky;bottom:0;z-index:2;box-shadow:0 -12px 16px #f7f5ef}
@media(max-width:600px){#homeView .quantity-summary{grid-template-columns:1fr;gap:16px}#homeView .source-file-offer{font-size:13px}#motionModal .summary-row{gap:12px;font-size:14px}}

/* The active step and its actions share one desktop viewport. Artwork yields
   its flexible space instead of increasing the grid's intrinsic height. */
@media(min-width:951px){
 #homeView #experience{height:calc(100svh - var(--header) - 12px);min-height:0;padding:12px;margin-top:0}
 #homeView #experience .stage{min-height:0;overflow:visible}
 #homeView #experience .art{flex:1 1 0;min-height:0;overflow:hidden}
 #homeView #experience .config{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;padding:18px 22px 14px}
 #homeView #experience .config>.eyebrow{margin-bottom:6px}
 #homeView #experience .config h2{margin-bottom:10px;font-size:25px}
 #homeView #experience .steps{padding-bottom:12px}
 #homeView #experience .steps button{padding:10px 4px;font-size:12px;min-height:40px}
 #homeView #experience .step-content{min-height:0;max-height:none;overflow:visible;padding-top:12px}
 #homeView #experience .step-content h3{font-size:21px;line-height:1.4;margin-bottom:5px}
 #homeView #experience .subtext{font-size:13px;line-height:1.5;margin-bottom:10px}
 #homeView #experience .upload-zone{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;min-height:112px;padding:14px}
 #homeView #experience .upload-zone .up{font-size:28px;line-height:1.2}
 #homeView #experience .upload-zone strong{font-size:16px;margin:0}
 #homeView #experience .upload-zone button{font-size:14px;padding:10px 18px;min-height:40px}
 #homeView #experience .upload-zone small{grid-column:1/-1;margin:0;font-size:12px}
 #homeView #experience .uploaded{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;max-height:none;overflow:visible}
 #homeView #experience .uploaded:has(.file-card:nth-child(4)){grid-template-columns:repeat(6,minmax(0,1fr))}
 #homeView #experience .file-card{width:auto;min-width:0}
 #homeView #experience .file-card img{height:70px;width:100%;object-fit:contain}
 #homeView #experience .file-card p{font-size:11px;line-height:1.4;margin:4px 0 0}
 #homeView #experience .file-card button{width:24px;height:24px;min-width:24px;min-height:24px;padding:0;line-height:1;font-size:18px}
 #homeView #experience .file-tools{margin:8px 0;gap:8px}
 #homeView #experience .file-tools button{min-height:36px;padding:7px 12px;font-size:13px}
 #homeView #experience .upload-status{font-size:12px;margin:0 0 10px}
 #homeView #experience .source-file-offer{margin:12px 0 6px;padding:11px 12px;font-size:13px;line-height:1.5}
 #homeView #experience .source-file-offer small{font-size:12px;line-height:1.5;margin-top:3px}
 #homeView #experience .skip{margin:0 auto;padding:7px 12px;min-height:36px}
 #homeView #experience .order-footer{margin-top:8px;padding-top:10px}
 #homeView #experience .price-row{margin-bottom:9px;gap:12px}
 #homeView #experience .price-row span{margin-bottom:2px;font-size:12px}
 #homeView #experience .price-row strong{font-size:21px;line-height:1.4}
 #homeView #experience .price-row small{font-size:12px}
 #homeView #experience #next{min-height:44px;padding:11px 18px;font-size:15px}
 #homeView #experience .ready-note{margin:0;font-size:12px}
 #homeView #experience .draft-status{margin:6px 0 0;font-size:11px;line-height:1.5}
 #homeView #experience .draft-status:empty,#homeView #experience .ready-note:empty{display:none}
 #homeView #experience .fabrics{gap:10px}
 #homeView #experience .fabric{padding:9px 8px}
 #homeView #experience .fabric img{height:65px}
 #homeView #experience .fabric strong{font-size:14px;margin-bottom:6px}
 #homeView #experience .fabric small{font-size:12px;margin-top:6px}
 #homeView #experience .fabric-description{font-size:13px;line-height:1.6;margin-top:12px;min-height:0}
 #homeView #experience .size-tools{margin:6px 0 8px;gap:8px}
 #homeView #experience .size-tools button,#homeView #experience .size-tools a{min-height:36px;padding:6px 11px}
 #homeView #experience .sizes{gap:7px}
 #homeView #experience .size{padding:6px 10px}
 #homeView #experience .size label{font-size:16px;line-height:1.25}
 #homeView #experience .counter{margin-top:2px}
 #homeView #experience .counter input{font-size:21px;padding:0;height:28px;line-height:28px}
 #homeView #experience .counter button{min-width:28px;min-height:28px;font-size:23px;line-height:1;padding:0}
 #homeView #experience .quantity-summary{gap:12px;margin-top:10px}
 #homeView #experience .quantity-note{font-size:13px;line-height:1.5}
 #homeView #experience .quantity-disclaimer,#homeView #experience .quantity-offer small{font-size:12px;line-height:1.5}
}
@media(min-width:951px) and (max-height:780px){
 #homeView #experience{padding:10px}
 #homeView #experience .config{padding:12px 18px 10px}
 #homeView #experience .config>.eyebrow{font-size:10px;margin-bottom:4px}
 #homeView #experience .config h2{font-size:23px;margin-bottom:7px}
 #homeView #experience .steps{padding-bottom:9px}
 #homeView #experience .steps button{min-height:36px;padding:8px 3px;font-size:12px}
 #homeView #experience .step-content{padding-top:9px}
 #homeView #experience .step-content h3{font-size:20px;margin-bottom:4px}
 #homeView #experience .subtext{font-size:12px;margin-bottom:8px}
 #homeView #experience .fabric img{height:38px}
 #homeView #experience .fabric-description{margin-top:9px;font-size:13px}
 #homeView #experience .option{min-height:60px;padding:10px 12px}
 #homeView #experience .option strong{font-size:16px}
 #homeView #experience .option-note{margin:10px 0 5px}
 #homeView #experience .processing-hint{font-size:12px;line-height:1.5}
 #homeView #experience .source-file-offer{margin-top:10px;padding:10px 12px}
 #homeView #experience .file-card img{height:58px}
 #homeView #experience .size{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;padding:6px 9px}
 #homeView #experience .counter{flex:1;max-width:114px;margin:0}
 #homeView #experience .counter input{width:50px;font-size:20px}
 #homeView #experience .quantity-summary{margin-top:8px}
 #homeView #experience .order-footer{margin-top:7px;padding-top:8px}
 #homeView #experience .price-row strong{font-size:20px}
 #homeView #experience .draft-status{font-size:11px;margin-top:5px}
}
