:root{font-family:"Helvetica Neue",Arial,"Microsoft YaHei",sans-serif;color:#292b31;background:#e9e8e1;font-synthesis:none;--ink:#303342;--paper:#e9e8e1;--line:#aaa99f}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,#stage:focus-visible{outline:2px solid #565c79;outline-offset:5px}button:not(:disabled):active{transform:scale(.97)}[hidden]{display:none!important}#app{height:100dvh;min-height:660px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 27%,#f1f0e9 0%,#e9e8e1 58%,#dfded7 100%)}#app:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.3' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}header{height:100px;position:absolute;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:0 5.5%}.wordmark{font-family:Georgia,"Times New Roman",serif;font-style:italic;letter-spacing:-1.8px;font-size:34px;color:inherit;text-decoration:none;position:absolute;left:50%;transform:translateX(-50%);line-height:1.3;white-space:nowrap}.text-btn{font-size:10px;letter-spacing:1.5px;min-height:40px}.text-btn span{font-size:10px;margin-left:7px;letter-spacing:1px}.text-btn b{font-weight:400}#bagBtn,#closeDetail{margin-left:auto}.collection-note{position:absolute;top:132px;left:5.5%;right:5.5%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#65665f;pointer-events:none;z-index:2}#stage{position:absolute;inset:0;touch-action:none;cursor:grab}#stage:active{cursor:grabbing}canvas{display:block;width:100%;height:100%}#loading{position:absolute;top:40%;text-align:center;width:100%;font-size:13px;letter-spacing:2px}#productInfo{position:absolute;top:66%;left:50%;transform:translateX(-50%);text-align:center;z-index:3;width:90%;pointer-events:none}#productInfo button{pointer-events:auto}#productName{font-size:15px;margin:0 0 8px;font-weight:400}#price{font-size:12px;color:#696a63;margin:0 0 24px}.outline{border:1px solid #8e9087;border-radius:40px;min-height:39px;padding:9px 22px;font-size:10px;letter-spacing:1.2px;background:#e9e8e155;transition:background .2s}.outline span{font-size:10px;letter-spacing:1px;margin-left:8px}.outline:hover{background:#d9d9d0}.browse-arrows{position:absolute;top:46%;left:5.5%;right:5.5%;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.circle{width:38px;height:38px;border:1px solid #999b92;border-radius:50%;font-size:18px;display:inline-flex;align-items:center;justify-content:center;pointer-events:auto;background:#e9e8e133;transition:background .2s}.circle:hover{background:#deded5}#browseTools{position:absolute;bottom:66px;left:0;right:0;text-align:center;z-index:3}#browseTools p{font-size:10px;letter-spacing:1.5px;color:#64665f;margin:14px 0 3px}#dots{display:flex;gap:13px;justify-content:center}#dots button{height:14px;width:14px;padding:3px}#dots button:after{content:"";display:block;height:5px;width:5px;border-radius:50%;background:#b6b8ae}#dots button[aria-pressed=true]:after{background:#363c40;transform:scale(1.2)}footer{position:absolute;bottom:0;height:34px;background:#444b6b;color:#f0efe8;display:flex;justify-content:space-around;align-items:center;gap:65px;white-space:nowrap;width:100%;font-size:9px;letter-spacing:1.5px;padding:0 25px;z-index:3}#detailInfo{position:absolute;top:65%;left:50%;transform:translateX(-50%);text-align:center;z-index:3;width:360px;max-width:85%}#detailName{font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.2;font-style:italic;font-weight:400;letter-spacing:-.8px;margin:0 0 9px}#description{font-size:11px;line-height:1.7;color:#676961;margin:0 auto 15px;max-width:340px}#sizes{display:flex;justify-content:center;gap:10px;border:0;padding:0;margin:0 0 16px}#sizes button{border:1px solid #b1b3a8;border-radius:50%;width:34px;height:34px;font-size:10px}#sizes button.chosen{background:var(--ink);color:white;border-color:var(--ink)}.primary{border-radius:40px;background:var(--ink);color:#f6f5ef;font-size:11px;letter-spacing:1.4px;min-height:43px;padding:12px 24px;transition:background .2s}.primary:hover{background:#484e64}#addBag{width:100%}.rotation-tools{display:flex;justify-content:center;gap:20px;position:absolute;top:-43px;left:0;right:0}.rotation-tools button{font-size:9px;letter-spacing:.7px;color:#5e615b}.rotation-tools button[aria-pressed=true]{color:#292b31;text-decoration:underline}.detail .collection-note,.detail #browseTools,.detail #productInfo{display:none}.detail .browse-arrows{top:40%;left:max(5.5%,calc(50% - 260px));right:max(5.5%,calc(50% - 260px))}.detail footer{background:transparent;color:#70726b}.detail footer span:not(:nth-child(2)){visibility:hidden}dialog{border:1px solid #c7c8bd;border-radius:2px;background:#efeee7;color:#292b31;padding:30px;max-height:88dvh;width:470px;max-width:calc(100% - 28px);box-shadow:0 20px 90px #1f251b20}dialog::backdrop{background:#272c2a40;backdrop-filter:blur(7px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.dialog-head h2{font-size:18px;font-weight:400;margin:0}.dialog-head i{display:block;font-family:Georgia,serif;font-size:27px;margin-top:6px;letter-spacing:-.8px}.muted{color:#666960;font-size:12px;line-height:1.8}.small{font-size:10px;letter-spacing:.3px;line-height:1.8}.wide{width:100%;margin-top:16px}#indexList{margin-top:23px}.index-item{display:flex;align-items:center;width:100%;gap:15px;border-top:1px solid #d0d1c6;padding:15px 0;text-align:left}.swatch{width:34px;height:42px;flex:none;border-radius:2px;box-shadow:inset 0 0 0 1px #0001}.index-item strong{font-size:12px;font-weight:400;display:block}.index-item small{font-size:10px;display:block;color:#666960;margin-top:5px}.index-item .num{margin-left:auto;font-size:10px;color:#74766d}.bag-row{display:grid;grid-template-columns:34px 1fr auto;gap:14px;align-items:start;border-top:1px solid #d0d1c6;padding:20px 0}.bag-row strong{font-size:12px;font-weight:400}.bag-row p{font-size:10px;color:#666960;margin:6px 0}.qty{display:flex;gap:15px;align-items:center;font-size:11px;margin-top:10px}.qty button{width:26px;height:26px;border:1px solid #b1b3a8;border-radius:50%}.bag-total{display:flex;justify-content:space-between;border-top:1px solid #a9ac9f;padding:20px 0}.empty{text-align:center;padding:55px 10px;font-family:Georgia,serif;font-size:24px;font-style:italic}.empty small{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:11px;display:block;margin-top:15px;font-style:normal}label{display:block;font-size:11px;line-height:1.8;margin-top:16px}input:not([type=file]):not([type=color]),select{display:block;width:100%;border:1px solid #b7b9ad;border-radius:2px;background:transparent;min-height:40px;padding:10px;font:inherit;color:inherit;margin-top:5px}input::placeholder{color:#74776d}input[type=color]{display:block;margin-top:5px;width:100%;height:40px;border:1px solid #b7b9ad;background:transparent}input[type=file]{display:block;width:100%;font-size:10px;margin-top:7px}input[type=file]::file-selector-button{border:1px solid #b7b9ad;background:transparent;padding:8px;border-radius:2px;color:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-row img{display:block;width:100%;max-height:120px;object-fit:contain;margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#uploadError{font-size:11px;color:#a0392d}#toast{position:fixed;bottom:65px;left:50%;transform:translate(-50%,20px);background:#303342;color:#fff;padding:14px 23px;border-radius:30px;font-size:12px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1000px){#productInfo{top:65%}#productName{font-size:16px}#detailInfo{top:65%}.collection-note{top:140px}#browseTools{bottom:40px}}@media(max-width:600px){#app{min-height:620px}header{height:87px;padding:0 24px}.wordmark{font-size:27px;letter-spacing:-1.4px}.text-btn span{display:none}.collection-note{top:113px;left:24px;right:24px;font-size:8px;letter-spacing:1.1px}.browse-arrows{left:20px;right:20px;top:45%}.circle{width:30px;height:30px;font-size:16px}#productInfo{top:65%}#productName{font-size:12px}#price{font-size:11px;margin-bottom:22px}.outline{font-size:9px;min-height:35px;padding:8px 17px}#browseTools{bottom:57px}#browseTools p{font-size:9px}footer{font-size:8px;height:31px;justify-content:center}footer span:last-child{display:none}footer span:nth-child(2){display:none}.detail footer span:nth-child(2){display:block}.detail footer span:first-child{display:none}#detailInfo{top:64%;width:320px}#detailName{font-size:26px}#description{font-size:10px;margin-bottom:12px}#sizes{margin-bottom:12px}#sizes button{height:30px;width:30px}.detail .browse-arrows{left:21px;right:21px;top:40%}dialog{padding:23px}.rotation-tools{top:-39px}}@media(max-height:710px){#app{min-height:600px}.collection-note{top:100px}#browseTools{bottom:44px}#browseTools p{margin:8px 0 0}#detailName{font-size:24px}#description{margin-bottom:10px}#sizes{margin-bottom:10px}.primary{min-height:38px}#productInfo{top:65%}#price{margin-bottom:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Motion v2: text follows the garment focus, rather than appearing as a hard cut. */
@keyframes piece-reveal{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}
.detail #detailInfo{animation:piece-reveal .48s .08s both cubic-bezier(.2,.7,.3,1)}
@media(prefers-reduced-motion:reduce){.detail #detailInfo{animation:none}}
/* V5: reference-led, quiet knit rail composition. */
:root{--paper:#f5f5ef;--ink:#33362f;background:var(--paper);color:#34372f}
#app{background:radial-gradient(ellipse at 50% 45%,#fafbf6,#f2f3ed 78%)}
#app:after{opacity:.055}
header{height:86px;padding:0 5.5%}
.wordmark{left:5.5%;transform:none;font-size:25px;letter-spacing:-.8px}
#indexBtn{margin-left:auto;margin-right:30px;font-size:9px}
#bagBtn{margin-left:0;font-size:9px}
.collection-note{top:40px;left:40%;right:40%;justify-content:center;white-space:nowrap;font-family:Georgia,serif;font-size:10px;letter-spacing:.4px;color:#85877e}
#countLabel{display:none}
#productInfo{left:5.5%;top:auto;bottom:65px;transform:none;width:210px;text-align:left}
#productName{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:19px;margin-bottom:6px}
#price{font-size:9px;letter-spacing:.4px;margin:0;color:#7d8075}
#seePiece{display:none}
#browseTools{bottom:64px;pointer-events:none}
#browseTools button{pointer-events:auto}
#browseTools p{display:none}
#dots{gap:10px;min-height:26px;align-items:center}
#dots button{height:19px;width:19px;padding:5px;border:1px solid transparent;border-radius:50%}
#dots button:after{width:7px;height:7px;background:var(--swatch)}
#dots button[aria-pressed=true]{border-color:#979d8f}
#dots button[aria-pressed=true]:after{background:var(--swatch);transform:none}
#uploadBtn{position:absolute;right:5.5%;bottom:-7px;font-size:9px;letter-spacing:.5px;color:#777c70}
footer{display:none}
.browse-arrows{display:none}
.detail .browse-arrows{display:flex;top:43%;left:max(6%,calc(50% - 250px));right:max(6%,calc(50% - 250px))}
.circle{background:#f5f5ef80;border-color:#aaaea1;width:31px;height:31px;font-size:15px}
#detailInfo{top:68%;width:320px}
#detailName{font-size:24px;margin-bottom:6px}
#description{font-size:10px;margin-bottom:12px}
#sizes{gap:8px;margin-bottom:12px}#sizes button{width:27px;height:27px;font-size:9px}
#addBag{min-height:32px;font-size:9px;max-width:230px;padding:8px 20px}
.rotation-tools{top:-34px}.rotation-tools button{font-size:8px}
@media(max-width:850px){#productInfo{bottom:58px;width:175px}#productName{font-size:16px}#dots{gap:3px}#uploadBtn{font-size:8px}#browseTools{bottom:57px}}
@media(max-width:600px){header{height:74px}.wordmark{font-size:23px}.collection-note{top:96px;font-size:9px}#indexBtn{margin-right:13px;font-size:8px}#bagBtn{font-size:8px}#productInfo{bottom:132px;text-align:center;left:10%;width:80%}#productName{font-size:20px}#browseTools{bottom:75px}#dots{gap:9px}#uploadBtn{bottom:-38px;right:0;left:0;margin:auto}#detailInfo{top:66%;width:310px}.detail .browse-arrows{left:20px;right:20px}.detail .collection-note{display:none}}
