@font-face{font-family:ShopJua;src:url('assets/fonts/Jua-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:ShopGowun;src:url('assets/fonts/GowunDodum-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f5eddf;color:#5a463b;font-family:ShopGowun,'Apple SD Gothic Neo',system-ui,sans-serif;font-weight:400}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;touch-action:manipulation}button:focus-visible{outline:3px solid #729fa4;outline-offset:4px}button:disabled{cursor:default;opacity:.46}button:not(:disabled):active{transform:translateY(2px)}.loading{text-align:center;margin-top:40vh}.shell{max-width:1440px;margin:auto;padding:18px 24px}.top{display:flex;align-items:center;gap:15px;margin-bottom:14px}.brand{margin-right:auto}.brand small{font-size:10px;letter-spacing:2.5px;color:#967866}.brand h1{font-size:24px;line-height:1.3;letter-spacing:-1px;margin:3px 0}.brand h1 span{color:#c17d84}.hud{background:#fff9ef;border:1px solid #dfcdbd;border-radius:17px;padding:10px 18px;text-align:center;box-shadow:0 3px 0 #e7d9c9;min-width:78px}.hud small{display:block;color:#98806e;font-size:11px}.hud strong{font-size:20px}.iconbtn,.softbtn{background:#fff9ef;border:1px solid #ddcbbd;border-radius:13px;min-height:44px;padding:10px 14px}.primary{background:#a7c4af;border:2px solid #83a58d;border-radius:16px;box-shadow:0 4px 0 #769481;color:#304f3b;padding:13px 23px;font-size:18px;font-weight:850;min-height:50px}.primary.pink{background:#e8bcc0;border-color:#c99399;box-shadow:0 4px 0 #b6878b;color:#6f444c}.small{font-size:13px;padding:8px 12px;min-height:38px}.muted{color:#9b8576}.intro{display:grid;grid-template-columns:1.12fr .88fr;border:8px solid #fffcf5;border-radius:30px;overflow:hidden;box-shadow:0 12px 35px #7754411c;min-height:680px}.intro-visual{background:none center/cover;position:relative;min-height:650px}.intro-title{position:absolute;top:8%;left:8%;right:8%;text-align:center;padding:23px;background:#fff8e9e8;border:2px solid #d5b6a0;border-radius:24px;box-shadow:0 6px 0 #ab806e22}.intro-title .eyebrow{font-size:12px;letter-spacing:2px;color:#b58a72}.intro-title h2{font-size:36px;letter-spacing:-2px;margin:8px 0;color:#806147}.intro-title h2 span{color:#c68790}.intro-customer{position:absolute;width:330px;height:330px;bottom:15%;left:50%;transform:translateX(-50%);animation:idle 3.2s ease-in-out infinite}.intro-copy{padding:48px 35px;background:#fff9f0;display:flex;flex-direction:column;justify-content:center}.intro-copy h2{font-size:26px;letter-spacing:-1px;margin:8px 0 10px}.intro-copy p{line-height:1.7;margin:10px 0;font-size:15px}.intro-copy .primary{margin-top:24px;width:100%}.tiny-note{font-size:12px!important;color:#9c8576}.menu-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px -5px 0;text-align:center}.menu-preview div{font-size:11px}.item{display:block;background-image:url('assets/items.png');background-repeat:no-repeat;background-size:400% 300%;width:80px;height:80px;flex-shrink:0}.customer{display:block;background-image:url('assets/customers.png');background-repeat:no-repeat;background-size:400% 300%;width:280px;height:280px}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.room{position:relative;border:7px solid #fffaf1;border-radius:25px;min-height:580px;height:calc(100vh - 130px);max-height:740px;background:none center/cover;overflow:hidden;box-shadow:0 6px 24px #88634820}.wall .room{box-shadow:inset 0 0 100px #e4a1b057,0 6px 24px #88634820}.plant .room::before{content:'✦';position:absolute;left:6%;top:15%;color:#fff4c5;font-size:130px;opacity:.6;pointer-events:none;animation:shine 5s infinite}.sign{position:absolute;left:22px;top:20px;background:#fff6e8f5;border:1px solid #c9a995;border-radius:10px;padding:9px 18px;font-size:12px;letter-spacing:1px;box-shadow:0 3px 0 #a07c6530}.sign span{color:#a56d79}.customer-spot{position:absolute;left:50%;bottom:24%;transform:translateX(-50%);width:300px;height:300px}.customer-spot .customer{width:100%;height:100%;animation:idle 4s ease-in-out infinite}.mood{position:absolute;top:0;right:-18px;font-size:30px;filter:drop-shadow(0 2px 2px #5552)}.held-can{position:absolute;bottom:8%;right:-55px;background:#fff9eccf;border-radius:16px;padding:4px;border:1px solid #dfc8b6}.held-can .item{width:70px;height:70px}.held-can small{display:block;text-align:center;font-size:10px}.speech{position:absolute;top:18%;right:7%;left:38%;min-height:100px;padding:21px 22px;background:#fffcf3;border:2px solid #ddc5ae;border-radius:23px 23px 23px 5px;box-shadow:0 5px 0 #8f6d4720;z-index:2}.speech p{font-size:22px;line-height:1.55;margin:0;word-break:keep-all}.speech-footer{display:flex;gap:8px;align-items:center;margin-top:12px}.speech-footer button{padding:6px 10px;font-size:11px;background:#f2e7d7;border-radius:10px}.stage{font-size:10px;color:#a58c7b;margin-left:auto}.counter-actions{position:absolute;bottom:5%;left:10%;right:10%;display:flex;justify-content:center;gap:12px}.counter-actions .primary{min-width:170px}.side{display:flex;flex-direction:column;gap:12px}.paper{background:#fffaf0;border:1px solid #ddcbb8;border-radius:19px;padding:18px;box-shadow:0 4px 0 #e6d8c7}.paper h3{font-size:15px;letter-spacing:-.3px;margin:0 0 12px}.paper p{font-size:13px;line-height:1.65;margin:8px 0}.ticket{position:relative;border-radius:3px 3px 15px 15px;border-top:5px solid #d5b59d}.ticket .ticket-top{font-size:10px;letter-spacing:2px;color:#a18b79;margin-bottom:15px}.ticket blockquote{margin:0;font-size:18px;line-height:1.6;word-break:keep-all}.ticket .tag{display:inline-block;background:#eee4d6;padding:6px 9px;border-radius:8px;margin:12px 0 3px;font-size:11px}.money-line{display:flex;justify-content:space-between;border-bottom:1px dashed #d9c5b3;padding:8px 0;font-size:13px}.money-line:last-child{border:0}.menu-mini{display:grid;grid-template-columns:1fr 1fr;gap:8px}.menu-mini button{background:#f5eadc;border-radius:12px;padding:7px 4px;font-size:11px}.menu-mini .item{width:60px;height:60px;margin:auto}.hint-note{font-size:11px!important;line-height:1.55!important;color:#9a7d6a}.progressbar{height:6px;background:#e4d6c5;border-radius:4px;overflow:hidden;margin-top:6px}.progressbar i{display:block;height:100%;background:#9fc4b0;transition:width .5s}.benchroom{background:#eddec9;border:7px solid #fffaf1;border-radius:25px;overflow:hidden;box-shadow:0 6px 24px #88634820;min-height:650px}.bench-header{display:flex;align-items:center;gap:10px;padding:12px 18px;background:#fff8ecee;border-bottom:1px solid #d7bea4}.bench-header h2{font-size:18px;margin:0 auto 0 0}.bench-header .customer{width:48px;height:48px}.station{position:relative;height:280px;background:linear-gradient(#f4e3cacc,#e6ceb4e0),none center 80%/cover;display:flex;align-items:center;justify-content:center;gap:18px;border-bottom:7px solid #c1a286}.drop-zone{width:260px;height:235px;background:#fff6e79e;border:2px dashed #cbaa8f;border-radius:40% 40% 24% 24%;display:flex;align-items:center;justify-content:center;position:relative;transition:.2s}.drop-zone.dragover{background:#dce9d0;border-color:#85a58f}.drop-zone .item{width:210px;height:210px;transition:transform .35s}.drop-zone.filling .item{animation:fill .8s ease-in-out}.drop-zone .floating{animation:float 3s infinite}.work-label{position:absolute;bottom:5px;left:5px;right:5px;text-align:center;font-size:11px;background:#fffbefc9;border-radius:10px;padding:7px}.work-parts{display:flex;flex-direction:column;gap:8px}.work-parts span{background:#fff8e9;padding:7px 10px;border-radius:10px;font-size:11px;max-width:130px}.instruction{font-size:14px;color:#97745a;text-align:center;line-height:1.6;max-width:190px}.connected-gas{position:absolute;left:20px;top:18px;padding:10px 14px;border:2px solid #ae8a6c;background:#fff9e8;border-radius:12px;font-size:13px}.tools{padding:15px 18px;background:#fff7ec}.tools-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9a7d65;margin-bottom:8px}.tray{display:flex;gap:8px;overflow-x:auto;padding-bottom:7px}.tool{min-width:89px;background:#f4e7d5;border:1px solid #dfc5ac;border-radius:14px;padding:5px 5px 8px;text-align:center;font-size:11px;flex:1}.tool .item{width:65px;height:65px;margin:auto}.tool small{display:block;font-size:10px;margin-top:3px;color:#aa8466}.tool:not(:disabled):hover{background:#e8eee0}.gas-tray{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gas-tool{position:relative;border:2px solid var(--gas);border-radius:13px;background:#fff9ef;display:flex;align-items:center;justify-content:center;gap:3px;padding:5px;font-size:12px;min-height:70px}.gas-tool .item{width:50px;height:50px}.gas-tool.active{box-shadow:0 0 0 3px #7e9b84;background:#edf4e7}.gas-tool small{display:block;font-size:9px;color:#9d8270}.work-actions{display:flex;gap:8px;padding:12px 18px;background:#e9d5be;flex-wrap:wrap}.work-actions button{flex:1;font-size:13px;white-space:nowrap}.status{padding:0 18px 10px;background:#e9d5be;color:#8a6955;font-size:11px;text-align:center}.result-room .speech{left:25%;right:25%;text-align:center}.result-receipt{background:#fff9ef;border-radius:14px;padding:10px 16px;border:1px solid #ccb29c}.result-receipt strong{display:block;font-size:21px}.result-item{position:absolute;bottom:19%;left:22%;background:#fff7e8b3;border-radius:50%}.result-item .item{width:110px;height:110px}.modal-backdrop{position:fixed;inset:0;background:#503d3566;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.modal{width:min(540px,100%);max-height:92vh;overflow:auto;background:#fff9ee;border:5px solid #eed9c7;border-radius:26px;padding:25px;box-shadow:0 20px 80px #462e3444}.modal h2{font-size:22px;margin:0 0 15px}.modal p{line-height:1.8;font-size:16px;word-break:keep-all}.modal .primary{margin-top:15px;width:100%}.modal .customer{width:110px;height:110px;margin:auto}.modal .instruction-sentence{font-size:20px;text-align:center;margin:15px 0}.modal .moodtext{text-align:center;font-size:12px;color:#a08b7a}.learn-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.learn-card{background:#f4e8d8;border-radius:15px;padding:10px;text-align:center}.learn-card .item{margin:auto;width:100px;height:100px}.learn-card b{display:block;margin-bottom:5px}.learn-card p{font-size:12px!important;line-height:1.6!important;margin:0}.summary{max-width:1000px;margin:25px auto;display:grid;grid-template-columns:1fr 1fr;gap:20px}.summary .paper{padding:28px}.summary h2{font-size:25px;margin:0 0 8px}.summary .customer{width:180px;height:180px;margin:0 auto}.summary .total{font-size:22px;color:#739581;padding:15px 0}.upgrades{display:grid;grid-template-columns:1fr 1fr;gap:10px}.upgrade{border:1px solid #d8c2ad;background:#f6eadb;border-radius:14px;padding:12px;text-align:center;font-size:12px}.upgrade .item{width:75px;height:75px;margin:auto}.upgrade small{display:block;font-size:10px;line-height:1.6;min-height:30px;margin:5px 0}.upgrade b{display:block}.daily-note{background:#ecefe0;padding:12px 15px;border-radius:12px;margin:15px 0;font-size:12px;line-height:1.6}.pause-overlay{position:absolute;inset:0;background:#fff4e8ab;display:flex;align-items:center;justify-content:center;z-index:15;backdrop-filter:blur(3px)}.pause-overlay .paper{text-align:center}.mini-links{display:flex;gap:6px;flex-wrap:wrap}.mini-links button{font-size:11px}.lost{opacity:.55;filter:grayscale(.2)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:200;background:#6d5848;color:#fff8ed;padding:13px 20px;border-radius:15px;box-shadow:0 4px 20px #422a3133;opacity:0;pointer-events:none;transition:.2s;font-size:14px;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.charge-pop{color:#b47e83;position:absolute;top:25%;right:22%;font-size:25px;animation:charge 1s forwards;z-index:10}@keyframes idle{50%{transform:translateY(-5px)}}@keyframes float{50%{transform:translateY(-15px) rotate(3deg)}}@keyframes fill{50%{transform:scale(1.13)}}@keyframes shine{50%{opacity:.1}}@keyframes charge{to{transform:translateY(-45px);opacity:0}}@media(min-width:1500px){.shell{padding-top:25px}.room{height:740px}}@media(max-width:1100px){.shell{padding:12px}.game-grid{grid-template-columns:minmax(0,1fr) 255px}.brand h1{font-size:21px}.hud{padding:9px 12px}.room{min-height:560px}.side .paper{padding:13px}.speech{left:27%;right:5%;top:16%}.speech p{font-size:19px}.customer-spot{width:270px;height:270px}.intro-copy{padding:30px 22px}.intro-title h2{font-size:30px}.tool{min-width:78px}.tools{padding:12px}.work-actions{padding:12px}.gas-tool .item{width:40px;height:40px}.gas-tool{font-size:11px}.station{height:245px}.benchroom{min-height:610px}.drop-zone{height:210px;width:230px}.drop-zone .item{width:180px;height:180px}}@media(max-width:780px){.top{gap:7px;flex-wrap:wrap}.brand{width:100%;display:flex;align-items:center;justify-content:space-between}.brand h1{font-size:20px}.brand small{font-size:9px}.hud{flex:1;padding:6px 12px}.hud strong{font-size:16px}.iconbtn{min-height:40px;padding:9px}.game-grid{grid-template-columns:1fr}.room{height:580px;min-height:0}.side{display:grid;grid-template-columns:1fr 1fr}.side .ticket{grid-column:1/-1}.ticket blockquote{font-size:16px}.side>.paper:nth-child(3){display:none}.speech{left:20%;right:5%;top:15%}.speech p{font-size:20px}.customer-spot{width:280px;height:280px;bottom:23%}.intro{grid-template-columns:1fr;min-height:0}.intro-visual{min-height:440px}.intro-customer{width:230px;height:230px;bottom:12%}.intro-title{padding:15px}.intro-title h2{font-size:28px}.intro-copy{padding:25px}.intro-copy .primary{margin-top:15px}.summary{grid-template-columns:1fr;margin:15px auto}.station{height:240px;gap:8px}.drop-zone{width:200px;height:200px}.drop-zone .item{width:160px;height:160px}.work-parts span{font-size:10px;max-width:95px}.tools{padding:12px 8px}.gas-tool{gap:0;font-size:11px;flex-direction:column}.gas-tool .item{width:42px;height:42px}.work-actions{padding:10px;gap:5px}.work-actions button{padding:9px;font-size:11px;min-height:42px}.counter-actions{left:5%;right:5%}.counter-actions .primary{min-width:0;font-size:16px}.result-room .speech{left:10%;right:10%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-height:800px) and (min-width:781px){.benchroom{min-height:0}.station{height:190px}.drop-zone{width:190px;height:180px}.drop-zone .item{width:150px;height:150px}.tools{padding:9px 12px}.tool .item{width:50px;height:50px}.tool{min-width:70px}.gas-tool{min-height:58px}.gas-tool .item{width:42px;height:42px}.work-actions{padding:10px 12px}.work-parts .item{width:55px;height:55px}.work-actions button{min-height:40px}.bench-header{padding:8px 14px}.bench-header .customer{width:42px;height:42px}.intro{min-height:580px}.intro-visual{min-height:560px}.intro-copy{padding:30px}.intro-title h2{font-size:30px}.intro-customer{width:290px;height:290px}}
.upgrade-art{display:block;width:75px;height:75px;margin:auto;background:none no-repeat;background-size:200% 200%}.bench-order{display:none}@media(max-width:780px){.bench-order{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff9ef;border-bottom:1px solid #d7c3ad;font-size:12px;line-height:1.6}.bench-order span{flex:1}.bench-order button{flex-shrink:0;font-size:10px;padding:6px;min-height:34px}.bench-header h2{font-size:14px;white-space:nowrap}.bench-header{gap:5px;padding:10px}.top{gap:5px}.hud{min-width:60px;padding:6px}.hud strong{font-size:14px}.hud small{font-size:9px}.iconbtn{min-width:36px;min-height:38px;padding:8px;font-size:12px}}

/* Original painted art is rendered with individual bounds and transparent padding. */
.item,.customer,.upgrade-art{background-image:none;clip-path:none}.item>svg,.customer>svg,.upgrade-art>svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.intro-customer{animation:intro-idle 3.2s ease-in-out infinite}@keyframes intro-idle{50%{transform:translate(-50%,-5px)}}

/* Four tanks sit next to the work surface and dispense on one press. */
.station{height:310px;padding:16px 18px;gap:22px;justify-content:flex-start}.gas-rack{width:150px;flex-shrink:0;display:flex;flex-direction:column;gap:6px;position:relative;z-index:2}.rack-title{text-align:center;font-size:11px;color:#92735d;margin-bottom:2px}.gas-rack .gas-tool{width:100%;min-height:59px;padding:4px 7px;display:grid;grid-template-columns:42px 1fr;gap:2px;text-align:left;box-shadow:0 3px 0 #c3a68730}.gas-rack .gas-tool .item{width:42px;height:42px}.gas-rack .gas-tool b{font-size:12px;white-space:nowrap}.gas-rack .gas-tool small{font-size:10px;margin-top:3px}.station .drop-zone{width:230px;height:230px;flex-shrink:0;margin:auto}.station .drop-zone .item{width:195px;height:195px}.work-parts{position:absolute;right:12px;top:15px;gap:5px;max-width:140px}.work-parts span{font-size:10px;padding:5px 8px}.reset-work{padding:10px 18px;background:#f3e4d2;margin:0;gap:8px;flex-wrap:wrap}.reset-work>span:last-child{margin-left:auto}.tools .hint-note{margin:7px 0 0}.charging-hose{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;overflow:visible}.charging-hose path{fill:none;stroke-linecap:round;stroke-linejoin:round}.hose-outline{stroke:#897561;stroke-width:12;stroke-dasharray:1;animation:hose-reach .28s ease-out both}.hose-inner{stroke:#e7cdb1;stroke-width:7;stroke-dasharray:1;animation:hose-reach .28s ease-out both}.hose-flow{stroke:#fff7e9;stroke-width:3;stroke-dasharray:.035 .07;animation:hose-flow .48s linear infinite;opacity:.85}.charging .drop-zone{background:#fef5db;border-color:#b79577;box-shadow:0 0 22px #f9da9b77}.charge-pop.returned{color:#5e937a}.benchroom{min-height:0}@keyframes hose-reach{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes hose-flow{to{stroke-dashoffset:-.105}}
@media(max-width:1100px){.station{gap:12px;padding:12px;height:310px}.gas-rack{width:136px}.station .drop-zone{width:200px;height:210px}.station .drop-zone .item{width:170px;height:170px}.work-parts{top:auto;bottom:7px;left:160px;right:7px;max-width:none;flex-direction:row;flex-wrap:wrap}.work-parts span{font-size:9px;padding:4px 6px}}
@media(max-width:780px){.station{height:330px;padding:10px;gap:8px}.gas-rack{width:115px}.gas-rack .gas-tool{min-height:62px;padding:4px;grid-template-columns:35px 1fr}.gas-rack .gas-tool .item{width:35px;height:40px}.gas-rack .gas-tool b{font-size:10px}.gas-rack .gas-tool small{font-size:9px}.station .drop-zone{width:calc(100% - 123px);max-width:225px;height:205px;min-width:0}.station .drop-zone .item{width:100%;height:170px}.work-parts{left:132px;bottom:8px}.reset-work{padding:10px;font-size:10px}.tools-label{font-size:10px}.charging-hose path{stroke-width:10}.charging-hose .hose-inner{stroke-width:6}.charging-hose .hose-flow{stroke-width:2}}
@media(prefers-reduced-motion:reduce){.charging-hose animateMotion{display:none}.hose-outline,.hose-inner{stroke-dashoffset:0}}

.finish-progress{position:absolute;bottom:38px;left:7%;right:7%;z-index:6;background:#fffaf2f5;border:1px solid #d7bea3;border-radius:14px;padding:11px 12px;box-shadow:0 4px 14px #72543b22;text-align:left;pointer-events:none}.finish-caption{display:flex;justify-content:space-between;gap:5px;font-size:12px;margin-bottom:7px;color:#785b47}.finish-caption span{font-variant-numeric:tabular-nums;color:#7d9f83}.finish-bar{height:11px;background:#e9ddcb;border-radius:20px;overflow:hidden;box-shadow:inset 0 1px 3px #7d63451c}.finish-bar i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#b8d4af,#88b6a0);transition:width 65ms linear}.finish-progress small{display:block;font-size:10px;text-align:center;margin-top:7px;color:#9a7b62}.drop-zone:has(.finish-progress){border-color:#9eb898}.drop-zone:has(.finish-progress)>.item{opacity:.65}.charging .gas-tool.active:disabled{opacity:1}@media(max-width:780px){.finish-progress{left:3%;right:3%;bottom:36px;padding:9px}.finish-caption{font-size:11px}.finish-progress small{font-size:9px}}

/* Titles and controls: Jua. Dialogue, instructions, and body text: Gowun Dodum. */
h1,h2,h3,button,.primary,.sign,.rack-title,.menu-preview b,.learn-card b{font-family:ShopJua,'Apple SD Gothic Neo',system-ui,sans-serif;font-weight:400}
button b,button strong{font-family:inherit;font-weight:inherit}
.speech p,.ticket blockquote,.modal p,.instruction,.status,.hint-note,.intro-copy p,.daily-note{font-family:ShopGowun,'Apple SD Gothic Neo',system-ui,sans-serif;font-weight:400}

.practice-badge{background:#e3eddf;color:#53715c;padding:10px 15px;border-radius:13px;font-size:13px}.tutorial-banner{position:sticky;top:8px;z-index:30;display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:14px;padding:14px 18px;background:#fff4d8;border:2px solid #ddc087;border-radius:18px;box-shadow:0 4px 0 #dfcaa34d}.tutorial-banner small{font-size:11px;color:#987943}.tutorial-banner p{font-size:19px;line-height:1.5;margin:4px 0 0;font-family:ShopGowun,sans-serif}.tutorial-banner button{flex-shrink:0}.tutorial-target{outline:4px solid #bb8c47!important;outline-offset:4px;box-shadow:0 0 0 9px #ffe4a266!important;animation:tutorial-glow 1.5s ease-in-out infinite}.tutorial-lessons{display:grid;gap:12px}.tutorial-lessons>div{display:flex;align-items:center;gap:10px;font-size:14px;padding:8px}.tutorial-lessons span{font-family:ShopJua,sans-serif;color:#879b7e}.tutorial-lessons .current{background:#e6eddd;border-radius:12px}.tutorial-success{max-width:620px;margin:20px auto;text-align:center;padding:25px}.tutorial-success>.customer{width:170px;height:170px;margin:auto}.tutorial-product .item{width:125px;height:125px;margin:auto}.tutorial-success p{font-size:20px;line-height:1.6;margin:18px 0}.tutorial-success .primary{margin:12px 0}.tutorial-top .brand{min-width:0}@keyframes tutorial-glow{50%{outline-color:#e2b86f;box-shadow:0 0 0 12px #ffe4a244}}@media(max-width:780px){.tutorial-banner{padding:11px;gap:7px;top:4px}.tutorial-banner p{font-size:16px}.tutorial-banner button{font-size:10px;padding:7px}.tutorial-top .brand{width:100%}.practice-badge{font-size:11px}.tutorial-side{display:block}.tutorial-side .paper+ .paper{margin-top:12px}.tutorial-success p{font-size:18px}}
body:has(.tutorial-banner) .reset-work,body:has(.tutorial-banner) .tools-label,body:has(.tutorial-banner) .tools>.hint-note{display:none}
/* Larger, illustrated workbench and short, focused practice prompts. */
body{font-size:18px}.brand h1{font-size:28px}.brand small{font-size:12px}.hud small{font-size:14px}.hud strong{font-size:24px}.softbtn,.iconbtn{font-size:18px}.small{font-size:17px}.primary{font-size:22px}.intro-copy p,.paper p{font-size:18px}.intro-copy h2{font-size:30px}.paper h3,.bench-header h2{font-size:22px}.hint-note{font-size:15px!important}.stage{font-size:14px}.money-line{font-size:17px}.ticket blockquote{font-size:22px}.menu-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.menu-preview div{font-size:16px}.menu-preview .item{width:100%;height:95px}.intro-copy{padding:30px}.speech{padding:22px 22px 22px 78px}.speech p{font-size:25px}.speech .mood{position:absolute;left:17px;top:23px;right:auto;width:44px;height:44px;font-size:32px;line-height:44px;text-align:center;filter:none;animation:none}.question-speech{position:relative;inset:auto;margin:12px 0 22px}.modal>.customer{margin:auto;width:130px;height:130px}.result-room .speech{padding-left:78px}.result-fact{font-size:19px!important;margin-top:10px!important}.held-can small{font-size:14px}
.work-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;align-items:start}.benchroom{min-height:0;padding-bottom:15px;overflow:visible}.bench-header{border-radius:17px 17px 0 0}.work-order.speech{position:relative;inset:auto;margin:15px 18px 0;min-height:100px;padding:17px 20px 15px 77px}.work-order .mood{top:17px}.customer-context{display:block;margin-top:8px;font-size:16px;color:#8c7460}.station{height:auto;min-height:400px;padding:10px 18px 0;display:flex;flex-direction:column;gap:0;position:relative;align-items:center;justify-content:center;overflow:visible}.station .drop-zone{width:100%;max-width:350px;height:225px;min-height:0;position:relative;flex-shrink:0;border:0;background:radial-gradient(ellipse at 50% 85%,#b79d7929 0,transparent 63%);box-shadow:none;display:grid;place-items:center}.station .drop-zone>.item,.station .drop-zone>.empty-work{width:260px;height:225px;max-width:100%}.empty-work{opacity:.23}.empty-work .item{width:100%;height:100%}.stage-art{background:none!important}.stage-art svg{width:100%;height:100%;display:block}.tank-bank.gas-rack{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.tank-bank .gas-tool{display:flex;flex-direction:column;gap:0;align-items:center;justify-content:end;background:transparent;border:0;padding:0;min-height:0;border-radius:18px;position:relative;box-shadow:none}.tank-art{display:block;position:relative;width:100%;height:185px;background:url('assets/tank.png') center/contain no-repeat;filter:drop-shadow(0 5px 2px #795e4520);transition:filter .2s,transform .2s}.tank-name{position:absolute;top:43%;left:50%;transform:translateX(-50%);width:76px;text-align:center;font-family:ShopJua,sans-serif;font-size:21px;line-height:1.05;color:#574a3c}.tank-name small{display:block;font:15px ShopGowun,sans-serif;margin-top:4px;color:#786d5d}.tank-bank .gas-tool.active .tank-art{filter:drop-shadow(0 0 7px var(--gas));transform:translateY(-4px)}.tank-bank .gas-tool .tank-price{font-size:15px;background:#fffaf0;border-radius:10px;padding:4px 14px;border:1px solid #d8c5ae}.work-actions{padding:14px 16px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.reset-work{position:static;text-align:center;padding:0 16px;display:flex;gap:10px;justify-content:center}.reset-work button{font-size:15px}.material-shelf{padding:16px;position:sticky;top:12px}.material-shelf h3{margin:0 0 12px}.material-shelf h3:not(:first-child){margin-top:22px}.material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.material-grid .tool{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;border:1px solid #e1cdb9;background:#f6ecde;border-radius:14px;width:100%;font-size:18px}.material-grid .tool .item{width:80px;height:78px}.material-grid .tool b{font-size:18px;font-weight:400}.material-grid .tool small{font-size:14px}.material-note{font-size:15px!important}.completion-help{margin:12px 18px;padding:12px;background:#fff5cc;border-radius:12px;font-size:18px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}.finish-progress{bottom:15px;left:8%;right:8%;padding:12px}.finish-caption{font-size:16px}.finish-progress small{font-size:13px}.stage-enter{animation:stage-in .55s ease-out}.stage-ghost{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;animation:stage-out .55s forwards}.stage-ghost .item{width:260px;height:225px}.floating{animation:float-product 2.5s ease-in-out infinite}.menu-unlock{background:#e4eddb;border-radius:16px;padding:15px;margin:16px 0}.menu-unlock>div{display:flex;justify-content:center;gap:20px}.menu-unlock .item{width:110px;height:110px}.menu-unlock b{display:block;text-align:center;font-family:ShopJua,sans-serif}
.tutorial-shade{position:fixed;inset:0;background:#30251ed1;z-index:60;pointer-events:none}.tutorial-target{background-color:#fff8e6!important}.tutorial-coach{position:fixed;z-index:85;width:min(370px,calc(100vw - 24px));padding:18px 22px;background:#fffaf0;border:2px solid #dbb787;border-radius:22px;box-shadow:0 8px 35px #261d1955;pointer-events:none}.tutorial-coach small{font-size:14px;color:#947753}.tutorial-coach p{font-size:22px;line-height:1.55;margin:8px 0 0;word-break:keep-all}.tutorial-shade[hidden],.tutorial-coach[hidden]{display:none}.tutorial-top{position:relative;z-index:76}.tutorial-top .brand{pointer-events:none}.modal-backdrop{z-index:100;background:#30251ed1}.modal{max-height:90vh;overflow:auto}.role-intro{text-align:center}.role-intro small{font-size:15px;color:#967b63}.role-intro h2{font-size:29px;margin:8px 0 15px}.role-intro p{font-size:23px;line-height:1.7;word-break:keep-all;margin:16px 0 24px}.intro-story-art{display:flex;justify-content:center;align-items:center;height:190px;margin:10px 0}.intro-story-art .customer,.intro-story-art .item{width:175px;height:180px}.intro-coins{font-size:58px;letter-spacing:8px}.role-intro .primary{width:100%}.tutorial-lessons>div{font-size:18px}.practice-badge{font-size:16px}
#money-fx{position:fixed;inset:0;pointer-events:none;z-index:200;overflow:hidden}.falling-coin{position:absolute;left:var(--x);top:-50px;font-size:34px;animation:coin-fall 1.35s var(--delay) cubic-bezier(.35,.05,.65,.85) both}.money-amount{position:absolute;left:50%;top:22%;transform:translateX(-50%);padding:10px 22px;background:#fff5d9;border:2px solid #d5ae59;border-radius:20px;font:26px ShopJua,sans-serif;animation:amount-up 1.7s both;color:#7d6328}.money-amount.loss{color:#b47674;background:#fff1ed;border-color:#dab1a5}
@keyframes coin-fall{0%{transform:translateY(-40px) rotate(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateY(95vh) rotate(var(--spin));opacity:0}}@keyframes amount-up{0%{opacity:0;translate:0 15px}18%,70%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -25px}}@keyframes stage-in{from{opacity:0;transform:translateY(-12px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes stage-out{to{opacity:0;transform:scale(1.08) translateY(8px)}}@keyframes float-product{50%{transform:translateY(-7px)}}
@media(max-width:1000px){.shell{padding:14px}.work-layout{grid-template-columns:minmax(0,1fr) 210px;gap:10px}.tank-bank.gas-rack{gap:3px}.tank-art{height:160px}.tank-name{font-size:18px;width:65px}.tank-name small{font-size:13px}.material-shelf{padding:12px}.material-grid{gap:7px}.material-grid .tool .item{width:65px;height:65px}.game-grid{grid-template-columns:minmax(0,1fr) 260px}.top{flex-wrap:wrap}.brand{min-width:240px}.hud{padding:8px 12px}.intro{min-height:0}.intro-visual{min-height:580px}.speech{left:20%;right:5%}}
@media(max-width:680px){.shell{padding:9px}.brand h1{font-size:23px}.top{gap:8px}.brand{width:100%}.hud{min-width:64px}.hud strong{font-size:21px}.iconbtn{padding:8px 12px}.intro{display:block}.intro-visual{min-height:340px}.intro-customer{width:210px;height:210px;bottom:0}.intro-title{top:5%;padding:10px}.intro-title h2{font-size:28px}.intro-copy{padding:23px}.game-grid{grid-template-columns:1fr}.room{min-height:560px;height:650px}.speech{left:5%;right:5%;top:15%;padding-left:69px}.speech p{font-size:22px}.speech .mood{left:12px;width:40px}.side{display:none}.work-layout{grid-template-columns:minmax(0,1fr) 138px;gap:6px}.benchroom{border-width:3px}.bench-header{padding:12px 8px;flex-wrap:wrap}.bench-header h2{font-size:21px}.bench-header button{font-size:14px;padding:7px}.work-order.speech{margin:8px;padding:12px 10px 12px 51px;min-height:100px}.work-order .mood{font-size:26px;width:32px;left:8px;top:11px}.work-order p{font-size:19px}.customer-context{font-size:14px}.station{padding:8px;min-height:310px}.station .drop-zone{height:175px}.station .drop-zone>.item,.station .drop-zone>.empty-work{height:175px;width:190px}.tank-art{height:118px}.tank-name{font-size:14px;width:45px;top:43%}.tank-name small{font-size:10px;margin-top:2px}.tank-bank .gas-tool .tank-price{font-size:11px;padding:4px}.tank-bank.gas-rack{gap:1px}.material-shelf{padding:8px;border-radius:14px}.material-shelf h3{font-size:19px}.material-grid{gap:5px;grid-template-columns:1fr}.material-grid .tool{display:grid;grid-template-columns:42px 1fr;text-align:left;padding:4px;gap:0}.material-grid .tool .item{width:42px;height:47px;grid-row:span 2}.material-grid .tool b{font-size:14px}.material-grid .tool small{font-size:12px}.material-note{font-size:13px!important}.work-actions{padding:12px 6px;gap:8px}.work-actions button{font-size:17px;padding:9px;min-height:42px}.reset-work{padding:0 6px;gap:6px;flex-wrap:wrap}.reset-work button{font-size:13px}.tutorial-coach p{font-size:20px}.tutorial-coach{padding:14px 18px}.role-intro p{font-size:21px}.stage-ghost .item{width:190px;height:175px}.finish-caption{font-size:13px}.finish-progress small{font-size:11px}.completion-help{margin:8px;font-size:16px}.menu-preview{gap:6px}.menu-preview div{font-size:14px}.summary .money-line{font-size:17px}}
@media(prefers-reduced-motion:reduce){.stage-enter,.stage-ghost,.floating,.falling-coin,.money-amount,.tutorial-target{animation:none}.stage-ghost{display:none}.falling-coin{display:none}}

.material-shelf:has(.tutorial-target){z-index:75}.menu-mini .stage-art{width:75px;height:75px}.menu-mini button{font-size:15px}.result-item .stage-art{width:150px;height:150px}
.tank-bank.gas-rack{z-index:auto}.work-actions{z-index:auto}.drop-zone{z-index:auto}
.work-actions button{font-size:20px;min-height:48px}.upgrade b{font-size:20px}.upgrade small{font-size:16px}.daily-note{font-size:18px}.menu-unlock h3{font-size:23px}.work-order.speech{border-radius:20px}.role-intro .intro-story-art .item{background:none}
@media(max-width:680px){.work-actions button{font-size:17px;min-height:42px}}
@media(max-width:680px){.tank-bank.gas-rack{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 3px}.tank-art{height:160px}.tank-name{font-size:18px;width:65px}.tank-name small{font-size:13px}.tank-bank .gas-tool .tank-price{font-size:14px;padding:4px 8px}.station{padding-bottom:12px}}
@media(max-width:680px){.top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.top .brand{grid-column:1/-1;min-width:0}.top .hud{min-width:0;width:100%;padding:8px 5px}.top .hud strong{white-space:nowrap;font-size:21px}.top .hud small{font-size:13px;word-break:keep-all}.top .iconbtn{width:100%;font-size:17px}.tutorial-top{display:flex}.tutorial-top .brand{width:100%}.tutorial-top .hud{width:115px;flex:none}.menu-unlock>div{flex-wrap:wrap}}
@media(max-width:500px){.work-layout{grid-template-columns:1fr;gap:12px}.material-shelf{position:static}.material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.material-grid .tool{display:flex;flex-direction:column;text-align:center;min-width:0;font-size:15px;padding:6px 2px}.material-grid .tool .item{width:52px;height:56px}.material-grid .tool b{font-size:15px}.work-order p{font-size:21px}.customer-context{font-size:16px}.station .drop-zone{height:215px}.station .drop-zone>.item{height:215px;width:240px}.tank-bank.gas-rack{grid-template-columns:repeat(4,minmax(0,1fr))}.tank-art{height:145px}.tank-name{font-size:16px;width:57px}.tank-name small{font-size:11px}.material-shelf h3:not(:first-child){margin-top:16px}.material-note{margin:10px 0 0!important}.tutorial-top .hud{width:110px}.tutorial-top .practice-badge{font-size:14px;padding:10px}.top .hud strong{font-size:20px}}

.shop-boot{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 30% 15%,#fffaf0,#f2dfd0);transition:opacity .3s ease}.boot-card{text-align:center;width:min(460px,100%);padding:24px 22px 30px;border:3px solid #fffdf6;border-radius:32px;background:#fff9edf0;box-shadow:0 12px 40px #9b705825}.boot-mascot{width:180px;height:180px;margin:0 auto 10px;background:url('assets/customers.png') 0 0 / 381% 289% no-repeat;animation:boot-bob 1.6s ease-in-out infinite}.boot-badge{display:inline-block;padding:7px 14px;border-radius:20px;background:#e7eedf;font:14px ShopJua,sans-serif;color:#71816a}.boot-card h1{font-size:29px;margin:19px 0 13px;word-break:keep-all}.boot-card p{font-size:21px;min-height:60px;line-height:1.5;margin:0 0 15px;word-break:keep-all}.boot-track{height:10px;border-radius:12px;overflow:hidden;background:#eadbc7;width:74%;margin:0 auto}.boot-track i{display:block;width:38%;height:100%;border-radius:12px;background:#acc6af;animation:boot-slide 1.4s ease-in-out infinite alternate}.boot-card button{margin-top:20px}.boot-leaving{opacity:0;pointer-events:none}@keyframes boot-bob{50%{transform:translateY(-8px) rotate(3deg)}}@keyframes boot-slide{to{transform:translateX(165%)}}@media(max-width:500px){.boot-card{padding:18px 16px 25px}.boot-card h1{font-size:25px}.boot-card p{font-size:20px}}@media(prefers-reduced-motion:reduce){.boot-mascot,.boot-track i{animation:none}.shop-boot{transition:none}}
/* Shared-device profiles and nickname-linked shop signs. */
.student-card.empty{border:2px dashed #cdbda6;background:#fffaf1}.empty-shop-icon{display:grid;place-items:center;width:90px;height:90px;color:#ad9277;font:48px ShopGowun,sans-serif}.student-grid .student-card small{font-size:17px}
@media(max-width:600px){.student-grid{grid-template-columns:1fr;gap:10px;margin:16px 0}.student-grid .student-card{display:grid;grid-template-columns:54px 1fr;gap:4px 12px;text-align:left;align-items:center;padding:10px 14px}.student-card .empty-shop-icon,.student-card .customer{grid-row:1/3;width:54px;height:54px}.student-grid .student-card b{font-size:23px;word-break:keep-all}.student-grid .student-card small{font-size:17px}}
.student-switch{font-family:ShopGowun,sans-serif;font-size:15px;padding:2px 6px;background:#f7e8d9;border-radius:8px;color:#8d6e5b}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.student-card{background:#f5ebdc;border:2px solid transparent;border-radius:18px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.student-card.selected{border-color:#95b59b}.student-card .customer{width:90px;height:90px}.student-card b{font-size:21px;word-break:break-all}.student-card small{font:14px ShopGowun,sans-serif}.nickname-label{display:block;margin:15px 0 10px}.nickname-input{width:100%;font:26px ShopGowun,sans-serif;padding:14px;border:2px solid #cdbda6;border-radius:14px;background:#fffdf6;color:#695344}.shop-name-preview{text-align:center;padding:14px;background:#e8efdf;border-radius:14px;font-size:23px!important}.intro-sentence{display:block}.intro-sentence+.intro-sentence{margin-top:6px}.ledger-counts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 16px}.ledger-counts>div{background:#e3eddf;border:2px solid #bbcfb5;border-radius:16px;padding:12px 5px;text-align:center}.ledger-counts>div+div{background:#f5e4d8;border-color:#e3c7b4}.ledger-counts span{display:block;font-size:16px;white-space:nowrap}.ledger-counts strong{display:block;font:28px ShopJua,sans-serif;margin-top:7px}.waste-line{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;padding:12px 0 0;color:#a97965;font-size:16px}.waste-line small{flex-basis:100%;font-size:12px}.angel-coin{position:absolute;left:var(--x);top:64%;font-size:31px;width:65px;height:55px;text-align:center;animation:coin-ascend 1.6s var(--delay) ease-out both}.angel-coin b{font-weight:400;position:relative;z-index:2}.coin-halo{display:block;position:absolute;top:-12px;left:23px;width:25px;height:10px;border:3px solid #edc767;border-radius:50%;box-shadow:0 0 8px #fff7bd}.coin-wing{position:absolute;top:3px;font-style:normal;font-size:25px}.coin-wing.left{left:-5px;transform:rotate(-22deg)}.coin-wing.right{right:-5px;transform:scaleX(-1) rotate(-22deg)}@keyframes coin-ascend{0%{opacity:1;transform:translateY(0) scale(.85)}20%{opacity:1}100%{opacity:0;transform:translateY(-58vh) scale(.62)}}
/* One-screen play areas: the station flexes before controls can leave the screen. */
.shell.view-bench,.shell.view-counter,.shell.view-result{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:12px 16px}.view-bench .top,.view-counter .top,.view-result .top{flex:0 0 auto;margin-bottom:10px;gap:10px}.view-bench .top .brand h1,.view-counter .top .brand h1,.view-result .top .brand h1{font-size:25px}.view-bench .hud,.view-counter .hud,.view-result .hud{padding:7px 12px}.view-bench .hud strong,.view-counter .hud strong,.view-result .hud strong{font-size:23px}.view-bench .hud small,.view-counter .hud small,.view-result .hud small{font-size:13px}.view-bench .work-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 225px;gap:12px}.view-bench .benchroom{height:100%;min-height:0;display:flex;flex-direction:column;padding-bottom:7px;border-width:5px;overflow:visible}.view-bench .bench-header{flex:0 0 auto;min-height:39px;padding:5px 12px}.view-bench .bench-header h2{font-size:22px}.view-bench .bench-header button{font-size:16px;min-height:32px;padding:5px 10px}.view-bench .work-order{flex:0 0 auto;margin:8px 12px 0;padding:9px 12px 8px 62px;min-height:0;max-height:110px;overflow:auto}.view-bench .work-order p{font-size:23px;line-height:1.35}.view-bench .work-order .mood{top:9px;left:12px;width:36px;height:36px;font-size:29px;line-height:36px}.view-bench .customer-context{font-size:15px;margin-top:5px}.view-bench .completion-help{flex:0 0 auto;font-size:15px;line-height:1.3;margin:5px 12px 0;padding:5px 9px}.view-bench .station{flex:1;min-height:60px;height:auto;padding:0;margin:6px 9px 0;border:0;border-radius:18px;overflow:visible;background:linear-gradient(#f4e5d09c,#e8d1b4b0),none center/cover;display:block}.view-bench .tank-bank{display:contents}.view-bench .tank-bank .gas-tool{position:absolute;width:34%;height:52%;min-height:0;display:block;padding:0;background:none;border:0;z-index:2}.view-bench .gas-tool[data-value="carbon_dioxide"]{left:0;top:0}.view-bench .gas-tool[data-value="oxygen"]{right:0;top:0}.view-bench .gas-tool[data-value="helium"]{left:0;bottom:0}.view-bench .gas-tool[data-value="nitrogen"]{right:0;bottom:0}.view-bench .tank-art{width:100%;height:100%;background-size:100% 100%;filter:drop-shadow(0 3px 2px #795e4520)}.view-bench .tank-name{font-size:clamp(18px,2.6vh,28px);width:90px;top:43%;line-height:1.02}.view-bench .tank-name small{font-size:clamp(12px,1.7vh,16px);margin-top:3px}.view-bench .tank-price{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font-size:13px!important;padding:3px 9px!important;white-space:nowrap}.view-bench .station .drop-zone{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:43%;height:76%;max-width:none;min-width:0;min-height:0;z-index:4;pointer-events:auto;border-radius:48%;background:radial-gradient(ellipse,#fff7e6d9,transparent 72%)}.view-bench .station .drop-zone>.item,.view-bench .station .drop-zone>.empty-work{width:100%;height:100%;max-height:100%;max-width:100%}.view-bench .empty-work{opacity:.15}.view-bench .stage-ghost{width:100%;height:100%}.view-bench .stage-ghost .item{width:100%;height:100%}.view-bench .work-actions{flex:0 0 auto;padding:7px 10px;min-height:48px;gap:8px;background:transparent}.view-bench .work-actions button{font-size:19px;padding:7px 12px;min-height:38px;flex:1}.view-bench .reset-work{flex:0 0 auto;min-height:30px;padding:0 10px;gap:8px}.view-bench .reset-work button{font-size:14px;min-height:29px;padding:4px 9px}.view-bench .material-shelf{position:relative;height:100%;min-height:0;top:auto;padding:12px;overflow:hidden}.view-bench .material-shelf h3{font-size:21px;margin:0 0 8px}.view-bench .material-shelf h3:not(:first-child){margin-top:14px}.view-bench .material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.view-bench .material-grid .tool{min-width:0;padding:4px;gap:2px;font-size:16px}.view-bench .material-grid .tool .item{width:55px;height:52px}.view-bench .material-grid .tool b{font-size:16px}.view-bench .material-grid .tool small{font-size:13px}.view-bench .material-note{font-size:13px!important;line-height:1.3;margin:10px 0 0}.view-counter .game-grid,.view-result .game-grid{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 265px;gap:12px}.view-counter .room,.view-result .room{height:100%;min-height:0;max-height:none;border-width:5px}.view-counter .side,.view-result .side{display:block;min-height:0}.ledger{padding:16px}.ledger .money-line{font-size:17px;padding:9px 0}.room .sign{font-size:15px;left:16px;top:12px;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.view-counter .speech,.view-result .speech{top:16%;max-height:42%;overflow:auto}.view-counter .customer-spot,.view-result .customer-spot{width:min(300px,50%);height:min(300px,45%);bottom:20%}.view-counter .counter-actions,.view-result .counter-actions{bottom:5%}.view-counter .speech p,.view-result .speech p{font-size:23px}.view-counter .side .paper,.view-result .side .paper{margin:0}.view-bench .tutorial-target{z-index:75!important}.view-bench .tutorial-top{position:relative;z-index:76}
/* Hands-on finishing, with pointer and keyboard paths using the same progress. */
.craft-layer{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:12px;background:#30251ecf}.craft-card{width:min(550px,100%);max-height:calc(100dvh - 24px);background:#fff9ed;border:3px solid #e4cba9;border-radius:26px;padding:18px 22px;display:flex;flex-direction:column;box-shadow:0 10px 35px #21160f55;overflow:auto}.craft-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.craft-heading h2{font-size:27px;margin:0}.craft-card>p{font-size:21px;line-height:1.45;margin:12px 0}.craft-demo{height:100px;flex-shrink:0;position:relative;text-align:center}.craft-demo .item{height:100%;width:130px;margin:auto}.craft-hand{position:absolute;left:calc(50% + 40px);top:24px;font-size:40px;animation:hand-swish 1.8s ease-in-out infinite}.craft-pad{display:block;width:100%;height:clamp(110px,25dvh,185px);flex-shrink:0;touch-action:none;user-select:none;background:#f4ead9;border:2px solid #d9c3a5;border-radius:20px;cursor:crosshair}.craft-guide{fill:none;stroke:#cbb89c;stroke-width:10;stroke-dasharray:4 6;stroke-linecap:round;stroke-linejoin:round}.craft-traced{fill:none;stroke:#8fb49b;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.craft-cursor{fill:#f7d789;stroke:#fffdf5;stroke-width:4}.craft-pad text{font:16px ShopJua,sans-serif;fill:#967752}.craft-progress{height:10px;background:#e4d7bf;border-radius:10px;overflow:hidden;margin-top:14px;flex-shrink:0}.craft-progress i{display:block;width:0;height:100%;background:#9cbea5;transition:width .12s}.craft-card .craft-feedback{font-size:18px;margin:9px 0 4px}.craft-card>small{font-size:13px;color:#9e8268}@keyframes hand-swish{50%{transform:translateX(-30px) rotate(-15deg)}}
@media(max-height:700px){.view-bench .top .brand h1,.view-counter .top .brand h1,.view-result .top .brand h1{font-size:22px}.view-bench .top,.view-counter .top,.view-result .top{margin-bottom:7px}.view-bench .material-grid .tool .item{width:43px;height:40px}.view-bench .material-shelf{padding:9px}.view-bench .material-shelf h3:not(:first-child){margin-top:9px}.view-bench .work-order{max-height:86px}.view-bench .work-order p{font-size:20px}.view-bench .work-actions{padding:5px 8px}.view-bench .work-actions button{font-size:18px;min-height:36px}.view-bench .material-note{display:none}.craft-demo{height:65px}.craft-card{padding:12px 18px}.craft-heading h2{font-size:23px}.craft-card>p{font-size:18px;margin:8px 0}.ledger{padding:12px}.ledger-counts{margin:9px 0 12px}.ledger-counts>div{padding:8px 4px}.ledger-counts strong{font-size:24px}.ledger .money-line{padding:6px 0;font-size:16px}}
@media(max-width:850px){.view-bench .work-layout{grid-template-columns:minmax(0,1fr) 188px;gap:8px}.view-bench .material-grid .tool{display:flex;flex-direction:column}.view-bench .material-grid .tool b{font-size:15px}.view-counter .game-grid,.view-result .game-grid{grid-template-columns:minmax(0,1fr) 225px}.ledger-counts span{font-size:14px}.view-counter .speech,.view-result .speech{left:5%;right:5%;padding:14px 12px 14px 61px}.view-counter .speech p,.view-result .speech p{font-size:20px}.view-counter .speech .mood,.view-result .speech .mood{top:14px;left:10px}.view-counter .customer-spot,.view-result .customer-spot{width:70%}.view-bench .top,.view-counter .top,.view-result .top{gap:6px}.view-bench .brand,.view-counter .brand,.view-result .brand{min-width:0;width:auto;flex:1}.view-bench .top .hud,.view-counter .top .hud,.view-result .top .hud{padding:5px 7px;min-width:60px}.view-bench .top .iconbtn,.view-counter .top .iconbtn,.view-result .top .iconbtn{padding:8px;font-size:16px}}
@media(max-width:600px){.shell.view-bench,.shell.view-counter,.shell.view-result{padding:8px;height:100dvh}.view-bench .top,.view-counter .top,.view-result .top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) repeat(3,34px);gap:5px}.view-bench .top .brand,.view-counter .top .brand,.view-result .top .brand{grid-column:1/-1;width:100%;display:block}.view-bench .top .brand h1,.view-counter .top .brand h1,.view-result .top .brand h1{font-size:21px;margin:2px 0}.student-switch{font-size:13px}.view-bench .top .hud,.view-counter .top .hud,.view-result .top .hud{padding:4px 3px;min-width:0;min-height:49px}.view-bench .top .hud small,.view-counter .top .hud small,.view-result .top .hud small{font-size:11px;line-height:1.1}.view-bench .top .hud strong,.view-counter .top .hud strong,.view-result .top .hud strong{font-size:17px;white-space:nowrap}.view-bench .top .iconbtn,.view-counter .top .iconbtn,.view-result .top .iconbtn{padding:3px;font-size:14px;min-height:34px}.view-bench .work-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 137px;gap:7px}.view-bench .material-shelf{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:19px minmax(0,1fr);gap:5px 10px;padding:7px;min-height:0;border-radius:14px}.view-bench .material-shelf h3{font-size:16px;margin:0!important}.view-bench .material-shelf>h3:first-child{grid-column:1;grid-row:1}.view-bench .material-shelf>.material-grid:nth-child(2){grid-column:1;grid-row:2}.view-bench .material-shelf>h3:nth-child(3){grid-column:2;grid-row:1}.view-bench .material-shelf>.material-grid:nth-child(4){grid-column:2;grid-row:2}.view-bench .material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;align-content:start}.view-bench .material-grid .tool{display:grid;grid-template-columns:27px 1fr;padding:2px;gap:0;text-align:left;border-radius:9px;min-height:30px}.view-bench .material-grid .tool .item{width:27px;height:29px;grid-row:span 2}.view-bench .material-grid .tool b{font-size:12px;line-height:1.1}.view-bench .material-grid .tool small{font-size:11px;line-height:1}.view-bench .material-note{display:none}.view-bench .bench-header{padding:4px 8px;min-height:34px}.view-bench .bench-header h2{font-size:19px}.view-bench .bench-header button{font-size:13px;padding:4px 7px;min-height:27px}.view-bench .work-order{margin:5px 7px 0;padding:7px 8px 7px 48px;max-height:90px}.view-bench .work-order p{font-size:18px;line-height:1.3}.view-bench .work-order .mood{width:29px;left:8px;top:6px;font-size:25px;line-height:30px}.view-bench .customer-context{font-size:12px;margin-top:4px}.view-bench .station{margin:5px 5px 0;min-height:50px}.view-bench .tank-bank .gas-tool{width:36%;height:53%}.view-bench .tank-name{font-size:clamp(14px,2.3vh,20px);width:67px}.view-bench .tank-name small{font-size:10px}.view-bench .tank-price{font-size:11px!important;bottom:2px;padding:2px 6px!important}.view-bench .work-actions{padding:5px;gap:5px;min-height:40px}.view-bench .work-actions button{font-size:16px;padding:5px 7px;min-height:32px}.view-bench .reset-work{padding:0 5px;gap:6px;min-height:27px;flex-wrap:nowrap}.view-bench .reset-work button{font-size:12px;padding:4px 7px;min-height:25px}.view-counter .game-grid,.view-result .game-grid{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 185px;gap:7px}.view-counter .ledger-side,.view-result .ledger-side{display:block}.ledger{height:100%;display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:8px 11px}.ledger h3{grid-column:1/-1;font-size:18px;margin:0}.ledger-counts{grid-column:1/-1;margin:5px 0;gap:8px}.ledger-counts>div{padding:4px 6px;display:flex;align-items:center;justify-content:space-around}.ledger-counts strong{font-size:22px;margin:0}.ledger-counts span{font-size:13px}.ledger .money-line{padding:3px 0;font-size:13px}.ledger .waste-line{grid-column:1/-1;font-size:12px;padding:3px 0}.ledger .waste-line small{flex-basis:auto;font-size:10px}.view-counter .speech,.view-result .speech{top:15%;max-height:45%;padding:10px 10px 10px 53px}.view-counter .speech p,.view-result .speech p{font-size:19px}.view-counter .speech .mood,.view-result .speech .mood{top:10px;left:8px;font-size:27px;width:34px}.room .sign{font-size:12px;top:8px;padding:5px 9px;left:10px}.view-counter .counter-actions,.view-result .counter-actions{bottom:5%;gap:8px}.view-counter .counter-actions button,.view-result .counter-actions button{font-size:17px;padding:8px 12px;min-height:38px}.view-counter .customer-spot,.view-result .customer-spot{height:48%;width:70%;bottom:16%}.view-bench .tutorial-top{display:flex;gap:7px}.view-bench .tutorial-top .brand{width:100%}.view-bench .tutorial-top .hud{width:95px;min-height:40px}.view-bench .tutorial-top .practice-badge{font-size:12px;padding:8px}.view-bench .tutorial-top .softbtn{font-size:13px;padding:7px}.student-grid{gap:6px}.student-card{padding:8px 3px}.student-card .customer{width:66px;height:66px}.student-card b{font-size:18px}.student-card small{font-size:12px}.craft-card{padding:13px}.craft-heading h2{font-size:22px}.craft-card>p{font-size:18px}.craft-card .craft-feedback{font-size:16px}}
@media(max-height:500px) and (min-width:601px){.view-bench .top .brand h1,.view-counter .top .brand h1,.view-result .top .brand h1{font-size:19px}.student-switch{font-size:12px}.view-bench .hud strong,.view-counter .hud strong,.view-result .hud strong{font-size:19px}.view-bench .top .hud small,.view-counter .top .hud small,.view-result .top .hud small{font-size:11px}.view-bench .bench-header{min-height:30px;padding:2px 8px}.view-bench .work-order{max-height:63px;padding-top:5px;padding-bottom:5px}.view-bench .work-order p{font-size:18px}.view-bench .customer-context{font-size:12px}.view-bench .work-order .mood{top:4px}.view-bench .material-grid .tool{display:grid;grid-template-columns:29px 1fr;padding:2px;gap:0;text-align:left}.view-bench .material-grid .tool .item{width:29px;height:32px;grid-row:span 2}.view-bench .material-grid .tool b{font-size:12px}.view-bench .material-grid .tool small{font-size:11px}.view-bench .material-shelf h3{font-size:17px;margin-bottom:5px}.view-bench .work-actions button{min-height:29px;font-size:16px;padding:4px 8px}.view-bench .work-actions{min-height:35px;padding:3px 8px}.view-bench .tank-price{font-size:11px!important}.view-bench .tank-name{font-size:16px;top:42%}.view-bench .tank-name small{font-size:10px;margin-top:1px}.ledger-counts>div{padding:6px 3px}.ledger-counts strong{font-size:21px}.ledger .money-line{font-size:14px;padding:4px 0}.ledger .waste-line{font-size:13px;padding-top:5px}.ledger h3{font-size:20px}.craft-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:6px 12px;max-width:650px}.craft-heading,.craft-card>p{grid-column:1/-1;margin:0!important}.craft-demo{grid-column:1;grid-row:3;height:100px}.craft-pad{grid-column:2;grid-row:3;height:125px}.craft-progress,.craft-feedback,.craft-card>small{grid-column:1/-1}.craft-progress{margin-top:3px}.craft-card .craft-feedback{margin:2px 0}.craft-heading h2{font-size:22px}.craft-card>p{font-size:17px}}
@media(prefers-reduced-motion:reduce){.angel-coin,.craft-hand{animation:none}.angel-coin{display:none}}


.view-bench .tank-bank .gas-tool.tutorial-target{position:absolute!important}
.view-bench .station .drop-zone{display:block}.view-bench .station .drop-zone>.item,.view-bench .station .drop-zone>.empty-work{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0}.view-bench .station .drop-zone>.item>svg{width:100%;height:100%}

@media(min-aspect-ratio:6/5){.view-bench .tank-art{background-image:url('assets/tank-wide.png');background-size:contain;background-position:center}.view-bench .tank-name{top:44%;width:90%;font-size:clamp(15px,2.7vh,24px)}.view-bench .tank-name br{display:none}.view-bench .tank-name small{font-size:clamp(11px,1.7vh,15px)}}
@media(max-height:500px) and (min-aspect-ratio:6/5){.view-bench .tank-name{font-size:15px;top:44%}.view-bench .tank-name small{display:none}}

@media(min-aspect-ratio:6/5){.view-bench .tank-name small{display:none}}

/* Keep cleanup controls comfortable to tap at every playable viewport. */
.view-bench .reset-work{min-height:44px;gap:10px}
.view-bench .reset-work button{font-size:16px;min-height:44px;padding:8px 14px}

/* Shop identity forms and settings use one consistent, touch-friendly layout. */
body:has(.modal-backdrop){overflow:hidden}
.modal:has(.identity-form),.modal:has(.settings-panel){padding:20px}
.identity-form h2,.settings-panel h2{font-size:24px;line-height:1.3;margin:0 0 12px}
.identity-fields{display:grid;gap:12px}
.identity-field-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;font-size:19px;line-height:24px}
.identity-field-head>span{font-size:15px;white-space:nowrap;color:#9a806b}
.identity-form .nickname-input{font-size:24px;line-height:30px;padding:8px 12px;min-height:50px;border-radius:12px}
.identity-form .shop-name-preview{margin:10px 0 0;padding:10px;font-size:22px!important;line-height:25px;overflow-wrap:anywhere}
.identity-actions{display:grid;gap:8px;margin-top:12px}
.identity-actions button{width:100%;min-height:48px;font-size:18px;padding:10px 14px;margin:0}
.identity-actions .primary{margin:0;width:100%}
.settings-panel .settings-shop-name{margin:0 0 14px;padding:10px 12px;background:#e9efdf;border-radius:12px;font-size:23px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.settings-grid button{display:flex;align-items:center;justify-content:center;min-height:54px;width:100%;margin:0;padding:10px;font-size:18px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.settings-grid .settings-reset{grid-column:1/-1}
.settings-panel>.primary{min-height:48px;margin:12px 0 0;font-size:19px}
.student-grid{align-items:stretch}
.student-card b{max-width:100%;font-size:20px;line-height:1.35;overflow-wrap:anywhere;word-break:normal}
.student-card .student-owner{font-size:15px;color:#927963;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.student-card small{max-width:100%;line-height:1.4}
.shop-picker h2{font-size:24px;line-height:1.3;margin-bottom:10px}
.shop-picker>p{font-size:17px;line-height:1.5;margin:8px 0}
.shop-picker .student-grid{margin:12px 0;gap:10px}
.shop-picker .student-card{padding:8px;gap:4px}
.shop-picker .student-card .customer,.shop-picker .empty-shop-icon{width:64px;height:64px}
.shop-picker .student-card small{font-size:15px}
.shop-picker>.hint-note{font-size:14px!important;line-height:1.5}
.brand .student-switch{max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.intro-copy>h2{overflow-wrap:anywhere;word-break:normal}
.room .sign{max-width:calc(100% - 44px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-height:550px){.modal:has(.identity-form),.modal:has(.settings-panel){padding:16px}.identity-fields{gap:8px}.identity-form .shop-name-preview{margin-top:8px;padding:8px}.identity-actions{margin-top:10px}.settings-grid{gap:8px}.settings-grid button{min-height:48px}.settings-panel .settings-shop-name{margin-bottom:10px}}
