.in-room.fish-table {background:#44201b;color-scheme:dark}
.in-room.fish-table::before {background:radial-gradient(ellipse at center,#783b2d,#281825)}
.fish-table.in-room main {
  width:min(100%,510px);min-height:100dvh;margin:auto;padding:0;
  background:#a34023 url("/art/fish-5200/main-room.webp") center/cover;
}
.fish-table.fish-bonus main {background-image:url("/art/fish-5200/bonus-room.webp")}
.fish-table.in-room #room {position:relative;align-items:center;justify-content:center;gap:0;
  padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(54px,calc(48px + env(safe-area-inset-bottom))) max(4px,env(safe-area-inset-left))}
.fish-table.in-room #machine {
  container-type:inline-size;isolation:isolate;position:relative;overflow:visible;flex:none;
  width:min(100%,max(282px,calc(61dvh - 34px)));aspect-ratio:1/1.65;
  margin:0;background:none;box-shadow:none;border:0;border-radius:0;color:#fff3cd;
}
.fish-table.in-room #gameBackSlot {top:max(8px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left))}
.fish-table #machine .room-grid,.fish-table #machine .console {display:contents}
.fish-table #machine .machine-head {position:absolute;inset:0 0 auto;height:18%;min-height:0;background:transparent}
.fish-table #machine .machine-head::before {inset:0;background:url("/art/fish-5200/title.webp") center/contain no-repeat}
.fish-table #machine .machine-head::after,.fish-table .marquee-copy {display:none}
.fish-table #machine #roundFeature {
  position:absolute;inset:auto 3% 3% auto;min-width:0;padding:2px 6px;
  color:#fff2bb;font:600 clamp(10px,3cqw,16px)/1.15 system-ui;background:#6b261b;border:1px solid #be8146;
}
.fish-table:not(.fish-bonus,.fish-reward) #machine #roundFeature,.fish-table #machine #roundFeature:empty {display:none}
.fish-table #machine .cabinet {
  position:absolute;top:18.2%;left:0;width:100%;height:66.66%;max-width:none;padding:0;
  background:url("/art/fish-5200/main-table.webp") center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:0 4px 9px #401b2252;
}
.fish-table.fish-bonus #machine .cabinet {background-image:url("/art/fish-5200/bonus-table.webp")}
.fish-table #machine .cabinet::before {content:"";position:absolute;inset:0 0 auto;height:13%;pointer-events:none;background:var(--fish-multiplier,url("/art/fish-5200/main-x1.webp")) center/100% 100% no-repeat}
.fish-table #machine #stage {position:absolute;inset:13.5% .7% .5%;width:auto;height:auto;aspect-ratio:auto;padding:0;gap:0;background:none;border:0;border-radius:0;box-shadow:none}
.fish-table #stage .reel,.fish-table #stage .tile,.fish-table #stage .tile.gold-tile {background:none;border-radius:0;box-shadow:none}
.fish-table #stage .tile::before {display:none}
.fish-table #stage .tile img {width:100%;height:100%;object-fit:contain;filter:none}
.fish-table #stage .tile.win img {filter:drop-shadow(0 0 4px #ffe581) brightness(1.1)}
.fish-table #machine .award {
  position:absolute;inset:85% 0 auto;height:6%;padding:0;border:0;
  display:flex;align-items:center;justify-content:center;gap:8px;
  color:#fff4c6;background:url("/art/fish-5200/award.webp") center/100% 100% no-repeat;
}
.fish-table .award small,.fish-table .award strong {color:inherit;font-family:system-ui}
.fish-table .award strong {font-size:clamp(14px,4.8cqw,24px)}
.fish-table #machine .control {position:absolute;inset:91.3% 1% auto;display:grid;grid-template-columns:minmax(132px,1.5fr) minmax(44px,.68fr) minmax(88px,1fr);align-items:center;gap:3px}
.fish-table .control .stake {display:grid;grid-template-columns:44px minmax(44px,1fr) 44px;align-items:center;gap:0;padding:0;border:1px solid #dfad65;border-radius:2rem;background:#71281b}
.fish-table #machine .control button {min-height:44px;min-width:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;color:#fff2b4;background:transparent center/contain no-repeat;touch-action:manipulation}
.fish-table #machine #minus {background-image:url("/art/fish-5200/minus.webp")}
.fish-table #machine #plus {background-image:url("/art/fish-5200/plus.webp")}
.fish-table .stake :is(svg,i),.fish-table #play .play-label {position:absolute;height:1px;width:1px;clip-path:inset(50%);overflow:hidden}
.fish-table .stake .stake-caption {font-size:10px;color:#f4ce8c}
.fish-table .stake #stake {font:700 clamp(13px,4cqw,20px)/1.2 system-ui;color:#fff0c1}
.fish-table #machine #play {height:clamp(44px,14cqw,64px);background:url("/art/fish-5200/arrow.webp") center/auto 51% no-repeat,url("/art/fish-5200/play.webp") center/contain no-repeat}
.fish-table #play::before {display:none}
.fish-table .harvest-actions {display:grid;grid-template-columns:1fr 1fr}
.fish-table .harvest-actions button {width:100%;height:clamp(44px,12cqw,56px)}
.fish-table #machine #harvestAuto {background-image:url("/art/fish-5200/auto.webp")}
.fish-table #machine #harvestFast {background-image:url("/art/fish-5200/fast.webp")}
.fish-table #machine #harvestFast[aria-pressed=true] {background-image:url("/art/fish-5200/fast-on.webp")}
.fish-table #harvestAuto[aria-pressed=true] {filter:drop-shadow(0 0 4px gold)}
.fish-table #gameFooter {position:absolute;inset:auto 0 0;margin:0;padding:3px max(8px,env(safe-area-inset-right)) max(3px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
.fish-table #gameFooter button,.fish-table #gameBackSlot #roomBack {background:#70281dea;border-color:#ca904d;color:#ffe6b1}
.fish-table #status:not(:empty) {position:absolute;top:100%;width:100%;text-align:center;color:#ffedcd;font-size:12px}
