:root{--paper:#fff9ed;--ink:#493c31;--muted:#8b7b69;--red:#cb5947;--red-dark:#a84536;--line:#e9dfcc;--mint:#45786a;--cream:#f5e8cd;--shadow:0 5px 0 #e8ddc8;--round:22px;font-family:ui-rounded,"PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#d8c7a144 .8px,transparent .8px);background-size:16px 16px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #347d97;outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip{position:fixed;top:-70px;left:12px;background:var(--ink);color:white;padding:12px;z-index:99}.skip:focus{top:10px}.site-header{max-width:1256px;margin:auto;padding:22px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:2px;font-size:18px}.brand-mark{width:44px;height:44px;border-radius:13px;background:var(--red);color:var(--paper);display:grid;place-items:center;font-size:25px;transform:rotate(-5deg);box-shadow:0 3px 0 #ab483b}.brand small{display:block;font-size:8px;letter-spacing:1.9px;color:var(--muted);margin-top:4px}nav{display:flex;align-items:center;gap:29px;font-size:13px;font-weight:700}.nav-active{color:var(--red);position:relative}.nav-active:after{content:"";position:absolute;width:18px;height:3px;background:var(--red);border-radius:3px;bottom:-13px;left:calc(50% - 9px)}.text-button{border:0;background:none;padding:8px 0;color:var(--muted);font-size:12px;line-height:1.5}.text-button:hover{color:var(--red)}.sound-button{display:flex;gap:7px;align-items:center;border:1px solid var(--line);background:#fffdf6;padding:9px 13px;border-radius:25px;font-size:12px;color:var(--muted)}#sound-icon{font-size:18px}.page{max-width:1172px;margin:auto;padding:36px 0 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:12px;color:var(--mint);letter-spacing:2px;font-weight:800;display:flex;gap:8px;align-items:center;margin:0 0 10px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--mint)}h1{font-size:46px;letter-spacing:1px;margin:0 0 12px;line-height:1.3;font-weight:950}h1>span{color:var(--red)}.title-spark{font-size:28px;display:inline-block;transform:rotate(12deg);vertical-align:top;margin:0 0 0 12px;position:relative;top:-3px}.intro-copy{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.mobile-break{display:none}.intro-stamp{text-align:center;background:#edf1e1;border:1px solid #d8e1c7;padding:14px 22px;border-radius:13px;transform:rotate(3deg);font-size:12px;letter-spacing:.5px;font-weight:800;color:#62806b;margin:15px 14px 0}.intro-stamp>span{font-size:15px;padding:0 5px}.intro-stamp small{display:block;font-size:10px;font-weight:500;margin-top:7px;letter-spacing:1px}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:28px;align-items:start}.game-column{background:#fffdf7;border:1px solid var(--line);border-radius:var(--round);box-shadow:var(--shadow);overflow:hidden}.game-topline{display:flex;align-items:center;justify-content:space-between;padding:18px 24px 16px}.game-topline h2{font-size:13px;display:flex;align-items:center;gap:8px;margin:0;font-weight:800}.live-dot,.local-dot{display:inline-block;width:7px;height:7px;background:#88a47d;border-radius:50%}.live-dot.playing{background:var(--red);box-shadow:0 0 0 4px #cb594715}.level-tag{background:#f4eedf;color:#927f60;padding:5px 10px;border-radius:6px;font-size:10px;letter-spacing:.5px}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.12fr;padding:0 20px 19px}.stat{text-align:center;border-right:1px dashed var(--line)}.stat:last-child{border:0}.stat-label{display:block;font-size:10px;color:var(--muted);letter-spacing:1px;margin-bottom:7px}.stat strong{display:block;font-size:31px;line-height:1;font-weight:850;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.stat strong>span{font-size:10px;letter-spacing:0;margin-left:4px;font-weight:600;color:var(--muted)}.stat .combo-number{color:#d69643}.stat .combo-number>span{font-size:8px;margin-left:5px;color:#ad8858}.lives-stat strong>span{font-size:23px;color:#d56959;letter-spacing:3px;margin:0}.lives-stat .lost{color:#e9dfd3}.stat.urgent strong,.stat.urgent strong>span{color:var(--red)}.stall{position:relative;background:#f9edd7;min-height:304px;border-top:1px solid #d9cdb6;overflow:hidden;background-image:linear-gradient(0deg,#e7d7b035 1px,transparent 1px);background-size:100% 29px}.awning{height:55px;background:repeating-linear-gradient(90deg,#d36350 0 34px,#fff1d4 34px 68px);display:flex;justify-content:center;align-items:center;position:relative;box-shadow:0 5px 9px #84613d15}.awning:after{content:"";position:absolute;top:100%;left:0;right:0;height:11px;background:radial-gradient(circle at 17px 0,#d36350 17px,transparent 17.5px) 0 0/68px 18px repeat-x,radial-gradient(circle at 17px 0,#fff1d4 17px,transparent 17.5px) 34px 0/68px 18px repeat-x}.stall-sign{background:#fff8e8;border:2px solid #ad5944;border-radius:7px;padding:6px 22px;font-size:16px;font-weight:900;letter-spacing:5px;transform:rotate(-2deg);box-shadow:0 2px 0 #9b433a25;z-index:1}.stall-sign-small{background:#fff5df;border:1px solid #d6b994;border-radius:4px;padding:5px 8px;font-size:8px;letter-spacing:1px;position:absolute;right:25px;transform:rotate(5deg)}.lantern{position:absolute;width:31px;height:48px;top:54px;z-index:1;transform-origin:top;animation:sway 5s ease-in-out infinite}.lantern-left{left:12px}.lantern-right{right:12px;animation-delay:-2s}.order-heading{display:flex;align-items:center;justify-content:space-between;padding:30px 34px 14px;font-size:11px;font-weight:800}.order-heading>span:last-child{font-size:10px;color:#a08d6d;font-weight:500}.order-heading>span>span{font-size:14px;margin-right:5px}.orders{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:12px;padding:0 32px 0;align-items:center}.order-card{background:#fffdf3;border:1px solid #dfd1b7;border-radius:13px;padding:10px 8px 11px;text-align:center;position:relative;box-shadow:0 3px 0 #d7c8a448;transition:transform .18s}.order-card.current{border:2px solid var(--red);background:#fffaf0;transform:translateY(-3px)}.order-card.upcoming{opacity:.67;transform:scale(.94)}.order-tag{font-size:9px;color:#9a8769;letter-spacing:1px}.current .order-tag{color:var(--red);font-weight:800}.order-card svg{width:69px;height:69px;display:block;margin:3px auto 2px}.order-card strong{font-size:12px;font-weight:800;display:block}.order-quantity{font-size:10px;color:#9a8769;font-weight:500;margin-left:5px}.patience{height:5px;background:#eee0c5;border-radius:8px;margin:11px 4px 1px;overflow:hidden}.patience-fill{height:100%;width:100%;background:#7f9f82;border-radius:8px;transform-origin:left}.current .order-callout{position:absolute;top:23px;left:-19px;border:1px solid #d2b499;border-radius:50%;background:#fff9ec;font-size:23px;color:#ad765a;width:35px;height:35px;line-height:32px;transform:rotate(-10deg)}.upcoming .patience{visibility:hidden}.welcome{display:flex;align-items:center;justify-content:center;gap:10px;margin:15px 16px 4px}.welcome-icon{font-size:28px;color:#bd8d48}.welcome strong{font-size:13px}.welcome p{font-size:10px;color:#9c8766;margin:4px 0}.service-message{min-height:38px;text-align:center;font-size:11px;color:#9b7859;padding:10px 24px 14px;line-height:1.6}.service-message.success{color:#477e69;font-weight:800}.service-message.error{color:var(--red);font-weight:800}.counter-edge{height:10px;background:#c99264;border-top:3px solid #dba675;border-bottom:2px solid #b07c50}.menu-tray{padding:17px 22px 15px;background:#fffdf7}.menu-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 13px}.menu-heading h3{font-size:12px;margin:0;letter-spacing:1px}.menu-heading h3>span{font-size:10px;letter-spacing:0;font-weight:500;color:var(--muted);margin-left:8px}.keyboard-tip{font-size:9px;color:#a3947f}kbd{font-family:inherit;border:1px solid #ded4c2;background:#f9f4e9;border-bottom-width:2px;border-radius:4px;min-width:16px;height:17px;display:inline-grid;place-items:center;font-size:9px}.food-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.food-button{border:1px solid #e8deca;border-bottom:3px solid #ddd1b7;border-radius:13px;background:#f8f2e5;padding:7px 3px 10px;position:relative;transition:background .15s,transform .15s,box-shadow .15s;min-height:113px}.food-button:disabled{opacity:.8}.food-button:not(:disabled):hover{transform:translateY(-4px);background:#fff4dc;border-color:#cfb991;box-shadow:0 5px 10px #9d784717}.food-button:not(:disabled):active,.food-button.pressed{transform:translateY(2px);border-bottom-width:1px;box-shadow:none}.food-button svg{width:66px;height:66px;max-width:100%;display:block;margin:0 auto 2px}.food-button .food-name{display:block;font-size:10px;font-weight:800;white-space:nowrap}.food-button kbd{position:absolute;top:5px;left:5px;background:#fffaf0;font-size:8px;color:#a18d70;min-width:14px;height:14px}.game-actions{padding:2px 22px 13px;text-align:center}.button{border:1px solid transparent;border-radius:12px;min-height:48px;padding:13px 22px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .15s,background .15s;letter-spacing:.5px}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--red);color:#fff9ec;border-color:#b44d3d;box-shadow:0 3px 0 #a54838}.button.primary:hover{background:#bc503e}.button.secondary{background:#fff7e6;border-color:#dfcfb4;color:#8f7653;box-shadow:0 2px 0 #e9ddc5}.button:disabled{opacity:.55}.game-actions .primary{width:100%;font-size:15px}.button-note{font-size:10px;background:#a044343d;border-radius:5px;padding:4px 7px;margin-left:auto;letter-spacing:0}.game-actions .primary>span:first-child{margin-left:auto}.game-actions p{font-size:10px;color:#a08d73;margin:10px 0 0}.game-actions .secondary{padding:10px 25px;min-height:40px;font-size:12px}.quick-rules{border-top:1px dashed var(--line);margin:0 22px;display:flex;justify-content:center;align-items:center;gap:18px;padding:15px 0 18px;color:#95866e;font-size:10px}.quick-rules b{background:#f0e8d7;padding:3px 5px;border-radius:4px;font-size:8px;margin-right:5px;color:#9c8969}.rule-arrow{color:#cdbd9e}.sidebar{display:flex;flex-direction:column;gap:19px}.leaderboard-card{border:1px solid var(--line);border-radius:var(--round);background:#fffdf7;box-shadow:0 4px 0 #e8ddc87a;padding:22px 21px 15px}.side-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.trophy{width:39px;height:39px;display:grid;place-items:center;background:#f8edcb;border-radius:12px;color:#b38a38;font-size:28px}.side-heading h2{font-size:17px;letter-spacing:1px;margin:0 0 6px}.side-heading p{font-size:9px;color:var(--muted);margin:0}.tiny-star{font-size:24px;color:#ccb27c;margin-left:auto}.board-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2ecdf;padding:4px;border-radius:9px;align-items:stretch;text-align:center;font-size:11px}.board-tabs .active{border-radius:6px;background:#fffdf7;box-shadow:0 2px 3px #6c502c0c;padding:8px 0;color:var(--red);font-weight:800}.board-tabs button{border:0;background:none;font-size:10px;color:#a5967c}.soon{font-size:7px;background:#e9e1d0;padding:2px 4px;border-radius:3px;margin-left:3px}.local-label{font-size:9px;color:#668373;margin:15px 0 17px;display:flex;align-items:center;gap:5px}.local-label #board-caption{margin-left:auto;color:#a7967d;font-size:8px}.local-dot{width:5px;height:5px}.rank-labels{display:flex;justify-content:space-between;font-size:8px;color:#ae9e85;padding-bottom:9px;border-bottom:1px dashed var(--line)}.leaderboard{list-style:none;padding:0;margin:0}.leaderboard li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0e8da}.leaderboard li:last-child{border-bottom:0}.rank{font-size:11px;color:#b09f86;width:14px;text-align:center;font-weight:800}.rank.top{color:#bc873a}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eee2c9;font-size:18px;color:#98764c}.leader-name{font-size:11px;font-weight:700;max-width:116px;overflow-wrap:anywhere}.leader-name small{font-size:8px;display:block;font-weight:500;color:#ac9c82;margin-top:4px}.leader-score{font-size:15px;font-weight:800;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.leader-score small{font-size:8px;margin-left:3px;font-weight:500;color:#ac9c82}.board-disclaimer{font-size:9px;color:#a69780;line-height:1.8;margin:11px 0 0;padding-top:11px;border-top:1px dashed var(--line)}.clear-button{font-size:9px;margin-top:6px}.profile-card{padding:18px;background:#f2edde;border:1px solid #e5ddc7;border-radius:17px;display:flex;gap:11px}.profile-icon{color:#809373;background:#e3e6ce;border:1px solid #cfd8bd;min-width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-size:23px}.profile-content{min-width:0;flex:1}.profile-card h2{font-size:12px;margin:0 0 6px}.profile-card p{font-size:9px;color:#9c8b6d;margin:0 0 10px}.nickname-row{display:flex;border:1px solid #dcd1b9;border-radius:8px;overflow:hidden;background:#fffdf6}.nickname-row input{border:0;outline-offset:-3px;min-width:0;width:100%;font-size:11px;background:transparent;padding:9px;color:var(--ink);height:38px}.nickname-row button{border:0;background:none;min-width:36px;color:#7d9471;font-size:15px}.nickname-row button:hover{background:#e8edda}#nickname-status{font-size:8px;color:#9f9074;display:block;line-height:1.6;margin-top:6px}.tip-card{display:flex;gap:11px;padding:5px 10px 0}.tip-icon{font-size:29px;color:#bd9553}.tip-card h2{font-size:11px;margin:4px 0 7px}.tip-card p{font-size:10px;color:#a08b6c;line-height:1.9;margin:0}.tip-card button{font-size:10px;color:#8c7453}.future-note{border-top:1px dashed #e2d7c2;padding:12px 10px;display:flex;gap:10px;align-items:center}.future-note>span{font-size:28px;color:#b4b9a0}.future-note p{font-size:10px;color:#9c8a6b;line-height:1.8;margin:0}.future-note button{font-size:9px;padding:2px 0}.storage-warning{border:1px solid #cc9d5c;background:#fff0d5;padding:14px;margin-top:22px;border-radius:10px;font-size:12px;line-height:1.7}footer{display:flex;gap:22px;align-items:center;justify-content:space-between;margin-top:39px;padding:21px 0 24px;border-top:1px solid var(--line);color:#ab9b80;font-size:9px}footer .text-button{font-size:9px}.footer-brand{margin-right:auto;color:#99886e;letter-spacing:.5px}.footer-brand>span{color:var(--red);margin:0 6px}dialog{border:1px solid #deceb3;border-radius:23px;background:#fffaf0;padding:34px;box-shadow:0 18px 70px #3e2c2450;width:min(500px,calc(100% - 32px));color:var(--ink);max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#4d3a2b72;backdrop-filter:blur(4px)}dialog h2{font-size:24px;line-height:1.5;margin:8px 0 14px}dialog>p{font-size:12px;line-height:1.9;color:#907c60}.dialog-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1e6d2;color:#9c8060;font-size:25px}.dialog-eyebrow{color:var(--red);font-size:10px;letter-spacing:2px;font-weight:800}.help-list{padding:0;list-style:none;counter-reset:step}.help-list li{counter-increment:step;padding-left:40px;position:relative;margin:23px 0}.help-list li:before{content:"0" counter(step);position:absolute;left:0;top:0;background:#f0e6cd;border-radius:8px;padding:7px;color:#a48551;font-size:11px;font-weight:900}.help-list b{font-size:13px;display:block;margin-bottom:5px}.help-list span{font-size:11px;line-height:1.9;color:#8f7e63;display:block}.dialog-note{background:#f4eddd;padding:13px;border-radius:10px;font-size:10px!important;line-height:1.9}.dialog-actions{display:flex;gap:12px;margin-top:20px;justify-content:flex-end}dialog>.button{width:100%;margin-top:10px}.result-badge{display:grid;place-items:center;margin:0 auto 17px;background:#f1dfac;color:#b68b37;border:1px solid #d9bc7c;width:64px;height:64px;border-radius:22px;font-size:42px;transform:rotate(-7deg)}#result-dialog{text-align:center}#result-dialog h2{font-size:24px}.result-score{background:#f7edd9;border:1px solid #ead9b6;padding:21px;border-radius:17px;margin:18px 0}.result-score strong{display:block;font-size:56px;color:var(--red);font-variant-numeric:tabular-nums;line-height:1.15}.result-score span{font-size:11px;color:#aa9575}.result-details{display:flex;justify-content:space-around;padding:6px 0 10px}.result-details>span{font-size:10px;color:#a08b69}.result-details b{display:block;font-size:18px;color:var(--ink);margin-top:7px}.result-saved{font-size:11px!important;color:var(--mint)!important}.result-close{margin:16px 0 0}.future-steps{display:grid;gap:9px;margin:24px 0}.future-steps>span{background:#f3ecdb;border-radius:10px;padding:12px;font-size:12px;line-height:1.8}.future-steps b{color:var(--red);margin-right:7px}.future-steps small{margin-left:25px;font-size:10px;color:#a18e6e}.source-note{font-size:9px!important;overflow-wrap:anywhere}.noscript{position:fixed;inset:auto 10px 10px;background:var(--red);color:white;padding:20px;border-radius:12px;z-index:100}.bump{animation:bump .22s ease}.wrong-flash{animation:shake .22s ease}.success-flash{animation:pop .22s ease}@keyframes sway{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes bump{50%{transform:scale(1.1)}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes pop{50%{transform:scale(1.035)}}
@media(min-width:1450px){.page{padding-top:44px}.intro{margin-bottom:37px}.stall{min-height:329px}.order-card svg{width:80px;height:80px}.order-card{padding-bottom:15px}.order-heading{padding-top:35px}.welcome{margin-top:20px}.food-button{min-height:123px}.food-button svg{width:75px;height:75px}}
@media(max-width:1240px){.page{padding:30px 32px 0}.site-header{padding:20px 32px}.main-grid{grid-template-columns:minmax(0,1fr) 288px;gap:22px}.food-button svg{width:60px;height:60px}.food-button{min-height:105px}.food-button .food-name{font-size:9px}.orders{gap:7px;padding:0 26px}.stall-sign-small{right:15px;font-size:7px}.quick-rules{gap:10px}.leaderboard-card{padding:20px 17px 15px}}
@media(max-width:1000px){.page{padding:27px 24px 0}.site-header{padding:18px 24px}.main-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.intro-stamp{font-size:10px;padding:12px;max-width:244px}.intro-stamp>span{padding:0 2px}h1{font-size:40px}.stats{padding-left:10px;padding-right:10px}.stat strong{font-size:27px}.stat .combo-number>span{display:block;font-size:7px;margin:5px 0 0}.lives-stat strong>span{font-size:20px;letter-spacing:1px}.food-grid{grid-template-columns:repeat(3,1fr);gap:9px}.food-button{min-height:98px;padding:5px 3px 8px}.food-button svg{height:63px;width:63px}.food-button .food-name{font-size:10px}.menu-tray{padding:15px 17px}.keyboard-tip{font-size:8px}.menu-heading h3>span{display:none}.order-card svg{width:60px;height:60px}.order-card strong{font-size:10px}.stall-sign-small{display:none}.side-heading h2{font-size:15px}.side-heading p{font-size:8px}.trophy{width:33px;height:33px;font-size:23px}.tiny-star{display:none}.leader-score{font-size:13px}.leaderboard li{gap:7px}.leader-name{font-size:10px;max-width:92px}.profile-card{padding:15px 13px;gap:8px}.profile-icon{min-width:27px;height:27px}.profile-card p{font-size:8px}.quick-rules{font-size:9px;gap:7px}.quick-rules b{font-size:7px;padding:2px 3px;margin-right:3px}.rule-arrow{font-size:8px}.order-heading{padding-left:28px;padding-right:28px;font-size:10px}.order-heading>span:last-child{font-size:8px}footer{gap:14px}}
@media(max-width:760px){.site-header{padding:15px 20px}.brand{font-size:15px;letter-spacing:1px}.brand-mark{width:37px;height:37px;font-size:22px}.brand small{font-size:7px;letter-spacing:1.4px}nav{gap:18px}.nav-active{display:none}nav .text-button{font-size:11px}.sound-button{padding:7px 10px;font-size:10px}.page{padding:26px 20px 0}.intro{margin-bottom:24px}.intro-stamp{display:none}h1{font-size:39px}.eyebrow{font-size:10px}.intro-copy{font-size:12px}.main-grid{grid-template-columns:minmax(0,1fr);gap:27px}.game-topline{padding:16px 20px}.stats{padding:0 14px 20px}.stat strong{font-size:30px}.stat .combo-number>span{display:inline;font-size:8px;margin-left:5px}.stat-label{font-size:9px}.lives-stat strong>span{font-size:22px}.food-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.food-button .food-name{font-size:9px}.food-button svg{height:60px;width:60px}.food-button{min-height:100px}.menu-heading h3>span{display:inline}.keyboard-tip{font-size:9px}.stall{min-height:304px}.order-card svg{width:74px;height:74px}.order-card strong{font-size:12px}.orders{gap:13px;padding:0 34px}.order-heading{padding:29px 35px 14px;font-size:11px}.order-heading>span:last-child{font-size:10px}.welcome{margin-top:18px}.quick-rules{gap:17px;font-size:10px;padding:16px 0}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.leaderboard-card{grid-row:span 3;padding:22px}.profile-card{padding:16px}.tip-card{padding:0 7px}.future-note{padding:10px 7px}.side-heading h2{font-size:16px}.leader-score{font-size:15px}.leader-name{font-size:11px;max-width:110px}.side-heading p{font-size:9px}footer{margin-top:30px;flex-wrap:wrap;font-size:8px;gap:9px}.footer-brand{flex-basis:100%;font-size:10px}.profile-card h2{font-size:11px}.profile-icon{display:none}}
@media(max-width:480px){.site-header{padding:14px 16px}.brand{font-size:13px;gap:8px}.brand small{font-size:6px}nav{gap:13px}.sound-button{gap:4px;padding:6px 9px}nav .text-button{font-size:10px}.page{padding:24px 14px 0}h1{font-size:35px}.title-spark{font-size:23px;margin-left:8px}.intro-copy{font-size:11px;line-height:1.9}.mobile-break{display:block}.intro{margin-bottom:20px}.game-topline{padding:15px 16px}.game-topline h2{font-size:11px}.level-tag{font-size:8px}.stats{padding:0 7px 18px}.stat-label{font-size:8px;letter-spacing:.5px}.stat strong{font-size:27px}.stat strong>span{font-size:8px}.stat .combo-number>span{display:block;font-size:6px;margin:4px 0 0}.lives-stat strong>span{font-size:20px;letter-spacing:0}.awning{height:49px}.stall-sign{font-size:14px;padding:6px 20px}.lantern{top:48px;width:26px;height:42px}.lantern-left{left:9px}.lantern-right{right:9px}.order-heading{padding:29px 22px 13px;font-size:10px}.order-heading>span:last-child{font-size:8px}.orders{padding:0 20px;gap:7px;grid-template-columns:1.14fr 1fr 1fr}.order-card{padding:8px 4px 10px;border-radius:11px}.order-card svg{width:61px;height:61px}.order-card strong{font-size:10px}.order-quantity{font-size:8px;margin-left:3px}.order-tag{font-size:8px;letter-spacing:.5px}.current .order-callout{width:28px;height:28px;line-height:26px;font-size:18px;left:-14px}.welcome{gap:7px;margin-top:16px}.welcome strong{font-size:12px}.welcome p{font-size:9px}.welcome-icon{font-size:24px}.service-message{font-size:10px;min-height:36px;padding:9px 16px 13px}.stall{min-height:282px}.menu-tray{padding:16px 14px 14px}.menu-heading{margin-bottom:11px}.menu-heading h3{font-size:11px}.menu-heading h3>span{font-size:8px;margin-left:5px}.keyboard-tip{font-size:8px}kbd{min-width:13px;font-size:8px;height:15px}.food-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.food-button{min-height:98px;padding:4px 5px 9px}.food-button svg{height:66px;width:66px}.food-button .food-name{font-size:10px}.food-button kbd{top:7px;left:7px;font-size:9px;min-width:16px;height:17px}.game-actions{padding:0 14px 14px}.game-actions .primary{font-size:14px;min-height:49px}.game-actions p{font-size:9px}.button-note{font-size:9px}.quick-rules{margin:0 14px;gap:8px;font-size:8px;padding:15px 0}.quick-rules b{font-size:6px}.rule-arrow{font-size:7px}.sidebar{grid-template-columns:1fr;gap:18px}.leaderboard-card{grid-row:auto;padding:22px}.leaderboard li{padding:12px 1px;gap:13px}.leader-name{max-width:none;flex:1;font-size:12px}.rank{width:20px}.leader-score{font-size:17px}.avatar{width:33px;height:33px}.rank-labels{font-size:9px}.local-label{font-size:10px}.profile-card{padding:19px;gap:13px}.profile-icon{display:grid;min-width:35px;height:35px;font-size:24px}.profile-card h2{font-size:13px}.profile-card p{font-size:10px}.nickname-row input{font-size:12px}#nickname-status{font-size:9px}.tip-card{padding:4px 14px;gap:12px}.tip-card h2{font-size:12px}.tip-card p{font-size:11px}.tip-card button{font-size:11px}.future-note{padding:13px 15px}.future-note p{font-size:11px}.future-note button{font-size:10px}footer{padding:20px 4px}.footer-brand{font-size:10px}dialog{padding:29px 23px}dialog h2{font-size:22px}.dialog-actions{gap:8px}.dialog-actions .button{padding:12px 15px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.locale-picker select{appearance:auto;max-width:132px;border:1px solid var(--line);border-radius:10px;background:#fffdf6;color:var(--ink);padding:9px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.locale-picker select:focus-visible{outline:3px solid #347d97;outline-offset:3px}h1>span{margin-left:.16em}@media(max-width:760px){.locale-picker select{max-width:104px;padding:7px 6px;font-size:10px}nav{gap:10px}}

/* Original official portal LOGO: links back to the site homepage. */
.site-header .brand img{width:175px;max-width:100%;height:auto;display:block;object-fit:contain}
@media(max-width:600px){.site-header .brand img{width:131px}}
/* R1: entry and practice use the existing game palette and assets. */
[hidden]{display:none!important}.entry-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.entry-actions .button{min-height:48px}.intro{flex-wrap:wrap}.intro>div:first-child{flex:1 1 340px}.intro .entry-actions{flex-basis:100%;order:3}.practice-panel{margin:0 16px 16px;padding:16px;border:1px solid #c4d4bc;border-radius:12px;background:#f0f5e7;color:#334a36;font-size:14px}.practice-panel p{line-height:1.6;margin:8px 0}.personal-best{padding:14px;background:#f0f5e7;border-radius:12px;font-size:14px;line-height:1.7;color:#334a36}#help-practice{margin-bottom:10px}.round-active .intro{display:none}.round-active .game-column{scroll-margin-top:8px}.round-active .quick-rules{display:none}.text-button{min-height:44px}.game-column button:focus-visible{outline:3px solid #347d97;outline-offset:3px}
@media(max-width:760px){.entry-actions{display:grid;grid-template-columns:1fr 1fr}.entry-actions .button{padding:12px 8px;font-size:14px}.intro>div:first-child{flex-basis:100%}.round-active .page{padding-top:8px}.round-active .stall{min-height:0}.round-active .order-heading{padding-top:22px}.round-active .service-message{min-height:42px}.round-active .game-topline{padding-top:10px;padding-bottom:10px}.round-active .stats{padding-bottom:12px}.round-active .menu-tray{padding-top:12px;padding-bottom:12px}.round-active .food-button{min-height:88px}.round-active .food-button svg{height:52px;width:52px}.practice-panel{margin:0 10px 12px;padding:12px}.entry-actions .button{width:100%}}
/* Keep compact controls usable with a thumb, including the narrowest phones. */
@media(max-width:760px){
 .site-header{flex-wrap:wrap;gap:8px}
 .site-header .brand{min-height:44px;min-width:90px;flex:1 1 90px}
 .site-header nav{flex-shrink:0;gap:8px;margin-left:auto}
 .locale-picker select,.sound-button,.text-button,.board-tabs button,.dialog-close{min-width:44px;min-height:44px}
 .nickname-row input{height:44px;font-size:16px}
 .nickname-row button{min-width:44px;min-height:44px}
}

/* Daily goals keep the active stall clear and reuse existing replay controls. */
.daily-goal{margin:0 0 24px;padding:16px 20px;background:#f5f0e4;border:1px solid #d8d1bd;border-radius:16px;color:#34443d;text-align:left;overflow-wrap:anywhere}
.daily-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.daily-heading h2{margin:0;font-size:18px}.daily-heading time{font-size:13px}
.daily-goal p{margin:8px 0;line-height:1.5;font-size:14px}.daily-goal .daily-description{font-size:16px;font-weight:700}.daily-goal .daily-progress{font-weight:700;color:#385c44}.daily-goal small{display:block;font-size:12px;line-height:1.5}
.round-active #daily-panel{display:none}#result-daily-panel{margin:16px 0;padding:14px}
@media(max-width:760px){.daily-goal{padding:14px;margin-bottom:16px}.daily-heading h2{font-size:16px}}

/* Show the existing difficulty curve without adding movement or extra controls. */
.pacing-panel{display:grid;gap:5px;padding:10px 18px;background:var(--cream);border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.pacing-panel strong{font-size:14px}.pacing-panel progress{display:block;width:100%;height:6px;accent-color:var(--mint);border:0;border-radius:4px;overflow:hidden;background:var(--paper)}
.pacing-panel progress::-webkit-progress-bar{background:var(--paper)}.pacing-panel progress::-webkit-progress-value{background:var(--mint)}.pacing-panel progress::-moz-progress-bar{background:var(--mint)}
.pacing-result{font-size:14px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:760px){.pacing-panel{padding:8px 12px;font-size:12px}.pacing-panel strong{font-size:13px}}
