/* Merlot V5 — warm wine, black marble and champagne-gold visual system. */
:root{
  --merlot-ink:#0d0709;
  --merlot-ink-2:#090d13;
  --merlot-surface:#0d121b;
  --merlot-surface-2:#101825;
  --merlot-surface-3:#121e32;
  --merlot-wine:#14305f;
  --merlot-wine-2:#204687;
  --merlot-rose:#3d6cbd;
  --merlot-gold:#5e88d0;
  --merlot-gold-soft:#a4bfee;
  --merlot-text:#f4f7fd;
  --merlot-muted:#aeb8c8;
  --merlot-line:#5e88d038;
  --brand-violet:var(--merlot-wine-2);
  --brand-magenta:var(--merlot-rose);
  --brand-panel:var(--merlot-surface-2);
  --brand-surface:var(--merlot-ink-2);
  --hero:135,32,63;
  --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%,#183c7b26,transparent 42%),
    radial-gradient(ellipse at 95% 32%,#3d6cbd15,transparent 38%),
    linear-gradient(180deg,#0d0709,#090d14 55%,#0a0608)!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:#2f5ba6;color:#fff}

/* Global chrome */
body:not(.backoffice) .header-bc{background:#080b10f2!important;border-bottom:1px solid var(--merlot-line)!important;box-shadow:0 9px 28px #0502039c}
body:not(.backoffice) .hdr-main-content-bc{background:#0d0709e8!important}
body:not(.backoffice) .header-navigation{background:linear-gradient(90deg,#090e16,#101825 50%,#090e16)!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:#d9dfea!important}
body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:linear-gradient(135deg,#101621,#131f35)!important;border:1px solid #5e88d045!important;color:#d9dfea!important;box-shadow:0 3px 10px #05020366,inset 0 1px #ffffff0d!important}
body:not(.backoffice) :is(.nav-menu-item:hover,.nav-menu-item.active){color:#f1f6fd!important;background:linear-gradient(110deg,#163364,#285096)!important;box-shadow:inset 0 1px #ffffff14,0 5px 18px #14305f47}
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,#1a3b74,#3d6cbd)!important;color:#fff!important;box-shadow:0 7px 22px #1430604d!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 #23498a59!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,#28467b,#496fb0)!important;color:#ebf1fb!important}
body:not(.backoffice) :focus-visible{outline-color:var(--merlot-gold)!important}

/* Hero and home modules */
body:not(.backoffice) .hero-slider.merlot-hero{background:#080c12!important;border-color:#5e88d036!important;box-shadow:0 18px 44px #04020380,0 0 30px #183c7b21!important}
body:not(.backoffice) .merlot-hero .hero-link{background:#070a10!important}
body:not(.backoffice) .merlot-hero .hero-link:after{background:linear-gradient(90deg,#0b1321cc,#142b5466 52%,transparent 78%)!important}
body:not(.backoffice) .merlot-hero #hero-image{background-color:#090d13!important}
body:not(.backoffice) .merlot-hero-copy>small{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .merlot-hero-copy em{color:#6794e3!important}
body:not(.backoffice) .merlot-hero-copy>span{color:#dce4f1!important}
body:not(.backoffice) .merlot-hero-copy>b{background:linear-gradient(105deg,#17366c,#3765b5)!important;box-shadow:0 10px 28px #10234570}
body:not(.backoffice) .merlot-hero .hero-controls button{background:#0c1018d9!important;border-color:#5e88d06b!important;color:var(--merlot-gold-soft)!important;box-shadow:0 5px 14px #0008!important}
body:not(.backoffice) .merlot-hero .hero-controls>span{color:#ecf1fb!important}
body:not(.backoffice) .merlot-product{background:radial-gradient(circle at 50% 28%,#29529a35,transparent 45%),linear-gradient(145deg,#0c111a,#131f35)!important;border-color:#5e88d042!important;box-shadow:0 10px 24px #05020370,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 #050203b3) saturate(1.04) contrast(1.04)!important}
body:not(.backoffice) .merlot-product:hover{background:linear-gradient(145deg,#131f35,#173568)!important;border-color:#5e88d078!important}
body:not(.backoffice) .merlot-product :is(.ui-icon,span){color:#c6d7f4!important}
body:not(.backoffice) .sectionTitle{background:linear-gradient(110deg,#121e32,#0c1119 72%)!important;border-color:#5e88d03b!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,#0e141d,#090d13)!important;border-color:#5e88d024!important}
body:not(.backoffice) :is(.home-showcase,.showcase-section,.recent-winners,.jackpot-section,.tournaments-section){border-color:#5e88d020!important}
body:not(.backoffice) .recent-winners{background:linear-gradient(135deg,#0d121c,#121e32)!important;border-color:#5e88d036!important}
body:not(.backoffice) .merlot-jackpot{background:linear-gradient(180deg,#131f35 0,#101724 48%,#090d13 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 #2f579b61)!important}
body:not(.backoffice) .showcase-toggle{border-color:#5e88d055!important;color:#d6deec!important}
body:not(.backoffice) .daily-periods button[aria-pressed=true]{border-color:var(--merlot-gold)!important;background:#183c7b2e!important}
body:not(.backoffice) :is(.daily-slot-rtp,.daily-slot-arrow){color:#6b97e3!important}
body:not(.backoffice) :is(.support-button,.back-top){background:linear-gradient(140deg,#1b3e7b,#14223a)!important;border-color:#5e88d075!important;color:var(--merlot-gold-soft)!important;box-shadow:0 6px 20px #05020380!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,#101621,#0b0f16)!important;border-color:#5e88d029!important}
body:not(.backoffice) .managed-bonus-grid article{box-shadow:0 15px 34px #05020366!important}
body:not(.backoffice) .tournament-body{background:linear-gradient(180deg,#17243aed,#0c111a 30%,#080b10)!important;border:1px solid #5e88d02e!important;box-shadow:0 12px 28px #05020385!important}
body:not(.backoffice) .tournament-body .muted{color:#aeb8c8!important}
body:not(.backoffice) .tournament-body>strong{color:#5487e0!important;text-shadow:0 0 18px #255bb92e!important}
body:not(.backoffice) .tournament-body .btn-outline{background:#111926!important;border-color:#5e88d055!important;color:#d5dff0!important}
body:not(.backoffice) .tournament-body .btn-outline:hover{background:#15233b!important;border-color:var(--merlot-gold)!important;color:#ecf1fb!important}
body:not(.backoffice) .tournament-body .tournament-join-disabled{background:linear-gradient(115deg,#1a315a,#214178)!important;color:#b1bccf!important;box-shadow:none!important;opacity:.72!important;cursor:not-allowed!important}
body:not(.backoffice) .merlot-campaign-art{background:#0c111a!important}
body:not(.backoffice) .merlot-campaign-art>.merlot-art-copy{background:linear-gradient(120deg,#14223a,#0c111a)!important;border-color:#5e88d024!important}
body:not(.backoffice) .merlot-campaign-art .merlot-art-copy>span{color:#b1c5e8!important}
body:not(.backoffice) .merlot-campaign-art .merlot-art-copy>b{color:#6e99e4!important;text-shadow:0 0 18px #284d8d42!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,#0c152494,#142f5d5e 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:#80a6e8!important}
body:not(.backoffice) .managed-bonus-grid :is(button,.btn-primary){background:linear-gradient(105deg,#1c3e7a,#3766b6)!important;border-color:#5e88d02e!important}
body:not(.backoffice) .bonus-card-terms{border-color:#5e88d035!important;color:#dce3f0!important}
body:not(.backoffice) .bonus-rule-facts>span{background:#121b2b!important;border-color:#5e88d038!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:#0a0e14!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:#111824!important;color:#d5ddea!important}
body:not(.backoffice) :is(.catalog-categories button:hover,.catalog-random:hover){background:#15233a!important}
body:not(.backoffice) .catalog-categories button.active{background:linear-gradient(110deg,#173569,#2c569e)!important;border-color:#5e88d070!important}
body:not(.backoffice) .catalog-category-next{background:#131f35!important;box-shadow:-12px 0 18px #0a0e14!important}
body:not(.backoffice) #modal:has(.provider-picker){background:#0b0f16!important;border-color:#5e88d045!important}
body:not(.backoffice) :is(.provider-picker-search,.provider-picker-card,.provider-picker-reset,#modal:has(.provider-picker) .modal-close){background:#131b29!important;color:#d5ddea!important}
body:not(.backoffice) :is(.provider-picker-card:hover,.provider-picker-card.active){background:#172844!important;border-color:var(--merlot-gold)!important;box-shadow:inset 0 0 0 1px #5e88d0!important}

/* Campaign, VIP, wheel and ticket pages */
body:not(.backoffice) .campaign-tabs{border-color:#5e88d021!important}
body:not(.backoffice) .campaign-tabs a{color:#aeb7c7!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%,#24509c32,transparent 46%),linear-gradient(120deg,#0c0709,#0c121d 70%,#0f1b31)!important;border-color:#5e88d03b!important}
body:not(.backoffice) .vip-hero h1 em{background:linear-gradient(100deg,#dce6f8,#5e88d0)!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,#7ca1e0,#3760a7)!important;color:#0d121b!important}
body:not(.backoffice) .vip-tier.featured{background:radial-gradient(circle at top,#3d6ab829,transparent 70%),#101621!important;border-color:#658ed4!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%,#2f5ba72b,transparent 48%),linear-gradient(145deg,#101724,#080b0f)!important;border-color:#5e88d035!important}
body:not(.backoffice) .wheel-aura{border-color:#81a7e84f!important;box-shadow:0 0 60px #20478b43,inset 0 0 50px #17356a33!important}
body:not(.backoffice) .prize-wheel{background:conic-gradient(#234a8e 0 36deg,#101621 36deg 72deg,#3d6cbd 72deg 108deg,#131f35 108deg 144deg,#1a3b73 144deg 180deg,#0c1018 180deg 216deg,#2f5ba7 216deg 252deg,#111b2b 252deg 288deg,#17356a 288deg 324deg,#0a0e14 324deg 360deg)!important;border-color:var(--merlot-gold)!important;box-shadow:0 0 0 5px #263a5c,0 0 0 8px #5e88d057,0 0 55px #23498a5c,inset 0 0 35px #0009!important}
body:not(.backoffice) .wheel-hub{background:radial-gradient(circle at 35% 25%,#5b8adc,#20478b 55%,#101e35)!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,#131e30,#0c1018)!important;border-color:#5e88d030!important;color:#d5ddea!important}
body:not(.backoffice) .wheel-prize-index{background:#2b559d40!important;color:#9ebbed!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,#f1f6fd,#789fe2 55%,#4b7fd9)!important;background-clip:text!important;color:transparent!important}
body:not(.backoffice) :is(.ticket-wallet article,.ticket-win){background:linear-gradient(110deg,#142035,#0c111a)!important;border-color:#5e88d055!important}
body:not(.backoffice) .ticket-details th{background:#121b2b!important;color:#9bb6e5!important;border-color:#5e88d032!important}
body:not(.backoffice) .ticket-details td{border-color:#5e88d01f!important}
body:not(.backoffice) .ticket-details tbody tr:nth-child(even){background:#17315e1a!important}
body:not(.backoffice) .ticket-details ol{color:#adb7c7!important}
body:not(.backoffice) :is(.campaign-history,.ticket-win){background:linear-gradient(120deg,#101825,#0a0e14)!important;border-color:#5e88d03d!important}
body:not(.backoffice) .campaign-detail h3{color:var(--merlot-gold)!important;border-color:#5e88d02f!important}
body:not(.backoffice) .bonus-switch button.active{background:linear-gradient(110deg,#163365,#2f5ba7)!important;border-color:#5e88d075!important}

/* Club experience */
body:not(.backoffice) .club-page{--club-muted:#aeb8c8;--club-metal:#5e88d0;color:var(--merlot-text)!important}
body:not(.backoffice) .club-kicker{color:var(--merlot-gold)!important}
body:not(.backoffice) .club-kicker i{background:#6e97df!important;box-shadow:0 0 15px #32599b!important}
body:not(.backoffice) .club-hero{background:radial-gradient(ellipse at 78% 48%,#20478b38,transparent 50%),linear-gradient(135deg,#0c121b,#080b0f)!important;border-color:#5e88d032!important}
body:not(.backoffice) .club-hero h1 em{background:linear-gradient(100deg,#dee8f9,#5e88d0 46%,#4b7fd8)!important;background-clip:text!important;color:transparent!important}
body:not(.backoffice) .club-primary{background:linear-gradient(105deg,#7fa4e3,#3760a8)!important;color:#0c111a!important;box-shadow:0 8px 25px #274d8e29!important}
body:not(.backoffice) .club-hero-actions>.btn-primary{border-color:#5e88d066!important;color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .club-hero-signature{color:#c1d2f0!important}
body:not(.backoffice) .club-hero-signature>i{background:#5e88d066!important}
body:not(.backoffice) .club-halo{border-color:#5e88d036!important;box-shadow:0 0 90px #20478b38,inset 0 0 70px #5e88d016!important}
body:not(.backoffice) .club-art-caption{color:#98aac9!important}
body:not(.backoffice) .club-account{background:linear-gradient(105deg,#121b2b,#0b0f17)!important;border-color:#5e88d03a!important}
body:not(.backoffice) .club-account-points strong{color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .club-level-card{background:linear-gradient(155deg,#121b2b,#0b0f16)!important;border-color:#5e88d02d!important}
body:not(.backoffice) .club-level-card>strong{color:#ecf1fb!important}
body:not(.backoffice) .club-level-detail{background:#0e141d!important;border-color:#5e88d040!important}
body:not(.backoffice) .club-benefit-grid article{background:linear-gradient(130deg,#15213580,#0c1119)!important;border-color:#5e88d024!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:#aeb8c8!important}
body:not(.backoffice) .club-journey{border-color:#5e88d02b!important}
body:not(.backoffice) .club-journey-steps article>span{border-color:#5e88d047!important;color:var(--merlot-gold)!important}
body:not(.backoffice) .club-journey-steps small{color:#688fd1!important}
body:not(.backoffice) .club-faq details{border-color:#5e88d024!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:#080b10!important}
body:not(.backoffice) :is(.account-sidebar,.account-title,.account-group summary,.account-rewards){background:#101621!important}
body:not(.backoffice) .account-group>div{background:#121b2a!important}
body:not(.backoffice) .account-group>div>a.active{background:#162642!important;border-color:var(--merlot-gold)!important;color:#f0f4fc!important}
body:not(.backoffice) :is(.account-body>.panel,.account-body .panel,.bonus-request-record,.summary-card,.campaign-history){background:linear-gradient(125deg,#101724,#090d13)!important;border-color:#5e88d032!important}
body:not(.backoffice) :is(.modal-tabs,.bonus-switch,.bonus-card-terms){border-color:#5e88d032!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:#f0f4fc!important}
body:not(.backoffice) :is(.account-sidebar,.account-body){scrollbar-color:#1a3b74 #0a0e14!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:#131a27!important;border-color:#5e88d02b!important;color:#f4f7fd!important}
body:not(.backoffice) :is(input,textarea)::placeholder{color:#8994a6!important}
body:not(.backoffice) :is(.signup-submit,.signup-modal .auth-support,.signup-modal .signup-terms){background:#0c1119!important;border-color:#5e88d028!important}
body:not(.backoffice) .wallet-card{background:linear-gradient(120deg,#172e56,#2b497d)!important}
body:not(.backoffice) .bonus-wallet{background:linear-gradient(120deg,#1f4078,#3d6ab7)!important}
body:not(.backoffice) .loyalty-shortcut{background:linear-gradient(120deg,#162c51,#2f4977)!important}
body:not(.backoffice) dialog.mobile-menu-modal{background:#080b10!important}
body:not(.backoffice) .mobile-menu-modal .modal-title{background:#101621!important;border-color:#5e88d02e!important}
body:not(.backoffice) .mobile-menu-auth [data-mobile-account]{background:#121b2b!important}
body:not(.backoffice) .mobile-app-menu :is(a,button){border-color:#5e88d01d!important;color:#dae1ee!important}
body:not(.backoffice) .mobile-nav-icon{background:linear-gradient(145deg,#17356a,#131f35)!important;color:var(--merlot-gold-soft)!important}

/* Footer and fixed navigation */
body:not(.backoffice) :is(.layout-footer-holder-bc,.footer-reference){background:#0b0608!important}
body:not(.backoffice) :is(.footer-social,.footer-columns,.footer-bottom){border-color:#5e88d024!important}
body:not(.backoffice) .layout-footer-holder-bc{color:#e3eaf7!important}
body:not(.backoffice) .footer-columns :is(h3,.footer-payment-title){color:var(--merlot-gold-soft)!important}
body:not(.backoffice) .footer-columns a{color:#b1bbcb!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:#a1abbd!important}
body:not(.backoffice) :is(#merlot-footer-title,.footer-reference h2){color:#eff4fc!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:#8aa5d4!important}
body:not(.backoffice) .footer-reference a:hover{color:#d4e1f7!important}
body:not(.backoffice) :is(.merlot-footer-certification,.merlot-footer-showcase){border-color:#5e88d029!important}
body:not(.backoffice) .merlot-footer-showcase-heading>span{color:var(--merlot-gold)!important}
body:not(.backoffice) .merlot-footer-showcase-heading h2{color:#eff4fc!important}
body:not(.backoffice) .merlot-footer-showcase-heading h2 em{color:#739de5!important}
body:not(.backoffice) .merlot-footer-showcase-heading p{color:#a3acbc!important}
body:not(.backoffice) .merlot-footer-provider-wall a:hover,
body:not(.backoffice) .merlot-footer-provider-wall a:focus-visible{background:#20478b14!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:#799bd5!important}
body:not(.backoffice) .merlot-footer-info{background:linear-gradient(115deg,#10182580,#090c1273)!important;border-color:#5e88d038!important}
body:not(.backoffice) .merlot-footer-info h3{color:#789fe2!important;border-color:#5e88d04a!important;background:#2b549b12!important}
body:not(.backoffice) .merlot-footer-info p{color:#a3adbd!important}
body:not(.backoffice) .merlot-footer-info strong{color:#a2bcea!important}
body:not(.backoffice) .merlot-footer-info nav a{color:#7698d2!important}
body:not(.backoffice) .merlot-footer-care{color:#a2acbc!important}
body:not(.backoffice) .merlot-footer-age{border-color:#5e88d04f!important;color:#7fa2df!important}
body:not(.backoffice) .merlot-footer-care>a{color:#7698d2!important}
body:not(.backoffice) .footer-clock{background:#111926!important;border:1px solid #5e88d033!important;color:#a1b5d8!important}
body:not(.backoffice) .footer-social a:not(.social-telegram){background:#111926!important}
body:not(.backoffice) .footer-social a:not(.social-telegram):hover{background:#19376b!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 #2b58a530!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,#0c121d,#0d0709 70%,#0d121b)!important;border:1px solid #5e88d029!important;border-radius:12px!important;box-shadow:inset 0 1px #ffffff08,0 12px 35px #05020373!important}
body:not(.backoffice) .payment-logos button,
body:not(.backoffice) .payment-logos button:nth-child(n){background:linear-gradient(145deg,#131e32,#0a0e16)!important;border:1px solid #5e88d052!important;border-radius:8px!important;box-shadow:inset 0 1px #ffffff12,0 7px 20px #04020366!important}
body:not(.backoffice) .payment-logos button:hover{background:linear-gradient(145deg,#162744,#0d131d)!important;border-color:var(--merlot-gold)!important;box-shadow:0 9px 24px #18356838!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:#0d080af5!important;border-color:#5e88d042!important;box-shadow:0 -5px 18px #0502039c!important}
body:not(.backoffice) .mobile-bottom :is(a,button){color:#9099a9!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:#20478b1f!important;box-shadow:inset 0 1px #5e88d070!important}
body:not(.backoffice) .mobile-bottom .mobile-live-badge{fill:#3d6cbd!important}
body:not(.backoffice) .mobile-bottom .mobile-slot-play img{filter:drop-shadow(0 0 6px #5e88d059)!important}

/* Scrollbars */
body:not(.backoffice){scrollbar-color:#1d407c #090c12}
body:not(.backoffice) ::-webkit-scrollbar{width:9px;height:9px}
body:not(.backoffice) ::-webkit-scrollbar-track{background:#090c12}
body:not(.backoffice) ::-webkit-scrollbar-thumb{background:#163364;border:2px solid #090c12;border-radius:20px}
body:not(.backoffice) ::-webkit-scrollbar-thumb:hover{background:#2b559d}

/* 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,#183971,#325da8)!important;
  border:1px solid #5e88d066!important;
  color:#f0f4fc!important;
  box-shadow:0 5px 16px #0d234a66!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,#20488d,#4271c1)!important;
  border-color:#7aa2e6!important;
}
body:not(.backoffice) dialog.login-modal .modal-close{color:#9fbbea!important}

body:not(.backoffice) .header-dropdown.account-dropdown{
  background:#080c12!important;
  border:1px solid #5e88d03d!important;
  color:#d7e2f6!important;
  box-shadow:0 12px 30px #030102b8!important;
}
body:not(.backoffice) .header-dropdown.account-dropdown:before{border-bottom-color:#1a2c4a!important}
body:not(.backoffice) .account-dropdown a{
  background:linear-gradient(90deg,#101c31,#090e17)!important;
  border:1px solid #5e88d024!important;
  color:#d3dff5!important;
}
body:not(.backoffice) .account-dropdown a:hover,
body:not(.backoffice) .account-dropdown a:focus-visible{
  background:linear-gradient(90deg,#1b325a,#101928)!important;
  border-color:#5e88d066!important;
  color:#f0f4fc!important;
}
body:not(.backoffice) .account-dropdown button{
  background:linear-gradient(90deg,#142749,#101928)!important;
  border:1px solid #5e88d03d!important;
  color:#d3dff5!important;
}
body:not(.backoffice) .account-dropdown button:hover,
body:not(.backoffice) .account-dropdown button:focus-visible{background:linear-gradient(90deg,#1a386c,#121f35)!important;border-color:#5e88d070!important}

body:not(.backoffice) #account-modal{background:#0d0709!important}
body:not(.backoffice) .account-window .account-sidebar{background:#0b1018!important;border-color:#5e88d02b!important;scrollbar-color:#1a3b74 #090c12!important}
body:not(.backoffice) :is(.account-title,.account-group summary,.account-rewards){background:#111926!important;border-color:#5e88d02e!important;color:#dfe7f6!important}
body:not(.backoffice) .account-group>div{background:#0c121b!important}
body:not(.backoffice) .account-group>div>a{background:transparent!important;border-left-color:#5e88d024!important;color:#bdc7d9!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,#18315b,#121f35)!important;border-left-color:#5e88d0!important;color:#f0f4fc!important}
body:not(.backoffice) .promo-code{background:#101929!important;border:1px solid #5e88d02b!important}
body:not(.backoffice) .promo-code input{background:#0c121c!important;border:1px solid #5e88d024!important;color:#ecf2fc!important}
body:not(.backoffice) .promo-code button{background:linear-gradient(115deg,#163468,#2c559c)!important;border:1px solid #5e88d052!important;color:#ebf1fb!important}
body:not(.backoffice) .promo-code button:hover,
body:not(.backoffice) .promo-code button:focus-visible{background:linear-gradient(115deg,#204586,#3a69ba)!important;border-color:#719ae0!important}
body:not(.backoffice) .account-logout{background:linear-gradient(90deg,#111e34,#101621)!important;border:1px solid #5e88d032!important;color:#d9e3f4!important}
body:not(.backoffice) .account-logout:hover,
body:not(.backoffice) .account-logout:focus-visible{background:linear-gradient(90deg,#183464,#121f35)!important;border-color:#5e88d070!important}

body:not(.backoffice) .personal-details{background:linear-gradient(145deg,#0a0f17,#0d0709)!important;border:1px solid #5e88d024!important}
body:not(.backoffice) .profile-eligibility{color:#aeb9cb!important}
body:not(.backoffice) .profile-eligibility b{color:#6995e1!important}
body:not(.backoffice) .profile-field input,
body:not(.backoffice) .profile-field input:disabled{background:#121a28!important;border:1px solid #5e88d021!important;color:#edf3fc!important}
body:not(.backoffice) .profile-field input:not(:disabled){background:#142035!important;border-color:#5e88d042!important}
body:not(.backoffice) .profile-field span{color:#93a1b8!important}
body:not(.backoffice) .profile-subscribe{background:linear-gradient(90deg,#17305a,#101c30)!important;border:1px solid #5e88d030!important;color:#d3dbea!important}
body:not(.backoffice) .profile-subscribe a{color:#8aade9!important}

body:not(.backoffice) :is(.campaign-history,.member-history){background:linear-gradient(145deg,#0a0f17,#070a0e)!important;border-color:#5e88d03d!important}
body:not(.backoffice) .history-filters{background:#0a0e16!important;border-color:#5e88d038!important}
body:not(.backoffice) .history-tabs button{background:#101929!important;color:#bdceea!important;border-color:#5e88d035!important}
body:not(.backoffice) .history-tabs button:hover,
body:not(.backoffice) .history-tabs button:focus-visible{background:#152745!important;border-color:#5e88d070!important;color:#ecf1fb!important}
body:not(.backoffice) .history-tabs button.active{background:linear-gradient(115deg,#1a3b74,#335ea9)!important;border-color:#5e88d0!important;color:#fff!important}
body:not(.backoffice) .history-filter-actions button{background:linear-gradient(115deg,#18386f,#335ea9)!important;border:1px solid #5e88d059!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,#20478b,#4271c1)!important;border-color:#729be1!important}
body:not(.backoffice) .history-filters :is(input,select){background:#101724!important;border-color:#5e88d03d!important;color:#ecf1fb!important}
body:not(.backoffice) :is(.history-entry,.history-events li){background:#090d15!important;border-color:#5e88d02f!important}
body:not(.backoffice) .history-pager button{background:#101a2a!important;border:1px solid #5e88d038!important;color:#c7d4ea!important}
body:not(.backoffice) .history-pager button:not(:disabled):hover{background:#172e57!important;border-color:#5e88d073!important;color:#f1f5fc!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:#9eafcd!important}
body:not(.backoffice) .bet-history-statuses{background:#101621!important;border-left-color:#5e88d0!important}
body:not(.backoffice) .bet-history-statuses button.active{background:#172e56!important;border-left-color:#7099e0!important;color:#fff!important}

/* Wheel and ticket record areas */
body:not(.backoffice) .campaign-record-section{
  background:linear-gradient(135deg,#0c121b,#0d0709 72%,#101723)!important;
  border:1px solid #5e88d03f!important;
  box-shadow:inset 0 1px #ffffff08,0 14px 36px #05020355!important;
}
body:not(.backoffice) .campaign-record-section h2{color:#ebf1fb!important}
body:not(.backoffice) .campaign-record-section :is(p,.cr-note,.cr-summary,.cr-pager span){color:#adb8cb!important}
body:not(.backoffice) #campaign-records :is(input,select){background:#101724!important;border-color:#5e88d042!important;color:#ecf2fc!important}
body:not(.backoffice) #campaign-records button{background:linear-gradient(115deg,#163468,#2d579f)!important;border-color:#5e88d05c!important;color:#f1f5fc!important}
body:not(.backoffice) #campaign-records button:not(:disabled):hover,
body:not(.backoffice) #campaign-records button:not(:disabled):focus-visible{background:linear-gradient(115deg,#204586,#3d6cbd)!important;border-color:#779ee2!important}
body:not(.backoffice) #campaign-records :is(button,input,select,a):focus-visible{outline-color:#779ee2!important}
body:not(.backoffice) .cr-card{background:linear-gradient(145deg,#101827,#090d14)!important;border-color:#5e88d036!important}
body:not(.backoffice) .cr-state{background:#162a4d!important;border:1px solid #5e88d029!important;color:#d1def4!important}
body:not(.backoffice) .cr-card a{color:#789fe2!important}

/* Provider launch surface and reliable mobile fullscreen */
body:not(.backoffice) :is(.provider-stage,.provider-frame,.provider-game-shell){background:#0b0608!important;border-color:#5e88d02f!important}
body:not(.backoffice) .provider-stage{background-image:radial-gradient(circle at 50% 100%,#1a3b7326,transparent 52%)!important;color:#bdc8db!important}
body:not(.backoffice) .provider-game-shell{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;border:1px solid #5e88d02f;border-radius:9px;overflow:hidden}
body:not(.backoffice) .provider-game-shell .provider-toolbar{margin:0;padding:9px 11px;background:linear-gradient(90deg,#101621,#080b10)!important;border-bottom:1px solid #5e88d02d!important}
body:not(.backoffice) .provider-toolbar .btn-outline{background:linear-gradient(115deg,#121f35,#101621)!important;border-color:#5e88d052!important;color:#dce6f7!important}
body:not(.backoffice) .provider-toolbar .btn-outline:hover,
body:not(.backoffice) .provider-toolbar .btn-outline:focus-visible{background:linear-gradient(115deg,#183567,#13213a)!important;border-color:#739be1!important;color:#f1f6fd!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:#080406!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:#080406!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%,#20478b2b,transparent 34%),radial-gradient(circle at 92% 35%,#5e88d012,transparent 32%),linear-gradient(180deg,#080b10,#0b1018 58%,#0d0709)!important;
  }
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:linear-gradient(135deg,#101722,#131f35)!important;border-color:#5e88d045!important;box-shadow:0 3px 10px #05020366,inset 0 1px #ffffff0d!important}
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item.active{background:linear-gradient(135deg,#18376c,#14233d)!important;border-color:#5e88d080!important;color:#e7eefb!important}
  body:not(.backoffice) .signup-modal .auth-header{background:#0a0e16!important}
  body:not(.backoffice) .account-window.mobile-navigation-open .account-sidebar{background:#0d121b!important}
  body:not(.backoffice) .tools-dropdown{background:#10151e!important;border:1px solid #5e88d028!important}
  body:not(.backoffice) .tools-dropdown:before{border-color:transparent transparent #10151e!important}
  body:not(.backoffice) .hero-slider.merlot-hero{aspect-ratio:2.35!important;background:#090d13!important}
  body:not(.backoffice) .merlot-hero .hero-link:after{background:linear-gradient(90deg,#0b1321b8,#13284d54 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,#101621,#131f35)!important;border-color:#5e88d04d!important}
  body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item.active{background:linear-gradient(135deg,#18376c,#14233d)!important;border-color:#5e88d080!important;color:#e7eefb!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 Merlot burgundy / gold palette. */
body:not(.backoffice) :is(.deposit-methods button,.withdraw-methods button){
  background:linear-gradient(145deg,#101929,#090d14)!important;
  border-color:#5e88d052!important;
  box-shadow:inset 0 1px #ffffff0d,0 5px 14px #05020355!important;
}
body:not(.backoffice) :is(.deposit-methods button,.withdraw-methods button).selected{
  background:linear-gradient(145deg,#19376b,#101e35)!important;
  border-color:#739be1!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,#111b2b,#0a0f17)!important;
  border:1px solid #5e88d038!important;
}
body:not(.backoffice) .payment-summary :is(span,b){color:#d8e2f3!important}
body:not(.backoffice) .payment-summary span{color:#a0aec7!important}
body:not(.backoffice) .deposit-form h3,
body:not(.backoffice) .withdraw-panel>h3{
  background:#101621!important;
  color:#b3c9f0!important;
  border-left:3px solid #5e88d0!important;
  padding:8px 10px!important;
}
body:not(.backoffice) .withdraw-balance-table{
  background:#0b101a!important;
  border:1px solid #5e88d036!important;
}
body:not(.backoffice) .withdraw-balance-table>div,
body:not(.backoffice) .withdraw-balance-table>div:nth-child(even){
  background:linear-gradient(90deg,#101621,#090d13)!important;
  border-bottom-color:#5e88d025!important;
  color:#b1bcce!important;
}
body:not(.backoffice) .withdraw-balance-table b{color:#789fe2!important}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) :is(input,select){
  background:#101724!important;
  border-color:#5e88d04a!important;
  color:#ecf2fc!important;
}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) .place-bet{
  background:linear-gradient(115deg,#1a3b74,#3463b3)!important;
  border-color:#779ee2!important;
  color:#f1f6fd!important;
}
body:not(.backoffice) :is(.deposit-form,.withdraw-panel) .place-bet:disabled{
  background:#202938!important;
  border-color:#42516b!important;
  color:#9ba5b6!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,#101724,#090c12)!important;
  border-color:#5e88d038!important;
}
body:not(.backoffice) .loyalty-program .loyalty-tiers button{color:#d8e2f4!important}
body:not(.backoffice) .loyalty-program .loyalty-tiers button.active,
body:not(.backoffice) .loyalty-program .loyalty-tiers button>span:last-child{
  background:#17305a!important;
  border-color:#5e88d066!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:#adb8cb!important}
body:not(.backoffice) .loyalty-program :is(.loyalty-table th,.loyalty-table td){border-color:#5e88d025!important}
body:not(.backoffice) .loyalty-program .loyalty-table th{background:#14223a!important;color:#dee6f5!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 #5e88d058;border-radius:16px;background:#090c12;box-shadow:0 24px 70px #050203b8;color:#e7eefb}
.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,#122038,#0b101a);border-bottom:1px solid #5e88d042;font-size:13px}
.livechat-popover>header strong{font-size:13px;font-weight:800}
.livechat-popover>header small{color:#799bd5;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:#e7eefb;font-size:25px;line-height:1}
.livechat-popover>header button:hover,.livechat-popover>header button:focus-visible{background:#5e88d020;color:#8aadea}
.livechat-popover .livechat-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#090c12}
@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 #5e88d052;
  border-radius:16px;
  background:linear-gradient(145deg,#111a2a,#090d13 72%);
  color:#edf3fc;
}
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:#729ce4;font-size:clamp(24px,4vw,38px);white-space:nowrap}
body:not(.backoffice) .active-bonus-progress{padding:16px;border:1px solid #5e88d035;border-radius:12px;background:#0c121b}
body:not(.backoffice) .active-bonus-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#b7c3d8}
body:not(.backoffice) .active-bonus-progress b{color:#e4ecfa}
body:not(.backoffice) .active-bonus-progress progress{display:block;width:100%;height:12px;border:0;border-radius:999px;overflow:hidden;background:#202a3a}
body:not(.backoffice) .active-bonus-progress progress::-webkit-progress-bar{background:#202a3a}
body:not(.backoffice) .active-bonus-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#20478a,#5e88d0)}
body:not(.backoffice) .active-bonus-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#20478a,#5e88d0)}
body:not(.backoffice) .active-bonus-progress small{display:block;margin-top:8px;color:#97a9c8}
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 #5e88d02e;border-radius:10px;background:#101621}
body:not(.backoffice) .active-bonus-card dt{color:#9ba8bf;font-size:11px;text-transform:uppercase}
body:not(.backoffice) .active-bonus-card dd{margin:6px 0 0;color:#ecf1fb;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:#202938!important;border-color:#42516b!important;color:#9ba5b6!important;cursor:not-allowed}
body:not(.backoffice) .bonus-cancel-note{margin:10px 0 0;color:#a0afc8;font-size:12px;text-align:center}
body:not(.backoffice) .bonus-empty{text-align:center}
body:not(.backoffice) .bonus-empty strong{display:block;color:#94b4eb;font-size:22px}
body:not(.backoffice) .bonus-empty p{color:#a0afc8}
@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,#1d417f,#3865b2)!important;
  border:1px solid #759ce0!important;
  color:#f1f5fc!important;
  box-shadow:0 7px 20px #080204b8,0 0 0 2px #17315d99!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;
}

/* Merlot 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:#5e88d058!important;
  background:#090c12!important;
  color:#e7eefb!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:#090c12!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 Merlot 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:#080305c9}
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;}
