:root{--ink:#304a3a;--muted:#83917e;--green:#456c52;--light:#edf2e9;--paper:#fffdf5;--line:#dce3d2;--gold:#c6a169;--bad:#ab6d52;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#e7ecdf}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button:focus-visible,summary:focus-visible{outline:3px solid #c8a56b;outline-offset:3px}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}a{color:inherit}.app{position:relative;min-height:100svh;width:100%;max-width:480px;margin:0 auto;background:var(--light);overflow:clip;box-shadow:0 0 100px #526b4310}header{height:77px;display:flex;align-items:center;padding:15px 26px;gap:9px;border-bottom:1px solid #496c4810}.brand-mark{font-size:30px;color:#668765;line-height:1}.brand{font-size:14px;letter-spacing:2px;font-weight:650}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;width:40px;height:40px;border-radius:50%;flex-shrink:0}header>.icon-button:last-child{margin-left:auto;color:#5e775a;border:1px solid #cdd8c3}.icon-button:hover{background:#4367460a}main{padding:24px 26px 26px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:#7c8f72;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#719166}.home{padding-top:24px}.home h1{font-size:47px;line-height:1.17;font-weight:650;letter-spacing:2px;margin:17px 0 12px;position:relative}.home h1>span{display:block}.title-dot{color:#b1bf93}.subtitle{font-size:12px;line-height:1.9;color:#7f8c77;letter-spacing:.5px}.hero-art{position:absolute;top:119px;right:6px;width:245px;height:205px;pointer-events:none}.hero-art svg{position:absolute;width:100%;bottom:0}.hero-orbit{font-size:9px;letter-spacing:1px;position:absolute;z-index:1;padding:6px 10px;border-radius:20px;background:#fffdf6b0;border:1px solid #d8dfc9;transform:rotate(6deg);color:#829071;white-space:nowrap}.orbit-one{top:13px;right:37px}.orbit-two{bottom:14px;right:8px;transform:rotate(-8deg)}.bag-sway{transform-origin:182px 140px;animation:bagSway 6s ease-in-out infinite}@keyframes bagSway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}.section-label{display:flex;justify-content:space-between;align-items:center;margin:30px 0 13px}.section-label h2{font-size:13px;font-weight:600;letter-spacing:.5px}.section-label>span{font-size:9px;color:#9aa48e;letter-spacing:1px}.difficulty-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.difficulty{padding:13px 15px 14px;text-align:left;background:#f8f8ed;border:1px solid #dfe4d5;border-radius:13px;transition:background .2s,border .2s,transform .2s;min-width:0}.difficulty:hover{transform:translateY(-2px)}.difficulty.selected{background:#e0e9d5;border-color:#8ca87a;box-shadow:inset 0 0 0 1px #a7b99422}.difficulty-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.level-icon{font-size:22px;color:#8ba576;font-family:Georgia,serif}.difficulty:nth-child(2) .level-icon{color:#9fa579}.difficulty:nth-child(3) .level-icon{color:#b4a675}.difficulty:nth-child(4) .level-icon{color:#ae8d74}.radio{width:15px;height:15px;border:1px solid #d0d8bf;border-radius:50%;display:flex;align-items:center;justify-content:center}.selected .radio{background:#70895d;border-color:#70895d;color:white}.difficulty strong{display:block;font-size:15px;letter-spacing:1px;font-weight:600}.difficulty small{font-size:9px;display:block;white-space:nowrap;margin-top:7px;color:#8c967e;letter-spacing:.1px}.primary{background:var(--green);color:#fffdf0;width:100%;min-height:54px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:15px;letter-spacing:2px;font-weight:500;box-shadow:0 5px 12px #3f684311;transition:background .2s,transform .2s}.primary:hover{background:#365b43}.primary:active{transform:scale(.985)}.under-button{text-align:center;color:#97a08a;font-size:10px;margin:11px 0 18px;letter-spacing:1px}.home-links{display:flex;justify-content:center;gap:15px;padding-top:14px;border-top:1px solid var(--line)}.text-button{background:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;font-size:11px;color:#78866c;padding:4px}.text-button span{font-size:9px;color:#9da58e}.home-stats{display:flex;justify-content:center;font-size:10px;color:#9aa38d;gap:25px;margin:6px 0 20px}.home-stats b{font-size:13px;color:#758767;font-weight:600;margin:0 3px}footer{text-align:center;font-size:9px;line-height:1.7;color:#a5ad98;letter-spacing:.5px}footer button{display:block;background:none;margin:8px auto 0;font-size:10px;color:#7e9073;text-decoration:underline;text-underline-offset:3px}.desktop-note{display:none}.journey{display:flex;align-items:center;justify-content:center;padding:16px 26px 0;gap:8px;color:#a4ad98;font-size:10px}.journey span{white-space:nowrap}.journey .active{color:#54784d;font-weight:650}.journey i{height:1px;background:#d5dec9;width:22px}.screen-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.screen-heading h1{font-size:30px;font-weight:600;line-height:1.4;letter-spacing:1px;margin-top:9px}.timer{display:flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;color:#66825c;background:#e1e9d8;padding:9px 11px;border:1px solid #d2dec4;border-radius:24px;min-width:79px;font-variant-numeric:tabular-nums}.timer b{font-size:22px;font-weight:550}.timer small{font-size:9px}.timer>span{display:flex;align-items:center;margin-right:1px}.timer.urgent{background:#f0e0ca;color:#a56a45;border-color:#dec6a2;transition:color 1s,background 1s}.memo-paper{position:relative;background:var(--paper);margin:23px 0 22px;border-radius:4px 4px 9px 9px;padding:19px 18px 16px;box-shadow:0 5px 15px #4857370b;transform-origin:50% 10%;animation:paperIn .4s ease-out}.memo-paper:before{content:'';position:absolute;top:-8px;width:58px;height:20px;background:#dbe4c9b3;left:calc(50% - 29px);transform:rotate(-4deg)}.paper-top{display:flex;justify-content:space-between;border-bottom:1px dashed #d8dec9;padding-bottom:12px;font-size:12px;letter-spacing:1px}.paper-top>span:last-child{font-size:10px;color:#a0a78d}.memory-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:17px 0}.memory-item{display:flex;align-items:center;flex-direction:column;background:#f7f7ee;border-radius:11px;padding:6px}.product-art{display:block;width:90px;height:90px;max-width:100%}.memory-item strong{font-size:13px;font-weight:600}.memory-item>span{color:#849375;font-size:12px;margin:4px 0 6px}.memory-grid.compact{gap:8px;padding:12px 0}.compact .product-art{width:65px;height:65px}.compact .memory-item{padding:2px}.paper-bottom{display:flex;justify-content:space-between;border-top:1px dashed #d8dec9;padding-top:13px;color:#a4ac95;font-size:10px}.paper-bottom span{font-size:15px}.event-screen{min-height:calc(100svh - 110px);display:flex;flex-direction:column}.event-top{display:flex;justify-content:space-between;align-items:center}.event-scene{text-align:center;margin:24px 0 28px;background:#f8f8ee;border-radius:25px;padding:30px 23px 20px;border:1px solid #dce3d1;position:relative;box-shadow:0 9px 25px #445f3c05}.event-scene.call{background:#dfe9d9}.event-scene-icon{display:flex;align-items:center;justify-content:center;background:#edf0df;width:88px;height:88px;border-radius:50%;margin:0 auto 20px;color:#7b9564}.call .event-scene-icon{background:#b6c9a5;color:#fffdf1;animation:ring 2s ease infinite}.event-label{font-size:10px;color:#9ca58c;letter-spacing:2px}.event-scene h1{font-size:25px;font-weight:500;margin:11px 0}.event-status{font-size:10px;color:#8b9b7d;letter-spacing:1px}.message{position:relative;margin:26px 0 8px;text-align:left;background:var(--paper);padding:24px 21px;border-radius:14px;box-shadow:0 3px 12px #5a6d4505}.chat .message:before{content:'';position:absolute;top:15px;left:-9px;border-right:11px solid var(--paper);border-top:7px solid transparent;border-bottom:7px solid transparent}.message p{font-size:20px;line-height:1.9;font-weight:500;letter-spacing:.5px;position:relative}.message-quote{position:absolute;left:9px;top:5px;color:#e2e8d7;font-family:Georgia;font-size:62px;line-height:1}.event-dots{display:flex;gap:5px;justify-content:center;margin:22px 0 0}.event-dots i{width:4px;height:4px;background:#bfccb1;border-radius:50%}.phone-wave{display:flex;align-items:center;justify-content:center;gap:5px;height:24px;margin-top:15px}.phone-wave i{width:3px;height:11px;background:#8ea67f;border-radius:4px;animation:wave .8s ease infinite alternate}.phone-wave i:nth-child(2n){height:21px;animation-delay:.3s}.phone-wave i:nth-child(3n){height:16px;animation-delay:.6s}.event-bottom{margin-top:auto}.event-bottom>p{text-align:center;font-size:13px;line-height:1.9;margin-bottom:19px;color:#6e8562}.event-bottom>p span{font-size:10px;color:#99a48c}.shop{padding-bottom:115px}.shop .screen-heading h1{font-size:26px}.shop .screen-heading{margin-bottom:9px}.shop .subtitle{font-size:11px}.aisle-sign{display:flex;justify-content:space-between;align-items:center;background:#dbe5d0;border-top:3px solid #c7d5b8;padding:10px 13px;margin-top:19px;border-radius:6px 6px 0 0;color:#658158;letter-spacing:1px}.aisle-sign>span{font-size:13px;font-weight:600}.aisle-sign small{font-size:9px;color:#93a17e}.filters{display:flex;overflow:auto;gap:7px;scrollbar-width:none;padding:14px 0}.filters::-webkit-scrollbar{display:none}.filters button{font-size:10px;white-space:nowrap;background:#e5ebdc;color:#88977a;border-radius:20px;padding:7px 11px;border:1px solid transparent}.filters .active{background:#5d7c50;color:#fffbee}.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 10px}.product{background:#fffdf4;border:1px solid #e0e5d6;border-bottom:5px solid #d5dabc;border-radius:9px;overflow:hidden;min-width:0;box-shadow:0 4px 0 #edf0df}.product-pick{display:flex;align-items:center;flex-direction:column;background:transparent;width:100%;padding:7px 4px 3px}.product-pick .product-art{height:78px;width:78px;transition:transform .2s}.product-pick:active .product-art{transform:translateY(-4px) rotate(-4deg)}.product strong{font-size:12px;font-weight:550;white-space:nowrap}.product small{font-size:8px;color:#a1a68d;margin:6px 0 2px}.stepper{display:flex;align-items:center;justify-content:space-between;gap:3px;font-variant-numeric:tabular-nums}.product>.stepper{margin:5px 6px 7px}.step{background:#edf1e1;width:29px;height:29px;border-radius:8px;font-size:20px;display:flex;align-items:center;justify-content:center;color:#7d936a}.stepper>span{font-size:12px;min-width:14px;text-align:center}.shelf-end{text-align:center;color:#a7af98;font-size:9px;margin:28px 0 0}.cart-area{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);z-index:3;filter:drop-shadow(0 -5px 14px #4256310b)}.cart-dock{display:flex;align-items:center;gap:8px;padding:13px 18px calc(14px + env(safe-area-inset-bottom));background:#fffcf3;border-top:1px solid #e0e6d5}.cart-toggle{background:none;display:flex;align-items:center;gap:10px;text-align:left;flex:1;min-width:0}.cart-toggle>svg{color:#698158}.cart-toggle>span{font-size:13px;min-width:0}.cart-toggle b{border-radius:20px;background:#e7edda;font-size:10px;padding:1px 6px;margin-left:3px}.cart-toggle small{display:block;color:#a1a68f;font-size:9px;margin-top:5px}.cart-chevron{color:#91a080;font-size:19px;margin-left:auto}.checkout-button{background:var(--green);color:var(--paper);padding:13px 15px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-size:13px;min-height:45px}.cart-tray{background:#fffcf3;padding:17px 20px 15px;border-radius:20px 20px 0 0;max-height:51svh;overflow:auto;border:1px solid #dce2cf}.cart-tray[hidden]{display:none}.tray-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.tray-heading h2{font-size:14px}.cart-row{display:flex;align-items:center;border-bottom:1px solid #e9eadd;padding:5px 0;gap:7px}.cart-row>.product-art{height:43px;width:43px}.cart-row strong{font-size:12px;flex:1;font-weight:500}.cart-row .step{width:28px;height:28px}.delete-item{background:none;color:#a6ab96;display:flex;align-items:center;justify-content:center;width:25px;height:34px}.tray-note{font-size:9px;text-align:center;color:#a8ac97;margin-top:13px}.empty-cart{padding:35px 0;text-align:center;color:#a3ab93;font-size:12px}.flying{position:fixed;width:45px;height:45px;z-index:20;pointer-events:none}.flying svg{width:45px;height:45px}.result{padding-top:24px}.result-intro{text-align:center;margin-bottom:22px}.result-intro>.eyebrow{justify-content:center}.result-intro h1{font-size:24px;font-weight:600;margin-top:10px;letter-spacing:1px}.receipt{background:var(--paper);border-radius:5px;padding:25px 23px;position:relative;box-shadow:0 7px 25px #445b3510;animation:paperIn .4s ease-out}.receipt:after{content:'';position:absolute;bottom:-7px;left:0;right:0;height:9px;background:linear-gradient(135deg,var(--paper) 25%,transparent 25%) -8px 0,linear-gradient(225deg,var(--paper) 25%,transparent 25%) -8px 0;background-size:16px 16px}.receipt-head{display:flex;align-items:center;flex-direction:column;border-bottom:1px dashed #ccd4bd;padding-bottom:18px;gap:8px}.receipt-head>span{font-size:19px;font-weight:600;letter-spacing:2px}.receipt-head small{font-size:9px;color:#9aab88}.receipt-meta{display:flex;justify-content:space-between;margin-top:17px;font-size:10px;color:#839476}.score{display:flex;align-items:baseline;justify-content:center;gap:5px;margin:12px 0 5px;position:relative}.score>strong{font-size:76px;font-weight:550;letter-spacing:-5px;line-height:1.2}.score>span{font-size:13px;color:#9aa58b}.score>i{position:absolute;right:-3px;top:10px;transform:rotate(12deg);border:1px solid #a6b990;border-radius:3px;padding:5px;font-size:10px;color:#86a06c;font-style:normal}.result-quote{font-size:12px;line-height:1.9;text-align:center;color:#7d8d70;margin:8px 0 21px}.receipt-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#f0f3e6;border-radius:7px;padding:13px 5px;margin-bottom:20px;text-align:center}.receipt-stats>div+div{border-left:1px solid #dfe6d1}.receipt-stats span{display:block;font-size:9px;color:#92a17f;margin-bottom:7px}.receipt-stats b{font-size:18px;font-weight:550}.receipt-stats small{font-size:10px;font-weight:400}.receipt-section{border-top:1px dashed #d6deca;padding-top:15px;margin-top:16px}.receipt-section h2{font-size:11px;letter-spacing:1px;color:#879575;margin-bottom:12px;font-weight:500}.audit-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:6px 0;gap:6px}.audit-row b{font-size:10px;font-weight:400}.good{color:#5f8152}.bad{color:var(--bad)}.answer-list{display:flex;flex-wrap:wrap;gap:6px}.list-item{display:inline-flex;align-items:center;gap:4px;font-size:10px;background:#f1f4e7;border-radius:6px;padding:3px 6px 3px 2px}.list-item .product-art{width:26px;height:26px}.list-item b{font-weight:500;color:#9aa586;font-size:10px}.scoring{font-size:10px;color:#9aa38b;line-height:1.9;margin-top:17px}.scoring summary{cursor:pointer}.scoring p{margin-top:9px}.barcode{height:27px;width:155px;background:repeating-linear-gradient(90deg,#657257 0px,#657257 1px,transparent 1px,transparent 3px,#657257 3px,#657257 6px,transparent 6px,transparent 8px,#657257 8px,#657257 10px,transparent 10px,transparent 14px);opacity:.55;margin:22px auto 12px}.receipt-foot{font-size:10px;text-align:center;color:#9ca68d;line-height:1.9}.receipt-foot small{display:block;font-size:8px;overflow-wrap:anywhere;opacity:.7}.unlock-banner{display:flex;align-items:center;gap:13px;margin:23px 0 16px;border:1px solid #d5d5ac;background:#efeed5;padding:15px;border-radius:12px;animation:paperIn .6s ease-out}.unlock-medal{display:flex;align-items:center;justify-content:center;color:#a5925e;width:40px;height:40px;flex-shrink:0}.unlock-banner>div:last-child{flex:1}.unlock-banner span{font-size:10px;color:#a2946d;display:block;margin-bottom:5px}.unlock-banner strong{font-size:11px;line-height:1.8;font-weight:500;color:#8b7e55}.replay{margin:23px 0 17px;border:1px solid #d6e0cb;border-radius:10px;background:#f4f6eb;font-size:12px}.replay>summary{display:flex;align-items:center;gap:8px;padding:16px;cursor:pointer;list-style:none}.replay>summary>span{margin-left:auto;color:#9aa58b;font-size:10px}.replay-content{padding:0 15px 18px}.replay h3{font-size:11px;margin-bottom:10px}.replay section{border-top:1px solid #dde5d1;margin-top:18px;padding-top:17px}.replay section p{font-size:12px;line-height:1.9;margin:8px 0}.replay .eyebrow{font-size:9px}.replay-list{display:flex;flex-wrap:wrap;gap:5px}.result-actions{display:flex;gap:10px;margin-top:11px}.secondary{background:#e3ead8;border:1px solid #d1dcc5;color:#748a65;border-radius:10px;min-height:46px;padding:12px 15px;font-size:12px;flex:1}.result-home{display:flex;margin:12px auto 0}.printing{text-align:center;padding-top:100px}.printer-slot{height:14px;background:#5a6e4c;border-radius:8px;margin:0 10px}.printing-paper{background:var(--paper);margin:-2px 28px 0;padding:40px 10px 20px;font-size:19px;line-height:2;animation:print .55s ease-out}.printing-paper>span{display:block;font-size:11px;color:#9fa58f}.scrim{position:fixed;inset:0;background:#263c3255;z-index:40;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)}.modal{background:#f7f8ee;width:100%;max-width:420px;max-height:90svh;overflow:auto;border-radius:22px;padding:27px 24px;box-shadow:0 20px 90px #22332225;outline:0}.modal-symbol{width:68px;height:68px;display:flex;align-items:center;justify-content:center;background:#e1e9d4;border-radius:50%;margin:0 0 20px;color:#839f6d}.modal h2{font-size:22px;font-weight:550;margin:10px 0 15px;line-height:1.5}.modal .muted{font-size:11px;color:#9aa28d;line-height:1.9;margin:16px 0 20px}.modal>.primary{font-size:13px}.modal>.secondary{width:100%;margin-bottom:10px}.guide-steps{list-style:none;margin:23px 0;padding:0}.guide-steps li{display:flex;align-items:center;gap:13px;margin:19px 0}.guide-steps li>b{font-size:12px;color:#90a47d;background:#e7eedc;padding:10px;border-radius:10px;font-weight:500}.guide-steps li>span{font-size:11px;color:#99a18a;line-height:1.8}.guide-steps strong{display:block;font-size:13px;font-weight:550;color:#526e44}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:5px}.modal-heading h2{font-size:20px;margin:8px 0}.modal h2 small{font-size:12px;color:#8c9e79;margin-left:5px}.modal-heading .eyebrow{font-size:9px;letter-spacing:1px}.large-modal{padding:20px;max-height:90svh}.achievement-scroll{max-height:70svh;overflow:auto;margin-top:7px;padding-right:2px}.achievement-group h3{font-size:12px;letter-spacing:2px;margin:22px 0 12px;font-weight:500;color:#81926f}.achievement-group h3>span{font-size:17px;margin-right:4px}.achievement{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #e5e9d9;color:#9faa91}.achievement-icon{width:38px;height:38px;border:1px solid #e0e6d3;background:#eef1e5;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#bac4ab}.achievement>div{flex:1}.achievement strong{font-size:12px;font-weight:550}.achievement p{font-size:9px;line-height:1.7;margin-top:5px}.achievement small{font-size:8px;color:#b0baa1}.achievement>b{font-size:15px;color:#91a779}.achievement.unlocked{color:#738b61}.unlocked .achievement-icon{background:#e7ebd1;color:#9a9c58;border-color:#d9dfbc}.achievement-progress{height:3px;background:#e7ecdc;border-radius:5px;margin:7px 0 1px;overflow:hidden;max-width:180px}.achievement-progress i{display:block;height:100%;background:#a2b68b}.record-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0;background:#e9efdd;padding:17px 5px;border-radius:12px;text-align:center}.record-stats b{display:block;font-size:23px;font-weight:500}.record-stats span{font-size:9px;color:#98a486;display:block;margin-top:7px}.best-levels{font-size:11px;line-height:2.6;margin:0 0 20px}.best-levels>div{display:flex;justify-content:space-between}.best-levels b{font-weight:500}.best-levels small{font-size:9px;color:#a2ac92;margin-left:6px}.modal h3{font-size:12px;font-weight:500}.modal h3>small{font-size:9px;float:right;color:#b0b89f}.record-scroll{max-height:33svh;overflow:auto;margin-top:10px}.record-row{padding:12px 0;border-top:1px solid #e1e7d4;display:flex;align-items:center;justify-content:space-between}.record-row strong{font-size:11px;font-weight:500}.record-row small{display:block;font-size:9px;color:#a2ad90;margin-top:5px}.record-row>b{font-size:21px;font-weight:500}.record-row>b small{display:inline;font-size:9px;margin-left:3px}#toast{position:fixed;z-index:60;bottom:105px;left:50%;transform:translate(-50%,10px);max-width:90%;width:max-content;background:#3c5846ee;color:#fffdee;font-size:12px;line-height:1.8;padding:12px 18px;border-radius:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.celebrate .receipt{box-shadow:0 0 0 6px #c9d8ad77,0 0 45px #dfcb8a77;transition:box-shadow .6s}@keyframes paperIn{from{opacity:0;transform:translateY(12px) rotate(-1deg)}to{opacity:1;transform:none}}@keyframes ring{0%,20%,100%{transform:rotate(0)}5%{transform:rotate(-8deg)}10%{transform:rotate(8deg)}15%{transform:rotate(-5deg)}}@keyframes wave{to{transform:scaleY(.4)}}@keyframes print{from{transform:translateY(-30px);clip-path:inset(0 0 100% 0)}to{transform:none;clip-path:inset(0)}}
@media(min-width:850px){body{background:radial-gradient(ellipse at 10% 30%,#f1f0df 0,transparent 50%),#e3eadb;padding:32px 0 32px 270px}.app{min-height:calc(100svh - 64px);border:1px solid #d2ddc4;border-radius:25px;box-shadow:0 30px 100px #4c603915}.desktop-note{display:flex;flex-direction:column;position:fixed;left:max(35px,calc(50% - 480px));top:105px;width:220px;color:#55724d}.tiny-logo{font-size:50px;color:#93a87d;margin-bottom:15px}.desktop-note>span:nth-child(2){font-size:19px;letter-spacing:4px}.desktop-note small{font-size:12px;line-height:2.1;margin-top:22px;color:#8a987d;letter-spacing:1px}.desktop-line{height:1px;background:#c5d1b5;width:45px;margin:32px 0}.desktop-note p{font-size:27px;line-height:1.9;font-weight:300;letter-spacing:2px}.desktop-foot{font-size:10px;color:#a1ad91;letter-spacing:2px;margin-top:52px}.cart-area{left:calc(50% + 135px);bottom:32px;border-radius:0 0 25px 25px;overflow:hidden}.event-screen{min-height:690px}.shop{min-height:900px}.home{padding-bottom:26px}.hero-art{right:8px}.home h1{font-size:49px}}
@media(max-width:374px){header{padding:12px 19px;height:68px}main{padding-left:19px;padding-right:19px}.home h1{font-size:42px}.hero-art{width:205px;right:0;top:118px}.hero-orbit{font-size:8px}.section-label{margin-top:29px}.difficulty{padding:10px 11px}.difficulty small{font-size:8px}.difficulty strong{font-size:14px}.home-links{gap:9px}.text-button{font-size:10px}.screen-heading h1{font-size:26px}.shop .screen-heading h1{font-size:23px}.timer{padding:7px 9px;min-width:72px}.product-pick .product-art{width:68px;height:68px}.shelf{gap:12px 7px}.product strong{font-size:10px}.product>.stepper{margin:5px 4px 7px}.step{width:25px;height:27px}.cart-row strong{font-size:11px}.modal{padding:23px 19px}.message p{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.shop .screen-heading{position:sticky;top:0;z-index:2;background:var(--light);padding:10px 0;margin-top:-10px;box-shadow:0 6px 8px var(--light)}
.memory-grid.three{grid-template-columns:repeat(3,1fr);gap:8px}.three .product-art{width:70px;height:70px}.three .memory-item strong{font-size:11px}.memory-grid.compact{grid-template-columns:repeat(4,1fr);gap:7px}.compact .product-art{width:56px;height:56px}.compact .memory-item strong{font-size:10px;white-space:nowrap}.compact .memory-item>span{font-size:10px}

/* 首页难度使用横向长条卡片 */
.difficulty-grid{grid-template-columns:1fr;gap:7px}.difficulty{display:grid;grid-template-columns:34px 1fr 18px;column-gap:12px;row-gap:2px;min-height:58px;padding:9px 16px;align-items:center}.difficulty-top{display:contents}.difficulty .level-icon{grid-column:1;grid-row:1 / 3;align-self:center;font-size:28px}.difficulty .radio{grid-column:3;grid-row:1 / 3;align-self:center}.difficulty strong{grid-column:2;grid-row:1;font-size:15px;align-self:end}.difficulty small{grid-column:2;grid-row:2;margin:0;font-size:10px;align-self:start}

.difficulty{grid-template-columns:1fr 18px;column-gap:12px;padding:9px 16px}.difficulty .radio{grid-column:2}.difficulty strong,.difficulty small{grid-column:1}

.modal{position:relative}.modal-close{position:absolute;right:13px;top:13px;width:34px;height:34px;background:#e7eddd;color:#7c906a;z-index:1}.modal-close:hover{background:#dce7cc}.modal-heading{padding-right:34px}
/* 记忆清单统一为逐行排列，商品与数量横向对应 */
.memory-grid,.memory-grid.three,.memory-grid.compact{grid-template-columns:1fr;gap:8px;padding:14px 0}.memory-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:5px 12px;min-height:58px}.memory-item .product-art{width:48px;height:48px}.memory-item strong{font-size:14px;text-align:left;white-space:nowrap}.memory-item>span{font-size:13px;margin:0;white-space:nowrap}.three .memory-item{min-height:48px;grid-template-columns:38px minmax(0,1fr) auto;padding:4px 10px}.three .memory-item .product-art{width:38px;height:38px}.three .memory-item strong{font-size:13px}.compact .memory-item{min-height:40px;grid-template-columns:32px minmax(0,1fr) auto;padding:4px 10px}.compact .memory-item .product-art{width:32px;height:32px}.compact .memory-item strong,.compact .memory-item>span{font-size:12px}

.printing-paper{animation:print 1.3s cubic-bezier(.2,.65,.35,1)}

button.unlock-banner{width:100%;text-align:left;cursor:pointer;transition:transform .2s,background .2s}button.unlock-banner:hover{background:#e9e9ca;transform:translateY(-1px)}button.unlock-banner>svg{flex-shrink:0;color:#9c936a}.unlock-banner small{display:block;font-size:9px;color:#a59870;margin-top:6px}.unlock-banner.all-achievements{background:#ede5c8;border-color:#ccbb85}.easter-certificate{text-align:center;border:1px solid #dbd0aa;border-radius:12px;padding:25px 15px;margin:24px 0 20px;background:#fffbed}.certificate-seal{font-size:43px;color:#baaa6e;margin-bottom:13px}.easter-certificate .eyebrow{justify-content:center;color:#a79460}.easter-certificate h2{font-size:27px;color:#7b744a;letter-spacing:4px;margin:17px 0 22px}.easter-certificate p{font-size:12px;line-height:2.2;color:#8e906f}.easter-certificate p strong{font-size:18px;line-height:2.8;font-weight:500;color:#7a855c}.certificate-duty{padding:16px 0;border-top:1px dashed #d9d1b5;border-bottom:1px dashed #d9d1b5;margin:16px 0;font-size:10px;line-height:2;color:#a29b7c}.certificate-sign{display:block;font-size:10px;letter-spacing:1px;color:#a89d78}

/* 分类顺序与组内商品顺序由本局题目生成，选购和筛选不会重新随机。 */
.shelf-section{grid-column:1 / -1;min-width:0}.shelf-section h2{font-size:12px;font-weight:500;color:#829374;letter-spacing:1px;padding:5px 1px 10px}.shelf-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}@media(max-width:374px){.shelf-products{gap:12px 7px}}

/* 大货架审核修复：分类入口与记忆计时保持可见，弹窗关闭后恢复原位置。 */
.shop .filters{position:sticky;top:78px;z-index:2;background:var(--light)}
.memory-many{padding-top:16px}.memory-many .screen-heading{position:sticky;top:0;z-index:2;background:var(--light);padding:8px 0;margin-top:-8px}.memory-many .screen-heading h1{font-size:22px;line-height:1.35}.memory-many .memo-paper{padding:14px 12px;margin-top:16px}.memory-many .memory-grid{gap:5px;padding:10px 0}.memory-many .paper-top{padding-bottom:9px}.memory-many .paper-bottom{padding-top:8px}
html:has(#overlay .scrim){overflow:hidden}

.shop .filters{top:var(--shop-heading-height,78px)}@media(max-width:374px){.shop .screen-heading h1{font-size:20px;white-space:nowrap}}

.stopwatch{gap:6px;flex-shrink:0;font-variant-numeric:tabular-nums}.stopwatch b{font-size:22px}.stopwatch small{font-size:10px}@media(max-width:374px){.shop .screen-heading{flex-wrap:wrap;gap:8px}.stopwatch{padding:7px 8px}.stopwatch b{font-size:18px}}
/* V3.1：题型界面及货架密度。列数依据可用宽度，高度留给商品而非头尾空白。 */
.choice-screen{padding-top:22px}.choice-screen h1{font-size:24px;line-height:1.6;margin:16px 0}.choice-screen .subtitle{font-size:12px;margin-bottom:20px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.choice-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:145px;padding:14px 10px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.choice-card.selected{background:#e1ead5;border:2px solid #91ab7b}.choice-card .product-art{width:72px;height:72px}.choice-card strong{font-size:15px;margin-top:8px}.choice-card small{position:absolute;top:9px;left:12px;font-size:11px;color:var(--muted)}.number-option{font-size:34px;font-variant-numeric:tabular-nums}.question-result{border-top:1px dashed var(--line);padding:13px 0}.question-result>summary{font-size:12px;cursor:pointer;line-height:1.8}.question-result>summary b{display:block;font-size:11px;color:var(--muted);font-weight:500;margin-left:13px}.question-result p{font-size:12px;line-height:1.9;margin:9px 0}.question-result h3{font-size:11px;margin:13px 0 7px}.question-result .audit-row{font-size:11px}.difficulty small{line-height:1.7}
body:has(.shop) .desktop-note{display:none}body:has(.shop) .app{width:100%;max-width:1180px;margin:0 auto;transform:none;border-radius:0;min-height:100svh}body:has(.shop) .cart-area{left:50%;bottom:0;transform:translateX(-50%);width:min(1180px,100%);border-radius:0;overflow:visible}
body:has(.shop) header{height:52px;padding:6px 16px}.shop~.cart-area .cart-dock{padding:8px 14px calc(8px + env(safe-area-inset-bottom));min-height:64px}body:has(.shop) .journey{padding:9px 14px 0}.shop{--shelf-columns:3;padding:10px 14px 92px;min-height:0}.shop .screen-heading{padding:7px 0;margin:0 0 5px;flex-wrap:wrap;gap:6px}.shop .screen-heading h1{font-size:19px;letter-spacing:0;white-space:normal;margin:3px 0 0}.shop .eyebrow{font-size:9px;letter-spacing:.6px}.shop .stopwatch{padding:6px 9px;min-width:0}.shop .stopwatch b{font-size:19px}.shop .subtitle{font-size:10px;line-height:1.6;margin:0 0 4px}.shop .aisle-sign{display:none}.shop .filters{display:flex;flex-wrap:wrap;overflow:visible;gap:5px;padding:7px 0;margin:0;top:var(--shop-heading-height,58px)}.shop .filters button{font-size:10px;padding:6px 9px;min-height:30px}.shelf{display:block;margin-top:4px}.shelf-section h2{font-size:11px;padding:9px 0 5px}.shelf-products{grid-template-columns:repeat(var(--shelf-columns),minmax(0,1fr));gap:7px}.product{border-bottom-width:2px;box-shadow:none}.product-pick{padding:5px 3px 1px;min-height:68px}.product-pick .product-art{width:43px;height:43px}.product strong{font-size:12px;white-space:normal;line-height:1.4;word-break:keep-all}.product small{display:none}.product>.stepper{margin:3px 3px 5px;min-height:34px}.product .step{width:32px;height:34px;min-width:30px;border-radius:7px}.product [data-quantity]{font-size:12px;min-width:15px}.shelf-end{margin:18px 0}.cart-row .step{width:36px;height:36px}.shop .cart-toggle small{margin-top:2px}
@media(min-width:420px){.shop{--shelf-columns:4;padding-left:18px;padding-right:18px}.shop .filters button{font-size:11px}.product-pick .product-art{width:48px;height:48px}}
@media(min-width:680px){.shop{--shelf-columns:5}.product-pick .product-art{width:54px;height:54px}.product strong{font-size:14px}.product .step{width:38px;height:36px}.product-pick{min-height:82px}}
@media(min-width:900px){.shop{--shelf-columns:6;padding-left:24px;padding-right:24px}.product-pick .product-art{width:58px;height:58px}}
@media(orientation:landscape) and (max-height:550px){body:has(.shop) header{height:40px}.shop .screen-heading{padding:4px 0}.shop .subtitle{display:none}.shop .filters{padding:5px 0}.shop .filters button{min-height:27px;padding:4px 8px}.shop .cart-dock{min-height:54px;padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}.shop .product-pick .product-art{width:38px;height:38px}.shop .product-pick{min-height:62px}.shop .product .step{height:32px}.shop .cart-tray{max-height:60svh}}
body:has(.shop){padding:0}
/* 同类商品仍相邻排列；统一网格避免每个小分类留出半行空白。 */
.shop .shelf{display:grid;grid-template-columns:repeat(var(--shelf-columns),minmax(0,1fr));gap:7px}.shop .shelf-section,.shop .shelf-products{display:contents}.shop .shelf-section>h2{display:none}.shop .product small{display:block;font-size:8px;line-height:1.2;margin:2px 0 1px}.shop .product-pick{min-height:78px}

/* 长屏不把多出的高度摊到剧情上下空白；宽设备的阅读页面也不挤进营销侧栏。 */
body:has(.memory,.event-screen,.choice-screen,.result,.printing){padding:0}body:has(.memory,.event-screen,.choice-screen,.result,.printing) .desktop-note{display:none}body:has(.memory,.event-screen,.choice-screen,.result,.printing) .app{max-width:760px;margin:0 auto;border-radius:0}.event-screen{min-height:0}.event-bottom{margin-top:20px}.memory .screen-heading{position:sticky;top:0;z-index:2;background:var(--light);padding:8px 0}.shop .step{position:relative}.shop .step:after{content:'';position:absolute;inset:-4px -2px}

.empty-category{grid-column:1/-1;text-align:center;padding:24px 10px;font-size:12px;color:var(--muted)}
@media(orientation:landscape) and (max-height:550px){.shop~.cart-area .cart-dock{min-height:54px;padding:5px 14px calc(5px + env(safe-area-inset-bottom))}body:has(.shop) .cart-tray{max-height:60svh}}

/* 账号头像简化标志：脑袋、开机键与笑脸 */
.brand-symbol{display:inline-block;width:32px;height:32px;flex-shrink:0;vertical-align:middle;object-fit:contain}.brand-mark{display:flex;align-items:center;line-height:1}.brand-mark .brand-symbol{width:34px;height:34px}.tiny-logo .brand-symbol{width:58px;height:58px}.receipt-head>span,.aisle-sign>span{display:flex;align-items:center;justify-content:center;gap:8px}.aisle-sign .brand-symbol{width:23px;height:23px}.certificate-seal .brand-symbol{width:54px;height:54px}.achievement-group h3 .brand-symbol{width:18px;height:18px}

/* 首页顶部收紧，增加首屏有效内容面积 */
.home{padding-top:14px}@media(min-height:500px){.home-header{height:60px;padding-top:7px;padding-bottom:7px}}

/* 剧情卡片之后先操作，再显示辅助说明 */
.event-bottom{margin-top:16px}.event-bottom>p{margin:12px 0 0}

.event-screen .event-scene{margin-bottom:0}

/* 游戏阅读层级：精简引导区，把空间和字号留给要记住的内容。 */
body:has(.memory,.event-screen,.choice-screen) .journey{padding:10px 19px 0;font-size:9px;gap:7px}
.memory,.memory-many,.event-screen,.choice-screen{padding-top:14px}
.memory .screen-heading{padding:0;margin:0 0 10px;gap:12px}
.memory .screen-heading h1,.memory-many .screen-heading h1{font-size:21px;line-height:1.35;letter-spacing:.3px;margin-top:5px}
.memory .eyebrow,.event-top .eyebrow,.choice-screen .eyebrow{font-size:9px;letter-spacing:1px}
.memory-instructions{line-height:1.65;margin:0;color:#839078;letter-spacing:.1px}
.memory-instructions strong{display:block;font-size:12px;color:#526e44;font-weight:600}
.memory-instructions>span{display:block;font-size:10px}
.memory .memo-paper,.memory-many .memo-paper{margin:16px 0;padding:13px 14px 11px}
.memory .paper-top{font-size:11px;padding-bottom:9px}
.memory .paper-top>span:last-child{font-size:9px}
.memory .memory-grid{gap:6px;padding:10px 0}
.memory .memory-item{min-height:52px;grid-template-columns:40px minmax(0,1fr) auto;padding:4px 10px;gap:10px}
.memory .memory-item .product-art{width:40px;height:40px}
.memory .memory-item strong{font-size:16px;white-space:normal;line-height:1.35}
.memory .memory-item>span{font-size:15px;font-weight:600;color:#526e44}
.memory .three .memory-item,.memory .compact .memory-item{min-height:44px;grid-template-columns:32px minmax(0,1fr) auto;padding:4px 9px}
.memory .three .memory-item .product-art,.memory .compact .memory-item .product-art{width:32px;height:32px}
.memory .three .memory-item strong,.memory .compact .memory-item strong{font-size:15px}
.memory .paper-bottom{font-size:9px;padding-top:8px}
.memory .under-button{font-size:10px;margin-top:10px}
.event-scene{margin-top:16px;padding:20px 18px 16px;border-radius:20px}
.event-scene-icon{width:60px;height:60px;margin-bottom:12px}
.event-scene-icon svg{width:34px;height:34px}
.event-label,.event-status{font-size:9px;letter-spacing:1px}
.event-scene h1{font-size:20px;margin:7px 0}
.event-scene .message{margin:16px 0 6px;padding:18px 16px}
.event-scene .message p{font-size:21px;line-height:1.65;letter-spacing:.2px}
.event-dots{margin-top:14px}
.event-bottom>p{font-size:11px;line-height:1.7}
.event-bottom>p span{font-size:10px}
.choice-screen h1{font-size:23px;line-height:1.45;margin:10px 0}
.choice-screen .subtitle{font-size:10px;line-height:1.6;margin-bottom:14px}
.choice-card{min-height:128px;padding:12px 10px}
.choice-card .product-art{width:60px;height:60px}
.choice-card strong{font-size:16px;line-height:1.4;margin-top:6px}
.choice-card small{font-size:10px}
.memory>.primary,.event-bottom>.primary,.choice-screen>.primary{font-size:16px;min-height:50px}
@media(min-height:500px){.app:has(>.memory,>.event-screen,>.choice-screen)>header{height:56px;padding-top:6px;padding-bottom:6px}}
@media(max-width:359px){.memory .screen-heading h1{font-size:19px}.event-scene .message p{font-size:20px}.choice-screen h1{font-size:21px}}
@media(max-height:499px) and (orientation:landscape){.memory,.event-screen,.choice-screen{padding-top:10px}.event-scene{padding:14px 18px}.event-scene-icon{width:40px;height:40px;margin-bottom:8px}.event-scene-icon svg{width:26px;height:26px}}

@media(max-height:499px) and (orientation:landscape){.app:has(>.memory,>.event-screen,>.choice-screen)>header{height:44px;padding:2px 16px}}

.shopping-comparison{margin:10px 0}.comparison-row{display:grid;grid-template-columns:minmax(0,1fr) 34px 34px 60px;gap:5px;align-items:center;padding:9px 0;border-bottom:1px solid #dce3d180;font-size:12px;line-height:1.5}.comparison-row strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.comparison-row>span{text-align:center}.comparison-head{font-size:10px;color:var(--muted)}.comparison-row.good{color:#557c49}.comparison-row.bad{color:#b96946}
/* 首页引导区域再收紧约四分之一，难度卡片与触控尺寸保留。 */
.home h1{font-size:clamp(33px,9.2vw,37px);line-height:1.14;letter-spacing:1px;margin:10px 0 8px}
.home>.subtitle{font-size:11px;line-height:1.65;margin:0;letter-spacing:.3px}
.home .section-label{margin:13px 0 10px}
.home .hero-art{top:88px;right:6px;width:210px;height:163px}
.home .hero-orbit{font-size:8px;padding:4px 8px;letter-spacing:.5px}
.home .orbit-one{top:8px;right:25px}.home .orbit-two{bottom:9px;right:5px}
@media(max-width:374px){.home .hero-art{width:180px;height:147px;top:84px;right:0}.home h1{font-size:33px}}
