:root{--ink:#382c39;--muted:#887b81;--red:#a53d4d;--deep:#84313f;--cream:#faf6ee;--line:#eadfd5;--green:#53856f;--pink:#f8eceb}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.65;cursor:wait}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 4.4%;border-bottom:1px solid var(--line);background:#fffcf7}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:750;letter-spacing:1px}.brand small{display:block;font-size:11px;letter-spacing:2px;font-weight:400;color:var(--muted);margin-top:5px}.brand-mark{background:var(--red);color:#fff8e8;display:grid;place-items:center;width:43px;height:43px;border-radius:14px 14px 14px 4px;font-size:25px}.topbar nav{display:flex;gap:12px}.topbar nav a{padding:12px 21px;border-radius:24px;color:var(--muted);font-weight:600;font-size:15px}.topbar nav a.active{background:var(--pink);color:var(--red)}.icon-btn{background:none;border:0;color:var(--muted);padding:8px;font-size:21px;white-space:nowrap}.icon-btn span{font-size:13px}main{max-width:1500px;margin:auto;padding:38px 4.4% 20px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{color:var(--red);font-size:11px;letter-spacing:2px;font-weight:700;margin:0 0 10px}h1{font-size:35px;letter-spacing:1px;line-height:1.4;margin:0 0 10px}h1 span{color:var(--red)}.lead{color:var(--muted);margin:0;font-size:15px}.question-tag{background:#efe6d9;border-radius:16px;padding:19px 25px;transform:rotate(1deg);white-space:nowrap;box-shadow:3px 4px 0 #e8ddd0}.question-tag b{display:block;font-size:20px;color:#6b5144;margin-bottom:8px}.question-tag span{font-size:13px;color:#8b7360}.lab-layout{display:grid;grid-template-columns:270px 1fr;gap:22px}.panel{background:#fffdfa;border:1px solid var(--line);border-radius:24px;box-shadow:0 4px 14px #60452c03}.wardrobe{padding:25px 22px}.section-heading{display:flex;align-items:center;gap:12px}.step-no{font-size:12px;border:1px solid #d6c5b9;color:#987a69;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0}.section-heading h2{font-size:19px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.category-title{font-size:12px;letter-spacing:2px;color:#9d8e82;display:flex;align-items:center;gap:10px;margin:23px 0 12px}.category-title:after{content:"";height:1px;background:var(--line);flex:1}.items{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.items.pants{grid-template-columns:repeat(3,1fr)}.garment{padding:9px 3px 7px;background:#f5efe7;border:1.5px solid transparent;border-radius:13px;display:flex;align-items:center;flex-direction:column;color:#6a5b55;touch-action:none;user-select:none;transition:background .2s,transform .2s}.garment:hover{background:#eee5d8;transform:translateY(-2px)}.garment.selected{border-color:var(--red);background:var(--pink)}.garment img{height:65px;width:80px;object-fit:contain;pointer-events:none}.garment span{font-size:11px;margin-top:7px}.pants .garment img{height:58px;width:60px}.teacher-note{display:flex;align-items:center;gap:7px;margin-top:23px;padding-top:16px;border-top:1px dashed var(--line)}.teacher-note img{height:113px;object-fit:contain}.teacher-note p{font-size:12px;line-height:1.9;color:var(--muted)}.teacher-note b{color:var(--red);font-weight:500}.workspace{padding:25px 28px}.workspace-head,.feedback-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.progress{display:flex;gap:9px;align-items:center}.progress b{font-size:35px;font-weight:500;color:var(--red)}.progress span{font-size:12px;color:var(--muted)}.pair-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.pair-card{border:1px solid #e5d9cc;background:#fcf8f2;border-radius:16px;padding:11px;position:relative;transition:border-color .2s,background .2s}.pair-card.complete{background:#f4f7ef;border-color:#bdccae}.pair-card.duplicate{background:#fff0ee;border-color:#d29083}.pair-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#99816e;margin-bottom:7px}.clear-pair{background:none;border:0;color:#99816e;font-size:17px;padding:0 3px}.slots{display:grid;grid-template-columns:1fr 1fr;gap:8px}.drop-slot{background:#fffdfa;border:1px dashed #d6c6b6;border-radius:11px;min-height:106px;padding:10px 4px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b6a28f;user-select:none;cursor:pointer;position:relative}.drop-slot img{height:67px;width:78px;object-fit:contain;pointer-events:none}.drop-slot span{font-size:11px;pointer-events:none;margin-top:7px}.drop-slot .placeholder{font-size:26px;font-weight:300;margin:0 0 4px}.drop-slot.over{border:2px solid var(--red);background:#fae9e5}.drop-slot:focus-visible{outline:3px solid var(--red)}.pair-caption{font-size:11px;min-height:14px;text-align:center;margin:9px 0 0;color:#8b8172}.work-footer{margin-top:19px}.work-footer>p{font-size:13px;color:var(--muted);min-height:20px;margin:0 0 16px;line-height:1.7}.work-footer>p.success{color:var(--green);font-weight:600}.actions{display:flex;justify-content:flex-end;gap:12px;align-items:center}.btn{border:0;border-radius:10px;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:13px;font-weight:600;white-space:nowrap;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--red);color:#fff9f3}.primary:hover{background:var(--deep)}.subtle{background:#f2ece4;color:#817063}.outline{background:transparent;border:1px solid #d5c7b9;color:#876b5b}.thinking-strip{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:22px;padding:22px 26px;background:#efe5d6;border-radius:18px}.thinking-strip>div{display:flex;align-items:center;gap:18px}.spark{font-size:35px;color:#b38746}.thinking-strip h2{font-size:17px;margin:0 0 6px;color:#735744}.thinking-strip p{font-size:12px;color:#9b806c;margin:0}.hint-panel{padding:24px 26px;background:#fffaf1;border:1px solid var(--line);border-radius:16px;margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:15px}.hint-panel[hidden]{display:none}.hint-panel b{font-size:15px;color:var(--red)}.hint-panel p{font-size:13px;color:var(--muted);line-height:1.8;margin:8px 0}.hint-conclusion{grid-column:1/-1}footer{display:flex;justify-content:space-between;font-size:11px;color:#a19084;padding:24px 4px 0;gap:14px}footer a{color:var(--red)}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#382c39ed;color:white;padding:14px 22px;border-radius:12px;z-index:1000;font-size:14px;box-shadow:0 5px 25px #0002;pointer-events:none;opacity:0;transition:opacity .2s}#toast.show{opacity:1}.drag-ghost{position:fixed;pointer-events:none;z-index:999;width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 5px 4px #0003);transform:translate(-50%,-50%)}.summary-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.answer-panel,.feedback-panel{padding:26px 28px}.field-label{display:block;font-size:13px;font-weight:600;margin:21px 0 9px}.field-label span{font-weight:400;color:var(--muted);font-size:12px}input,textarea{border:1px solid #e0d4c9;background:#fcf8f3;width:100%;border-radius:11px;padding:13px 15px;color:var(--ink);font-size:14px}input::placeholder,textarea::placeholder{color:#b1a096}textarea{height:170px;resize:vertical;line-height:1.9}.input-bottom{display:flex;justify-content:space-between;font-size:10px;color:#a19084;margin-top:9px}.examples{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0 18px}.examples>span{width:100%;font-size:11px;color:var(--muted);margin-bottom:2px}.examples button{background:transparent;color:#957462;border:1px solid #e2d5c6;font-size:11px;padding:7px 11px;border-radius:20px}.wide{width:100%;padding:14px}.engine-label{font-size:10px;color:#a19084;text-align:center;margin:13px 0 0;line-height:1.6}.mode-badge{font-size:10px;padding:6px 10px;background:#eee8f2;color:#8d7295;border-radius:16px}.mode-badge.ai{background:#e5f1e9;color:#53856f}.feedback-empty{text-align:center;padding:18px 0}.clown-scene{height:190px;display:flex;align-items:center;justify-content:center;gap:5px}.clown-scene img{height:188px;width:125px;object-fit:contain}.speech{display:block;background:#f5ebdb;border:1px solid #ead5b2;border-radius:28px 28px 28px 3px;color:#997644;font-size:15px;padding:20px;line-height:1.8;transform:rotate(3deg)}.feedback-empty h3{font-size:21px;margin:20px 0 10px;color:#7b6052}.feedback-empty p{font-size:13px;line-height:1.9;color:#a19084}.principles{display:flex;gap:9px;justify-content:center;margin-top:23px}.principles span{font-size:11px;padding:7px 13px;background:#f4ece0;color:#a18360;border-radius:20px}.feedback-greeting{color:var(--red);font-size:16px;line-height:1.7}.feedback-block{padding:15px 18px;border-radius:13px;margin-bottom:13px}.feedback-block>span{font-size:12px;font-weight:700}.feedback-block p{font-size:14px;line-height:1.85;margin:8px 0 0;white-space:pre-wrap}.good{background:#edf3e9;color:#5e7b51}.improve{background:#faf0df;color:#9c763d}.question{background:#f6e9e8;color:#a45258}.feedback-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.feedback-actions .btn{padding:10px 12px;font-size:11px}.error{font-size:12px;color:#ad3d48;line-height:1.7;margin:12px 0;white-space:pre-wrap}.error:empty{display:none}dialog{width:min(540px,92vw);border:1px solid var(--line);border-radius:23px;padding:28px;background:#fffdfa;color:var(--ink);box-shadow:0 25px 70px #0003}dialog::backdrop{background:#382c3966;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:21px;margin:0}dialog p{font-size:12px;color:var(--muted);line-height:1.8}.settings-note{background:#f7f0e7;padding:12px;border-radius:9px}dialog .actions{margin-top:20px}@media(min-width:1500px){main{padding-top:48px}.pair-card{padding:15px}.drop-slot{min-height:130px}.drop-slot img{height:87px;width:95px}.teacher-note img{height:145px}}@media(max-width:1100px){.topbar{padding:0 3%;gap:10px}.topbar nav a{padding:10px 13px;font-size:13px}main{padding:30px 3% 20px}.lab-layout{grid-template-columns:230px 1fr;gap:15px}.wardrobe{padding:23px 15px}.workspace{padding:23px 18px}.pair-grid{gap:9px}.drop-slot img{width:60px;height:61px}.drop-slot{min-height:99px}.question-tag{padding:16px;font-size:12px}h1{font-size:30px}.answer-panel,.feedback-panel{padding:23px 20px}.mode-badge{max-width:85px;text-align:center}}@media(max-width:800px){.topbar{height:auto;min-height:100px;padding:17px 5%;flex-wrap:wrap}.brand{font-size:16px}.topbar nav{order:3;width:100%;justify-content:center;margin-top:6px}.topbar nav a{flex:1;text-align:center}.topbar .fullscreen{margin-left:auto}.intro{align-items:flex-start}.intro .question-tag{display:none}main{padding:28px 5% 20px}h1{font-size:27px}.lead{font-size:13px;line-height:1.8}.lab-layout{grid-template-columns:1fr}.wardrobe{padding:20px}.teacher-note{display:none}#wardrobe{display:grid;grid-template-columns:2fr 3fr;gap:18px}.category-title{margin-top:18px}.garment img,.pants .garment img{height:60px;width:60px}.workspace{padding:21px 16px}.section-heading h2{font-size:17px}.pair-grid{gap:10px}.slots{gap:4px}.pair-card{padding:8px}.drop-slot{min-height:92px;padding:5px 1px}.drop-slot img{width:50px;height:53px}.drop-slot span{font-size:10px}.pair-caption{font-size:10px}.progress b{font-size:29px}.progress span{font-size:10px}.thinking-strip{padding:20px;align-items:flex-start}.thinking-strip h2{font-size:15px}.thinking-strip p{line-height:1.8}.thinking-strip .spark{display:none}.thinking-strip .btn{font-size:11px;padding:10px}.summary-layout{grid-template-columns:1fr}.intro>.btn{padding:10px;font-size:11px}.hint-panel{grid-template-columns:1fr}footer{flex-direction:column;line-height:1.6}}@media(max-width:450px){.pair-grid{grid-template-columns:repeat(2,1fr)}.thinking-strip{flex-direction:column;gap:15px}.question-tag{display:none}.items,.items.pants{gap:4px}.garment img,.pants .garment img{width:48px;height:49px}.section-heading p{font-size:11px}.workspace-head{gap:8px}.progress{gap:5px}.brand-mark{width:36px;height:36px}.work-footer .actions .btn{padding:12px 14px}.pair-caption{font-size:10px}.drop-slot img{height:63px;width:65px}.drop-slot{min-height:100px}}
