.fish-shell{max-width:900px;margin:0 auto;color:#233d32}.fish-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px;font-weight:700}.fish-hero{position:relative;overflow:hidden;border:4px solid #f4e6c4;border-radius:12px;background:#183c38;color:white;margin-bottom:15px;min-height:180px}.fish-hero img{width:100%;height:220px;object-fit:cover;image-rendering:pixelated;display:block}.fish-hero>div{position:absolute;inset:auto 0 0;padding:16px;background:linear-gradient(transparent,#132f2bea 35%)}.fish-hero h1{color:white;margin:4px 0;font-size:clamp(25px,5vw,40px)}.fish-hero p{margin:0;color:#eff4d6}.fish-levels{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));margin:12px 0}.fish-level{display:flex;flex-direction:column;gap:8px;text-align:left;padding:16px;background:#f6efdc;color:#24483a;border:2px solid #a7ad79;border-radius:9px;box-shadow:0 3px #78865d}.fish-level:disabled{opacity:.55}.fish-level span,.fish-level small{font-size:12px;line-height:1.5}.fish-hud{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:7px;margin-bottom:10px}.fish-hud>div{background:#e8efdc;border:1px solid #a4b18c;border-radius:8px;padding:8px;text-align:center}.fish-hud small,.fish-hud b{display:block}.fish-hud small{font-size:9px;letter-spacing:.05em}.fish-hud b{font-size:20px}.fish-scene{position:relative;border:4px solid #9ca56a;border-radius:10px 10px 0 0;overflow:hidden;background:#568a86;aspect-ratio: 2.1}.fish-scene img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.fish-caption{position:absolute;top:9px;left:9px;background:#173b37e8;color:#fff7d9;padding:8px 12px;border-radius:5px}.fish-caption small,.fish-caption strong{display:block}.fish-caption small{font-size:11px}.fish-bobber{position:absolute;left:57%;top:61%;width:10px;height:15px;border:2px solid #533e34;background:linear-gradient(#fff3cf 50%,#d45d48 50%);box-shadow:2px 2px #274944;animation:fish-bob 1.4s steps(4,end) infinite}.fish-ripple{position:absolute;left:53%;top:65%;width:9%;height:6%;border:2px solid #b7d7b8;border-radius:50%;animation:fish-ripple 1.4s steps(5,end) infinite}.fish-scene.caught .fish-bobber{transform:translateY(-22px);animation:none}.fish-control{background:#fff9e9;border:2px solid #a4b18c;padding:16px;border-radius:0 0 10px 10px}.fish-instructions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px;margin-bottom:13px}.fish-instructions span{font-size:12px}.fish-track{height:37px;background:#345451;position:relative;border:3px solid #1b3835;border-radius:6px;margin:0 4px;box-shadow:inset 0 0 0 2px #68877b}.fish-target{position:absolute;height:100%;background:repeating-linear-gradient(135deg,#e3df9a 0 7px,#f6edbd 7px 14px);border-inline:2px solid #fffbe6}.fish-marker{position:absolute;top:-5px;height:41px;width:5px;background:#fff;border:1px solid #25312a;transform:translateX(-50%);box-shadow:0 0 0 1px #fff}.fish-strike{width:100%;min-height:48px;background:#27664f;color:white;font-size:20px}.fish-strike small{font-size:12px}.fish-strike:disabled{opacity:.65}.fish-control p{min-height:36px;margin:10px 0 4px;font-size:14px}.fish-foot{margin-top:8px;font-size:11px}.fish-paused .fish-bobber,.fish-paused .fish-ripple{animation-play-state:paused}.fish-paused .fish-play{opacity:.66}.fish-result{max-width:650px;margin:auto}.fish-access{display:flex;align-items:center;gap:12px;margin-top:12px;padding:8px 12px;border:2px solid #a4b18c;border-radius:10px;background:#e9efdb;color:#27483a;text-align:left;width:100%}.fish-access img{width:95px;height:54px;object-fit:cover;image-rendering:pixelated;border-radius:5px}.fish-access span{flex:1}.fish-access small{display:block}.fish-discoveries{font-size:12px;line-height:1.5}@keyframes fish-bob{50%{transform:translateY(4px)}}@keyframes fish-ripple{0%{transform:scale(.5);opacity:.8}100%{transform:scale(1.3);opacity:0}}@media(max-width:450px){.fish-top{margin-bottom:7px}.fish-hud{gap:4px}.fish-hud>div{padding:5px}.fish-hud b{font-size:17px}.fish-control{padding:10px}.fish-scene{aspect-ratio:1.65}.fish-hero img{height:180px}.fish-foot{font-size:10px}.fish-access img{width:72px}}@media(prefers-reduced-motion:reduce){.fish-ripple,.fish-bobber{animation:none}}body.reduce .fish-ripple,body.reduce .fish-bobber{animation:none}

/* 0.8.7.1 — MER-07: pixel art no cenário, captura e interface. Escopo local. */
.fish-shell{--fish-ink:#203e38;--fish-paper:#f6edcf;--fish-edge:#4c6b54;--fish-shadow:#263f35;--fish-gold:#e0b961}
.fish-shell button,.fish-shell .fish-hero,.fish-shell .fish-level,.fish-shell .fish-hud>div,.fish-shell .fish-scene,.fish-shell .fish-control,.fish-shell .fish-caption,.fish-shell .fish-result,.fish-shell .resultstats>div,.fish-shell .medal{border-radius:0;box-shadow:none}
.fish-shell button{border:2px solid var(--fish-shadow);box-shadow:0 3px 0 var(--fish-shadow);letter-spacing:.015em}
.fish-shell .outline{background:#f3e8c8;color:#244638}.fish-shell .modebar button[aria-pressed=true],.fish-shell .fish-strike{background:#336d50;color:#fff9df}
.fish-shell .fish-top,.fish-shell .fish-hud small,.fish-shell .fish-hud b,.fish-shell .fish-caption small,.fish-shell .fish-level small,.fish-shell .fish-foot{font-family:ui-monospace,Consolas,monospace;font-weight:700}
.fish-hero{border:4px solid var(--fish-shadow);background:#375c49;box-shadow:0 4px #a99a70!important;min-height:0}
.fish-hero img{height:auto;aspect-ratio:16/9;max-height:340px;object-fit:contain;object-position:center;background:#a5bf9f}
.fish-hero>div{position:static;padding:12px 15px;background:#24483c;border-top:3px solid #9aaa70}
.fish-hero h1{letter-spacing:0;font-size:clamp(23px,4vw,34px)}
.fish-level{background:var(--fish-paper);border:3px solid var(--fish-edge)!important;box-shadow:0 4px #7e8a5c!important}
.fish-hud>div{background:#e6e9ca;border:2px solid var(--fish-edge);box-shadow:inset 0 -3px #c2ce9f!important}
.fish-scene{aspect-ratio:16/9;border:4px solid #304e42;background:#568a86}
.fish-scene>img:not(.fish-catch){width:100%;height:100%;object-fit:fill;image-rendering:pixelated}
.fish-caption{background:#22453a;color:#fff5d2;border:2px solid #b7bf85;box-shadow:2px 2px #183a33!important;padding:5px 9px;max-width:90%}
.fish-bobber{left:56.6%;top:61%;width:1.7%;height:5.5%;min-width:5px;border:2px solid #4e3b31;background:#d35b45;box-shadow:inset 0 4px #fff4c6,2px 2px #2e5d5b;animation:fish-bob 1.4s steps(3,end) infinite}
.fish-ripple{left:53%;top:65%;width:9%;height:3%;border:0;background:transparent;box-shadow:inset 0 2px #accbb1,inset 0 -2px #accbb1;clip-path:polygon(13% 0,87% 0,87% 22%,100% 22%,100% 78%,87% 78%,87% 100%,13% 100%,13% 78%,0 78%,0 22%,13% 22%);animation:fish-ripple 1.4s steps(4,end) infinite}
.fish-scene .fish-catch{position:absolute;left:51%;top:43%;width:18%;height:auto;object-fit:contain;image-rendering:pixelated;pointer-events:none;filter:none;animation:fish-caught .65s steps(5,end) both;z-index:2}
.fish-scene .fish-catch[hidden]{display:none!important}.fish-scene.caught .fish-bobber{animation:none;transform:translateY(-18px)}.fish-scene.escaped .fish-bobber{opacity:.4}.fish-scene.caught .fish-ripple,.fish-scene.escaped .fish-ripple{animation:none;opacity:1;transform:scale(1.25)}
@keyframes fish-caught{from{transform:translateY(45%)}to{transform:translateY(-14%)}}
.fish-control{background:var(--fish-paper);border:3px solid var(--fish-edge);border-top:0;padding:12px}.fish-track{height:32px;border-radius:0;border:3px solid #26453c;box-shadow:inset 0 3px #648a79;background:#3d6258;margin:0 4px}.fish-target{background:#d4d88a;border:0;box-shadow:inset 3px 0 #f0edbc,inset -3px 0 #a6b16b}.fish-marker{top:-4px;height:34px;width:6px;box-shadow:2px 0 #203e38;background:#fff8da;border:1px solid #263f35}.fish-strike{margin-top:3px;min-height:46px}.fish-shell .fish-result{border:3px solid var(--fish-edge);background:var(--fish-paper)}.fish-shell .resultstats{grid-template-columns:repeat(4,minmax(0,1fr))}.fish-shell .resultstats>div{border:2px solid #a9b58b;padding:6px 2px}.fish-shell .medal{border:3px solid #ae9464}.fish-tally{display:inline-flex;align-items:center;gap:5px;margin:5px 8px}.fish-tally img{width:48px;height:24px;image-rendering:pixelated;object-fit:contain}.fish-paused .fish-catch{animation-play-state:paused}
@media(max-width:450px){.fish-scene{aspect-ratio:16/9}.fish-hero img{height:auto}.fish-control{padding:8px}.fish-caption{top:5px;left:5px}.fish-caption strong{font-size:13px}.fish-caption small{font-size:9px}.fish-shell .resultstats b{font-size:17px}.fish-shell .resultstats>div{font-size:10px}}
@media(prefers-reduced-motion:reduce){.fish-scene .fish-catch{animation:none}}body.reduce .fish-scene .fish-catch{animation:none}

/* 0.8.7.2 — cena viva e feedback por fase, sem alteração das regras. */
.fish-scene canvas{display:block;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges;object-fit:contain}
.fish-scene{isolation:isolate;aspect-ratio:16/9;max-height:450px}
.fish-caption{z-index:1;top:8px;left:8px;background:#23483de8;max-width:65%;padding:5px 8px}
.fish-phase{position:absolute;right:8px;top:8px;padding:5px 9px;background:#f5e7bb;color:#284439;font:700 12px ui-monospace,Consolas,monospace;border:2px solid #344d3e;box-shadow:2px 2px #263f35;max-width:40%;text-align:center}
.fish-scene[data-phase=fight] .fish-phase{background:#e8c17a}.fish-scene[data-phase=escape] .fish-phase{background:#e6b5a0}.fish-legend{border-color:#c8963a!important}.fish-legend .fish-phase{background:#f9d77f;color:#644423}
.fish-track-idle{opacity:.5}.fish-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,30%);align-items:center;gap:12px;margin-top:8px}.fish-action-row p{margin:0;min-height:0;font-weight:600;font-size:13px;line-height:1.4}.fish-action-row .fish-strike{margin:0;min-height:48px}.fish-paused .fish-play{opacity:.72}.fish-tallies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fish-tallies .fish-tally{display:flex;margin:0;padding:8px 6px;border:2px solid #a4b18c;background:#edeacb;gap:6px;text-align:left}.fish-tally img{flex:none;width:42px;height:26px}.fish-tally span{flex:1;min-width:0}.fish-tally b,.fish-tally small{display:block;font-size:12px;line-height:1.25}.fish-tally small{font-size:10px;font-weight:400}.fish-tally strong{font-size:16px}.fish-tallies .fish-tally-legend{border-color:#b88932;background:#f8e2a2}.fish-result-discovery{background:#e4e9c8;border-left:4px solid #6d8c58;padding:9px;font-size:12px}.fish-shell .fish-result .buttonrow{flex-wrap:wrap}.fish-hero img{object-fit:contain;background:#b6cfb4}
@media(max-width:450px){.fish-caption{top:4px;left:4px;max-width:61%;padding:3px 5px}.fish-phase{top:4px;right:4px;font-size:10px;padding:3px 5px;max-width:39%}.fish-action-row{grid-template-columns:1fr;gap:5px}.fish-action-row p{min-height:28px}.fish-tallies{grid-template-columns:1fr}.fish-scene{max-height:none}.fish-hud button{padding:6px 9px}}
.fish-shell:has(.fish-play){max-width:800px}.fish-scene{width:100%;max-height:none}
