:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#000;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{min-width:12em;border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;margin:.3em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;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}}html,body{margin:0;padding:0;height:100%}html{margin:0;padding:0;height:100%;background-color:#000}body{margin:0 auto;padding:0;height:100%;max-width:675px}#app{max-width:100%;margin:0;padding:0;text-align:left;font-size:.85rem;height:100%}.card{padding:.6em}.game-container{max-width:360px;margin:0 auto;background-color:#141423cc;border-radius:0;box-shadow:0 4px 12px #0000004d;height:100vh;display:flex;flex-direction:column}.top-bar-wrapper{background-color:#28283c;border-bottom:2px solid rgba(100,100,150,.3);position:sticky;top:0;z-index:100;display:flex;flex-direction:column}.top-bar-first-row{padding:.6rem 0 0;display:flex;justify-content:space-between;align-items:center}.date-display{margin-left:.6rem;background-color:#3c3c50cc;padding:.2rem .4rem;border-radius:3px;font-weight:600;color:#e2e8f0;font-size:.7rem}.top-bar-resource-wrapper{display:flex;gap:.4rem;align-items:center;padding-right:.6rem}.top-bar-yearly-goal{min-height:100px;align-content:center;background-color:#28283c;margin:.6rem;font-size:.8rem}.resource-pill{display:flex;align-items:center;background-color:#3c3c50cc;border-radius:3px;padding:.2rem .4rem;gap:.2rem}.resource-icon{font-size:.65rem;font-weight:700;color:#a0aec0}.resource-value{font-size:.7rem;font-weight:600;color:#e2e8f0;display:flex;align-items:center}.income-indicator{font-size:.65rem;font-weight:500;margin-left:.25rem}.game-content{padding:.5rem 0;flex:1;overflow-x:hidden}.main-screen{display:flex;flex-direction:column;gap:.75rem}.action-section{background-color:#1e1e32b3;border-radius:0;padding:.6rem;box-shadow:0 3px 6px #0003;display:flex;flex-direction:column}.action-section h2{font-size:.85rem;margin-top:0;margin-bottom:0;padding-left:.2rem}.action-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-top:.5rem;margin-bottom:.75rem}.action-buttons button{background-color:#4a5568;color:#fff;border:none;border-radius:4px;padding:.3rem;font-size:.7rem;font-weight:500;transition:all .2s ease;cursor:pointer;width:100%;height:100%;text-align:left}.action-content{display:flex;flex-direction:column;gap:.15rem}.action-name{font-weight:700;font-size:.75rem;color:#e2e8f0}.action-description{font-size:.6rem;opacity:.9;color:#cbd5e0;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.action-buttons button:hover{background-color:#2d3748;transform:translateY(-1px);box-shadow:0 2px 4px #0003}.action-buttons button.faded{opacity:.45;cursor:not-allowed}.action-buttons button.faded:hover{background-color:#4a5568;transform:unset}.game-state-section{background-color:#1e1e32b3;border-radius:0;padding:.6rem;box-shadow:0 3px 6px #0003;position:relative}.info-tooltip{display:flex;justify-content:flex-end;position:absolute;right:.5rem}.stat-info-icon{position:relative;cursor:pointer;font-size:.9rem;width:1.2rem;height:1.2rem;display:flex;justify-content:center;align-items:center;background-color:#28283c80;border-radius:50%}.info-tooltip-content{position:absolute;top:100%;right:0;width:260px;max-height:400px;overflow-y:auto;background-color:#1e1e32f2;border:1px solid rgba(80,80,120,.3);border-radius:4px;padding:.5rem;z-index:10;box-shadow:0 4px 8px #0000004d}.info-tooltip-content p{margin:.3rem 0;font-size:.7rem;color:#e2e8f0}.game-state-section h2{font-size:1rem;margin-top:0;margin-bottom:.4rem;padding-left:.1rem}.stat-categories{display:flex;flex-wrap:wrap;column-gap:.5rem}.stat-category{margin-bottom:.2rem;flex:1 1 100%;min-width:100px}.category-title{color:#e2e8f0;font-size:.85rem;margin:.3rem 0 .2rem}.game-state-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem .5rem}.stat-card{background-color:#3c3c50b3;border-radius:4px;padding:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;transition:all .2s ease}.stat-name{font-size:.65rem;font-weight:600;color:#a0aec0;text-transform:uppercase;letter-spacing:.03em}.stat-value{font-size:.8rem;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.selection-section{background-color:#1e1e32b3;border-radius:0;padding:.2rem .4rem;box-shadow:0 3px 6px #0003;margin:.75rem 0}.selection-section h3{color:#e2e8f0;margin-bottom:.3rem;margin-top:0;font-size:1rem;padding-left:.1rem}.selection-section div{display:flex;flex-direction:column;gap:.5rem}.contract-section{background-color:#1e1e32b3;border-radius:0;padding:.6rem;box-shadow:0 3px 6px #0003;margin-top:.75rem}.contracts-grid{display:grid;grid-template-columns:1fr;gap:.5rem;margin-top:.5rem}.contract-section h2{color:#e2e8f0;margin-bottom:.3rem;margin-top:0;font-size:1rem;padding-left:.1rem}.contract-card{border:1px solid;border-radius:4px;padding:.5rem;background-color:#323246b3;overflow:hidden;box-shadow:0 2px 6px #0003;display:flex;flex-direction:column;transition:all .2s ease}.contract-card.safety{background-color:#283c3cb3}.contract-card.capabilities{background-color:#282850b3}.contract-card.product{background-color:#3c283cb3}.contract-card.editable:hover{transform:translateY(-2px);box-shadow:0 3px 8px #0000004d}.contract-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.3rem}.contract-title{font-size:.8rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80%;margin:0}.contract-rarity{font-size:.6rem;font-weight:700;background-color:#0003;padding:.1rem .3rem;border-radius:3px;text-transform:capitalize}.contract-details{font-size:.7rem;flex:1}.contract-success,.contract-cost,.contract-requirement{margin:.15rem 0;display:flex;align-items:flex-start;gap:.3rem}.contract-icon{flex-shrink:0;font-weight:700;width:.8rem;display:inline-block;text-align:center}.contract-success{color:#4caf50}.contract-cost{color:#f44336}.contract-requirement{color:#2196f3}.game-footer{background-color:#28283ce6;padding:.5rem;border-top:1px solid rgba(100,100,150,.3);text-align:center}.footer-button{background-color:transparent;border:1px solid rgba(100,100,150,.5);color:#e2e8f0;padding:.3rem .6rem;border-radius:3px;font-size:.7rem;cursor:pointer;transition:all .2s ease}.footer-button:hover{background-color:#64649633}.button{width:100%;-webkit-user-select:none;user-select:none}@media (min-width: 475px){.game-content{padding:.6rem 0}.stat-category{flex:1 1 calc(50% - .25rem)}.action-buttons button{padding:.4rem;font-size:.75rem}.action-content{gap:.2rem}.action-name{font-size:.8rem}.action-description{font-size:.65rem;line-height:1.3}}.game-over-screen,.victory-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;height:100%;background-color:#000c;color:#fff}.game-over-screen h1,.victory-screen h1{font-size:3rem;margin-bottom:1.5rem;text-shadow:0 0 10px rgba(255,255,255,.5)}.game-over-screen h1{color:#f55}.victory-screen h1{color:#5f5}.game-over-screen p,.victory-screen p{font-size:1.2rem;margin-bottom:1rem;line-height:1.5;display:inline-block;max-width:90%}.game-over-stats,.victory-stats{background-color:#323232b3;padding:1.5rem;border-radius:8px;margin:2rem 0;max-width:500px;min-width:310px}.game-over-stats h2,.victory-stats h2{font-size:1.5rem;margin-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:.5rem}.game-over-stats p,.victory-stats p{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.1)}.restart-button{background-color:#2d3748;color:#fff;border:none;padding:.8rem 1.5rem;font-size:1.2rem;border-radius:4px;transition:background-color .3s;margin-top:1rem}.restart-button:hover{background-color:#4a5568}@media (max-width: 768px){.game-over-screen h1,.victory-screen h1{font-size:2.2rem}.game-over-screen p,.victory-screen p{font-size:1rem;max-width:100%}.game-over-stats,.victory-stats{padding:1rem;width:90%}.restart-button{padding:.6rem 1.2rem;font-size:1rem}}.breakthrough-section{background-color:#1e1e32b3;border-radius:0;margin-top:.6rem;padding:.5rem}.breakthrough-section h2{font-size:.9rem;font-weight:600;color:#cbd5e0;margin:0 0 .5rem;padding:0 0 .3rem;border-bottom:1px solid rgba(100,100,150,.3)}.toggle-container{display:flex;justify-content:flex-start;margin-bottom:.5rem}.toggle-button{background-color:#2d3748;color:#cbd5e0;border:none;border-radius:3px;padding:.25rem .5rem;font-size:.7rem;cursor:pointer;transition:background-color .2s ease}.toggle-button:hover{background-color:#4a5568}.breakthroughs-grid{display:flex;flex-direction:column;gap:.5rem}.breakthrough-card{background-color:#28283cb3;border-radius:4px;border-width:1px;border-style:solid;overflow:hidden;transition:all .2s ease}.breakthrough-card.max-level{background-color:#5a3246b3}.breakthrough-card.editable{cursor:pointer}.breakthrough-card.editable:hover{background-color:#323246e6;transform:translateY(-1px)}.breakthrough-header{display:flex;justify-content:space-between;align-items:center;padding:.4rem .6rem;background-color:#1e1e3280}.breakthrough-title{font-size:.8rem;font-weight:600;color:#e2e8f0}.breakthrough-level{font-size:.7rem;color:#a0aec0;padding:.1rem .3rem;background-color:#1e1e32b3;border-radius:3px}.breakthrough-description{padding:.5rem .6rem;font-size:.75rem;color:#cbd5e0;line-height:1.4}.level-up-info{margin-top:.3rem;font-size:.7rem;font-style:italic;color:#a0aec0}.section-header{display:flex;justify-content:space-between;align-items:center}.info-tooltip-container{position:relative;margin-left:.5rem}
