/* Full-screen game views. All character, environment and food art is raster. */
.title-sound{position:fixed;top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));z-index:20;background:#fff5dfed;border:2px solid #b99b72;box-shadow:0 3px 0 #a8896140}
body:not([data-screen="title"]) .title-sound{display:none}
.mold.stuck{background:#e6c59e;border-color:#a06c4c}
.mold.stuck .mold-art{transform:scale(1.1,.6) rotate(-9deg);filter:saturate(.65)}
.mold.stuck:after{content:'눌어붙음';position:absolute;top:3px;left:50%;transform:translateX(-50%);padding:1px 5px;border-radius:6px;background:#fff1d8;color:#885335;font-size:9px;white-space:nowrap;pointer-events:none}
.mold.stuck .mold-label,.mold.burnt .mold-label{color:#8f3c29;font-weight:bold}
.game-shell .mold.blocked{border-color:#b98643;background:#f8dfb1;box-shadow:inset 0 0 0 2px #d1a65b}
.game-shell .mold.blocked .mold-label{color:#5e3825;background:#ffeac7;border-radius:3px;text-shadow:none}
.game-shell .stock-full{background:#9c4d38;color:#fff7e4;padding:2px 4px;border-radius:5px}
html,body{height:100%;width:100%;overflow:hidden;overscroll-behavior:none}
body{display:block;min-height:0;padding:0;background:#e9e3cb;font-family:var(--font)}
.game-shell{height:100dvh;min-height:0;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;background:#d8dfcb url('assets/shop-scene-v2.png') center/cover no-repeat;padding-bottom:env(safe-area-inset-bottom)}
body:not([data-screen="play"]) .game-shell{display:none}
.game-view{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;background:#d8dfcb url('assets/shop-scene-v2.png') center/cover no-repeat;isolation:isolate;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.game-view[hidden]{display:none}
.desktop-note,.desktop-stamp,.game-footer,.start-area{display:none!important}
.icon{display:inline-flex;align-items:center;justify-content:center;font-family:Georgia,'Malgun Gothic',serif;font-size:24px;line-height:1;width:22px;height:22px;font-style:normal}
.icon-coin{background:#f4d787;color:#896438;border:1.5px solid #b79856;border-radius:50%;font-size:16px;font-weight:bold}.icon-star{color:#d79c42}.icon-mute{text-decoration:line-through}.icon-heart{color:#bd7865;font-size:20px}.icon-book{font-size:16px;border:1.5px solid currentColor;border-radius:50%}.icon-pause{font-size:20px}
.character{display:grid;place-items:end center;width:100%;height:100%;position:relative;flex-shrink:0;container-type:size}
.sprite-window{display:block;position:relative;height:min(152.344cqw,100cqh);width:min(100cqw,65.641cqh);max-width:none;overflow:hidden;margin:0 auto}
.character-sprite{position:absolute;top:-15.3846%;width:300%;height:auto;max-width:none;display:block;pointer-events:none;user-select:none}
.fish{display:inline-block;width:80px;height:40px;position:relative;overflow:hidden;flex-shrink:0;vertical-align:middle}
.object-sprite{position:absolute;left:0;top:-50%;width:100%;height:200%;background-image:url('assets/objects-v2.png');background-size:300% 200%;background-repeat:no-repeat;display:block}
.fish-empty{filter:grayscale(1) brightness(.47);opacity:.55}.fish-dark{filter:brightness(.75) saturate(.8)}







.title-actions{position:absolute;bottom:4%;left:8%;right:8%;max-width:365px;margin:auto;display:flex;flex-direction:column;align-items:center}
.title-actions .primary-button{min-height:54px;font-size:19px}
.title-help{min-height:44px;padding:8px 12px;background:transparent;font-size:12px;color:#66442f;text-shadow:0 1px #ffefd7}
.title-actions small{font-size:9px;color:#684c36;background:#fff0d5c9;padding:2px 8px;border-radius:6px}.title-actions .title-help{color:#4c3021;text-shadow:0 1px #ffe5bc}
.map-view{display:flex;flex-direction:column;background-position:center top}
.map-view:before,.result-view:before{content:'';position:absolute;inset:0;background:#fff7e6d9;z-index:-1}
.screen-heading{height:76px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px 8px}
.screen-heading h2{font-size:20px;letter-spacing:-1px;text-align:center;flex:1}.screen-heading .icon-button{background:#fff7e4;border-color:#b79971;min-width:44px;min-height:44px;font-size:25px}
.map-wallet{font-size:14px;white-space:nowrap;min-width:55px;display:flex;gap:4px;align-items:center}
.day-map{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,minmax(0,1fr));gap:12px 45px;padding:12px 27px;margin:0 auto;flex:1;min-height:0;width:min(430px,95%);max-height:560px}
.day-map:before{content:'';position:absolute;inset:10% 20%;border:4px dashed #caaa75;border-radius:40%;opacity:.7;z-index:-1}
.day-node{background:#fceacd;border:2px solid #b8976d;border-radius:24px 24px 18px 18px;box-shadow:0 4px 0 #ac855a55;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;gap:3px;min-height:0;padding:5px}
.day-node b{font-size:17px}.day-node small{font-size:10px}.day-node .fish{height:28px;width:56px}.day-node:nth-child(even){transform:translateY(10px)}.day-node[aria-pressed=true]{background:#ffe4a5;border:3px solid #a4543e;box-shadow:0 5px 0 #a4543e55}.day-node:disabled{background:#e3dfd1;color:#8c826d;box-shadow:0 3px #bcb5a277;border-color:#c0b49d}.day-node:disabled .fish{filter:grayscale(1);opacity:.45}.node-stars{font-size:10px;letter-spacing:2px;color:#b67c3f}.day-node:disabled .node-stars{color:#9c937c}
.map-actions{padding:15px 24px 12px;flex:0 0 auto;width:min(415px,100%);margin:auto auto 0;text-align:center}.map-actions p{font-size:12px;margin-bottom:10px}.map-actions .primary-button{font-size:16px}.map-actions .title-help{font-size:12px}
.topbar{height:calc(54px + env(safe-area-inset-top));flex:0 0 auto;padding:calc(5px + env(safe-area-inset-top)) 12px 5px;background:#fff7e8e8;gap:7px}.icon-button{min-height:44px;min-width:44px}.day-chip{font-size:12px}.wallet{font-size:17px}.day-progress{height:28px;flex:0 0 auto;padding:0 14px 6px;background:#fff7e8e8;font-size:11px}
.shopfront{flex:1;min-height:110px;height:auto;background:transparent;border:0;overflow:visible;z-index:2}.village{display:none}.awning{top:8px;left:18%;right:18%;z-index:1}.sign{height:51px;background:#fff3dce8;box-shadow:0 3px 0 #775b3433;border-radius:9px;gap:5px}.sign h1{font-size:24px}.sign-small{font-size:12px}.sign-fish{width:43px;height:25px;display:grid;place-items:center}.sign-fish .fish{width:43px;height:22px}.open-sign{font-size:9px;padding:3px 5px;margin-left:3px}.scallops,.awning:before,.awning:after{display:none}.customer-line{left:20px;right:20px;bottom:0;height:calc(100% - 64px);max-height:200px;min-height:75px;gap:10px}.customer{max-width:145px}.customer .character{width:100%;height:clamp(62px,13svh,118px);margin:0 auto 0}.order-bubble{font-size:12px;min-height:35px}.patience{bottom:2px}.street-label{display:none}
.kitchen{flex:0 0 auto;background:#f5e5c9ed;border-top:2px solid #987148;z-index:3}.crew-row{height:54px;padding:0 10px;background:#f5e5c9b0}.crew>div:not(.crew-caption){width:79px;height:87px;margin-bottom:0}.crew-caption b{font-size:12px}.crew-caption span{font-size:10px}.counter{padding:7px 12px 6px;background:#e8c99de8;border-top:2px solid #a77b53}.worktop-label{margin-bottom:5px;font-size:11px}.stations,.worktop-label{grid-template-columns:minmax(0,1fr) 112px;gap:10px}.flavor-switch{margin-bottom:6px}.flavor-switch button{min-height:44px;font-size:13px}.grill-frame{padding:6px 6px 0}.molds{gap:6px}.mold{height:clamp(51px,7.7svh,70px);padding:1px 2px 8px}.mold-art{height:38px;width:100%;display:grid;place-items:center}.mold .fish{height:36px;width:72px;max-width:100%;filter:none}.mold .mold-label{font-size:11px;margin-top:-1px}.molds.six .mold .fish{width:60px;height:30px}.molds.six .mold-label{font-size:10px}.molds.six .mold-art{height:33px}.grill-bottom{height:11px}.pack-station{padding:6px}.stock-title{font-size:10px}.stock-counts{font-size:11px;padding:4px 2px;margin-bottom:5px;gap:2px}.stock-counts b{font-size:14px}.pack-button{min-height:65px;padding:4px 2px 8px}.pack-button b{font-size:13px}.pack-button small{font-size:9px;line-height:1.4;margin-top:3px}.paper-bag{display:block;clip-path:none;transform:none;box-shadow:none;width:48px;height:48px;margin:0;background:none;position:relative}.paper-bag:before{content:'';position:absolute;inset:0;background:url('assets/objects-v2.png') 50% 100%/300% 200% no-repeat}.paper-bag:after,.paper-bag>*{display:none}.counter-note{margin-top:6px;font-size:9px}.counter-note>span:first-child{font-size:9px}
.usagi-zone{min-height:72px;flex:0 0 auto;padding:3px 12px 3px 5px;background:#f7e9c8eb;border-top-width:1px}.usagi-art{width:66px;height:69px}.usagi-info b{font-size:13px}.usagi-info span{font-size:10px}.usagi-info small{font-size:9px;white-space:normal;line-height:1.35}.usagi-zone>button{min-height:57px;width:80px;margin-left:8px;background:#fff1d3}.usagi-zone>button b{font-size:11px}.usagi-zone>button small{font-size:9px}.usagi-zone>button .icon{font-size:16px}.message-bar{flex:0 0 auto;min-height:30px;padding:5px 10px;font-size:11px;line-height:1.4;background:#fff7e7ee}.bottom-nav{flex:0 0 auto;min-height:44px;height:44px;background:#fff7e7ee;padding:0 8px;gap:30px}.bottom-nav button{font-size:12px;min-height:44px}.bottom-nav .icon{font-size:20px}.game-footer{display:none}
.result-view{display:flex;align-items:center;justify-content:center}.result-view:before{background:#fff4d5b8}.result-sheet{width:min(430px,92%);padding:20px 22px;background:#fff8e7ec;border:2px solid #bb9667;border-radius:24px;box-shadow:0 6px 0 #93734d33;max-height:calc(100% - 24px);text-align:center}.result-sheet h2{font-size:27px;margin:5px 0 6px}.result-sheet .modal-crew{height:clamp(80px,15svh,140px)}.result-sheet .modal-crew .character{width:30%;height:100%}.result-sheet .stars{margin:5px 0}.result-sheet .stars .icon{font-size:30px}.result-sheet .result-amount{margin:5px 0 10px}.result-sheet .result-grid{margin-bottom:10px}.result-sheet p{font-size:12px;line-height:1.7;margin:10px 0 14px}.result-sheet .result-save{font-size:9px;margin-top:10px}.modal-crew .character{width:100px;height:100%}.modal-content .primary-button .icon{font-size:22px}.modal-content h2{font-size:23px}.result-sheet .primary-button{font-size:15px}.title-view .primary-button{box-shadow:0 4px #763e2c}
@media(max-height:740px) and (max-width:699px){.topbar{height:48px;padding-top:3px;padding-bottom:1px}.day-progress{height:24px}.awning{top:6px}.sign{height:43px}.sign h1{font-size:22px}.customer-line{height:calc(100% - 52px);min-height:65px}.customer .character{height:75px}.crew-row{height:38px}.crew>div:not(.crew-caption){width:65px;height:66px}.crew-caption b{font-size:11px}.crew-caption span{font-size:9px}.mold{height:51px}.mold-art{height:32px}.mold .fish{height:30px;width:60px}.mold .mold-label{font-size:10px}.molds.six .mold-art{height:29px}.molds.six .mold .fish{width:54px;height:27px}.molds.six .mold-label{font-size:9px}.counter{padding:5px 10px}.worktop-label{font-size:10px;margin-bottom:3px}.grill-bottom{height:8px}.counter-note{font-size:8px;margin-top:5px}.usagi-zone{min-height:62px;padding-top:1px;padding-bottom:1px}.usagi-art{height:60px;width:58px}.usagi-zone>button{min-height:52px}.message-bar{min-height:24px;font-size:10px;padding:3px 10px}.result-sheet{padding:12px 17px}.result-sheet .modal-crew{height:90px}.result-sheet h2{font-size:23px}.result-sheet p{margin:8px 0}.result-sheet .result-amount{font-size:29px}.title-actions{bottom:3%}.title-actions .primary-button{min-height:48px}}
@media(max-height:620px) and (max-width:699px){.crew-row{display:none}.shopfront{min-height:100px}.worktop-label{display:none}.counter-note{font-size:7px}.mold{height:47px}.mold .mold-label{font-size:9px}.mold-art{height:29px}.mold .fish{width:54px;height:27px}.molds.six .mold-art{height:27px}.molds.six .mold .fish{width:48px;height:24px}.counter{padding-top:5px}.pack-button small{font-size:8px}.pack-button b{font-size:11px}.paper-bag{height:35px;width:35px}.stock-counts{font-size:10px;padding:3px 2px;gap:1px}.stock-title{font-size:9px}.flavor-switch button{font-size:12px}.usagi-info small{font-size:8px}.usagi-info span{font-size:9px}.screen-heading{height:64px;padding-top:7px}.screen-heading h2{font-size:18px}.day-map{gap:8px 36px;padding:5px 24px}.day-node b{font-size:14px}.day-node .fish{height:20px;width:40px}.day-node small{font-size:8px}.day-node .node-stars{font-size:8px}.map-actions{padding-top:8px;padding-bottom:5px}.map-actions p{font-size:10px;margin-bottom:6px}.map-actions .primary-button{min-height:44px}.result-sheet .modal-crew{height:65px}.result-sheet .result-grid>div{padding:7px;font-size:10px}.result-sheet p{font-size:11px}.result-sheet .primary-button,.result-sheet .secondary-button{min-height:44px}.result-sheet .result-save{margin-top:7px;font-size:8px}.result-sheet .stars .icon{font-size:24px;height:24px}}
@media(min-width:700px) and (min-height:500px){.game-shell{display:grid;grid-template-columns:minmax(300px,1fr) minmax(340px,510px);grid-template-rows:58px 29px minmax(0,1fr) 88px 34px 47px;background-position:center 60%}.topbar{grid-column:1/-1;grid-row:1;height:58px;padding:7px 23px}.day-progress{grid-column:1/-1;grid-row:2;height:29px;padding:0 24px 7px}.shopfront{grid-column:1;grid-row:3/5;min-height:0;margin:0 12px;background:transparent}.awning{top:12%;left:15%;right:15%}.sign{height:70px}.sign h1{font-size:34px}.sign-small{font-size:18px}.sign-fish{width:64px}.sign-fish .fish{width:64px;height:32px}.open-sign{font-size:13px}.customer-line{height:45%;max-height:300px;bottom:2%;left:15px;right:15px;gap:18px}.customer{max-width:180px}.customer .character{height:clamp(140px,25vh,220px);width:100%}.order-bubble{font-size:16px;min-height:43px;gap:8px}.patience{height:7px}.kitchen{grid-column:2;grid-row:3;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;background:transparent;border:0;margin:20px 22px 0 0}.crew-row{height:90px;background:transparent}.crew>div:not(.crew-caption){height:130px;width:105px}.crew-caption{background:#fff7e4df;border-radius:8px;padding:6px;align-self:flex-start}.crew-caption b{font-size:14px}.crew-caption span{font-size:10px}.counter{border:3px solid #967048;border-radius:15px 15px 0 0;padding:12px 15px;background:#e8c99df5}.stations,.worktop-label{grid-template-columns:minmax(0,1fr) 118px}.mold{height:clamp(58px,9vh,85px)}.mold-art{height:43px}.mold .fish{width:86px;height:43px}.mold .mold-label{font-size:12px}.molds.six .mold-art{height:36px}.molds.six .mold .fish{width:65px;height:32.5px}.molds.six .mold-label{font-size:10px}.worktop-label{font-size:13px}.flavor-switch button{font-size:15px}.usagi-zone{grid-column:2;grid-row:4;height:88px;margin-right:22px;border:2px solid #967048;border-top:0;border-radius:0 0 14px 14px;padding:4px 12px;gap:7px}.usagi-art{height:80px;width:71px}.message-bar{grid-column:1/-1;grid-row:5;min-height:34px;margin-top:0;background:#fff8e5e3;font-size:13px}.bottom-nav{grid-column:1/-1;grid-row:6;height:47px;background:#fff8e5e3}.bottom-nav button{font-size:13px}.title-view{background-size:cover;background-position:center 55%}.title-actions{bottom:4%;max-width:380px}.map-view .screen-heading{max-width:600px;width:100%;margin:0 auto}.day-map{max-height:650px}.result-sheet{padding:22px 28px}.result-sheet .modal-crew{height:150px}}
@media(min-width:700px) and (max-height:499px){.game-shell{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.2fr) minmax(160px,.65fr);grid-template-rows:44px 23px minmax(0,1fr) 28px 44px}.topbar{grid-column:1/-1;grid-row:1;height:44px;padding:0 12px}.day-progress{grid-column:1/-1;grid-row:2;height:23px;padding-bottom:4px}.shopfront{grid-column:1;grid-row:3;min-height:0}.awning{top:4px;left:10%;right:10%}.sign{height:37px}.sign h1{font-size:20px}.sign-small,.sign-fish{display:none}.customer-line{left:6px;right:6px;height:100px;gap:3px}.customer .character{height:75px}.order-bubble{font-size:9px;min-height:29px}.kitchen{grid-column:2;grid-row:3;background:none;border:0;align-self:end}.crew-row,.worktop-label,.counter-note{display:none}.counter{border:2px solid #a77b53;border-radius:10px;padding:5px 7px}.stations{grid-template-columns:minmax(0,1fr) 91px;gap:6px}.flavor-switch{gap:4px;margin-bottom:4px}.flavor-switch button{min-height:36px;font-size:11px}.mold{height:47px}.molds{gap:4px}.grill-frame{padding:4px 4px 0}.grill-bottom{height:7px}.mold-art{height:28px}.mold .fish{width:54px;height:27px}.mold .mold-label{font-size:9px}.molds.six .mold .fish{width:48px;height:24px}.molds.six .mold-art{height:26px}.molds.six .mold-label{font-size:8px}.pack-station{padding:4px}.stock-title{font-size:8px}.stock-counts{font-size:10px;padding:2px}.paper-bag{width:30px;height:30px}.pack-button{min-height:60px;padding-bottom:5px}.pack-button b{font-size:11px}.pack-button small{font-size:8px}.usagi-zone{grid-column:3;grid-row:3;min-height:0;flex-direction:column;justify-content:flex-end;gap:4px;border:0;border-radius:10px;margin:0 8px 0 7px;padding:8px;background:#fff0cddb}.usagi-art{height:70px;width:70px}.usagi-info{flex:0;width:100%}.usagi-info span{font-size:8px}.usagi-info small{font-size:8px}.usagi-zone>button{min-height:44px;margin:0;width:100%;flex-direction:row;gap:3px}.usagi-zone>button small{font-size:8px}.message-bar{grid-column:1/-1;grid-row:4;min-height:28px;font-size:10px;padding:3px}.bottom-nav{grid-column:1/-1;grid-row:5;height:44px}.title-actions{left:6%;right:auto;bottom:5%;width:34%}.title-actions .primary-button{min-height:44px;font-size:16px}.title-actions .title-help{font-size:10px;min-height:30px}.title-actions small{display:none}.screen-heading{height:50px;max-width:900px;margin:0 auto;width:100%;padding:3px 18px}.day-map{width:min(740px,94%);max-height:none;grid-template-columns:repeat(4,1fr);grid-template-rows:1fr 1fr;gap:7px 16px;padding:4px 20px}.day-node:nth-child(even){transform:none}.day-node b{font-size:13px}.day-node .fish{width:40px;height:20px}.day-node small{font-size:9px}.map-actions{width:100%;max-width:700px;padding:6px 20px;display:flex;align-items:center;gap:15px;margin:0 auto}.map-actions p{margin:0;white-space:nowrap}.map-actions .primary-button{width:220px;font-size:13px;min-height:44px}.map-actions .title-help{white-space:nowrap}.result-sheet{width:min(720px,94%);display:grid;grid-template-columns:1fr 1fr;gap:2px 24px;padding:12px 20px}.result-sheet .modal-eyebrow{grid-column:1;grid-row:1;margin:0}.result-sheet h2{grid-column:1;grid-row:2;font-size:22px;margin:0}.result-sheet .modal-crew{grid-column:1;grid-row:3/6;height:110px}.result-sheet .stars{grid-column:1;grid-row:6}.result-sheet .result-amount{grid-column:2;grid-row:1/3;font-size:30px;margin:0}.result-sheet .result-grid{grid-column:2;grid-row:3/5;margin:0}.result-sheet p{grid-column:2;grid-row:5/7;font-size:11px;margin:4px 0}.result-sheet>.primary-button{grid-column:1;grid-row:7;min-height:44px}.result-sheet>.secondary-button{grid-column:2;grid-row:7;margin:0;min-height:44px}.result-sheet .result-save{grid-column:1/-1;grid-row:8;font-size:8px;margin:6px 0 0}}

/* One illustrated title with real accessible controls in the quiet foreground. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.title-view{background:#f4edda;display:grid;place-items:center}
.title-view:before{content:'';position:absolute;inset:-30px;background:url('assets/title-v7.png') center/cover;filter:blur(24px);opacity:.32;z-index:-1}
.title-illustration{display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none;user-select:none}
.title-actions{left:8%;right:8%;bottom:max(4%,env(safe-area-inset-bottom));width:auto;max-width:340px;z-index:1}
.title-actions .primary-button{border:2px solid #763e2c;box-shadow:0 5px 0 #763e2c;font-size:19px}
.title-actions .title-help{min-height:44px;font-size:12px}
.title-actions small{display:block}
.game-shell[data-rush=true] .day-chip{color:#ad402e;background:#ffe0a1}
.game-shell[data-rush=true] #open-sign{background:#ae422e;color:#fff5dd}
@media(min-aspect-ratio:4/3){
 .title-illustration{position:absolute;inset:0;width:64%;height:100%;object-position:right center}
 .title-actions{left:66%;right:5%;bottom:24%;max-width:340px;margin:0}
 .title-actions .primary-button{font-size:clamp(15px,2vw,20px)}
}
@media(max-height:620px) and (max-aspect-ratio:4/3){
 .title-illustration{height:100%;width:100%;object-position:center top}
 .title-actions{bottom:max(3%,env(safe-area-inset-bottom))}
 .title-actions .primary-button{min-height:48px;font-size:17px}
 .title-actions small{font-size:8px}
}
