#disguiseEntry{display:block;width:100%;padding:7px 0 0;font-size:12px;color:#715f40;min-height:29px}
.disguise-open>.topbar,.disguise-open>.brand-description,.disguise-open>.progress{display:none}
/* Content groups keep their natural size; only the image viewport can shrink. */
.disguise-page{min-height:0;min-width:0;flex:1;display:flex;flex-direction:column;padding:8px 18px 18px;color:#302d26}
.disguise-page>*{flex:none}.disguise-page>*+*{margin-top:14px}
.disguise-title-row{display:flex;align-items:center;justify-content:space-between}.disguise-title-row h1{min-width:0}#disguiseBack{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;padding:0;border-radius:11px;background:#DFE7F7;color:#4C6089}
.disguise-heading{margin-top:8px}.disguise-heading h1{font-size:24px;line-height:1.3;letter-spacing:0}.disguise-heading p{font-size:12px;line-height:1.5;color:#85775f;margin-top:6px}
.gift-form{font-size:12px;background:#ffe3bc;border-radius:18px;padding:12px}
.gift-form h2{display:block;font-weight:700;font-size:13px;line-height:18px;margin-bottom:8px}



.gift-form p:empty{display:none}.gift-form p{font-size:11px;line-height:1.5;color:#79654f;margin:8px 0 0}
#giftShapes{margin-top:10px}#giftShapes>span{font-size:11px;color:#79654f}
.gift-shapes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:5px;margin-top:6px}
.gift-shapes button{position:relative;min-width:0;border:1px solid transparent;border-radius:9px;background:#fff4e1;padding:8px 0;font-size:11px;line-height:16px}
.gift-shapes button[aria-pressed=true]{background:#ffb181;border-color:transparent;font-weight:700}
.gift-shapes button[aria-pressed=true]:after{content:'✓';font-size:9px;margin-left:2px}
.disguise-page>.disguise-preview-card{flex:0 1 346px;min-height:200px;margin-top:14px}
.disguise-preview-card{display:flex;flex-direction:column;background:#fffdf5;border:1px solid #eedfc6;border-radius:20px;padding:0;overflow:hidden}
.disguise-choice{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 15px;line-height:20px;background:#ffcfaa}
.disguise-choice>div{display:flex;align-items:baseline}.disguise-choice strong{font-size:19px;margin-left:8px;line-height:24px}.disguise-choice span{font-size:11px;color:#76503a}.disguise-choice .disguise-preview-label{font-size:10px}
.disguise-stage{position:relative;flex:1;min-height:120px;overflow:hidden;background:transparent}
#disguiseCanvas{display:block;width:100%;height:100%;position:absolute;top:0;left:0;touch-action:none}
#disguiseStatus{position:absolute;bottom:10px;left:12px;right:12px;text-align:center;font-size:12px;line-height:1.5;color:#676767;pointer-events:none}
#disguiseFallback{position:absolute;top:10px;right:0;bottom:45px;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;color:#666}
#disguiseFallback img{height:75%;width:70%;object-fit:contain}
#disguiseRetry{position:absolute;top:10px;right:10px;background:#fff;border-radius:10px;padding:9px;font-size:12px}
.disguise-tools{flex:none;display:flex;align-items:center;justify-content:space-between;padding:7px 15px;font-size:10px;line-height:18px;color:#76503a}
.disguise-tools button{background:#DFE7F7;border-radius:9px;padding:7px 10px;font-size:11px;line-height:18px;color:#4C6089}
.disguise-materials{background:#DCECDF;border-radius:18px;padding:14px}
.disguise-materials h2{display:flex;align-items:center;justify-content:space-between;font-size:14px;line-height:20px}.disguise-materials h2 span{font-size:10px;font-weight:400;color:#718069}
.disguise-materials ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:7px;list-style:none;padding:0;margin:10px 0}
.disguise-materials li{min-width:0}.material-card{display:block;width:100%;height:100%;padding:3px 3px 7px;background:#fffdf5;border:1px solid transparent;border-radius:12px;text-align:center}.material-card[aria-pressed=true]{border-color:#6584be;box-shadow:0 0 0 1px #6584be;background:#f1f5fd}.material-art{display:block;width:100%;height:57px;background-repeat:no-repeat;background-size:200% 200%;border-radius:9px}.material-art-0{background-position:0 0}.material-art-1{background-position:100% 0}.material-art-2{background-position:0 100%}.material-art-3{background-position:100% 100%}.material-card strong{display:block;font-size:10px;line-height:17px;font-weight:600;white-space:nowrap}.material-card>span:last-child{display:block;font-size:9px;line-height:15px;color:#6c7962;white-space:nowrap}
.disguise-materials p{font-size:12px;line-height:1.6;color:#58644E;border-top:1px solid #CEDCC4;padding-top:10px}
.gift-ideas-mode .disguise-tools,.gift-ideas-mode .disguise-choice,.gift-ideas-mode .disguise-materials{display:none}
.gift-ideas-mode .disguise-preview-card{flex:none;min-height:240px;padding:0;background:#ffe3bc}
#giftIdeas{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;padding:22px}
#giftIdeas h2{font-size:21px;line-height:1.4}#giftIdeas p{font-size:13px;line-height:1.7;margin-top:12px;color:#666}#giftIdeas .gift-availability{font-size:11px;color:#777}
.text-tail{white-space:nowrap}p,small,.notice{line-break:strict;text-wrap:pretty;overflow-wrap:break-word}
@media(max-height:740px){
.disguise-page{padding:4px 14px 12px}.disguise-page>*+*{margin-top:10px}.disguise-heading{margin-top:4px}.disguise-heading h1{font-size:22px}.disguise-heading p{display:none}
.gift-form{padding:10px}.gift-form h2{margin-bottom:6px}
.disguise-page>.disguise-preview-card{flex-basis:260px;margin-top:10px}.disguise-choice{padding:8px 13px}.disguise-choice strong{font-size:17px;line-height:22px}.disguise-tools{padding:5px 13px}.disguise-tools button{padding:5px 8px}
.disguise-materials{padding:12px}.disguise-materials ul{margin:7px 0;grid-gap:3px 8px}.disguise-materials p{font-size:11px;line-height:1.5;padding-top:7px}
}
@media(max-height:620px){
.disguise-page{padding:0 14px 8px}.disguise-page>*+*{margin-top:7px}#disguiseBack{font-size:11px;min-height:24px;padding:2px 0}.disguise-heading{margin-top:3px}.disguise-heading h1{font-size:20px;line-height:26px}
.gift-form{padding:8px 10px;border-radius:14px}.gift-form h2{font-size:12px;margin-bottom:4px}.gift-form p{display:none}
#giftShapes{margin-top:5px}#giftShapes>span{display:none}.gift-shapes{margin-top:0}.gift-shapes button{padding:5px 0}
.disguise-page>.disguise-preview-card{flex-basis:235px;min-height:184px;margin-top:7px;border-radius:16px}.disguise-choice{padding:6px 13px}.disguise-choice strong{line-height:20px}.disguise-tools button{padding:3px 7px}
.disguise-materials{padding:10px;border-radius:14px}.disguise-materials h2{font-size:13px;line-height:18px}.disguise-materials ul{margin:5px 0;grid-gap:2px 5px}.disguise-materials li{font-size:10px;line-height:16px}.disguise-materials p{padding-top:5px}
.app-shell:not(.focus-view) #designPage{row-gap:4px}#disguiseEntry{min-height:27px;padding-top:5px}
}
@media(max-height:520px){
.disguise-heading,.gift-form,.disguise-materials,.disguise-choice,.disguise-tools{display:none}.disguise-page>.disguise-preview-card{flex:1;min-height:0}.disguise-stage{min-height:0}.disguise-stage:after{content:'竖屏查看效果更清楚';position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#fffdf5;font-size:14px}#disguiseCanvas{visibility:hidden}
}

@media(max-height:620px){.disguise-title-row #disguiseBack{width:30px;height:30px;padding:0}.material-art{height:40px}.material-card{padding:2px 1px 4px;border-radius:9px}.material-card strong{font-size:9px;line-height:15px}.material-card>span:last-child{font-size:8px;line-height:13px}.disguise-materials ul{grid-gap:5px}}
.disguise-model-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:6px}
.disguise-model-picker button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f2eddb;border:1px solid transparent;border-radius:12px;padding:5px 1px;font-size:10px;line-height:16px}
.disguise-model-picker button[aria-pressed=true]{background:#ffcfaa;border-color:transparent;color:#4e3926}
.disguise-model-picker svg{display:block;width:27px;height:27px;margin-bottom:2px}.disguise-model-picker path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.material-art{background-size:200% auto;width:57px;height:57px;max-width:100%;margin:auto}

@media(max-height:740px){.gift-form p{display:none}.disguise-model-picker svg{width:21px;height:21px}.disguise-model-picker button{padding:3px 1px}.disguise-page>*+*{margin-top:7px}.disguise-materials{padding:10px}.material-art{height:43px;width:43px;max-width:none}.disguise-page>.disguise-preview-card{min-height:180px}.disguise-materials p{min-height:38px}}
@media(max-height:620px){.disguise-model-picker svg{width:18px;height:18px;margin-bottom:0}.disguise-model-picker button{font-size:9px;line-height:14px;padding:2px 0}.disguise-model-picker{grid-gap:4px}.material-art{height:36px;width:36px}.disguise-materials p{min-height:34px}.disguise-materials{padding:8px}.disguise-materials h2{line-height:16px}.disguise-page>.disguise-preview-card{min-height:170px}.disguise-stage{min-height:108px}}
@media(max-height:520px){.disguise-model-picker{display:none}}
@media(min-height:621px) and (max-height:740px){.gift-form{padding:8px 10px}.gift-form h2{font-size:12px;margin-bottom:4px}#giftShapes{margin-top:5px}#giftShapes>span{display:none}.gift-shapes{margin-top:0}.gift-shapes button{padding:5px 0}.disguise-choice{padding:6px 13px}.disguise-tools button{padding:3px 7px}.disguise-stage{min-height:115px}.disguise-page>.disguise-preview-card{min-height:181px}}
@media(min-height:741px){.gift-form p{display:none}.disguise-page>.disguise-preview-card{min-height:216px}}

/* Shared monochrome line language; drawing area stays square at every size. */
.material-art{background:none;display:flex;align-items:center;justify-content:center}.material-art svg{display:block;width:100%;height:100%;max-width:51px;max-height:51px}.material-art path{fill:none;stroke:#30332e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.material-card[aria-pressed=true] .material-art path{stroke:#355d9c}
.disguise-heading{padding:8px 12px 4px;margin-top:12px;text-align:center}.disguise-title-row{justify-content:center;gap:14px}.disguise-heading p{margin-top:7px}.disguise-page{padding-top:12px}
@media(max-height:740px){.disguise-heading{padding:6px 10px 3px;margin-top:8px}.disguise-page{padding-top:12px}.disguise-page>.disguise-preview-card{margin-top:7px}}
@media(max-height:620px){.disguise-page{padding-top:12px}.disguise-heading{padding:5px 8px 2px;margin-top:5px}.disguise-page>*+*{margin-top:5px}.disguise-page>.disguise-preview-card{margin-top:5px}.disguise-model-picker{margin-top:5px}}
@media(max-height:620px){.disguise-page>.disguise-preview-card{min-height:176px}.gift-form{padding-top:6px;padding-bottom:6px}.disguise-materials ul{margin-top:4px;margin-bottom:4px}}
@media(min-height:621px) and (max-height:740px){.disguise-page>.disguise-preview-card{min-height:188px}.gift-form{padding-top:6px;padding-bottom:6px}}

/* Shape choice is always available; no text lookup step. */
#giftShapes{margin-top:0}

/* Green display and blue material guidance. */
.disguise-preview-card{border-color:#bacbb4;background:#DCECDF}
.disguise-choice{background:#DCECDF;padding-bottom:8px}
.disguise-choice span,.disguise-choice strong{color:#58644E}
.disguise-stage{background:radial-gradient(ellipse at 32% 12%,#f0f4dd 0%,#d3dfc5 32%,#a9bea2 72%,#8ba38c 100%);margin:0 9px;border-radius:10px}
.disguise-tools{color:#58644E;background:#DCECDF}.disguise-tools button{background:#58644E;color:#DCECDF}
@media(max-height:620px){.disguise-stage{margin:0 6px}.disguise-choice{padding-bottom:6px}}

.disguise-materials{background:#DFE7F7;color:#4C6089}
.disguise-materials h2 span,.disguise-materials p,.material-card>span:last-child{color:#4C6089}
.disguise-materials p{border-top-color:#c4cfe3}

/* A paper-to-object experiment card, using the user's actual paper as the specimen. */
.disguise-stage{background-color:#d5e7dd;background-image:radial-gradient(#73907738 .7px,transparent .7px);background-size:12px 12px;border-radius:3px 3px 13px 13px;border-top:1px dashed #82977d}
.experiment-caption{position:absolute;left:12px;top:10px;font-size:12px;font-weight:600;color:#405741;letter-spacing:.5px;pointer-events:none}
.experiment-number{position:absolute;right:9px;top:16px;font-size:88px;font-weight:800;line-height:1;color:#ffffff50;pointer-events:none;font-family:Arial,sans-serif}
.paper-specimen{position:absolute;left:13px;top:34%;width:53px;transform:rotate(-8deg);background:#fffdf3;padding:5px 5px 6px;box-shadow:2px 4px 0 #526b4230;z-index:1;pointer-events:none}
.paper-specimen:before{content:'';position:absolute;top:-5px;left:13px;width:26px;height:10px;background:#ffb181b3;transform:rotate(5deg)}
.paper-specimen>span:first-child{display:block;font-size:8px;color:#58644e;text-align:center;margin-bottom:4px}
#paperSpecimen{width:43px;height:43px;border:1px solid #dddcca;background:white}
.paper-arrow{position:absolute;right:-19px;bottom:-18px;font-size:29px;color:#617958;transform:rotate(20deg)}
#disguiseCanvas{left:8%;top:22px;width:84%;height:calc(100% - 37px)}
.experiment-gesture{position:absolute;right:10px;bottom:7px;font-size:9px;color:#50694b;pointer-events:none}
.disguise-tools{padding-top:8px;gap:8px}
.gift-ideas-mode .paper-specimen,.gift-ideas-mode .experiment-caption,.gift-ideas-mode .experiment-number,.gift-ideas-mode .experiment-gesture,.disguise-page[data-state="webgl-error"] .paper-specimen{display:none}
@media(max-height:740px){.experiment-caption{font-size:10px;top:6px}.experiment-number{font-size:64px}.paper-specimen{width:42px;left:9px;padding:4px}.paper-specimen>span:first-child{font-size:7px}#paperSpecimen{width:34px;height:34px}.paper-arrow{font-size:22px;right:-14px}#disguiseCanvas{top:17px;height:calc(100% - 30px)}}
@media(max-height:620px){.experiment-caption{font-size:9px;letter-spacing:0}.paper-specimen{width:35px;top:35%;padding:3px}.paper-specimen>span:first-child{display:none}#paperSpecimen{width:29px;height:29px}.experiment-number{font-size:52px}.experiment-gesture{font-size:8px;bottom:3px}.disguise-tools{padding-top:4px}}

/* Gift mystery / paper advertising set. The paper itself is the scenery. */
.disguise-stage{background:#c9e2d6;background-image:none;border:0;border-radius:12px;isolation:isolate}
.disguise-stage:before{content:'';position:absolute;left:7%;top:16%;width:76%;height:100%;border-radius:50% 50% 0 0;background:#f7faee}
.experiment-number{display:none}
.paper-specimen{left:auto;right:-12%;top:-18%;width:47%;height:140%;padding:0;transform:rotate(12deg);box-shadow:-5px 0 0 #ffffff80;z-index:-1;background:white;overflow:hidden}
.paper-specimen:before,.paper-specimen>span{display:none}
#paperSpecimen{width:100%;height:100%;object-fit:cover;border:0;opacity:.85}
#disguiseCanvas{left:-3%;width:100%;top:24px;height:calc(100% - 38px)}
.experiment-caption{z-index:1;font-size:13px;letter-spacing:0;left:13px;top:9px;color:#304f40}
.experiment-gesture{z-index:1;background:#f7faeedb;padding:2px 5px;border-radius:6px}
.disguise-tools{gap:4px}
.mystery-clue{position:relative;background:#DFE7F7;color:#4C6089;border-radius:18px;padding:15px;text-align:left}
.mystery-kicker{font-size:10px;letter-spacing:1px}.mystery-clue h2{font-size:17px;line-height:1.4;margin:6px 0}.mystery-clue p{font-size:12px;line-height:1.6}
.mystery-clue button{display:block;background:#4C6089;color:white;padding:10px 14px;border-radius:10px;margin-top:12px;font-size:12px;font-weight:600}
.mystery-note{display:block;font-size:9px;margin-top:8px;opacity:.8}

.disguise-page[data-mystery=revealed] .disguise-materials{animation:reveal-materials .3s ease-out}
@keyframes reveal-materials{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.disguise-page[data-mystery=revealed] .disguise-materials{animation:none}}
@media(max-height:740px){.experiment-caption{font-size:11px;top:6px}#disguiseCanvas{top:18px;height:calc(100% - 30px)}.mystery-clue{padding:11px}.mystery-clue h2{font-size:15px}.mystery-clue button{margin-top:8px;padding:8px 12px}}
@media(max-height:620px){.experiment-caption{font-size:10px}.mystery-clue{padding:9px}.mystery-clue h2{font-size:13px;margin:3px 0}.mystery-clue p{font-size:10px}.mystery-clue button{padding:6px 10px;margin-top:5px}.mystery-note{margin-top:5px;font-size:8px}.disguise-tools #disguiseReset{font-size:10px;padding:3px 5px}}

/* The paper's contours are embedded into the mint surface, not a separate sheet. */
.disguise-stage{background:#c9e2d6}
.disguise-stage:before{display:none}
.paper-specimen{inset:0;left:0;right:0;top:0;width:100%;height:100%;padding:0;transform:none;box-shadow:none;background:transparent;z-index:0;border:0}
#paperSpecimen{width:100%;height:100%;object-fit:cover;background:transparent;opacity:1}
.paper-specimen:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 46% 52%,#c9e2d6c9 0%,#c9e2d659 45%,transparent 78%)}

/* The preview is a quiet product card. The original paper only appears on the object and in its color reference. */
.disguise-preview-card{background:#eceee9;border-color:#d7dcd6}
.disguise-choice,.disguise-tools{background:#eceee9}
.disguise-choice span,.disguise-choice strong,.disguise-tools{color:#303936}
.disguise-stage{margin:0 8px;background:#eaeae4;background-image:radial-gradient(ellipse at 50% 42%,#f8f8f4 0%,#e4e5de 82%);border-radius:12px}
.disguise-page[data-paper-tone=light] .disguise-stage{background:#252c2d;background-image:radial-gradient(ellipse at 50% 43%,#3c4545 0%,#202829 82%)}
.disguise-stage:before{display:none}
.experiment-caption{color:#303936;text-shadow:none}
.disguise-page[data-paper-tone=light] .experiment-caption{color:#f5f5ed}
.experiment-gesture{color:#46504a;background:#f9faf4d9}
#disguiseCanvas{left:0;top:3px;width:100%;height:calc(100% - 6px)}
.paper-specimen{display:none;left:0;right:0;top:auto;bottom:0;width:100%;height:24px;transform:none;background:transparent;box-shadow:none;padding:0;border:0;z-index:2;overflow:hidden}
.disguise-page[data-preview-wrapped=true][data-paper-detail=visible] .paper-specimen{display:block}
.gift-ideas-mode[data-preview-wrapped=true] .paper-specimen,.disguise-page[data-state="webgl-error"] .paper-specimen{display:none}
#paperSpecimen{width:100%;height:100%;display:block;object-fit:fill;opacity:1;border:0;background:transparent}
.paper-specimen:after{display:none}
.disguise-tools #disguiseReset{background:#35423d;color:#fff}
@media(max-height:620px){.paper-specimen{height:16px}}

/* Architectural study: one object on an open drawing sheet. */
.disguise-preview-card{background:#fffefa;border-color:#e3ddd2;box-shadow:0 2px 10px #6d5c4421}
.disguise-choice,.disguise-tools{background:#fffefa}
.disguise-choice{padding-bottom:7px}
.disguise-choice span,.disguise-choice strong,.disguise-tools{color:#564c40}
.disguise-choice .disguise-preview-label{color:#9a8978}
.disguise-stage,.disguise-page[data-paper-tone=light] .disguise-stage{margin:0;background:#fffefa;background-image:linear-gradient(#fffefa,#fcfaf5);border-top:1px solid #eee8dd;border-bottom:1px solid #eee8dd;border-radius:0}
.disguise-notes{position:absolute;right:9px;top:50%;z-index:3;width:86px;transform:translateY(-50%);padding:5px 2px 5px 8px;border-left:1px solid #d8cabb;background:#fffefae8;color:#62584c;pointer-events:none}
.disguise-notes-title{display:block;font-size:9px;color:#a08c78;letter-spacing:1px}
.disguise-notes ol{list-style:none;margin:7px 0 0;padding:0}
.disguise-notes li{display:flex;align-items:center;gap:5px;min-height:23px;font-size:9px;line-height:1.3;white-space:nowrap}
.disguise-notes li+li{margin-top:5px}
.disguise-notes svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#897765}
#disguiseMaterialNote{display:flex;align-items:center;gap:5px;margin:8px 0 0;padding-top:7px;border-top:1px solid #e5dacd;color:#8b674f;font-size:9px;line-height:1.3;overflow-wrap:anywhere}
#disguiseMaterialNote svg{width:19px;height:19px;color:#8b674f}
#disguiseMaterialNote[hidden]{display:none}
#disguiseCanvas{z-index:1;top:0;left:-15%;width:100%;height:100%}
.experiment-caption,.disguise-page[data-paper-tone=light] .experiment-caption{z-index:2;top:11px;left:14px;color:#675b4e;text-shadow:none;font-size:11px;letter-spacing:.4px}
.experiment-gesture{position:static;z-index:auto;color:#8d8175;background:none;padding:0;font-size:9px}
.disguise-tools{border:0;gap:8px;justify-content:space-between}
.disguise-tools #disguiseReset{background:#f2efe8;color:#54483c}
.gift-ideas-mode .disguise-notes,.disguise-page[data-state="webgl-error"] .disguise-notes{display:none}
@media(max-height:620px){.disguise-notes{right:6px;width:76px;padding-left:6px}.disguise-notes li{gap:3px;min-height:18px;font-size:8px}.disguise-notes li+li{margin-top:2px}.disguise-notes svg{width:16px;height:16px}#disguiseMaterialNote{gap:3px;margin-top:5px;padding-top:4px;font-size:8px}#disguiseMaterialNote svg{width:16px;height:16px}.experiment-caption{top:6px;font-size:10px}.experiment-gesture{bottom:4px;font-size:8px}}
