:root{color-scheme:dark;background:#0c1526;color:#fdf6e6;font-family:Arial Rounded MT Bold,Avenir Next Rounded,Nunito,Trebuchet MS,system-ui,sans-serif}*{box-sizing:border-box}html,body,#shell{width:100%;height:100%;margin:0}body{overflow:hidden;background:radial-gradient(circle at 50% 30%,#1b2c4f,#0c1526 70%);overscroll-behavior:none;touch-action:manipulation}#game{position:fixed;inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;align-items:center;justify-content:center}#game canvas{display:block;max-width:100%;max-height:100%;border-radius:0}#game:focus-visible{outline:3px solid #ffd57a;outline-offset:-3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{position:fixed;inset:0;display:grid;place-items:center;margin:0;padding:24px;background:#0c1526;color:#fdf6e6;text-align:center;font-size:18px;z-index:50}.text-modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#0c152699}.text-modal{position:relative;width:min(560px,100%);max-height:100%;overflow-y:auto;padding:28px 24px 24px;border:3px solid #16233f;border-radius:26px;background:#fdf3e3;color:#16233f;box-shadow:0 8px #09112033}.text-modal:before{content:"";display:block;position:absolute;top:12px;left:18px;right:18px;height:7px;border-radius:4px;background:#2a8f96}.text-modal h2{margin:4px 0 8px;font-size:22px;line-height:1.3}.text-modal-hint{margin:0 0 12px;font-size:17px;line-height:1.45;font-style:italic;color:#24365c}.text-modal textarea{width:100%;min-height:96px;padding:12px 14px;border:3px solid #e3d2b4;border-radius:16px;background:#fff;color:#16233f;font:inherit;font-size:18px;line-height:1.4;resize:none}.text-modal textarea:focus-visible{outline:4px solid #ffd98a;outline-offset:2px;border-color:#16233f}.text-modal-counter{margin:6px 0 16px;text-align:right;font-size:16px;color:#24365c}.text-modal-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}.text-modal-actions button{min-height:52px;min-width:148px;padding:12px 20px;border-radius:18px;font:inherit;font-size:18px;font-weight:700;cursor:pointer;box-shadow:0 5px #09112047}.text-modal-primary{border:3px solid #be8218;background:linear-gradient(#ffd98a 45%,#f0b23c 45%);color:#16233f}.text-modal-quiet{border:3px solid #16233f;background:#fdf3e3;color:#16233f}.text-modal-actions button:focus-visible{outline:4px solid #ffd98a;outline-offset:3px}@media (max-width: 420px){.text-modal-actions button{flex:1 1 100%}}@media (max-height: 430px){.text-modal-backdrop{padding:8px}.text-modal{padding:20px 14px 14px;border-width:2px;border-radius:20px;box-shadow:0 4px #09112033}.text-modal:before{top:8px;left:14px;right:14px;height:5px}.text-modal h2{margin-bottom:4px;font-size:19px;line-height:1.25}.text-modal-hint{margin-bottom:6px;font-size:16px;line-height:1.35}.text-modal textarea{min-height:64px;padding:8px 10px;font-size:16px}.text-modal-counter{margin:4px 0 8px;font-size:16px}.text-modal-actions{gap:8px}.text-modal-actions button{min-height:44px;padding:8px 14px;font-size:16px}}
