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

/* KotaGo's approved glossy Christmas night-market identity. */
@font-face{font-family:'KotaGo Display';src:url('brand-display.woff') format('woff');font-weight:800;font-style:italic;font-display:swap}
:root{color:#643013;background:#f1e8d5;--pine:#14602e;--cream:#fff7df;--red:#d00b20}body{background:radial-gradient(ellipse at top,#fff9ea,#e9e0ce)}.experience{background:#fff5dd url('backdrop.png') center/100% 100%;border-color:#d0ac63}.brandbar{height:82px;padding:22px 65px 0 12px;background:transparent}.brand{font-family:'KotaGo Display',sans-serif;font-weight:800;font-style:italic;font-size:clamp(24px,7cqw,34px);color:#fff8d6;background:#075f32;display:inline-block;padding:4px 14px 7px;border:2px solid #eac15f;border-radius:45% 15% 40% 18%;transform:rotate(-5deg);letter-spacing:-.035em;text-shadow:0 2px #003d26}.brand:after{display:none}.brandbar small{display:none}.language select{background:#fff9ebec;color:#674225;border-color:#cfb578}.header-actions{flex-direction:column;top:10px}.game-footer{background:#fff8eae8;color:#68462a;border-top:1px solid #dfbd7833}.game-footer strong{color:#276550}.primary{background:linear-gradient(#ff3d3b 0%,#e11124 45%,#c7001c 100%);border:1px solid #b50019;box-shadow:inset 0 2px 2px #fff9,0 3px 0 #82130c33;border-radius:24px;color:#fff9e2}.secondary{background:#fff9e9ed;border-color:#dbc395;color:#542f1b}.text-button{color:#644327}.eyebrow{color:#8d2b0e}.round,.icon-button{background:#fff8e8e8;color:#673522;border-color:#d7b46c}.section-heading h1,.result-heading h1,.claim-screen h1{color:#aa0616;font-weight:950;letter-spacing:-.04em;text-shadow:0 2px #fff}.sidebar{background:#fff9ea;border-color:#dec38d}.sidebar h2{color:#763212}.sidebar-note,.rank-row{border-color:#e8cf9f}.shop-channel{color:#376546;border-color:#d9c697}.result-detail{background:#fffbeddf;border-color:#dfc79b}.result-detail p{color:#7d6d50}.result-navigation{background:#fffbeddb;padding:0 4px;border-radius:8px}.result-navigation .text-button{font-size:clamp(9px,2.85cqw,12px)}dialog{background:#fff7e3;color:#673923;border-color:#dac087}#pauseDialog .header-actions{position:static;flex-direction:row;justify-content:flex-end;margin-bottom:12px}.global-status{background:#6c351d}
body[data-screen=cover] .brandbar{height:73px;padding:15px 62px 0 10px}body[data-screen=cover] .brand{color:#fff9db;text-shadow:0 2px #003d26}.cover-art{object-fit:cover}.cover-heading{top:12%;left:5%;right:5%}.cover-heading h1{color:#fff2b4;letter-spacing:-.035em;font-size:clamp(28px,9cqw,43px);line-height:1.06;text-shadow:2px 2px #ae0714,-2px -2px #ae0714,-2px 2px #ae0714,2px -2px #ae0714,0 4px #fbd268,0 6px 9px #381506}.cover-heading>.eyebrow{top:calc(100% + 9px);background:linear-gradient(#cf2024,#a90010);border:1px solid #f0ca6b;font-size:clamp(10px,3.2cqw,14px);padding:5px 12px;color:#fff2b9}.cover-heading .dates{top:calc(100% + 44px);background:#fff0cbe8;color:#77331a;border:1px solid #ddb05b;padding:6px 4px;font-size:clamp(10px,3cqw,13px)}.cover-bottom{padding:14px 7% 0;background:linear-gradient(transparent,#fff3d9e8 28%,#fff7e8ed)}.cover-bottom>.eyebrow{background:#fff4d8ec;color:#793211;border-color:#e9c371;padding:5px}.cover-bottom h2{color:#b70b1b;font-size:clamp(18px,5.8cqw,26px);margin:7px 0}.cover-bottom .small{color:#722b19;font-size:clamp(9px,2.8cqw,12px);margin-top:7px}.cover-bottom .text-button{min-height:28px}.cover-bottom .primary{min-height:48px;font-size:21px}.snow{opacity:.35}
.art{display:block;background-image:url('sprites.png');background-repeat:no-repeat;flex:none;height:auto!important;width:100%}
#instructions{padding:7px 23px 7px;gap:10px}.instruction-art{position:relative;min-height:80px;max-height:200px;flex:1}.tutorial-basket{width:58%;max-width:220px;margin:0 auto}.tutorial-arrows{position:absolute;left:1%;right:1%;top:44%;display:flex;justify-content:space-between;font-size:30px;font-weight:900;color:#24884e;text-shadow:0 1px white}.tutorial-arrows span{visibility:hidden}.steps{gap:8px}.steps li{font-size:clamp(12px,3.4cqw,16px);padding:8px 9px;border:1px solid #f1d5a3;background:#fffaf0df;border-radius:12px}.steps li:before,.steps li:nth-child(2):before,.steps li:nth-child(3):before{background:linear-gradient(#e5232a,#b50018);width:28px;height:28px;font-size:20px}.item-guide{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.item-guide>div{display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:#fff7e9e8;border:1px solid #e4cb92;padding:7px 3px;border-radius:10px;min-height:90px}.item-guide .art{width:44px;max-width:86%;margin:auto}.item-guide strong{font-size:10px;color:#126338;margin-top:8px;line-height:1.35}.item-guide .avoid-guide{border-color:#db8b7b}.item-guide .avoid-guide strong{color:#b8101d}.platform-note{font-size:10px;line-height:1.5;text-align:center;background:#fff4d3c9;padding:5px;border-radius:8px}#start{margin-top:2px}#backCover{min-height:26px}
body[data-screen=play] .brandbar{display:none}.play{background:#082746;position:relative;overflow:hidden;padding:0}.play canvas{z-index:0;outline:none}.jump-hud{position:absolute;left:10px;right:10px;top:10px;z-index:2;display:flex;align-items:center;gap:8px;border:1px solid #f5da9c66;border-radius:16px;background:#052749db;padding:8px 10px;color:#fff1c5;box-shadow:0 4px 12px #00122c33}.jump-hud>div:first-child{min-width:49px;line-height:1.1}.jump-hud small{display:block;font-size:10px}.jump-hud b{display:block;font-size:23px;color:#ffe493}.jump-hud .height-box{flex:1;text-align:center}.height-box b{font-size:14px;color:#fff8e7}.height-track{height:8px;background:#ffffff35;border-radius:8px;overflow:hidden;margin-top:6px}.height-track i{display:block;height:100%;width:0;background:linear-gradient(#ffe875,#e99a05);border-radius:8px}.jump-hud .round{width:43px;height:43px;background:#1451769e;color:white;border:1px solid #fff8}.jump-meta{position:absolute;z-index:2;top:75px;left:14px;right:14px;display:flex;justify-content:space-between;pointer-events:none;align-items:center}.jump-meta #clock{font-size:16px;font-weight:800;background:#072b49dd;color:#fff6d8;border:1px solid #ddd5ad66;padding:3px 10px;border-radius:14px}.jump-meta .lives{position:static;letter-spacing:2px;font-size:24px;background:#082e4ac2;padding:1px 8px;border-radius:16px}.play-hint{top:auto;bottom:51px;left:50%;right:auto;transform:translateX(-50%);color:#fff9e5;background:#082b46bf;font-size:9px;padding:4px 8px;max-width:90%;white-space:nowrap;pointer-events:none}.jump-tools{position:absolute;z-index:2;bottom:5px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:9px}.jump-tools>span{font-size:9px;color:#fff6dc;background:#08283fc7;border-radius:15px;padding:5px 8px;text-align:center}.jump-tools .round,.jump-tools .icon-button{color:#fff9de;background:#0d3b52dd;border:1px solid #ead6a0b3;width:44px;height:44px}.gain-feedback{display:none!important}
.celebration-hero.art{width:60%;max-width:230px;margin:0 auto 8px}.result-heading h1{font-size:clamp(28px,8.3cqw,39px)}.score-medallion{background:#fff5d7e8;border-color:#e3bc62}.result-score{color:#b10015;font-size:30px}.score-trophy{color:#e9a900}.reward{border:1px solid #deb876;background:linear-gradient(130deg,#fffdf1,#fff0c9);border-radius:15px}.reward .eyebrow{background:#c6081c;color:#fff7d5}.reward h2,.claim-summary h2{color:#af0015}.reward-art.art{width:100%;filter:drop-shadow(0 4px 3px #733b1533)}.reward>[data-content=terms]{color:#7f694b}.claim-summary{border-color:#dfba75;background:linear-gradient(130deg,#fffdf1,#fff0c9)}.claim-summary>.art{width:44%}.claim-summary .eyebrow{background:#b90b1f}.notice{background:#fff0cdd9;color:#6a5034;border-color:#d3a337}.field input{background:#fffdfa;border-color:#d6c6aa;color:#644728}.checkbox input{accent-color:#bd091e}
@media(max-height:650px){.brandbar{height:64px;padding-top:13px}.brand{font-size:25px}body[data-screen=cover] .brandbar{height:61px;padding-top:7px}.cover-heading{top:13%}.cover-heading h1{font-size:29px}.cover-heading>.eyebrow{top:calc(100% + 6px);font-size:10px;padding:4px 10px}.cover-heading .dates{top:calc(100% + 35px);font-size:10px;padding:4px}.cover-bottom h2{font-size:19px;margin:5px 0}.cover-bottom .primary{min-height:43px;font-size:19px}.cover-bottom>.eyebrow{font-size:9px}.cover-bottom .small{margin-top:5px;font-size:9px}.cover-bottom .text-button{min-height:26px}#instructions{gap:6px;padding-inline:18px}.instruction-art{min-height:62px;max-height:95px}.tutorial-basket{width:45%}.steps{gap:5px}.steps li{padding:5px 6px;font-size:11px}.steps li:before{width:24px;height:24px;font-size:17px}.item-guide>div{min-height:68px;padding:5px 2px}.item-guide .art{width:32px}.item-guide strong{font-size:8px;margin-top:3px}.platform-note{font-size:8px;padding:3px}.celebration-hero.art{width:42%}.jump-hud{top:5px}.jump-meta{top:69px}#start{font-size:17px;min-height:44px}}
@media(max-height:540px) and (orientation:landscape){#instructions{display:flex;overflow:auto}.instruction-art{min-height:80px;flex:none}.item-guide{width:100%}.cover-heading{left:4%;right:52%;top:25%}.cover-bottom{left:50%;top:0;padding-top:60px;background:#fff6e5dc}.brandbar{height:60px}.cover-bottom h2{font-size:17px}}

.art-0{aspect-ratio:390/445;background-size:393.84615% 230.11236%;background-position:5.67190% 6.90846%;}
.art-1{aspect-ratio:438/350;background-size:350.68493% 292.57143%;background-position:50.27322% 14.83680%;}
.art-2{aspect-ratio:390/380;background-size:393.84615% 269.47368%;background-position:95.54974% 10.86957%;}
.art-3{aspect-ratio:366/405;background-size:419.67213% 252.83951%;background-position:7.00855% 86.42973%;}
.art-4{aspect-ratio:510/320;background-size:301.17647% 320.00000%;background-position:48.73294% 91.61932%;}
.art-5{aspect-ratio:512/450;background-size:300.00000% 227.55556%;background-position:100.00000% 93.20557%;}
.cover-pack-brand{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cover-pack-brand text{font-family:KotaGo Display,sans-serif;font-weight:800;font-style:italic;fill:#14552c;text-anchor:middle;dominant-baseline:middle;font-size:33px}

.celebration-hero.art{width:46%;max-width:175px}.reward h2{font-size:clamp(17px,5.2cqw,23px)}@media(max-height:650px){.celebration-hero.art{width:32%}.reward h2{font-size:17px}.reward>[data-content=terms]{font-size:9px}.result-heading h1{font-size:25px}.result-score{font-size:26px}}

/* v1.0.2: compact HUD, lower catcher and in-scene attribution. */
.game-footer{position:absolute;inset:auto 0 0;height:25px;padding:0 8px;z-index:5;background:transparent;border:0;font-size:9px;pointer-events:none;color:#69482d;letter-spacing:.01em}.game-footer a{pointer-events:auto;padding:3px 9px;border-radius:10px;background:#fff9e2b8;backdrop-filter:blur(3px);text-shadow:0 1px #fff8}.game-footer strong{color:#165d46}body[data-screen=play] .game-footer a{background:#0929429e;color:#fff5da;text-shadow:0 1px #05243c}body[data-screen=play] .game-footer strong{color:#ffdc86}.screen:not(.cover):not(.play){padding-bottom:36px!important}.cover-bottom{padding-bottom:29px}.experience .screens{flex:1}.cover-art,.cover-pack-brand{object-fit:cover}.cover-pack-brand text{font-size:30px;letter-spacing:-.02em}
.brandbar{padding-left:60px;padding-right:60px}.brandbar>div:first-child{max-width:70%}.brand{border-radius:26px 10px 26px 10px;padding:6px 19px 8px;transform:rotate(-3deg);background:linear-gradient(140deg,#087345,#034d2e);border:2px solid #f5d779;box-shadow:inset 0 0 0 2px #ffffff15,0 3px 8px #001d2055;font-size:clamp(23px,6.5cqw,31px);letter-spacing:-.035em}.brandbar:has(#wallet:not([hidden])){padding-right:60px}.brandbar:has(#wallet:not([hidden])) .brand{font-size:clamp(23px,6.5cqw,31px)}body[data-screen=cover] .brandbar{height:78px;padding:9px 60px 0}.cover-heading{top:13.6%}.cover-heading h1{font-size:clamp(27px,8.8cqw,42px)}
.jump-hud{top:8px;left:10px;right:10px;padding:5px 9px;gap:8px;border-radius:13px;background:#062640d9;box-shadow:0 2px 6px #00142b25}.jump-hud>div:first-child{min-width:42px}.jump-hud small{font-size:9px}.jump-hud b{font-size:18px}.height-box b{font-size:12px}.height-track{height:6px;margin-top:4px}.jump-hud .round{width:36px;height:36px;font-size:19px}.jump-meta{top:63px;left:13px;right:13px}.jump-meta #clock{font-size:12px;padding:3px 8px}.jump-meta .lives{font-size:19px;padding:2px 6px;letter-spacing:2px}.jump-tools{top:92px;bottom:auto;left:11px;right:11px;height:44px;pointer-events:none}.jump-tools>span{display:none}.jump-tools button{pointer-events:auto}.jump-tools .round,.jump-tools #sound{background:#07334ca8;border-color:#f4ddb57a;box-shadow:none}.jump-tools .round{font-size:22px}.play-hint{top:103px;bottom:auto;left:50%;transform:translateX(-50%);font-size:9px;max-width:65%;white-space:normal;text-align:center;background:#092d44a6;padding:4px 7px}
@media(max-height:650px){body[data-screen=cover] .brandbar{height:63px;padding-top:4px}.brand{font-size:24px;padding:4px 14px 6px}.cover-heading{top:13.5%}.cover-heading h1{font-size:28px}.cover-bottom{padding-bottom:27px}.jump-meta{top:63px}}
@media(max-width:840px),(max-height:540px) and (orientation:landscape){.game-footer{height:calc(25px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.cover-bottom{padding-bottom:calc(29px + env(safe-area-inset-bottom))}.screen:not(.cover):not(.play){padding-bottom:calc(36px + env(safe-area-inset-bottom))!important}.play canvas{height:calc(100% - env(safe-area-inset-bottom))}}

/* v1.0.2: smaller visible controls, with a 44px tap area. */
.jump-tools #sound,.jump-tools #help{position:relative;width:32px!important;height:32px;min-width:32px;min-height:32px!important;flex:0 0 32px;padding:5px!important;font-size:18px;display:inline-flex;align-items:center;justify-content:center}
.jump-tools #sound svg{width:18px;height:18px}
.jump-tools #sound::after,.jump-tools #help::after{content:'';position:absolute;inset:-6px;border-radius:50%}
/* KotaGo approved luxury Christmas skin. */
:root{color:#452510;--pine:#103e2d;--red:#80191c;--cream:#fff6e8}
body{background:radial-gradient(ellipse at top,#fffbf0,#e8ddca)}
.experience{background:#fff5e6 url('backdrop.png') center/100% 100%;border-color:#c9a66a}
.illustrated{background:transparent}
.brandbar,body[data-screen=cover] .brandbar{height:70px;padding:14px 65px 5px;background:transparent}
.brand,body[data-screen=cover] .brand{font-family:'KotaGo Display',Georgia,serif;font-style:normal;font-weight:400;font-size:clamp(17px,5.4cqw,25px);letter-spacing:.12em;line-height:1.1;text-transform:uppercase;border:0;background:none;box-shadow:none;border-radius:0;transform:none;text-shadow:none;color:#34200e;padding:0}
.brand:before{content:'♧';display:block;font-size:17px;color:#ae7b29;margin-bottom:3px;letter-spacing:0}.brand:after{display:none}
.language select{border-color:#c8a66b;color:#5d3c1c;background:#fff9eddd}
body[data-screen=play] .brandbar{display:none}
.primary{background:linear-gradient(#286449,#0d3c2d 56%,#072b23);border:1px solid #b88b3e;box-shadow:inset 0 0 0 2px #fff4cb77,0 3px 5px #4d271129;border-radius:17px;color:#fff9e5;text-shadow:0 1px #09291d;font-size:18px}
.secondary{background:#fff8ece6;color:#4d301c;border-color:#be9b65;border-radius:12px}
.cover-art{object-fit:fill}.cover-heading{top:12%;left:4%;right:4%;display:flex;flex-direction:column;gap:6px}
.cover-heading>.eyebrow{position:static;transform:none;background:none;box-shadow:none;padding:0;color:#4d2a16;font-family:Georgia,serif;letter-spacing:.16em;font-size:10px;order:0;max-width:none;white-space:normal}
.cover-heading h1{font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif;font-size:clamp(24px,8.1cqw,36px);color:#68181a;text-shadow:0 1px #fff5e1;font-weight:800;letter-spacing:-.04em;line-height:1.1;order:1}
.cover-heading .dates{position:static;background:none;color:#583418;border:0;padding:0;border-radius:0;font-size:10px;line-height:1.4;font-weight:600;order:2}
.cover-bottom{padding:14px 7% 29px;background:linear-gradient(#fff6e600,#fff5e8ed 28%,#fff5e8fa)}
.cover-bottom>.eyebrow{display:none}.cover-bottom h2{font-size:clamp(15px,4.8cqw,21px);color:#8b1718;margin:4px 0 10px;line-height:1.25;background:#fff4dbd6;border:1px solid #dbb578;border-radius:13px;padding:8px}
.cover-bottom .primary{font-size:19px;min-height:48px}.cover-bottom .small{font-size:10px;margin-top:6px;color:#65391f}.cover-bottom .text-button{min-height:27px;font-size:10px;padding:4px}
.section-heading h1,.result-heading h1,.claim-screen h1{font-family:Georgia,'Songti SC',serif;color:#761d1b;text-shadow:none;letter-spacing:0;font-size:clamp(25px,7cqw,33px)}
.section-heading p{text-align:center;color:#967039;font-size:11px;margin-top:5px}
#instructions{padding:5px 20px 32px;gap:8px;display:flex;flex-direction:column;overflow:auto}
.stack-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}
.stack-steps>li{border:1px solid #d2ae78;border-radius:12px;background:#fffaf0c9;padding:10px 12px;flex:1;min-height:0}
.step-title{display:flex;align-items:center;gap:8px;font-size:clamp(11px,3.2cqw,14px);line-height:1.35}.step-title b{background:linear-gradient(#d6ad63,#925613);border:1px solid #fff7d6;border-radius:50%;width:25px;height:25px;flex:none;display:grid;place-items:center;color:white;font:19px Georgia,serif}
.gift-art{background:none!important;display:block}.gift-art svg{display:block;width:100%;height:100%;overflow:hidden}
.stack-demo{position:relative;height:clamp(65px,12cqh,100px);margin-top:6px}.stack-demo i{position:absolute;width:95px;height:34px;left:calc(50% - 47px)}.moving-gift{top:0;animation:giftSlide 3s ease-in-out infinite}.base-gift{bottom:0}.move-arrows{position:absolute;left:0;right:0;top:6px;text-align:center;color:#ac7628;font-size:20px;letter-spacing:25px;pointer-events:none}
@keyframes giftSlide{0%,100%{transform:translateX(-28px)}50%{transform:translateX(28px)}}
.placement-examples{display:flex;justify-content:space-around;margin-top:6px;font-size:10px;color:#175b3d;text-align:center}.placement-examples>div:nth-child(2){color:#a32c24}.mini-stack{display:flex;flex-direction:column;width:83px;margin:0 auto 4px}.mini-stack i{height:28px;width:83px}.mini-stack.off i:first-child{transform:translateX(26px)}
.point-guide{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:8px;font-size:10px;color:#815117}.point-guide span{border:1px solid #e8d0a4;border-radius:8px;padding:4px 6px;background:#fff3dc}
.platform-note{font-size:10px;line-height:1.4;color:#755439;text-align:center;background:none;border:0;padding:0;margin:0}
#instructions #start{margin-top:0;min-height:44px;flex:none}#backCover{min-height:23px;font-size:10px}
.play{background:#f5e9d5}.jump-hud{top:10px;background:#fff7e9ea;border:1px solid #c49a58;color:#4a3018;border-radius:13px;box-shadow:0 3px 12px #51301f18;padding:6px 9px}.jump-hud small{font-size:9px}.jump-hud b{color:#462a15;font-size:19px}.height-box b{color:#144633;font-size:12px}.height-track{background:#c8ad7944}.height-track i{background:linear-gradient(#bda04d,#8d702a)}.jump-hud .round{background:#154c39;color:#fff7df;border-color:#c6a35c;width:32px;height:32px;font-size:18px}
.jump-meta{top:67px}.jump-meta #clock{background:#fff4dfdf;color:#56331c;border-color:#cbaa73;font-size:11px}.jump-meta .lives{background:#fff9edbd;font-size:17px;color:#a6222b;text-shadow:none}.play-hint{top:107px;left:50%;max-width:65%;background:#fff8e3d9;border-radius:8px;color:#71522b;font-size:10px;padding:4px 6px;text-shadow:none}
.jump-tools{top:91px;height:44px;left:13px;right:13px}.jump-tools #sound,.jump-tools #help{background:#124333e8;color:#fff5d9;border-color:#d1ae6c}.drop-gift{position:absolute;z-index:3;bottom:40px;left:12%;width:76%;min-height:49px;font-size:20px;touch-action:manipulation}
.game-footer{height:25px;color:#725235;background:transparent;border:0;font-size:9px}.game-footer a{padding:3px 10px;background:#fff8e8c9;border-radius:12px}.game-footer strong{color:#194e36}body[data-screen=play] .game-footer{color:#5d4228}body[data-screen=play] .game-footer a{background:#fff8e8cc}body[data-screen=play] .game-footer strong{color:#194e36}
.celebration-hero{height:clamp(120px,25cqh,185px);width:75%;margin:0 auto}.score-medallion{background:#fff1d5d9;border:1px solid #d9b278;border-radius:13px}.result-score{color:#54250f;font-size:29px}.score-trophy{display:none}.reward{border-color:#d6b275;background:linear-gradient(120deg,#fffbef,#f7e7c6);padding-top:30px;grid-template-columns:29% 1fr}.reward-art{height:85px}.reward h2{font-size:clamp(17px,5cqw,23px);color:#961b1c}.reward .eyebrow{background:#174d38;color:#fff3ce;padding:5px;left:15%;right:15%;font-size:10px}.reward>[data-content=terms]{color:#77553a;font-size:9px}.reward>.primary{margin-top:8px}.claim-summary{background:#fff1d8cf;border-color:#c9a362}.claim-summary>.sprite{height:84px;width:24%}.claim-summary h2{color:#8e1b1c;font-size:20px}.claim-summary .eyebrow{background:#194c37}.result-detail{border-color:#cdb183}.shop-channel{border-color:#cbb180}.result-navigation{background:transparent}.field input,#townField select{border-color:#c8b393;color:#4c321e}.notice{background:#fae9db;color:#7c4a2e}.checkbox input{accent-color:#174d38}.sidebar{border-color:#cfb488;background:#fff7e7}.sidebar h2{color:#5d2c16}dialog{color:#50331c;background:#fff5e3;border-color:#c4a16b}
@media(max-height:650px){#instructions{gap:5px;padding:3px 16px 30px}.brandbar{height:59px}.stack-steps{gap:5px}.stack-steps>li{padding:6px 9px}.stack-demo{height:62px}.mini-stack i{height:24px}.step-title{font-size:11px}.point-guide{font-size:9px;margin-top:5px;gap:3px}.platform-note{font-size:9px}.cover-heading{top:12%}.cover-heading h1{font-size:28px}.cover-bottom{padding-top:8px}.cover-bottom h2{font-size:16px;margin:3px 0 6px;padding:6px}.cover-bottom .primary{min-height:44px;font-size:18px}.celebration-hero{height:115px}.drop-gift{bottom:35px;min-height:45px}}
@media(max-width:840px){.game-footer{height:calc(25px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.drop-gift{bottom:calc(40px + env(safe-area-inset-bottom))}}

.brand:before{display:none}.brand-emblem{width:18px;height:18px;display:block;margin:0 auto 4px;color:#a47427}.brandbar:has(#brandLogo:not([hidden])) .brand-emblem{display:none}.cover-heading>.eyebrow{border:0}.stack-steps>li{position:relative}.stack-steps>li:nth-child(3) .point-guide{width:65%;flex-direction:column;align-items:flex-start}.tutorial-finish{position:absolute;right:10px;bottom:10px;height:70%;width:27%}.stack-steps>li:nth-child(3) .step-title{position:relative;z-index:1}
.brandbar>div:first-child{max-width:100%}.brandbar:has(#wallet:not([hidden])) .brand{font-size:clamp(17px,5.4cqw,25px)}

/* v1.0.2: compact controls and readable result navigation. */
.reward{padding-top:0}.reward .eyebrow{align-self:start;margin:0 6% 7px;padding:5px 8px}
.result-navigation{background:#fff7e9;border:1px solid #c9a56d;border-radius:11px;padding:2px 10px;margin-top:10px;box-shadow:0 2px 5px #4b2b1412}
.result-navigation .text-button{color:#173f2e;font-weight:750;min-height:40px;text-shadow:none}
.header-actions{right:9px;top:9px}.language{position:relative;display:block}.language:after{content:'';position:absolute;inset:-6px -3px;z-index:-1}
.language select{appearance:none;min-height:29px;width:49px;font-size:10px;line-height:1;padding:5px 15px 5px 7px;border-radius:9px;background:#fff9ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='m1 1 3.5 3.5L8 1' fill='none' stroke='%235d3c1c' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 5px center}

/* Instruction cards own their content height; no illustration escapes its step. */
#instructions .section-heading,#instructions .platform-note,#instructions #backCover{flex:none}
#instructions .stack-steps{display:grid;grid-template-rows:repeat(3,minmax(106px,1fr));flex:1 0 334px;min-height:334px;gap:8px}
#instructions .stack-steps>li{display:grid;grid-template-columns:minmax(0,1fr) 29%;grid-template-rows:auto minmax(0,1fr);gap:5px;padding:8px 10px;min-height:0;overflow:hidden}
#instructions .step-title{grid-column:1/-1;min-width:0;font-size:clamp(10px,3cqw,13px);line-height:1.25;gap:7px}
#instructions .step-title b{width:23px;height:23px;font-size:17px}
#instructions .stack-demo{grid-column:1/-1;height:100%;min-height:0;max-height:88px;margin:0}
#instructions .stack-demo i{height:43%;width:90px;left:calc(50% - 45px)}
#instructions .move-arrows{top:0;font-size:18px;letter-spacing:22px}
#instructions .placement-examples{grid-column:1/-1;height:100%;min-height:0;margin:0;gap:24px;align-items:stretch;font-size:10px;line-height:1.2}
#instructions .placement-examples>div{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:3px;min-height:0;flex:1}
#instructions .mini-stack{height:100%;max-height:60px;width:76px;align-self:end;margin:0 auto}
#instructions .mini-stack i{width:100%;height:50%;min-height:0}
#instructions .mini-stack.off i:first-child{transform:translateX(20px)}
#instructions .stack-steps>li:nth-child(3) .point-guide{grid-column:1;grid-row:2;width:100%;height:100%;min-height:0;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;font-size:9px;line-height:1.15}
#instructions .point-guide span{padding:3px 5px;border-radius:6px}
#instructions .tutorial-finish{position:static;grid-column:2;grid-row:2;height:100%;width:100%;min-height:0;max-height:86px;align-self:center}
#instructions .platform-note{font-size:10px;line-height:1.35;margin:2px 0}
@media(max-height:650px){#instructions .stack-steps{gap:6px;min-height:312px;flex-basis:312px;grid-template-rows:repeat(3,minmax(100px,1fr))}#instructions .stack-steps>li{padding:6px 9px;gap:4px}#instructions .point-guide span{padding:2px 4px}#instructions .platform-note{font-size:9px}}
/* KotaGo approved tropical low-poly 3D skin */
:root{color:#073369;--pine:#073369;--cream:#fffdf0;font-family:ui-rounded,'Arial Rounded MT Bold','PingFang SC','Microsoft YaHei',system-ui,sans-serif}body{background:radial-gradient(ellipse at top,#e8faff,#e1edf7)}.experience{background:#fffdf1;border-color:#85cfe1}.brandbar,body[data-screen=cover] .brandbar{height:62px;padding:14px 65px 5px;background:transparent}.brand,body[data-screen=cover] .brand{font-family:ui-rounded,system-ui,sans-serif;font-weight:900;font-style:normal;letter-spacing:-.035em;text-transform:none;color:#073369;font-size:clamp(22px,6cqw,29px);text-shadow:0 1px #fff}.brandbar>div:first-child{display:flex;align-items:center;gap:7px}.brand-emblem{width:25px;height:28px;margin:0;color:#00a4b8;stroke-width:2}.brandbar small{display:none}.language select{background-color:#fffff1;color:#073369;border-color:#96c8d5}.primary{background:linear-gradient(#087cff,#0046d9);border:1px solid #1468ef;border-radius:13px;color:white;box-shadow:inset 0 1px 0 #ffffff66,0 3px 0 #0535a222;text-shadow:none}.secondary{border-color:#a6c6db;background:#fffff5;color:#073369;border-radius:11px}.cover-art{object-fit:fill}.cover-heading{top:12%;gap:5px}.cover-heading h1{font-family:inherit;font-weight:950;letter-spacing:-.04em;color:#fffce1;text-shadow:2px 2px #063e7c,-2px -2px #063e7c,0 4px #063e7c;font-size:clamp(27px,8.7cqw,40px)}.cover-heading>.eyebrow{background:#ec2b39;color:white;align-self:center;padding:4px 12px;border-radius:5px;transform:rotate(-2deg);font-family:inherit;letter-spacing:.03em;font-size:10px}.cover-heading .dates{background:#ffe8a1;color:#093569;align-self:center;padding:4px 12px;border-radius:15px;font-size:10px}.cover-bottom{background:linear-gradient(#fff7da00,#fff6dcf0 22%,#fff5d9);padding:15px 6% 30px}.cover-bottom h2{color:#083b71;border-color:#efc974;background:#fff9e1;font-size:clamp(16px,4.8cqw,22px)}.cover-bottom .small,.cover-bottom .text-button{color:#074b83}.cover-bottom .primary{font-size:20px}.section-heading h1,.result-heading h1,.claim-screen h1{font-family:inherit;color:#053575;font-weight:900;letter-spacing:-.03em}.section-heading p{color:#23859a}.illustrated{background:linear-gradient(#effcff,#fffef2 30%,#fff7e3)}#instructions{padding:5px 20px 34px;gap:8px;display:flex}.delivery-steps{padding:0;list-style:none;margin:0;display:grid;grid-template-rows:repeat(3,minmax(116px,1fr));gap:8px;flex:1 0 364px;min-height:364px}.delivery-steps>li{padding:8px 10px;border:1px solid #b4d8e9;border-radius:13px;background:linear-gradient(#f7fdff,#e9f5fc);display:grid;grid-template-rows:auto minmax(52px,1fr) auto;gap:3px;overflow:hidden}.step-title{font-size:clamp(10px,3.1cqw,14px);line-height:1.2}.step-title b{background:linear-gradient(#0b92ff,#0052df);font-family:inherit;border:0;width:23px;height:23px;font-size:16px}.road-demo{display:flex;align-items:center;justify-content:center;gap:17px;min-height:0;height:100%;max-height:90px}.road-demo i{width:58px;height:100%;display:block}.road-demo i[data-gift="0"]{width:38px}.road-demo i[data-gift="2"]{width:90px}.road-demo span{font-size:27px;color:#0073df;font-weight:900}.delivery-steps p{font-size:10px;line-height:1.3;text-align:center;color:#315b7e}.platform-note{color:#416a83;font-size:10px}.gift-art{overflow:hidden}.jump-hud{display:flex;position:absolute;z-index:3;left:10px;right:10px;top:10px;align-items:center;gap:12px;padding:8px 10px;background:#034c85ec;color:white;border:1px solid #96c9ee;border-radius:15px}.jump-hud b{color:white;font-size:19px}.jump-hud small{font-size:9px}.height-box{flex:1;text-align:center}.height-box b{font-size:13px;color:white}.height-track{height:5px;background:#ffffff40;border-radius:6px;margin-top:5px;overflow:hidden}.height-track i{display:block;height:100%;background:#52e6cc}.jump-hud .round{background:#005ca2;border-color:#aee6ff;color:white}.jump-meta{top:72px;z-index:3}.jump-meta #clock{background:#064a7bdc;border-color:#9be0f9;color:white}.jump-meta .lives{background:#ffffffaa;color:#ef4355}.jump-tools{top:105px;z-index:3}.jump-tools #sound,.jump-tools #help{background:#075b8dcc;border-color:#a4eced;color:white}.play-hint{top:108px;color:#034c79;background:#f4ffffcc;max-width:64%;font-size:9px}.bag{position:absolute;z-index:3;top:143px;left:50%;transform:translateX(-50%);padding:5px 12px;color:#fff;background:#008fa4e8;border:1px solid #b6f4ed;border-radius:20px;font-weight:800;font-size:11px;white-space:nowrap}.delivery-controls{position:absolute;bottom:34px;left:7%;right:7%;display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:8px;z-index:3}.delivery-controls button{min-height:47px;font-size:25px;border:2px solid white;border-radius:17px}.delivery-controls #dropGift{font-size:17px;background:linear-gradient(#03bdc5,#008fa7)}.game-footer a{background:#fffcecdb;color:#184467}.game-footer strong{color:#086eae}body[data-screen=play] .game-footer a{background:#063b6499;color:white}body[data-screen=play] .game-footer strong{color:#b6fbff}.delivery-success{height:clamp(130px,25cqh,190px);margin:0 -18px 7px;background:url('backdrop.png') center 47%/100% auto}.result-heading h1{font-size:29px}.score-medallion{border-color:#b2dbec;background:#f1fbff}.result-score{color:#0750c2}.reward{background:#fff9e9;border-color:#ebce8c;grid-template-columns:25% 1fr}.reward .eyebrow{background:#007eaa;color:white}.reward h2,.claim-summary h2{color:#06458f}.reward>[data-content=terms]{color:#4b6783}.reward-art{height:83px}.claim-summary{background:#fff9e6;border-color:#e5c681}.claim-summary .eyebrow{background:#008baf}.result-detail{border-color:#b6cfdf;background:#fffff5}.result-detail p{color:#456680}.result-navigation{background:#f5fcff;border-color:#bbd9e9}.result-navigation .text-button{color:#074373}.field input{border-color:#b6cddc;color:#164a76}.notice{background:#fff0eb;color:#9e3430}.checkbox input{accent-color:#0767d5}.sidebar{background:#f8fdff;border-color:#c1dcec}.sidebar h2{color:#0a4272}.sidebar-note{color:#2b6788}.page-footer{color:#315a77}.shop-channel{border-color:#add3e5;color:#086294}.global-status{background:#074870}dialog{background:#f3fbff;color:#114b73;border-color:#9ccee6}@media(max-height:650px){.delivery-steps{min-height:340px;flex-basis:340px;grid-template-rows:repeat(3,minmax(108px,1fr));gap:6px}.delivery-steps p{font-size:9px}.delivery-success{height:115px}.cover-heading h1{font-size:28px}.delivery-controls{bottom:32px}.delivery-controls button{min-height:43px}}

/* v1.0.3: illustrated teaching, larger delivery scene, tropical frame. */
body:not([data-screen=cover]):not([data-screen=play]) .experience{background:#fff8e6 url('frame.png') center/100% 100% no-repeat}
body:not([data-screen=cover]):not([data-screen=play]) .illustrated{background:transparent}
body:not([data-screen=cover]):not([data-screen=play]) .brandbar{height:68px;padding-top:24px}
body:not([data-screen=cover]):not([data-screen=play]) .brandbar>div:first-child{background:#fff9e4ed;border-radius:18px;padding:5px 13px}
#instructions{padding:3px 18px 32px;gap:7px}
#instructions .section-heading h1{font-size:clamp(25px,7.5cqw,35px)}
#instructions .section-heading p{display:none}
#instructions .delivery-steps{display:flex;flex-direction:column;gap:8px;flex:1 0 auto;min-height:0}
#instructions .delivery-steps>li{display:flex;flex-direction:column;gap:4px;padding:7px;border:1px solid #afd5e6;background:#f1faffec;border-radius:15px;overflow:hidden;flex:1 0 auto}
#instructions .step-title{min-height:25px;font-size:clamp(10px,3cqw,13px);padding:0 2px}
.tutorial-scene{width:100%;aspect-ratio:2/1;flex:none;border-radius:10px;background-image:url('tutorial.png');background-repeat:no-repeat;background-size:100% 300%}
.tutorial-scene-1{background-position:center top}.tutorial-scene-2{background-position:center center}.tutorial-scene-3{background-position:center bottom}
#instructions .delivery-steps p{font-size:clamp(9px,2.5cqw,11px);line-height:1.3;padding:0 3px}
#instructions .platform-note{padding:5px 8px;background:#eef8ffc9;border-radius:8px}
#instructions #start{min-height:44px}#instructions #backCover{min-height:27px}
.result{padding-top:8px}.result-heading{display:flex;flex-direction:column}
.result-heading h1{order:0;font-size:clamp(27px,8cqw,38px)}
.result-heading .score-medallion{order:1;align-self:center;width:76%;margin:9px auto 0;padding:9px;background:#eef9ffed;border:1px solid #c3dfeb;box-shadow:0 3px 10px #0861ae10}
.result-heading .result-score{font-size:clamp(29px,9cqw,42px);color:#064ac5}
.result-heading .delivery-success{order:2;width:calc(100% + 36px);height:auto;aspect-ratio:1.34;flex:none;margin:0 -18px 0;background:url('backdrop.png') center 56%/100% auto no-repeat;mask-image:linear-gradient(transparent,#000 8%,#000 94%,transparent)}
.result-heading #saveStatus,.result-heading #retrySave{order:3}
.result[data-outcome=lose] .delivery-success{display:none}
.reward{grid-template-columns:24% 1fr;grid-template-rows:auto auto auto auto;gap:6px 9px;padding:0 10px 10px;border:1px solid #e8c46e;background:linear-gradient(110deg,#fffdf0,#fff0cd);border-radius:14px}
.reward .eyebrow{grid-column:1/-1;grid-row:1;margin:0 12% 0;font-size:10px}
.reward .reward-art{grid-row:2;grid-column:1;height:72px;filter:drop-shadow(0 4px 3px #b9832f22)}
.reward h2{grid-row:2;grid-column:2;font-size:clamp(17px,4.7cqw,23px);line-height:1.2}
.offer-terms{grid-column:1/-1;grid-row:4;text-align:left;font-size:10px;color:#345a78;padding:2px 3px}
.offer-terms summary{cursor:pointer;text-align:center;min-height:26px;align-content:center}
.offer-terms p{padding:6px;line-height:1.5}
.reward>.primary{grid-column:1/-1;grid-row:3;margin:0;min-height:46px;font-size:19px}
.result-actions{margin-top:10px}.result-detail{background:#fffff4ef}
.claim-screen{padding:4px 20px 38px}.claim-screen h1{font-size:clamp(24px,7cqw,33px);line-height:1.2;margin:7px 0 14px}
.claim-summary{padding:10px 12px;gap:12px;min-height:100px;background:linear-gradient(105deg,#fffef3,#fff0cc);border:1px solid #e3be68;box-shadow:0 3px 10px #a87a1d16}
.claim-summary>.sprite{width:28%;height:88px;flex:none}.claim-summary h2{font-size:clamp(18px,5cqw,24px);line-height:1.2}.claim-summary .eyebrow{font-size:10px;padding:4px 9px}
.claim-screen .notice{border:1px solid #f4c6ba;border-radius:12px;padding:10px 12px;background:#fff0e9ed;color:#ac2b30;line-height:1.4}
.claim-screen .field input{background:#ffffffed;border-color:#accbdf;box-shadow:0 2px 0 #094d7520}
.claim-screen .text-button{color:#07467e;font-weight:650}.claim-screen .checkbox{color:#073369}
@media(max-height:650px){#instructions .tutorial-scene{aspect-ratio:2.4/1;background-size:100% 360%}#instructions .delivery-steps>li{padding:5px;gap:3px}#instructions .delivery-steps{gap:6px}.result-heading .delivery-success{aspect-ratio:1.42}.claim-screen{padding-left:17px;padding-right:17px}}
#instructions .tutorial-scene{aspect-ratio:3/1;background-size:100% 300%}
#instructions .delivery-steps{flex:0 0 auto}
#instructions .delivery-steps>li{flex:0 0 auto}
#instructions .platform-note{margin-top:auto}
#instructions .tutorial-scene{aspect-ratio:3.6/1;background-size:100% 360%}
#instructions .tutorial-scene-1{background-position:center 3.846%}#instructions .tutorial-scene-2{background-position:center 50%}#instructions .tutorial-scene-3{background-position:center 96.154%}
.claim-screen .back-result{background:#fffbeaeb;border:1px solid #d9cc9c;padding:5px 10px;border-radius:9px;min-height:30px;font-size:11px}
#instructions .tutorial-scene-2{background-position:center 46%}
@media(max-width:840px){#instructions .tutorial-scene{aspect-ratio:3/1;background-size:100% 300%}#instructions .tutorial-scene-1{background-position:center top}#instructions .tutorial-scene-2{background-position:center center}#instructions .tutorial-scene-3{background-position:center bottom}}

/* KotaGo continuous delivery: reward pause, safe restart and compact controls. */
#play .jump-meta #clock{font-size:11px;white-space:nowrap}
.delivery-finish{position:absolute;z-index:4;top:177px;left:50%;transform:translateX(-50%);padding:7px 14px;border:1px solid #fff;border-radius:24px;background:#064a7be8;color:#fff;font:700 12px system-ui;cursor:pointer;max-width:80%}
.delivery-countdown{position:absolute;z-index:5;top:47%;left:50%;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:24px;background:#064a7bed;color:#fff;padding:20px 24px;font-weight:900;font-size:clamp(20px,5vw,32px);text-align:center;pointer-events:none;white-space:nowrap}
#deliveryReward{position:fixed;margin:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px 22px;border:2px solid #8ad9e6;border-radius:28px;text-align:center;color:#073c73;background:linear-gradient(160deg,#fffdf0,#e6f8ff);box-shadow:0 20px 70px #003b6b55}
#deliveryReward::backdrop{background:#003048a6;backdrop-filter:blur(4px)}
#deliveryReward h2{font-size:clamp(22px,6vw,30px);margin:8px 0;line-height:1.15}
#deliveryReward p{position:relative;line-height:1.5;margin:10px 0}
#deliveryReward .delivery-reward-offer{font-size:clamp(20px,5vw,27px);font-weight:900;color:#d6283d}
#deliveryReward button{position:relative;width:100%;min-height:48px;margin-top:10px;font-size:17px}
.delivery-reward-art{height:100px;background:url('backdrop.png') center 65%/cover no-repeat;border-radius:18px;margin-bottom:12px}
.delivery-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:26px}
.delivery-confetti i{position:absolute;left:calc(var(--i)*5.5%);top:-16px;width:8px;height:14px;background:#f4bb30;animation:delivery-confetti 2.6s calc(var(--i)*-.14s) ease-out 2}
.delivery-confetti i:nth-child(3n){background:#00a9bd}.delivery-confetti i:nth-child(3n+1){background:#ef465e;border-radius:50%}
@keyframes delivery-confetti{from{transform:translateY(0) rotate(0)}to{transform:translateY(560px) rotate(580deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.delivery-confetti{display:none}}
@media(max-height:600px){#deliveryReward{padding:15px}.delivery-reward-art{height:60px}#deliveryReward button{min-height:42px}}
