@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{font-family:'Noto Sans KR',sans-serif;color:#242721;background:#fafaf6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #244ce3;outline-offset:4px}header{height:98px;border-bottom:1px solid #dcded5;padding:0 4%;display:flex;align-items:center;justify-content:space-between}.brand{font-size:29px;font-weight:900;letter-spacing:-1.5px;text-decoration:none;color:inherit;display:flex;align-items:center;gap:10px}.brand img{width:38px;height:42px;object-fit:contain}.brand span{font-size:11px;letter-spacing:2px;border-left:1px solid #bbb;padding-left:17px;margin-left:10px;width:80px}.edition{font-size:12px;letter-spacing:2px;display:flex;align-items:center;gap:18px}.edition b{font-size:35px}#sound{border:1px solid #d7d9cf;background:transparent;border-radius:30px;padding:10px 16px;font-size:13px}main{max-width:1500px;margin:auto;padding:32px 4% 24px}nav{display:flex;align-items:center;gap:18px;margin-bottom:26px;font-size:14px;color:#8b8e84}nav span.active{color:#242721;font-weight:800}nav i{width:32px;height:1px;background:#c7cabf}.layout{display:grid;grid-template-columns:1.45fr 1fr;gap:40px}.world{position:relative;min-height:610px;background:#eef24b;border-radius:20px;overflow:hidden}.world-label{position:absolute;top:33px;left:34px;font-size:clamp(30px,4.3vw,64px);font-weight:900;line-height:.98;letter-spacing:-3px;color:#364326;pointer-events:none}#scene{position:absolute;inset:0;touch-action:none}#scene canvas{width:100%;height:100%;display:block}.stage-caption{position:absolute;bottom:48px;width:100%;text-align:center;pointer-events:none}.stage-caption span{font-size:12px;letter-spacing:2px;background:#fff9;padding:8px 14px;border-radius:30px}.stage-caption p{font-size:13px;margin-top:17px;color:#596338}.world-corner{position:absolute;bottom:17px;left:25px;font-size:10px;letter-spacing:2px;color:#657037}.panel{padding:16px 0;display:flex;flex-direction:column;min-width:0}.eyebrow{font-size:12px;letter-spacing:2px;color:#6b7362;font-weight:600;margin-bottom:14px}h1{font-size:36px;line-height:1.3;letter-spacing:-1.8px;margin:0 0 12px}p{font-size:15px;color:#74786e;line-height:1.8;margin:0 0 23px}.group{margin:0 0 23px}.group-label{display:flex;justify-content:space-between;font-size:14px;font-weight:700;margin-bottom:12px}.group-label small{font-weight:400;color:#8c9184}.swatches{display:flex;gap:12px;flex-wrap:wrap}.swatch{width:46px;height:46px;border:4px solid #fafaf6;border-radius:50%;outline:1px solid #dde0d6;position:relative}.swatch.selected{outline:2px solid #252e20}.swatch.selected:after{content:'✓';font-size:20px;position:absolute;inset:3px;color:#fff;text-shadow:0 1px 3px #000}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.tile{border:1px solid #dfe2d8;background:#fff;border-radius:12px;padding:12px 3px;font-size:13px;min-height:64px}.tile.selected{border:2px solid #343d2d;background:#f0f2e8;padding:11px 2px}.tile b{display:block;font-size:19px;margin-bottom:5px}.primary{background:#293a27;border:0;color:white;width:100%;padding:19px;border-radius:12px;font-size:17px;font-weight:700;margin-top:auto;display:flex;justify-content:space-between;align-items:center}.primary:hover{background:#3c5138}.secondary{border:1px solid #cdd2c4;background:transparent;border-radius:12px;padding:14px;width:100%;margin-top:10px;font-size:14px}.note{font-size:12px;text-align:center;margin:12px 0 0;color:#8a9081}footer{display:flex;justify-content:space-between;padding:0 4% 20px;font-size:11px;color:#92978a;letter-spacing:1px}#stars{position:absolute;inset:0;pointer-events:none}.star{pointer-events:auto;position:absolute;width:66px;height:66px;border:0;background:#fff;border-radius:50%;font-size:39px;color:#ef9b13;box-shadow:0 5px 0 #c4ce21;animation:pop .2s ease-out}.star:active{transform:scale(.85)}#gameHud{position:absolute;top:28px;right:26px;background:white;border-radius:18px;padding:10px 18px}#timer{font-size:30px}#score{margin-left:20px;color:#596333}.big-score{font-size:80px;font-weight:900;line-height:1.2;margin:24px 0;color:#34482d}.instructions{background:#f0f2e9;border-radius:16px;padding:24px;margin:16px 0 25px}.instructions p{margin:0}.qr-wrap{background:#fff;border:1px solid #e1e4d9;border-radius:16px;padding:15px;display:flex;gap:16px;align-items:center;margin:18px 0}.qr-wrap canvas{width:132px!important;height:132px!important}.qr-wrap p{font-size:13px;margin:0}.qr-wrap b{font-size:15px;display:block;color:#333;margin-bottom:8px}.status{font-size:13px;color:#795126;min-height:20px}body.result .world{min-height:610px}#panel .primary:disabled{opacity:.55;cursor:wait}@keyframes pop{from{transform:scale(.1)}to{transform:scale(1)}}@media(max-width:900px){header{height:78px}.edition{display:none}.layout{gap:24px;grid-template-columns:1.1fr 1fr}.world{min-height:580px}h1{font-size:29px}.swatches{gap:9px}.swatch{width:38px;height:38px}.tiles{gap:5px}}@media(max-width:650px){header{padding:0 20px}.brand{font-size:24px}.brand span{font-size:9px}main{padding:22px 18px}.layout{grid-template-columns:1fr;gap:18px}.world,body.result .world{min-height:390px}.world-label{font-size:42px;top:23px;left:24px}.panel{padding:5px 0}.stage-caption{bottom:35px}.world-corner{font-size:8px}h1{font-size:30px}.swatch{width:44px;height:44px}.group{margin-bottom:20px}footer{font-size:9px;padding:0 20px 18px}.primary{margin-top:10px}nav{font-size:12px;margin-bottom:20px}.tile{min-height:60px}.qr-wrap{justify-content:center}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}
.color-group{margin-bottom:17px}.color-group .group-label{margin-bottom:8px}.color-group .swatch{width:40px;height:40px}.panel h1{font-size:32px}.panel>p{margin-bottom:20px}.world{min-height:690px}@media(max-width:650px){.world{min-height:410px}.color-group .swatch{width:44px;height:44px}.panel h1{font-size:30px}}
.journey{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dbe0d2;border-bottom:1px solid #dbe0d2;padding:16px 0;margin:0 0 24px}.journey span{font-size:14px;color:#737d6a}.journey strong{font-size:26px;color:#34482d}#jump{font-size:24px;min-height:86px;background:#435a31}#gameHud{z-index:2;pointer-events:none}.world:has(#gameHud:not([hidden])){background:linear-gradient(#c8e8f1,#edf5d8)}
body.playing .layout{display:block}body.playing .world{min-height:0;height:min(66vh,660px);width:100%}body.playing .panel{position:relative;display:grid;grid-template-columns:1fr 210px 180px;gap:8px 22px;padding:20px 0 0}body.playing .panel h1,body.playing #bigScore,body.playing .journey,body.playing .panel .note{display:none}body.playing #stageName{grid-column:1;grid-row:1;margin:0}body.playing #challenge{grid-column:1;grid-row:2;font-size:19px;font-weight:700;color:#334b2d;margin:0}body.playing #combo{grid-column:1;grid-row:3;color:#79812e;font-size:14px}body.playing #jump{grid-column:2;grid-row:1/4;margin:0;min-height:72px;justify-content:center;gap:30px}body.playing #finish{grid-column:3;grid-row:1/4;margin:0}.route-progress{position:absolute;left:0;right:0;bottom:0;height:7px;background:#ffffff70}.route-progress>div{height:100%;width:0;background:#3c652f;transition:width .15s linear}body.playing .stage-caption{bottom:26px}body.playing .world-corner{display:none}@media(max-width:650px){body.playing .world{height:55vh;min-height:340px}body.playing .panel{grid-template-columns:1fr 120px;gap:8px 12px}body.playing #challenge{font-size:15px}body.playing #jump{grid-column:2;grid-row:1/4;font-size:22px}body.playing #finish{grid-column:1/3;grid-row:4;padding:10px}body.playing #stageName{font-size:10px}body.playing .stage-caption p{font-size:10px}body.playing main{padding-top:12px}body.playing nav{margin-bottom:12px}}
/* Landscape kiosk layout: the viewport, not document length, owns the space. */
@media(orientation:landscape) and (min-width:740px){
 body{height:100vh;height:100dvh;display:grid;grid-template-rows:58px minmax(0,1fr) 22px;overflow:hidden}
 header{height:auto;padding:0 26px}.brand{font-size:25px}.brand img{height:34px;width:31px}.brand span{font-size:10px}.edition{font-size:10px}#sound{padding:8px 14px}
 main{min-height:0;width:100%;max-width:none;padding:12px 26px 10px;display:flex;flex-direction:column}nav{flex:none;font-size:12px;gap:14px;margin:0 0 10px;height:20px}.layout{flex:1;min-height:0;grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr);gap:28px}.world,body.result .world{height:100%;min-height:0}.world-label{font-size:clamp(32px,4vw,56px);top:24px;left:25px}.world-corner{font-size:9px}.stage-caption{bottom:34px}.stage-caption p{margin:12px 0 0;font-size:12px}
 .panel{height:100%;min-height:0;padding:0;justify-content:center}.panel .eyebrow{font-size:10px;margin-bottom:7px}.panel h1{font-size:clamp(23px,2.6vw,32px);margin:0 0 7px}.panel>p{font-size:14px;line-height:1.5;margin:0 0 13px}.color-group{display:flex;align-items:center;gap:8px;margin-bottom:12px}.color-group .group-label{width:93px;flex:none;display:block;margin:0;font-size:13px}.color-group .group-label small{display:block;font-size:11px;margin-top:3px}.color-group .swatches{gap:8px;flex-wrap:nowrap}.color-group .swatch{width:44px;height:44px;flex:none;border-width:4px}.group{margin-bottom:12px}.group-label{font-size:13px;margin-bottom:8px}.tile{min-height:50px;font-size:12px;padding:8px 2px}.tile.selected{padding:7px 1px}.tile b{font-size:17px;margin-bottom:2px}.primary{padding:14px 18px;min-height:48px;font-size:16px}.secondary{padding:11px;min-height:42px;margin-top:7px}.note{margin:6px 0 0;font-size:11px}.instructions{padding:15px 18px;margin:8px 0 14px}.instructions p{font-size:14px}.big-score{font-size:62px;margin:16px 0}.qr-wrap{margin:9px 0;padding:10px;gap:14px}.qr-wrap canvas{width:115px!important;height:115px!important}.qr-wrap p{font-size:12px}.qr-wrap b{font-size:14px}.status{font-size:11px;min-height:16px}.panel .primary{margin-top:auto}footer{padding:0 26px;font-size:9px;align-items:center}
 body.playing .layout{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 86px;gap:10px}body.playing .world{height:100%;min-height:0}body.playing .panel{height:86px;padding:0;grid-template-columns:1fr 180px 160px;gap:2px 20px}body.playing #jump{min-height:70px}body.playing #challenge{font-size:17px;line-height:1.3}body.playing #stageName{font-size:11px}body.playing #combo{font-size:13px}
}
@media(orientation:landscape) and (min-width:740px) and (max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) minmax(370px,1fr);gap:20px}.color-group .swatches{gap:6px}.color-group .swatch{width:40px;height:40px}.color-group .group-label{width:81px}.edition{display:none}}
@media(orientation:landscape) and (min-width:740px) and (max-height:650px){body{grid-template-rows:46px minmax(0,1fr) 16px}main{padding:8px 20px}nav{margin-bottom:6px;height:18px}.panel .eyebrow{display:none}.panel h1{font-size:24px;line-height:1.15}.panel>p{font-size:13px;margin-bottom:9px}.color-group{margin-bottom:6px}.color-group .group-label small{display:none}.color-group .swatch{width:38px;height:38px}.group{margin-bottom:8px}.tile{min-height:42px}.tile b{font-size:15px}.note{display:none}.primary{min-height:44px;padding:11px 16px}.instructions{padding:10px 14px;margin:5px 0 9px}.instructions p{font-size:13px;line-height:1.65}.qr-wrap{padding:8px;margin:6px 0}.qr-wrap canvas{width:100px!important;height:100px!important}.secondary{min-height:36px;padding:8px}.big-score{font-size:46px;margin:8px 0}.stage-caption{bottom:22px}.stage-caption p{font-size:10px;margin-top:9px}.world-corner{display:none}body.playing .layout{grid-template-rows:minmax(0,1fr) 70px;gap:8px}body.playing .panel{height:70px}body.playing #jump{min-height:60px}body.playing #stageName{display:block}}
#backdrops{position:absolute;inset:0;pointer-events:none;display:none}.backdrop{position:absolute;inset:0;background-size:cover;background-position:center 55%;opacity:0;transition:opacity 1.1s ease}.backdrop.active{opacity:1}body.playing #backdrops{display:block}body.playing .stage-caption span{display:none}body.playing .stage-caption p{display:inline-block;background:#fffdf0dc;border-radius:30px;padding:6px 15px;color:#405231;margin:0}body.playing .stage-caption{bottom:16px}
@media(orientation:landscape) and (min-width:740px) and (max-height:650px){body.result .panel>p{display:none}body.result .instructions{padding:8px 12px;margin:4px 0}body.result .instructions p{font-size:12px}body.result .panel h1{font-size:23px}body.result .qr-wrap{margin:5px 0;padding:7px}body.result .status{font-size:10px;line-height:1.25}}
/* Avoid auto-margin shrink-wrapping of the grid's flexible main row. */
@media(orientation:landscape) and (min-width:740px){main{margin:0;height:100%;align-self:stretch;overflow:hidden}.layout{height:100%;min-height:0}.world{align-self:stretch}body.playing .layout{height:100%;grid-template-rows:minmax(180px,1fr) 86px}}
.part-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 16px}.part-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border:1px solid #d8decf;border-radius:12px;background:#fff;font-size:14px}.part-button.selected{border:2px solid #344b2d;background:#edf2e5;font-weight:800}.part-button i{width:18px;height:18px;border-radius:50%;border:1px solid #0002}.palette{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px;justify-items:center}.palette .swatch{width:44px;height:44px}.palette-group{margin-bottom:18px}.palette .swatch.selected:after{color:#fff;text-shadow:0 0 3px #000,0 1px 2px #000}
@media(orientation:landscape) and (min-width:740px){.part-selector{margin-bottom:13px}.palette{gap:9px 5px}.palette .swatch{width:40px;height:40px}.palette-group{margin-bottom:14px}.part-button{min-height:46px}.panel{justify-content:flex-start}}
@media(orientation:landscape) and (min-width:740px) and (max-height:650px){body.playing .layout{grid-template-rows:minmax(150px,1fr) 70px}.part-selector{margin-bottom:8px}.part-button{min-height:38px;font-size:13px}.palette{gap:6px 4px}.palette .swatch{width:34px;height:34px;border-width:3px}.palette-group{margin-bottom:10px}}
@media(max-width:739px){.palette{grid-template-columns:repeat(6,1fr);gap:10px}.palette .swatch{width:42px;height:42px}}
.map-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 16px}.map-card{padding:4px;border:2px solid #dfe5d6;border-radius:14px;background:#fff;overflow:hidden;min-width:0}.map-card.selected{border-color:#3d5b2d;background:#eef4e7}.map-card img{display:block;width:100%;height:90px;object-fit:cover;border-radius:9px}.map-card span{display:block;padding:8px 2px;font-size:14px;font-weight:700}.backdrop{overflow:hidden}.scenery-track{position:absolute;inset:0 auto 0 0;width:400%;height:100%;display:flex;will-change:transform}.scenery-track img{flex:none;width:25%;height:100%;object-fit:cover;object-position:center 55%;user-select:none}.scenery-track img:nth-child(even){transform:scaleX(-1)}@media(orientation:landscape) and (max-height:650px){.map-options{margin-bottom:8px;gap:7px}.map-card img{height:68px}.map-card span{font-size:12px;padding:5px}.map-card{border-radius:10px}}#jump{white-space:nowrap}
/* Map selection is explicit; there is no automatic background crossfade. */
.backdrop{transition:none}
.mood-reaction{position:absolute;top:36%;left:50%;transform:translateX(-50%);white-space:nowrap;max-width:95%;padding:13px 20px;background:#fffef4;color:#35472c;border-radius:24px;box-shadow:0 5px 16px #36462224;font-size:16px;font-weight:800;pointer-events:none;animation:mood-pop 2.6s ease both;z-index:3}.mood-1{background:#fff5b3}.mood-2{background:#e9edff}.mood-3{background:#fbe4ed}@keyframes mood-pop{0%{opacity:0;transform:translate(-50%,16px) scale(.85)}12%,80%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-18px)}}@media(max-width:900px){.mood-reaction{font-size:13px;padding:10px 14px}}

body.result #backdrops{display:block}body.result .scenery-track{transform:none!important}body.result .world-label{background:#ffffffd9;border-radius:14px;padding:14px;font-size:clamp(26px,3vw,44px)}body.result .stage-caption p{display:inline-block;background:#fffffff0;border-radius:20px;padding:6px 14px}

/* Fit the studio to the usable screen, including mobile browser chrome. */
@media(max-width:1100px){
 html{height:100%;overscroll-behavior:none}body{height:100dvh;min-height:0;display:grid;grid-template-rows:44px minmax(0,1fr);overflow:hidden}header{height:44px;padding:0 12px}.brand{font-size:21px}.brand img{width:25px;height:28px}.brand span{font-size:8px;padding-left:10px;margin-left:2px}.edition,footer{display:none}main{height:100%;width:100%;max-width:none;min-height:0;margin:0;padding:6px 10px 8px;display:flex;flex-direction:column;overflow:hidden}nav{height:18px;flex:none;font-size:10px;margin:0 0 5px;gap:10px}.layout{flex:1;height:100%;min-height:0;gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.world,body.result .world{min-height:0;height:100%;border-radius:14px}.panel{height:100%;min-height:0;padding:0;justify-content:flex-start}.panel .eyebrow,.panel>.note{display:none}.panel h1{font-size:22px;line-height:1.15;margin:0 0 7px}.panel>p{font-size:12px;line-height:1.4;margin:0 0 8px}.world-label,body.result .world-label{font-size:26px;letter-spacing:-1px;top:15px;left:15px;padding:0}.world-corner{display:none}.stage-caption{bottom:12px}.stage-caption span{font-size:9px;padding:4px 8px}.stage-caption p{font-size:10px;margin:7px 0 0}.part-selector{gap:5px;margin-bottom:9px}.part-button{font-size:12px;min-height:38px;gap:4px}.part-button i{width:12px;height:12px}.palette{grid-template-columns:repeat(9,1fr);gap:7px 4px}.palette .swatch{width:32px;height:32px;border-width:3px}.group{margin-bottom:8px}.group-label{font-size:12px;margin-bottom:5px}.tile{min-height:40px;padding:5px 1px;font-size:11px}.tile.selected{padding:4px 0}.tile b{font-size:14px;margin:0}.primary{min-height:42px;padding:10px 12px;font-size:14px;margin-top:auto}.secondary{min-height:36px;padding:8px;font-size:12px;margin-top:6px}.instructions{padding:10px;margin:6px 0}.instructions p{font-size:12px;line-height:1.5}.map-card img{height:65px}.map-card span{font-size:12px;padding:5px 0}.map-options{gap:6px;margin:5px 0 10px}.qr-wrap{padding:6px;gap:8px;margin:5px 0}.qr-wrap canvas{width:96px!important;height:96px!important}.qr-wrap p{font-size:11px;line-height:1.4}.qr-wrap b{font-size:12px;margin-bottom:4px}.status{font-size:10px;min-height:12px}.big-score{font-size:45px;margin:8px 0}
}
@media(orientation:portrait) and (max-width:1100px){
 .layout{grid-template-columns:1fr;grid-template-rows:minmax(120px,.8fr) minmax(330px,1fr);gap:8px}.world-label,body.result .world-label{font-size:22px}.stage-caption{bottom:8px}.stage-caption p{display:none}.panel h1{font-size:21px}.panel>p{display:none}.panel .part-selector{margin-bottom:7px}.panel .primary{margin-top:auto}.qr-wrap{justify-content:center}.palette .swatch{width:34px;height:34px}.palette{gap:6px}.panel:has(#download) h1 br{display:none}body.result .instructions{margin:3px 0;padding:7px 10px}body.result .instructions p{display:none}body.result .layout{grid-template-rows:minmax(100px,1fr) minmax(320px,1fr)}
}
@media(orientation:landscape) and (max-height:500px){
 body{grid-template-rows:34px minmax(0,1fr)}header{height:34px}main{padding:4px 10px}nav{display:none}.layout{gap:12px;grid-template-columns:1fr 1.1fr}.panel h1,.panel>p{display:none}.panel .part-selector{margin-bottom:5px}.part-button{min-height:30px}.palette .swatch{width:28px;height:28px}.palette{gap:4px}.group{margin-bottom:5px}.group-label{font-size:10px;margin-bottom:3px}.tile{min-height:32px;font-size:10px}.tile b{display:inline;margin-right:3px}.primary{min-height:34px;padding:7px 12px}.secondary{min-height:30px;padding:5px;margin-top:4px}.instructions{padding:6px;margin:4px 0}.instructions p{font-size:10px;line-height:1.3}.map-card img{height:45px}.map-options{margin:4px 0}.qr-wrap canvas{width:82px!important;height:82px!important}.qr-wrap{margin:3px 0;padding:4px}.panel .status:empty{display:none}.panel .big-score{font-size:34px;margin:6px 0}.stage-caption{bottom:8px}
}
/* Play owns the entire viewport; controls float over the scene. */
body.playing{display:block!important;width:100%;height:100dvh;overflow:hidden}body.playing header,body.playing footer,body.playing nav{display:none!important}body.playing main{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;padding:0!important;margin:0;display:block}body.playing .layout{display:block!important;width:100%;height:100%!important}body.playing .world{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;border-radius:0}body.playing .panel{position:absolute;inset:0;width:100%;height:100%!important;display:block!important;padding:0;pointer-events:none}body.playing .panel>*{display:none!important}body.playing #jump,body.playing #finish{display:flex!important;position:absolute;pointer-events:auto;width:auto;min-height:48px;margin:0;align-items:center;justify-content:center}body.playing #jump{right:max(18px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));width:112px;height:76px;border:2px solid #ffffffb0;background:#354e31d9;border-radius:24px;font-size:23px;gap:15px}body.playing #finish{left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));padding:8px 13px;background:#fffffff0;border:0;font-size:12px;min-height:40px}body.playing #gameHud{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));padding:8px 14px;border-radius:15px}body.playing #timer{font-size:24px}body.playing .stage-caption{bottom:max(16px,env(safe-area-inset-bottom));left:50%;width:calc(100% - 300px);transform:translateX(-50%)}body.playing .stage-caption p{display:inline-block;font-size:11px;line-height:1.4;padding:5px 10px}body.playing #badge{display:none}body.playing .route-progress{height:4px}body.playing .world-label{display:none}
@media(orientation:portrait){body.playing .stage-caption{bottom:110px;width:90%}body.playing #jump{width:112px;height:76px}}
/* Calm studio system: warm surfaces, restrained type, consistent controls. */
:root{--ink:#35433c;--muted:#869087;--line:#e1e5dc;--paper:#f7f8f3;--sage:#647e69;background:var(--paper);color:var(--ink)}body{background:var(--paper)}header{border-color:var(--line)}.brand{color:var(--ink);letter-spacing:-1px}.brand span{color:var(--muted);border-color:var(--line)}.edition{color:var(--muted);letter-spacing:1.8px}.edition b{font-size:23px;font-weight:400}nav{color:#a1aaa0;font-size:11px}nav span.active{color:var(--sage);font-weight:600}nav i{background:var(--line);width:24px}.world{background:radial-gradient(ellipse at 50% 30%,#f3f0e5,#e4e9dc);border:1px solid #e2e6da;border-radius:26px}.world-label,body.result .world-label{font-size:clamp(20px,2.5vw,34px);font-weight:500;letter-spacing:-1px;line-height:1.12;color:#6e7e6b;top:26px;left:28px;background:none;padding:0}.world-corner{display:none}.stage-caption span{font-size:9px;letter-spacing:1.6px;background:#ffffffb3;color:#6f7d6b;border-radius:30px;padding:6px 12px}.stage-caption p{color:#87907f;font-size:11px}.panel h1{font-size:28px;font-weight:600;letter-spacing:-1.1px;color:var(--ink)}.eyebrow{font-weight:500;color:var(--muted);font-size:10px;letter-spacing:1.6px}.panel>p{color:var(--muted);font-size:13px}.part-selector{background:#eceedf66;padding:4px;border:1px solid var(--line);border-radius:16px;gap:3px}.part-button{background:transparent;border:1px solid transparent;border-radius:12px;font-size:13px;font-weight:500;color:#8b9486;transition:background .15s,color .15s}.part-button.selected{background:#fff;border:1px solid #dfe5d8;color:var(--ink);font-weight:600;box-shadow:0 2px 5px #45553e08}.part-button i{width:13px;height:13px}.group-label{color:#677460;font-size:12px;font-weight:500}.group-label small{font-size:10px;color:#9aa291}.palette .swatch{border:4px solid var(--paper);outline:1px solid transparent;box-shadow:none;transition:transform .15s}.palette .swatch.selected{outline:1px solid #73816a}.palette .swatch:hover{transform:scale(1.06)}.palette .swatch.selected:after{font-size:15px;inset:3px}.tiles{gap:7px}.tile{border:1px solid var(--line);background:#fafbf7;border-radius:13px;color:#85917d;font-weight:400}.tile.selected{border:1px solid #9dac91;background:#eef2e7;padding:8px 2px;color:#56694e}.tile b{font-weight:400}.primary{background:#657d65;border-radius:14px;font-weight:500;box-shadow:none;letter-spacing:-.2px}.primary:hover{background:#536c54}.secondary{background:transparent;border:1px solid var(--line);border-radius:14px;color:#7c8973;font-weight:400}.secondary:hover{background:#edf1e7}#sound{color:#7b8772;border-color:var(--line);background:#ffffff80;font-size:11px}.instructions{background:#edf1e6;border:1px solid #e4e9db;border-radius:16px;color:#69785f}.instructions strong{font-weight:500;font-size:14px}.instructions p{color:#8a9580}.map-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:5px;transition:border-color .15s}.map-card.selected{border:1px solid #7c9470;background:#edf2e6;box-shadow:0 0 0 1px #7c9470}.map-card img{border-radius:11px;filter:saturate(.85)}.map-card span{color:#718264;font-size:13px;font-weight:500}.qr-wrap{border-color:var(--line);border-radius:16px;background:#fff}.qr-wrap p,.qr-wrap b{color:#849078;font-weight:400}.big-score{color:#6e845f;font-weight:500}.note,.status{color:#99a28f}.mood-reaction{background:#fffffff0;font-size:13px;font-weight:500;box-shadow:0 5px 25px #53644a10}.mood-1{background:#faf5dd}.mood-2{background:#f0f0fa}.mood-3{background:#faf0f2}footer{color:#adb4a4;font-size:9px}body.playing .world{border:0;border-radius:0}body.playing #jump{background:#5e795edb;border:1px solid #ffffffa0;border-radius:24px;font-size:20px;font-weight:500;box-shadow:0 4px 16px #30412818}body.playing #finish{background:#ffffffdc;color:#65755c;border-radius:20px}body.playing #gameHud{background:#ffffffe6;color:#627457;border-radius:18px}body.playing #timer{font-weight:500}body.playing .stage-caption p{background:#ffffffe0;color:#758569}body.result .stage-caption p{background:#ffffffe0}body.result .world-label{color:#586e52;text-shadow:0 1px 8px #fff}
@media(max-width:1100px){.panel h1{font-size:22px}.world-label,body.result .world-label{font-size:24px;top:18px;left:20px}.part-selector{padding:3px}.part-button{min-height:32px}.tile.selected{padding:5px 1px}.world{border-radius:20px}.map-card span{font-size:12px}.palette .swatch{border-width:3px}.instructions strong{font-size:12px}}
@media(orientation:portrait) and (max-width:1100px){.world-label,body.result .world-label{font-size:20px;top:14px;left:16px}.panel h1{font-size:20px}}
@media(orientation:landscape) and (max-height:500px){.part-selector{padding:2px}.part-button{min-height:27px}.tile.selected{padding:5px 1px}.world-label,body.result .world-label{font-size:22px}.instructions strong{font-size:11px}}
/* Keep only the requested play controls and remove secondary decoration. */
#badge,.note,footer,.world-corner{display:none!important}body.playing .stage-caption{display:none!important}body.playing #jump{display:none!important}body.playing #gameHud{display:flex;gap:9px;align-items:center;background:none;padding:0;border:0;box-shadow:none;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right))}body.playing #gameHud[hidden]{display:none}.hud-pill{display:flex;align-items:center;gap:8px;min-height:52px;padding:9px 17px;border:2px solid #ffffffdd;border-radius:19px;box-shadow:0 4px 0 #25392b15,0 5px 20px #33482a0d;line-height:1}.hud-time{background:#e7dcff;color:#67518e}.hud-stars{background:#ffe89b;color:#8b651e}.hud-icon{font-size:26px;line-height:1}.hud-stars .hud-icon{color:#dd9d17;text-shadow:0 1px #fff7}body.playing #timer,body.playing #score{font-size:25px;font-weight:700;font-variant-numeric:tabular-nums;margin:0;color:inherit;min-width:24px}.hud-unit{font-size:12px;align-self:center;opacity:.8}body.playing #finish{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));min-height:52px;padding:8px 16px 8px 10px;gap:9px;border:2px solid #fffdf5;background:#ffc6af;color:#825039;border-radius:19px;box-shadow:0 4px 0 #613e2915;font-size:13px;font-weight:600;transition:transform .12s}.finish-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:11px;background:#fff8;color:#a05a3b;font-size:22px}body.playing #finish:active{transform:translateY(2px);box-shadow:none}@media(max-width:600px){body.playing #gameHud{gap:6px;right:max(10px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top))}.hud-pill{min-height:46px;padding:8px 11px;border-radius:16px;gap:5px}.hud-icon{font-size:22px}body.playing #timer,body.playing #score{font-size:21px}body.playing #finish{left:max(10px,env(safe-area-inset-left));top:max(10px,env(safe-area-inset-top));min-height:46px;padding:7px 10px;gap:5px;font-size:11px;border-radius:16px}.finish-icon{width:24px;height:24px;font-size:19px}}
#journeyHud{position:absolute;top:max(82px,calc(env(safe-area-inset-top) + 70px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:9px 16px;border-radius:22px;background:#fffffff0;color:#658063;z-index:3;max-width:90%;font-size:12px;white-space:nowrap;pointer-events:none}#journeyHud[hidden],#finishCelebration[hidden]{display:none}.journey-meter{width:clamp(90px,24vw,310px);height:8px;border-radius:8px;background:#e6e9dc;position:relative}.journey-meter>div{width:0;height:100%;border-radius:8px;background:linear-gradient(90deg,#f3a9c2,#f6d575,#94c9b1);transition:width .2s linear}.journey-meter>span{position:absolute;right:-7px;top:-12px;font-size:20px}#finishCelebration{position:absolute;top:30%;left:50%;transform:translateX(-50%);background:#fff9dfed;border:3px solid #fff;border-radius:26px;padding:18px 35px;color:#927449;font-size:clamp(23px,4vw,42px);font-weight:700;text-align:center;z-index:5;white-space:nowrap;box-shadow:0 8px 24px #50382618}.difficulty{display:flex;gap:10px;margin:10px 0}.difficulty button{flex:1;background:#f9faf4;border:1px solid #dce3d2;border-radius:15px;padding:13px 10px;color:#73816a}.difficulty button[aria-pressed=true]{border:2px solid #90ab86;background:#eaf1df}.difficulty b,.difficulty small{display:block}.difficulty small{font-size:11px;margin-top:5px}.stamp-map{display:flex;gap:12px;margin:18px 0}.stamp-map>div{flex:1;display:grid;justify-items:center;gap:8px;color:#b1b8a8;font-size:12px}.stamp-map b{display:grid;place-items:center;border:2px dashed #d9ddcf;width:48px;height:48px;border-radius:50%;font-size:22px;font-weight:500}.stamp-map .earned{color:#749764}.stamp-map .earned b{border:2px solid #a4bd8e;background:#edf4df}.finish-rainbow{font-size:76px;text-align:center;margin:0 0 10px}.journey-maps .map-card{opacity:1}.journey-maps .map-card span{font-size:11px}@media(max-height:500px){.difficulty{margin:4px 0;gap:6px}.difficulty button{padding:7px}.difficulty small{margin-top:2px}.stamp-map{margin:8px 0}.stamp-map b{width:36px;height:36px}.finish-rainbow{font-size:45px;margin:0}#journeyHud{top:75px;font-size:10px;padding:6px 12px}.journey-meter{width:100px}}
@media(orientation:portrait){body.playing #gameHud{top:max(12px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}body.playing #finish{left:max(10px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top))}#journeyHud{top:max(76px,calc(env(safe-area-inset-top) + 68px));width:calc(100% - 24px);max-width:420px;justify-content:space-between;gap:10px;font-size:11px;padding:10px 13px}.journey-meter{flex:1;width:auto;min-width:65px;margin-right:5px}#finishCelebration{max-width:90%;white-space:normal;width:max-content;font-size:26px;padding:16px 23px}.stageclear .panel h1{display:block;font-size:23px}.stageclear .panel>p{display:block;font-size:12px}.stageclear .layout{grid-template-rows:minmax(150px,1fr) minmax(290px,1fr)}}@media(orientation:landscape) and (max-height:500px){.stageclear .panel h1{display:block;font-size:21px}.stageclear .panel>p{display:block;font-size:12px;line-height:1.4}.stageclear .stamp-map{margin:8px 0}.stageclear .stamp-map b{height:30px;width:30px;font-size:18px}.stageclear .finish-rainbow{font-size:37px}}
.part-guide{display:flex;align-items:center;gap:10px;margin:8px 0 12px;color:#62725b;font-size:16px}.part-guide>span{font-size:12px;background:#e7eedb;border-radius:20px;padding:6px 10px}.part-guide small{margin-left:auto;font-size:11px;color:#9ba48f}.part-steps{display:grid;grid-template-columns:repeat(9,1fr);gap:5px;margin-bottom:15px}.part-steps button{border:1px solid #dfe5d6;background:#fff;border-radius:12px;color:#8c977e;font-size:11px;min-height:44px;padding:5px 1px}.part-steps button span{display:block;font-size:10px;margin-top:3px}.part-steps button[aria-pressed=true]{background:#e9f0dc;border-color:#8ba772;color:#48613e}.finish-options{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:12px}.finish-options button{background:#fff;border:1px solid #e1e5d8;border-radius:13px;padding:8px 4px;color:#7d8a6e;font-size:10px}.finish-options button[aria-pressed=true]{border:2px solid #9aad7f;background:#f4f6ec;padding:7px 3px}.texture-demo{display:block;width:32px;height:27px;border-radius:7px;background:#a6b995;margin:0 auto 5px}.texture-1{background:radial-gradient(#fff0d0 3px,transparent 4px) 0 0/12px 12px,#a6b995}.texture-2{background:repeating-linear-gradient(45deg,#a6b995 0 6px,#fff0d0 6px 12px)}.texture-3{background:conic-gradient(#a6b995 25%,#fff0d0 0 50%,#a6b995 0 75%,#fff0d0 0) 0 0/14px 14px}.texture-4{background:linear-gradient(#a6b995,#fff0d0)}.color-channels{display:flex;gap:8px;margin-bottom:10px}.color-channels[hidden]{display:none}.color-channels button{border:1px solid #e0e4d8;border-radius:20px;background:#fff;padding:7px 12px;font-size:11px;color:#738465}.color-channels button:before{content:'';display:inline-block;width:13px;height:13px;border:1px solid #0001;border-radius:50%;background:var(--sample);vertical-align:middle;margin-right:6px}.color-channels button[aria-pressed=true]{border-color:#8ea676;background:#f0f4e8}.dress-actions{margin-top:auto;display:flex;gap:10px;align-items:stretch}.dress-actions button{flex:1;margin:0;font-size:13px;min-height:44px}.panel:has(.part-guide)>h1{margin-bottom:0}.world:has(+.panel .part-guide) .world-label{display:none}.world:has(+.panel .part-guide){cursor:pointer}
@media(max-width:1100px){.part-guide{margin:3px 0 7px;font-size:14px}.part-guide small{display:none}.part-steps{gap:3px;margin-bottom:8px}.part-steps button{min-height:35px;font-size:10px}.part-steps button span{font-size:9px;margin:1px 0 0}.finish-options{gap:4px;margin-bottom:7px}.finish-options button{padding:5px 2px}.finish-options button[aria-pressed=true]{padding:4px 1px}.texture-demo{width:25px;height:20px;margin-bottom:3px}.color-channels{margin-bottom:6px}.color-channels button{padding:4px 9px}.dress-actions{gap:6px}.dress-actions button{font-size:11px;min-height:36px;padding:7px}.panel:has(.part-guide) .palette{gap:5px}.panel:has(.part-guide) .palette .swatch{width:29px;height:29px}}
@media(orientation:portrait) and (max-width:1100px){.layout:has(.part-guide){grid-template-rows:minmax(100px,1fr) minmax(360px,1.2fr)}.panel:has(.part-guide)>h1{display:none}.part-guide{margin-top:0}.stage-caption:has(+ #gameHud) p{font-size:10px}}
@media(orientation:landscape) and (max-height:500px){.part-guide{margin:0 0 4px}.part-guide>span{padding:3px 7px;font-size:10px}.part-steps{margin-bottom:5px}.part-steps button{min-height:28px;font-size:9px}.part-steps button span{font-size:8px}.finish-options{margin-bottom:4px}.texture-demo{height:13px;width:23px;margin-bottom:1px}.finish-options button{font-size:9px;padding:3px 1px}.finish-options button[aria-pressed=true]{padding:2px 0}.color-channels{margin-bottom:4px}.color-channels button{padding:2px 8px;font-size:10px}.panel:has(.part-guide) .palette .swatch{width:24px;height:24px;border-width:2px}.panel:has(.part-guide) .palette{gap:3px}.dress-actions button{min-height:30px;padding:5px}.panel:has(.part-guide) .group-label{font-size:10px}}

/* Keep the finish line on screen while choosing the next stage. */
body.playing.stageclear .panel .finish-choice{display:flex!important;position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(620px,calc(100% - 32px));padding:18px 22px;gap:16px;align-items:center;justify-content:space-between;pointer-events:auto;background:#fffdf5f2;border:2px solid #fff;border-radius:24px;box-shadow:0 8px 30px #35433c20;backdrop-filter:blur(8px)}
.finish-summary{display:grid;gap:6px}.finish-summary strong{font-size:20px;color:#48664d}.finish-summary span{font-size:14px;color:#8b713a}.finish-actions{display:flex;gap:8px;align-items:center}.finish-actions button{margin:0;min-height:48px;white-space:nowrap}.finish-actions .primary{background:#8974c5;color:white}.finish-actions .secondary{background:#fff;color:#66775e}
@media(max-width:600px){body.playing.stageclear .panel .finish-choice{flex-direction:column;padding:16px;gap:12px;bottom:max(16px,env(safe-area-inset-bottom))}.finish-summary{text-align:center}.finish-actions{width:100%}.finish-actions button{flex:1}.finish-summary strong{font-size:20px}}

/* Picture-led controls: words remain in accessible names for caregivers. */
.edition,.brand>span,nav,.world-label,.stage-caption,.panel>.eyebrow,.panel>h1,.panel>p,.panel>.instructions,.part-guide,.palette-group>.group-label,.finish-options button>span,#journeyName,.hud-unit{display:none!important}
.picture-button{font-size:30px!important;min-height:58px!important;justify-content:center!important;display:flex;align-items:center;gap:10px}
.part-steps button{padding:3px;min-height:58px}.part-steps svg{width:100%;height:52px;display:block}.part-steps button[aria-pressed="true"]{background:#fff0ca;border-color:#e6b258}
.finish-options button{min-height:62px}.texture-demo{width:40px!important;height:40px!important;border-radius:12px}.color-channels button{font-size:20px;min-height:46px}
.difficulty button>span{font-size:30px}.difficulty button>small{display:block!important;font-size:18px;color:#c59731}.map-card span{font-size:26px}.result-tally{font-size:24px;text-align:center;margin:14px 0}.qr-wrap p{display:none}.qr-wrap:after{content:"QR로 포니 가져가기";font-size:14px;color:#657d65}.qr-wrap{justify-content:center;gap:24px}
body.playing #finish{min-width:54px}.finish-actions .picture-button{min-width:88px}.finish-summary strong{font-size:28px}#sound{font-size:22px;min-width:48px;min-height:44px}
@media(max-width:600px){.part-steps svg{height:38px}.part-steps button{min-height:46px}.picture-button{min-height:48px!important;font-size:26px!important}.result-tally{font-size:19px}.finish-options button{min-height:48px}.texture-demo{height:30px!important;width:30px!important}}

.tap-demo{position:relative;height:92px;min-height:70px;border-bottom:3px solid #c6d7b1;border-radius:20px;background:#edf4df;margin:8px 0;overflow:hidden}.demo-pony{position:absolute;left:30%;bottom:3px;font-size:36px;animation:show-jump 2.6s infinite}.demo-stars{position:absolute;left:46%;top:8px;font-size:24px}.demo-hand{position:absolute;right:20%;bottom:4px;font-size:32px;animation:show-tap 2.6s infinite}@keyframes show-jump{0%,20%,90%,100%{transform:translateY(0)}45%{transform:translateY(-24px)}65%{transform:translateY(-38px)}}@keyframes show-tap{0%,25%,55%,100%{transform:scale(1)}20%,50%{transform:scale(.8)}}@media(prefers-reduced-motion:reduce){.demo-pony,.demo-hand{animation:none}.demo-pony{bottom:28px}}

/* Finish message appears during celebration; choices stay centered afterward. */
body.playing.stageclear .panel .finish-choice{top:50%;bottom:auto;transform:translate(-50%,-50%);width:auto;max-width:calc(100% - 32px);padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none}
body.playing.stageclear .finish-summary{display:none}
body.playing.stageclear .finish-actions{display:flex;gap:14px;justify-content:center;width:auto}
body.playing.stageclear .finish-actions .picture-button{min-width:160px;min-height:64px!important;padding:16px 24px;font-size:20px!important;border:2px solid #fff;border-radius:22px;box-shadow:0 5px 18px #35433c24}
body.playing.stageclear .finish-actions .secondary{background:#fffdf5}
@media(max-width:420px){body.playing.stageclear .finish-actions{gap:10px}body.playing.stageclear .finish-actions .picture-button{min-width:0;padding:15px 18px;font-size:17px!important}}

.ui-icon{width:26px;height:26px;flex:none;vertical-align:middle}.picture-button{font-size:16px!important;gap:12px!important}.picture-button>span{font-size:16px}.difficulty button{display:flex;align-items:center;justify-content:center;gap:12px}.difficulty button>span{font-size:16px}.map-card span{font-size:14px}.demo-pony img{width:48px;height:48px;object-fit:contain}.demo-hand .ui-icon{width:36px;height:36px}.demo-stars{color:#bd913c;display:flex;gap:12px}.result-tally{display:flex;align-items:center;justify-content:center;gap:7px}.journey-meter>span{font-size:8px;background:#fff;padding:3px}#sound{display:grid;place-items:center}.qr-wrap:after{display:block}
