.install-entry{box-sizing:border-box;max-width:580px;min-height:100svh;margin:0 auto;padding:24px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));display:flex;flex-direction:column;justify-content:center;align-items:center;gap:22px;text-align:center;background:radial-gradient(ellipse at 50% 35%,#fff0c680,transparent 68%)}.install-entry h1{font:800 clamp(1.7rem,7vw,2.2rem)/1.1 "Trebuchet MS","Segoe UI",sans-serif;color:#56704c;margin:0;letter-spacing:-.035em}.install-entry h1 strong{display:block;color:#705136;font-size:1.35em}.install-entry-art{display:block;width:100%;max-width:400px;height:clamp(130px,25svh,220px);object-fit:contain}.install-entry p{font-size:1rem;line-height:1.45;max-width:390px;margin:0;color:#303b34}.install-entry-actions{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:340px}.install-entry button{box-sizing:border-box;white-space:normal;overflow-wrap:break-word;font:700 1rem/1.3 Trebuchet MS,Segoe UI,sans-serif;min-height:52px;margin:0;border-radius:20px;padding:12px 20px;touch-action:manipulation}.install-entry .install-entry-primary{width:100%;min-height:68px;font-size:1.4rem;background:#436748;color:#fffdf8;border:2px solid #34543b;box-shadow:0 4px #304d36}.install-entry .install-entry-skip{width:calc(100% - 24px);background:#fffaf0;color:#51432f;border:2px solid #ae9873}.install-entry button:focus-visible{outline:4px solid #315e83;outline-offset:4px}.install-entry button:disabled{opacity:.75}.install-entry-steps{font-size:1rem;line-height:1.5;text-align:left;max-width:390px;margin:0;padding-left:30px}.install-entry-steps li+li{margin-top:16px}.install-entry-steps svg{display:inline-block;vertical-align:middle;margin:0 5px;color:#315e83}@media(max-height:620px){.install-entry{padding-top:16px;padding-bottom:20px;gap:16px}.install-entry-art{height:125px}.install-entry h1{font-size:1.7rem}.install-entry-actions{gap:14px}}@media(forced-colors:active){.install-entry .install-entry-primary,.install-entry .install-entry-skip{border:2px solid ButtonText;box-shadow:none}}:root{font-family:ui-rounded,Segoe UI,system-ui,sans-serif;color:#303b34;background:#f5f0e6;font-synthesis:none;font-size:20px;--green:#345b43;--cream:#fffdf8}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;min-height:48px;border:2px solid transparent;border-radius:18px;padding:12px 20px;color:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:4px solid #315e83;outline-offset:3px}button:disabled{cursor:default}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}img{-webkit-user-select:none;user-select:none;pointer-events:none}h1,h2,p{margin:0}h1{font-weight:650;letter-spacing:-.035em}h2{font-size:1.25rem;margin-bottom:20px}.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 4px #243f2e}.secondary{background:var(--cream);border-color:#78907b}.quiet{background:transparent;font-size:.8rem;padding:10px 12px;border-radius:12px}.home{max-width:640px;margin:auto;text-align:center;padding:44px 24px 20px}.wordmark{font-size:.65rem;letter-spacing:.2em;font-weight:700;color:#516052}.home-art{position:relative;width:280px;height:252px;margin:30px auto 15px}.mascot{width:230px;height:230px;filter:drop-shadow(0 12px 0 #e6dfce)}.float-apple,.float-cookie{position:absolute;display:grid;place-items:center;background:#fff8e8;border:1px solid #e8dcc3;border-radius:50%;width:70px;height:70px}.float-apple{left:0;top:140px;transform:rotate(-12deg)}.float-cookie{right:0;top:46px;transform:rotate(10deg)}.float-apple img,.float-cookie img{width:46px}.home h1{font-size:2.4rem;line-height:1.12}.home-sub{font-size:1rem;color:#596358;margin:18px 0 30px}.play{width:min(100%,290px);font-size:1.35rem;display:flex;justify-content:space-between;align-items:center;margin:auto;padding:19px 28px;border-radius:24px}.offline{font-size:.7rem;color:#52604f;margin:22px 0}.home footer{display:flex;justify-content:center;gap:12px}.notice{font-size:.75rem;min-height:1.5em;margin:12px 0;color:#485346}.game{max-width:940px;margin:auto;padding:14px 24px 24px}.game-header{display:flex;justify-content:space-between;align-items:center}.game-brand{font-size:.7rem;letter-spacing:.07em;color:#52604f}.instruction{text-align:center;margin:18px auto 12px}.instruction h1{font-size:1.55rem;line-height:1.25;max-width:680px;margin:auto}.listen{display:inline-flex;align-items:center;gap:8px;background:transparent;font-size:.8rem;padding:8px 14px;margin-top:4px}.phase{text-align:center;max-width:650px;margin:0 auto 12px;padding:10px 16px;background:#fceac5;border:2px solid #aa7c28;border-radius:18px;font-size:.95rem}.reserve{background:#eee6d6;border:2px solid #c7bca5;border-radius:26px;margin:0 auto 14px;max-width:760px;padding:10px 14px;display:flex;align-items:center;gap:12px;min-height:76px}.reserve-label{font-size:.75rem;white-space:nowrap}.reserve-objects{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;flex:1}.reserve-object{width:48px;height:48px;min-width:48px;padding:2px;background:transparent;touch-action:none;border-radius:14px;-webkit-user-select:none;user-select:none}.reserve-object img{width:40px;height:40px}.reserve.selected{border-color:#345b43;background:#e5eddf}.reserve-object[aria-pressed=true]{border-color:#567a55;background:#fffdf8}.empty-mark{color:var(--green);font-size:1.5rem}.model{margin:0 auto 14px;display:flex;gap:20px;align-items:center;justify-content:center;padding:10px 18px;width:fit-content;max-width:100%;border:2px solid #a8b8d0;background:#eaf0f8;border-radius:20px;font-size:.85rem}.model div{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.model img{width:42px;height:42px}.board{display:grid;grid-template-columns:repeat(2,minmax(0,280px));justify-content:center;gap:16px 30px;align-items:end;max-width:890px;margin:auto}.board.groups-3{grid-template-columns:repeat(3,minmax(0,260px));gap:18px}.group{min-width:0;position:relative;text-align:center;border-radius:25px;padding:3px 0 8px}.group.hinted{outline:4px solid #9b732d;outline-offset:3px;background:#fff4d6}.group-title{display:block;font-size:.7rem;color:#52604f;margin-top:3px}.friend{height:78px;position:relative;margin-bottom:-8px}.friend img{width:88px;height:88px}.friend-arrow{display:inline-block;position:absolute;font-size:1.5rem;color:#785523;bottom:10px;font-weight:700}.vessel{position:relative;isolation:isolate;min-height:174px;display:flex;align-items:center;justify-content:center;padding:40px 12px 34px;transition:filter .15s}.vessel-back{position:absolute;inset:0;width:100%;height:100%;z-index:0}.vessel-front{position:absolute;bottom:0;left:0;width:100%;height:40px;z-index:3}.vessel.box .vessel-front{height:44px}.vessel.plate .vessel-front{height:25px}.vessel.plate .vessel-back{border-radius:50%}.add{position:absolute;inset:0;width:100%;height:100%;z-index:1;background:transparent;border-radius:30px;padding:0}.add:focus-visible{outline-offset:0}.objects{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,48px);gap:6px;pointer-events:none}.objects .object{pointer-events:auto}.object{position:relative;display:grid;place-items:center;padding:3px;width:48px;height:48px;min-height:48px;border-radius:12px;background:#fff9e5;border:1px solid #b9a878}.object img{width:40px;height:40px}.objects .slot{border:2px dashed #a89568;background:#f9edcd;pointer-events:none}.objects .space{background:transparent;border-color:transparent;pointer-events:none}.counted{background:#e1eedf;border-color:#4d7350}.counted img{opacity:1}.tick{position:absolute;right:-3px;bottom:-3px;background:var(--green);color:#fff;border:2px solid white;font-size:.7rem;border-radius:50%;width:23px;height:23px;line-height:19px}.object:disabled{opacity:1}.counter{text-align:center;font-size:1.9rem;margin:8px 0}.counter span{font-size:.8rem}.drop-target{filter:drop-shadow(0 0 7px #567e36);outline:4px solid #567e36;border-radius:26px}.drag-source{opacity:.3}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;width:58px;height:58px;min-height:58px;display:grid;place-items:center;padding:4px;background:#fff9e4;box-shadow:0 8px 18px #51401f44;border:2px solid #9c7c40;border-radius:16px;transform:translate(-50%,-50%)}.drag-ghost img{width:46px;height:46px}.companion{display:flex;align-items:center;gap:12px;max-width:640px;margin:12px auto 0;min-height:82px}.companion-fox{width:82px;height:82px;flex-shrink:0}.companion p{position:relative;flex:1;background:#fffdf8;border:1px solid #d9d5c3;border-radius:20px 20px 20px 4px;padding:13px 15px;font-size:.85rem;line-height:1.4}.replay{flex-shrink:0;width:48px;padding:4px;background:transparent}.result{text-align:center;margin:12px auto 0;max-width:680px}.success-title{font-size:1.2rem;font-weight:650}.success-title span{color:#886026}.result .result-text{font-size:.85rem;line-height:1.45;margin:8px auto;max-width:580px}.result .equation{font-size:1.6rem;margin:6px 0;letter-spacing:.04em}.link-equation{color:#4e604f;margin:6px 0}.success-actions{display:flex;justify-content:center;gap:14px;margin-top:14px}.game-footer{text-align:center;margin-top:12px}.help-actions{display:flex;justify-content:center;align-items:center;gap:14px}.easy{text-decoration:underline;text-underline-offset:4px}.panel{width:min(400px,calc(100% - 32px));border:2px solid #94a08c;border-radius:28px;background:#fffdf8;color:#303b34;padding:24px;box-shadow:0 20px 70px #263f3033}.panel::backdrop{background:#283b354d}.panel button{display:block;width:100%;margin-top:12px}.panel p{font-size:.85rem;line-height:1.5;margin:14px 0}.toggle{display:flex;align-items:center;gap:16px;min-height:60px;margin:12px 0}.toggle input{width:28px;height:28px;accent-color:var(--green)}.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}@media(max-width:620px){.home{padding-top:26px}.home-art{margin-top:20px;height:235px}.home h1{font-size:2rem}.game{padding:8px 12px 16px}.game-header .quiet{padding:8px;font-size:.7rem}.game-brand{display:none}.instruction{margin:12px 0 8px}.instruction h1{font-size:1.12rem}.board,.board.groups-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:380px}.groups-3 .group:last-child{grid-column:1 / -1;width:calc((100% - 12px)/2);justify-self:center}.vessel{padding:38px 8px 32px;min-height:174px}.objects{gap:4px}.reserve{padding:8px;gap:4px;margin-bottom:12px;align-items:center}.reserve-label{font-size:.65rem;white-space:normal;max-width:35px}.reserve-objects{gap:3px}.companion{gap:4px;margin-top:10px}.companion-fox{width:58px;height:68px}.companion p{font-size:.75rem;padding:10px;line-height:1.35}.replay{width:48px}.friend{height:65px}.friend img{width:75px;height:75px}.game-footer{margin-top:10px}.help-actions{gap:6px}.help-actions button{font-size:.8rem;padding:10px 14px}.success-actions button{padding:12px 16px;font-size:.9rem}.home-sub{font-size:.9rem}.phase{font-size:.8rem}.model{gap:10px;padding:8px;font-size:.75rem}.model img{width:38px;height:38px}.result-text{font-size:.75rem!important}}@media(prefers-reduced-motion:no-preference){.home .mascot{animation:hello 4s ease-in-out infinite}.deposited{animation:deposit .3s ease-out}.reacts .friend img{animation:nod .35s ease-out}.celebrating .companion-fox{animation:nod .6s ease-out}.success-title span{display:inline-block;animation:bloom .4s ease-out}@keyframes hello{50%{transform:translateY(-5px) rotate(2deg)}}@keyframes deposit{0%{transform:translateY(-16px) scale(.85)}60%{transform:translateY(2px)}to{transform:none}}@keyframes nod{50%{transform:translateY(-5px) rotate(-5deg)}}@keyframes bloom{0%{transform:scale(.5)}to{transform:scale(1)}}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.vessel-front{bottom:7px}.vessel.plate .vessel-front{height:34px;bottom:4px}.friend-button{background:transparent;padding:0;width:88px;height:88px;min-height:48px}.friend-button img{width:100%;height:100%}.hidden{display:none}.notice:empty{display:none}.hint-object{outline:3px solid #9b732d;outline-offset:2px}.group.reacts .vessel-back{transform-origin:center bottom}@media(min-width:621px){.objects{grid-template-columns:repeat(2,58px)}.object{width:58px;height:58px;min-height:58px}.object img{width:48px;height:48px}.vessel{min-height:194px}}@media(max-width:620px){.friend-button{width:75px;height:75px}}@media(prefers-reduced-motion:no-preference){.reacts .vessel-back{animation:receive .3s ease-out}@keyframes receive{50%{transform:scale(1.025,.975)}}}.family-tray .board{display:flex;flex-direction:column;align-items:stretch;max-width:600px;padding:16px;background:#8d9da4;border:8px solid #65757b;border-radius:24px;gap:12px}.family-tray .group{width:100%!important}.family-tray .vessel{min-height:100px;padding:18px;background:#dce2df;border-radius:15px}.family-tray .vessel img.vessel-back,.family-tray .vessel img.vessel-front{display:none}.family-tray .objects{display:flex;flex-wrap:wrap;justify-content:center}.family-tray .group-title{color:#263e32}.family-spots .vessel{background:#c75440;border:5px solid #603c32;border-radius:48% 48% 40% 40%;padding:32px 10px;min-height:180px;box-shadow:inset 0 0 0 5px #e1856d}.family-spots .vessel:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:3px;background:#613c32}.family-spots .vessel-back,.family-spots .vessel-front{display:none}.family-spots .object{background:#f1bca9;border-color:#613c32;border-radius:50%}.spot{width:26px;height:26px;border-radius:50%;background:#292e2c}.family-spots .counted{background:#d3e4c9}.choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:190px;background:#f5ddb0;border:4px solid #977043;border-radius:20px;padding:18px 10px;color:#303b34}.choice-lid{font-size:1.3rem;display:block;width:100%;border-bottom:3px solid #b38d55;margin-bottom:12px;color:#765225}.gift{background:#e3ebdb;border-color:#708264}.gift .choice-lid{color:#527055;border-color:#91a184}.choice-objects{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:160px;min-height:40px}.choice-objects img{width:40px;height:40px}.coin{display:inline-block;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#e6b448;border:4px double #795617}.choice-check{position:absolute;right:8px;top:8px;background:#345b43;color:#fff;border-radius:50%;width:32px;height:32px}.chosen{border-color:#345b43;background:#e4efdc}.numeric{background:#fffdf8;border-color:#83947e;min-height:130px}.numeric strong{font-size:2.5rem}.number-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.number-dots .coin{width:16px;height:16px;border-width:2px}.number-sample{grid-column:1/-1;display:flex;justify-content:center;flex-wrap:wrap;gap:20px}.number-sample>div{display:grid;grid-template-columns:repeat(2,40px);gap:4px;background:#ede3d1;padding:12px;border-radius:20px}.number-sample img{width:40px;height:40px}.order-ticket{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;background:#fffdf8;border:2px solid #879982;border-radius:18px;padding:7px;margin:8px auto 0;max-width:160px}.order-ticket img{width:28px;height:28px}.layout-1 .number-sample>div{grid-template-columns:repeat(1,40px)}.layout-1.family-spots .objects{transform:rotate(8deg)}@media(prefers-reduced-motion:no-preference){.chosen .choice-lid{animation:open-lid .45s ease-out forwards}.won.family-tray .object,.won.family-spots .object{animation:nod .5s ease-out}@keyframes open-lid{to{transform:translateY(-8px) rotate(-6deg)}}}.family-tray .group-title{color:#122018}.board.groups-1{grid-template-columns:minmax(0,260px)}.family-spots .vessel:after{content:"";position:absolute;top:-15px;left:calc(50% - 22px);width:44px;height:22px;border-radius:50% 50% 20% 20%;background:#493b32}.family-spots .board{padding-top:14px}.v4{max-width:1050px}.mission-step{text-align:center;color:#4b5d4d;font-size:.8rem;margin:10px 0}.problem-equation{font-size:1.65rem;font-weight:650;text-align:center;margin:16px auto;line-height:1.4}.given{text-align:center;font-size:1.05rem;margin:14px auto}.visual-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:850px;margin:14px auto}.visual-group{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:3px;align-items:center;max-width:160px;min-width:110px;padding:12px 12px 30px;border:2px solid #b6a383;border-radius:18px;background:#fff7e6;min-height:88px}.visual-group img{width:28px;height:28px}.visual-group.unknown{background:#e5e9df;border-color:#829375;font-size:1.6rem}.group-size{position:absolute;bottom:3px;right:12px;font-weight:700;font-size:.8rem}.ladybug{background:#d96853;border-color:#654135;border-radius:35%}.ladybug img{width:18px;height:18px}.pack-sample{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:7px;max-width:400px;background:#fff7e6;border:2px solid #b6a383;border-radius:18px;padding:12px;margin:12px auto}.pack-sample img{width:32px;height:32px}.pack-sample strong{width:100%;font-size:.85rem}.answer-options{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.answer-option{min-width:80px;font-size:1.5rem;background:#fffdf8;border-color:#7c9279}.answer-option.selected,.reserve-object.selected{background:#dcebd5;border-color:#345b43}.answer-label{display:flex;align-items:center;justify-content:center;gap:12px;font-size:.85rem;margin:14px auto}.answer-label input,.quantity-controls input{font:inherit;text-align:center;font-size:1.6rem;width:100px;min-height:54px;background:#fffdf8;border:2px solid #7c9279;border-radius:15px;color:#303b34}.answer-label input:focus-visible,.quantity-controls input:focus-visible,select:focus-visible{outline:4px solid #315e83;outline-offset:3px}.share-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px auto}.share-card{background:#fff9ec;border:2px solid #b6a383;border-radius:24px;padding:12px;text-align:center}.share-card h2{font-size:1rem;margin-bottom:6px}.quantity-art{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;min-height:48px}.quantity-art img{width:32px;height:32px}.quantity-controls{display:flex;justify-content:center;gap:8px;align-items:center;margin-top:8px}.quantity-controls input{width:70px}.quantity-change{background:#e8eddf;border-color:#7c9279;padding:6px 12px;font-size:1.5rem;width:48px}.construction{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px auto}.build-card{display:flex;flex-direction:column;align-items:center;background:#fff8e7;border-radius:18px;padding:8px}.build-add{width:110px;min-height:85px;padding:5px;background:#fffdf8;border-color:#a58b5b}.currency{display:grid;place-items:center;min-height:48px;font-weight:700;font-size:1.1rem}.currency.coin{width:64px;height:64px;border:4px double #755520;background:#f2cf69}.currency.bill{background:#dae7c9;border:2px solid #607848;border-radius:6px}.pack-icon{display:flex;align-items:center;justify-content:center;gap:5px}.pack-icon img{width:40px;height:40px}.pack-icon strong{font-size:1.5rem}.build-count{font-size:.8rem;margin-top:8px}.running-total{text-align:center;font-size:1rem;margin:14px auto}.take-board{text-align:center;padding:18px;background:#eee6d6;border-radius:22px}.take-board p{margin:10px}.take{display:flex;align-items:center;gap:14px;margin:auto}.take img{width:40px;height:40px}.shape-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}.shape-controls label{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:.85rem}.shape-controls select{font:inherit;min-width:80px;min-height:48px;border:2px solid #7c9279;border-radius:12px;background:#fffdf8;padding:8px}.array-preview{display:grid;gap:4px;justify-content:center;margin:20px auto;background:#ddd9c8;padding:14px;border-radius:16px;width:fit-content;max-width:100%}.array-preview>div{display:flex;gap:4px;justify-content:center}.array-preview img{width:32px;height:32px}.submit-row{display:flex;justify-content:center;margin:18px auto}.submit-row button{font-size:1rem}.teaching{border:2px solid #aa7c28;background:#fff3d4;border-radius:20px;padding:14px;margin:18px auto;max-width:850px;font-size:.95rem;text-align:center}.help-visual{margin-top:10px}.worked-solution{font-size:1.3rem;font-weight:650;margin-top:10px}.previous-steps{max-width:650px;margin:12px auto;font-size:.85rem}.previous-steps summary{cursor:pointer;min-height:48px;padding:12px;background:#e5eadf;border-radius:14px}.previous-steps p{padding:10px}.v4 .reserve{justify-content:space-between}.v4 .reserve-object{font-weight:700;font-size:1rem;border:2px solid #879676;background:#fffdf8}.v4 .result-text{font-size:1rem}.v4 .home-sub{line-height:1.5}@media(max-width:620px){.problem-equation{font-size:1.35rem}.visual-group{min-width:90px;max-width:125px;padding:8px 8px 24px}.visual-group img{width:24px;height:24px}.share-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.share-card{padding:8px 4px}.quantity-controls{gap:4px;flex-wrap:wrap}.quantity-controls input{width:62px}.quantity-change{width:48px;padding:4px}.construction{gap:8px}.build-add{width:80px;min-height:80px}.build-card,.array-preview{padding:6px}.array-preview img{width:22px;height:22px}.array-preview>div{gap:2px}.shape-controls{gap:12px}.teaching{font-size:.85rem}.answer-option{font-size:1.25rem;min-width:72px}.v4 .reserve{flex-direction:column;gap:6px}.v4 .reserve-objects{gap:8px}.v4 .reserve-object{width:48px}.v4 .companion p{font-size:.8rem}}.mission-data{text-align:center;font-size:1rem;font-weight:600;margin:12px auto;max-width:700px}.shape-controls select{color:#303b34}.v4 button{min-width:48px}.answer-option{max-width:100%;overflow-wrap:break-word}.ladybug .group-size{background:#fff8e8;color:#303b34;padding:0 5px;border-radius:8px}.v5{max-width:850px;padding-bottom:env(safe-area-inset-bottom)}.mission-top{position:sticky;top:0;background:#f5f0e6;z-index:20;padding-bottom:8px;border-bottom:1px solid #dfd7c6}.v5 .instruction{margin:8px auto}.v5 .instruction h1{font-size:1.3rem;line-height:1.25}.v5 .listen{margin-top:0;min-height:48px}.clue-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:4px auto}.clue{flex:1 1 100px;max-width:280px;padding:8px 12px;border:1px solid #a69a7d;border-radius:14px;background:#fffaf0;text-align:center;display:flex;flex-direction:column;gap:4px}.clue span{font-size:.7rem;color:#455242}.clue strong{font-size:1rem;line-height:1.2}.action-bar{position:sticky;bottom:0;background:#f5f0e6;z-index:15;padding:8px 0 max(6px,env(safe-area-inset-bottom));border-top:1px solid #dfd7c6}.v5 .submit-row{margin:0}.v5 .submit-row button{width:min(100%,360px);font-size:.95rem}.v5 .game-footer{margin-top:8px}.v5 .help-actions{gap:10px}.v5 .help-actions button{min-height:48px;min-width:48px}.v5 .companion{min-height:60px;margin:10px auto}.v5 .companion-fox{width:54px;height:60px}.v5 .companion p{font-size:.8rem;padding:10px}.v5 .game-header{min-height:48px}.v5 .game-brand{display:block;font-size:.7rem;text-align:center;max-width:180px}.v5 .mission-step{margin:2px}.compact-picture{display:flex;justify-content:center;align-items:center;gap:14px;margin:14px auto;background:#fff7e6;border:2px solid #b6a383;border-radius:22px;padding:12px;max-width:430px}.compact-picture>img{width:60px;height:60px}.compact-picture span{font-size:1rem;font-weight:650}.bug-sample{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:110px;min-height:86px;padding:16px 10px;border:3px solid #654135;border-radius:40%;background:#d96853}.bug-sample img{width:16px;height:16px}.bug-sample span{font-size:2rem;color:#202d25}.one-pack{max-width:420px;margin:10px auto;display:flex;flex-wrap:wrap;justify-content:center;gap:5px;background:#fff8e9;border:1px solid #b6a383;border-radius:16px;padding:12px}.one-pack img{width:32px;height:32px}.one-pack p{width:100%;text-align:center;font-size:.8rem}.recipe-picture,.rooms-picture,.orders-picture{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px auto;font-size:.85rem}.recipe-picture img,.rooms-picture img,.orders-picture img{width:45px;height:45px}.destination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:650px;margin:10px auto}.destination-button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-height:80px;padding:8px;border:2px solid #9b987c;background:#fffaf0}.destination-button span{font-size:.8rem}.destination-button strong{font-size:1.3rem}.destination-button.active{border-color:#345b43;background:#e7eddc}.allocation-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:12px auto}.allocation-controls>span{width:100%;text-align:center;font-size:.8rem}.allocation-controls button{min-width:64px;min-height:48px}.quantity-display{background:#fffdf8;border-color:#78907b;font-size:1.3rem}.v5 .construction{gap:10px}.v5 .build-add{width:100px;min-height:80px}.v5 .build-card{border:1px solid #b6a383}.available{font-size:.65rem;margin-top:8px;color:#455242}.build-controls{display:flex;gap:5px;margin-top:5px}.build-controls button{min-width:48px}.count-button{font-size:1rem;min-height:48px;border:1px solid #78907b;background:#fffdf8;padding:6px 10px}.v5 .shape-controls>div>span{display:block;text-align:center;font-size:.8rem;margin-bottom:6px}.shape-stepper{display:flex;align-items:center;gap:8px}.shape-stepper strong{min-width:32px;text-align:center}.compact-array{max-width:430px;margin:16px auto;padding:16px;background:#e2ddca;border-radius:18px;text-align:center}.compact-array>div{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.compact-array img{width:26px;height:26px}.compact-array p{font-size:.85rem;margin:8px}.compact-array strong{font-size:1.1rem}.number-pad{max-width:300px;margin:12px auto;text-align:center;border:1px solid #a69a7d;border-radius:20px;background:#fffaf0;padding:12px}.number-pad label{font-size:.8rem;display:block}.number-pad input{display:block;width:100%;max-width:190px;margin:6px auto 10px;font:inherit;font-size:1.7rem;text-align:center;min-height:54px;border:2px solid #7c9279;border-radius:14px;background:#fffdf8;color:#303b34}.number-pad input:focus-visible{outline:4px solid #315e83;outline-offset:2px}.digit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.digit{padding:6px;min-height:48px;font-size:1.2rem;background:#e7eddf;border-color:#9eab91}.pad-ok{background:#345b43;color:#fff;border-color:#345b43}.v5 .answer-options{gap:10px;margin:12px auto}.v5 .answer-option{font-size:1.15rem;min-width:76px;min-height:54px;padding:10px 15px}.verdict-options .answer-option{min-width:110px}.fox-claim{font-size:1.6rem;font-weight:650;text-align:center;padding:16px;margin:12px auto;background:#fff7e6;border:2px solid #b6a383;border-radius:20px}.machine-examples{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:14px auto}.machine-examples>div{display:flex;align-items:center;gap:12px;background:#e2eadd;border:2px solid #78907b;border-radius:16px;padding:12px}.machine-examples .sr-only{position:absolute}.machine-play{text-align:center;margin:12px auto}.trial{font-size:1rem;margin:8px}.found-solutions,.math-summary{font-size:.8rem;max-width:500px;margin:10px auto}.found-solutions summary,.math-summary summary{cursor:pointer;min-height:48px;padding:12px;border-radius:14px;background:#e6e9df}.found-solutions p,.math-summary p{padding:10px}.v5 .success-title{font-size:1rem}.v5 .success-actions{margin-top:8px}.v5 .result{margin:0 auto}.v5 .teaching{margin:10px auto}.v5 .reserve{padding:8px;gap:8px;margin:10px auto}.v5 .reserve-objects{gap:8px}.v5 .reserve-object{font-weight:700;font-size:1rem;border:2px solid #879676;background:#fffdf8}.v5 .selected{border-color:#345b43;background:#dcebd5}.v5 .notice{font-size:.7rem;margin:8px 0}@media(max-width:620px){.v5{padding:4px 12px 0}.v5 .instruction h1{font-size:1.02rem}.v5 .game-header .quiet{font-size:.7rem;padding:8px}.v5 .game-brand{max-width:132px;font-size:.65rem}.clue{padding:7px;flex-basis:95px}.clue span{font-size:.65rem}.clue strong{font-size:.9rem}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.destination-button{min-height:70px}.v5 .build-add{width:80px;min-height:76px}.v5 .build-card{padding:6px}.v5 .construction{gap:8px}.compact-array{padding:10px}.compact-array img{width:22px;height:22px}.v5 .shape-controls{gap:10px}.shape-stepper{gap:5px}.shape-stepper strong{min-width:24px}.shape-stepper .quantity-change{width:48px;padding:4px}.v5 .help-actions button{font-size:.78rem;padding:10px}.v5 .companion{gap:4px}.v5 .companion p{font-size:.75rem}.v5 .companion-fox{width:46px;height:54px}.v5 .reserve{flex-direction:column}.v5 .success-actions button{font-size:.85rem;padding:10px}.number-pad{max-width:276px}.v5 .answer-option{padding:8px 12px;font-size:1.05rem}.v5 .math-summary,.v5 .found-solutions{font-size:.75rem}.v5 .result .success-title{font-size:.9rem}.fox-claim{font-size:1.35rem}}@media(max-height:650px){.v5 .companion{min-height:45px}.v5 .companion-fox{width:40px;height:45px}.v5 .instruction{margin:2px auto}.v5 .clue{padding:5px}.v5 .number-pad{padding:8px}.v5 .action-bar{padding-top:4px}.v5 .game-footer{margin-top:4px}}.v5 .number-pad input{position:sticky;top:var(--mission-top-height,160px);z-index:21}.calculation-tile{font-size:1.1rem;font-weight:650;display:block;padding:8px 2px}.team-transfer{max-width:650px;margin:12px auto;text-align:center}.team-transfer label{display:block;font-size:.9rem;margin:8px}.team-transfer select{font:inherit;min-height:48px;max-width:100%;padding:8px 18px;border:2px solid #78907b;border-radius:14px;background:#fffdf8;color:#303b34}.team-transfer select:focus-visible{outline:4px solid #315e83;outline-offset:3px}.transfer-instructions{font-size:.8rem;margin:12px 0;line-height:1.4}.transfer-selection{font-size:.85rem;margin:8px 0}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.team-card{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:138px;padding:10px;border:2px solid #9b987c;background:#fffaf0;touch-action:none}.team-card>strong{font-size:1.8rem}.team-card>span{font-size:.8rem}.team-card .team-command{font-size:.72rem;text-decoration:underline}.team-transfer>.secondary{font-size:.8rem;min-height:48px}@media(min-width:720px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.team-feedback{font-size:.85rem;line-height:1.4;margin:8px 0}.team-layout-controls{display:flex;justify-content:center;gap:12px;margin:16px auto;flex-wrap:wrap}.team-layout-controls label{font-size:.8rem;flex:1 1 125px;max-width:220px;text-align:center}.team-layout-controls select{display:block;width:100%;font:inherit;min-height:48px;padding:8px;border:2px solid #78907b;border-radius:14px;margin-top:8px;background:#fffdf8;color:#303b34}.team-layout-controls select:focus-visible{outline:4px solid #315e83;outline-offset:3px}.layout-placeholder{text-align:center;font-size:.85rem;margin:16px auto}.transfer-selection:empty,.team-feedback:empty{display:none}.team-grid,.team-card{scroll-margin-top:calc(var(--mission-top-height,160px) + 8px);scroll-margin-bottom:150px}.mission-top.scrolling-instructions{position:static}.v5 button,.v5 select,.v5 input{scroll-margin-top:calc(var(--mission-top-height,0px) + 8px);scroll-margin-bottom:160px}.running-total{overflow-wrap:anywhere;line-height:1.5}.v5 select:disabled{opacity:.75}.v5 .pack-icon{display:flex;flex-direction:column;align-items:center;gap:4px}.v5 .pack-icon strong{white-space:nowrap;font-size:1rem}.pack-name{font-size:.7rem;max-width:100px;line-height:1.3;margin-bottom:6px;text-align:center}.listen-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 8px}.listen-actions .listen{min-height:44px;margin-top:6px;font-size:.8rem}.choice-option{display:flex;flex-direction:column;align-items:stretch;min-width:76px;max-width:240px}.room-description{font-size:.85rem;line-height:1.4;padding:0 8px;margin:6px 0;text-align:center}.choice-option .answer-option{width:100%}@media(max-width:430px){.v5 .listen-actions .listen{padding:6px 8px;font-size:.75rem}.choice-option{max-width:135px}.v5 .build-card{min-width:100px}.v5 .build-controls{justify-content:center}.mission-step{font-size:.85rem}.previous-steps button{min-height:44px}}.add-label{display:block;font-size:.7rem;font-weight:600;margin-top:5px}.v5 .build-add{height:auto;min-height:82px}.pack-icon strong small{display:block;font-size:.65rem;font-weight:400;line-height:1.2}.atelier{--atelier-ink:#293f39;--atelier-accent:#38694c;--atelier-tint:#edf3e6;--atelier-border:#a8b9a0;--atelier-paper:#fffdf6;color:var(--atelier-ink);background:radial-gradient(#7182630b .8px,transparent .8px) 0 0/9px 9px,#faf8ef;border-radius:28px;max-width:850px;padding:12px 24px 18px;margin:14px auto;box-shadow:0 5px 30px #4a513010}.atelier-market{--atelier-accent:#87462e;--atelier-tint:#fff0df;--atelier-border:#d3b59a;background-color:#fdf7ee}.atelier-machine{--atelier-accent:#355c72;--atelier-tint:#eaf2f3;--atelier-border:#9cb5bf;background-color:#f3f7f5}.atelier .mission-top,.atelier .action-bar{position:static;background:transparent;border:0;z-index:auto}.atelier .mission-top{padding:0 0 12px}.atelier .action-bar{padding:12px 0 0;border-top:1px solid var(--atelier-border);margin-top:14px}.atelier .game-header{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin-bottom:10px}.atelier .game-header .atelier-title{font-family:Trebuchet MS,Segoe UI,sans-serif;font-size:1.04rem;font-weight:700;letter-spacing:.015em;line-height:1.16;max-width:300px;margin:0 auto;color:var(--atelier-accent)}.atelier .game-header .quiet{background:var(--atelier-paper);border:1px solid var(--atelier-border);border-radius:16px;box-shadow:0 2px #685f3810;padding:8px 12px}.atelier .mission-step{color:var(--atelier-accent);font-size:.75rem;margin:7px auto}.atelier .instruction{margin:8px auto 12px;max-width:680px}.atelier .instruction h1{font-size:1.24rem;line-height:1.34;font-weight:650;color:var(--atelier-ink)}.atelier .listen-actions{gap:6px 10px;margin:8px auto}.atelier .listen-actions .listen{font-size:.76rem;border:1px solid var(--atelier-border);background:var(--atelier-paper);color:var(--atelier-accent);border-radius:14px;padding:8px 12px;min-height:44px}.atelier .clue-cards{gap:8px;margin:12px auto 0}.atelier .clue{background:var(--atelier-paper);border:1px solid var(--atelier-border);border-radius:17px;padding:10px 12px;box-shadow:0 3px #746c3a08;flex-basis:90px}.atelier .clue span{color:#45544b;font-size:.72rem}.atelier .clue strong{font-size:1.05rem;font-variant-numeric:tabular-nums}.atelier button{transition:background-color .12s,border-color .12s;color:var(--atelier-ink)}.atelier button:focus-visible,.atelier select:focus-visible,.atelier input:focus-visible,.atelier summary:focus-visible{outline:4px solid #235db0;outline-offset:3px}.atelier .primary,.atelier .pad-ok{background:var(--atelier-accent);border-color:var(--atelier-accent);color:#fffdf8;box-shadow:0 3px #243c3626}.atelier .secondary,.atelier .digit{background:var(--atelier-tint);border-color:var(--atelier-border)}.atelier .quiet{color:var(--atelier-accent)}.atelier .selected,.atelier .destination-button.active{border-color:var(--atelier-accent);background:var(--atelier-tint);box-shadow:inset 0 0 0 1px var(--atelier-accent)}.atelier .answer-option{background:var(--atelier-paper);border:2px solid var(--atelier-border);border-radius:17px;min-height:56px}.atelier .answer-option.selected{border-color:var(--atelier-accent);background:var(--atelier-tint)}.atelier .previous-steps summary,.atelier .math-summary summary,.atelier .found-solutions summary{background:var(--atelier-tint);border:1px solid var(--atelier-border);color:var(--atelier-ink);border-radius:15px}.atelier .previous-steps{margin:0 auto 14px}.atelier .problem-equation{color:var(--atelier-accent);font-size:1.45rem}.atelier .number-pad{border:1px solid var(--atelier-border);background:var(--atelier-paper);border-radius:22px;box-shadow:0 4px #3b55440a;max-width:300px}.atelier .number-pad input{position:static;border-color:var(--atelier-border);color:var(--atelier-ink)}.atelier .teaching{border-color:#b89954;background:#fff5db;line-height:1.5}.atelier .companion{max-width:620px;gap:10px;align-items:center;min-height:68px;margin:16px auto}.atelier .companion .seed-mascot{width:60px;height:64px;flex-shrink:0;object-fit:contain}.atelier .companion p{border:1px solid var(--atelier-border);border-radius:18px 18px 18px 5px;background:var(--atelier-paper);box-shadow:none;line-height:1.4;color:var(--atelier-ink);padding:12px;font-size:.8rem}.atelier .companion .replay{background:var(--atelier-tint);border:1px solid var(--atelier-border);min-width:44px;min-height:44px}.atelier.is-ready .companion .seed-mascot{width:70px;height:70px}.atelier .result{background:var(--atelier-tint);border:1px solid var(--atelier-border);border-radius:23px;padding:14px;box-shadow:0 4px #5764450a}.atelier .result .success-title{font-size:1rem;color:var(--atelier-accent)}.atelier .game-footer{margin:10px auto 0}.atelier .help-actions{justify-content:center}.atelier .notice:empty{display:none}.atelier .notice{min-height:0}.atelier button,.atelier input,.atelier select,.atelier .team-card,.atelier .team-grid{scroll-margin:12px 0 18px}.atelier .reserve{display:flex;flex-direction:column;align-items:center;border:1px solid var(--atelier-border);background:var(--atelier-tint);border-radius:22px;max-width:650px;padding:12px;margin:4px auto 14px;gap:10px}.atelier .reserve>span:first-child{font-size:.85rem}.atelier .reserve>span:first-child strong{font-size:1.35rem;color:var(--atelier-accent)}.atelier .reserve-harvest{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;max-width:260px;min-height:35px}.atelier .reserve-harvest .counted-apple{width:29px;height:29px}.atelier .apple-bundle{display:flex;justify-content:center;align-items:center;gap:8px;font-size:1.25rem;color:var(--atelier-ink)}.atelier .apple-bundle>img{width:39px;height:39px}.atelier .reserve-objects{justify-content:center;flex-wrap:wrap;gap:8px}.atelier .reserve-object{width:46px;min-height:46px;padding:6px;background:var(--atelier-paper);border-color:var(--atelier-border);font-size:.95rem}.atelier .destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px auto;max-width:650px}.atelier .destination-button,.atelier .team-card{border:2px solid var(--atelier-border);background:var(--atelier-paper);border-radius:23px;padding:10px 6px;min-height:176px;gap:2px;box-shadow:0 4px #76744712}.atelier .basket-name{font-size:.8rem!important;font-weight:650;letter-spacing:.01em;color:var(--atelier-accent)}.atelier .basket-view{display:block;position:relative;width:100%;max-width:152px;aspect-ratio:4/3;flex-shrink:0;isolation:isolate}.atelier .basket-layer{position:absolute;width:100%;height:100%;inset:0;object-fit:contain;z-index:0}.atelier .basket-front{z-index:2}.atelier .apple-load{position:absolute;inset:9% 10% 42%;display:flex;justify-content:center;align-content:flex-end;align-items:flex-end;flex-wrap:wrap;gap:0;z-index:1}.atelier .apple-load>.counted-apple{width:20%;max-width:24px;height:auto;aspect-ratio:1;object-fit:contain;flex-shrink:0}.atelier .apple-load .apple-bundle{gap:4px;font-size:.95rem;align-self:center}.atelier .apple-load .apple-bundle img{width:29px;height:29px}.atelier .empty-basket{font-size:.7rem;color:#58634f;align-self:center}.atelier .basket-quantity{font-size:.72rem!important;line-height:1.2}.atelier .basket-quantity strong{font-size:1.26rem!important;font-weight:700;font-variant-numeric:tabular-nums}.atelier .team-card .team-command{font-size:.7rem;margin-top:6px;color:var(--atelier-accent)}.atelier .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.atelier .team-transfer{max-width:650px;margin:0 auto}.atelier .team-transfer label{font-size:.85rem}.atelier .team-transfer select{border-color:var(--atelier-border);background:var(--atelier-paper);font-size:.9rem}.atelier .transfer-instructions{font-size:.8rem;line-height:1.4;margin:12px 0}.atelier .transfer-selection{background:var(--atelier-tint);border-radius:12px;padding:8px;font-size:.8rem}.atelier .allocation-controls{padding:12px;background:var(--atelier-tint);border-radius:20px;max-width:400px;border:1px solid var(--atelier-border)}.atelier .allocation-controls button{min-width:64px}.atelier .allocation-controls .quantity-display{background:var(--atelier-paper);border-color:var(--atelier-border)}.atelier-market .construction{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:650px;margin:4px auto 16px;align-items:stretch}.atelier-market .build-card{min-width:0;border:1px solid var(--atelier-border);border-radius:22px;background:var(--atelier-paper);padding:12px 8px;box-shadow:0 4px #9e755014}.atelier-market .pack-name{font-size:.8rem;max-width:none;min-height:1.3em;font-weight:650;color:var(--atelier-accent);margin:0 0 8px}.atelier-market .build-add{width:100%;background:transparent;border:0;border-radius:15px;padding:6px 2px;box-shadow:none;min-height:120px}.atelier-market .build-add:not(:disabled):hover{background:var(--atelier-tint)}.atelier-market .pack-icon{gap:6px}.atelier-market .pack-icon .juice-illustration{width:76px;height:95px;object-fit:contain}.atelier-market .pack-icon strong{font-size:1.16rem;color:var(--atelier-ink);font-variant-numeric:tabular-nums}.atelier-market .add-label{color:var(--atelier-accent);font-size:.76rem;text-decoration:underline;margin-top:8px}.atelier-market .available{font-size:.72rem;color:#584c40;margin:8px 0 4px}.atelier-market .build-controls{gap:7px;margin-top:4px;width:100%;justify-content:center}.atelier-market .build-controls button{min-width:44px;min-height:44px;padding:6px;border:1px solid var(--atelier-border);border-radius:13px;background:var(--atelier-tint)}.atelier-market .build-controls .count-button{background:var(--atelier-paper);font-size:1.15rem}.atelier-market .running-total{font-size:.85rem;max-width:600px;margin:12px auto;text-align:center}.atelier-market .shopping-bag{display:flex;align-items:center;justify-content:center;gap:10px;max-width:650px;background:var(--atelier-tint);border:1px solid var(--atelier-border);border-radius:22px;padding:10px 14px;margin:14px auto}.atelier-market .tote-art{width:94px;height:78px;flex-shrink:0;display:block}.atelier-market .tote-art img{width:100%;height:100%;object-fit:contain}.atelier-market .shopping-bag>div{display:flex;flex-direction:column;gap:3px}.atelier-market .bag-label{color:var(--atelier-accent);font-size:.72rem}.atelier-market .bag-contents{font-size:.72rem;color:#584c40;line-height:1.5;display:flex;flex-wrap:wrap;gap:0 10px}.atelier-market .market-purchase{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin:4px auto 18px;padding:12px;max-width:450px;border-radius:22px;background:var(--atelier-tint)}.atelier-market .market-purchase img{width:48px;height:60px}.atelier-market .market-purchase strong{font-size:1.4rem;color:var(--atelier-accent)}.atelier-market .currency.coin{width:64px;height:64px;background:radial-gradient(circle at 35% 25%,#fff1b0,#ebc165);border-color:#94712f;color:#54401d;box-shadow:0 3px #b18b3f40}.atelier-market .currency.bill{padding:8px;width:100%;background:repeating-linear-gradient(45deg,#dfe9cf,#dfe9cf 3px,#d8e3c8 3px 4px);border:2px solid #70835c;box-shadow:0 3px #869c5d22;color:#364f2c;border-radius:10px}.atelier-market .build-add:has(.currency){min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center}.atelier-machine .number-machine{position:relative;isolation:isolate;max-width:420px;margin:4px auto 22px;padding:14px 18px 20px;border:3px solid #58838c;border-bottom:7px solid #416b76;border-radius:34px 34px 25px 25px;background:linear-gradient(145deg,#c6ded8,#a9cfcc);box-shadow:inset 0 2px #f6fff3,0 7px #33586b12}.atelier-machine .machine-crown{height:54px;display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px;gap:12px}.atelier-machine .machine-lamp{display:block;width:25px;height:25px;border-radius:50%;background:#f3d47d;border:4px solid #65857c;box-shadow:inset 1px 1px #fff3c9,0 2px #3c6a6820}.atelier-machine .machine-rivets{font-size:.7rem;letter-spacing:8px;color:#5b8583}.atelier-machine .machine-gear{width:54px;height:54px;object-fit:contain;will-change:transform}.atelier-machine .machine-columns{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;text-align:center;font-size:.75rem;font-weight:650;color:#2d4d53;margin-bottom:6px}.atelier-machine .number-machine .machine-examples{display:flex;flex-direction:column;gap:8px;margin:0}.atelier-machine .number-machine .machine-example{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;padding:0;border:0;background:transparent;border-radius:0}.atelier-machine .machine-port{display:flex;align-items:center;justify-content:center;min-height:58px;font-size:1.7rem;font-variant-numeric:tabular-nums;border:2px solid #739796;border-bottom-width:4px;background:#fffdf1;color:#284c51;border-radius:13px;box-shadow:inset 0 3px #77837b0c;font-weight:650}.atelier-machine .machine-arrow{font-size:1.5rem;color:#3e686f;text-align:center}.atelier-machine .machine-rule-label{font-size:.72rem;color:#294e55;text-align:center;padding:8px 12px;border:1px solid #6f9896;border-radius:10px;margin:12px auto 0;background:#e2eee1;max-width:240px}.atelier-machine .machine-feet{position:absolute;bottom:-13px;left:32px;right:32px;display:flex;justify-content:space-between;z-index:-1}.atelier-machine .machine-feet i{width:34px;height:12px;border-radius:0 0 5px 5px;background:#416b76}.atelier-machine .machine-play{max-width:420px;margin:12px auto;padding:12px;border:1px solid var(--atelier-border);border-radius:21px;background:var(--atelier-paper)}.atelier-machine .trial{font-size:1rem;font-weight:650;letter-spacing:.03em;background:var(--atelier-tint);border:1px dashed var(--atelier-border);border-radius:12px;padding:8px;margin:0 auto 8px;max-width:260px}.atelier-machine .machine-play>.quiet{background:var(--atelier-tint);border:1px solid var(--atelier-border);border-radius:14px}.atelier-flight{position:fixed;display:flex;align-items:center;justify-content:center;gap:4px;pointer-events:none!important;z-index:999;transform-origin:center;filter:drop-shadow(0 3px 3px #384d3825);font:700 16px Segoe UI,sans-serif;color:#293f39}.atelier-flight img{width:100%;height:100%;object-fit:contain}.atelier-flight b{background:#fffdf1;border:1px solid #a8b9a0;border-radius:9px;padding:2px 5px;white-space:nowrap}.atelier .art-pending{visibility:hidden}@media(min-width:620px){.atelier .destination-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.atelier .team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.atelier{margin:0 auto;padding:8px 12px 16px;border-radius:0;box-shadow:none}.atelier .game-header .atelier-title{font-size:.85rem;max-width:180px}.atelier .game-header .quiet{font-size:.69rem;padding:7px 9px}.atelier .instruction h1{font-size:1.06rem;line-height:1.35}.atelier .listen-actions .listen{font-size:.75rem;padding:7px 10px}.atelier .clue{padding:9px 7px}.atelier .clue strong{font-size:.95rem}.atelier .clue span{font-size:.7rem}.atelier .companion .seed-mascot{width:52px;height:57px}.atelier .companion p{font-size:.76rem;padding:10px}.atelier .companion{gap:6px;margin:14px auto}.atelier .destination-grid,.atelier .team-grid{gap:10px}.atelier .destination-button,.atelier .team-card{min-height:163px;padding:9px 5px}.atelier .basket-view{max-width:142px}.atelier .basket-name{font-size:.75rem!important}.atelier .allocation-controls{margin:12px auto}.atelier-market .construction{gap:9px}.atelier-market .build-card{padding:10px 6px}.atelier-market .pack-name{font-size:.74rem}.atelier-market .build-add{width:100%;padding:4px 0}.atelier-market .pack-icon .juice-illustration{width:65px;height:82px}.atelier-market .pack-icon strong{font-size:1.05rem}.atelier-market .available{font-size:.7rem}.atelier-market .shopping-bag{padding:10px;gap:6px}.atelier-market .shopping-bag strong{font-size:.92rem}.atelier-market .tote-art{width:82px;height:74px}.atelier .result{padding:12px}.atelier .help-actions{gap:8px}.atelier .help-actions button{font-size:.8rem}.atelier .number-pad{max-width:280px;padding:12px}.atelier-machine .number-machine{padding:12px 16px 16px;max-width:350px}.atelier-machine .machine-port{font-size:1.5rem;min-height:54px}.atelier .problem-equation{font-size:1.25rem}}@media(max-width:359px){.atelier .game-header{gap:5px}.atelier .game-header .atelier-title{font-size:.78rem;max-width:136px}.atelier .game-header .quiet{font-size:.66rem;padding:6px 8px}.atelier-market .construction{grid-template-columns:repeat(2,minmax(0,1fr));max-width:330px}.atelier-market .construction:not(.juice-shelf)>.build-card:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 9px)/2);justify-self:center}.atelier-market .pack-icon .juice-illustration{width:70px;height:88px}.atelier .basket-view{max-width:130px}.atelier .basket-name{font-size:.73rem!important}.atelier .destination-button,.atelier .team-card{min-height:154px}.atelier .companion .seed-mascot{width:47px;height:52px}.atelier .companion .replay{padding:8px;flex-shrink:0}.atelier-machine .number-machine{border-radius:28px 28px 22px 22px}.atelier-machine .machine-crown{height:45px}.atelier-machine .machine-gear{width:46px;height:46px}}@media(prefers-reduced-motion:reduce){.atelier *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.atelier-flight{display:none!important}.atelier .art-pending{visibility:visible!important}}.atelier .basket-example{display:flex;justify-content:center;margin:4px auto 18px;text-align:center}.atelier .basket-example>div{display:flex;flex-direction:column;align-items:center;width:160px;padding:10px;background:var(--atelier-paper);border:1px solid var(--atelier-border);border-radius:22px}.atelier .apple-load[data-quantity="6"]{display:grid;grid-template-columns:repeat(3,24px)}.atelier .apple-load[data-quantity="7"],.atelier .apple-load[data-quantity="8"]{display:grid;grid-template-columns:repeat(4,22px)}.atelier .apple-load[data-quantity="9"],.atelier .apple-load[data-quantity="10"]{display:grid;grid-template-columns:repeat(5,20px)}.atelier .apple-load:is([data-quantity="6"],[data-quantity="7"],[data-quantity="8"],[data-quantity="9"],[data-quantity="10"])>.counted-apple{width:100%;height:auto;max-width:none}.atelier .digit.pad-ok{background:var(--atelier-accent);border-color:var(--atelier-accent);color:#fffdf8}.atelier .basket-example-detail>div{width:220px}.atelier .basket-example-detail .basket-view{max-width:210px}.atelier-machine .machine-play .trial{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px auto 0}.atelier-machine .trial-gear{width:26px;height:26px;object-fit:contain}.atelier button,.atelier select,.atelier input,.atelier .listen-actions .listen,.atelier .companion .replay,.atelier .build-controls button{min-height:48px;min-width:48px}.atelier .listen-actions{gap:6px}.atelier .listen-actions .listen{font-size:.7rem;padding:6px 8px}.atelier .game-header .atelier-title{font-size:.85rem;letter-spacing:0}.atelier-baskets .mission-top:after{content:"";display:block;height:16px;margin:4px auto -5px;background:url(../art/atelier/orchard-branch.svg) center/150px 18px no-repeat}.atelier .reserve-object{position:relative;width:48px}.atelier .reserve-object.selected:after{content:"✓";position:absolute;right:-5px;top:-7px;width:20px;height:20px;font-size:.65rem;line-height:20px;border-radius:50%;background:var(--atelier-accent);color:#fffdf8}.atelier .destination-button.active .basket-name:before,.atelier .team-card.selected .basket-name:before{content:"✓ ";font-size:.7rem}.atelier.many-baskets .destination-grid,.atelier.many-baskets .team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.atelier.many-baskets .destination-button,.atelier.many-baskets .team-card{min-height:125px;border-radius:18px;padding:7px 3px;gap:1px}.atelier.many-baskets .basket-view{max-width:98px}.atelier.many-baskets .basket-name,.atelier.many-baskets .basket-quantity{font-size:.7rem!important}.atelier.many-baskets .basket-quantity strong{font-size:1.15rem!important}.atelier.many-baskets .apple-load[data-quantity="6"]{grid-template-columns:repeat(3,19px)}.atelier.many-baskets .apple-load[data-quantity="7"],.atelier.many-baskets .apple-load[data-quantity="8"]{grid-template-columns:repeat(4,17px)}.atelier.many-baskets .apple-load[data-quantity="9"],.atelier.many-baskets .apple-load[data-quantity="10"]{grid-template-columns:repeat(5,14px)}.atelier.many-baskets .apple-load .apple-bundle{font-size:.8rem;gap:1px}.atelier.many-baskets .apple-load .apple-bundle img{width:22px;height:22px}.atelier.many-baskets .reserve{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;padding:10px}.atelier.many-baskets .reserve>span:first-child{font-size:.76rem}.atelier.many-baskets .reserve>span:first-child strong{font-size:1.15rem}.atelier.many-baskets .reserve-harvest{justify-self:end;min-height:30px}.atelier.many-baskets .reserve-harvest .apple-bundle{font-size:1.1rem}.atelier.many-baskets .reserve-harvest .apple-bundle img{width:30px;height:30px}.atelier.many-baskets .reserve-objects{grid-column:1/-1;gap:7px}.atelier.many-baskets .allocation-controls{padding:8px;gap:6px;margin:10px auto}.atelier.many-baskets .allocation-controls>span{font-size:.75rem}.atelier-market .mission-top:before{content:"";display:block;height:8px;margin:-8px -12px 10px;border-radius:0 0 9px 9px;background:repeating-linear-gradient(90deg,#e4b492 0 20px,#f6e9d1 20px 40px)}.atelier-market .clue-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:650px}.atelier-market .clue{max-width:none;padding:8px 10px;border-radius:16px;justify-content:center;gap:3px}.atelier-market .clue>span{font-size:.72rem}.atelier-market .clue strong{font-size:1rem;line-height:1.3}.atelier-market .clue-budget{background:#fbedd4;border:2px solid #b58d51}.atelier-market .clue-budget strong{font-size:1.3rem}.atelier-market .clue-constraint{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;text-align:left;background:#f7f1e6}.atelier-market .clue-constraint strong{font-size:.8rem;font-weight:550}.atelier-market .clue-constraint>span{flex-shrink:0;color:var(--atelier-accent)}.atelier-market .construction.juice-shelf{display:flex;flex-direction:column;gap:10px;max-width:650px;margin:4px auto 12px}.atelier-market .juice-shelf>.juice-card{display:grid;grid-template-columns:minmax(0,1fr) 112px;grid-template-rows:auto auto;gap:5px 8px;width:100%;padding:11px 12px 10px;border-radius:21px;border-bottom:3px solid #c7a581;background:linear-gradient(100deg,#fffdf6,#fffaf1);box-shadow:0 3px #a0794810;align-items:center}.atelier-market .juice-card .pack-name{grid-column:1;grid-row:1;text-align:left;margin:0;max-width:none;font-size:.85rem;color:#6b402b;font-weight:650}.atelier-market .juice-card .available{grid-column:2;grid-row:1;text-align:center;font-size:.72rem;margin:0;color:#5b5446}.atelier-market .juice-card .build-add{grid-column:1;grid-row:2;padding:4px 3px;min-height:90px;width:100%;border:1px solid #e3cfb5;background:#fffaf0;border-radius:15px;text-align:left}.atelier-market .juice-card .build-add:hover:not(:disabled){background:#fff0d9}.atelier-market .juice-card .pack-icon{display:flex;flex-direction:row;justify-content:flex-start;gap:5px}.atelier-market .juice-card .pack-icon .juice-illustration{width:55px;height:70px;flex-shrink:0}.atelier-market .juice-card .product-offer{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.atelier-market .juice-card .product-offer strong{font-size:1.2rem;line-height:1.1;color:#4e3d29}.atelier-market .juice-card .add-label{font-size:.72rem;font-weight:650;margin:0;white-space:nowrap;color:var(--atelier-accent)}.atelier-market .juice-card .quantity-area{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:5px}.atelier-market .juice-card .quantity-caption{font-size:.7rem;color:#514e3f}.atelier-market .juice-card .build-controls{display:flex;gap:8px;margin:0;width:112px}.atelier-market .juice-card .build-controls button{width:48px;min-width:48px;min-height:50px;border-radius:14px;font-size:1.15rem}.atelier-market .juice-card .build-controls .count-button{width:56px;font-weight:650;background:#fffdf6;border:2px solid #b5916c}.atelier-market .shopping-bag{background:linear-gradient(110deg,#f4edd9,#fff0df);border-radius:23px}.atelier-market .tote-art img{transform:scaleX(calc(1 + var(--bag-fullness,0)*.08));transform-origin:center bottom}.atelier-market .shopping-bag.has-items .tote-art{filter:saturate(1.1)}.atelier-market .shopping-bag strong{font-size:1rem}.atelier-market .bag-contents{font-size:.74rem}.atelier-machine .number-machine{background:radial-gradient(ellipse at 22% 0,#faffd766,transparent 60%),linear-gradient(145deg,#c6ded8,#a9cfcc);box-shadow:inset 0 2px #f6fff3,inset 3px 0 #d9ece4,0 7px #33586b12}.atelier-machine .machine-port{box-shadow:inset 0 4px #6b7c6a0c,0 1px #ecfff380}.atelier-machine .machine-columns{font-size:.78rem}.atelier-machine .machine-rule-label{font-size:.75rem;background:#e7f0df}.atelier .companion .seed-mascot{width:54px;height:58px}.atelier.is-ready .companion{align-items:center;gap:7px;min-height:104px}.atelier.is-ready .companion .seed-mascot{width:96px;height:104px}.atelier.is-ready .companion p{font-size:.78rem;padding:9px}@media(min-width:410px){.atelier.many-baskets .destination-grid,.atelier.many-baskets .team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.atelier-market .juice-card .pack-icon .juice-illustration{width:66px;height:82px}.atelier-market .juice-card .product-offer{margin-left:9px}.atelier-market .juice-card .product-offer strong{font-size:1.3rem}.atelier-market .juice-card .build-add{min-height:94px}}@media(min-width:620px){.atelier.many-baskets .destination-grid,.atelier.many-baskets .team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.atelier.many-baskets .basket-view{max-width:120px}.atelier.many-baskets .destination-button,.atelier.many-baskets .team-card{min-height:146px}.atelier-market .mission-top:before{margin:-12px -24px 12px}.atelier-market .juice-shelf>.juice-card{grid-template-columns:minmax(0,1fr) 142px}.atelier-market .juice-card .pack-name{font-size:.95rem}.atelier-market .juice-card .build-controls{width:auto}}.atelier-market .construction:not(.juice-shelf) .build-card{padding-left:2px;padding-right:2px}.atelier-market .construction:not(.juice-shelf) .build-controls{gap:4px}.atelier.pilot{max-width:720px;margin:0 auto;padding:4px 12px 0;border-radius:0;box-shadow:none}.pilot .pilot-header{display:grid;grid-template-columns:48px minmax(0,1fr) auto 48px;gap:5px;align-items:center;min-height:48px;margin:0 0 4px}.pilot .pilot-header button{padding:6px 10px;border:1px solid var(--atelier-border);background:var(--atelier-paper);border-radius:14px;font-size:.8rem}.pilot .pilot-header button:first-child{font-size:1.2rem}.pilot .pilot-stage{font-size:.72rem;color:var(--atelier-accent)}.pilot .pilot-brief{padding:12px;margin:4px 0 8px;border:1px solid var(--atelier-border);border-radius:22px;background:var(--atelier-paper);text-align:center}.pilot .pilot-brief[hidden]{display:none}.pilot .pilot-brief .atelier-title{color:var(--atelier-accent);font:700 1rem Trebuchet MS,Segoe UI,sans-serif;margin-bottom:10px}.pilot .pilot-brief h1{font-size:1.1rem;line-height:1.35}.pilot .brief-listen{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin:8px 0}.pilot .brief-listen button{font-size:.72rem;padding:6px 8px}.pilot .pilot-brief .primary{min-width:170px;font-size:1rem;padding:8px 18px}.pilot .pilot-context{margin:0 0 6px}.pilot .pilot-data{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 14px;margin:0;padding:5px 4px;font-size:.75rem;line-height:1.3}.pilot .pilot-data>div{display:flex;align-items:baseline;gap:5px;max-width:100%}.pilot .pilot-data dt{font-size:.72rem;color:#4f5a4a}.pilot .pilot-data dd{font-weight:650;margin:0;overflow-wrap:anywhere}.pilot .pilot-data>div:last-child:nth-child(3){flex-basis:100%;justify-content:center}.pilot .pilot-data>div:last-child:nth-child(3) dd{font-size:.73rem}.pilot .previous-steps{margin:3px 0;font-size:.75rem;max-width:none}.pilot .previous-steps summary{min-height:48px;padding:12px}.pilot .previous-steps p{padding:6px}.pilot .pilot-scene{outline-offset:2px;scroll-margin:4px;min-width:0}.pilot .reserve{border:0;background:var(--atelier-tint);border-radius:18px;padding:6px 8px;gap:4px;max-width:none;margin:0 0 6px;display:grid;grid-template-columns:1fr auto}.pilot .reserve>span:first-child{font-size:.73rem}.pilot .reserve>span:first-child strong{font-size:1.15rem}.pilot .reserve-harvest{min-height:24px;max-width:190px;justify-self:end}.pilot .reserve-harvest .counted-apple{width:21px;height:21px}.pilot .reserve-harvest .apple-bundle{font-size:.95rem;gap:4px}.pilot .reserve-harvest .apple-bundle img{width:26px;height:26px}.pilot .reserve-objects{grid-column:1/-1;gap:5px;justify-content:center}.pilot .reserve-object{min-height:48px;width:48px;padding:4px}.pilot .destination-grid,.pilot .team-grid{gap:6px;margin:6px 0;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}.pilot .destination-button,.pilot .team-card{padding:6px 3px;min-height:120px;border-radius:18px;gap:0}.pilot .basket-view{max-width:104px}.pilot .basket-name,.pilot .basket-quantity{font-size:.7rem!important}.pilot .basket-quantity strong{font-size:1.2rem!important}.pilot .allocation-controls{display:flex;flex-wrap:nowrap;justify-content:space-between;max-width:400px;gap:5px;margin:6px auto;padding:5px 7px;border-radius:16px}.pilot .allocation-controls>span{font-size:.7rem;width:auto;white-space:nowrap}.pilot .allocation-controls button{min-width:48px;min-height:48px;padding:5px 8px;font-size:1rem}.pilot .allocation-controls .quantity-display{min-width:55px}.pilot.many-baskets .destination-grid,.pilot.many-baskets .team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.pilot.many-baskets .destination-button,.pilot.many-baskets .team-card{min-height:106px;padding:5px 2px}.pilot.many-baskets .basket-view{max-width:83px}.pilot.many-baskets .basket-quantity{font-size:.65rem!important}.pilot.many-baskets .basket-name{font-size:.67rem!important}.pilot.many-baskets .basket-quantity strong{font-size:1.1rem!important}.pilot.many-baskets .reserve{padding:6px 8px;gap:3px}.pilot.many-baskets .reserve-objects{gap:5px}.pilot.many-baskets .allocation-controls{padding:5px 7px;gap:5px;margin:6px auto}.pilot.many-baskets .apple-load[data-quantity="6"]{grid-template-columns:repeat(3,16px)}.pilot.many-baskets .apple-load[data-quantity="7"],.pilot.many-baskets .apple-load[data-quantity="8"]{grid-template-columns:repeat(4,14px)}.pilot.many-baskets .apple-load[data-quantity="9"],.pilot.many-baskets .apple-load[data-quantity="10"]{grid-template-columns:repeat(5,12px)}.pilot .team-transfer{margin:0;max-width:none}.pilot .team-transfer>label{display:inline;font-size:.72rem;margin:0 6px 0 0}.pilot .team-transfer select{font-size:.8rem;padding:5px;min-height:48px}.pilot .transfer-instructions{font-size:.7rem;line-height:1.3;margin:4px 0}.pilot .transfer-selection{padding:4px;margin:3px 0;font-size:.7rem}.pilot .team-card .team-command{margin-top:1px;font-size:.63rem}.pilot .team-feedback{font-size:.7rem;margin:4px 0}.pilot .team-transfer>.secondary{min-height:48px;padding:6px 10px;font-size:.72rem}.pilot.atelier-market .shopping-bag{margin:0 0 6px;padding:4px 8px;gap:6px;border-radius:17px;justify-content:flex-start;min-height:55px}.pilot.atelier-market .tote-art{width:63px;height:47px}.pilot.atelier-market .shopping-bag strong{font-size:.86rem}.pilot.atelier-market .bag-contents{font-size:.65rem;line-height:1.25;display:block}.pilot.atelier-market .pilot-products{display:flex;flex-direction:column;gap:5px;margin:0;max-width:none}.pilot.atelier-market .pilot-products>.build-card{display:grid;grid-template-columns:minmax(0,1fr) 102px;gap:5px;padding:5px 7px;border-radius:17px;border-bottom:3px solid #c7a581;align-items:center;min-height:91px;background:linear-gradient(100deg,#fffdf6,#fffaf1)}.pilot.atelier-market .pilot-products .build-add{display:flex;align-items:center;justify-content:flex-start;gap:6px;width:100%;padding:2px;background:transparent;border:0;min-height:77px;text-align:left}.pilot.atelier-market .pilot-products .juice-illustration{width:47px;height:62px;flex-shrink:0}.pilot.atelier-market .offer{display:flex;flex-direction:column;gap:2px;align-items:flex-start}.pilot.atelier-market .product-name{font-size:.74rem;font-weight:650;line-height:1.15}.pilot.atelier-market .offer strong{font-size:1.15rem;line-height:1.15;white-space:nowrap;color:#4e3d29}.pilot.atelier-market .add-label{font-size:.65rem;margin:0;white-space:nowrap;text-decoration:underline}.pilot.atelier-market .product-quantity{display:flex;flex-direction:column;gap:2px;align-items:center}.pilot.atelier-market .available{font-size:.65rem;margin:0;line-height:1.2}.pilot.atelier-market .quantity-caption{font-size:.61rem;line-height:1.2;color:#5b5447}.pilot.atelier-market .build-controls{gap:5px;margin:0;width:101px}.pilot.atelier-market .build-controls button{width:48px;min-width:48px;min-height:48px;font-size:1.05rem;padding:4px;border:1px solid var(--atelier-border);border-radius:12px}.pilot.atelier-market .build-controls .count-button{background:var(--atelier-paper);font-weight:650}.pilot.atelier-market .currency.coin{width:54px;height:54px;font-size:.9rem}.pilot.atelier-market .currency.bill{width:60px;min-height:44px;padding:5px;font-size:.95rem}.pilot.atelier-market .running-total{font-size:.75rem;margin:5px 0}.pilot .machine-workbench{max-width:420px;margin:0 auto}.pilot.atelier-machine .number-machine{margin:0 0 8px;padding:6px 12px 10px;border-radius:25px;border-width:2px;border-bottom-width:5px;max-width:none}.pilot.atelier-machine .machine-crown{height:27px;margin:0 0 3px}.pilot.atelier-machine .machine-gear{width:31px;height:31px}.pilot.atelier-machine .machine-lamp{width:19px;height:19px;border-width:3px}.pilot.atelier-machine .machine-columns{font-size:.72rem;margin-bottom:3px}.pilot.atelier-machine .number-machine .machine-examples{gap:4px}.pilot.atelier-machine .machine-port{min-height:41px;font-size:1.4rem;border-bottom-width:3px}.pilot.atelier-machine .machine-rule-label{font-size:.65rem;padding:3px 8px;margin-top:5px}.pilot.atelier-machine .machine-feet{bottom:-9px}.pilot.atelier-machine .machine-feet i{height:8px}.pilot .machine-trials{display:flex;gap:4px;align-items:center;justify-content:center;min-height:31px;margin:4px 0}.pilot.atelier-machine .trial{display:flex;align-items:center;justify-content:center;gap:4px;font-size:.8rem;padding:4px 7px;margin:0;border:1px solid var(--atelier-border);border-radius:10px;line-height:1.2}.pilot .trial-gear{width:18px;height:18px}.pilot .answer-options{gap:6px;margin:6px 0!important}.pilot .answer-option{font-size:1.05rem!important;min-width:65px;min-height:48px!important;padding:7px 10px!important;border-radius:14px}.pilot .machine-workbench>[data-action=open-probe]{display:block;margin:6px auto;padding:5px 16px;background:var(--atelier-tint);border:1px solid var(--atelier-border)}.pilot .number-pad{padding:7px;margin:5px auto;max-width:280px;border-radius:18px}.pilot .number-pad input{position:static;min-height:48px;font-size:1.4rem;max-width:120px;margin:3px auto 5px}.pilot .number-pad label{font-size:.72rem}.pilot .digit-grid{gap:4px}.pilot .digit{min-height:48px;font-size:1rem;padding:4px}.pilot .pilot-probe-pad{max-width:310px;margin:5px auto 0}.pilot .probe-input{display:flex;gap:7px;align-items:center;justify-content:center;margin-bottom:5px}.pilot .probe-input input{margin:0;width:100px}.pilot .probe-input button{padding:5px 14px;min-height:48px;font-size:.8rem}.pilot.atelier-machine .probe-open .machine-rule-label{display:none}.pilot.atelier-machine .probe-open .number-machine{padding-bottom:7px}.pilot .companion.idle{display:none}.pilot .companion{min-height:38px;gap:5px;margin:5px 0}.pilot .companion .seed-mascot{width:35px;height:39px}.pilot .companion p{font-size:.72rem;padding:6px;margin:0}.pilot .companion .replay{min-width:48px;min-height:48px;padding:5px}.pilot.is-ready .companion{min-height:85px;margin:8px 0}.pilot.is-ready .companion .seed-mascot{width:80px;height:85px}.pilot .pilot-dock{position:sticky;bottom:0;display:flex;gap:6px;align-items:center;margin:5px -2px 0;padding:5px 2px max(5px,env(safe-area-inset-bottom));border:0;background:var(--atelier-paper);z-index:25}.pilot .pilot-dock>[data-action=help]{width:78px;padding:5px;font-size:.75rem;flex-shrink:0}.pilot .pilot-dock>[data-action=submit]{flex:1;padding:7px 10px;font-size:.85rem;min-height:48px}.pilot .pilot-secondary{text-align:center;margin:0;padding:0}.pilot .pilot-secondary button{font-size:.72rem;padding:5px 12px}.pilot .pilot-secondary .notice{margin:0}.pilot .result{width:100%;padding:8px}.pilot .result .math-summary{margin:5px auto 0;font-size:.75rem}.pilot .result .math-summary summary{padding:6px;min-height:48px}.pilot .success-actions{margin:0!important}.pilot .success-actions button{min-height:48px;padding:6px 12px;font-size:.85rem}.pilot .teaching{font-size:.8rem;line-height:1.4;padding:10px;margin:5px 0}.pilot .basket-example{margin:5px auto}.pilot .basket-example>div{padding:5px;width:135px}.pilot .basket-example .basket-view{max-width:115px}.pilot .basket-example-detail>div{width:210px}.pilot .basket-example-detail .basket-view{max-width:195px}.pilot #pilot-pad{width:min(340px,calc(100% - 20px));max-height:calc(100dvh - 20px);overflow:auto;margin:auto;padding:10px;border:2px solid var(--atelier-border);border-radius:24px;background:var(--atelier-paper);color:var(--atelier-ink)}.pilot #pilot-pad::backdrop{background:#263c3655}.pilot #pilot-pad h2{font-size:.9rem;text-align:center;line-height:1.3;margin:0 0 7px}.pilot #pilot-pad .number-pad{border:0;padding:0;margin:0 auto}.pilot #pilot-pad .number-pad input{max-width:170px}@media(min-width:390px){.pilot.many-baskets .destination-grid,.pilot.many-baskets .team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pilot.atelier-market .pilot-products .build-add{gap:10px}.pilot.atelier-market .pilot-products .juice-illustration{width:53px;height:65px}.pilot.atelier-market .product-name{font-size:.8rem}.pilot.atelier-market .pilot-products>.build-card{grid-template-columns:minmax(0,1fr) 108px}.pilot .pilot-data{font-size:.8rem}}@media(max-height:600px){.pilot .pilot-data{padding-top:2px;padding-bottom:2px}.pilot .pilot-context{margin-bottom:4px}.pilot .number-pad{margin:3px auto}.pilot .machine-trials{margin:3px 0}.pilot .pilot-header{margin-bottom:2px}}.pilot .pilot-scene{position:relative}.pilot .atelier-flight{position:absolute}.pilot .reserve-harvest{display:grid;grid-template-columns:repeat(5,20px);grid-auto-rows:20px;align-content:center;justify-content:center;height:40px;width:108px;gap:0}.pilot .reserve-harvest .counted-apple{width:20px;height:20px}.pilot .reserve-harvest .apple-bundle,.pilot .reserve-harvest .empty-basket{grid-column:1/-1;justify-self:center}.atelier-flight{position:absolute}.pilot button,.pilot select,.pilot input,.pilot .team-grid,.pilot .team-card{scroll-margin:6px 0 65px}.pilot.presenting .pilot-dock{position:static}.pilot .probe-input label{max-width:74px;line-height:1.2;text-align:left}.pilot .probe-input input{width:72px;min-width:60px}.pilot .probe-input button{padding:5px 12px}.pilot.atelier-machine .probe-open .machine-crown{height:19px;margin-bottom:1px}.pilot.atelier-machine .probe-open .machine-gear{width:25px;height:25px}.pilot.atelier-machine .probe-open .machine-port{min-height:32px;font-size:1.3rem}.pilot.atelier-machine .probe-open .machine-columns{margin-bottom:2px}.pilot.atelier-machine .probe-open .number-machine{padding-top:4px;padding-bottom:5px}.pilot.atelier-machine .machine-workbench:not(.probe-open) .machine-port{min-height:64px;font-size:1.6rem}.pilot.atelier-machine .machine-workbench:not(.probe-open) .machine-crown{height:36px}.pilot.atelier-machine .machine-workbench:not(.probe-open) .machine-gear{width:38px;height:38px}.pilot.atelier-machine .machine-workbench:not(.probe-open) .number-machine{padding-top:10px;padding-bottom:12px}.pilot .brief-heading,.pilot .explanation-heading{display:flex;align-items:center;gap:10px;text-align:left}.pilot .brief-heading .atelier-title{margin:0;flex:1}.pilot .pepin-welcome{width:44px;height:44px;object-fit:contain;flex-shrink:0}.pilot .brief-instruction{font-size:1.1rem;line-height:1.35;margin:8px 0}.pilot .step-brief{position:static;max-height:none;margin:4px 0 6px;padding:8px 10px;border-radius:18px;text-align:left;box-shadow:none}.pilot .step-brief .brief-instruction{font-size:1rem;line-height:1.35;margin:0 0 5px}.pilot .step-brief .brief-listen{display:inline-flex;justify-content:flex-start;vertical-align:middle;margin:0;gap:5px}.pilot .step-brief>[data-action=begin]{margin:0 0 0 5px;min-height:48px;padding:5px 8px;font-size:.72rem}.pilot .pilot-explanation{width:min(520px,calc(100% - 20px));max-height:calc(100dvh - 20px);margin:auto;padding:14px;border:2px solid var(--atelier-border);border-radius:24px;background:var(--atelier-paper);color:var(--atelier-ink);overflow:auto;box-shadow:0 12px 45px #283a3933}.pilot .pilot-explanation::backdrop{background:#263c3655}.pilot .explanation-heading h2{font-size:1rem;line-height:1.25;flex:1;margin:0}.pilot .explanation-heading button{width:48px;height:48px;padding:4px;font-size:1.4rem;flex-shrink:0}.pilot .pepin-help{width:62px;height:65px;flex-shrink:0;object-fit:contain}.pilot .explanation-body{font-size:1rem;line-height:1.45;margin:12px 0;overflow-wrap:anywhere}.pilot .explanation-body p{margin:8px 0}.pilot .explanation-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.pilot .explanation-actions .brief-listen{margin:0;width:100%}.pilot .explanation-actions button{font-size:.8rem;min-height:48px;padding:7px 12px}.pilot .explanation-actions>.primary{width:100%}.pilot .pilot-success{margin:6px 0 8px;padding:10px;box-shadow:0 4px 15px #283a3912;max-height:none;overflow:visible;scroll-margin-top:6px}.pilot .success-companion{display:flex;align-items:center;gap:6px;margin:0 0 8px;min-height:98px}.pilot .pepin-joy{width:98px;height:100px;object-fit:contain;flex-shrink:0}.pilot .success-companion p{font-size:.85rem;line-height:1.35;margin:0;flex:1;font-weight:600}.pilot .success-companion .replay{min-width:48px;min-height:48px;background:var(--atelier-paper);border:1px solid var(--atelier-border);border-radius:14px}.pilot .feedback-only{margin:5px 0}.pilot .feedback-only p{margin:0}@media(prefers-reduced-motion:no-preference){.pilot .pepin-help{animation:pepin-listens .48s ease-out}@keyframes pepin-listens{50%{transform:rotate(-7deg) translateY(-2px)}}}.pilot .team-card{touch-action:pan-y}.collection.atelier-money{--atelier-accent:#7d6041;--atelier-tint:#f5edda;--atelier-border:#c7b38b;background-color:#faf7ee}.collection.atelier-kitchen{--atelier-accent:#8c514b;--atelier-tint:#fbebe0;--atelier-border:#d0aaa0;background-color:#fcf5ed}.collection.atelier-packs{--atelier-accent:#496c67;--atelier-tint:#e9f0e4;--atelier-border:#a5b8a0;background-color:#f6f8ef}.collection.atelier-rows{--atelier-accent:#815563;--atelier-tint:#f5e9e7;--atelier-border:#c4a5ad;background-color:#fcf6f1}.collection.atelier-logistics{--atelier-accent:#7f5e3e;--atelier-tint:#f3ead9;--atelier-border:#c8b08d;background-color:#faf7ef}.collection.atelier-nature{--atelier-accent:#466b47;--atelier-tint:#eaf1df;--atelier-border:#a7b78f;background-color:#f7faef}.collection.atelier-teams{--atelier-accent:#376d68;--atelier-tint:#e6f0e8;--atelier-border:#9eb9ad;background-color:#f3f8f2}.collection.atelier-puzzle{--atelier-accent:#665779;--atelier-tint:#efebf3;--atelier-border:#b8abc7;background-color:#faf7fc}.collection.atelier-error{--atelier-accent:#905b3e;--atelier-tint:#f8eddb;--atelier-border:#d1b598;background-color:#fbf7ed}.collection.atelier-paths{--atelier-accent:#526c57;--atelier-tint:#e9efdf;--atelier-border:#a7b795;background-color:#f7f9ef}.collection img{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.collection .pilot-scene{padding:2px 0}.collection .pilot-data{gap:4px 12px;line-height:1.35}.collection .pilot-data dd{font-size:.8rem}.collection .pilot-data>div{flex-wrap:wrap;justify-content:center;gap:3px 5px}.collection .collection-answers{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:10px 0!important}.collection .collection-answers .answer-option{min-width:58px;font-size:1.1rem!important;border:2px solid var(--atelier-border);background:var(--atelier-paper);color:var(--atelier-accent)}.collection button.selected,.collection button[aria-pressed=true]{background:var(--atelier-tint);border-color:var(--atelier-accent);box-shadow:inset 0 0 0 1px var(--atelier-accent)}.collection .collection-receiver{display:flex;align-items:center;justify-content:center;gap:10px;min-height:62px;padding:4px 8px;margin:0 0 7px;background:var(--atelier-tint);border-radius:18px;border:1px solid var(--atelier-border)}.collection .receiver-art{width:58px;height:52px}.collection .receiver-art img{width:100%;height:100%}.collection .collection-receiver>div{display:flex;flex-direction:column;gap:2px}.collection .collection-receiver span{font-size:.72rem}.collection .collection-receiver strong{font-size:.85rem}.collection .collection-supply{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.collection .supply-card{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:5px;background:var(--atelier-paper);border:1px solid var(--atelier-border);border-bottom:3px solid var(--atelier-border);border-radius:17px;min-height:128px;min-width:0}.collection .supply-add-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;background:transparent;border:0;min-width:48px;min-height:86px;flex:1;align-self:stretch}.collection .supply-add{font-size:.6rem;text-decoration:underline;white-space:nowrap}.collection .format-art{position:relative;display:grid;grid-template-columns:1fr;justify-items:center;min-width:48px}.collection .format-art img{width:44px;height:47px}.collection .format-art strong{font-size:1.15rem;line-height:1.1}.collection .format-art small{font-size:.56rem;line-height:1.2;overflow-wrap:anywhere}.collection .supply-controls{width:48px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:3px}.collection .stock-label{font-size:.56rem;line-height:1.2;white-space:nowrap}.collection .supply-controls>div{display:flex;flex-direction:column;gap:4px}.collection .supply-controls button{width:48px;height:48px;min-width:48px;padding:3px;font-size:1.05rem;border:1px solid var(--atelier-border);border-radius:12px}.collection .collection-currency{display:grid;place-items:center;font-size:.9rem;font-weight:650;color:#675330;background:linear-gradient(140deg,#fff0b5,#d4b66f);border:2px solid #9c8248;box-shadow:inset 0 0 0 3px #f4df9c;width:49px;height:49px;border-radius:50%;white-space:nowrap}.collection .collection-currency.bill{width:52px;height:38px;border-radius:7px;background:linear-gradient(130deg,#e3eacb,#b6c7a2);border-color:#769374;box-shadow:inset 0 0 0 3px #d4dfbf}.collection .path-stone{display:block;width:100%;font-size:1rem;font-weight:600;line-height:1.25;border:1px solid var(--atelier-border);background:linear-gradient(#fffdf5,#ece9d7);border-radius:13px 18px 12px 16px;padding:7px 3px;box-shadow:0 3px #8b99722b}.collection .collection-tally{font-size:.76rem;line-height:1.35;text-align:center;margin:7px 0}.collection .recipe-bench{display:flex;align-items:center;justify-content:center;gap:9px;min-height:122px;margin:8px 0;border-radius:22px;background:linear-gradient(transparent 64%,#ddc5a04f 64%);border-bottom:5px solid #b5a08466}.collection .recipe-cake img{width:91px;height:101px}.collection .recipe-arrow{font-size:1.4rem;color:var(--atelier-accent)}.collection .ingredient-bowl{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;max-width:120px;gap:1px;padding:8px;border-radius:20px 20px 45% 45%;background:#f3e7cf;min-height:74px}.collection .ingredient-bowl img{width:32px;height:40px}.collection .ingredient-bowl>img:only-child{width:51px;height:62px}.collection .recipe-bench>img{width:50px;height:65px}.collection .ingredient-bowl b{font-size:1.1rem}.collection .collection-example{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0;min-height:102px;background:var(--atelier-tint);border-radius:22px;padding:9px}.collection .collection-example img{width:85px;height:89px}.collection .collection-example span{font-size:.85rem;max-width:150px}.collection .collection-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:7px 0}.collection .collection-dimensions label{display:flex;flex-direction:column;gap:4px;text-align:center;font-size:.72rem;line-height:1.2}.collection .collection-dimensions select{width:100%;min-height:48px;border:2px solid var(--atelier-border);border-radius:14px;background:var(--atelier-paper);font:inherit;font-size:1rem;text-align:center;padding:4px}.collection .layout-tray{padding:10px;border:3px solid #a39178;border-bottom-width:6px;border-radius:24px;background:linear-gradient(120deg,#e5e1d3,#d5d3c7);min-height:126px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center}.collection .object-row{display:grid;grid-template-columns:repeat(var(--row-size),minmax(0,1fr));gap:2px;width:100%;max-width:360px}.collection .object-row img{width:100%;height:clamp(22px,7vw,38px)}.collection .layout-total{font-size:1rem;background:#fff9e5;border:1px solid var(--atelier-border);padding:4px 14px;border-radius:12px;margin-top:3px}.collection .large-layout{display:flex;align-items:center;gap:12px;min-height:110px}.collection .large-layout img{width:85px;height:100px}.collection .large-layout strong{font-size:1.6rem}.collection .empty-layout{flex-direction:row;font-size:1.5rem;gap:15px}.collection .empty-layout img{width:76px;height:85px}.collection .team-field{background:repeating-linear-gradient(90deg,#e0ecd9 0 60px,#d8e6d1 60px 120px);border:2px solid #99b396;border-radius:22px}.collection .known-team{display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap;position:relative;min-height:121px;padding:10px 9px 30px}.collection .known-team img{width:31px;height:54px}.collection .known-team>img:only-of-type{width:63px;height:70px}.collection .known-team>b{font-size:1.2rem}.collection .field-marker{position:absolute;bottom:5px;font-size:.7rem;color:#3e614b}.collection .collection-transfer{padding:3px 0}.collection .collection-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.collection .collection-teams .team-card{min-height:139px;padding:6px 3px;gap:3px;background:var(--atelier-tint);border-color:var(--atelier-border)}.collection .team-name{font-size:.75rem}.collection .team-roster{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;min-height:58px;width:100%}.collection .team-roster img{width:30px;height:47px}.collection .team-roster>img:only-of-type{width:50px;height:56px}.collection .team-roster b{font-size:1.15rem}.collection .team-card>strong{font-size:1.2rem}.collection .team-card>strong small{font-size:.65rem;font-weight:500}.collection .collection-teams>div:nth-child(2n) img{filter:hue-rotate(55deg)}.collection .collection-teams>div:nth-child(3n) img{filter:hue-rotate(140deg)}.collection .cinema-rooms{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}.collection .cinema-rooms .answer-option{padding:8px!important;min-width:0;width:100%;border:2px solid var(--atelier-border);background:var(--atelier-paper)}.collection .cinema-room{display:flex;flex-direction:column;align-items:center;gap:7px}.collection .cinema-room>strong{font-size:1rem}.collection .cinema-stage{display:flex;justify-content:center;gap:12px;min-height:118px;margin:8px 0;padding:12px;border-radius:20px;background:linear-gradient(#e7dadd,#f3ebdc);border-bottom:5px solid #b29c97}.collection .cinema-stage img{width:65px;height:92px}.collection .format-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.collection .format-choices .answer-option{display:flex;flex-direction:column;gap:6px;align-items:center;border:2px solid var(--atelier-border);padding:8px!important;min-width:0;background:var(--atelier-paper)}.collection .format-choices img{width:62px;height:77px}.collection .format-choices strong{font-size:.86rem}.collection .format-choices span{font-size:.76rem}.collection .riddle-board{display:flex;align-items:center;justify-content:center;gap:13px;min-height:125px;border:2px solid var(--atelier-border);border-radius:28px;background:linear-gradient(120deg,#f2e9d5,#f8f4e8);margin:8px 0;padding:10px}.collection .riddle-board img{width:66px;height:78px}.collection .riddle-equation{font-size:1.45rem;font-weight:650;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.collection .fox-investigation{display:flex;align-items:center;gap:8px;padding:10px 4px;min-height:140px}.collection .fox-investigation>img{width:99px;height:112px;flex-shrink:0}.collection .fox-bubble{flex:1;background:var(--atelier-paper);border:2px solid var(--atelier-border);border-radius:22px 22px 22px 4px;padding:12px 8px;font-size:1.25rem;font-weight:650;text-align:center}.collection .garden-patch{display:flex;align-items:center;justify-content:center;gap:10px;min-height:126px;margin:8px 0;border-radius:28px;background:radial-gradient(ellipse at 10% 90%,#acc18b55 0 18%,transparent 19%),radial-gradient(ellipse at 90% 90%,#bacd9d66 0 20%,transparent 21%),#edf3df;border-bottom:5px solid #a6b78b;padding:12px}.collection .garden-patch>strong{font-size:1.5rem;color:#456441}.collection .garden-bug{position:relative;display:block;width:68px;height:90px;padding-top:12px;flex-shrink:0}.collection .bug-head{position:absolute;top:4px;left:21px;width:26px;height:24px;background:#655445;border-radius:50%}.collection .bug-head:before,.collection .bug-head:after{content:"";position:absolute;top:-6px;width:3px;height:12px;background:#655445;transform:rotate(-25deg);left:5px;border-radius:3px}.collection .bug-head:after{left:19px;transform:rotate(25deg)}.collection .bug-wings{position:relative;display:grid;grid-template-columns:1fr 1fr;place-items:center;gap:3px;width:68px;height:75px;border:3px solid #8e5745;border-radius:45% 45% 46% 46%;padding:11px 12px;background:linear-gradient(90deg,#d5866e,#c86e59);box-shadow:inset 5px 0 #fff0cf24}.collection .bug-wings:after{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 1px);width:2px;background:#92523e}.collection .bug-wings i{width:9px;height:9px;background:#534e3e;border-radius:50%}.collection .bug-wings strong{grid-column:1/-1;font-size:1.6rem;color:#fff9e9}.collection .dispatch-bench{display:flex;align-items:center;justify-content:center;gap:15px;min-height:124px;margin:8px 0;border-radius:20px;background:linear-gradient(transparent 75%,#d7c4a7 75%);padding:10px}.collection .dispatch-bench>img{width:90px;height:100px}.collection .dispatch-arrow{font-size:1.6rem;color:var(--atelier-accent)}.collection .dispatch-door{display:grid;place-items:center;border:3px solid var(--atelier-border);border-bottom:7px solid #a08b6a;border-radius:12px 12px 0 0;width:100px;min-height:95px;background:repeating-linear-gradient(0deg,#f4ecdf 0 12px,#dfd0ba 12px 14px);font-size:.76rem}.collection .typing .recipe-bench,.collection .typing .collection-example,.collection .typing .known-team,.collection .typing .cinema-stage,.collection .typing .dispatch-bench,.collection .typing .riddle-board,.collection .typing .fox-investigation,.collection .typing .garden-patch{min-height:86px;max-height:104px;margin:4px 0;padding-top:5px;padding-bottom:5px}.collection .typing .recipe-cake img,.collection .typing .collection-example img,.collection .typing .cinema-stage img,.collection .typing .dispatch-bench>img,.collection .typing .riddle-board img{height:65px;width:65px}.collection .typing .fox-investigation>img{width:77px;height:85px}.collection .typing .known-team img{height:47px;width:28px}.collection .typing .garden-bug{transform:scale(.8);margin:-9px 0}.collection .typing .ingredient-bowl{min-height:60px;padding:4px}.collection .typing .ingredient-bowl img{height:31px;width:25px}@media(min-width:390px){.collection .collection-supply{gap:8px}.collection .supply-card{padding:7px}.collection .format-art img{width:55px;height:53px}.collection .supply-add{font-size:.66rem}.collection .stock-label{font-size:.62rem}.collection .collection-teams{gap:9px}}.collection .number-pad{max-width:300px;padding:7px;margin:5px auto}.collection .number-pad>label{display:inline-block;max-width:100px;margin:0 8px 6px 0;vertical-align:middle;line-height:1.25;text-align:left}.collection .number-pad>input{display:inline-block;vertical-align:middle;width:100px;min-height:48px;margin:0 0 6px;font-size:1.4rem}.collection .digit-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.collection .digit{min-width:48px;min-height:48px;padding:4px}.collection .atelier-flight .collection-currency{width:34px;height:34px;font-size:.6rem}.collection .atelier-flight .path-stone{font-size:.55rem;white-space:nowrap;padding:7px 3px}.collection .transfer-toolbar{display:flex;align-items:center;justify-content:center;gap:6px;margin:3px 0 7px}.collection .transfer-toolbar label{font-size:.72rem;margin:0}.collection .transfer-toolbar select{max-width:140px;flex:1;min-width:92px}.collection .transfer-toolbar button{padding:5px 8px;font-size:.65rem;min-height:48px;min-width:60px;border:1px solid var(--atelier-border);background:var(--atelier-paper)}.collection .team-roster img{width:24px;height:44px}.collection .collection-teams .team-card{min-height:139px}@media(min-width:390px){.collection .collection-supply.many-formats{grid-template-columns:repeat(3,minmax(0,1fr))}}.collection select{color:var(--atelier-ink)}.collection:has(.finishing-supply) .pilot-dock,.collection.atelier-logistics .pilot-dock,.collection.atelier-rows:has(.cinema-map) .pilot-dock{position:static}.collection .compact-receiver{min-height:44px;margin-bottom:5px;gap:8px;padding:3px 7px;border-radius:14px}.collection .compact-receiver .receiver-art{width:38px;height:36px}.collection .compact-receiver>div{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 8px}.collection .compact-receiver span{font-size:.7rem}.collection .compact-receiver strong{font-size:.9rem}.collection .finishing-supply{gap:5px}.collection .finishing-supply .supply-card{min-height:110px;gap:3px;padding:4px;border-radius:15px}.collection .finishing-supply .supply-add-button{min-height:100px;gap:2px;min-width:48px}.collection .finishing-supply .supply-add{font-size:.7rem;line-height:1.2}.collection .finishing-supply .stock-label{font-size:.65rem;line-height:1.2;white-space:nowrap;color:#46513f}.collection .finishing-supply .supply-controls{width:48px}.collection .finishing-supply .supply-controls>div{gap:4px;flex-direction:column}.collection .finishing-supply .count-button{display:flex;flex-direction:column;justify-content:center;gap:0;line-height:1.05;background:var(--atelier-tint)}.collection .finishing-supply .count-button strong{font-size:1.05rem;line-height:1.1}.collection .finishing-supply .count-button small{font-size:.6rem;font-weight:400;line-height:1.15}.collection .finishing-supply .format-art{gap:2px;width:100%;min-width:0}.collection .finishing-supply .format-art strong{font-size:1.15rem;line-height:1.1;white-space:normal}.collection .finishing-supply .format-art small{display:block;font-size:.65rem;font-weight:500;line-height:1.1}.collection .finishing-supply .collection-currency{width:49px;height:49px;font-size:.95rem}.collection .finishing-supply .collection-currency.bill{width:55px;height:37px}.collection .pack-top{position:relative;display:inline-grid;grid-template-columns:repeat(var(--pack-columns),10px);gap:3px;padding:5px;border:1px solid #7eaaa2;border-radius:10px 13px 10px 12px;background:linear-gradient(140deg,#dcefeabe,#a8d0c255);box-shadow:inset 2px 2px #ffffffb0,0 3px #7fa89a4f;transform:rotate(-4deg);max-width:100%;flex-shrink:0}.collection .bottle-cap{display:block;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#e2f4e2 0 18%,#98bead 23% 48%,#50796f 53% 64%,#c2dacc 70%);box-shadow:0 1px 1px #3d695578}.collection .large-pack{padding-bottom:17px}.collection .large-pack>b{position:absolute;bottom:1px;left:0;right:0;font-size:.6rem;line-height:1.2;color:#36574b;transform:rotate(4deg)}.collection .carton-shape{position:relative;display:block;width:var(--carton-width);height:var(--carton-height);background:linear-gradient(110deg,#dcb985,#bc9261);border:1.5px solid #94724b;border-radius:5px 7px 5px 6px;box-shadow:2px 3px #78604425;max-width:100%;margin:4px 0}.collection .carton-shape:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 44%,#ebd4a4 44% 58%,transparent 58%);border-top:5px solid #ecd4a5;border-radius:4px}.collection .carton-shape i{position:absolute;width:12px;height:8px;bottom:5px;right:4px;border:1px solid #b69973;background:#f5e4c8;transform:rotate(-3deg)}.collection .finishing-supply.path-supply .supply-card{display:flex;flex-direction:row;min-height:110px;padding:4px}.collection .finishing-supply.path-supply .supply-add-button{min-height:100px}.collection .finishing-supply.path-supply .supply-controls{flex-direction:column;width:48px;gap:0}.collection .finishing-supply.path-supply .path-stone{font-size:.85rem;line-height:1.2;max-width:100%;padding:8px 2px;overflow-wrap:anywhere}.collection .trail-scene{margin:0 0 6px;padding:6px 7px 8px;border:1px solid #a7b795;border-radius:20px;background:radial-gradient(ellipse at 0% 100%,#afc29466 0 14%,transparent 15%),radial-gradient(ellipse at 100% 70%,#c2ce9b55 0 12%,transparent 13%),#eef1e1}.collection .trail-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.75rem;line-height:1.25;margin-bottom:5px}.collection .trail-heading small{font-size:.65rem}.collection .trail-goal{border-left:3px solid #849b74;padding-left:6px;white-space:nowrap}.collection .trail-goal strong{font-size:1rem;color:#3e5d46}.collection .trail-built{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 10px;min-height:53px;align-items:center;position:relative}.collection .trail-cell,.collection .trail-empty-stone{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:51px;border:1px solid #a29b85;border-bottom:3px solid #a29b85;border-radius:14px 18px 12px 16px;background:linear-gradient(120deg,#fffdf2,#e7e4d1);font-size:.85rem;line-height:1.15;box-shadow:1px 2px #6877511a;text-align:center}.collection .trail-cell:after,.collection .trail-empty-stone:after{content:"›";position:absolute;left:calc(100% + 2px);top:16px;color:#75875f;font-size:.9rem}.collection .trail-cell:nth-child(3n):after,.collection .trail-cell:last-child:after,.collection .trail-empty-stone:last-child:after{content:none}.collection .trail-cell>small{position:absolute;top:2px;left:5px;font-size:.5rem;color:#69654d}.collection .trail-cell>b{font-size:.65rem}.collection .trail-start{font-size:.75rem;color:#4d644b;text-align:center}.collection .trail-empty-stone{background:#e8ecd98c;border-style:dashed;color:#7b8b6c;font-size:1.15rem}.collection .cinema-rooms{gap:6px;margin:5px 0}.collection .cinema-rooms .answer-option{padding:6px 4px!important}.collection .cinema-room{gap:4px;width:100%}.collection .cinema-room>strong{font-size:.85rem}.collection .cinema-map{display:flex;flex-direction:column;gap:3px;margin:4px auto;max-width:370px;width:100%;padding:7px 6px 6px;background:radial-gradient(ellipse at 50% 0,#f8e0cb,#e5d5d4 80%);border:1px solid #bfa0a3;border-bottom:4px solid #a67b83;border-radius:22px 22px 13px 13px;color:#653c4a;box-sizing:border-box;line-height:1.2}.collection .cinema-screen{display:block;background:#fff8e7;border-top:3px solid #c9ad97;border-radius:50% 50% 5px 5px;padding:2px 3px;font-size:.65rem;letter-spacing:.07em;text-align:center;color:#715e51;width:84%;margin:0 auto 2px;box-shadow:0 3px 5px #6f324d14}.collection .cinema-width{font-size:.7rem;text-align:center;font-weight:600}.collection .cinema-floor{display:flex;gap:5px;align-items:center;justify-content:center;padding:2px 0}.collection .cinema-row-count{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:35px;font-size:1.1rem;font-weight:650;border-left:2px solid #b88d94;line-height:1.2}.collection .cinema-row-count small{font-size:.6rem;font-weight:500;writing-mode:vertical-rl;transform:rotate(180deg);margin-top:3px;letter-spacing:.02em}.collection .cinema-seat-block{display:flex;flex-direction:column;gap:2px;width:100%;max-width:280px}.collection .cinema-seat-row{display:grid;grid-template-columns:repeat(var(--seats),minmax(0,1fr));gap:1px;width:100%;justify-content:center}.collection .cinema-seat-row img{width:100%;height:auto;max-height:26px;min-width:0}.collection .cinema-ellipsis{font-size:.9rem;line-height:.75;text-align:center;letter-spacing:.2em}.collection .cinema-schematic{font-size:.6rem;line-height:1.1;text-align:center}.collection .cinema-extra{display:flex;justify-content:center;align-items:center;gap:3px;font-size:.65rem;border-top:1px solid #c1a1a5;padding-top:3px}.collection .cinema-extra img{width:18px;height:18px}.collection .cinema-rooms .cinema-map{padding:6px 3px;gap:3px;margin:0}.collection .cinema-rooms .cinema-width{font-size:.65rem}.collection .cinema-rooms .cinema-row-count{min-width:25px;font-size:.9rem}.collection .cinema-rooms .cinema-row-count small{font-size:.55rem}.collection .cinema-rooms .cinema-floor{gap:2px}.collection .cinema-rooms .cinema-seat-row img{max-height:21px}.collection .cinema-rooms .cinema-extra{flex-wrap:wrap;gap:2px;font-size:.6rem}.collection .format-choices .pack-top{--pack-columns:3;margin:5px 0}.collection .format-choices strong{font-size:.9rem}.collection .format-choices>button>span:last-child{font-size:.75rem;line-height:1.3}.collection .mechanism-board{min-height:118px;gap:14px;margin:5px 0;padding:10px;background:radial-gradient(ellipse at 30% 20%,#fff5d8,#f0e8dc);border-color:#bbabc3}.collection .riddle-lock{width:85px;height:91px;position:relative;flex-shrink:0}.collection .riddle-shackle{position:absolute;top:1px;left:22px;width:39px;height:44px;border:8px solid #b4a4b7;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:inset 2px 0 #e8dfe5;transform-origin:85% 100%}.collection .riddle-lock-body{position:absolute;top:32px;left:7px;width:70px;height:52px;border:2px solid #a78750;border-radius:13px;background:linear-gradient(140deg,#f6db9e,#d6ac6b);box-shadow:inset 3px 2px #fff0c770,0 4px #997d5130}.collection .riddle-lock-body i{position:absolute;top:13px;left:28px;width:11px;height:11px;border-radius:50%;background:#78633f}.collection .riddle-lock-body i:after{content:"";position:absolute;top:6px;left:2px;border-bottom:12px solid #78633f;border-left:3px solid transparent;border-right:3px solid transparent;width:1px}.collection .mechanism-board .riddle-key{position:absolute;width:43px;height:49px;left:51px;top:51px;transform:rotate(-30deg);transform-origin:35% 35%}.collection .riddle-lock.is-unlocked .riddle-shackle{transform:translateY(-8px) rotate(24deg)}.collection .riddle-equation{font-size:1.5rem;font-weight:650}.collection .typing .mechanism-board{min-height:103px;max-height:none}.collection .typing .riddle-lock{transform:scale(.85);margin:-6px}.collection .atelier-flight .pack-top{transform:scale(.75);transform-origin:top left}.collection .atelier-flight .carton-shape{max-width:32px;max-height:32px}@media(min-width:390px){.collection .finishing-supply .supply-card{padding:5px}.collection .finishing-supply.many-formats .supply-card{display:flex;flex-direction:column;gap:2px;min-height:0}.collection .finishing-supply.many-formats .supply-add-button{min-height:102px;width:100%}.collection .finishing-supply.many-formats .supply-controls{width:100%}.collection .finishing-supply.many-formats .supply-controls>div{flex-direction:row;justify-content:center;width:100%}.collection .cinema-rooms .cinema-seat-row img{max-height:25px}}.collection .finishing-supply .format-art strong{display:flex;align-items:baseline;justify-content:center;gap:3px;white-space:nowrap}.collection .finishing-supply .format-art strong small{display:inline;font-size:.65rem}.collection .finishing-supply.path-supply .path-stone{font-size:.95rem}.collection.atelier-money .pilot-data>div:not(:first-child) dt,.collection.atelier-packs .pilot-data>div:last-child:nth-child(3) dt,.collection.atelier-logistics .pilot-data>div:last-child:nth-child(4) dt,.collection.atelier-paths .pilot-data>div:only-child dt{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.collection.atelier-money .pilot-data>div:not(:first-child) dd{font-size:.75rem;font-weight:600}.collection.atelier-money .pilot-data{gap:3px}.collection .typing>.cinema-map{padding:4px 6px;gap:2px}.collection .typing>.cinema-map .cinema-seat-row img{max-height:19px}.collection .typing>.cinema-map .cinema-extra img{width:15px;height:15px}.collection .typing>.cinema-map .cinema-schematic{font-size:.6rem}.collection .typing>.cinema-map .cinema-screen{padding:1px 3px;margin-bottom:1px}.collection .typing .dispatch-bench{min-height:65px;max-height:72px;margin:4px 0;padding:4px;gap:12px}.collection .typing .dispatch-bench>img{width:58px;height:60px}.collection .typing .dispatch-door{min-height:57px;width:94px;font-size:.7rem;border-bottom-width:4px}.collection .typing .cinema-stage{min-height:61px;max-height:70px;padding:4px;margin:4px 0;gap:10px}.collection .typing .cinema-stage img{height:55px;width:45px}.collection .compact-choice-pad{display:grid;grid-template-columns:65px 74px minmax(0,1fr);gap:4px;align-items:center}.collection .compact-choice-pad>label{display:block;max-width:none;margin:0;line-height:1.2;font-size:.7rem}.collection .compact-choice-pad>input{width:100%;max-width:none;margin:0;min-width:0}.collection .compact-choice-pad>.pad-choices{font-size:.7rem;line-height:1.2;padding:3px 4px;min-height:48px;min-width:48px;color:var(--atelier-accent);text-decoration:underline}.collection .compact-choice-pad>.digit-grid{grid-column:1/-1;margin-top:2px}.collection:is(.atelier-money,.atelier-packs,.atelier-logistics) .finishing-supply .supply-add-button{gap:1px}.collection:is(.atelier-money,.atelier-packs,.atelier-logistics) .finishing-supply .supply-add{font-size:.75rem;line-height:1.15}.collection:is(.atelier-money,.atelier-packs,.atelier-logistics) .finishing-supply .stock-label{font-size:.7rem;line-height:1.15}.collection:is(.atelier-money,.atelier-packs,.atelier-logistics) .finishing-supply .count-button small{font-size:.65rem}.collection.atelier-logistics .finishing-supply .count-button small{font-size:.625rem}.collection .path-limit-notice{font-size:.75rem;line-height:1.35;margin:6px 0 0;color:var(--atelier-ink)}.collection .trail-limit-state{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;font-weight:600}.collection .trail-limit-state small{font-weight:400}.collection.atelier-money .pilot-data>div:not(:first-child) dt.payment-limit-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}.stars-page,.reward-page{font-family:ui-rounded,Segoe UI,system-ui,sans-serif;color:#384d46;background:radial-gradient(ellipse at 8% 0,#fff2be99,transparent 42%),radial-gradient(ellipse at 95% 18%,#dcebd7aa,transparent 35%),#faf7ed;max-width:620px;margin:auto;min-height:100dvh;padding:12px}.stars-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.stars-header button,.reward-audio{background:#fffcf2;border:1px solid #b9bd9f;min-height:48px;padding:6px 12px;font-size:.85rem;border-radius:15px}.stars-header button:last-child{width:48px}.stars-intro{display:flex;gap:10px;align-items:center;margin:17px 0}.stars-intro>img{width:70px;height:76px}.stars-intro h1{font:700 1.55rem Trebuchet MS,Segoe UI,sans-serif;letter-spacing:-.03em;margin:0}.stars-intro p{font-size:.78rem;line-height:1.4;margin:4px 0 0;color:#536651}.skills-list{display:flex;flex-direction:column;gap:9px;padding-bottom:12px}.skill-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;padding:10px;background:#fffcf4;border:1px solid #c0c7aa;border-bottom:3px solid #c0c7aa;border-radius:19px;box-shadow:0 3px 10px #45594208}.skill-icon{width:43px;height:53px;object-fit:contain}.skill-card h2{font-size:.82rem;line-height:1.3;margin:0 0 5px;font-weight:650}.skill-stars{display:flex;align-items:center;justify-content:space-between;gap:5px}.skill-stars>span:last-child{font-size:.7rem;color:#5e6b59;white-space:nowrap}.earned-row{display:flex;gap:5px;align-items:center}.star-slot{display:block;width:29px;height:29px;flex-shrink:0}.star-slot img{width:100%;height:100%}.stars-page button:focus-visible,.reward-page button:focus-visible{outline:4px solid #315e83;outline-offset:3px}.reward-page{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;max-width:520px;background:radial-gradient(ellipse at 50% 30%,#fff4c8,transparent 55%),radial-gradient(ellipse at 0 50%,#e3eddbbb,transparent 40%),radial-gradient(ellipse at 100% 65%,#f1dfd7bb,transparent 40%),#fcf8ed;padding:16px 12px}.reward-audio{position:absolute;top:9px;right:9px;width:48px;z-index:2}.reward-page header{text-align:center;padding:0 43px;line-height:1.2}.reward-page h1{font:800 2rem Trebuchet MS,Segoe UI,sans-serif;color:#795a36;letter-spacing:-.025em;margin:0}.reward-page header p{font-size:1rem;color:#5b694c;font-weight:600;margin:5px -34px 0;line-height:1.3}.reward-garden{position:relative;width:280px;height:171px;flex-shrink:0}.reward-halo{position:absolute;inset:5px 18px 7px;background:repeating-conic-gradient(from 15deg,#f5dc872b 0 15deg,transparent 16deg 33deg);border-radius:50%;box-shadow:0 0 40px #f5dc8766}.victory-pepin{position:absolute;width:189px;height:176px;left:22px;bottom:0;filter:drop-shadow(0 5px 3px #a27f4112)}.reward-big-star{position:absolute;width:80px;height:80px;right:7px;top:9px;transform:rotate(9deg);filter:drop-shadow(0 5px 3px #ae883433)}.reward-spark{position:absolute;font-style:normal;color:#a77b35;font-size:1.2rem}.reward-spark.s1{left:8px;top:32px}.reward-spark.s2{left:17px;bottom:22px;color:#94a875}.reward-spark.s3{right:10px;bottom:28px;color:#c18e80}.reward-list{display:flex;flex-direction:column;gap:7px;width:100%;max-width:370px}.reward-skill{text-align:center;border:1px solid #d2bc80;border-bottom:3px solid #d2bc80;border-radius:19px;padding:7px 9px;background:linear-gradient(110deg,#fffdf5,#fff3ce99);box-shadow:0 3px 10px #9e79390a}.reward-skill h2{font-size:.82rem;font-weight:650;margin:0 0 4px;line-height:1.25}.reward-skill .earned-row{justify-content:center;gap:8px}.reward-skill .star-slot{width:34px;height:34px}.star-awaiting{opacity:.3}.reward-continue{width:100%;max-width:370px;min-height:56px;font-size:1.05rem;margin-top:3px;padding:8px 14px;flex-shrink:0}.reward-flight{position:fixed;z-index:100;pointer-events:none;transform-origin:top left}.reward-flight img{width:100%;height:100%}@media(max-height:600px){.reward-page{gap:7px;padding-top:10px;padding-bottom:12px}.reward-garden{height:151px}.victory-pepin{height:165px;width:177px}.reward-page h1{font-size:1.8rem}.reward-skill{padding:5px 8px}.reward-skill .star-slot{width:32px;height:32px}}@media(min-width:390px){.star-slot{width:32px;height:32px}.skill-card{padding:12px;grid-template-columns:50px minmax(0,1fr)}.skill-icon{width:48px}.skill-card h2{font-size:.9rem}.reward-garden{height:210px;width:310px}.victory-pepin{width:228px;height:212px}.reward-big-star{width:93px;height:93px}.reward-page h1{font-size:2.3rem}.reward-skill{padding:9px}.reward-skill h2{font-size:.9rem}.reward-skill .star-slot{width:39px;height:39px}}.home-stars{display:block;width:min(100%,290px);min-height:48px;margin:12px auto 0;font-size:.95rem;background:#fff8e4;color:#655631;border:1px solid #c4b184;box-shadow:0 3px #dcd0ac;padding:9px 14px}@media(max-width:430px){.home{padding:20px 20px 12px}.home-art{width:220px;height:170px;margin:16px auto 15px}.home-art .mascot{width:170px;height:170px}.home-art .float-apple,.home-art .float-cookie{width:55px;height:55px}.home-art .float-apple{top:104px}.home-art .float-cookie{top:15px}.home-art .float-apple img,.home-art .float-cookie img{width:37px}.home h1{font-size:2rem}}@media(max-width:430px)and (max-height:600px){.home-art{height:145px}.home-art .mascot{width:145px;height:145px}.home-art .float-apple{top:88px}}.party-access{display:block;margin:22px auto 8px;min-height:44px;font-size:.9rem}.panel .party-danger{border:2px solid #a14532;color:#7e3023;margin-top:12px}.welcome-home{max-width:720px;min-height:100dvh;margin:auto;padding:18px 20px 10px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;background:radial-gradient(ellipse at 50% 38%,#fff0c66b,transparent 66%)}.welcome-home h1{font:800 clamp(2rem,6.8vw,2.9rem)/1.02 "Trebuchet MS","Segoe UI",sans-serif;letter-spacing:-.045em;color:#56704c;margin:0;position:relative;z-index:1;text-shadow:0 2px #fffdf4}.welcome-home h1 span,.welcome-home h1 strong{display:block}.welcome-home h1 strong{font-size:1.38em;color:#705136;letter-spacing:-.055em;font-weight:900}.welcome-world{width:calc(100% + 40px);max-width:580px;height:clamp(210px,39dvh,350px);display:flex;align-items:center;justify-content:center;margin:auto -20px;pointer-events:none;flex-shrink:0}.welcome-world img{display:block;width:100%;height:100%;object-fit:contain}.welcome-actions{display:flex;flex-direction:column;gap:10px;align-items:center;width:100%;max-width:320px}.welcome-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.welcome-secondary button{padding:8px 5px}.welcome-actions button{width:100%;margin:0;min-height:50px;border-radius:22px;font:700 1rem Trebuchet MS,Segoe UI,sans-serif}.welcome-actions .welcome-play{min-height:59px;font-size:1.35rem;background:linear-gradient(#66885b,#4e724e);border:2px solid #436044;box-shadow:0 5px #344d38,0 8px 15px #4051341a;color:#fffdf4}.welcome-play:after{content:" ›";margin-left:14px;font-size:1.5rem}.welcome-actions .welcome-stars{background:#fff8e6;color:#655332;border:1px solid #c4ae7d;box-shadow:0 3px #dfcfaa;font-weight:650}.welcome-home footer{display:block;margin-top:auto;padding-top:9px;width:100%}.welcome-tools{display:flex;gap:12px;justify-content:center}.welcome-tools button{min-height:44px;margin:0;padding:5px 14px;font-size:.85rem}.welcome-home .offline{font-size:.7rem;line-height:1.25;margin:5px 0 0;color:#5e6b57}.welcome-home .notice:empty{display:none}.welcome-home button:focus-visible{outline:4px solid #315e83;outline-offset:3px}.audio-settings{display:flex;flex-direction:column;gap:14px}.audio-setting{border:1px solid #c8cfb6;border-radius:18px;padding:10px 12px;background:#f5f4e8}.audio-setting .toggle{margin:0;min-height:40px;display:flex;align-items:center;gap:9px;font-size:1rem}.audio-setting input[type=checkbox]{width:23px;height:23px;accent-color:#52724b}.volume-label{display:flex;justify-content:space-between;align-items:center;font-size:.83rem;color:#42523e}.volume-label output{font-variant-numeric:tabular-nums;font-weight:700}.audio-setting input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;min-width:0;margin:0;cursor:pointer;background:transparent;accent-color:#52724b}.audio-setting input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:#b7c5a2}.audio-setting input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:#b7c5a2}.audio-setting input[type=range]::-moz-range-progress{height:8px;border-radius:8px;background:#65875b}.audio-setting input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:27px;height:27px;border:2px solid #fffaf0;border-radius:50%;background:#52724b;box-shadow:0 1px 4px #253c3166;margin-top:-9.5px}.audio-setting input[type=range]::-moz-range-thumb{width:24px;height:24px;border:2px solid #fffaf0;border-radius:50%;background:#52724b;box-shadow:0 1px 4px #253c3166}.audio-setting input:focus-visible{outline:3px solid #315e83;outline-offset:2px;border-radius:8px}.panel:has(.audio-settings){padding:18px;max-height:calc(100dvh - 20px);overflow-y:auto}.panel:has(.audio-settings) h2{margin:0 0 14px}@media(max-height:620px){.welcome-home{padding-top:12px;gap:5px}.welcome-home h1{font-size:2rem}.welcome-world{height:205px}.welcome-actions{gap:9px}.welcome-actions .welcome-play{min-height:55px}.welcome-actions .welcome-stars{min-height:47px}.welcome-home footer{padding-top:5px}.audio-settings{gap:8px}.audio-setting{padding:6px 10px}.panel:has(.audio-settings){padding:14px}.panel:has(.audio-settings) h2{margin-bottom:10px}.panel:has(.audio-settings) button{min-height:42px;padding:6px 12px;margin-top:9px}}@media(min-width:600px){.welcome-home{padding-top:25px}.welcome-world{height:355px}.welcome-home h1 span{font-size:.8em}.welcome-home h1 strong{font-size:1.5em}}.challenges-page{max-width:640px;min-height:100dvh;margin:auto;padding:12px 12px 24px;color:#35483f;font-family:ui-rounded,Segoe UI,system-ui,sans-serif;background:radial-gradient(ellipse at 100% 3%,#e3e9d3aa,transparent 35%),repeating-linear-gradient(0deg,#98743e03 0 1px,transparent 1px 5px),#faf4e6}.challenges-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.challenges-header button{min-height:48px;margin:0;padding:8px 13px;font-size:.9rem;border:1px solid #b8b79c;background:#fffdf5;border-radius:15px}.challenges-header button:last-child{width:48px}.challenges-intro{display:flex;align-items:center;gap:10px;margin:20px 0 18px}.notebook-icon{width:54px;height:60px;flex-shrink:0}.notebook-icon svg{width:100%;height:100%}.challenges-intro h1{font:700 1.75rem Trebuchet MS,Segoe UI,sans-serif;margin:0;color:#675032;letter-spacing:-.025em}.challenges-intro p{font-size:1rem;line-height:1.4;margin:6px 0 0}.challenge-list{display:flex;flex-direction:column;gap:12px;padding-left:9px;border-left:2px solid #bba477}.challenge-card{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px 9px;align-items:center;padding:13px 12px 14px;background:linear-gradient(135deg,#fffdf7,#fffaf0);border:1px solid #d0c2a3;border-radius:5px 17px 17px 5px;box-shadow:0 3px #ddcfaf55}.challenge-card:before{content:"";position:absolute;left:-16px;top:26px;width:12px;height:7px;border:2px solid #a98b57;border-right:0;border-radius:5px 0 0 5px;background:#faf4e6}.challenge-card>img{width:36px;height:42px;object-fit:contain}.challenge-card h2{font-size:1.04rem;line-height:1.3;margin:0;color:#3d5747}.challenge-card dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;margin:0;padding-top:11px;border-top:1px solid #e6dcc7}.challenge-card dl>div{min-width:0}.challenge-card dl>div+div{position:relative}.challenge-card dl>div+div:before{content:"";position:absolute;left:-6px;top:0;bottom:0;border-left:1px solid #e6dcc7}.challenge-card dt{min-height:2.7em;font-size:.9rem;line-height:1.35;color:#59604e}.challenge-card dd{margin:5px 0 0;font-size:1rem;font-weight:650;line-height:1.4;color:#4f412d}.challenge-card .challenge-absent{font-weight:500;color:#59604e}.challenges-page button:focus-visible{outline:4px solid #315e83;outline-offset:3px}.panel:has(.restart-options){max-height:calc(100dvh - 24px);overflow-y:auto;padding:20px}.restart-options{display:grid;gap:12px;margin:16px 0}.panel .restart-option{margin:0;min-height:76px;padding:12px;font-size:1rem;text-align:left;border:2px solid #a4b59a;background:#f2f5e9;border-radius:16px;color:#354b3c;box-shadow:0 3px #cad3bb}.restart-option small{display:block;font-size:.88rem;font-weight:400;margin-top:5px}.panel .restart-cancel{margin-top:18px}.panel:has(.restart-options) h2{font-size:1.35rem;line-height:1.3;margin:0}@media(min-width:390px){.challenges-page{padding:14px 20px 28px}.challenge-card{grid-template-columns:40px minmax(0,1fr);padding:14px 15px 15px;column-gap:10px}.challenge-card>img{width:40px;height:44px}.challenge-card dl{column-gap:16px}.challenge-card dl>div+div:before{left:-8px}}@media(min-width:430px){.challenge-card dt{min-height:1.35em}}
