/* FISHING: the modal's look (dlg/dlg.fishing.php). The game's paper (the popup's bgpag), ink #463320,
   muted #948567, the house gold, Jost for the body, Monotype Corsiva for the headings. Every rule
   is scoped to .fsh and sets its own font, because the game css gives every div 13px Jost. The stage
   is a canvas 16:7 drawn by ui/fishing/fishing.js; the HUD (the zone and the catch's mark) and the two
   bars are DOM over and under it.
   THE PHONE (2026-10-27): at 760px and under (the mobile-page-fit skill's popup breakpoint) the dialog is
   FULL SCREEN and PORTRAIT: the dlg document and .popupFrameWidth fill the popup frame (fishing.js take()
   gives the frame the whole screen), the head is two short rows, the stage wrap takes every pixel left
   (flex 1; the canvas absolute inside it, sized by fishing.js from the wrap's box), the foot is small, the
   HUD track is wide enough for a thumb, the thumb pad (.fsh-pad) is a band at the bottom of the stage.
   Everything of it is inside the 760px query, or hangs off .fsh-phone (THE PORTRAIT STAGE), which fishing.js sets
   only there and in THE TALL DIALOG (2026-10-28: wider than 760px and taller than wide, a tablet held upright; the
   portrait stage inside the ordinary dialog, html.fsh-tall): the desktop is untouched. Nothing here is computed from vw.
   THE LARGE STAGE (owner, 2026-11-04: "on a large enough screen ... much larger, about double if it fits"): the rule
   right under this comment. --fk and --ft are set by fishing.js fit(); both are 1 until the stage passes 880px. */
/* THE LARGE STAGE: the paper grows to 1800px (a stage of 1760, twice 880) as far as the window lets it. The stage is 16:7, so
   its height is what stops it: the last term solves paper height = 100vh - 12px for the width, with the head and the foot as
   they are under .fsh-large and growing by --ft (their sum is measured, so the numbers are those of the probe, a few pixels
   on the safe side, with room for a hint that wraps to a second row). It never goes under the 900px of before: a smaller window is what it was (.fsh-short folds the words).
   The phone's and the tall dialog's rules below win over this one. Change the words' scale or the head and the numbers move
   with them; proof _tools/fishing/large_stage_probe.js (every size must fit with the longest water line of the realm). */
.popupFrameWidth { max-width: max(900px, min(1800px, calc(100vw - 40px), calc((100vh - 145px) * 1.9 + 40px))); max-height: calc(100vh - 12px); }
.fsh { --fk: 1; --ft: 1; --ink: #463320; --ink-2: #6b5a44; --muted: #948567; --line: #d9cfb6; --gold: #CC9900; --gold-2: #FFCC00;
       --gold-soft: rgba(255, 204, 0, .18); --red: #8f2a1e; --green: #336633; --paper: rgba(243, 237, 214, .92);
       position: relative; color: var(--ink); font: 14px/1.45 'Jost', sans-serif; text-align: left; }
.fsh *, .fsh *::before, .fsh *::after { box-sizing: border-box; }
.fsh :where(div, p, span, b, li, td) { font-family: inherit; font-size: inherit; }
.fsh :where(p) { margin: 0 0 8px; }
.fsh-hide { display: none !important; }
/* THE LARGE STAGE: the words around the stage and over it grow by --ft (1..1.45), less than the stage itself */
.fsh-head, .fsh-foot, .fsh-cast, .fsh-msg, .fsh-card-in, .fsh-struck-in, .fsh-aid, .fsh-mute, #fshViewCollection, #fshViewGear, #fshViewHowto { zoom: var(--ft); }
.fsh-strike { zoom: var(--fk); }
/* ... and give the stage their rows (.fsh-large, fishing.js fit(): the stage past 880px): the lake's description on one line, a
   click opens it, as on a short screen; the catches beside the action points on the one row, a hover or a click for all of it */
.fsh-large .fsh-water { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fsh-large .fsh-water.fsh-water-open { white-space: normal; cursor: default; }
.fsh-large .fsh-pulled { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fsh-large .fsh-pulled.fsh-pulled-open { flex-basis: 100%; white-space: normal; cursor: default; }
.fsh-large .fsh-stockline { order: 1; }
.fsh-large .fsh-hint { order: 2; }

/* ---- head ----------------------------------------------------------------------------------- */
.fsh-head { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "titles touch close" "tabs tabs tabs";
            align-items: start; gap: 4px 14px; margin: 0 0 10px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.fsh-titles { grid-area: titles; min-width: 0; }
.fsh-h1 { font: 30px/1.05 "Monotype Corsiva", Georgia, "Times New Roman", serif; letter-spacing: 1px; color: var(--ink); margin: 0; }
.fsh-water { color: var(--muted); font-style: italic; font-size: 13px; margin-top: 2px; }
.fsh-close { grid-area: close; font: 26px/1 Georgia, serif; color: var(--muted); text-decoration: none; padding: 0 4px; }
.fsh-close:hover { color: var(--red); text-decoration: none; }
.fsh-touch { grid-area: touch; position: relative; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2);
             cursor: help; padding: 4px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.35); white-space: nowrap; }
.fsh-glyph { width: 18px; height: 18px; display: block; }
.fsh-touch-sum { color: var(--muted); }
.fsh-touch-sum.fsh-good { color: var(--green); }
.fsh-touch-sum.fsh-bad { color: var(--red); }
.fsh-touch-card { display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 230px; padding: 8px 10px;
                  background: #fffdf5; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(40, 25, 5, .18);
                  font-size: 12.5px; color: var(--ink); white-space: normal; }
.fsh-touch:hover .fsh-touch-card, .fsh-touch.fsh-open .fsh-touch-card { display: block; }
.fsh-touch-card table { width: 100%; border-collapse: collapse; }
.fsh-touch-card td { padding: 2px 0; font-size: 12.5px; }
.fsh-touch-card td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.fsh-touch-card .fsh-tot td { border-top: 1px solid var(--line); padding-top: 4px; font-weight: 600; }
.fsh-tabs { grid-area: tabs; display: flex; gap: 2px; margin-top: 4px; }
/* THE COMPETITION LINE (owner, 2026-10-27): the running competition's title in bold on the tab row; hover (a tap on a phone)
   opens the card: the live top 10, who is in it, the player's place, and the time left ticking at the bottom */
.fsh-comp { position: relative; align-self: center; margin-left: 10px; padding: 0 6px; font: 12.5px 'Jost', sans-serif; color: var(--ink-2); white-space: nowrap; cursor: help; max-width: 34%; }
.fsh-comp[hidden] { display: none; }
.fsh-comp-title { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.fsh-comp-title::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin: 0 6px 1px 0; box-shadow: 0 0 0 2px rgba(204,153,0,.25); animation: fsh-comp-pulse 2.2s ease-in-out infinite; }
.fsh-comp-note { color: var(--muted); font-weight: 400; margin-left: 4px; }
@keyframes fsh-comp-pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(204,153,0,.25); } 50% { box-shadow: 0 0 0 5px rgba(204,153,0,.08); } }
.fsh-comp-card { display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 21; min-width: 300px; max-width: 360px; padding: 9px 11px 8px;
                 background: #fffdf5; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(40, 25, 5, .18); font-size: 12.5px; color: var(--ink); white-space: normal; cursor: default; }
.fsh-comp:hover .fsh-comp-card, .fsh-comp.fsh-open .fsh-comp-card { display: block; }
.fsh-comp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.fsh-comp-head b { font: 15px "Monotype Corsiva", Georgia, serif; letter-spacing: .5px; }
.fsh-comp-head span { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; white-space: nowrap; }
.fsh-comp-card table { width: 100%; border-collapse: collapse; }
.fsh-comp-card td { padding: 2px 0; font-size: 12.5px; vertical-align: baseline; }
.fsh-comp-card td.fsh-comp-place { width: 24px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fsh-comp-card td.fsh-comp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.fsh-comp-card td.fsh-comp-score { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fsh-comp-card td.fsh-comp-score small { color: var(--muted); margin-left: 5px; }
.fsh-comp-card tr.fsh-comp-me td { color: var(--gold); font-weight: 600; }
.fsh-comp-card tr.fsh-comp-me td.fsh-comp-place { color: var(--gold); }
.fsh-comp-card .fsh-comp-empty { color: var(--muted); font-style: italic; padding: 4px 0; }
.fsh-comp-you { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.fsh-comp-left { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); text-align: center; font: 600 22px/1.1 Georgia, serif; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.fsh-comp-left .fsh-tl { display: block; font: 11px 'Jost', Georgia, serif; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 2px; }
.fsh-comp-left .fsh-tn { display: inline-block; min-width: 1.15em; animation: fsh-tick 1s ease-in-out infinite; }
.fsh-comp-left .fsh-tn.fsh-sec { color: var(--gold); }
.fsh-comp-left .fsh-td { font-size: 14px; color: var(--ink-2); margin-right: 6px; }
.fsh-tab { font: 13px 'Jost', sans-serif; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); background: transparent; border: 0;
           border-bottom: 2px solid transparent; padding: 6px 12px; cursor: pointer; box-shadow: none; border-radius: 0; }
.fsh-tab:hover { color: var(--ink); }
.fsh-tab-on { color: var(--ink); border-bottom-color: var(--gold-2); }
.fsh-tab-n { color: var(--gold); font-size: 11px; }
/* who is here and what is left (FishingPresence.php, FishingStock.php): at the right end of the tab row */
.fsh-live { margin-left: auto; align-self: center; font: 12.5px 'Jost', sans-serif; color: var(--muted); white-space: nowrap; padding: 0 2px; }
.fsh-live b { color: var(--ink); font-weight: 600; }
.fsh-live .fsh-live-sep { margin: 0 7px; color: var(--line); }
.fsh-live .fsh-depleted { color: var(--red); text-transform: uppercase; letter-spacing: .5px; font-size: 11.5px; }

/* ---- the stage ------------------------------------------------------------------------------ */
/* no frame (owner, 2026-10-27): the painting fades into the modal's paper along a ragged soft edge, the mask edge.svg
   (noise-pushed, blurred); the HUD, the bars and the overlays lie over it unmasked, kept inside the opaque part */
.fsh-stage-wrap { position: relative; width: 100%; overflow: hidden; background: transparent;
                  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.fsh-stage { display: block; width: 100%; height: auto;
             -webkit-mask-image: url(edge.svg?v=3); mask-image: url(edge.svg?v=3); -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
             -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* the edge switched off (Fishing::stage_edge() 'plain', World > Fishing > Lakes): straight edges, softly rounded */
.fsh-edge-plain .fsh-stage-wrap { border-radius: 6px; }
.fsh-edge-plain .fsh-stage { -webkit-mask-image: none !important; mask-image: none !important; }
/* THE SOUND SWITCH (owner, 2026-10-27): a subtle speaker at the top left corner of the stage; muted = the waves crossed out */
.fsh-mute { position: absolute; left: calc(10px * var(--fk) / var(--ft)); top: calc(8px * var(--fk) / var(--ft)); z-index: 6; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 250, 232, .22); cursor: pointer; opacity: .55; transition: opacity .2s, background .2s; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.fsh-mute:hover, .fsh-mute:focus-visible { opacity: 1; background: rgba(255, 250, 232, .5); outline: none; }
.fsh-mute svg { display: block; }
.fsh-mute .fsh-mute-body { fill: #2b1d0e; }
.fsh-mute .fsh-mute-wave, .fsh-mute .fsh-mute-x { stroke: #2b1d0e; }
.fsh-mute .fsh-mute-x { display: none; }
.fsh-muted .fsh-mute .fsh-mute-wave { display: none; }
.fsh-muted .fsh-mute .fsh-mute-x { display: block; }
.fsh-muted .fsh-mute { opacity: .8; }
.fsh-stage-wrap.fsh-armed { cursor: pointer; }
.fsh-stage-wrap.fsh-fighting { cursor: grab; }
.fsh-stage-wrap.fsh-fighting.fsh-held { cursor: grabbing; }

/* the zone and the catch's mark: the right edge of the stage */
/* THE LARGE STAGE: the HUD grows with the stage by calc, never by zoom: hud() places the zone and the mark in pixels of clientHeight */
.fsh-hud { position: absolute; top: calc(36px * var(--fk)); bottom: calc(44px * var(--fk)); right: calc(46px * var(--fk)); width: calc(34px * var(--fk)); display: none; }
.fsh-stage-wrap.fsh-fighting .fsh-hud { display: block; }
.fsh-stage-wrap.fsh-ring .fsh-hud, .fsh-stage-wrap.fsh-ring .fsh-bars { display: none !important; }
.fsh-stage-wrap.fsh-ring { cursor: pointer; }
.fsh-hud-track { position: absolute; inset: 0; border-radius: calc(17px * var(--fk)); background: rgba(20, 24, 26, .45); border: 1px solid rgba(255, 245, 210, .35);
                 box-shadow: inset 0 0 12px rgba(0,0,0,.4); }
.fsh-hud-zone { position: absolute; left: calc(3px * var(--fk)); right: calc(3px * var(--fk)); top: 0; height: 30%; border-radius: calc(14px * var(--fk)); border: 2px solid rgba(255, 204, 0, .55);
                background: rgba(255, 204, 0, .12); transition: box-shadow .12s; will-change: transform; }
.fsh-hud-zone.fsh-over { border-color: #ffd93d; background: rgba(255, 204, 0, .34); box-shadow: 0 0 14px rgba(255, 204, 0, .55); }
.fsh-hud-fish { position: absolute; left: 50%; top: 0; width: calc(22px * var(--fk)); height: calc(22px * var(--fk)); margin: calc(-11px * var(--fk)) 0 0 calc(-11px * var(--fk)); border-radius: 50%;
                background: #fff5d6 center/calc(18px * var(--fk)) calc(18px * var(--fk)) no-repeat; border: 2px solid #463320; box-shadow: 0 0 8px rgba(0,0,0,.5); will-change: transform; }
.fsh-hud-fish.fsh-dash { border-color: #ff4d2e; box-shadow: 0 0 12px rgba(255, 77, 46, .8); }

.fsh-bars { position: absolute; left: calc(50px * var(--fk)); right: calc(96px * var(--fk)); bottom: calc(44px * var(--fk)); display: none; gap: calc(10px * var(--fk)); }
.fsh-stage-wrap.fsh-fighting .fsh-bars { display: flex; }
.fsh-bar { flex: 1; display: flex; align-items: center; gap: 6px; }
.fsh-bar-label { font: calc(10px * var(--ft))/1 Georgia, serif; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 245, 210, .85); text-shadow: 0 1px 2px rgba(0,0,0,.6); width: calc(38px * var(--ft)); }
.fsh-bar-track { flex: 1; height: calc(8px * var(--fk)); border-radius: calc(4px * var(--fk)); background: rgba(20, 24, 26, .55); border: 1px solid rgba(255, 245, 210, .3); overflow: hidden; }
.fsh-bar-fill { height: 100%; width: 35%; border-radius: 4px; background: #ffcc00; transition: width .08s linear; }
.fsh-bar-line .fsh-bar-fill { width: 0; background: #e9d9a8; }
.fsh-bar-line .fsh-bar-fill.fsh-warn { background: #ff9a2e; }
.fsh-bar-line .fsh-bar-fill.fsh-danger { background: #ff3b1f; }

/* ---- overlays: the cast button, the result card, a message ---------------------------------- */
.fsh-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.fsh-overlay > * { pointer-events: auto; }
.fsh-overlay:empty { display: none; }
/* the Cast button: quiet paper, a thin line, the house serif; not round, not loud (owner, 2026-10-27) */
.fsh-cast { font: 22px "Monotype Corsiva", Georgia, serif; letter-spacing: 1.5px; color: #463320; background: rgba(243, 237, 214, .94);
            border: 1px solid #a8956a; border-radius: 4px; padding: 9px 30px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25);
            transition: background .15s, border-color .15s;
            transform: translateY(100%); /* one of its own heights under the middle of the water (owner, 2026-10-27) */ }
.fsh-cast:hover { background: #fbf6e4; border-color: #7a6040; }
.fsh-cast:disabled { opacity: .6; cursor: default; }
.fsh-cast small { display: block; font: 10.5px 'Jost', sans-serif; letter-spacing: .5px; text-transform: uppercase; margin-top: 1px; color: #948567; }
.fsh-msg { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; max-width: 80%; text-align: center;
           color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.35); font-size: 14px; }
.fsh-msg b { display: block; font: 22px "Monotype Corsiva", Georgia, serif; margin-bottom: 4px; }
.fsh-msg .fsh-btns { margin-top: 10px; }
/* THE REVEAL gear (FishingGear::reveal_view, 2026-10-29): the lost catch's silhouette, name, rating and wants under the miss words */
.fsh-msg-rv { max-width: 440px; }
.fsh-reveal { display: flex; align-items: center; gap: 12px; margin: 10px auto 0; padding: 8px 10px; border-top: 1px dashed var(--line);
              text-align: left; justify-content: center; }
.fsh-rv-art { flex: 0 0 auto; width: 110px; height: 80px; display: flex; align-items: center; justify-content: center; }
.fsh-rv-art img { max-width: 110px; max-height: 80px; opacity: .85; }
.fsh-rv-art .fsh-shadow { width: 90px; height: 44px; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,30,35,.9), rgba(20,30,35,0) 70%); }
.fsh-rv-body { flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.35; }
.fsh-rv-name { font: 18px "Monotype Corsiva", Georgia, serif; }
.fsh-rv-diff { color: #6b5a3c; }
.fsh-rv-diff b { display: inline; font: inherit; font-weight: bold; margin: 0; }
.fsh-rv-tier { color: #a8956a; letter-spacing: 1px; font-size: 10px; }
.fsh-rv-bite { margin-top: 3px; color: var(--ink); }
.fsh-rv-temper { font-weight: bold; }
/* STRUCK BY LIGHTNING (2026-10-28, FishingLightning.php): the white screen over the whole dialog, a flash then the words */
.fsh-struck { position: absolute; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px;
              background: #fff; animation: fsh-struck-flash 1.6s ease-out both; }
.fsh-struck-in { max-width: 460px; text-align: center; color: #2b2116; animation: fsh-struck-words 2.2s ease-out both; }
.fsh-struck-in b { display: block; font: 30px/1.15 "Monotype Corsiva", Georgia, serif; margin-bottom: 10px; }
.fsh-struck-in p { margin: 0 0 14px; font-size: 15px; }
.fsh-struck-in small { color: #7d6d55; font-size: 12.5px; }
@keyframes fsh-struck-flash { 0% { opacity: 0; } 6% { opacity: 1; } 14% { opacity: .35; } 22% { opacity: 1; } 34% { opacity: .7; } 100% { opacity: 1; } }
@keyframes fsh-struck-words { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
.fsh-strike { font: 64px/1 "Monotype Corsiva", Georgia, serif; color: #ffcc00; text-shadow: 0 0 18px rgba(255, 204, 0, .9), 0 2px 4px rgba(0,0,0,.6);
              animation: fsh-pulse .35s ease-in-out infinite alternate; pointer-events: none; }
@keyframes fsh-pulse { from { transform: scale(1); } to { transform: scale(1.25); } }

.fsh-card { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; align-items: center; justify-content: center;
            background: rgba(20, 16, 10, .45); animation: fsh-fade .35s ease-out; }
@keyframes fsh-fade { from { opacity: 0; } to { opacity: 1; } }
.fsh-card-in { display: grid; grid-template-columns: 170px 1fr; gap: 0 16px; align-items: center; width: min(560px, 92%); background: var(--paper);
               border: 1px solid #c9b98f; border-radius: 10px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.45); position: relative;
               animation: fsh-rise .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes fsh-rise { from { transform: translateY(40px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.fsh-card-in.fsh-first { border-color: #e2b400; box-shadow: 0 0 0 3px rgba(255, 204, 0, .35), 0 12px 32px rgba(0,0,0,.45); }
.fsh-card-art { width: 170px; height: 170px; display: flex; align-items: center; justify-content: center; position: relative; }
.fsh-card-art img { max-width: 160px; max-height: 160px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); animation: fsh-float 3s ease-in-out infinite; }
@keyframes fsh-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
.fsh-card-art.fsh-lost img { filter: grayscale(1) contrast(.6) brightness(.5) blur(1px); opacity: .55; animation: none; }
.fsh-card-art .fsh-shadow { width: 120px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,30,35,.9), rgba(20,30,35,0) 70%); }
.fsh-card-body { min-width: 0; }
.fsh-card-kicker { font: 11px 'Jost', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.fsh-card-kicker.fsh-lostk { color: var(--red); }
.fsh-card-name { font: 28px/1.05 "Monotype Corsiva", Georgia, serif; color: var(--ink); margin: 2px 0 2px; }
.fsh-card-tag { color: var(--ink-2); font-style: italic; font-size: 13.5px; margin-bottom: 6px; }
.fsh-card-lore { font-size: 13px; color: var(--ink); max-height: 78px; overflow: auto; margin-bottom: 6px; }
.fsh-card-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }
.fsh-card-facts b { color: var(--ink); font-weight: 600; }
.fsh-card-facts .fsh-gain { color: var(--green); }
/* THE LAKE COMPLETE card (fishing.js showComplete): no picture, the reward pack's words */
.fsh-card-in.fsh-complete { grid-template-columns: 1fr; width: min(520px, 92%); }
.fsh-complete .fsh-complete-text { max-height: 190px; font-size: 13.5px; line-height: 1.45; }
.fsh-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fsh-btn { font: 13px 'Jost', sans-serif; color: var(--ink); background: #f5ecbf; border: 1px solid #ffaa22; border-radius: 4px; padding: 6px 14px; cursor: pointer; box-shadow: none; }
.fsh-btn:hover { background: #ffd83d; }
.fsh-btn-main { background: #ffcc00; border-color: #c2a34e; font-weight: 600; }
.fsh-ribbon { position: absolute; top: -12px; right: 14px; background: #ffcc00; color: #2b1d0e; font: 11px 'Jost', sans-serif; letter-spacing: 1.5px;
              text-transform: uppercase; padding: 4px 12px; border-radius: 12px; border: 1px solid #c2a34e; box-shadow: 0 2px 8px rgba(0,0,0,.3);
              animation: fsh-pulse 1s ease-in-out infinite alternate; }
.fsh-sparkle { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff2a8; box-shadow: 0 0 8px #ffcc00; pointer-events: none;
               animation: fsh-spark 1.6s ease-out forwards; }
@keyframes fsh-spark { 0% { transform: translate(0,0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.2); opacity: 0; } }

/* ---- foot ----------------------------------------------------------------------------------- */
.fsh-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.fsh-foot b { color: var(--ink); }
.fsh-hint { flex-basis: 100%; }
/* A SHORT SCREEN (Mur, 2026-10-28, a tablet in landscape): .fsh-short is set by fishing.js (SHORT) when the dlg document
   is wider than 760px and 640px tall or less, where the head, the stage and the foot (618px) no longer fit the paper.
   The stage keeps its size (the game is played there); the words around it fold: the lake's description to one line
   (a click opens it, as on a phone) and the catches/streak line under the "more" button at the end of the foot's row.
   The live hint stays: it says what to do during the fight. */
.fsh-footmore { display: none; }
.fsh-short .fsh-head { margin-bottom: 6px; padding-bottom: 5px; }
.fsh-short .fsh-water { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fsh-short .fsh-water.fsh-water-open { white-space: normal; cursor: default; }
.fsh-short .fsh-pulled { display: none; }
.fsh-short.fsh-foot-open .fsh-pulled { display: block; }
.fsh-short .fsh-footmore { display: inline-flex; align-items: center; justify-content: center; align-self: center; width: 26px; height: 20px;
                           padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .35);
                           cursor: pointer; box-shadow: none; fill: var(--muted); }
.fsh-short .fsh-footmore:hover, .fsh-short.fsh-foot-open .fsh-footmore { fill: var(--ink); border-color: var(--gold); }

/* ---- the collection ------------------------------------------------------------------------- */
.fsh-coll-h { font: 20px "Monotype Corsiva", Georgia, serif; letter-spacing: 1px; color: var(--muted); margin: 6px 0 8px; }
.fsh-coll-n { font: 12px 'Jost', sans-serif; letter-spacing: .5px; color: var(--gold); margin-left: 8px; }
.fsh-coll-note { color: var(--muted); font-size: 12.5px; font-style: italic; margin: 8px 0 14px; }
.fsh-touch-full table { width: 100%; border-collapse: collapse; margin: 4px 0 6px; max-width: 520px; }
.fsh-touch-full td, .fsh-touch-full th { padding: 3px 6px; font-size: 13px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.fsh-touch-full .fsh-tot td { font-weight: 600; border-bottom: 0; }
.fsh-small { color: var(--muted); font-size: 12.5px; }
.fsh-pulled { flex-basis: 100%; color: var(--muted); }
.fsh-coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fsh-slot { position: relative; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 245, .55); padding: 10px 10px 8px; min-height: 182px;
            display: flex; flex-direction: column; align-items: center; text-align: center; }
.fsh-slot-art { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; }
.fsh-slot-art img { max-width: 104px; max-height: 104px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.3)); transition: transform .2s; }
.fsh-slot:hover .fsh-slot-art img { transform: scale(1.06) rotate(-2deg); }
.fsh-slot-name { font: 17px/1.1 "Monotype Corsiva", Georgia, serif; color: var(--ink); margin-top: 6px; }
.fsh-slot-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.fsh-slot-empty { border-style: dashed; background: rgba(255, 253, 245, .25); }
.fsh-slot-empty .fsh-slot-art { font: 54px "Monotype Corsiva", Georgia, serif; color: rgba(70, 51, 32, .22); }
.fsh-slot-empty .fsh-slot-name { color: var(--muted); font-style: italic; }
.fsh-tier { display: inline-flex; gap: 3px; margin-top: 4px; }
.fsh-tier i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--muted); display: block; }
.fsh-tier i.on { background: var(--gold); border-color: var(--gold); }
.fsh-slot-lore { display: none; }
/* the words of a slot: on hover (desktop), or opened by a tap (.fsh-open, set by fishing.js on a phone only) */
.fsh-slot[data-lore]:hover .fsh-slot-lore, .fsh-slot.fsh-open .fsh-slot-lore { display: block; position: absolute; z-index: 5; left: 4px; right: 4px; top: 100%; margin-top: 4px; background: #fffdf5;
                                           border: 1px solid var(--line); border-radius: 6px; padding: 8px; font-size: 12px; color: var(--ink); text-align: left;
                                           box-shadow: 0 6px 18px rgba(40, 25, 5, .18); }
/* the thumb pad (the phone): hidden everywhere else */
.fsh-pad { display: none; }
/* THE GEAR TAB (2026-10-29, core/Fishing/FishingGear.php): the slot cards (the collection's slot look), the sum panel, the carried gear */
.fsh-gear-card { min-height: 0; display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: 10px 10px 10px; }
.fsh-gear-slots, .fsh-gear-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.fsh-gear-card .fsh-slot-art { position: relative; width: 84px; height: 84px; margin: 0 auto; }
/* THE GEAR TIP: a piece's lines live in a hidden source and open in one floating box (fishing.js gearTipShow) */
.fsh-gear-tipped { cursor: help; outline: none; border-radius: 6px; }
.fsh-gear-tipped:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.fsh-gear-i { position: absolute; right: -2px; bottom: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--muted); background: #fffdf5;
              font: italic 700 10px/13px Georgia, serif; color: var(--ink-2); text-align: center; pointer-events: none; }
.fsh-gear-tipsrc { display: none !important; }
.fsh-gear-tip { --ink: #463320; --ink-2: #6b5a44; --muted: #948567; --line: #d9cfb6; --red: #8f2a1e; --green: #336633;
                display: none; position: fixed; z-index: 100000; width: max-content; max-width: min(280px, calc(100vw - 12px)); padding: 8px 10px 8px;
                background: #fffdf5; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(40, 25, 5, .22);
                font-family: Georgia, serif; text-align: left; pointer-events: none; }
.fsh-gear-tip-h { font: 17px/1.1 "Monotype Corsiva", Georgia, serif; color: var(--ink); margin-bottom: 2px; }
.fsh-gear-tip .fsh-gear-lines { margin-top: 2px; }
.fsh-gear-card .fsh-slot-art img { max-width: 80px; max-height: 80px; }
.fsh-gear-card .fsh-slot-name { text-align: center; }
.fsh-gear-card .fsh-slot-meta { text-align: center; }
.fsh-gear-over { opacity: .55; border-style: dotted; }
.fsh-gear-overnote { font-size: 11.5px; color: var(--red); text-align: center; margin-top: 3px; font-style: italic; }
.fsh-gear-free .fsh-slot-art { font: 46px "Monotype Corsiva", Georgia, serif; }
.fsh-gear-lines { list-style: none; margin: 6px 0 0; padding: 0; }
.fsh-gear-lines li { position: relative; padding: 1px 0 1px 14px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.fsh-gear-lines li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.fsh-gear-lines-s li { font-size: 11.5px; padding-left: 12px; }
.fsh-gear-lines-s li::before { width: 6px; height: 6px; top: 6px; left: 1px; }
.fsh-gl-up { color: var(--green); }
.fsh-gl-up::before { background: var(--green) !important; }
.fsh-gl-down { color: var(--red); }
.fsh-gl-down::before { background: var(--red) !important; }
.fsh-gl-neutral { color: var(--ink-2); }
.fsh-gear-act { margin-top: auto; padding-top: 8px; text-align: center; }
.fsh-btn-sm { padding: 4px 14px; font-size: 12.5px; }
.fsh-gear-sum { margin: 14px 0 6px; padding: 10px 14px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 245, .45); }
.fsh-gear-sum-h { font: 18px "Monotype Corsiva", Georgia, serif; letter-spacing: .5px; color: var(--ink); margin-bottom: 4px; }
.fsh-gear-sum .fsh-gear-lines li { font-size: 13px; }
.fsh-gear-tiers { border-collapse: collapse; margin: 4px 0 6px; }
.fsh-gear-tiers th, .fsh-gear-tiers td { padding: 2px 10px; font-size: 12.5px; text-align: center; }
.fsh-gear-tiers th:first-child, .fsh-gear-tiers td:first-child { text-align: left; color: var(--muted); padding-left: 0; }
.fsh-gear-tiers th { font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.fsh-gear-tiers td { font-variant-numeric: tabular-nums; font-weight: 600; }
.fsh-gear-filt { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12.5px; }
.fsh-gear-filt b { color: var(--ink); }
.fsh-gear-none { color: var(--muted); font-style: italic; font-size: 12.5px; }
.fsh-gear-msg { margin: 0 0 10px; padding: 6px 10px; border-radius: 6px; background: var(--gold-soft); color: var(--ink); font-size: 12.5px; }
.fsh-gear-msg-bad { background: rgba(143, 42, 30, .12); color: var(--red); }
.fsh-gearfact { color: var(--muted); }
.fsh-excl { color: var(--muted); }
.fsh-other { display: flex; flex-wrap: wrap; gap: 8px; }
.fsh-other-it { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px 3px 4px; font-size: 12.5px; background: rgba(255,253,245,.5); }
.fsh-other-it img { width: 28px; height: 28px; }
.fsh-other-it span { color: var(--muted); }
.fsh-empty { color: var(--muted); padding: 18px 4px; font-style: italic; }

/* ---- how to --------------------------------------------------------------------------------- */
/* four steps, a drawing each, every detail one "More" away in the guide (owner, 2026-10-27: really short) */
.fsh-howto { max-width: calc(720px * var(--fk)); }
.fsh-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.fsh-step { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 8px; border: 1px solid var(--line);
            border-radius: 8px; background: rgba(255, 253, 245, .45); }
.fsh-step-fight { grid-template-columns: 308px 1fr; }
.fsh-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fsh-pic { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 1px 3px rgba(40, 25, 5, .18); }
.fsh-step-t { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.fsh-step-t > b:first-child { display: flex; align-items: center; gap: 8px; font: 21px/1.1 "Monotype Corsiva", Georgia, serif; letter-spacing: 1px;
                             color: var(--ink); margin-bottom: 3px; }
.fsh-n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
         color: #fff; font: 600 12px/1 'Jost', sans-serif; letter-spacing: 0; }
.fsh-way { display: block; margin-top: 4px; }
.fsh-more { color: var(--gold); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fsh-more::after { content: ' \203A'; }
.fsh-more:hover { text-decoration: underline; }
.fsh-facts { margin: 12px 0 0; padding: 0 0 0 18px; font-size: 13px; color: var(--ink-2); }
.fsh-facts li { margin: 3px 0; }
.fsh-guide { display: inline-block; margin: 12px 0 4px; color: var(--ink); font: 17px "Monotype Corsiva", Georgia, serif; letter-spacing: .5px;
             text-decoration: none; border-bottom: 1px solid var(--gold); }
.fsh-guide:hover { color: var(--gold); }

/* ---- phone ---------------------------------------------------------------------------------- */
/* ---- the stock of the spot (core/Fishing/FishingStock.php): the count under the stage, the empty timer ---------- */
.fsh-stockline { margin-left: auto; }
.fsh-stockline b { color: var(--ink); }
.fsh-stockline .fsh-out { color: var(--red); font-weight: 600; }
.fsh-empty-msg { max-width: 92%; }
.fsh-timer { font: 600 46px/1.1 Georgia, serif; color: var(--ink); margin: 12px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.fsh-timer .fsh-tl { display: block; font: 12px 'Jost', Georgia, serif; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 4px; }
.fsh-timer .fsh-tn { display: inline-block; min-width: 1.15em; animation: fsh-tick 1s ease-in-out infinite; }
.fsh-timer .fsh-tn.fsh-sec { color: var(--gold); }
@keyframes fsh-tick { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-2px); opacity: .82; } }
.fsh-card-curse { margin: 6px 0; padding: 6px 9px; border-left: 3px solid var(--red); background: rgba(143, 42, 30, .08); color: var(--red); font-size: 13px; }

@media (max-width: 760px) {
  /* ---- FULL SCREEN: the dlg document and the popup's paper fill the frame (the frame itself is given the whole
     screen by fishing.js take()); the column is head / view / nothing else, the view scrolls inside ---- */
  html, body { height: 100%; margin: 0; }
  body.popupFramebg { overflow: hidden; }
  .popupFrameWidth { max-width: none !important; width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; transform: none;
                     box-shadow: none; overflow: hidden; }
  .popupFrameWrapper { padding: 0; height: 100%; }
  .fsh { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 6px 8px 4px; }
  .fsh-view { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
  #fshViewFish { display: flex; flex-direction: column; overflow: hidden; }
  #fshViewFish.fsh-hide { display: none !important; }

  /* ---- the head: two short rows ---- */
  .fsh-head { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "titles touch close" "tabs tabs tabs"; gap: 0 8px;
              margin: 0 0 6px; padding: 0 0 4px; align-items: center; }
  .fsh-h1 { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* the water line: one line, a tap opens it (fishing.js) */
  .fsh-water { font-size: 12px; margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fsh-water.fsh-water-open { white-space: normal; }
  .fsh-touch { padding: 3px 7px; font-size: 12px; gap: 4px; }
  .fsh-touch-card { left: auto; right: 0; }
  .fsh-close { font-size: 30px; padding: 0 2px; min-width: 36px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
  .fsh-tabs { flex-wrap: wrap; row-gap: 0; margin-top: 2px; }
  .fsh-tab { padding: 7px 10px; font-size: 12.5px; touch-action: manipulation; }
  .fsh-live { font-size: 11.5px; }
  .fsh-comp { position: static; font-size: 11.5px; margin-left: 4px; max-width: 46%; }
  .fsh-comp-card { left: 0; right: 0; top: 100%; min-width: 0; max-width: none; }
  .fsh-tabs { position: relative; }

  /* the stage itself (every pixel left; the canvas fills the wrap) is THE PORTRAIT STAGE below, shared with the tall dialog */

  /* ---- overlays ---- */
  .fsh-cast { padding: 14px 40px; font-size: 24px; min-height: 60px; touch-action: manipulation; }
  .fsh-btn { padding: 9px 16px; min-height: 36px; touch-action: manipulation; }
  .fsh-msg { max-width: 92%; }
  .fsh-reveal { flex-direction: column; text-align: center; gap: 6px; }
  .fsh-card-in { grid-template-columns: 1fr; width: 94%; padding: 12px; max-height: 96%; overflow: auto; overflow-x: hidden; }
  /* the ribbon sits in the flow on a phone: the card scrolls, and a ribbon hung above it was clipped */
  .fsh-ribbon { position: static; justify-self: center; margin: -2px 0 6px; }
  .fsh-card-art { width: 130px; height: 130px; margin: 0 auto; }
  .fsh-card-art img { max-width: 124px; max-height: 124px; }
  .fsh-card-name { font-size: 24px; }
  .fsh-card-lore { max-height: 90px; }
  .fsh-timer { font-size: 38px; }
  .fsh-strike { font-size: 84px; }

  /* ---- the foot: small ---- */
  .fsh-foot { margin-top: 5px; font-size: 11.5px; gap: 1px 10px; line-height: 1.3; }
  .fsh-hint { font-size: 11px; }

  /* ---- the collection ---- */
  .fsh-coll-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .fsh-gear-card { padding: 6px; }
  .fsh-gear-card .fsh-slot-art { width: 64px; height: 64px; }
  .fsh-gear-card .fsh-slot-art img { max-width: 60px; max-height: 60px; }
  .fsh-gear-tiers th, .fsh-gear-tiers td { padding: 2px 5px; font-size: 11.5px; }
  .fsh-slot { min-height: 150px; padding: 6px; }
  .fsh-coll-grid.fsh-gear-slots, .fsh-coll-grid.fsh-gear-grid { grid-template-columns: repeat(3, 1fr); }
  .fsh-slot.fsh-gear-card { min-height: 0; }
  .fsh-gear-card .fsh-slot-name { font-size: 15px; }
  .fsh-slot-art { width: 84px; height: 84px; }
  .fsh-slot-art img { max-width: 80px; max-height: 80px; }
  .fsh-slot:hover .fsh-slot-art img { transform: none; }
  .fsh-howto { padding-bottom: 12px; }
  .fsh-step { grid-template-columns: 96px 1fr; gap: 10px; padding: 6px; }
  .fsh-step-fight { grid-template-columns: 1fr; gap: 6px; }
  .fsh-step-fight .fsh-pics { grid-template-columns: 96px 96px; }
  .fsh-step-t { font-size: 13px; }
  .fsh-step-t > b:first-child { font-size: 19px; }
  .fsh-more { display: inline-block; padding: 4px 0; } /* a thumb's reach */
}
/* ---- THE PORTRAIT STAGE: .fsh-phone, set by fishing.js on a phone (760px and under, full screen) and in the tall
   dialog (wider, taller than wide: a tablet held upright, html.fsh-tall below). These were the phone block's stage
   rules, moved here unchanged on 2026-10-28 so the two share them. The wrap takes every pixel its column leaves;
   the canvas fills the wrap ---- */
.fsh-phone .fsh-mute { left: auto; right: 12px; top: 10px; width: 34px; height: 34px; }
.fsh-phone .fsh-stage-wrap.fsh-fighting .fsh-mute { display: none; }
.fsh-phone .fsh-stage-wrap { flex: 1 1 auto; min-height: 220px; }
.fsh-phone .fsh-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; -webkit-mask-image: url(edge_tall.svg?v=3); mask-image: url(edge_tall.svg?v=3); }
.fsh-phone .fsh-hud { width: 44px; right: 18px; top: 22px; bottom: 96px; }
.fsh-phone .fsh-hud-track { border-radius: 22px; }
.fsh-phone .fsh-hud-zone { left: 4px; right: 4px; border-radius: 18px; }
.fsh-phone .fsh-hud-fish { width: 28px; height: 28px; margin: -14px 0 0 -14px; background-size: 22px 22px; }
/* the bars at the top of the stage (the pad has the bottom), thicker */
.fsh-phone .fsh-bars { top: 22px; bottom: auto; left: 20px; right: 72px; gap: 8px; flex-direction: column; }
.fsh-phone .fsh-bar-label { width: 44px; }
.fsh-phone .fsh-bar-track { height: 11px; border-radius: 6px; }
/* THE THUMB PAD: a band at the bottom of the stage that says what to do; it is part of the stage, so a press on
   it is a press on the water (fishing.js down()); the ring takes the whole width (no HUD) */
.fsh-phone .fsh-stage-wrap.fsh-armed .fsh-pad, .fsh-phone .fsh-stage-wrap.fsh-fighting .fsh-pad { display: flex; }
.fsh-phone .fsh-pad { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 74px; border-radius: 0 0 14px 14px; align-items: center; justify-content: center; padding: 0 64px 0 14px;
                      background: linear-gradient(to top, rgba(20, 16, 10, .62), rgba(20, 16, 10, .35) 70%, rgba(20, 16, 10, 0)); color: #fff5d6;
                      font: 15px/1.25 'Jost', sans-serif; letter-spacing: .3px; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.7);
                      pointer-events: none; transition: background .12s; }
.fsh-phone .fsh-stage-wrap.fsh-ring .fsh-pad, .fsh-phone .fsh-stage-wrap.fsh-armed .fsh-pad { padding-right: 14px; }
.fsh-phone .fsh-stage-wrap.fsh-held .fsh-pad { background: linear-gradient(to top, rgba(255, 204, 0, .38), rgba(255, 204, 0, .14) 70%, rgba(255, 204, 0, 0)); }
.fsh-phone .fsh-pad span { padding: 8px 14px; border: 1px solid rgba(255, 245, 210, .45); border-radius: 22px; background: rgba(20, 16, 10, .35); }

/* ---- THE TALL DIALOG (Mur, 2026-10-28, "much taller, more how it is on mobile, but not fullscreen"): wider than a
   phone and taller than wide (fishing.js TALL). The popup chrome stays (the X, the margins, the paper); the paper
   takes the frame's height but its shadow's 12px, the column is head / view / foot, and the stage wrap takes the
   rest (the portrait stage above). The other views scroll inside. The head and the foot keep the desktop look. ---- */
/* 12px of the game on each side, centred: the dialog's translateX(-9px) put the paper 9px off the left edge at this width */
html.fsh-tall .popupFrameWidth { height: calc(100vh - 12px); max-height: calc(100vh - 12px); max-width: calc(100vw - 24px); transform: none; overflow: hidden; }
html.fsh-tall .popupFrameWrapper { height: 100%; box-sizing: border-box; }
html.fsh-tall .fsh { height: 100%; display: flex; flex-direction: column; }
html.fsh-tall .fsh-view { flex: 1 1 auto; min-height: 0; overflow: auto; }
html.fsh-tall #fshViewFish { display: flex; flex-direction: column; overflow: hidden; }
html.fsh-tall #fshViewFish.fsh-hide { display: none !important; }

/* ---- THE BITE AID (FishingLure::aid(), owner 2026-10-29): the lower left corner of the stage while the float is out,
   only for a catch rated under 25: what it wants in one line, a live bar to follow (the draw's fill, the beat's
   marker, the nudge's gap), one cue word and a count. Never a pointer target: a press on it is a press on the water. */
/* no panel behind it (owner, 2026-10-29): every word and element carries its own SHARP shadow, so it reads on the water */
.fsh-aid { position: absolute; left: calc(26px * var(--fk) / var(--ft)); bottom: calc(20px * var(--fk) / var(--ft)); z-index: 5; width: 256px; padding: 0; pointer-events: none; color: #fff5d6;
           text-shadow: 1px 1px 0 #1a1208, -1px -1px 0 rgba(26, 18, 8, .75), 1px -1px 0 rgba(26, 18, 8, .75), -1px 1px 0 rgba(26, 18, 8, .75), 2px 2px 0 rgba(0, 0, 0, .55); }
.fsh-aid[hidden] { display: none; }
.fsh-aid-want { font: 12px/1.3 Georgia, serif; }
.fsh-aid-want[hidden], .fsh-aid-row[hidden] { display: none; }
.fsh-aid-want::before { content: 'Easy catch'; display: block; font-size: 9px; line-height: 1; letter-spacing: 1.5px; text-transform: uppercase; color: #ffcc00; margin-bottom: 3px; }
/* the catch's INTEREST (owner, 2026-10-29: "bumping when nudging"): the shadow's distance as a thin bar, a flash on a rise */
.fsh-aid-int { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.fsh-aid-int-label { font: 9px/1 Georgia, serif; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255, 245, 210, .9); }
.fsh-aid-int-track { flex: 1; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(20, 24, 26, .7); border: 1px solid rgba(255, 245, 210, .45); box-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }
.fsh-aid-int-fill { height: 100%; width: 0; background: #9fd3ff; transition: width .25s ease-out, background .2s; }
.fsh-aid-int-fill.fsh-bump { background: #ffffff; box-shadow: 0 0 6px rgba(255, 255, 255, .9); }
.fsh-aid-bar { position: relative; height: 10px; margin: 7px 0 5px; border-radius: 5px; overflow: hidden; background: rgba(20, 24, 26, .7); border: 1px solid rgba(255, 245, 210, .45); box-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }
.fsh-aid-bar[hidden] { display: none; }
.fsh-aid-zones { position: absolute; inset: 0; }
.fsh-aid-zone { position: absolute; top: 0; bottom: 0; }
.fsh-aid-zone.fsh-z-bad { background: rgba(255, 59, 31, .45); }
.fsh-aid-zone.fsh-z-soon { background: rgba(255, 154, 46, .4); }
.fsh-aid-zone.fsh-z-good { background: rgba(255, 204, 0, .42); }
.fsh-aid-zone.fsh-z-late { background: rgba(120, 120, 120, .35); }
.fsh-aid-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #ffcc00; }
.fsh-aid-fill.fsh-z-bad { background: #ff3b1f; }
.fsh-aid-mark { position: absolute; top: -2px; bottom: -2px; left: 0; width: 3px; margin-left: -1px; background: #fff; box-shadow: 1px 0 0 rgba(0, 0, 0, .8), 0 0 6px rgba(255,255,255,.9); display: none; }
.fsh-aid-mark.fsh-on { display: block; }
.fsh-aid-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 11px/1.2 Georgia, serif; text-shadow: 1px 1px 0 #1a1208, 2px 2px 0 rgba(0, 0, 0, .55); }
.fsh-aid-cue { font-weight: bold; letter-spacing: .3px; }
.fsh-aid-cue.fsh-now { color: #ffd93d; }
.fsh-aid-cue.fsh-bad { color: #ff9a7a; }
.fsh-aid-count { color: rgba(255, 245, 210, .8); white-space: nowrap; }
.fsh-aid-count b { color: #fff5d6; }
.fsh-phone .fsh-aid { left: 14px; right: auto; bottom: 96px; width: auto; max-width: 64%; }
/* the card shrinks to its content on a phone: a catch that shows only its interest left the track 0px wide, read as a "1"
   (bug report 8544, 2026-11-06) */
.fsh-phone .fsh-aid-int-track { min-width: 120px; }
.fsh-phone .fsh-stage-wrap.fsh-fighting .fsh-aid { display: none; }

@media (prefers-reduced-motion: reduce) {
  .fsh-struck, .fsh-struck-in { animation: none; }
  .fsh-card-art img, .fsh-ribbon, .fsh-strike, .fsh-timer .fsh-tn { animation: none; }
}
/* THE AQUARIUM's second step: which one, and its way back */
.fsh-keepask { flex-basis: 100%; font-size: 13px; color: var(--ink); }
.fsh-btn.fsh-btn-quiet { background: transparent; border-color: #c2a34e; }
/* THE AQUARIUM's button when it can do nothing more (full, or the fish is in) */
.fsh-btn.fsh-btn-dim, .fsh-btn.fsh-btn-dim:hover { opacity: .5; cursor: default; box-shadow: none; }
