.game-life{margin:32px auto;max-width:1140px;padding:clamp(18px,4vw,32px);border:1px solid #496653;border-radius:22px;background:linear-gradient(130deg,#254532,#142b2b);font:14px system-ui;color:#edf5e5;scroll-margin-top:140px}.game-life *{box-sizing:border-box}.game-life h3{font:800 clamp(25px,4vw,36px)/1.2 system-ui;margin:8px 0 12px;letter-spacing:-.03em}.game-life p{color:#b5cbba;line-height:1.6}.game-life-over{font-size:10px;letter-spacing:.15em;color:#d5f59b;font-weight:800}.game-life-head{display:flex;justify-content:space-between;gap:24px}.game-life-head p{max-width:650px}.game-life-badge{align-self:start;white-space:nowrap;border:1px solid #72966c;padding:9px 12px;border-radius:20px;font-size:9px}.game-life-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.game-life-summary>div{padding:18px;border-radius:12px;background:#0a221b;display:flex;flex-direction:column;align-items:start;gap:12px}.game-life-summary small{color:#91b49d}.game-life-summary strong{color:#d9fca0;font-size:22px}.game-life-summary>div:last-child strong{font-size:18px}.game-life button,.game-life select,.game-life input,.game-life-toast button,.game-life-toast a{font:600 12px system-ui;min-height:40px;padding:10px 12px;border-radius:8px;background:#203e2d;color:#d9f9b0;border:1px solid #628452;cursor:pointer}.game-life a{color:#d9f9b0;font-size:12px}.game-life button:disabled{opacity:.5;cursor:default}.game-life-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.game-life label{display:grid;gap:8px;font-size:12px;color:#b8d2bc}.game-life-settings{border-top:1px solid #567453;padding-top:16px}.game-life-settings summary{cursor:pointer;color:#e2f5cb;min-height:40px}.game-life-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.game-life>small,.game-life-settings>small{display:block;color:#93b09e;font-size:11px;line-height:1.6}#life-status{font-size:12px;min-height:20px}.game-life-toast{position:fixed;z-index:9998;bottom:22px;left:22px;max-width:380px;padding:22px 38px 20px 22px;border:1px solid #c4e785;border-radius:18px;background:#143027;box-shadow:0 10px 50px #0007;color:#f2f8e9;font:14px/1.6 system-ui}.game-life-toast[hidden]{display:none}.game-life-toast p{margin:12px 0}.game-life-toast>div{display:flex;gap:10px;flex-wrap:wrap}.game-life-toast .life-toast-close{position:absolute;right:5px;top:5px;font-size:20px;background:transparent;border:0;padding:0;width:36px}.game-life button:focus-visible,.game-life a:focus-visible,.game-life-toast button:focus-visible,.game-life-toast a:focus-visible{outline:3px solid #91dfff;outline-offset:3px}.game-nav{max-width:1140px;margin:24px auto;display:flex;flex-wrap:wrap;gap:10px}.game-nav a{padding:12px 20px;border:1px solid #60795a;background:#163024;border-radius:30px;text-decoration:none;color:#d5f59b;font:600 13px system-ui}.game-nav a:hover{background:#365338}@media(max-width:600px){.game-life-badge{display:none}.game-life-summary{grid-template-columns:1fr}.game-life-summary>div{display:grid;grid-template-columns:1fr auto;align-items:center;padding:15px;gap:10px}.game-life-summary small{grid-column:1/-1}.game-life-summary strong{font-size:20px}.game-life-controls{grid-template-columns:1fr}.game-life-toast{left:12px;bottom:15px;max-width:calc(100vw - 24px)}.game-life-actions button{width:100%}}
