: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}

/* Roti Hangat: own warm bakery identity and production atlas. */
.art{display:block;background-image:url('sprites.png');background-repeat:no-repeat;flex:none;width:100%;height:auto!important}
@font-face{font-family:'Workshop Display';src:url('workshop-display.woff') format('woff');font-display:swap;font-weight:400}
:root{color:#57331e;background:#eee3cf;--cream:#fff4df;--pine:#22533b;--red:#b51d2b}body{background:radial-gradient(ellipse at top,#fffaf0,#e8d9c1)}.experience{background:#fff3df url('backdrop.png') center/cover;border-color:#bc9567}.brandbar{height:70px;padding:10px 67px 4px 16px;background:none}.brandbar>div:first-child{padding:3px 15px;background:linear-gradient(100deg,#fae9ca,#f2d7ad);border:1px solid #d5b488;border-radius:40% 35% 30% 27% / 18% 22% 20% 15%;box-shadow:0 2px 0 #7d4c2920}.brand{font-family:'Workshop Display',Georgia,serif;font-size:clamp(22px,6.7cqw,31px);font-weight:400;letter-spacing:-.035em;color:#663c25;line-height:1.04}.brand:after{display:none}.brandbar small{display:block;font-size:9px;color:#80502d;line-height:1.25}.language select{background:#fff3dfe8;color:#643e24;border-color:#c8a473}.game-footer{color:#6c442a;background:#fff3dfe8;border-top:1px solid #d8b68766}.game-footer strong{color:#256446}.primary{background:linear-gradient(#ce3443,#b31929);border:1px solid #951624;border-radius:24px;box-shadow:inset 0 2px 3px #ffded577,0 4px 0 #6d211e22;color:#fff4df;text-shadow:0 1px #711f2455}.secondary{background:#fff6e6e8;color:#674027;border-color:#cba679;border-radius:10px}.round{width:44px;height:44px;border:2px solid #f6d6a7;background:#6d452b;color:#fff5e0}.icon-button{color:#734525;background:#fff1d8;border-color:#bc976b}.text-button{color:#684429}.eyebrow{color:#794326}.section-heading h1,.result-heading h1{color:#a9202a;font-weight:900;text-shadow:0 2px #fff4db}.illustrated{background:transparent}
body[data-screen=cover] .brandbar{height:70px;padding:10px 70px 4px 16px}.cover-art{object-fit:cover}.cover-heading{top:10.8%;left:4%;right:4%}.cover-heading h1{font-size:clamp(28px,8.8cqw,41px);color:#fff3d8;letter-spacing:-.055em;line-height:1.08;text-shadow:2px 3px #981d26,-2px -2px #981d26,-2px 2px #981d26,2px -2px #981d26,0 5px 5px #3b160a88}.cover-heading>.eyebrow{top:calc(100% + 7px);color:#fff3df;background:linear-gradient(#d83b3d,#a91924);border:1px solid #edae69;box-shadow:0 3px #5c1e1644;border-radius:4px;padding:5px 11px;font-size:clamp(10px,3cqw,13px);transform:translateX(-50%) rotate(-1deg)}.cover-heading .dates{top:calc(100% + 42px);color:#6b3f23;background:#ffe9c5f5;border:1px solid #b68a54;font-weight:800;font-size:clamp(11px,3.2cqw,14px);padding:6px 3px}.cover-bottom{background:linear-gradient(transparent,#fff2dbe8 18%,#fff6e6f5);padding:15px 7% 3px}.cover-bottom>.eyebrow{color:#78371e;background:#fff1d3dd;border-color:#e6c795;font-size:11px}.cover-bottom h2{color:#9b2125;font-size:clamp(20px,5.8cqw,26px);margin:6px 0 10px}.cover-bottom .primary{font-size:21px;min-height:47px}.cover-bottom .small{font-size:clamp(10px,2.7cqw,12px);margin-top:7px}.cover-bottom .text-button{min-height:30px}.snow{opacity:.4}
.art,.cookie{display:block;background-repeat:no-repeat;flex:none;height:auto!important}.art{background-image:url('sprites.png')}.cookie{background-image:url('cookies.png');width:100%}
#instructions{padding:5px 22px 8px;gap:8px}.instruction-art{min-height:130px;max-height:315px;flex:1;position:relative}.sample-ticket{position:absolute;left:1%;top:9%;width:39%;height:66%;background:#fff4df;border:1px solid #d5b58b;border-radius:5px;box-shadow:0 4px 6px #7d4d2e22;transform:rotate(-7deg);padding:8px;display:grid;grid-template-columns:1fr 30%;grid-template-rows:auto 1fr 1fr;gap:2px;align-items:center}.sample-ticket span{grid-column:1/-1;font-size:12px;font-weight:800}.sample-ticket .cookie{width:70%;max-height:75px}.sample-ticket b{font-size:19px}.tutorial-box{position:absolute;width:71%;right:0;bottom:7%}.tutorial-cookie{position:absolute;width:18%;right:25%;bottom:21%;filter:drop-shadow(0 3px 1px #724a2822);animation:cookie-place 3.2s ease-in-out infinite}.tutorial-arrow{position:absolute;top:46%;left:34%;font-size:38px;line-height:1;color:#b1262b;transform:rotate(10deg)}@keyframes cookie-place{0%,15%{transform:translate(-25px,-30px);opacity:.2}45%,100%{transform:translate(0,0);opacity:1}}.steps{gap:8px}.steps li{font-size:clamp(12px,3.5cqw,15px);background:#fff7e5b3;border:1px solid #e0c399;border-radius:12px;padding:7px 9px}.steps li:before,.steps li:nth-child(2):before,.steps li:nth-child(3):before{background:#b92330;color:#fff5de;width:27px;height:27px;font-size:18px}.item-guide{grid-template-columns:repeat(3,1fr);gap:5px}.item-guide>div{padding:6px 4px;background:#fff6e5c9;border-color:#d2b78c;border-radius:11px}.item-guide .cookie,.item-guide .art{height:auto!important;width:38px;margin:0 auto 3px}.item-guide strong{font-size:10px;font-weight:750}.platform-note{font-size:10px;text-align:center;color:#795739;line-height:1.35}
body[data-screen=play] .brandbar{height:60px;padding:5px 65px 4px 10px;background:#754a2d}body[data-screen=play] .brand{font-size:25px}body[data-screen=play] .brandbar small{font-size:8px}.play{display:flex;flex-direction:column;gap:0;padding:8px 10px 5px;background:#91613e url('workshop.png') center/cover;overflow:hidden}.pack-hud{display:flex;gap:7px;align-items:center;justify-content:space-between;flex:none;background:#fff2dbeF;border:2px solid #aa7850;border-radius:13px;padding:5px 8px;box-shadow:0 3px 0 #4b2b2244;color:#59341e}.pack-hud>div{min-width:45px;text-align:center;flex:1}.pack-hud .box-progress{flex:1.2}.pack-hud small{display:block;font-size:9px;line-height:1.2}.pack-hud b{font-size:20px;line-height:1.1;font-variant-numeric:tabular-nums}.pack-hud .round{width:44px;height:44px;font-size:21px}.height-track{height:4px;background:#d5bd97;border-radius:8px;overflow:hidden;margin-top:3px}.height-track i{height:100%;display:block;background:#397748;width:0}.pack-meta{display:flex;justify-content:space-between;align-items:center;min-height:25px;padding:2px 4px;flex:none}.pack-meta .lives{position:static;font-size:18px;line-height:1;color:#e63342;text-shadow:0 1px #fff3dc;letter-spacing:2px}.pack-meta #combo{font-weight:850;color:#fff5d7;text-shadow:0 2px #704222;font-size:12px}.order-ticket{flex:none;z-index:2;background:#fff2dbeF;border:1px solid #c7a070;border-bottom:3px dashed #c6a77d;border-radius:7px;margin:0 7% 0 13%;padding:6px 9px;box-shadow:0 3px 4px #4c2b1844;transform:rotate(-1deg)}.order-ticket h2{font-size:13px;margin:0 0 5px;line-height:1.1}#orderItems{display:flex;justify-content:space-around;gap:5px}.order-item{display:flex;align-items:center;gap:3px;flex:1;min-width:0}.order-item .cookie{width:36px}.order-copy{flex:1;min-width:0}.order-copy span{display:block;font-size:9px;line-height:1.15}.order-copy b{display:block;font-size:17px;color:#8e3420;white-space:nowrap}.order-item.complete .order-copy b{color:#27653c}.order-item.complete{opacity:.65}.pack-scene{position:relative;flex:1;min-height:150px;isolation:isolate}.pack-grandma{position:absolute;width:31%;max-width:140px;left:-1%;bottom:45%;z-index:0;transform-origin:bottom center}.celebrating .pack-grandma{animation:nod .4s ease-in-out alternate 2}@keyframes nod{to{transform:rotate(-6deg) translateY(-5px)}}.gift-box{position:absolute;width:85%;max-width:340px;right:0;bottom:2%;filter:drop-shadow(0 6px 3px #45291044);transition:transform .3s ease,opacity .3s}.gift-box[data-phase=in]{animation:box-in .35s ease-out}.gift-box[data-phase=out]{transform:translateX(110%);opacity:0}.gift-box[data-phase=tied]{animation:box-pop .5s ease}.gift-box>#boxArt{width:100%}#boxSlots{position:absolute;left:10%;right:9%;top:39%;height:30%;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:minmax(0,1fr);gap:3px;transform:perspective(350px) rotateX(15deg)}.box-slot{background:#f3e4c6;border:1px solid #c9ad87;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 2px 4px #65422222}.box-slot .cookie{width:65%;max-height:100%;opacity:.17}.box-slot.filled .cookie{opacity:1}.box-slot.reserved .cookie{opacity:.4}.box-slot.filled{background:#fff0cc}.gain-feedback{display:none!important}@keyframes box-in{from{transform:translateX(-110%);opacity:0}}@keyframes box-pop{50%{transform:scale(1.05)}}
.conveyor-shell{position:relative;height:91px;flex:none;margin:3px -4px 0;padding:6px 1px;background:linear-gradient(#c99565,#784a2c);border:3px solid #5d3821;border-radius:13px;box-shadow:0 4px 0 #472c2088,inset 0 1px 1px #f6d4a8}.conveyor{position:relative;width:100%;height:100%;overflow:hidden;border:1px solid #36291e;border-radius:7px;background:repeating-linear-gradient(90deg,#80624d 0,#80624d 26px,#573e2b 27px,#573e2b 28px);box-shadow:inset 0 3px 5px #2b1c1b55}.belt-cookie{position:absolute;top:50%;width:66px;height:68px;transform:translate(-50%,-50%);padding:5px;border-radius:10px;background:none;border:2px solid transparent;touch-action:manipulation;transition:background-color .15s}.belt-cookie .cookie{width:100%;height:auto;filter:drop-shadow(0 3px 1px #35241688);pointer-events:none}.belt-cookie:active:not(:disabled){transform:translate(-50%,-50%) scale(.92)}.belt-cookie:disabled{opacity:1}.belt-cookie:focus-visible{outline:3px solid #ffdc6c;outline-offset:-3px}.belt-cookie.wrong{background:#ffb28e77;border-color:#b22925}.belt-cookie.burnt:after{content:'!';position:absolute;right:0;bottom:0;width:19px;height:19px;border-radius:50%;background:#b01b26;color:#fff4da;font-weight:900;line-height:19px;font-size:12px}.belt-direction{position:absolute;left:4px;top:34%;z-index:2;color:#fff0d4;font-size:14px;pointer-events:none}.pack-hint{flex:none;height:23px;text-align:center;font-size:10px;font-weight:700;color:#fff2d6;text-shadow:0 1px 2px #4b2618;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ribbon-area{flex:none;padding:1px 9% 0}.timing{position:relative;height:17px;border:2px solid #f9dfab;box-shadow:0 1px 0 #51341f;border-radius:15px;background:linear-gradient(90deg,#b73a3b,#ad7038 30%,#548953 40%,#548953 60%,#ad7038 70%,#b73a3b);opacity:.45}.timing.active{opacity:1}.timing #goldZone{position:absolute;top:0;bottom:0;background:linear-gradient(#fff3a3,#edc24f);box-shadow:0 0 5px #ffe4a6}.timing #needle{position:absolute;top:-12px;font-size:17px;line-height:17px;transform:translateX(-50%);color:#fff4de;text-shadow:0 1px 3px #412315}.timing #needle:after{content:'';position:absolute;top:12px;left:7px;height:14px;border-left:2px solid #fff8e6}.ribbon-area p{text-align:center;color:#fff2d9;font-size:9px;height:17px;line-height:17px;margin:2px 0}.pack-tools{flex:none;display:flex;align-items:center;gap:10px;padding:2px 2px 0}.pack-tools #tie{flex:1;min-height:46px;font-size:18px}.pack-tools #tie:disabled{background:#c8b49c;color:#fff6e8;border-color:#b59a7e;opacity:.9;box-shadow:inset 0 1px 2px #f6e2cd}.pack-tools #help{background:#ffe4b7;color:#74482a;border:1px solid #cda872}.keyboard-note{flex:none;text-align:center;color:#fff0d6;font-size:8px;line-height:15px;min-height:15px}.effect-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:5}.point-pop{position:absolute;transform:translate(-50%,-100%);font-weight:950;font-size:25px;line-height:1.1;color:#22633d;text-shadow:2px 2px #fff4d9,-2px -2px #fff4d9,2px -2px #fff4d9,-2px 2px #fff4d9,0 3px 5px #45261655;white-space:nowrap}.point-pop.bad{color:#b31929;font-size:20px}.flying-cookie{position:absolute;width:39px;filter:drop-shadow(0 4px 2px #45322066)}
.celebration-hero.art{width:48%;height:auto!important;max-width:180px;margin:2px auto 6px}.result-heading h1{font-size:clamp(25px,7.8cqw,35px)}.score-medallion{background:#fff0d3e8;border-color:#dfb77f;border-radius:16px}.result-score{color:#a31a25}.score-trophy{color:#ce9634}.reward{border:1px solid #cda36d;background:linear-gradient(130deg,#fff5e2,#f5dbaf);border-radius:13px;padding-top:39px;box-shadow:0 3px 5px #70482122}.reward .eyebrow{background:linear-gradient(#cb303a,#ab1a28);color:#fff3df;border-radius:0 0 9px 9px}.reward h2,.claim-summary h2{color:#941c22}.reward-art.art{width:100%;height:auto!important;max-height:none;filter:drop-shadow(0 3px 2px #6f432733)}.reward>[data-content=terms]{color:#75573b}.result-detail{background:#fff6e7e8;border-color:#d0ae82;color:#603a25}.result-detail p{color:#86684d}.shop-channel{color:#7b593d;border-color:#c7a77b;background:#fffaef}.result-navigation{background:#fff7e8ce;padding:3px 5px;border-radius:9px}.claim-screen h1{color:#763b23}.claim-summary{background:#ffeed1;border-color:#d8b27c}.claim-summary>.art{width:44%;height:auto!important}.claim-summary .eyebrow{background:#b41e2c}.field input,#townField select{border-color:#c6aa88;color:#633b25;background:#fffaf0}.notice{color:#805637;background:#f5e3c4;border-color:#bc915a}.checkbox input{accent-color:#b4242c}.sidebar{background:#fff5e5;border-color:#d9bd96}.sidebar h2{color:#754327}.rank-row{border-color:#e0c8a6}.sidebar-note{border-color:#ddc3a0}dialog{color:#583c25;background:#fff5e4;border-color:#c5a373}.global-status{background:#61391f}
@media(max-height:650px){.brandbar{height:55px;padding-top:5px}.brand{font-size:24px}.brandbar small{font-size:8px}body[data-screen=cover] .brandbar{height:58px;padding-top:4px}.cover-heading{top:12%;left:4%;right:4%}.cover-heading h1{font-size:28px}.cover-heading>.eyebrow{top:calc(100% + 4px);padding:3px 8px;font-size:10px}.cover-heading .dates{top:calc(100% + 31px);font-size:10px;padding:5px 2px}.cover-bottom{padding-top:10px}.cover-bottom h2{font-size:19px;margin:4px 0 7px}.cover-bottom .primary{font-size:20px;min-height:44px}.cover-bottom .small{font-size:10px}.cover-bottom .text-button{min-height:28px}.cover-bottom>.eyebrow{font-size:10px}.instruction-art{min-height:105px;max-height:150px}.sample-ticket{padding:5px}.sample-ticket span{font-size:10px}.sample-ticket b{font-size:14px}.sample-ticket .cookie{width:58%}.tutorial-arrow{font-size:28px}.steps{gap:4px}.steps li{font-size:11px;padding:5px 7px}.steps li:before,.steps li:nth-child(2):before,.steps li:nth-child(3):before{width:24px;height:24px;font-size:17px}#instructions{gap:5px;padding:3px 18px 5px}.item-guide .cookie,.item-guide .art{width:28px}.item-guide>div{padding:4px}.item-guide strong{font-size:9px}.platform-note{font-size:9px}.celebration-hero.art{width:35%}body[data-screen=play] .brandbar{height:51px}.play{padding-top:4px}.pack-hud{padding:3px 6px}.pack-hud b{font-size:18px}.pack-meta{min-height:20px}.order-ticket{padding:4px 6px;margin-right:3%;margin-left:8%}.order-ticket h2{font-size:11px;margin-bottom:3px}.order-item .cookie{width:28px}.order-copy span{font-size:8px}.order-copy b{font-size:15px}.pack-scene{min-height:127px}.gift-box{width:69%;max-width:250px}.pack-grandma{width:28%;bottom:28%}.conveyor-shell{height:75px}.belt-cookie{width:57px;height:57px}.pack-hint{height:18px;line-height:18px;font-size:9px}.pack-tools #tie{min-height:44px;font-size:17px}.ribbon-area p{font-size:8px}.keyboard-note{font-size:7px;line-height:12px;min-height:12px}.ribbon-area{padding-top:0}}
@media(max-height:540px) and (orientation:landscape){#instructions{display:flex;overflow:auto}.instruction-art{flex:none;height:160px;min-height:160px}.play{overflow:auto;min-height:440px}.cover-heading{top:21%;left:4%;right:52%}.cover-bottom{left:50%;top:0;padding-top:52px;background:#fff3dfe6}}

/* Keep mixed cookie quantities readable on compact screens. */
#orderItems:has(.order-item:nth-child(4)) .order-item{flex-direction:column;gap:0;text-align:center}
#orderItems:has(.order-item:nth-child(4)) .cookie{width:23px}
#orderItems:has(.order-item:nth-child(4)) .order-copy{width:100%}
#orderItems:has(.order-item:nth-child(4)) .order-copy span{font-size:7px;line-height:1}
#orderItems:has(.order-item:nth-child(4)) .order-copy b{font-size:13px;line-height:1.1}
@media(max-height:650px){#play:has(#orderItems .order-item:nth-child(4)) .pack-scene{min-height:110px}}

@media(max-height:650px){.cover-heading{top:9%}.cover-heading h1{font-size:25px}}

/* v1.1 approved clay draft artwork and compact workbench composition */
.cookie-0{aspect-ratio:423/388;background-size:363.12057% 263.91753%;background-position:4.31267% 11.94969%}
.cookie-1{aspect-ratio:415/414;background-size:370.12048% 247.34300%;background-position:51.73952% 9.67213%}
.cookie-2{aspect-ratio:423/377;background-size:363.12057% 271.61804%;background-position:96.49596% 13.91036%}
.cookie-3{aspect-ratio:421/386;background-size:364.84561% 265.28497%;background-position:3.94619% 86.52038%}
.cookie-4{aspect-ratio:417/378;background-size:368.34532% 270.89947%;background-position:49.86595% 88.39009%}
.cookie-5{aspect-ratio:432/478;background-size:355.55556% 214.22594%;background-position:96.92029% 87.91209%}
.art-0{aspect-ratio:490/476;background-size:313.46939% 215.12605%;background-position:2.10325% 6.56934%}
.art-1{aspect-ratio:421/480;background-size:364.84561% 213.33333%;background-position:50.94170% 6.25000%}
.art-2{aspect-ratio:491/430;background-size:312.83096% 238.13953%;background-position:98.56459% 12.96296%}
.art-3{aspect-ratio:456/315;background-size:336.84211% 325.07937%;background-position:2.87037% 88.15233%}
.art-4{aspect-ratio:544/459;background-size:282.35294% 223.09368%;background-position:51.81452% 92.38938%}
.art-5{aspect-ratio:419/299;background-size:366.58711% 342.47492%;background-position:96.32945% 87.86207%}

/* The decorative plaque contains live, client-specific text. */
.brandbar{height:42px;padding:0;background:transparent}
.brandbar>div:first-child{display:none}
body[data-screen=cover] .brandbar{height:105px;padding:8px 0 0;background:transparent;align-items:flex-start}
body[data-screen=cover] .brandbar>div:first-child{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;width:71%;height:94px;padding:22px 14% 12px 13%;border:0;border-radius:0;box-shadow:none;background:none}
body[data-screen=cover] .brandbar>div:first-child:before{content:'';position:absolute;inset:0;background-image:url('signboard.png');background-repeat:no-repeat;background-size:101.12% 183.84%;background-position:52.94% 46.89%;z-index:-1}
body[data-screen=cover] .brand{font-size:clamp(19px,6.1cqw,28px);font-family:'Workshop Display',Georgia,serif;letter-spacing:-.035em;white-space:nowrap;color:#633922;text-shadow:0 1px #fff1d3;line-height:1.1}
body[data-screen=cover] .brandbar small{font-size:clamp(8px,2.4cqw,11px);line-height:1.5;color:#633922;white-space:nowrap}
.header-actions{top:7px;right:7px}.language select{font-size:10px;min-height:31px;padding:3px;border-radius:10px}
.cover-heading{top:14.6%;left:4%;right:4%}
.cover-heading h1{background:linear-gradient(165deg,#d9413f,#a91220);border:1px solid #eaaa6e;border-radius:34% 23% 28% 21% / 18% 21% 18% 20%;padding:9px 6px;font-size:clamp(27px,8.1cqw,37px);letter-spacing:-.035em;box-shadow:inset 0 2px 2px #ffc5a966,0 3px 6px #45271566;text-shadow:0 2px 0 #86251e}
.cover-heading>.eyebrow{top:calc(100% + 4px);background:#ffe7bd;color:#a32a24;border:0;font-size:11px;font-weight:900;padding:5px 13px;box-shadow:0 2px 3px #4b271b55}
.cover-heading .dates{top:calc(100% + 34px);left:10%;right:10%;font-size:11px;padding:5px 3px}
.cover-bottom{padding-top:13px;background:linear-gradient(transparent,#fff1dbe8 23%,#fff5e4f2)}
.cover-bottom>.eyebrow{border:0;background:none;padding:2px}.cover-bottom h2{margin:5px 0 9px}
.snow{display:none}
/* During play the language selector is available inside Pause. */
body[data-screen=play] .brandbar{display:none}
#pauseDialog .header-actions{position:static;justify-content:flex-end;margin-bottom:12px}
.play{padding-top:10px}
.pack-hud{border:4px solid #825332;box-shadow:0 3px 0 #42271955,inset 0 1px 1px #ffebc6;border-radius:17px;background:linear-gradient(115deg,#fff3dc,#f7ddba)}
.order-ticket{margin:5px 4% 0 13%;padding:9px 10px;background:#fff1daF7}
.pack-scene{min-height:150px;max-height:none}
.pack-grandma{width:min(37%,17cqh);max-width:155px;left:-2%;bottom:37%;z-index:1}
.gift-box{width:min(72%,34cqh,280px);right:4%;bottom:5%;aspect-ratio:491/430;max-width:none;filter:drop-shadow(0 5px 3px #45291033)}
.gift-box>#boxArt{position:absolute;bottom:0;left:0;width:100%;height:auto!important}
#boxSlots{left:8%;right:8%;top:48%;height:30%;gap:3px;transform:perspective(350px) rotateX(12deg)}
.box-slot{background:repeating-linear-gradient(90deg,#e9cfad 0 2px,#f5dfbd 2px 4px);border:2px solid #e2c5a0;border-radius:3px;box-shadow:inset 0 2px 5px #7d4b2b33}
.box-slot .cookie{width:70%;max-width:55px;max-height:100%;opacity:.13}
.box-slot.filled{background:linear-gradient(#f0d8b6,#f7e5cb)}
.box-slot.filled .cookie{opacity:1}
.conveyor-shell{margin-top:6px;border-radius:18px;border-color:#634127;background:linear-gradient(#c18e60,#845733);height:93px}
.conveyor{background:repeating-linear-gradient(90deg,#7c624c 0,#8e7158 25px,#564331 27px,#564331 28px);border-radius:10px}
.ribbon-area{padding-top:6px}.timing{height:22px}.ribbon-area p{height:20px;line-height:20px;font-size:10px}
.pack-hint{height:25px;line-height:25px}
.pack-tools{padding-top:5px;padding-bottom:4px}
.pack-tools #tie{min-height:48px}
.section-heading{position:relative;padding:16px 0 12px;isolation:isolate}
.section-heading:before{content:'';position:absolute;inset:0;background:url('signboard.png') center/100% 184% no-repeat;z-index:-1}
.section-heading h1{color:#733722;font-size:clamp(24px,7.9cqw,35px);text-shadow:0 1px #ffefd1}
.instruction-art{max-height:none;min-height:150px}.tutorial-box{width:67%;bottom:4%}.tutorial-cookie{width:17%;right:24%;bottom:19%}
.steps li{border:0;background:transparent;padding:4px 0;font-size:clamp(12px,3.8cqw,16px)}
.reward{padding-top:0;border:1px solid #d0a26f}.celebration-hero.art{width:51%;max-width:185px;margin-top:5px}
.result-heading h1{font-size:clamp(27px,8.5cqw,36px)}
.claim-summary{padding:14px 10px}.claim-summary>.art{width:50%}
@media(max-height:650px){
 .brandbar{height:37px}body[data-screen=cover] .brandbar{height:81px;padding-top:4px}body[data-screen=cover] .brandbar>div:first-child{height:76px;width:69%;padding-top:17px;padding-bottom:10px}
 body[data-screen=cover] .brand{font-size:21px}body[data-screen=cover] .brandbar small{font-size:8px}
 .cover-heading{top:15%;left:4%;right:4%}.cover-heading h1{font-size:25px;padding:7px 4px}.cover-heading>.eyebrow{font-size:9px;padding:3px 10px}.cover-heading .dates{top:calc(100% + 27px);font-size:9px;padding:4px}
 .cover-bottom{padding-top:10px}.cover-bottom h2{font-size:18px;margin:3px 0 5px}.cover-bottom .small{font-size:9px;margin-top:5px}.cover-bottom .text-button{min-height:26px}
 .play{padding-top:6px}.pack-hud{padding:3px 6px;border-width:3px}.order-ticket{padding:5px 8px;margin-top:2px}.pack-scene{min-height:120px}
 .pack-grandma{bottom:42%;width:30%}.gift-box{width:min(69%,32cqh,240px);bottom:3%}
 .conveyor-shell{height:75px}.pack-hint{height:19px;line-height:19px}.ribbon-area{padding-top:3px}.timing{height:18px}.ribbon-area p{height:17px;line-height:17px;font-size:9px}.pack-tools #tie{min-height:44px}
 .section-heading{padding:11px 0 9px}.section-heading h1{font-size:27px}.instruction-art{min-height:120px;max-height:none}.steps li{font-size:12px;padding:3px 0}.celebration-hero.art{width:39%}
}

/* Global keyboard controls do not need a focus frame around the artwork. */
#packBoard:focus{outline:none}
/* Keep the cover sign centred after a demo voucher has been remembered. */
body[data-screen=cover] .brandbar:has(#wallet:not([hidden])){padding:8px 0 0}
body[data-screen=cover] .brandbar:has(#wallet:not([hidden])) .brand{font-size:clamp(19px,6.1cqw,28px)}
body[data-screen=cover] .header-actions{flex-direction:column;align-items:flex-end;gap:5px}
body[data-screen=cover] .header-actions .language{order:-1}
body[data-screen=cover] #wallet{font-size:8px;min-height:25px;max-width:48px;padding:3px}
@media(max-height:650px){body[data-screen=cover] .brandbar:has(#wallet:not([hidden])){padding:4px 0 0}body[data-screen=cover] .brandbar:has(#wallet:not([hidden])) .brand{font-size:21px}}

/* Nenek reward and continued packing. */


#finishPack{position:absolute;z-index:3;left:50%;top:146px;transform:translateX(-50%);max-width:75%;background:#fff3c8ed;color:#66360b;border:1px solid #e5b65a;border-radius:18px;padding:8px 16px;font-family:inherit;font-size:12px;font-weight:700;min-height:40px;cursor:pointer}
#packCountdown{position:absolute;z-index:8;top:48%;left:50%;transform:translate(-50%,-50%);background:#8b301ef2;color:#fff4d4;border:2px solid #e7c98e;border-radius:20px;padding:18px 24px;font-size:25px;font-weight:900;white-space:nowrap;pointer-events:none}
#packReward{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:#57320d;background:linear-gradient(150deg,#fffaf0,#f6e8bf);box-shadow:0 20px 70px #163e3866}
#packReward::backdrop{background:#633218d9;backdrop-filter:blur(4px)}
#packReward h2{font-size:clamp(23px,6vw,31px);line-height:1.2;margin:8px 0}#packReward p{position:relative;margin:10px 0;line-height:1.45}
#packReward .pack-reward-offer{font-size:clamp(22px,5.5vw,29px);font-weight:900;color:#bb2633}
#packReward button{position:relative;width:100%;min-height:48px;margin-top:10px;font-size:17px}
#packReward .pack-reward-art{width:110px;margin:0 auto}
.pack-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:24px}.pack-confetti i{position:absolute;left:calc(var(--i)*5.5%);top:-16px;width:8px;height:14px;background:#c99a52;animation:packConfetti 2.6s calc(var(--i)*-.14s) ease-out 2}.pack-confetti i:nth-child(3n){background:#258254}.pack-confetti i:nth-child(3n+1){background:#d8363f;border-radius:50%}
@keyframes packConfetti{from{transform:translateY(0) rotate(0)}to{transform:translateY(560px) rotate(580deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.pack-confetti{display:none}}
@media(max-height:650px){#packReward{padding:15px}#packReward .pack-reward-art{width:75px}}

#packReward .pack-reward-art{height:110px;width:140px;margin:0 auto;background-repeat:no-repeat}#packReward .primary,#packReward .secondary{font-size:clamp(16px,4vw,22px)}

#finishPack{position:static;transform:none;flex:none;margin:4px auto 0;max-width:80%;font-size:12px;padding:7px 12px;min-height:36px}.reward-continued .keyboard-note{display:none}#packReward .pack-reward-art{width:150px}#packReward .primary{font-size:18px}
