:root{--accent:#526985;--glow:#203249;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:#ece5d6;background:#0b1420}*{box-sizing:border-box}body{margin:0;min-width:300px;background:radial-gradient(ellipse at 50% 65%,var(--glow),transparent 68%),#0b1420;transition:background-color 1s}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,.showcase:focus-visible{outline:2px solid #e3d4b9;outline-offset:6px}header{height:88px;display:flex;align-items:center;gap:40px;margin:0 5.5%;border-bottom:1px solid #d4cbb72e}header img{width:168px;filter:invert(92%) sepia(12%) saturate(283%);display:block}header nav{margin-left:auto;display:flex;gap:36px;font-size:13px}.preview{font-size:10px;border:1px solid #b5c1cc3b;padding:5px 9px;color:#aab3bc}.intro{padding:48px 6% 0;position:relative;z-index:2;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.2em;color:#abb6c2;margin:0 0 18px}h1{font-size:clamp(36px,4.4vw,68px);font-weight:500;letter-spacing:.02em;line-height:1.25;margin:0 0 14px}.subtitle{font-size:16px;letter-spacing:.08em;margin:0;color:#d9d2c5}.description{position:absolute;right:6%;bottom:0;margin:0;font-size:12px;color:#9ba8b7;line-height:1.9}.showcase{position:relative;height:clamp(340px,39vw,570px);overflow:hidden;touch-action:pan-y;isolation:isolate;cursor:grab}.showcase:active{cursor:grabbing}.floor{position:absolute;left:0;right:0;bottom:38px;height:25%;background:radial-gradient(ellipse,#78849028,transparent 70%);z-index:-1}.bags{height:100%;position:relative}.bag{position:absolute;left:50%;bottom:0;border:0;padding:0;background:none;width:clamp(270px,34vw,490px);aspect-ratio:3/4;will-change:transform;transform-origin:50% 75%;user-select:none}.bag .cutout{position:absolute;inset:0;overflow:hidden;pointer-events:none;filter:drop-shadow(0 20px 18px #0006)}.bag img{position:absolute;width:400%;height:100%;max-width:none;left:calc(var(--i)*-100%);top:0;user-select:none;pointer-events:none}.bag .watermark{position:absolute;bottom:14%;right:4%;font-size:8px;letter-spacing:.08em;color:#dfd7c173;pointer-events:none}.hint{position:absolute;bottom:5px;left:6%;font-size:10px;letter-spacing:.06em;color:#778595;pointer-events:none}.controls{position:relative;text-align:center;margin:-12px auto 0;padding:0 20px 24px;z-index:3}.current>span{font-size:9px;letter-spacing:.2em;color:#9aa7b4}h2{font-size:19px;font-weight:400;letter-spacing:.08em;margin:9px 0 16px}h2 small{font-size:12px;color:#a5afba;font-weight:400}.control-row{display:flex;align-items:center;justify-content:center;gap:18px}.control-row button{border:0;background:transparent;min-width:44px;min-height:44px;font-size:23px}.swatches{display:flex;gap:9px;align-items:center}.swatches button{border-radius:50%;padding:0;width:32px;height:32px;min-height:32px;min-width:32px;border:1px solid #ffffff4d;background:var(--swatch);position:relative;transition:transform .25s}.swatches button[aria-pressed=true]{outline:2px solid #e9dfca;outline-offset:4px}.swatches button:hover{transform:scale(1.12)}.separator{height:25px;width:1px;background:#9fabb64d}.note{font-size:10px;color:#82909f;letter-spacing:.08em;margin:18px 0 0}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 6%;padding:20px 0;border-top:1px solid #d4cbb71f;font-size:10px;color:#8794a3}footer a{color:#d8d3c8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:1600px){.showcase{height:560px}.intro{padding-top:60px}}@media(max-width:700px){header{height:70px;margin:0 22px;gap:12px}header img{width:136px}header nav{gap:0}header nav a{display:none}header nav a:last-child{display:block;font-size:11px}.preview{display:none}.intro{padding:32px 24px 0}.eyebrow{font-size:8px;letter-spacing:.14em;margin-bottom:15px}h1{font-size:36px}.subtitle{font-size:13px}.description{position:static;font-size:11px;line-height:1.8;margin-top:15px}.showcase{height:350px;margin-top:0}.bag{width:300px}.hint{left:24px;bottom:0;font-size:9px}.controls{margin:8px auto 0;padding-bottom:24px}.control-row{gap:8px}.swatches{gap:10px}.swatches button{width:28px;height:28px;min-width:28px;min-height:28px}h2{font-size:17px;margin-bottom:10px}.separator{margin-left:4px}footer{margin:0 24px;font-size:9px}.note{font-size:9px}.bag .watermark{font-size:6px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.music-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 20px;margin:18px auto 0;font-size:11px;color:#9aa8b8}.music-controls button{background:#ffffff09;border:1px solid #b9c0c63d;border-radius:24px;padding:9px 16px;font-size:12px;min-height:40px}.music-controls button[aria-pressed=true]{color:#efe2bd;border-color:#c6b681}.music-controls label{display:flex;align-items:center;gap:9px}.music-controls input{width:80px;accent-color:#d6cba6}.music-controls>span{font-size:10px}.showcase{--pulse:0}.floor{opacity:calc(.65 + var(--pulse)*.35)}@media(max-width:700px){.music-controls{gap:8px 14px;margin-top:14px}.music-controls>span{flex-basis:100%}}

/* The duplicate foreground tote masks the mark at the actual bag opening. */
.bag .cutout{z-index:0}.bag .cutout-front{z-index:3;filter:none}.bag .watermark{z-index:4}.brand-pop{position:absolute;z-index:2;left:12%;right:12%;top:0;height:31%;overflow:hidden;pointer-events:none}.bag .brand-pop .pop-symbol{position:absolute;width:20%;height:auto;max-height:100px;object-fit:contain;left:41%;top:auto;bottom:-39%;transform:translateY(calc(var(--pop,0)*-205%)) rotate(calc(var(--pop,0)*-12deg));opacity:var(--pop-opacity,0);filter:brightness(0) invert(91%) sepia(19%) saturate(360%);will-change:transform}.pop-wordmark{position:absolute;z-index:4;left:69%;top:14%;width:24%;opacity:calc(var(--pop,0)*.9);transform:translateY(calc((1 - var(--pop,0))*10px));pointer-events:none}.bag .pop-wordmark img{position:static;width:100%;height:auto;filter:brightness(0) invert(91%) sepia(19%) saturate(360%)}
@media(prefers-reduced-motion:reduce){.brand-pop,.pop-wordmark{display:none}}
.brand-pop{top:-18%;height:49%}.bag .brand-pop .pop-symbol{bottom:-24.7%}

.companion{margin:12px 6% 28px;border-top:1px solid #d4cbb72b;padding-top:30px}.companion-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.companion-heading .eyebrow{margin-bottom:10px;font-size:9px}.companion-heading h2{font-size:23px;margin:0}.companion-heading button{border:1px solid #d4cbb73d;background:none;border-radius:20px;padding:9px 14px;font-size:11px;color:#b3bec9;min-height:40px}.companion-stage{position:relative;max-width:900px;height:170px;margin:10px auto 0;overflow:hidden}.companion-character{position:absolute;width:72px;height:82px;object-fit:contain;left:calc(50% - 36px);bottom:27px;filter:brightness(0) invert(91%) sepia(19%) saturate(360%);transform-origin:50% 90%;will-change:transform}.companion-ground{position:absolute;bottom:25px;left:4%;right:4%;height:1px;background:linear-gradient(90deg,transparent,#96a19d5c,transparent)}.companion-shadow{position:absolute;bottom:20px;left:calc(50% - 32px);width:64px;height:8px;border-radius:50%;background:#0008;filter:blur(4px)}.companion-trail{position:absolute;left:calc(50% - 80px);bottom:36px;font-size:25px;letter-spacing:7px;color:#b7c3d04d;opacity:0}.companion-caption{text-align:center}.companion-caption>span{font-size:13px;color:#e1d4b4;letter-spacing:.08em}.companion-caption>p{font-size:10px;color:#81909e;margin:8px 0 0}@media(max-width:700px){.companion{margin:16px 24px 24px;padding-top:24px}.companion-heading h2{font-size:18px}.companion-heading .eyebrow{font-size:7px;letter-spacing:.12em}.companion-heading button{font-size:10px;padding:7px 10px}.companion-stage{height:160px}.companion-character{width:60px;height:70px;left:calc(50% - 30px)}}

.entry-mode header,.entry-mode footer,.entry-mode .companion{display:none}.entry-mode .intro{padding-top:32px}.entry-mode .showcase{height:clamp(290px,32vw,460px)}.entry-mode .controls{padding-bottom:22px}.entry-mode body{min-height:100svh}@media(max-width:700px){.entry-mode .intro{padding-top:22px}.entry-mode h1{font-size:29px}.entry-mode .description{display:none}.entry-mode .showcase{height:310px}.entry-mode .controls{margin-top:0}.entry-mode .music-controls{margin-top:8px}}
.entry-mode .showcase{height:clamp(380px,40vw,520px)}.entry-mode .bag{width:clamp(260px,29vw,400px)}@media(max-width:700px){.entry-mode .showcase{height:325px}.entry-mode .bag{width:260px}}
.home-mode body{min-height:0}.home-mode .intro{padding-top:32px}.home-mode .showcase{height:clamp(330px,33vw,480px)}.home-mode .bag{width:clamp(260px,28vw,390px)}.home-mode .controls{padding-bottom:16px}.home-mode .intro .eyebrow{color:#b6bdbd}.home-mode .intro .eyebrow::before{content:'笔触造物 · 汉庄本家文创融合品牌';display:block;letter-spacing:.04em;font-size:11px;margin-bottom:12px}@media(max-width:700px){.home-mode .intro{padding-top:25px}.home-mode .showcase{height:320px}.home-mode .bag{width:260px}.home-mode .intro .eyebrow::before{font-size:9px}.home-mode .controls{padding-bottom:18px}}

/* Homepage: a compact stage and a single control dock. */
.home-mode .intro{padding-top:28px}.home-mode .showcase{height:clamp(320px,29vw,410px);margin-top:-24px}.home-mode .controls{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:10px 26px;margin:-8px auto 0;padding-bottom:12px}.home-mode .current{grid-column:1/-1}.home-mode .current>span{display:none}.home-mode h2{margin:0 0 4px;font-size:17px}.home-mode .control-row{gap:10px}.home-mode .music-controls{margin:0;gap:12px}.home-mode .music-controls>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.home-mode .note{grid-column:1/-1;margin:4px 0 0;font-size:9px}.home-mode .music-controls button{padding:7px 13px;min-height:36px}.home-mode .swatches button{width:27px;height:27px;min-width:27px;min-height:27px}.home-mode .description{font-size:12px}.home-mode .hint{bottom:12px}
@media(max-width:700px){.home-mode .intro{padding-top:25px}.home-mode .showcase{height:305px;margin-top:-8px}.home-mode .controls{grid-template-columns:1fr;gap:8px;margin-top:0;padding:0 20px 14px}.home-mode .current,.home-mode .note{grid-column:auto}.home-mode .music-controls{margin:0}.home-mode .note{margin-top:2px}.home-mode .hint{bottom:4px}}

/* Reserve the complete tote bounds plus room for beat scaling and the jumping mark. */
.home-mode .showcase{--tote-width:clamp(210px,min(23vw,32svh),285px);height:calc(var(--tote-width)*4/3 + 55px);margin-top:0}.home-mode .bag{width:var(--tote-width)}.home-mode .description,.home-mode .hint,.home-mode .bag .watermark{display:none}.home-mode .brand-pop{overflow:visible}.home-mode .controls{margin-top:-8px}
@media(max-width:700px){.home-mode .showcase{--tote-width:210px;height:calc(var(--tote-width)*4/3 + 45px);margin-top:0}.home-mode .controls{margin-top:0}}

.home-mode .intro{padding-top:22px}.home-mode h1{font-size:clamp(32px,3.5vw,52px);margin-bottom:8px}.home-mode .eyebrow{margin-bottom:12px}.home-mode .intro .eyebrow::before{margin-bottom:8px}.home-mode .subtitle{font-size:14px}.home-mode .controls{gap:7px 22px}
@media(max-width:700px){.home-mode .intro{padding-top:20px}.home-mode h1{font-size:29px}.home-mode .subtitle{font-size:12px}.home-mode .controls{gap:6px}}

/* The featured tote shares the first viewport with the wider collection. */
@media(min-width:701px){.home-mode main{position:relative}.home-mode .intro{position:absolute;top:0;left:0;width:100%;padding-top:22px}.home-mode h1{font-size:clamp(30px,3vw,42px)}.home-mode .showcase{--tote-width:clamp(210px,22vw,255px);height:calc(var(--tote-width)*4/3 + 55px)}.home-mode .eyebrow{font-size:9px}.home-mode .intro .eyebrow::before{font-size:10px}.home-mode .controls{padding-bottom:8px;gap:5px 22px}}
@media(max-width:700px){.home-mode .showcase{--tote-width:180px;height:calc(var(--tote-width)*4/3 + 45px)}}

.home-mode .note{font-size:11px;line-height:1.7;color:#a8b2bc}.home-mode .music-controls{font-size:12px}.home-mode .intro .eyebrow::before{font-size:12px}.home-mode .eyebrow{font-size:10px}.home-mode .subtitle{font-size:14px}.home-mode h2 small{font-size:13px}
@media(max-width:700px){.home-mode .intro .eyebrow::before{font-size:11px}.home-mode .note{font-size:11px}.home-mode .music-controls{font-size:12px}}
