 .mj-fish-game,.mj-keno-game{width:100%;box-sizing:border-box;align-self:stretch}
.mj-fish-game,.mj-keno-game{height:100%;min-height:0;display:flex;flex-direction:column;position:relative;border:1px solid #dab56b;border-radius:18px;overflow:hidden;background:#071f36;color:#fff;font-family:system-ui,sans-serif}
.mj-fish-game header,.mj-keno-game header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;background:linear-gradient(90deg,#051626ed,#193c52d9);z-index:2}.mj-fish-game h2,.mj-keno-game h2{font:700 clamp(17px,2.6vw,30px)/1.1 Georgia,serif;margin:3px 0;color:#ffe1a1}.mj-fish-game small,.mj-keno-game small{font-size:9px;letter-spacing:2px;color:#88e6e8}
.mj-fish-game button,.mj-keno-game button{cursor:pointer;border:1px solid #7698af;border-radius:8px;background:#0b2942;color:white;font-weight:700;min-height:34px;padding:6px 12px}.mj-fish-game button:focus-visible,.mj-keno-game button:focus-visible{outline:3px solid #fff;outline-offset:2px}.mj-fish-game button.is-selected,.mj-keno-game button.is-selected{background:#ffce70;color:#18283a;border-color:#fff1b0}.mj-fish-game button:disabled,.mj-keno-game button:disabled{cursor:wait}
.mj-fish-water{position:relative;flex:1;min-height:150px;background:url('../images/reef-scene-v1.png') center/cover}.theme-dragon .mj-fish-water{filter:hue-rotate(325deg)}.theme-spirit .mj-fish-water{filter:hue-rotate(25deg)}.theme-carnival .mj-fish-water{filter:hue-rotate(285deg)}.theme-harbor .mj-fish-water{filter:hue-rotate(355deg)}.theme-frostfire .mj-fish-water{background-color:#28162a;background-blend-mode:screen}
.mj-fish-canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:manipulation;cursor:crosshair}.mj-fish-target{position:absolute;top:12px;left:12px;background:#061929ce;border:1px solid #72d4ed;border-radius:20px;padding:6px 12px;font-size:12px;pointer-events:none}.mj-fish-banner{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);max-width:95%;text-align:center;background:#05253ce6;border-radius:20px;color:#fff0bb;padding:6px 15px;font-size:12px;white-space:nowrap;pointer-events:none}.mj-fish-game footer{padding:8px 12px;background:#041a2a}.mj-fish-targets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.mj-fish-note{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#b8dce8;padding-top:6px}.mj-fish-note button{font-size:11px;min-height:30px;padding:4px 8px}
.mj-fish-card{background:linear-gradient(#113e60aa,#07182aee),url('../images/reef-scene-v1.png') center/cover!important;overflow:hidden;display:flex;align-items:center;justify-content:end;flex-direction:column;padding:12px!important}.mj-fish-card img{position:absolute;width:180%;height:auto;left:-15%;top:-5%;pointer-events:none}.mj-fish-card strong,.mj-fish-card small{z-index:1;text-shadow:0 2px 8px black;background:#042036b0;border-radius:7px;padding:3px 8px}.mj-fish-card strong{font:700 20px Georgia;color:#ffe2a0}
.mj-keno-game{background:radial-gradient(ellipse at top,#361450,#100a22)}.mj-keno-summary{display:flex;justify-content:space-between;gap:8px;padding:8px 16px;color:#ffe2a4;font-size:12px}.mj-keno-summary span{color:#b6cbe2}.mj-keno-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;padding:2px 16px 10px;flex:1;min-height:0;overflow:auto;align-content:start}.mj-keno-grid button{padding:3px;min-height:30px;border-color:#804fa5;background:linear-gradient(#76369d,#402254);font-size:clamp(12px,1.5vw,18px)}.mj-keno-grid button.is-drawn{background:#183c6c;border-color:#69dfff}.mj-keno-grid button.is-hit{background:#67efc4;color:#042d23;border-color:#d5ffed;box-shadow:0 0 12px #30eabc66}.phase-playing .mj-keno-grid button.is-drawn,.phase-playing .mj-keno-balls span{animation:mj-keno-reveal .3s both;animation-delay:calc(var(--ball-order)*.12s)}.mj-keno-tools{display:flex;gap:8px;padding:0 16px 8px}.mj-keno-tools button{flex:1}.mj-keno-balls{display:flex;gap:5px;overflow:auto;min-height:36px;align-items:center;background:#05091899;padding:8px 16px}.mj-keno-balls span:not(.mj-keno-hint){flex:0 0 30px;height:30px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#98bbda 45%,#233e70);color:#0c2447;font-size:12px;font-weight:800}.mj-keno-balls span.is-hit{background:radial-gradient(circle at 30% 25%,#fff,#83ffc8 45%,#167255)}.mj-keno-hint{font-size:12px;color:#bfd1e5}.mj-keno-card{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;background:radial-gradient(#6c227e,#160e2e)!important;padding:20px!important}.mj-keno-card b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-size:21px;color:#163460;background:radial-gradient(circle at 25% 25%,white,#9fdbff 50%,#284466)}.mj-keno-card strong,.mj-keno-card small{width:100%;text-align:center;color:#ffe2aa}.mj-keno-card strong{font:700 23px Georgia}
@keyframes mj-keno-reveal{from{opacity:.2;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
@media(max-width:600px){.mj-fish-game header,.mj-keno-game header{padding:7px 9px}.mj-fish-water{min-height:100px}.mj-fish-targets{grid-template-columns:repeat(2,1fr)}.mj-fish-targets button{min-height:32px;font-size:11px}.mj-fish-note{font-size:10px}.mj-fish-banner{font-size:10px;white-space:normal;width:max-content}.mj-keno-grid{padding:2px 8px 8px;gap:3px}.mj-keno-grid button{min-height:28px;font-size:12px}.mj-keno-summary{padding:6px 8px;font-size:10px;flex-wrap:wrap}.mj-keno-tools{padding:0 8px 6px;gap:4px}.mj-keno-tools button{font-size:11px;padding:5px}.mj-keno-balls{padding:5px 8px}}
@media(max-height:480px){.mj-fish-game header small,.mj-keno-game header small{display:none}.mj-fish-targets{grid-template-columns:repeat(4,1fr)}.mj-fish-game footer{padding:4px 8px}.mj-fish-note{padding-top:2px}.mj-fish-target{top:5px;padding:3px 8px}.mj-fish-water{min-height:85px}}
@media(prefers-reduced-motion:reduce){.phase-playing .mj-keno-grid button.is-drawn,.phase-playing .mj-keno-balls span{animation:none}}

.rse-reduced-motion .phase-playing .mj-keno-grid button.is-drawn,.rse-reduced-motion .phase-playing .mj-keno-balls span{animation:none}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-choice-wrap{display:none!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-controls{display:flex!important;flex-wrap:wrap!important;align-items:center!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rse-chip-rack{flex:1!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-controls>label{flex:0 0 100px!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) [data-rs-play-round]{flex:0 0 220px!important}
@media(max-width:700px){
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-stage{grid-template-rows:50px 41px minmax(0,1fr) 34px 110px!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-controls{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:42px 44px!important;padding:8px!important;gap:4px!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rse-chip-rack{grid-area:1/1/2/3!important;min-width:0!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-controls>label{grid-area:2/1/3/2!important}
.rs-game-modal:has(.mj-fish-game,.mj-keno-game) [data-rs-play-round]{grid-area:2/2/3/3!important;width:100%!important;height:44px!important;min-height:44px!important}
.mj-keno-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.mj-keno-grid button{min-height:42px}.mj-fish-targets button{min-height:42px}
}
@media(max-width:360px){.mj-keno-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.mj-fish-note span{max-width:170px}}
@media(max-height:480px) and (min-width:701px){.rs-game-modal:has(.mj-fish-game,.mj-keno-game) .rs-game-stage{grid-template-rows:42px 34px minmax(0,1fr) 34px 56px!important}.mj-fish-game header,.mj-keno-game header{padding:3px 10px}.mj-fish-game h2,.mj-keno-game h2{font-size:18px}.mj-fish-game footer{padding:3px 8px}.mj-fish-note span{display:none}.mj-fish-note{position:absolute;right:8px;top:3px}.mj-fish-game header>button{margin-right:105px}.mj-fish-water{min-height:50px}.mj-fish-banner{font-size:9px;bottom:2px}}

.mj-fish-banner{bottom:50px}
