
:root{font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;color:#fff0cd;background:#191d31;font-synthesis:none;--ink:#27263d;--cream:#fff0cd;--red:#e95d42;--gold:#edbc57;--jade:#88b99c}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}button:disabled{cursor:default}button:active:not(:disabled){transform:translateY(2px) scale(.98)}svg{display:block;flex-shrink:0}button svg{pointer-events:none}button{transition:filter .15s,background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(1.09)}.stage{position:absolute;left:50%;top:50%;width:1280px;height:780px;overflow:hidden;transform-origin:center;background:#222641}.scene{position:absolute;inset:0;pointer-events:none}.scene>svg{width:100%;height:100%;object-fit:cover}.map-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,29,49,.8) 0%,rgba(26,29,49,.15) 50%,rgba(26,29,49,.04)),linear-gradient(0deg,rgba(26,29,49,.95),transparent 24%);pointer-events:none}.topbar{height:105px;padding:29px 46px;position:relative;display:flex;justify-content:space-between;align-items:center;z-index:3}.brand{display:flex;gap:13px;align-items:center;text-align:left;font-weight:900;font-size:24px;letter-spacing:2px;padding:0}.brand small{display:block;font-weight:400;letter-spacing:3px;font-size:10px;margin-top:5px;color:#c9c1b6}.brand-seal{display:grid;place-items:center;background:var(--red);border:1px solid #ffb68c;box-shadow:inset 0 0 0 4px var(--red),inset 0 0 0 5px #ffb68c;width:44px;height:48px;font-family:serif;font-size:29px;font-weight:800;color:var(--cream);transform:rotate(-4deg);border-radius:3px}.topbar-right{display:flex;gap:10px;align-items:center}.currency{display:inline-flex;align-items:center;gap:9px;min-width:84px;height:40px;padding:0 15px;background:rgba(23,27,46,.64);border:1px solid #ffffff1e;border-radius:24px;font-variant-numeric:tabular-nums;font-size:16px}.currency b{font-weight:700}.icon-button{width:43px;height:43px;display:inline-grid;place-items:center;border:1px solid #ffffff36;border-radius:50%;background:#262a43a8}.topbar .icon-button{margin-left:9px}.map-intro{position:absolute;left:63px;top:143px;z-index:2}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--gold);display:flex;align-items:center;gap:10px}.eyebrow>span{width:22px;height:2px;background:var(--gold)}h1{font-family:"Microsoft JhengHei","PingFang TC",sans-serif;font-size:62px;line-height:1.23;letter-spacing:5px;margin:22px 0 19px;font-weight:900;text-shadow:0 3px 0 #171d34}h1>span{color:var(--red)}.map-intro p{color:#d8cdbd;font-size:13px;line-height:1.9;letter-spacing:1px}.journey-progress{display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:235px;font-size:11px;margin-top:25px;color:#ccc0a8;letter-spacing:1px}.journey-progress>b{color:var(--gold);font-size:16px}.journey-progress>div{width:235px;height:4px;border-radius:4px;background:#fff0cd20;margin-top:4px}.journey-progress i{height:100%;background:var(--gold);display:block;border-radius:4px}.journey{position:absolute;left:450px;top:150px;width:745px;height:465px;z-index:2}.route-heading{position:absolute;top:-7px;left:15px;color:#d6cdb7}.route-heading span{font-size:9px;letter-spacing:3px;display:block;color:#d0a36d;margin-bottom:8px}.route-heading b{font-size:13px;letter-spacing:2px;font-weight:400}.route-path{position:absolute;left:0;top:20px;width:740px;height:500px;overflow:visible}.route-path path{stroke:#ecd598;stroke-width:4;stroke-dasharray:3 12;stroke-linecap:round;fill:none;opacity:.7}.map-node{position:absolute;display:flex;align-items:center;flex-direction:column;width:135px;padding:0;z-index:2}.node-1{left:3px;top:318px}.node-2{left:180px;top:273px}.node-3{left:332px;top:198px}.node-4{left:473px;top:138px}.node-5{left:612px;top:37px}.node-circle{position:relative;display:grid;place-items:center;background:#363c51;border:3px solid #6d707b;width:60px;height:60px;border-radius:50%;font:800 27px Georgia,serif;box-shadow:0 5px 0 #171d2f,0 0 0 7px #22264175;color:#8d8d9a}.unlocked .node-circle{background:var(--cream);color:var(--ink);border-color:var(--gold);box-shadow:0 5px 0 #a37337,0 0 0 7px #fff0cd15}.next-node .node-circle{background:var(--red);color:#fff5d7;border-color:#ffd298;box-shadow:0 5px 0 #962e2c,0 0 25px #e9bc5840}.next-node .node-circle:before{content:'';position:absolute;inset:-11px;border:1px solid #edbc5775;border-radius:50%;animation:node-pulse 2.5s infinite}.node-caption{margin-top:12px;padding:8px 12px 5px;border-radius:12px;background:#23273ccb;backdrop-filter:blur(3px);white-space:nowrap}.node-caption>b{display:block;font-size:13px;letter-spacing:1px}.locked .node-caption{color:#bbb7b6}.node-stars{display:flex;gap:2px;justify-content:center;margin-top:6px}.star{color:#847e73;opacity:.35}.star svg{width:19px;height:19px;filter:grayscale(1)}.star.earned{opacity:1;filter:none}.star.earned svg{filter:none}.node-flag{position:absolute;top:-35px;font-size:10px;letter-spacing:1px;color:var(--ink);background:var(--cream);padding:7px 12px;border-radius:5px;box-shadow:0 3px 0 #191d31}.node-flag:after{content:'';position:absolute;bottom:-5px;left:50%;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid var(--cream)}.map-chest{position:absolute;display:grid;justify-items:center;z-index:3}.map-chest>span{font-size:10px;background:#222641d9;border-radius:9px;padding:4px 8px;color:#decfaf;margin-top:1px}.chest-one{left:299px;top:340px;transform:rotate(-5deg)}.chest-two{left:655px;top:205px}.map-chest.available{animation:chest-bounce 1.6s infinite}.map-stall{position:absolute;bottom:58px;left:36px;width:350px;height:250px;z-index:2}.map-stall>svg{width:350px;height:250px}.stall-shop{position:absolute;bottom:2px;left:73px;display:flex;align-items:center;gap:9px;background:#fff0cd;color:var(--ink);padding:12px 18px;border-radius:7px;box-shadow:0 4px 0 #b28c59;font-size:12px;font-weight:700}.map-cat{position:absolute;bottom:79px;left:924px;display:flex;align-items:center;z-index:2}.map-cat>svg{width:111px;transform:rotate(5deg)}.cat-speech{position:absolute;bottom:93px;right:20px;width:190px;font-size:12px;padding:15px 17px;line-height:1.6;background:#fff0cd;color:var(--ink);border-radius:14px 14px 4px 14px;box-shadow:0 4px 0 #161b3280;transform:rotate(-3deg)}.map-footer{position:absolute;bottom:0;height:75px;left:0;right:0;padding:0 48px;display:flex;justify-content:space-between;align-items:center;z-index:5;border-top:1px solid #fff0cd17;background:#20243bba}.footer-notes{font-size:10px;color:#b6b2b7;letter-spacing:1px;display:flex;align-items:center;gap:8px}.status-dot{width:5px;height:5px;background:var(--jade);border-radius:50%}.divider{padding:0 5px;opacity:.4}.footer-actions{display:flex;align-items:center;gap:26px}.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}.primary{min-height:47px;padding:0 24px;color:#fff4dc;background:var(--red);border:1px solid #ff9a6b;border-radius:8px;box-shadow:0 4px 0 #a33d35;font-size:14px;font-weight:700;letter-spacing:1px}.primary:disabled{background:#989386;border-color:#b3ae9d;box-shadow:0 4px 0 #78776e;opacity:.7}.secondary{min-height:47px;padding:0 23px;border:1px solid #d0bfa3;border-radius:8px;color:var(--ink);background:#f6e4c1;font-size:13px;font-weight:700}.text-button{font-size:12px;letter-spacing:1px;padding:10px;color:inherit}.overlay{position:absolute;inset:0;z-index:50;background:#14192acb;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;animation:fade-in .2s}.modal{position:relative;background:#fff1d4;color:var(--ink);border:2px solid #a9916c;border-radius:18px;padding:35px 40px;max-height:730px;overflow-y:auto;width:650px;box-shadow:0 14px 0 #15182d55,0 0 0 5px #fff0cd0a;text-align:center}.modal:before{content:'';position:absolute;left:20px;right:20px;top:10px;height:1px;background:#dbc5a0}.modal-close{position:absolute;right:15px;top:15px;width:32px;height:32px;border-color:#c6b798;background:#eddcb8;z-index:2}.modal-eyebrow{color:#9a604b;letter-spacing:2px;font-size:11px;margin-bottom:9px}h2{font-size:30px;letter-spacing:1px;margin:9px 0 10px;font-weight:900}.modal-subtitle{font-size:12px;color:#86725e;line-height:1.9;margin:8px 0 22px}.stage-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0 20px}.stage-picker button{border:1px solid #dac6a3;border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 6px;background:#f7e5c6}.stage-picker button.selected{border:2px solid #c76047;padding:14px 5px;background:#fff7e6;box-shadow:0 3px 0 #ce8e68}.stage-picker span{font-size:13px;font-weight:700}.stage-picker small{font-size:10px;color:#917b5c}.level-facts{display:grid;grid-template-columns:1fr .8fr 1.2fr;gap:0;margin:20px 0 25px;background:#e9d6b546;padding:16px 0;border-top:1px solid #dcc9a9;border-bottom:1px solid #dcc9a9;align-items:center}.level-facts>div+div{border-left:1px solid #d8c3a1}.level-facts small{display:block;color:#9a8063;font-size:11px;margin-bottom:9px}.level-facts b{display:flex;justify-content:center;align-items:center;gap:6px;font-size:26px}.level-facts b>span{font-size:12px;font-weight:400}.menu-mini{display:flex;align-items:center;justify-content:center;height:34px;gap:0}.menu-mini svg{width:35px}.section-label{text-align:left;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.section-label span{font-size:10px;color:#9b8266;font-weight:400}.boosters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.booster{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 9px;background:#f3e4c8;border:1px solid #d4c3a5;border-radius:9px}.booster b{font-size:12px}.booster small{font-size:10px;line-height:1.5;color:#9c8668;min-height:30px}.booster>span{display:flex;gap:5px;align-items:center;font-size:10px;font-weight:700}.booster:disabled{opacity:.5;filter:grayscale(.7)}.booster.chosen{border:2px solid #648f74;background:#e6edd4;padding:12px 8px}.booster.chosen:before{content:'✓';position:absolute;right:7px;top:5px;color:#528663}.modal-actions{display:flex;justify-content:center;gap:12px;margin-top:25px}.inline-note{font-size:11px;color:#927960;line-height:1.8;margin:20px 0 0}.shop-modal{width:850px;padding:28px 35px}.shop-modal .modal-subtitle{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:20px}.modal .currency{background:#e9d5b0;border-color:#dbc499;color:var(--ink);font-size:14px;height:32px;min-width:65px;padding:0 10px}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.upgrade-card{position:relative;min-height:148px;display:grid;grid-template-columns:70px 1fr;grid-template-rows:32px 25px 33px 25px;align-content:center;gap:0 10px;border:1px solid #dcc6a0;background:#f8e8cb;border-radius:10px;padding:14px 12px;text-align:left;box-shadow:0 4px 0 #ddc3a0}.upgrade-card>b{font-size:13px;align-self:end;padding-bottom:5px}.upgrade-card>small{font-size:9px;color:#90765c;line-height:1.5}.upgrade-art{grid-row:1/5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.upgrade-art>span{font-size:10px;background:#e2c699;padding:2px 7px;border-radius:8px;font-weight:bold}.rank-2>svg{filter:drop-shadow(0 0 5px #7fad6a77)}.rank-3>svg{filter:drop-shadow(0 0 7px #f2b820aa)}.rank-3>span{background:#edbc57}.upgrade-value{font-size:10px;color:#5c7860;line-height:1.5}.upgrade-price{display:flex;align-items:center;justify-content:center;gap:4px;background:#ebd1a3;border-radius:4px;font-size:11px;width:100%;padding:3px 8px}.upgrade-card:disabled{opacity:.55}.upgrade-card.recommended{border-color:#ce7751}.upgrade-card.recommended:before{content:'阿福推薦';position:absolute;right:8px;top:-7px;background:var(--red);color:var(--cream);font-size:8px;padding:3px 7px;border-radius:4px}.upgrade-card.future{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;opacity:.5;text-align:center}.upgrade-card.future>b{align-self:center;padding:0}.upgrade-compare{display:flex;justify-content:center;align-items:center;gap:25px;margin:35px 0}.upgrade-compare>div{background:#efdec0;padding:20px;border-radius:12px;width:200px}.upgrade-compare small{font-size:12px;color:#987b5b}.upgrade-compare strong{font-size:18px;display:block;margin-top:12px}.setting-rows{margin-top:30px}.setting-rows>button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:17px 10px;border-bottom:1px solid #dfcba7;font-size:14px}.setting-rows>button>span:first-child{display:flex;gap:14px;align-items:center}.toggle{display:block;width:42px;height:24px;background:#b6aa95;border-radius:14px;padding:3px}.toggle:after{content:'';display:block;background:#fff7e8;width:18px;height:18px;border-radius:50%;transition:transform .2s}.toggle.on{background:#759e80}.toggle.on:after{transform:translateX(18px)}.help-modal{width:790px}.help-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0;gap:18px}.help-steps>div{display:flex;flex-direction:column;align-items:center;background:#eedebf66;border:1px solid #dac5a3;border-radius:10px;padding:17px 10px}.help-steps b{font-size:13px;margin-top:10px}.help-steps p{font-size:11px;line-height:1.8;color:#8a7257;margin-bottom:0}.help-tips{text-align:left;font-size:12px;color:#7d674e;line-height:1.8}.help-tips p{border-bottom:1px dashed #cfb995;padding-bottom:9px}.keyboard-guide{font-size:9px;display:flex;align-items:center;justify-content:center;gap:6px;margin:24px 0;color:#9c876d}kbd{font:9px "Segoe UI",sans-serif;color:#9d8e79;border:1px solid #af9c743d;border-radius:4px;padding:2px 4px;background:#ffffff12}.reward-chest{display:flex;justify-content:center}.chest-rewards{display:flex;gap:15px;justify-content:center;margin:25px 0}.game-shade{position:absolute;inset:0;background:linear-gradient(#22264188,#22264188 47%,#392b2a 48%);pointer-events:none}.game-header{position:relative;z-index:3;height:100px;display:flex;justify-content:space-between;align-items:center;padding:15px 32px;background:#222641ec;border-bottom:1px solid #fff0cd22}.level-tag{display:flex;gap:15px;align-items:center}.level-tag small{font-size:10px;color:#d0b996;display:block;margin-bottom:7px;letter-spacing:1px}.level-tag b{font-size:21px;letter-spacing:1px}.level-tag b>span{font-size:12px;font-weight:400;margin-left:10px}.goal-hud{width:370px;margin:0 40px 0 0}.goal-hud>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1px;margin-bottom:8px}.goal-hud strong{font-size:17px;color:var(--gold);font-variant-numeric:tabular-nums}.goal-track{background:#12192b;height:11px;border-radius:8px;border:1px solid #ffffff15;overflow:hidden}.goal-track>i{height:100%;display:block;width:0;background:var(--gold);border-radius:8px;transition:width .2s}.achieved .goal-track>i{background:var(--jade)}.achieved strong{color:var(--jade)}.combo-hud{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:8px}.combo-hud>span{font-size:9px;color:#b8b4bd}.combo-hud>div{display:flex;gap:4px}.combo-hud i{width:18px;height:5px;border-radius:3px;background:#ffffff20}.combo-hud i.lit{background:var(--red);box-shadow:0 0 8px #e95d4277}.game-header-right{display:flex;gap:25px;align-items:center}.customer-count{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;width:80px}.customer-count small{width:100%;font-size:10px;color:#a8a5b0}.customer-count b{font-size:28px;font-family:Georgia,serif;line-height:1}.customer-count>span{font-size:10px}.awning{position:relative;z-index:2;height:38px;background:repeating-linear-gradient(90deg,#dc6551 0px,#dc6551 48px,#f3d8ac 48px,#f3d8ac 96px);border-bottom:3px solid #2e2837;display:flex;justify-content:center;gap:22px;align-items:center;color:#fff0cd;box-shadow:0 8px 12px #171b3144}.awning:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#27263d33,transparent)}.awning>span{background:#373349;border:1px solid #f4c887;font-size:14px;font-weight:700;letter-spacing:4px;padding:8px 36px;transform:translateY(6px);box-shadow:0 3px 0 #201d30;z-index:1}.awning small{position:absolute;right:37px;background:#373349cc;padding:4px 9px;border-radius:3px;font-size:9px;letter-spacing:1px}.customer-row{height:219px;position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:44px;padding:0 125px}.customer{position:relative;display:flex;justify-content:center;align-items:flex-end;animation:none}.customer-person{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%)}.customer-person>svg{width:147px;height:150px}.order-bubble{display:flex;align-items:center;justify-content:center;position:absolute;bottom:143px;left:50%;transform:translateX(-50%);background:#fff3d9;border:2px solid #373248;border-radius:14px;min-width:81px;height:72px;padding:3px 9px;box-shadow:0 4px 0 #171b3144;z-index:2}.order-bubble:after{content:'';position:absolute;bottom:-8px;left:50%;width:12px;height:12px;transform:rotate(45deg);background:#fff3d9;border-bottom:2px solid #373248;border-right:2px solid #373248}.order-item{position:relative;z-index:1}.order-item>svg{width:54px;height:54px}.order-item.delivered>svg{opacity:.25}.order-item>i{position:absolute;inset:0;display:grid;place-items:center}.order-item>i>svg{background:#8dbf9c;border:1px solid #446650;border-radius:50%;width:27px;height:27px;padding:3px}.patience-meter{position:absolute;bottom:30px;right:9px;width:8px;height:91px;border-radius:6px;background:#202238;border:1px solid #fff1d45c;overflow:hidden}.patience-meter>i{position:absolute;bottom:0;left:0;width:100%;transition:height .15s}.customer-place{position:absolute;bottom:6px;background:#27263dc7;border:1px solid #fff0cd24;z-index:2;font-size:8px;letter-spacing:1px;padding:4px 12px;border-radius:12px}.impatient .order-bubble{border-color:#e95d42;animation:impatient 1.4s infinite}.empty-customer>span{font-size:10px;color:#fff0cd30;z-index:2;margin-bottom:17px;letter-spacing:1px}.empty-silhouette{position:absolute;bottom:15px;width:93px;height:98px;background:#fff0cd05;border-radius:50px 50px 0 0}.empty-silhouette:before{content:'';position:absolute;left:25px;top:-30px;background:#fff0cd05;width:45px;height:45px;border-radius:50%}.counter-rail{height:28px;position:relative;z-index:3;background:#c99765;border-top:5px solid #f1cd97;border-bottom:5px solid #7d5544;box-shadow:0 5px 0 #2f2834;text-align:center;display:flex;align-items:center;justify-content:center}.counter-rail>span{font-size:8px;letter-spacing:5px;color:#6d483a}.kitchen{position:relative;z-index:2;height:350px;background:#59433c;display:grid;grid-template-columns:1.05fr 1.2fr .65fr;gap:22px;padding:17px 34px 13px;background-image:repeating-linear-gradient(0deg,transparent 0,transparent 51px,#47352f30 52px)}.station{min-width:0}.station-title{display:flex;justify-content:space-between;align-items:center;height:26px;margin-bottom:9px;color:#e2c4a1}.station-title>b{font-size:10px;color:#c89866;font-family:Georgia,serif}.station-title>b>span{font:700 13px "Microsoft JhengHei",sans-serif;color:#ffe4bd;margin-left:6px;letter-spacing:1px}.station-title>small{font-size:8px;color:#cba681}.griddle{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,87px);gap:4px;background:#282933;border:6px solid #69696b;border-bottom-color:#42424b;border-radius:13px;padding:6px 14px;box-shadow:0 5px 0 #29242e,inset 0 0 20px #0b101caa;position:relative}.griddle-slot{position:relative;display:flex;justify-content:center;align-items:center;min-width:0;border-radius:8px;border:1px solid #ac9a7330;background:radial-gradient(#49464a,#282a34);height:87px;overflow:visible}.griddle-slot>svg{width:99px;height:79px;z-index:2}.griddle-slot.cooking>svg{animation:sizzle .24s infinite alternate}.griddle-slot>kbd{position:absolute;left:5px;bottom:5px;font-size:8px;color:#a1a0a7;z-index:3}.griddle-cross{font-size:25px;color:#8c898447}.griddle-slot.locked{background:#252632;border-style:dashed;opacity:.45}.griddle-slot.locked>svg{width:20px;height:20px}.cook-ring{position:absolute;bottom:8px;right:4px;width:5px;height:64px;border-radius:4px;background:linear-gradient(0deg,#88b99c var(--progress),#fff0cd17 var(--progress));z-index:4}.danger .cook-ring{background:#e95d42;animation:impatient .5s infinite}.cook-status{position:absolute;right:10px;bottom:1px;z-index:3;color:#f8daac;font-size:8px;padding:2px 6px;background:#252839d9;border-radius:4px}.burnt .cook-status,.danger .cook-status{color:#ff987b}.steam{position:absolute;width:5px;height:14px;border:2px solid #fff0cd88;border-left:0;border-bottom:0;border-radius:50%;top:5px;z-index:4;animation:steam 1.7s infinite}.steam.s1{left:45%}.steam.s2{left:58%;animation-delay:.7s}.ingredient{display:flex;align-items:center;gap:9px;padding:4px 10px;background:#ddbc8b;border:1px solid #f1d7aa;border-bottom:3px solid #a37952;border-radius:9px;min-height:66px;color:#483638;position:relative}.raw-ingredient{width:100%;height:69px;margin-top:10px;background:#eed1a0}.raw-ingredient>span>svg{width:70px;height:53px}.ingredient>div{text-align:left}.ingredient b{font-size:12px;display:block}.ingredient small{font-size:8px;color:#967049;display:block;margin-top:6px;letter-spacing:1px}.ingredient kbd{margin-left:auto;color:#856c52;border-color:#a78a6144;background:#fff4d744}.ingredient:disabled{opacity:.45;filter:grayscale(.5)}.plates{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,94px);gap:5px 13px}.plate-slot{position:relative;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.plate-dish{width:144px;height:76px;background:#f1e3c4;border:3px solid #d2bf9a;border-radius:50%;box-shadow:0 3px 0 #b4936f,inset 0 0 0 5px #fff0cd,inset 0 0 0 6px #d1ba94;display:flex;align-items:center;justify-content:center}.plate-dish>svg{width:110px;height:85px;filter:drop-shadow(0 3px 0 #6a431d22)}.plate-slot.empty .plate-dish{background:#dcccad;box-shadow:0 3px 0 #a78b68,inset 0 0 0 5px #e3d2af,inset 0 0 0 6px #c4ac87}.plate-doodle{color:#b9a381;font-size:25px;font-family:serif;opacity:.45}.plate-slot>small{font-size:8px;color:#d3b48f;margin-top:5px;line-height:1}.plate-slot>kbd{position:absolute;left:4px;bottom:12px;background:#493c36;color:#ddc6a3;z-index:3}.plate-slot.locked{opacity:.35}.plate-slot.locked .plate-dish{background:#a98d70;box-shadow:none;border-style:dashed;border-color:#e6cca8}.plate-slot.locked svg{width:25px;height:25px}.toppings{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.toppings .ingredient{padding:3px 10px 3px 6px;gap:6px;min-height:66px}.toppings .ingredient>span>svg{width:40px;height:40px}.toppings .ingredient b{font-size:11px;white-space:nowrap}.toppings .ingredient small{font-size:8px;letter-spacing:0}.toppings .ingredient>svg:last-child{margin-left:auto}.cheese-wedge{width:34px;height:30px;display:block;background:#f8bd4e;border:3px solid #8b592e;clip-path:polygon(0 80%,77% 0,100% 100%);transform:rotate(-10deg);flex-shrink:0}.tea-station{display:flex;flex-direction:column;align-items:center;border-left:1px solid #a0805d55;padding-left:22px}.tea-station .station-title{align-self:stretch}.tea-dispenser{position:relative;width:116px;height:144px;flex-shrink:0;margin-top:2px}.tea-lid{position:absolute;top:0;left:2px;right:2px;height:14px;background:#daaa67;border:3px solid #342b33;border-radius:8px;z-index:2}.tea-lid:before{content:'';position:absolute;left:40px;top:-9px;width:25px;height:7px;border:3px solid #342b33;border-bottom:0;border-radius:5px 5px 0 0;background:#99724f}.tea-body{position:absolute;top:8px;left:7px;right:7px;bottom:10px;border:3px solid #342b33;background:linear-gradient(90deg,#a86e46 0%,#bd8754 17%,#cda06a 70%,#aa7348 90%);border-radius:5px 5px 13px 13px;display:flex;align-items:center;flex-direction:column;padding-top:6px;box-shadow:inset 6px 0 #d7b07866}.tea-body>span{font-size:7px;letter-spacing:3px;color:#fff0cd}.tea-body>b{background:#fff0cd;border:2px solid #9f543f;color:#9f543f;font-size:15px;line-height:1.2;padding:4px 10px;margin-top:5px;border-radius:3px}.tea-body>small{font-size:6px;color:#633d2f;letter-spacing:3px;margin-top:4px}.tea-tap{position:absolute;bottom:0;left:47px;width:27px;height:16px;background:#778b85;border:3px solid #302c36;border-radius:3px;z-index:3}.tea-tap:before{content:'';position:absolute;top:-9px;left:8px;width:6px;height:11px;background:#b9c0a7;border:2px solid #302c36}.tea-tray{height:91px;display:flex;align-items:center;justify-content:center;gap:0;background:#332b3299;border:2px solid #8e7052;border-radius:10px;width:100%;margin-top:10px;padding:4px}.tea-cup{display:grid;place-items:center;height:81px;min-width:50px;padding:0}.tea-cup>svg{height:77px;width:60px}.cup-outline{border:2px dashed #ab8e6d66;transform:perspective(50px) rotateX(-9deg);width:32px;height:46px;border-radius:3px 3px 7px 7px;display:block}.tea-refill{width:100%;display:flex;align-items:center;gap:7px;font-size:8px;margin-top:9px;color:#ccaf8c}.tea-refill>div{height:4px;background:#221e2c66;flex:1;border-radius:3px;overflow:hidden}.tea-refill i{display:block;height:100%;background:var(--jade)}.tea-refill>kbd{color:#c7ab88}.game-footer{height:45px;position:relative;display:flex;align-items:center;gap:25px;padding:0 34px;background:#322b34;border-top:1px solid #b48c5e44;z-index:3;font-size:10px;color:#d3ba96}.game-footer>span{display:flex;align-items:center;gap:6px}.game-footer b{color:var(--cream);font-size:13px;font-variant-numeric:tabular-nums}.game-footer .game-tip{font-size:9px;color:#aa9789;margin-left:auto}.game-footer>button{display:flex;gap:6px;align-items:center;font-size:9px;color:#e8c99e}.tutorial-card{position:absolute;left:375px;top:130px;width:530px;min-height:105px;background:#fff1d9;border:2px solid #dcac6a;border-radius:13px;z-index:20;display:flex;align-items:center;gap:13px;color:var(--ink);padding:10px 16px;box-shadow:0 6px 0 #171c3266}.tutorial-card>svg{flex-shrink:0;width:70px}.tutorial-card>div{flex:1}.tutorial-card small{display:block;font-size:8px;color:#a17b55;margin-bottom:6px;letter-spacing:1px}.tutorial-card b{font-size:16px;display:block}.tutorial-card p{font-size:10px;line-height:1.6;margin:5px 0 0;color:#82664e}.tutorial-card>button{position:absolute;right:10px;top:8px;font-size:8px;color:#a68764;text-decoration:underline}.tutorial-target{outline:4px solid #ffdc8d!important;outline-offset:3px;z-index:15!important;box-shadow:0 0 28px #ffdf9d66!important;animation:tutorial-glow 1.6s infinite}.tutorial-target:after{content:'點這裡';position:absolute;right:2px;top:-23px;background:var(--gold);color:var(--ink);border-radius:4px;padding:5px 10px;font-size:9px;font-weight:bold;z-index:20;white-space:nowrap;box-shadow:0 2px 0 #413c39}.griddle.tutorial-target:after{content:'等待煎熟'}.floating-text{position:absolute;left:50%;top:330px;transform:translateX(-50%);font-weight:900;font-size:25px;color:#f5cb6a;z-index:25;text-shadow:0 3px 0 #352d36;pointer-events:none;animation:float-up 1.4s ease-out forwards}.floating-text.combo{color:#ffe7bc;font-size:30px;top:300px}.result-modal{width:690px;padding-top:27px}.result-cat{display:flex;justify-content:center;height:115px;margin-top:-6px}.result-cat>svg{height:120px}.result-stars{display:flex;justify-content:center;gap:9px;margin:18px 0}.result-stars .star>svg{width:36px;height:36px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:23px 0;background:#efdfc0;border:1px solid #dcc29b;border-radius:10px;padding:17px 7px}.result-stats>div+div{border-left:1px solid #d6c09c}.result-stats small{font-size:10px;color:#9b7a54}.result-stats b{display:flex;align-items:center;justify-content:center;gap:7px;font:700 29px Georgia,serif;color:#5d5c42;margin:10px 0}.result-stats b>em{font:8px sans-serif;align-self:flex-end;margin-bottom:6px}.result-stats span{font-size:9px;color:#a08662}.first-reward{display:flex;justify-content:center;gap:12px;align-items:center;font-size:12px}.unlock-notice{font-size:12px;line-height:1.8;background:#e4e7c7;color:#587952;padding:11px;border-radius:7px;margin:18px 0 0}.pause-buttons{display:flex;flex-direction:column;gap:15px;width:290px;margin:30px auto 15px}.pause-toggles{display:flex;justify-content:center;gap:20px;padding-top:10px;border-top:1px solid #dbc8a6}.pause-instructions{font-size:11px;color:#a38b6d;line-height:2}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti>i{position:absolute;left:var(--x);top:-20px;width:8px;height:14px;background:var(--color);transform:rotate(var(--r));animation:confetti 2.4s var(--delay) ease-out forwards}.portrait-tip{display:none}#opening-banner{position:absolute;z-index:40;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:#1b2031dd;pointer-events:none;animation:fade-in .2s}#opening-banner small{color:var(--gold);letter-spacing:5px;font-size:13px}#opening-banner b{font-size:38px;letter-spacing:2px;color:var(--cream)}#opening-banner span{color:#cdc2b1;font-size:14px}#toast{position:fixed;bottom:8%;left:50%;transform:translate(-50%,15px);padding:13px 24px;border-radius:9px;background:#fff0df;color:#473a37;border:1px solid #c8a47f;box-shadow:0 5px 18px #15192b55;z-index:200;font-size:13px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes node-pulse{50%{transform:scale(1.13);opacity:.3}}@keyframes chest-bounce{50%{translate:0 -7px;filter:drop-shadow(0 0 15px #f4c775)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes arrive{from{opacity:0;translate:18px 0}to{opacity:1;translate:0 0}}@keyframes sizzle{to{transform:rotate(.8deg) translateY(-1px)}}@keyframes steam{to{translate:0 -22px;opacity:0}}@keyframes impatient{50%{filter:brightness(1.4)}}@keyframes tutorial-glow{50%{outline-color:#e79545;box-shadow:0 0 35px #ffda8b99}}@keyframes float-up{0%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -90px}}@keyframes confetti{to{top:100%;rotate:350deg;opacity:0}}
@media (orientation:portrait) and (max-width:800px){.portrait-tip{display:block;position:absolute;left:370px;right:370px;bottom:90px;padding:15px;border-radius:12px;background:#fff0cd;color:var(--ink);text-align:center;font-size:16px;z-index:49;pointer-events:none}.game-screen .portrait-tip{bottom:48px}#toast{font-size:11px;padding:10px 15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}




/* ==========================================================================
   Bright kitchen theme — glossy food, friendly characters, warm daytime market
   Fixed 1280 × 780 scene: 80 + 30 + 250 + 26 + 354 + 40 pixels.
   ========================================================================== */
:root {
  color: #67432b;
  background: #aedff3;
  --ink: #66402d;
  --cream: #fff8e3;
  --red: #eb6246;
  --gold: #efb949;
  --jade: #71bb50;
}
body { background: radial-gradient(ellipse at 50% 20%, #e5f8ff, #97cfe3); }
.stage { background: #ccecf2; box-shadow: 0 0 70px #337f9333; }
.scene { background: #c4e8ef; }
button:focus-visible { outline-color: #fba923; outline-offset: 4px; }
button:hover:not(:disabled) { filter: brightness(1.045) saturate(1.07); }
button:active:not(:disabled) { transform: translateY(2px) scale(.985); }
.brand-seal {
  width: 46px; height: 48px; border: 2px solid #fff0ac; border-radius: 13px;
  background: linear-gradient(#ff8864, #e94b33); transform: rotate(-5deg);
  color: #fff8d1; box-shadow: inset 0 2px 0 #ffe3ae, 0 3px 0 #ab4b2d;
  text-shadow: 0 2px 0 #ba4e2d;
}
.primary {
  min-height: 50px; padding: 0 28px; border: 2px solid #e9fdb0; border-radius: 14px;
  color: #fff; background: linear-gradient(#a2d843 0%, #78c03a 49%, #69b22e 51%, #58a52a 100%);
  box-shadow: inset 0 2px 0 #dbf69d, 0 4px 0 #397c2b, 0 6px 9px #477d3a30;
  font-size: 15px; font-weight: 900; text-shadow: 0 2px 0 #4d8e2b; letter-spacing: 1px;
}
.primary:disabled {
  background: linear-gradient(#d5d0be, #aaa995); border-color: #e9e3d2;
  box-shadow: 0 4px 0 #8e8877; color: #fffdf2; text-shadow: 0 1px 0 #928b77; opacity: .8;
}
.secondary {
  min-height: 50px; border: 2px solid #ffe9ac; border-radius: 14px;
  background: linear-gradient(#ffdc83, #f7ba56); color: #8f511e;
  box-shadow: inset 0 2px 0 #fff4cb, 0 4px 0 #c88c37;
  font-size: 14px; font-weight: 800;
}
.icon-button {
  width: 46px; height: 46px; border: 2px solid #fff0bd; border-radius: 15px;
  background: linear-gradient(#ffe6a6, #f3bd62); color: #a06431;
  box-shadow: inset 0 2px 0 #fff9d5, 0 3px 0 #c4863c;
}
.currency {
  min-width: 90px; height: 43px; padding: 0 15px; gap: 8px; border: 2px solid #efb758;
  border-radius: 23px; background: linear-gradient(#fffdf2, #ffebbd); color: #955b28;
  box-shadow: inset 0 2px 0 #fff, 0 3px 0 #bc7a3030; font-size: 18px;
}
.currency svg { width: 25px; height: 25px; filter: drop-shadow(0 2px 0 #d49a342a); }

/* A bright market map, with cream signs and candy-coloured level markers. */
.map-vignette {
  background: linear-gradient(90deg, #fff5d8d9 0%, #fff5d88c 29%, transparent 56%),
    linear-gradient(0deg, #f6ce8b8c, transparent 24%);
}
.topbar {
  height: 100px; padding: 22px 38px; color: #8b412f;
  background: linear-gradient(#fff3dcd9, #fff6df9c); border-bottom: 2px solid #ffffff88;
}
.brand { font-size: 25px; font-weight: 900; letter-spacing: 1px; text-shadow: 0 2px 0 #fff8df; }
.brand small { color: #ac7750; font-weight: 700; font-size: 11px; letter-spacing: 3px; }
.topbar-right { gap: 12px; }
.map-intro {
  left: 38px; top: 128px; width: 360px; padding: 22px 24px; border: 2px solid #fff7dd;
  border-radius: 24px; background: linear-gradient(135deg, #fffdf2e8, #fff0c8bd);
  box-shadow: 0 5px 0 #e5b26e30, 0 10px 25px #a2783433;
}
.eyebrow { font-size: 11px; letter-spacing: 2px; color: #b6782c; gap: 8px; font-weight: 700; }
.eyebrow > span { width: 18px; background: #eaa84c; }
h1 {
  font-size: 47px; line-height: 1.16; letter-spacing: 3px; margin: 16px 0 12px;
  color: #a64b2f; text-shadow: 0 3px 0 #fff9df, 0 5px 0 #deb1704d; font-weight: 900;
}
h1 > span { color: #ef7541; }
.map-intro p { color: #9e7146; font-size: 13px; line-height: 1.75; margin: 12px 0; letter-spacing: .5px; }
.journey-progress { margin-top: 18px; width: 255px; color: #a17942; font-size: 11px; font-weight: 700; }
.journey-progress > b { color: #bd7b20; font-size: 17px; }
.journey-progress > div {
  height: 10px; width: 255px; background: #d6b98a; border: 2px solid #fff4cd;
  box-shadow: inset 0 2px 3px #84653344; border-radius: 7px; overflow: hidden;
}
.journey-progress i { background: linear-gradient(#ffe89a, #edb42c); box-shadow: inset 0 1px 0 #fff7b8; }
.journey { left: 445px; top: 135px; }
.route-heading { left: 18px; top: -5px; color: #9a6333; text-shadow: 0 1px 0 #fff8da; }
.route-heading span { color: #b07b3b; font-weight: 700; letter-spacing: 2px; }
.route-heading b { font-size: 16px; font-weight: 900; }
.route-path path { stroke: #fff8dc; stroke-width: 7px; opacity: .95; filter: drop-shadow(0 2px 0 #bb823b66); }
.node-circle {
  width: 68px; height: 68px; border: 4px solid #f8df9c; font: 900 31px "Trebuchet MS", sans-serif;
  background: linear-gradient(#dddfc0, #acba9d); color: #7f8e77;
  box-shadow: inset 0 3px 0 #f3f6d7, 0 5px 0 #839476, 0 0 0 5px #fff8dc66;
}
.unlocked .node-circle {
  color: #a15a20; border-color: #fff2ad; background: linear-gradient(#fff1b7, #ffc755);
  box-shadow: inset 0 3px 0 #fffadb, 0 5px 0 #cf8c2e, 0 0 0 5px #fff8dc77;
}
.next-node .node-circle {
  background: linear-gradient(#ff9a66, #ed5b3d); border-color: #ffed9b; color: #fff;
  box-shadow: inset 0 3px 0 #ffd596, 0 5px 0 #bc4a2b, 0 0 0 6px #fff2b199, 0 6px 22px #ca762966;
  text-shadow: 0 2px 0 #c15c35;
}
.next-node .node-circle:before { border: 3px solid #fff1a6; inset: -13px; }
.node-caption {
  margin-top: 11px; padding: 7px 13px 5px; border: 2px solid #edc37c; border-radius: 12px;
  background: linear-gradient(#fffdf1, #fff1cd); color: #995c2a;
  box-shadow: 0 3px 0 #bd8b4c55; backdrop-filter: none;
}
.node-caption > b { font-size: 14px; font-weight: 900; letter-spacing: .5px; }
.locked .node-caption { color: #7c866c; background: #f5f1d8dc; border-color: #d0c79f; }
.node-stars { margin-top: 5px; gap: 3px; }
.star { opacity: .38; }
.star.earned { filter: drop-shadow(0 1px 0 #cc8d32); }
.node-flag {
  top: -37px; padding: 8px 13px; color: #fff; background: linear-gradient(#85cc53, #5aaf38);
  border: 2px solid #dcf59e; border-radius: 9px; box-shadow: 0 3px 0 #49852d66; font-weight: 900;
}
.node-flag:after { border-top-color: #62b43b; bottom: -7px; }
.map-chest > span {
  padding: 5px 10px; border: 1px solid #dfb472; background: #fff7dfed; color: #9f6a2f;
  box-shadow: 0 2px 0 #b17b3b33; font-size: 11px; font-weight: 800;
}
.map-stall { left: 58px; bottom: 86px; width: 310px; height: 220px; }
.map-stall > svg { width: 310px; height: 220px; filter: drop-shadow(0 8px 3px #8e703f33); }
.stall-shop {
  left: 55px; bottom: 1px; padding: 11px 17px; background: linear-gradient(#fff4cd, #ffd58a);
  color: #a15d2d; border: 2px solid #fff5cc; border-radius: 12px;
  box-shadow: 0 4px 0 #ca9144; font-size: 13px; font-weight: 900;
}
.map-cat { left: 1060px; bottom: 81px; }
.map-cat > svg { width: 143px; height: 164px; transform: none; filter: drop-shadow(0 5px 3px #b47a3d33); }
.cat-speech {
  right: 105px; bottom: 77px; width: 207px; padding: 13px 17px; border: 2px solid #efbd68;
  border-radius: 18px 18px 3px 18px; color: #996335; background: #fffdf0; transform: none;
  box-shadow: 0 4px 0 #b68a4533; font-size: 13px; font-weight: 700;
}
.map-footer {
  height: 77px; padding: 0 35px; border-top: 3px solid #fff6d4;
  background: linear-gradient(#ffe4b4, #f2c57d); box-shadow: 0 -4px 0 #cb8d4b;
}
.footer-notes { color: #987044; font-size: 11px; letter-spacing: .5px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; background: #74b344; box-shadow: 0 0 0 2px #effbc3; }
.footer-actions { gap: 19px; }
.footer-actions .text-button { color: #98582f; font-weight: 800; }

/* Gameplay: open sky, generous customer art, tidy vertical order tickets. */
.game-screen { color: #654126; }
.game-scene { inset: 0 0 auto; height: 390px; overflow: hidden; }
.game-scene > svg { width: 100%; height: 100%; }
.game-shade {
  background: linear-gradient(180deg, #fff1c211 0%, transparent 40%, #e9c49320 48%, #e9c493 49%);
}
.game-header {
  height: 80px; padding: 8px 27px; color: #fff9e2; z-index: 4;
  background: linear-gradient(#f98452, #e9693e 47%, #d95332 51%, #d84e31);
  border-top: 3px solid #ffca72; border-bottom: 4px solid #ffd788;
  box-shadow: inset 0 2px 0 #ffb17a, 0 3px 0 #a8542e66;
}
.level-tag { gap: 12px; min-width: 290px; }
.level-tag .brand-seal { width: 43px; height: 45px; border-color: #ffe9ad; background: linear-gradient(#ffcf76, #ee9d39); color: #b14b27; text-shadow: 0 1px 0 #ffe6a3; }
.level-tag small { color: #fff0c0; font-size: 11px; font-weight: 700; margin-bottom: 5px; letter-spacing: .5px; text-shadow: 0 1px 0 #b64f2b; }
.level-tag b { font-size: 24px; line-height: 1; text-shadow: 0 2px 0 #af4327; }
.level-tag b > span { font-size: 14px; font-weight: 800; margin-left: 9px; }
.goal-hud {
  width: 405px; height: 65px; margin: 0; padding: 7px 17px 6px;
  background: linear-gradient(#b74628, #ce6335); border: 2px solid #ffcb78; border-radius: 16px;
  box-shadow: inset 0 2px 5px #863b2d44, 0 2px 0 #b84b2b;
}
.goal-hud > div:first-child { margin-bottom: 5px; font-size: 11px; letter-spacing: .5px; font-weight: 700; }
.goal-hud strong { color: #fff5bf; font-size: 17px; text-shadow: 0 1px 0 #ae4a29; }
.goal-track { height: 11px; background: #923c2d; border: 1px solid #ffc777; box-shadow: inset 0 2px 3px #6f332c66; }
.goal-track > i { background: linear-gradient(#ffe687, #f9bd2e); box-shadow: inset 0 2px 0 #fff4b8; }
.achieved .goal-track > i { background: linear-gradient(#c3ee77, #72bd3b); }
.achieved strong { color: #edffb3; }
.combo-hud { margin-top: 5px; gap: 10px; }
.combo-hud > span { color: #ffdfb0; font-size: 9px; font-weight: 700; }
.combo-hud i { background: #a54a2e; border: 1px solid #db8e50; width: 19px; height: 6px; }
.combo-hud i.lit { background: #fff2a2; border-color: #fff9c9; box-shadow: 0 0 6px #ffdf77; }
.game-header-right { gap: 17px; min-width: 230px; justify-content: flex-end; }
.customer-count {
  width: 103px; height: 58px; gap: 5px; padding: 5px 12px; border: 2px solid #ffd686;
  border-radius: 15px; background: linear-gradient(#fff5cc, #ffd585); color: #b66a29;
  box-shadow: inset 0 2px 0 #fff9df, 0 3px 0 #b8522b;
}
.customer-count small { color: #b27634; font-size: 9px; font-weight: 800; line-height: 1; }
.customer-count b { font-family: "Trebuchet MS", sans-serif; font-size: 25px; color: #b16b26; }
.customer-count > span { font-size: 10px; font-weight: 800; }
.game-header .icon-button { width: 52px; height: 52px; border-radius: 15px; color: #ad6027; }
.awning {
  height: 30px; border-bottom: 3px solid #c27443; color: #a34e2d;
  background: repeating-linear-gradient(90deg, #fff2cf 0px, #fff2cf 52px, #f08c60 52px, #f08c60 104px);
  box-shadow: 0 5px 8px #a86b3440; z-index: 3;
}
.awning:before { background: linear-gradient(#fff6cf66, transparent 48%, #b75e3133); }
.awning > span {
  background: linear-gradient(#fff4ca, #ffdc92); color: #a65b2b; border: 2px solid #e9ab54;
  border-radius: 0 0 10px 10px; font-size: 14px; font-weight: 900; letter-spacing: 2px;
  padding: 4px 32px 5px; transform: translateY(3px); box-shadow: 0 3px 0 #b9803d55;
}
.awning small { right: 28px; padding: 3px 8px; background: #fff3d1d9; color: #b4733e; border-radius: 6px; font-size: 10px; font-weight: 700; }
.customer-row { height: 250px; gap: 12px; padding: 0 24px; z-index: 2; }
.customer { overflow: visible; }
.customer-person { left: auto; right: 12px; bottom: -8px; transform: none; }
.customer-person > svg { width: 220px; height: 248px; filter: drop-shadow(2px 5px 3px #826e3b26); }
.order-bubble {
  left: 3px; right: auto; top: 15px; bottom: auto; transform: none;
  width: 83px; min-width: 83px; min-height: 86px; height: auto; max-height: 218px;
  padding: 6px 5px; gap: 1px; flex-direction: column; border: 2px solid #e79352;
  border-radius: 12px; background: linear-gradient(90deg, #fff9e9, #fffefa 45%, #fff3d9);
  box-shadow: inset 0 2px 0 #fff, 0 4px 0 #c5894d44, 0 7px 10px #856c4133;
}
.order-bubble:after {
  left: auto; right: -8px; top: 42px; bottom: auto; width: 12px; height: 12px;
  transform: rotate(-45deg); background: #fff3dc; border: 0;
  border-right: 2px solid #e79352; border-bottom: 2px solid #e79352;
}
.order-item { width: 67px; height: 65px; display: grid; place-items: center; }
.order-item > svg { width: 69px; height: 66px; filter: drop-shadow(0 2px 1px #aa753d22); }
.order-item.delivered > svg { opacity: .29; filter: saturate(.5); }
.order-item > i > svg { width: 29px; height: 29px; padding: 4px; border: 2px solid #e4fbb4; background: linear-gradient(#a6d951, #64b13a); color: #fff; box-shadow: 0 2px 0 #4a8c2f; }
.patience-meter {
  right: 1px; bottom: 39px; width: 12px; height: 117px; border: 2px solid #fff5c8;
  border-radius: 9px; background: #a2a475; box-shadow: 0 2px 0 #a1864b55; z-index: 3;
}
.patience-meter > i { box-shadow: inset 3px 0 #ffffff55; }
.customer-place {
  right: 34px; bottom: 8px; padding: 4px 10px; min-width: 149px; text-align: center;
  background: #fff8d9dc; border: 1px solid #eab66b; color: #a6763b; font-size: 9px; font-weight: 800;
  box-shadow: 0 2px 0 #a7753030; letter-spacing: .5px;
}
.impatient .order-bubble { border-color: #f07c51; box-shadow: 0 0 0 3px #ffd17688, 0 4px 0 #c5894d44; }
.empty-customer > span {
  position: absolute; bottom: 15px; right: 35px; font-size: 10px; color: #8e995e; margin: 0;
  background: #ffffdd99; border: 1px dashed #b7bc7e; border-radius: 13px; padding: 5px 10px; letter-spacing: .5px;
}
.empty-silhouette { display: none; }
.counter-rail {
  height: 26px; border-top: 8px solid #fff1cb; border-bottom: 5px solid #b75d32;
  background: linear-gradient(#e69a58, #c8733c); box-shadow: 0 3px 0 #ffe1a5, 0 6px 6px #9c592d55; z-index: 4;
}
.counter-rail:before { content: ''; position: absolute; left: 0; right: 0; top: -8px; border-top: 2px solid #fffdf0; }
.counter-rail > span { color: #fff6d0; font-size: 8px; letter-spacing: 6px; font-weight: 800; text-shadow: 0 1px 0 #99552c; }

/* Shiny equipment and appetising dishes on a honey-wood work surface. */
.kitchen {
  height: 354px; padding: 13px 24px 12px; gap: 18px; grid-template-columns: 1.05fr 1.2fr .63fr;
  background: linear-gradient(90deg, #e6b77a88, #f8d6a080 45%, #e2aa6a66),
    repeating-linear-gradient(0deg, #f0c38c 0px, #f0c38c 62px, #dda66d 63px, #f9d6a6 65px);
  border-top: 3px solid #fce3b4; box-shadow: inset 0 5px 8px #9d673333; z-index: 3;
}
.station-title { height: 24px; margin-bottom: 8px; color: #a56b35; }
.station-title > b { font-family: "Trebuchet MS", sans-serif; font-size: 11px; color: #b98446; }
.station-title > b > span { font-size: 14px; color: #995527; letter-spacing: .5px; margin-left: 5px; text-shadow: 0 1px 0 #ffebbf; }
.station-title > small { font-size: 10px; color: #a67544; font-weight: 700; }
.griddle {
  height: 206px; grid-template-rows: repeat(2, 86px); gap: 6px; padding: 8px 12px;
  border: 6px solid #a8b4b5; border-top-color: #e0e8e6; border-left-color: #cbd4d0; border-bottom-color: #7f9494;
  border-radius: 16px; background: linear-gradient(145deg, #7a8b8c, #4f6266 45%, #768b8c);
  box-shadow: 0 5px 0 #657773, 0 7px 0 #c7955d55, inset 0 0 0 2px #d3ddcf77, inset 0 5px 9px #263b3e44;
}
.griddle-slot {
  height: 86px; border: 1px solid #a6b7ac; border-radius: 9px;
  background: radial-gradient(ellipse, #647879 0%, #43595e 72%, #3c5156);
  box-shadow: inset 0 3px 5px #20323855, 0 1px 0 #d6dfc466;
}
.griddle-slot > svg { width: 125px; height: 99px; filter: drop-shadow(0 4px 2px #22353255); }
.griddle-slot.cooking > svg { animation: sizzle .3s infinite alternate; }
.griddle-slot > kbd {
  left: 5px; bottom: 5px; font-size: 9px; color: #e7eee1; background: #334a4e99;
  border: 1px solid #a5b5a26b; border-radius: 4px; padding: 1px 4px;
}
.griddle-cross { color: #a8b9b180; font-size: 24px; text-shadow: 0 2px 0 #273d3d55; }
.griddle-slot.locked { opacity: .55; background: linear-gradient(135deg, #7a8b88, #536766); border-color: #c1cbbb; }
.griddle-slot.locked > svg { width: 26px; height: 26px; color: #d8e0cc; filter: none; }
.cook-ring {
  bottom: 11px; right: 6px; width: 7px; height: 60px; border: 1px solid #e9ecd5; border-radius: 5px;
  background: linear-gradient(0deg, #95ce5a var(--progress), #233c4277 var(--progress));
  box-shadow: 0 1px 3px #1d343844;
}
.ready .cook-ring { background: linear-gradient(#d6f3a0, #85c549); }
.danger .cook-ring { background: linear-gradient(#ffd570, #f16f42); }
.cook-status {
  right: 17px; bottom: 3px; color: #efffc6; background: #375b51ed; border: 1px solid #9ebf80;
  padding: 2px 7px; font-size: 10px; border-radius: 6px; font-weight: 700;
}
.burnt .cook-status, .danger .cook-status { color: #fff1bb; background: #b85132; border-color: #ffc66b; }
.steam { top: -2px; border-color: #ffffffbf; filter: drop-shadow(0 1px 0 #60716e33); }
.ingredient {
  min-height: 76px; padding: 5px 12px; gap: 10px; color: #98592d;
  border: 2px solid #e6aa60; border-top-color: #fff5cd; border-left-color: #f2c689; border-radius: 12px;
  background: linear-gradient(#fff7da 0%, #ffefc8 60%, #f4d19d 100%);
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #c48b4d, 0 6px 6px #aa733533;
}
.ingredient b { font-size: 15px; font-weight: 900; color: #975426; text-shadow: 0 1px 0 #fff8dc; }
.ingredient small { margin-top: 5px; font-size: 10px; color: #b4854b; font-weight: 700; letter-spacing: .5px; }
.ingredient kbd { color: #aa8248; border-color: #dcbb80; background: #fffbdf; font-size: 10px; }
.ingredient:disabled { opacity: .63; filter: saturate(.45); }
.raw-ingredient { height: 76px; min-height: 76px; margin-top: 12px; background: linear-gradient(#fff9dc, #ffe6b7 65%, #f2cb8f); }
.raw-ingredient > span > svg { width: 96px; height: 69px; filter: drop-shadow(0 3px 1px #c1925344); }
.plates { height: 206px; grid-template-rows: repeat(2, 100px); gap: 6px 11px; }
.plate-slot {
  height: 100px; border: 2px solid #d99f5a; border-top-color: #fff2bf; border-radius: 11px;
  padding: 3px 5px 14px; background: linear-gradient(135deg, #fff0cb, #ffe2af 55%, #f5d19a);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #ba8449, 0 4px 7px #a9743c22;
}
.plate-dish {
  width: 174px; height: 70px; border: 3px solid #f5f0dc; border-radius: 50%;
  background: radial-gradient(ellipse, #fffef6 0%, #f9f8ea 60%, #fffefb 62%, #e5e9de 75%, #fffef5 80%);
  box-shadow: 0 4px 0 #c6bf9a, 0 6px 5px #9d804344, inset 0 0 0 4px #fffdf2, inset 0 0 0 6px #dcbe7844;
}
.plate-dish > svg { width: 145px; height: 98px; filter: drop-shadow(0 3px 2px #a9804b2e); }
.plate-slot.full .plate-dish > svg { width: 158px; height: 116px; }
.plate-slot.empty .plate-dish {
  background: radial-gradient(ellipse, #fffef6 48%, #eef0e1 65%, #fffef4 75%);
  box-shadow: 0 4px 0 #c8c09d, 0 6px 5px #9d804333, inset 0 0 0 4px #fffdf1, inset 0 0 0 6px #e0c98955;
}
.plate-doodle { color: #d7bb7d; opacity: .6; font-size: 25px; }
.plate-slot > small {
  position: absolute; bottom: 4px; left: 0; right: 0; z-index: 4; margin: 0;
  color: #a06f38; font-size: 11px; line-height: 14px; font-weight: 800; text-align: center;
  text-shadow: 0 1px 0 #fff5d6;
}
.plate-slot > kbd {
  left: 6px; bottom: 7px; background: #fff8dd; color: #ae8247; border: 1px solid #d8b278;
  border-radius: 4px; padding: 2px 4px; font-size: 10px; box-shadow: 0 1px 0 #fff;
}
.plate-slot.locked { opacity: .57; filter: saturate(.45); }
.plate-slot.locked .plate-dish { background: #ead8ac; border: 2px dashed #c4aa75; box-shadow: inset 0 2px 3px #c0a56c33; }
.plate-slot.locked svg { width: 28px; height: 28px; color: #c3a165; }
.toppings { gap: 11px; margin-top: 12px; }
.toppings .ingredient { height: 76px; min-height: 76px; padding: 4px 9px 4px 8px; gap: 8px; }
.toppings .ingredient > span > svg { width: 46px; height: 48px; filter: drop-shadow(0 2px 0 #b0b86644); }
.toppings .ingredient b { font-size: 14px; }
.toppings .ingredient small { font-size: 10px; }
.cheese-wedge { width: 41px; height: 37px; border-color: #d89a38; background: linear-gradient(130deg, #fff0a3, #ffd558 50%, #efb239); filter: drop-shadow(0 3px 1px #c18c3d44); }
.tea-station { padding-left: 17px; border-left: 2px solid #fce4b7; box-shadow: -1px 0 0 #cf9a5d; }
.tea-dispenser { height: 140px; width: 132px; margin-top: 0; }
.tea-lid {
  left: 1px; right: 1px; height: 15px; border: 2px solid #bd8c4c; border-radius: 9px;
  background: linear-gradient(#fff5c7, #d8b374); box-shadow: inset 0 2px 0 #fffce1;
}
.tea-lid:before { left: 47px; width: 30px; top: -8px; height: 8px; border: 2px solid #b48a50; background: linear-gradient(#f8dfab, #ca9f60); border-bottom: 0; }
.tea-body {
  left: 6px; right: 6px; top: 10px; bottom: 8px; padding-top: 7px;
  border: 2px solid #b58a54; border-radius: 4px 4px 16px 16px;
  background: linear-gradient(90deg, #b7793c 0%, #e5b66f 16%, #f2cc88 30%, #c68a43 70%, #996332 100%);
  box-shadow: inset 5px 0 0 #fff3ca88, inset -4px 0 0 #9d6b3e44, 0 3px 0 #b68c50;
}
.tea-body > span { color: #fff8d8; font-size: 8px; text-shadow: 0 1px 0 #a4783c; }
.tea-body > b { color: #c35a31; background: linear-gradient(#fffcef, #ffe9b7); border: 2px solid #d4a45e; font-size: 16px; line-height: 1.1; padding: 4px 15px; border-radius: 6px; box-shadow: 0 2px 0 #af814b55; }
.tea-body > small { color: #8e5e2d; font-size: 7px; letter-spacing: 2px; }
.tea-tap { bottom: 0; left: 53px; width: 29px; height: 17px; background: linear-gradient(#d1dfd5, #93aaa4); border: 2px solid #718d82; border-radius: 5px; box-shadow: 0 2px 0 #a68a55; }
.tea-tap:before { background: linear-gradient(#e6f0e3, #9bb7a8); border: 2px solid #7f9a8d; }
.tea-tray {
  height: 107px; min-height: 107px; padding: 4px; gap: 1px; margin-top: 10px; border: 2px solid #d1a15d;
  border-top-color: #fff4c5; border-radius: 12px; background: linear-gradient(#fff5d4, #f5d8a0);
  box-shadow: inset 0 2px 0 #fff, 0 3px 0 #bd8a46;
}
.tea-cup { height: 95px; min-width: 57px; flex: 1; border-radius: 7px; }
.tea-cup > svg { width: 77px; height: 96px; filter: drop-shadow(0 4px 2px #a1804440); }
.cup-outline { width: 36px; height: 56px; border-color: #d5b47c; border-width: 2px; background: #fff5d130; }
.tea-refill { margin-top: 10px; font-size: 10px; font-weight: 800; color: #a47336; gap: 7px; }
.tea-refill > div { height: 7px; border: 1px solid #fff1bc; background: #c7aa73; border-radius: 5px; }
.tea-refill i { background: linear-gradient(#bfe77b, #78b743); }
.tea-refill > kbd { color: #ac8145; border-color: #d9b678; background: #fff3d0; }
.game-footer {
  height: 40px; padding: 0 27px; gap: 24px; border-top: 3px solid #ffebbb;
  background: linear-gradient(#e7b271, #d89a57); color: #fff8df;
  box-shadow: inset 0 2px 0 #bf8343; font-size: 11px; font-weight: 700;
}
.game-footer > span { gap: 6px; color: #805525; text-shadow: 0 1px 0 #f2d49a; }
.game-footer b { color: #8d4e24; font-size: 15px; }
.game-footer .game-tip { font-size: 10px; color: #94612f; font-weight: 700; text-shadow: none; }
.game-footer > button { color: #895127; font-size: 10px; font-weight: 800; }

/* Friendly tutorial and brightly framed shop / result screens. */
.tutorial-card {
  left: 350px; top: 302px; width: 580px; min-height: 78px; padding: 7px 18px 8px 10px; gap: 10px;
  background: linear-gradient(#fffdf0, #fff0c7); border: 3px solid #f3b456; border-radius: 16px;
  color: #97592d; box-shadow: 0 4px 0 #c0844355, 0 7px 13px #a3743933; z-index: 20;
}
.tutorial-card > svg { width: 65px; height: 65px; filter: drop-shadow(0 2px 1px #b9955133); }
.tutorial-card small { font-size: 9px; margin-bottom: 4px; color: #b8863d; font-weight: 800; letter-spacing: 1px; }
.tutorial-card b { font-size: 16px; color: #a95a2f; }
.tutorial-card p { font-size: 11px; color: #aa7d43; margin: 4px 0 0; line-height: 1.4; font-weight: 700; }
.tutorial-card > button { right: 10px; top: 8px; font-size: 9px; color: #b38a50; }
.tutorial-target { outline-color: #fff39a !important; box-shadow: 0 0 0 7px #ffc84b88, 0 0 20px #fff6a999 !important; }
.tutorial-target:after { background: linear-gradient(#ffed9d, #ffc857); color: #9c5a27; border: 1px solid #fff5be; border-radius: 7px; font-size: 11px; padding: 5px 11px; box-shadow: 0 2px 0 #c1883b; }
.floating-text { top: 310px; color: #fff49a; text-shadow: 0 2px 0 #ad6b25, 2px 0 0 #ad6b25, -2px 0 0 #ad6b25, 0 -1px 0 #ad6b25, 0 5px 5px #a5743d55; font-size: 29px; }
.floating-text.combo { top: 270px; color: #ffeb72; font-size: 34px; }
.overlay { background: #6b572b77; backdrop-filter: blur(4px); }
.modal {
  background: linear-gradient(#fffef5, #fff3d4); color: #88512c; border: 4px solid #efb565;
  border-radius: 25px; box-shadow: inset 0 3px 0 #fff, 0 7px 0 #b8793e, 0 18px 40px #71502c55;
}
.modal:before { left: 25px; right: 25px; top: 9px; background: #fff6cd; }
.modal-close { width: 35px; height: 35px; right: 13px; top: 13px; border: 2px solid #fff0c3; border-radius: 11px; background: linear-gradient(#ffb66f, #ed854a); color: #fff; box-shadow: 0 3px 0 #be7139; }
.modal-eyebrow { color: #bf843c; font-size: 12px; font-weight: 800; }
h2 { color: #a6532b; font-size: 30px; text-shadow: 0 2px 0 #fff8df; }
.modal-subtitle { color: #ad8251; font-size: 13px; }
.stage-picker button { border: 2px solid #efce91; border-radius: 13px; padding: 14px 5px; background: linear-gradient(#fffaf0, #ffeac1); box-shadow: 0 3px 0 #d6b274; }
.stage-picker button.selected { padding: 14px 5px; border: 2px solid #eba33d; background: linear-gradient(#fff0b1, #ffce69); box-shadow: inset 0 2px 0 #fff8d1, 0 4px 0 #cc8c34; }
.stage-picker span { color: #a3662d; font-size: 14px; }
.stage-picker small { color: #b38b53; }
.level-facts { background: #fff1cf; border-top-color: #edce97; border-bottom-color: #edce97; }
.level-facts > div + div { border-left-color: #ecd099; }
.level-facts small { color: #b59159; font-weight: 700; }
.level-facts b { color: #b37329; }
.menu-mini { height: 41px; }
.menu-mini svg { width: 42px; height: 42px; }
.section-label { color: #a57437; font-size: 13px; }
.section-label span { color: #b99a68; }
.booster { background: linear-gradient(#fffdf0, #ffedc9); border: 2px solid #e9ca8e; border-radius: 13px; padding: 12px 8px; box-shadow: 0 3px 0 #ddbb82; }
.booster b { color: #a27339; font-size: 13px; }
.booster small { color: #b0915d; }
.booster.chosen { background: linear-gradient(#f3ffd8, #dcefba); border-color: #95c25d; box-shadow: 0 3px 0 #7ca74d; }
.booster.chosen:before { color: #6ea347; }
.modal .currency { background: linear-gradient(#fffbdc, #ffe3a2); color: #a46b2a; border-color: #edc778; height: 35px; }
.upgrade-card { background: linear-gradient(#fff9df, #ffedc7 65%, #f2d39f); border: 2px solid #e4b872; border-top-color: #fff5ce; border-radius: 12px; box-shadow: 0 4px 0 #cda16b; }
.upgrade-card > b { color: #9d6530; font-size: 14px; }
.upgrade-card > small { color: #b58b55; font-size: 10px; }
.upgrade-art > span { background: linear-gradient(#f9de9e, #ebbd6a); color: #a6712c; border: 1px solid #f9ebbe; font-weight: 900; }
.upgrade-value { color: #84a044; font-size: 11px; font-weight: 700; }
.upgrade-price { background: linear-gradient(#ffe29b, #f1c365); border: 1px solid #fff3bf; color: #9c682c; font-size: 12px; font-weight: 800; border-radius: 6px; }
.upgrade-card.recommended { border-color: #a3c56a; }
.upgrade-card.recommended:before { background: linear-gradient(#a6d962, #7bb348); color: #fff; border: 1px solid #e5f7ba; border-radius: 6px; font-size: 9px; text-shadow: 0 1px 0 #629036; }
.upgrade-card.future { opacity: .56; color: #af915c; background: #f7eac8; }
.upgrade-compare > div { background: linear-gradient(#fff8df, #fbe9be); border: 2px solid #eac489; border-radius: 15px; }
.upgrade-compare small { color: #b68c54; }
.upgrade-compare strong { color: #9d6c2c; }
.setting-rows > button { color: #a06d37; border-bottom-color: #efd9ab; font-weight: 700; }
.toggle { background: #c9bc96; box-shadow: inset 0 2px 3px #8d7d5933; }
.toggle.on { background: linear-gradient(#a2d55a, #79b642); }
.toggle:after { background: linear-gradient(#fffef4, #f4e9c7); box-shadow: 0 1px 2px #71844544; }
.help-steps > div { background: linear-gradient(#fffdf0, #fff0cf); border: 2px solid #edca8d; border-radius: 15px; }
.help-steps b { color: #a86f36; font-size: 14px; }
.help-steps p, .help-tips { color: #b08a52; }
.help-tips p { border-bottom-color: #e5c99a; }
.keyboard-guide { color: #ba9a66; }
kbd { color: #ac8750; border-color: #e1c496; background: #fff5dc; }
.inline-note, .pause-instructions { color: #b08a58; }
.pause-toggles { border-top-color: #ead3a6; color: #a3763f; }
.result-stats { background: linear-gradient(#fff7dc, #ffebba); border: 2px solid #edc27c; border-radius: 16px; padding: 18px 7px; }
.result-stats > div + div { border-left-color: #eac68b; }
.result-stats small { color: #ba945e; font-weight: 700; }
.result-stats b { color: #bd782e; font-family: "Trebuchet MS", sans-serif; }
.result-stats span { color: #b28f59; }
.result-cat { height: 120px; }
.result-cat > svg { width: 137px; height: 137px; }
.first-reward { color: #a67338; font-weight: 800; }
.unlock-notice { background: linear-gradient(#f2ffdb, #e0efc4); color: #7b9b49; border: 1px solid #b7cf88; border-radius: 12px; }
#opening-banner { background: linear-gradient(#ffe8b3ed, #fff3d6f0); gap: 18px; color: #a35b2c; }
#opening-banner small { color: #c38a37; font-weight: 800; }
#opening-banner b { color: #b95d2e; text-shadow: 0 3px 0 #fff9d7; }
#opening-banner span { color: #b68e55; font-weight: 700; }
#toast { border: 2px solid #f0be6b; border-radius: 13px; background: linear-gradient(#fffdf1, #fff1ca); color: #a16c35; box-shadow: 0 4px 0 #ae7d3c44, 0 7px 20px #8b6a3b44; font-weight: 700; }
@media (orientation: portrait) and (max-width: 800px) {
  .portrait-tip { background: #fff8de; border: 2px solid #f1c171; color: #a7783f; box-shadow: 0 4px 0 #aa804433; }
}




/* v1.2 — Evening chapter and the owner's journal. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.journey { top: 158px; }
.chapter-switch { position: absolute; left: 9px; top: -54px; display: flex; gap: 10px; z-index: 4; }
.chapter-switch button { display: flex; align-items: center; gap: 8px; height: 37px; padding: 0 16px; font-size: 12px; font-weight: 800; color: #8c602e; border: 2px solid #ebc185; border-radius: 13px; background: linear-gradient(#fffef1,#ffe9ba); box-shadow: 0 3px 0 #b2874f; }
.chapter-switch button.selected { color: #fff9e6; border-color: #ffd69b; background: linear-gradient(#f49a59,#dc663d); box-shadow: 0 3px 0 #ac5734, inset 0 2px 0 #ffc391; }
.map-intro p { max-width: 310px; }
.footer-actions { gap: 15px; }
.journal-entry { position: relative; min-height: 43px; padding: 0 18px; }
.claim-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: #d7683b; border: 1px solid #ffd8a6; border-radius: 20px; color: #fff; font-size: 11px; }
.level-rules { padding: 11px 14px; margin: 12px 0 18px; border: 1px solid #eac578; border-radius: 12px; background: linear-gradient(#fff9db,#fff0be); text-align: left; }
.level-rules > b { display: block; color: #975b28; font-size: 12px; margin-bottom: 7px; }
.level-rules > div { display: flex; flex-wrap: wrap; gap: 6px; }
.level-rules span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; background: #fffcf0; border: 1px solid #edd59e; border-radius: 7px; font-size: 11px; font-weight: 700; color: #94622b; }
.level-rules > small { display: block; color: #967144; font-size: 10px; line-height: 1.6; margin-top: 8px; }
.vip-customer .order-bubble { border-color: #e3a61f; box-shadow: 0 4px 0 #c38a2e, 0 0 0 3px #ffecaa9c; background: linear-gradient(#fffef9,#fff1c3); }
.vip-label { position: absolute; top: -14px; left: -2px; right: -2px; z-index: 3; text-align: center; white-space: nowrap; padding: 4px 2px; border: 1px solid #fff1b1; border-radius: 7px; background: linear-gradient(#edbb46,#d9921d); color: #fffef5; font-size: 10px; line-height: 14px; text-shadow: 0 1px 0 #ab721e; box-shadow: 0 2px 0 #b58129; }
.vip-customer .customer-place { color: #945d19; background: #ffe9a8; }
.game-footer .game-tip.challenge-status { padding: 5px 10px; border-radius: 7px; background: #fff3d2; font-size: 11px; color: #7f672b; }
.game-footer .game-tip.rule-warning { color: #b84327; background: #ffe4d3; }
.result-modal { width: 730px; }
.result-modal .result-cat { height: 90px; }
.result-modal .result-cat > svg { width: 106px; height: 106px; }
.result-modal .result-stars { margin: 11px 0; }
.result-modal .result-stats { margin: 15px 0; padding: 13px 7px; }
.result-perfect { display: flex; justify-content: center; align-items: center; gap: 7px; color: #a17219; font-size: 12px; font-weight: 800; flex-wrap: wrap; }
.result-perfect > span { color: #6b923d; font-size: 11px; background: #ecf6d5; padding: 4px 8px; border-radius: 6px; }
.result-journal { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 8px 14px; font-size: 12px; font-weight: 700; border: 1px solid #dbb16b; border-radius: 9px; color: #9a6c29; background: #fff3c8; }
.journal-shortcut { justify-content: center; }
.journal-shortcut > svg { margin: 11px auto; color: #b68b40; }
.journal-modal { width: 1010px; max-height: 726px; padding: 26px 32px 22px; text-align: left; overflow: hidden; }
.journal-heading { display: flex; justify-content: space-between; align-items: center; padding-right: 42px; }
.journal-heading h2 { margin: 4px 0 7px; font-size: 30px; }
.journal-heading .modal-eyebrow { margin-bottom: 5px; }
.journal-heading .modal-subtitle { margin: 0 0 14px; font-size: 12px; }
.journal-mascot { width: 91px; height: 90px; transform: rotate(5deg); }
.journal-tabs { display: flex; gap: 8px; border-bottom: 2px solid #edc589; margin-bottom: 17px; padding-bottom: 10px; }
.journal-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border: 1px solid #eac792; border-radius: 10px; color: #99743e; background: #fff7e3; font-size: 13px; font-weight: 800; }
.journal-tabs button.selected { color: #fff9e8; background: linear-gradient(#eba765,#d98145); border-color: #c98242; box-shadow: inset 0 2px 0 #ffd3a5,0 3px 0 #b66c38; }
.journal-scroll { max-height: 492px; overflow-y: auto; overscroll-behavior: contain; padding-right: 12px; scrollbar-width: thin; scrollbar-color: #d9aa66 #fff1d1; }
.journal-scroll::-webkit-scrollbar { width: 8px; }
.journal-scroll::-webkit-scrollbar-thumb { background: #d9aa66; border-radius: 8px; }
.journal-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0 0 15px; }
.journal-summary > div { position: relative; min-width: 0; padding: 12px 15px 12px 48px; border: 1px solid #ecd09b; background: linear-gradient(#fffdf0,#fff1cc); border-radius: 12px; }
.journal-summary > div > span { position: absolute; left: 15px; top: 22px; }
.journal-summary small { display: block; font-size: 10px; color: #9b7b46; margin-bottom: 5px; }
.journal-summary b { display: block; font-size: 23px; color: #986b28; line-height: 1.1; }
.journal-summary em { margin-left: 7px; font-size: 11px; color: #ab8954; font-style: normal; font-weight: 400; }
.journal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.journal-card { display: grid; grid-template-columns: 48px minmax(0,1fr); column-gap: 11px; border: 2px solid #ead2a5; border-radius: 14px; padding: 15px; background: #fffdf4; box-shadow: 0 3px 0 #ead4aa; }
.journal-card.claimable { border-color: #d8ab4d; background: linear-gradient(#fffdf2,#fff4cc); box-shadow: 0 3px 0 #cfa051; }
.journal-card.claimed { background: #f6f4e7; border-color: #ded8ba; }
.journal-badge { display: grid; place-items: center; height: 48px; border: 1px solid #f3d898; border-radius: 13px; background: #fff3c9; color: #bf9342; }
.journal-card-copy h3 { margin: 3px 0 6px; font-size: 15px; color: #9e6430; }
.journal-card-copy p { margin: 0; min-height: 30px; font-size: 11px; color: #9c825c; line-height: 1.6; }
.journal-progress-label { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #ad8c56; margin: 13px 0 6px; }
.journal-progress-label b { font-size: 11px; font-variant-numeric: tabular-nums; color: #9a7435; }
.journal-progress { grid-column: 1/-1; height: 8px; overflow: hidden; border: 1px solid #ead1a3; background: #efe3c5; border-radius: 8px; }
.journal-progress > i { display: block; height: 100%; background: linear-gradient(#b9da7c,#86b450); border-radius: inherit; }
.journal-card-footer { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.journal-reward { display: flex; gap: 12px; }
.journal-reward > span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #a77c36; }
.journal-claim { display: inline-flex; align-items: center; gap: 5px; min-height: 33px; padding: 6px 12px; background: #eee7d3; border: 1px solid #dcd0b3; border-radius: 8px; color: #a4987d; font-size: 11px; font-weight: 700; }
.journal-claim.ready { background: linear-gradient(#a5d461,#7caf43); border-color: #81a742; box-shadow: 0 2px 0 #689438; color: #fffce9; text-shadow: 0 1px 0 #70953f; }
.journal-footnote { color: #a58a60; font-size: 10px; line-height: 1.7; margin: 15px 0 1px; }
.journal-intro { font-size: 12px; color: #9a7b49; margin: 0 0 14px; }
.recipe-grid { display: grid; gap: 12px; }
.recipe-card { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 17px; padding: 17px; border: 1px solid #e9ca91; border-radius: 15px; background: linear-gradient(100deg,#fff2cb,#fffdf4 35%); }
.recipe-image { position: relative; display: grid; place-items: center; align-self: center; width: 132px; height: 132px; background: radial-gradient(#fffefa,#ffecc3 65%,transparent 66%); }
.recipe-image > svg { width: 126px; height: 126px; }
.recipe-card.locked .recipe-image > svg { filter: grayscale(.6); opacity: .6; }
.recipe-lock { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 33px; height: 33px; background: #f8dfaa; border: 2px solid #fff5db; border-radius: 50%; }
.recipe-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recipe-heading h3 { margin: 0; color: #9c6030; font-size: 17px; }
.recipe-access { display: inline-flex; align-items: center; gap: 4px; color: #8f9e4f; font-size: 10px; }
.recipe-card.locked .recipe-access { color: #a78d65; }
.recipe-copy > p { margin: 7px 0; font-size: 11px; line-height: 1.7; color: #a48457; }
.recipe-ingredients { display: flex; gap: 6px; align-items: center; margin: 10px 0; }
.recipe-ingredients span { padding: 4px 8px; font-size: 10px; border: 1px solid #efdab1; border-radius: 6px; background: #fff6dd; color: #9c7544; }
.recipe-ingredients b { font-size: 11px; color: #c6a675; }
.recipe-method strong { margin-right: 8px; color: #977143; }
.recipe-price { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px dashed #e5cf9e; }
.recipe-price small { font-size: 10px; color: #ac925d; }
.recipe-price b { display: flex; align-items: center; gap: 7px; font-size: 17px; color: #a5712d; }
.record-summary { grid-template-columns: repeat(4,1fr); }
.journal-record-overview { display: flex; align-items: center; gap: 20px; margin: 15px 0; font-size: 12px; color: #a17b37; }
.journal-record-overview > span { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.journal-record-overview > small { margin-left: auto; font-size: 10px; color: #9a8c65; }
.chapter-record { margin: 15px 0; padding: 15px; border: 1px solid #e8c994; border-radius: 14px; background: #fff9e7; }
.chapter-record.locked { background: #f3eddf; }
.chapter-record-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.chapter-record-heading small { font-size: 10px; color: #b0935f; }
.chapter-record-heading h3 { margin: 3px 0 0; font-size: 17px; color: #a26c34; }
.chapter-record-heading > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #b48a3e; }
.node-record-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.node-record { padding: 10px 6px; border: 1px solid #ebd7b0; border-radius: 9px; background: #fffdf5; text-align: center; }
.node-record small { display: block; color: #ac9264; font-size: 9px; margin-bottom: 4px; }
.node-record b { color: #a17c44; font-size: 12px; }
.node-record-stars { display: flex; justify-content: center; gap: 3px; margin: 8px 0; }
.perfect-mark { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: #b7ad8e; }
.perfect-mark svg { filter: grayscale(1); opacity: .5; }
.perfect-mark.earned { color: #bc8c2b; }
.perfect-mark.earned svg { filter: none; opacity: 1; }
.record-section-heading { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
.record-section-heading h3 { margin: 0; color: #9c723b; font-size: 14px; }
.record-section-heading > span { font-size: 10px; color: #a68c62; }
.record-list { border: 1px solid #e8d0a1; border-radius: 10px; overflow: hidden; }
.record-row { display: grid; grid-template-columns: minmax(0,1fr) 300px 110px; align-items: center; gap: 12px; min-height: 65px; padding: 10px 12px; background: #fffcf0; border-bottom: 1px solid #edddba; }
.record-row:last-child { border-bottom: 0; }
.record-row:nth-child(even) { background: #fcf3df; }
.record-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.record-level-id { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 31px; background: #f6e3b8; border-radius: 7px; color: #a4773c; font-size: 11px; font-weight: 800; }
.record-title b { display: block; font-size: 11px; line-height: 1.5; color: #a1763c; }
.record-title small { display: block; font-size: 9px; color: #b59a6c; line-height: 1.5; }
.record-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.record-values small { display: block; font-size: 9px; color: #b29a6e; margin-bottom: 5px; }
.record-values b { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #a77c35; }
.record-values em { font-size: 9px; font-style: normal; }
.record-values .record-empty { grid-column: 1/-1; font-size: 10px; color: #b2a082; }
.record-status { font-size: 10px; color: #b09970; text-align: right; }
.record-status > span { display: inline-flex; align-items: center; gap: 4px; }
.record-status small { display: block; margin-top: 6px; font-size: 9px; }
.journal-shortcut { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.journal-shortcut > svg { margin: 3px auto; }
.journal-shortcut > b, .journal-shortcut > small { align-self: auto; margin: 0; padding: 0; text-align: center; }
.journal-shortcut .upgrade-price { align-self: auto; padding: 5px 12px; margin: 0; }
.journal-modal { display: flex; flex-direction: column; height: 726px; }
.journal-heading, .journal-tabs { flex-shrink: 0; }
.journal-scroll { flex: 1; min-height: 0; max-height: none; }
