/* RioBahis V5 — warm wine, black marble and champagne-gold visual system. */
:root{
  --merlot-ink:#042c25;
  --merlot-ink-2:#042c25;
  --merlot-surface:#063c31;
  --merlot-surface-2:#07513e;
  --merlot-surface-3:#07513e;
  --merlot-wine:#0f7a58;
  --merlot-wine-2:#159267;
  --merlot-rose:#1fdb92;
  --merlot-gold:#49e5b1;
  --merlot-gold-soft:#f4fff9;
  --merlot-text:#f8fffb;
  --merlot-muted:#b7d8ca;
  --merlot-line:#49e5b138;
  --brand-violet:var(--merlot-wine-2);
  --brand-magenta:var(--merlot-rose);
  --brand-panel:var(--merlot-surface-2);
  --brand-surface:var(--merlot-ink-2);
  --hero:0,153,102;
  --b:13,7,9;
  --b-sc:255,247,242;
}

body:not(.backoffice){
  color:var(--merlot-text);
  background-color:var(--merlot-ink)!important;
  background-image:
    radial-gradient(ellipse at 10% 5%,#12815b26,transparent 42%),
    radial-gradient(ellipse at 95% 32%,#1fdb9215,transparent 38%),
    linear-gradient(180deg,#042c25,#063c31 55%,#042c25)!important;
}
body:not(.backoffice) :is(p,small,.campaign-heading p,.campaign-mode,.campaign-subtle){color:var(--merlot-muted)}
body:not(.backoffice) :is(a,button,input,select,textarea,summary){accent-color:var(--merlot-wine-2)}
body:not(.backoffice) ::selection{background:#1bba7c;color:#fff}

/* Global chrome */
body:not(.backoffice) .header-bc{background:#042c25f2!important;border-bottom:1px solid var(--merlot-line)!important;box-shadow:0 9px 28px #042c259c}
body:not(.backoffice) .hdr-main-content-bc{background:#042c25e8!important}
body:not(.backoffice) .header-navigation{background:linear-gradient(90deg,#063c31,#07513e 50%,#063c31)!important;border-color:var(--merlot-line)!important}
body:not(.backoffice) :is(.hdr-logo-bc img,.auth-header img){filter:none!important}
body:not(.backoffice) .hdr-logo-bc{width:270px!important;max-width:270px!important;display:flex!important;align-items:center!important}
body:not(.backoffice) .hdr-logo-bc img{width:260px!important;height:46px!important;max-height:46px!important;object-fit:contain!important;object-position:left center!important}
body:not(.backoffice) .nav-menu-item{color:#f8fffb!important}
body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:linear-gradient(135deg,#07513e,#0b654b)!important;border:1px solid #49e5b145!important;color:#f8fffb!important;box-shadow:0 3px 10px #042c2566,inset 0 1px #ffffff0d!important}
body:not(.backoffice) :is(.nav-menu-item:hover,.nav-menu-item.active){color:#f8fffb!important;background:linear-gradient(110deg,#0f7a58,#18a675)!important;box-shadow:inset 0 1px #ffffff14,0 5px 18px #0f7a5847}
body:not(.backoffice) .header-navigation .nav-menu-item:focus-visible{outline:2px solid var(--merlot-gold)!important;outline-offset:-2px!important;text-decoration-color:var(--merlot-gold)!important}
body:not(.backoffice) .header-navigation .nav-menu-item:hover{border-color:var(--merlot-gold)!important}
body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item::before{background:linear-gradient(90deg,var(--merlot-gold),var(--merlot-rose))!important}
body:not(.backoffice) :is(.btn-primary,.quick-button.bonus-shortcut,.hdr-user-bc .btn.register,.provider-picker-apply){background:linear-gradient(115deg,#127c58,#1fdb92)!important;color:#fff!important;box-shadow:0 7px 22px #0f7a584d!important}
body:not(.backoffice) :is(.btn-primary,.hdr-user-bc .btn.register,.provider-picker-apply):hover{filter:brightness(1.12);box-shadow:0 9px 26px #16976b59!important}
body:not(.backoffice) :is(.btn-outline,.catalog-categories button,.catalog-search,.catalog-provider-filter,.catalog-random){border-color:var(--merlot-line)!important}
body:not(.backoffice) .quick-button.deposit-shortcut{background:linear-gradient(110deg,#148f66,#1fda9c)!important;color:#f8fffb!important}
body:not(.backoffice) :focus-visible{outline-color:var(--merlot-gold)!important}

/* Hero and home modules */
body:not(.backoffice) .hero-slider.merlot-hero{background:#042c25!important;border-color:#49e5b136!important;box-shadow:0 18px 44px #042c2580,0 0 30px #12815b21!important}
body:not(.backoffice) .merlot-hero .hero-link{background:#042c25!important}
body:not(.backoffice) .merlot-hero .hero-link:after{background:linear-gradient(90deg,#063c31cc,#0f7a5866 52%,transparent 78%)!important}
body:not(.backoffice) .merlot-hero #hero-image{background-color:#042c25!important}
body:not(.backoffice) .merlot-hero-copy>small{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .merlot-hero-copy em{color:#5ee8b2!important}
body:not(.backoffice) .merlot-hero-copy>span{color:#f8fffb!important}
body:not(.backoffice) .merlot-hero-copy>b{background:linear-gradient(105deg,#117452,#1ece8a)!important;box-shadow:0 10px 28px #0b654b70}
body:not(.backoffice) .merlot-hero .hero-controls button{background:#063c31d9!important;border-color:#49e5b16b!important;color:var(--merlot-gold-soft)!important;box-shadow:0 5px 14px #0008!important}
body:not(.backoffice) .merlot-hero .hero-controls>span{color:#f8fffb!important}
body:not(.backoffice) .merlot-product{background:radial-gradient(circle at 50% 28%,#18ab7235,transparent 45%),linear-gradient(145deg,#063c31,#0b654b)!important;border-color:#49e5b142!important;box-shadow:0 10px 24px #042c2570,inset 0 1px #ffffff10!important}
body:not(.backoffice) .merlot-product .merlot-product-art{background-image:url('/theme/merlot/refresh-v2/category-sprite-ruby-v3.webp')!important;filter:drop-shadow(0 7px 12px #042c25b3) saturate(1.04) contrast(1.04)!important}
body:not(.backoffice) .merlot-product:hover{background:linear-gradient(145deg,#0b654b,#0f7a58)!important;border-color:#49e5b178!important}
body:not(.backoffice) .merlot-product :is(.ui-icon,span){color:#f8fffb!important}
body:not(.backoffice) .sectionTitle{background:linear-gradient(110deg,#07513e,#063c31 72%)!important;border-color:#49e5b13b!important;box-shadow:inset 3px 0 var(--merlot-rose)}
body:not(.backoffice) .sectionTitleText:before{background:linear-gradient(var(--merlot-gold),var(--merlot-rose))!important}
body:not(.backoffice) :is(.combination-card,.player-card,.recommended-card,.provider-tile){background:linear-gradient(135deg,#063c31,#042c25)!important;border-color:#49e5b124!important}
body:not(.backoffice) :is(.home-showcase,.showcase-section,.recent-winners,.jackpot-section,.tournaments-section){border-color:#49e5b120!important}
body:not(.backoffice) .recent-winners{background:linear-gradient(135deg,#063c31,#07513e)!important;border-color:#49e5b136!important}
body:not(.backoffice) .merlot-jackpot{background:linear-gradient(180deg,#0b654b 0,#07513e 48%,#042c25 100%)!important}
body:not(.backoffice) .merlot-jackpot:before{background:linear-gradient(90deg,transparent,var(--merlot-gold),transparent)!important}
body:not(.backoffice) .jackpot-emblem{filter:drop-shadow(0 5px 8px #19b17e61)!important}
body:not(.backoffice) .showcase-toggle{border-color:#49e5b155!important;color:#f8fffb!important}
body:not(.backoffice) .daily-periods button[aria-pressed=true]{border-color:var(--merlot-gold)!important;background:#12815b2e!important}
body:not(.backoffice) :is(.daily-slot-rtp,.daily-slot-arrow){color:#5ee8ba!important}
body:not(.backoffice) :is(.support-button,.back-top){background:linear-gradient(140deg,#13835d,#0b654b)!important;border-color:#49e5b175!important;color:var(--merlot-gold-soft)!important;box-shadow:0 6px 20px #042c2580!important}

/* Cards, catalogues and game surfaces */
body:not(.backoffice) :is(.managed-bonus-grid article,.campaign-history,.vip-membership,.vip-tier,.vip-experience article,.wheel-thresholds>div,.ticket-wallet article,.bonus-switch button,.game-card,.tournament-card){background:linear-gradient(145deg,#07513e,#063c31)!important;border-color:#49e5b129!important}
body:not(.backoffice) .managed-bonus-grid article{box-shadow:0 15px 34px #042c2566!important}
body:not(.backoffice) .tournament-body{background:linear-gradient(180deg,#0b654bed,#063c31 30%,#042c25)!important;border:1px solid #49e5b12e!important;box-shadow:0 12px 28px #042c2585!important}
body:not(.backoffice) .tournament-body .muted{color:#b7d8ca!important}
body:not(.backoffice) .tournament-body>strong{color:#4ee6b3!important;text-shadow:0 0 18px #1cc28b2e!important}
body:not(.backoffice) .tournament-body .btn-outline{background:#07513e!important;border-color:#49e5b155!important;color:#f8fffb!important}
body:not(.backoffice) .tournament-body .btn-outline:hover{background:#0b654b!important;border-color:var(--merlot-gold)!important;color:#f8fffb!important}
body:not(.backoffice) .tournament-body .tournament-join-disabled{background:linear-gradient(115deg,#0f7a58,#13865e)!important;color:#b7d8ca!important;box-shadow:none!important;opacity:.72!important;cursor:not-allowed!important}
body:not(.backoffice) .merlot-campaign-art{background:#063c31!important}
body:not(.backoffice) .merlot-campaign-art>.merlot-art-copy{background:linear-gradient(120deg,#0b654b,#063c31)!important;border-color:#49e5b124!important}
body:not(.backoffice) .merlot-campaign-art .merlot-art-copy>span{color:#f4fff9!important}
body:not(.backoffice) .merlot-campaign-art .merlot-art-copy>b{color:#5ee8ba!important;text-shadow:0 0 18px #179e7142!important}
body:not(.backoffice) .merlot-campaign-art:after{content:"";position:absolute;z-index:0;inset:0 0 auto;height:40%;pointer-events:none;background:linear-gradient(180deg,#07513e94,#0f7a585e 72%,transparent);mix-blend-mode:color}
body:not(.backoffice) .merlot-campaign-art>div{position:relative;z-index:1}
body:not(.backoffice) .managed-bonus-grid :is(h2,small){color:#f4fff9!important}
body:not(.backoffice) .managed-bonus-grid :is(button,.btn-primary){background:linear-gradient(105deg,#13835d,#1ecf8a)!important;border-color:#49e5b12e!important}
body:not(.backoffice) .bonus-card-terms{border-color:#49e5b135!important;color:#f8fffb!important}
body:not(.backoffice) .bonus-rule-facts>span{background:#07513e!important;border-color:#49e5b138!important}
body:not(.backoffice) .bonus-rule-facts strong{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .managed-bonus-card.bonus-focused{outline-color:var(--merlot-gold)!important}
body:not(.backoffice) :is(.catalog-category-shell,.catalog-toolbar.catalog-live-toolbar){background:#063c31!important}
body:not(.backoffice) :is(.catalog-categories button,.catalog-search,.catalog-provider-filter,.catalog-random,.catalog-live-toolbar .catalog-search,.catalog-live-toolbar .catalog-provider-filter){background:#07513e!important;color:#f8fffb!important}
body:not(.backoffice) :is(.catalog-categories button:hover,.catalog-random:hover){background:#0b654b!important}
body:not(.backoffice) .catalog-categories button.active{background:linear-gradient(110deg,#117452,#19b176)!important;border-color:#49e5b170!important}
body:not(.backoffice) .catalog-category-next{background:#0b654b!important;box-shadow:-12px 0 18px #063c31!important}
body:not(.backoffice) #modal:has(.provider-picker){background:#063c31!important;border-color:#49e5b145!important}
body:not(.backoffice) :is(.provider-picker-search,.provider-picker-card,.provider-picker-reset,#modal:has(.provider-picker) .modal-close){background:#07513e!important;color:#f8fffb!important}
body:not(.backoffice) :is(.provider-picker-card:hover,.provider-picker-card.active){background:#0b654b!important;border-color:var(--merlot-gold)!important;box-shadow:inset 0 0 0 1px #49e5b1!important}

/* Campaign, VIP, wheel and ticket pages */
body:not(.backoffice) .campaign-tabs{border-color:#49e5b121!important}
body:not(.backoffice) .campaign-tabs a{color:#b7d8ca!important}
body:not(.backoffice) .campaign-tabs a:hover{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .vip-eyebrow{color:var(--merlot-gold)!important}
body:not(.backoffice) .vip-hero{background:radial-gradient(ellipse at 75% 50%,#18a87632,transparent 46%),linear-gradient(120deg,#042c25,#063c31 70%,#07513e)!important;border-color:#49e5b13b!important}
body:not(.backoffice) .vip-hero h1 em{background:linear-gradient(100deg,#f8fffb,#49e5b1)!important;background-clip:text!important;color:transparent!important}
body:not(.backoffice) :is(.vip-hero-meta>span,.vip-points strong,.wheel-controls b){color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .gold-button{background:linear-gradient(110deg,#f4fff9,#1cc28b)!important;color:#063c31!important}
body:not(.backoffice) .vip-tier.featured{background:radial-gradient(circle at top,#1fd69929,transparent 70%),#07513e!important;border-color:#53e6b5!important}
body:not(.backoffice) .vip-experience article>span{color:var(--merlot-gold)!important}
body:not(.backoffice) .wheel-stage{background:radial-gradient(circle at 50% 35%,#1bbb7d2b,transparent 48%),linear-gradient(145deg,#07513e,#042c25)!important;border-color:#49e5b135!important}
body:not(.backoffice) .wheel-aura{border-color:#f4fff94f!important;box-shadow:0 0 60px #15966943,inset 0 0 50px #11745233!important}
body:not(.backoffice) .prize-wheel{background:conic-gradient(#169b6d 0 36deg,#07513e 36deg 72deg,#1fdb92 72deg 108deg,#0b654b 108deg 144deg,#127b57 144deg 180deg,#063c31 180deg 216deg,#1bbb7d 216deg 252deg,#07513e 252deg 288deg,#117452 288deg 324deg,#063c31 324deg 360deg)!important;border-color:var(--merlot-gold)!important;box-shadow:0 0 0 5px #117453,0 0 0 8px #49e5b157,0 0 55px #16976b5c,inset 0 0 35px #0009!important}
body:not(.backoffice) .wheel-hub{background:radial-gradient(circle at 35% 25%,#51e6ac,#159669 55%,#0b654b)!important;border-color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .wheel-pointer{border-top-color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .wheel-prizes li{background:linear-gradient(120deg,#07513e,#063c31)!important;border-color:#49e5b130!important;color:#f8fffb!important}
body:not(.backoffice) .wheel-prize-index{background:#19af7540!important;color:#f4fff9!important}
body:not(.backoffice) .wheel-prize-gift{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) :is(.wheel-thresholds b,.wheel-rules summary,.wheel-controls p){color:var(--merlot-gold-soft)!important}
body:not(.backoffice) :is(.ticket-hero h1,.wheel-heading h1){background:linear-gradient(95deg,#f8fffb,#f4fff9 55%,#40e4a4)!important;background-clip:text!important;color:transparent!important}
body:not(.backoffice) :is(.ticket-wallet article,.ticket-win){background:linear-gradient(110deg,#0b654b,#063c31)!important;border-color:#49e5b155!important}
body:not(.backoffice) .ticket-details th{background:#07513e!important;color:#f4fff9!important;border-color:#49e5b132!important}
body:not(.backoffice) .ticket-details td{border-color:#49e5b11f!important}
body:not(.backoffice) .ticket-details tbody tr:nth-child(even){background:#0f7a581a!important}
body:not(.backoffice) .ticket-details ol{color:#b7d8ca!important}
body:not(.backoffice) :is(.campaign-history,.ticket-win){background:linear-gradient(120deg,#07513e,#063c31)!important;border-color:#49e5b13d!important}
body:not(.backoffice) .campaign-detail h3{color:var(--merlot-gold)!important;border-color:#49e5b12f!important}
body:not(.backoffice) .bonus-switch button.active{background:linear-gradient(110deg,#0f7a58,#1bbb7d)!important;border-color:#49e5b175!important}

/* Club experience */
body:not(.backoffice) .club-page{--club-muted:#b7d8ca;--club-metal:#49e5b1;color:var(--merlot-text)!important}
body:not(.backoffice) .club-kicker{color:var(--merlot-gold)!important}
body:not(.backoffice) .club-kicker i{background:#5ee8ba!important;box-shadow:0 0 15px #1ab380!important}
body:not(.backoffice) .club-hero{background:radial-gradient(ellipse at 78% 48%,#15966938,transparent 50%),linear-gradient(135deg,#063c31,#042c25)!important;border-color:#49e5b132!important}
body:not(.backoffice) .club-hero h1 em{background:linear-gradient(100deg,#f8fffb,#49e5b1 46%,#3fe4a4)!important;background-clip:text!important;color:transparent!important}
body:not(.backoffice) .club-primary{background:linear-gradient(105deg,#f4fff9,#1cc38b)!important;color:#063c31!important;box-shadow:0 8px 25px #179e7129!important}
body:not(.backoffice) .club-hero-actions>.btn-primary{border-color:#49e5b166!important;color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .club-hero-signature{color:#f8fffb!important}
body:not(.backoffice) .club-hero-signature>i{background:#49e5b166!important}
body:not(.backoffice) .club-halo{border-color:#49e5b136!important;box-shadow:0 0 90px #15966938,inset 0 0 70px #49e5b116!important}
body:not(.backoffice) .club-art-caption{color:#b7d8ca!important}
body:not(.backoffice) .club-account{background:linear-gradient(105deg,#07513e,#063c31)!important;border-color:#49e5b13a!important}
body:not(.backoffice) .club-account-points strong{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .club-level-card{background:linear-gradient(155deg,#07513e,#063c31)!important;border-color:#49e5b12d!important}
body:not(.backoffice) .club-level-card>strong{color:#f8fffb!important}
body:not(.backoffice) .club-level-detail{background:#063c31!important;border-color:#49e5b140!important}
body:not(.backoffice) .club-benefit-grid article{background:linear-gradient(130deg,#0b654b80,#063c31)!important;border-color:#49e5b124!important}
body:not(.backoffice) .club-benefit-icon{color:var(--merlot-gold)!important}
body:not(.backoffice) .club-program-note{border-color:var(--merlot-gold)!important;color:#b7d8ca!important}
body:not(.backoffice) .club-journey{border-color:#49e5b12b!important}
body:not(.backoffice) .club-journey-steps article>span{border-color:#49e5b147!important;color:var(--merlot-gold)!important}
body:not(.backoffice) .club-journey-steps small{color:#53e6b5!important}
body:not(.backoffice) .club-faq details{border-color:#49e5b124!important}

/* Accounts, forms, dialogs and mobile drawers */
body:not(.backoffice) :is(.account-window,.account-main,.account-body,dialog.login-modal,dialog.signup-modal,dialog.campaign-modal){background:#042c25!important}
body:not(.backoffice) :is(.account-sidebar,.account-title,.account-group summary,.account-rewards){background:#07513e!important}
body:not(.backoffice) .account-group>div{background:#07513e!important}
body:not(.backoffice) .account-group>div>a.active{background:#0b654b!important;border-color:var(--merlot-gold)!important;color:#f8fffb!important}
body:not(.backoffice) :is(.account-body>.panel,.account-body .panel,.bonus-request-record,.summary-card,.campaign-history){background:linear-gradient(125deg,#07513e,#042c25)!important;border-color:#49e5b132!important}
body:not(.backoffice) :is(.modal-tabs,.bonus-switch,.bonus-card-terms){border-color:#49e5b132!important}
body:not(.backoffice) .modal-tabs button.active{color:var(--merlot-gold-soft)!important;border-color:var(--merlot-gold)!important}
body:not(.backoffice) .account-title :is(h1,button),body:not(.backoffice) .account-body :is(h1,h2,h3){color:#f8fffb!important}
body:not(.backoffice) :is(.account-sidebar,.account-body){scrollbar-color:#127c58 #063c31!important}
body:not(.backoffice) :is(.login-modal input:not([type=checkbox]),.signup-fields .auth-date,.signup-fields .auth-country,.auth-phone select,.auth-phone input:not([type=hidden]),input:not([type=checkbox]):not([type=radio]),select,textarea){background:#07513e!important;border-color:#49e5b12b!important;color:#f8fffb!important}
body:not(.backoffice) :is(input,textarea)::placeholder{color:#4ae5a9!important}
body:not(.backoffice) :is(.signup-submit,.signup-modal .auth-support,.signup-modal .signup-terms){background:#063c31!important;border-color:#49e5b128!important}
body:not(.backoffice) .wallet-card{background:linear-gradient(120deg,#0f7a58,#159368)!important}
body:not(.backoffice) .bonus-wallet{background:linear-gradient(120deg,#13845e,#1fd699)!important}
body:not(.backoffice) .loyalty-shortcut{background:linear-gradient(120deg,#0f7a58,#159168)!important}
body:not(.backoffice) dialog.mobile-menu-modal{background:#042c25!important}
body:not(.backoffice) .mobile-menu-modal .modal-title{background:#07513e!important;border-color:#49e5b12e!important}
body:not(.backoffice) .mobile-menu-auth [data-mobile-account]{background:#07513e!important}
body:not(.backoffice) .mobile-app-menu :is(a,button){border-color:#49e5b11d!important;color:#f8fffb!important}
body:not(.backoffice) .mobile-nav-icon{background:linear-gradient(145deg,#117452,#0b654b)!important;color:var(--merlot-gold-soft)!important}

/* Footer and fixed navigation */
body:not(.backoffice) :is(.layout-footer-holder-bc,.footer-reference){background:#042c25!important}
body:not(.backoffice) :is(.footer-social,.footer-columns,.footer-bottom){border-color:#49e5b124!important}
body:not(.backoffice) .layout-footer-holder-bc{color:#f8fffb!important}
body:not(.backoffice) .footer-columns :is(h3,.footer-payment-title){color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .footer-columns a{color:#b7d8ca!important}
body:not(.backoffice) .footer-columns a:hover{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) :is(.footer-reference>small,.footer-reference figcaption,.footer-note,.footer-clock){color:#b7d8ca!important}
body:not(.backoffice) :is(#merlot-footer-title,.footer-reference h2){color:#f8fffb!important}
body:not(.backoffice) :is(.footer-reference .eyebrow,.footer-reference>span,.footer-reference b,.footer-local-info strong){color:var(--merlot-gold)!important}
body:not(.backoffice) .footer-reference a{color:#f4fff9!important}
body:not(.backoffice) .footer-reference a:hover{color:#f8fffb!important}
body:not(.backoffice) :is(.merlot-footer-certification,.merlot-footer-showcase){border-color:#49e5b129!important}
body:not(.backoffice) .merlot-footer-showcase-heading>span{color:var(--merlot-gold)!important}
body:not(.backoffice) .merlot-footer-showcase-heading h2{color:#f8fffb!important}
body:not(.backoffice) .merlot-footer-showcase-heading h2 em{color:#f4fff9!important}
body:not(.backoffice) .merlot-footer-showcase-heading p{color:#b7d8ca!important}
body:not(.backoffice) .merlot-footer-provider-wall a:hover,
body:not(.backoffice) .merlot-footer-provider-wall a:focus-visible{background:#15966914!important}
body:not(.backoffice) .merlot-footer-provider-wall a{opacity:1!important}
body:not(.backoffice) .merlot-footer-provider-wall img{opacity:1!important;filter:none!important;transition:transform .18s}
body:not(.backoffice) .merlot-footer-provider-wall a:hover img,
body:not(.backoffice) .merlot-footer-provider-wall a:focus-visible img{transform:translateY(-2px) scale(1.03)}
body:not(.backoffice) .merlot-footer-catalog-link{color:#5ee8ba!important}
body:not(.backoffice) .merlot-footer-info{background:linear-gradient(115deg,#07513e80,#042c2573)!important;border-color:#49e5b138!important}
body:not(.backoffice) .merlot-footer-info h3{color:#f4fff9!important;border-color:#49e5b14a!important;background:#19ad7c12!important}
body:not(.backoffice) .merlot-footer-info p{color:#b7d8ca!important}
body:not(.backoffice) .merlot-footer-info strong{color:#f4fff9!important}
body:not(.backoffice) .merlot-footer-info nav a{color:#5ee8ba!important}
body:not(.backoffice) .merlot-footer-care{color:#b7d8ca!important}
body:not(.backoffice) .merlot-footer-age{border-color:#49e5b14f!important;color:#f4fff9!important}
body:not(.backoffice) .merlot-footer-care>a{color:#5ee8ba!important}
body:not(.backoffice) .footer-clock{background:#07513e!important;border:1px solid #49e5b133!important;color:#f4fff9!important}
body:not(.backoffice) .footer-social a:not(.social-telegram){background:#07513e!important}
body:not(.backoffice) .footer-social a:not(.social-telegram):hover{background:#117452!important}
body:not(.backoffice) .footer-payment-title{margin:34px 0 14px!important;color:var(--merlot-gold-soft)!important;letter-spacing:2.4px!important;text-shadow:0 0 18px #1ab68230!important}
body:not(.backoffice) .payment-logos{justify-content:flex-start!important;gap:9px!important;margin:0 0 34px!important;padding:10px!important;background:linear-gradient(100deg,#063c31,#042c25 70%,#063c31)!important;border:1px solid #49e5b129!important;border-radius:12px!important;box-shadow:inset 0 1px #ffffff08,0 12px 35px #042c2573!important}
body:not(.backoffice) .payment-logos button,
body:not(.backoffice) .payment-logos button:nth-child(n){background:linear-gradient(145deg,#0b654b,#063c31)!important;border:1px solid #49e5b152!important;border-radius:8px!important;box-shadow:inset 0 1px #ffffff12,0 7px 20px #042c2566!important}
body:not(.backoffice) .payment-logos button:hover{background:linear-gradient(145deg,#0b654b,#063c31)!important;border-color:var(--merlot-gold)!important;box-shadow:0 9px 24px #11745238!important}
body:not(.backoffice) .payment-logos img{filter:saturate(.92) contrast(1.04)!important}
@media(min-width:701px){
  body:not(.backoffice) .payment-logos{width:max-content!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;justify-content:center!important}
}
body:not(.backoffice) .mobile-bottom{background:#042c25f5!important;border-color:#49e5b142!important;box-shadow:0 -5px 18px #042c259c!important}
body:not(.backoffice) .mobile-bottom :is(a,button){color:#53e6ad!important}
body:not(.backoffice) .mobile-bottom :is(a,button)[aria-current=page]:not(.mobile-slot-play),
body:not(.backoffice) .mobile-bottom [aria-expanded=true]{color:var(--merlot-gold-soft)!important;background:#1596691f!important;box-shadow:inset 0 1px #49e5b170!important}
body:not(.backoffice) .mobile-bottom .mobile-live-badge{fill:#1fdb92!important}
body:not(.backoffice) .mobile-bottom .mobile-slot-play img{filter:drop-shadow(0 0 6px #49e5b159)!important}

/* Scrollbars */
body:not(.backoffice){scrollbar-color:#13865e #042c25}
body:not(.backoffice) ::-webkit-scrollbar{width:9px;height:9px}
body:not(.backoffice) ::-webkit-scrollbar-track{background:#042c25}
body:not(.backoffice) ::-webkit-scrollbar-thumb{background:#0f7a58;border:2px solid #042c25;border-radius:20px}
body:not(.backoffice) ::-webkit-scrollbar-thumb:hover{background:#19af75}

/* Final purple cleanup: auth, member menus, profile and record/history panels */
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header .auth-switch,
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header button[data-action="signup"]{
  background:linear-gradient(135deg,#117855,#1bbf7f)!important;
  border:1px solid #49e5b166!important;
  color:#f8fffb!important;
  box-shadow:0 5px 16px #0b654b66!important;
}
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header .auth-switch:hover,
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header .auth-switch:focus-visible,
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header button[data-action="signup"]:hover,
body:not(.backoffice) dialog.login-modal:not(.signup-modal) .auth-header button[data-action="signup"]:focus-visible{
  background:linear-gradient(135deg,#16976b,#23e096)!important;
  border-color:#f4fff9!important;
}
body:not(.backoffice) dialog.login-modal .modal-close{color:#f4fff9!important}

body:not(.backoffice) .header-dropdown.account-dropdown{
  background:#042c25!important;
  border:1px solid #49e5b13d!important;
  color:#f8fffb!important;
  box-shadow:0 12px 30px #042c25b8!important;
}
body:not(.backoffice) .header-dropdown.account-dropdown:before{border-bottom-color:#0f7a58!important}
body:not(.backoffice) .account-dropdown a{
  background:linear-gradient(90deg,#07513e,#063c31)!important;
  border:1px solid #49e5b124!important;
  color:#f8fffb!important;
}
body:not(.backoffice) .account-dropdown a:hover,
body:not(.backoffice) .account-dropdown a:focus-visible{
  background:linear-gradient(90deg,#0f7a58,#07513e)!important;
  border-color:#49e5b166!important;
  color:#f8fffb!important;
}
body:not(.backoffice) .account-dropdown button{
  background:linear-gradient(90deg,#0b654b,#07513e)!important;
  border:1px solid #49e5b13d!important;
  color:#f8fffb!important;
}
body:not(.backoffice) .account-dropdown button:hover,
body:not(.backoffice) .account-dropdown button:focus-visible{background:linear-gradient(90deg,#117553,#0b654b)!important;border-color:#49e5b170!important}

body:not(.backoffice) #account-modal{background:#042c25!important}
body:not(.backoffice) .account-window .account-sidebar{background:#063c31!important;border-color:#49e5b12b!important;scrollbar-color:#127c58 #042c25!important}
body:not(.backoffice) :is(.account-title,.account-group summary,.account-rewards){background:#07513e!important;border-color:#49e5b12e!important;color:#f8fffb!important}
body:not(.backoffice) .account-group>div{background:#063c31!important}
body:not(.backoffice) .account-group>div>a{background:transparent!important;border-left-color:#49e5b124!important;color:#b7d8ca!important}
body:not(.backoffice) .account-group>div>a:hover,
body:not(.backoffice) .account-group>div>a:focus-visible,
body:not(.backoffice) .account-group>div>a.active{background:linear-gradient(90deg,#0f7a58,#0b654b)!important;border-left-color:#49e5b1!important;color:#f8fffb!important}
body:not(.backoffice) .promo-code{background:#07513e!important;border:1px solid #49e5b12b!important}
body:not(.backoffice) .promo-code input{background:#063c31!important;border:1px solid #49e5b124!important;color:#f8fffb!important}
body:not(.backoffice) .promo-code button{background:linear-gradient(115deg,#0f7a58,#19af75)!important;border:1px solid #49e5b152!important;color:#f8fffb!important}
body:not(.backoffice) .promo-code button:hover,
body:not(.backoffice) .promo-code button:focus-visible{background:linear-gradient(115deg,#159166,#1fd58e)!important;border-color:#5ee8ba!important}
body:not(.backoffice) .account-logout{background:linear-gradient(90deg,#0b654b,#07513e)!important;border:1px solid #49e5b132!important;color:#f8fffb!important}
body:not(.backoffice) .account-logout:hover,
body:not(.backoffice) .account-logout:focus-visible{background:linear-gradient(90deg,#0f7a58,#0b654b)!important;border-color:#49e5b170!important}

body:not(.backoffice) .personal-details{background:linear-gradient(145deg,#063c31,#042c25)!important;border:1px solid #49e5b124!important}
body:not(.backoffice) .profile-eligibility{color:#b7d8ca!important}
body:not(.backoffice) .profile-eligibility b{color:#5ee8ba!important}
body:not(.backoffice) .profile-field input,
body:not(.backoffice) .profile-field input:disabled{background:#07513e!important;border:1px solid #49e5b121!important;color:#f8fffb!important}
body:not(.backoffice) .profile-field input:not(:disabled){background:#0b654b!important;border-color:#49e5b142!important}
body:not(.backoffice) .profile-field span{color:#5ee8b2!important}
body:not(.backoffice) .profile-subscribe{background:linear-gradient(90deg,#0f7a58,#07513e)!important;border:1px solid #49e5b130!important;color:#f8fffb!important}
body:not(.backoffice) .profile-subscribe a{color:#f4fff9!important}

body:not(.backoffice) :is(.campaign-history,.member-history){background:linear-gradient(145deg,#063c31,#042c25)!important;border-color:#49e5b13d!important}
body:not(.backoffice) .history-filters{background:#063c31!important;border-color:#49e5b138!important}
body:not(.backoffice) .history-tabs button{background:#07513e!important;color:#f4fff9!important;border-color:#49e5b135!important}
body:not(.backoffice) .history-tabs button:hover,
body:not(.backoffice) .history-tabs button:focus-visible{background:#0b654b!important;border-color:#49e5b170!important;color:#f8fffb!important}
body:not(.backoffice) .history-tabs button.active{background:linear-gradient(115deg,#127c58,#1cc080)!important;border-color:#49e5b1!important;color:#fff!important}
body:not(.backoffice) .history-filter-actions button{background:linear-gradient(115deg,#117653,#1cc080)!important;border:1px solid #49e5b159!important;color:#fff!important}
body:not(.backoffice) .history-filter-actions button:hover,
body:not(.backoffice) .history-filter-actions button:focus-visible{background:linear-gradient(115deg,#159669,#23e096)!important;border-color:#5ee8ba!important}
body:not(.backoffice) .history-filters :is(input,select){background:#07513e!important;border-color:#49e5b13d!important;color:#f8fffb!important}
body:not(.backoffice) :is(.history-entry,.history-events li){background:#063c31!important;border-color:#49e5b12f!important}
body:not(.backoffice) .history-pager button{background:#07513e!important;border:1px solid #49e5b138!important;color:#f8fffb!important}
body:not(.backoffice) .history-pager button:not(:disabled):hover{background:#0f7a58!important;border-color:#49e5b173!important;color:#f8fffb!important}
body:not(.backoffice) :is(.history-total,.history-note,.history-pager span,.history-filters label,.history-entry time,.history-entry dt,.history-detail dt,.history-cancel-note){color:#b7d8ca!important}
body:not(.backoffice) .bet-history-statuses{background:#07513e!important;border-left-color:#49e5b1!important}
body:not(.backoffice) .bet-history-statuses button.active{background:#0f7a58!important;border-left-color:#5ee8ba!important;color:#fff!important}

/* Wheel and ticket record areas */
body:not(.backoffice) .campaign-record-section{
  background:linear-gradient(135deg,#063c31,#042c25 72%,#07513e)!important;
  border:1px solid #49e5b13f!important;
  box-shadow:inset 0 1px #ffffff08,0 14px 36px #042c2555!important;
}
body:not(.backoffice) .campaign-record-section h2{color:#f8fffb!important}
body:not(.backoffice) .campaign-record-section :is(p,.cr-note,.cr-summary,.cr-pager span){color:#b7d8ca!important}
body:not(.backoffice) #campaign-records :is(input,select){background:#07513e!important;border-color:#49e5b142!important;color:#f8fffb!important}
body:not(.backoffice) #campaign-records button{background:linear-gradient(115deg,#0f7a58,#19b377)!important;border-color:#49e5b15c!important;color:#f8fffb!important}
body:not(.backoffice) #campaign-records button:not(:disabled):hover,
body:not(.backoffice) #campaign-records button:not(:disabled):focus-visible{background:linear-gradient(115deg,#159166,#1fdb92)!important;border-color:#f4fff9!important}
body:not(.backoffice) #campaign-records :is(button,input,select,a):focus-visible{outline-color:#f4fff9!important}
body:not(.backoffice) .cr-card{background:linear-gradient(145deg,#07513e,#063c31)!important;border-color:#49e5b136!important}
body:not(.backoffice) .cr-state{background:#0f7a58!important;border:1px solid #49e5b129!important;color:#f8fffb!important}
body:not(.backoffice) .cr-card a{color:#f4fff9!important}

/* Provider launch surface and reliable mobile fullscreen */
body:not(.backoffice) :is(.provider-stage,.provider-frame,.provider-game-shell){background:#042c25!important;border-color:#49e5b12f!important}
body:not(.backoffice) .provider-stage{background-image:radial-gradient(circle at 50% 100%,#127b5726,transparent 52%)!important;color:#b7d8ca!important}
body:not(.backoffice) .provider-game-shell{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;border:1px solid #49e5b12f;border-radius:9px;overflow:hidden}
body:not(.backoffice) .provider-game-shell .provider-toolbar{margin:0;padding:9px 11px;background:linear-gradient(90deg,#07513e,#042c25)!important;border-bottom:1px solid #49e5b12d!important}
body:not(.backoffice) .provider-toolbar .btn-outline{background:linear-gradient(115deg,#0b654b,#07513e)!important;border-color:#49e5b152!important;color:#f8fffb!important}
body:not(.backoffice) .provider-toolbar .btn-outline:hover,
body:not(.backoffice) .provider-toolbar .btn-outline:focus-visible{background:linear-gradient(115deg,#0f7a58,#0b654b)!important;border-color:#5ee8ba!important;color:#f8fffb!important}
body:not(.backoffice) .provider-game-shell .provider-frame{height:calc(100dvh - 205px);min-height:420px;border-radius:0!important}
body.provider-fullscreen-fallback{overflow:hidden!important}
body.provider-fullscreen-fallback .provider-game-shell{position:fixed!important;inset:0!important;z-index:10000!important;width:100vw!important;height:100dvh!important;border:0!important;border-radius:0!important;background:#042c25!important}
body.provider-fullscreen-fallback .provider-game-shell .provider-frame{width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important}
body:not(.backoffice) .provider-game-shell:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#042c25!important}
body:not(.backoffice) .provider-game-shell:fullscreen .provider-frame{height:100%;min-height:0;border-radius:0!important}

@media(max-width:700px), (max-width:950px) and (max-height:500px){
  body:not(.backoffice) .provider-game-shell{height:var(--provider-mobile-height,calc(100dvh - 216px))!important;min-height:0!important;border-radius:6px!important}
  body:not(.backoffice) .provider-game-shell .provider-toolbar{gap:6px!important;padding:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none}
  body:not(.backoffice) .provider-game-shell .provider-toolbar h1{display:none!important}
  body:not(.backoffice) .provider-game-shell .provider-toolbar :is(button,a){flex:1 0 auto!important;min-height:38px!important;padding:7px 9px!important;font-size:10px!important;text-align:center!important}
  body:not(.backoffice) .provider-game-shell .provider-frame{height:100%!important;min-height:0!important;min-width:0!important;align-self:stretch!important}
  body.provider-fullscreen-fallback .provider-game-shell{height:100dvh!important;border-radius:0!important}
}

@media(max-width:700px){
  body:not(.backoffice){
    background-image:radial-gradient(circle at 12% 12%,#1596692b,transparent 34%),radial-gradient(circle at 92% 35%,#49e5b112,transparent 32%),linear-gradient(180deg,#042c25,#063c31 58%,#042c25)!important;
  }
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:linear-gradient(135deg,#07513e,#0b654b)!important;border-color:#49e5b145!important;box-shadow:0 3px 10px #042c2566,inset 0 1px #ffffff0d!important}
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item.active{background:linear-gradient(135deg,#117452,#0b654b)!important;border-color:#49e5b180!important;color:#f8fffb!important}
  body:not(.backoffice) .signup-modal .auth-header{background:#063c31!important}
  body:not(.backoffice) .account-window.mobile-navigation-open .account-sidebar{background:#063c31!important}
  body:not(.backoffice) .tools-dropdown{background:#07513e!important;border:1px solid #49e5b128!important}
  body:not(.backoffice) .tools-dropdown:before{border-color:transparent transparent #07513e!important}
  body:not(.backoffice) .hero-slider.merlot-hero{aspect-ratio:2.35!important;background:#042c25!important}
  body:not(.backoffice) .merlot-hero .hero-link:after{background:linear-gradient(90deg,#063c31b8,#0b654b54 55%,transparent 82%)!important}
  body:not(.backoffice) .merlot-hero #hero-image{object-fit:cover!important;object-position:center!important}
  body:not(.backoffice) .merlot-hero-copy{padding:3% 5%!important}
  body:not(.backoffice) .merlot-hero-copy>small{font-size:6px!important;letter-spacing:1.4px!important}
  body:not(.backoffice) .merlot-hero-copy>strong{max-width:56%!important;margin:4px 0!important;font-size:15px!important;line-height:1.04!important;letter-spacing:-.25px!important}
  body:not(.backoffice) .merlot-hero-copy>span{max-width:54%!important;font-size:6.5px!important;line-height:1.35!important}
  body:not(.backoffice) .merlot-hero-copy>b{margin-top:4px!important;padding:4px 7px!important;font-size:5.5px!important;gap:5px!important}
}

@media(max-width:900px){
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:linear-gradient(135deg,#07513e,#0b654b)!important;border-color:#49e5b14d!important}
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item.active{background:linear-gradient(135deg,#117452,#0b654b)!important;border-color:#49e5b180!important;color:#f8fffb!important}
  body:not(.backoffice) .hdr-logo-bc{width:172px!important;max-width:172px!important}
  body:not(.backoffice) .hdr-logo-bc img{width:168px!important;height:38px!important;max-height:38px!important}
}

/* Finance and loyalty panels: keep the production RioBahis burgundy / gold palette. */
body:not(.backoffice) :is(.deposit-methods button,.withdraw-methods button){
  background:linear-gradient(145deg,#07513e,#063c31)!important;
  border-color:#49e5b152!important;
  box-shadow:inset 0 1px #ffffff0d,0 5px 14px #042c2555!important;
}
body:not(.backoffice) :is(.deposit-methods button,.withdraw-methods button).selected{
  background:linear-gradient(145deg,#117452,#0b654b)!important;
  border-color:#5ee8ba!important;
}
body:not(.backoffice) .deposit-methods button img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}
body:not(.backoffice) :is(.payment-summary,.withdraw-summary){
  background:linear-gradient(125deg,#07513e,#063c31)!important;
  border:1px solid #49e5b138!important;
}
body:not(.backoffice) .payment-summary :is(span,b){color:#f8fffb!important}
body:not(.backoffice) .payment-summary span{color:#b7d8ca!important}
body:not(.backoffice) .deposit-form h3,
body:not(.backoffice) .withdraw-panel>h3{
  background:#07513e!important;
  color:#f4fff9!important;
  border-left:3px solid #49e5b1!important;
  padding:8px 10px!important;
}
body:not(.backoffice) .withdraw-balance-table{
  background:#063c31!important;
  border:1px solid #49e5b136!important;
}
body:not(.backoffice) .withdraw-balance-table>div,
body:not(.backoffice) .withdraw-balance-table>div:nth-child(even){
  background:linear-gradient(90deg,#07513e,#042c25)!important;
  border-bottom-color:#49e5b125!important;
  color:#b7d8ca!important;
}
body:not(.backoffice) .withdraw-balance-table b{color:#f4fff9!important}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) :is(input,select){
  background:#07513e!important;
  border-color:#49e5b14a!important;
  color:#f8fffb!important;
}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) .place-bet{
  background:linear-gradient(115deg,#127c58,#1dca87)!important;
  border-color:#f4fff9!important;
  color:#f8fffb!important;
}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) .place-bet:disabled{
  background:#0b654b!important;
  border-color:#16976b!important;
  color:#5ee8ba!important;
}
/* Keep the deposit button free of the shared provider theme's purple glow. */
body:not(.backoffice) .deposit-form .place-bet{
  box-shadow:none!important;
}

body:not(.backoffice) .loyalty-program :is(.loyalty-tiers,#loyalty-tier-content,.loyalty-program-facts>div,.reward-cards article,.loyalty-table){
  background:linear-gradient(145deg,#07513e,#042c25)!important;
  border-color:#49e5b138!important;
}
body:not(.backoffice) .loyalty-program .loyalty-tiers button{color:#f8fffb!important}
body:not(.backoffice) .loyalty-program .loyalty-tiers button.active,
body:not(.backoffice) .loyalty-program .loyalty-tiers button>span:last-child{
  background:#0f7a58!important;
  border-color:#49e5b166!important;
}
body:not(.backoffice) .loyalty-program :is(.loyalty-program-intro p,.loyalty-selected-heading p,.loyalty-program-facts span,.loyalty-program-facts small,.reward-cards p,.loyalty-table td small,.loyalty-qualification p){color:#b7d8ca!important}
body:not(.backoffice) .loyalty-program :is(.loyalty-table th,.loyalty-table td){border-color:#49e5b125!important}
body:not(.backoffice) .loyalty-program .loyalty-table th{background:#0b654b!important;color:#f8fffb!important}

/* Payment brand marks are rendered as card art so every NeoPays option remains visible. */
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button{isolation:isolate!important;overflow:visible!important}
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button>img{display:none!important}
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button::after{
  content:'';
  position:absolute;
  inset:8px;
  z-index:0;
  display:block;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
}
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button>small{z-index:2!important}
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button:nth-child(1)::after{background-image:url('/theme/merlot/payments/payment-0.webp')}
body:not(.backoffice) :is(.deposit-methods,.withdraw-methods) button:nth-child(2)::after{background-image:url('/theme/merlot/payments/payment-4.webp')}
body:not(.backoffice) .deposit-methods button:nth-child(3)::after{background-image:url('/theme/merlot/payments/payment-5.webp')}

/* First-party support stays in a bottom-right window without dimming the page. */
.livechat-popover{position:fixed;right:20px;bottom:100px;z-index:110;width:min(420px,calc(100vw - 32px));height:min(680px,calc(100dvh - 126px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #49e5b158;border-radius:16px;background:#042c25;box-shadow:0 24px 70px #042c25b8;color:#f8fffb}
.livechat-popover[hidden]{display:none}
.livechat-popover>header{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;min-height:52px;padding:10px 10px 10px 17px;background:linear-gradient(90deg,#0b654b,#063c31);border-bottom:1px solid #49e5b142;font-size:13px}
.livechat-popover>header strong{font-size:13px;font-weight:800}
.livechat-popover>header small{color:#5ee8ba;font-size:10px;font-weight:600;white-space:nowrap}
.livechat-popover>header button{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;background:transparent;color:#f8fffb;font-size:25px;line-height:1}
.livechat-popover>header button:hover,.livechat-popover>header button:focus-visible{background:#49e5b120;color:#f4fff9}
.livechat-popover .livechat-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#042c25}
@media(max-width:600px){body:not(.backoffice) .support-button{position:fixed!important;right:12px!important;bottom:72px!important;z-index:109!important;display:grid!important;place-items:center;width:50px!important;height:50px!important;margin:0!important;border-radius:50%!important}body.livechat-open .support-button{display:none!important}.livechat-popover{left:8px;right:8px;bottom:66px;width:auto;height:min(650px,calc(100dvh - 78px));border-radius:14px}.livechat-popover>header small{display:none}}

/* Member bonus wallet: burgundy/gold, with an explicit turnover and cancellation state. */
body:not(.backoffice) .active-bonus-card,
body:not(.backoffice) .bonus-empty{
  padding:clamp(18px,3vw,30px);
  border:1px solid #49e5b152;
  border-radius:16px;
  background:linear-gradient(145deg,#07513e,#042c25 72%);
  color:#f8fffb;
}
body:not(.backoffice) .active-bonus-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
body:not(.backoffice) .active-bonus-card>header h2{margin:5px 0 0;font-size:clamp(22px,3vw,34px)}
body:not(.backoffice) .active-bonus-card>header>strong{color:#f4fff9;font-size:clamp(24px,4vw,38px);white-space:nowrap}
body:not(.backoffice) .active-bonus-progress{padding:16px;border:1px solid #49e5b135;border-radius:12px;background:#063c31}
body:not(.backoffice) .active-bonus-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#b7d8ca}
body:not(.backoffice) .active-bonus-progress b{color:#f8fffb}
body:not(.backoffice) .active-bonus-progress progress{display:block;width:100%;height:12px;border:0;border-radius:999px;overflow:hidden;background:#0b654b}
body:not(.backoffice) .active-bonus-progress progress::-webkit-progress-bar{background:#0b654b}
body:not(.backoffice) .active-bonus-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#159569,#49e5b1)}
body:not(.backoffice) .active-bonus-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#159569,#49e5b1)}
body:not(.backoffice) .active-bonus-progress small{display:block;margin-top:8px;color:#b7d8ca}
body:not(.backoffice) .active-bonus-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
body:not(.backoffice) .active-bonus-card dl>div{padding:14px;border:1px solid #49e5b12e;border-radius:10px;background:#07513e}
body:not(.backoffice) .active-bonus-card dt{color:#b7d8ca;font-size:11px;text-transform:uppercase}
body:not(.backoffice) .active-bonus-card dd{margin:6px 0 0;color:#f8fffb;font-weight:750}
body:not(.backoffice) .active-bonus-card>.btn-danger{width:100%;margin-top:2px}
body:not(.backoffice) .active-bonus-card>.btn-danger:disabled{background:#0b654b!important;border-color:#16976b!important;color:#5ee8ba!important;cursor:not-allowed}
body:not(.backoffice) .bonus-cancel-note{margin:10px 0 0;color:#b7d8ca;font-size:12px;text-align:center}
body:not(.backoffice) .bonus-empty{text-align:center}
body:not(.backoffice) .bonus-empty strong{display:block;color:#f4fff9;font-size:22px}
body:not(.backoffice) .bonus-empty p{color:#b7d8ca}
@media(max-width:680px){body:not(.backoffice) .active-bonus-card>header{display:block}body:not(.backoffice) .active-bonus-card>header>strong{display:block;margin-top:12px}body:not(.backoffice) .active-bonus-card dl{grid-template-columns:1fr}}

body:not(.backoffice) .game-play-button{
  background:linear-gradient(135deg,#138960,#1dcd88)!important;
  border:1px solid #5ee8ba!important;
  color:#f8fffb!important;
  box-shadow:0 7px 20px #042c25b8,0 0 0 2px #0f7a5899!important;
}

/* A redeemed promo confirms unobtrusively, without opening bonus details. */
body:not(.backoffice) .dialog-toast.promo-redeem-toast{
  position:fixed;
  top:max(16px,env(safe-area-inset-top));
  right:max(16px,env(safe-area-inset-right));
  bottom:auto;
  max-width:min(440px,calc(100vw - 32px));
  z-index:100;
  pointer-events:none;
}

/* RioBahis support is an embedded corner panel, never a centered page modal. */
body:not(.backoffice) #livechat-popover{
  position:fixed!important;
  top:auto!important;
  left:auto!important;
  right:max(20px,env(safe-area-inset-right))!important;
  bottom:calc(100px + env(safe-area-inset-bottom))!important;
  transform:none!important;
  margin:0!important;
  width:min(420px,calc(100vw - 32px))!important;
  min-width:0!important;
  height:min(680px,calc(100vh - 126px - env(safe-area-inset-bottom)))!important;
  height:min(680px,calc(100dvh - 126px - env(safe-area-inset-bottom)))!important;
  min-height:0!important;
  max-height:calc(100dvh - 126px - env(safe-area-inset-bottom))!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  overflow:hidden!important;
  z-index:110!important;
  border-color:#49e5b158!important;
  background:#042c25!important;
  color:#f8fffb!important;
}
body:not(.backoffice) #livechat-popover[hidden]{display:none!important}
body:not(.backoffice) #livechat-popover .livechat-frame{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  border:0!important;
  background:#042c25!important;
}
@media(max-width:600px){
  body:not(.backoffice) #livechat-popover{
    left:max(8px,env(safe-area-inset-left))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:calc(66px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:min(650px,calc(100vh - 78px - env(safe-area-inset-bottom)))!important;
    height:min(650px,calc(100dvh - 78px - env(safe-area-inset-bottom)))!important;
    max-height:calc(100dvh - 78px - env(safe-area-inset-bottom))!important;
  }
}

/* Compact RioBahis chat: familiar corner size, with viewport-safe inner scrolling. */
body:not(.backoffice) #livechat-popover{
  width:min(360px,calc(100vw - 32px))!important;
  height:min(560px,calc(100vh - 126px - env(safe-area-inset-bottom)))!important;
  height:min(560px,calc(100dvh - 126px - env(safe-area-inset-bottom)))!important;
}
@media(max-width:600px){
  body:not(.backoffice) #livechat-popover{
    left:auto!important;
    right:max(8px,env(safe-area-inset-right))!important;
    width:min(360px,calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
    height:min(560px,calc(100vh - 78px - env(safe-area-inset-bottom)))!important;
    height:min(560px,calc(100dvh - 78px - env(safe-area-inset-bottom)))!important;
  }
}

/* Complete the public wine/gold palette, including inherited reference dialogs. */
body:not(.backoffice) :is(dialog,#modal,#account-modal){background:var(--merlot-surface)!important;border:1px solid var(--merlot-line)!important;color:var(--merlot-text)!important}
body:not(.backoffice) :is(dialog,#modal)::backdrop{background:#042c25c9}
body:not(.backoffice) :is(.modal-title,.provider-picker-caption){color:var(--merlot-text)}
body:not(.backoffice) :is(#toast,.dialog-toast,.header-dropdown){background:var(--merlot-surface-2)!important;border-color:var(--merlot-gold)!important;color:var(--merlot-text)!important}
body:not(.backoffice) :is(.provider-picker-search,.provider-picker-card,.provider-picker-reset,.bonus-rule-facts>span){background:var(--merlot-surface-2)!important;border-color:var(--merlot-line)!important;color:var(--merlot-muted)!important}
body:not(.backoffice) :is(.provider-picker-card:hover,.provider-picker-card.active){background:var(--merlot-surface-3)!important;border-color:var(--merlot-gold)!important;box-shadow:none!important}
body:not(.backoffice) :is(.provider-picker-apply,.btn-primary,.hdr-user-bc .btn.register){background:linear-gradient(110deg,var(--merlot-wine-2),var(--merlot-rose))!important;border-color:var(--merlot-line)!important;color:var(--merlot-text)!important}
body:not(.backoffice) :is(.favorite-button,.game-favorite,[data-action="favorite"],.game-toolbar button:first-child){background:var(--merlot-wine)!important;border-color:var(--merlot-line)!important;color:var(--merlot-gold-soft)!important}
body:not(.backoffice) :is(.bonus-card-terms,.bonus-readable-terms,.bonus-rule-hint){color:var(--merlot-muted)!important;border-color:var(--merlot-line)!important}
body:not(.backoffice) .bonus-rule-facts strong{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) :is(.managed-bonus-card.bonus-focused,:focus-visible){outline-color:var(--merlot-gold)!important}
body:not(.backoffice) #modal form[data-form^="password-reset"]{display:grid;gap:18px;margin-top:22px}
body:not(.backoffice) #modal form[data-form^="password-reset"] label{display:grid;gap:8px;color:var(--merlot-muted)}
body:not(.backoffice) #modal form[data-form^="password-reset"] input:not([type="hidden"]){width:100%;min-height:48px;background:var(--merlot-surface-2);border:1px solid var(--merlot-line);border-radius:8px;padding:12px;color:var(--merlot-text)}
body:not(.backoffice) #modal:has(form[data-form^="password-reset"]){width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:36px 28px;border-radius:14px;overflow:auto}
@media(max-width:600px){body:not(.backoffice) #modal:has(form[data-form^="password-reset"]){padding:36px 20px 24px}body:not(.backoffice) #modal form[data-form^="password-reset"] input{font-size:16px}}

/* Mobile profile DOB: match 48px fields and contain WebKit's native date box.
   Keep the native date type/value and existing disabled account-data policy. */
@media(max-width:768px){
  body:not(.backoffice) #account-modal .personal-details form[data-form="profile"] .profile-field{
    min-width:0;
    max-width:100%;
  }
  body:not(.backoffice) #account-modal .personal-details form[data-form="profile"] .profile-field input[type="date"]:disabled{
    box-sizing:border-box!important;
    display:block!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:20px 13px 5px!important;
    line-height:20px!important;
    text-align:left;
  }
  body:not(.backoffice) #account-modal .personal-details form[data-form="profile"] .profile-field input[type="date"]:disabled::-webkit-date-and-time-value{
    margin:0;
    min-width:0;
    max-width:100%;
    height:20px;
    line-height:20px;
    text-align:left;
  }
  body:not(.backoffice) #account-modal .personal-details form[data-form="profile"] .profile-field input[type="date"]:disabled::-webkit-datetime-edit{
    padding:0;
    min-width:0;
    max-width:100%;
    line-height:20px;
  }
}


/* Exact Evolution table originals: retain visible table identity. */
#catalog-grid .game-card img[src*="/theme/evolution-table-exact/"]{object-fit:contain!important;}

/* One payment rail: the three native cards and four XPay choices share a row. */
body:not(.backoffice) #merlot-xpay-deposit-root{min-width:0;max-width:100%}
body:not(.backoffice) #merlot-xpay-deposit-root .deposit-methods{display:flex!important;flex-wrap:nowrap!important;gap:12px!important;overflow-x:auto!important;max-width:100%!important;width:100%!important;min-width:0!important;padding:10px 2px!important;box-sizing:border-box;scrollbar-width:thin}
body:not(.backoffice) #merlot-xpay-deposit-root .deposit-methods>button,
body:not(.backoffice) #merlot-xpay-deposit-root #xpay-methods .method{flex:0 0 116px!important;width:116px!important;min-width:116px!important;max-width:116px!important;height:64px!important;margin:0!important;padding:8px!important;box-sizing:border-box}
@media(max-width:600px){
body:not(.backoffice) #merlot-xpay-deposit-root .deposit-methods>button,
body:not(.backoffice) #merlot-xpay-deposit-root #xpay-methods .method{flex-basis:100px!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:58px!important}
}
