:root{font-family:ui-rounded,'Arial Rounded MT Bold','PingFang SC','Microsoft YaHei',system-ui,sans-serif;color:#164c45;background:#e5efeb;font-synthesis:none;--cream:#fffdf3;--pine:#174e46;--red:#eb5d58;--mint:#c9e7db;--frame-height:min(820px,calc(100dvh - 88px));--frame-width:calc(var(--frame-height)*.5625)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#f9fff9,#dcebe6);min-height:100vh}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #dc9c25;outline-offset:3px}h1,h2,h3,p{margin:0}button{border:0}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.page{max-width:1060px;margin:auto;padding:24px 28px 12px}.layout{display:grid;grid-template-columns:var(--frame-width) minmax(260px,1fr);gap:36px;align-items:start}.experience{width:var(--frame-width);height:var(--frame-height);position:relative;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;container-type:size;border:1px solid #acd5c7;border-radius:26px;background:#fff9e8;box-shadow:0 24px 60px #264e3c20}.brandbar{height:68px;flex:none;display:flex;justify-content:center;align-items:center;padding:14px 65px 6px 20px;position:relative;z-index:4}.brandbar>div:first-child{text-align:center;max-width:100%}.brand{font-size:clamp(18px,5.4cqw,26px);font-weight:950;line-height:1.1;letter-spacing:-.04em;display:block;overflow-wrap:anywhere}.brand:after{content:'●';font-size:.5em;display:inline-block;margin:0 0 5px 5px;text-shadow:4px -5px 0 #377766,-3px -6px 0 #377766}.brandbar small{display:none}#brandLogo{max-height:42px;max-width:210px;object-fit:contain}.header-actions{position:absolute;right:10px;top:12px;display:flex;gap:4px;align-items:center}.language select{font-size:11px;min-height:36px;border:1px solid #8daf9e;border-radius:11px;color:#184e43;background:#fffdf1e8;padding:5px}#wallet{font-size:10px;max-width:64px;line-height:1.1;min-height:36px;padding:5px;background:#fff8df;box-shadow:none}.screens{flex:1;min-height:0;position:relative;overflow:hidden}.screen{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a6c3b3 transparent;padding:8px 20px 18px}.game-footer{height:31px;flex:none;display:flex;align-items:center;justify-content:center;background:#f4fbf0e8;position:relative;z-index:5;font-size:10px;letter-spacing:.02em}.game-footer a{text-decoration:none}.game-footer strong{color:#167f93}.primary,.secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:22px;font-weight:800;padding:11px 14px;text-align:center;line-height:1.15}.primary{color:#fffdf5;background:linear-gradient(#ff8075,#ee5d58);border:1px solid #e56458;box-shadow:inset 0 2px 2px #ffffff6a,0 4px 0 #b8412e25;font-size:18px;text-shadow:0 1px #b6483450}.secondary{font-size:13px;background:#fffef6db;border:1px solid #b6d0c3;box-shadow:0 2px 2px #254b4310}.text-button{background:transparent;font-size:12px;min-height:40px;padding:8px 4px;border-radius:10px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.06em}.small{font-size:11px;line-height:1.5}.sprite{display:block}.sprite svg{display:block;width:100%;height:100%}.round{border:1px solid #ffffffb0;border-radius:50%;width:42px;height:42px;background:#296e80aa;color:white;font-size:23px;font-weight:800;flex:none}.icon-button{background:#f9fdf1e8;border:1px solid #a3cbbf;border-radius:30px;padding:7px;min-width:42px;min-height:42px;font-size:11px}
/* Full illustrated cover, with live and translatable campaign typography. */
body[data-screen=cover] .brandbar{position:absolute;inset:0 0 auto;height:70px;padding-top:22px}body[data-screen=cover] .brand{color:#1f6552;text-shadow:0 1px #e8fff2}body[data-screen=cover] .screens{margin-top:0}.cover{padding:0;overflow:hidden}.cover-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cover-heading{position:absolute;top:11%;left:5%;right:5%;text-align:center}.cover-heading h1{font-size:clamp(28px,9.4cqw,43px);font-weight:950;line-height:1.12;letter-spacing:-.055em;color:#fff1c9;text-shadow:0 3px 0 #1d624c,2px 0 #1d624c,-2px 0 #1d624c,0 -2px #1d624c,0 5px 7px #22624a45}.cover-heading>.eyebrow{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%) rotate(-2deg);white-space:nowrap;max-width:100%;background:linear-gradient(#ffb366,#ef8055);border-radius:7px;padding:6px 16px;color:#fffef1;box-shadow:0 3px 0 #bf6c3c45;font-size:clamp(10px,3.3cqw,15px)}.cover-heading>[data-content=subtitle]{display:none}.cover-heading .dates{position:absolute;top:calc(100% + 48px);left:2%;right:2%;border-radius:20px;background:#1d7763ec;color:#fffde9;padding:7px 5px;font-weight:750;font-size:clamp(11px,3.1cqw,14px);line-height:1.2}.cover-bottom{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:22px 7% 4px;background:linear-gradient(#f4faef00,#f4faefe8 30%,#f4faeff0)}.cover-bottom>.eyebrow{color:#b95132;background:#fff6dbee;border:1px solid #eccd98;border-radius:18px;padding:6px 5px;font-size:clamp(10px,2.8cqw,12px)}.cover-bottom h2{font-size:clamp(17px,5cqw,22px);margin:7px 0 9px;color:#23574a}.cover-bottom .primary{min-height:50px;font-size:22px}.cover-bottom .small{margin-top:9px;font-size:clamp(10px,2.8cqw,12px);font-weight:650}.cover-bottom .text-button{min-height:33px;font-size:11px}.snow{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,#fff9 1px,transparent 2px),radial-gradient(circle,#fff7 1.5px,transparent 2.5px);background-size:79px 137px,131px 189px;animation:snowfall 16s linear infinite;mask-image:linear-gradient(#000b,#0008,transparent)}@keyframes snowfall{to{background-position:30px 274px,-18px 378px}}
/* Instructions: mascot, gesture, three concise instructions. */
#instructions{display:flex;flex-direction:column;gap:9px;padding:5px 24px 8px}.section-heading h1{text-align:center;font-size:clamp(27px,8.2cqw,39px);font-weight:950;letter-spacing:-.04em}.instruction-art{flex:1;min-height:95px;max-height:280px;position:relative;display:flex;align-items:center;justify-content:center}.instruction-art .sprite{height:100%;width:85%;filter:drop-shadow(0 8px 4px #27694a15)}.tap-cue{position:absolute;right:2%;bottom:12%;font-size:55px;transform:rotate(-25deg);filter:drop-shadow(0 2px 2px #7aab9b)}.steps{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:12px}.steps li{display:flex;align-items:center;gap:10px;font-size:clamp(12px,3.7cqw,16px);line-height:1.4;position:relative;counter-increment:step}.steps li:before{content:counter(step);background:#f36e62;color:#fff9ed;font-size:20px;font-weight:900;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;flex:none;box-shadow:0 2px 0 #d7413625}.steps li:nth-child(2):before{background:#378e7b}.steps li:nth-child(3):before{background:#e8b24d}.step-icon{display:none}#start{margin-top:10px}#backCover{min-height:30px;padding:3px}
/* Runner: canvas fills available height; overlays remain readable and reachable. */
body[data-screen=play] .brandbar{height:56px;background:#65c7f3;padding-top:8px}.play{padding:0;overflow:hidden;position:relative;background:#8fd8f4}.play canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline-offset:-4px}.hud{position:absolute;top:8px;left:12px;right:12px;display:flex;gap:8px;align-items:center;pointer-events:none}.hud>*{pointer-events:auto}.score-box,.distance-box{background:#eaf9f3e6;box-shadow:0 2px 8px #3c8a8d30;border:1px solid #fff9;border-radius:18px;padding:8px 10px;line-height:1.1}.score-box{display:flex;gap:7px;align-items:center}.score-box small{font-size:11px}.score-box strong{font-size:20px}.distance-box{flex:1;text-align:center;max-width:180px;font-size:12px}.time-track{height:7px;background:#aecbcd88;border-radius:20px;overflow:hidden;margin-top:5px}#timeFill{height:100%;width:0;background:linear-gradient(#66e593,#1db482);border-radius:20px}.lives{position:absolute;top:65px;right:15px;font-size:22px;color:#f34f56;letter-spacing:3px;text-shadow:0 1px #fff}.play-hint{position:absolute;top:75px;left:14px;right:90px;font-size:10px;font-weight:650;line-height:1.4;color:#19525b;text-shadow:0 1px #fff9;pointer-events:none}.play-tools{position:absolute;bottom:15px;left:14px;right:14px;display:flex;gap:12px;align-items:center}.play-tools #jump{flex:1;min-height:56px;font-size:24px;touch-action:none}.play-tools #sound{width:54px;min-height:46px;font-size:10px}.play-tools #help{background:#336d76ad}.play-tools:before{content:'';position:absolute;z-index:-1;inset:-30px -14px -15px;background:linear-gradient(transparent,#eef8eac9)}
/* Rewards and form use compact cards, with only the longer content scrolling. */
.result{text-align:center;padding:0 18px 12px}.celebration-hero{height:clamp(105px,21cqh,165px);width:85%;margin:0 auto}.result-heading h1{font-size:clamp(24px,7cqw,33px);font-weight:950;line-height:1.15;letter-spacing:-.04em}#resultEyebrow{display:none}.score-medallion{display:flex;justify-content:center;align-items:center;gap:10px;background:#fffaf0d4;border:1px solid #fff;border-radius:22px;margin:8px 0 12px;padding:6px}.score-trophy{color:#e8ac3b;font-size:32px}.result-score{display:block;font-size:25px;color:#e25853;line-height:1.15}.score-medallion p{font-size:11px;margin-top:2px}#saveStatus{font-size:11px;line-height:1.4}#saveStatus:empty{display:none}.reward{display:grid;grid-template-columns:42% 1fr;gap:5px 7px;align-items:center;position:relative;border:1px solid #eed4a4;border-radius:18px;background:linear-gradient(130deg,#fffef3,#fff3d0);padding:37px 12px 12px;box-shadow:0 3px 6px #be9b4d15}.reward-art{width:100%;height:102px;grid-column:1;grid-row:2/4;filter:drop-shadow(0 3px 3px #9e673e20)}.reward .eyebrow{position:absolute;top:0;left:10%;right:10%;padding:7px;background:linear-gradient(#fb796c,#ee5c57);color:#fff9e8;border-radius:0 0 12px 12px;font-size:12px;letter-spacing:.03em}.reward h2{grid-column:2;grid-row:2;font-size:clamp(19px,5.7cqw,26px);line-height:1.15;color:#ce4f43;text-align:left}.reward>[data-content=terms]{grid-column:2;grid-row:3;font-size:10px;line-height:1.5;text-align:left;color:#66796b}.reward>.primary{grid-column:1/-1;margin-top:5px;font-size:18px}.result-actions{display:flex;gap:8px;margin:10px 0}.result-actions>*{flex:1;min-width:0}.result-actions .primary{font-size:14px}.result-detail{border:1px solid #b9d5c7;border-radius:13px;background:#fffef5d9;text-align:left;margin:8px 0;padding:0 12px;font-size:12px;line-height:1.5}.result-detail summary{min-height:44px;padding:12px 0;font-weight:750;cursor:pointer}.result-detail h3{font-size:20px;margin:4px 0 8px}.result-detail p{margin:6px 0 12px;color:#5d786d}.shop-links{display:flex;gap:12px;padding:5px 0 13px;flex-wrap:wrap}.shop-channel{width:44px;height:44px;border:1px solid #c6d9bd;border-radius:50%;display:grid;place-items:center;background:#fffdf2;color:#547b6e}.shop-channel:disabled{opacity:.6}.channel-icon{display:block;width:23px;height:23px}.channel-icon svg{width:100%;height:100%}.result-navigation{display:flex;justify-content:space-between;align-items:center;gap:6px;white-space:nowrap;margin-top:6px}.result-navigation .text-button{font-size:clamp(10px,2.9cqw,12px);padding:4px 0}.result-navigation #home{margin-left:auto;text-align:right}.claim-screen{padding:0 20px 12px}.back-result{font-size:11px;min-height:30px;padding:4px 0}.claim-screen h1{text-align:center;font-size:clamp(22px,6.5cqw,30px);font-weight:900;line-height:1.15;margin:5px 0 16px}.claim-summary{display:flex;gap:8px;align-items:center;padding:10px 12px;background:linear-gradient(120deg,#fffef1,#fff0cf);border:1px solid #eed4a5;border-radius:16px;margin-bottom:13px}.claim-summary>.sprite{width:44%;height:110px;flex:none}.claim-summary h2{font-size:clamp(19px,5.4cqw,24px);line-height:1.15;margin-top:7px;color:#d35346}.claim-summary .eyebrow{display:inline-block;border-radius:12px;padding:4px 7px;background:#ed6c5f;color:white;font-size:10px}.notice{font-size:10px;line-height:1.4;border-left:2px solid #c4a962;padding:5px 8px;margin-bottom:12px;background:#fff9dfab;color:#6c785f}.field{display:block;margin:11px 0;font-size:12px;font-weight:700}.field input,#townField select{width:100%;min-height:43px;background:#fffefae8;border:1px solid #acc7b9;border-radius:10px;margin-top:6px;padding:8px 12px;font-size:14px;color:#24594d}.field input::placeholder{color:#92a59b;font-weight:400}.checkbox{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:11px;line-height:1.45;cursor:pointer}.checkbox input{width:20px;height:20px;flex:none;margin:0;accent-color:#348e77}#submitClaim{margin-top:14px}#cancelClaim{display:block;margin:auto;min-height:35px}.voucher{text-align:center;padding:20px 15px;background:#fffdf1e8;border:1px dashed #85ac95;border-radius:16px}.voucher .pill{display:inline-block;border-radius:20px;background:#dbeddf;padding:6px 12px;font-size:12px}.voucher p{font-size:12px;line-height:1.5;margin:12px 0}.voucher strong{display:block;font-size:28px;letter-spacing:.07em}.actions{display:flex;gap:10px}.actions>*{flex:1}#claimStatus{font-size:12px;text-align:center;margin-top:10px}#privacyLink{font-size:11px}.sidebar{background:#fffdf4ba;border:1px solid #c2d7c5;border-radius:22px;padding:26px}.sidebar h2{font-size:24px;margin:10px 0 25px}.sidebar-note{border-top:1px solid #ccdecf;padding-top:20px;margin-top:20px;font-size:13px}.rank-row{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #d6dfca}.rank-content p{font-size:12px;line-height:1.5;margin:12px 0}.page-footer{display:flex;justify-content:space-between;gap:10px;margin-top:17px;font-size:11px;color:#5b7769}.page-footer a{min-height:30px}.global-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90vw;padding:15px;border-radius:12px;background:#194f45;color:white;z-index:15;font-size:13px}dialog{border:1px solid #bbd3bd;border-radius:22px;background:#fcfff5;color:#164c45;width:min(90vw,380px);padding:25px;box-shadow:0 20px 80px #153b4433}dialog::backdrop{background:#153c4b70;backdrop-filter:blur(4px)}dialog h2{font-size:24px;margin:8px 0 15px}dialog p{font-size:13px;line-height:1.6;margin:10px 0}dialog .primary{margin-top:18px}dialog .text-button{display:block;margin:auto}#mobileRanking{display:none}
@media(max-width:840px),(max-height:540px) and (orientation:landscape){html,body{height:100%;overflow:hidden;overscroll-behavior:none}.page{margin:0;padding:0;max-width:none}.layout{display:block}.experience{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}body[data-screen=cover] .brandbar{top:env(safe-area-inset-top)}.game-footer{height:calc(31px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.sidebar,.page-footer{display:none}#mobileRanking{display:block}}
@media(max-height:650px){.brandbar{height:57px}.brand{font-size:22px}.section-heading h1{font-size:27px}.steps{gap:8px}.steps li{font-size:12px}.instruction-art{max-height:175px}#instructions{gap:6px}#start{margin-top:4px}.cover-bottom{padding-top:15px}.cover-bottom h2{font-size:18px;margin:5px 0}.cover-bottom .primary{min-height:44px;font-size:20px}.cover-heading{top:12%}.cover-heading h1{font-size:30px}.cover-heading>.eyebrow{padding:4px 10px;font-size:11px;top:calc(100% + 6px)}.cover-heading .dates{font-size:11px;padding:5px;top:calc(100% + 37px)}.celebration-hero{height:110px}.result-heading h1{font-size:25px}.claim-summary>.sprite{height:80px}}
@media(max-height:540px) and (orientation:landscape){.brandbar{height:44px;padding:4px 70px 4px 10px}.header-actions{top:4px}.brand{font-size:21px}.cover-heading{top:22%;left:4%;right:52%}.cover-heading h1{font-size:30px}.cover-heading .dates{font-size:10px}.cover-bottom{left:50%;top:0;padding:55px 4% 0;background:#f5fbefdb}.cover-bottom h2{font-size:20px}#instructions{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto auto;gap:7px 18px}.section-heading{grid-column:1;grid-row:1}.instruction-art{grid-column:1;grid-row:2/5;height:100%;max-height:none}.steps{grid-column:2;grid-row:1/3;align-self:center}#start{grid-column:2;grid-row:3}#backCover{grid-column:2;grid-row:4}.play-tools{bottom:8px;left:auto;width:46%}.play-tools #jump{min-height:44px}.lives{top:55px}.play-hint{top:65px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

h1[tabindex="-1"]:focus{outline:none}.instruction-art{max-height:none}.instruction-art .sprite{max-height:310px}.hud .distance-box{max-width:none}.hud #pause{margin-left:auto}.play-tools{isolation:isolate}.play-tools:before{z-index:-1}.brandbar .brand{padding-right:3px}

.tap-cue{width:70px;height:80px;font-size:0;transform:rotate(-15deg)}.tap-cue svg{width:100%;height:100%}.dialog-open .snow,.page-hidden .snow{animation-play-state:paused}.brandbar:has(#wallet:not([hidden])){padding-right:118px}.brandbar:has(#wallet:not([hidden])) .brand{font-size:clamp(16px,4.6cqw,23px)}

.reward>.primary{grid-row:4}.reward-art{height:132px}.field{font-size:14px}.checkbox{font-size:12px}.notice{font-size:11px}.steps li:first-child{flex-wrap:wrap}.step-copy{display:flex;flex-direction:column;gap:3px;flex:1}.step-copy small{font-size:11px;font-weight:500;color:#587c6c}.claim-summary>.sprite{height:120px}
@media(max-height:650px){.reward-art{height:105px}.claim-summary>.sprite{height:90px}.step-copy small{font-size:10px}}
/* Reward banner stays in flow so translated two-line labels cannot overlap the offer. */
.reward{padding-top:0;grid-template-rows:auto auto auto auto}.reward .eyebrow{position:static;grid-column:1/-1;grid-row:1;margin:0 6% 5px;line-height:1.35}.reward-art{grid-row:2/4}.reward>.primary{grid-row:4}

/* v1.1: actual game objects teach the rules, with no baked-in text. */
#instructions{gap:7px}.instruction-art{min-height:70px;max-height:205px}.instruction-art .sprite{max-height:205px}.tap-cue{width:50px;height:58px;bottom:5%}.steps{gap:7px}.steps li{font-size:clamp(12px,3.5cqw,15px)}
.item-guide{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}.item-guide>div{border:1px solid #b6d8bf;background:#fffdf1e0;border-radius:14px;padding:8px;text-align:center}.item-guide .avoid-guide{border-color:#efc5b1}.item-guide strong{font-size:12px;line-height:1.2;display:block}.drink-values,.hazard-values{display:flex;align-items:center;justify-content:space-around;gap:3px;margin-top:4px}.drink-values span{display:flex;align-items:center;flex-direction:column}.item-guide i{display:block;width:33px;height:42px}.item-guide svg{width:100%;height:100%;display:block}.item-guide b{font-size:13px;color:#1d7d57}.hazard-values i{width:38px;height:38px}.hazard-values i[data-item="5"]{width:48px}.hazard-values b{color:#d94b48;white-space:nowrap;font-size:11px}.item-guide small{font-size:9px;line-height:1.2;display:block;margin-top:4px}.gain-feedback{position:absolute;top:64px;left:14px;padding:7px 13px;border-radius:18px;background:#fff4bf;color:#176744;border:2px solid #e8bd50;font-weight:900;font-size:19px;box-shadow:0 3px 12px #1b534b33;opacity:0;transform:translateY(4px);transition:opacity .12s,transform .12s;pointer-events:none}.gain-feedback.visible{opacity:1;transform:translateY(0)}.gain-feedback.hit{background:#fff0ea;color:#c6323d;border-color:#ef8577}.play-hint{top:112px;background:#fffdf2d9;border-radius:9px;padding:5px 8px;right:auto;max-width:75%}.score-box strong{display:inline-block;transform-origin:center}
@media(max-height:700px){.instruction-art{max-height:130px;min-height:55px}.instruction-art .sprite{max-height:130px}.item-guide{gap:5px}.item-guide>div{padding:6px}.item-guide i{height:33px}.steps li:before{width:25px;height:25px;font-size:18px}#instructions{padding-inline:18px;gap:5px}.section-heading h1{font-size:28px}#start{margin-top:3px}.steps{gap:5px}}
@media(max-height:540px) and (orientation:landscape){#instructions{grid-template-rows:auto 1fr auto auto auto}.instruction-art{grid-row:2/6;max-height:none}.steps{grid-row:1/3}.item-guide{grid-column:2;grid-row:3}#start{grid-row:4}#backCover{grid-row:5}}
@media(min-height:701px) and (orientation:portrait),(min-height:701px) and (min-width:841px){.instruction-art{max-height:none}.instruction-art .sprite{max-height:260px}}

/* Shared festive audio control: icon only; translated accessible state retained. */
#sound{width:44px!important;height:44px;min-width:44px;min-height:44px!important;border-radius:50%;padding:10px!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px}#sound svg{width:23px;height:23px;display:block;flex:none}
/* Lao Yew: warm illustrated kopitiam, shared five-funnel frame. */
:root{--cream:#fff9e8;--pine:#194d38;--red:#b92532;color:#194735;background:#eee7d6}body{background:radial-gradient(ellipse at top,#faf6e7,#e8dfca)}.experience{background:#fff9e8;border-color:#bfa476}.brand:after{display:none}.brandbar{background:#fff9e8;height:66px}.brand{font-family:Georgia,'Microsoft YaHei',serif;letter-spacing:.01em;color:#184d36;font-size:27px}.game-footer{background:#fff7e8f2}.game-footer strong{color:#245c40}.primary{background:linear-gradient(#cf3940,#b42330);border-color:#a9212c;box-shadow:inset 0 2px 1px #ffffff30,0 4px 0 #962b2420}.secondary,.result-detail{border-color:#d9c494;background:#fffbef}.eyebrow{color:#a2782f}.round{background:#245e49}.illustrated{background:radial-gradient(ellipse at 0 100%,#d7e1c4,transparent 28%),radial-gradient(ellipse at 100% 0,#ebe2c0,transparent 28%),#fff9e8}.game-footer{border-top:1px solid #dbcda766}.cover-art{object-fit:fill}.snow{opacity:.35}
body[data-screen=cover] .brandbar{top:10.4%;height:34px;padding:0 65px;pointer-events:none}body[data-screen=cover] .brand{color:#fff4ca;text-shadow:0 1px 2px #1e3b25;font-size:clamp(21px,5.8cqw,29px)}body[data-screen=cover] .header-actions{position:fixed;top:12px;right:12px;pointer-events:auto}body[data-screen=cover] .brandbar .header-actions{position:absolute;top:-65px;right:12px}.cover-heading{top:16.4%;left:5%;right:5%}.cover-heading h1{font-size:clamp(26px,8.1cqw,39px);color:#fff3ce;text-shadow:2px 3px 0 #a9232b,-1px -1px #a9232b,1px -1px #a9232b;letter-spacing:-.04em}.cover-heading>.eyebrow{top:calc(100% + 4px);background:#bc2934;color:#fff2c7;padding:3px 12px;font-size:clamp(9px,2.5cqw,12px);border-radius:3px}.cover-heading .dates{top:calc(100% + 29px);left:9%;right:9%;font-size:clamp(10px,2.7cqw,13px);padding:5px;background:#fff5dcf2;color:#36513b}.cover-bottom{padding:10px 7% 0;background:linear-gradient(transparent,#fff9e8eb 24%)}.cover-bottom>.eyebrow{border:0;background:transparent;padding:0;color:#9d6626}.cover-bottom h2{margin:5px 0 8px;color:#184631}.cover-bottom .small{margin-top:7px}.cover-bottom .text-button{min-height:30px}.cover-bottom .primary{min-height:46px;font-size:20px}
.food-sprite,.person-sprite{display:block;background-repeat:no-repeat;aspect-ratio:1;flex:none}.food-sprite{background-image:url('foods.png');background-size:300% 300%;width:100%;height:auto!important}.person-sprite{background-image:url('people.png');background-size:300% 200%;width:100%;height:auto!important}.food-0,.person-0{background-position:0 0}.food-1,.person-1{background-position:50% 0}.food-2,.person-2{background-position:100% 0}.food-3{background-position:0 50%}.food-4{background-position:50% 50%}.food-5{background-position:100% 50%}.food-6,.person-3{background-position:0 100%}.food-7,.person-4{background-position:50% 100%}.food-8,.person-5{background-position:100% 100%}
#instructions{gap:9px}.section-heading h1{font-size:clamp(27px,7.5cqw,36px);color:#184a35}.instruction-art{flex:1;min-height:150px;max-height:320px;position:relative;align-items:end}.instruction-art>.person-sprite{width:min(63%,210px);max-height:85%;aspect-ratio:1}.tutorial-order{position:absolute;top:0;left:9%;width:44%;display:flex;padding:6px;border-radius:16px;background:#fffefa;border:2px solid #305f42;box-shadow:0 4px #c9b98e}.tutorial-order .food-sprite{width:50%}.steps{gap:12px}.steps li:before{background:#bd2937}.steps li:nth-child(2):before{background:#2b674b}.steps li:nth-child(3):before{background:#c79533}.steps li{font-size:clamp(12px,3.6cqw,16px)}.order-guide{display:flex;flex-direction:column;gap:5px;background:#ede8ce;padding:9px 12px;border-radius:12px;font-size:11px;line-height:1.4}.instruction-art+ .steps{margin-top:5px}
body[data-screen=play] .brandbar{background:#194f38;height:52px;padding-top:8px}body[data-screen=play] .brand{color:#fff4d4}.play{background:#496740 url('interior.png') center/100% 100%;display:flex;flex-direction:column;padding:10px 12px 6px;gap:5px}.order-hud{display:flex;gap:6px;align-items:center;flex:none}.order-hud>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;padding:6px 3px;background:#fff9e8f5;border-radius:12px;border:1px solid #e7c98e}.order-hud small{font-size:10px}.order-hud b{font-size:21px;line-height:1.15}.order-hud .round{width:44px;height:44px}.lives{position:static;align-self:flex-end;font-size:20px;line-height:1.3;background:#fff8dfda;padding:0 7px;border-radius:12px}.customer-stage{flex:1;min-height:120px;display:flex;align-items:end;outline-offset:-3px}.customers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;align-items:end}.customer{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:end;min-width:0;transition:opacity .15s}.customer.empty{opacity:0}.customer.left{opacity:.3}.customer .person-sprite{width:100%;filter:drop-shadow(0 2px 1px #36271833)}.order-bubble{background:#fffdf1;border:2px solid #466d44;border-radius:13px;padding:5px;width:100%;min-height:58px;position:relative;box-shadow:0 3px 0 #402e212b;margin-bottom:5px}.order-items{display:flex;flex-wrap:wrap;justify-content:center;gap:0}.order-item{width:50%;max-width:49px;position:relative}.order-item:only-child{width:64%;max-width:55px}.order-item.served .food-sprite{opacity:.35}.order-item b{position:absolute;right:0;bottom:0;background:#27764d;color:white;border-radius:50%;width:16px;height:16px;text-align:center;font-size:12px}.patience{height:5px;background:#d8d1af;border-radius:10px;margin-top:4px;overflow:hidden}.patience i{height:100%;display:block;background:#57a665}.urgent .patience i{background:#d13a39}.urgent .order-bubble{border-color:#cf3e36}.done .order-bubble{background:#e7f1d8;border-color:#3d8c4b}.play-hint{position:static;max-width:none;align-self:center;min-height:24px;font-size:11px;text-align:center;background:#fff6dbe8;color:#22543a;padding:4px 9px;text-shadow:none;border-radius:9px;flex:none}.food-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:none;padding:8px;background:#174d3ae6;border:2px solid #b7904f;border-radius:14px}.food-button{background:linear-gradient(#fffced,#eee3c2);border:2px solid #dcc797;border-radius:11px;padding:4px 3px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:1px;box-shadow:0 3px #102f2a66}.food-button .food-sprite{width:clamp(39px,13cqw,66px)}.food-button span{font-size:clamp(9px,2.6cqw,12px);font-weight:700;line-height:1.15}.food-menu.wrong{border-color:#e22d35}.order-tools{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:none}.order-tools>span{font-size:10px;background:#fff7dbe6;padding:4px 8px;border-radius:10px;text-align:center}.order-tools .round{width:44px;height:44px}.gain-feedback{top:66px;left:12px;z-index:3;font-size:17px}.celebration-hero{width:clamp(115px,36cqw,175px);margin:0 auto;aspect-ratio:1}.score-medallion{background:#f4e6bd;border-color:#e8d7a8}.result-score{color:#bb2633}.reward{border:2px solid #c9353b;background:#fffae8}.reward .eyebrow{background:#bd2937;border-radius:0 0 5px 5px}.reward h2,.claim-summary h2{color:#194e36}.reward-art{align-self:center}.claim-summary>.food-sprite{width:40%}.claim-summary{border-color:#dfc58d}.claim-summary .eyebrow{background:#c42d39}.sidebar{background:#fffbef;border-color:#d4bd91}.result-navigation{gap:5px}.snow{animation-duration:25s}
@media(max-height:650px){.instruction-art{min-height:110px;max-height:145px}.instruction-art>.person-sprite{width:120px}.tutorial-order{width:110px;left:16%;padding:3px}.steps{gap:7px}#instructions{gap:6px}.order-guide{font-size:10px;padding:7px}.brandbar{height:55px}.cover-heading{top:17%}.cover-heading h1{font-size:27px}.cover-heading>.eyebrow{top:calc(100% + 3px);font-size:9px;padding:3px 8px}.cover-heading .dates{top:calc(100% + 26px);font-size:10px}.cover-bottom .small{font-size:10px;margin-top:4px}.cover-bottom .eyebrow{font-size:10px}.cover-bottom h2{font-size:17px;margin:4px}.cover-bottom .primary{min-height:44px;font-size:19px}.cover-bottom .text-button{min-height:28px}.order-hud b{font-size:18px}.order-hud>div{padding:4px}.order-hud small{font-size:9px}.play{padding:7px 10px 4px;gap:3px}.food-menu{padding:5px;gap:5px}.food-button .food-sprite{width:39px}.food-button{padding:3px}.food-button span{font-size:9px}.customer-stage{min-height:115px}.order-tools>span{font-size:9px}.celebration-hero{width:120px}}
@media(max-height:540px) and (orientation:landscape){.play{overflow:auto;display:block}.customer-stage{height:180px}.food-menu{grid-template-columns:repeat(6,minmax(0,1fr));margin:5px 0}.customer{max-width:110px;margin:auto}.cover-heading{top:17%;left:5%;right:5%}.cover-bottom{left:50%;top:55%;padding:10px;background:#fff9e8e8}.order-tools{margin-top:6px}.order-guide{grid-column:2}.brandbar:has(#wallet:not([hidden])){padding-right:110px}}
body[data-screen=cover] .brandbar{background:transparent}
.person-sprite{clip-path:inset(1% 3% 2% 5%)}
body:not([data-screen=cover]):not([data-screen=play]) .brandbar:before{content:'';position:absolute;left:0;top:-6px;width:60px;height:60px;background:url('foods.png') 50% 100%/300% 300%;transform:rotate(-25deg);pointer-events:none}
body[data-screen=cover] .brandbar .header-actions{top:calc(12px - 10.4cqh)}.food-sprite{clip-path:inset(3%)}body:not([data-screen=cover]):not([data-screen=play]) .brandbar:before{clip-path:inset(4% 9%)}
@media(max-height:650px){.instruction-art>.person-sprite{margin-left:40%}.tutorial-order{left:3%;top:10px;width:43%}}
.food-6{background-size:256% 313.5%;aspect-ratio:490/400;clip-path:none}body:not([data-screen=cover]):not([data-screen=play]) .brandbar:before{clip-path:inset(5% 5% 5% 20%)}
.food-1{clip-path:inset(2% 13%)}
/* Lao Yew's own kopitiam wordmark; UI typography remains readable. */
@font-face{font-family:'Kopitiam Display';src:url('kopitiam-display.woff') format('woff');font-weight:700;font-style:italic;font-display:swap}
.brand,body[data-screen=cover] .brand{font-family:'Kopitiam Display','Noto Serif SC',Georgia,serif;font-weight:700;font-style:italic;font-size:clamp(23px,7.5cqw,36px);letter-spacing:-.045em;line-height:1.18;text-shadow:0 1px #fff4cf,0 2px #b89b5e;padding:0 3px 3px}
body[data-screen=play] .brand,body[data-screen=cover] .brand{color:#fff0c5;text-shadow:0 2px #78572b,0 3px #102f22}
body[data-screen=play] .brandbar{border-bottom:2px solid #c3a164;background:linear-gradient(#205c40,#143c2c)}
body[data-screen=cover] .brand{font-size:clamp(20px,6.5cqw,31px)}
#setMenu{flex:none;padding:5px 8px 6px;background:linear-gradient(135deg,#234c37,#102f25);border:3px solid #ad8350;border-radius:9px;box-shadow:0 3px 0 #4f351e88,inset 0 0 0 1px #dfbd7855;color:#fff6d7}
#setMenuTitle{display:block;text-align:center;font-size:11px;letter-spacing:.06em;margin-bottom:3px}.set-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 7px}.set-recipe{display:flex;gap:5px;align-items:center;min-width:0;border-radius:5px;padding:2px 3px;outline:1px solid transparent;transition:background .15s}.set-recipe.active{background:#d4a63836;outline-color:#e0bc6c}.set-badge{font:800 14px/24px system-ui;text-align:center;flex:none;width:24px;height:24px;border-radius:50%;color:white;background:#bd2937}.set-B{background:#297551}.set-C{background:#a6731d}.set-D{background:#3b7d90}.set-name{font-size:9px;line-height:1.15;flex:1;min-width:0}.set-foods{display:flex;flex:none;gap:0}.set-foods .food-sprite{width:23px;filter:drop-shadow(0 1px 1px #0007)}
.customer-stage{padding-top:29px}.customer-body{width:100%;display:flex;flex-direction:column;align-items:center}.customer-fx{position:absolute;left:50%;top:0;width:max-content;max-width:110%;transform:translate(-50%,-100%);z-index:5;pointer-events:none}.customer-points{display:block;color:#fffbd6;font-size:clamp(22px,7cqw,34px);line-height:1.15;font-weight:950;text-shadow:2px 0 #155338,-2px 0 #155338,0 2px #155338,0 -2px #155338,0 3px 3px #0006;animation:customerPoints 1.5s ease-out both}.set-order{min-height:43px;align-items:center;gap:5px;flex-wrap:nowrap}.set-detail{min-width:0;flex:1;text-align:center}.set-detail strong{font-size:10px;line-height:1.2;display:block}.set-progress{display:flex;gap:4px;justify-content:center;margin-top:4px}.set-progress i{font:700 10px/12px system-ui;width:12px;height:12px;border-radius:50%;background:#ddd4ae;color:#70633c}.set-progress .served{background:#34754c;color:white}.vip .order-bubble{border-color:#c89528;background:#fff3c9}
@keyframes customerPoints{0%{opacity:0;transform:translateY(5px) scale(.8)}15%,70%{opacity:1;transform:translateY(-3px) scale(1)}100%{opacity:0;transform:translateY(-17px)}}
@media(prefers-reduced-motion:reduce){.customer-points{animation:none}}
@media(max-height:650px){#setMenu{padding:3px 5px;border-width:2px}#setMenuTitle{font-size:9px;margin:0}.set-recipe{gap:3px;padding:1px}.set-foods .food-sprite{width:19px}.set-name{font-size:8px}.set-badge{width:21px;height:21px;font-size:12px;line-height:21px}.customer-stage{min-height:110px;padding-top:25px}.order-bubble{min-height:49px;padding:3px}.set-order{min-height:34px}.order-item{max-width:38px}.order-item:only-child{max-width:42px}.customer .person-sprite{width:83%}.set-detail strong{font-size:8px}.instruction-art{min-height:80px}.order-guide{font-size:9px;gap:3px}.steps{gap:5px}}
@media(max-height:650px) and (orientation:portrait){.set-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.set-recipe{flex-direction:column;gap:0}.set-name{display:none}.set-foods .food-sprite{width:18px}.set-badge{width:18px;height:18px;font-size:11px;line-height:18px}.customer .person-sprite{width:70%}.customer-stage{min-height:140px;padding-top:24px}.food-button .food-sprite{width:33px}.set-order{min-height:34px}}
@media(max-height:650px) and (orientation:portrait){.play{gap:2px}.lives{font-size:14px;line-height:18px}#setMenuTitle{line-height:11px}}
/* v1.2 — approved kopitiam art direction: timber, green tile, warm cream and holly. */
.experience{background:#fff8e6 url('shared.png') center/100% 100% no-repeat}
.illustrated{background:transparent}.brandbar{background:transparent;padding:8px 65px 5px;height:76px}
body:not([data-screen=cover]) .brandbar>div:first-child{background:linear-gradient(155deg,#20583b,#123d2b);border:2px solid #d5bc77;border-radius:48% 48% 9px 9px / 28% 28% 9px 9px;box-shadow:0 0 0 2px #234832,0 3px 4px #533d2329;padding:7px 19px 5px;min-width:56%}
body:not([data-screen=cover]) .brand{color:#fff1cb;text-shadow:0 2px #725626;font-size:clamp(23px,7cqw,33px)}
body:not([data-screen=cover]):not([data-screen=play]) .brandbar:before{display:none}
body[data-screen=play] .brandbar{height:52px;background:linear-gradient(#284e35,#143b29);border-bottom:2px solid #c3a164;padding:4px 65px}
body[data-screen=play] .brandbar>div:first-child{border:0;box-shadow:none;background:none;padding:0}
body[data-screen=cover] .brandbar{top:4%;height:8.5%;padding:0 25%;align-items:center}
body[data-screen=cover] .brand{font-size:clamp(20px,6.8cqw,32px);line-height:1.05}
body[data-screen=cover] .brandbar .header-actions{top:calc(12px - 4cqh)}
.cover-heading{top:14%;left:5%;right:5%}
.cover-heading h1{color:#bc1727;font-size:clamp(27px,8.8cqw,43px);line-height:1.08;letter-spacing:-.04em;text-shadow:2px 2px 0 #fff8dc,-2px -2px 0 #fff8dc,-2px 2px 0 #fff8dc,2px -2px 0 #fff8dc,0 4px 0 #8d5f2a60}
.cover-heading>.eyebrow{background:linear-gradient(#d52c32,#b31822);border:1px solid #f0b95b;box-shadow:0 2px #97391d44;border-radius:2px;padding:4px 12px;top:calc(100% + 5px)}
.cover-heading .dates{top:calc(100% + 34px);font-weight:800;border:1px solid #b58d42;background:#fff0c8f5;color:#463c25;padding:5px 4px}
.cover-bottom{background:linear-gradient(transparent,#fff6d9e8 20%,#fff8e7);padding-top:10px}.cover-bottom h2{color:#a82728}.primary{background:linear-gradient(#e12c2c,#be101c);border-color:#9b1520;box-shadow:inset 0 2px 2px #ffffff65,0 3px 0 #81202124}
.section-heading h1,.result-heading h1,.claim-screen h1{color:#b21823;text-shadow:0 2px #fff9e6;font-weight:950}
#instructions{padding-inline:24px}.instruction-art{background:linear-gradient(130deg,#fffdf6db,#fff3d48c);border:2px solid #c8a262;border-radius:18px;box-shadow:inset 0 0 0 4px #fff9e4,0 3px 0 #8e673329;margin:4px 0;min-height:150px;overflow:hidden}
.instruction-art>.person-sprite{width:min(75%,250px);max-height:none;align-self:flex-end;margin-left:-28%}
.tutorial-order{left:auto;right:5%;top:8%;width:50%;border-color:#3c4a31;background:#fffef9;z-index:1}
.tutorial-order:after{content:'';position:absolute;bottom:-11px;left:15%;width:18px;height:18px;transform:skewY(-35deg);background:#fffef9;border-left:2px solid #3c4a31;border-bottom:2px solid #3c4a31;clip-path:polygon(0 0,100% 0,0 100%)}
.steps li:before,.steps li:nth-child(2):before,.steps li:nth-child(3):before{background:#245c40;box-shadow:0 2px 0 #b69a60}.order-guide{background:#fff9e8e8;border:1px solid #dbc28c}
.order-bubble:after{content:'';position:absolute;bottom:-7px;left:24%;height:9px;width:12px;background:#fffdf1;border-left:2px solid #466d44;border-bottom:2px solid #466d44;transform:skewY(-28deg);clip-path:polygon(0 0,100% 0,0 100%)}
.reward,.claim-summary{border:2px solid #bc914b;border-radius:13px;background:linear-gradient(115deg,#fffdf1f5,#ffebc2f5);box-shadow:inset 0 0 0 4px #fff8e4,inset 0 0 0 5px #ddbb7b,0 3px 7px #5b3a1514}
.reward{padding:0 12px 12px}.reward .eyebrow{background:linear-gradient(#cb2632,#ae1420);border-radius:0 0 5px 5px;margin-inline:5%;padding:8px 5px}.reward h2,.claim-summary h2{color:#a62022}.reward-art{filter:drop-shadow(0 4px 2px #71471f26)}
.score-medallion{background:linear-gradient(#fff4d9,#f4dfaa);border:2px solid #c49c50;border-radius:14px;box-shadow:inset 0 0 0 3px #fff4d6}.result-score{color:#8f2024}.result-detail{background:#fffbefed}.claim-summary{margin-top:8px;padding:14px 10px}.claim-summary>.food-sprite{width:46%}.field input,#townField select{background:#fffefb;border-color:#b8b3a5;border-radius:6px}.notice{background:#fff4d9ed;border-color:#c69540}.checkbox,#privacy{background:#fff9e8d9;border-radius:5px}.game-footer{background:#fff7e9ee}
@media(max-height:650px){.brandbar{height:62px}.brandbar>div:first-child{padding-block:3px!important}.instruction-art{min-height:95px;max-height:140px}.instruction-art>.person-sprite{width:130px;margin-left:-35%}.tutorial-order{top:8%;width:48%;left:auto;right:5%}.cover-heading{top:14%}.cover-heading h1{font-size:27px}.cover-heading .dates{top:calc(100% + 29px);font-size:10px}.cover-heading>.eyebrow{font-size:9px;padding:3px 8px}.order-guide{font-size:9px}}
@media(max-height:540px) and (orientation:landscape){body[data-screen=cover] .brandbar{top:3%;height:50px}.cover-heading{top:24%;left:4%;right:53%}.cover-bottom{top:0;padding-top:60px}.instruction-art{max-height:none}}
/* Seat the customer cutouts behind a wooden serving ledge. */
.play{background-position:center top;background-size:100% 118%}.customers{position:relative;padding-bottom:8px}.customers:after{content:'';position:absolute;bottom:0;left:-12px;right:-12px;height:10px;border-top:2px solid #ecc48a;border-bottom:2px solid #5d351d;background:linear-gradient(#bd8444,#83532e);box-shadow:0 3px 3px #33240d40;pointer-events:none}.cover-heading .dates{font-size:clamp(11px,3.2cqw,14px)}
@media(max-height:650px){.play{background-size:100% 100%}.cover-heading .dates{font-size:11px}}
.result-navigation{background:#fffaeaeF;padding:3px 7px;border-radius:8px}.result-navigation .text-button{min-width:0}.back-result{background:#fffaeac9;padding-inline:5px}.field>span{background:#fffaeae6;padding:2px 3px;border-radius:3px}

/* v2.16.5 — reserve space for recipes and orders; shrink portraits, never cards. */
/* Explicit areas keep the optional Rush bar from shifting the customer row. */
body[data-screen=play] #play{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"hud hud" "rush lives" "recipes recipes" "customers customers" "hint hint" "food food" "tools tools";grid-template-rows:max-content max-content max-content minmax(190px,1fr) max-content max-content max-content;align-content:stretch;overflow-y:auto;overflow-x:hidden}
#play>.order-hud{grid-area:hud}
#play>.order-rush-bar{grid-area:rush;min-width:0;align-self:center}
#play>.lives{grid-area:lives;align-self:center}
#play>#setMenu{grid-area:recipes}
#play>.customer-stage{grid-area:customers}
#play>.play-hint{grid-area:hint}
#play>.food-menu{grid-area:food}
#play>.order-tools{grid-area:tools}
/* Short desktop windows scroll the page instead of clipping food controls inside the frame. */
@media(min-width:841px) and (min-height:541px){
 body[data-screen=play]{--frame-height:clamp(720px,calc(100dvh - 88px),820px);--frame-width:calc(var(--frame-height)*.5625)}
}
#play .customer-stage{display:block;min-height:0;height:100%;padding-top:24px;overflow:hidden}
#play .customers{height:100%;align-items:stretch}
#play .customer,#play .customer-body{height:100%;min-height:0}
#play .customer-body{display:flex;flex-direction:column;justify-content:flex-start}
#play .order-bubble{flex:none;margin-bottom:8px}
#play .customer-portrait{flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;container-type:size}
#play .customer-portrait .person-sprite{flex:none;width:min(100cqw,100cqh);height:auto;max-height:none;aspect-ratio:1;margin:0}
#play .set-detail strong{font-size:clamp(9px,2.6cqw,11px)}
#play .food-button{min-height:58px}
#play .order-tools{min-height:44px}
#play .customer-fx{top:24px}
@container (max-height:760px){
 #play{gap:3px;padding:7px 10px 4px}
 #play .lives{font-size:16px;line-height:20px}
 #setMenu{padding:4px 5px;border-width:2px}
 #setMenuTitle{font-size:10px;line-height:13px;margin-bottom:3px}
 #play .set-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 #play .set-recipe{flex-direction:column;gap:1px;padding:1px}
 #play .set-name{display:none}
 #play .set-foods .food-sprite{width:19px}
 #play .set-badge{width:21px;height:21px;font-size:12px;line-height:21px}
 #play .food-menu{padding:5px;gap:5px}
 #play .food-button{padding:3px}
 #play .food-button .food-sprite{width:clamp(33px,10cqw,42px)}
 #play .food-button span{font-size:10px}
}
@media(max-height:540px) and (orientation:landscape){
 body[data-screen=play] #play{grid-template-rows:max-content max-content max-content 190px max-content max-content max-content}
}

#play .lives{justify-self:end}

#play .customer{width:100%;max-width:none;margin:0}

/* Reward celebration and continued service. */
.order-rush-bar{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;background:#fff8e8f5;border:1px solid #d4b271;border-radius:12px;padding:4px 7px;color:#194f38;font-size:11px;font-weight:750}
.order-rush-bar span{min-width:0;line-height:1.2}.order-rush-bar button{flex:none;background:#194f38;color:#fff9e8;border:0;border-radius:9px;padding:7px 10px;font:inherit;min-height:34px;cursor:pointer}
#orderCountdown{position:absolute;z-index:8;top:48%;left:50%;transform:translate(-50%,-50%);background:#194f38f2;color:#fff4d4;border:2px solid #e7c98e;border-radius:20px;padding:18px 24px;font-size:25px;font-weight:900;white-space:nowrap;pointer-events:none}
#orderReward{position:fixed;margin:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px 22px;border:2px solid #c99a52;border-radius:26px;text-align:center;color:#194f38;background:linear-gradient(150deg,#fffaf0,#f6e8bf);box-shadow:0 20px 70px #163e3866}
#orderReward::backdrop{background:#15382bb0;backdrop-filter:blur(4px)}
#orderReward h2{font-size:clamp(23px,6vw,31px);line-height:1.2;margin:8px 0}#orderReward p{position:relative;margin:10px 0;line-height:1.45}
#orderReward .order-reward-offer{font-size:clamp(22px,5.5vw,29px);font-weight:900;color:#bb2633}
#orderReward button{position:relative;width:100%;min-height:48px;margin-top:10px;font-size:17px}
#orderReward .order-reward-art{width:110px;margin:0 auto}
.order-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:24px}.order-confetti i{position:absolute;left:calc(var(--i)*5.5%);top:-16px;width:8px;height:14px;background:#c99a52;animation:orderConfetti 2.6s calc(var(--i)*-.14s) ease-out 2}.order-confetti i:nth-child(3n){background:#258254}.order-confetti i:nth-child(3n+1){background:#d8363f;border-radius:50%}
@keyframes orderConfetti{from{transform:translateY(0) rotate(0)}to{transform:translateY(560px) rotate(580deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.order-confetti{display:none}}
@media(max-height:650px){.order-rush-bar{font-size:10px;padding:2px 5px}.order-rush-bar button{min-height:30px;padding:5px 8px}#orderReward{padding:15px}#orderReward .order-reward-art{width:75px}}
