body:has(.original-game){overflow:hidden;background:#000}.original-game{width:100vw;height:100dvh;max-width:none;padding:0;display:grid;place-items:center;background:#000}.game-stage{width:1402px;height:701px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--game-scale,1));transform-origin:center;background:url('/assets/game.jpg.webp') center/100% 100% no-repeat;font-family:Arial,Helvetica,sans-serif;color:#fff;overflow:hidden}.original-logo{position:absolute;left:512px;top:0;width:377px;height:86px}.original-reels{position:absolute;left:292px;top:98px;width:824px;height:456px;display:flex;gap:16px}.original-reel{width:152px;height:456px;flex:0 0 152px;overflow:hidden;background:#0b0620}.reel-strip{width:152px}.original-cell{width:152px;height:152px;position:relative}.original-symbol{display:block;width:152px;height:152px}.original-reels.behind-overlay{visibility:hidden}.original-deck{position:absolute;left:315px;top:573px;display:flex;gap:8px;height:92px;align-items:stretch}.original-button{position:relative;width:92px;flex-shrink:0;border:2px solid #cd934e;border-radius:9px;background:linear-gradient(#350804,#270500 50%,#210300);box-shadow:inset 0 0 0 3px #663720,0 0 2px #ffc78d;color:#ffdf57;font-size:16px;line-height:1.28;text-align:center;padding:4px 6px;font-weight:bold;text-shadow:0 1px 2px #000}.original-button:hover{background:linear-gradient(#59120a,#390700)}.original-button b{display:block;font-size:20px;color:#fff;margin-top:5px}.original-button img{display:block;width:46px;height:auto;margin:6px auto 0}.original-meter{width:380px;height:92px;border:2px solid #cd934e;border-radius:9px;box-shadow:inset 0 0 0 3px #663720,0 0 2px #ffc78d;background:linear-gradient(#340600,#210400);text-align:center;overflow:hidden}.original-meter #result{height:59px;padding:12px 10px 4px;border-bottom:1px solid #62372b;font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e6d5c5;line-height:34px;font-weight:400}.balance-meter{font-size:18px;font-weight:bold;height:28px;line-height:26px}.original-spin,.original-total{position:absolute;left:1074px;width:152px;height:152px;border:2px solid #98992c;border-radius:50%;background:#16061f91;box-shadow:0 0 0 2px #1a091d;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0;font-weight:bold;color:#e5e85f;text-shadow:1px 1px #000}.original-spin{top:234px}.original-spin img{width:110px;height:104px;filter:sepia(1) saturate(5) hue-rotate(25deg) brightness(1.12)}.original-spin span{position:absolute;left:0;top:65px;width:100%;font-size:14px;color:#a7dd45}.original-spin:hover{background:#190b1ebd;filter:brightness(1.15)}.original-spin:disabled{opacity:.6;cursor:wait}.original-total{top:425px;width:142px;height:142px;left:1079px;font-size:14px;line-height:1.35;color:#fff}.original-total b{display:block;color:#ffe35d;font-size:22px}.original-total:hover{background:#34123fba}.line-markers{position:absolute;top:0;left:222px;width:50px;height:560px;pointer-events:none}.line-markers.right{left:1132px}.line-marker{position:absolute;left:0;width:50px;height:36px;border:2px solid #786947;border-radius:0;color:#100e16;font-size:24px;line-height:30px;font-weight:bold;padding:0;box-shadow:0 3px 3px #000a;pointer-events:auto}.line-4{top:130px;background:linear-gradient(#ffff72,#dbd35b)}.line-2{top:174px;background:linear-gradient(#eb8a82,#be5f61)}.line-1{top:304px;background:linear-gradient(#95cbff,#63a5ec)}.line-3{top:438px;background:linear-gradient(#b5e46c,#77b541)}.line-5{top:482px;background:linear-gradient(#f69ed5,#d27cbd)}.payline-drawing{position:absolute;inset:0;width:1402px;height:701px;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-overlay{position:absolute;left:280px;top:84px;width:844px;height:485px;background:url('/assets/border.png.webp') center/100% 100% no-repeat;text-align:center;padding:35px;color:#ffe266;z-index:5;font-size:20px}.game-overlay[hidden]{display:none}.game-overlay h2,.menu-heading{font-size:30px;color:#ffe66a;letter-spacing:1px;margin:5px 0 25px}.game-close{position:absolute;bottom:12px;left:calc(50% - 25px);width:50px;height:50px;padding:4px;background:#29040d;border:1px solid #9b6f31}.game-close img{width:40px;height:40px}.original-menu-items{display:flex;justify-content:center;gap:15px;margin-top:75px}.original-menu-items button{background:#290511;border:2px solid #b98e47;color:#ffe266;width:165px;height:145px;padding:10px;font-size:17px}.original-menu-items img{display:block;margin:10px auto 20px;width:42px;height:42px;object-fit:contain}.game-overlay .game-help-text{font-size:17px;color:#e5cbbe;margin:25px 0}.game-overlay .account-name{font-size:36px;color:#fff}.overlay-action,.bet-options button{background:#33070c;border:2px solid #c29345;color:#ffe266;min-width:125px;padding:15px}.bet-options{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;max-width:650px;margin:36px auto}.bet-options .chosen{background:#7c2720}.original-paytable-art{position:absolute;inset:0;width:844px;height:485px}.pay-values,.scatter-values{position:absolute;display:grid;grid-template-rows:repeat(3,33px);font-size:21px;font-weight:bold;color:#ffff60;text-align:center;width:95px;line-height:33px;text-shadow:0 0 2px #777}.pay-seven{grid-template-rows:repeat(3,43px);line-height:43px;width:140px;font-size:26px}.scatter-values{left:427px;top:364px;line-height:33px}.paytable-caption{position:absolute;left:120px;bottom:7px;font-size:12px;color:#ffff60}.game-overlay:has(.original-paytable-art) .game-close{left:815px;top:0;bottom:auto;width:29px;height:29px;padding:2px;background:#300512}.game-overlay:has(.original-paytable-art) .game-close img{width:22px;height:22px}.line-cards{display:flex;gap:12px;margin-top:70px}.line-cards button{background:#20061d;border:1px solid #aa713e;color:#ffe66a;padding:10px;width:145px}.line-cards svg{display:block;width:120px;height:80px;margin-top:15px}.rolling-strip img{width:152px;height:152px;display:block}.rolling-strip{animation:reel-roll .4s linear infinite;filter:blur(2px)}@keyframes reel-roll{from{transform:translateY(-1216px)}to{transform:translateY(0)}}.sprite-winning>.original-symbol{visibility:hidden}.win-animation{position:absolute;inset:0;background-size:700% 200%;background-repeat:no-repeat;animation:symbol-win .65s steps(1,end) infinite}.original-cell.sprite-winning{box-shadow:inset 0 0 0 3px #edcb55}@keyframes symbol-win{0%{background-position:0% 0%}14.285%{background-position:16.6667% 0%}28.57%{background-position:33.3333% 0%}42.855%{background-position:50% 0%}57.14%{background-position:66.6667% 0%}71.425%{background-position:83.3333% 0%}85.71%{background-position:100% 0%}}@media(prefers-reduced-motion:reduce){.rolling-strip,.win-animation{animation:none}.rolling-strip{filter:none}}

.original-menu-items{gap:12px}.original-menu-items button{width:132px}.audio-volume-label{display:block;margin:25px auto 12px;color:#ffdf65;font-size:20px}.game-overlay #audio-volume{display:block;width:420px;margin:0 auto;accent-color:#f8d04d}
/* Reference menu, settings and three-page information panel. */
.menu-shade{position:absolute;inset:0;z-index:20;border:0;border-radius:0;background:#0003;backdrop-filter:grayscale(1);width:100%;height:100%;padding:0}.reference-menu{position:absolute;left:315px;top:335px;width:370px;z-index:21;display:grid;gap:8px;padding:10px 7px;background:#000e;border-radius:7px}.reference-menu button{display:flex;align-items:center;gap:14px;width:100%;height:64px;padding:8px 13px;border:2px solid #af9439;border-radius:8px;background:#050505e8;color:#ffe54c;font-weight:400;font-size:29px;text-align:left;white-space:nowrap}.reference-menu img{width:29px;height:29px;object-fit:contain}.reference-menu button:hover{background:#282316}.reference-settings{left:340px;top:64px;width:722px;height:552px;padding:25px 28px;background:#000e;border:1px solid #333;border-radius:7px;color:#fff;text-align:left;font-size:19px}.settings-title{font-size:24px;font-weight:bold;padding:0 0 17px;border-bottom:1px solid #333}.reference-settings .game-close{top:16px;right:18px;left:auto;bottom:auto;border:none;background:none}.reference-settings .game-close img{width:35px;height:35px}.settings-sound{display:flex;align-items:center;justify-content:space-between;margin:22px 0 0}.sound-choices{display:flex;gap:45px}.sound-choices>div{text-align:center;width:105px}.sound-choices button{width:92px;height:92px;border:2px solid #b89c34;border-radius:7px;background:#000b;padding:20px;display:grid;place-items:center}.sound-choices button.chosen,.layout-choices .chosen{background:#ffffff25}.sound-choices img{width:43px;height:33px;object-fit:contain}.sound-choices span{display:block;font-size:13px;font-weight:bold;white-space:nowrap;margin-top:10px}.settings-volume{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:14px;height:22px}.settings-volume label{margin:0;color:#aaa;font-size:13px}.settings-volume input{width:380px;padding:0;height:10px;accent-color:#dfc64c}.settings-gamble{display:flex;align-items:center;justify-content:space-between;margin-top:25px}.settings-gamble button{padding:0;border:0;border-radius:5px;background:transparent}.settings-gamble img{display:block;width:130px;height:68px;image-rendering:auto}.settings-preference{font-size:19px;font-weight:bold;margin:21px 0 16px}.layout-choices{display:flex;justify-content:space-between}.layout-choices button{width:228px;height:133px;border:2px solid #c6aa3f;background:#0009;border-radius:8px;padding:8px}.layout-choices img{width:204px;height:115px;object-fit:contain}.reference-info{padding:0}.reference-info .info-heading{font-size:42px;margin:20px 0 30px;font-weight:bold;color:#ffff4b}.reference-info .win-lines-heading{margin-top:90px}.reference-line-cards{display:flex;justify-content:center;gap:20px;margin-top:65px}.reference-line-cards button{width:110px;background:none;padding:0;border:0;border-radius:0;color:#ffff53;font-size:16px}.reference-line-cards svg{width:110px;height:65px;display:block;margin-bottom:6px}.reference-rules{font-size:19px;line-height:1.22;font-weight:bold;margin:18px 55px;color:#ffff4b}.info-dots{position:absolute;bottom:14px;left:0;width:100%;display:flex;gap:20px;justify-content:center}.info-dots button{width:10px;height:10px;border:1px solid #777;border-radius:50%;padding:0;background:#ddd;min-width:0}.info-dots .selected{transform:scale(1.3);background:#fff}.paytable-nav{position:absolute;left:515px;top:573px;width:380px;height:92px;display:none;gap:4px;z-index:9}.paytable-nav button{display:grid;place-items:center;width:124px;border:2px solid #cd934e;border-radius:9px;background:linear-gradient(#350804,#210300);box-shadow:inset 0 0 0 3px #663720}.paytable-nav img{width:25px;height:32px;object-fit:contain}.paytable-nav #info-close img{width:42px;height:42px}.info-open .paytable-nav{display:flex}.info-open .original-meter{visibility:hidden}.cherry-two-label{position:absolute;left:656px;top:435px;color:#bbc5ff;font-size:24px;font-weight:bold;text-shadow:2px 2px #2b126c}.cherry-two-value{position:absolute;left:717px;top:435px;width:95px;color:#ffff60;font-size:21px;font-weight:bold}.reference-info .scatter-values{top:350px}.reference-info .paytable-caption{left:145px}.original-spin img{filter:sepia(1) saturate(10) hue-rotate(45deg) brightness(1.12)}.controls-left .original-spin{left:175px}.controls-left .original-total{left:180px}.rolling-strip{animation-duration:.6666667s}.reel-settling .reel-strip{animation:reel-settle .18s ease-out both}@keyframes reel-settle{0%{transform:translateY(-152px)}70%{transform:translateY(10px)}100%{transform:translateY(0)}}.original-meter{position:relative}.win-actions{position:absolute;left:0;right:0;top:0;height:59px;display:flex;background:#210400;z-index:2;padding:5px;gap:5px}.win-actions[hidden]{display:none}.win-actions button{flex:1;background:transparent;border:1px solid #a98837;color:#ffe057;padding:4px 8px;font-size:20px}.player-lobby{width:100vw;height:100dvh;background:linear-gradient(#a61c0c 0,#320525 40%,#15071a);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:30px}.player-lobby>img{width:377px;max-width:80vw}.player-lobby section{text-align:center;background:#080108aa;border:1px solid #a38332;padding:35px;border-radius:9px;max-width:95vw}.player-lobby h1{font-size:25px}.player-lobby p{font-size:23px;color:#ffe16a}.player-lobby button{margin:6px;min-width:130px}.reference-gamble{background:url('/assets/gamble.png.webp') center/100% 100%;padding:22px}.gamble-title{font-size:30px;margin:5px}.gamble-amount{position:absolute;left:50px;top:130px;width:245px;display:grid;gap:12px;font-weight:bold;font-size:18px}.gamble-amount b{font-size:30px}.gamble-card{position:absolute;left:350px;top:105px;width:144px;height:205px;background:url('/assets/gamble_card.png.webp') 0 0/600% 100%;border-radius:6px}.gamble-colors{position:absolute;right:60px;top:150px;display:grid;gap:20px}.gamble-colors button{width:150px;height:65px;font-size:25px;border:2px solid #e3c962;color:white;background:#b80d14}.gamble-colors button[data-color="black"]{background:#050505}.gamble-message{position:absolute;bottom:105px;left:0;width:100%;font-size:24px;font-weight:bold;color:#ffe864}.gamble-collect{position:absolute;bottom:24px;left:320px;width:200px}.original-game button:focus-visible{outline:3px solid white;outline-offset:3px}@media(prefers-reduced-motion:reduce){.reel-settling .reel-strip{animation:none}}
.reference-menu img,.sound-choices img,.reference-settings .game-close img,.paytable-nav img{filter:brightness(0) saturate(100%) invert(88%) sepia(88%) saturate(703%) hue-rotate(348deg)}.game-stage:has(.reference-settings:not([hidden]))::after{content:'';position:absolute;inset:0;background:#0005;pointer-events:none;z-index:3}.game-stage:has(.reference-settings:not([hidden])) .original-reels.behind-overlay{visibility:visible}.reference-settings{background:#000e}.settings-gamble{margin-top:32px}.settings-gamble #gambling-toggle{position:relative;display:flex;align-items:center;justify-content:space-around;width:130px;height:64px;border:2px solid #578c29;border-radius:7px;padding:3px;background:#061100;color:#fff;font-size:16px;font-weight:bold}.switch-thumb{display:block;height:54px;width:54px;background:#7ddd38;border-radius:4px;box-shadow:inset 0 0 4px #38671a}.settings-gamble #gambling-toggle[aria-pressed="false"]{border-color:#555;background:#111}.settings-gamble #gambling-toggle[aria-pressed="false"] .switch-thumb{background:#666}.reference-info .scatter-values{left:400px}.cherry-two-value{left:694px}

.game-stage:has(.reference-gamble:not([hidden])) .win-actions{display:none}.win-animation{animation-name:full-symbol-win;animation-duration:.7s}
@keyframes full-symbol-win{0.00000%{background-position:0.00000% 0%}7.14286%{background-position:16.66667% 0%}14.28571%{background-position:33.33333% 0%}21.42857%{background-position:50.00000% 0%}28.57143%{background-position:66.66667% 0%}35.71429%{background-position:83.33333% 0%}42.85714%{background-position:100.00000% 0%}50.00000%{background-position:0.00000% 100%}57.14286%{background-position:16.66667% 100%}64.28571%{background-position:33.33333% 100%}71.42857%{background-position:50.00000% 100%}78.57143%{background-position:66.66667% 100%}85.71429%{background-position:83.33333% 100%}92.85714%{background-position:100.00000% 100%}}
/* Gamble layout measured from the original game's open gamble screen. */
.reference-gamble{padding:0}.gamble-currency{position:absolute;top:20px;left:0;right:0;text-align:center;color:#ffff60;font-size:13px;font-weight:bold}.gamble-amount{left:44px;top:60px;width:430px;display:grid;gap:5px;text-align:left;font-size:23px}.gamble-amount>div{display:flex;align-items:baseline;gap:14px;line-height:32px;white-space:nowrap}.gamble-amount span{color:#fff}.gamble-amount b{color:#ffff60;font-size:25px}.gamble-history{position:absolute;left:510px;top:60px;display:flex;gap:8px}.gamble-history-card{width:50px;height:72px;display:block;background:url('/assets/gamble_card.png.webp') 0 0/600% 100%;border-radius:2px}.gamble-history-label{position:absolute;right:50px;top:142px;font-size:20px;font-weight:bold;color:white}.reference-gamble .gamble-card{left:353px;top:164px;width:144px;height:205px}.gamble-colors{left:0;right:0;top:209px;display:block}.gamble-colors button{position:absolute;width:240px;height:107.5px;border:0;border-radius:0;padding:0;background-image:url('/assets/b_gamble_red.png.webp');background-size:100% 400%;background-position:0 33.333333%;background-color:transparent;color:#fff;font-size:30px;line-height:107px;text-shadow:none;box-shadow:none}.gamble-colors button[data-color="red"]{left:68px}.gamble-colors button[data-color="black"]{left:535px;background-image:url('/assets/b_gamble_black.png.webp');background-color:transparent}.gamble-colors button:hover{filter:none;background-position:0 100%}.gamble-colors button:active{background-position:0 66.666667%}.gamble-colors button:disabled{background-position:0 0;opacity:1;cursor:wait}.gamble-message{top:407px;bottom:auto;left:45px;width:754px;text-align:center;font-size:21px;font-weight:bold;line-height:30px;color:#fff}.original-spin.collect-win img{display:none}.original-spin.collect-win span{top:61px;font-size:30px;color:#8de941}.original-total.gamble-choice>span{color:#ffff60;font-size:27px}.original-total b[hidden]{display:none}.original-meter .win-actions{display:none}.has-win .original-meter #result{color:#87f04e;font-weight:bold;font-size:29px}.has-win .original-cell:not(.sprite-winning){filter:brightness(.5)}
.original-spin,.original-total{z-index:6}.gamble-colors button[data-color="black"]{background-size:100% 400%;background-position:0 33.333333%}.gamble-colors button[data-color="black"]:hover{background-position:0 100%}.gamble-colors button[data-color="black"]:active{background-position:0 66.666667%}.gamble-colors button[data-color="black"]:disabled{background-position:0 0}
/* Confirmed against the user-recorded loss sequence and original timing constants. */
.gamble-card:not(.flipping):not(.revealed){animation:gamble-card-backs .2s steps(1,end) infinite}@keyframes gamble-card-backs{0%{background-position:0% 0%}50%{background-position:20% 0%}}.gamble-card.flipping,.gamble-card.revealed{animation:none}.gamble-lost .gamble-amount,.gamble-lost .gamble-currency,.gamble-lost .gamble-message{visibility:hidden}.gamble-pending .original-spin.collect-win span{color:#858585}.gamble-pending .original-button{color:#888;filter:grayscale(1)}.gamble-colors button.chosen-color:disabled,.gamble-colors button[data-color="black"].chosen-color:disabled{background-position:0 66.666667%}.gamble-history{width:282px;overflow:hidden}.gamble-history-card{flex:0 0 50px}.reference-gamble .gamble-card{will-change:transform}
.original-spin.fast-stoppable img{display:block;width:47px;height:51px;filter:sepia(1) saturate(10) hue-rotate(45deg) brightness(1.12)}.original-spin.fast-stoppable span{display:none}.original-spin.fast-stoppable:disabled{opacity:.6}.original-cell.sprite-winning{box-shadow:none}.original-cell.win-current{box-shadow:inset 0 0 0 3px var(--win-color,#ffff53)}.win-presentation .original-cell:not(.sprite-winning){filter:brightness(.5)}.winner-paid .original-meter #result{color:#8bed4b;font-size:27px;font-weight:bold}
.original-cell.win-current::after{content:'';position:absolute;inset:0;border:3px solid var(--win-color,#ffff53);z-index:2;pointer-events:none}
.payline-drawing{z-index:3}

/* Controls and bet panel observed in the reference demo. */
.controls-left .original-deck{flex-direction:row-reverse}.controls-left .reference-menu{left:715px}.controls-left .original-spin{left:160px}.controls-left .original-total{left:165px}
.settings-gamble #gambling-toggle[aria-pressed="false"]{flex-direction:row-reverse;border-color:#a99437;background:#100e00}.settings-gamble #gambling-toggle[aria-pressed="false"] .switch-thumb{background:#dcc64c;box-shadow:inset 0 0 4px #87732a}
.reference-bets{left:272px;top:91px;width:858px;height:432px;padding:25px 24px;background:#080808ed;border:1px solid #333;border-radius:7px;text-align:left}.reference-bets h2{font-size:25px;color:#fff;margin:0 0 56px;letter-spacing:0}.reference-bets .game-close{top:18px;right:18px;left:auto;bottom:auto;width:36px;height:36px;border:0;background:none;padding:0}.reference-bets .game-close img{width:32px;height:32px;filter:brightness(0) saturate(100%) invert(88%) sepia(88%) saturate(703%) hue-rotate(348deg)}.reference-bets .bet-options{display:grid;grid-template-columns:repeat(6,1fr);gap:17px;margin:0;max-width:none}.reference-bets .bet-options button{min-width:0;height:61px;padding:8px 3px;background:#0008;border:2px solid #9c8a33;border-radius:7px;color:#fff;font-size:22px;font-weight:bold}.reference-bets .bet-options button.chosen{background:#e6cf56;color:#0a0903}.bet-picker-footer{display:flex;justify-content:space-between;border-top:1px solid #555;margin-top:29px;padding-top:18px;font-size:18px;font-weight:bold;color:#fff}
/* Idle START artwork breathes while the button is ready for another spin. */
.original-spin:not(.collect-win):not(.fast-stoppable):enabled img,
.original-spin:not(.collect-win):not(.fast-stoppable):enabled span{animation:start-button-pulse 1s ease-in-out infinite;transform-origin:center}
@keyframes start-button-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.95)}}
.game-stage:has(.game-overlay:not([hidden])) .original-spin img,
.game-stage:has(.game-overlay:not([hidden])) .original-spin span,
.game-stage:has(.menu-shade) .original-spin img,
.game-stage:has(.menu-shade) .original-spin span{animation:none}
@media(prefers-reduced-motion:reduce){.original-spin img,.original-spin span{animation:none!important}}

.reference-bets .bet-options{max-height:219px;overflow-y:auto;scrollbar-color:#b89c34 #111;scrollbar-width:thin}
