.toast-stack{position:fixed;right:1rem;bottom:1rem;bottom:calc(1rem + env(safe-area-inset-bottom,0));display:flex;flex-direction:column;gap:.5rem;z-index:2000;pointer-events:none;max-width:calc(100vw - 2rem)}.toast{pointer-events:auto;display:flex;align-items:center;gap:.55rem;min-width:220px;max-width:360px;padding:.65rem .9rem;border-radius:8px;border:1px solid;background:#14120e;color:#e8dcb3;font-size:.85rem;font-family:inherit;text-align:left;cursor:pointer;box-shadow:0 6px 20px #00000080;animation:toast-in .2s ease-out}.toast:hover{filter:brightness(1.15)}.toast-icon{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:.8rem;font-weight:700;font-family:Georgia,serif}.toast-message{flex:1;line-height:1.35;word-break:break-word}.toast--success{border-color:#78c86480}.toast--success .toast-icon{background:#78c86433;color:#a5e28b}.toast--info{border-color:#d4af3766}.toast--info .toast-icon{background:#d4af3733;color:#d4af37}.toast--error{border-color:#dc50508c}.toast--error .toast-icon{background:#dc505033;color:#e88080}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}@media(max-width:600px){.toast-stack{right:.5rem;left:.5rem;bottom:calc(.5rem + env(safe-area-inset-bottom,0))}.toast{min-width:0;max-width:none}}.navbar{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;padding:.75rem 1.5rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-bottom:2px solid #d4af37;box-shadow:0 2px 8px #00000080}.navbar-brand{display:flex;align-items:center;gap:.6rem;color:#d4af37;font-size:1.2rem;font-weight:700;text-decoration:none;text-shadow:1px 1px 3px rgba(0,0,0,.7);letter-spacing:.02em}.navbar-logo{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.navbar-links{display:flex;gap:.25rem;flex-wrap:wrap}.nav-link{padding:.5rem .9rem;color:#888;font-size:.95rem;font-weight:600;text-decoration:none;border-radius:4px;border-bottom:2px solid transparent;transition:color .2s ease}.nav-link:hover{color:#d4af37}.nav-link.active{color:#d4af37;border-bottom-color:#d4af37}.home-head{text-align:center;padding:2rem 0 2.5rem}.home-head h1{color:#d4af37;font-size:2rem;margin-bottom:.5rem;text-shadow:1px 1px 3px rgba(0,0,0,.7)}.home-head p{color:#b8b8b8;font-size:1rem}.home-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.home-card{display:block;padding:1.25rem;border:1px solid #2e2920;border-radius:8px;background-color:#1e1a14;text-decoration:none;color:inherit;transition:border-color .2s ease,transform .2s ease}.home-card:hover{border-color:#d4af37;transform:translateY(-2px)}.home-card h2{color:#d4af37;font-size:1.15rem;margin-bottom:.4rem}.home-card p{color:#b8b8b8;font-size:.9rem;line-height:1.5}.home-card.placeholder{border-style:dashed;opacity:.65}.home-card.placeholder a{color:#d4af37;font-weight:600;text-decoration:none}.home-card.placeholder a:hover{text-decoration:underline}.home-card.placeholder:hover{border-color:#2e2920;transform:none}@media(prefers-reduced-motion:reduce){.home-card{transition:none}}.hatchery{display:grid;gap:1.5rem;max-width:720px;margin:0 auto;width:100%}.hatchery-head h2{color:#d4af37;font-size:1.5rem;margin:0 0 .3rem}.hatchery-head p{color:#b8b8b8;margin:0;font-size:.95rem;line-height:1.5}.hatchery-stage{background:radial-gradient(ellipse at 50% 120%,#4a2e08,#1e1a14 55%,#17140f);border:1px solid #2e2920;border-radius:8px;padding:2.25rem 1.25rem 1.5rem;display:grid;gap:.9rem;justify-items:center;text-align:center;box-shadow:0 0 40px -16px #d4af3780}.hatchery-name{font-size:clamp(2rem,8vw,4.25rem);font-weight:700;line-height:1.05;color:#fff6dd;text-shadow:0 0 16px rgba(212,175,55,.5),2px 2px 4px rgba(0,0,0,.7);overflow-wrap:anywhere;max-width:100%}.hatchery-stats{display:flex;flex-wrap:wrap;gap:.5rem 1.1rem;justify-content:center;color:#b8b8b8;font-size:.9rem;font-variant-numeric:tabular-nums}.hatchery-stats b{color:#d4af37}.hatchery-stats .over,.hatchery-stats .over b{color:#e07a5f}.hatchery-check{display:flex;align-items:center;gap:.6rem;color:#b8b8b8;font-size:.9rem;cursor:pointer}.hatchery-check input{accent-color:#d4af37;width:16px;height:16px}.hatchery-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}.hatchery-actions.start{justify-content:flex-start}.hatchery-btn{padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border-radius:4px;border:2px solid #d4af37;background-color:#1e1a14;color:#f0f0f0;cursor:pointer;transition:background-color .3s ease,color .3s ease}.hatchery-btn:hover{background-color:#262117}.hatchery-btn:active{transform:scale(.98)}.hatchery-btn:focus-visible{outline:2px solid #f0ad4e;outline-offset:2px}.hatchery-btn.primary{background-color:#d4af37;color:#1a1a1a}.hatchery-btn.primary:hover{background-color:#f0ad4e;border-color:#f0ad4e}.hatchery-controls{display:grid;gap:1.1rem;border:1px solid #2e2920;border-radius:8px;padding:1.25rem;background-color:#1e1a14}.hatchery-control{display:grid;gap:.5rem}.hatchery-control label{font-weight:600;display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.hatchery-control label span{color:#d4af37;font-weight:400;font-size:.9rem}.hatchery-control input[type=range]{width:100%;accent-color:#d4af37}.hatchery-control input[type=text]{width:100%;padding:.75rem;font-size:1rem;border:2px solid #d4af37;border-radius:4px;background-color:#17140f;color:#f0f0f0}.hatchery-control input[type=text]:focus{outline:none;border-color:#f0ad4e;box-shadow:0 0 8px #d4af3780}.hatchery-ends{display:flex;justify-content:space-between;font-size:.75rem;color:#888;letter-spacing:.06em;text-transform:uppercase}.hatchery-brood{display:grid;gap:.6rem}.hatchery-brood h2{color:#d4af37;font-size:1.4rem}.hatchery-brood p{color:#888;font-size:.9rem}.hatchery-brood ul{list-style:none;display:grid;gap:.4rem}.hatchery-brood li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.65rem .9rem;border:1px solid #2e2920;border-radius:4px;background-color:#1e1a14;cursor:pointer;min-width:0}.hatchery-brood li:hover{border-color:#d4af37}.hatchery-brood li .n{font-weight:600;font-size:1.15rem;overflow-wrap:anywhere;min-width:0}.hatchery-brood li .lvl{color:#888;font-size:.85rem;white-space:nowrap;font-variant-numeric:tabular-nums}.hatchery-brood li.empty{cursor:default;color:#888;justify-content:center}.hatchery-credit{color:#888;font-size:.85rem}.hatchery-credit a{color:#d4af37;text-decoration:none}.hatchery-credit a:hover{text-decoration:underline}@media(prefers-reduced-motion:reduce){.hatchery-btn{transition:none}}*{scrollbar-width:thin;scrollbar-color:#d4af37 transparent}*::-webkit-scrollbar{width:5px;height:5px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#d4af37;border-radius:3px}*::-webkit-scrollbar-thumb:hover{background:#e8c84a}.app-container{display:flex;flex-direction:column;min-height:100vh;background-color:#1a1a1a;color:#f0f0f0}.app-main{flex:1;display:flex;flex-direction:column;width:100%;min-height:0}.page-content{max-width:1100px;margin:0 auto;width:100%;padding:2rem}.app-footer{background-color:#0d0d0d;padding:.6rem 1.5rem;text-align:center;border-top:1px solid rgba(212,175,55,.4);color:#666;font-size:.7rem;line-height:1.4;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4rem 1rem}.app-footer p{margin:0}.app-footer a{color:#d4af37;text-decoration:none;font-weight:600}.app-footer a:hover{text-decoration:underline}*{margin:0;padding:0;box-sizing:border-box}html{background-color:#1a1a1a}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#1a1a1a;color:#f0f0f0}
