/* ZPLAYBET presentation. Existing controls, account forms and server data own behavior. */
html,body{max-width:100%;overflow-x:clip}
body:has(.player-header){--page:#0d1a2b;--panel:#00101d;--line:#233141;--green:#2cc354;background:#0d1a2b!important;color:#edf0f4;font-family:Arial,Helvetica,sans-serif}
body .cashback{height:44px;min-height:44px!important;display:flex;align-items:center;justify-content:center;gap:9px;background:#0d1a2b!important;color:#d5d9e1!important;font-size:14px!important;font-weight:400;border:0!important}
body .cashback svg{width:22px;height:22px;color:#2cc354}
body .player-header{height:53px!important;min-height:53px!important;padding:0 15px!important;gap:10px!important;background:#000c1a!important;border:0!important;box-shadow:none!important}
body .player-header>.icon-button{display:grid;place-items:center;width:28px!important;min-width:28px!important;min-height:44px!important;padding:0!important}
body .player-header>.icon-button svg{width:24px!important;height:24px!important}
body .site-brand.brand{display:inline-flex!important;align-items:center;justify-content:center;position:relative;font-size:0!important;flex-shrink:0;min-height:40px;max-width:none!important}
body .site-brand.brand:after,body .drawer-top .site-brand:after,body .player-dialog .site-brand.auth-brand:after{content:'ZPLAYBET'!important;font:italic 950 23px/1 Arial,Helvetica,sans-serif!important;letter-spacing:-1.5px!important;background:linear-gradient(130deg,#17e4ff 5%,#493fff 34%,#ed43e8 59%,#e8bbff 78%,#47ddf7)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;filter:drop-shadow(0 1px 0 #3a1d67)!important}
body .player-header .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px!important;min-width:0;margin-left:auto}
body .player-header .register-button,body .player-header .login-button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:33px!important;padding:7px 10px!important;font-size:11px!important;font-weight:600;letter-spacing:.5px;border-radius:6px!important;white-space:nowrap}
body .player-header .register-button{background:#2cc354!important;border:1px solid #2cc354!important;color:#f1f5f3!important}
body .player-header .login-button{background:transparent!important;border:1px solid #2ab957!important;color:#37cb69!important}
body .player-header .header-actions button svg{width:16px!important;height:16px!important}
body .signed-in-header .header-actions{gap:7px!important}
body .signed-in-header .header-actions>.icon-button{width:24px!important;min-width:24px!important;min-height:40px!important;padding:1px!important}
body .signed-in-header .header-actions>.icon-button svg{width:20px!important;height:20px!important}
body .signed-in-header .site-brand:after{font-size:20px!important;letter-spacing:-1.3px!important}
body .signed-in-header .header-actions .balance-chip{padding:9px 8px!important;min-width:0!important;min-height:35px!important;white-space:nowrap;font:400 12px Arial,sans-serif!important;background:#0d1a2b!important;border:0!important;border-radius:7px}
body .signed-in-header .balance-pill{padding:10px 8px!important;min-width:0!important;white-space:nowrap;font-size:12px!important;background:#0d1a2b!important;border-radius:7px}
body .sw-local-time{height:24px!important;background:#0d1a2b!important;color:#d6dae1!important;font-size:12px!important;font-weight:700}
body .player-main{background:#0d1a2b!important;max-width:1200px!important;margin:0 auto!important}
body .player-main:has(#sw-v116-games){padding:0 12px 86px!important;gap:10px!important}
body #sw-v116-games{background:#0d1a2b!important;padding:0 0 12px!important;width:100%;min-width:0}
body #sw-v116-games .collection-toolbar{margin:0 -12px 10px!important;background:#0d1a2b!important}
body #sw-v116-games .collection-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;background:#000c1a!important}
body #sw-v116-games .collection-tabs button{height:41px!important;min-height:41px!important;padding:10px 2px!important;border-radius:0!important;font-size:12px!important;font-weight:700;letter-spacing:0!important;text-transform:uppercase;color:#f3f5f8!important}
body #sw-v116-games .collection-tabs button[aria-pressed=true]{background:#202e41!important;color:#31c45f!important;border-bottom:2px solid #30c75d!important}
body #sw-v116-games .collection-search{margin:9px 12px 0!important;border:1px solid #23384b!important;background:#00121f!important;border-radius:6px!important;min-height:42px!important}
body #sw-v116-games .collection-search input{font-size:14px!important}
body #sw-v116-games .collection-count{font-size:11px!important;padding:8px 0!important;color:#71b18b!important;min-height:28px!important}
body #sw-v116-games .collection-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body #sw-v116-games .collection-card,body #sw-internal-games .sw-original-card{border:0!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden;background:#001522!important}
body #sw-v116-games .collection-card-open{padding:0!important;border:0!important;border-radius:12px!important;aspect-ratio:1.45!important;overflow:hidden;width:100%;display:block}
body #sw-v116-games .collection-card-open canvas{width:100%;height:100%;display:block;object-fit:cover}
body:has(.bottom-nav button:first-child.active) .player-main>.categories{gap:8px!important;padding:12px 0 0!important;background:#0d1a2b!important;scrollbar-width:none}
body:has(.bottom-nav button:first-child.active) .categories>button{flex:0 0 100px;min-height:90px!important;padding:12px 0 0!important;overflow:hidden;border:0!important;border-radius:9px!important;background:#0a1726!important;font-size:11px!important;font-weight:400!important;gap:12px}
body:has(.bottom-nav button:first-child.active) .categories>button>span{height:43px!important;width:44px!important;display:grid;place-items:center;background:transparent!important;border:0!important}
body:has(.bottom-nav button:first-child.active) .categories>button>span img{max-width:32px;max-height:32px;object-fit:contain}
body:has(.bottom-nav button:first-child.active) .categories>button>b{display:block;width:100%;padding:10px 4px;background:#071321;font-size:11px;font-weight:400;white-space:nowrap}
body:has(.bottom-nav button:first-child.active) .player-main>.sw-player-hero{aspect-ratio:1.58!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;background:#0d1a2b!important;box-shadow:none!important}
body:has(.bottom-nav button:first-child.active) .player-main>.sw-player-hero[data-zp-hero=ready]{background:#0d1a2b url('/zplaybet-v216/telegram-hero.webp?pv=236') center/contain no-repeat!important}
body .player-main>.sw-player-hero[data-zp-hero=ready]>img,body .player-main>.sw-player-hero[data-zp-hero=ready]>.sw-hero-copy{visibility:hidden!important}
body:has(.bottom-nav button:first-child.active) .deposit-actions{gap:12px!important;padding:16px 0 24px!important;margin:0!important}
body:has(.bottom-nav button:first-child.active) .deposit-actions>button{min-height:52px!important;font-size:17px!important;font-weight:700;border-radius:14px!important;background:linear-gradient(#23e75c,#13b644)!important;border:0!important;color:white!important;box-shadow:0 6px 17px #1bd64e21}
body:has(.bottom-nav button:first-child.active) .deposit-actions>button+button{background:#0d1a2b!important;border:2px solid #32d775!important;color:#39df7b!important;box-shadow:none!important}
body:has(.bottom-nav button:first-child.active) .rebrand-race{margin:0 -12px!important;width:calc(100% + 24px)!important;border-radius:0!important}
body .bottom-nav,#root .bottom-nav{height:64px!important;min-height:64px!important;padding:4px 0 max(4px,env(safe-area-inset-bottom))!important;background:#000c1a!important;border:0!important;box-shadow:none!important;z-index:100!important}
body .bottom-nav button,#root .bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px!important;border:0!important;border-radius:0!important;background:none!important;color:#f2f4f6!important;padding:5px 0!important;min-width:0;font-size:11px!important;font-weight:400;min-height:48px}
body .bottom-nav button.active,#root .bottom-nav button.active{color:#2cc354!important;border:0!important}
body .bottom-nav svg{width:24px!important;height:24px!important}
body .drawer-scrim,#root .drawer-scrim{position:fixed!important;inset:0!important;background:#000b!important;z-index:1000!important;overscroll-behavior:contain}
body .drawer-scrim>.drawer,#root .drawer-scrim>.drawer{width:min(90vw,390px)!important;max-width:90vw!important;height:100dvh;max-height:100dvh!important;padding:0 17px 28px!important;overflow-y:auto;background:#000f1d!important;color:#f4f5f7!important;border:0!important;box-shadow:10px 0 40px #0007!important;scrollbar-width:thin;scrollbar-color:#4a5b69 transparent}
body .drawer-top{height:63px!important;min-height:63px;display:flex;align-items:center;justify-content:space-between;margin:0!important;padding:0 5px;border-bottom:1px solid #22303c!important}
body .drawer>button{display:flex;align-items:center;gap:14px!important;width:100%;min-height:60px!important;margin:0!important;padding:16px 6px!important;background:none!important;border:0!important;border-bottom:1px solid #22303c!important;border-radius:0!important;font:400 14px/1.2 Arial,sans-serif!important;text-align:left;color:#f2f4f6!important}
body .drawer>button>svg:first-child{width:23px!important;height:23px!important;flex:0 0 23px}
body .drawer>button>svg:last-child:not(:first-child){display:none}
body .drawer>button[data-zp-badge]:after{content:attr(data-zp-badge);margin-left:0;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:9px;background:#8a16c6;color:white;font:700 10px Arial,sans-serif}
body .drawer>button[data-zp-badge=HOT]:after{background:#f00011}
body .drawer>button[data-zp-badge=TOP]:after{background:#5686f3}
body .drawer>button[data-zp-badge=NEW]:after{background:#ffd12a;color:#493d00}
body .player-dialog{box-sizing:border-box;max-width:min(100vw,480px)!important;max-height:100dvh!important;background:#0d1a2b!important;border-radius:0!important;border:0!important;color:#eff1f5!important;overflow:auto;overscroll-behavior:contain}
body .player-dialog:is(.dialog-login,.dialog-register){width:100%!important;padding:0 16px 20px!important;background:#2b2b39!important}
body .player-dialog:is(.dialog-login,.dialog-register) .dialog-title{min-height:51px;margin:0 -16px 16px!important;padding:12px 16px!important;border-bottom:1px solid #41414f!important;background:#292936!important}
body .player-dialog .dialog-title h2{font-size:13px!important;font-weight:400!important;letter-spacing:0!important}
body .player-dialog .auth-brand{margin:16px auto 24px!important;text-align:center;min-height:36px}
body .player-dialog .site-brand.auth-brand,body .drawer-top .site-brand{font-size:0!important}
body .player-dialog .site-brand.auth-brand:after{font-size:30px!important}
body .player-dialog .auth-form{padding:16px!important;gap:18px!important;margin:0!important;border:0!important;border-radius:16px!important;background:#373747!important}
body .player-dialog .field>span{font-size:12px!important;color:#d1d1d9!important}
body .player-dialog .field input,body .player-dialog .field select,body .player-dialog .phone-input{height:44px!important;min-height:44px!important;border:0!important;border-radius:4px!important;background:#2b2b39!important;color:#eeeef3!important;font-size:14px!important}
body .player-dialog .phone-input input{min-width:0!important}
body .player-dialog .auth-form>.green{min-height:45px!important;background:#2cc354!important;color:#f4f6f5!important;border:0!important;border-radius:5px!important;font-size:14px!important;font-weight:600!important;letter-spacing:1px}
body .player-dialog .terms{font-size:12px!important;line-height:1.55!important;gap:10px!important;color:#d3d3dc!important}
body .player-dialog .terms input{width:20px;height:20px;flex-shrink:0;accent-color:#2cc354}
body .player-dialog .auth-switch{font-size:13px!important;margin:0!important;padding-top:0!important;color:#d1d2d9!important}
body .player-dialog .auth-switch button{color:#31bb60!important}
body .collection-sheet{width:min(100vw,480px)!important;max-width:100vw!important;margin:auto auto 0!important;max-height:92dvh!important;background:#0d1a2b!important;border:0!important;border-radius:28px 28px 0 0!important;padding:0!important;box-shadow:0 -12px 45px #0005!important}
body .collection-sheet::backdrop{background:#000b}
body .collection-sheet-header{height:62px!important;background:#0d1a2b!important;border-bottom:1px solid #25313e!important}
body .collection-sheet-close{font-size:29px!important;color:#d5d8e0!important;background:none!important;border:0!important;min-height:44px;min-width:44px}
body .collection-sheet-handle{width:50px!important;height:3px!important;background:#44505e!important;top:15px!important}
body .collection-sheet-body{padding:17px 16px 24px!important}
body .collection-sheet-art{border-radius:12px!important;aspect-ratio:1.45!important}
body .collection-sheet-actions{gap:16px!important;margin:16px 0 28px!important}
body .collection-sheet-actions button{min-height:44px!important;border:0!important;border-radius:7px!important;background:#1b2838!important;color:#f5f6fa!important;font-size:14px!important}
body .collection-sheet-play{min-height:46px!important;border:0!important;background:#2cc354!important;border-radius:6px!important;color:#f5f7f6!important;font-size:16px!important;font-weight:600!important;letter-spacing:.7px}
body .player-dialog .profile-header,body .player-dialog .account-profile,body .player-dialog .account-wallet{background:#000f1c!important;border-radius:14px!important;border:0!important;padding:16px!important}
body .player-dialog .account-menu>button,body .player-dialog .account-menu summary{min-height:52px!important;border:0!important;border-bottom:1px solid #1a2835!important;background:#000f1c!important;color:#eef1f4!important;font-size:14px!important}
body .account-page{width:100%;max-width:480px;margin:0 auto;padding:12px 0;background:#0d1a2b!important;color:#eef1f4!important}
body .account-page>.player-panel{padding:16px!important;margin:0 0 12px!important;border:0!important;border-radius:15px!important;background:#000f1c!important;box-shadow:none!important}
body .account-page .account-id{display:flex;align-items:center;gap:13px;margin-bottom:13px}
body .account-page .account-id>b{font-size:16px;font-weight:700;overflow-wrap:anywhere}
body .account-page .profile-circle{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border:1px solid #3b4754;border-radius:50%;background:#0d1a2b}
body .account-page .profile-circle svg{width:20px;height:20px}
body .account-page .id-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#0d1a2b;border-radius:12px;min-height:44px;font-size:14px}
body .account-page .id-row>span{color:#7d8794}
body .account-page .id-row>b{margin-left:auto;font-weight:700}
body .account-page .id-row button{min-height:32px;min-width:30px;background:none!important;border:0!important;padding:0!important}
body .account-page .player-balance{font:700 32px/1.2 Arial,sans-serif!important;letter-spacing:.3px;margin-top:5px}
body .account-page .player-balance small{font:400 12px Arial,sans-serif!important;color:#86909c;margin-left:3px}
body .account-page .row.spread>div>label{font-size:12px;color:#8a939e}
body .account-page .row.spread>button{background:#0d1a2b!important;border:0!important;border-radius:12px;width:40px;height:40px;min-width:40px;color:#818e9b}
body .account-page .account-money{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #142333;margin-top:20px;padding-top:16px}
body .account-page .account-money>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px!important;border-radius:6px!important;font-size:14px!important;font-weight:600;letter-spacing:.5px}
body .account-page .account-money>.green{background:#2cc354!important;border:1px solid #2cc354!important;color:#ecf1ed!important}
body .account-page .account-money>.outline-green{background:#000f1c!important;border:1px solid #32b95b!important;color:#32bd5f!important}
body .account-page>.sw-account-links{padding:0!important;overflow:hidden}
body .account-page .sw-account-links>button,body .account-page .sw-account-group>button{display:flex;align-items:center;gap:11px;min-height:52px!important;width:100%;padding:14px 18px!important;border:0!important;border-bottom:1px solid #172635!important;border-radius:0!important;background:#000f1c!important;color:#edf0f3!important;font:400 13px Arial,sans-serif!important;text-align:left}
body .account-page .sw-account-links button>svg:first-child{width:19px;height:19px;flex:0 0 19px}
body .account-page .sw-account-links button>svg:last-child{margin-left:auto;width:18px;height:18px}
body .account-page .sw-account-submenu{padding:0 16px 9px 47px;background:#071826}
body .account-page .sw-account-submenu>button{display:block;width:100%;min-height:40px;border:0!important;background:none!important;color:#aebac6;font-size:12px;text-align:left;padding:9px 0}
@media(max-width:390px){body .signed-in-header{padding-inline:9px!important;gap:7px!important}body .signed-in-header .site-brand:after{font-size:18px!important;letter-spacing:-1.2px!important}body .signed-in-header .header-actions{gap:5px!important}body .signed-in-header .header-actions>.icon-button{min-width:20px!important;width:20px!important}body .signed-in-header .header-actions>.icon-button svg{width:18px!important;height:18px!important}body .signed-in-header .header-actions .balance-chip{font-size:11px!important;padding-inline:6px!important}}
/* One catalogue owns primary and existing internal games. */
body.zp-unified-gallery .player-main>.game-grid,body.zp-unified-gallery .player-main>.game-tabs,body.zp-unified-gallery #sw-internal-games{display:none!important}
body .zp-lobby-tools{display:flex;align-items:center;gap:8px;margin:8px 12px 0}
body #sw-v116-games .zp-lobby-tools .collection-search{margin:0!important;flex:1;min-width:0;display:flex;align-items:center;padding:0 10px;gap:9px}
body .zp-lobby-tools svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0}
body .zp-lobby-tools input{background:transparent;border:0;width:100%;min-width:0;color:#eaf0f4;min-height:40px;outline:none}
body .zp-filter-toggle{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #23384b;border-radius:6px;background:#00121f;color:#e8eef3}
body .zp-catalog-categories{display:flex;gap:8px;overflow-x:auto;padding:10px 12px 0;scrollbar-width:none}
body .zp-catalog-categories[hidden]{display:none!important}
body .zp-catalog-categories button{padding:8px 13px;min-height:36px;white-space:nowrap;border:1px solid #254053;border-radius:18px;background:#091b2c;color:#b8c6d0;font-size:12px}
body .zp-catalog-categories button[aria-pressed=true]{background:#163e2b;color:#4ddd83;border-color:#2da653}
body .collection-sheet .collection-sheet-favourite svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}
body .collection-sheet .collection-sheet-favourite[aria-pressed=true] svg{fill:#32c965;stroke:#32c965}
body .collection-sheet-play[aria-disabled]{opacity:.55;pointer-events:none}
body .zp-game-detail{padding:8px 0 16px;color:#b7c5ce;font-size:13px}
body .zp-game-detail[hidden]{display:none}
body .zp-sheet-status{font-size:12px;color:#87b99b;margin:8px 0 0}
@media(min-width:768px){body #sw-v116-games .collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Home composition no longer depends on a second injected catalogue. */
body:has(.bottom-nav button:first-child.active) .sw-local-time{display:none!important}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games){display:flex!important;flex-direction:column!important;align-items:stretch!important}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.categories{display:flex!important;order:0;overflow-x:auto;width:100%}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.sw-player-hero{display:block!important;order:1;width:100%;position:relative;overflow:hidden}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.deposit-actions{display:flex!important;order:2;width:100%}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.rebrand-race{display:block!important;order:3;position:relative;overflow:hidden}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.rebrand-race .race-banner{display:block;width:100%;height:auto}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>.home-slot-heading{display:flex!important;order:4;align-items:center;justify-content:space-between;width:100%}
body:has(.bottom-nav button:first-child.active) .player-main:has(#sw-v116-games)>#sw-v116-games{order:5}
body .collection-sheet-art[data-game=multi_hot_5_video]{display:block;aspect-ratio:5/7!important;width:61%!important;max-width:280px;margin-inline:auto}

/* One full-width collection; existing account and navigation handlers are retained. */
html body #sw-v116-games{width:100%!important;max-width:none!important;min-width:0!important;padding:0 0 84px!important;margin:0!important;grid-column:1/-1!important;box-sizing:border-box!important}
html body #sw-v116-games .collection-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:none!important;gap:8px!important;justify-content:stretch!important}
html body #sw-v116-games .collection-card,html body #sw-v116-games .collection-card-open{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;justify-self:stretch!important}
html body #sw-v116-games .collection-card-open{display:block!important;aspect-ratio:1.45!important;border-radius:14px!important}
html body #sw-v116-games canvas{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
html body[data-zp-collection=true] .player-main{display:block!important;width:100%!important;max-width:1100px!important;margin:auto!important;padding:0 12px 76px!important;box-sizing:border-box!important}
html body .player-header .site-brand.brand{display:block!important;position:relative!important;flex:0 0 76px!important;min-width:76px!important;width:76px!important;height:36px!important;min-height:36px!important;background:url('/zplaybet-v232/brand.webp?pv=236') center/contain no-repeat!important;color:transparent!important;font-size:0!important;visibility:visible!important;overflow:hidden!important}
html body .player-header .site-brand.brand::before,html body .player-header .site-brand.brand::after{display:none!important;content:none!important}
html body .player-header{height:53px!important;min-height:53px!important;padding-inline:12px!important;gap:8px!important}
html body .player-header .header-actions{gap:6px!important;min-width:0!important;margin-left:auto!important}
html body .player-header .login-button,html body .player-header .register-button{font-size:13px!important;padding:7px 11px!important;min-height:33px!important;border-radius:6px!important}
html body #root .drawer-scrim>.drawer{width:min(88vw,320px)!important;max-width:88vw!important;padding:0 12px 24px!important;background:#000c1a!important;box-sizing:border-box!important}
html body .drawer-top{height:52px!important;margin-bottom:2px!important}
html body .drawer-top .site-brand{width:112px!important;height:42px!important}
html body .drawer>button{min-height:39px!important;padding:10px 4px!important;font-size:11px!important;gap:11px!important;border-bottom:1px solid #18303f!important;line-height:18px!important}
html body .drawer>button>svg:first-child{width:17px!important;height:17px!important;flex:0 0 17px!important}
html body .drawer>button::after{font-size:8px!important;padding:2px 6px!important}
html body .account-page{max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere}
html body .account-page .account-id,html body .account-page .balance-card{min-width:0!important}
html body .bottom-nav{height:calc(67px + env(safe-area-inset-bottom))!important;min-height:67px!important;padding-bottom:env(safe-area-inset-bottom)!important}
html body .bottom-nav button{font-size:12px!important;gap:6px!important}
html body .bottom-nav svg{width:22px!important;height:22px!important}
@media(min-width:768px){html body #sw-v116-games .collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:340px){html body .player-header .site-brand.brand{flex-basis:62px!important;min-width:62px!important;width:62px!important}html body .player-header{gap:5px!important;padding-inline:7px!important}html body .player-header .login-button,html body .player-header .register-button{font-size:10px!important;padding-inline:6px!important}}

html body .drawer-top .site-brand::after,html body .player-dialog .site-brand.auth-brand::after{background-image:url("/zplaybet-v232/brand.webp?pv=236")!important}
/* Current collection owns its complete layout; earlier React game lists remain hidden. */
html body[data-zp-collection=true] .player-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-width:1100px!important;min-width:0!important;overflow:visible!important}
html body[data-zp-collection=true] #sw-v116-games{align-self:stretch!important;flex:0 0 auto!important;min-width:0!important}
html body.zp-unified-gallery .player-main>.game-grid,html body.zp-unified-gallery .player-main>.game-tabs,html body.zp-unified-gallery .player-main>.sw-game-chips,html body.zp-unified-gallery .player-main>.game-search,html body.zp-unified-gallery .player-main>.game-filter-panel,html body.zp-unified-gallery .player-main>.native-lobby,html body.zp-unified-gallery .player-main>.provider-lobby,html body.zp-unified-gallery #sw-internal-games,html body.zp-unified-gallery #sw-nine-games,html body.zp-unified-gallery .player-main>.slots-grid{display:none!important}
html body #sw-v116-games .collection-toolbar{display:block!important;width:auto!important;min-width:0!important;float:none!important}
html body #sw-v116-games .collection-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
html body #sw-v116-games .collection-tabs button{border:0;background:#000c1a;color:#f1f5f8}
html body #sw-v116-games .zp-lobby-tools{display:flex;align-items:center;gap:7px;margin:9px 12px 0}
html body #sw-v116-games .collection-search{display:flex;align-items:center;flex:1;min-width:0;padding:0 10px;gap:8px}
html body #sw-v116-games .collection-search svg,html body #sw-v116-games .zp-filter-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
html body #sw-v116-games .collection-search input{width:100%;min-width:0;height:40px;padding:6px 0;color:#edf3f6;background:transparent;border:0;outline:none}
html body #sw-v116-games .zp-filter-toggle{display:grid;place-items:center;min-width:42px;min-height:42px;border:1px solid #23384b;border-radius:6px;background:#00121f;color:#afc3cd}
html body #sw-v116-games .collection-count{font-size:11px;color:#80a69a;margin:0;padding:7px 0;line-height:1.3}
html body #sw-v116-games .zp-catalog-categories{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px}
html body #sw-v116-games .zp-catalog-categories[hidden],html body .zp-game-detail[hidden]{display:none!important}
html body #sw-v116-games .zp-catalog-categories button{min-height:36px;padding:5px 10px;border:1px solid #244839;border-radius:5px;background:#001b22;color:#cee1da}
html body #sw-v116-games .zp-catalog-categories button[aria-pressed=true]{color:#32d162;border-color:#32b95b}
html body #sw-v116-games .collection-card-open{background:#003e2b;overflow:hidden;border:0;cursor:pointer}
html body .collection-sheet .collection-sheet-art{display:block!important;width:100%!important;height:auto!important;max-height:52dvh;object-fit:contain!important;aspect-ratio:auto!important;margin:0 auto!important}
html body .collection-sheet .collection-sheet-art[data-game=multi_hot_5_video]{width:61%!important;max-width:260px!important;aspect-ratio:528/739!important}
html body .collection-sheet-header{position:relative;display:flex;justify-content:flex-end;align-items:center;padding:17px 12px 0}
html body .collection-sheet-handle{position:absolute;left:50%;transform:translateX(-50%)}
html body .collection-sheet-actions{display:grid;grid-template-columns:1fr 1fr}
html body .collection-sheet-play{display:grid;place-items:center;width:100%;text-decoration:none;text-align:center}
html body .collection-sheet-play[aria-disabled]{opacity:.55;cursor:default}
html body .zp-sheet-status{font:11px/1.5 Arial,sans-serif;color:#b2c3cd;margin:8px 0 0;text-align:center}
html body .player-main>.sw-player-hero[data-zp-hero=ready]{background:#0d1a2b url('/zplaybet-v232/reference-promo.webp?pv=236') center/contain no-repeat!important;aspect-ratio:945/558!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body .player-main>.sw-player-hero[data-zp-hero=ready]>*{visibility:hidden!important}
html body .drawer-top .site-brand,html body .player-dialog .site-brand.auth-brand{background:transparent url('/zplaybet-v232/brand.webp?pv=236') center/contain no-repeat!important;color:transparent!important;font-size:0!important}
html body .drawer-top .site-brand:before,html body .drawer-top .site-brand:after,html body .player-dialog .site-brand.auth-brand:before,html body .player-dialog .site-brand.auth-brand:after{display:none!important;content:none!important}
html body .drawer-top{position:sticky;top:0;z-index:1;background:#000c1a}
html body .drawer>button{min-height:44px!important;font-size:11px!important;line-height:18px!important;padding:11px 4px!important}
html body .drawer-scrim{touch-action:pan-y}
html body[data-zp-surface=home] .player-main>#sw-v116-games{order:5!important}
html body[data-zp-surface=home] .player-main>.categories{order:0!important}
html body[data-zp-surface=home] .player-main>.sw-player-hero{order:1!important}
html body[data-zp-surface=home] .player-main>.deposit-actions{order:2!important}
html body[data-zp-surface=home] .player-main>.rebrand-race{order:3!important}
html body .player-dialog{max-width:min(100vw,480px)!important;max-height:100dvh!important;overflow-y:auto!important}
html body .player-dialog input,html body .player-dialog select{max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:430px){html body .collection-sheet{width:100vw!important;border-radius:22px 22px 0 0!important}}
/* Earlier machine widgets are retired in every React surface, including embedded launches. */
html body .player-main .machine-stage,html body .player-main .sw-original-slot,html body .player-main .machine-reels,html body .player-main .slot-machine,html body .player-main .game-machine,html body .player-main .native-game-stage,html body .player-main .sw-service-section:has(.machine-stage),html body .player-main .sw-service-section:has(.slot-machine){display:none!important}
html body .collection-sheet .collection-sheet-art[data-game=multi_hot_5_video]{width:100%!important;max-width:none!important;aspect-ratio:1.45!important}

/* Reference palette and the surrounding website, using existing application controls. */
html body:has(.player-header){--page:#0d1a2b;--panel:#000c1a;--green:#2cc354;color:#e9edf2;background:var(--page)!important}
html body .cashback{background:#0d1a2b!important;gap:10px!important;font-size:14px!important}
html body .cashback>span:first-child{display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;border-radius:50%;background:#000c1a;color:#2cc354}
html body .sw-local-time{display:flex;align-items:center;justify-content:center;height:24px!important;min-height:24px;color:#d6dbe4!important;background:#0d1a2b!important;font-size:12px!important;letter-spacing:0}
html body .collection-card{border-radius:14px!important}
html body #sw-v116-games .collection-card-open{border-radius:14px!important}
html body #sw-v116-games .collection-count{color:#a0b0bd!important}
html body #sw-v116-games .collection-search:focus-within{border-color:#2cc354!important;box-shadow:0 0 0 1px #2cc35455}
html body .collection-sheet{background:#0d1a2b!important}
html body .collection-sheet-header{background:#0d1a2b!important;border-color:#223144!important}
html body .collection-sheet-actions button{background:#1a2839!important;border-radius:6px!important}
html body .collection-sheet-play{background:#2cc354!important}
html body .player-main:has(#sw-v116-games){padding-bottom:calc(79px + env(safe-area-inset-bottom))!important}
html body #sw-v116-games{padding-bottom:12px!important}
html body[data-zp-surface=home] .player-main>.home-slot-heading{order:4!important;display:flex!important;align-items:center;justify-content:space-between;width:100%;gap:12px;padding:2px 0 8px}
html body[data-zp-surface=home] .home-slot-heading h2{font-size:18px;color:#edf0f5;margin:0}
html body[data-zp-surface=home] .home-slot-heading button{min-height:36px;background:transparent!important;color:#2cc354!important;border:0!important;font-size:12px}
html body[data-zp-surface=home] #sw-v116-games .collection-toolbar{display:none!important}
html body[data-zp-surface=home] #sw-v116-games .collection-count:not([data-empty=true]){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);padding:0!important}
html body .rebrand-race{background:#000c1a!important;overflow:hidden;position:relative}
html body .rebrand-race>span{display:none!important}
html body .drawer>button.selected{background:#15273a!important;color:#2cc354!important}
html body .player-header .deposit-shortcut{background:#101d2d!important;color:#2cc354!important;border-radius:6px!important}
html body .player-dialog .field input:focus-visible,html body .player-dialog .phone-input:focus-within{outline:2px solid #2cc354!important;outline-offset:1px}
@media(max-width:350px){html body .player-header .login-button,html body .player-header .register-button{font-size:11px!important;padding-inline:8px!important}html body .bottom-nav button{font-size:11px!important}}

/* Use the exact visible source rectangle without stale page chrome or a blank band. */
html body #sw-v116-games .collection-card-open{aspect-ratio:var(--cover-aspect,1.45)!important}
html body #sw-v116-games .collection-card{align-self:start!important}
html body #root .bottom-nav{height:calc(67px + env(safe-area-inset-bottom,0px))!important;min-height:67px!important;padding:4px 0 env(safe-area-inset-bottom,0px)!important}
html body #root .bottom-nav button{font-size:12px!important;gap:6px!important;min-height:54px!important}
html body #root .bottom-nav svg{width:22px!important;height:22px!important}
html body .collection-sheet{color:#edf0f4!important}
html body .collection-sheet:focus{outline:none}
html body .collection-sheet .sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
html body .collection-sheet-actions button{display:grid!important;place-items:center!important;width:100%!important;padding:8px!important;text-align:center!important}
html body .collection-sheet .collection-sheet-art{max-height:none!important}
html body .player-dialog .auth-brand{display:block!important;width:112px!important;height:48px!important;min-height:48px!important;flex-shrink:0}
html body .player-dialog .auth-form{min-width:0!important}
html body .player-dialog .phone-input{display:flex!important;align-items:center!important}
html body .player-dialog .phone-input>span{flex:0 0 auto;white-space:nowrap}
html body .player-dialog .phone-input>input{flex:1 1 0!important;width:0!important;min-width:0!important}
html body .player-dialog .terms input[type=checkbox]{height:20px!important;min-height:20px!important;width:20px!important;flex:0 0 20px}
/* Match the compact reference lobby; search expands only when requested. */
html body #sw-v116-games .collection-toolbar{position:relative}
html body #sw-v116-games .zp-lobby-tools[hidden]{display:none!important}
html body #sw-v116-games .zp-tools-toggle{position:absolute;right:7px;top:4px;display:grid;place-items:center;width:32px;height:33px;padding:7px;border:0;border-radius:5px;background:transparent;color:#afbfcd}
html body #sw-v116-games .zp-tools-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
html body #sw-v116-games .zp-tools-toggle[aria-expanded=true]{color:#2cc354;background:#1b2c3d}
html body #sw-v116-games .collection-count:not([data-empty=true]):not([data-filtered=true]){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
/* Modal content must sit above the fixed navigation on every viewport. */
html body #root .app.player .modal-backdrop{z-index:1200!important}
html body #root .app.player .modal-backdrop.player-full{inset:0!important;padding:0!important;height:100dvh!important;max-height:100dvh!important;align-items:stretch!important}
html body #root .app.player .modal-backdrop.player-full>.player-dialog{height:100dvh!important;max-height:100dvh!important;margin:0!important;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))!important}
html body .player-dialog .auth-brand{mix-blend-mode:lighten}
html body .player-dialog .terms input[type=checkbox]{appearance:none;-webkit-appearance:none;border:1px solid #7e7e8c!important;border-radius:3px!important;background:transparent!important;display:grid;place-items:center;cursor:pointer}
html body .player-dialog .terms input[type=checkbox]:checked{background:#2cc354!important;border-color:#2cc354!important}
html body .player-dialog .terms input[type=checkbox]:checked::after{content:'✓';font:bold 16px/1 Arial,sans-serif;color:white}
