/* Matka Jhatka 1.10.8 — professional saffron/onyx theme layer.
 * Loaded last so the complete player portal, lobby, wallet, menus, and games
 * inherit a unified Matka Jhatka visual identity without changing backend IDs.
 */
:root{
  --mj-onyx:#07040a;
  --mj-ink:#100711;
  --mj-burgundy:#390713;
  --mj-maroon:#65101f;
  --mj-red:#b91c35;
  --mj-saffron:#f8bd3a;
  --mj-gold:#ffe49a;
  --mj-rose:#ff536b;
  --mj-lime:#21d184;
  --mj-cream:#fff3d1;
  --mj-text:#fff9e8;
  --mj-muted:#d3b9a2;
  --mj-card:rgba(255,243,209,.08);
  --mj-border:rgba(255,219,130,.22);
  --mj-shadow:0 30px 92px rgba(0,0,0,.54);
  --bg:var(--mj-onyx);
  --bg2:var(--mj-ink);
  --card:var(--mj-card);
  --card2:rgba(255,243,209,.13);
  --border:var(--mj-border);
  --gold:var(--mj-saffron);
  --gold2:var(--mj-gold);
  --emerald:var(--mj-lime);
  --purple:var(--mj-red);
  --text:var(--mj-text);
  --muted:var(--mj-muted);
  --muted2:#f5e4c6;
  --head:Inter,Manrope,Satoshi,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

html{background:var(--mj-onyx)}
body{
  background:
    radial-gradient(circle at 18% -12%,rgba(248,189,58,.24),transparent 33rem),
    radial-gradient(circle at 86% 6%,rgba(255,83,107,.18),transparent 32rem),
    radial-gradient(circle at 52% 112%,rgba(33,209,132,.13),transparent 30rem),
    linear-gradient(145deg,#07040a 0,#160710 46%,#07040a 100%)!important;
  color:var(--mj-text);
}
body:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.14;
  background-image:
    linear-gradient(45deg,rgba(255,228,154,.1) 25%,transparent 25%,transparent 75%,rgba(255,228,154,.1) 75%),
    linear-gradient(45deg,rgba(255,228,154,.1) 25%,transparent 25%,transparent 75%,rgba(255,228,154,.1) 75%);
  background-position:0 0,18px 18px;background-size:36px 36px;
}
body:after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(circle at 50% 18%,#000 0,transparent 70%)}

/* Public website shell */
.rs-top-banner{background:linear-gradient(90deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#26070d!important;border:0!important;font-weight:950;letter-spacing:.01em}.rs-top-banner span[aria-hidden]{color:#7d101d}
.rs-site-header{background:rgba(9,4,10,.88)!important;border-bottom:1px solid rgba(255,228,154,.2)!important;box-shadow:0 16px 38px rgba(0,0,0,.36)!important}.rs-site-header:before{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,#f8bd3a,#ff536b,transparent)}
.rs-brand-mark,.rs-auth-logo,.rs-lobby-brand>span{border-radius:16px!important;background:linear-gradient(145deg,#ffe49a 0,#f8bd3a 42%,#b91c35 100%)!important;color:#23070d!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 12px 32px rgba(248,189,58,.22),inset 0 1px 0 rgba(255,255,255,.45)!important;letter-spacing:.05em}.rs-brand-title,.rs-auth-brand b,.rs-lobby-brand b{color:#fff1bf!important}.rs-brand-subtitle,.rs-auth-brand small{color:#d8bfa5!important}.rs-main-nav a{color:#f2dec3!important}.rs-main-nav a:hover,.rs-main-nav .current-menu-item>a{background:linear-gradient(135deg,#ffe49a,#f8bd3a)!important;color:#28080e!important;box-shadow:0 10px 24px rgba(248,189,58,.18)}
.rs-btn{border-radius:14px!important;font-weight:950!important;letter-spacing:.02em}.rs-btn-primary{background:linear-gradient(135deg,#ffe49a 0,#f8bd3a 45%,#ff536b 100%)!important;color:#21070c!important;border-color:rgba(255,228,154,.42)!important;box-shadow:0 16px 42px rgba(248,189,58,.24)!important}.rs-btn-secondary{background:linear-gradient(135deg,rgba(33,209,132,.22),rgba(33,209,132,.1))!important;border-color:rgba(33,209,132,.44)!important;color:#dffff0!important}.rs-btn-ghost{background:rgba(255,243,209,.07)!important;border-color:rgba(255,228,154,.2)!important;color:#fff3d1!important}
.rs-card,.rs-panel,.rs-final-card,.rs-faq-item,.rs-meta-list,.rs-table-wrap{background:linear-gradient(180deg,rgba(255,243,209,.09),rgba(255,243,209,.035))!important;border-color:rgba(255,228,154,.2)!important;box-shadow:0 20px 60px rgba(0,0,0,.28)!important}.rs-card-icon{background:linear-gradient(145deg,#ffe49a,#f8bd3a 58%,#ff536b)!important;color:#26070d!important;border:0!important}.rs-eyebrow,.rs-table th{color:#ffe49a!important}.rs-site-footer{background:linear-gradient(180deg,#0f050b,#060306)!important;border-color:rgba(255,228,154,.14)!important}.rs-footer-links a:hover{color:#ffe49a!important}

/* Auth portal */
body.rs-access-page{background:#07040a!important}.rs-auth-app{background:radial-gradient(circle at 12% 22%,rgba(255,83,107,.2),transparent 31rem),radial-gradient(circle at 82% 80%,rgba(248,189,58,.18),transparent 35rem),linear-gradient(135deg,#08040a 0,#2b0610 56%,#07040a 100%)!important}.rs-auth-app-bg i{border-color:rgba(255,228,154,.2)!important;box-shadow:inset 0 0 110px rgba(255,83,107,.04)!important}.rs-auth-app-bg i:nth-child(3){background:radial-gradient(circle,rgba(248,189,58,.18),transparent 68%)!important}.rs-auth-topbar{border-bottom-color:rgba(255,228,154,.14)!important}.rs-auth-top-actions{color:#d8bfa5!important}.rs-auth-top-actions span{color:#b8ffd9!important}.rs-auth-top-actions a{border-color:rgba(255,228,154,.26)!important;color:#ffe49a!important;background:rgba(255,243,209,.06)!important}.rs-auth-jackpot>span{background:rgba(83,10,24,.72)!important;border-color:rgba(255,228,154,.28)!important;color:#ffe49a!important}.rs-auth-jackpot strong{color:#fff3d1!important;text-shadow:0 12px 40px rgba(248,189,58,.22),0 2px 0 rgba(0,0,0,.4)!important}.rs-auth-jackpot small{color:#ead3b8!important}.rs-auth-cards article{background:linear-gradient(155deg,rgba(92,9,25,.9),rgba(12,4,11,.96))!important;border-color:rgba(255,228,154,.2)!important}.rs-auth-cards article:before{content:"";position:absolute;inset:0;background:linear-gradient(130deg,transparent 0 42%,rgba(255,228,154,.08) 42% 44%,transparent 44%)}.rs-auth-cards i{background:linear-gradient(145deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#26070d!important}.rs-auth-cards b{color:#fff3d1!important}.rs-auth-cards span{color:#d6b89e!important}.rs-auth-benefits{color:#f0dcc0!important}.rs-auth-benefits i{background:#21d184!important;color:#03110a!important}.rs-auth-card{background:linear-gradient(180deg,#fff8e7,#f6e8c8)!important;color:#250911!important;border-color:rgba(255,228,154,.38)!important;box-shadow:0 34px 100px rgba(0,0,0,.55)!important}.rs-auth-card:before{background:linear-gradient(90deg,#ff536b,#f8bd3a,#21d184)!important}.rs-auth-card-heading>span{color:#9f1429!important}.rs-auth-card-heading h1{color:#26070d!important}.rs-auth-card-heading p{color:#7a5c50!important}.rs-auth-card .rs-auth-tabs{background:#ead7b8!important}.rs-auth-card .rs-auth-tabs button{color:#755c4c!important}.rs-auth-card .rs-auth-tabs button.is-active{background:linear-gradient(135deg,#7d101d,#b91c35)!important;color:#fff9e8!important;box-shadow:0 10px 24px rgba(125,16,29,.24)!important}.rs-auth-input{background:#fffaf0!important;border-color:#d7bc8b!important}.rs-auth-input:focus-within{border-color:#b91c35!important;box-shadow:0 0 0 3px rgba(185,28,53,.14)!important}.rs-auth-input>i{color:#b91c35!important}.rs-auth-submit{background:linear-gradient(135deg,#7d101d,#b91c35 52%,#f8bd3a)!important;color:#fff9e8!important;box-shadow:0 16px 34px rgba(125,16,29,.28)!important}.rs-auth-consents label{background:rgba(255,255,255,.54)!important;border-color:#e4c99c!important}.rs-auth-message:not(:empty){background:#fff2d0!important;border-color:#e6c06d!important;color:#5a200c!important}

/* Dedicated game lobby */
.rs-dedicated-game-lobby.rs-emerald-lobby{background:radial-gradient(circle at 18% 0,rgba(248,189,58,.18),transparent 36rem),radial-gradient(circle at 88% 28%,rgba(255,83,107,.18),transparent 34rem),linear-gradient(180deg,#08040a 0,#180611 50%,#07040a 100%)!important}.rs-lobby-app-shell{background:transparent!important}.rs-lobby-appbar{background:rgba(10,4,10,.8)!important;border:1px solid rgba(255,228,154,.16)!important;border-radius:22px!important;box-shadow:0 18px 58px rgba(0,0,0,.4)!important;backdrop-filter:blur(18px)!important}.rs-lobby-menu-button,.rs-lobby-icon-button,.rs-session-chip,.rs-lobby-wallet-button{background:rgba(255,243,209,.08)!important;border-color:rgba(255,228,154,.2)!important;color:#fff3d1!important}.rs-lobby-wallet-button{background:linear-gradient(135deg,rgba(248,189,58,.24),rgba(185,28,53,.18))!important}.rs-lobby-withdraw-button{background:linear-gradient(135deg,rgba(33,209,132,.18),rgba(248,189,58,.12))!important}.rs-lobby-player{background:linear-gradient(135deg,rgba(255,228,154,.13),rgba(255,83,107,.1))!important;border-color:rgba(255,228,154,.22)!important}.rs-lobby-player i{color:#ffe49a!important}.rs-lobby-player small{color:#d8bfa5!important}.rs-lobby-player b{color:#fff3d1!important}.rs-lobby-quick-panel,.rs-player-center-panel,.rs-wallet-panel{background:linear-gradient(180deg,#160711,#08040a)!important;border-color:rgba(255,228,154,.22)!important;box-shadow:var(--mj-shadow)!important;color:#fff3d1!important}.rs-lobby-quick-head,.rs-wallet-panel-head,.rs-center-modal-head{border-bottom-color:rgba(255,228,154,.16)!important}.rs-lobby-quick-head small,.rs-wallet-panel-head p,.rs-center-section-head span{color:#ffe49a!important}.rs-lobby-quick-panel button{background:rgba(255,243,209,.07)!important;border-color:rgba(255,228,154,.16)!important;color:#fff3d1!important}.rs-lobby-quick-panel button:hover{background:rgba(248,189,58,.13)!important;border-color:rgba(248,189,58,.42)!important}.rs-lobby-menu-backdrop,.rs-wallet-backdrop,.rs-center-backdrop{background:rgba(5,2,5,.72)!important;backdrop-filter:blur(10px)!important}

.rs-lobby-promotions{position:relative}.rs-promo-card,.rs-campaign-slide,.rs-engagement-slide{background:linear-gradient(135deg,rgba(92,9,25,.88),rgba(10,4,10,.94))!important;border-color:rgba(255,228,154,.22)!important;box-shadow:0 22px 64px rgba(0,0,0,.34)!important}.rs-promo-card:after,.rs-campaign-slide:after,.rs-engagement-slide:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 86% 16%,rgba(248,189,58,.14),transparent 16rem)}.rs-promo-dots button{background:rgba(255,228,154,.24)!important}.rs-promo-dots button.is-active{background:#f8bd3a!important}.rs-lobby-ticker{background:linear-gradient(90deg,rgba(248,189,58,.16),rgba(185,28,53,.12))!important;border-color:rgba(255,228,154,.18)!important;color:#f5e4c6!important}.rs-lobby-ticker>span{color:#ffe49a!important}.rs-lobby-ticker b{color:#fff3d1!important}.rs-lobby-status:not(:empty){border-color:rgba(255,228,154,.22)!important;background:rgba(255,243,209,.08)!important}

.rs-library-tabs,.rs-provider-filter{background:rgba(255,243,209,.06)!important;border:1px solid rgba(255,228,154,.14)!important;box-shadow:0 14px 42px rgba(0,0,0,.22)!important}.rs-library-tabs button,.rs-provider-filter button{color:#e8cfb3!important}.rs-library-tabs button.is-active,.rs-provider-filter button.is-active{background:linear-gradient(135deg,#ffe49a,#f8bd3a)!important;color:#26070d!important;box-shadow:0 12px 28px rgba(248,189,58,.2)!important}.rs-lobby-games-head span{color:#ffe49a!important}.rs-lobby-games-head h2{color:#fff3d1!important}.rs-lobby-games-head p{color:#d8bfa5!important}.rs-lobby-filters label,.rs-lobby-filters select{background:rgba(255,243,209,.08)!important;border-color:rgba(255,228,154,.17)!important;color:#fff3d1!important}.rs-lobby-filters input{color:#fff3d1!important}.rs-lobby-filters input::placeholder{color:#bfa68d!important}

.rs-web-game-card{position:relative;background:linear-gradient(180deg,rgba(255,243,209,.1),rgba(255,243,209,.035))!important;border:1px solid rgba(255,228,154,.18)!important;box-shadow:0 18px 54px rgba(0,0,0,.32)!important;overflow:hidden}.rs-web-game-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(248,189,58,.12),transparent 35%,rgba(255,83,107,.08));opacity:.9}.rs-web-game-card:hover{transform:translateY(-4px)!important;border-color:rgba(248,189,58,.5)!important;box-shadow:0 26px 74px rgba(0,0,0,.44),0 0 0 1px rgba(248,189,58,.18)!important}.rs-game-chip,.rs-game-provider{background:rgba(248,189,58,.13)!important;border-color:rgba(248,189,58,.25)!important;color:#ffe49a!important}.rs-game-card-copy h3{color:#fff3d1!important}.rs-game-card-copy p,.rs-game-card-copy small{color:#d5bca2!important}.rs-game-card-play{background:linear-gradient(135deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#23070d!important}.rs-card-favorite{background:rgba(10,4,10,.72)!important;border-color:rgba(255,228,154,.22)!important;color:#ffe49a!important}.rs-card-favorite.is-active{background:#f8bd3a!important;color:#26070d!important}.rs-card-preview,.rs-prev-orb{background:radial-gradient(circle at 50% 35%,rgba(255,228,154,.28),rgba(255,83,107,.14),rgba(0,0,0,.08))!important}.rs-lobby-empty-state{background:rgba(255,243,209,.07)!important;border-color:rgba(255,228,154,.16)!important}.rs-lobby-empty-state i{color:#ffe49a!important}.rs-lobby-bottom-nav{background:rgba(8,4,10,.92)!important;border-top-color:rgba(255,228,154,.2)!important}.rs-lobby-bottom-nav button{color:#e6ccb0!important}.rs-lobby-bottom-nav button.is-active,.rs-lobby-bottom-nav button:hover{color:#ffe49a!important}.rs-bottom-deposit{background:linear-gradient(135deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#26070d!important}

/* Wallet, player center, forms */
.rs-wallet-panel input,.rs-wallet-panel textarea,.rs-wallet-panel select,.rs-center-panel input,.rs-center-panel textarea,.rs-center-panel select{background:rgba(255,243,209,.08)!important;border-color:rgba(255,228,154,.2)!important;color:#fff3d1!important}.rs-wallet-panel input::placeholder,.rs-wallet-panel textarea::placeholder,.rs-center-panel input::placeholder,.rs-center-panel textarea::placeholder{color:#bca288!important}.rs-wallet-package,.rs-refill-package,.rs-history-item,.rs-minus-item,.rs-support-faq,.rs-safe-session,.rs-break-controls,.rs-notice-card,.rs-activity-card{background:rgba(255,243,209,.07)!important;border-color:rgba(255,228,154,.15)!important;color:#fff3d1!important}.rs-wallet-modal-balance,.rs-wallet-total,.rs-center-kpi strong{color:#ffe49a!important}.rs-minus-warning{color:#ff9a85!important}.rs-support-primary{background:linear-gradient(135deg,rgba(248,189,58,.16),rgba(185,28,53,.13))!important;border-color:rgba(255,228,154,.2)!important;color:#fff3d1!important}.rs-support-primary i{background:linear-gradient(135deg,#ffe49a,#f8bd3a)!important;color:#26070d!important}.rs-center-tabs button{color:#e8cfb3!important}.rs-center-tabs button.is-active{background:linear-gradient(135deg,#7d101d,#b91c35)!important;color:#fff3d1!important}

/* Game modal chrome */
.rs-game-modal{background:rgba(4,2,5,.84)!important}.rs-game-modal-inner{background:linear-gradient(180deg,#12070f,#07040a)!important;border-color:rgba(255,228,154,.2)!important;box-shadow:var(--mj-shadow)!important}.rs-game-close,.rs-player-tools button{background:rgba(255,243,209,.08)!important;border-color:rgba(255,228,154,.18)!important;color:#fff3d1!important}.rs-game-title h2{color:#fff3d1!important}.rs-game-title p,.rs-game-instructions{color:#d8bfa5!important}.rs-game-controls{background:rgba(255,243,209,.06)!important;border-color:rgba(255,228,154,.15)!important}.rs-game-controls input{background:#fff8e7!important;color:#26070d!important;border-color:#d5b676!important}.rs-result-card,.rs-game-result:not(:empty){border-color:rgba(255,228,154,.22)!important;background:linear-gradient(180deg,rgba(255,243,209,.12),rgba(255,243,209,.05))!important;color:#fff3d1!important}.rse-topbar,.rs-unified-game-menu,.rsid-topbar,.rsbj-topbar{background:linear-gradient(90deg,#170710,#2b0711)!important;border-color:rgba(255,228,154,.18)!important}.rs-unified-brand span,.rse-topbar span,.rsbj-brand span,.rsid-brand span{color:#ffe49a!important}.rs-unified-brand strong,.rse-topbar strong,.rsbj-brand strong,.rsid-brand strong{color:#fff3d1!important}

/* Matka Jhatka live card-pair table */
.rscp-table{background:radial-gradient(circle at 50% 0,rgba(248,189,58,.2),transparent 33rem),radial-gradient(circle at 15% 18%,rgba(255,83,107,.22),transparent 25rem),linear-gradient(180deg,#2b0610 0,#10060e 50%,#07040a 100%)!important;border-color:rgba(255,228,154,.26)!important}.rscp-header span,.rscp-game-card strong,.rscp-final-choice strong,.rscp-countdown strong,.rscp-result-summary strong,.rscp-locked-slip b{color:#ffe49a!important}.rscp-header strong{color:#fff3d1!important}.rscp-game-card,.rscp-number,.rscp-countdown,.rscp-live-panel,.rscp-pick-summary div,.rscp-final-choice,.rscp-locked-slip,.rscp-result-summary{background:linear-gradient(180deg,rgba(255,243,209,.11),rgba(255,243,209,.045))!important;border-color:rgba(255,228,154,.18)!important}.rscp-game-card:hover,.rscp-number:hover{border-color:rgba(248,189,58,.62)!important}.rscp-game-card.is-selected,.rscp-number.is-selected{background:linear-gradient(135deg,rgba(248,189,58,.32),rgba(255,83,107,.18))!important;border-color:#f8bd3a!important}.rscp-next,.rscp-submit-bet{background:linear-gradient(135deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#23070d!important}.rscp-submit-bet{background:linear-gradient(135deg,#21d184,#ffe49a)!important}.rscp-live-panel header{background:rgba(0,0,0,.34)!important}.rscp-live-panel header span{color:#ffe49a!important}.rscp-live-placeholder{background:radial-gradient(circle at 50% 0,rgba(248,189,58,.16),transparent 60%),#08040a!important}.rscp-back{background:rgba(255,243,209,.07)!important;border-color:rgba(255,228,154,.18)!important;color:#fff3d1!important}

/* Module-specific brand impressions */
.rshot-face small,.rshot-stage-label span,.rshot-pedestal b,.rsw-pedestal b,.rsw-title span,.rssb-chamber-base b,.rssb-title span,.rscr-topbar em,.rsgbb-skyline em,.rsgbb-stage-heading span,.rse-stage-label span{color:#ffe49a!important}.rshot-stage-label b,.rsw-title b,.rssb-title b,.rsgbb-stage-heading strong,.rsgbb-stage-heading b,.rse-stage-label b{color:#fff3d1!important}.rsbj-back-pattern b{color:#ffe49a!important}.rsw-hub span{color:#26070d!important}

@media(max-width:900px){.rs-lobby-appbar{border-radius:18px!important}.rs-auth-layout{grid-template-columns:1fr!important}.rs-auth-showcase{min-height:auto!important;padding:22px 0!important}.rs-auth-cards{grid-template-columns:1fr!important}.rs-auth-card{padding:24px!important}}
@media(max-width:640px){.rs-auth-app{padding:14px!important}.rs-auth-topbar{gap:12px!important}.rs-auth-top-actions span{display:none}.rs-library-tabs,.rs-provider-filter{overflow-x:auto!important;scrollbar-width:none}.rs-library-tabs::-webkit-scrollbar,.rs-provider-filter::-webkit-scrollbar{display:none}.rs-web-game-card{border-radius:20px!important}.rs-lobby-appbar{border-left:0!important;border-right:0!important;border-radius:0 0 20px 20px!important}}

/* --------------------------------------------------------------------------
 * Matka Jhatka 1.11.0 — full casino-image rollout across auth, lobby, and game discovery
 * -------------------------------------------------------------------------- */
:root{
  --mj-art-hero:url('../images/matka-jhatka/hero-lobby.webp');
  --mj-art-auth:url('../images/matka-jhatka/auth-splash.webp');
  --mj-art-live:url('../images/matka-jhatka/promo-live-draw.webp');
  --mj-art-vip:url('../images/matka-jhatka/promo-vip-rewards.webp');
  --mj-art-game:url('../images/matka-jhatka/game-matka.webp');
  --mj-art-slots:url('../images/matka-jhatka/game-slots.webp');
  --mj-art-cards:url('../images/matka-jhatka/game-live-cards.webp');
}

body.rs-access-page .rs-auth-app{
  background:
    linear-gradient(90deg,rgba(7,4,10,.98) 0%,rgba(7,4,10,.9) 32%,rgba(7,4,10,.56) 68%,rgba(7,4,10,.92) 100%),
    var(--mj-art-auth) center/cover no-repeat,
    radial-gradient(circle at 12% 22%,rgba(255,83,107,.2),transparent 31rem),
    radial-gradient(circle at 82% 80%,rgba(248,189,58,.18),transparent 35rem),
    linear-gradient(135deg,#08040a 0,#2b0610 56%,#07040a 100%)!important;
}
.rs-auth-showcase{position:relative;isolation:isolate;overflow:hidden;border-radius:30px;padding:clamp(18px,3vw,32px)}
.rs-auth-showcase:before{content:"";position:absolute;inset:0;z-index:-2;border:1px solid rgba(255,228,154,.16);border-radius:inherit;background:linear-gradient(135deg,rgba(255,243,209,.07),rgba(255,243,209,.02));box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 28px 90px rgba(0,0,0,.28)}
.rs-auth-showcase:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,4,10,.92) 0%,rgba(7,4,10,.64) 44%,rgba(7,4,10,.2) 100%),radial-gradient(circle at 76% 18%,rgba(248,189,58,.18),transparent 24rem);pointer-events:none}
.rs-mj-auth-art{position:absolute;inset:0;z-index:-3;margin:0;overflow:hidden;border-radius:inherit;background:#08040a}
.rs-mj-auth-art img{width:100%;height:100%;object-fit:cover;object-position:center top;opacity:.82;filter:saturate(1.08) contrast(1.04)}
.rs-auth-jackpot,.rs-auth-cards,.rs-auth-benefits{position:relative;z-index:1}
.rs-auth-cards article{backdrop-filter:blur(10px);box-shadow:0 24px 62px rgba(0,0,0,.38)!important}

.rs-dedicated-game-lobby.rs-emerald-lobby{
  background:
    linear-gradient(180deg,rgba(7,4,10,.8) 0%,rgba(7,4,10,.98) 58%,#07040a 100%),
    var(--mj-art-hero) top center/cover fixed no-repeat,
    linear-gradient(180deg,#08040a 0,#180611 50%,#07040a 100%)!important;
}
.rs-mj-visual-promotions{isolation:isolate;min-height:clamp(280px,34vw,420px)!important;border-color:rgba(255,228,154,.34)!important;border-radius:30px!important;box-shadow:0 34px 110px rgba(0,0,0,.52),0 0 0 1px rgba(248,189,58,.1)!important;background:#08040a!important}
.rs-mj-lobby-visual{position:absolute;inset:0;z-index:0;margin:0;overflow:hidden;border-radius:inherit;background:#08040a}
.rs-mj-lobby-visual img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:.92;filter:saturate(1.06) contrast(1.04)}
.rs-mj-visual-promotions:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(7,4,10,.9) 0%,rgba(7,4,10,.68) 42%,rgba(7,4,10,.2) 100%),radial-gradient(circle at 82% 28%,rgba(248,189,58,.18),transparent 22rem);pointer-events:none}
.rs-mj-visual-promotions:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(120deg,rgba(255,228,154,.13) 1px,transparent 1px);background-size:28px 28px;opacity:.18;pointer-events:none}
.rs-mj-visual-promotions .rs-promo-track,.rs-mj-visual-promotions .rs-promo-dots{position:relative;z-index:2}
.rs-mj-visual-promotions .rs-promo-track{min-height:clamp(280px,34vw,420px)!important}
.rs-mj-visual-promotions .rs-promo-slide{background:transparent!important;text-shadow:0 4px 18px rgba(0,0,0,.54)}
.rs-mj-visual-promotions .rs-promo-slide:before{display:none!important}
.rs-mj-visual-promotions .rs-promo-slide h1,.rs-mj-visual-promotions .rs-promo-slide h2{max-width:760px;color:#fff4c4!important;text-shadow:0 12px 42px rgba(0,0,0,.75),0 0 24px rgba(248,189,58,.2)}
.rs-mj-visual-promotions .rs-promo-slide p{max-width:620px;color:#f3ddbd!important}
.rs-mj-visual-promotions .rs-promo-slide figure{border-radius:26px!important;background:rgba(7,4,10,.3)!important;box-shadow:0 22px 70px rgba(0,0,0,.32),inset 0 0 40px rgba(248,189,58,.14)!important;backdrop-filter:blur(4px)}
.rs-mj-visual-promotions .rs-promo-slide:nth-child(2) figure{background-image:linear-gradient(rgba(7,4,10,.1),rgba(7,4,10,.46)),var(--mj-art-live)!important;background-size:cover!important;background-position:center!important}
.rs-mj-visual-promotions .rs-promo-slide:nth-child(3) figure{background-image:linear-gradient(rgba(7,4,10,.1),rgba(7,4,10,.46)),var(--mj-art-vip)!important;background-size:cover!important;background-position:center!important}

.rs-emerald-lobby .rs-web-game-card{min-height:318px!important;padding:9px!important;border-radius:22px!important;background:linear-gradient(180deg,rgba(255,243,209,.08),rgba(54,7,18,.92))!important;border-color:rgba(255,228,154,.24)!important;box-shadow:0 20px 58px rgba(0,0,0,.4)!important}
.rs-emerald-lobby .rs-web-game-card:hover,.rs-emerald-lobby .rs-web-game-card:focus-visible{border-color:rgba(248,189,58,.72)!important;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(248,189,58,.22)!important}
.rs-emerald-lobby .rs-mj-card-preview{height:176px!important;min-height:176px!important;border:1px solid rgba(255,228,154,.18)!important;border-radius:17px!important;background:#08040a!important;box-shadow:inset 0 0 28px rgba(0,0,0,.36),0 15px 40px rgba(0,0,0,.22)!important}
.rs-emerald-lobby .rs-mj-card-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.02);transition:transform .45s ease,filter .45s ease;filter:saturate(1.08) contrast(1.03)}
.rs-emerald-lobby .rs-web-game-card:hover .rs-mj-card-preview img{transform:scale(1.08);filter:saturate(1.16) contrast(1.08)}
.rs-emerald-lobby .rs-mj-card-preview:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 18%,rgba(7,4,10,.05) 48%,rgba(7,4,10,.84) 100%),radial-gradient(circle at 80% 16%,rgba(255,228,154,.22),transparent 12rem);pointer-events:none}
.rs-emerald-lobby .rs-mj-card-preview:after{z-index:2;background:linear-gradient(110deg,transparent 24%,rgba(255,228,154,.24) 45%,transparent 68%)!important}
.rs-mj-card-icon{position:absolute;z-index:3;right:12px;bottom:10px;display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border:1px solid rgba(255,228,154,.44);border-radius:999px;background:rgba(7,4,10,.7);box-shadow:0 8px 22px rgba(0,0,0,.32);color:#ffe49a;font-size:.72rem;font-weight:1000;letter-spacing:.03em;backdrop-filter:blur(8px)}
.rs-emerald-lobby .rs-game-card-copy{padding:11px 4px 3px!important}
.rs-emerald-lobby .rs-game-chip,.rs-emerald-lobby .rs-game-provider{background:rgba(7,4,10,.56)!important;border-color:rgba(255,228,154,.24)!important;color:#ffe49a!important}
.rs-emerald-lobby .rs-game-card-copy h3{font-size:1rem!important;color:#fff3d1!important;text-shadow:0 4px 18px rgba(0,0,0,.34)}
.rs-emerald-lobby .rs-game-card-copy p{color:#dec2a8!important}
.rs-emerald-lobby .rs-game-card-play{border-color:rgba(255,228,154,.64)!important;background:linear-gradient(135deg,#ffe49a,#f8bd3a,#ff536b)!important;color:#26070d!important;box-shadow:0 12px 28px rgba(248,189,58,.18)!important}
.rs-emerald-lobby .rs-game-card-play span{background:#26070d!important;color:#ffe49a!important}

.rs-player-launch-card:before{content:"";position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(180deg,rgba(7,4,10,.22),rgba(7,4,10,.78)),var(--mj-art-game) center/cover no-repeat;opacity:.36;z-index:-1}
.rs-player-launch-card{position:relative;overflow:hidden;isolation:isolate;border-color:rgba(255,228,154,.3)!important;background:linear-gradient(180deg,rgba(52,7,17,.94),rgba(7,4,10,.98))!important}

@media(max-width:900px){
  .rs-auth-showcase{min-height:360px!important;padding:20px!important}
  .rs-mj-auth-art img{object-position:center top;opacity:.65}
  .rs-mj-visual-promotions{min-height:290px!important;border-radius:24px!important}
  .rs-mj-visual-promotions .rs-promo-track{min-height:290px!important}
  .rs-mj-lobby-visual img{object-position:center}
  .rs-emerald-lobby .rs-web-game-card{min-height:270px!important}
  .rs-emerald-lobby .rs-mj-card-preview{height:150px!important;min-height:150px!important}
}
@media(max-width:640px){
  body.rs-access-page .rs-auth-app{background-position:center top!important}
  .rs-auth-showcase{border-radius:24px;min-height:300px!important}
  .rs-auth-showcase:after{background:linear-gradient(180deg,rgba(7,4,10,.42),rgba(7,4,10,.95) 72%)}
  .rs-mj-visual-promotions{min-height:250px!important;border-radius:20px!important}
  .rs-mj-visual-promotions .rs-promo-track{min-height:250px!important}
  .rs-mj-lobby-visual img{object-position:center}
  .rs-emerald-lobby .rs-web-game-card{min-height:230px!important;padding:6px!important;border-radius:16px!important}
  .rs-emerald-lobby .rs-mj-card-preview{height:118px!important;min-height:118px!important;border-radius:13px!important}
  .rs-mj-card-icon{right:8px;bottom:8px;height:28px;min-width:28px;font-size:.58rem}
  .rs-emerald-lobby .rs-game-card-copy h3{font-size:.78rem!important}
}


/* --------------------------------------------------------------------------
 * Matka Jhatka 1.11.1 — premium sign-in casino visual gallery
 * -------------------------------------------------------------------------- */
.rs-mj-auth-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.rs-mj-auth-thumb{position:relative;overflow:hidden;min-height:104px;margin:0;border:1px solid rgba(255,228,154,.2);border-radius:18px;background:rgba(7,4,10,.42);box-shadow:0 18px 40px rgba(0,0,0,.32);backdrop-filter:blur(8px)}
.rs-mj-auth-thumb img{display:block;width:100%;height:100%;object-fit:cover;min-height:104px;opacity:.92}
.rs-mj-auth-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,4,10,.06),rgba(7,4,10,.86) 100%),radial-gradient(circle at 80% 20%,rgba(248,189,58,.24),transparent 9rem)}
.rs-mj-auth-thumb figcaption{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:11px 12px 12px}
.rs-mj-auth-thumb figcaption span{display:block;margin-bottom:3px;color:#ffe49a;font-size:.52rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.rs-mj-auth-thumb figcaption strong{display:block;color:#fff3d1;font-size:.77rem;line-height:1.15}

.rs-mj-experience-section{margin:18px 0 12px;padding:22px;border:1px solid rgba(255,228,154,.2);border-radius:28px;background:linear-gradient(180deg,rgba(255,243,209,.06),rgba(255,243,209,.03));box-shadow:0 24px 72px rgba(0,0,0,.32)}
.rs-mj-experience-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.rs-mj-experience-head span{display:block;margin-bottom:6px;color:#ffe49a;font-size:.62rem;font-weight:1000;letter-spacing:.18em}
.rs-mj-experience-head h2{margin:0 0 8px;color:#fff3d1;font-size:clamp(1.3rem,2vw,2rem);line-height:1.05}
.rs-mj-experience-head p{max-width:720px;margin:0;color:#d8bfa5;font-size:.92rem;line-height:1.55}
.rs-mj-experience-head small{display:inline-flex;align-items:center;justify-content:center;min-width:132px;padding:10px 14px;border:1px solid rgba(255,228,154,.22);border-radius:999px;background:rgba(255,243,209,.08);color:#fff3d1;font-size:.76rem;font-weight:900;text-align:center}
.rs-mj-experience-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rs-mj-experience-card{overflow:hidden;border:1px solid rgba(255,228,154,.2);border-radius:22px;background:linear-gradient(180deg,rgba(18,7,17,.95),rgba(7,4,10,.98));box-shadow:0 18px 52px rgba(0,0,0,.28);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.rs-mj-experience-card:hover{transform:translateY(-4px);border-color:rgba(248,189,58,.5);box-shadow:0 24px 70px rgba(0,0,0,.38)}
.rs-mj-experience-card figure{position:relative;height:180px;margin:0;overflow:hidden;background:#08040a}
.rs-mj-experience-card figure img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.02);transition:transform .4s ease,filter .4s ease;filter:saturate(1.06) contrast(1.03)}
.rs-mj-experience-card:hover figure img{transform:scale(1.08);filter:saturate(1.14) contrast(1.07)}
.rs-mj-experience-card figure:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(7,4,10,.08) 50%,rgba(7,4,10,.82) 100%)}
.rs-mj-experience-copy{padding:14px 14px 16px}
.rs-mj-experience-copy span{display:inline-flex;align-items:center;min-height:24px;margin-bottom:8px;padding:0 10px;border:1px solid rgba(255,228,154,.18);border-radius:999px;background:rgba(255,243,209,.06);color:#ffe49a;font-size:.54rem;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.rs-mj-experience-copy h3{margin:0 0 7px;color:#fff3d1;font-size:1rem;line-height:1.1}
.rs-mj-experience-copy p{margin:0;color:#d8bfa5;font-size:.78rem;line-height:1.5}

@media(max-width:1180px){
  .rs-mj-experience-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .rs-mj-auth-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .rs-mj-experience-section{padding:18px;border-radius:24px}
  .rs-mj-experience-head{display:block}
  .rs-mj-experience-head small{margin-top:12px}
  .rs-mj-experience-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .rs-mj-experience-card figure{height:160px}
}
@media(max-width:640px){
  .rs-mj-auth-strip{grid-template-columns:1fr 1fr}
  .rs-mj-auth-thumb{min-height:88px;border-radius:14px}
  .rs-mj-auth-thumb img{min-height:88px}
  .rs-mj-auth-thumb figcaption{padding:8px 9px 10px}
  .rs-mj-auth-thumb figcaption span{font-size:.42rem}
  .rs-mj-auth-thumb figcaption strong{font-size:.66rem}
  .rs-mj-experience-section{padding:14px;border-radius:18px}
  .rs-mj-experience-grid{grid-template-columns:1fr;gap:10px}
  .rs-mj-experience-card{border-radius:16px}
  .rs-mj-experience-card figure{height:170px}
  .rs-mj-experience-copy{padding:12px}
}


/* --------------------------------------------------------------------------
 * Matka Jhatka 1.11.1 — sign-in page visual gallery
 * -------------------------------------------------------------------------- */
.rs-auth-app .rs-mj-signin-gallery{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 28px));
  margin:26px auto 18px;
  background:
    radial-gradient(circle at 18% 0,rgba(248,189,58,.14),transparent 22rem),
    linear-gradient(180deg,rgba(255,243,209,.075),rgba(255,243,209,.028))!important;
}
.rs-auth-app .rs-mj-signin-gallery .rs-mj-experience-head h2{color:#fff3d1!important}
.rs-auth-app .rs-mj-signin-gallery .rs-mj-experience-head p{color:#ead3b8!important}
.rs-dedicated-game-lobby .rs-mj-experience-section{display:none!important}
@media(max-width:640px){
  .rs-auth-app .rs-mj-signin-gallery{width:calc(100% - 18px);margin-top:16px}
}

/* --------------------------------------------------------------------------
 * Matka Jhatka 1.11.2 — sign-in women/character visibility refinement
 * -------------------------------------------------------------------------- */
@media(min-width:901px){
  .rs-auth-layout{grid-template-columns:minmax(0,1.04fr) minmax(430px,.76fr)!important;gap:clamp(26px,4vw,56px)!important}
  .rs-auth-showcase{display:flex;flex-direction:column;justify-content:flex-start;min-height:640px!important;padding:26px 22px 20px!important}
  .rs-auth-showcase:after{background:linear-gradient(90deg,rgba(7,4,10,.94) 0%,rgba(7,4,10,.78) 31%,rgba(7,4,10,.34) 56%,rgba(7,4,10,.08) 78%),radial-gradient(circle at 76% 22%,rgba(248,189,58,.28),transparent 22rem)!important}
  .rs-mj-auth-art img{object-position:78% center!important;opacity:.97!important;transform:scale(1.02)}
  .rs-auth-jackpot,.rs-auth-cards,.rs-auth-benefits,.rs-mj-auth-strip{position:relative;max-width:64%;z-index:2}
  .rs-auth-jackpot{margin-bottom:18px}
  .rs-auth-jackpot strong{max-width:520px!important;font-size:clamp(3rem,5.1vw,5.4rem)!important}
  .rs-auth-jackpot small{max-width:460px!important}
  .rs-auth-cards{max-width:76%;margin-top:auto}
  .rs-auth-benefits{max-width:76%;margin-top:12px}
  .rs-mj-auth-strip{max-width:100%;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px}
  .rs-auth-showcase .rs-mj-auth-thumb{min-height:118px}
  .rs-auth-showcase .rs-mj-auth-thumb img{min-height:118px;object-position:center}
}


/* --------------------------------------------------------------------------
 * Matka Jhatka 1.11.3 — reduced-motion safety for the theme layer
 * This layer introduces hover lifts, image zoom, and shine transitions. Honour
 * the user's OS-level "reduce motion" setting so vestibular-sensitive players
 * get a calm, static interface without losing any functionality.
 * -------------------------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  .rs-web-game-card,
  .rs-emerald-lobby .rs-web-game-card,
  .rs-emerald-lobby .rs-mj-card-preview img,
  .rs-emerald-lobby .rs-web-game-card:hover .rs-mj-card-preview img,
  .rs-mj-experience-card,
  .rs-mj-experience-card figure img,
  .rs-mj-experience-card:hover figure img{
    transition:none!important;
    transform:none!important;
    animation:none!important;
  }
  .rs-web-game-card:hover,
  .rs-emerald-lobby .rs-web-game-card:hover,
  .rs-emerald-lobby .rs-web-game-card:focus-visible,
  .rs-mj-experience-card:hover{
    transform:none!important;
  }
}


/* ============================================================================
 * Matka Jhatka 1.11.3 — layout corrections + tasteful motion (loaded last)
 * Fixes observed in desktop/mobile gameplay capture:
 *  - promo "badge" text spilling outside the artwork
 *  - hero slider bullets not reliably centred
 *  - header / app-bar / category-bar vertical alignment
 *  - adds lively, reduced-motion-safe entrance + shine animations
 * ========================================================================== */

/* 1 — Promo hero: clip any title/number text so nothing spills outside the art */
.rs-lobby-promotions .rs-promo-slide figure,
.rs-mj-visual-promotions .rs-promo-slide figure{overflow:hidden!important}
.rs-lobby-promotions .rs-promo-slide figure > *,
.rs-mj-visual-promotions .rs-promo-slide figure > *{
  max-width:100%!important;
  overflow:hidden;
  text-overflow:ellipsis;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}
/* keep promo headings inside the slide column on every breakpoint */
.rs-promo-slide h1,.rs-promo-slide h2,
.rs-mj-visual-promotions .rs-promo-slide h1,
.rs-mj-visual-promotions .rs-promo-slide h2{overflow-wrap:anywhere}

/* 2 — Hero slider bullets: always centred, evenly spaced, above the artwork */
.rs-lobby-promotions .rs-promo-dots,
.rs-mj-visual-promotions .rs-promo-dots{
  left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;z-index:6!important;
  padding:5px 9px;border-radius:999px;
  background:rgba(7,4,10,.34);backdrop-filter:blur(6px);
}
.rs-lobby-promotions .rs-promo-dots button,
.rs-mj-visual-promotions .rs-promo-dots button{flex:0 0 auto;margin:0}

/* 3 — Header, app-bar, library and provider vertical alignment */
.rs-site-header .rs-header-inner{align-items:center}
.rs-site-header .rs-main-nav ul{flex-wrap:wrap;row-gap:.3rem;align-items:center}
.rs-emerald-lobby .rs-lobby-appbar{align-items:center}
.rs-emerald-lobby .rs-library-tabs,
.rs-emerald-lobby .rs-provider-filter{align-items:center}
.rs-emerald-lobby .rs-library-tabs button{display:inline-flex;align-items:center;justify-content:center}

/* 4 — Tasteful motion: staggered game-card entrance */
@keyframes mjCardIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card{animation:mjCardIn .5s cubic-bezier(.22,.9,.3,1) both}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(1){animation-delay:.02s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(2){animation-delay:.06s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(3){animation-delay:.10s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(4){animation-delay:.14s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(5){animation-delay:.18s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(6){animation-delay:.22s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(7){animation-delay:.26s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(8){animation-delay:.30s}
.rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card:nth-child(n+9){animation-delay:.34s}

/* 5 — Hero copy fade-up on slide change */
@keyframes mjHeroUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.rs-promo-slide.is-active h1,.rs-promo-slide.is-active h2,
.rs-promo-slide.is-active p,.rs-promo-slide.is-active button{animation:mjHeroUp .6s cubic-bezier(.2,.8,.3,1) both}
.rs-promo-slide.is-active p{animation-delay:.08s}
.rs-promo-slide.is-active button{animation-delay:.16s}

/* 6 — Living "shine" sweep across primary call-to-action buttons */
@keyframes mjShine{0%{transform:translateX(-130%) skewX(-18deg)}60%,100%{transform:translateX(230%) skewX(-18deg)}}
.rs-btn-primary,.rs-game-card-play,.rs-bottom-deposit,.rscp-submit-bet{position:relative;overflow:hidden}
.rs-btn-primary::after,.rs-game-card-play::after,.rs-bottom-deposit::after,.rscp-submit-bet::after{
  content:"";position:absolute;top:0;bottom:0;left:0;width:42%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
  transform:translateX(-130%) skewX(-18deg);pointer-events:none;
  animation:mjShine 4.6s ease-in-out infinite;animation-delay:1.2s;
}

/* 7 — Soft glow pulse on the active category pill */
@keyframes mjPillGlow{0%,100%{box-shadow:0 12px 28px rgba(248,189,58,.2)}50%{box-shadow:0 12px 34px rgba(248,189,58,.42)}}

/* 8 — Honour reduced-motion: disable all of the above movement */
@media(prefers-reduced-motion:reduce){
  .rs-emerald-lobby .rs-lobby-game-grid .rs-web-game-card,
  .rs-promo-slide.is-active h1,.rs-promo-slide.is-active h2,
  .rs-promo-slide.is-active p,.rs-promo-slide.is-active button,
  .rs-btn-primary::after,.rs-game-card-play::after,
  .rs-bottom-deposit::after,.rscp-submit-bet::after{display:none!important}
}


/* ============================================================================
 * Matka Jhatka 1.11.3 — fullscreen gameplay scrolling fix (verified live)
 * Root cause: elite-standard game stages were locked to a fixed height with
 * overflow:hidden, so any interface taller than the screen was clipped and
 * unreachable, and the controls bar overlapped the content (stealing clicks —
 * e.g. Matka game cards would not select). Allowing the game shell to scroll
 * makes the full interface reachable across every game.
 * ========================================================================== */
.rs-game-modal.is-elite-standard .rs-game-modal-inner{
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.rs-game-modal.is-elite-standard .rs-game-stage{
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  overflow:visible!important;
}
.rs-game-modal.is-elite-standard .rs-game-visual{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
/* Controls bar must sit in normal flow, never floating over the play area */
.rs-game-modal.is-elite-standard .rs-game-controls{
  position:relative!important;
  z-index:1!important;
}
/* Matka live wizard: let the scene grow naturally so cards + controls never overlap */
.rs-game-modal[data-game="royal_card_pair"] .rse-game-scene.rscp-table{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}


/* v1.13.6 focused UI cleanup: session notice, random experience cards, promo dots */
.rs-session-expired-toast{position:fixed;left:50%;bottom:28px;z-index:100000;display:flex;align-items:center;gap:14px;max-width:min(520px,calc(100vw - 28px));padding:16px 16px 16px 18px;border:1px solid rgba(255,228,154,.34);border-radius:18px;background:linear-gradient(180deg,#fff8e7,#f3dfb8);color:#26070d;box-shadow:0 24px 80px rgba(0,0,0,.45);transform:translate(-50%,18px);opacity:0;transition:opacity .22s ease,transform .22s ease}.rs-session-expired-toast.is-visible{opacity:1;transform:translate(-50%,0)}.rs-session-expired-toast[hidden]{display:none!important}.rs-session-expired-toast strong{display:block;margin:0 0 3px;font-size:.92rem;font-weight:1000;color:#7d101d}.rs-session-expired-toast p{margin:0;color:#5e4035;font-size:.82rem;line-height:1.35}.rs-session-expired-toast button{flex:0 0 auto;min-height:38px;border:0;border-radius:999px;padding:0 14px;background:linear-gradient(135deg,#7d101d,#b91c35);color:#fff9e8;font-weight:950;cursor:pointer}
.rs-mj-experience-card{cursor:pointer}.rs-mj-experience-card:focus-visible{outline:3px solid rgba(248,189,58,.72);outline-offset:4px}
.rs-lobby-promotions .rs-promo-dots,.rs-mj-visual-promotions .rs-promo-dots{bottom:28px!important}.rs-mj-visual-promotions .rs-promo-dots{position:absolute!important}
@media(max-width:640px){.rs-session-expired-toast{left:14px;right:14px;bottom:18px;max-width:none;transform:translateY(18px);display:grid}.rs-session-expired-toast.is-visible{transform:translateY(0)}.rs-session-expired-toast button{width:100%}.rs-lobby-promotions .rs-promo-dots,.rs-mj-visual-promotions .rs-promo-dots{bottom:22px!important}}

/* v1.13.17 forgot-password Matka theme polish */
.rs-auth-card .rs-auth-forgot{color:#9f1429!important}.rs-auth-card .rs-auth-forgot:hover,.rs-auth-card .rs-auth-forgot:focus-visible{color:#b91c35!important}.rs-auth-card .rs-auth-reset-copy{background:rgba(255,248,231,.82)!important;border-color:#e4c99c!important}.rs-auth-card .rs-auth-reset-copy strong{color:#7d101d!important}.rs-auth-card .rs-auth-reset-copy p{color:#755c4c!important}

/* v1.13.27: uploaded Matka Jhatka image as logo mark. */
.rs-brand-mark,.rs-auth-logo,.rs-lobby-brand>span,.mjc-mark{background-image:url('../images/matka-jhatka-logo.png')!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;color:transparent!important;font-size:0!important;letter-spacing:0!important;overflow:hidden!important}
.rs-auth-logo,.rs-lobby-brand>span,.rs-brand-mark{border-color:rgba(255,228,154,.45)!important;box-shadow:0 12px 32px rgba(248,189,58,.22),inset 0 1px 0 rgba(255,255,255,.28)!important}
.rs-game-modal .rs-insufficient-balance-modal{z-index:3200}.rs-game-modal .rs-wallet-modal{z-index:3300}

/* Matka Jhatka v1.13.30 — targeted mobile UI and gameplay interface fixes. */
.rs-game-modal.is-elite-standard .rse-topbar{grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:.55rem!important}
.rs-game-modal.is-elite-standard .rse-left-actions{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:13px!important;cursor:pointer!important}
.rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu span{display:block!important;width:18px!important;height:2px!important;margin:0!important;border-radius:999px!important;background:currentColor!important;box-shadow:none!important}
.rs-game-modal.is-elite-standard .rse-left-actions .rse-lobby{flex:0 0 auto!important;margin:0!important}
.rs-game-modal.is-elite-standard .rse-topbar nav .rse-quick-menu{display:none!important}

.rs-lobby-filter-section{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr)!important;gap:8px!important;margin:0 0 13px!important;padding:7px!important;border:1px solid rgba(255,228,154,.14)!important;border-radius:16px!important;background:rgba(255,243,209,.06)!important;box-shadow:0 14px 42px rgba(0,0,0,.22)!important;overflow:hidden!important}
.rs-lobby-filter-section .rs-lobby-category-bar{min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.rs-lobby-filter-section .rs-lobby-discovery-row{min-width:0!important;margin:0!important;align-self:center!important}
.rs-lobby-filter-section .rs-library-tabs,.rs-lobby-filter-section .rs-provider-filter{min-width:0!important}

.rs-lobby-ticker{min-width:0!important}.rs-lobby-ticker [data-rs-ticker-content]{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rs-lobby-ticker>span{flex:0 0 auto}.rs-lobby-ticker.is-marquee [data-rs-ticker-content]{text-overflow:clip}
@keyframes rsLobbyTickerMarquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}

.rs-mj-card-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;line-height:1!important;text-align:center!important;overflow:hidden!important}
.rs-emerald-lobby .rs-mj-card-preview .rs-mj-card-icon img,.rs-emerald-lobby .rs-mj-card-preview .rs-mj-card-icon .emoji,.rs-mj-card-icon img,.rs-mj-card-icon .emoji{position:static!important;inset:auto!important;display:block!important;width:19px!important;height:19px!important;max-width:70%!important;max-height:70%!important;margin:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;vertical-align:middle!important}

@media(max-width:1050px){.rs-lobby-filter-section{grid-template-columns:1fr!important}}
@media(max-width:760px){
  .rs-game-modal.is-elite-standard .rse-topbar{grid-template-columns:auto minmax(0,1fr) auto!important;gap:.38rem!important}
  .rs-game-modal.is-elite-standard .rse-left-actions{gap:6px!important;grid-column:1!important}
  .rs-game-modal.is-elite-standard .rse-brand{grid-column:2!important;min-width:0!important}
  .rs-game-modal.is-elite-standard .rse-table-state{display:none!important}
  .rs-game-modal.is-elite-standard .rse-topbar nav{grid-column:3!important;gap:.25rem!important}
  .rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu,.rs-game-modal.is-elite-standard .rse-left-actions .rse-lobby{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;border-radius:12px!important}
  .rs-game-modal.is-elite-standard .rse-left-actions .rse-lobby b{display:none!important}
  .rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu span{width:17px!important}
}
@media(max-width:680px){
  .rs-lobby-filter-section{gap:6px!important;margin-bottom:10px!important;padding:5px!important;border-radius:13px!important;overflow:visible!important}
  .rs-lobby-filter-section .rs-lobby-category-bar{gap:5px!important}
  .rs-lobby-filter-section .rs-lobby-discovery-row{gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .rs-lobby-filter-section .rs-lobby-discovery-row::-webkit-scrollbar{display:none!important}
  .rs-lobby-ticker{position:relative!important;display:flex!important;align-items:center!important;min-height:35px!important;max-height:38px!important;overflow:hidden!important;white-space:nowrap!important}
  .rs-lobby-ticker [data-rs-ticker-content]{flex:1 1 auto!important;line-height:1.25!important;will-change:auto!important}
  .rs-lobby-ticker.is-marquee [data-rs-ticker-content]{display:inline-block!important;flex:0 0 auto!important;max-width:none!important;padding-left:100%!important;overflow:visible!important;animation:rsLobbyTickerMarquee var(--rs-ticker-duration,16s) linear infinite;will-change:transform!important}
  .rs-lobby-bottom-nav .rs-bottom-deposit{display:grid!important;align-items:end!important;justify-items:center!important;grid-template-rows:30px 15px!important;gap:2px!important;min-height:47px!important;overflow:visible!important;color:#183a27!important}
  .rs-lobby-bottom-nav .rs-bottom-deposit i{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin:-24px auto 0!important;padding:0!important;border-radius:50%!important;line-height:1!important;text-align:center!important;font-size:1.55rem!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;transform:none!important;vertical-align:middle!important}
  .rs-lobby-bottom-nav .rs-bottom-deposit span{display:block!important;align-self:end!important;line-height:1.05!important;text-align:center!important}
  .rs-mj-card-icon{right:8px!important;bottom:8px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;font-size:.58rem!important}
  .rs-emerald-lobby .rs-mj-card-preview .rs-mj-card-icon img,.rs-emerald-lobby .rs-mj-card-preview .rs-mj-card-icon .emoji,.rs-mj-card-icon img,.rs-mj-card-icon .emoji{width:16px!important;height:16px!important;max-width:70%!important;max-height:70%!important}
}
@media(max-width:430px){.rs-game-modal.is-elite-standard .rse-left-actions{gap:4px!important}.rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu,.rs-game-modal.is-elite-standard .rse-left-actions .rse-lobby{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}.rs-game-modal.is-elite-standard .rse-left-actions .rse-quick-menu span{width:16px!important}}

@media(min-width:761px){
  .rs-game-modal[data-game="lucky_roulette"].is-elite-standard .rs-game-stage{grid-template-rows:clamp(54px,7vh,66px) clamp(42px,5.4vh,50px) clamp(34px,4.5vh,42px) minmax(0,1fr) 0 74px!important;grid-template-areas:"top" "info" "result" "visual" "subtitle" "controls"!important}
  .rs-game-modal[data-game="lucky_roulette"] .rse-subtitle{display:none!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-game-result{display:block!important;grid-area:result!important;align-self:center!important;justify-self:center!important;width:min(540px,calc(100vw - 28px))!important;min-height:34px!important;height:auto!important;margin:0 auto!important;padding:0!important;z-index:92!important;pointer-events:none!important;overflow:hidden!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-game-result:empty{visibility:hidden!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-result-card{display:flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;margin:0 auto!important;padding:6px 12px!important;border-radius:999px!important;font-size:.68rem!important;line-height:1.15!important;box-shadow:0 10px 30px rgba(0,0,0,.28)!important}
}
@media(min-width:761px) and (max-height:760px){.rs-game-modal[data-game="lucky_roulette"].is-elite-standard .rs-game-stage{grid-template-rows:52px 42px 32px minmax(0,1fr) 0 68px!important}.rs-game-modal[data-game="lucky_roulette"] .rs-game-result{display:block!important}.rs-game-modal[data-game="lucky_roulette"] .rs-result-card{min-height:28px!important;padding:4px 10px!important;font-size:.58rem!important}}
@media(max-width:760px){
  .rs-game-modal[data-game="lucky_roulette"].is-elite-standard .rs-game-stage{grid-template-rows:calc(50px + var(--rs-safe-top)) 0 34px minmax(0,1fr) calc(136px + var(--rs-safe-bottom))!important;grid-template-areas:"top" "info" "result" "visual" "controls"!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-game-result{display:block!important;grid-area:result!important;align-self:center!important;justify-self:center!important;width:100%!important;min-height:34px!important;height:34px!important;margin:0!important;padding:2px 7px!important;z-index:92!important;pointer-events:none!important;overflow:hidden!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-game-result:empty{visibility:hidden!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-result-card{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;max-width:calc(100vw - 18px)!important;height:30px!important;min-height:30px!important;margin:0 auto!important;padding:4px 9px!important;border-radius:999px!important;font-size:.55rem!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important}
  .rs-game-modal[data-game="lucky_roulette"] .rs-result-card b{display:none!important}
}
@media(max-height:620px) and (orientation:landscape){.rs-game-modal[data-game="lucky_roulette"].is-elite-standard .rs-game-stage{grid-template-rows:46px 0 30px minmax(0,1fr) calc(62px + var(--rs-safe-bottom))!important;grid-template-areas:"top" "info" "result" "visual" "controls"!important}.rs-game-modal[data-game="lucky_roulette"] .rs-game-result{display:block!important;height:30px!important;min-height:30px!important;padding:1px 7px!important}.rs-game-modal[data-game="lucky_roulette"] .rs-result-card{height:27px!important;min-height:27px!important;padding:3px 8px!important;font-size:.5rem!important}}


/* Matka Jhatka v1.13.31 — gameplay currency/timer label polish and non-breaking text-selection lock. */
.rs-emerald-lobby [data-rs-web-portal],
.rs-emerald-lobby [data-rs-game-modal],
.rs-emerald-lobby .rs-lobby-app-shell,
.rs-emerald-lobby .rs-game-modal,
.rs-emerald-lobby .rs-game-stage,
.rs-emerald-lobby .rs-game-visual,
.rs-emerald-lobby .rscp-table,
.rs-emerald-lobby .rscp-table *,
.rs-emerald-lobby .rs-lobby-bottom-nav,
.rs-emerald-lobby .rs-lobby-bottom-nav *,
.rs-emerald-lobby .rs-lobby-filter-section,
.rs-emerald-lobby .rs-lobby-filter-section *,
.rs-emerald-lobby .rs-web-game-card,
.rs-emerald-lobby .rs-web-game-card *{
  -webkit-user-select:none!important;
  -moz-user-select:none!important;
  -ms-user-select:none!important;
  user-select:none!important;
}
.rs-emerald-lobby input,
.rs-emerald-lobby textarea,
.rs-emerald-lobby select,
.rs-emerald-lobby option,
.rs-emerald-lobby [contenteditable="true"],
.rs-emerald-lobby [role="textbox"],
.rs-emerald-lobby [data-rs-allow-select],
.rs-emerald-lobby .rs-allow-select{
  -webkit-user-select:text!important;
  -moz-user-select:text!important;
  -ms-user-select:text!important;
  user-select:text!important;
}
.rscp-live-label{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.35rem!important;line-height:1.1!important}
.rscp-live-label em{display:inline-flex!important;align-items:center!important;gap:.22rem!important;padding:.11rem .42rem!important;border-radius:999px!important;background:linear-gradient(135deg,#ff193f,#a90721)!important;color:#fff!important;font-style:normal!important;font-weight:1000!important;font-size:.72em!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:0 0 16px rgba(255,25,63,.42)!important}
.rscp-live-label em:before{content:"";width:.42em;height:.42em;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.72);animation:rscpLivePulse 1.35s ease-in-out infinite}
@keyframes rscpLivePulse{0%,100%{opacity:1;transform:scale(.9);box-shadow:0 0 0 0 rgba(255,255,255,.64)}50%{opacity:.72;transform:scale(1.22);box-shadow:0 0 0 5px rgba(255,255,255,0)}}
@media (prefers-reduced-motion:reduce){.rscp-live-label em:before{animation:none!important}}


/* v1.13.33 — unified in-game quick menu placement for all game modules */
.rsbe-menu.rs-unified-game-menu,
.rsbj-topbar.rs-unified-game-menu,
.rsid-topbar.rs-unified-game-menu{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:.75rem!important;
}
.rs-unified-game-menu .rs-unified-left-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  justify-self:start!important;
  line-height:1!important;
}
.rs-unified-game-menu .rs-unified-quick-menu{
  display:grid!important;
  place-items:center!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  border:1px solid rgba(255,228,154,.28)!important;
  border-radius:13px!important;
  background:rgba(255,243,209,.08)!important;
  color:#fff3d1!important;
  box-shadow:0 10px 28px rgba(0,0,0,.32)!important;
  cursor:pointer!important;
}
.rs-unified-game-menu .rs-unified-quick-menu span{
  display:block!important;
  width:18px!important;
  height:2px!important;
  margin:0!important;
  border-radius:999px!important;
  background:currentColor!important;
  box-shadow:none!important;
}
.rs-unified-game-menu .rs-unified-lobby{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.42rem!important;
  flex:0 0 auto!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 .75rem!important;
  border:1px solid rgba(255,228,154,.32)!important;
  border-radius:999px!important;
  background:rgba(255,243,209,.08)!important;
  color:#fff3d1!important;
  font-weight:1000!important;
  cursor:pointer!important;
}
.rs-unified-game-menu .rs-unified-table-state{
  justify-self:end!important;
  display:grid!important;
  gap:2px!important;
  text-align:right!important;
  min-width:0!important;
}
.rs-unified-game-menu .rs-unified-table-state span{
  color:#ffe49a!important;
  font-weight:1000!important;
  font-size:.68rem!important;
  letter-spacing:.08em!important;
}
.rs-unified-game-menu .rs-unified-table-state small{
  color:#d8bfa5!important;
  font-size:.52rem!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
.rs-game-modal[data-game="baccarat_elite"]>.rs-game-quick-menu-button,
.rs-game-modal[data-game="blackjack_royale"]>.rs-game-quick-menu-button,
.rs-game-modal[data-game="dice_3d"]>.rs-game-quick-menu-button{
  display:none!important;
}
@media(max-width:760px){
  .rsbe-menu.rs-unified-game-menu,
  .rsbj-topbar.rs-unified-game-menu,
  .rsid-topbar.rs-unified-game-menu{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    gap:.38rem!important;
  }
  .rs-unified-game-menu .rs-unified-left-actions{gap:6px!important}
  .rs-unified-game-menu .rs-unified-quick-menu,
  .rs-unified-game-menu .rs-unified-lobby{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    flex:0 0 40px!important;
    padding:0!important;
    border-radius:12px!important;
  }
  .rs-unified-game-menu .rs-unified-quick-menu span{width:17px!important}
  .rs-unified-game-menu .rs-unified-lobby b{display:none!important}
  .rs-unified-game-menu .rs-unified-lobby span{font-size:1.25rem!important;line-height:1!important}
  .rs-unified-game-menu .rs-unified-table-state{display:none!important}
}
@media(max-width:430px){
  .rs-unified-game-menu .rs-unified-left-actions{gap:4px!important}
  .rs-unified-game-menu .rs-unified-quick-menu,
  .rs-unified-game-menu .rs-unified-lobby{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    flex-basis:38px!important;
  }
  .rs-unified-game-menu .rs-unified-quick-menu span{width:16px!important}
}

/* Matka Jhatka v1.13.34 — single lobby sorter row and bottom deposit cleanup */
.rs-emerald-lobby .rs-lobby-filter-section{margin:0 0 13px!important;padding:8px!important;border:1px solid rgba(255,228,154,.14)!important;border-radius:16px!important;background:rgba(255,243,209,.055)!important;box-shadow:0 14px 42px rgba(0,0,0,.22)!important;overflow:hidden!important}
.rs-emerald-lobby .rs-lobby-sorter-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;min-width:0!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar{flex:999 1 520px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;min-width:240px!important;overflow-x:auto!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar button{min-height:42px!important;min-width:auto!important;padding:0 12px!important;border-radius:11px!important}
.rs-emerald-lobby .rs-lobby-sorter-search{flex:1 1 230px!important;width:auto!important;min-width:190px!important;max-width:310px!important;grid-template-columns:minmax(160px,1fr) 1px!important;margin:0!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-library-tabs{flex:1 1 260px!important;min-width:190px!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-provider-filter{flex:1 1 320px!important;min-width:220px!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-library-tabs,.rs-emerald-lobby .rs-lobby-sorter-row>.rs-provider-filter{margin:0!important;align-items:center!important;overflow-x:auto!important;scrollbar-width:none!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-library-tabs::-webkit-scrollbar,.rs-emerald-lobby .rs-lobby-sorter-row>.rs-provider-filter::-webkit-scrollbar{display:none!important}
.rs-emerald-lobby .rs-lobby-games-head{margin-bottom:10px!important}
.rs-emerald-lobby .rs-lobby-discovery-row{display:contents!important}
.rs-lobby-bottom-nav .rs-bottom-deposit{color:#ffe181!important}
.rs-lobby-bottom-nav .rs-bottom-deposit i{background:rgba(255,255,255,.035)!important;background-image:none!important;color:#ffe181!important;border:1px solid rgba(255,226,131,.34)!important;border-radius:50%!important;box-shadow:0 8px 18px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,255,255,.06)!important;text-shadow:0 0 9px rgba(255,226,129,.45)!important}
@media(max-width:760px){.rs-emerald-lobby .rs-lobby-filter-section{padding:6px!important;margin-bottom:9px!important;border-radius:14px!important}.rs-emerald-lobby .rs-lobby-sorter-row{gap:6px!important}.rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar{flex-basis:100%!important;min-width:0!important}.rs-emerald-lobby .rs-lobby-sorter-search{order:2;flex:1 1 100%!important;max-width:none!important;min-width:0!important}.rs-emerald-lobby .rs-lobby-sorter-row>.rs-library-tabs{order:3;flex-basis:100%!important;min-width:0!important}.rs-emerald-lobby .rs-lobby-sorter-row>.rs-provider-filter{order:4;flex-basis:100%!important;min-width:0!important}.rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar button{min-height:38px!important;padding:0 9px!important;font-size:.55rem!important}.rs-library-tabs button,.rs-provider-filter button{min-height:32px!important;padding:0 9px!important}.rs-lobby-bottom-nav .rs-bottom-deposit i{width:44px!important;height:44px!important;margin-top:-22px!important}}
.rs-lobby-bottom-nav .rs-bottom-deposit{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;overflow:visible!important}
.rs-lobby-bottom-nav .rs-bottom-deposit::after{display:none!important}

/* Social authentication and temporary support chat */
.rs-social-auth{
  display:grid;
  gap:10px;
  margin:0 0 14px;
}
.rs-social-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04));
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.rs-social-btn:hover,.rs-social-btn:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(255,215,128,.55);
  background:linear-gradient(135deg,rgba(255,215,128,.16),rgba(255,255,255,.06));
  color:#fff;
  outline:none;
}
.rs-social-btn i{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#fff;
  color:#101421;
  font-style:normal;
  font-weight:900;
  line-height:1;
}
.rs-social-facebook i{background:#1877f2;color:#fff;font-family:Arial,sans-serif;font-size:20px;}
.rs-auth-separator{
  display:flex;
  align-items:center;
  gap:12px;
  margin:2px 0 18px;
  color:rgba(255,255,255,.7);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.rs-auth-separator:before,.rs-auth-separator:after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.14);
}
.rs-support-chat{
  position:fixed;
  right:18px;
  bottom:22px;
  z-index:2147482500;
  pointer-events:none;
}
.rs-support-chat-toggle,.rs-support-chat-panel{
  pointer-events:auto;
}
.rs-support-chat-toggle{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid rgba(255,216,118,.58);
  border-radius:50%;
  background:radial-gradient(circle at 30% 20%,#ffe48c,#b87812 46%,#261303 100%);
  color:#151008;
  box-shadow:0 18px 46px rgba(0,0,0,.38),0 0 22px rgba(255,190,70,.2);
  cursor:pointer;
}
.rs-support-chat-toggle span{font-size:25px;line-height:1;filter:drop-shadow(0 1px 1px rgba(255,255,255,.35));}
.rs-support-chat-panel{
  position:absolute;
  right:0;
  bottom:72px;
  width:min(340px,calc(100vw - 28px));
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,216,118,.26);
  background:linear-gradient(160deg,rgba(17,13,9,.98),rgba(48,25,4,.96));
  color:#fff;
  box-shadow:0 24px 80px rgba(0,0,0,.48);
}
.rs-support-chat-panel[hidden]{display:none!important;}
.rs-support-chat-panel header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}
.rs-support-chat-panel header small{
  display:block;
  color:#ffd978;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}
.rs-support-chat-panel header strong{display:block;font-size:18px;line-height:1.15;}
.rs-support-chat-panel header button{
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}
.rs-support-chat-panel p{
  margin:0 0 12px;
  color:rgba(255,255,255,.74);
  font-size:13px;
  line-height:1.45;
}
.rs-support-chat-panel label{
  display:block;
  margin:0 0 10px;
  color:rgba(255,255,255,.82);
  font-size:12px;
  font-weight:800;
}
.rs-support-chat-panel label[hidden]{display:none!important;}
.rs-support-chat-panel input,.rs-support-chat-panel textarea{
  display:block;
  width:100%;
  margin-top:6px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:11px 12px;
  font:inherit;
  box-sizing:border-box;
}
.rs-support-chat-panel textarea{
  min-height:92px;
  resize:vertical;
}
.rs-support-chat-panel input::placeholder,.rs-support-chat-panel textarea::placeholder{color:rgba(255,255,255,.44);}
.rs-support-chat-status{
  min-height:18px;
  margin-top:10px;
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.74);
}
.rs-support-chat-status.is-success{color:#95ffb6;}
.rs-support-chat-status.is-error{color:#ff9c9c;}
@media (max-width:700px){
  .rs-social-auth{gap:9px;}
  .rs-social-btn{min-height:44px;border-radius:14px;font-size:14px;}
  .rs-support-chat{right:14px;bottom:88px;}
  .rs-support-chat-toggle{width:52px;height:52px;}
  .rs-support-chat-panel{bottom:64px;width:min(330px,calc(100vw - 22px));max-height:min(70vh,560px);overflow:auto;border-radius:20px;}
  .rs-game-modal[aria-hidden="false"] ~ .rs-support-chat,
  body:has(.rs-game-modal[aria-hidden="false"]) .rs-support-chat{display:none;}
}


/* v1.13.38 auth/chat fixes */
.rs-social-facebook{display:none!important;}
.rs-social-google{
  background:#fff!important;
  border-color:rgba(255,255,255,.95)!important;
  color:#202124!important;
  box-shadow:0 14px 30px rgba(0,0,0,.28)!important;
}
.rs-social-google:hover,.rs-social-google:focus-visible{
  background:#fff!important;
  color:#202124!important;
  border-color:#f8bd3a!important;
}
.rs-social-google span,.rs-social-btn span{color:inherit!important;}
.rs-google-mark{
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:block;
  background:#fff;
  border-radius:50%;
}
.rs-social-btn i{display:none;}
.rs-auth-separator{color:#fff3d1!important;text-shadow:0 1px 8px rgba(0,0,0,.7);}
.rs-auth-separator span{color:#fff3d1!important;background:rgba(24,7,14,.82);border:1px solid rgba(255,228,154,.22);border-radius:999px;padding:5px 12px;}
.rs-auth-separator:before,.rs-auth-separator:after{background:rgba(255,228,154,.38)!important;}

/* v1.13.39 complete in-game support chat */
.rs-support-chat-log{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:96px;
  max-height:220px;
  overflow:auto;
  margin:10px 0 12px;
  padding:10px;
  border:1px solid rgba(255,228,154,.18);
  border-radius:16px;
  background:rgba(0,0,0,.22);
  overscroll-behavior:contain;
}
.rs-support-chat-empty{color:rgba(255,243,209,.68);font-size:12px;line-height:1.45;text-align:center;padding:18px 8px;}
.rs-support-chat-bubble{width:92%;padding:9px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.11);box-shadow:0 12px 28px rgba(0,0,0,.18);}
.rs-support-chat-bubble span{display:block;margin-bottom:3px;font-size:10px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase;opacity:.78;}
.rs-support-chat-bubble p{margin:0!important;color:#fff6e6!important;font-size:13px!important;line-height:1.42!important;white-space:pre-wrap;overflow-wrap:anywhere;}
.rs-support-chat-bubble time{display:block;margin-top:5px;color:rgba(255,243,209,.52);font-size:10px;}
.rs-support-chat-bubble.is-player{align-self:flex-end;background:linear-gradient(135deg,rgba(248,189,58,.28),rgba(185,28,53,.22));border-color:rgba(255,228,154,.24);}
.rs-support-chat-bubble.is-support{align-self:flex-start;background:linear-gradient(135deg,rgba(5,91,57,.42),rgba(8,28,21,.72));border-color:rgba(33,209,132,.24);}
@media(max-width:640px){.rs-support-chat-log{max-height:180px}.rs-support-chat-bubble{width:96%;}.rs-support-chat-bubble p{font-size:12.5px!important}}

/* v1.13.40 support chat refinements */
.mjc-support-ajax-status{min-height:20px;margin:10px 0;font-size:13px;font-weight:800;color:#6b5a42;}
.mjc-support-ajax-status.is-success{color:#047857;}
.mjc-support-ajax-status.is-error{color:#b91c1c;}
.mjc-chat-line{position:relative;padding-right:64px;}
.mjc-inline-delete{position:absolute;right:10px;top:10px;margin:0;}
.mjc-inline-delete button{border:1px solid rgba(185,28,53,.24);border-radius:999px;background:rgba(185,28,53,.08);color:#991b1b;font-size:11px;font-weight:900;padding:4px 8px;cursor:pointer;}
.mjc-inline-delete button:hover{background:rgba(185,28,53,.16);}
.mjc-btn.danger{background:linear-gradient(135deg,#991b1b,#dc2626)!important;border-color:rgba(127,29,29,.35)!important;color:#fff!important;}
.mjc-support-delete-thread{justify-content:flex-end!important;}
@media(max-width:640px){.mjc-chat-line{padding-right:10px;padding-bottom:34px}.mjc-inline-delete{top:auto;bottom:8px}}

/* v1.13.41 chat support clear/unread refinements */
.rs-support-chat-toggle{position:relative;}
.rs-support-chat-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #170b02;
  background:#dc2626;
  color:#fff;
  font-size:11px;
  font-weight:1000;
  line-height:1;
  box-shadow:0 8px 20px rgba(220,38,38,.34);
}
.rs-support-chat-badge[hidden]{display:none!important;}
.mjc-support-date-actions{display:grid;gap:7px;justify-items:end;align-content:start;}
.mjc-clear-chat-form{margin:0;}
.mjc-icon-delete,.mjc-inline-delete button{
  width:34px;
  height:34px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(185,28,53,.35);
  border-radius:999px;
  background:rgba(185,28,53,.1);
  color:#991b1b;
  font-size:15px;
  line-height:1;
  padding:0;
  cursor:pointer;
}
.mjc-icon-delete:hover,.mjc-inline-delete button:hover{background:rgba(185,28,53,.18);transform:translateY(-1px);}
@media(max-width:640px){.mjc-support-date-actions{justify-items:start;width:100%;}.mjc-icon-delete,.mjc-inline-delete button{width:32px;height:32px;}}

/* v1.13.41 chat clear/unread refinements */

.mjc-chat-empty{display:grid;place-items:center;min-height:92px;border:1px dashed rgba(107,90,66,.24);border-radius:18px;background:rgba(107,90,66,.06);color:#6b5a42;font-size:13px;font-weight:800;text-align:center;padding:18px;}

/* v1.13.46 — lobby filters: keep All/categories left and pin search to the far right. */
.rs-emerald-lobby .rs-lobby-sorter-row{flex-wrap:nowrap!important;width:100%!important}
.rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar{flex:1 1 auto!important;max-width:calc(100% - 330px)!important;min-width:0!important}
.rs-emerald-lobby .rs-lobby-sorter-search{order:99!important;margin-left:auto!important;flex:0 0 310px!important;max-width:310px!important;min-width:240px!important;justify-self:end!important}
.rs-emerald-lobby .rs-lobby-sorter-search label{width:100%!important}
@media(max-width:760px){
  .rs-emerald-lobby .rs-lobby-sorter-row{flex-wrap:wrap!important}
  .rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar{max-width:none!important;flex:1 1 100%!important}
  .rs-emerald-lobby .rs-lobby-sorter-search{order:2!important;flex:1 1 100%!important;max-width:none!important;min-width:0!important;margin-left:0!important}
}

/* v1.13.47 — targeted lobby desktop alignment and BlackJake true viewport fit. */
@media (min-width:761px){
  .rs-emerald-lobby .rs-lobby-filter-section{display:block!important;width:100%!important;max-width:none!important;overflow:hidden!important}
  .rs-emerald-lobby .rs-lobby-sorter-row{display:flex!important;width:100%!important;max-width:none!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
  .rs-emerald-lobby .rs-lobby-sorter-row>.rs-lobby-category-bar{order:1!important;flex:1 1 auto!important;max-width:none!important;min-width:0!important;margin:0!important;overflow-x:auto!important}
  .rs-emerald-lobby .rs-lobby-sorter-search{order:2!important;margin-left:auto!important;flex:0 0 clamp(280px,24vw,360px)!important;width:clamp(280px,24vw,360px)!important;max-width:360px!important;min-width:280px!important;justify-self:end!important}
  .rs-emerald-lobby .rs-lobby-sorter-search label{width:100%!important;min-width:0!important}
}
.rs-game-modal[data-game="blackjack_royale"]{padding:0!important;place-items:stretch!important;overflow:hidden!important}
.rs-game-modal[data-game="blackjack_royale"] .rs-game-modal-inner{width:100vw!important;max-width:100vw!important;height:var(--rs-viewport-height,var(--rs-player-vh,100dvh))!important;max-height:var(--rs-viewport-height,var(--rs-player-vh,100dvh))!important;border:0!important;border-radius:0!important;overflow:hidden!important}
.rs-game-modal[data-game="blackjack_royale"] .rs-game-stage,.rs-game-modal[data-game="blackjack_royale"] .rs-game-visual{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
.rs-game-modal[data-game="blackjack_royale"] .rs-game-result{position:absolute!important;left:50%!important;top:calc(70px + var(--rs-safe-top,0px))!important;z-index:80!important;width:min(560px,calc(100vw - 24px))!important;margin:0!important;transform:translateX(-50%)!important;pointer-events:none!important}
.rsbj-screen{height:100%!important;max-height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:clamp(46px,7dvh,62px) clamp(36px,5.5dvh,48px) minmax(0,1fr)!important;overflow:hidden!important}
.rsbj-topbar{height:auto!important;min-height:0!important;padding:clamp(.28rem,.75dvh,.48rem) clamp(.65rem,1vw,1rem)!important}
.rsbj-information{min-height:0!important;height:auto!important;overflow:hidden!important}
.rsbj-information>div{min-height:0!important;padding:clamp(.22rem,.65dvh,.42rem) .55rem!important}
.rsbj-table{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
@media (min-width:901px){
  .rs-game-modal[data-game="blackjack_royale"] .rs-game-modal-inner{box-shadow:none!important}
  .rsbj-table{padding:clamp(5px,1.1dvh,14px) clamp(10px,1.4vw,22px) clamp(58px,8.4dvh,76px)!important;border-width:clamp(4px,.65dvh,7px)!important}
  .rsbj-dealer-zone{min-height:clamp(62px,14dvh,110px)!important}
  .rsbj-player-zone{min-height:clamp(98px,23dvh,158px)!important;margin-top:clamp(1px,.9dvh,8px)!important;align-items:center!important}
  .rsbj-card{width:clamp(46px,4vw,62px)!important;height:clamp(64px,5.6vw,86px)!important}
  .rsbj-player-hand{padding:clamp(4px,.7dvh,8px) clamp(5px,.7vw,9px)!important}
  .rsbj-player-hand .rsbj-card{width:clamp(40px,3.4vw,54px)!important;height:clamp(56px,4.8vw,76px)!important}
  .rsbj-player-hand .rsbj-card-row{min-height:clamp(56px,10dvh,78px)!important}
  .rsbj-felt-mark{top:clamp(48px,10dvh,76px)!important}
  .rsbj-felt-mark b{font-size:clamp(1.25rem,3.4dvh,2.2rem)!important}
  .rsbj-shoe{top:clamp(6px,1.4dvh,14px)!important;right:clamp(10px,1.6vw,24px)!important;transform:skewY(-4deg) scale(.7)!important;transform-origin:right top!important}
  .rsbj-status{bottom:clamp(58px,8dvh,70px)!important;padding:5px 10px!important}
  .rsbj-play-hint{bottom:clamp(86px,11dvh,104px)!important;padding:5px 10px!important}
  .rsbj-controls{left:clamp(7px,1.2vw,18px)!important;right:clamp(7px,1.2vw,18px)!important;bottom:clamp(5px,.8dvh,9px)!important;min-height:clamp(46px,7dvh,62px)!important;overflow:hidden!important}
  .rsbj-chip{width:clamp(36px,5.1dvh,48px)!important;height:clamp(36px,5.1dvh,48px)!important}
  .rsbj-action{height:clamp(38px,6.1dvh,50px)!important;min-width:clamp(84px,8vw,108px)!important}
}
@media (min-width:901px) and (max-height:640px){
  .rsbj-top-rules,.rsbj-felt-mark,.rsbj-play-hint,.rsbj-shoe{display:none!important}
  .rsbj-screen{grid-template-rows:44px 36px minmax(0,1fr)!important}
  .rsbj-dealer-zone{min-height:58px!important}.rsbj-player-zone{min-height:92px!important}
  .rsbj-card{width:42px!important;height:58px!important}.rsbj-player-hand .rsbj-card{width:36px!important;height:51px!important}.rsbj-player-hand .rsbj-card-row{min-height:52px!important}
}
