:root{font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;color:#fff1d7;background:#29213e;font-synthesis:none;--gold: #ffbf60;--cream: #fff0d4;--panel: #352840ee;--purple: #a878c6;--shadow: 0 5px 0 #211a3299, 0 12px 24px #20182e33}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{overscroll-behavior:none}#app{position:relative;isolation:isolate}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #f9dc8f;outline-offset:4px}svg{width:22px;height:22px;stroke-width:1.8;vertical-align:middle;flex-shrink:0}a{color:inherit;text-decoration:none}button svg{pointer-events:none}#world,#world canvas,.vignette,#world-labels,#floaters{position:absolute;inset:0;width:100%;height:100%}#world canvas{touch-action:none;display:block}.vignette{pointer-events:none;background:linear-gradient(#241b374f,transparent 23%,transparent 79%,#241b3770);z-index:1}#world-labels,#floaters{overflow:hidden;pointer-events:none;z-index:2}.topbar{position:absolute;z-index:5;left:25px;right:25px;top:22px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:20px}.brand{display:flex;align-items:center;gap:12px;pointer-events:auto;text-shadow:0 2px 2px #271931}.brand-mark{display:grid;place-items:center;width:60px;height:60px;border-radius:21px;background:linear-gradient(145deg,#ffc776,#e98c47);border:3px solid #ffe0a1;color:#603c4a;box-shadow:var(--shadow);transform:rotate(-5deg)}.brand-mark svg{width:41px;height:41px;stroke-width:2.1}.brand strong{display:block;font-size:27px;letter-spacing:1px;font-weight:900}.brand small{font-size:11px;letter-spacing:2px;color:#e7cce9;font-weight:700;display:block;margin-bottom:4px}.day-pill{display:flex;align-items:center;gap:9px;padding:11px 16px;background:#36263fc9;border:1px solid #c6a1d33b;border-radius:30px;font-size:11px;font-weight:700}.day-pill svg{color:#f4d696;width:19px;height:19px}.day-pill b{font-variant-numeric:tabular-nums;color:#d8bce4;font-size:12px}.day-pill i{width:6px;height:6px;border-radius:50%;background:#a3d5a5;box-shadow:0 0 8px #b2e5aa88}.header-actions{display:flex;align-items:center;gap:12px;pointer-events:auto}.cash-pill{display:flex;gap:10px;align-items:center;background:linear-gradient(120deg,#fff0ce,#e9c590);color:#62424c;border:3px solid #ffe2a8;padding:7px 19px 7px 9px;border-radius:19px;box-shadow:var(--shadow);min-width:145px}.cash-pill .coin{display:grid;place-items:center;width:40px;height:40px;background:#f3ac4c;border-radius:50%;box-shadow:inset 0 -3px #d28a38;color:#80533b}.coin svg{width:32px;height:32px}.cash-pill small{display:block;font-size:10px;font-weight:800;letter-spacing:1px}.cash-pill strong{display:block;font-size:26px;line-height:29px;font-weight:900;font-variant-numeric:tabular-nums}.upgrade-button{height:57px;background:linear-gradient(#9d70be,#784a99);border:2px solid #c49bd8;border-radius:17px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;padding:0 15px;box-shadow:var(--shadow)}kbd{font:10px inherit;padding:2px 5px;border:1px solid #ffffff48;border-radius:4px;opacity:.75}.mission-panel{position:absolute;z-index:4;top:114px;left:25px;width:285px;border:1px solid #d2add346;border-radius:21px;background:var(--panel);box-shadow:var(--shadow);padding:14px 16px 12px;pointer-events:none}.mission-heading{display:flex;align-items:center;gap:7px;font-size:10px;color:#d7b9de;font-weight:700;letter-spacing:1px}.mission-heading svg{width:15px;height:15px;color:#edbd79}.mission-stars{margin-left:auto;color:#f1be72;font-size:16px}.quest-card{display:flex;align-items:flex-start;gap:11px;margin:13px 0}.quest-number{width:27px;height:29px;border-radius:9px;background:#f1b35e;color:#664145;display:grid;place-items:center;font-weight:900;flex-shrink:0;box-shadow:0 3px #9c6a4d}.quest-card h2{font-size:15px;margin:2px 0 7px;font-weight:800;letter-spacing:.2px}.quest-card p{font-size:11px;line-height:1.7;color:#dac7dc;margin:0}.farm-stats{display:flex;justify-content:space-between;border-top:1px solid #cfacd326;padding-top:10px;gap:6px;font-size:9px;color:#c8b2ca}.farm-stats>span{display:flex;align-items:center;gap:4px;white-space:nowrap}.farm-stats svg{width:13px;height:13px;color:#d2a4d1}.farm-stats b{color:#ffe6b8;font-size:11px}.queue-chip{position:absolute;top:106px;right:27px;z-index:3;border:1px solid #bea5cf55;background:#372d48df;border-radius:25px;padding:8px 13px;font-size:11px;display:flex;align-items:center;gap:7px;pointer-events:none}.queue-chip svg{color:#dcb8e7;width:17px;height:17px}.queue-chip b{color:#ffd398;font-size:14px}.world-label{position:absolute;left:0;top:0;transform:translate(-50%,-100%);will-change:transform;white-space:nowrap;filter:drop-shadow(0 2px 1px #281f3c55);transition:opacity .15s}.station-label{display:flex;align-items:center;gap:5px;font-size:10px;background:#42364ee8;border:1px solid #cab0cf77;padding:5px 9px;border-radius:9px;color:#fff0cf;font-weight:700}.station-label svg{width:14px;height:14px;color:#ffcc7c}.station-label small{color:#d6bde2;font-size:8px;padding-left:3px}.world-label.locked .station-label{background:#3c3246b0;border:1px dashed #b8a7c577;color:#e1d0e6}.you-label{display:inline-block;padding:4px 9px;color:#67414f;background:#ffe4b2;border:2px solid #ffcf72;border-radius:12px;font-size:10px;font-weight:900}.order-bubble{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;background:#ffedc9;color:#785477;border:2px solid #fff5e0;border-radius:13px;padding:6px 7px 8px;font-size:11px;font-weight:900;min-width:40px}.order-bubble:after{content:"";position:absolute;left:50%;bottom:-7px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #fff1d6}.order-bubble svg{width:17px;height:17px}.patience-track{position:absolute;bottom:2px;left:6px;right:6px;height:3px;border-radius:3px;overflow:hidden;background:#c7b7a3}.patience-track span{display:block;height:100%;border-radius:3px}.interaction{position:absolute;z-index:4;bottom:154px;left:50%;transform:translate(-50%);white-space:nowrap;background:#3a2949ed;color:#ffe9be;border:1px solid #d3a8cf66;border-radius:25px;padding:9px 16px;font-size:12px;pointer-events:none;box-shadow:0 4px 12px #25172c33}.hidden{display:none!important}.action-dock{position:absolute;z-index:5;bottom:46px;left:50%;transform:translate(-50%);display:flex;gap:8px;padding:8px;border:1px solid #c5a3cf66;background:#33233fed;border-radius:24px;box-shadow:0 7px #251a3199,0 15px 30px #20142833}.action-dock .action-slot{--accent: #efb45b;position:relative;width:111px;min-height:81px;border:1px solid #ffffff20;border-radius:17px;background:#5b414f;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;padding:10px 12px 9px;gap:5px;color:#fff3dd;transition:background .15s,box-shadow .15s}.action-dock .action-slot:nth-child(2){--accent: #82c5d7;background:#354e63}.action-dock .action-slot:nth-child(3){--accent: #c49de9;background:#5b4375}.action-dock .action-slot:nth-child(4){--accent: #a1d29b;background:#3f605c}.action-dock .action-slot.active{border:2px solid var(--accent);box-shadow:inset 0 0 15px #ffffff0a,0 0 14px #e8b26a22}.action-dock .action-slot.active:before{content:"";position:absolute;top:-7px;left:calc(50% - 4px);width:8px;height:8px;background:var(--accent);transform:rotate(45deg);border-radius:2px}.action-icon{justify-self:start;color:var(--accent)}.action-icon svg{height:27px;width:27px}.action-name{grid-column:1/3;grid-row:2;font-size:11px;font-weight:800}.action-count{font-size:14px;justify-self:end;font-weight:900;font-variant-numeric:tabular-nums;color:var(--accent)}.action-dock i{position:absolute;top:4px;right:5px;font-size:8px;font-style:normal;opacity:.35;display:none}.controls-hint{position:absolute;z-index:4;bottom:16px;left:50%;transform:translate(-50%);white-space:nowrap;font-size:10px;color:#ead9ee99;letter-spacing:.4px;pointer-events:none}.bottom-tools{display:flex;gap:7px;align-items:center;position:absolute;left:25px;bottom:27px;z-index:5}.icon-button{background:#3c2d4eea;border:1px solid #c6a7d45c;border-radius:13px;width:37px;height:37px;display:grid;place-items:center;box-shadow:0 3px #23192e55;color:#ecd6ec}.icon-button svg{height:18px;width:18px}.saved-indicator{font-size:9px;color:#d9c8dfaa;margin-left:4px;display:flex;align-items:center;gap:5px}.saved-indicator span{display:inline-block;width:5px;height:5px;background:#b1dca3;border-radius:50%}.basket-card{position:absolute;z-index:4;bottom:31px;right:27px;width:152px;display:flex;gap:10px;align-items:center;padding:12px 14px 17px;background:#3d2e4be8;border:1px solid #cfa6d674;border-radius:20px;box-shadow:var(--shadow);pointer-events:none}.basket-icon{color:#efb866}.basket-icon svg{width:28px;height:28px}.basket-card>div>span{font-size:9px;color:#d5bbdb;display:block;margin-bottom:3px}.basket-card strong{font-size:24px;line-height:25px;display:block;font-variant-numeric:tabular-nums}.basket-card strong small{font-size:11px;color:#c8b1d0;font-weight:500}.basket-meter{position:absolute;left:15px;right:15px;bottom:7px;height:4px;background:#281b35;border-radius:3px;overflow:hidden}.basket-meter span{display:block;width:0;height:100%;background:linear-gradient(90deg,#f2ad58,#ffe8a5);transition:width .1s;border-radius:3px}#joystick{position:absolute;z-index:5;left:25px;bottom:151px;width:104px;height:104px;border-radius:50%;background:#33264566;border:2px solid #e5c9ea3d;touch-action:none;display:none;align-items:center;justify-content:center;box-shadow:inset 0 0 20px #33254533}#joystick-knob{height:46px;width:46px;border-radius:50%;background:#c3a5d9aa;border:2px solid #eddef177;box-shadow:0 3px 5px #261a3233;pointer-events:none}.floater{position:absolute;z-index:8;transform:translate(-50%,-100%);font-weight:900;font-size:21px;color:#ffe187;text-shadow:0 2px #644150,1px 0 #644150,-1px 0 #644150;animation:float-up 1.25s ease-out forwards;white-space:nowrap}@keyframes float-up{0%{opacity:0;transform:translate(-50%) scale(.7)}15%{opacity:1;transform:translate(-50%,-20px) scale(1.15)}65%{opacity:1}to{opacity:0;transform:translate(-50%,-95px) scale(.9)}}#toast{position:absolute;z-index:30;top:102px;left:50%;transform:translate(-50%,-20px);opacity:0;pointer-events:none;transition:.2s;padding:12px 20px;border:1px solid #e1bf93;background:#ffebc9;color:#654153;border-radius:15px;box-shadow:var(--shadow);font-size:12px;font-weight:700;text-align:center;max-width:85vw;width:max-content}#toast.show{opacity:1;transform:translate(-50%)}.overlay{position:absolute;inset:0;z-index:20;background:#20162dbb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:22px}.modal{background:#3c2e4c;border:2px solid #af8ac2;border-radius:29px;max-height:90dvh;overflow-y:auto;width:min(520px,100%);padding:24px 28px;box-shadow:0 10px #1c142c88,0 30px 80px #170c2766;outline:none}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.eyebrow{font-size:11px;letter-spacing:1px;font-weight:800;color:#efc88c}.modal h2{font-size:25px;margin:12px 0 10px;color:#fff0d5}.modal-subtitle{font-size:12px;line-height:1.8;color:#cfbbda;margin:0 0 20px}.modal-balance{display:flex;align-items:center;gap:8px;background:#2d223c;border-radius:15px;padding:12px 15px;font-size:12px;color:#d0b9d6;margin-bottom:8px}.modal-balance svg{color:#f8bb5e}.modal-balance strong{margin-left:auto;color:#ffcf7c;font-size:23px}.upgrade-row{display:flex;align-items:center;gap:11px;padding:15px 0;border-bottom:1px solid #b48ac129}.upgrade-art{width:42px;height:45px;background:#66466d;border:1px solid #ba8cbd55;border-radius:12px;display:grid;place-items:center;flex-shrink:0;color:#efbd7c}.upgrade-copy{flex:1}.upgrade-copy h3{font-size:13px;margin:0 0 5px}.upgrade-copy p{font-size:10px;line-height:1.7;color:#cdb5d4;margin:0}.buy-button{font-size:11px;white-space:nowrap;border-radius:11px;padding:11px 9px;background:#f6ba64;color:#65414a;font-weight:800;box-shadow:0 3px #a9784c}.buy-button:disabled{background:#5c4b67;color:#b4a0bc;box-shadow:none}.buy-button.owned{color:#a6d3a0;background:#3c514a}.modal-footer{text-align:center;font-size:10px;color:#b99ec5;margin:17px 0 0}.help-step{display:flex;gap:13px;margin:18px 0;align-items:center}.help-step>span{width:42px;height:42px;border-radius:12px;background:#5d4167;display:grid;place-items:center;color:#eeb968;flex-shrink:0}.help-step strong{font-size:13px}.help-step p{font-size:11px;color:#ccb8d5;line-height:1.7;margin:5px 0 0}.legend{font-size:11px;color:#c7b2d0;line-height:2;background:#30243e;border-radius:13px;padding:12px 16px}.primary-button,.secondary-button{width:100%;padding:14px;border-radius:13px;font-size:14px;font-weight:800;display:block}.primary-button{background:linear-gradient(#ffce83,#eaaa56);color:#654048;box-shadow:0 4px #a37752;margin-top:20px}.secondary-button{background:transparent;color:#c9abd3;margin-top:10px;font-size:11px}.center{text-align:center}.pause-art{text-align:center;margin-top:12px;color:#f4cb81}.pause-art svg{width:63px;height:63px;stroke-width:1.2}.milestone{padding:16px;background:#30243d;border-radius:14px;text-align:center;font-size:13px;line-height:2;color:#e9d4e9}.load-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;line-height:2;color:#fff1d8}.load-error strong{font-size:21px}.brand-mark{background:linear-gradient(145deg,#ffe9ba,#f6be79 48%,#db965b);border:3px solid #fce5b5;box-shadow:inset 2px 3px 3px #fff8ddbb,inset -2px -4px 5px #b7764355,0 5px #9c6348,0 8px #4d304d,0 13px 16px #1d153c66}.brand strong{text-shadow:0 2px 0 #9e738a,0 4px 0 #50334f,0 6px 8px #281d42}.cash-pill{background:linear-gradient(155deg,#fff8df,#f3d5a5 65%,#dfb484);border:3px solid #ffe9be;box-shadow:inset 2px 3px 3px #fffef0,inset -2px -4px 4px #ad79403d,0 5px #ab7c5b,0 8px #52364e,0 13px 20px #1e133c55}.cash-pill .coin{background:linear-gradient(135deg,#f8e3bc,#cdb5a5);border:1px solid #fff7dd;box-shadow:inset 0 2px 2px #fff7e5,inset 0 -2px 3px #94797688,0 2px 2px #9d775166;border-radius:13px;transform:rotate(-7deg)}.cash-pill .coin svg{width:37px;height:37px;filter:drop-shadow(0 2px 1px #67476b44)}.cash-pill strong{color:#74503f;text-shadow:0 1px #fff9dc,0 -1px #a3744f44}.upgrade-button,.icon-button{background:linear-gradient(145deg,#cbb2dc,#a182bc 55%,#806197);border:2px solid #ddc9e6;box-shadow:inset 1px 2px 2px #f6e9ff88,inset -1px -3px 3px #67448066,0 5px #5e3f76,0 7px #35263f,0 10px 14px #281d3f44;text-shadow:0 2px #705285}.upgrade-button{border-radius:21px;color:#fff7e7}.icon-button{border-radius:13px;color:#fff2dc}.mission-panel{background:linear-gradient(145deg,#fff4d9,#efdbb9 65%,#dfc8a6);border:3px solid #ffe9c8;border-radius:24px;box-shadow:inset 2px 3px 2px #fffaf0,inset -2px -4px 4px #ac8e6944,0 5px #b49478,0 8px #61445a,0 14px 23px #2b1b3b55;color:#614857}.mission-heading,.mission-heading svg{color:#9b7484}.mission-stars{color:#c68b46}.quest-card h2{color:#674458;text-shadow:0 1px #fff9e8}.quest-card p{color:#896b70;font-weight:600}.quest-number{background:linear-gradient(140deg,#ffdea5,#e8a85d);border:1px solid #fff2cd;box-shadow:inset 0 2px 2px #fff1bd,0 3px #b17a55,0 5px 5px #a17b6a44;color:#825337}.farm-stats{border-color:#b99a7c55;color:#9d7d7b}.farm-stats svg{color:#9a748c}.farm-stats b{color:#694c60}.queue-chip,.day-pill{background:linear-gradient(145deg,#d6bdde,#b49bc3 55%,#957caa);border:2px solid #e2cce8;color:#fff8e3;box-shadow:inset 0 2px 2px #f5e9f6aa,0 3px #685071,0 5px #3c2a48,0 8px 14px #281e3c44;text-shadow:0 1px #735a83}.queue-chip b,.queue-chip svg,.day-pill b{color:#fff1d0}.station-label{background:linear-gradient(150deg,#fff0d3,#dec3a6);border:2px solid #f9e7c8;border-radius:10px;color:#73566c;box-shadow:inset 0 2px 1px #fff9e6,0 3px #aa866e,0 5px #65465966;font-weight:900;text-shadow:0 1px #fffae7}.station-label small{color:#9c7b80}.station-label svg{color:#a07d88}.world-label.locked .station-label{background:linear-gradient(#c2b2c5,#a997b0);border:1px solid #dfd2dd;color:#65556f;box-shadow:inset 0 1px #eadde8,0 3px #7a667c,0 5px #412d4a44}.you-label{background:linear-gradient(#fff1bd,#eec785);border:2px solid #fff0bd;box-shadow:inset 0 2px 1px #fffbe4,0 3px #b38458,0 5px #6d475766;color:#7a4e51}.order-bubble{background:linear-gradient(135deg,#fff9e3,#f4dfb7);border:2px solid #fff7df;box-shadow:inset -1px -2px 2px #b58d6544,0 3px #c1a17b,0 5px 5px #47314744;color:#805673}.interaction{background:linear-gradient(160deg,#ffeed1,#e2c5a0);border:2px solid #fbe6bd;color:#765366;box-shadow:inset 0 2px 2px #fff9e7,0 4px #a9836b,0 6px #55395255,0 8px 15px #2f1d3833;font-weight:800;text-shadow:0 1px #fff6e1}.action-dock{background:linear-gradient(145deg,#c1a4bc,#98758e 60%,#7e5a77);border:3px solid #d9bdd0;border-radius:27px;padding:10px;gap:10px;box-shadow:inset 2px 3px 3px #efdaed77,inset -2px -4px 4px #4a2c5155,0 6px #5e3c59,0 9px #38263e,0 16px 25px #20153155}.action-dock .action-slot{--base: #e9b976;--edge: #a3764a;--face: #fff0c2;--accent: #80532e;border:2px solid #ffeed0;background:linear-gradient(145deg,var(--face),var(--base) 60%,#cc975e);border-radius:19px;box-shadow:inset 2px 3px 2px #fff9e799,inset -2px -4px 3px #82522d33,0 5px 0 var(--edge),0 7px #4b354b66,0 9px 7px #3b294033;color:#6b463a;transition:transform .12s,box-shadow .12s}.action-dock .action-slot:nth-child(2){--base: #93c5d2;--edge: #527e96;--face: #d9f0e8;--accent: #416e86;background:linear-gradient(145deg,var(--face),var(--base) 65%,#73a4bd);border-color:#e0f2e9;color:#416175}.action-dock .action-slot:nth-child(3){--base: #c5a4d9;--edge: #86619f;--face: #ecd8f3;--accent: #76508f;background:linear-gradient(145deg,var(--face),var(--base) 65%,#a985bd);border-color:#f1e0f7;color:#6b4e7d}.action-dock .action-slot:nth-child(4){--base: #a8cbaa;--edge: #6a8c71;--face: #e7edcb;--accent: #527a5d;background:linear-gradient(145deg,var(--face),var(--base) 65%,#86b295);border-color:#eff1d6;color:#4f7057}.action-dock .action-slot.active{border:2px solid #fff9d1;box-shadow:inset 2px 3px 2px #fffdf4aa,inset -2px -4px 3px #82522d22,0 5px 0 var(--edge),0 7px #49334988,0 0 0 2px #ffdf95,0 10px 16px #39243955}.action-dock .action-slot.active:before{background:#fff0b5;box-shadow:1px 1px #c59664}.action-icon svg{height:33px;width:33px;filter:drop-shadow(1px 3px 1px #70557655)}.action-name{text-shadow:0 1px #ffffed99;font-weight:900}.action-count{text-shadow:0 1px #fff6de99}.action-dock .action-slot:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 2px 3px #70507544,0 1px 0 var(--edge),0 3px #49334966}.upgrade-button:active:not(:disabled),.icon-button:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 2px 3px #70507544,0 1px #5e3f76,0 3px #35263f}.basket-card{background:linear-gradient(145deg,#fff0d8,#e6ccac);border:3px solid #f8e5c7;box-shadow:inset 0 2px 2px #fffaed,0 4px #b7977b,0 7px #5a3d58,0 11px 15px #24162e44;color:#765268}.basket-card>div>span,.basket-card strong small{color:#967384}.basket-icon svg{width:33px;height:33px;filter:drop-shadow(0 2px 1px #ac886455)}.basket-meter{background:#b99889;box-shadow:inset 0 1px 2px #70505266;border:1px solid #f8e1b8;height:6px}.modal{background:linear-gradient(145deg,#fff2d9,#e8d0b4);border:4px solid #fae5c9;box-shadow:inset 2px 3px 3px #fffcf0,0 7px #b29279,0 11px #5c3d5d,0 30px 80px #170c2766;color:#684f66}.modal h2{color:#684361;text-shadow:0 2px #fff9e4}.modal-subtitle,.upgrade-copy p,.help-step p,.modal-footer,.legend{color:#96788c}.eyebrow{color:#a37a55}.modal-balance,.legend,.milestone{background:#d9bfc5;border:1px solid #e9d2d2;box-shadow:inset 0 2px 3px #9e7a8e44;color:#795c75}.modal-balance strong{color:#805b6f}.upgrade-row{border-color:#b4919c44}.upgrade-art,.help-step>span{background:linear-gradient(#e2c7d8,#c5a2c6);box-shadow:inset 0 2px #f5e3ed,0 3px #a781a4;border-color:#f1dce8}.buy-button{background:linear-gradient(#ffe4ae,#edbc76);box-shadow:inset 0 2px #fff0c7,0 3px #b68b5e,0 5px #78526a44;border:1px solid #ffeac1}.buy-button:disabled{background:#d5bdc9;color:#a68b9f}.buy-button.owned{background:#c5d4ad;color:#668157}.secondary-button{color:#9a7892}.pause-art{color:#ad84b1}@media(max-width:1000px){.day-pill{display:none}.brand strong{font-size:23px}.mission-panel{width:255px}.saved-indicator{display:none}.action-dock .action-slot{width:98px}.basket-card{width:137px}.controls-hint{font-size:9px}.header-actions{gap:8px}.topbar{gap:10px}}@media(pointer:coarse){#joystick{display:flex}.controls-hint{display:none}}@media(max-width:600px){.topbar{left:13px;right:13px;top:max(13px,env(safe-area-inset-top));gap:8px;flex-wrap:wrap}.brand{gap:8px}.brand-mark{width:42px;height:44px;border-radius:15px;border-width:2px}.brand-mark svg{width:30px;height:30px}.brand strong{font-size:17px;letter-spacing:.2px}.brand small{font-size:8px;letter-spacing:1px;margin-bottom:3px}.header-actions{gap:0}.cash-pill{min-width:103px;padding:5px 9px 5px 5px;border-width:2px;border-radius:15px;gap:6px}.cash-pill .coin{width:29px;height:29px}.coin svg{width:25px;height:25px}.cash-pill small{font-size:8px;letter-spacing:0}.cash-pill strong{font-size:21px;line-height:22px}.upgrade-button{position:fixed;right:13px;top:77px;height:35px;padding:0 11px;border-radius:12px;font-size:10px;gap:5px}.upgrade-button svg{width:15px;height:15px}.upgrade-button kbd{display:none}.mission-panel{left:13px;top:77px;width:calc(100% - 135px);padding:9px 11px;border-radius:16px}.mission-heading,.farm-stats{display:none}.quest-card{margin:0;gap:8px}.quest-number{width:21px;height:23px;font-size:12px;border-radius:7px}.quest-card h2{font-size:11px;margin:1px 0 4px}.quest-card p{font-size:9px;line-height:1.65}.queue-chip{top:121px;right:13px;gap:4px;padding:6px 8px;font-size:8px;max-width:110px}.queue-chip svg{width:13px;height:13px}.queue-chip b{font-size:11px}.action-dock{bottom:max(16px,env(safe-area-inset-bottom));width:calc(100% - 20px);gap:5px;padding:6px;border-radius:21px}.action-dock .action-slot{min-width:0;width:auto;flex:1;padding:9px 7px 7px;gap:4px;min-height:70px;border-radius:15px}.action-icon svg{width:24px;height:24px}.action-name{font-size:9px}.action-count{font-size:12px}.controls-hint{display:none}.bottom-tools{left:15px;bottom:108px;gap:6px}.icon-button{width:31px;height:31px;border-radius:10px}.icon-button svg{width:15px;height:15px}.basket-card{right:14px;bottom:106px;width:118px;padding:8px 10px 14px;gap:7px;border-radius:16px}.basket-icon svg{width:23px;height:23px}.basket-card strong{font-size:22px;line-height:23px}.basket-card strong small{font-size:10px}.basket-card>div>span{font-size:8px}.interaction{bottom:176px;font-size:9px;padding:7px 10px;max-width:92%;white-space:normal;text-align:center;width:max-content}.station-label{font-size:8px;padding:4px 6px;gap:3px}.station-label svg{width:11px;height:11px}.station-label small{font-size:7px}.you-label{font-size:8px;padding:3px 6px;border-width:1px}.order-bubble{font-size:9px;padding:4px 4px 7px;min-width:32px;border-radius:11px}.order-bubble svg{width:14px;height:14px}.floater{font-size:16px}#joystick{left:18px;bottom:161px;width:89px;height:89px;display:flex}#joystick-knob{width:41px;height:41px}#toast{top:159px;font-size:11px;max-width:90vw;padding:10px 14px}.overlay{padding:15px}.modal{padding:16px 18px;border-radius:23px;max-height:92dvh}.modal h2{font-size:21px}.modal-subtitle{font-size:11px;margin-bottom:14px}.upgrade-row{gap:8px;padding:12px 0}.upgrade-art{width:34px;height:39px}.upgrade-copy h3{font-size:12px}.upgrade-copy p{font-size:9px}.buy-button{font-size:10px;padding:10px 7px}.help-step{margin:14px 0}.help-step strong{font-size:12px}.help-step p{font-size:10px}}@media(max-height:540px)and (min-width:601px){.topbar{top:12px;left:15px;right:15px}.brand-mark{width:44px;height:44px}.brand strong{font-size:20px}.brand small{font-size:8px}.cash-pill{padding:3px 12px 3px 5px}.cash-pill strong{font-size:22px}.upgrade-button{height:45px}.mission-panel{top:78px;left:15px;padding:8px 12px;width:230px}.mission-heading,.farm-stats{display:none}.quest-card{margin:0}.queue-chip{top:78px}.action-dock{bottom:12px;padding:5px}.action-dock .action-slot{min-height:62px;width:90px;padding:6px 9px}.controls-hint{display:none}.interaction{bottom:97px}.bottom-tools{bottom:16px;left:15px}.basket-card{bottom:16px;right:15px;padding:8px 10px 13px}#joystick{bottom:72px;width:80px;height:80px}}@media(prefers-reduced-motion:reduce){.floater{animation-duration:.5s}button,.basket-meter span,#toast{transition:none}}.cash-pill.is-paid{animation:wallet-pop .3s ease-out}@keyframes wallet-pop{0%,to{scale:1}40%{scale:1.07;filter:brightness(1.12)}}@font-face{font-family:Lilita One;src:url(/chapter-r2-pilot/fonts/LilitaOne.ttf) format("truetype");font-weight:400 900;font-display:swap}@font-face{font-family:Festival CN;src:url(/chapter-r2-pilot/fonts/FestivalCN.ttf) format("truetype");font-weight:100 900;font-display:swap}:root{--game-font: "Lilita One", "Festival CN", sans-serif;--ink: #f5eee4;--panel: #49404d;--edge: #2f2937;--muted: #cec1c7;--pumpkin: #ce8049;--gold: #edbd76}body,button,select,input{font-family:var(--game-font);font-weight:900}body{color:var(--ink)}button{color:var(--ink);text-shadow:none;letter-spacing:0;transition:background .15s,transform .15s}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #f2c485;outline-offset:3px}button:active:not(:disabled){transform:translateY(2px)}.brand-mark{background:#c7814e;border:2px solid #e3ad76;border-radius:13px;box-shadow:0 3px #754e3e;filter:none}.brand strong{color:#f7e8d6;font-size:26px;letter-spacing:0;line-height:1.25;-webkit-text-stroke:0;text-shadow:0 2px 0 #483849}.brand small{color:#d6c4d0;letter-spacing:1px;text-shadow:none}.day-pill,.queue-chip{background:var(--panel);color:var(--ink);border:1px solid #796b7b;box-shadow:0 3px 0 var(--edge);text-shadow:none;border-radius:9px}.day-pill i{background:#bac58d;box-shadow:none}.cash-pill{background:var(--panel);border:2px solid #8e7a79;box-shadow:0 4px 0 var(--edge);color:var(--ink);border-radius:12px}.cash-pill small{color:var(--muted)}.cash-pill strong{color:#f1c283;font:900 30px var(--game-font);text-shadow:none;font-variant-numeric:tabular-nums}.upgrade-button,.primary-button,.buy-button{background:var(--pumpkin);border:1px solid #edb17a;box-shadow:0 4px #784c3c;border-radius:10px;color:#fff4e7;font-size:16px}.upgrade-button:hover,.primary-button:hover,.buy-button:hover:not(:disabled){background:#da9059}.upgrade-button:active,.primary-button:active,.buy-button:active{box-shadow:0 1px #784c3c}.mission-panel{background:var(--panel);border:1px solid #817180;border-radius:12px;box-shadow:0 4px 0 var(--edge);color:var(--ink)}.mission-heading{color:#d0bcc9;font-size:11px;letter-spacing:1px;text-shadow:none}.mission-stars{color:#d7a56f}.quest-number{background:#c38251;border:0;color:#fff1da;border-radius:7px;box-shadow:0 2px #78543f;text-shadow:none}.quest-card h2{color:#f5ede2;font-size:18px;text-shadow:none}.quest-card p{color:#d1c4ce;font-size:12px;line-height:1.6}.farm-stats{color:#bdaebf;border-color:#716273}.farm-stats b{color:#edbd76}.action-dock{background:#39323f;border:1px solid #766877;border-radius:15px;box-shadow:0 5px #282330;padding:7px;gap:6px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){background:#574c5b;border:1px solid #817184;border-radius:10px;box-shadow:0 3px #302937;padding:9px;color:var(--ink)}.action-dock .action-slot:hover{background:#66586a}.action-dock .action-slot.active{background:#b87547;border-color:#f0bc7d;outline:0;transform:none;box-shadow:inset 0 2px #d9a16a,0 3px #664333}.action-dock .action-slot.active:before{display:none}.action-dock .action-slot:active{transform:translateY(2px);box-shadow:0 1px #302937}.action-name{font-size:12px;color:#f4ece5;letter-spacing:0}.action-count{color:#f1c283;font:900 23px var(--game-font);text-shadow:none;-webkit-text-stroke:0;white-space:nowrap;font-variant-numeric:tabular-nums}.action-dock .action-slot.active .action-count{color:#fff0d1}.action-dock .action-slot i{color:#bdafc2;background:#39313f}.action-icon,.action-icon svg,.brand-mark svg,.coin,.coin svg,.cash-pill .coin svg,.basket-icon,.basket-icon svg{filter:none}.station-label,.you-label,.order-bubble{background:#514653;border:1px solid #9d879c;color:#f5e9d9;border-radius:7px;box-shadow:0 2px #302935;text-shadow:none}.station-label small{color:#d7c5d5}.world-label{filter:none;left:0;top:0}.world-label.locked .station-label{background:#5b535e;border-color:#827489;color:#e8dfeb}.you-label{color:#f3d1a4;border-color:#bb8c64}.order-bubble{color:#f0c185}.order-tier-2{border-color:#9bc6c4}.order-tier-3{border-color:#e5ae70}.order-angry{background:#895151;border-color:#e39a7c}.order-alert{display:inline-block;margin-right:3px;color:#ffcf8b;font-size:20px;line-height:1}.patience-track{background:#302c38}.basket-card{background:var(--panel);border:1px solid #8a788e;color:var(--ink);box-shadow:0 3px 0 var(--edge);border-radius:12px}.basket-card strong{color:#f1c283;font-family:var(--game-font);white-space:nowrap}.basket-card small,.basket-card span{color:#d1bfce}.basket-meter{background:#302936;border:0}.basket-meter span{background:#d6aa72}.icon-button,.secondary-button{background:#554a5b;border:1px solid #8c7a94;border-radius:8px;color:var(--ink);box-shadow:0 3px #302736}.icon-button:hover,.secondary-button:hover{background:#685871}.icon-button:active,.secondary-button:active{box-shadow:0 1px #302736}#settings-button{font-family:system-ui;font-size:24px}.saved-indicator{color:#d0bed2}.controls-hint{color:#cdbfd0;text-shadow:0 1px #352b42;font-weight:700}.interaction,#toast{background:#514351;color:#fae4c4;border:1px solid #9b8097;box-shadow:0 3px #342d3b;border-radius:8px;text-shadow:none;font-size:13px}.modal{background:#453c4b;border:1px solid #9a829c;border-radius:17px;color:var(--ink);box-shadow:0 6px #2a2333,0 18px 50px #211b2c66}.modal h2{color:#f1c38a;font:900 28px var(--game-font);text-shadow:none;-webkit-text-stroke:0}.eyebrow{color:#c8aebe}.modal-subtitle,.modal-footer,.legend,.help-step p,.upgrade-copy p,.settings-note{color:#d3c6d6;font-weight:700;line-height:1.7}.upgrade-row,.help-step,.milestone{background:#514555;border:1px solid #79647d;border-radius:10px}.upgrade-copy h3,.help-step strong{color:#f4e6d3}.upgrade-art,.help-step>span{background:#645267;border:1px solid #927d95;box-shadow:none}.modal-balance{background:#342c3b;border:1px solid #7d637d;color:#dac2a5}.modal-balance strong{color:#f1c283}.buy-button:disabled{background:#695b68;border-color:#89798a;box-shadow:none;color:#b8a9b9;opacity:1;filter:none}.buy-button.owned{background:#687653;color:#f1f0dc;border-color:#9ca777}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 10px;color:#eee2d6;font-size:18px}.setting-row select{min-height:43px;background:#342c3d;color:#f6ece2;border:1px solid #9a829f;padding:6px 14px;border-radius:8px;font-size:16px}.setting-row input[type=checkbox]{width:24px;height:24px;accent-color:#d6955e}.setting-row input[type=range]{width:55%;accent-color:#d6955e}.volume-row{font-size:14px}.settings-note{font-size:12px}.license-link{display:inline-block;color:#f1c38a;text-decoration:underline;margin-top:15px}.floater{font-family:var(--game-font);font-weight:900;color:#fbd18a;-webkit-text-stroke:1px #5b3b3e;paint-order:stroke fill;text-shadow:0 2px #3f2c40}#queue-overflow{color:#e8b980;border-left:1px solid #8f778e;padding-left:6px}.queue-chip{white-space:nowrap}#joystick{background:#473c5340;border:1px solid #baa2be80;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#joystick-knob{background:#b59bbbd9;border:1px solid #e2cfe8;box-shadow:0 3px #57435f55}.overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:#241d30b8}@media(max-width:700px){.brand strong{font-size:18px}.brand small{font-size:8px;letter-spacing:.5px}.cash-pill strong{font-size:24px}.action-dock{padding:6px;gap:5px}.action-dock .action-slot{padding:8px 3px}.action-name{font-size:10px}.action-count{font-size:20px}.modal h2{font-size:25px}.quest-card h2{font-size:13px}.quest-card p{font-size:10px}.upgrade-button{font-size:12px}.setting-row{font-size:16px}.controls-hint{font-size:9px}}@media(max-width:600px){.basket-card{width:143px;padding:8px 10px 14px}.basket-card strong{font-size:20px}.basket-card strong small{font-size:9px}.interaction{left:auto;right:14px;transform:none;bottom:190px;max-width:calc(100% - 140px);width:max-content;font-size:11px}#queue-caption{display:none}#queue-overflow{font-size:9px;padding-left:4px}}html[lang=en] .brand strong{font-family:Lilita One,sans-serif}html[lang=en] .action-name{font-size:13px}@media(max-width:700px){html[lang=en] .action-name{font-size:10px}}@media(prefers-reduced-motion:reduce){button{transition:none}}.order-bubble:after{border-top-color:#514653}.order-angry:after{border-top-color:#895151}.patience-track span{width:100%;transform-origin:left center}.action-name{text-shadow:none}.action-dock .action-slot:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #302937}@media(max-height:540px)and (min-width:601px){.brand strong{font-size:20px}.cash-pill strong{font-size:22px}.quest-card h2{font-size:13px}.quest-card p{font-size:10px}.action-dock{padding:5px;gap:5px}.action-dock .action-slot{padding:6px}.action-count{font-size:18px}.action-name,html[lang=en] .action-name{font-size:10px}.action-icon svg{width:24px;height:24px}.interaction{font-size:11px}}.action-slot{pointer-events:none;cursor:default}.world-label{pointer-events:none}#night-hud{position:absolute;z-index:8;top:88px;left:50%;transform:translate(-50%);width:min(400px,80vw);padding:9px 14px;border:2px solid #cfa871;border-radius:12px;background:#303b37;box-shadow:0 4px #16231e;color:#f7eed8;pointer-events:none}#night-hud[hidden]{display:none}#night-hud>div:first-child{display:flex;align-items:center;gap:12px;font-size:15px}#night-label{color:#f5b764}#night-clock{margin-left:auto;font-variant-numeric:tabular-nums}.night-track{height:5px;background:#14251e;margin-top:7px;border-radius:5px;overflow:hidden}#night-meter{display:block;height:100%;background:#a5c27f;transition:width .2s}#night-hud.urgent #night-clock{color:#ffc1a1}.chapter-summary{display:flex;justify-content:space-between;color:#e1a852;font-size:23px;margin:12px 0}.chapter-summary span{display:flex;align-items:center;gap:7px}.chapter-summary svg{width:30px;height:30px}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:16px 0}.level-card{font:inherit;background:#35433d;color:#f6ead4;border:2px solid #809279;border-radius:12px;box-shadow:0 4px #1e2a24;min-height:106px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}.level-card b{font-size:28px;line-height:1}.level-card span{font-size:12px}.level-card small{color:#f4bf63;font-size:19px;letter-spacing:2px}.level-card:disabled{opacity:.4;cursor:default;background:#33313c;border-color:#6d6570}.level-card.cleared{border-color:#dbb377}.level-card:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #1e2a24}.star-rules{list-style:none;padding:0;margin:20px 0;border-top:1px solid #71676f}.star-rules li{padding:11px 0;border-bottom:1px solid #71676f;font-size:15px;color:#f2ead7}.chapter-reward{font-size:14px;color:#dfbc87;margin:16px 0}.result-stars{text-align:center;color:#b87622;font-size:54px;letter-spacing:10px;margin:12px 0}.chapter-summary,#modal .level-grid{font-family:Festival CN,Lilita One,sans-serif}@media(max-width:600px){#night-hud{top:72px;width:calc(100vw - 32px);padding:8px 11px}#night-hud>div:first-child{font-size:13px;gap:9px}.level-grid{grid-template-columns:repeat(2,1fr);gap:9px}.level-card{min-height:75px;display:grid;grid-template-columns:38px 1fr;text-align:left;padding:8px}.level-card b{grid-row:span 2}.level-card small{font-size:16px}.star-rules li{font-size:13px;padding:9px 0}.result-stars{font-size:42px}.chapter-reward{font-size:12px}}.day-pill{visibility:hidden}#night-guidance{display:none}@media(min-width:601px){#night-hud{top:24px;width:340px}}@media(max-width:600px){.mission-panel{display:none}#night-hud{top:77px;left:13px;transform:none;width:calc(100vw - 140px);padding:8px 10px}#night-hud>div:first-child{font-size:11px;gap:6px}#night-guidance{display:block;margin-top:5px;font-size:10px;color:#d9dfc6}.night-track{margin-top:5px;height:4px}}@media(max-height:540px)and (min-width:601px){#night-hud{top:20px;width:280px}#night-hud>div:first-child{font-size:12px}}.assistant-label{display:block;color:#d7efe3;background:#315e58;border:1px solid #97c6a8;border-radius:7px;padding:3px 7px;font-size:10px;box-shadow:0 2px #193b36}#night-event{display:block;margin-top:5px;color:#ffc786;font-size:11px}#night-event[hidden]{display:none}.preparation-warning{padding:12px;border:1px solid #dfad67;border-radius:9px;background:#47392d;color:#ffd399;font-size:14px}.future-chapters{padding:10px 0;color:#b8b3b7;font-size:12px;line-height:1.7}.primary-button:disabled{opacity:.45;cursor:default;filter:grayscale(.5)}:root{--art-ink: #fff4d9;--art-muted: #c9b9c7;--art-dark: #211a2d;--art-gold: #ffce72;--art-grain: repeating-linear-gradient( 176deg, transparent 0 17px, #130e1d12 18px 19px, transparent 20px 37px )}button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #fff0a8;outline-offset:4px}button:not(:disabled){transition:transform .12s,background-color .12s}.overlay{background:#110e21b8;-webkit-backdrop-filter:none;backdrop-filter:none;padding:18px}.modal{width:min(580px,100%);max-height:calc(100dvh - 36px);padding:22px 25px 25px;border:28px solid transparent;border-radius:29px;border-image:url(/chapter-r2-pilot/ui/carved-frame.webp) 230 / 28px / 0 stretch;background:var(--art-grain),radial-gradient(ellipse at 50% 0,#493149,#292131 80%);background-clip:padding-box;color:var(--art-ink);box-shadow:0 20px 60px #100b20a6;scrollbar-width:thin;scrollbar-color:#b38b60 #2d2337;overscroll-behavior:contain}.modal h2{font-size:30px;line-height:1.25;color:#ffdfa0;text-shadow:0 3px #3c2233;margin:10px 0 12px;text-wrap:balance}.modal-subtitle{font-size:13px;color:#e3d5df;line-height:1.75}.eyebrow{color:#f0be76;font-size:11px;letter-spacing:1.5px}.modal-top{gap:12px;min-height:36px}.modal .icon-button{flex-shrink:0}.primary-button,.upgrade-button,.buy-button{position:relative;border:2px solid #ffdb83;border-radius:15px;color:#fff8df;text-shadow:0 2px #784016;background:linear-gradient(#ffd774,#efa547 12%,#df8429 70%,#ca6822);box-shadow:inset 0 3px #fff1b9a8,inset 0 -3px #b95c25,0 5px #743e25,0 7px #201626;min-height:48px;font-size:17px;letter-spacing:.2px}.primary-button{background:linear-gradient(#b1de89,#7bb552 14%,#4b8c42 80%,#39713b);border-color:#c3e79b;text-shadow:0 2px #31582d;box-shadow:inset 0 3px #e1f6bba1,inset 0 -3px #346538,0 5px #24442c,0 7px #181721}.primary-button:hover:not(:disabled){background:linear-gradient(#c5eca0,#8ec665 14%,#599d4b 80%,#39713b)}.upgrade-button:hover:not(:disabled),.buy-button:hover:not(:disabled){background:linear-gradient(#ffe399,#f6b151 14%,#eb9436 80%,#cf7529)}.secondary-button,.icon-button{border:2px solid #9d7699;color:#fff1d7;border-radius:13px;background:linear-gradient(#826489,#5e456b 15%,#493353 85%,#3d2946);box-shadow:inset 0 2px #b79cbb88,inset 0 -2px #34233c,0 4px #25192e;text-shadow:0 2px #312039}.secondary-button:hover,.icon-button:hover{background:linear-gradient(#9677a0,#71517c 15%,#553b63)}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),.buy-button:active:not(:disabled),.upgrade-button:active:not(:disabled),.icon-button:active{transform:translateY(3px);box-shadow:inset 0 2px #fff3,0 1px #24182d}.primary-button:disabled,.buy-button:disabled{opacity:1;filter:none;color:#b4a4b9;background:linear-gradient(#68556c,#463b4d);border-color:#75667b;box-shadow:inset 0 2px #8e7c914d,0 3px #211b29;text-shadow:0 1px #282131;cursor:default}.buy-button.owned{color:#d2ecb6;background:#344d38;border-color:#6e8e61}.icon-button{width:42px;height:42px;border-radius:50%}.icon-button svg{width:23px;height:23px;stroke-width:2.3}.primary-button svg,.secondary-button svg{width:28px;height:28px;vertical-align:middle;flex-shrink:0}#modal[data-panel=chapter]{width:min(800px,100%);padding:0;overflow-x:hidden}.chapter-hero{min-height:228px;position:relative;background:url(/chapter-r2-pilot/ui/candy-shop-hero.webp) center / cover no-repeat;isolation:isolate}.chapter-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#302335,transparent 42%);pointer-events:none}.chapter-title{padding:31px 30px 25px;max-width:49%}.chapter-title .eyebrow{font-size:10px;color:#f5c67a;letter-spacing:2px}.modal .chapter-title h2{color:#ffe9b2;font-size:39px;line-height:1.15;margin:12px 0 10px;text-shadow:0 3px #673b27,0 5px #211a26;letter-spacing:1px}.chapter-title p{color:#eadbc8;font-size:12px;line-height:1.6;margin:0}.chapter-tools{position:absolute;right:12px;top:12px;display:flex;gap:8px}.chapter-tools .icon-button{width:35px;height:35px;border-width:1px;background:#362535dd}.chapter-tools svg{width:21px;height:21px}.chapter-body{padding:0 24px 18px}.chapter-summary{display:flex;justify-content:space-between;align-items:center;margin:-3px 0 21px;gap:12px;position:relative;font-family:var(--game-font)}.chapter-summary>span{min-width:118px;border:1px solid #9c734c;background:linear-gradient(#1e1925,#352434);border-radius:12px;padding:7px 14px 7px 8px;box-shadow:inset 0 2px 4px #110d18,0 2px #80583e55;gap:8px}.chapter-summary svg{width:33px;height:33px;margin-top:-6px;margin-bottom:-4px}.chapter-summary b{color:#ffe39a;font-size:26px;font-variant-numeric:tabular-nums;text-shadow:0 2px #4b2b25}.chapter-summary small{color:#d3bec6;font-size:12px}.journey-heading{display:flex;justify-content:space-between;align-items:center;color:#dbc29f;font-size:11px;letter-spacing:1px}.journey-heading>span:last-child{font-size:10px;color:#a894a9}.level-grid{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 12px;margin:20px 0 24px}.level-grid:before{content:"";position:absolute;inset:33px 9% 81px;border:6px solid #6d503e;border-left:0;border-radius:0 24px 24px 0;box-shadow:0 2px #110c1c;opacity:.8;pointer-events:none}.level-card,.level-card:disabled,.level-card.cleared{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:115px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e6d5db;opacity:1;text-align:center}.level-card:nth-child(6){grid-column:5;grid-row:2}.level-card:nth-child(7){grid-column:4;grid-row:2}.level-card:nth-child(8){grid-column:3;grid-row:2}.level-card:nth-child(9){grid-column:2;grid-row:2}.level-card:nth-child(10){grid-column:1;grid-row:2}.level-node{display:grid;place-items:center;position:relative;width:67px;height:67px;border-radius:24px;border:3px solid #b78b57;background:radial-gradient(ellipse at 35% 15%,#bc8850,#8b592f 63%,#624028);box-shadow:inset 0 3px #e5be7a88,inset 0 -4px #533322,0 5px #2b1c27,0 7px #120f1c88;transform:rotate(-5deg)}.level-node b{font-size:31px;line-height:1;color:#ffedbe;text-shadow:0 3px #704024;transform:rotate(5deg)}.level-card:nth-child(2n) .level-node{transform:rotate(5deg)}.level-card:nth-child(2n) .level-node b{transform:rotate(-5deg)}.level-card .level-name{font-size:12px;line-height:1.4;min-height:17px;margin-top:7px;text-shadow:0 2px #1b1427}.level-card:disabled{color:#a695ac}.level-card:disabled .level-node{background:linear-gradient(140deg,#5c5366,#3b3348);border-color:#75667b;box-shadow:inset 0 2px #9d8fa14d,inset 0 -3px #292233,0 5px #1a1522}.level-card:disabled .level-node b{color:#c2b1c8;opacity:.6;font-size:25px;text-shadow:0 2px #251c2d}.level-node i{position:absolute;bottom:-7px;right:-6px;width:25px;height:25px}.level-card.current .level-node{background:radial-gradient(ellipse at 30% 15%,#e7c872,#df8f34 65%,#b86722);border-color:#ffeeb6;box-shadow:inset 0 3px #ffefba,inset 0 -4px #ac5c21,0 5px #774525,0 0 0 6px #e5b26424}.level-card.current .level-name{color:#ffe3a3}.level-card.cleared .level-node{background:radial-gradient(ellipse at 35% 15%,#b0d38b,#598451 70%,#37583c);border-color:#c6dea3}.level-card:hover:not(:disabled) .level-node{translate:0 -3px}.level-card:active:not(:disabled){transform:translateY(3px);box-shadow:none}.art-stars{display:flex;justify-content:center;gap:1px}.art-stars>span{display:block;width:20px;height:20px}.art-stars svg{width:100%;height:100%}.art-stars .empty{opacity:.24;filter:saturate(.2)}.chapter-actions{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;padding-top:4px}.chapter-actions>button{margin:0;padding:12px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px}.chapter-actions .primary-button{font-size:19px}.chapter-actions .secondary-button{font-size:15px}.future-chapters{text-align:center;color:#9c8ba7;font-size:10px;line-height:1.5;padding:20px 0 0}.star-rules{border:0;margin:21px 0;padding:5px 14px;border-radius:13px;background:#17131f6b;box-shadow:inset 0 2px 4px #100b1a6b,0 1px #70534466}.star-rules li{color:#e9d8bb;border-color:#7156415c;padding:13px 0;font-size:14px;line-height:1.6}.star-rules li:last-child{border:0}.chapter-reward{color:#ebc986;font-size:12px;padding:9px 0;line-height:1.8}.preparation-warning{background:#633c2f;border-color:#c98740;color:#ffe0a6;line-height:1.6}.result-stars{margin:25px 0 23px}.result-stars .art-stars{gap:12px;align-items:flex-end}.result-stars .art-stars>span{width:68px;height:68px}.result-stars .art-stars>span:nth-child(2){width:90px;height:90px;margin-bottom:8px}.result-stars .earned{animation:star-arrive .38s both}.result-stars .earned:nth-child(2){animation-delay:.11s}.result-stars .earned:nth-child(3){animation-delay:.22s}@keyframes star-arrive{0%{opacity:0;transform:scale(.5) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}.modal-balance{background:#211a2c;border:1px solid #926f4a;color:#dec8b0;border-radius:12px;box-shadow:inset 0 2px 4px #100b19}.modal-balance strong{color:#ffe19b;font-size:28px;text-shadow:0 2px #57332a}.upgrade-row{padding:13px 11px;margin:12px 0;gap:13px;border:1px solid #7b5a6e;border-radius:12px;background:var(--art-grain),linear-gradient(110deg,#554053,#372c40);box-shadow:inset 0 2px #b58b9a22,0 3px #1c1627}.upgrade-art,.help-step>span{flex-shrink:0;width:57px;height:62px;border:2px solid #a98056;border-radius:15px;background:radial-gradient(ellipse at top,#88634d,#3d2e39);box-shadow:inset 0 2px #e5bd7c66,0 3px #221827}.upgrade-art svg{width:43px;height:43px}.upgrade-copy{min-width:0}.upgrade-copy h3{font-size:16px;color:#ffe4b1;line-height:1.4}.upgrade-copy p{font-size:12px;line-height:1.6;color:#d8c8d6}.buy-button{min-width:82px;max-width:100px;flex-shrink:0;min-height:44px;padding:8px 9px;font-size:13px}.modal-footer,.settings-note{color:#b9a9be;font-size:11px;line-height:1.7}.milestone,.legend{border:1px solid #76596e;color:#e4cdaa;background:#211a2b;box-shadow:inset 0 2px 4px #120d1d;font-size:13px;line-height:1.9}.pause-art{margin:10px auto 16px;width:100px;height:100px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(#95633f55,#20192d00 70%)}.pause-art svg{width:75px;height:75px}.help-step{background:#35283f;border-color:#75596b;padding:12px}.help-step p{color:#d7c6d5;font-size:12px}.setting-row{color:#f1debd;font-size:16px;border-bottom:1px solid #71546b55;padding:13px 0}.setting-row select{background:#261d31;border:2px solid #94724d;border-radius:9px;color:#fff0d4;padding:9px;font:inherit;font-size:14px}.setting-row input[type=checkbox]{appearance:none;width:46px;height:27px;border:2px solid #806781;border-radius:15px;background:#291f34;position:relative;cursor:pointer}.setting-row input[type=checkbox]:after{content:"";width:17px;height:17px;position:absolute;top:3px;left:3px;background:linear-gradient(#fff0c5,#cba574);border-radius:50%;box-shadow:0 2px #281e2d}.setting-row input[type=checkbox]:checked{background:#4f8142;border-color:#99b96d}.setting-row input[type=checkbox]:checked:after{left:22px}.setting-row input[type=range]{accent-color:#eab661}.brand-mark{background:radial-gradient(ellipse at 25% 15%,#cf9e62,#815237);border:3px solid #ffd28b;box-shadow:inset 0 2px #ffe9aa,0 4px #4d3031;border-radius:18px}.brand strong{color:#ffedbe;text-shadow:0 2px #68402d,0 4px #22192e;font-size:23px}.brand small{color:#f0cd9d;text-shadow:0 2px #251c2e}.cash-pill{background:linear-gradient(#483241,#302234);border:2px solid #d4a367;box-shadow:inset 0 2px #ffd89455,0 4px #24182b;border-radius:16px}.cash-pill strong{color:#ffdf83;font-size:31px;text-shadow:0 2px #75462d}.cash-pill small{color:#ecd2ab}.cash-pill .coin{transform:rotate(-9deg) scale(1.1)}#night-hud{border:2px solid #bc9361;border-radius:15px;background:var(--art-grain),linear-gradient(#3d2d3c,#292333);box-shadow:inset 0 2px #edcc9344,0 4px #191421;padding:10px 14px}#night-label{color:#ffce81}#night-clock{color:#ffefb7;text-shadow:0 2px #6b4330;font-size:17px}.night-track{height:7px;background:#181221;box-shadow:0 1px #94715455}#night-meter{background:linear-gradient(#dbec9b,#88b75b 50%,#568d42);border-radius:6px;box-shadow:inset 0 1px #edf9bc}#night-hud.urgent #night-clock{color:#ffad75}#night-guidance{color:#e5d4b5}.mission-panel{background:var(--art-grain),linear-gradient(#443347ed,#2d2536ed);border:2px solid #a97e55;border-radius:14px;box-shadow:inset 0 2px #e6bc7633,0 4px #211729;padding:14px;width:260px}.mission-heading{color:#e8c58d;font-size:10px}.quest-number{color:#fff0bd;border:1px solid #efc27c;background:linear-gradient(#cf924b,#9e602c);box-shadow:inset 0 2px #e6b86c,0 3px #633c28}.quest-card h2{color:#fff0c9;font-size:16px;text-shadow:0 2px #26192e}.quest-card p{color:#d7c8d3;font-size:11px}.farm-stats{color:#c4b4c9}.queue-chip{border:1px solid #b28a61;background:#362a3c;border-radius:12px;color:#efdfc7;box-shadow:inset 0 2px #e2bd7e33,0 3px #211a2c}.action-dock{border:2px solid #b38b5b;border-radius:21px;background:var(--art-grain),linear-gradient(#4d3546,#302233);box-shadow:inset 0 2px #e0c08d66,0 5px #201429;padding:8px;gap:8px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){border:1px solid #8f7287;border-radius:12px;background:linear-gradient(#59415c,#3b2b46);box-shadow:inset 0 2px #987c9a66,inset 0 -2px #2a1e35,0 3px #1c1426;padding:10px}.action-dock .action-slot.active{background:linear-gradient(#8a653d,#6a482d);border-color:#ffdb86;box-shadow:inset 0 2px #e3b86c,inset 0 -3px #513426,0 3px #1c1426}.action-count{color:#ffe9a2;font-size:26px;text-shadow:0 2px #583226}.action-name{color:#e8d9e5;font-size:11px}.action-dock .action-slot.active .action-name{color:#fff0c8}.action-icon svg{width:34px;height:34px}.action-dock .action-slot i{color:#bca3bf;background:#2c2035}.basket-card{border:2px solid #b68a5e;border-radius:16px;background:linear-gradient(#51374b,#302537);box-shadow:inset 0 2px #dbb97655,0 4px #20172b}.basket-card strong{color:#ffe397;text-shadow:0 2px #643b2c}.basket-meter{background:#1a1421;height:5px}.basket-meter span{background:linear-gradient(#e9d18c,#b5813c)}.bottom-tools{gap:9px}.bottom-tools .icon-button{width:38px;height:38px}.saved-indicator{color:#e1d0d9;text-shadow:0 1px #251a2e}.station-label,.you-label,.order-bubble{border-color:#c09b66;background:linear-gradient(#5a3d55,#38273e);box-shadow:inset 0 1px #f3dba355,0 3px #24182e;color:#fff0ca}.order-bubble:after{border-top-color:#38273e}.order-angry{background:linear-gradient(#ae533a,#6b3339);border-color:#ffb16a}.order-angry:after{border-top-color:#6b3339}.order-tier-2{border-color:#a9d3b3}.order-tier-3{border-color:#ffd078}#joystick{background:radial-gradient(circle,#503f5655 46%,#29203388 48%,#6b526977 62%,#bba17666,#33233866 66%);border:2px solid #bca48677;box-shadow:inset 0 3px #e0c79744,0 3px #261b3188}#joystick-knob{background:radial-gradient(circle at 35% 25%,#a987a1,#72536f 55%,#4d3657);border:2px solid #d2b09a;box-shadow:inset 0 2px #f3d9b366,0 5px #20152c99}.interaction,#toast{border:2px solid #d1a66c;background:linear-gradient(#553d50,#312437);box-shadow:inset 0 2px #f4d7a333,0 4px #24172b;color:#ffe6b9;border-radius:12px}@media(max-width:1000px)and (min-width:601px){.brand strong{font-size:18px}.brand small{font-size:8px}.brand-mark{width:44px;height:46px}#night-hud{width:270px}#night-hud>div:first-child{font-size:12px;gap:6px}.upgrade-button{padding:10px;font-size:12px}.cash-pill{min-width:102px}}@media(max-width:600px){.overlay{padding:max(10px,env(safe-area-inset-top)) 8px max(12px,env(safe-area-inset-bottom))}.modal{max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-width:19px;border-image-width:19px;padding:14px 10px 17px;border-radius:20px}.modal h2{font-size:25px}.modal-subtitle{font-size:12px}.modal .icon-button{min-width:36px;height:36px}.primary-button,.secondary-button{min-height:46px;font-size:15px}.chapter-hero{min-height:192px;background-size:auto 100%;background-position:62% center}.chapter-title{padding:33px 14px 16px;max-width:57%}.chapter-title .eyebrow{font-size:8px;letter-spacing:1px}.modal .chapter-title h2{font-size:28px;margin:9px 0}.chapter-title p{font-size:10px;max-width:115px}.chapter-tools{top:6px;right:6px;gap:6px}.chapter-tools .icon-button{width:30px;min-width:30px;height:30px}.chapter-tools svg{width:18px;height:18px}.chapter-body{padding:0 11px 15px}.chapter-summary{margin:0 0 17px}.chapter-summary>span{min-width:100px;padding:5px 8px;gap:5px}.chapter-summary b{font-size:23px}.chapter-summary svg{width:28px;height:28px}.chapter-summary small{font-size:10px}.journey-heading{font-size:10px;letter-spacing:0}.journey-heading>span:last-child{font-size:9px}.level-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 5px;margin:18px 0 15px}.level-grid:before{top:23px;bottom:73px;border-width:4px}.level-card,.level-card:disabled{min-height:98px;gap:3px;display:flex;padding:0}.level-node{width:46px;height:46px;border-radius:17px;border-width:2px}.level-node b{font-size:25px}.level-card:disabled .level-node b{font-size:21px}.level-node i{width:20px;height:20px;right:-4px;bottom:-6px}.level-card .level-name{font-size:10px;line-height:1.4;min-height:28px;margin-top:8px}.art-stars>span{width:15px;height:15px}.chapter-actions{gap:9px;grid-template-columns:1.2fr 1fr}.chapter-actions>button{min-height:49px;padding:9px 4px;gap:5px}.chapter-actions .primary-button{font-size:15px}.chapter-actions .secondary-button{font-size:13px}.chapter-actions svg{width:22px;height:22px}.future-chapters{font-size:9px;padding-top:17px}.star-rules{padding:3px 10px}.star-rules li{font-size:12px;padding:12px 0}.upgrade-row{gap:9px;padding:12px 8px}.upgrade-art{width:43px;height:49px;border-radius:12px}.upgrade-art svg{width:35px;height:35px}.upgrade-copy h3{font-size:14px}.upgrade-copy p{font-size:11px}.buy-button{min-width:67px;max-width:75px;font-size:11px;padding:7px}.result-stars .art-stars>span{width:55px;height:55px}.result-stars .art-stars>span:nth-child(2){width:70px;height:70px}.brand strong{font-size:16px}.brand small{font-size:8px;letter-spacing:0}.brand-mark{width:40px;height:43px;border-width:2px}.cash-pill strong{font-size:24px}.cash-pill{min-width:90px}#night-hud{top:77px;width:calc(100vw - 135px);padding:8px 9px}#night-hud>div:first-child{font-size:10px}#night-clock{font-size:12px}#night-guidance{font-size:10px;line-height:1.6}.upgrade-button{height:38px;min-height:38px;padding:0 10px;font-size:11px}.queue-chip{top:127px;font-size:9px}.action-dock{padding:6px;gap:5px;border-radius:18px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){padding:9px 4px;border-radius:10px;min-height:68px}.action-icon svg{width:27px;height:27px}.action-count{font-size:23px}.action-name,html[lang=en] .action-name{font-size:10px}.bottom-tools{gap:7px;bottom:112px}.bottom-tools .icon-button{width:32px;height:34px}.bottom-tools .icon-button svg{width:20px;height:20px}.basket-card{width:135px;bottom:111px}.basket-card strong{font-size:21px}}@media(max-width:360px){.brand strong{font-size:14px}.brand{gap:5px}.brand small{font-size:7px}.brand-mark{width:34px}.cash-pill{min-width:82px}.level-node{width:40px;height:43px}.level-card .level-name{font-size:9px}.chapter-actions .primary-button{font-size:13px}.chapter-actions .secondary-button{font-size:11px}}@media(max-height:540px)and (min-width:601px){.modal{max-height:calc(100dvh - 24px)}.chapter-hero{min-height:170px}.chapter-title{padding-top:16px}.modal .chapter-title h2{font-size:29px}#night-hud{top:20px;width:270px;padding:7px 10px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){padding:6px}.action-count{font-size:20px}.action-icon svg{width:26px;height:26px}}@media(prefers-reduced-motion:reduce){.result-stars .earned{animation:none}button:not(:disabled){transition:none}}.primary-button:not(:disabled){background:none;border-color:transparent;border-image:url(/chapter-r2-pilot/ui/enamel-button.webp) 210 fill / 20px / 2px stretch;box-shadow:none;text-shadow:0 2px 1px #244c20}.primary-button:hover:not(:disabled){background:none;filter:brightness(1.08)}.primary-button:active:not(:disabled){box-shadow:none;filter:brightness(.95)}#reset-farm{color:#ffecd0}@media(max-width:600px){.upgrade-button{position:fixed}.chapter-title p{max-width:150px}}@media(min-width:601px)and (max-width:1000px){.brand>span:not(.brand-mark){display:none}.header-actions{gap:9px}.upgrade-button{min-width:44px;width:44px;padding:9px}.upgrade-button>span:nth-child(2),.upgrade-button kbd{display:none}.cash-pill{min-width:100px;padding:6px;gap:5px}.cash-pill small{font-size:9px}.cash-pill strong{font-size:23px}.cash-pill .coin,.cash-pill .coin svg{width:28px;height:28px}}@media(max-width:600px){.modal .icon-button,.chapter-tools .icon-button{width:44px;min-width:44px;height:44px}.chapter-tools svg{width:23px;height:23px}.bottom-tools{gap:6px;left:13px}.bottom-tools .icon-button{width:44px;height:44px}}@media(max-width:360px){.bottom-tools #help-button{display:none}}:root{--hud-surface: url(/chapter-r2-pilot/ui/hud-panel.webp);--purple-enamel: url(/chapter-r2-pilot/ui/enamel-purple.webp)}.modal .primary-button,.modal .secondary-button,.modal .buy-button{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;line-height:1.2;min-height:50px;padding:13px 20px;font-size:16px;font-family:var(--game-font);letter-spacing:0}.modal .primary-button>span,.modal .secondary-button>span,.modal .buy-button>span{position:relative;top:-1px;line-height:1.2}.modal .primary-button svg,.modal .secondary-button svg{margin:0;align-self:center}.modal .secondary-button:not(:disabled),.upgrade-button,.buy-button:not(:disabled){background:none;border:2px solid transparent;border-image:var(--purple-enamel) 100 fill / 20px / 2px stretch;border-radius:18px;box-shadow:none;color:#fff6e5;text-shadow:0 2px 1px #2c173a}.modal .secondary-button:hover:not(:disabled),.upgrade-button:hover,.buy-button:hover:not(:disabled){background:none;filter:none}.modal .primary-button:hover:not(:disabled){filter:none}.modal .secondary-button:active:not(:disabled),.upgrade-button:active,.buy-button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.modal .primary-button:active:not(:disabled){filter:none}.chapter-actions .primary-button,.chapter-actions .secondary-button{min-height:54px;font-size:17px;padding:12px}.cash-pill,#night-hud,.queue-chip,.mission-panel,.basket-card,.action-dock,.station-label,.you-label,.assistant-label,.interaction,#toast,.order-bubble{border:2px solid transparent;border-image:var(--hud-surface) 90 fill / 13px / 2px stretch;background:none;box-shadow:none;color:#fff0d4}.cash-pill{min-width:132px;gap:9px;padding:8px 14px 8px 9px}.cash-pill .coin,.cash-pill .coin svg{width:39px;height:39px}.cash-pill small{font-size:10px;color:#e7c58e}.cash-pill strong{font-size:32px;line-height:1.1;color:#fff0b6;text-shadow:0 2px #6f411e}#night-hud{top:19px;width:340px;padding:10px 17px 11px}#night-hud>div:first-child{gap:7px;font-size:12px}.night-moon,.night-moon svg{width:20px;height:20px;display:block}#night-label{color:#efc277;letter-spacing:.5px}#night-clock{font-size:20px;color:#fff4c9;line-height:1;margin-left:auto}#night-target{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:4px;color:#e7d9ca;font-size:12px}#night-target svg{width:23px;height:23px}#night-target b{font-size:23px;line-height:1.1;color:#ffe7a3;text-shadow:0 2px #603520;font-variant-numeric:tabular-nums}#night-target small{font-size:14px;color:#dfc8a4}.night-track{height:6px;margin-top:7px;border:1px solid #ac875355;background:#100f18;box-shadow:none}#night-meter{width:100%;transform-origin:left center;transition:transform .2s}#night-hud.urgent #night-clock{color:#ff9b6b}#night-hud.urgent .night-track span{background:linear-gradient(#ffc288,#d56338)}.queue-chip{padding:7px 12px;gap:6px;font-size:11px}.queue-chip svg{width:22px;height:22px}.queue-chip b{font-size:17px;color:#ffe5a0}.mission-panel{padding:15px}.mission-heading{font-size:11px;color:#edc082}.quest-card h2{font-size:17px}.quest-card p{font-size:12px;line-height:1.65;color:#e7d7dc}.basket-card{padding:13px 15px 19px}.basket-card strong{font-size:26px}.basket-card>div>span{font-size:10px;color:#ebcd9b}.basket-card strong small{font-size:11px;color:#e3cfc4}.action-dock{gap:7px;padding:11px;bottom:39px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){width:118px;min-height:82px;padding:9px 8px;gap:4px;border:1px solid #a97e534d;background:linear-gradient(#160e1b88,#4f324430);border-radius:12px;box-shadow:inset 0 2px 3px #10091466}.action-dock .action-slot.active{border-color:#efc179;background:linear-gradient(#83562a88,#59341c99);box-shadow:inset 0 2px #ffe2a555,inset 0 -2px #21131c}.action-dock .action-slot.active:before{display:block;content:"";width:6px;height:6px;background:#ffe5a0;position:absolute;top:-4px;left:calc(50% - 3px);transform:rotate(45deg)}.action-icon{justify-self:center}.action-icon svg{width:37px;height:37px}.action-count{justify-self:center;font-size:28px;line-height:1;color:#fff0ae;text-shadow:0 2px #603622}.action-name{font-size:12px;color:#eee0d1}.action-dock .action-slot.active .action-name{color:#ffe3a1}.order-bubble{display:flex;align-items:center;justify-content:center;gap:3px;padding:7px 8px 10px;min-width:53px;min-height:39px;border-image-width:11px;border-image-outset:1px;line-height:1}.order-bubble svg{width:25px;height:25px;flex-shrink:0}.order-amount{font-size:19px;color:#fff3bf;font-variant-numeric:tabular-nums;text-shadow:0 2px #55301e}.order-queued{min-width:42px;min-height:29px;padding:5px 6px;border-image-width:9px}.order-queued svg{width:19px;height:19px}.order-queued .order-amount{font-size:15px}.order-bubble:after{bottom:-5px;border-top-color:#b88745}.order-tier-2 .order-amount{color:#b7efdd}.order-tier-3 .order-amount{color:#ffd58c}.order-alert{margin:0;font-size:21px;color:#ffb56d}.order-angry .order-amount{color:#ffb982}.order-bubble .patience-track{position:absolute;bottom:3px;left:9px;right:9px;height:4px;border-radius:3px;background:#170f1e;overflow:hidden}.patience-track span{background:linear-gradient(#d7ed9c,#76ae58)}.order-angry .patience-track span{background:linear-gradient(#ffd094,#e56a3e)}.station-label,.you-label,.assistant-label{border-image-width:9px;padding:6px 9px}.bottom-tools .icon-button{border-color:#c6a06b;background:radial-gradient(circle at 35% 15%,#87678b,#4b3059 65%,#2e213b);box-shadow:inset 0 2px #ecd2a533,0 3px #20152a}@media(max-width:1000px)and (min-width:601px){#night-hud{width:270px}.cash-pill{min-width:106px;padding:7px}.cash-pill .coin,.cash-pill .coin svg{width:29px;height:29px}.cash-pill strong{font-size:25px}}@media(max-width:600px){.modal .primary-button,.modal .secondary-button{min-height:50px;padding:13px 12px;font-size:15px}.chapter-actions .primary-button,.chapter-actions .secondary-button{font-size:14px;padding:12px 5px;gap:5px}.modal .buy-button{min-height:45px;padding:8px;font-size:11px}.cash-pill{min-width:95px;padding:6px 10px 6px 6px;gap:6px;border-image-width:11px}.cash-pill .coin,.cash-pill .coin svg{width:30px;height:30px}.cash-pill small{font-size:9px}.cash-pill strong{font-size:26px}#night-hud{top:77px;width:calc(100vw - 136px);padding:9px 12px 10px}#night-hud>div:first-child{font-size:11px;gap:5px}.night-moon,.night-moon svg{width:16px;height:16px}#night-clock{font-size:14px}#night-target{font-size:11px;margin-top:5px}#night-target b{font-size:21px}#night-target small{font-size:13px}#night-target svg{width:21px;height:21px}#night-guidance{font-size:10px;line-height:1.45;margin-top:5px}#night-event{font-size:10px;line-height:1.4}.upgrade-button{top:77px;min-height:42px;height:42px;font-size:11px;border-image-width:15px}.queue-chip{top:130px;padding:6px 9px;gap:4px;border-image-width:10px}.queue-chip svg{width:18px;height:18px}.queue-chip b{font-size:15px}.action-dock{bottom:max(13px,env(safe-area-inset-bottom));width:calc(100% - 16px);padding:9px 8px;gap:5px;border-image-width:13px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){width:auto;min-height:71px;padding:8px 3px;gap:3px}.action-icon svg{width:27px;height:27px}.action-count{font-size:24px}.action-name,html[lang=en] .action-name{font-size:11px}.basket-card{width:135px;bottom:117px;padding:10px 11px 17px;border-image-width:12px}.basket-card strong{font-size:23px}.basket-card>div>span{font-size:9px}.basket-card strong small{font-size:10px}.bottom-tools{bottom:119px}.order-bubble{min-width:49px;min-height:37px;padding:6px 7px 9px}.order-bubble svg{width:23px;height:23px}.order-amount{font-size:18px}.order-queued{min-width:37px;min-height:27px;padding:5px}.order-queued svg{width:17px;height:17px}.order-queued .order-amount{font-size:14px}.station-label,.you-label,.assistant-label{padding:5px 7px}}@media(max-width:360px){.action-count{font-size:20px}.action-icon svg{width:22px;height:22px}.action-name,html[lang=en] .action-name{font-size:9px}.chapter-actions .primary-button,.chapter-actions .secondary-button{font-size:12px}#night-hud{width:calc(100vw - 124px)}#night-clock{font-size:12px}#night-guidance{font-size:9px}}@media(max-height:540px)and (min-width:601px){#night-hud{top:13px;padding:7px 12px}#night-target{margin-top:2px}#night-target b{font-size:19px}.action-dock{bottom:24px;padding:7px}.action-dock .action-slot,.action-dock .action-slot:nth-child(2),.action-dock .action-slot:nth-child(3),.action-dock .action-slot:nth-child(4){min-height:62px;padding:5px 7px}.action-count{font-size:22px}.action-icon svg{width:28px;height:28px}.controls-hint{bottom:3px}}@media(prefers-reduced-motion:reduce){#night-meter{transition:none}}@media(min-width:1100px){.action-dock{left:24px;transform:none}.bottom-tools{bottom:151px}}@media(min-width:601px)and (max-width:700px){#night-hud{width:210px}}@media(max-width:600px){.brand{display:none}.topbar .header-actions{margin-left:auto}#night-hud{top:max(14px,env(safe-area-inset-top));width:calc(100vw - 158px);min-width:0}.upgrade-button{top:77px}.queue-chip{top:130px}}.floater.loss{color:#ffb19a;text-shadow:0 2px #702b32,1px 0 #702b32,-1px 0 #702b32}#boot-screen{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;padding:clamp(24px,6vw,96px);color:#ffe9b2;background:linear-gradient(90deg,#130f20ed,#130f2070 48%,#130f2010),url(/chapter-r2-pilot/ui/candy-shop-hero.webp) 65% center/cover}#boot-screen[hidden]{display:none}.boot-content{width:min(430px,100%);text-shadow:0 3px 2px #241225}.boot-content h1{font-size:clamp(40px,5vw,76px);line-height:1.12;margin:20px 0}.boot-content p{font-size:16px;color:#ecd4ba;margin-bottom:36px}.boot-content button{width:100%;min-height:58px;font-family:var(--game-font)}#boot-status{display:block;margin-top:20px;text-align:center;color:#dbc8b6}#app[data-front=home]>:not(#overlay),#app[data-front=chapter]>:not(#overlay){visibility:hidden}#app[data-front=home] #overlay,#app[data-front=chapter] #overlay{background:#171223}#modal[data-panel=home]{position:relative;isolation:isolate;width:min(1000px,100%);height:min(640px,calc(100dvh - 36px));padding:0;overflow:hidden}.home-art{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#221b2af7,#221b2ad9 32%,#221b2a05 70%),url(/chapter-r2-pilot/ui/candy-shop-hero.webp) 65% center/cover}.home-content{height:100%;width:46%;padding:32px;display:flex;flex-direction:column;justify-content:center}.modal .home-content h2{font-size:clamp(34px,4vw,56px);line-height:1.12;margin:18px 0 12px;text-shadow:0 3px #673b27,0 5px #211a26}.home-tagline{color:#e6cbb4;font-size:14px;margin:0 0 18px}.home-progress{display:flex;gap:26px;align-items:center;color:#ffdda0;font-size:22px}.home-progress>span{display:flex;align-items:center;gap:7px}.home-progress svg{width:29px;height:29px}.home-progress small{font-size:12px;color:#c4b1bc}.home-actions{margin-top:18px}.home-actions button{width:100%;margin:0 0 12px}.resume-note{margin:-4px 0 12px;color:#d4bdaa;font-size:11px;line-height:1.5;text-align:center}.home-utilities{display:flex;gap:18px;margin-top:6px}.home-chapter{color:#c5a8a0;font-size:11px;margin:18px 0 0;line-height:1.6}@media(min-width:701px){#modal[data-panel=chapter]{width:min(1060px,100%);height:min(610px,calc(100dvh - 36px));display:grid;grid-template-columns:31% 1fr;overflow:hidden}#modal[data-panel=chapter] .chapter-hero{min-height:0;height:100%;background-position:62% center}#modal[data-panel=chapter] .chapter-hero:after{background:linear-gradient(#20162470,#20162420 40%,#201624bb)}#modal[data-panel=chapter] .chapter-title{max-width:none;padding:82px 22px 20px}#modal[data-panel=chapter] .chapter-title h2{font-size:clamp(26px,3vw,38px)}#modal[data-panel=chapter] .chapter-title p{max-width:220px}#modal[data-panel=chapter] .chapter-body{min-height:0;display:flex;flex-direction:column;padding:22px 24px 14px}#modal[data-panel=chapter] .chapter-summary{margin:0 0 16px}#modal[data-panel=chapter] .level-grid{flex:1;align-content:center;gap:22px 8px;margin:12px 0 18px}#modal[data-panel=chapter] .level-grid:before{top:calc(50% - 78px);bottom:calc(50% - 69px)}#modal[data-panel=chapter] .level-card{min-height:115px}#modal[data-panel=chapter] .level-node{width:62px;height:62px}#modal[data-panel=chapter] .level-name{font-size:11px}#modal[data-panel=chapter] .future-chapters{padding-top:12px}#modal[data-panel=chapter] .chapter-actions{flex-shrink:0}}@media(min-width:701px)and (max-height:650px){#modal[data-panel=chapter] .chapter-body{padding:12px 18px}#modal[data-panel=chapter] .chapter-summary{margin-bottom:8px}#modal[data-panel=chapter] .chapter-summary>span{padding:4px 8px}#modal[data-panel=chapter] .level-grid{gap:12px 7px;margin:10px 0}#modal[data-panel=chapter] .level-card{min-height:90px;gap:2px}#modal[data-panel=chapter] .level-node{width:46px;height:46px;border-radius:17px}#modal[data-panel=chapter] .level-node b{font-size:24px}#modal[data-panel=chapter] .level-name{margin-top:4px}#modal[data-panel=chapter] .level-grid:before{top:calc(50% - 65px);bottom:calc(50% - 44px)}.home-content{padding:20px 26px}.modal .home-content h2{font-size:36px;margin:10px 0}.home-tagline{margin-bottom:10px}.home-actions{margin-top:12px}.home-chapter{margin-top:10px}}@media(max-width:700px){#boot-screen{align-items:flex-end;padding:30px 26px 48px;background-image:linear-gradient(0deg,#171223 4%,#171223dc 28%,#17122300 75%),url(/chapter-r2-pilot/ui/candy-shop-hero.webp);background-position:68% center}.boot-content{width:100%}.boot-content h1{font-size:44px}.boot-content p{margin-bottom:24px}#modal[data-panel=home]{height:min(780px,calc(100dvh - 24px))}.home-art{background-image:linear-gradient(0deg,#221b2a 10%,#221b2aee 44%,#221b2a00 80%),url(/chapter-r2-pilot/ui/candy-shop-hero.webp);background-position:68% top}.home-content{width:100%;justify-content:flex-end;padding:22px}.modal .home-content h2{font-size:38px}.home-utilities{justify-content:center}.home-chapter{text-align:center}#modal[data-panel=chapter] .chapter-hero{min-height:136px}#modal[data-panel=chapter] .chapter-title{padding:18px 14px 12px}#modal[data-panel=chapter] .chapter-title h2{font-size:27px}#modal[data-panel=chapter] .chapter-title p{display:none}#modal[data-panel=chapter] .chapter-body{padding:10px 12px 14px}#modal[data-panel=chapter] .chapter-summary{margin:0 0 12px}#modal[data-panel=chapter] .chapter-tools{right:8px;top:8px;gap:4px}#chapter-home span{font-family:system-ui,sans-serif;font-size:26px}}@media(max-width:700px)and (max-height:680px){.home-content{padding:16px}.home-content .eyebrow{font-size:9px}.modal .home-content h2{font-size:32px;margin:10px 0}.home-tagline{margin-bottom:10px;font-size:12px}.home-actions{margin-top:12px}.home-chapter{margin-top:10px}#modal[data-panel=chapter] .chapter-hero{min-height:95px}#modal[data-panel=chapter] .chapter-title{padding:8px 10px}#modal[data-panel=chapter] .chapter-title h2{font-size:21px;margin:6px 0}#modal[data-panel=chapter] .chapter-title .eyebrow{font-size:8px;letter-spacing:0}#modal[data-panel=chapter] .chapter-tools .icon-button{width:36px;min-width:36px;height:36px}#modal[data-panel=chapter] .chapter-body{padding:8px 10px}#modal[data-panel=chapter] .chapter-summary{margin-bottom:7px}#modal[data-panel=chapter] .chapter-summary>span{min-width:0;padding:4px 7px;gap:4px}#modal[data-panel=chapter] .chapter-summary b{font-size:20px}#modal[data-panel=chapter] .chapter-summary svg{width:24px;height:24px}#modal[data-panel=chapter] .level-grid{margin:12px 0;gap:15px 5px}#modal[data-panel=chapter] .level-card{min-height:88px}#modal[data-panel=chapter] .level-node{width:39px;height:41px}#modal[data-panel=chapter] .level-name{font-size:9px;margin-top:3px}#modal[data-panel=chapter] .future-chapters{padding-top:10px;font-size:9px}}@media(min-width:701px){#modal[data-panel=chapter] .chapter-hero{background-position:78% center}}@media(max-width:700px){#boot-screen{background-position:78% top}.home-art{background-position:center,80% top;background-size:100% 100%,auto 62%;background-repeat:no-repeat;background-color:#221b2a}}@media(min-width:701px)and (max-height:500px){.home-content{padding:10px 22px}.modal .home-content h2{font-size:29px;margin:8px 0}.home-tagline{font-size:11px;margin-bottom:6px}.home-progress{font-size:18px}.home-actions{margin-top:8px}.home-actions button{min-height:42px;padding:8px;margin-bottom:7px}.home-utilities{margin-top:2px}.home-utilities .icon-button{width:34px;height:34px}.home-chapter{margin-top:6px;font-size:9px}#modal[data-panel=chapter] .chapter-body{padding:8px 12px}#modal[data-panel=chapter] .chapter-summary{margin-bottom:6px}#modal[data-panel=chapter] .chapter-summary b{font-size:21px}#modal[data-panel=chapter] .chapter-summary svg{width:24px;height:24px}#modal[data-panel=chapter] .chapter-summary>span{min-width:0;gap:4px}#modal[data-panel=chapter] .journey-heading{font-size:9px}#modal[data-panel=chapter] .level-grid{gap:8px 5px;margin:8px 0}#modal[data-panel=chapter] .level-card{min-height:78px;gap:1px}#modal[data-panel=chapter] .level-node{width:37px;height:37px;border-radius:13px}#modal[data-panel=chapter] .level-node b{font-size:22px}#modal[data-panel=chapter] .level-name{font-size:9px;min-height:24px;line-height:1.2}#modal[data-panel=chapter] .art-stars>span{width:16px;height:16px}#modal[data-panel=chapter] .chapter-actions>button{min-height:42px;font-size:13px;padding:8px}#modal[data-panel=chapter] .future-chapters{font-size:9px;padding-top:6px}}
