@font-face{font-family:Onest;src:url('./fonts/onest-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F}@font-face{font-family:Onest;src:url('./fonts/onest-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Onest,Arial,sans-serif;color:#213c55;background:#edf3fb;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,a{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:0;box-shadow:0 0 0 3px #185bdd28,0 0 20px #185bdd24}h1,h2,p{margin:0}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.ico{width:20px;height:20px;display:block;flex:0 0 auto;stroke:currentColor;stroke-width:1.6;fill:none}.pair{display:inline-flex;align-items:center;justify-content:center;gap:9px}.pair>span{line-height:1.35}.pair>b{font-weight:500;white-space:nowrap}#game-root{height:100dvh;display:grid;grid-template-rows:72px minmax(0,1fr) auto;overflow:hidden}.game-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;background:#fff;border-bottom:1px solid #dce6f4;z-index:4}.game-brand{display:flex;align-items:center;gap:16px;flex-shrink:0}.game-logo{width:84px;height:29px;display:block;background:#185bdd;mask:url('../assets/chzm-logo-original.svg') center/contain no-repeat;-webkit-mask:url('../assets/chzm-logo-original.svg') center/contain no-repeat}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-copy strong{font-size:19px;font-weight:500}.brand-copy small{font-size:10px;color:#70869e}.header-actions{display:flex;align-items:center;gap:10px}.header-actions>button{min-height:40px;padding:10px 14px;border-radius:9px;font-size:12px;border:1px solid #d6e2f4;background:#fff}.header-actions .reset-game{background:#edf3fd;border-color:#d6e2f4;color:#244f80}.header-actions .offer-button{background:#185bdd;border-color:#185bdd;color:#fff}.mobile-label{display:none}.world-frame{position:relative;min-height:0;overflow:hidden;background:#e9f0fa}.world{position:absolute;inset:0}.world canvas{display:block;position:absolute;inset:0;width:100%;height:100%;outline:none}.hud{position:absolute;top:20px;left:28px;display:flex;align-items:center;gap:10px;pointer-events:none}.hud>div,.pause-button{pointer-events:auto;background:#ffffffed;border:1px solid #d8e4f4;box-shadow:0 6px 24px #34598209;border-radius:12px}.money-pill{padding:10px 18px;min-width:155px}.hud span{display:block;font-size:10px;color:#657e98;margin-bottom:3px}.money-pill strong{display:flex;align-items:baseline;gap:8px;font-size:25px;color:#185bdd}.money-pill b{font-weight:550}.money-pill small{font-size:10px;color:#70869e;font-weight:400}.stock-pill{padding:10px 16px;min-width:78px}.stock-pill strong{font-size:22px;font-weight:450}.pause-button{display:grid;place-items:center;width:38px;height:38px;color:#607e9d}.scene-message{position:absolute;top:23px;right:28px;max-width:330px;display:flex;align-items:flex-start;gap:9px;border-radius:11px;background:#ffffffd9;padding:12px 15px;font-size:11px;line-height:1.6;color:#526f8b;pointer-events:none}.status-dot{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#185bdd;box-shadow:0 0 0 4px #e6effc;margin-top:5px}.scene-tools{position:absolute;left:28px;bottom:20px;display:flex;align-items:center;gap:6px}.scene-tools button{display:grid;place-items:center;background:#ffffffed;border:1px solid #d4e1f3;border-radius:9px;width:36px;height:36px}.scene-note{position:absolute;bottom:25px;right:28px;font-size:9px;color:#74889d;pointer-events:none}.manager-hint{position:absolute;transform:translate(-50%,-80%);padding:9px 13px;border:1px solid #b8cef4;border-radius:10px;background:#fff;color:#185bdd;font-size:11px;box-shadow:0 8px 25px #274b7620;white-space:nowrap;transition:background 180ms}.manager-hint:after{content:'';position:absolute;width:8px;height:8px;background:#fff;bottom:-5px;left:calc(50% - 4px);transform:rotate(45deg);border-right:1px solid #b8cef4;border-bottom:1px solid #b8cef4}.world-loading{position:absolute;inset:0;background:#edf3fb;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;font-size:14px;z-index:5}.world-toast{position:absolute;bottom:20px;left:50%;transform:translate(-50%,10px);background:#173955;color:white;max-width:min(520px,90%);padding:12px 18px;border-radius:12px;font-size:12px;text-align:center;opacity:0;pointer-events:none;transition:opacity 180ms,transform 180ms;z-index:3}.world-toast.show{opacity:1;transform:translate(-50%,0)}.paused-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#ffffffed;padding:16px 28px;border-radius:12px;color:#42617e;pointer-events:none}.coin-pop{position:absolute;pointer-events:none;font-size:22px;font-weight:600;color:#185bdd;text-shadow:0 1px white;animation:coinFloat .75s ease-out forwards}.game-dock{position:relative;z-index:3;background:white;border-top:1px solid #d6e3f4;padding:20px 28px 22px;display:grid;grid-template-columns:minmax(240px,1fr) minmax(410px,.9fr);align-items:center;gap:40px;box-shadow:0 -8px 35px #1e416607}.step-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#557494;margin-bottom:8px}.save-note{color:#8496a8;font-size:9px}.next-step h1{font-size:24px;font-weight:500;line-height:1.3}.next-step p{font-size:12px;line-height:1.6;color:#647e97;margin-top:6px}.purchase-track{margin-top:13px;height:3px;border-radius:3px;background:#e9eff9;overflow:hidden}.purchase-track>span{height:100%;display:block;background:#185bdd;transition:width 200ms}.dock-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:8px 10px}.manager-tap,.purchase-button{border:0;min-height:52px;border-radius:10px;font-size:13px;padding:12px 16px}.manager-tap{background:#edf3fd;color:#185bdd}.manager-tap b{font-weight:550}.purchase-button{background:#185bdd;color:#fff;justify-content:space-between}.purchase-button:disabled{opacity:1;background:#e8eef8;color:#7c8fa6}.speed-button{grid-column:1/-1;justify-self:end;background:none;border:0;padding:4px 0;font-size:11px;color:#526f8e}.speed-button:disabled{opacity:.65}.game-dialog{width:min(530px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:25px;border:1px solid #d6e2f3;border-radius:18px;background:white;color:#213c55;box-shadow:0 24px 100px #102d5240;overflow:hidden}.game-dialog::backdrop{background:#102c5045;backdrop-filter:blur(7px)}.game-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.game-dialog h2{font-size:23px;font-weight:500;line-height:1.3}.dialog-close{display:grid;place-items:center;border:0;background:#f0f4fb;border-radius:9px;width:34px;height:34px;flex-shrink:0}.game-dialog>p{font-size:13px;line-height:1.65;color:#657d94}.dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.primary,.secondary{border:1px solid #d3e1f5;border-radius:9px;padding:12px 15px;min-height:44px;font-size:12px;line-height:1.45}.primary{background:#185bdd;color:#fff;border-color:#185bdd}.secondary{background:#f4f7fc;color:#31577c}.wide{grid-column:1/-1}.game-dialog .dialog-note{font-size:10px;color:#8294a6;margin-top:14px;line-height:1.6}.factory-photo{display:block;width:100%;max-height:40dvh;object-fit:contain;background:#edf3fb;border:1px solid #dce6f4;border-radius:10px}.offer-illustration{width:52px;height:52px;display:grid;place-items:center;background:#ecf3ff;color:#185bdd;border-radius:14px;margin-bottom:18px}.offer-illustration .ico{width:26px;height:26px}.is-preview #game-root{display:block;height:100dvh}.is-preview .game-header,.is-preview .game-dock,.is-preview .hud,.is-preview .scene-message,.is-preview .scene-tools,.is-preview .scene-note,.is-preview .manager-hint,.is-preview .paused-label,.is-preview .world-toast{display:none!important}.is-preview .world-frame{height:100%;width:100%}
@keyframes coinFloat{from{opacity:1;transform:translate(-50%,0)}to{opacity:0;transform:translate(-50%,-60px)}}
@media(max-width:1000px){.game-header{padding-inline:18px;gap:12px}.brand-copy small{display:none}.brand-copy strong{font-size:16px}.game-logo{width:65px;height:25px}.game-brand{gap:12px}.header-actions>button{font-size:11px;padding:9px 11px}.scene-message{top:105px;left:18px;right:auto;max-width:290px}.hud{left:18px;top:14px}.game-dock{padding:16px 18px;gap:22px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}.next-step h1{font-size:21px}.next-step p{font-size:11px}.manager-tap,.purchase-button{font-size:11px;padding:10px}.save-note{display:none}.scene-note{right:18px;bottom:20px}.scene-tools{left:18px;bottom:14px}}
@media(max-width:650px){#game-root{grid-template-rows:56px minmax(0,1fr) auto}.game-header{padding-inline:12px;gap:8px}.game-logo{width:53px;height:23px}.brand-copy{display:none}.header-actions{gap:6px}.header-actions>button{font-size:10px;min-height:36px;padding:8px}.header-actions .ico{width:16px;height:16px}.header-actions .photo-button{width:36px;padding:8px}.photo-button>span,.desktop-label{display:none}.mobile-label{display:block}.reset-game{gap:6px}.hud{top:12px;left:12px;right:12px;gap:6px}.money-pill{padding:8px 11px;min-width:114px;flex:1}.stock-pill{min-width:55px;padding:8px 11px}.money-pill strong{font-size:21px;gap:5px}.stock-pill strong{font-size:20px}.hud span{font-size:9px}.money-pill small{font-size:8px}.pause-button{width:32px;height:32px;flex-shrink:0}.scene-message{left:12px;right:12px;top:86px;max-width:none;padding:8px 10px;font-size:10px;line-height:1.4}.status-dot{margin-top:4px}.game-dock{display:block;padding:13px 14px 12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.step-heading{font-size:9px;margin-bottom:5px}.next-step h1{font-size:18px}.next-step p{font-size:10px;line-height:1.4;margin-top:4px}.purchase-track{margin-top:8px}.dock-actions{margin-top:11px;grid-template-columns:.9fr 1.4fr;gap:6px}.manager-tap,.purchase-button{min-height:45px;font-size:10px;padding:9px 10px}.manager-tap .ico{width:17px;height:17px}.manager-tap{gap:6px}.speed-button{font-size:10px;padding:3px 0}.scene-tools{left:12px;bottom:12px}.scene-tools button{width:30px;height:30px}.scene-note{font-size:7px;right:12px;bottom:16px;max-width:155px;text-align:right}.manager-hint{font-size:9px;padding:8px 10px;gap:6px}.world-toast{bottom:48px;font-size:11px;width:max-content;max-width:90%;padding:10px 13px}.game-dialog{padding:20px}.game-dialog h2{font-size:20px}.game-dialog>p{font-size:12px}.dialog-actions{margin-top:16px;gap:8px}.primary,.secondary{font-size:11px;padding:10px}.game-dialog .dialog-note{margin-top:11px;font-size:9px}.factory-photo{max-height:32dvh}.offer-illustration{width:40px;height:40px;margin-bottom:12px}}
@media(max-height:620px){.scene-message{display:none}.game-dock{padding-block:10px}.next-step p{font-size:10px}.game-dialog{padding:16px}.game-dialog>header{margin-bottom:10px}.game-dialog h2{font-size:19px}.dialog-actions{margin-top:12px}.offer-illustration{display:none}.hud{top:10px}.scene-note{display:none}}
@media(max-height:450px) and (min-width:651px){#game-root{grid-template-rows:48px minmax(0,1fr) auto}.game-header{padding-inline:16px}.game-dock{padding:9px 16px;gap:15px}.next-step h1{font-size:17px}.next-step p,.step-heading,.purchase-track{display:none}.manager-tap,.purchase-button{min-height:38px}.game-dialog .dialog-note{font-size:9px}.factory-photo{max-height:30dvh}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.coin-pop{display:none}}@media(forced-colors:active){button:focus-visible,a:focus-visible{outline:2px solid Highlight;outline-offset:2px}}
/* Manufacturing controls fit inside the same game viewport. */
.game-header .brand-copy{min-width:0;max-width:260px}.brand-copy [data-company-title]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions .leader-button{background:#edf3fd;color:#185bdd;border-color:#d6e2f4}.company-dialog{width:min(460px,calc(100vw - 28px));padding:30px}.company-eyebrow{display:block;color:#577897;font-size:11px;margin-bottom:18px}.company-dialog h2{font-size:27px;letter-spacing:-.5px}.company-intro{margin-top:10px}.company-form{margin-top:22px}.company-form fieldset{padding:0;margin:0 0 18px;border:0}.company-form legend,.company-name-label{display:block;font-size:12px;color:#526f8c;margin-bottom:9px}.company-types{display:grid;grid-template-columns:1fr 1fr;gap:10px}.company-types label{position:relative;cursor:pointer}.company-types input{position:absolute;opacity:0;width:1px;height:1px}.company-types span{display:block;padding:12px;text-align:center;border:1px solid #dae5f4;border-radius:10px;background:#f5f8fd;font-size:14px}.company-types input:checked+span{background:#edf3ff;color:#185bdd;border-color:#afc9f6}.company-types input:focus-visible+span{box-shadow:0 0 22px #185bdd30}.company-form input[type=text]{display:block;width:100%;height:48px;border:1px solid #d2e0f3;border-radius:10px;background:#f7faff;color:#213c55;padding:12px 14px;outline:none;font-size:15px}.company-form input[type=text]:focus{box-shadow:0 0 24px #185bdd20;background:#fff}.company-form input[aria-invalid=true]{border-color:#b75353}.company-help,.company-legacy{font-size:11px;line-height:1.5;color:#70869d;margin-top:10px}.company-error{min-height:28px;margin:12px 0 8px;font-size:11px;line-height:1.4;color:#8a4545}.company-submit{width:100%;font-size:13px;min-height:48px}.company-submit .ico{width:18px;height:18px}.company-legacy{font-size:10px;margin-top:12px}.leader-dialog{width:min(660px,calc(100vw - 28px))}.leader-content{margin-top:16px;min-height:70px;font-size:12px;color:#56728e}.leader-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.leader-table th,.leader-table td{padding:10px 8px;text-align:left;border-bottom:1px solid #e6edf7}.leader-table thead th{font-size:10px;color:#778ca2;font-weight:400}.leader-table th:first-child{width:52px}.leader-table th:nth-child(3){width:65px}.leader-table th:nth-child(4){width:100px}.leader-table tbody th{font-weight:500;color:#213c55}.leader-table tbody th>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-table small{display:block;font-size:9px;font-weight:400;color:#185bdd;margin-top:3px}.leader-table td{font-variant-numeric:tabular-nums;white-space:nowrap}.leader-table .is-mine{background:#edf3ff}.leader-rank{display:block;color:#185bdd}.leader-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.leader-footer .secondary{min-height:36px;padding:8px 12px;font-size:11px}.leader-footer .ico{width:16px;height:16px}.leader-page{font-size:11px;color:#728aa2}.leader-pages{display:flex;gap:8px}.leader-mine{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:10px;line-height:1.5}.leader-mine button{border:0;border-radius:7px;background:#edf3ff;color:#185bdd;padding:8px;white-space:nowrap;font-size:11px}.leader-empty{padding:25px 0;font-size:13px;line-height:1.6}.game-dialog.leader-dialog>p{font-size:12px}.company-form button:disabled{opacity:.65}
@media(max-width:1000px){.game-header .brand-copy{max-width:160px}.leader-table th,.leader-table td{padding:9px 6px}}
@media(max-width:650px){.header-actions .leader-button{width:36px;padding:8px}.leader-button>span{display:none}.company-dialog{padding:24px}.company-dialog h2{font-size:24px}.company-form{margin-top:18px}.company-eyebrow{margin-bottom:14px}.leader-table{font-size:11px}.leader-table th:first-child{width:36px}.leader-table th:nth-child(3){width:55px}.leader-table th:nth-child(4){width:75px}.leader-dialog{padding:18px}.game-dialog.leader-dialog>p{font-size:10px}.leader-footer{gap:8px;margin-top:12px}.leader-mine{font-size:9px;gap:8px}}
@media(max-width:420px){.leader-revenue{display:none}.leader-table th:nth-child(3){width:56px}.leader-mine>span{max-width:210px}}
@media(max-height:620px){.company-dialog{padding:18px}.company-eyebrow{margin-bottom:10px}.company-dialog h2{font-size:21px}.company-intro{margin-top:6px}.company-form{margin-top:12px}.company-form fieldset{margin-bottom:10px}.company-types span{padding:9px}.company-form input[type=text]{height:42px}.company-help{font-size:10px;margin-top:7px}.company-error{min-height:16px;margin:8px 0}.company-submit{min-height:40px}.company-legacy{font-size:9px;margin-top:8px}.leader-table th,.leader-table td{padding:6px}.leader-content{margin-top:8px}.leader-footer{margin-top:9px}.leader-mine{margin-top:8px}}
@media(max-height:450px) and (min-width:551px){.company-dialog{width:min(660px,calc(100vw - 28px))}.company-eyebrow{display:none}.company-form{display:grid;grid-template-columns:160px minmax(0,1fr);gap:6px 16px}.company-form fieldset{grid-column:1;grid-row:1/4;margin:0}.company-name-label{grid-column:2;margin:0}.company-form input[type=text]{grid-column:2}.company-help{grid-column:2;margin:0}.company-error,.company-submit,.company-legacy{grid-column:1/-1;margin:0}.company-types{gap:8px}.company-intro{font-size:11px!important}}
.build-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.build-actions button{border:1px solid #dce6f5;border-radius:8px;background:#f6f9fe;padding:9px 10px;font-size:11px;min-height:38px}
.build-actions button[aria-pressed=true]{color:#185bdd;background:#edf3ff;border-color:#b9d0f5}
.build-actions .ico{width:16px;height:16px}
.move-post{border:0;border-radius:6px;background:#edf3fd;color:#185bdd;font-size:10px;padding:5px 8px;white-space:nowrap}
.step-heading{justify-content:flex-start;gap:12px}.save-note{margin-left:auto}.next-step h1{font-size:23px}
.placement-banner{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:16px;border:1px solid #c2d5f1;border-radius:12px;background:#fff;box-shadow:0 10px 30px #29446618;padding:10px 12px 10px 18px;font-size:12px;max-width:95%;z-index:2}
.placement-banner span{line-height:1.35}.placement-banner button{padding:9px 12px;border:0;background:#edf3fd;border-radius:7px;color:#185bdd}
.build-options{display:grid;gap:10px;margin-top:18px}.build-options>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;padding:14px;border:1px solid #d7e3f4;border-radius:10px;background:#f7faff;color:#213c55}.build-options>button:enabled:hover{background:#edf4ff;border-color:#acc8f6}.build-options strong{display:block;font-size:14px;line-height:1.4;font-weight:500}.build-options small{display:block;margin-top:4px;font-size:11px;line-height:1.45;color:#71869e}.build-options b{font-size:12px;white-space:nowrap;font-weight:500;color:#185bdd}.build-options>button:disabled{opacity:.55}
.is-preview .placement-banner{display:none!important}
@media(max-width:1000px){.next-step h1{font-size:20px}.game-dock{gap:24px}.step-heading{gap:8px}.build-actions button{font-size:10px;padding:8px}.build-options>button{padding:12px}}
@media(max-width:650px){.game-dock{padding:12px}.next-step h1{font-size:17px}.next-step p{min-height:28px}.build-actions{gap:8px}.build-actions button{min-height:36px;padding:7px;font-size:10px}.dock-actions{gap:8px;margin-top:9px}.manager-tap,.purchase-button{min-height:43px;padding:8px;font-size:10px}.move-post{font-size:9px;padding:3px 5px}.step-heading{font-size:9px;margin-bottom:4px;min-height:18px}.scene-note{display:none}.placement-banner{bottom:48px;padding:9px 10px;width:max-content;font-size:10px;gap:10px}.build-options{gap:8px;margin-top:14px}.build-options strong{font-size:12px}.build-options small{font-size:10px}.build-options>button{padding:10px}.build-options b{font-size:11px}.scene-tools{gap:8px}.header-actions{gap:8px}}
@media(max-height:620px){.build-options{gap:7px;margin-top:10px}.build-options>button{padding:10px}.game-dialog .dialog-note{margin-top:10px}.game-dock{padding-block:9px}.next-step p{min-height:0}}
@media(max-height:450px) and (min-width:651px){.game-dock{grid-template-columns:1fr 1.2fr;gap:16px}.dock-actions{grid-template-columns:1fr 1.3fr;gap:5px}.build-actions button{min-height:28px;padding:5px}.manager-tap,.purchase-button{min-height:36px}.next-step h1{font-size:17px}.game-dialog{width:min(660px,calc(100vw - 28px))}.build-options{grid-template-columns:1fr 1fr}.build-options small{font-size:10px}.game-dialog>p{font-size:11px}.game-dialog .dialog-note{margin-top:8px}}
