/* v33 / M17: bright 2.5D kitchen diorama. Gameplay geometry stays orthographic. */
:root{
  --void:#fff8f2;--ink:#4e405d;--muted:#81738e;--dim:#aa9bb3;
  --pink:#ff6f9f;--pink-deep:#e64f87;--peach:#ff9b70;--lemon:#ffd75e;--mint:#4ed8ae;--sky:#56bdf2;--grape:#a78bf2;--green:#2fbd8b;--red:#ef6478;
  --panel:rgba(255,255,255,.9);--line:rgba(93,67,112,.12);
  --pixel-font:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;
  --body-font:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;
  --mono:"Cascadia Mono","SFMono-Regular",Consolas,monospace;
  --ui-radius-sm:12px;--ui-radius-md:16px;--ui-radius-lg:24px;
  --shadow:0 8px 0 rgba(111,78,126,.07),0 18px 38px rgba(105,74,128,.12),inset 0 1px 0 #fff;
}
body[data-stage="morning"]{--stage-a:#fff0c7;--stage-b:#ffd8e8;--stage-c:#c9edff;--stage-accent:#ff6f9f;--board-paper:#fffefa;--board-grid:rgba(128,100,160,.13)}
body[data-stage="garden"]{--stage-a:#d7ffe9;--stage-b:#c8f3ef;--stage-c:#fff0bd;--stage-accent:#35c69c;--board-paper:#fbfffc;--board-grid:rgba(71,153,139,.13)}
body[data-stage="festival"]{--stage-a:#e5d8ff;--stage-b:#ffd5e9;--stage-c:#cceaff;--stage-accent:#9474e8;--board-paper:#fffcff;--board-grid:rgba(123,98,177,.13)}
html{background:#fff4e9}
body{color:var(--ink);background:#fff4e9;font-family:var(--body-font);font-weight:500;letter-spacing:0}
button{font-weight:700;letter-spacing:0}button:focus-visible,input:focus-visible{outline:3px solid rgba(80,159,238,.55);outline-offset:3px}
img[src*="kenney-game-icons"]{image-rendering:auto}
.world{background:linear-gradient(145deg,var(--stage-a),var(--stage-b) 46%,var(--stage-c));isolation:isolate}
.sky-wash{background:radial-gradient(ellipse at 50% 10%,rgba(255,255,255,.96),transparent 43%),linear-gradient(180deg,rgba(255,255,255,.2),transparent 60%)}
.sun-disc{top:5%;right:8%;width:132px;height:132px;background:linear-gradient(145deg,#fff9c9,#ffe590);box-shadow:0 0 0 22px rgba(255,248,196,.22),0 0 80px rgba(255,205,94,.35);opacity:.85}
.cloud{background:rgba(255,255,255,.58);box-shadow:0 12px 24px rgba(102,131,171,.08);filter:blur(.2px)}
.rainbow-ribbon{opacity:.55;filter:blur(.2px)}
.tablecloth{left:-12%;right:-12%;bottom:-18%;height:48%;opacity:.52;transform:perspective(650px) rotateX(57deg);transform-origin:bottom;background-color:rgba(255,255,255,.45);background-image:linear-gradient(rgba(255,255,255,.65) 2px,transparent 2px),linear-gradient(90deg,rgba(255,255,255,.65) 2px,transparent 2px),linear-gradient(145deg,rgba(255,167,193,.18),rgba(118,196,242,.18));background-size:72px 72px,72px 72px,100% 100%;border-top:2px solid rgba(255,255,255,.65)}
.kitchen-window{position:absolute;left:4%;top:12%;width:174px;height:142px;border:10px solid rgba(255,255,255,.75);border-radius:32px;background:linear-gradient(160deg,#bceaff,#e9f9ff 58%,#fff4c7);box-shadow:0 9px 0 rgba(114,144,180,.12),0 22px 40px rgba(94,116,159,.1),inset 0 0 0 2px rgba(101,162,202,.12);opacity:.65;transform:rotate(-2deg)}
.kitchen-window i{position:absolute;background:rgba(255,255,255,.7)}.kitchen-window i:first-child{left:50%;top:0;bottom:0;width:7px;transform:translateX(-50%)}.kitchen-window i:nth-child(2){left:0;right:0;top:52%;height:7px}.kitchen-window span{position:absolute;right:16px;top:16px;width:28px;height:28px;border-radius:50%;background:#fff0a6;box-shadow:0 0 22px #ffe898}
.kitchen-shelf{position:absolute;right:3%;top:27%;display:flex;align-items:end;justify-content:center;gap:22px;width:210px;height:76px;padding:0 20px 13px;border-bottom:13px solid rgba(255,255,255,.7);border-radius:0 0 20px 20px;filter:drop-shadow(0 12px 8px rgba(94,83,131,.1));opacity:.6}.kitchen-shelf img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}
.kitchen-island{position:absolute;left:50%;bottom:-20px;width:min(850px,72vw);height:180px;transform:translateX(-50%);opacity:.28}.island-top{position:absolute;left:0;right:0;top:0;height:64px;border:4px solid rgba(255,255,255,.8);border-radius:50%;background:linear-gradient(180deg,#fff,#ffd8c9);box-shadow:0 16px 0 #e6b4ae,0 30px 35px rgba(93,61,100,.18)}.island-top img{position:absolute;top:-42px;width:72px;height:72px;object-fit:contain;image-rendering:pixelated}.island-top img:first-child{left:17%;transform:rotate(-8deg)}.island-top img:last-child{right:17%;transform:rotate(7deg)}.island-front{position:absolute;left:7%;right:7%;top:38px;height:130px;border-radius:0 0 36px 36px;background:linear-gradient(100deg,#ffb5c9,#c7b5f5 52%,#a9e6dc);box-shadow:inset 0 5px 0 rgba(255,255,255,.35)}.island-front i{position:absolute;top:35px;width:32%;height:70px;border:3px solid rgba(255,255,255,.35);border-radius:18px}.island-front i:first-child{left:14%}.island-front i:last-child{right:14%}
.world-sticker{border:1px solid rgba(255,255,255,.85);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(255,255,255,.2));box-shadow:0 8px 0 rgba(122,88,128,.06),0 20px 35px rgba(122,88,128,.08)}
.game-shell{width:min(1230px,calc(100% - 40px));gap:clamp(11px,1.5vh,16px);padding-top:clamp(16px,2.2vh,25px)}
.masthead{padding:0 6px}.brand-lockup{gap:15px}.brand-bolt{width:55px;height:58px;border:2px solid rgba(255,255,255,.85);border-radius:19px;background:linear-gradient(145deg,#ff8fb2,#ff9e70);box-shadow:0 7px 0 #e87c91,0 15px 28px rgba(225,92,137,.23),inset 0 2px 0 rgba(255,255,255,.45)}
.brand-bolt::after{content:"";right:-5px;top:-7px;width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:#ffd65e;box-shadow:0 3px 0 #eabf51}.brand-bolt img{filter:drop-shadow(0 3px 0 rgba(142,69,91,.15))}
.kicker{color:#90738d;font-size:8px;font-weight:800;letter-spacing:.14em}.kicker span{color:var(--pink)}
h1{color:#4e3b5b;font-size:31px;font-weight:900;text-shadow:0 2px 0 #fff}.title-en{color:#a2839e}
.mission-chip{min-height:56px;border:2px solid rgba(255,255,255,.9);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,246,252,.82));box-shadow:0 5px 0 rgba(143,96,128,.09),0 12px 25px rgba(143,96,128,.1)}.mission-chip:hover{transform:translateY(-2px);box-shadow:0 7px 0 rgba(143,96,128,.08),0 16px 28px rgba(143,96,128,.12)}
.hud{gap:11px}.hud-card{height:78px;padding:11px 15px;border:1px solid rgba(255,255,255,.95);border-bottom:4px solid rgba(229,130,163,.2);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,244,249,.88));box-shadow:0 9px 22px rgba(110,77,124,.1),inset 0 1px 0 #fff;overflow:hidden}
.hud-card:nth-child(2){border-bottom-color:rgba(150,123,226,.22);background:linear-gradient(145deg,#fff,#f3efff)}.hud-card:nth-child(3){border-bottom-color:rgba(231,175,66,.25);background:linear-gradient(145deg,#fff,#fff7d9)}.hud-card:nth-child(4){border-bottom-color:rgba(65,190,150,.23);background:linear-gradient(145deg,#fff,#eafff6)}
.hud-card::after{right:-15px;bottom:-26px;width:80px;height:80px;background:var(--card-tint,rgba(255,127,159,.08));box-shadow:inset 0 2px 0 rgba(255,255,255,.4)}.hud-label{font-size:8px;font-weight:800;letter-spacing:.06em}.hud-card strong{margin-top:5px;font-size:clamp(21px,2.4vh,28px);font-weight:800;letter-spacing:.02em}.hud-note{font-size:9px}.time-track{height:5px;background:rgba(119,93,112,.1)}.time-track i{background:linear-gradient(90deg,#ffd65e,#ff9873)}
.console{grid-template-columns:218px minmax(400px,578px) 218px;gap:15px}.side-panel{padding:16px 15px;border:1px solid rgba(255,255,255,.95);border-radius:26px;background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(255,244,250,.86));box-shadow:0 8px 0 rgba(128,87,120,.07),0 20px 38px rgba(113,77,126,.11),inset 0 1px 0 #fff}
.right-panel{background:linear-gradient(155deg,rgba(255,255,255,.95),rgba(235,255,248,.86));box-shadow:0 8px 0 rgba(66,139,122,.07),0 20px 38px rgba(70,125,119,.1),inset 0 1px 0 #fff}.panel-index{font-size:8px;font-weight:900;letter-spacing:.1em}
.order-head strong{font-weight:900}.order-head small{color:#887289}.recipe-rail{gap:8px}.recipe-step{border:1px solid rgba(120,86,125,.1);border-bottom:3px solid rgba(223,132,164,.17);border-radius:16px;background:linear-gradient(145deg,#fff,#fff5fa);box-shadow:0 5px 12px rgba(109,72,104,.06);font-family:var(--body-font)}
.recipe-step:nth-child(3n+2){border-bottom-color:rgba(76,190,157,.2);background:linear-gradient(145deg,#fff,#f0fff9)}.recipe-step:nth-child(3n){border-bottom-color:rgba(96,163,224,.2);background:linear-gradient(145deg,#fff,#f0f8ff)}.recipe-step.is-complete{border-color:rgba(55,190,143,.35);background:linear-gradient(145deg,#fff,#e6fff3)}
.recipe-step>span,.recipe-step small{font-family:var(--body-font)}.recipe-step>span b{font-weight:900}.recipe-step .recipe-bullet{display:none}.recipe-step small img{width:12px;height:12px;opacity:.55}.recipe-plus,.recipe-result-arrow{opacity:.58;filter:none}.recipe-input,.recipe-result-token{filter:drop-shadow(0 3px 1px rgba(89,58,79,.1))}
.recipe-step img[src*="kenney-game-icons"],.active-loadout button img[src*="kenney-game-icons"]{image-rendering:auto}
.objective{border:1px solid rgba(120,86,125,.09);border-radius:17px;background:rgba(255,255,255,.55)}.objective li{border-color:rgba(120,86,125,.08)}.objective li b{border-radius:8px;background:linear-gradient(145deg,#fff0f6,#ffe2ee);box-shadow:0 2px 0 rgba(204,118,151,.12)}
.ticket-strip{border-radius:12px;background:linear-gradient(90deg,#fff4d9,#fff,#eaf9ff);box-shadow:0 3px 0 rgba(108,81,119,.06)}
.terminal{border:2px solid rgba(255,255,255,.96);border-radius:30px;background:linear-gradient(155deg,#fff,#fff9fc 58%,#f4f8ff);box-shadow:0 10px 0 rgba(116,84,130,.1),0 26px 50px rgba(104,73,126,.16),inset 0 2px 0 #fff;isolation:isolate}
.terminal::before{content:"";position:absolute;z-index:-1;left:7%;right:7%;top:-7px;height:18px;border-radius:50%;background:rgba(255,255,255,.75);filter:blur(5px)}
.terminal-head{font-family:var(--body-font)}.terminal-id b{font-weight:900}.terminal-id small{font-weight:700}.terminal-id .led{padding:4px;border-radius:9px;background:linear-gradient(145deg,#d9fff0,#a9f0d5);box-shadow:0 3px 0 rgba(46,167,129,.16);filter:none}.circuit-id strong{border-radius:9px;background:linear-gradient(145deg,#ffe6f0,#ffd5e5);box-shadow:0 2px 0 rgba(215,113,149,.13)}#orderTarget img{filter:sepia(1) saturate(4) hue-rotate(325deg)}
.board-bay{border:1px solid rgba(255,255,255,.95);border-radius:25px;background:radial-gradient(ellipse at 50% 38%,rgba(255,255,255,.97),rgba(255,255,255,.68) 54%,rgba(240,231,255,.52)),linear-gradient(145deg,#fff2f7,#eefaff);box-shadow:inset 0 2px 10px rgba(115,80,132,.05),0 5px 0 rgba(123,89,133,.07)}
.board-bay::before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.72);border-radius:20px;pointer-events:none}.board-halo{background:radial-gradient(ellipse,rgba(255,255,255,.9),rgba(255,209,229,.18) 44%,transparent 72%);filter:blur(3px)}
#board svg{filter:drop-shadow(0 4px 5px rgba(97,67,116,.06));--tsu-paper:transparent!important;--tsu-paper-deep:transparent!important;--tsu-frame:rgba(255,255,255,.45)!important;--tsu-grid:rgba(124,97,151,.1)!important}.corner{opacity:.35;border-color:#c6a9bd}.bay-label{font-weight:800;letter-spacing:.09em}.food-canvas{filter:saturate(1.08)}
#board .tsp-key-cursor{visibility:hidden!important}
.terminal-foot{font-family:var(--body-font)}.progress-copy{font-weight:800}.pips{gap:5px}.pips i{width:9px;height:9px;border:0;border-radius:50%;background:#e8dce7;box-shadow:inset 0 1px 2px rgba(84,59,91,.12)}.pips i img{display:none}.pips i.on{background:linear-gradient(145deg,#6be1b8,#2fbd8b);box-shadow:0 2px 0 #28a67c,0 0 10px rgba(57,198,150,.3)}.timer-mode{font-weight:600}.battery-compact{border:1px solid rgba(49,188,141,.2);border-bottom:3px solid rgba(49,188,141,.22);border-radius:12px;background:linear-gradient(145deg,#fff,#e8fff5);font-family:var(--body-font)}.battery-compact img{image-rendering:pixelated}
.tool-tray{position:relative;border-color:rgba(110,79,127,.09);background:linear-gradient(145deg,rgba(255,247,251,.8),rgba(244,250,255,.8));font-family:var(--body-font)}.tool-tray-heading{font-weight:800}.tool-guide-button{border:1px solid rgba(122,89,139,.12);border-radius:10px;background:#fff;box-shadow:0 2px 0 rgba(105,75,118,.08)}
.active-loadout button,.loadout-main{border:1px solid rgba(116,84,128,.1);border-bottom:3px solid rgba(116,84,128,.11);border-radius:13px;background:linear-gradient(145deg,#fff,#fff7fb);box-shadow:0 3px 8px rgba(102,72,112,.05);font-family:var(--body-font)}.active-loadout button:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(102,72,112,.09)}.active-loadout button[aria-pressed="true"]{border-color:#f0a75b;background:linear-gradient(145deg,#fff9e9,#ffefd1)}.active-loadout img,.tool-guide-button img{image-rendering:auto}
.tool-guide-panel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;display:grid;gap:4px;max-height:124px;padding:7px 8px;overflow-y:auto;border:1px solid rgba(115,82,130,.13);border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 10px 24px rgba(94,64,110,.18);font-size:9px;line-height:1.3;overscroll-behavior:contain}.tool-guide-row{display:grid;grid-template-columns:21px 42px minmax(0,1fr);align-items:center;gap:5px;min-height:23px;color:#75647e}.tool-guide-row img{width:19px;height:19px;object-fit:contain;image-rendering:auto}.tool-guide-row b{color:#55445f;font-size:9px;white-space:nowrap}.tool-guide-row span{font-size:8px}.tool-guide-unlocks{margin:2px 0 0;padding-top:4px;border-top:1px solid rgba(112,81,124,.08);color:#948297;font-size:8px;line-height:1.35}
.operator-card{border:1px solid rgba(77,163,138,.1);border-radius:18px;background:linear-gradient(145deg,#fff,#effff9);box-shadow:0 4px 0 rgba(59,148,122,.07)}.portrait-frame{border:2px solid #fff;border-radius:16px;background:linear-gradient(145deg,#ffe4ef,#e4f7ff);box-shadow:0 4px 0 rgba(109,79,126,.08),inset 0 1px 0 #fff}.operator-sprite{filter:var(--avatar-filter)}
.mascot-dock{border:1px solid rgba(82,160,138,.1);border-radius:18px;background:linear-gradient(145deg,#fff,#effcf8)}.stage-chef{border:2px solid #fff;border-radius:18px;background:linear-gradient(145deg,#fff3c9,#ffdfe9 52%,#dff5ff);box-shadow:0 5px 0 rgba(107,77,119,.08)}.emote{border:2px solid #fff;border-radius:10px;background:linear-gradient(145deg,#ff87ac,#ff9b75);box-shadow:0 3px 0 rgba(207,96,130,.18)}.emote img{filter:brightness(0) invert(1)}
.battery-card{border:1px solid rgba(255,255,255,.9);border-bottom:4px solid rgba(230,174,65,.18);border-radius:18px;background:linear-gradient(145deg,#fff,#fff4ce);box-shadow:0 7px 15px rgba(135,109,61,.08)}.battery-card:hover{transform:translateY(-2px)}.battery-icon{border-radius:13px;background:linear-gradient(145deg,#fff,#ffe9a9);box-shadow:0 3px 0 rgba(210,158,58,.12)}
.combo-readout{border-radius:15px;background:rgba(255,255,255,.58)}.combo-meter i,.level-track i{width:10px;height:10px;border:0;border-radius:50%;background:#dfd8e4;box-shadow:inset 0 1px 2px rgba(78,55,88,.1)}.combo-meter i img,.level-track i img{display:none}.combo-meter i.on{background:linear-gradient(145deg,#73e5bd,#31bf91);box-shadow:0 2px 0 #26a87d}.operator-note{border-color:rgba(69,150,129,.1)}
.food-strip{border-radius:16px;background:linear-gradient(90deg,rgba(255,231,240,.55),rgba(231,250,255,.55));filter:drop-shadow(0 4px 2px rgba(93,63,102,.08))}
.dock-actions{gap:10px;width:min(100%,450px)}.dock-actions .dock-action{grid-template-columns:25px auto auto;min-height:50px;padding:9px 13px;border:2px solid rgba(255,255,255,.95);border-bottom:5px solid rgba(70,177,143,.2);border-radius:17px;color:#526a65;background:linear-gradient(145deg,#fff,#ebfff6);box-shadow:0 7px 17px rgba(84,105,109,.1),inset 0 1px 0 #fff;font-family:var(--body-font);font-size:11px;font-weight:800;transition:transform .16s,box-shadow .16s}
.dock-actions .dock-action:nth-child(2){color:#84643e;border-bottom-color:rgba(221,163,66,.24);background:linear-gradient(145deg,#fff,#fff5d9)}.dock-actions .dock-action:nth-child(3){color:#695684;border-bottom-color:rgba(145,112,205,.22);background:linear-gradient(145deg,#fff,#f2edff)}.dock-actions .dock-action:hover{color:inherit;background:#fff;transform:translateY(-2px);box-shadow:0 9px 20px rgba(84,85,109,.13)}.dock-actions .dock-action:active{transform:translateY(2px);box-shadow:0 3px 8px rgba(84,85,109,.08)}.dock-actions .dock-action img{width:24px;height:24px;padding:3px;border-radius:7px;background:rgba(255,255,255,.65);image-rendering:auto}.dock-actions .dock-action .dock-state{font:800 8px var(--mono)}.dock-actions #resetButton.is-armed{color:#fff;border-bottom-color:#a9435d;background:linear-gradient(145deg,#e9788e,#ce506d)}
.control-hint{font-family:var(--body-font)}.mouse-icon{border:1px solid #fff;border-radius:12px;background:linear-gradient(145deg,#ffe7f0,#e8f6ff);box-shadow:0 3px 0 rgba(99,72,111,.07)}.mouse-icon img{image-rendering:auto}.level-track{font-family:var(--body-font)}.level-track i.on{background:linear-gradient(145deg,#ffcf63,#ff9a73);box-shadow:0 2px 0 #dd8c54}
.toast{border:2px solid rgba(255,255,255,.85);border-radius:16px;background:linear-gradient(145deg,rgba(82,61,94,.96),rgba(102,75,112,.96));box-shadow:0 7px 0 rgba(65,43,74,.15),0 16px 30px rgba(67,43,77,.2);font-family:var(--body-font)}
.stage-banner{border:2px solid #fff;border-bottom:5px solid rgba(134,96,142,.13);border-radius:20px;background:linear-gradient(120deg,#fff5c9,#ffe4f0 52%,#dff8ef);box-shadow:0 14px 34px rgba(91,60,109,.18);font-family:var(--body-font)}.stage-banner b{font-family:var(--body-font);font-weight:900}
.profile-modal,.result-modal{grid-template-columns:minmax(0,1fr);min-width:0;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.28),transparent 45%),rgba(70,49,83,.28);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.profile-card{width:100%;min-width:0;max-width:590px}.result-panel{min-width:0;max-width:100%}.profile-card,.result-panel{border:2px solid rgba(255,255,255,.95);border-bottom:7px solid rgba(101,70,119,.13);border-radius:28px;background:linear-gradient(150deg,#fff,#fff9fc 60%,#f5f8ff);box-shadow:0 24px 70px rgba(62,39,77,.28),inset 0 2px 0 #fff;font-family:var(--body-font)}
.loadout-card{width:100%;max-width:520px}.settings-card{width:100%;max-width:430px}.support-tool-options,.main-tool-options{min-width:0}.support-tool-options button,.main-tool-options button{min-width:0}
.profile-eyebrow,.result-kicker{font-weight:900;letter-spacing:.12em}.profile-card h2,.result-hero h2{font-weight:900;letter-spacing:0}.profile-card>p{color:#7e6d88;line-height:1.65}.profile-close{border:1px solid rgba(112,79,126,.1);border-bottom:3px solid rgba(112,79,126,.12);border-radius:12px;background:linear-gradient(145deg,#fff,#f5eff8);box-shadow:0 3px 8px rgba(95,66,106,.07)}.profile-close img{image-rendering:auto}
.gender-option,.avatar-option,.name-field,.avatar-search{border:1px solid rgba(113,81,126,.1);border-bottom:3px solid rgba(113,81,126,.09);border-radius:15px;background:linear-gradient(145deg,#fff,#fff7fb);box-shadow:0 3px 8px rgba(99,68,112,.04);font-family:var(--body-font)}.gender-option.is-selected,.avatar-option.is-selected{border-color:#ff9cbb;background:linear-gradient(145deg,#fff,#ffeaf3);box-shadow:0 4px 12px rgba(225,93,139,.12)}.avatar-option:hover{transform:translateY(-2px)}.avatar-preview{filter:drop-shadow(0 3px 1px rgba(88,60,95,.12))}.avatar-search input,.name-field input{border:1px solid rgba(112,79,126,.14);border-radius:11px;background:#fff;color:var(--ink);box-shadow:inset 0 2px 4px rgba(86,59,98,.05)}
.profile-save,.result-primary{border:2px solid rgba(255,255,255,.65);border-bottom:5px solid #d6557e;border-radius:16px;color:#fff;background:linear-gradient(135deg,#ff76a4,#ff9670);box-shadow:0 8px 18px rgba(218,83,128,.2),inset 0 1px 0 rgba(255,255,255,.35);font-family:var(--body-font);font-weight:900;text-shadow:0 1px 0 rgba(153,63,91,.15)}.profile-save:hover,.result-primary:hover{transform:translateY(-2px);box-shadow:0 11px 22px rgba(218,83,128,.24)}.profile-save:active,.result-primary:active{transform:translateY(2px);border-bottom-width:2px}.profile-save img,.result-primary img{filter:brightness(0) invert(1);image-rendering:auto}
.settings-list,.records-panel,.audio-credits{border:1px solid rgba(111,80,123,.09);border-radius:18px;background:rgba(255,255,255,.66)}.setting-row,.volume-row{border-color:rgba(111,80,123,.09);font-family:var(--body-font)}.setting-row strong{border-radius:10px;background:linear-gradient(145deg,#ddf9ee,#c4f0df);box-shadow:0 2px 0 rgba(47,158,122,.12)}input[type="range"]{accent-color:#ff739f}.tutorial-reopen{border:1px solid rgba(111,80,123,.1);border-bottom:3px solid rgba(111,80,123,.09);border-radius:15px;background:linear-gradient(145deg,#fff,#fff5fb);box-shadow:0 3px 8px rgba(99,68,112,.04)}.tutorial-reopen img{image-rendering:auto}.audio-credits a{border-radius:9px;background:#fff}.records-grid>div{border:1px solid rgba(111,80,123,.07);border-radius:12px;background:linear-gradient(145deg,#fff,#fff8fc)}.achievement-list li{border-color:rgba(111,80,123,.08)}.achievement-mark{image-rendering:auto}.record-reset-button,.cancel-reset,.confirm-reset{border-radius:11px}
.loadout-section{border-radius:13px;background:linear-gradient(90deg,#fff3d9,#fff9ee)}.main-tool-options button,.support-tool-options button{border:1px solid rgba(111,80,123,.1);border-bottom:4px solid rgba(111,80,123,.09);border-radius:16px;background:linear-gradient(145deg,#fff,#fff8fc);box-shadow:0 4px 10px rgba(98,68,110,.05);font-family:var(--body-font)}.main-tool-options button:hover,.support-tool-options button:hover{transform:translateY(-2px)}.main-tool-options button[aria-pressed="true"],.support-tool-options button[aria-pressed="true"]{border-color:#65cba9;background:linear-gradient(145deg,#fff,#e9fff6);box-shadow:0 5px 14px rgba(47,174,133,.11)}.support-tool-options img,.main-tool-options img{image-rendering:auto;filter:drop-shadow(0 3px 1px rgba(90,61,98,.1))}.support-tool-options img[src*="kenney-food-kit"],.main-tool-options img[src*="kenney-food-kit"]{image-rendering:pixelated}.loadout-recommended{border-radius:13px}.loadout-teaching{border:0;border-left:4px solid var(--stage-accent);border-radius:12px;background:linear-gradient(90deg,#fff5d9,#fffbed)}
.tutorial-visual{border:2px solid #fff;border-bottom:5px solid rgba(112,79,127,.09);border-radius:20px;background:linear-gradient(135deg,#fff0c8,#ffe3ef 48%,#dff6ff);box-shadow:0 8px 18px rgba(101,70,119,.08),inset 0 2px 0 rgba(255,255,255,.6)}.tutorial-visual img{filter:drop-shadow(0 6px 2px rgba(97,63,90,.12))}.tutorial-visual img[src*="kenney-food-kit"]{image-rendering:pixelated}.tutorial-operator{padding:10px;border-radius:50%;background:rgba(255,255,255,.75);box-shadow:0 4px 0 rgba(108,75,119,.08)}.tutorial-card h2{font-weight:900}.tutorial-dots i{width:24px;height:7px;border-radius:10px;background:#e6dce8}.tutorial-dots i.is-current{background:linear-gradient(90deg,#ff75a2,#ff9c72);box-shadow:0 2px 0 rgba(209,92,127,.15)}.tutorial-actions button{border:1px solid rgba(111,80,123,.12);border-bottom:3px solid rgba(111,80,123,.1);border-radius:14px;background:#fff;font-family:var(--body-font)}.tutorial-actions .tutorial-next{border-color:#ff9db9;border-bottom-color:#d85e85;background:linear-gradient(135deg,#ff77a4,#ff9b71)}
.result-ticket{border-radius:15px;background:linear-gradient(90deg,#fff0f7,#fff8e8 52%,#eaf8ff);box-shadow:inset 0 1px 0 #fff}.result-hero{border:2px solid #fff;border-bottom:5px solid rgba(121,83,133,.09);border-radius:22px;background:linear-gradient(130deg,#fff0c8,#ffe1ee 48%,#ddf5ff);box-shadow:0 8px 18px rgba(100,70,115,.08)}.result-dish-icon{border:2px solid rgba(255,255,255,.85);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(255,255,255,.35));box-shadow:0 7px 0 rgba(121,81,117,.08),0 13px 24px rgba(121,81,117,.1)}.result-dish-icon img{filter:drop-shadow(0 7px 2px rgba(93,58,82,.14))}.result-rating i{border-radius:50%;background:#fff5cf;box-shadow:0 3px 0 rgba(206,157,54,.12)}.result-rating i img{filter:sepia(1) saturate(5) hue-rotate(326deg);image-rendering:auto}.result-rating i.off{filter:grayscale(1);opacity:.25}.result-goals{gap:8px}.result-goal{border:1px solid rgba(110,80,123,.09);border-bottom:3px solid rgba(110,80,123,.07);border-radius:12px;background:rgba(255,255,255,.7)}.result-goal.is-earned{border-color:rgba(47,189,139,.28);background:linear-gradient(145deg,#fff,#e8fff4)}.result-goal img{image-rendering:auto}.result-stats>div{border:1px solid rgba(110,80,123,.08);border-bottom:3px solid rgba(110,80,123,.07);border-radius:15px;background:linear-gradient(145deg,#fff,#fff8fc)}.result-secondary,.result-system-share{border:1px solid rgba(111,80,123,.12);border-bottom:4px solid rgba(111,80,123,.1);border-radius:16px;background:linear-gradient(145deg,#fff,#f5f0ff);box-shadow:0 5px 12px rgba(99,69,110,.06);font-family:var(--body-font)}.result-secondary img,.result-system-share img{image-rendering:auto}.fail-message{border-radius:14px;background:#fff6e8}.fail-panel .result-hero{background:linear-gradient(130deg,#fff1d5,#ffe7e7,#e8f2ff)}
.pair-celebration strong,.pair-celebration span{font-family:var(--body-font);text-shadow:0 2px 0 #fff}.dish-assembly{border:2px solid #fff;border-radius:24px;background:linear-gradient(135deg,rgba(255,244,199,.97),rgba(255,224,239,.97) 52%,rgba(219,247,255,.97));box-shadow:0 14px 35px rgba(86,56,105,.2)}.assembly-dish{filter:drop-shadow(0 10px 3px rgba(96,61,89,.15))}.power-flash{background:radial-gradient(circle,rgba(255,255,255,.78),rgba(255,213,110,.22),transparent 70%)}
@media(min-width:901px){.console{align-items:start}.terminal{align-self:start}}
@media(max-width:1100px){.kitchen-window,.kitchen-shelf{opacity:.35}.console{grid-template-columns:195px minmax(390px,560px) 195px;gap:11px}.side-panel{padding:14px 12px}}
@media(max-width:900px){
  .game-shell{width:min(680px,calc(100% - 24px));gap:10px}.console{grid-template-columns:minmax(0,1fr);gap:10px}.side-panel{border-radius:22px}.left-panel{padding:11px}.right-panel{display:none}.terminal{border-radius:25px}.hud{gap:8px}.hud-card{height:62px;padding:8px 10px;border-radius:16px}.hud-card strong{font-size:20px}.hud-note{display:none}.mission-chip{border-radius:17px}.brand-bolt{width:49px;height:52px;border-radius:17px}
  .recipe-step,.recipe-rail[data-steps="4"] .recipe-step,.recipe-rail[data-steps="5"] .recipe-step,.recipe-rail[data-steps="6"] .recipe-step{border-radius:13px}.recipe-step>span,.recipe-rail[data-steps="5"] .recipe-step span,.recipe-rail[data-steps="6"] .recipe-step span{font-weight:800}.objective{display:none}
  .dock-actions{max-width:440px;gap:8px}.dock-actions .dock-action{min-height:49px;padding:8px 6px;font-size:10px}.kitchen-island{opacity:.16}.kitchen-window{left:-45px}.kitchen-shelf{right:-60px}
}
@media(max-width:620px){
  .game-shell{width:calc(100% - 18px);gap:8px;padding-top:max(9px,env(safe-area-inset-top))}.masthead{padding:0 2px}.brand-lockup{gap:10px}.brand-bolt{width:43px;height:46px;border-radius:15px;box-shadow:0 5px 0 #e87c91,0 10px 20px rgba(225,92,137,.18)}h1{font-size:26px}.kicker{font-size:7px}.title-en{display:none}.mission-chip{min-height:44px;border-radius:15px}.mission-chip em{display:none}.hud{gap:6px}.hud-card{height:51px;padding:7px 7px;border-bottom-width:3px;border-radius:13px}.hud-label{font-size:7px;letter-spacing:0}.hud-card strong{font-size:17px}.time-track{left:7px;right:7px;bottom:5px;height:3px}.left-panel{padding:8px;border-radius:18px}.order-head strong{font-weight:900}.terminal{padding:7px;border-radius:20px;box-shadow:0 7px 0 rgba(116,84,130,.09),0 17px 32px rgba(104,73,126,.13)}.terminal-head{padding-left:3px;padding-right:3px}.terminal-id small{display:none}.board-bay{border-radius:17px}.board-bay::before{inset:6px;border-radius:13px}.bay-label{font-size:7px}.corner{display:none}.terminal-foot{min-height:30px}.tool-tray{border-radius:14px}.dock-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}.dock-actions .dock-action{grid-template-columns:22px auto auto;gap:4px;min-height:47px;padding:7px 4px;border-radius:14px;font-size:10px}.dock-actions .dock-action img{width:21px;height:21px;padding:2px}.control-hint .mouse-icon{display:none}.profile-card,.result-panel{border-radius:23px;border-bottom-width:5px}.profile-modal{padding-top:max(10px,env(safe-area-inset-top));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:max(10px,env(safe-area-inset-bottom));padding-left:max(10px,env(safe-area-inset-left))}.kitchen-window,.kitchen-shelf,.kitchen-island{display:none}.world-sticker{opacity:.32;transform:scale(.72)}.sticker-a{left:-25px}.sticker-b{right:-25px}.sticker-c{display:none}.cloud{opacity:.45}.rainbow-ribbon{opacity:.3}.sun-disc{width:90px;height:90px;right:-18px}.tablecloth{opacity:.3}.result-goals{gap:5px}.result-goal{padding:6px 3px}.tutorial-card{padding:24px 20px 19px}
}
@media(max-width:370px){.mission-chip b{max-width:85px}.mission-chip small{display:none}.kicker{display:none}.hud-label{font-size:6px}.hud-card strong{font-size:16px}.dock-actions .dock-action{grid-template-columns:20px auto auto;gap:3px;font-size:9px}.dock-actions .dock-action img{width:20px;height:20px}.tutorial-card{padding:23px 16px 17px}.tutorial-card h2{font-size:19px}.tutorial-card>p{font-size:11px}.result-actions{gap:7px}.result-primary,.result-secondary{font-size:11px}}
@media(prefers-reduced-motion:reduce){.dock-actions .dock-action:hover,.mission-chip:hover,.battery-card:hover,.profile-save:hover,.result-primary:hover,.avatar-option:hover,.main-tool-options button:hover,.support-tool-options button:hover,.active-loadout button:hover{transform:none}.kitchen-island,.cloud{animation:none}}
body.reduce-motion .dock-actions .dock-action:hover,body[data-motion="reduce"] .dock-actions .dock-action:hover{transform:none}
@media(max-width:620px){.hud-label{font-size:9px;letter-spacing:0}}
