:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}body{color:#f0e6d2;background:#14100a;justify-content:center;align-items:center;min-height:100vh;margin:0;display:flex}#app{gap:16px;padding:16px;display:flex}#game-canvas-root canvas{border-radius:6px;display:block;box-shadow:0 4px 24px #00000080}.sidebar{flex-direction:column;gap:12px;width:280px;display:flex}.exit-button{color:#cbbfa0;cursor:pointer;text-align:left;background:#2f2617;border:1px solid #4a3c22;border-radius:6px;padding:8px 12px;font-size:12px}.exit-button:hover{color:#f0e6d2;background:#3a2f1c;border-color:#fc3}.toast-container{z-index:1000;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;top:16px;right:16px}.toast{color:#bcd7ea;opacity:0;background:#1c2a38;border:1px solid #3a5a7a;border-radius:6px;max-width:280px;padding:10px 14px;font-size:13px;line-height:1.4;transition:opacity .3s,transform .3s;transform:translate(20px);box-shadow:0 4px 14px #00000073}.toast-visible{opacity:1;transform:translate(0)}.menu-screen{text-align:center;background:#221b10;border:1px solid #3a2f1c;border-radius:10px;flex-direction:column;align-items:center;gap:8px;width:480px;max-width:90vw;padding:32px;display:flex}.menu-screen h1{color:#fc3;margin:0 0 4px;font-size:28px}.menu-subtitle{color:#cbbfa0;margin:0 0 16px;font-size:14px}.menu-buttons{flex-direction:column;gap:10px;width:100%;display:flex}.menu-button{color:#f0e6d2;cursor:pointer;background:#2f2617;border:1px solid #4a3c22;border-radius:6px;padding:12px 16px;font-size:14px}.menu-button:hover{background:#3a2f1c;border-color:#fc3}.menu-button-primary{color:#2b2416;background:#fc3;border-color:#fc3;font-weight:700}.menu-button-primary:hover{background:#ffd766}.rules-screen{background:#221b10;border:1px solid #3a2f1c;border-radius:10px;width:640px;max-width:90vw;max-height:90vh;padding:24px 32px;overflow-y:auto}.rules-content h1{color:#fc3;margin-top:0}.rules-content h2{color:#fc3;margin-top:22px;font-size:16px}.rules-content p,.rules-content li{color:#f0e6d2;font-size:14px;line-height:1.5}.rules-content ol,.rules-content ul{padding-left:22px}.rules-worker-list{padding-left:0;list-style:none}.rules-worker-list li{margin-bottom:8px}.rules-cost{color:#a89873;margin-left:14px;font-size:12px;display:block}.rules-back{margin-bottom:16px}.resource-panel,.egg-panel{background:#221b10;border:1px solid #3a2f1c;border-radius:8px;padding:12px 14px}.resource-panel h2,.egg-panel h2,.resource-panel h3,.egg-panel h3{color:#fc3;margin:0 0 8px;font-size:15px}.resource-panel h3{margin-top:12px}.bee-icon{vertical-align:middle;border:1px solid #0006;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.res-row,.pop-row{justify-content:space-between;padding:2px 0;font-size:13px;display:flex}.strength-bar-track{background:#3a2f1c;border-radius:4px;height:8px;margin-bottom:4px;overflow:hidden}.strength-bar-fill{height:100%;transition:width .3s}.strength-label{color:#cbbfa0;margin-bottom:10px;font-size:12px}.egg-button{color:#f0e6d2;cursor:pointer;text-align:left;background:#2f2617;border:1px solid #4a3c22;border-radius:6px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;margin-bottom:8px;padding:8px 10px;font-size:13px;display:flex;position:relative}.egg-button:hover:not(:disabled){background:#3a2f1c;border-color:#fc3}.egg-button:disabled{opacity:.4;cursor:not-allowed}.egg-button span{color:#cbbfa0;font-size:11px}.egg-button[data-tooltip]:hover:after{content:attr(data-tooltip);color:#f0e6d2;z-index:20;pointer-events:none;background:#1a140b;border:1px solid #4a3c22;border-radius:6px;width:190px;margin-right:10px;padding:8px 10px;font-size:12px;font-style:normal;font-weight:400;line-height:1.4;position:absolute;top:50%;right:100%;transform:translateY(-50%);box-shadow:0 4px 14px #0000008c}.brood-list{scrollbar-width:thin;scrollbar-color:#4a3c22 #221b10;flex-direction:column;gap:6px;max-height:96px;padding-right:4px;display:flex;overflow-y:auto}.brood-list::-webkit-scrollbar{width:6px}.brood-list::-webkit-scrollbar-track{background:#221b10}.brood-list::-webkit-scrollbar-thumb{background:#4a3c22;border-radius:3px}.brood-empty{color:#8a7c5c;font-size:12px;font-style:italic}.brood-row{align-items:center;gap:8px;font-size:12px;display:flex}.brood-row .brood-label{flex-shrink:0;width:90px}.brood-track{background:#3a2f1c;border-radius:3px;flex:1;height:6px;overflow:hidden}.brood-fill{background:#fc3;height:100%}
