:root{color-scheme:dark;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#b8e8de;background:#071419}*{box-sizing:border-box}body{margin:0;padding:38px 5vw;background:radial-gradient(ellipse at 40% 30%,#123039,#071419 75%);min-height:100vh}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}small{font-size:14px;color:#83aaa7}h1{font-size:36px;color:#c5ffba;margin:10px 0}h1 span{font-size:16px;color:#8bb4ae;margin-left:18px;font-weight:400}button{font:inherit;font-size:16px;cursor:pointer;padding:13px 20px;border:1px solid #426c65;border-radius:9px;background:#16322f;color:#d8ffe5}button:hover{background:#285047}button:focus-visible{outline:3px solid #e9ce81;outline-offset:3px}#tank{position:relative;height:58vh;min-height:300px;overflow:hidden;border:1px solid #416760;border-radius:16px;background:linear-gradient(#102d36,#081b26);cursor:crosshair;touch-action:manipulation;box-shadow:inset 0 0 70px #071319}body.night #tank{background:linear-gradient(#080b20,#11182f)}.waterline{position:absolute;top:20px;left:20px;white-space:nowrap;color:#518e93;letter-spacing:8px}.plants{position:absolute;bottom:0;left:0;right:0;color:#5eaf90;white-space:pre;text-align:center;font-size:24px;line-height:1.3;pointer-events:none;opacity:.65}#hint{position:absolute;bottom:15px;right:20px;font-size:14px;color:#a2b9b4}.fish{position:absolute;font-size:22px;font-weight:bold;white-space:pre;text-shadow:0 0 15px currentColor;pointer-events:none}.food{position:absolute;color:#ffd28d;font-size:20px;pointer-events:none}.status,.actions{display:flex;gap:26px;flex-wrap:wrap;margin-top:24px}.status{justify-content:space-between;color:#90b8b2;font-size:14px}.status b{font-size:20px;color:#dcf7d2;margin-left:8px}#message{min-height:24px;color:#aacac3}dialog{max-width:520px;width:90%;background:#10272c;color:#d2f1dd;border:1px solid #547e73;border-radius:16px;padding:26px}dialog::backdrop{background:#000a}.entry{padding:13px 0;border-bottom:1px solid #36504e}.entry pre{display:inline-block;width:140px;font-size:20px}dialog button{margin-top:20px}@media(max-width:600px){body{padding:22px 16px}h1{font-size:28px}h1 span{display:block;margin:8px 0}header button{padding:10px}#tank{height:52vh}.actions{gap:8px}.actions button{flex:1;padding:12px 7px;font-size:14px}.status{gap:10px}.status b{font-size:16px}.fish{font-size:18px}#hint{font-size:12px}}
#cameraView{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.glass{display:none;position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,#c4fff81c,transparent 40%,#164d5c30);box-shadow:inset 0 0 45px #b3fff025}.camera-on #cameraView,.camera-on .glass{display:block}.camera-on .fish{opacity:1!important;text-shadow:0 2px 3px #000,0 0 8px currentColor}.camera-on .plants{opacity:.65;text-shadow:0 1px 3px #000}.camera-on #hint,.camera-on .waterline{color:#fff;text-shadow:0 1px 4px #000}.camera-on #hint{background:#07141999;padding:6px 10px;border-radius:6px}.camera-note{font-size:14px;color:#91b5af;line-height:1.7}#camera[aria-pressed="true"]{background:#345e48;border-color:#bcf1ae}@media(max-width:600px){.actions{display:grid;grid-template-columns:1fr 1fr}}
