#fs-near { position: fixed; z-index: 4; left: 50%; bottom: calc(15rem + var(--sab, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; padding: .5rem 1.6rem .5rem .8rem;
border: .7rem solid transparent; border-image: url(../assets/ui/dark/btn_primary.png) 20 fill / .7rem; color: #1a1206; font: 700 max(13px, 1.6rem) var(--sans); cursor: pointer; animation: fs-glow 1.6s ease-in-out infinite alternate; }
#fs-near img { width: 3.4rem; height: 3.4rem; }
#fs-near.hidden { display: none; }
@keyframes fs-glow { to { filter: brightness(1.25) drop-shadow(0 0 .6rem rgba(255, 220, 120, .8)); } }
#fs-hud { position: fixed; z-index: 4; left: 50%; bottom: calc(14rem + var(--sab, 0px)); transform: translateX(-50%); width: min(48rem, calc(100vw - 1.6rem)); display: flex; flex-direction: column; gap: .6rem;
padding: 1rem 1.2rem 1.1rem; background: linear-gradient(180deg, rgba(14, 22, 28, .94), rgba(8, 12, 16, .94)); border: 1px solid rgba(140, 190, 210, .35); border-radius: .5rem; box-shadow: 0 .6rem 2rem rgba(0, 0, 0, .6); color: var(--ink); }
#fs-hud.hidden { display: none; }
#fs-hud header { display: flex; align-items: center; gap: .8rem; }
#fs-hud header img { height: 3.2rem; width: auto; transform: rotate(35deg); }
#fs-hud header b { flex: 1; font: 700 max(13px, 1.6rem) var(--serif); color: #bfe6ff; }
#fs-hud header .x { background: none; border: 0; color: var(--ink2); font-size: max(14px, 1.8rem); cursor: pointer; }
.fs-baits { display: flex; gap: .5rem; flex-wrap: wrap; }
.fs-bait { position: relative; width: 5rem; height: 5rem; min-width: 40px; min-height: 40px; padding: 0; background: rgba(0, 0, 0, .45); border: 1px solid rgba(160, 200, 220, .3); border-radius: .4rem; cursor: pointer; }
.fs-bait img { width: 100%; height: 100%; object-fit: contain; }
.fs-bait i { font-style: normal; color: var(--ink3); font-size: max(14px, 1.8rem); }
.fs-bait b { position: absolute; right: .2rem; bottom: .1rem; font: 700 max(10px, 1.1rem) var(--sans); color: #fff; text-shadow: 0 1px 2px #000; }
.fs-bait.on { border-color: #ffd36e; box-shadow: 0 0 .6rem rgba(255, 210, 110, .7); }
.fs-bait.none img { filter: grayscale(1) brightness(.5); }
.fs-line { margin: 0; min-height: 3rem; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; font-size: max(12px, 1.4rem); color: var(--ink2); }
.fs-line.hot { color: #ffe08a; font-weight: 700; }
.fs-line.bad { color: #ff9a80; }
.fs-line.got img { width: 4.4rem; height: 4.4rem; }
.fs-line.got span { font: 700 max(13px, 1.6rem) var(--serif); }
.fs-line.got b { font-size: max(14px, 1.8rem); color: #fff; }
.fs-line small { flex-basis: 100%; color: #9fe0a0; font-size: max(10px, 1.15rem); }
.fs-bar { position: relative; width: 100%; aspect-ratio: 560 / 126; }
.fs-bar .fs-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fs-track { position: absolute; left: calc(100% * 52 / 560); right: calc(100% * 93 / 560); top: calc(100% * 40 / 126); bottom: calc(100% * 44 / 126); background: linear-gradient(180deg, #0b2a3a, #12384c); }
.fs-zone { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, rgba(255, 220, 110, .95), rgba(220, 150, 30, .9)); box-shadow: 0 0 .8rem rgba(255, 200, 80, .8); }
.fs-needle { position: absolute; top: -45%; height: 190%; width: auto; transform: translateX(-50%); filter: brightness(1.5) drop-shadow(0 0 .25rem #fff8d0) drop-shadow(0 0 .2rem #000); }
.fs-row { display: flex; align-items: center; gap: 1rem; }
.fs-go { flex: 1; min-height: 4.4rem; border: .7rem solid transparent; border-image: url(../assets/ui/dark/btn_primary.png) 20 fill / .7rem; color: #1a1206; font: 700 max(14px, 1.7rem) var(--sans); cursor: pointer; }
.fs-go:disabled { border-image-source: url(../assets/ui/dark/btn_disabled.png); color: var(--ink3); cursor: default; }
.fs-go.reel { box-shadow: 0 0 1.2rem rgba(255, 210, 110, .9); }
.fs-go small { font-weight: 400; opacity: .7; }
.fs-auto { display: flex; align-items: center; gap: .5rem; font-size: max(11px, 1.2rem); color: var(--ink2); cursor: pointer; }
.fs-chk { width: 2.2rem; height: 2.2rem; min-width: 18px; min-height: 18px; padding: 0; border: 1px solid rgba(200, 200, 200, .5); border-radius: .3rem; background: rgba(0, 0, 0, .4); cursor: pointer; }
.fs-chk.on { background: #ffd36e; box-shadow: inset 0 0 0 .35rem #2a1d06; }
.fs-nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.fs-nav button { flex: 1; min-height: 3rem; padding: 0 .6rem; border: .6rem solid transparent; border-image: url(../assets/ui/dark/btn.png) 20 fill / .6rem; color: var(--ink); font: 600 max(11px, 1.15rem) var(--sans); cursor: pointer; white-space: nowrap; }
#fishwin { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(100rem, calc(100vw - 1.6rem)); max-height: calc(100vh - 4rem); display: flex; flex-direction: column; z-index: 8; }
#fishwin.hidden { display: none; }
.fs-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.fs-tabs button { padding: .3rem 1.2rem; min-height: 3.2rem; }
.fs-body { overflow: auto; min-height: 0; }
.fs-wait { color: var(--ink3); text-align: center; padding: 2rem; }
.fs-sum { margin: 0 0 .8rem; color: var(--ink2); font-size: max(11px, 1.25rem); }
.fs-sum b { color: #ffd98a; }
.fs-book { aspect-ratio: 1024 / 640; background: #120c06 center / 100% 100% no-repeat; padding: 4.5% 7% 5%; display: flex; flex-direction: column; }
.fs-book .fs-sum { text-align: center; text-shadow: 0 1px 2px #000; }
.fs-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .5rem .8rem; }
.fs-cell { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; padding: .2rem; background: rgba(10, 6, 2, .62); border: 1px solid rgba(160, 120, 70, .3); border-radius: .4rem; text-align: center; }
.fs-cell img { width: 6rem; height: 6rem; filter: brightness(0) invert(.55) sepia(.4) opacity(.5); }
.fs-cell.got img { filter: none; }
.fs-cell b { font: 600 max(9px, 1.05rem)/1.15 var(--sans); color: var(--ink3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-cell small { font-size: max(8px, .95rem); color: var(--ink3); white-space: nowrap; }
.fs-cell.got.r0 b { color: #e8e0cc; } .fs-cell.got.r1 b { color: #8fe07a; } .fs-cell.got.r2 b { color: #7ab8ff; } .fs-cell.got.r3 b { color: #ffc65a; }
.fs-cell.got.r3 { box-shadow: inset 0 0 1.2rem rgba(255, 190, 80, .35); }
.fs-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 44rem), 1fr)); gap: .8rem; }
.fs-dish, .fs-good { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; background: rgba(0, 0, 0, .35); border: 1px solid rgba(160, 130, 90, .3); border-radius: .4rem; }
.fs-dish > img, .fs-good > img { width: 6.4rem; height: 6.4rem; flex: none; }
.fs-good > img.rod { width: 3.2rem; height: 9.6rem; }
.fs-dish > div, .fs-good > div { flex: 1; min-width: 0; }
.fs-dish b, .fs-good b { font: 700 max(12px, 1.45rem) var(--serif); color: #ffd98a; }
.fs-dish p, .fs-good p { margin: .2rem 0; font-size: max(10px, 1.15rem); color: #a8e0a0; }
.fs-good small { font-size: max(10px, 1.1rem); color: var(--ink3); }
.fs-dish ul { margin: .2rem 0 0; padding-left: 1.6rem; font-size: max(10px, 1.1rem); }
.fs-dish li.ok { color: var(--ink2); } .fs-dish li.no { color: #ff9a80; }
.fs-btns { display: flex; flex-direction: column; gap: .4rem; }
.fs-btns button, .fs-good > button { min-height: 3rem; padding: 0 1rem; white-space: nowrap; }
.fs-own { color: #9fe0a0; font-weight: 700; white-space: nowrap; }
#fishwin h4 { margin: 1rem 0 .5rem; font: 700 max(12px, 1.4rem) var(--serif); color: var(--ink); }
.fs-shop .fs-good { margin-bottom: .6rem; }
.fs-top { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.fs-top li { display: flex; align-items: center; gap: .8rem; padding: .4rem .8rem; background: rgba(0, 0, 0, .35); border-radius: .3rem; font-size: max(11px, 1.25rem); }
.fs-top li i { width: 2.6rem; font-style: normal; font-weight: 700; color: #ffd98a; text-align: center; }
.fs-top li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-top li img { width: 3.6rem; height: 3.6rem; }
.fs-top li span { flex: 1; min-width: 0; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-top li em { font-style: normal; font-weight: 700; color: #fff; white-space: nowrap; }
.fs-top.last li { opacity: .8; }
.fs-prize { margin: 0 0 .8rem; padding: .5rem .9rem; background: linear-gradient(90deg, rgba(120, 84, 20, .55), rgba(60, 40, 10, .25)); border-left: .3rem solid #ffc65a; border-radius: .3rem; color: #ffe2a0; font-weight: 700; font-size: max(11px, 1.25rem); }
.fs-me { margin: .8rem 0 0; color: var(--ink2); }
.fs-me b { color: #fff; }
body.touch #fishwin { left: calc(.8rem + var(--sal)); right: calc(.8rem + var(--sar)); top: calc(.8rem + var(--sat)); bottom: calc(.8rem + var(--sab)); width: auto; max-height: none; transform: none; }
body.touch .fs-book { aspect-ratio: auto; padding: 1rem; }
body.touch .fs-grid { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); grid-auto-rows: auto; }
body.touch #fs-hud, body.touch #fs-near { bottom: calc(18rem + var(--sab, 0px)); }
.fs-good > .fs-ic { width: 6.4rem; height: 6.4rem; flex: none; display: grid; place-items: center; }
.fs-good > .fs-ic img, .fs-good > .fs-ic svg { width: 100%; height: 100%; object-fit: contain; }
.fs-sum .fs-pearl { display: inline-block; width: 2.6rem; height: 2.6rem; vertical-align: middle; }
.fs-sum .fs-pearl img, .fs-sum .fs-pearl svg { width: 100%; height: 100%; }
.fs-good button:disabled { opacity: .45; }
.fs-dish .fs-kind { font-style: normal; font-size: max(10px, 1.1rem); color: var(--ink3); margin-left: .4rem; }
.fs-dish.side .fs-kind { color: #9fe3e0; }