*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#244941}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.48}button:focus-visible{outline:3px solid #ff8a3d;outline-offset:3px}#game{position:relative;width:100vw;height:100dvh;min-width:560px;min-height:300px;overflow:hidden;background:#80cbd3}.scenery{position:absolute;inset:0;background:linear-gradient(180deg,#b1e5ed 0%,#d4eee2 28%,#75a989 29%,#4e8879 34%,#6fb7b5 35%,#377e8f 100%)}.scenery:before{content:"";position:absolute;inset:0;background-image:url('../../../attachments/bc962abbfbab/ui_style_ref.png');background-size:cover;background-position:center}.hud{position:absolute;z-index:3;top:14px;left:16px;right:16px;display:flex;align-items:center;gap:12px;pointer-events:none}.panel{border:2px solid #ffbd7d;border-radius:14px;background:#fff9e9f2;box-shadow:0 3px 0 #32504424;padding:10px 16px;font-weight:700;min-height:46px;pointer-events:auto}.progress{margin-left:auto;min-width:150px;display:grid;gap:5px;font-size:14px}progress{height:8px;width:100%;accent-color:#ff8a3d}#water{position:absolute;z-index:1;left:0;top:35%;width:100%;height:65%;padding:0;border:0;background:transparent;outline-offset:-4px}#bobber{position:absolute;pointer-events:none;transform:translate(-50%,-50%);width:52px;height:52px;border:2px solid #efffff9e;border-radius:50%;background:#c5f4f322;box-shadow:0 0 0 8px #e8ffff16}.float{position:absolute;width:14px;height:32px;border:2px solid #fff9e8;border-radius:8px;left:17px;top:0;background:linear-gradient(#ff683a 50%,#fff7d6 50%);box-shadow:2px 3px 4px #183a4544}.bite-mark{display:none;position:absolute;bottom:64px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:12px;background:#ff8a3d;color:#fff;padding:9px 15px;font-size:18px;font-weight:800;box-shadow:0 3px 0 #ad4e24}.rod{position:absolute;pointer-events:none;z-index:2;bottom:-32px;left:15%;height:170px;width:9px;background:linear-gradient(90deg,#634025,#d8a55a);border-radius:8px;transform:rotate(38deg);transform-origin:bottom}#game[data-state="bite"] #bobber{border-color:#ff8a3d;box-shadow:0 0 0 12px #ff8a3d55}#game[data-state="bite"] .bite-mark{display:block}#game[data-state="bite"] .float{top:15px}#game[data-state="casting"] #bobber{transform:translate(-50%,-110%)}#game[data-state="catch"] #bobber{transform:translate(-50%,-180%);background:#ffca80}.controls{position:absolute;z-index:3;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;width:max-content;max-width:94%;border-radius:18px;padding:8px 10px 8px 18px;background:#fff9e9ed;box-shadow:0 4px 16px #143e4933}.controls p{font-size:14px;margin:0;line-height:1.5;max-width:380px}button.primary,.actions button,#closeLevels{border:0;border-radius:12px;padding:13px 22px;min-height:46px;font-weight:700;background:#e9e5d9;color:#36564b}button.primary{background:#ff8a3d;color:#fff;box-shadow:0 3px 0 #c96329}.controls button{white-space:nowrap}dialog{color:#244941;width:min(440px,90vw);max-height:88dvh;overflow:auto;border:2px solid #ffc28b;border-radius:24px;padding:24px;text-align:center;background:#fff9e9;box-shadow:0 16px 60px #103d4b66}dialog::backdrop{background:#123e4d88}dialog h2{margin:0 0 12px;font-size:24px}dialog p{font-size:15px;line-height:1.7;color:#658074}.stars{display:flex;gap:12px;justify-content:center;color:#d9d4c8;font-size:42px;min-height:50px}.stars .earned{color:#ff8a3d}.actions{display:flex;justify-content:center;gap:12px}.level-choice{display:block;width:100%;min-height:46px;margin:8px 0;border:1px solid #e9d9bb;border-radius:12px;padding:10px;background:#fff;color:#36564b}.level-choice[aria-current]{border:2px solid #ff8a3d}#closeLevels{margin-top:8px}[hidden]{display:none!important}@media(max-height:400px){.hud{top:8px}.panel{padding:7px 12px;min-height:40px}.controls{bottom:8px}.controls p{max-width:300px;font-size:13px}dialog{padding:18px}.stars{font-size:34px;min-height:40px}}@media(orientation:portrait){#game{width:100dvh;height:100vw;min-width:0;min-height:0;transform:rotate(90deg) translateY(-100%);transform-origin:top left}.controls p{max-width:280px}dialog{max-height:85vw}}
