:root{--paper:#FFFAE3;--pink:#FF7BA3;--yellow:#FFEB3B;--blue:#56C0EF;--ink:#1A1A1A;--soft:#fff2d1;--line:rgba(26,26,26,.18);--shadow:0 18px 50px rgba(63,47,29,.12);--serif:Georgia,'Times New Roman',serif;--sans:'Nunito','Noto Sans SC',system-ui,sans-serif}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.paper-grain{position:fixed;inset:0;pointer-events:none;z-index:40;opacity:.14;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='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");mix-blend-mode:multiply}#app{height:100%;min-height:100%;position:relative;isolation:isolate}main{height:100%;position:relative}.screen{position:absolute;inset:0;padding:clamp(24px,4vw,54px) clamp(24px,6vw,92px) 34px;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(3%,0,0) scale(.985);transition:opacity .48s ease,transform .62s cubic-bezier(.2,.7,.2,1),visibility .48s}.screen.active{opacity:1;visibility:visible;pointer-events:auto;transform:none}.screen.leaving{opacity:0;transform:translate3d(-3%,0,0) scale(.985)}
/* shared controls */
.box-float{position:fixed;z-index:35;right:clamp(16px,3vw,42px);top:clamp(14px,2.5vh,28px);border:1.5px solid rgba(26,26,26,.22);border-radius:999px;background:rgba(255,250,227,.8);backdrop-filter:blur(14px);display:flex;align-items:center;gap:9px;padding:7px 15px 7px 8px;font-size:12px;font-weight:900;letter-spacing:.03em;box-shadow:0 6px 22px #5c4a2714;transition:transform .25s,background .25s}.box-float:hover{transform:translateY(-3px) rotate(-2deg);background:#fff}.box-float-art{width:29px;height:29px;border-radius:8px;overflow:hidden;background:#ff7ba3;display:grid;place-items:center}.box-float-art img{width:100%;height:100%;object-fit:cover}.box-float b{font-size:10px;color:#88745d;border-left:1px solid var(--line);padding-left:8px}.eyebrow,.title-kicker{font-size:10px;letter-spacing:.22em;font-weight:900;text-transform:uppercase;color:#86785f}.primary-button,.start-button{border:1.6px solid var(--ink);border-radius:999px;background:var(--yellow);font-weight:900;letter-spacing:.03em;padding:15px 23px;box-shadow:4px 4px 0 var(--ink);transition:transform .18s,box-shadow .18s,background .18s}.primary-button:hover,.start-button:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink);background:#fff16b}.primary-button:active,.start-button:active{transform:translate(4px,4px);box-shadow:none}.primary-button span{margin-left:12px;font-size:18px}.primary-button.small{padding:11px 18px;font-size:12px;box-shadow:3px 3px 0 var(--ink)}.primary-button:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:4px 4px 0 var(--ink)}.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:12px;font-weight:800;padding:10px;color:#7d6e5a}.text-button:hover{color:var(--ink)}.page-topline{position:absolute;left:clamp(24px,6vw,92px);right:clamp(24px,6vw,92px);top:clamp(26px,4vh,46px);display:flex;justify-content:space-between;color:#8b806d;font-size:10px;letter-spacing:.18em;font-weight:900}.page-index{color:#1a1a1a;opacity:.55}
/* home */
#home-screen{padding:0;overflow:hidden;background:radial-gradient(circle at 50% 45%,#fffdf1 0,#fff6d9 55%,#f9eacb 100%)}.home-backdrop{position:absolute;inset:0;overflow:hidden;background:linear-gradient(135deg,rgba(86,192,239,.08),transparent 35%),linear-gradient(315deg,rgba(255,123,163,.13),transparent 42%)}.sun-disc{position:absolute;width:min(60vw,760px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff8c9 0,#ffef9b 68%,rgba(255,235,59,0) 69%);left:50%;top:48%;transform:translate(-50%,-50%);opacity:.72}.cloud{position:absolute;width:240px;height:70px;border-radius:100px;background:#fff9e8;opacity:.72;filter:blur(1px)}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}.cloud:before{width:100px;height:100px;left:35px;top:-45px}.cloud:after{width:130px;height:120px;right:30px;top:-58px}.cloud-a{left:8%;top:21%;transform:scale(.72)}.cloud-b{right:8%;bottom:17%;transform:scale(.9)}.sparkle{position:absolute;color:#f4bd3d;text-shadow:0 0 14px #f3d86d;font-size:38px}.sp1{left:19%;top:34%;transform:rotate(-10deg)}.sp2{right:22%;top:27%;font-size:52px}.sp3{right:16%;bottom:24%;font-size:28px}.home-doodle{position:absolute;top:48%;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:34px;color:#58bfe7;transform:rotate(-9deg)}.home-doodle small{font-size:8px;letter-spacing:.24em;line-height:1.5;font-weight:900;color:#9e8c6f;text-align:center}.doodle-left{left:7%}.doodle-right{right:7%;top:38%;color:#ff7ba3;transform:rotate(8deg)}.home-title{position:absolute;z-index:14;top:50%;left:50%;width:min(90vw,700px);transform:translate(-50%,-50%);text-align:center;transition:opacity .65s ease,transform .9s cubic-bezier(.2,.7,.2,1)}.title-kicker{display:inline-block;border:1px solid rgba(26,26,26,.22);border-radius:999px;padding:8px 15px;background:#fff9e4b8;color:#9a8068}.home-title h1{font-family:var(--sans);font-size:clamp(56px,9vw,112px);line-height:1;margin:21px 0 13px;font-weight:900;letter-spacing:.08em;text-shadow:4px 5px 0 rgba(255,123,163,.22)}.english-title{font-size:clamp(11px,1.6vw,15px);letter-spacing:.26em;font-weight:900;margin:0}.home-desc{font-size:14px;color:#82745f;letter-spacing:.05em;margin:21px 0 30px}.start-button{background:var(--pink);min-width:176px;padding:16px 27px;font-size:16px;letter-spacing:.2em}.start-button i{font-style:normal;margin-left:15px}.home-footnote{margin-top:28px;font-size:9px;font-weight:900;letter-spacing:.2em;color:#a18f72}.stage-cat-wrap{position:absolute;z-index:5;left:50%;top:50%;width:min(44vw,460px);height:min(76vh,620px);transform:translate(-50%,-40%) scale(.7);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .9s ease,transform 1.25s cubic-bezier(.16,.84,.26,1),visibility .9s}.stage-cat{position:relative;z-index:2;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(255,180,76,.34)) drop-shadow(0 0 18px rgba(255,221,89,.56));animation:catFloat 4s ease-in-out infinite}.cat-glow{position:absolute;width:82%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,243,137,.85),rgba(255,198,118,.16) 60%,transparent 72%);filter:blur(14px);animation:glowPulse 3.3s ease-in-out infinite}.cat-caption{position:absolute;bottom:1%;padding:7px 16px;background:#fff8d9cc;border:1px solid #fff;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.08em;z-index:3}.curtain-layer{position:absolute;z-index:11;inset:0;pointer-events:none;overflow:hidden;transition:opacity .7s}.curtain-panel{position:absolute;top:0;bottom:0;width:53%;background:linear-gradient(90deg,#f9d3cf 0%,#ffe9df 13%,#ffddd5 28%,#fff2e7 45%,#ffcfc9 62%,#ffe9e2 82%,#f6c5c4 100%);box-shadow:inset 0 0 70px rgba(138,73,64,.14),0 0 30px rgba(120,68,50,.14);transition:transform 2.3s cubic-bezier(.68,0,.18,1)}.curtain-left{left:0;border-right:5px solid rgba(255,255,255,.68);border-radius:0 3% 4% 0;transform-origin:left center}.curtain-right{right:0;border-left:5px solid rgba(255,255,255,.68);border-radius:3% 0 0 4%;transform-origin:right center}.curtain-folds{position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.2) 0 2.6%,rgba(137,74,67,.08) 5%,transparent 8%,rgba(255,255,255,.35) 11%,rgba(164,91,81,.12) 14%,transparent 18%);filter:blur(1px)}.curtain-panel:after{content:"";position:absolute;top:0;bottom:0;width:13%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.44),transparent);filter:blur(8px)}.curtain-left:after{right:8%}.curtain-right:after{left:8%}.curtain-valance{position:absolute;left:0;right:0;top:0;height:13%;background:linear-gradient(180deg,#d98d8f,#f2b5ac 42%,#ffe2d8 83%);clip-path:polygon(0 0,100% 0,100% 25%,94% 83%,86% 46%,78% 86%,70% 46%,62% 86%,54% 46%,46% 86%,38% 46%,30% 86%,22% 46%,14% 86%,6% 46%,0 85%);filter:drop-shadow(0 5px 5px rgba(100,48,48,.12))}.curtain-tie{position:absolute;z-index:2;top:43%;width:10%;height:14%;border:5px solid #f2b7ad;border-radius:50%;opacity:.85;transition:opacity .5s}.tie-left{left:0;border-left:0;transform:rotate(-16deg)}.tie-right{right:0;border-right:0;transform:rotate(16deg)}.curtain-layer.open .curtain-left{transform:translateX(-96%) rotate(-3deg)}.curtain-layer.open .curtain-right{transform:translateX(96%) rotate(3deg)}.curtain-layer.open .curtain-tie{opacity:0}.home-title.hide{opacity:0;transform:translate(-50%,-56%) scale(.92);pointer-events:none}.home-backdrop.zoom .sun-disc{transform:translate(-50%,-50%) scale(1.18);transition:transform 2s}.stage-cat-wrap.show{opacity:1;visibility:visible;transform:translate(-50%,-43%) scale(1)}.stage-cat-wrap.centered{transform:translate(-50%,-49%) scale(.94)}.orbit-cards{position:absolute;z-index:7;left:50%;top:49%;width:1px;height:1px;opacity:0;visibility:hidden;transition:opacity .5s}.orbit-cards.show{opacity:1;visibility:visible}.orbit-card{position:absolute;left:0;top:0;width:clamp(58px,6vw,86px);aspect-ratio:1517/2604;border-radius:8px;overflow:hidden;box-shadow:0 9px 24px #19191930;transform-origin:center center;animation:orbitCard 4s linear infinite;animation-delay:0s}.orbit-card img{width:100%;height:100%;object-fit:cover}.orbit-card:nth-child(odd){animation-duration:3.7s}.orbit-card:nth-child(even){animation-duration:4.4s;animation-direction:reverse}.shuffle-note{position:absolute;z-index:9;left:50%;bottom:7%;transform:translateX(-50%);font-size:12px;font-weight:900;letter-spacing:.15em;color:#816b52;background:#fff8decc;border:1px solid #fff;padding:10px 18px;border-radius:999px;opacity:0;transition:opacity .4s}.shuffle-note.show{opacity:1}.stage-hint{position:absolute;bottom:4%;left:50%;transform:translateX(-50%);z-index:5;font-size:9px;letter-spacing:.22em;color:#9c8c73;font-weight:900;white-space:nowrap;opacity:0;transition:opacity .6s}.stage-hint.show{opacity:1}.draw-result-pop{position:absolute;z-index:22;left:50%;top:50%;transform:translate(-50%,-50%) scale(.7);width:min(90vw,740px);padding:22px;display:grid;grid-template-columns:minmax(180px,280px) 1fr;align-items:center;gap:30px;background:rgba(255,250,227,.94);border:2px solid var(--ink);border-radius:26px;box-shadow:10px 10px 0 var(--ink);opacity:0;visibility:hidden;transition:all .55s cubic-bezier(.2,.8,.2,1);backdrop-filter:blur(15px)}.draw-result-pop.show{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.draw-result-pop img{max-height:42vh;width:100%;object-fit:contain;filter:drop-shadow(0 8px 16px #5c42222a)}.draw-result-pop h2{font-size:clamp(26px,4vw,42px);margin:5px 0}.draw-result-pop p{color:#88775f;line-height:1.7;font-size:13px}.draw-result-pop .primary-button{margin-top:14px}
/* drawn card page */
#draw-screen{background:radial-gradient(circle at 30% 48%,#fffdf1 0,#fff4d9 42%,transparent 70%),linear-gradient(135deg,#fcf1d8,#eaf7f4)}.draw-layout{width:min(1100px,100%);display:grid;grid-template-columns:minmax(240px,440px) minmax(280px,1fr);align-items:center;gap:clamp(34px,7vw,100px);padding-top:25px}.draw-card-side{position:relative;display:flex;justify-content:center;align-items:center;min-height:65vh}.draw-card-image{position:relative;z-index:2;max-width:100%;width:auto;max-height:67vh;object-fit:contain;border-radius:12px;filter:drop-shadow(0 18px 28px rgba(59,50,33,.2));animation:cardArrive .8s cubic-bezier(.16,.84,.25,1) both}.draw-card-shadow{position:absolute;width:62%;height:22px;bottom:7%;left:19%;border-radius:50%;background:#2d231a26;filter:blur(15px)}.card-glint{position:absolute;inset:10% 17%;background:linear-gradient(125deg,transparent 39%,rgba(255,255,255,.6) 49%,transparent 58%);mix-blend-mode:screen;pointer-events:none;opacity:.45;animation:glint 4s ease-in-out infinite}.draw-copy{max-width:480px}.draw-copy h2{font-size:clamp(44px,6vw,76px);line-height:1.1;margin:12px 0 3px;font-weight:900}.draw-roman{font-family:var(--serif);font-size:12px;letter-spacing:.18em;color:#a28d6c;margin:0}.draw-divider{width:68px;height:5px;border-radius:5px;background:var(--pink);margin:29px 0}.draw-copy h3{font-size:clamp(21px,2.5vw,29px);margin:0 0 12px}.draw-story{font-size:14px;line-height:1.9;color:#766c59;max-width:410px}.draw-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:30px}.micro-note{margin-top:24px;font-size:10px;color:#a18d72;letter-spacing:.08em}
/* game */
#game-screen{background:radial-gradient(circle at 88% 12%,#d8f4ff 0,transparent 31%),radial-gradient(circle at 5% 90%,#ffe0e7 0,transparent 30%),var(--paper)}.game-shell{width:min(1100px,100%);height:min(760px,calc(100vh - 120px));display:flex;flex-direction:column;padding:clamp(16px,2.6vw,32px);background:rgba(255,255,250,.82);border:1.5px solid rgba(26,26,26,.22);border-radius:26px;box-shadow:var(--shadow);margin-top:22px;overflow:hidden}.game-heading{display:flex;align-items:center;gap:17px;padding-bottom:16px;border-bottom:1px dashed rgba(26,26,26,.2);flex-shrink:0}.game-card-mini{width:54px;height:78px;background:#fff;border-radius:6px;overflow:hidden;box-shadow:3px 3px 0 var(--ink);flex-shrink:0}.game-card-mini img{width:100%;height:100%;object-fit:contain}.game-heading h2{font-size:clamp(22px,3.2vw,34px);margin:3px 0 4px}.game-heading p{margin:0}.game-heading #game-intro{font-size:12px;color:#82745f}.game-main{flex:1;min-height:0;overflow:auto;padding:20px 4px 10px;display:flex;align-items:center;justify-content:center}.game-bottom{padding-top:14px;border-top:1px dashed rgba(26,26,26,.2);display:flex;justify-content:space-between;align-items:center;flex-shrink:0;font-size:10px;letter-spacing:.14em;font-weight:900;color:#98886e}.game-content{width:100%;max-width:890px}.task-prompt{text-align:center;margin:0 auto 16px;max-width:680px}.task-prompt h3{font-size:clamp(17px,2.2vw,23px);margin:0 0 5px}.task-prompt p{font-size:12px;line-height:1.65;color:#8a7b66;margin:0}.task-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.choice-card{border:1.5px solid rgba(26,26,26,.22);border-radius:15px;padding:12px 16px;background:#fffdf3;font-weight:800;font-size:12px;min-width:120px;transition:transform .18s,background .18s,border .18s;box-shadow:3px 3px 0 rgba(26,26,26,.1)}.choice-card:hover{transform:translateY(-3px);border-color:var(--ink)}.choice-card.selected{background:#fff0a3;border-color:var(--ink);box-shadow:3px 3px 0 var(--ink)}.choice-card.correct{background:#e2f7de}.choice-card.wrong{background:#ffe0e8}.game-feedback{border:1px solid rgba(26,26,26,.15);background:#fff8d8;padding:12px 15px;border-radius:12px;margin:14px auto 0;max-width:700px;font-size:12px;line-height:1.65;color:#65563f}.game-feedback strong{display:block;margin-bottom:3px;color:#1a1a1a}.task-illustration{margin:10px auto 17px;max-width:700px;display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap}.door-scene{display:flex;justify-content:center;gap:clamp(8px,2vw,24px);align-items:flex-end;margin:10px auto 18px}.door-unit{width:clamp(100px,14vw,150px);text-align:center}.door{height:clamp(150px,25vh,220px);border:5px solid #704d37;border-bottom:0;border-radius:9px 9px 0 0;background:linear-gradient(90deg,#c99161,#e5bd8e 18%,#d1a475 32%,#e7c99d 56%,#bd8250);position:relative;box-shadow:inset 7px 0 0 #f2d5ac,5px 5px 0 #29201622;display:flex;align-items:center;justify-content:center}.door:before{content:"";position:absolute;inset:13px;border:1px solid #9e7048;opacity:.45}.door .handle{position:absolute;right:14%;top:48%;width:9px;height:34px;border-radius:7px;background:#f6df89;border:2px solid #4d3823;box-shadow:2px 2px 0 #543a23}.door.flat .handle{width:65px;height:9px;border-radius:2px;top:49%;right:50%;transform:translateX(50%);background:#f6e7c5}.door .door-sign{position:absolute;top:12px;left:50%;transform:translateX(-50%);font-size:9px;font-weight:900;background:#fff6dc;border:1px solid #4c3826;padding:3px 7px;border-radius:3px}.door-unit b{display:block;font-size:10px;letter-spacing:.08em;margin-top:8px}.door-unit small{font-size:9px;color:#9b866b}.door-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.desk-scene{width:min(680px,100%);padding:18px;border-radius:18px;background:#f4e6c6;border:1.5px solid #322719;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;box-shadow:5px 5px 0 #1a1a1a14}.desk-object{min-height:70px;border:1.5px solid #3c3024;border-radius:12px;background:#fff9e8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:22px;box-shadow:2px 2px 0 #1a1a1a1a}.desk-object span{font-size:10px;font-weight:800}.desk-object.found{background:#e4f7cd;opacity:.5;transform:scale(.97);pointer-events:none}.found-count{font-size:12px;font-weight:900;text-align:center;margin-top:10px}.group-board{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;width:min(800px,100%)}.group-bin{background:#fff8dc;border:1.5px dashed #9d8b6f;border-radius:14px;padding:10px;min-height:140px}.group-bin h4{font-size:12px;margin:0 0 8px}.group-bin button{display:block;border:0;border-radius:8px;background:#fff;padding:6px 8px;margin:5px 0;font-size:10px;width:100%;text-align:left}.group-bin button:hover{background:#dff5ff}.group-pool{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:12px}.group-chip{border:1px solid #ad997a;border-radius:999px;background:#fff;padding:7px 10px;font-size:10px;font-weight:800}.group-chip.picked{background:#ffe2ec;border-color:var(--pink)}.signal-demo{width:min(600px,100%);padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:center}.signal-dot{width:15px;height:15px;border-radius:50%;background:#46bf73;display:inline-block;margin:0 6px;vertical-align:middle}.signal-copy{font-weight:800;font-size:14px;margin:10px}.attention-ui{max-width:650px;width:100%;padding:16px;border:1px solid #d5c8aa;border-radius:13px;background:#fff;position:relative}.attention-ui .noise{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#b0a48e;margin-bottom:12px;flex-wrap:wrap}.attention-ui .noise span{padding:6px;background:#f6efe2;border-radius:4px}.attention-target{display:block;margin:15px auto;border:2px solid #1a1a1a;background:var(--yellow);padding:14px 25px;border-radius:8px;font-weight:900}.warning-card{width:min(600px,100%);border:1.5px solid var(--line);background:#fff;padding:15px;border-radius:14px}.warning-card .warning{padding:8px;border-radius:7px;background:#fff4e5;color:#a16d36;font-size:11px;margin:6px 0}.warning-card .warning.placed{border:2px solid #e85a5a;background:#ffe3e3;color:#a52929;font-weight:900}.memory-row,.stage-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.memory-tile,.stage-tile{padding:10px 12px;border-radius:10px;background:#e8f6fd;border:1px solid #76b8d5;font-size:11px;font-weight:800}.memory-tile.hide{filter:blur(5px);opacity:.2}.stage-tile{background:#fff0b9;border-color:#b89e43;min-width:95px}.stage-tile button{border:0;background:none;font-weight:900;padding:0 5px}.stove-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:650px;width:100%;align-items:center}.stove-top{background:#ddd6c7;border:6px solid #73695a;border-radius:16px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.burner{aspect-ratio:1;border:7px double #69635c;border-radius:50%;background:radial-gradient(circle,#777 0 24%,#c7bfb1 25% 40%,#81796d 42% 46%,#d6cec0 48%);}.knob-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.knob{width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#b2b1aa 35%,#5d5b56 70%);border:3px solid #58554e;display:grid;place-items:center;font-size:9px;font-weight:900}.faucet-panel{width:min(660px,100%);display:grid;grid-template-columns:1fr 1fr;gap:15px}.faucet-box{padding:15px;background:#fff;border-radius:14px;border:1px solid var(--line)}.faucet-box label{font-weight:900;font-size:11px;display:block;margin-bottom:12px}.faucet-box input{width:100%;accent-color:#56c0ef}.faucet-output{grid-column:1/-1;padding:12px;border-radius:12px;background:linear-gradient(90deg,#82d5f4,#fff2c6,#ff9d8d);text-align:center;font-weight:900;font-size:12px}.form-demo{width:min(560px,100%);padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.form-demo label{display:block;font-size:10px;font-weight:900;margin:8px 0}.form-demo input{width:100%;padding:10px;border:1px solid #d6cbb2;border-radius:8px;background:#fffaf0}.form-error{color:#c83d50;font-size:10px;margin-top:6px}.game-small-note{font-size:10px;color:#9b896e;text-align:center;margin-top:8px}
/* knowledge */
#knowledge-screen{background:radial-gradient(circle at 18% 30%,#ffe2e9 0,transparent 36%),radial-gradient(circle at 78% 80%,#d9f3fc 0,transparent 38%),var(--paper)}.knowledge-layout{width:min(1120px,100%);display:grid;grid-template-columns:minmax(210px,390px) minmax(300px,1fr);align-items:center;gap:clamp(34px,7vw,100px);padding-top:26px}.knowledge-card-stage{height:min(67vh,620px);position:relative;display:flex;align-items:center;justify-content:center}.knowledge-card-stage img{position:relative;z-index:2;max-height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 17px 24px #5741272a);transition:transform .7s}.knowledge-card-stage.collecting img{transform:rotateY(180deg) scale(.3) translateY(120px);opacity:0}.knowledge-card-aura{position:absolute;inset:14%;background:radial-gradient(circle,#fff1ac,#ffd7e2 48%,transparent 70%);filter:blur(20px)}.knowledge-stamp{position:absolute;z-index:3;right:0;bottom:9%;background:var(--yellow);border:1.5px solid var(--ink);border-radius:50%;width:72px;height:72px;display:grid;place-items:center;text-align:center;font-size:9px;line-height:1.35;font-weight:900;transform:rotate(12deg);box-shadow:3px 3px 0 var(--ink)}.knowledge-copy{max-width:590px}.knowledge-copy h2{font-size:clamp(30px,4vw,49px);line-height:1.15;margin:10px 0 3px}.knowledge-en{margin:0 0 20px;color:#a38e6d;font-family:var(--serif);font-size:11px;letter-spacing:.18em}.knowledge-intro{font-size:14px;line-height:1.9;color:#625a4c}.key-point{display:flex;gap:13px;padding:15px 16px;background:#fff0a9;border:1px solid #d6bb51;border-radius:13px;margin:20px 0 12px}.key-point>span{font-size:22px;color:#a67c00}.key-point b{font-size:12px}.key-point p{font-size:12px;line-height:1.7;margin:4px 0 0}.source-boundary{font-size:10px;line-height:1.55;color:#9c8c75;border-left:2px solid #d7c9aa;padding-left:10px;margin:12px 0}.knowledge-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:18px}
/* deckbox overlay */
.box-overlay{position:fixed;z-index:60;inset:0;background:rgba(40,31,30,.45);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s}.box-overlay.open{opacity:1;visibility:visible}.box-backdrop{position:absolute;inset:0}.box-modal{position:relative;z-index:1;width:min(1080px,96vw);max-height:95vh;overflow:hidden;background:var(--paper);border:2px solid var(--ink);border-radius:26px;box-shadow:10px 10px 0 var(--ink);padding:clamp(18px,3vw,34px);transform:translateY(28px) scale(.96);transition:transform .5s cubic-bezier(.2,.8,.2,1)}.box-overlay.open .box-modal{transform:none}.box-close{position:absolute;z-index:3;right:16px;top:12px;width:36px;height:36px;border:1.5px solid var(--ink);background:#fff;border-radius:50%;font-size:24px;line-height:1}.box-head{text-align:center;margin:0 0 15px}.box-head h2{font-size:clamp(25px,3vw,34px);margin:5px 0}.box-head p:last-child{font-size:11px;color:#90816b;margin:0}.box-open-layout{display:grid;grid-template-columns:minmax(210px,.85fr) minmax(300px,1.15fr);gap:clamp(15px,3vw,45px);align-items:center}.box-illustration{position:relative;height:330px;display:flex;align-items:center;justify-content:center;perspective:900px}.box-shadow{position:absolute;bottom:30px;width:80%;height:34px;background:#20160f3d;filter:blur(16px);border-radius:50%}.box-body{position:absolute;bottom:54px;width:min(240px,75%);height:175px;background:#ed6b93;border:3px solid #24160f;border-radius:12px 12px 18px 18px;overflow:hidden;box-shadow:inset 0 0 0 8px #ffb5ca,0 12px 0 #75404a;transform:rotateX(-6deg)}.box-body img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}.box-lid{position:absolute;bottom:215px;width:min(245px,78%);height:120px;background:#ff7ba3;border:3px solid #24160f;border-radius:12px;overflow:hidden;transform-origin:bottom center;transform:rotateX(0deg);transition:transform .85s cubic-bezier(.2,.8,.2,1)}.box-lid img{width:100%;height:100%;object-fit:cover;object-position:50% 36%}.box-illustration.opened .box-lid{transform:rotateX(65deg) translateY(-9px)}.box-glow{position:absolute;top:12px;right:22%;font-size:35px;color:#f5be35;text-shadow:0 0 20px #f7c842;animation:glowPulse 2.2s infinite}.box-viewer{display:flex;flex-direction:column;align-items:center;min-width:0}.box-progress-row{display:flex;justify-content:space-between;width:min(440px,100%);font-size:9px;letter-spacing:.12em;font-weight:900;color:#9a876b;margin-bottom:8px}.album-card-wrap{width:clamp(132px,18vw,190px);height:clamp(210px,29vw,290px);position:relative;display:grid;place-items:center;perspective:800px}.album-card-wrap img{max-width:100%;max-height:100%;object-fit:contain;border-radius:7px;filter:drop-shadow(0 10px 18px #34251f2e);transition:filter .35s,transform .45s}.album-card-wrap.locked img{filter:blur(7px) grayscale(.35) brightness(.84);transform:scale(.97)}.album-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:#fff8e2a8;border-radius:8px;opacity:0;pointer-events:none;padding:12px}.album-card-wrap.locked .album-lock{opacity:1}.album-lock span{font-size:28px;color:#d5a82b}.album-lock b{font-size:13px}.album-lock small{font-size:10px;line-height:1.5;color:#776a56;margin-top:6px}.box-viewer h3{font-size:18px;margin:10px 0 1px}.box-viewer>p{font-size:10px;color:#9a876b;margin:0}.album-controls{display:flex;align-items:center;gap:13px;margin:11px 0}.album-controls>button{width:32px;height:32px;border:1.5px solid var(--ink);border-radius:50%;background:#fff;font-size:17px}.album-dots{display:flex;gap:5px;max-width:180px;overflow:hidden}.album-dots button{width:5px;height:5px;padding:0;border:0;border-radius:50%;background:#cabda7}.album-dots button.active{background:var(--pink);transform:scale(1.8)}.album-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:center}.box-foot{display:flex;align-items:center;gap:13px;margin-top:13px;font-size:9px;font-weight:900;color:#9b896e}.progress-track{height:7px;flex:1;background:#e5dbc7;border-radius:10px;overflow:hidden}.progress-track i{height:100%;width:0;display:block;background:var(--pink);border-radius:10px;transition:width .4s}
.toast{position:fixed;z-index:90;left:50%;bottom:26px;transform:translate(-50%,20px);background:#1a1a1a;color:#fffaf0;border-radius:999px;padding:11px 19px;font-size:12px;font-weight:800;box-shadow:0 9px 24px #1a1a1a30;opacity:0;visibility:hidden;transition:all .3s;max-width:min(90vw,620px);text-align:center}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@keyframes catFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}@keyframes glowPulse{0%,100%{opacity:.55;transform:scale(.96)}50%{opacity:1;transform:scale(1.08)}}@keyframes orbitCard{from{transform:rotate(var(--a)) translateY(-190px) rotate(180deg)}to{transform:rotate(calc(var(--a) + 360deg)) translateY(-190px) rotate(-180deg)}}@keyframes cardArrive{0%{transform:translateY(34px) rotate(-6deg) scale(.86);opacity:0}100%{transform:none;opacity:1}}@keyframes glint{0%,20%{transform:translateX(-70%);opacity:0}35%{opacity:.4}58%{transform:translateX(70%);opacity:0}100%{transform:translateX(70%);opacity:0}}
@media(max-width:760px){.screen{padding:70px 18px 22px}.home-title{width:88vw}.home-title h1{font-size:64px}.home-desc{font-size:12px}.home-doodle{display:none}.stage-cat-wrap{width:76vw;height:60vh}.draw-layout,.knowledge-layout{grid-template-columns:1fr 1fr;gap:18px}.draw-card-side{min-height:48vh}.draw-card-image{max-height:52vh}.draw-copy h2{font-size:42px}.draw-story{font-size:12px}.draw-divider{margin:15px 0}.knowledge-card-stage{height:52vh}.knowledge-copy h2{font-size:29px}.knowledge-intro{font-size:12px;line-height:1.7}.key-point{padding:10px}.box-open-layout{grid-template-columns:.8fr 1.2fr;gap:10px}.box-illustration{height:280px}.box-lid{bottom:195px}.box-body{bottom:40px;height:150px}.game-shell{height:calc(100vh - 115px);padding:14px}.game-main{padding:12px 0}.door-unit{width:28vw}.door{height:150px}.game-heading h2{font-size:23px}}
@media(max-width:520px){.box-float{padding:6px 10px 6px 6px;top:10px;right:10px}.box-float-art{width:25px;height:25px}.box-float>b{display:none}.page-topline{top:22px;font-size:8px}.draw-layout,.knowledge-layout{display:flex;flex-direction:column;justify-content:center;gap:12px;padding-top:8px}.draw-card-side{min-height:38vh;height:38vh}.draw-card-image{max-height:39vh}.draw-copy{text-align:center}.draw-copy h2{font-size:36px}.draw-roman{font-size:9px}.draw-divider{margin:10px auto;width:45px}.draw-story{margin:0 auto;font-size:11px}.draw-actions{justify-content:center;margin-top:15px}.micro-note{margin-top:9px}.knowledge-layout{gap:7px}.knowledge-card-stage{height:34vh;width:100%}.knowledge-card-stage img{max-height:34vh}.knowledge-stamp{right:12%;bottom:0;width:54px;height:54px;font-size:7px}.knowledge-copy{width:100%;text-align:center}.knowledge-copy h2{font-size:26px}.knowledge-en{margin-bottom:9px}.knowledge-intro{font-size:11px;line-height:1.55}.key-point{text-align:left;margin:8px 0}.source-boundary{text-align:left;font-size:8px;margin:7px 0}.knowledge-actions{justify-content:center;margin-top:7px}.knowledge-actions .primary-button{padding:10px 14px;font-size:11px}.knowledge-actions .text-button{font-size:10px}.game-shell{height:calc(100vh - 95px);padding:10px}.game-heading{gap:9px;padding-bottom:8px}.game-card-mini{width:38px;height:56px}.game-heading h2{font-size:18px}.game-heading #game-intro{font-size:9px}.task-prompt{margin-bottom:9px}.task-prompt h3{font-size:16px}.task-prompt p{font-size:10px}.choice-card{min-width:90px;padding:9px;font-size:10px}.door-scene{gap:5px}.door-unit{width:29vw}.door{height:130px}.door .door-sign{font-size:7px}.door .handle{right:12%}.door .flat .handle{width:45px}.box-modal{padding:14px;border-radius:18px}.box-head{margin-bottom:5px}.box-head h2{font-size:23px}.box-head p:last-child{font-size:9px}.box-open-layout{grid-template-columns:1fr;gap:0}.box-illustration{height:95px;order:2;display:none}.box-viewer{order:1}.album-card-wrap{height:32vh;width:22vh;max-width:100%}.box-viewer h3{font-size:15px;margin:5px 0 0}.box-viewer>p{font-size:9px}.album-controls{margin:6px 0}.album-actions{gap:4px}.box-foot{margin-top:6px}.box-foot span{white-space:nowrap}.desk-scene{gap:5px;padding:9px}.desk-object{min-height:55px;font-size:17px}.desk-object span{font-size:8px}.group-board{grid-template-columns:1fr 1fr}.group-bin:last-child{grid-column:1/-1}.stove-layout{gap:8px}.stove-top{padding:8px;gap:7px}.knob{width:40px;height:40px}.faucet-panel{gap:6px}.faucet-box{padding:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.home-cat-sticker{position:absolute;z-index:13;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(75,48,24,.15));pointer-events:none;opacity:.96;transition:transform 1.1s ease,opacity .8s ease}.sticker-left{width:clamp(88px,13vw,160px);left:clamp(12px,5vw,70px);bottom:8%;transform:rotate(-10deg)}.sticker-right{width:clamp(75px,10vw,125px);right:clamp(18px,7vw,95px);top:17%;transform:rotate(9deg) scaleX(-1)}.home-title.hide~.home-cat-sticker{opacity:0;transform:scale(.7)}.curtain-panel{backdrop-filter:blur(4px)}
@media(max-width:760px){.sticker-left{width:85px;left:1%;bottom:4%}.sticker-right{width:72px;right:2%;top:16%}}

#home-screen.ritual-started .home-cat-sticker{opacity:0;transform:scale(.65) rotate(0deg)}.album-card-wrap img.rise{animation:albumCardRise .55s cubic-bezier(.2,.8,.2,1) both}@keyframes albumCardRise{from{opacity:0;transform:translateY(32px) rotate(-5deg) scale(.86)}to{opacity:1;transform:none}}

/* Subtle delayed cue for the Fool's discoverability experiment. */
.desk-object.soft-hint{animation:discover-pulse 1.8s ease-in-out infinite;box-shadow:0 0 0 3px rgba(255,235,59,.34),0 0 22px rgba(255,202,64,.72);border-color:#e8b92e}
@keyframes discover-pulse{0%,100%{transform:translateY(0);filter:brightness(1)}50%{transform:translateY(-2px);filter:brightness(1.08)}}

/* === Cat Arcana V3 · new-source visual refinements === */
#home-screen{background:radial-gradient(ellipse at 50% 49%,#fffef6 0%,#f8efd9 58%,#e9e1ca 100%)}
#home-screen .home-backdrop:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 20%,rgba(130,195,184,.18),transparent 23%),radial-gradient(circle at 85% 78%,rgba(244,167,176,.18),transparent 25%);pointer-events:none}
.curtain-panel{background:linear-gradient(90deg,rgba(233,225,205,.95),rgba(255,253,244,.94) 18%,rgba(243,235,218,.92) 38%,rgba(255,254,247,.95) 55%,rgba(238,228,211,.94) 78%,rgba(255,251,239,.96));backdrop-filter:blur(15px) saturate(1.18);-webkit-backdrop-filter:blur(15px) saturate(1.18);box-shadow:inset 0 0 90px rgba(255,255,255,.55),inset 0 0 30px rgba(176,154,119,.16),0 0 35px rgba(81,67,47,.12)}
.curtain-folds{background:repeating-linear-gradient(90deg,rgba(255,255,255,.52) 0 2.4%,rgba(183,166,135,.12) 4.5%,transparent 8.5%,rgba(255,255,255,.44) 12%,rgba(192,178,149,.1) 15%,transparent 18%);filter:blur(1.7px)}
.curtain-valance{background:linear-gradient(180deg,#c9bfa9,#e8deca 42%,#fff9ec 86%);opacity:.82}
.curtain-left{border-right:2px solid rgba(255,255,255,.72)}.curtain-right{border-left:2px solid rgba(255,255,255,.72)}
.home-title h1{text-shadow:3px 4px 0 rgba(244,166,176,.25),0 6px 30px rgba(120,100,67,.12)}
.home-cat-sticker{z-index:13;filter:drop-shadow(0 7px 12px rgba(65,47,34,.18));mix-blend-mode:multiply}
.sticker-left{width:clamp(110px,15vw,205px);left:clamp(12px,4vw,62px);bottom:5%;transform:rotate(-8deg)}
.sticker-right{width:clamp(92px,12vw,164px);right:clamp(12px,5vw,78px);top:12%;transform:rotate(8deg) scaleX(-1)}
.sticker-upper{width:clamp(78px,10vw,130px);left:23%;top:7%;transform:rotate(8deg)}
.sticker-lower{width:clamp(75px,9vw,124px);right:23%;bottom:5%;transform:rotate(-10deg) scaleX(-1)}
.home-star-coins{position:absolute;z-index:2;width:min(86vw,1000px);height:88vh;object-fit:contain;left:50%;top:50%;transform:translate(-50%,-50%);opacity:.14;pointer-events:none;mix-blend-mode:multiply}
.home-progress{width:min(210px,60vw);margin:17px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 9px;align-items:center;font-size:9px;font-weight:900;color:#8d8069;letter-spacing:.08em}
.home-progress i{display:block;width:100%;height:5px;border-radius:10px;background:#e5dac6;overflow:hidden}
.home-progress em{display:block;height:100%;width:0;background:linear-gradient(90deg,#f2a9b4,#e9c857);border-radius:10px;transition:width .5s}
.box-float-art{background:#1e8fdf}.box-float-art img{object-fit:cover;object-position:center}
.box-float{border-color:rgba(53,111,144,.25);background:rgba(252,250,238,.86)}
.draw-card-image.card-reveal{animation:drawCardFullReveal 1.28s cubic-bezier(.2,.85,.25,1) both}
@keyframes drawCardFullReveal{0%{opacity:0;transform:translateY(50px) rotateY(0deg) rotateZ(-8deg) scale(.68)}40%{opacity:1;transform:translateY(0) rotateY(210deg) rotateZ(4deg) scale(1.08)}72%{transform:rotateY(340deg) rotateZ(-2deg) scale(1.03)}100%{opacity:1;transform:rotateY(360deg) rotateZ(0) scale(1)}}
/* Album moves as one recorded page; child art and typography do not animate independently. */
.album-page{width:100%;display:flex;flex-direction:column;align-items:center;will-change:transform,opacity;position:relative;padding:10px 14px 14px;border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.4),rgba(255,248,224,.32));}
.album-page:before,.album-page:after{content:"";position:absolute;top:7px;bottom:7px;width:3px;border-radius:8px;background:rgba(118,100,75,.13);pointer-events:none}
.album-page:before{left:2px;transform:rotate(.35deg)}.album-page:after{right:2px;transform:rotate(-.4deg)}
.album-page.page-in{animation:albumWholePageIn .42s cubic-bezier(.2,.75,.22,1) both}
.album-page.page-out-left{animation:albumWholePageOutLeft .22s ease-in both}
.album-page.page-out-right{animation:albumWholePageOutRight .22s ease-in both}
@keyframes albumWholePageIn{0%{opacity:.1;transform:translateX(54px) rotate(.8deg);filter:blur(1px)}68%{opacity:1;transform:translateX(-2px) rotate(-.3deg)}82%{transform:translateX(1px) rotate(.25deg)}100%{opacity:1;transform:translateX(0) rotate(0);filter:none}}
@keyframes albumWholePageOutLeft{to{opacity:0;transform:translateX(-55px) rotate(-.8deg)}}
@keyframes albumWholePageOutRight{to{opacity:0;transform:translateX(55px) rotate(.8deg)}}
.album-card-wrap{cursor:pointer;transition:transform .25s}
.album-card-wrap:not(.locked):hover{transform:translateY(-4px) rotate(-1deg)}
.box-illustration .flying-back{position:absolute;z-index:4;width:45px;aspect-ratio:1517/2604;object-fit:cover;border-radius:5px;box-shadow:0 5px 12px #1c2f4938;left:50%;bottom:78px;opacity:0;transform:translate(-50%,0) rotate(var(--initial-rotate));}
.box-illustration.opened .flying-back{animation:boxCardsFly .8s cubic-bezier(.18,.76,.3,1) calc(var(--fly)*.07s) both}
@keyframes boxCardsFly{0%{opacity:0;transform:translate(-50%,0) scale(.6) rotate(0)}30%{opacity:1}100%{opacity:.12;transform:translate(var(--flight-x),-150px) scale(.82) rotate(var(--flight-rotate))}}
.box-body,.box-lid{border-color:#2b2b2b;box-shadow:inset 0 0 0 4px rgba(255,255,255,.26),0 9px 0 rgba(47,47,47,.72)}
.box-lid{background:#217fd0}.box-body{background:#e96c8d}
.box-foot{flex-wrap:wrap}.box-foot #draw-round-label{font-size:8px;color:#9b896e}
/* Game widgets */
.laundry-machine,.device-panel,.export-panel,.elevator,.tap-scene,.prototype-form,.file-list,.alert-comparison,.phone-demo,.sun-cards,.world-prototypes,.constraint-board,.remote-board,.stove-scene,.prototype-mock{width:min(760px,100%);margin:12px auto;padding:16px;border-radius:17px;border:1.4px solid rgba(47,43,37,.18);background:linear-gradient(145deg,#fffef8,#f4ebd7);box-shadow:0 8px 20px rgba(67,49,25,.07)}
.laundry-title{display:flex;justify-content:space-between;font-weight:900;font-size:12px;margin-bottom:12px}.laundry-title span{font-size:8px;letter-spacing:.14em;color:#a3947c}
.laundry-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.laundry-slot{border:2px dashed #b9a98f;border-radius:12px;min-height:84px;background:#fff;padding:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-align:center}.laundry-slot b{font-size:11px}.laundry-slot span{font-size:10px;color:#8b7c68}.laundry-items{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:12px auto}
.remote-board{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:610px}.remote-key{border:1px solid #b8a88e;background:#fff;border-radius:12px;padding:12px 6px;font-weight:900;min-height:58px}.remote-key small{display:block;font-size:9px;margin-top:4px}.remote-key.selected{background:#ffef9b;border-color:#6e5939}.remote-board.grouped .remote-key:nth-child(-n+2){background:#e3f3ff}
.remote-groups{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.remote-groups>div{min-width:190px;padding:8px 12px;border:1px dashed #c7b89f;border-radius:10px;background:#fffaf0}.remote-groups b,.remote-groups span{display:block;font-size:10px}.remote-groups span{color:#91836f;margin-top:4px}
.constraint-board{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}.parts-tray{display:flex;flex-direction:column;gap:8px}.part-chip{border:1.5px solid #c4b69b;border-radius:11px;padding:10px;background:#fff;cursor:grab;font-size:11px;font-weight:900}.part-chip.selected{background:#fff0a3}.slot-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.constraint-slot{min-height:80px;border:2px dashed #b6a98e;border-radius:12px;background:#fffdf2;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:8px}.constraint-slot b{font-size:10px}.constraint-slot span{font-size:9px;color:#90816a;margin-top:5px}.constraint-slot.filled{border-style:solid;background:#e7f4da}
.icon-pair{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.icon-choice{width:130px;height:120px;border-radius:17px;background:#fff;border:1.5px solid #cdbfa8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.icon-choice strong{font-size:42px}.icon-choice span{font-size:10px;color:#8e7d65}.icon-choice.correct{background:#e3f4d8}.icon-choice.wrong{background:#ffeaec}
.stove-scene{display:flex;align-items:center;justify-content:center;gap:35px;max-width:680px}.burners{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;background:#ded8c9;border:4px solid #8a806e;border-radius:14px}.burner{width:clamp(52px,7vw,85px);height:clamp(52px,7vw,85px);border:7px double #797368;border-radius:50%;background:radial-gradient(circle,#777 0 24%,#c7bfb1 25% 40%,#81796d 42% 46%,#d6cec0 48%);display:grid;place-items:center;font-size:8px}.burner.target-burner{box-shadow:0 0 0 4px #ffcc49,0 0 20px #ffcb48}.knobs{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.knobs.mapped{grid-template-columns:repeat(2,1fr)}
.knob{width:62px;height:62px;font-size:10px}.feedback-variants{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.variant-button{min-width:140px;min-height:84px;border:1.5px solid #b6a68c;border-radius:14px;background:#fff;padding:12px;font-weight:900}.variant-button small{display:block;font-size:9px;color:#9a896e;margin-top:7px}.variant-button.busy{background:#f2eddf}.variant-button.variant-ok{background:#e0f2d9}
.prototype-form,.device-panel{max-width:560px;display:flex;flex-direction:column;gap:10px}.prototype-form label{font-size:10px;font-weight:900}.prototype-form input{display:block;width:100%;padding:10px;border:1px solid #c8bba4;border-radius:8px;margin-top:5px}.test-data{max-width:670px;margin:12px auto;padding:12px 16px;border-radius:12px;background:#fff7d7;border:1px solid #ead79b;font-size:11px;line-height:1.65}.test-data p{margin:4px 0}
.device-screen{padding:18px;background:#1e3c40;color:#a8f0d0;border-radius:12px;text-align:center;font:700 15px monospace}.device-buttons{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.file-list{max-width:540px}.file-list>div{padding:10px;border-bottom:1px solid #e8ddca;font-size:12px;display:flex;justify-content:space-between;align-items:center}.file-list small{font-size:9px;color:#a28e6f}.file-delete{background:#ffe7e5;border:1px solid #d7a7a1;border-radius:8px;padding:6px 12px;font-size:10px}.confirm-pop{background:#fff;padding:15px;border:1px solid #d4c7b2;border-radius:12px;display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.confirm-pop b{width:100%;text-align:center;font-size:12px}.warning{background:#ffe5df;color:#9d3b32;padding:10px;border-radius:10px;font-size:11px}.success-note{background:#e4f3df;padding:8px;border-radius:9px}
.elevator{display:flex;justify-content:center;align-items:center;gap:20px;max-width:600px}.lift-door{width:140px;height:180px;border:5px solid #8d877b;border-bottom-width:10px;background:linear-gradient(90deg,#d8d4c9 0 48%,#8d877b 49% 51%,#e8e3d8 52%);display:grid;place-items:center;font-size:11px}.lift-door.unchanged{filter:brightness(.98)}.lift-controls{display:flex;flex-direction:column;gap:8px}.lift-controls button{padding:8px 12px;border:1px solid #bcb09c;border-radius:9px;background:#fff}.lift-controls b{font-size:9px}
.submit-prototype{max-width:540px;margin:10px auto;background:#fff;padding:15px;border:1px solid #cfc2ad;border-radius:14px;display:flex;flex-direction:column;gap:9px}.submit-prototype p{margin:0;font-weight:900}.submit-prototype input,.submit-prototype textarea{padding:9px;border:1px solid #d4c8b7;border-radius:8px}.submit-prototype textarea{min-height:55px}.submit-prototype .tiny-hint{font-size:10px;color:#c0b8ac;letter-spacing:.3em}.vague-submit{background:#f7f4eb;color:#c5bbab;border:1px solid #e4decf;padding:7px;border-radius:4px}.submit-prototype.improved{border:2px solid #83b5a4;background:#fafff5}.tap-scene{max-width:560px;display:grid;grid-template-columns:100px 1fr;gap:12px;align-items:center}.tap-faucet{font-size:54px;text-align:center;position:relative}.water-stream{width:8px;height:34px;background:#8bd0e9;margin:-3px auto 0;border-radius:0 0 8px 8px;transition:height .3s,background .3s}.tap-controls{display:flex;flex-direction:column;gap:9px}.tap-controls label{font-size:10px;font-weight:900}.tap-controls input{display:block;width:100%;accent-color:#4eabd0}.tap-scene #tap-readout{grid-column:1/-1;text-align:center;background:#eaf6f3;padding:8px;border-radius:8px;font-size:11px;font-weight:900}
.export-panel{max-width:430px}.export-toolbar{display:flex;justify-content:space-around}.export-toolbar button{width:48px;height:42px;background:#fff;border:1px solid #d8ccb8;border-radius:10px;font-size:20px}.export-file{padding:18px;background:#fff;border-radius:10px;margin-top:12px;font-size:13px}.export-panel p{font-size:10px;color:#8c7b63}
.alert-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.alert-window{padding:14px;border-radius:12px;background:#fff;border:1px solid #c9bda9;text-align:left;min-height:140px}.alert-window small{color:#b8ae9e;font-size:8px}.alert-window p{font-size:10px}.alert-window b{font-size:10px}.strong-alert{border:2px solid #cb4d48;background:#fff0eb}.strong-alert>b:first-child{color:#ba352f;font-size:12px}
.charge-modes{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.phone-demo{max-width:300px;display:flex;flex-direction:column;align-items:center}.phone-screen{width:145px;height:175px;border:7px solid #494a4c;border-radius:24px;background:#f7fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.phone-screen b{font-size:10px}.phone-screen small{font-size:8px;color:#8f9c9d}.battery-icon{font-size:44px;color:#69a989}.battery-icon.charging{animation:glowPulse .7s ease-in-out infinite alternate;color:#d1ad33}
.ambiguous-symbol{font-size:52px;width:120px;height:100px;margin:8px auto;background:#fff;border:1px solid #d4c7b2;border-radius:15px;display:grid;place-items:center}.sun-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sun-layer-card{padding:16px 10px;border:1px solid #d6c9b5;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:7px;align-items:center}.sun-layer-card span{font-size:34px}.sun-layer-card b{font-size:11px}.sun-layer-card small{font-size:9px;color:#8c7e6a}.sun-layer-card.selected{background:#fff0b6;border-color:#b99e4b}
.world-prototypes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.prototype-card{background:#fff;border:1px solid #d4c8b5;border-radius:13px;padding:12px}.prototype-card.selected{border:2px solid #e29cae;background:#fff8f8}.prototype-card>b{display:block;font-size:13px;margin-bottom:7px}.prototype-mock{min-height:135px;padding:12px;margin:0;box-shadow:none}.prototype-mock i{display:block;height:9px;border-radius:5px;background:#dfded8;margin:10px 0}.prototype-mock span{display:inline-block;background:#f1d44c;padding:8px 12px;border-radius:7px;font-size:10px}.b-mock{background:#eaf5f8}.b-mock h4{font-size:12px;margin:0}
@media(max-width:760px){.sticker-upper{left:13%;top:7%;width:70px}.sticker-lower{right:12%;bottom:4%;width:68px}.home-star-coins{width:100vw;height:75vh}.constraint-board{grid-template-columns:1fr}.parts-tray{flex-direction:row;flex-wrap:wrap;justify-content:center}.stove-scene{gap:12px}.knob{width:48px;height:48px}.alert-comparison{grid-template-columns:1fr}.sun-cards{grid-template-columns:1fr}.box-foot{justify-content:center}}
@media(prefers-reduced-motion:reduce){.album-page.page-in,.album-page.page-out-left,.album-page.page-out-right,.draw-card-image.card-reveal,.box-illustration.opened .flying-back{animation:none!important}}
.box-viewer.page-in{animation:albumWholePageIn .42s cubic-bezier(.2,.75,.22,1) both}
.box-viewer.page-out-left{animation:albumWholePageOutLeft .22s ease-in both}
.box-viewer.page-out-right{animation:albumWholePageOutRight .22s ease-in both}
#draw-card-image{cursor:pointer}

.draw-card-side:after{content:'点击牌面继续';position:absolute;left:50%;bottom:0;transform:translateX(-50%);font-size:9px;font-weight:900;letter-spacing:.16em;color:#a18f72;white-space:nowrap}.draw-card-side{position:relative}

/* ===== 2.5D complete deck box: assembled solid walls, bottom, and hinged lid ===== */
.box-illustration{height:360px;isolation:isolate;perspective:1050px;overflow:visible;display:flex!important;align-items:center;justify-content:center}
.box-3d{position:relative;width:min(310px,86%);height:310px;transform-style:preserve-3d;transform:rotateX(7deg) rotateY(-9deg);filter:drop-shadow(0 22px 16px rgba(52,34,23,.18));}
.box-shadow{bottom:12px;width:86%;height:28px;background:rgba(35,24,20,.35);filter:blur(17px)}
.box-inner-well{position:absolute;z-index:1;left:42px;right:42px;bottom:70px;height:130px;border:3px solid #292019;border-radius:13px 13px 8px 8px;background:linear-gradient(145deg,#244c62 0%,#142b3b 55%,#3a6472 100%);box-shadow:inset 0 0 0 5px rgba(255,255,255,.12),inset 0 20px 28px rgba(0,0,0,.25);transform:translateZ(-10px)}
.box-inner-well:after{content:"";position:absolute;inset:12px;border:1px dashed rgba(255,239,177,.34);border-radius:8px}
.well-star{position:absolute;top:14px;left:25px;color:#ffe68a;font-size:23px;text-shadow:0 0 12px #ffe68a}
.well-star.second{top:49px;left:auto;right:20px;font-size:16px}
.box-inner-back{position:absolute;z-index:2;left:43px;right:43px;bottom:174px;height:42px;background:linear-gradient(#ef7895,#b74670);border:3px solid #2c1b19;border-bottom:0;border-radius:9px 9px 0 0;transform:translateZ(-8px)}
.box-side{position:absolute;z-index:4;bottom:38px;height:150px;width:44px;border:3px solid #261b19;background:linear-gradient(90deg,#b94d71,#f28aa4 55%,#b84c70);box-shadow:inset 0 0 0 4px rgba(255,255,255,.14)}
.box-side-left{left:20px;transform-origin:right center;transform:rotateY(-55deg) translateZ(1px);border-radius:10px 0 0 11px}
.box-side-right{right:20px;transform-origin:left center;transform:rotateY(55deg) translateZ(1px);border-radius:0 10px 11px 0}
.box-card-stack{position:absolute;z-index:3;left:50%;bottom:80px;width:96px;height:150px;transform:translateX(-50%) translateZ(16px);pointer-events:none}
.box-card-stack img{position:absolute;left:0;bottom:0;width:100%;height:100%;object-fit:cover;border:2px solid #e9ddc3;border-radius:6px;box-shadow:0 5px 12px rgba(0,0,0,.28);transform:rotate(calc((var(--stack,0) - 1)*5deg)) translateY(calc(var(--stack,0)*-3px));}
.box-card-stack img:nth-child(1){--stack:-1}.box-card-stack img:nth-child(2){--stack:0}.box-card-stack img:nth-child(3){--stack:1}
.box-body{position:absolute!important;z-index:7;left:43px;right:43px;bottom:34px;width:auto!important;height:145px!important;background:linear-gradient(120deg,#ff9bb4,#e45f86 48%,#bb496f)!important;border:3px solid #281c1a!important;border-radius:7px 7px 13px 13px!important;overflow:hidden;box-shadow:inset 0 0 0 5px rgba(255,255,255,.23),0 12px 0 #7f3650!important;transform:translateZ(30px) rotateX(0deg)!important}
.box-front-art{position:absolute;inset:7px;border:2px solid rgba(37,24,24,.8);border-radius:4px;overflow:hidden;background:#ef7d98}
.box-front-art img{width:100%;height:100%;object-fit:cover;object-position:center 43%;display:block}
.box-front-edge{position:absolute;left:8px;right:8px;bottom:5px;height:5px;border-radius:9px;background:rgba(255,241,206,.64);box-shadow:0 0 8px rgba(255,255,255,.24)}
.box-lid{position:absolute!important;z-index:9;left:41px;bottom:174px;width:calc(100% - 82px)!important;height:120px!important;padding:0!important;background:#db6689!important;border:3px solid #281b1a!important;border-radius:12px 12px 7px 7px!important;overflow:visible!important;transform-origin:50% 100%!important;transform:translateZ(5px) rotateX(62deg)!important;transition:transform .9s cubic-bezier(.18,.75,.25,1)!important;box-shadow:inset 0 0 0 4px rgba(255,255,255,.22),0 7px 0 #77364a!important}
.box-lid-art{position:absolute;inset:5px;border:2px solid #241b1a;border-radius:6px;overflow:hidden;backface-visibility:hidden}
.box-lid-art img{width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}
.box-lid-inside{position:absolute;inset:5px;border:2px solid rgba(255,244,204,.45);border-radius:6px;background:linear-gradient(145deg,#294e5b,#182d3b);display:grid;place-items:center;color:#ffe8a2;font-size:12px;font-weight:900;letter-spacing:.22em;opacity:0;transform:rotateX(180deg);backface-visibility:hidden}
.box-lid-thickness{position:absolute;left:0;right:0;bottom:-9px;height:9px;border:2px solid #281b1a;border-top:0;border-radius:0 0 6px 6px;background:linear-gradient(90deg,#a83e62,#f28ba7,#a83e62)}
.box-front-foot{position:absolute;z-index:8;left:48px;right:48px;bottom:24px;height:9px;border-radius:0 0 9px 9px;background:linear-gradient(90deg,#77364a,#f5a1b5,#77364a);transform:translateZ(32px)}
.box-illustration.opened .box-lid{transform:translateY(-48px) translateZ(-62px) rotateX(-8deg)!important;}
.box-illustration.opened .box-lid-art{opacity:.86}
.box-illustration.opened .box-lid-inside{opacity:1}
.box-illustration.opened .box-card-stack img:nth-child(1){animation:boxCardLiftLeft .85s .12s cubic-bezier(.2,.8,.2,1) both}
.box-illustration.opened .box-card-stack img:nth-child(2){animation:boxCardLiftMid .85s .38s cubic-bezier(.2,.8,.2,1) both}
.box-illustration.opened .box-card-stack img:nth-child(3){animation:boxCardLiftRight .85s .64s cubic-bezier(.2,.8,.2,1) both}
@keyframes boxCardLiftLeft{to{transform:translate(-32px,-96px) rotate(-17deg) scale(.91)}}
@keyframes boxCardLiftMid{to{transform:translateY(-122px) rotate(-2deg) scale(.97)}}
@keyframes boxCardLiftRight{to{transform:translate(32px,-96px) rotate(17deg) scale(.91)}}
.box-glow{z-index:10;top:8px;right:12%;font-size:42px}
/* Rich knowledge reading view */
#knowledge-screen{align-items:flex-start;overflow:hidden}
.knowledge-layout{align-items:start;padding-top:clamp(54px,8vh,86px);height:100%;}
.knowledge-card-stage{position:sticky;top:74px;margin-top:3vh;height:min(68vh,640px)}
.knowledge-copy{max-height:calc(100vh - 118px);overflow-y:auto;overscroll-behavior:contain;padding:0 16px 26px 0;scrollbar-width:thin;scrollbar-color:#d7bd8b transparent}
.knowledge-intro{font-size:14px;line-height:1.9;color:#625a4c;margin-bottom:14px}
.knowledge-detail{display:grid;gap:10px;margin:8px 0 18px}
.knowledge-section{border:1px solid rgba(116,92,63,.18);background:rgba(255,255,255,.55);border-radius:14px;padding:13px 15px;box-shadow:0 4px 16px rgba(86,67,43,.04)}
.knowledge-section h3{font-size:12px;margin:0 0 6px;color:#765e46;letter-spacing:.04em}
.knowledge-section h3 span{color:#e3b93c;margin-right:7px}
.knowledge-section p{font-size:12px;line-height:1.85;color:#625b50;margin:0}
.knowledge-sources{border-top:1px dashed rgba(124,101,69,.3);padding-top:12px;margin:14px 0}
.knowledge-sources h3{font-size:10px;letter-spacing:.16em;color:#9b8567;margin:0 0 9px}
.source-links{display:flex;flex-wrap:wrap;gap:7px}
.source-links a{font-size:10px;color:#427d91;text-decoration:underline;text-underline-offset:3px;background:#eaf5f4;padding:7px 9px;border-radius:7px}
.source-links a:hover{background:#d5ecee;color:#1b596d}
.draw-return{border:1px solid rgba(117,99,75,.22);border-radius:999px;padding:9px 13px;background:rgba(255,255,255,.45);text-decoration:none}
.draw-return:hover{background:white}
@media(max-width:760px){.box-illustration{height:290px}.box-3d{transform:scale(.88) rotateX(7deg) rotateY(-9deg)}.knowledge-layout{height:100%;padding-top:65px}.knowledge-copy{max-height:calc(100vh - 105px)}.knowledge-card-stage{height:46vh;top:64px}}
@media(max-width:520px){.box-illustration{height:235px;display:flex!important;order:1}.box-3d{transform:scale(.72) rotateX(7deg) rotateY(-9deg);transform-origin:center center}.box-open-layout{grid-template-columns:1fr}.box-viewer{order:2}.knowledge-layout{display:flex;flex-direction:column;gap:2px;padding-top:52px;overflow:hidden}.knowledge-card-stage{position:relative;top:auto;margin:0 auto;height:26vh;min-height:140px;width:100%}.knowledge-card-stage img{max-height:26vh}.knowledge-copy{width:100%;max-height:calc(100vh - 34vh - 64px);text-align:left;padding-right:5px}.knowledge-copy h2{font-size:24px}.knowledge-intro{font-size:11px}.knowledge-section{padding:9px 11px}.knowledge-section p{font-size:10px;line-height:1.7}.knowledge-sources a{font-size:9px}.draw-actions{gap:6px}.draw-return{font-size:10px}}
@media(prefers-reduced-motion:reduce){.box-illustration.opened .box-card-stack img,.box-illustration.opened .box-lid{animation:none!important;transition:none!important}}
/* Refinement: make the open lid visibly hinged to one solid card chest, not two flat covers. */
.box-body{background:linear-gradient(140deg,#f18aa4 0%,#e5658b 52%,#bd4b70 100%)!important;border-radius:7px 7px 13px 13px!important;}
.box-body-label{position:absolute;inset:12px 13px 14px;border:1.6px solid rgba(48,25,29,.72);border-radius:7px;background:linear-gradient(135deg,rgba(255,238,205,.18),rgba(123,40,70,.12));display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff0d5;text-shadow:0 2px 2px rgba(92,36,59,.35);box-shadow:inset 0 0 0 3px rgba(255,255,255,.12)}
.box-body-label b{font-family:Georgia,serif;font-size:21px;letter-spacing:.15em}.box-body-label small{margin-top:5px;font-size:7px;letter-spacing:.17em;font-weight:900}.box-body-label span{margin-top:8px;color:#ffeb9a;font-size:14px}
.box-front-art{display:none!important}
.box-lid{bottom:139px!important;height:132px!important;}
.box-lid-inside{transform:none!important;opacity:0;background:radial-gradient(circle at 50% 25%,#42697a,#1d3543 70%);color:#ffe9a3}
.box-lid-inside:before{content:"✦　☾　✧";position:absolute;top:17px;left:0;right:0;text-align:center;color:#ffdf8a;font-size:20px;letter-spacing:.2em}
.box-lid-inside span{margin-top:30px}
.box-illustration.opened .box-lid{transform:translateY(-5px) translateZ(-46px) rotateX(-2deg)!important;}
.box-illustration.opened .box-lid-art{opacity:0}
.box-illustration.opened .box-lid-inside{opacity:1;transform:none}
.box-illustration.opened .box-lid:after{content:"";position:absolute;left:10px;right:10px;bottom:-12px;height:12px;border:2px solid #281b1a;border-radius:0 0 7px 7px;background:linear-gradient(90deg,#ad4969,#f8a0b5,#ad4969)}
.box-illustration.opened .box-inner-well{box-shadow:inset 0 0 0 5px rgba(255,255,255,.13),inset 0 20px 28px rgba(0,0,0,.25),0 0 22px rgba(255,224,137,.16)}


/* Final box visual: use the supplied photographed 2.5D opened box, not a hand-built CSS carton. */
.box-illustration {height:390px!important;min-height:320px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;isolation:isolate;perspective:1400px;overflow:visible!important;position:relative;}
.box-photo-stage {width:min(100%,390px);height:345px;position:relative;display:flex;align-items:center;justify-content:center;transform:perspective(1300px) rotateY(-5deg) rotateX(2deg) translateY(7px);transform-style:preserve-3d;transition:transform .65s cubic-bezier(.18,.75,.25,1),filter .65s;filter:drop-shadow(0 24px 22px rgba(37,30,26,.23));}
.box-open-photo {width:100%;height:100%;object-fit:contain;display:block;border-radius:18px;user-select:none;-webkit-user-drag:none;}
.box-illustration.opened .box-photo-stage {animation:suppliedBoxPop .9s cubic-bezier(.18,.8,.25,1) both;filter:drop-shadow(0 31px 27px rgba(37,30,26,.30));}
@keyframes suppliedBoxPop {0%{opacity:.2;transform:perspective(1300px) rotateY(-12deg) rotateX(6deg) translateY(30px) scale(.88)}65%{opacity:1;transform:perspective(1300px) rotateY(2deg) rotateX(-1deg) translateY(-5px) scale(1.025)}100%{opacity:1;transform:perspective(1300px) rotateY(-5deg) rotateX(2deg) translateY(0) scale(1)}}
.box-photo-sparkle {position:absolute;color:#efc85c;text-shadow:0 0 15px rgba(245,207,105,.8);pointer-events:none;animation:glowPulse 2.4s ease-in-out infinite;}
.box-photo-sparkle.sparkle-a {right:6%;top:10%;font-size:30px}.box-photo-sparkle.sparkle-b {left:4%;bottom:18%;font-size:23px;animation-delay:.7s}
.box-photo-caption {margin:0;color:#a18a6c;font-family:Georgia,serif;letter-spacing:.2em;font-size:9px;font-weight:700}
.box-illustration.opened .box-photo-caption {animation:fadeCaption .6s .2s both}
@keyframes fadeCaption {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.learning-complete-actions {margin-top:20px;display:grid;gap:12px}
.learning-complete-actions[hidden],.knowledge-actions[hidden] {display:none!important}
.learning-complete-note {display:flex;gap:12px;align-items:flex-start;border-radius:15px;padding:15px 16px;background:linear-gradient(120deg,rgba(255,245,202,.92),rgba(255,231,235,.88));border:1px solid rgba(179,146,75,.28)}
.learning-complete-note>span {color:#c39727;font-size:24px;line-height:1}.learning-complete-note b {font-size:13px;color:#66513c}.learning-complete-note p {margin:5px 0 0;font-size:11px;line-height:1.7;color:#796d5d}
#continue-learning {justify-self:start;min-width:min(100%,270px)}.complete-secondary-actions {display:flex;align-items:center;gap:16px;flex-wrap:wrap}
@media(max-width:760px){.box-illustration{height:290px!important;min-height:240px}.box-photo-stage{height:260px;width:min(100%,320px)}}
@media(max-width:520px){.box-illustration{height:230px!important;min-height:210px;display:flex!important;order:1}.box-photo-stage{height:205px;width:min(85vw,260px)}.box-photo-caption{font-size:7px}.box-open-layout{grid-template-columns:1fr}.box-viewer{order:2}.learning-complete-actions{margin-top:10px}.learning-complete-note{padding:10px 12px}#continue-learning{justify-self:stretch;width:100%}.complete-secondary-actions{justify-content:center}}
@media(prefers-reduced-motion:reduce){.box-illustration.opened .box-photo-stage{animation:none!important}}

/* ===== Visual update 2026-11: larger playful experiments + supplied PAWS TAROT 2.5D box ===== */
/* Home cat cut-outs: larger, fully visible and no longer faint. */
.home-cat-sticker{opacity:1!important;filter:drop-shadow(0 10px 15px rgba(65,47,34,.22)) saturate(1.08)!important}
.sticker-left{width:clamp(160px,19vw,270px)!important;left:clamp(8px,2.2vw,34px)!important;bottom:4%!important;transform:rotate(-9deg)!important}
.sticker-right{width:clamp(148px,17vw,242px)!important;right:clamp(8px,2.6vw,40px)!important;top:11%!important;transform:rotate(8deg) scaleX(-1)!important}
.sticker-upper{width:clamp(105px,12vw,172px)!important;left:20%!important;top:4%!important;transform:rotate(7deg)!important}
.sticker-lower{width:clamp(125px,14vw,195px)!important;right:19%!important;bottom:3%!important;transform:rotate(-7deg)!important}
#home-screen.ritual-started .home-cat-sticker{opacity:0!important;transform:scale(.62) rotate(0deg)!important}
@media(max-width:760px){
  .sticker-left{width:clamp(112px,23vw,165px)!important;left:-2%!important;bottom:3%!important}
  .sticker-right{width:clamp(110px,22vw,158px)!important;right:-2%!important;top:12%!important}
  .sticker-upper{width:clamp(76px,15vw,112px)!important;left:13%!important;top:4%!important}
  .sticker-lower{width:clamp(86px,17vw,122px)!important;right:14%!important;bottom:2%!important}
}

/* Bigger stage and illustrations: less empty shell, more room for the actual learning interaction. */
.game-shell{width:min(1420px,calc(100vw - 72px))!important;height:min(900px,calc(100vh - 92px))!important;padding:clamp(22px,3vw,42px)!important;border-radius:30px!important}
.game-content{max-width:1200px!important}
.game-main{padding:clamp(18px,2.4vh,30px) clamp(8px,1.2vw,18px) 18px!important;align-items:flex-start!important}
.task-prompt{max-width:920px!important;margin-bottom:24px!important}
.task-prompt h3{font-size:clamp(21px,2.2vw,29px)!important}
.task-prompt p{font-size:clamp(13px,1.1vw,15px)!important;line-height:1.8!important}
.task-buttons{gap:14px!important}
.choice-card{min-width:150px!important;padding:15px 21px!important;font-size:14px!important;border-radius:17px!important}
.game-feedback{max-width:900px!important;font-size:14px!important;padding:16px 20px!important;line-height:1.8!important}
.task-illustration{max-width:1000px!important;margin:20px auto 26px!important}

/* Norman doors: a generous illustrated entrance scene with three-dimensional panel details. */
.door-scene{
  width:min(1100px,100%)!important;min-height:clamp(360px,46vh,470px)!important;
  padding:28px clamp(20px,4vw,54px) 38px!important;margin:16px auto 24px!important;
  align-items:flex-end!important;gap:clamp(22px,4vw,58px)!important;
  border:2px solid rgba(107,75,49,.22)!important;border-radius:26px!important;
  background:
    radial-gradient(circle at 50% 16%,rgba(255,255,255,.76),transparent 45%),
    linear-gradient(180deg,#fff5df 0 76%,#dcb88e 76% 100%)!important;
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.26),0 12px 30px rgba(80,57,36,.1)!important;
  position:relative!important;overflow:hidden!important;
}
.door-scene:before{content:"";position:absolute;left:0;right:0;bottom:34px;height:2px;background:rgba(110,77,49,.2);box-shadow:0 9px 0 rgba(255,255,255,.23);pointer-events:none}
.door-scene:after{content:"✦";position:absolute;right:5%;top:8%;font-size:38px;color:#e5bd58;text-shadow:0 0 16px rgba(238,199,102,.6);pointer-events:none}
.door-unit{width:clamp(178px,20vw,245px)!important;position:relative;z-index:1}
.door{height:clamp(255px,34vh,350px)!important;border:7px solid #795236!important;border-bottom:0!important;border-radius:14px 14px 2px 2px!important;
  background:linear-gradient(90deg,#a86d43 0%,#e6bd8a 13%,#c78e59 24%,#edcda1 48%,#c08b57 72%,#e3b783 91%,#99613e 100%)!important;
  box-shadow:inset 10px 0 0 rgba(255,236,204,.55),inset -9px 0 0 rgba(101,57,29,.17),8px 9px 0 rgba(65,43,28,.18),0 16px 24px rgba(70,44,24,.16)!important;
}
.door:before{inset:18px!important;border:2px solid rgba(115,72,39,.54)!important;box-shadow:inset 0 0 0 7px rgba(255,232,192,.16),0 0 0 5px rgba(255,239,214,.15)!important;opacity:1!important}
.door:after{content:"";position:absolute;inset:33px 34px 36px;border:1px solid rgba(255,240,214,.5);border-radius:6px;pointer-events:none}
.door .handle{right:13%!important;top:48%!important;width:15px!important;height:54px!important;border:3px solid #49301b!important;border-radius:10px!important;background:linear-gradient(90deg,#f3d98c,#fff2c1 48%,#c99b43)!important;box-shadow:3px 3px 0 rgba(62,39,18,.35),inset 1px 0 2px #fff!important}
.door.flat .handle{width:92px!important;height:13px!important;right:50%!important;top:50%!important;transform:translateX(50%)!important;border-radius:3px!important;background:linear-gradient(180deg,#fff3d4,#cfb88f)!important}
.door .door-sign{top:16px!important;font-size:12px!important;padding:6px 10px!important;border:1.5px solid #573c28!important;border-radius:5px!important;background:#fff1ce!important;letter-spacing:.1em!important}
.door-unit b{font-size:14px!important;margin-top:13px!important;letter-spacing:.1em!important}
.door-unit small{font-size:11px!important;display:block;margin-top:4px!important}
.door-actions .choice-card{min-width:190px!important;padding:16px 26px!important;font-size:15px!important}
.door-feedback{max-width:920px!important}

/* Scale up the other tactile boards to the same visual importance as the Norman door. */
.laundry-machine,.device-panel,.export-panel,.elevator,.tap-scene,.prototype-form,.file-list,.alert-comparison,.phone-demo,.sun-cards,.world-prototypes,.constraint-board,.remote-board,.stove-scene,.prototype-mock,
.attention-ui,.warning-card,.signal-demo,.form-demo,.faucet-panel,.stove-layout,.desk-scene,.group-board{
  width:min(1040px,100%)!important;max-width:1040px!important;padding:clamp(20px,2.2vw,30px)!important;border-radius:22px!important;
}
.laundry-title{font-size:16px!important;margin-bottom:18px!important}
.laundry-title span{font-size:10px!important}
.laundry-slots{gap:16px!important}
.laundry-slot{min-height:135px!important;padding:18px!important;border-radius:16px!important}
.laundry-slot b{font-size:15px!important}.laundry-slot span{font-size:13px!important}
.laundry-items{gap:15px!important;margin:18px auto!important}
.remote-board{max-width:980px!important;gap:15px!important}
.remote-key{min-height:92px!important;padding:18px 12px!important;font-size:17px!important;border-radius:16px!important}
.remote-key small{font-size:12px!important}
.remote-groups>div{min-width:250px!important;padding:16px 20px!important}
.remote-groups b{font-size:14px!important}.remote-groups span{font-size:12px!important}
.constraint-board{max-width:1060px!important;gap:22px!important;padding:24px!important}
.part-chip{padding:16px!important;font-size:14px!important;border-radius:14px!important}
.constraint-slot{min-height:120px!important;padding:14px!important;border-radius:16px!important}
.constraint-slot b{font-size:14px!important}.constraint-slot span{font-size:12px!important}
.icon-choice{width:175px!important;height:155px!important;border-radius:20px!important;gap:12px!important}
.icon-choice strong{font-size:58px!important}.icon-choice span{font-size:13px!important}
.stove-scene{gap:clamp(35px,5vw,70px)!important;max-width:1000px!important}
.burners{gap:18px!important;padding:24px!important;border-radius:20px!important}
.burner{width:clamp(78px,8.5vw,116px)!important;height:clamp(78px,8.5vw,116px)!important}
.knobs{gap:17px!important}.knob{width:78px!important;height:78px!important;font-size:14px!important}
.feedback-variants{gap:18px!important;width:min(100%,1000px)!important;margin:18px auto!important}
.variant-button{min-width:210px!important;min-height:145px!important;padding:22px!important;font-size:18px!important;border-radius:20px!important}
.variant-button small{font-size:12px!important}
.attention-ui{max-width:1040px!important;padding:26px!important}
.attention-ui .noise{font-size:12px!important;gap:10px!important;margin-bottom:18px!important}
.attention-target{padding:19px 34px!important;font-size:16px!important}
.warning-card{max-width:900px!important;padding:22px!important}
.warning-card .warning{font-size:14px!important;padding:13px!important;margin:9px 0!important}
.faucet-panel{max-width:1000px!important;gap:20px!important}
.faucet-box{padding:22px!important;border-radius:18px!important}
.faucet-box label{font-size:14px!important;margin-bottom:18px!important}
.faucet-output{padding:18px!important;font-size:16px!important}
.device-panel{max-width:950px!important;min-height:230px!important;padding:28px!important}
.device-screen{min-height:110px!important;font-size:25px!important}
.form-demo{max-width:900px!important;padding:24px!important}
.form-demo label{font-size:13px!important}.form-demo input{padding:14px!important;font-size:14px!important}
.desk-scene{max-width:1000px!important;min-height:260px!important;gap:18px!important;padding:24px!important}
.desk-object{min-height:118px!important;font-size:34px!important;border-radius:17px!important}
.desk-object span{font-size:13px!important}
.group-board{max-width:1040px!important;gap:16px!important}
.group-bin{min-height:185px!important;padding:17px!important;border-radius:18px!important}
.group-bin h4{font-size:15px!important}
.group-bin button{font-size:13px!important;padding:10px 12px!important;margin:7px 0!important}
.stage-row,.memory-row{gap:14px!important}
.stage-tile,.memory-tile{font-size:14px!important;padding:14px 17px!important;border-radius:13px!important}
.game-small-note{font-size:12px!important;margin-top:12px!important}
@media(max-width:760px){
  .game-shell{width:calc(100vw - 22px)!important;height:calc(100vh - 88px)!important;padding:13px!important}
  .game-main{padding:10px 1px!important}
  .task-prompt{margin-bottom:12px!important}
  .task-prompt h3{font-size:18px!important}
  .task-prompt p{font-size:11px!important}
  .door-scene{min-height:250px!important;padding:14px 8px 20px!important;gap:8px!important}
  .door-unit{width:30%!important}
  .door{height:clamp(170px,29vh,230px)!important;border-width:4px!important}
  .door:before{inset:10px!important}
  .door:after{display:none}
  .door .handle{width:10px!important;height:32px!important;border-width:2px!important}
  .door.flat .handle{width:48px!important;height:8px!important}
  .door .door-sign{font-size:8px!important;padding:3px 5px!important}
  .door-unit b{font-size:10px!important;margin-top:8px!important}
  .door-unit small{font-size:8px!important}
  .door-actions .choice-card,.choice-card{min-width:110px!important;padding:10px 12px!important;font-size:11px!important}
  .laundry-slot{min-height:76px!important;padding:8px!important}
  .remote-key{min-height:66px!important;padding:10px 5px!important;font-size:12px!important}
  .remote-key small{font-size:9px!important}
  .constraint-board{padding:10px!important;gap:8px!important}
  .constraint-slot{min-height:76px!important;padding:7px!important}
  .constraint-slot b{font-size:10px!important}.constraint-slot span{font-size:9px!important}
  .stove-scene{gap:10px!important}.burners{padding:10px!important;gap:8px!important}.burner{width:52px!important;height:52px!important}.knob{width:44px!important;height:44px!important;font-size:10px!important}
  .icon-choice{width:110px!important;height:100px!important}.icon-choice strong{font-size:36px!important}.icon-choice span{font-size:9px!important}
  .feedback-variants{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .variant-button{min-width:0!important;min-height:70px!important;padding:10px!important;font-size:13px!important}
  .faucet-panel{gap:8px!important}.faucet-box{padding:10px!important}
  .desk-object{min-height:68px!important;font-size:22px!important}.desk-object span{font-size:9px!important}
}

/* Entry animation: the supplied 2.5D PAWS TAROT box appears first, then the card-library page slides in. */
.box-opening-scene{position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:clamp(14px,3vw,34px);border-radius:24px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#fff8e9 0,#ffebef 58%,#f8d7df 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .42s ease,visibility .42s}
.box-overlay.opening .box-opening-scene{opacity:1;visibility:visible;pointer-events:auto}
.box-opening-scene:before{content:"";position:absolute;inset:15px;border:1px solid rgba(137,88,98,.22);border-radius:18px;pointer-events:none}
.box-opening-stars{position:absolute;top:6%;left:0;right:0;text-align:center;color:#d1a33c;font-size:clamp(17px,2.5vw,30px);letter-spacing:.45em;animation:boxStarTwinkle 1.6s ease-in-out infinite alternate}
.box-opening-scene img{position:relative;z-index:1;width:min(94%,1120px);max-height:69vh;object-fit:contain;filter:drop-shadow(0 22px 22px rgba(85,54,57,.2));transform-origin:50% 65%;animation:boxEntry3D 1.12s cubic-bezier(.16,.78,.24,1) both}
.box-opening-kicker{position:relative;z-index:1;margin:0;color:#98745e;font-family:Georgia,serif;font-size:10px;font-weight:900;letter-spacing:.32em}
.box-opening-scene h3{position:relative;z-index:1;margin:0;color:#513d3a;font-size:clamp(19px,2.1vw,27px);letter-spacing:.08em}
.box-opening-scene>span{position:relative;z-index:1;color:#927e71;font-size:11px;letter-spacing:.16em}
.box-overlay.opening .box-head,.box-overlay.opening #box-library-layout,.box-overlay.opening .box-foot{opacity:0;visibility:hidden;transform:translateY(12px)}
.box-head,#box-library-layout,.box-foot{transition:opacity .42s ease,transform .55s cubic-bezier(.2,.75,.25,1),visibility .42s}
.box-overlay.box-ready .box-head,.box-overlay.box-ready #box-library-layout,.box-overlay.box-ready .box-foot{opacity:1;visibility:visible;transform:none}
.box-overlay.box-ready .box-opening-scene{opacity:0;visibility:hidden;pointer-events:none}
@keyframes boxEntry3D{0%{opacity:0;transform:perspective(1400px) rotateX(18deg) rotateY(-16deg) translateY(35px) scale(.78)}55%{opacity:1;transform:perspective(1400px) rotateX(-3deg) rotateY(5deg) translateY(-8px) scale(1.035)}78%{transform:perspective(1400px) rotateX(1deg) rotateY(-2deg) translateY(2px) scale(.99)}100%{opacity:1;transform:perspective(1400px) rotateX(0) rotateY(0) translateY(0) scale(1)}}
@keyframes boxStarTwinkle{from{opacity:.4;transform:translateY(0)}to{opacity:1;transform:translateY(-5px)}}
.box-photo-stage{width:min(100%,500px)!important;height:300px!important;transform:perspective(1300px) rotateY(-4deg) rotateX(1deg) translateY(4px)!important;filter:drop-shadow(0 20px 19px rgba(37,30,26,.18))!important}
.box-open-photo{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
.box-illustration{height:335px!important;min-height:280px!important}
@media(max-width:760px){.box-opening-scene img{width:98%;max-height:54vh}.box-opening-scene h3{font-size:18px}.box-photo-stage{height:190px!important;width:min(100%,320px)!important}.box-illustration{height:210px!important;min-height:190px!important}}
@media(prefers-reduced-motion:reduce){.box-opening-scene img,.box-opening-stars{animation:none!important}.box-overlay.opening .box-opening-scene{transition:none}}

/* ===== Illustrated Norman-door scene: larger storybook portal and tactile details ===== */
.door-scene{
  min-height:clamp(340px,39vh,390px)!important;
  padding:24px clamp(20px,4vw,52px) 30px!important;
  gap:clamp(20px,4vw,56px)!important;
  background:
    radial-gradient(ellipse at 50% 8%,rgba(255,255,255,.94),transparent 48%),
    radial-gradient(circle at 10% 22%,rgba(151,207,222,.16) 0 2px,transparent 3px),
    radial-gradient(circle at 87% 33%,rgba(242,174,194,.19) 0 3px,transparent 4px),
    linear-gradient(180deg,#fff7e9 0 76%,#d9b48a 76% 100%)!important;
}
.door-unit{
  width:clamp(250px,25vw,315px)!important;
  isolation:isolate;
  padding-top:8px;
}
.door-unit:before{
  content:"";position:absolute;z-index:-1;left:50%;top:-34px;transform:translateX(-50%);
  width:clamp(310px,33vw,420px);height:calc(100% + 70px);
  background:url("assets/decor/door-portal.svg") center bottom/100% 100% no-repeat;
  filter:drop-shadow(0 10px 10px rgba(88,60,39,.12));
}
.door-unit:after{
  content:"✦  PAWS PORTAL  ✦";position:absolute;left:50%;top:-7px;transform:translate(-50%,-100%);
  padding:5px 12px;border:1px solid rgba(143,98,65,.28);border-radius:999px;
  background:rgba(255,250,230,.88);color:#9b754f;font-size:8px;font-weight:900;letter-spacing:.18em;white-space:nowrap;
}
.door{
  width:86%!important;margin:0 auto!important;height:clamp(245px,32vh,310px)!important;
  border:8px solid #70472f!important;border-bottom:0!important;border-radius:12px 12px 2px 2px!important;
  background:
    repeating-linear-gradient(90deg,transparent 0 27px,rgba(91,51,28,.12) 28px 30px,rgba(255,232,190,.12) 31px 33px,transparent 34px 58px),
    linear-gradient(90deg,#9d603b 0%,#e2b47a 12%,#c48750 24%,#e8c393 43%,#c68a53 61%,#f0cd99 81%,#9a623d 100%)!important;
  box-shadow:inset 12px 0 0 rgba(255,235,203,.5),inset -11px 0 0 rgba(83,44,22,.2),9px 10px 0 rgba(62,39,24,.2),0 20px 25px rgba(75,51,33,.17)!important;
}
.door:before{
  inset:17px!important;border:2px solid rgba(111,65,35,.67)!important;
  box-shadow:inset 0 0 0 7px rgba(255,237,206,.2),inset 0 0 0 9px rgba(115,68,36,.13),0 0 0 5px rgba(255,239,214,.15)!important;
  opacity:1!important;
}
.door:after{
  content:"";position:absolute;left:24%;right:24%;top:23%;bottom:21%;
  border:2px solid rgba(255,236,204,.52);border-radius:7px;
  box-shadow:inset 0 0 0 5px rgba(91,53,29,.08),0 0 0 5px rgba(91,53,29,.05);
  pointer-events:none;
}
.door .handle{
  right:13%!important;top:48%!important;width:17px!important;height:57px!important;
  border:3px solid #4d321d!important;border-radius:9px!important;
  background:linear-gradient(90deg,#c8953e,#fff0b4 44%,#d8ad58)!important;
  box-shadow:3px 3px 0 rgba(62,39,18,.35),inset 1px 0 2px #fff!important;
}
.door .handle:before{content:"";position:absolute;left:50%;top:-8px;transform:translateX(-50%);width:25px;height:12px;border:2px solid #69481f;border-radius:5px;background:linear-gradient(#fff0bc,#c99b47)}
.door .handle:after{content:"";position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);width:25px;height:12px;border:2px solid #69481f;border-radius:5px;background:linear-gradient(#fff0bc,#c99b47)}
.door.flat .handle{width:100px!important;height:15px!important;right:50%!important;top:50%!important;transform:translateX(50%)!important;border:3px solid #5b4026!important;border-radius:4px!important;background:linear-gradient(180deg,#fff7df,#d1b88c)!important;box-shadow:0 4px 0 rgba(70,44,24,.25)!important}
.door.flat .handle:before,.door.flat .handle:after{display:none}
.door .door-sign{top:14px!important;font-size:13px!important;padding:7px 13px!important;border:2px solid #6a392c!important;border-radius:5px!important;background:linear-gradient(180deg,#fff3dd,#f7dfbf)!important;color:#b63e54!important;letter-spacing:.13em!important;box-shadow:2px 3px 0 rgba(68,35,30,.2)!important}
.door-unit>b{display:inline-block!important;min-width:92px;padding:7px 16px;border:1px solid rgba(119,81,50,.24);border-radius:999px;background:rgba(255,249,231,.94);box-shadow:0 3px 0 rgba(96,64,41,.1);font-size:12px!important;margin-top:12px!important;letter-spacing:.12em!important}
.door-unit>small{font-size:10px!important;display:block;margin-top:5px!important;color:#8c765d!important}
.door-actions{gap:12px!important;margin-top:3px}
.door-actions .choice-card{min-width:180px!important;padding:14px 25px!important;font-size:14px!important}
@media(max-width:760px){
 .door-scene{min-height:310px!important;padding:23px 9px 24px!important;gap:5px!important}
 .door-unit{width:min(80vw,270px)!important}
 .door-unit:before{width:calc(100% + 65px);top:-24px}
 .door{height:clamp(215px,31vh,265px)!important;width:82%!important}
 .door-unit:after{font-size:7px;top:0}
 .door-actions .choice-card{min-width:120px!important;padding:11px 14px!important;font-size:12px!important}
}

/* The PAWS TAROT product art stays intact; individual blue backs rise from the pictured deck during opening. */
.box-opening-scene{isolation:isolate}
.box-pop-cards{position:absolute;z-index:2;right:clamp(7%,calc((100% - 1120px)/2 + 4%),12%);top:clamp(34%,39%,43%);width:clamp(100px,13vw,170px);height:clamp(120px,20vh,190px);pointer-events:none;opacity:0}
.box-pop-cards img{position:absolute;left:50%;top:50%;width:58%;height:86%;object-fit:cover;border:5px solid #fff9eb;border-radius:9px;box-shadow:0 10px 18px rgba(34,36,45,.23);transform-origin:50% 85%;animation:deckRise 1s cubic-bezier(.18,.76,.25,1) both}
.box-pop-cards img:nth-child(1){--tilt:-18deg;--dx:-26px;animation-delay:.1s}
.box-pop-cards img:nth-child(2){--tilt:0deg;--dx:0px;animation-delay:.22s}
.box-pop-cards img:nth-child(3){--tilt:18deg;--dx:26px;animation-delay:.34s}
.box-overlay.opening .box-pop-cards{opacity:1;transition:opacity .25s ease .22s}
@keyframes deckRise{0%{opacity:0;transform:translate(-50%,30px) rotate(var(--tilt)) scale(.55)}55%{opacity:1;transform:translate(calc(-50% + var(--dx)), -38px) rotate(var(--tilt)) scale(1.05)}100%{opacity:1;transform:translate(calc(-50% + var(--dx)), -20px) rotate(var(--tilt)) scale(1)}}
@media(max-width:760px){.box-pop-cards{right:5%;top:40%;width:92px;height:118px}.box-pop-cards img{border-width:3px}}
@media(prefers-reduced-motion:reduce){.box-pop-cards img{animation:none!important;transform:translate(calc(-50% + var(--dx)), -20px) rotate(var(--tilt))}}

/* Trimmed transparent sticker canvases: enlarge the visible cats, not empty margins. */
.sticker-left{width:clamp(175px,15vw,215px)!important;left:clamp(10px,2.3vw,36px)!important;bottom:3%!important}
.sticker-right{width:clamp(165px,13vw,190px)!important;right:clamp(12px,2.8vw,44px)!important;top:10%!important}
.sticker-upper{width:clamp(120px,10vw,148px)!important;left:20%!important;top:3%!important}
.sticker-lower{width:clamp(165px,13vw,190px)!important;right:18%!important;bottom:2%!important}
@media(max-width:760px){
 .sticker-left{width:clamp(125px,34vw,165px)!important;left:-1%!important;bottom:2%!important}
 .sticker-right{width:clamp(118px,31vw,155px)!important;right:-1%!important;top:10%!important}
 .sticker-upper{width:clamp(86px,22vw,112px)!important;left:12%!important;top:3%!important}
 .sticker-lower{width:clamp(118px,31vw,150px)!important;right:13%!important;bottom:2%!important}
}
/* Keep the Norman-door controls on the same visible stage as the main illustration. */
.door-scene{height:360px!important;min-height:360px!important;padding:12px 24px 16px!important;margin:12px auto 14px!important}
.door{height:clamp(245px,30vh,270px)!important}
.door-unit{padding-top:5px!important}
.door-unit:before{top:-26px!important;height:calc(100% + 48px)!important}
@media(max-width:760px){.door-scene{height:300px!important;min-height:300px!important;padding:10px 8px 12px!important;margin:8px auto 10px!important}.door{height:clamp(205px,28vh,235px)!important}.door-unit:before{top:-20px!important}}


/* Final requested refinements: supplied opening movie, reset control and 2x2 stove mapping. */
.box-opening-scene video{
  position:relative;z-index:1;width:min(100%,1120px);height:auto;max-height:74vh;
  object-fit:contain;border-radius:16px;filter:drop-shadow(0 22px 22px rgba(85,54,57,.20));
  background:transparent;animation:boxEntry3D 1.12s cubic-bezier(.16,.78,.24,1) both;
}
@media(max-width:760px){.box-opening-scene video{width:100%;max-height:58vh;border-radius:10px}}
.home-progress{position:relative}
.progress-reset{
  appearance:none;border:1px solid rgba(87,70,55,.25);background:rgba(255,255,255,.68);
  color:#5e5148;border-radius:50%;width:23px;height:23px;display:inline-grid;place-items:center;
  font:700 17px/1 system-ui;cursor:pointer;margin-left:2px;transition:transform .2s,background .2s,border-color .2s;
}
.progress-reset:hover{transform:rotate(-45deg);background:#fff;border-color:#d69ab0}
.progress-reset:focus-visible{outline:2px solid #d8799a;outline-offset:3px}
.stove-scene.stove-vertical{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;max-width:760px!important}
.stove-appliance{padding:14px;background:linear-gradient(145deg,#e8e2d5,#cfc7b8);border:4px solid #8a806e;border-radius:20px;box-shadow:inset 0 2px 7px rgba(255,255,255,.65),0 8px 18px rgba(65,52,34,.10)}
.stove-scene .burners{display:grid!important;grid-template-columns:repeat(2,clamp(76px,9vw,112px))!important;grid-template-rows:repeat(2,clamp(76px,9vw,112px))!important;gap:12px!important;padding:12px!important;background:transparent!important;border:0!important;border-radius:0!important}
.stove-scene .burner{width:auto!important;height:auto!important;border-radius:50%!important;position:relative;font-size:10px!important;color:#5c4b38!important}
.stove-scene .burner span{position:absolute;inset:auto 0 -18px;text-align:center;font-size:9px;white-space:nowrap;color:#756957}
.stove-scene .burner.target-burner{box-shadow:0 0 0 4px #ffcc49,0 0 22px rgba(255,190,48,.55)!important}
.stove-scene .burner.burner-lit{background:radial-gradient(circle,#ff9c2f 0 22%,#ffd66d 24% 34%,#8c6d4a 37% 43%,#d6cec0 46%)!important}
.stove-scene .burner.burner-wrong-flash{filter:brightness(1.25);outline:3px solid #e58b83}
.stove-scene .knob-label{font-size:11px;letter-spacing:.16em;color:#8b7961;margin-top:6px}
.stove-scene .knobs{display:flex!important;align-items:center;justify-content:center;width:min(100%,560px);gap:clamp(24px,5vw,54px)!important}
.stove-scene .knobs .knob{flex:0 0 auto;border:3px solid #76695b!important;background:radial-gradient(circle at 35% 30%,#fff9eb,#c7bca9 65%,#8e8271)!important;color:#433a31!important;box-shadow:0 5px 0 #756b5e,0 8px 12px rgba(47,38,26,.13)!important}
.stove-scene .knobs.knobs-even{justify-content:space-evenly!important;gap:0!important}
.stove-scene .knobs.knobs-spread{display:grid!important;grid-template-columns:1fr auto auto 1fr!important;justify-content:stretch!important;gap:clamp(10px,1.8vw,20px)!important;padding:0 clamp(8px,3vw,30px)}
.stove-scene .knobs.knobs-spread .knob:nth-child(1){justify-self:start}
.stove-scene .knobs.knobs-spread .knob:nth-child(2){justify-self:center}
.stove-scene .knobs.knobs-spread .knob:nth-child(3){justify-self:center}
.stove-scene .knobs.knobs-spread .knob:nth-child(4){justify-self:end}
.stove-scene .knobs.knobs-mapped{display:grid!important;grid-template-columns:repeat(2,1fr)!important;grid-template-rows:repeat(2,1fr)!important;justify-items:center;gap:12px 18px!important;width:auto!important}
.stove-scene .knobs.knobs-mapped .knob{width:clamp(58px,6vw,78px)!important;height:clamp(58px,6vw,78px)!important}
@media(max-width:760px){
  .stove-scene.stove-vertical{gap:9px!important;padding:12px!important}
  .stove-scene .burners{grid-template-columns:repeat(2,clamp(62px,19vw,86px))!important;grid-template-rows:repeat(2,clamp(62px,19vw,86px))!important;gap:9px!important}
  .stove-scene .knobs{width:100%;gap:clamp(14px,4vw,28px)!important}
  .stove-scene .knobs .knob{width:54px!important;height:54px!important}
  .stove-scene .knobs.knobs-mapped{width:auto!important;grid-template-columns:repeat(2,1fr)!important}
  .stove-scene .knobs.knobs-mapped .knob{width:50px!important;height:50px!important}
}

/* === Corrected archive: full-screen card-catalog layout matching the supplied reference === */
.box-overlay{position:fixed!important;inset:0!important;z-index:100!important;padding:0!important;display:block!important;background:#fff5e8!important;backdrop-filter:none!important;opacity:0;visibility:hidden;overflow:hidden!important}
.box-overlay.open{opacity:1;visibility:visible}
.box-backdrop{display:none!important}
.box-modal{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:transparent!important;transform:none!important}
.box-close{display:none!important}
.box-opening-scene{position:absolute!important;inset:0!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:clamp(22px,5vw,72px)!important;margin:0!important;border:0!important;border-radius:0!important;background:radial-gradient(ellipse at 14% 18%,rgba(255,221,139,.42),transparent 36%),radial-gradient(ellipse at 88% 84%,rgba(255,180,204,.38),transparent 38%),linear-gradient(115deg,#fff6df 0%,#fffaf0 54%,#fff0ed 100%)!important;opacity:0;visibility:hidden;pointer-events:none;transition:none!important}
.box-opening-scene:before,.box-opening-stars,.box-pop-cards,.box-opening-kicker,.box-opening-scene h3,.box-opening-scene>span{display:none!important;content:none!important}
/* The supplied movie is the only animated content: present it as a clean framed film panel. */
.box-opening-scene video{display:block!important;position:static!important;width:min(100%,1120px)!important;height:auto!important;max-width:1120px!important;max-height:calc(100vh - 100px)!important;aspect-ratio:16/9!important;object-fit:contain!important;border:1px solid rgba(91,76,62,.34)!important;outline:9px solid rgba(255,253,247,.88)!important;outline-offset:-10px!important;border-radius:22px!important;background:#fffaf0!important;filter:none!important;box-shadow:0 24px 60px rgba(83,64,51,.20),0 0 0 1px rgba(255,255,255,.8)!important;animation:none!important}
@media(max-width:760px){.box-opening-scene{padding:18px!important}.box-opening-scene video{width:100%!important;max-height:calc(100vh - 72px)!important;border-radius:14px!important;outline-width:6px!important;outline-offset:-7px!important}}
.box-overlay.opening .box-opening-scene{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.box-overlay.opening #archive-shell{display:none!important}
.box-overlay.box-ready .box-opening-scene{display:none!important}
.archive-shell{position:absolute;inset:0;display:grid;grid-template-rows:82px minmax(0,1fr) 94px;overflow:hidden;color:#282421;background:radial-gradient(ellipse at 12% 15%,rgba(255,221,139,.48),transparent 34%),radial-gradient(ellipse at 92% 85%,rgba(255,180,204,.48),transparent 35%),linear-gradient(115deg,#fff6df 0%,#fffaf0 54%,#fff0ed 100%);font-family:inherit}
.box-overlay:not(.box-ready) .archive-shell{display:none}
.archive-header{height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(18px,3vw,46px);border-bottom:1px solid rgba(110,91,70,.15);background:rgba(255,251,239,.62);backdrop-filter:blur(12px);z-index:2}
.archive-brand{display:flex;align-items:center;gap:12px;min-width:0}.archive-back{width:42px;height:42px;border:1px solid rgba(90,75,60,.12);border-radius:50%;background:#fffdf7;font-size:32px;line-height:1;color:#272321;cursor:pointer;box-shadow:0 3px 10px #8d77601a}.archive-sun{width:38px;height:38px;display:grid;place-items:center;border:2px solid #262321;border-radius:50%;background:#ffdf43;font-size:22px;color:#211f1d}.archive-brand strong{display:block;font-size:18px;letter-spacing:.04em}.archive-brand small{display:block;margin-top:3px;font-size:7px;letter-spacing:.17em;color:#9a8d7c}.archive-top-progress{display:flex;align-items:center;gap:8px;font-size:10px;color:#81766b;white-space:nowrap}.archive-top-progress b{font-size:11px;color:#292523}.archive-top-progress>i{display:block;width:115px;height:5px;border-radius:10px;background:#e5ddcf;overflow:hidden}.archive-top-progress>i em{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffc85e,#f77da6);transition:width .3s}.archive-top-progress button{border:0;background:transparent;color:#8b8175;font-size:18px;cursor:pointer;margin-left:2px}.archive-close{justify-self:end;border:1px solid #ddd3c5;border-radius:22px;padding:9px 15px;background:rgba(255,255,255,.6);font-size:10px;color:#292523;cursor:pointer}.archive-close b{margin-left:7px;font-size:14px}
.archive-main{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:22px clamp(48px,7.3vw,112px) 12px}.archive-spread{position:relative;width:min(100%,1175px);height:min(100%,696px);min-height:420px;display:grid;grid-template-columns:minmax(310px,.88fr) minmax(390px,1.12fr);align-items:center;gap:clamp(35px,6vw,90px);padding:clamp(30px,4vw,62px) clamp(34px,5.4vw,82px);border:1.5px solid rgba(68,62,54,.78);border-radius:25px;background:rgba(255,254,248,.87);box-shadow:12px 13px 0 rgba(73,62,52,.17);overflow:hidden;isolation:isolate}
.archive-spread:before{content:"";position:absolute;left:0;right:0;top:0;height:8px;background:linear-gradient(90deg,#ff8fb0,#ffe45a,#8bc9e8,#f18bb1);z-index:-1}
.archive-card-side{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;height:100%}.archive-tarot-wrap{position:relative;width:clamp(220px,24vw,315px);height:min(69vh,535px);display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 16px 15px rgba(49,43,36,.18));transition:transform .35s}.archive-tarot-wrap img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;transition:filter .3s,transform .4s}.archive-tarot-wrap.locked img{filter:blur(11px) brightness(.55) saturate(.65);transform:scale(.985)}.album-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:white;text-align:center;pointer-events:none}.album-lock strong{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);border-radius:50%;font-size:22px;font-weight:400}.album-lock b{font-size:12px}.album-lock small{font-size:9px;color:#eee5dc}.archive-tarot-wrap:not(.locked) .album-lock{display:none}.archive-card-index{margin-top:12px;font-size:11px;letter-spacing:.16em;color:#968b7d;text-align:center}
.archive-copy{position:relative;min-width:0;align-self:center;padding:0 0 5px}.archive-kicker{font-size:9px;letter-spacing:.17em;color:#a08e7e;margin-bottom:10px}.archive-question{font-size:clamp(40px,5vw,66px);font-weight:900;line-height:1.05;letter-spacing:.1em;color:#201e1e;text-shadow:2px 3px 0 rgba(244,151,181,.35);margin-bottom:7px}.archive-copy h1{font-size:clamp(19px,2vw,25px);line-height:1.35;margin:0 0 3px;font-weight:800;color:#332e2a}.archive-copy h2{font-size:16px;line-height:1.45;margin:0 0 15px;color:#675e55;font-weight:700}.archive-description{font-size:12px;line-height:1.9;color:#81766b;margin:0 0 16px;max-width:530px;max-height:165px;overflow:auto}.archive-note{display:flex;align-items:flex-start;gap:11px;margin:12px 0 19px}.archive-note>span{flex:0 0 20px;width:20px;height:20px;border:1px solid #3e3732;border-radius:50%;display:grid;place-items:center;font-size:11px;background:#fff0f4}.archive-note p{margin:0;font-size:10px;line-height:1.7;color:#7c7064}.archive-primary{border:1.5px solid #201d1b;border-radius:28px;background:#ff79a4;color:#211d1c;padding:12px 21px;font-size:11px;font-weight:800;box-shadow:4px 4px 0 #211d1c;cursor:pointer;transition:transform .18s,box-shadow .18s}.archive-primary:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 #211d1c}.archive-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.archive-tags span{padding:5px 9px;border-radius:14px;background:#f1ede5;color:#84796e;font-size:8px}.archive-signature{position:absolute;right:0;bottom:0;font-size:7px;letter-spacing:.12em;color:#b7a79b;font-style:italic}
.archive-side-label{position:absolute;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:4px;color:#c2b7a8;font-size:8px;letter-spacing:.15em;text-align:center}.archive-side-label b{font-size:25px;line-height:1;color:#cfc5b7}.archive-side-label.left{left:17px;writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg)}.archive-side-label.right{right:17px;writing-mode:vertical-rl}
.archive-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px 10px;gap:6px}.archive-nav-caption{font-size:8px;color:#a89b8e;letter-spacing:.04em}.archive-nav{width:min(680px,92vw);height:48px;display:flex;align-items:center;gap:10px;padding:4px 9px;border:1px solid rgba(135,117,95,.23);border-radius:28px;background:rgba(255,255,255,.47)}.archive-arrow{flex:0 0 32px;width:32px;height:32px;border:1px solid #d9d0c3;border-radius:50%;background:#fffdf7;color:#554c43;font-size:18px;cursor:pointer}.archive-number-list{display:flex;align-items:center;justify-content:space-between;gap:clamp(2px,.6vw,8px);flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.archive-number-list::-webkit-scrollbar{display:none}.archive-number-list button{flex:0 0 20px;width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:#c0b5a8;font-size:7px;cursor:pointer;padding:0}.archive-number-list button.learned{color:#867a6d}.archive-number-list button.active{width:26px;height:26px;flex-basis:26px;background:#272421;color:#fff;font-size:8px}
.archive-spread.page-in{animation:archiveSpreadIn .38s cubic-bezier(.2,.75,.22,1) both}.archive-spread.page-out-left{animation:archiveSpreadOutLeft .18s ease-in both}.archive-spread.page-out-right{animation:archiveSpreadOutRight .18s ease-in both}@keyframes archiveSpreadIn{from{opacity:.5;transform:translateX(32px) scale(.99)}to{opacity:1;transform:none}}@keyframes archiveSpreadOutLeft{to{opacity:.25;transform:translateX(-35px) scale(.99)}}@keyframes archiveSpreadOutRight{to{opacity:.25;transform:translateX(35px) scale(.99)}}
@media(max-width:850px){.archive-shell{grid-template-rows:68px minmax(0,1fr) 82px}.archive-header{height:68px;padding:0 14px;grid-template-columns:1fr auto}.archive-top-progress{grid-column:2;grid-row:1}.archive-close{display:none}.archive-main{padding:12px 18px}.archive-spread{height:100%;min-height:0;grid-template-columns:minmax(180px,.78fr) minmax(250px,1.22fr);gap:20px;padding:28px 24px;border-radius:19px}.archive-tarot-wrap{width:min(100%,250px);height:min(62vh,430px)}.archive-copy h2{margin-bottom:9px}.archive-description{font-size:11px;max-height:130px}.archive-side-label{display:none}.archive-footer{padding-bottom:7px}.archive-number-list{gap:2px}.archive-number-list button{flex-basis:17px;width:17px}}
@media(max-width:560px){.archive-shell{grid-template-rows:62px minmax(0,1fr) 76px}.archive-header{height:62px;padding:0 10px;gap:6px}.archive-back{width:34px;height:34px;font-size:27px}.archive-sun{width:31px;height:31px;font-size:17px}.archive-brand{gap:7px}.archive-brand strong{font-size:14px}.archive-brand small{font-size:6px}.archive-top-progress{gap:5px;font-size:8px}.archive-top-progress>i{width:48px;height:4px}.archive-top-progress button{font-size:16px}.archive-main{padding:9px 10px}.archive-spread{grid-template-columns: minmax(112px,.75fr) minmax(0,1.25fr);gap:12px;padding:25px 13px 18px;border-radius:15px;box-shadow:6px 7px 0 rgba(73,62,52,.14)}.archive-spread:before{height:5px}.archive-tarot-wrap{width:100%;height:min(45vh,340px)}.archive-card-index{font-size:8px;margin-top:8px}.archive-kicker{font-size:7px;margin-bottom:7px}.archive-question{font-size:clamp(31px,10vw,46px);margin-bottom:5px}.archive-copy h1{font-size:15px}.archive-copy h2{font-size:11px;margin-bottom:7px}.archive-description{font-size:9px;line-height:1.65;max-height:115px;margin-bottom:8px}.archive-note{gap:6px;margin:7px 0 11px}.archive-note>span{flex-basis:17px;width:17px;height:17px;font-size:9px}.archive-note p{font-size:8px}.archive-primary{font-size:9px;padding:9px 12px;box-shadow:3px 3px 0 #211d1c}.archive-tags{margin-top:10px;gap:4px}.archive-tags span{font-size:7px;padding:4px 6px}.archive-signature{font-size:5px}.archive-footer{padding:0 8px 5px;gap:4px}.archive-nav{width:100%;height:42px;gap:5px;padding:3px 5px}.archive-arrow{flex-basis:28px;width:28px;height:28px;font-size:16px}.archive-number-list button{font-size:6px;flex-basis:12px;width:12px}.archive-number-list button.active{flex-basis:21px;width:21px;height:21px;font-size:7px}}

/* Focused refinements: Judgment action stages, Sun's three experiential layers,
   knowledge reading starts at the top, and archive card sits slightly higher. */
.archive-card-side{transform:translateY(-10px)}
.knowledge-copy{align-self:stretch;min-height:0;max-height:calc(100vh - 118px);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto}
.knowledge-layout{min-height:0}
.judgment-lab .stage-sort-hint{font-size:11px;color:#8d806e;margin:10px 0 12px;text-align:center}
.judgment-lab .stage-sort-hint span{font-size:16px;margin-right:5px}
.judgment-lab .stage-sort-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;align-items:stretch}
.judgment-lab .stage-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:100px;padding:12px 8px 8px!important;border:1px solid #d9cdb9;background:linear-gradient(145deg,#fffdf7,#f5eddf);box-shadow:0 4px 10px rgba(80,60,35,.06);cursor:grab;user-select:none;touch-action:pan-y}
.judgment-lab .stage-tile b{font-size:14px;color:#514638}
.judgment-lab .stage-tile small{font-size:10px;color:#b29b77}
.judgment-lab .stage-grip{position:absolute;top:5px;left:8px;color:#b7a58c;font-size:15px}
.judgment-lab .stage-move{display:flex;gap:5px}
.judgment-lab .stage-move button{width:25px;height:23px;border:1px solid #dfd3c0;border-radius:7px;background:#fffaf0;color:#78664d;cursor:pointer}
.judgment-lab .stage-move button:disabled{opacity:.25;cursor:not-allowed}
.judgment-lab .stage-tile.dragging{opacity:.42;transform:scale(.97)}
.judgment-lab .stage-tile.drag-over{border:2px dashed #e9a65c;background:#fff2c9}
.judgment-lab .stage-actions{margin:15px 0 12px}
.kettle-demo{margin-top:20px;padding:18px;border:1px solid #e1d4bf;border-radius:18px;background:linear-gradient(145deg,#fffdf8,#f7f0e3)}
.kettle-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.kettle-heading span{font-size:9px;letter-spacing:.16em;color:#b49a71}.kettle-heading b{font-size:13px;color:#65543f}
.kettle-visual{display:flex;align-items:center;justify-content:center;gap:18px;padding:12px;background:#fffaf0;border-radius:13px}
.kettle-body{position:relative;width:82px;height:66px;border:3px solid #756957;border-radius:18px 18px 23px 23px;background:linear-gradient(145deg,#fff,#e9dfce);display:grid;place-items:center;overflow:visible}
.kettle-body:after{content:"";position:absolute;right:-15px;top:18px;width:18px;height:23px;border:3px solid #756957;border-left:0;border-radius:0 15px 15px 0}
.kettle-water{position:absolute;left:5px;right:5px;bottom:5px;height:30%;border-radius:0 0 13px 13px;background:#a9d8e4;transition:height .6s}
.kettle-steam{position:relative;z-index:1;color:#b28b60;font-size:27px;opacity:.4;transition:all .4s}
.kettle-body.boiling .kettle-water{height:68%;background:#f1c17b}.kettle-body.boiling .kettle-steam{opacity:1;transform:translateY(-8px);text-shadow:0 0 12px #f2c57a}
.kettle-state{font-size:12px;font-weight:800;color:#79654a}
.kettle-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:14px 0}
.kettle-step{display:flex;flex-direction:column;gap:5px;padding:8px 6px;border-radius:9px;background:#f1ebdf;border:1px solid transparent;opacity:.62;transition:all .25s}
.kettle-step i{font-style:normal;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#ddd1bd;color:#665640;font-size:10px}
.kettle-step b{font-size:10px;color:#5d5141}.kettle-step small{font-size:8px;line-height:1.5;color:#8b7d69}
.kettle-step.current{opacity:1;border-color:#e5b45e;background:#fff3cd;transform:translateY(-3px)}.kettle-step.done{opacity:1;background:#e8f2e9}.kettle-step.gulf-before{outline:2px dashed #e7a35d;outline-offset:2px}.kettle-step.gulf-after{box-shadow:inset 0 -3px #78b6a1}
.gulf-explain{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.gulf-explain section{padding:12px;border-radius:11px;background:#fff;border:1px solid #e3d8c7}.gulf-explain b{font-size:11px;color:#765a38}.gulf-explain p{font-size:10px;line-height:1.7;color:#766b5d;margin:6px 0 0}
.sun-experience{max-width:1120px!important}
.sun-layer-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}
.sun-layer-tab{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;gap:2px 8px;padding:10px 12px;border:1px solid #e0d4c2;border-radius:12px;background:#fffaf1;color:#786b5a;cursor:pointer}
.sun-layer-tab>span{grid-row:1/3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f0e5d1;font-size:11px}.sun-layer-tab small{font-size:8px;letter-spacing:.12em;color:#aa9678}.sun-layer-tab.active{border-color:#e4bd59;background:#fff2c4;box-shadow:0 3px 0 #e4bd59}.sun-layer-tab.visited>span{background:#dcefe1;color:#3e8057}
.sun-layer-panel{display:grid;grid-template-columns:minmax(210px,.82fr) minmax(0,1.18fr);gap:18px;align-items:stretch}
.sun-product-visual{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:17px;border:1px solid #e4d5bd;background:radial-gradient(circle at 50% 38%,#fff7cf,#f7e7c9 65%,#eee0ca);padding:18px;text-align:center}
.sun-product-visual>span{font-size:76px;filter:drop-shadow(0 9px 9px #8b6b3925)}.sun-product-visual>b{font-size:13px;color:#65513b}.sun-product-visual>small{font-size:10px;color:#9a8467}
.sun-product-behavioural{background:radial-gradient(circle at 50% 38%,#fff,#e4f0ec 68%,#d9e8e3)}.sun-product-reflective{background:radial-gradient(circle at 50% 38%,#fff4f6,#f2dce4 68%,#ead7df)}
.sun-layer-content{padding:8px 2px}.sun-layer-kicker{font-size:9px;letter-spacing:.16em;color:#b49a70}.sun-layer-content h3{font-size:18px;color:#4f4436;margin:8px 0}.sun-layer-content>p:not(.sun-layer-kicker){font-size:11px;line-height:1.8;color:#817461}
.sun-choice-grid{display:grid;grid-template-columns:1fr;gap:7px;margin-top:13px}.sun-choice-grid .choice-card{text-align:left}.sun-use-flow{margin-top:12px}.sun-use-progress{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.sun-use-progress span{padding:5px 8px;border-radius:20px;background:#eee8dd;color:#95836b;font-size:9px}.sun-use-progress span.done{background:#e0f0e3;color:#4a805b}
.sun-machine{padding:13px;border:1px solid #e1d7c7;border-radius:13px;background:#fffdf8}.sun-machine-screen{padding:9px;border-radius:8px;background:#333d3c;color:#c8f2cf;text-align:center;font:11px monospace;letter-spacing:.08em}.sun-machine-cup{text-align:center;font-size:34px;padding:8px}.sun-machine-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.sun-machine-controls .choice-card{font-size:10px}.sun-machine-controls button:disabled{opacity:.4;cursor:not-allowed}
.sun-overall-progress{margin-top:12px;text-align:center;font-size:10px;color:#98866d}.sun-bottom-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.sun-bottom-actions button:disabled{opacity:.3;cursor:not-allowed}
@media(max-width:760px){.judgment-lab .stage-sort-list{grid-template-columns:repeat(2,minmax(0,1fr))}.kettle-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.gulf-explain{grid-template-columns:1fr}.sun-layer-panel{grid-template-columns:1fr}.sun-product-visual{min-height:145px}.sun-product-visual>span{font-size:55px}.sun-layer-tabs{gap:5px}.sun-layer-tab{padding:8px 6px;grid-template-columns:24px 1fr;gap:2px 5px;font-size:10px}.sun-layer-tab>span{width:23px;height:23px}.kettle-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.archive-card-side{transform:translateY(-5px)}.knowledge-copy{max-height:calc(100vh - 34vh - 64px);width:100%;overflow-y:auto}.sun-layer-tab small{font-size:6px}.sun-layer-content h3{font-size:15px}.sun-product-visual{min-height:120px}.sun-product-visual>span{font-size:44px}.kettle-step{min-height:76px}.kettle-step small{font-size:8px}}

/* Final polish requested: keep all supplied tarot artwork untouched; only move its layout. */
.archive-card-side{transform:translateY(-17px)!important}
.archive-tarot-wrap{transform:translateY(-5px)!important;filter:drop-shadow(0 16px 15px rgba(49,43,36,.18))!important}
@media(max-width:560px){.archive-card-side{transform:translateY(-8px)!important}.archive-tarot-wrap{transform:translateY(-3px)!important}}

/* Norman doors return to the original clean blue-and-orange demo language. */
#game-screen.norman-door-theme{background:#55bce8!important}
#game-screen.norman-door-theme .page-topline{color:#17232a!important}
#game-screen.norman-door-theme .game-shell{background:#55bce8!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#game-screen.norman-door-theme .game-heading{border-bottom:1px solid rgba(20,35,45,.28)!important}
#game-screen.norman-door-theme .game-heading h2,#game-screen.norman-door-theme .game-heading #game-intro{color:#17232a!important}
#game-screen.norman-door-theme .game-main{background:#55bce8!important}
#game-screen.norman-door-theme .task-prompt h3{color:#111!important}
#game-screen.norman-door-theme .task-prompt p{color:#4d6570!important}
#game-screen.norman-door-theme .door-scene{width:min(100%,1000px)!important;min-height:clamp(320px,43vh,430px)!important;height:auto!important;padding:14px 24px 20px!important;margin:12px auto 18px!important;align-items:flex-end!important;gap:0!important;border:0!important;border-radius:0!important;background:#55bce8!important;box-shadow:none!important;overflow:visible!important}
#game-screen.norman-door-theme .door-scene:before,#game-screen.norman-door-theme .door-scene:after,#game-screen.norman-door-theme .door-unit:before,#game-screen.norman-door-theme .door-unit:after{display:none!important;content:none!important}
#game-screen.norman-door-theme .door-unit{width:clamp(220px,29vw,310px)!important;padding:0!important;text-align:center!important}
#game-screen.norman-door-theme .door{width:100%!important;height:clamp(260px,34vh,340px)!important;border:7px solid #171717!important;border-radius:0!important;background:#efa977!important;box-shadow:8px 9px 0 #171717!important}
#game-screen.norman-door-theme .door:before{inset:18px!important;border:3px solid rgba(45,38,31,.42)!important;box-shadow:none!important}
#game-screen.norman-door-theme .door:after{display:none!important}
#game-screen.norman-door-theme .door .handle{right:13%!important;top:48%!important;width:12px!important;height:48px!important;border:3px solid #171717!important;border-radius:0!important;background:#171717!important;box-shadow:none!important}
#game-screen.norman-door-theme .door.flat .handle{width:95px!important;height:14px!important;right:50%!important;top:50%!important;transform:translateX(50%)!important;border:0!important;border-radius:0!important;background:#171717!important}
#game-screen.norman-door-theme .door .handle:before,#game-screen.norman-door-theme .door .handle:after{display:none!important}
#game-screen.norman-door-theme .door .door-sign{top:16px!important;border:2px solid #171717!important;border-radius:0!important;background:#fff5dd!important;color:#171717!important;box-shadow:none!important}
#game-screen.norman-door-theme .door-unit>b{display:block!important;min-width:0!important;padding:0!important;margin-top:15px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#17232a!important;font-size:13px!important}
#game-screen.norman-door-theme .door-unit>small{color:#304e5b!important}
#game-screen.norman-door-theme .door-actions .choice-card{min-width:190px!important;padding:16px 26px!important;border:3px solid #171717!important;border-radius:0!important;background:#fff8df!important;color:#267dc4!important;box-shadow:7px 7px 0 #171717!important;font-size:16px!important}
#game-screen.norman-door-theme .door-actions .choice-card:hover{transform:translate(3px,3px)!important;box-shadow:4px 4px 0 #171717!important}
@media(max-width:760px){#game-screen.norman-door-theme .door-scene{min-height:280px!important;padding:8px!important}#game-screen.norman-door-theme .door-unit{width:min(74vw,250px)!important}#game-screen.norman-door-theme .door{height:clamp(210px,30vh,255px)!important}#game-screen.norman-door-theme .door-actions .choice-card{min-width:120px!important;padding:11px 13px!important;font-size:12px!important}}

/* Sun chapter: actual espresso-machine illustration and an uncluttered, non-blocking flow. */
.sun-product-visual{min-height:265px!important}
.sun-machine-illustration{display:block;width:min(100%,330px);height:205px;object-fit:contain;filter:drop-shadow(0 9px 10px rgba(55,45,32,.13))}
.sun-product-visual>b{margin-top:2px}
.sun-machine-controls{min-height:42px;align-items:center}
.sun-done-label{font-size:12px;font-weight:900;color:#315d42;padding:10px 14px;border-radius:20px;background:#e2f2e4}
.sun-machine-screen{font-weight:800}
@media(max-width:760px){.sun-product-visual{min-height:185px!important}.sun-machine-illustration{height:145px;width:min(100%,260px)}}

/* The Fool: loose tabletop arrangement, no individual frames; larger objects remain operable. */
.fool-desk{position:relative!important;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(110px,auto))!important;gap:2px 10px!important;align-items:center!important;justify-items:center!important;width:min(1040px,100%)!important;min-height:290px!important;padding:18px 28px!important;border:0!important;border-radius:0!important;background:radial-gradient(ellipse at 50% 40%,#f7e8c8 0,#ead7b4 68%,#e1cba4 100%)!important;box-shadow:inset 0 0 35px rgba(109,76,39,.12)!important;overflow:hidden!important}
.fool-object{position:relative!important;grid-column:span 3!important;min-height:112px!important;width:100%!important;max-width:175px!important;padding:2px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#40372d!important;cursor:pointer!important;transform:rotate(var(--tilt,0deg)) translateY(var(--lift,0px))!important;transition:transform .25s ease,filter .25s ease!important}
.fool-object.object-0{grid-column:2/span 3!important;--tilt:-8deg;--lift:8px}.fool-object.object-1{grid-column:6/span 3!important;--tilt:6deg;--lift:-10px}.fool-object.object-2{grid-column:10/span 2!important;--tilt:12deg;--lift:13px}.fool-object.object-3{grid-column:3/span 3!important;--tilt:7deg;--lift:-8px}.fool-object.object-4{grid-column:8/span 3!important;--tilt:-11deg;--lift:9px}.fool-object.object-5{grid-column:11/span 2!important;--tilt:5deg;--lift:-4px}
.fool-object:hover{transform:rotate(0deg) translateY(-9px) scale(1.08)!important;filter:drop-shadow(0 8px 7px rgba(54,42,28,.18))!important}
.fool-object-art{display:block;font-size:clamp(58px,6vw,86px)!important;line-height:1.05!important;filter:drop-shadow(0 7px 5px rgba(61,46,30,.16));transform-origin:50% 75%;transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .3s}
.fool-object.is-open .fool-object-art{transform:rotate(-9deg) scale(1.16);filter:drop-shadow(0 10px 7px rgba(61,46,30,.22))}
.fool-object b{font-size:12px!important;color:#4a3e31!important}.fool-object small{font-size:9px!important;color:#8c785e!important}
.fool-object.found{opacity:1!important;pointer-events:auto!important;transform:rotate(var(--tilt,0deg)) translateY(var(--lift,0px))!important}
.fool-object.found:after{content:"✓";position:absolute;right:10%;top:3%;font-size:15px;font-weight:900;color:#467b58}
.fool-object.soft-hint{animation:discover-pulse 1.8s ease-in-out infinite!important;box-shadow:none!important;filter:drop-shadow(0 0 12px rgba(255,207,76,.9))!important}
@media(max-width:760px){.fool-desk{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(86px,auto))!important;padding:10px!important;min-height:300px!important}.fool-object{grid-column:span 2!important;min-height:90px!important}.fool-object.object-0{grid-column:1/span 2!important}.fool-object.object-1{grid-column:3/span 2!important}.fool-object.object-2{grid-column:5/span 2!important}.fool-object.object-3{grid-column:2/span 2!important}.fool-object.object-4{grid-column:4/span 2!important}.fool-object.object-5{grid-column:5/span 2!important}.fool-object-art{font-size:54px!important}}

/* Wheel comparison: same button color in A and B; only hierarchy and surrounding noise differ. */
.attention-target,.attention-target.small-submit{background:#ffe36a!important;color:#171717!important;border:2px solid #171717!important;min-width:190px!important;padding:17px 30px!important;font-size:15px!important;box-shadow:4px 4px 0 #171717!important;border-radius:7px!important}
.attention-page.cluttered{position:relative!important;min-height:340px!important;max-width:820px!important;padding:20px!important;background:#fff7dc!important;border:2px solid #171717!important;overflow:hidden!important;box-shadow:8px 8px 0 rgba(25,23,20,.2)!important}
.wheel-side-noise{position:absolute;left:10px;top:70px;width:125px;display:flex;flex-direction:column;gap:7px;padding:10px;background:#f8b2c2;border:2px solid #171717;transform:rotate(-2deg);z-index:1}
.wheel-side-noise span{font-size:10px;font-weight:900;padding:5px;background:#fff4ce;border:1px solid #171717}
.noise-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 12px 125px;padding:8px;background:#d8edff;border:1px dashed #24201d;transform:rotate(1deg)}
.noise-chip{font-size:9px;font-weight:900;padding:7px 9px;background:#ffe17a;border:1px solid #24201d;box-shadow:2px 2px 0 #24201d}.noise-chip.n1{background:#ffb7c9;transform:rotate(-4deg)}.noise-chip.n2{background:#bde9d0;transform:rotate(3deg)}.noise-chip.n3{background:#d5c4f3;transform:rotate(2deg)}.noise-chip.n4{background:#fff}.noise-chip.n5{background:#f4c28d;transform:rotate(-2deg)}
.wheel-promo-strip{margin:7px 0 9px;padding:9px 5px;background:#ff8d9f;border:2px solid #171717;font-size:10px;font-weight:900;white-space:nowrap;overflow:hidden;transform:rotate(-1deg)}
.wheel-fake-cards{display:flex;gap:7px;justify-content:space-around;margin:8px 0}.wheel-fake-cards i{font-style:normal;padding:8px 12px;background:#e4d7ff;border:1px solid #171717;font-size:9px;font-weight:900;transform:rotate(var(--r,2deg))}.wheel-fake-cards i:nth-child(2){background:#ccefdc;--r:-3deg}.wheel-fake-cards i:nth-child(3){background:#ffe8a8;--r:4deg}.wheel-fake-cards i:nth-child(4){background:#ffc5d1;--r:-2deg}
.attention-page.cluttered .attention-order{margin-left:135px;padding:9px 14px;background:#fff;border:2px solid #171717;transform:rotate(1deg)}
.attention-page.cluttered .attention-order h3{font-size:18px}.attention-page.cluttered .attention-extra{font-size:9px;color:#82715d;margin:8px 0}.wheel-floating-ad{position:absolute;right:12px;top:42%;padding:8px 12px;background:#fff36b;border:2px solid #171717;font-size:10px;font-weight:900;transform:rotate(7deg);box-shadow:3px 3px 0 #171717}
.attention-page.clean{min-height:300px;max-width:820px;padding:28px 34px;background:#fffdf7;border:1px solid #d7cdbb;box-shadow:0 8px 22px rgba(40,32,22,.08)}
.attention-page.clean header{display:flex;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid #e7dfd2;font-size:12px;font-weight:800}
.attention-page.clean .attention-order{max-width:460px;margin:35px auto 0;padding:18px;background:#fff;border:1px solid #e6dfd3;border-radius:12px}
.attention-page.clean .attention-target{margin:24px auto 0}
@media(max-width:760px){.attention-page.cluttered{min-height:370px;padding:9px!important}.wheel-side-noise{width:78px;left:5px;top:75px;padding:5px;gap:4px}.wheel-side-noise span{font-size:7px;padding:3px}.noise-wall{margin-left:82px;gap:3px;padding:4px}.noise-chip{font-size:7px;padding:4px}.wheel-promo-strip{font-size:7px}.wheel-fake-cards i{font-size:7px;padding:5px}.attention-page.cluttered .attention-order{margin-left:80px;padding:7px}.wheel-floating-ad{font-size:8px;right:4px}.attention-page.clean{padding:15px!important}}

/* Slightly stronger completed-state typography for readability. */
#game-next{color:#151515!important;font-weight:900!important}
.learning-complete-note b{color:#25211e!important}.learning-complete-note p{color:#49413a!important}
.game-feedback{color:#3d352e!important}.game-feedback strong{color:#171717!important}

/* The opening movie remains untouched; the skip is a small, quiet control in the lower-right. */
.box-opening-skip{position:absolute!important;right:clamp(16px,3vw,34px)!important;bottom:clamp(14px,2.5vh,26px)!important;z-index:30!important;border:1px solid rgba(70,58,48,.3)!important;border-radius:20px!important;background:rgba(255,253,247,.78)!important;color:#6f6257!important;padding:7px 12px!important;font-size:10px!important;letter-spacing:.04em!important;cursor:pointer!important;backdrop-filter:blur(8px)!important;box-shadow:0 2px 8px rgba(62,49,36,.08)!important}
.box-opening-skip:hover{background:#fff!important;color:#24201d!important;border-color:#24201d!important}
@media(max-width:560px){.box-opening-skip{right:12px!important;bottom:10px!important;padding:6px 9px!important;font-size:9px!important}}

/* Norman-door visual language for all learning interactions: flat color fields,
   bold ink outlines, square geometry and no enclosing decorative frames. */
#game-screen.norman-door-theme{background:#55bce8!important}
#game-screen.norman-door-theme .game-shell,
#game-screen.norman-door-theme .game-main{background:#55bce8!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#game-screen.norman-door-theme .game-shell{padding:clamp(22px,3vw,42px)!important}
#game-screen.norman-door-theme .game-heading{border-bottom:1px solid rgba(20,35,45,.28)!important}
#game-screen.norman-door-theme .game-heading h2,
#game-screen.norman-door-theme .game-heading #game-intro{color:#17232a!important}
#game-screen.norman-door-theme .task-prompt h3{color:#111!important}
#game-screen.norman-door-theme .task-prompt p{color:#304e5b!important}
#game-screen.norman-door-theme .choice-card,
#game-screen.norman-door-theme .primary-button,
#game-screen.norman-door-theme .attention-target,
#game-screen.norman-door-theme .task-buttons button{border:3px solid #171717!important;border-radius:0!important;background:#fff8df!important;color:#17232a!important;box-shadow:6px 6px 0 #171717!important}
#game-screen.norman-door-theme .choice-card:hover,
#game-screen.norman-door-theme .primary-button:hover,
#game-screen.norman-door-theme .attention-target:hover{transform:translate(3px,3px)!important;box-shadow:3px 3px 0 #171717!important}
#game-screen.norman-door-theme .choice-card.selected{background:#ffe36a!important}
#game-screen.norman-door-theme .game-feedback,
#game-screen.norman-door-theme .task-illustration,
#game-screen.norman-door-theme .warning-card,
#game-screen.norman-door-theme .faucet-box,
#game-screen.norman-door-theme .form-demo,
#game-screen.norman-door-theme .attention-ui{border:0!important;border-radius:0!important;box-shadow:none!important}
#game-screen.norman-door-theme .game-small-note{color:#304e5b!important}
#game-screen.norman-door-theme .fool-desk{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
#game-screen.norman-door-theme .fool-object-art{font-size:clamp(174px,18vw,258px)!important;line-height:.95!important}
#game-screen.norman-door-theme .fool-object{max-width:260px!important;min-height:260px!important}
#game-screen.norman-door-theme .fool-object b{font-size:15px!important;color:#17232a!important}
#game-screen.norman-door-theme .fool-object small{font-size:11px!important;color:#304e5b!important}
#game-screen.norman-door-theme #fool-hint[hidden]{display:none!important}
#game-screen.norman-door-theme #fool-hint:not([hidden]){font-size:13px!important;font-weight:900!important;color:#17232a!important;background:#fff8df!important;border-left:5px solid #171717!important;padding:9px 13px!important;max-width:620px!important;margin:10px auto!important;text-align:center!important}
#game-screen.norman-door-theme .fool-object.soft-hint{animation:discover-pulse 1.2s ease-in-out infinite!important;filter:drop-shadow(0 0 19px #ffe36a) drop-shadow(0 0 9px #fff)!important}
@media(max-width:760px){#game-screen.norman-door-theme .fool-object-art{font-size:clamp(162px,28vw,200px)!important}#game-screen.norman-door-theme .fool-object{min-height:160px!important}.fool-object b{font-size:11px!important}}

/* Interaction pages: compact centered compositions and a soft palette matched to each lesson. */
#game-screen.norman-door-theme{background:var(--interaction-bg,#e9edf0)!important;color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .game-shell,
#game-screen.norman-door-theme .game-main{background:var(--interaction-bg,#e9edf0)!important;color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .game-shell{width:min(960px,calc(100vw - 48px))!important;max-width:960px!important}
#game-screen.norman-door-theme .game-main{overflow:auto!important;scrollbar-width:thin;scrollbar-color:var(--interaction-muted,#71818a) transparent}
#game-screen.norman-door-theme .game-content{width:min(100%,800px)!important;max-width:800px!important;margin-left:auto!important;margin-right:auto!important}
#game-screen.norman-door-theme .task-prompt{max-width:620px!important}
#game-screen.norman-door-theme .game-heading h2,
#game-screen.norman-door-theme .game-heading #game-intro,
#game-screen.norman-door-theme .task-prompt h3{color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .task-prompt p,
#game-screen.norman-door-theme .game-small-note,
#game-screen.norman-door-theme .game-heading #game-intro{color:var(--interaction-muted,#71818a)!important}
#game-screen.norman-door-theme .choice-card,
#game-screen.norman-door-theme .primary-button,
#game-screen.norman-door-theme .attention-target,
#game-screen.norman-door-theme .task-buttons button{background:#fffdf5!important;color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .game-feedback{background:#fffdf5!important;color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .fool-discoverability{max-width:860px!important}
#game-screen.norman-door-theme .fool-desk{width:min(860px,100%)!important;min-height:320px!important;grid-template-rows:repeat(2,minmax(130px,auto))!important;gap:0 14px!important;padding:10px 18px!important}
#game-screen.norman-door-theme .fool-object{min-height:140px!important;max-width:240px!important}
#game-screen.norman-door-theme .fool-object-art{font-size:clamp(150px,15vw,220px)!important;line-height:1!important}
#game-screen.norman-door-theme .fool-object:hover{filter:drop-shadow(0 10px 9px rgba(40,35,28,.2))!important}
#game-screen.norman-door-theme .fool-object.found:after{color:var(--interaction-ink)!important}
#game-screen.norman-door-theme #fool-hint:not([hidden]){max-width:420px!important;margin:8px auto 0!important;padding:7px 12px!important;background:#fffdf5!important;color:var(--interaction-ink)!important;border:2px solid var(--interaction-ink)!important;font-size:12px!important;text-align:center!important}
#game-screen.norman-door-theme .fool-object.soft-hint{filter:drop-shadow(0 0 18px #fff1a8) drop-shadow(0 0 10px #fff)!important}
@media(max-width:760px){
  #game-screen.norman-door-theme .game-shell{width:calc(100vw - 24px)!important;padding:14px!important}
  #game-screen.norman-door-theme .game-content{max-width:100%!important}
  #game-screen.norman-door-theme .fool-desk{min-height:280px!important;grid-template-rows:repeat(3,minmax(80px,auto))!important;padding:6px!important}
  #game-screen.norman-door-theme .fool-object{min-height:90px!important}
  #game-screen.norman-door-theme .fool-object-art{font-size:clamp(88px,19vw,140px)!important}
}

/* Unified interaction pages: Norman-door editorial split layout, matching the supplied reference. */
#game-screen.norman-door-theme .game-shell{width:min(1320px,calc(100vw - 72px))!important;max-width:1320px!important;height:min(900px,calc(100vh - 86px))!important;padding:clamp(24px,3.3vw,48px)!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--interaction-bg,#e9edf0)!important;color:var(--interaction-ink,#29343a)!important}
#game-screen.norman-door-theme .game-heading{display:block!important;text-align:center!important;padding:0 0 clamp(14px,2vh,24px)!important;margin:0 auto!important;border:0!important;max-width:1050px!important}
#game-screen.norman-door-theme .game-card-mini{display:none!important}
#game-screen.norman-door-theme .game-heading .eyebrow{font-size:12px!important;letter-spacing:.22em!important;color:var(--interaction-muted)!important}
#game-screen.norman-door-theme .game-heading h2{font-size:clamp(30px,4vw,54px)!important;line-height:1.15!important;margin:8px 0 10px!important;color:var(--interaction-ink)!important;font-weight:950!important}
#game-screen.norman-door-theme .game-heading #game-intro{font-size:clamp(14px,1.5vw,23px)!important;line-height:1.5!important;color:var(--interaction-muted)!important;margin:0 auto!important;max-width:1100px!important}
#game-screen.norman-door-theme .game-main{display:flex!important;align-items:stretch!important;justify-content:center!important;overflow:auto!important;padding:clamp(12px,2vh,24px) 0!important;background:var(--interaction-bg)!important}
#game-screen.norman-door-theme .game-content{width:100%!important;max-width:1180px!important;margin:0 auto!important}
#game-screen.norman-door-theme .interaction-columns{display:grid!important;grid-template-columns:minmax(300px,.95fr) minmax(340px,1.05fr)!important;gap:clamp(28px,5vw,76px)!important;align-items:center!important;width:100%!important;min-height:clamp(360px,48vh,560px)!important}
#game-screen.norman-door-theme .interaction-visual-column{grid-column:1;grid-row:1;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important}
#game-screen.norman-door-theme .interaction-info-column{grid-column:2;grid-row:1;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:16px!important}
#game-screen.norman-door-theme .interaction-info-column .task-prompt{order:0!important;width:100%!important;max-width:620px!important;margin:0 0 8px!important;text-align:left!important}
#game-screen.norman-door-theme .interaction-info-column .task-prompt h3{font-size:clamp(23px,2.4vw,36px)!important;line-height:1.22!important;color:var(--interaction-ink)!important;margin:0 0 12px!important}
#game-screen.norman-door-theme .interaction-info-column .task-prompt p{font-size:clamp(14px,1.2vw,18px)!important;line-height:1.8!important;color:var(--interaction-muted)!important;margin:0!important}
#game-screen.norman-door-theme .interaction-info-column .game-small-note{font-size:12px!important;color:var(--interaction-muted)!important;margin:0!important}
#game-screen.norman-door-theme .interaction-info-column .task-buttons,
#game-screen.norman-door-theme .interaction-info-column .door-actions,
#game-screen.norman-door-theme .interaction-info-column .faucet-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:14px!important;width:100%!important;margin:8px 0!important}
#game-screen.norman-door-theme .interaction-info-column .choice-card,
#game-screen.norman-door-theme .interaction-info-column .primary-button,
#game-screen.norman-door-theme .interaction-info-column .attention-target,
#game-screen.norman-door-theme .interaction-info-column .task-buttons button{min-width:130px!important;min-height:58px!important;padding:13px 22px!important;border:3px solid #171717!important;border-radius:0!important;background:#fff8df!important;color:var(--interaction-ink)!important;font-size:clamp(14px,1.25vw,19px)!important;font-weight:900!important;box-shadow:6px 6px 0 #171717!important}
#game-screen.norman-door-theme .interaction-info-column .primary-button:hover,
#game-screen.norman-door-theme .interaction-info-column .choice-card:hover{transform:translate(3px,3px)!important;box-shadow:3px 3px 0 #171717!important}
#game-screen.norman-door-theme .interaction-info-column .game-feedback{width:100%!important;max-width:620px!important;margin:8px 0 0!important;padding:14px 16px!important;border:2px solid var(--interaction-ink)!important;border-radius:0!important;background:rgba(255,253,245,.82)!important;color:var(--interaction-ink)!important;box-shadow:none!important;font-size:13px!important;line-height:1.7!important}
#game-screen.norman-door-theme .interaction-visual-column > *{width:100%!important;max-width:100%!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#game-screen.norman-door-theme .game-bottom{border-top:2px solid color-mix(in srgb,var(--interaction-ink) 30%,transparent)!important;padding-top:13px!important;color:var(--interaction-ink)!important}
#game-screen.norman-door-theme .game-bottom .primary-button{border-radius:0!important;border:2px solid #171717!important;box-shadow:4px 4px 0 #171717!important;background:#fff8df!important;color:var(--interaction-ink)!important}
/* The Fool: only objects, no captions or instructional copy on entry. */
#game-screen[data-card-id="0"] .game-heading #game-intro{display:none!important}
#game-screen[data-card-id="0"] .fool-object b,#game-screen[data-card-id="0"] .fool-object small{display:none!important}
#game-screen[data-card-id="0"] .fool-object-art{font-size:clamp(120px,15vw,210px)!important}
#game-screen[data-card-id="0"] #fool-hint[hidden]{display:none!important}
/* Faucet: a large illustrated physical control, with no range sliders. */
#game-screen .faucet-interaction{position:relative!important;min-height:390px!important;max-width:560px!important;margin:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:transparent!important}
#game-screen .faucet-wall{position:absolute;left:8%;right:8%;top:17%;height:2px;background:var(--interaction-muted);opacity:.28}
#game-screen .faucet-svg{position:relative;z-index:1;width:min(100%,520px)!important;height:auto!important;overflow:visible!important;touch-action:none!important}
#game-screen .faucet-control{cursor:grab!important;outline:none!important;touch-action:none!important}
#game-screen .faucet-control:active{cursor:grabbing!important}
#game-screen .faucet-control:focus-visible circle:first-child{stroke:#e1ad38!important;stroke-width:11!important}
#game-screen .faucet-label{position:absolute;z-index:2;top:31%;font-size:12px;font-weight:900;letter-spacing:.12em;color:var(--interaction-muted)}
#game-screen .faucet-label-cold{left:13%}#game-screen .faucet-label-hot{right:13%}
#game-screen .faucet-status{position:absolute;z-index:2;bottom:8%;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:14px;font-weight:950;color:var(--interaction-ink);padding:9px 16px;background:#fff8df;border:2px solid var(--interaction-ink)}
#game-screen .faucet-hint{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:100%;text-align:center;font-size:11px;color:var(--interaction-muted)}
#game-screen .faucet-actions{margin-top:10px!important}
@media(max-width:760px){
 #game-screen.norman-door-theme .game-shell{width:calc(100vw - 22px)!important;height:calc(100vh - 84px)!important;padding:15px!important}
 #game-screen.norman-door-theme .game-heading h2{font-size:28px!important}
 #game-screen.norman-door-theme .game-heading #game-intro{font-size:12px!important}
 #game-screen.norman-door-theme .interaction-columns{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:12px!important;min-height:0!important}
 #game-screen.norman-door-theme .interaction-visual-column{grid-column:1;grid-row:1;min-height:190px!important}
 #game-screen.norman-door-theme .interaction-info-column{grid-column:1;grid-row:2;gap:10px!important}
 #game-screen.norman-door-theme .interaction-info-column .task-prompt h3{font-size:21px!important}
 #game-screen.norman-door-theme .interaction-info-column .task-prompt p{font-size:12px!important}
 #game-screen.norman-door-theme .interaction-info-column .choice-card,#game-screen.norman-door-theme .interaction-info-column .primary-button{min-height:46px!important;min-width:105px!important;padding:9px 13px!important;font-size:12px!important}
 #game-screen .faucet-interaction{min-height:260px!important}
 #game-screen .faucet-status{font-size:11px!important;bottom:7%!important}
 #game-screen .faucet-hint{font-size:9px!important}
}

/* Final Fool interaction polish: smaller, separated desk objects; only folder and book are controls. */
#game-screen[data-card-id="0"] .fool-desk{
  width:min(860px,100%)!important;min-height:300px!important;
  display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(112px,auto))!important;
  gap:18px 12px!important;padding:18px 24px!important;overflow:visible!important;
}
#game-screen[data-card-id="0"] .fool-object{
  grid-column:span 3!important;min-height:112px!important;max-width:150px!important;
  width:100%!important;justify-self:center!important;align-self:center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  cursor:default!important;pointer-events:auto!important;
}
#game-screen[data-card-id="0"] .fool-object.object-0{grid-column:1/span 3!important;--tilt:-7deg;}
#game-screen[data-card-id="0"] .fool-object.object-1{grid-column:5/span 3!important;--tilt:5deg;pointer-events:auto!important;cursor:pointer!important;}
#game-screen[data-card-id="0"] .fool-object.object-2{grid-column:9/span 3!important;--tilt:8deg;}
#game-screen[data-card-id="0"] .fool-object.object-3{grid-column:2/span 3!important;--tilt:6deg;pointer-events:auto!important;cursor:pointer!important;}
#game-screen[data-card-id="0"] .fool-object.object-4{grid-column:6/span 3!important;--tilt:-8deg;}
#game-screen[data-card-id="0"] .fool-object.object-5{grid-column:10/span 3!important;--tilt:4deg;}
#game-screen[data-card-id="0"] .fool-object-art{font-size:clamp(88px,9vw,132px)!important;line-height:1!important;}
#game-screen[data-card-id="0"] .fool-object:not([data-find]):hover{transform:rotate(var(--tilt,0deg))!important;filter:none!important;}
#game-screen[data-card-id="0"] .fool-object[data-find]:hover{transform:rotate(0deg) translateY(-5px) scale(1.04)!important;}
#game-screen[data-card-id="0"] .fool-object.soft-hint{animation:fool-soft-glow 2.1s ease-in-out infinite!important;filter:drop-shadow(0 0 7px rgba(255,224,119,.62))!important;}
#game-screen[data-card-id="0"] .fool-object.wrong-tap{animation:fool-wrong-nudge .28s ease!important;}
#game-screen[data-card-id="0"] .fool-object.found:after{display:none!important;}
@keyframes fool-soft-glow{0%,100%{filter:drop-shadow(0 0 3px rgba(255,224,119,.24));}50%{filter:drop-shadow(0 0 12px rgba(255,218,91,.82));}}
@keyframes fool-wrong-nudge{0%,100%{transform:rotate(var(--tilt,0deg));}35%{transform:rotate(calc(var(--tilt,0deg) - 3deg));}70%{transform:rotate(calc(var(--tilt,0deg) + 3deg));}}
@media(max-width:760px){
 #game-screen[data-card-id="0"] .fool-desk{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(82px,auto))!important;gap:12px 4px!important;padding:8px!important;min-height:210px!important;}
 #game-screen[data-card-id="0"] .fool-object{grid-column:span 2!important;min-height:82px!important;max-width:100px!important;}
 #game-screen[data-card-id="0"] .fool-object.object-0{grid-column:1/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object.object-1{grid-column:3/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object.object-2{grid-column:5/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object.object-3{grid-column:1/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object.object-4{grid-column:3/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object.object-5{grid-column:5/span 2!important;}
 #game-screen[data-card-id="0"] .fool-object-art{font-size:clamp(64px,13vw,90px)!important;}
}

/* Final touch: make Fool guidance easier to notice and blend the homepage curtain seam. */
#game-screen[data-card-id="0"] .fool-object.soft-hint{
  animation:fool-soft-glow-strong 1.35s ease-in-out infinite!important;
  filter:drop-shadow(0 0 8px rgba(255,222,91,.95))
         drop-shadow(0 0 17px rgba(255,204,49,.88))
         drop-shadow(0 0 27px rgba(255,246,184,.82))!important;
}
@keyframes fool-soft-glow-strong{
  0%,100%{
    transform:rotate(var(--tilt,0deg)) scale(1);
    filter:drop-shadow(0 0 7px rgba(255,226,111,.88))
           drop-shadow(0 0 14px rgba(255,204,49,.72))
           drop-shadow(0 0 22px rgba(255,247,197,.62));
  }
  50%{
    transform:rotate(var(--tilt,0deg)) scale(1.055);
    filter:drop-shadow(0 0 12px rgba(255,236,139,1))
           drop-shadow(0 0 24px rgba(255,193,28,.98))
           drop-shadow(0 0 38px rgba(255,250,215,.92));
  }
}
#home-screen .curtain-left{border-right:0!important;}
#home-screen .curtain-right{border-left:0!important;}

/* Knowledge lesson: exactly two learning modules, preserving the existing page geometry. */
#knowledge-detail{display:grid;gap:12px;margin:8px 0 18px}
#knowledge-detail .knowledge-section{padding:15px 17px}
#knowledge-detail .knowledge-section h3{font-size:13px;margin:0 0 8px}
#knowledge-detail .knowledge-section>p{font-size:12px;line-height:1.85;color:#625b50;margin:0}
#knowledge-detail .knowledge-subnote{margin-top:12px;padding-top:10px;border-top:1px solid rgba(116,92,63,.14)}
#knowledge-detail .knowledge-subnote b{display:block;font-size:11px;color:#765e46;margin-bottom:4px}
#knowledge-detail .knowledge-subnote p{font-size:11px;line-height:1.75;color:#625b50;margin:0}
#knowledge-detail .knowledge-boundary-note{margin-top:10px!important;padding-top:9px;border-top:1px dashed rgba(116,92,63,.2);font-size:10px!important;color:#93836e!important}
#knowledge-detail .knowledge-inline-sources{margin-top:10px;padding-top:9px;border-top:1px dashed rgba(116,92,63,.2)}
#knowledge-detail .knowledge-inline-sources>b{display:block;font-size:10px;letter-spacing:.08em;color:#9b8567;margin-bottom:6px}
#knowledge-detail .knowledge-inline-sources .source-links{display:flex;flex-wrap:wrap;gap:6px 12px}
#knowledge-detail .knowledge-inline-sources a{font-size:10px;color:#8b7150;text-decoration:underline;text-underline-offset:2px}
#knowledge-body[hidden],#knowledge-sources[hidden],.key-point[hidden],#knowledge-boundary[hidden]{display:none!important}
@media(max-width:520px){#knowledge-detail{gap:8px;margin:5px 0 12px}#knowledge-detail .knowledge-section{padding:9px 11px}#knowledge-detail .knowledge-section h3{font-size:11px;margin-bottom:5px}#knowledge-detail .knowledge-section>p{font-size:10px;line-height:1.7}#knowledge-detail .knowledge-subnote{margin-top:8px;padding-top:7px}#knowledge-detail .knowledge-subnote b{font-size:10px}#knowledge-detail .knowledge-subnote p{font-size:9px;line-height:1.65}#knowledge-detail .knowledge-inline-sources a{font-size:8px}}


/* Knowledge page refinement: remove further-reading links and improve readability. */
#knowledge-detail .knowledge-section h3{font-size:15px;color:#493d31}
#knowledge-detail .knowledge-section>p{font-size:14px;line-height:1.9;color:#443d35}
#knowledge-detail .knowledge-subnote b{font-size:12px;color:#514333}
#knowledge-detail .knowledge-subnote p{font-size:13px;line-height:1.85;color:#4b433a}
#knowledge-detail .knowledge-boundary-note{font-size:12px!important;color:#62584c!important;line-height:1.8}
#knowledge-detail .knowledge-inline-sources{display:none!important}
@media(max-width:520px){
  #knowledge-detail .knowledge-section h3{font-size:13px}
  #knowledge-detail .knowledge-section>p{font-size:12px;line-height:1.8}
  #knowledge-detail .knowledge-subnote b{font-size:11px}
  #knowledge-detail .knowledge-subnote p{font-size:11px;line-height:1.8}
  #knowledge-detail .knowledge-boundary-note{font-size:11px!important}
}

/* Final polish: stove knobs are unlabeled, B layout has a tight middle pair,
   and the four original home stickers have a small spin-and-sparkle easter egg. */
.stove-scene .knobs .knob{font-size:0!important;color:transparent!important;}
.stove-scene .knobs.knobs-spread{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr)!important;align-items:center!important;column-gap:clamp(10px,1.5vw,18px)!important;}
.stove-scene .knobs.knobs-spread .knob:nth-child(1){justify-self:start!important;}
.stove-scene .knobs.knobs-spread .knob:nth-child(2),.stove-scene .knobs.knobs-spread .knob:nth-child(3){justify-self:center!important;}
.stove-scene .knobs.knobs-spread .knob:nth-child(4){justify-self:end!important;}
.home-cat-sticker{pointer-events:auto!important;cursor:pointer!important;}
.home-cat-sticker:focus-visible{outline:2px dashed #9b7652;outline-offset:5px;border-radius:12px;}
.home-cat-sticker.sticker-spinning{animation:homeStickerSpin .9s cubic-bezier(.2,.75,.25,1) both!important;}
.sticker-sparkle{position:absolute;z-index:30;pointer-events:none;color:#f4b83e;font-size:clamp(14px,2vw,22px);text-shadow:0 1px 5px rgba(255,211,92,.45);animation:stickerSparkBurst .9s ease-out forwards;transform:translate(-50%,-50%);}
.sticker-sparkle:nth-last-child(2n){color:#f08c9e;font-size:15px;}
@keyframes homeStickerSpin{0%{rotate:0deg;scale:1}45%{rotate:190deg;scale:1.12}100%{rotate:360deg;scale:1}}
@keyframes stickerSparkBurst{0%{opacity:0;transform:translate(-50%,-50%) rotate(0) scale(.25)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + cos(var(--spark-angle))*48px),calc(-50% + sin(var(--spark-angle))*48px)) rotate(90deg) scale(1.25)}}
