:root{font-family:Aptos,Segoe UI,system-ui,sans-serif;color:#f5ead3;background:#17261e;color-scheme:dark;font-synthesis:none;--panel: #263b2f;--ink: #1e3126;--gold: #e9c17e;--muted: #b6b8a1;--line: #6b806147;--telegram-top: 0px;--telegram-right: 0px;--telegram-bottom: 0px;--telegram-left: 0px}*{box-sizing:border-box}html,body,#root{width:100%;min-width:280px;height:100%;margin:0;overscroll-behavior:none}body{overflow:hidden}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.54}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #f9d88d;outline-offset:3px}button{-webkit-tap-highlight-color:transparent}svg{flex:0 0 auto}p{line-height:1.52}.game-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;height:100dvh;padding:max(env(safe-area-inset-top),var(--telegram-top)) max(env(safe-area-inset-right),var(--telegram-right)) max(env(safe-area-inset-bottom),var(--telegram-bottom)) max(env(safe-area-inset-left),var(--telegram-left));overflow:hidden;-webkit-user-select:none;user-select:none}.topbar,.toolbar{z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#1b2c23;padding:0 clamp(14px,3vw,46px)}.topbar{height:77px;border-bottom:1px solid #71846370}.brand{display:flex;align-items:center;gap:11px}.brand img{width:45px;height:45px;box-shadow:0 3px 8px #112019a0;border-radius:12px}.brand h1{margin:0;font-weight:900;letter-spacing:.075em;font-size:23px;line-height:1.04}.brand h1 span{color:var(--gold)}.brand small{color:#b7bfaa;font-size:10px;letter-spacing:.075em}.vitals{display:flex;align-items:center;gap:22px;white-space:nowrap}.balance,.vital{display:flex;align-items:center;gap:9px}.balance{padding-right:23px;border-right:1px solid var(--line)}.metric-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px}.coin{color:#e9c175;background:#77613343}.energy{color:#e9c175;background:#7761333d}.hunger{color:#e8a38c;background:#875b4b51}.vitals small{display:flex;justify-content:space-between;gap:7px;align-items:center;color:#c4c4a7;font-size:9px;font-weight:800;letter-spacing:.12em}.vitals small b{color:#f1e6c9;font-size:10px;letter-spacing:0}.balance strong{display:block;color:#f0ca86;font-size:16px;letter-spacing:.02em;margin-top:2px}progress{appearance:none;display:block;width:63px;height:6px;border:0;border-radius:8px;background:#141e18;overflow:hidden;margin-top:6px}progress::-webkit-progress-bar{background:#141e18;border-radius:8px}progress::-webkit-progress-value{background:#d9b56f;border-radius:8px}progress::-moz-progress-bar{background:#d9b56f;border-radius:8px}.vital:last-child progress::-webkit-progress-value{background:#d78c70}.vital:last-child progress::-moz-progress-bar{background:#d78c70}.build-tag{display:flex;align-items:center;gap:7px;justify-self:end;border:1px solid #9dab7954;background:#334436;padding:7px 11px;border-radius:30px;font-size:9px;font-weight:850;letter-spacing:.13em;color:#d7dcac}.build-tag i,.clock i{width:5px;height:5px;border-radius:100%;background:#c9ce83}.stage{position:relative;min-height:0;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 48% 42%,#637a56,#49654f 46%,#334c41 95%)}.stage:before{position:absolute;z-index:-1;inset:0;content:"";background-image:repeating-linear-gradient(26.565deg,transparent 0 45px,#b8c89716 46px,transparent 47px 72px),repeating-linear-gradient(-26.565deg,transparent 0 45px,#b8c89716 46px,transparent 47px 72px);-webkit-mask-image:radial-gradient(ellipse at 50% 50%,#000a,transparent 92%);mask-image:radial-gradient(ellipse at 50% 50%,#000a,transparent 92%)}.stage:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;box-shadow:inset 0 28px 66px -38px #1f3323c9,inset 0 -36px 86px -43px #101f16d9}.canvas-mount,.canvas-mount canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.location,.quest,.controls-left,.map-card,.toast,.near-button,.rest-status{z-index:1}.location{position:absolute;top:29px;left:clamp(14px,3vw,46px);pointer-events:none;text-shadow:0 2px 10px #172b20d9}.eyebrow{color:var(--gold);display:flex;align-items:center;gap:6px;font-size:10px;font-weight:850;letter-spacing:.17em;text-transform:uppercase}.location h2{margin:4px 0 8px;font-family:Georgia,serif;font-size:clamp(30px,4vw,51px);line-height:1.05;letter-spacing:-.045em;color:#fff0d0}.clock{background:#253b2fdf;border:1px solid #c6cf8a4a;width:fit-content;display:flex;align-items:center;gap:7px;border-radius:20px;padding:6px 10px;color:#ede4c4;font-size:11px;font-weight:750}.clock svg{color:#f2c77a}.clock i{width:3px;height:3px}.quest{position:absolute;top:30px;right:clamp(14px,3vw,46px);width:260px;border:1px solid #e4ca8c76;background:#263d31f7;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px #182e2580}.quest-label{width:100%;min-height:44px;display:flex;justify-content:space-between;align-items:center;background:#344b39;padding:0 15px;border:0;border-bottom:1px solid #97a37b46;color:#f3ce85;font-size:10px;font-weight:850;letter-spacing:.12em}.quest-label span,.quest-action span{display:flex;align-items:center;gap:8px}.quest-label>svg{transform:rotate(90deg);transition:transform .22s}.quest.collapsed .quest-body{display:none}.quest.collapsed .quest-label>svg{transform:none}.quest-body{padding:12px 14px 14px}.quest-body h3{color:#fff0d0;margin:0;font-size:17px;font-weight:800}.quest-body p{margin:5px 0 10px;font-size:12px;color:#d3d3b9}.quest-action{display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-radius:8px;border:1px solid #b89d644f;background:#4b5940;font-size:11px;font-weight:800;color:#fae3aa;min-height:44px;width:100%}.quest-action:hover{background:#59694a}.shift-progress{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--gold)}.shift-progress progress{margin:0;width:100%}.controls-left{position:absolute;left:clamp(14px,3vw,46px);bottom:23px;display:grid;justify-items:start;gap:8px}.controls-left small{color:#ecdfbe;text-shadow:0 1px 5px #12231a;font-size:10px;font-weight:650}.joystick{position:relative;display:grid;place-items:center;width:96px;height:96px;border-radius:100%;border:1px solid #cab78699;background:#243e328a;box-shadow:inset 0 0 0 5px #44604a58,0 4px 16px #16271b5c;touch-action:none}.joystick>svg{position:absolute;color:#e5cb9c}.joy-up{top:7px}.joy-down{bottom:7px}.joy-left{left:7px}.joy-right{right:7px}.joystick span{display:grid;place-items:center;width:40px;height:40px;border:1px solid #edcb84bf;background:#647754;border-radius:100%;color:#ffe4a9;box-shadow:0 3px 7px #1c3126c9;pointer-events:none}.map-card{position:absolute;bottom:22px;right:clamp(14px,3vw,46px);padding:10px;width:169px;border-radius:14px;border:1px solid #e0c58378;background:#253c31eb;box-shadow:0 5px 22px #1c2c2480}.map-card>div{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:850;color:#f1ce89;letter-spacing:.09em}.map-card>div>span{display:flex;align-items:center;gap:5px}.mini-svg{display:block;width:100%;margin-top:6px}.map-card:hover,.near-button:hover{background:#314b3b}.near-button,.toast,.rest-status{display:flex;align-items:center;gap:8px;position:absolute;left:50%;transform:translate(-50%);color:#f7e8c8}.near-button{bottom:22px;min-height:44px;padding:4px 12px 4px 6px;border:1px solid #e6c4777d;border-radius:9px;background:#253a2dee;white-space:nowrap;font-size:13px;font-weight:800;box-shadow:0 5px 14px #182b2070}.near-button svg{margin-left:4px;color:var(--gold)}.toast{bottom:77px;max-width:calc(100% - 40px);font-size:12px;font-weight:750;padding:8px 13px 8px 8px;background:#253e32f2;border:1px solid #d3b57989;border-radius:25px;box-shadow:0 5px 15px #172a21a0}.toast>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#314434;background:#e7bf74}.rest-status{bottom:129px;border-radius:20px;padding:6px 11px;background:#253e32f2;font-size:12px}.toolbar{height:67px;border-top:1px solid #9eaf7864;box-shadow:0 -6px 17px #17291f57}.toolbar nav,.desktop-hint,.keycaps{display:flex;align-items:center}.toolbar nav{gap:7px}.toolbar button{min-height:44px;background:none;color:#d8d9bd;border:1px solid transparent;border-radius:9px;padding:0 14px;display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:800;white-space:nowrap}.toolbar button:hover{background:#33483a}.toolbar button svg{color:#d8bd7f}.toolbar .phone-button{color:#293b2c;background:#eabe75;border-color:#f3d295;padding:0 14px;box-shadow:0 3px #946c43}.toolbar .phone-button:hover{background:#f2cf85}.toolbar .phone-button svg{color:#394e35}kbd{display:inline-grid;place-items:center;min-width:20px;min-height:20px;padding:1px 3px;border:1px solid #a1a67a7c;border-radius:4px;color:#e0d4ae;background:#314638;font:800 10px Consolas,monospace;box-shadow:0 1px #111e16}.phone-button kbd{min-width:17px;min-height:17px;margin-left:3px;background:#d6a95d;border-color:#8a643c73;color:#54422d;box-shadow:none}.desktop-hint{gap:8px;font-size:10px;color:#b8bda3;white-space:nowrap}.keycaps{gap:3px}.help{justify-self:end}.dialog{width:min(92vw,480px);max-width:calc(100vw - max(env(safe-area-inset-left),var(--telegram-left)) - max(env(safe-area-inset-right),var(--telegram-right)) - 20px);max-height:min(86dvh,calc(100dvh - max(env(safe-area-inset-top),var(--telegram-top)) - max(env(safe-area-inset-bottom),var(--telegram-bottom)) - 20px));margin:auto;padding:0;color:#f7ebd1;background:#263b2f;border:1px solid #c6a86c9c;border-radius:20px;box-shadow:0 22px 95px #101c15d9;overflow:auto;overscroll-behavior:contain}.dialog::backdrop{background:#12231bd7;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-header{position:sticky;top:0;z-index:2;background:#2f4738;border-bottom:1px solid #d9be8050;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;gap:9px}.dialog-header h2{margin:3px 0 0;font-family:Georgia,serif;font-size:29px;line-height:1.06;color:#fff0d0}.dialog-body{padding:16px 18px 19px;font-size:14px}.dialog-body>:first-child{margin-top:0}.dialog-body h3{margin:13px 0 6px;font-size:14px;color:#eed7a8}.icon-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:9px;background:#23392e;color:#f6d797}.primary,.secondary,.quiet{min-height:44px;padding:8px 11px;border-radius:9px;border:1px solid transparent;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:8px}.primary{background:#e9bf78;border-color:#f6d499;color:#293b2d}.primary:hover:not(:disabled){background:#f4cb85}.secondary{background:#3f5844;border-color:#9daa786e;color:#f4dfae}.secondary:hover:not(:disabled),.list-row:hover{background:#48634d}.quiet{background:transparent;color:#e0cb9d}.quiet:hover{background:#33493a}.wide{width:100%;margin-top:10px}.info,.job-card{border:1px solid #b2b17c48;border-radius:11px;background:#31483a;padding:12px;margin:0 0 9px}.info p,.job-card p{margin:6px 0 0;color:#ddd8be}.info p:first-child{margin:0}.info-heading{display:flex;gap:10px;align-items:center}.square{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b3a87059;background:#566044;color:#f1c983;border-radius:8px;flex:0 0 auto}.job-card small,.list-row small{display:block;color:#c6cab0;font-size:11px;margin-top:3px}.job-meta{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.job-meta span{border:1px solid #b6a1624f;border-radius:20px;padding:4px 8px;color:#ead3a0;font-size:11px;background:#25382b}.accepted{background:#485e46;padding:9px;color:#dfecbf;display:flex;align-items:center;gap:6px;border-radius:7px;margin-top:10px;font-weight:750}.phone-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 12px}.phone-tabs button{min-width:0;padding:5px 3px;min-height:53px;display:grid;place-items:center;gap:3px;border-radius:8px;border:1px solid #8f9e7257;background:#31493a;color:#e6d8b5;font-size:10px;font-weight:750}.phone-tabs button svg{color:#e3bb76}.phone-tabs button[aria-pressed=true]{background:#e8bc75;border-color:#ebca87;color:#24382b}.phone-tabs button[aria-pressed=true] svg{color:#35513b}.list{display:grid;gap:5px}.list-row{display:flex;align-items:center;gap:9px;text-align:left;justify-content:space-between;min-height:44px;padding:5px 9px;border:1px solid #b2af7a52;background:#344e3d;color:#f3e5c4;border-radius:8px}.list-row span:nth-last-child(2){flex:1}.list-row>svg{color:#e0c281}.mission-checks{display:grid;gap:10px;margin:12px 0}.mission-checks>div{display:flex;align-items:center;gap:9px}.mission-checks span{display:grid;place-items:center;width:17px;height:17px;border:1px solid #abbd8770;border-radius:100%}.mission-checks .checked{background:#aabd7f;color:#284632}.map-preview{display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#2b4234;margin-bottom:9px}.mini-svg.large{max-width:245px;margin:5px auto}.settings input[type=checkbox]{accent-color:#d7ad66;width:20px;height:20px}.ledger{display:grid;gap:0;margin-top:4px}.ledger>div,.price-line{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 0;border-bottom:1px solid var(--line)}.ledger strong,.price-line strong{color:#efc881}.ledger>div:last-child{border-bottom:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.product-card{display:grid;text-align:left;min-width:0;gap:4px;align-content:start;border:1px solid #a7ad7859;color:#eadeba;background:#324b3a;border-radius:9px;padding:5px}.product-card:hover{background:#435a43}.product-card strong{font-size:11px}.product-card small{font-size:10px;color:#e7be7c}.product-art{display:grid;place-items:center;min-height:120px;background-image:radial-gradient(ellipse at 50% 22%,#fff9db64,transparent 80%),repeating-linear-gradient(45deg,transparent 0 7px,#693d2c16 8px 9px);border-radius:8px}.product-art svg{height:115px;width:auto;max-width:100%}.product-card .product-art{min-height:69px}.product-card .product-art svg{height:69px;max-width:100%}.choice-grid{display:grid;grid-template-columns:1fr 80px;gap:8px;margin:9px 0 4px}.choice-grid label{display:grid;gap:4px;font-size:12px}.choice-grid select,.choice-grid input{min-width:0;width:100%;min-height:44px;border:1px solid #c2ba8170;border-radius:8px;padding:5px 8px;background:#24382b;color:#f5e7c7}.price-line{margin-bottom:10px}.price-line span,.subtle{color:#c7c9ae;font-size:12px}.notice{background:#754d3f;border:1px solid #deaa74;color:#ffe2a8;font-size:10px;font-weight:900;letter-spacing:.12em;padding:9px;border-radius:8px;margin-bottom:8px;text-align:center}.dummy-qr{display:grid;place-items:center;width:145px;height:145px;background:#fff0d0;margin:12px auto 7px;position:relative;border-radius:10px;overflow:hidden}.qr-pattern{display:grid;grid-template-columns:repeat(11,1fr);transform:rotate(-8deg);gap:1px;width:109px;height:109px;opacity:.7}.qr-pattern i{background:#313c32}.dummy-qr span{position:absolute;display:block;color:#fbe9cf;background:#9a4b3f;font-size:15px;font-weight:950;letter-spacing:.15em;padding:5px 12px;transform:rotate(-18deg)}.qr-caption{text-align:center;color:#f0d39d;font-size:11px}.error{border-left:3px solid #e6a47f;color:#ffd3ae;background:#6d4639;padding:6px 9px;border-radius:3px;font-size:12px}.loading{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;text-align:center}.loading img{width:51px}.loading button{min-height:44px;background:#d5ad67;color:#24372c;border:0;border-radius:8px;padding:0 13px}.reduce *,.reduce *:before,.reduce *:after{transition:none!important}@media(max-width:820px){.brand small{display:none}.vitals{gap:11px}.balance{padding-right:11px}.desktop-hint{visibility:hidden}.quest{width:213px}}@media(max-width:650px){.topbar{grid-template-columns:minmax(0,1fr) auto;height:63px;gap:5px;padding:0 8px}.brand{gap:5px}.brand img{width:32px;height:32px;border-radius:8px}.brand h1{font-size:clamp(12px,3.5vw,20px);letter-spacing:.04em}.build-tag{position:absolute;z-index:3;top:calc(70px + max(env(safe-area-inset-top),var(--telegram-top)));right:12px;padding:5px 7px;font-size:7px}.vitals{gap:5px}.balance,.vital{gap:4px}.balance{padding-right:5px}.metric-icon{width:15px;height:23px;background:transparent}.metric-icon svg{width:14px}.vitals small{font-size:7px;letter-spacing:.055em;gap:3px}.vitals small b{font-size:8px}.balance strong{font-size:11px}progress{width:38px;height:4px}.location{top:15px;left:12px}.location h2{font-size:31px;margin-bottom:6px}.location .eyebrow{font-size:8px}.clock{font-size:9px}.quest{top:98px;right:12px;width:166px;border-radius:12px}.quest-label{padding:0 7px;font-size:8px}.quest-label span{gap:4px}.quest-label svg{width:12px}.quest-body{padding:8px 8px 9px}.quest-body h3{font-size:14px}.quest-body p{margin-top:4px;margin-bottom:7px;font-size:10px}.quest-action{font-size:9px;padding:0 7px}.quest-action span{gap:3px}.quest-action svg{width:12px}.controls-left{left:12px;bottom:15px}.controls-left small{display:none}.joystick{width:86px;height:86px}.joystick span{width:33px;height:33px}.map-card{bottom:14px;right:12px;width:97px;padding:6px;border-radius:9px}.map-card>div{font-size:0}.map-card>div>span{font-size:0}.map-card svg{margin-top:0}.near-button{bottom:17px;font-size:11px;gap:5px;padding-right:5px}.near-button svg{display:none}.near-button kbd{display:none}.toast{bottom:111px;min-width:170px}.rest-status{bottom:158px}.toolbar{height:58px;display:flex;justify-content:center;padding:0 8px;position:relative}.toolbar nav{gap:2px}.toolbar button{font-size:10px;padding:0 8px;gap:4px}.toolbar button svg{width:15px}.toolbar .phone-button{padding:0 8px}.toolbar .phone-button kbd,.desktop-hint{display:none}.toolbar .help{position:absolute;right:5px;width:44px}.toolbar .help span{display:none}}@media(max-width:350px){.vitals{gap:4px}.metric-icon{display:none}.brand img{width:29px;height:29px}.quest{width:143px}.map-card{width:74px}}@media(max-height:525px)and (min-width:651px){.topbar{height:48px}.toolbar{height:49px}.brand img{width:34px;height:34px}.brand h1{font-size:17px}.brand small{display:none}.location,.quest{top:10px}.location h2{font-size:27px}.quest{width:195px}.quest-body{padding:5px 8px 8px}.quest-body p{margin:3px 0 6px}.map-card{width:98px;bottom:9px;padding:5px}.map-card>div{font-size:0}.controls-left{bottom:9px}.controls-left small{display:none}.joystick{width:70px;height:70px}.joystick span{width:30px;height:30px}}
