/* Original atlas pieces, with layout independent of reel and payline timing. */
.ba-enabled #gamble{display:none!important}
#baMainWinActions{display:none}
.ba-enabled #baMainWinActions:not([hidden]){display:flex;gap:6px;align-items:center}
#baMainWinActions button{height:48px;padding:8px 16px;border:2px outset #f8eaba;border-radius:5px;background:linear-gradient(#fff9b8,#c29928);color:#171c22;font:bold 14px Arial;cursor:pointer}
#baMainWinActions #baCollectWin{background:linear-gradient(#b3ed49,#467b10);color:white}
.ba-spin-icon{width:36px;height:36px;object-fit:contain;vertical-align:middle;margin-right:8px}
#baGamble{width:min(1024px,96vw);max-height:96vh;overflow:auto;border:0;border-radius:0;padding:0;background:#148cc6;color:white;font:700 16px/1.2 Arial;text-align:center}
.ba-gamble-board{position:relative;aspect-ratio:1024/626;background:url('img/novomatic_bananasgobahamas/gamble-background.webp') left top/100% auto no-repeat}
.ba-gamble-surface{position:absolute;left:1.8%;top:22.4%;width:96.4%;height:73.1%;background:#057dc8 url('img/novomatic_bananasgobahamas/gamble-water.png') center/cover;display:flex;flex-direction:column}
.ba-gamble-amounts{display:flex;justify-content:space-around;align-items:center;flex:0 0 17%}
#baGambleAmount,#baDoubleAmount{display:block;margin-top:8px;font-size:inherit;color:#ffff00;text-shadow:1px 2px #16354a}
.ba-history-row{height:20%;display:flex;align-items:center;justify-content:center;gap:14px}
#baCardHistory{height:100%;display:flex;gap:6px;align-items:center}
#baCardHistory img{height:90%;max-width:14vw;object-fit:contain}
.ba-card-choices{height:49%;display:grid;grid-template-columns:30% 24% 30%;justify-content:center;align-items:center;gap:4%;perspective:900px}
#baGambleCard{display:block;width:auto;height:96%;max-width:100%;min-height:0;margin:auto;border:0;border-radius:0;background:none;box-shadow:none;object-fit:contain;position:static}
#baGamble .ba-color{width:100%;aspect-ratio:264/196;max-height:90%;padding:0;border:0;border-radius:0;cursor:pointer;color:#101010;font:bold 18px Arial;background:center/contain no-repeat;text-shadow:none}
#baGamble .ba-color.red{background-image:url('img/novomatic_bananasgobahamas/gamble-red.png')}
#baGamble .ba-color.black{background-image:url('img/novomatic_bananasgobahamas/gamble-black.png')}
#baGamble button:disabled{opacity:.55;cursor:default}
#baGambleResult{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;margin:0;padding:3px 8px;font-size:inherit;line-height:1.15;text-shadow:1px 2px #155078}
.ba-gamble-meters{display:grid;grid-template-columns:1fr 3fr;gap:5px;padding:6px 8px;background:url('img/novomatic_bananasgobahamas/water-panel.webp') center/cover}
.ba-gamble-meters>div{border:2px ridge #d6d7c3;border-radius:7px;background:#26353ce8;padding:5px;font-size:12px}
.ba-gamble-meters b{display:block;color:yellow;margin-top:4px;font-size:22px}
.ba-gamble-buttons{display:flex;gap:6px;padding:0 8px 8px}.ba-gamble-buttons button{flex:1;border:3px ridge #f0eecb;border-radius:4px;padding:10px 4px;font:bold 16px Arial;cursor:pointer;color:#121212;background:linear-gradient(#fff,#999)}
.ba-gamble-buttons .red{background:linear-gradient(#ff5b60,#aa0000);color:white}.ba-gamble-buttons .black{background:linear-gradient(#555,#050505);color:white}
#baGambleCollect{background:linear-gradient(#a7e149,#4d7c0a);color:white}
#baBonus{width:min(740px,94vw);max-height:96vh;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;color:#ffc100;text-align:center}
#baBonus form{padding:100px 30px 0;background:none}
.ba-sign{position:relative;min-height:250px;padding:42px 22px;display:flex;flex-direction:column;justify-content:center;border:5px ridge #e3e5ce;background:#27c6eb;box-shadow:0 5px 12px #052c4244}
.ba-sign img{position:absolute;object-fit:contain;pointer-events:none}
.ba-sign-head{width:94px;height:111px;left:calc(50% - 47px);bottom:100%}
.ba-sign-left{width:30px;left:-15px;top:18%}.ba-sign-right{width:32px;right:-16px;top:18%}.ba-sign-feet{width:106px;left:calc(50% - 53px);top:calc(100% - 4px)}
#baBonus h2{margin:0;font:bold clamp(20px,3vw,30px)/1.15 Arial;text-shadow:none}
#baBonusAmount{font:bold clamp(28px,4vw,44px)/1.2 Arial;color:#ffc100;text-shadow:none;margin:8px 0}
#baBonus p{margin:0;font:bold 17px/1.3 Arial;color:#9b5400}
#baBonusContinue{display:inline-flex;align-items:center;gap:8px;margin-top:34px;padding:5px 22px;border:2px solid #b6daeb;background:#215675;color:#fff;border-radius:7px;font-size:16px}
#baBonusContinue img{width:45px;height:45px;object-fit:contain}
.ba-enabled .wins-showing:not(.lines-preview) #baFree:not([hidden]){visibility:visible;left:auto;right:4%;width:17%;height:13%;top:1.5%;z-index:7;gap:3px;padding:3px}
.ba-enabled .wins-showing #baFree strong{display:none}.ba-enabled .wins-showing #baFree span{font-size:clamp(8px,1vw,12px)}
.ba-enabled .bonus #baWinTitle{width:65%;left:5%}
@media(max-width:650px){#baGamble{font-size:11px}.ba-history-row{gap:6px}#baCardHistory{gap:3px}#baGamble .ba-color{font-size:13px}.ba-gamble-buttons button{font-size:12px;padding:7px 3px}.ba-gamble-meters b{font-size:18px}#baBonus form{padding:80px 20px 0}.ba-sign{min-height:200px;padding:28px 14px}.ba-sign-head{width:76px;height:90px;left:calc(50% - 38px)}#baBonus p{font-size:14px}#baMainWinActions{width:100%}#baMainWinActions button{flex:1}}
@media(max-height:580px){#baGamble{width:min(780px,90vw)}#baBonus form{padding-top:70px}.ba-sign{min-height:150px;padding:15px}.ba-sign-head{height:76px;width:64px;left:calc(50% - 32px)}#baBonusContinue{margin-top:24px}}
#baPaytable.ba-classic-paytable{width:min(940px,96vw);max-height:96vh;overflow:auto;padding:8px;border:5px ridge #ebce61;border-radius:0;background:#087bb7;color:#fff}
.ba-pay-heading{text-align:center;background:linear-gradient(#2f9bcc,#003b76);padding:6px 38px}
.ba-pay-heading img{width:47%;max-height:62px;object-fit:contain}.ba-pay-heading p{font:bold 12px/1.3 Arial;margin:3px 0;color:#ffffb8}
.ba-pay-art{position:relative;width:100%;aspect-ratio:4/3;background:url('img/novomatic_bananasgobahamas/paytable-original.webp') center/100% 100% no-repeat}
.ba-pay-number{position:absolute;transform:translate(-50%,-50%);font:bold clamp(10px,1.8vw,22px)/1 Arial;color:white;min-width:7%;text-align:center;font-variant-numeric:tabular-nums}
.ba-pay-number.doubled,.ba-pay-number[style*="left:59%"]{color:#151710}
.ba-pay-free{position:absolute;left:68%;top:85.5%;width:30%;color:#ffef36;text-align:center;font:bold clamp(9px,1.5vw,18px)/1.3 Arial}.ba-pay-free span{display:block;font-size:.7em;color:#fff}
.ba-pay-rules{font:12px/1.4 Arial;margin:7px 5px;text-align:center}
#baPaytable.ba-classic-paytable .ba-close{position:sticky;float:right;top:0;right:0;margin:0 0 -36px;z-index:4}
@media(max-width:500px){.ba-pay-heading{padding:3px 25px}.ba-pay-heading img{width:70%}.ba-pay-heading p,.ba-pay-rules{font-size:10px}.ba-pay-number{font-size:10px}.ba-pay-free{font-size:9px}}
