:root{--paper:#fff9f1;--ink:#4e4552;--muted:#7d7180;--line:#eee3db;--green:#6fba9a;--green-light:#e8f6ee;--orange:#f29a80;--cream:#fffefa;--shadow:0 16px 36px #a87c6312;--spring:cubic-bezier(.22,1.35,.45,1);font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;min-width:320px;line-height:1.6;background:radial-gradient(ellipse at 94% 12%,#eee8ff85,transparent 38%),radial-gradient(ellipse at 0 44%,#e6f5ec90,transparent 40%),#fff9f1}body.theme-night{background:radial-gradient(ellipse at 95% 15%,#e9e1ffb0,transparent 50%),#fff9f4}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #de927d;outline-offset:4px}svg{display:block}button svg{flex-shrink:0}button,a{ -webkit-user-select:none;user-select:none}button:disabled:hover{transform:none}
.site-header{max-width:1080px;margin:22px auto 0;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;background:#ffffffb8;border:1px solid #fff;box-shadow:0 4px 0 #eee6dd,0 14px 30px #a9927f0b;border-radius:25px;position:relative;z-index:3}.brand{display:flex;gap:12px;align-items:center;font-size:20px;font-weight:850;letter-spacing:1px;white-space:nowrap}.brand small{display:block;font-size:9px;letter-spacing:2.7px;margin-top:1px;font-weight:650;color:#a3919f}.brand-mark{width:46px;height:46px;display:grid;place-items:center;transform:rotate(-7deg);filter:drop-shadow(0 3px 0 #dfaaa0)}.brand-mark svg{width:46px;height:46px}.brand-copy{display:block}.brand-copy em{font-style:normal;color:#e68b77}nav{display:flex;align-items:center;gap:12px}.nav-feedback{background:#fff3e9;border:1px solid #f4e0d0;font-size:12px;font-weight:650;display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 14px;border-radius:15px;box-shadow:0 3px 0 #eddaca}.feedback-dot{width:6px;height:6px;border-radius:50%;background:#edb96a;box-shadow:0 0 0 3px #fff1cf}.icon-button{width:43px;height:43px;display:grid;place-items:center;background:linear-gradient(#fff,#f7f1fc);border:1px solid #e8dfef;box-shadow:0 3px 0 #ded3e7;border-radius:15px;color:#8b79a5}.icon-button svg{width:19px;height:19px}.icon-button:active,.nav-feedback:active{transform:translateY(3px);box-shadow:none}
.home{max-width:1040px;margin:auto;padding:32px 24px 20px}.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:20px;min-height:330px;position:relative;padding:12px 4px 16px}.intro{position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:#87988b;display:flex;align-items:center;gap:7px}.eyebrow svg{width:15px;height:15px}.intro>.eyebrow{display:inline-flex;padding:6px 13px;background:#edf7ef;border:1px solid #dfeee2;border-radius:25px;color:#6a927f;letter-spacing:.6px}h1{font-size:44px;font-weight:850;letter-spacing:1px;margin:16px 0 14px;line-height:1.36}.hero h1{color:#496458}.hero h1 span{color:#d58272;position:relative}.hero h1 span::after{content:'';height:6px;border-radius:50%;position:absolute;left:0;right:0;bottom:-4px;background:#f5d3a667;transform:rotate(-2deg);z-index:-1}.intro>p{font-size:13px;line-height:1.95;letter-spacing:.2px;color:#7f6a7c;margin:0}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:24px}.hero-actions .primary{min-width:176px;min-height:51px;font-size:14px}.hero-browse{font-size:11px;color:#7c6878;display:flex;align-items:center;gap:6px;padding:12px 0}.hero-browse svg{width:14px;height:14px}.hero-visual{height:315px;position:relative;display:grid;place-items:center;isolation:isolate}.hero-visual::before{content:'';position:absolute;width:290px;height:240px;border-radius:45% 55% 40% 60%;background:linear-gradient(145deg,#e0f1e1aa,#f4e7c3bb);transform:rotate(-8deg);z-index:-1}.hero-visual img{width:110%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 17px #84756419);animation:gentle-float 5s ease-in-out infinite}.hero-sticker{position:absolute;padding:8px 13px;border:2px solid #fff;border-radius:14px;background:#fff1ca;color:#ac8650;font-size:10px;box-shadow:0 5px 12px #a78e6b15;transform:rotate(7deg);bottom:15px;right:13px;font-weight:650}.hero-spark{position:absolute;font-size:20px;color:#e6b978;text-shadow:0 2px #fff7df;top:19px;right:30px;transform:rotate(15deg)}.hero-spark.small{font-size:14px;top:auto;right:auto;bottom:38px;left:15px;color:#bdafd9}.intro-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 24px;padding:0 3px}.session-pill{font-size:11px;padding:7px 12px;background:#fff;border:1px solid #f0e5d9;box-shadow:0 2px 0 #efe6da;border-radius:20px;color:#9c8573;white-space:nowrap}.order-note{font-size:10px;color:#8e7d8f}.section-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;margin:5px 0 19px}.section-title>span{font-size:10px;font-weight:500;color:#a4929e;margin-left:auto}
.game-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;scroll-margin-top:30px}.game-card{border:2px solid #fff;border-radius:28px;background:#ffffffec;overflow:hidden;box-shadow:0 7px 0 #e7e1d7,0 18px 35px #a2806a0c;transition:transform .24s var(--spring),box-shadow .24s;position:relative}.card-art{height:225px;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 115%,#bcdcc9,transparent 65%),linear-gradient(135deg,#e4f3e4,#f4f8e4)}.card-art::after{content:'';position:absolute;width:240px;height:25px;bottom:18px;border-radius:50%;background:#7a967b14;filter:blur(5px)}.card-art.night-art{background:radial-gradient(ellipse at 50% 115%,#c9bbdf,transparent 65%),linear-gradient(135deg,#eee7fb,#f8edee)}.art-label{position:absolute;left:20px;top:18px;font-size:10px;font-weight:700;color:#749582;background:#ffffff83;padding:5px 10px;border-radius:12px;z-index:1}.night-art .art-label{color:#9b86ac}.card-number{position:absolute;right:20px;top:14px;font-size:21px;font-weight:850;color:#a4c4ab;font-style:normal;background:#ffffff69;width:38px;height:38px;border:1px solid #ffffffa8;border-radius:13px;display:grid;place-items:center;transform:rotate(8deg)}.night-art .card-number{color:#bdaccf}.drawer-illustration{width:248px;height:152px;background:repeating-linear-gradient(0deg,#c9aa8409 0 3px,#e2c5a009 4px 7px),linear-gradient(145deg,#d9c197,#bca780);border:8px solid #f6dfbc;border-bottom-width:11px;border-radius:16px;box-shadow:0 10px 0 #c7a77f,0 15px 0 #e7cda6,0 22px 24px #728b721e,inset 0 3px 7px #9c7d5c25;transform:rotate(-6deg);position:relative;margin-top:19px;padding:11px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;z-index:1}.drawer-illustration::after{content:'';position:absolute;width:45px;height:8px;border-radius:7px;background:linear-gradient(#e7c37e,#b89b60);bottom:-20px;left:94px;border:2px solid #f8e8c7;box-shadow:0 2px 3px #9a775331}.little-object{background:linear-gradient(#fffefa,#f8edda);border:1px solid #fff;border-radius:10px;box-shadow:0 3px 0 #baa184,0 4px 5px #6d553514;display:grid;place-items:center;transform:rotate(var(--rotation,0deg))}.little-object .art{width:42px;height:42px;filter:drop-shadow(0 2px 1px #72533722) saturate(1.1)}.floating-note{position:absolute;bottom:22px;right:13px;background:#fffaf0;border:2px solid #fff;border-radius:10px;box-shadow:0 4px 0 #e7d9bd;transform:rotate(8deg);padding:7px 11px;font-size:9px;color:#9a8b70;font-weight:650;z-index:2}.night-stall{width:236px;position:relative;margin-top:37px;transform:rotate(3deg);z-index:1}.stall-roof{height:33px;background:repeating-linear-gradient(90deg,#fff3d3 0 24px,#f3ac93 24px 48px);border:2px solid #fff2e0;border-bottom:4px solid #d78d7b;border-radius:9px 9px 14px 14px;box-shadow:0 3px 0 #8f739f34}.stall-sign{position:absolute;top:-27px;left:63px;background:linear-gradient(#fff7e8,#f4e4c8);color:#af8367;border:3px solid #e6c697;border-radius:9px;padding:4px 14px;font-size:11px;letter-spacing:3px;box-shadow:0 4px 0 #c7a989}.stall-body{height:100px;margin:0 8px;border-left:7px solid #bfa1c8;border-right:7px solid #bfa1c8;display:flex;align-items:center;gap:7px;padding:9px;background:#8c759e}.mini-order{flex:1;background:linear-gradient(#fffdf1,#f8ebd6);padding:6px 3px;border-radius:7px;height:68px;box-shadow:0 4px 0 #6e557c;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:6px;color:#b49a83}.mini-order .art{width:42px;height:42px;filter:drop-shadow(0 2px 2px #76553e25)}.stall-counter{height:22px;background:#f0d7b2;border:5px solid #f9e9d0;border-radius:7px;box-shadow:0 7px 0 #ceb18d}.lantern{position:absolute;top:49px;right:27px;width:23px;height:31px;background:linear-gradient(90deg,#edac90,#ffd3ae,#eeac90);border:2px solid #f9e5c3;border-radius:42%;box-shadow:0 0 22px #ffdcb766;z-index:2}.lantern::before{content:'';position:absolute;left:9px;top:-23px;height:23px;width:2px;background:#c6acc9}.lantern::after{content:'';position:absolute;left:7px;bottom:-10px;width:5px;height:9px;background:#e0bb8b;border-radius:2px}.card-content{padding:23px 25px 18px}.card-meta{font-size:10px;font-weight:650;color:#6d7d68;margin-bottom:7px;display:flex;align-items:center;justify-content:space-between;gap:8px}.game-card h2{font-size:24px;letter-spacing:.6px;margin:0 0 8px;font-weight:850;color:#526b5c}.game-card.night-card h2{color:#8b7397}.game-card p{font-size:12px;line-height:1.9;margin:0;color:#7c6978}.card-tags{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0 21px}.tag{font-size:10px;color:#5f7d68;background:#f0f7ee;border:1px solid #e8efe1;border-radius:10px;padding:4px 8px}.night-card .tag{background:#f6f0fa;border-color:#eee4f1;color:#80658a}.primary,.secondary,.text-btn{min-height:46px;padding:11px 18px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:750;font-size:12px;letter-spacing:.3px;transition:transform .18s var(--spring),box-shadow .18s,background .18s;position:relative}.primary{background:linear-gradient(#a1dcc2,#7dc5a5);color:#254c39;border:1px solid #c3eed8;box-shadow:0 5px 0 #5da88a,0 9px 16px #5d9a7720,inset 0 2px 0 #e7fff0a8}.primary.orange{background:linear-gradient(#ffc3a9,#f4a086);color:#6e382f;border-color:#ffd6be;box-shadow:0 5px 0 #d77e67,0 9px 16px #d697741c,inset 0 2px 0 #fff0e5a8}.secondary{background:linear-gradient(#fffefb,#f9f0e6);border:1px solid #efe2d1;color:#886c51;box-shadow:0 3px 0 #e0cdb4,inset 0 1px 0 #fff}.text-btn{background:transparent;color:#938192;box-shadow:none;min-height:42px;padding:8px 10px;font-weight:600}.primary svg,.secondary svg,.text-btn svg{width:17px;height:17px}.primary:active{transform:translateY(5px) scale(.985);box-shadow:0 0 0 #5da88a,inset 0 2px 4px #5a8e6a22}.primary.orange:active{box-shadow:0 0 0 #d77e67,inset 0 2px 4px #ba7a5622}.secondary:active{transform:translateY(3px) scale(.98);box-shadow:none}.card-content>.primary{width:100%;justify-content:space-between}.card-content>.card-level-link{width:100%;min-height:34px;margin-top:8px;font-size:10px;color:#94a491}.card-level-link svg{width:13px;height:13px}.home-bottom{margin:31px 0 0;padding:18px 21px;border:1px solid #efe5d8;border-radius:20px;background:#fffdf8;display:flex;align-items:center;gap:13px;font-size:11px;color:#8e7788;line-height:1.8;box-shadow:0 4px 0 #eee5db}.home-bottom>svg{width:34px;height:34px;color:#d1af85;flex-shrink:0;padding:7px;background:#fff3d7;border-radius:12px}.home-bottom b{font-weight:700;color:#8e7d89}.home-bottom .text-btn{margin-left:auto;white-space:nowrap;font-size:11px}.site-footer{max-width:1040px;margin:4px auto 0;padding:20px 28px 30px;display:flex;justify-content:space-between;color:#ac9da7;font-size:10px;gap:15px}.saved-badge{font-size:9px;color:#75927d;letter-spacing:0;display:flex;gap:3px;align-items:center;background:#eef7eb;padding:4px 7px;border-radius:9px;white-space:nowrap}.saved-badge svg{width:12px;height:12px}
.game-shell{max-width:1040px;margin:auto;padding:24px 25px 18px}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 1px}.back-link{background:#fffefb;border:1px solid #f0e5d9;border-radius:14px;display:flex;align-items:center;gap:3px;font-size:11px;color:#9a8490;min-height:39px;padding:7px 11px;box-shadow:0 2px 0 #eadecf}.back-link svg{width:16px;height:16px}.level-selector{display:flex;align-items:center;gap:6px}.level-chip{height:36px;min-width:52px;padding:0 11px;background:#fffdf9;color:#ad98a8;border:1px solid #f0e5dc;font-size:11px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:4px;box-shadow:0 3px 0 #e9ded2}.level-chip.active{color:#6c927d;border-color:#bbdcc9;background:#e3f4e8;box-shadow:0 3px 0 #acd0b9}.level-chip svg{width:12px;height:12px}.level-step{width:37px;height:37px;display:grid;place-items:center;background:linear-gradient(#fff,#f3f8f0);border:1px solid #e1ecdd;border-radius:14px;padding:0;color:#8da389;box-shadow:0 3px 0 #d4e0ca}.level-step svg{width:15px;height:15px}.level-map-trigger{min-height:38px;display:flex;align-items:center;gap:8px;border:1px solid #cce6d3;border-radius:14px;background:linear-gradient(#ecf8ee,#e0f0e1);font-size:11px;padding:7px 13px;white-space:nowrap;color:#729378;font-weight:700;box-shadow:0 3px 0 #bcd7bf}.level-map-trigger svg{width:13px;height:13px}.level-step:active,.level-chip:active,.level-map-trigger:active{transform:translateY(3px);box-shadow:none}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:50px;margin-top:27px;align-items:start}.game-main{min-width:0;max-width:535px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}.game-heading h1{font-size:28px;margin:4px 0 3px;letter-spacing:1px;color:#526e60;font-weight:850}.game-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:#a0b19d}.level-subtitle{font-size:12px;color:#7c6679;margin:0}.game-timer{font-size:12px;color:#85674d;display:flex;gap:6px;align-items:center;font-variant-numeric:tabular-nums;padding:7px 10px;border-radius:12px;background:#fff3dd;border:1px solid #f0e2c5;white-space:nowrap}.game-timer svg{width:15px;height:15px}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8d788b;margin-bottom:9px;padding:0 3px}.progress-label strong{font-weight:750;color:#4d7c63}.progress-track{height:10px;background:#e8e9dc;border:2px solid #fffdf6;box-shadow:inset 0 2px 3px #aba88d26,0 1px 0 #e5dfcd;border-radius:15px;margin-bottom:22px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(0deg,#8cc9a8,#b8e5bd);border-radius:10px;box-shadow:inset 0 1px 0 #e4ffdd;transition:width .25s}
.drawer-stage{position:relative;padding:16px;background:repeating-linear-gradient(0deg,#99754606 0 2px,transparent 2px 7px),linear-gradient(145deg,#cfb892,#d9c49e 38%,#c6ae88);border:9px solid #f3dcb7;border-bottom-width:16px;border-radius:24px;box-shadow:0 5px 0 #bca07c,0 10px 0 #e4c79e,0 20px 28px #a28a6120,inset 0 5px 10px #8d704933,inset 0 0 0 1px #b49d78}.drawer-stage::before{content:'';position:absolute;inset:-5px;border:1px solid #fff2d8a8;border-radius:18px;pointer-events:none}.drawer-stage::after{content:'';position:absolute;bottom:-18px;width:53px;height:8px;left:calc(50% - 26px);background:linear-gradient(#e9cb8b,#b99e69);border:2px solid #f9e9bc;border-radius:10px;box-shadow:0 2px 3px #96784b33}.drawer-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:7px;position:relative}.tile{aspect-ratio:1;background:linear-gradient(155deg,#fffef9,#fff5e3);border:1px solid #fff7e9;border-radius:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 0 #b99d78,0 5px 5px #8d755126,inset 0 2px 1px #fff;transition:transform .18s var(--spring),box-shadow .16s,background .16s;min-width:0;padding:1px;position:relative;isolation:isolate}.tile::before{content:'';position:absolute;width:70%;height:68%;border-radius:40% 55% 46% 50%;background:var(--object-color,#d5be96);opacity:.095;z-index:-1;transform:rotate(-12deg)}.tile::after{content:'';position:absolute;left:8px;top:4px;width:35%;height:3px;border-radius:5px;background:#ffffffb8;pointer-events:none}.tile .art{width:94%;height:94%;max-width:70px;filter:drop-shadow(0 2px 1px #70533827) saturate(1.14);transform:rotate(var(--object-tilt,0deg));transition:transform .2s var(--spring);pointer-events:none}.tile.selected{border:2px solid #d6a761;transform:translateY(-3px) scale(1.035);background:linear-gradient(#fff5cb,#ffe6ad);box-shadow:0 5px 0 #b59058,0 0 0 3px #fff3be78,0 9px 13px #aa895033}.tile.selected .art{transform:rotate(0deg) scale(1.05)}.tile.hinted{border:2px solid #e49d97;animation:hint-glow 1.3s ease-in-out infinite;background:#fff0e2}.tile.empty{visibility:hidden;pointer-events:none}.tile.removing{animation:tile-pop .26s ease-in forwards}.tile.wrong{animation:soft-shake .28s ease}.connection{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}.connection polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.connection .line-shadow{stroke:#78b29a;stroke-width:8;opacity:.5}.connection .line-main{stroke:#fff5ad;stroke-width:4;filter:drop-shadow(0 0 4px #fff6b8)}.match-celebration{position:fixed;inset:0;pointer-events:none;z-index:12;overflow:hidden}.match-celebration span{position:absolute;display:block;color:var(--spark-color);font-size:11px;line-height:1;animation:sparkle-out .56s ease-out forwards;transform-origin:center}.match-celebration .match-word{font-size:11px;letter-spacing:1px;font-weight:800;color:#a78051;text-shadow:0 1px #fff4cc;animation:match-word .6s ease-out forwards;white-space:nowrap}
.game-message{font-size:11px;line-height:1.8;text-align:center;color:#7d6b7d;min-height:43px;padding:20px 6px 0}.game-controls{display:flex;justify-content:center;gap:12px;margin:17px 0 12px}.game-controls button{font-size:12px;padding:10px 16px;min-height:45px}.feedback-callout{display:block;font-size:10px;line-height:1.8;margin-top:18px;color:#ad9ca7;text-align:center}.feedback-callout button{color:#8ca58d;text-decoration:underline;text-underline-offset:3px;padding:0;background:none;font-size:inherit;min-height:36px}.game-side{padding:26px 24px;background:linear-gradient(145deg,#fffefb,#f9f7eb);border:2px solid #fff;border-radius:25px;box-shadow:0 5px 0 #e9e3d5,0 15px 28px #a28b6d0b;margin-top:4px;position:sticky;top:24px}.side-kicker{font-size:9px;letter-spacing:2px;color:#b0b59b}.game-side h2{font-size:21px;line-height:1.8;letter-spacing:.7px;font-weight:750;margin:10px 0 20px;color:#6f8c74}.side-sample{display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 10px;background:linear-gradient(#edf5e5,#e5edd8);border:1px solid #fff;border-radius:17px;box-shadow:inset 0 2px 5px #b3c19a1c}.side-sample .art{width:47px;height:47px;filter:drop-shadow(0 2px 1px #86906b2b) saturate(1.12)}.side-sample>span{font-size:15px;color:#b2bf97}.side-sample>svg{width:23px;height:23px;color:#91af7a}.rule-step{display:flex;gap:11px;margin:18px 0;align-items:start;color:#807184;font-size:11px;line-height:1.9}.rule-step>span{font-size:10px;font-weight:800;color:#647e57;line-height:1;min-width:24px;height:24px;border-radius:9px;background:#edf3e4;display:grid;place-items:center;margin-top:1px}.rule-step p{margin:0}.side-divider{height:1px;background:#ede8db;margin:21px 0}.side-bottom{font-size:10px;color:#b0a498;line-height:1.9}.mobile-rule{display:none}
.night-shell .game-heading h1{color:#8e739f}.night-shell .game-heading .eyebrow{color:#b2a0c3}.night-shell .level-chip.active{background:#efe6f8;color:#a386b6;border-color:#dfcdeb;box-shadow:0 3px 0 #d2bcdf}.night-shell .game-timer{color:#886386;background:#faf0f3;border-color:#efdee9}.night-shell .progress-fill{background:linear-gradient(0deg,#c5a6dc,#e5cced);box-shadow:inset 0 1px 0 #f9edff}.night-shell .progress-label strong{color:#ae8cbf}.night-stage{background:radial-gradient(ellipse at 50% 0,#9a85ad45,transparent 55%),linear-gradient(145deg,#776289,#665178);border:8px solid #bea3d2;border-bottom-width:13px;border-radius:23px;padding:20px 15px 17px;box-shadow:0 5px 0 #8b6a9d,0 10px 0 #cdb1dc,0 20px 28px #80618b18,inset 0 3px 7px #3c214326;position:relative}.night-stage::before{content:'';position:absolute;top:-8px;left:-8px;right:-8px;height:12px;border:2px solid #fff0e1;border-radius:20px 20px 7px 7px;background:repeating-linear-gradient(90deg,#ffe7c4 0 24px,#f5ad94 24px 48px);box-shadow:0 2px 0 #bd8c81}.orders-label{display:flex;justify-content:space-between;color:#f0e4f8;font-size:9px;letter-spacing:1px;margin:0 3px 11px}.orders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:19px}.order{min-height:105px;border-radius:10px 10px 3px 3px;background:linear-gradient(#fffdf0,#f9ead4);padding:10px 5px 9px;position:relative;box-shadow:0 4px 0 #44304e35;box-sizing:border-box;border:1px solid #fff9e7}.order::after{content:'';height:5px;position:absolute;left:0;right:0;bottom:-3px;background:radial-gradient(circle,#705a82 2px,transparent 2.8px) left/9px 8px repeat-x}.order-head{display:flex;justify-content:space-between;color:#8b6955;font-size:8px;letter-spacing:.7px;margin-bottom:9px;border-bottom:1px dashed #e5d0b9;padding-bottom:5px}.order-items{display:flex;flex-wrap:wrap;justify-content:center;gap:1px}.order-food{width:35px;height:36px;position:relative;display:grid;place-items:center}.order-food .art{width:35px;height:35px;filter:drop-shadow(0 2px 1px #9b704620) saturate(1.14)}.order-food.got .art{opacity:.24}.order-food.got::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font-size:20px;color:#609669;font-weight:900;text-shadow:0 1px #fff}.order.empty-order{background:#e4d4ef14;border:1px dashed #bda5cc70;box-shadow:none;display:grid;place-items:center;color:#d1bfdc;font-size:10px;gap:4px}.order.empty-order>svg{width:23px;height:23px}.order.empty-order::after{display:none}.buffer-label{font-size:10px;color:#f9edf9;display:flex;justify-content:space-between;margin:3px 4px 9px}.buffer{display:flex;gap:9px;padding:0 15px 17px;border-bottom:1px solid #c3a9d349;justify-content:center}.buffer-slot{width:55px;height:52px;border:2px dashed #bca3cc;background:#5c446b7d;border-radius:13px;display:grid;place-items:center;color:#b59bc4;font-size:11px;box-shadow:inset 0 2px 4px #35243c18}.buffer-slot .art{width:45px;height:45px;filter:drop-shadow(0 2px 1px #755d4a30) saturate(1.14)}.buffer-slot.full{border:2px solid #f7e4f5;background:linear-gradient(#f8eaf3,#e6cfe4);box-shadow:0 3px 0 #52396166,inset 0 2px 1px #fff6fd}.buffer.danger .buffer-slot:not(.full){border-color:#ffd7b3;color:#ffe7c8;animation:gentle-warn 1s infinite}.buffer.danger .buffer-slot.full{border-color:#fbd2be;background:linear-gradient(#ffe7d5,#edc8bd)}.pantry-label{color:#f7eaff;font-size:9px;letter-spacing:.8px;display:flex;justify-content:space-between;margin:16px 3px 9px}.pantry{display:grid;grid-template-columns:repeat(var(--lanes),minmax(0,1fr));gap:8px;align-items:start}.food-lane{display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px 4px 8px;background:#4e375f4d;border:1px solid #d9bee921;border-radius:13px;min-height:143px;min-width:0;box-shadow:inset 0 2px 3px #38284324}.food-tile{background:linear-gradient(#fff5dd,#f3e1bb);width:100%;aspect-ratio:1;border-radius:11px;box-shadow:0 4px 0 #a88566;padding:2px;position:relative;border:1px solid #fff7e1;display:grid;place-items:center;min-width:0}.food-tile .art{width:100%;height:100%;max-width:57px;filter:drop-shadow(0 2px 1px #926b4430) saturate(1.15)}.food-tile.front{border:2px solid #fff5c6;background:linear-gradient(#fff9e7,#f9e8c1);box-shadow:0 4px 0 #c39b71,0 6px 8px #38213c22;transition:transform .18s var(--spring),box-shadow .18s;cursor:pointer}.food-tile.front::after{content:'';position:absolute;top:-4px;right:-4px;width:8px;height:8px;background:#a9ddbb;border:2px solid #80628e;border-radius:50%;box-shadow:0 0 0 2px #aed9b720}.food-tile.front:active{transform:translateY(3px) scale(.96);box-shadow:0 1px 0 #b38f67}.food-tile.behind{height:34px;aspect-ratio:auto;opacity:.76;border-radius:8px;box-shadow:0 2px 0 #51396466;background:linear-gradient(#ddd0e0,#c4b5d1);border:1px solid #ecdff1;pointer-events:none;padding:0}.food-tile.behind .art{width:33px;height:33px}.food-tile.hinted{border-color:#ffe0a0;animation:hint-glow 1s infinite}.lane-empty{font-size:9px;color:#c7b0d4;padding-top:17px}.night-shell .game-side{background:linear-gradient(145deg,#fffaff,#faf1fa);box-shadow:0 5px 0 #eaddeb,0 15px 28px #a480aa0b}.night-shell .side-kicker{color:#c2aac8}.night-shell .game-side h2{color:#8e6b9e}.night-shell .rule-step>span{background:#f1e6f6;color:#b092c1}.night-shell .side-sample{background:linear-gradient(#f7eaf6,#f0dff0)}
dialog{border:2px solid #fff;border-radius:29px;background:linear-gradient(145deg,#fffefb,#fff8ee);color:var(--ink);width:min(446px,calc(100% - 28px));padding:30px;max-height:calc(100dvh - 40px);box-shadow:0 7px 0 #dcd0be,0 30px 90px #5b435c30;overscroll-behavior:contain}dialog[open]{animation:modal-pop .25s var(--spring)}dialog::backdrop{background:#64516660;backdrop-filter:blur(6px)}.modal-close{position:absolute;right:13px;top:13px;width:36px;height:36px;background:linear-gradient(#fff,#f4e8f2);border:1px solid #eddfeb;box-shadow:0 2px 0 #e2d3e1;border-radius:13px;display:grid;place-items:center;color:#b399af;z-index:1}.modal-close svg{width:17px;height:17px}.modal-kicker{font-size:9px;color:#b9a89e;letter-spacing:1.7px;margin:0 30px 11px 0}.modal-title{font-size:24px;letter-spacing:.5px;line-height:1.65;margin:0 0 11px;font-weight:850;color:#677e6a;padding-right:15px}.modal-body{font-size:12px;line-height:1.95;color:#7e6c7b}.modal-body strong{color:#9a8466;font-weight:750}.modal-body p{margin:9px 0}.modal-art{display:flex;justify-content:center;gap:13px;align-items:center;padding:18px;margin:13px 0 17px;background:linear-gradient(#f1f7e5,#eaf1dd);border:2px solid #fff;border-radius:21px;box-shadow:inset 0 2px 4px #afb9a116}.modal-art .art{width:55px;height:55px;filter:drop-shadow(0 3px 1px #879b6925) saturate(1.15)}.modal-art svg:not(.art){width:23px;color:#a5b88b}.modal-actions{display:flex;flex-direction:column;gap:13px;margin-top:23px}.modal-actions .primary,.modal-actions .secondary{width:100%;min-height:47px}.modal-actions .text-btn{min-height:36px;font-size:11px}.result-medal{margin:7px auto 20px;background:radial-gradient(circle at 35% 25%,#fff6b3,#efcb73);border:4px solid #fff6cf;width:77px;height:77px;border-radius:26px;display:grid;place-items:center;color:#bd9146;transform:rotate(-9deg);box-shadow:0 5px 0 #d2ad61,0 10px 20px #e4c57522}.result-medal svg{width:37px;height:37px;fill:#ffeaaa;stroke-width:1.5}.result-center{text-align:center}.result-center .modal-title{padding-right:0}.result-stats{display:flex;justify-content:center;gap:43px;margin:20px 0;padding:17px;background:#f3f5e8;border:1px solid #fff;border-radius:18px;box-shadow:inset 0 2px 4px #b3b89813}.result-stats strong{display:block;font-size:24px;font-weight:800;color:#84a27d;font-variant-numeric:tabular-nums}.result-stats span{font-size:10px;color:#8b8169}.feedback-form fieldset{border:0;padding:0;margin:19px 0}.feedback-form legend{font-size:12px;line-height:1.8;color:#8b7c8c;margin-bottom:9px;font-weight:700}.choices{display:flex;gap:7px;flex-wrap:wrap}.choice{position:relative;flex:1;min-width:70px}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:flex;align-items:center;justify-content:center;min-height:43px;padding:8px 7px;background:linear-gradient(#fffefa,#f8f1e9);border:1px solid #eee2d5;border-radius:12px;font-size:11px;color:#8b7487;text-align:center;box-shadow:0 2px 0 #e7daca;transition:transform .15s var(--spring),background .15s}.choice input:checked+span{background:linear-gradient(#e6f4e8,#d8ecd9);border-color:#b5d3b8;color:#78977c;box-shadow:0 2px 0 #afceb3}.choice input:focus-visible+span{outline:3px solid #ddae92;outline-offset:2px}.rating-choices .choice{min-width:34px}.rating-choices .choice span{font-size:10px;padding:8px 2px}.preference-choices .choice{min-width:44%}textarea{font:inherit;resize:vertical;width:100%;min-height:85px;border-radius:14px;border:1px solid #eadecf;padding:13px;background:#fffef8;color:#8a7a86;font-size:12px;line-height:1.8;box-shadow:inset 0 2px 4px #c3a88b0c}textarea::placeholder{color:#b9aab1}.report-game{padding:14px 16px;background:#f0f5e8;border:1px solid #fff;border-radius:16px;margin:12px 0;font-size:11px;line-height:1.95;color:#7b886d}.report-game strong{display:block;color:#7d9b7a;font-size:13px;font-weight:750;margin-bottom:3px}.report-details{font-size:11px;color:#aa9ca5;line-height:1.9;margin-top:17px}.report-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:19px}.report-options button{font-size:11px;padding:10px 7px}.report-area{margin-top:16px;min-height:180px;font-size:11px;line-height:1.8}.privacy-note{font-size:10px;color:#85717d;line-height:1.9;margin-top:17px}.mini-notice{background:#fff2d8;border:1px solid #eedfbd;border-radius:14px;padding:12px;font-size:10px;color:#b0966b;line-height:1.8;margin-top:14px}.toast{position:fixed;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);background:#fff8e9;color:#a1876e;border:2px solid #fff;padding:13px 20px;border-radius:18px;font-size:12px;line-height:1.7;max-width:min(420px,90vw);width:max-content;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:30;box-shadow:0 4px 0 #dec9ae,0 12px 25px #6f574222}.toast.show{opacity:1;transform:translate(-50%,0)}.win-stars{position:fixed;inset:0;pointer-events:none;z-index:5;overflow:hidden}.win-stars span{position:absolute;width:7px;height:12px;border-radius:3px;animation:confetti 1.5s forwards;top:30%;left:50%}
.level-map{margin:20px 0 12px}.level-chapter{margin:20px 0}.chapter-heading{display:flex;justify-content:space-between;font-size:10px;color:#9ba78e;margin-bottom:10px;font-weight:700}.chapter-heading span:last-child{font-size:9px;color:#baacb6;font-weight:500}.level-map-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.level-map-cell{min-height:65px;padding:9px 2px;border:1px solid #f1e4d6;border-radius:15px;background:linear-gradient(#fffefa,#f9f0e3);box-shadow:0 4px 0 #e6d4be;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#92738b;transition:transform .17s var(--spring),box-shadow .17s}.level-map-cell strong{font-size:20px;font-weight:850;font-variant-numeric:tabular-nums}.level-map-cell>span{font-size:8px;display:flex;align-items:center;justify-content:center;gap:2px;color:#bcaeb6}.level-map-cell>span svg{width:10px;height:10px}.level-map-cell.completed{background:linear-gradient(#e8f7e8,#d8ecd9);border-color:#c7e3c8;color:#5a865b;box-shadow:0 4px 0 #b9d6b6}.level-map-cell.completed>span{color:#5c7d58}.level-map-cell.current{border:2px solid #e4ad87;background:linear-gradient(#fff5dc,#ffe6bb);box-shadow:0 4px 0 #d9b387;color:#926d39}.level-map-cell:active{transform:translateY(4px) scale(.98);box-shadow:none}.audio-control{margin:19px 0;padding:15px 0;border-bottom:1px solid #f0e5db}.audio-control-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.audio-control-heading strong{font-size:13px;font-weight:750;color:#899b80}.audio-control-heading p{font-size:10px;color:#b1a1aa;line-height:1.8;margin:4px 0}.audio-switch{min-height:38px;min-width:62px;border:1px solid #cce4cc;background:linear-gradient(#e7f6e6,#d3e8d2);color:#86a67e;border-radius:15px;font-size:11px;font-weight:750;box-shadow:0 3px 0 #b7d2b3}.audio-switch[aria-checked="false"]{border-color:#eadee6;background:#f5edf1;color:#b6a3b0;box-shadow:0 3px 0 #e2d6de}.audio-switch:active{transform:translateY(3px);box-shadow:none}.audio-volume{display:flex;align-items:center;gap:12px;margin-top:13px;font-size:10px;color:#8e7887}.audio-volume input{flex:1;min-width:0;accent-color:#94bd93;height:30px;cursor:pointer}.audio-volume output{min-width:33px;text-align:right;font-variant-numeric:tabular-nums}.audio-status{font-size:10px;color:#788b69;min-height:18px;line-height:1.8;margin:0}.audio-retry{font-size:10px;padding:0;min-height:35px}.audio-preview-label{margin:17px 0 10px;font-size:10px;color:#af9ca9}.audio-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.audio-previews .secondary{font-size:10px;padding:9px 5px;min-height:42px}.audio-credits{font-size:9px;color:#b3a4ad;line-height:1.9;border-top:1px solid #eee2db;padding-top:12px}.audio-credits summary{cursor:pointer;min-height:28px}.audio-credits a{text-decoration:underline;text-underline-offset:2px;color:#9ba58c}.audio-credits p{margin:7px 0}
@media(hover:hover) and (pointer:fine){.game-card:hover{transform:translateY(-5px);box-shadow:0 9px 0 #e7e1d7,0 22px 35px #a2806a14}.primary:hover{transform:translateY(-2px);filter:brightness(1.025)}.secondary:hover{transform:translateY(-2px);background:#fff9ee}.tile:not(.empty):not(.removing):hover{transform:translateY(-3px) scale(1.03);box-shadow:0 6px 0 #b99d78,0 9px 9px #8d755126}.tile:hover .art{transform:rotate(0deg) scale(1.04)}.food-tile.front:hover{transform:translateY(-3px)}.level-map-cell:hover{transform:translateY(-2px)}.icon-button:hover,.nav-feedback:hover{filter:brightness(1.025)}}
@keyframes gentle-float{50%{transform:translateY(-7px) rotate(1deg)}}@keyframes hint-glow{50%{box-shadow:0 4px 0 #c69f84,0 0 0 3px #ffdbbc8f;filter:brightness(1.04)}}@keyframes soft-shake{20%{transform:translateX(-3px) rotate(-2deg)}50%{transform:translateX(3px) rotate(2deg)}75%{transform:translateX(-2px)}}@keyframes tile-pop{0%{transform:scale(1)}30%{transform:scale(1.1) rotate(-3deg);opacity:1}100%{transform:scale(.3) rotate(9deg);opacity:0}}@keyframes modal-pop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}@keyframes sparkle-out{0%{transform:translate(-50%,-50%) scale(.3);opacity:0}20%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--spin)) scale(.3);opacity:0}}@keyframes match-word{from{transform:translate(-50%,0);opacity:0}25%{opacity:1}to{transform:translate(-50%,-27px);opacity:0}}@keyframes confetti{to{transform:translate(var(--x),var(--y)) rotate(var(--r));opacity:0}}@keyframes gentle-warn{50%{box-shadow:0 0 0 3px #ffd5a931;background:#7a5b794d}}
@media(max-width:1100px){.site-header{margin-left:22px;margin-right:22px}.game-layout{gap:35px;grid-template-columns:minmax(0,1fr) 285px}.game-side{padding:24px 21px}.game-side h2{font-size:19px}}
@media(max-width:850px){.hero{grid-template-columns:1fr 1fr;gap:0;min-height:305px}.hero h1{font-size:36px}.hero-visual{height:270px}.hero-visual::before{width:230px;height:215px}.hero-sticker{right:0;font-size:9px}.game-layout{gap:25px;grid-template-columns:minmax(0,1fr) 250px}.game-side{padding:22px 18px}.game-side h2{font-size:18px}.game-side .rule-step{font-size:10px}.drawer-stage{padding:13px;border-width:8px;border-bottom-width:14px}.drawer-grid{gap:6px}.game-heading h1{font-size:25px}.game-heading .eyebrow{font-size:7px;letter-spacing:1px}.card-art{height:205px}.drawer-illustration{transform:rotate(-6deg) scale(.9)}.night-stall{transform:rotate(3deg) scale(.9)}.floating-note{font-size:8px;right:10px}.card-content{padding:21px}.game-card h2{font-size:22px}.order-food{width:28px;height:30px}.order-food .art{width:28px;height:28px}.orders{gap:6px}.order-head{font-size:7px}.night-stage{padding:18px 10px 14px}.pantry{gap:6px}.food-lane{padding-left:3px;padding-right:3px}}
@media(max-width:650px){.site-header{min-height:66px;padding:12px 15px;margin:13px 14px 0;border-radius:21px}.brand{font-size:17px;gap:9px;letter-spacing:.7px}.brand-mark,.brand-mark svg{width:37px;height:37px}.brand small{font-size:7px;letter-spacing:2.2px}.nav-feedback{font-size:10px;padding:7px 10px;min-height:37px;border-radius:12px}nav{gap:9px}.icon-button{width:37px;height:37px;border-radius:12px}.icon-button svg{width:17px;height:17px}.home{padding:22px 18px 16px}.hero{display:block;min-height:0;padding:5px 3px 0}.intro{max-width:100%;padding-right:15%}.hero h1{font-size:32px;line-height:1.4;margin:14px 0 13px;letter-spacing:.7px}.intro>.eyebrow{font-size:9px;padding:5px 10px}.intro>p{font-size:11px;line-height:1.9;max-width:205px}.hero-actions{gap:14px;margin-top:22px;position:relative;z-index:2}.hero-actions .primary{min-width:157px;min-height:47px;font-size:12px}.hero-browse{font-size:10px}.hero-visual{position:absolute;width:clamp(140px,38vw,190px);height:155px;right:-10px;top:30px;z-index:0;pointer-events:none;opacity:.95}.hero-visual::before{width:150px;height:138px;opacity:.6}.hero-visual img{width:112%;height:100%;transform:rotate(6deg);animation:none}.hero-sticker{display:none}.hero-spark{font-size:12px;right:7px;top:7px}.hero-spark.small{display:none}.intro-bottom{margin:26px 0 24px;flex-wrap:wrap;gap:11px;padding:0}.session-pill{font-size:9px;padding:6px 10px}.order-note{font-size:9px}.section-title{font-size:17px;margin-bottom:16px}.section-title>span{font-size:9px}.game-cards{grid-template-columns:1fr;gap:25px}.card-art{height:209px}.drawer-illustration{transform:rotate(-6deg) scale(.93)}.night-stall{transform:rotate(3deg) scale(.96)}.art-label{left:18px;top:17px;font-size:9px}.card-number{right:17px;width:35px;height:35px;font-size:19px}.floating-note{right:18px;font-size:9px;bottom:21px}.card-content{padding:21px 23px 16px}.game-card h2{font-size:23px}.game-card p{font-size:12px}.card-meta{font-size:9px}.card-tags{margin:14px 0 20px}.primary,.secondary{border-radius:15px}.card-content>.primary{min-height:46px}.home-bottom{gap:11px;padding:16px;margin-top:28px;font-size:10px;flex-wrap:wrap}.home-bottom .text-btn{margin:0 0 0 43px;min-height:27px;font-size:10px;padding:0}.site-footer{padding:17px 23px 25px;flex-direction:column;font-size:9px;gap:7px}.game-shell{padding:19px 16px 100px;max-width:490px}.game-topline{gap:8px}.back-link{font-size:10px;padding:7px 9px;min-height:36px}.back-link svg{width:14px;height:14px}.drawer-level-nav{gap:5px}.level-step{width:34px;height:35px;border-radius:12px}.level-map-trigger{min-height:36px;padding:7px 10px;font-size:10px;gap:7px}.level-chip{min-width:45px;padding:0 8px;font-size:10px;height:35px}.game-layout{display:block;margin-top:22px}.game-main{max-width:none}.game-side{display:none}.game-heading{margin-bottom:16px;gap:8px}.game-heading h1{font-size:26px;letter-spacing:.5px}.game-heading .eyebrow{font-size:7px;letter-spacing:1.1px}.level-subtitle{font-size:11px}.game-timer{font-size:11px;padding:6px 9px}.game-timer svg{width:13px;height:13px}.mobile-rule{display:block;background:#f0f7e8;border:1px solid #e4edd7;border-radius:14px;padding:10px 12px;margin:13px 0 18px;font-size:10px;line-height:1.9;color:#5e7555;box-shadow:inset 0 1px 0 #fff}.mobile-rule button{font-size:10px;font-weight:700}.night-shell .mobile-rule{background:#f7eff9;border-color:#ecdef0;color:#7c6389}.progress-label{font-size:10px;margin-bottom:8px}.progress-track{margin-bottom:19px;height:9px}.drawer-stage{padding:12px;border-width:6px;border-bottom-width:13px;border-radius:21px;box-shadow:0 5px 0 #bca07c,0 9px 0 #e4c79e,0 15px 24px #a28a6118,inset 0 4px 7px #8d70492b}.drawer-stage::before{border-radius:16px;inset:-3px}.drawer-grid{gap:6px}.tile{border-radius:11px;padding:0;box-shadow:0 3px 0 #b99d78,0 4px 4px #8d755120,inset 0 2px 1px #fff}.tile::after{left:6px;top:3px;height:2px}.tile .art{width:97%;height:97%}.game-message{padding-top:20px;font-size:10px;min-height:44px;line-height:1.85}.game-controls{position:fixed;bottom:calc(14px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:9;width:min(350px,calc(100vw - 28px));gap:8px;margin:0;background:#fffdf7ed;border:2px solid #fff;padding:9px;border-radius:23px;box-shadow:0 4px 0 #e5d8c7,0 10px 30px #6e544221;backdrop-filter:blur(12px)}.game-controls button{flex:1;min-width:0;min-height:43px;padding:9px 5px;font-size:11px;border-radius:13px;gap:6px}.game-controls button svg{width:16px;height:16px}.game-controls .text-btn{background:#faf1e8;border:1px solid #eddfd3;box-shadow:0 2px 0 #e5d4c3}.feedback-callout{font-size:10px;margin-top:14px}.in-game .site-footer{display:none}.in-game .toast{bottom:calc(100px + env(safe-area-inset-bottom))}.night-stage{padding:18px 11px 14px;border-width:6px;border-bottom-width:12px;border-radius:21px}.night-stage::before{left:-6px;right:-6px;top:-6px}.orders{gap:7px;margin-bottom:15px}.order{min-height:95px;padding:8px 4px}.order-head{font-size:7px;margin-bottom:7px}.order-food{width:30px;height:33px}.order-food .art{width:30px;height:30px}.buffer{padding:0 13px 14px;gap:9px}.buffer-slot{width:51px;height:49px;border-radius:12px}.buffer-slot .art{width:43px;height:43px}.pantry{gap:6px}.food-lane{padding:5px 3px 7px;gap:5px;min-height:137px;border-radius:11px}.food-tile{border-radius:9px;padding:1px}.food-tile.behind{height:31px;border-radius:6px}.food-tile.behind .art{height:29px;width:29px}.food-tile.front::after{width:7px;height:7px}.pantry-label{margin-top:14px}dialog{padding:27px 23px;border-radius:25px;max-height:calc(100dvh - 36px)}.modal-title{font-size:22px}.modal-body{font-size:12px}.modal-actions{gap:12px}.level-map-grid{gap:7px}.level-map-cell{min-height:61px;border-radius:13px}.level-map-cell strong{font-size:18px}.level-chapter{margin:19px 0}.audio-previews{gap:8px}.report-options{gap:9px}}
@media(max-width:365px){.hero-visual{width:145px;height:145px;right:-10px;top:43px;opacity:.8}.hero h1{font-size:31px}.intro{padding-right:12%}.hero-browse{font-size:9px}.hero-actions{gap:12px}.hero-actions .primary{min-width:145px}.site-header{margin-left:11px;margin-right:11px;padding-left:12px;padding-right:12px}.brand{font-size:16px}.nav-feedback{font-size:9px;padding:7px 8px}.game-shell{padding-left:11px;padding-right:11px}.drawer-stage{padding:9px;border-width:5px;border-bottom-width:12px}.drawer-grid{gap:5px}.tile{border-radius:9px}.game-heading h1{font-size:24px}.game-heading .eyebrow{font-size:6px;letter-spacing:.9px}.order-food{width:27px;height:30px}.order-food .art{width:27px;height:27px}.night-stage{padding-left:9px;padding-right:9px}.pantry{gap:5px}.food-lane{padding-left:2px;padding-right:2px}.home{padding-left:16px;padding-right:16px}}
@media(max-width:350px){.game-shell{padding-left:6px;padding-right:6px}.drawer-stage{padding:6px;border-width:4px;border-bottom-width:9px}.drawer-grid{gap:4px}.game-topline{padding-left:4px;padding-right:4px}.hero-visual{width:128px;right:-11px}.hero h1{font-size:28px}.hero-actions .primary{min-width:136px}.hero-actions{gap:10px}.intro>p{max-width:220px}.nav-feedback{padding:7px}.brand-mark,.brand-mark svg{width:33px;height:33px}.brand{gap:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.hero-visual img{animation:none}.tile.removing{opacity:0}.match-celebration{display:none}}
/* Keep compact order receipts readable and decorative art inside the viewport. */
body{overflow-x:clip}.order-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px}.order-food{width:100%;min-width:0}.order-food .art{width:100%;max-width:35px}

.card-cover-button{display:block;width:100%;padding:0;margin:0;text-align:inherit;background:transparent;border:0}.card-cover-button:focus-visible{outline-offset:-5px;outline-color:#e7ad8d;border-radius:24px}.tile:not(.empty):not(.removing):active{transform:translateY(2px) scale(.96);box-shadow:0 1px 0 #b99d78,inset 0 2px 4px #c8ac7d25}

/* A small, visible check that the whole game is available without a connection. */
[hidden]{display:none!important}
.offline-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:16px;align-items:center;margin:0 0 29px;padding:17px 20px;background:linear-gradient(125deg,#f0f8ea,#fffaf0);border:1px solid #e0ebd7;border-radius:21px;box-shadow:0 3px 0 #e2e7d8}
.offline-badge{width:43px;height:43px;display:grid;place-items:center;background:#e0efdc;border:2px solid #fafff6;border-radius:15px;color:#5d805a;box-shadow:0 3px 0 #cbdcc7}
.offline-badge svg{width:21px;height:21px}.offline-card strong{font-size:13px;color:#526e50}.offline-card p{font-size:11px;color:#687665;margin:3px 0 0;line-height:1.8}.offline-card .secondary{font-size:12px;min-height:42px;white-space:nowrap}
.offline-progress{display:block;width:100%;max-width:280px;height:7px;accent-color:#84b78a;margin-top:10px;border:0;border-radius:8px;overflow:hidden;background:#e6ebdf}.offline-progress::-webkit-progress-bar{background:#e6ebdf;border-radius:8px}.offline-progress::-webkit-progress-value{background:#84b78a;border-radius:8px}
.offline-guide-status{padding:15px 16px;border:1px solid #d9e7d1;background:#f0f7e9;border-radius:16px;margin:18px 0;color:#536f4d}.offline-guide-status strong{font-size:13px}.offline-guide-status p{font-size:12px;margin:5px 0 0;line-height:1.8;color:#65785c}.offline-guide-status .offline-progress{max-width:none}
.install-steps{list-style:none;padding:0;margin:18px 0;display:grid;gap:11px}.install-steps li{border:1px solid #eadfd8;border-radius:15px;padding:13px 15px;background:#fffdf7}.install-steps li.suggested{border-color:#b7d1b0;background:#f4faef}.install-steps strong{display:block;font-size:13px;color:#625267;margin-bottom:5px}.install-steps span{display:block;font-size:12px;line-height:1.9;color:#7e6c7b}.install-browser-note,.offline-test-note{font-size:12px;line-height:1.9;padding:12px 14px;border-radius:14px;background:#fff0dc;color:#795d38}.offline-test-note{background:#f4edf8;color:#745f83}
@media(max-width:650px){.offline-card{grid-template-columns:32px minmax(0,1fr);gap:9px 12px;padding:15px;margin-bottom:27px}.offline-badge{width:32px;height:34px;border-radius:12px;align-self:start}.offline-badge svg{width:17px;height:17px}.offline-card strong{font-size:12px}.offline-card p{font-size:11px}.offline-card>.secondary{grid-column:2;justify-self:start;font-size:11px;min-height:38px;padding:8px 13px}.site-header{gap:10px}nav{gap:7px}}
@media(max-width:365px){.site-header{gap:7px}.site-header nav{gap:6px}.nav-feedback{padding-left:7px;padding-right:7px}}
@media(display-mode:standalone){.site-header{margin-top:calc(13px + env(safe-area-inset-top))}.site-footer{padding-bottom:calc(25px + env(safe-area-inset-bottom))}}
