/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-duration:initial}}}.fixed{position:fixed}.relative{position:relative}.z-10{z-index:10}.flex{display:flex}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.border{border-style:var(--tw-border-style);border-width:1px}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-500{--tw-duration:.5s;transition-duration:.5s}:root{color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{place-items:center;min-width:320px;min-height:100vh;margin:0;display:flex}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}:root{--evo-bg-primordial: #f5f6fa;--evo-bg-viral: #ffe7f0;--evo-bg-bacterial: #e3f9f1;--evo-bg-protozoan: #fff7e3;--evo-bg-multicellular: #f3e8ff;--evo-bg-complex: #e0f0ff;--evo-bg-tribal: #fff3e0;--evo-bg-advanced: #e6eaff;--evo-bg-industrial: #e5e9f2;--evo-bg-tech: #e0f7fa;--evo-bg-space: #e8eaf6;--evo-bg-galactic: #1a2236;--bg-primary: #f8f9fb;--bg-secondary: #f1f3f6;--bg-tertiary: #e5e7eb;--border-primary: #d1d5db;--border-secondary: #e5e7eb;--text-primary: #1a2236;--text-secondary: #4b5563;--text-muted: #9ca3af;--text-accent: #2563eb;--color-primary: #3b82f6;--color-evolution: #10b981;--color-prestige: #f59e42;--color-danger: #ef4444;--color-danger-hover: #b91c1c;--color-prestige-hover: #d97706;--color-accent-secondary: #6366f1;--success: #10b981;--warning: #f59e42;--error: #ef4444;--info: #2563eb;--btn-primary-bg: #1a2236;--btn-primary-text: #f8f9fb;--btn-primary-hover: linear-gradient(90deg, #1a2236 0%, #3b82f6 100%);--btn-success-bg: #10b981;--btn-success-text: #f8f9fb;--btn-success-hover: #059669;--btn-secondary-bg: #e5e7eb;--btn-secondary-text: #1a2236;--btn-secondary-hover: #d1d5db;--gray-intermediate: #d1d5db;--btn-disabled-bg: #e5e7eb;--btn-disabled-text: #9ca3af;--shadow-card: 0 4px 16px rgba(30, 41, 59, .07), 0 0 0 1px rgba(255,255,255,.08);--shadow-button: 0 2px 8px rgba(30, 41, 59, .06);--shadow-button-hover: 0 4px 16px rgba(59, 130, 246, .13);--shadow-light: 0 1px 4px rgba(30, 41, 59, .04);--shadow-menu: 0 8px 24px rgba(30, 41, 59, .1), 0 0 0 1px rgba(255,255,255,.04);--shadow-heavy: 0 12px 32px rgba(30, 41, 59, .13);--radius-card: 12px;--radius-button: 8px;--radius-small: 5px;--radius-medium: 12px;--radius-large: 18px;--transition-fast: .14s cubic-bezier(.4,0,.2,1);--transition-normal: .22s cubic-bezier(.4,0,.2,1);--transition-slow: .36s cubic-bezier(.4,0,.2,1);--transition-menu: .28s cubic-bezier(.4,0,.2,1);--gradient-primordial: linear-gradient(135deg, #f5f6fa 0%, #e3f9f1 100%);--gradient-advanced: linear-gradient(135deg, #f3e8ff 0%, #e6eaff 100%);--gradient-galactic: linear-gradient(135deg, #1a2236 0%, #6366f1 100%)}.dark{--evo-bg-primordial: #232b38;--evo-bg-viral: #2a2740;--evo-bg-bacterial: #1e2d3a;--evo-bg-protozoan: #2a2e3a;--evo-bg-multicellular: #2a2e5c;--evo-bg-complex: #1a2236;--evo-bg-tribal: #232b38;--evo-bg-advanced: #3b437c;--evo-bg-industrial: #202a36;--evo-bg-tech: #22304a;--evo-bg-space: #181e36;--evo-bg-galactic: #232b4a;--bg-primary: #151922;--bg-secondary: #1a202a;--bg-tertiary: #232b38;--border-primary: #232b38;--border-secondary: #232b38;--text-primary: #f4f6fa;--text-secondary: #bfc8d6;--text-muted: #6b7280;--text-accent: #3b82f6;--color-primary: #3b82f6;--color-evolution: #10b981;--color-prestige: #f59e42;--color-danger: #ef4444;--color-danger-hover: #b91c1c;--color-prestige-hover: #d97706;--color-accent-secondary: #6366f1;--btn-primary-bg: #232b38;--btn-primary-text: #f4f6fa;--btn-primary-hover: linear-gradient(90deg, #232b38 0%, #3b82f6 100%);--btn-success-bg: #10b981;--btn-success-text: #f4f6fa;--btn-success-hover: #059669;--btn-secondary-bg: #232b38;--btn-secondary-text: #f4f6fa;--btn-secondary-hover: #232a36;--gray-intermediate: #232a36;--btn-disabled-bg: #232a36;--btn-disabled-text: #6b7280;--shadow-card: 0 4px 16px rgba(21,25,34,.13), 0 0 0 1px rgba(255,255,255,.02);--shadow-button: 0 2px 8px rgba(21,25,34,.08);--shadow-button-hover: 0 4px 16px rgba(59,130,246,.11);--shadow-menu: 0 8px 24px rgba(21,25,34,.14), 0 0 0 1px rgba(255,255,255,.01);--gradient-galactic: linear-gradient(135deg, #101624 0%, #6366f1 100%)}body{min-height:100vh;background:var(--bg-primary);font-family:Inter,Arial,sans-serif;color:var(--text-primary)}.min-h-screen{min-height:100vh}.app-title{font-size:2.2rem;font-weight:700;color:var(--text-primary);padding-top:1rem}.main-container{display:grid;grid-template-columns:1fr;gap:2.5rem;width:100vw;max-width:100vw;margin:0 auto;min-height:100vh;box-sizing:border-box;padding:0 1.2rem 1.2rem}@media (min-width: 1200px){.main-container{display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:3.5rem;padding:2.5rem 2.5vw;align-items:flex-start;height:100vh;box-sizing:border-box}.main-panel{max-width:600px;height:85vh;overflow-y:auto;position:sticky;top:2.5rem;align-self:flex-start;z-index:2}.upgrades-panel{max-width:420px;height:85vh;overflow-y:auto;position:relative;z-index:1}.missions-panel{max-width:420px;height:85vh;overflow-y:auto;position:sticky;top:2.5rem;align-self:flex-start;z-index:2}}@media (max-width: 900px){.main-container{grid-template-columns:1fr;padding:0 .5rem;gap:1.2rem}.main-panel,.upgrades-panel,.missions-panel{width:100%;max-width:100%;padding:1.2rem .5rem;position:static!important;top:unset!important;align-self:unset!important;z-index:unset!important}.stats-panel,.upgrades-panel,.missions-panel{padding:1.2rem .5rem}}.main-panel,.upgrades-panel,.missions-panel{background:var(--bg-secondary);border-radius:var(--radius-card);box-shadow:var(--shadow-card);border:1px solid var(--border-primary);padding:2rem;margin:0 auto}.main-panel{width:80%;max-width:600px;display:flex;flex-direction:column;gap:2.2rem}.upgrades-panel,.missions-panel{width:80%;max-width:420px;margin-top:0;position:sticky;top:2.5rem;align-self:flex-start}.missions-highlight-panel{border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:var(--bg-secondary);border:1px solid var(--border-primary);padding:1.5rem 1.2rem;margin-top:1.5rem}.stats-panel{border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:var(--bg-secondary);border:1px solid var(--border-primary);padding:2rem 1.5rem}.stage-banner{border-radius:var(--radius-large);background:var(--bg-secondary);padding:1.1rem 1.5rem;text-align:center;border:1px solid var(--border-primary);box-shadow:var(--shadow-light)}.stage-label{font-size:1rem;color:var(--text-secondary);letter-spacing:.01em}.stage-name{font-size:1.25rem;font-weight:700;color:var(--text-primary)}.evolution-header{text-align:center}.evolution-title{font-size:2.6rem;font-weight:800;letter-spacing:.01em;color:var(--text-primary);margin:0;line-height:1.1}.upgrades-title,.missions-title{font-size:1.35rem;font-weight:700;color:var(--text-primary);margin-bottom:1.2rem}.missions-highlight-title{font-size:1.18rem;font-weight:700;color:var(--text-primary);margin-bottom:1.1rem;letter-spacing:.01em}.stat-grid{display:grid;grid-template-areas:"main-stats" "evolution-points" "prestige-points";grid-template-columns:1fr;gap:1.2rem;align-items:stretch;width:100%}.main-stats{grid-area:main-stats}.evolution-points-section{grid-area:evolution-points;min-width:180px;white-space:nowrap;overflow-x:auto}.prestige-points-section{grid-area:prestige-points;min-width:180px;white-space:nowrap;overflow-x:auto}.stat-item{display:flex;flex-direction:column;align-items:flex-start}.primary-stat .stat-value{font-size:2.1rem;font-weight:800;letter-spacing:-.01em;color:var(--color-primary)}.secondary-stat .stat-value{font-size:1.25rem;font-weight:700;color:var(--text-secondary)}.stat-label{font-size:1.05rem;font-weight:500;color:var(--text-secondary)}.stat-unit{font-size:.98rem;color:var(--text-secondary)}.stat-value.evolution{font-size:1.35rem;font-weight:700;color:var(--color-evolution)}.stat-value.prestige{font-size:1.35rem;font-weight:700;color:var(--color-prestige)}.evolution-bonus{font-size:.85rem;color:var(--success);margin-left:6px}.prestige-bonus{font-size:.85rem;color:var(--warning);margin-left:6px}.production-panel{margin-top:1.5rem;padding:1rem 1.2rem;background:var(--bg-primary);border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:var(--shadow-light)}.production-title{font-size:1.08rem;font-weight:600;color:var(--text-secondary);margin-bottom:.3rem}.production-stats{display:flex;gap:1.2rem}.production-item{display:flex;flex-direction:column;align-items:center}.production-rate{font-size:1.18rem;font-weight:700;color:var(--color-primary)}.production-unit{font-size:.92rem;color:var(--text-secondary)}.main-action-btn,.main-action-btn-primordial{width:100%;padding:1.2rem 0;font-size:1.18rem;font-weight:700;border:none;border-radius:var(--radius-button);background:var(--btn-primary-bg);color:var(--btn-primary-text);cursor:pointer;transition:background var(--transition-normal),box-shadow var(--transition-normal);box-shadow:var(--shadow-button)}.main-action-btn-primordial:hover{background:var(--btn-primary-hover);box-shadow:var(--shadow-button-hover)}.evolution-btn{width:100%;margin-top:.5rem;font-size:1.08rem;font-weight:700;border:none;border-radius:var(--radius-button);cursor:pointer;transition:background var(--transition-normal),box-shadow var(--transition-normal);box-shadow:var(--shadow-button)}.evolution-btn-ready{background:var(--btn-success-bg);color:var(--btn-success-text)}.evolution-btn-disabled{background:var(--btn-disabled-bg);color:var(--btn-disabled-text);cursor:not-allowed}.upgrade-buy-btn{width:100%;padding:.7rem 1rem;font-size:1.08rem;font-weight:700;border:none;border-radius:var(--radius-button);cursor:pointer;transition:background var(--transition-normal),box-shadow var(--transition-normal);box-shadow:var(--shadow-button)}.upgrade-buy-enabled{background:var(--btn-success-bg);color:var(--btn-success-text)}.upgrade-buy-disabled{background:var(--btn-disabled-bg);color:var(--btn-disabled-text);cursor:not-allowed}.mission-btn{width:100%;margin-top:.7rem;padding:.5rem 1rem;font-size:1rem;font-weight:700;border:none;border-radius:var(--radius-button);transition:background var(--transition-normal);box-shadow:0 1px 4px #00000008}.mission-btn-enabled{background:var(--btn-success-bg);color:var(--btn-success-text);cursor:pointer}.mission-btn-disabled{background:var(--btn-disabled-bg);color:var(--btn-disabled-text);cursor:not-allowed}.reset-btn{font-size:1rem;font-weight:700;border:none;border-radius:var(--radius-button);padding:.7rem 1.5rem;margin-bottom:1.1rem;background:var(--color-danger);color:#fff;transition:background var(--transition-normal);box-shadow:0 2px 8px #ef444414}.reset-btn:hover{background:var(--color-danger-hover)}.prestige-btn{font-size:1rem;font-weight:700;border:none;border-radius:var(--radius-button);padding:.7rem 1.5rem;margin-bottom:1.1rem;background:var(--color-prestige);color:#fff;transition:background var(--transition-normal);box-shadow:0 2px 8px #d9770614}.prestige-btn:hover{background:var(--color-prestige-hover)}.theme-toggle-container{display:flex;align-items:center;justify-content:flex-start;width:100%;margin-bottom:1.5rem}.theme-toggle-btn{display:flex;align-items:center;gap:.7rem;background:var(--btn-secondary-bg);color:var(--text-primary);border:1px solid var(--border-primary);border-radius:var(--radius-button);padding:.65rem 1.2rem;font-size:1.08rem;font-weight:600;cursor:pointer;box-shadow:var(--shadow-button);transition:background var(--transition-normal),color var(--transition-normal),border var(--transition-normal);outline:none}.theme-toggle-btn:focus{border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary) 33}.theme-toggle-btn:hover{background:var(--btn-secondary-hover);color:var(--color-primary)}.theme-toggle-icon{display:flex;align-items:center;font-size:1.35rem;color:inherit;transition:color var(--transition-normal)}.theme-toggle-label{font-size:1.08rem;color:inherit;font-weight:600;transition:color var(--transition-normal)}.upgrade-card,.mission-card{border-radius:var(--radius-medium);border:1px solid var(--border-secondary);background:var(--bg-secondary);box-shadow:var(--shadow-light);padding:1.1rem 1rem;display:flex;flex-direction:column;gap:.5rem}.upgrade-header{display:flex;justify-content:space-between;align-items:center}.upgrade-name{font-weight:600;font-size:1.08rem;color:var(--text-primary)}.upgrade-quantity{font-size:1rem;color:var(--text-muted)}.upgrade-details{font-size:.98rem;color:var(--text-accent);margin-bottom:.5rem}.upgrade-multiplier{font-weight:600;color:var(--color-primary)}.mission-description{font-size:1.02rem;color:var(--text-primary);margin-bottom:.3rem}.mission-reward{font-size:.98rem;color:var(--color-primary)}.upgrades-grid,.missions-grid{display:flex;flex-direction:column;gap:1.1rem}.burger-menu-root{position:absolute;top:16px;right:24px;z-index:40}.burger-menu-btn{background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-small);padding:.5rem .7rem;cursor:pointer;box-shadow:0 1px 4px #0001;display:flex;align-items:center;transition:background var(--transition-fast)}.burger-menu-btn:hover{background:var(--bg-primary)}.burger-icon{display:flex;flex-direction:column;gap:4px;width:24px;height:24px;justify-content:center}.burger-icon span{display:block;height:3px;width:100%;background:var(--text-primary);border-radius:2px;transition:all .2s}.burger-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000040;z-index:99;animation:fadeInOverlay .2s}.burger-menu-panel{position:fixed;top:0;right:-340px;width:320px;max-width:90vw;height:100vh;background:var(--bg-secondary);box-shadow:var(--shadow-heavy);z-index:100;display:flex;flex-direction:column;transform:translate(0);transition:right var(--transition-menu)}.burger-menu-panel.open{right:0;transition:right var(--transition-menu)}.burger-menu-header{display:flex;justify-content:flex-end;padding:1.2rem 1.2rem .5rem}.burger-menu-close{background:none;border:none;font-size:2rem;color:var(--text-muted);cursor:pointer;transition:color var(--transition-fast)}.burger-menu-close:hover{color:var(--text-primary)}.burger-menu-content{flex:1;padding:1.2rem 1.5rem 2rem;display:flex;flex-direction:column;gap:2.2rem;align-items:stretch;justify-content:flex-start}.burger-menu-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:1.2rem;text-align:left}.language-selector-dropdown-root{position:relative;width:100%}.language-selector-dropdown-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.7rem;background:var(--btn-secondary-bg);border:1px solid var(--border-primary);border-radius:var(--radius-button);padding:.65rem 1.2rem;font-weight:600;font-size:1.08rem;color:var(--text-primary);box-shadow:var(--shadow-button);cursor:pointer;outline:none;transition:background var(--transition-normal),color var(--transition-normal),border var(--transition-normal)}.language-selector-dropdown-btn:focus{border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary) 33}.language-selector-current{display:flex;align-items:center;gap:8px}.language-selector-arrow{font-size:14px;color:var(--text-muted);margin-left:6px}.language-selector-dropdown{position:absolute;top:110%;left:0;width:100%;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-small);box-shadow:var(--shadow-menu);z-index:10;margin:0;padding:0;list-style:none;max-height:220px;overflow-y:auto;animation:fadeIn .18s}.language-selector-dropdown-item{padding:.6rem 1rem;background:var(--bg-secondary);color:var(--text-primary);font-weight:500;cursor:pointer;border-bottom:1px solid var(--bg-primary);border-radius:0;transition:background var(--transition-fast),color var(--transition-fast);display:flex;align-items:center;gap:8px}.language-selector-dropdown-item:last-child{border-bottom:none}.language-selector-dropdown-item.selected,.language-selector-dropdown-item:hover{background:var(--color-primary);color:var(--btn-primary-text);font-weight:700;border-radius:7px}.language-selector-container{width:100%;display:flex;flex-direction:column;align-items:stretch;margin-bottom:1.2rem}.language-selector-select{width:100%;padding:.65rem 1rem;border-radius:var(--radius-small);border:1px solid var(--border-primary);background:var(--bg-secondary);font-weight:600;font-size:1.08rem;color:var(--text-primary);box-shadow:0 1px 4px #0001;cursor:pointer;margin-bottom:.5rem;transition:border var(--transition-normal),box-shadow var(--transition-normal)}.language-selector-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary) 33}@media (max-width: 900px){.language-selector-select{font-size:1rem;padding:.55rem .8rem;border-radius:7px}.language-selector-container{margin-bottom:1rem}}.evolve-requirements-feedback{font-size:.98rem;font-weight:500;color:var(--error);margin-bottom:16px}.evolve-requirements-missions,.evolve-requirements-resource{color:var(--error);margin-top:4px}.click-counter{margin-bottom:1rem;font-size:1.08rem;font-weight:600;color:var(--text-primary);text-align:right}.evolutionary-bg-primordial{background:linear-gradient(120deg,var(--evo-bg-primordial),var(--bg-primary))}.evolutionary-bg-viral{background:linear-gradient(120deg,var(--evo-bg-viral),var(--bg-primary))}.evolutionary-bg-bacterial{background:linear-gradient(120deg,var(--evo-bg-bacterial),var(--bg-primary))}.evolutionary-bg-protozoan{background:linear-gradient(120deg,var(--evo-bg-protozoan),var(--bg-primary))}.evolutionary-bg-multicellular{background:linear-gradient(120deg,var(--evo-bg-multicellular),var(--bg-primary))}.evolutionary-bg-complex{background:linear-gradient(120deg,var(--evo-bg-complex),var(--bg-primary))}.evolutionary-bg-tribal{background:linear-gradient(120deg,var(--evo-bg-tribal),var(--bg-primary))}.evolutionary-bg-advanced{background:linear-gradient(120deg,var(--evo-bg-advanced),var(--bg-primary))}.evolutionary-bg-industrial{background:linear-gradient(120deg,var(--evo-bg-industrial),var(--bg-primary))}.evolutionary-bg-tech{background:linear-gradient(120deg,var(--evo-bg-tech),var(--bg-primary))}.evolutionary-bg-space,.evolutionary-bg-galactic{background:linear-gradient(120deg,var(--evo-bg-space),var(--bg-primary))}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes evolve{0%{background:var(--color-evolution)}50%{background:var(--color-primary);transform:scale(1.05)}to{background:var(--color-evolution);transform:scale(1)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInOverlay{0%{opacity:0}to{opacity:1}}.animate-pulse{animation:pulse .2s ease-in-out}.animate-evolve{animation:evolve 1s ease-in-out}.animate-fade-in{animation:fadeIn .5s ease-in}
