
/* Brand surface system: keep native sizing, markup, navigation and behavior. */
body:not(.backoffice) { --brand-page:#f3fffa;--brand-card:#ffffff;--brand-soft:#e2f7ed;--brand-copy:#073f32;--brand-copy-muted:#52786b;--brand-accent:#008f63;--brand-stroke:#bfe5d4;background:#f3fffa!important;color:#073f32!important; }
body:not(.backoffice) :is(.header-bc,.hdr-main-content-bc,.header-navigation){background:#064f3d!important;border-color:#ffffff2b!important}
body:not(.backoffice) .header-bc{box-shadow:0 5px 18px #00000016!important}
body:not(.backoffice) #clock{color:white!important;background:#ffffff12!important}
body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item{background:transparent!important;color:white!important;border-color:#ffffff40!important;box-shadow:none!important}
body:not(.backoffice) .header-navigation .nav-menu>li>.nav-menu-item:is(:hover,.active){background:#ffffff26!important;border-color:white!important}

/* Rio-only visual language for loading, empty and error states. */
body:not(.backoffice) :is(.page-loading,.service-box,.empty-row){position:relative;isolation:isolate}
body:not(.backoffice) :is(.page-loading,.service-box,.empty-row)::before{content:"";display:block;width:76px;height:76px;margin:0 auto 14px;background:url('/theme/rio-state-mark.svg') center/contain no-repeat;filter:drop-shadow(0 10px 18px #003f3052)}
body:not(.backoffice) .page-loading{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#075d46;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:radial-gradient(circle at 50% 45%,#45d7a424,transparent 34%)}
body:not(.backoffice) .page-loading::after{content:"";width:92px;height:3px;border-radius:99px;margin-top:14px;background:linear-gradient(90deg,transparent,#f5cf32,#0cad78,transparent);background-size:200% 100%;animation:rio-state-shimmer 1.5s linear infinite}
body:not(.backoffice) .service-box{overflow:hidden;background:linear-gradient(145deg,#064f3df2,#087552e8)!important;border-color:#35d59d66!important;box-shadow:0 18px 40px #003a2d21}
body:not(.backoffice) .service-box :is(strong,p,span){color:#f5fff9!important}
body:not(.backoffice) .service-box p{max-width:620px;color:#ccefe2!important}
body:not(.backoffice) .service-box :is(.btn-outline,a){color:#fff!important;border-color:#ffffff8c!important;background:#ffffff12!important}
body:not(.backoffice) .service-box::after{content:"";position:absolute;z-index:-1;inset:auto -45px -65px auto;width:180px;height:180px;border:26px solid #f7cd2b16;border-radius:50%}
body:not(.backoffice) .empty-row{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#11664f!important;background:linear-gradient(145deg,#f7fffbd9,#ddf7ed)!important;border:1px solid #17a87542;border-radius:16px;font-weight:700;white-space:normal!important}
body:not(.backoffice) .catalog-empty{grid-column:1/-1;width:100%}
body:not(.backoffice) .catalog-empty>.btn-outline{display:table;margin:14px auto 0;color:#075d46!important;border-color:#119466!important;background:#fff!important}
body:not(.backoffice) .home-catalog-status:not([hidden]){min-height:150px;display:flex;align-items:center;justify-content:center;gap:12px;color:#075d46!important;font-weight:700}
body:not(.backoffice) .home-catalog-status:not([hidden])::before{content:"";width:44px;height:44px;flex:0 0 44px;background:url('/theme/rio-state-mark.svg') center/contain no-repeat;animation:rio-state-float 1.4s ease-in-out infinite}
body:not(.backoffice) .rio-collection-icon{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 5px #003d2f30)}
body:not(.backoffice) .rio-collection-icon .rio-icon-gold{stroke:#f4cb2f}
body:not(.backoffice) .catalog-categories button.active .rio-collection-icon .rio-icon-gold{stroke:#fff36a}
body:not(.backoffice) .merlot-help :is(aside,article){background:linear-gradient(145deg,#07513e,#04382f)!important;border-color:#35d59d59!important;box-shadow:0 14px 36px #003a2d1f}
body:not(.backoffice) .merlot-help :is(h1,h2,h3,summary){color:#f7fffb!important}
body:not(.backoffice) .merlot-help :is(p,.help-intro,.help-intro p,.help-section p){color:#c7eadd!important}
body:not(.backoffice) .merlot-help :is(.vip-eyebrow,aside>span,.help-match){color:#f5d84c!important}
body:not(.backoffice) .merlot-help nav a{color:#d5f3e7!important}
body:not(.backoffice) .merlot-help nav a.active{color:#fff!important;background:#0bad78!important}
body:not(.backoffice) .merlot-help .help-actions .btn-outline{color:#f7fffb!important;border-color:#72e2bd!important;background:#064436!important}
body:not(.backoffice) .merlot-help .help-actions .btn-outline:hover{color:#052f26!important;background:#72e2bd!important}
body:not(.backoffice) .rio-field-error{display:block;width:100%;margin:5px 0 3px;color:#8b1020!important;background:#fff1f2!important;border-left:3px solid #c82b43;border-radius:4px;padding:6px 9px;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
body:not(.backoffice) :is(input,select,textarea)[aria-invalid="true"]{border-color:#c82b43!important;box-shadow:0 0 0 2px #c82b4326!important}
@keyframes rio-state-shimmer{to{background-position:-200% 0}}
@keyframes rio-state-float{50%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){body:not(.backoffice) .page-loading::after,body:not(.backoffice) .home-catalog-status:not([hidden])::before{animation:none}}
@media(prefers-reduced-motion:reduce){body:not(.backoffice) *,body:not(.backoffice) *::before,body:not(.backoffice) *::after{animation:none!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:reduce){body:not(.backoffice) .hdr-user-bc .btn.register,body:not(.backoffice) .sectionTitle,body:not(.backoffice) .sectionTitle .sectionTitleText::before{animation:none!important;transition:none!important}}
@media(max-width:390px){body:not(.backoffice) :is(.page-loading,.service-box,.empty-row)::before{width:62px;height:62px}.rio-collection-icon{width:20px;height:20px;flex-basis:20px}}
body:not(.backoffice) .header-bc :is(.language,.balance-button,.sign-in){color:white!important}
body:not(.backoffice) .header-bc .sign-in{border:1px solid #ffffff88!important;background:transparent!important}
body:not(.backoffice) .native-lab-notice{background:#e2f7ed!important;color:#52786b!important;border-color:#bfe5d4!important}
body:not(.backoffice) .layout-content-holder-bc{background:#f3fffa!important;color:#073f32!important}
body:not(.backoffice) :is(.campaign-heading h1,.campaign-heading h2,.campaign-heading p,.campaign-heading>small,.page-loading){color:#073f32!important}
body:not(.backoffice) .campaign-heading>small{color:#008f63!important}
body:not(.backoffice) .campaign-heading>.vip-eyebrow{color:#008f63!important}
body:not(.backoffice) :is(.managed-bonus-grid article,.campaign-history,.campaign-detail,.bonus-empty,.active-bonus-card,.vip-membership,.vip-tier,.vip-experience article,.wheel-thresholds>div,.ticket-wallet article,.bonus-switch button,.game-card,.tournament-card,.provider-tile,.player-card,.recommended-card,.combination-card){background:#ffffff!important;color:#073f32!important;border-color:#bfe5d4!important;box-shadow:none!important}
body:not(.backoffice) .managed-bonus-grid :is(h2,p,small,summary,.bonus-readable-terms,.bonus-card-terms,.bonus-rule-hint){color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) .managed-bonus-grid :is(h3,h4,strong){color:#008f63!important}
body:not(.backoffice) .managed-bonus-grid :is(button,.btn-primary){background:#008f63!important;color:white!important;border-color:#008f63!important;box-shadow:none!important}
body:not(.backoffice) :is(.support-button,.back-top,.btn-primary,.signup-submit button,.quick-button.deposit-shortcut,.quick-button.bonus-shortcut,.gold-button,.club-primary,.provider-picker-apply){background:#008f63!important;color:white!important;border-color:#008f63!important;box-shadow:none!important}
body:not(.backoffice) .sectionTitle{background:#008f63!important;border-color:#008f63!important;box-shadow:none!important}
body:not(.backoffice) .sectionTitle :is(h1,h2,h3,span,a,button){color:white!important}
body:not(.backoffice) :is(.layout-footer-holder-bc,.footer-reference,.merlot-footer-showcase,.merlot-footer-info,.merlot-footer-care){background:#ffffff!important;color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) .layout-footer-holder-bc :is(h2,h3,h4,p,a,span,strong,em,small){color:#073f32!important}
body:not(.backoffice) .layout-footer-holder-bc :is(.footer-columns h3,.merlot-footer-showcase-heading>span,.merlot-footer-info h3){color:#008f63!important}
body:not(.backoffice) .merlot-footer-provider-wall a{background:#e2f7ed!important;opacity:1!important}
body:not(.backoffice) .native-brand-event{background:#e2f7ed!important;color:#008f63!important}
body:not(.backoffice) .native-brand-event>strong{color:#008f63!important}
body:not(.backoffice) :is(.account-window,.account-main,.account-body,dialog.login-modal,dialog.campaign-modal,#modal,#account-modal){background:#ffffff!important;color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) :is(.account-sidebar,.account-title,.account-rewards,.account-group summary,.account-group>div,.signup-submit,.signup-modal .auth-support){background:#e2f7ed!important;color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) :is(.account-window,#modal) :is(h1,h2,h3,h4,p,label,small,.modal-title,.auth-header,.account-group a,.account-group button,.account-nav-group>button){color:#073f32!important}
body:not(.backoffice) :is(.account-window,#modal) :is(input:not([type=checkbox]),select,textarea,.auth-date,.auth-country,.profile-form>label){background:#e2f7ed!important;color:#073f32!important;border-color:#bfe5d4!important;box-shadow:none!important}
body:not(.backoffice) :is(.account-window,#modal) input::placeholder{color:#52786b!important}
body:not(.backoffice) :is(.wallet-card,.bonus-wallet,.loyalty-shortcut){background:#008f63!important;color:white!important}
body:not(.backoffice) :is(.wallet-card,.bonus-wallet,.loyalty-shortcut) :is(span,p,strong,small,a,b){color:white!important}
body:not(.backoffice) .modal-close{color:#008f63!important}
body:not(.backoffice) #modal.login-modal .modal-close{color:#008f63!important}
body:not(.backoffice) #modal.login-modal :is(.forgot-link,.auth-support){color:#073f32!important}
body:not(.backoffice) .mobile-bottom{background:#064f3d!important;border-color:#ffffff40!important}
body:not(.backoffice) .mobile-bottom :is(a,button,span){color:white!important}

body:not(.backoffice) #modal .auth-header img{content:url('/lab-assets/logo.svg')}
body:not(.backoffice) #account-modal :is(.personal-details,.account-group>div,.promo-code){background:#e2f7ed!important;color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) #account-modal :is(.account-identity,.account-identity span,.profile-field>span,.profile-eligibility,.account-group>div>a){color:#073f32!important}
body:not(.backoffice) #account-modal .account-group>div>a.active{background:#ffffff!important;color:#008f63!important;border-color:#008f63!important}
body:not(.backoffice) #account-modal .account-title button{color:#008f63!important}
body:not(.backoffice) #account-modal :is(.btn-primary,.promo-code button){background:#008f63!important;color:white!important}
body:not(.backoffice) .layout-content-holder-bc :is(.campaign-detail,.campaign-history,.bonus-empty,.active-bonus-card,.ticket-wallet,.wheel-thresholds,.help-page) :is(h1,h2,h3,h4,p,span,small,label,dt,dd,summary,li){color:#073f32!important}
body:not(.backoffice) :is(.merlot-product,.recent-winners,.merlot-jackpot,.daily-slots,.club-account,.club-level-card,.club-level-detail,.club-journey,.club-faq){background:#ffffff!important;color:#073f32!important;border-color:#bfe5d4!important}
body:not(.backoffice) :is(.merlot-product,.recent-winners,.merlot-jackpot,.daily-slots,.club-account,.club-level-card,.club-level-detail,.club-journey,.club-faq) :is(h1,h2,h3,h4,p,span,em,small,strong,label,a,summary,li){color:#073f32!important}
body:not(.backoffice) :is(.club-hero,.merlot-hero,.hero-link){background:#064f3d!important}
body:not(.backoffice) .merlot-hero .hero-link:after{background:linear-gradient(90deg,#064f3d 0%,#064f3ded 35%,transparent 65%)!important}
body:not(.backoffice) .merlot-hero-copy :is(strong,span,small,em){color:white!important}
body:not(.backoffice) .club-hero :is(h1,p,small,span,em){color:white!important}
body:not(.backoffice) .game-card :is(h2,h3,p,small,span,.game-name){color:#073f32!important}
/* Rio catalogue titles remain fully readable at browser/text zoom.  Keep the
   label inside the artwork card, but never collapse a real game title to an
   inaccessible single-line ellipsis. */
body:not(.backoffice) #catalog-grid .game-card .game-name{
 white-space:normal;
 overflow:visible;
 text-overflow:clip;
 overflow-wrap:anywhere;
 word-break:normal;
 max-width:100%;
 color:#fff!important;
 line-height:1.25;
}

/* 2026-11-02 live visual repair: stable media ratios, readable campaigns and event UI. */
body:not(.backoffice) .merlot-hero{width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:3/1!important;overflow:hidden!important}
body:not(.backoffice) .merlot-hero .hero-link,body:not(.backoffice) .merlot-hero .hero-link>picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
body:not(.backoffice) .merlot-hero #hero-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
body:not(.backoffice) .tournament-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:16px!important;overflow:visible!important}
body:not(.backoffice) .tournament-card{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;overflow:hidden!important;border-radius:16px!important;background:#fff!important}
body:not(.backoffice) .tournament-art{aspect-ratio:16/9!important;overflow:hidden!important;background:#005941!important}
body:not(.backoffice) .tournament-art>img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;border-radius:0!important}
body:not(.backoffice) .tournament-body{display:flex!important;flex:1!important;flex-direction:column!important;margin:0!important;padding:16px!important;border-radius:0!important;background:linear-gradient(155deg,#07694f,#003e31)!important;color:#fff!important;text-align:left!important}
body:not(.backoffice) .tournament-body h3{display:block!important;margin:0 0 10px!important;min-height:2.5em!important;color:#fff!important;font-size:16px!important;line-height:1.25!important}
body:not(.backoffice) .tournament-body .muted{color:#c9f7e5!important}
body:not(.backoffice) .tournament-body>strong{color:#3ff0b2!important;font-size:22px!important;line-height:1.15!important}
body:not(.backoffice) .tournament-body>div{margin-top:auto!important}
body:not(.backoffice) :is(#catalog-grid,.game-grid,.games-grid) .game-card .game-name,body:not(.backoffice) .game-card>.game-name{display:none!important}
body:not(.backoffice) :is(#catalog-grid,.game-grid,.games-grid) .game-card{aspect-ratio:440/310!important;min-height:0!important;background:#005941!important}
body:not(.backoffice) :is(#catalog-grid,.game-grid,.games-grid) .game-card>img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}
body:not(.backoffice) .native-brand-art{aspect-ratio:1200/760!important;overflow:hidden!important;background:#005941!important}
body:not(.backoffice) .native-brand-art>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
body:not(.backoffice) .wheel-label{color:#fff!important;text-shadow:0 2px 6px #00281c,0 0 2px #00281c!important;font-weight:900!important}
body:not(.backoffice) .wheel-label b{color:#fff!important;font-size:13px!important}
body:not(.backoffice) .wheel-label small{color:#dbfff2!important;font-size:8px!important}
body:not(.backoffice) .wheel-hub span{font-size:0!important}
body:not(.backoffice) .wheel-hub span:before{content:"R";font-size:34px!important;color:#005941!important;font-weight:900!important}
body:not(.backoffice) .wheel-rules,body:not(.backoffice) .wheel-rules :is(h2,h3,p,span,b,small,summary,li),body:not(.backoffice) .wheel-controls,body:not(.backoffice) .wheel-controls :is(span,b,p){color:#073f32!important}
body:not(.backoffice) .wheel-thresholds>div{background:#fff!important;border-color:#9fd9c3!important}
body:not(.backoffice) .wheel-thresholds>div b{color:#008f63!important}
body:not(.backoffice) .ticket-hero :is(.vip-eyebrow,h1,h2,p,span,b,em),body:not(.backoffice) .ticket-details :is(h2,th,td,ol,li),body:not(.backoffice) .campaign-record-section :is(h2,p,span){color:#073f32!important;text-shadow:none!important}
body:not(.backoffice) .ticket-hero h1{background:none!important;-webkit-text-fill-color:#073f32!important}
body:not(.backoffice) .ticket-details th{background:#087052!important;color:#fff!important}
body:not(.backoffice) .ticket-details tbody tr:nth-child(even){background:#e2f7ed!important}
body:not(.backoffice) dialog.signup-modal{max-height:min(92vh,880px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:28px!important}
body:not(.backoffice) .signup-modal .auth-country{height:auto!important;min-height:62px!important;overflow:visible!important;padding:8px 12px!important}
body:not(.backoffice) .signup-modal .auth-country select{display:block!important;width:100%!important;min-height:32px!important;height:32px!important;line-height:32px!important;margin:0!important;padding:0 6px!important;color:#fff!important;background:#087052!important}
body:not(.backoffice) .signup-modal .signup-terms{min-height:44px!important;padding:8px 0!important;align-items:flex-start!important;color:#073f32!important}
body:not(.backoffice) .signup-modal .signup-terms input{flex:0 0 20px!important;width:20px!important;height:20px!important;margin:1px 8px 0 0!important}
@media(max-width:900px){body:not(.backoffice) .tournament-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.backoffice) .merlot-hero{aspect-ratio:16/9!important}}
@media(max-width:560px){body:not(.backoffice) .tournament-grid{grid-template-columns:1fr!important}body:not(.backoffice) .merlot-hero{aspect-ratio:4/3!important}.signup-modal{width:calc(100% - 18px)!important}}
@media (min-width:601px){
 body:not(.backoffice) #catalog-grid .game-card{min-height:110px}
 body:not(.backoffice) #catalog-grid .game-card>img{height:100%;aspect-ratio:auto;object-fit:cover}
}
body:not(.backoffice) :is(.catalog-search,.catalog-provider-filter,.catalog-random,.catalog-categories button,.provider-picker-search,.provider-picker-card,.bonus-rule-facts>span){background:#ffffff!important;color:#073f32!important;border-color:#bfe5d4!important}

/* 2026-10-30 premium home polish */
body:not(.backoffice){--brand-deep:#032d26;--brand-panel:#064f3d;--brand-glow:#20d897;--brand-highlight:#f5d84c;font-family:"Segoe UI Variable Text","Aptos",Inter,"Segoe UI",sans-serif!important}
body:not(.backoffice) .merlot-hero{border-radius:22px!important;box-shadow:0 28px 70px #032d2640!important}
body:not(.backoffice) .merlot-hero-copy{width:44%!important;padding:4.2% 4.5%!important;font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",sans-serif!important}
body:not(.backoffice) .merlot-hero-copy>small{font-size:11px!important;font-weight:750!important;letter-spacing:3.2px!important;color:#f5d84c!important}
body:not(.backoffice) .merlot-hero-copy>strong{max-width:92%!important;margin:13px 0 9px!important;font-size:clamp(28px,2.55vw,45px)!important;line-height:1.02!important;letter-spacing:-1.7px!important;font-weight:760!important;text-wrap:balance;text-shadow:0 6px 24px #001b16a8!important}
body:not(.backoffice) .merlot-hero-copy>span{max-width:86%!important;font-size:14px!important;line-height:1.55!important;color:#d9f8ec!important}
body:not(.backoffice) .merlot-hero-copy>b{margin-top:18px!important;padding:10px 16px!important;border:1px solid #ffffff45!important;background:#ffffff14!important;backdrop-filter:blur(12px);color:white!important;font-size:11px!important;letter-spacing:.8px!important;box-shadow:none!important}
body:not(.backoffice) .product-banner-container-bc:has(.merlot-product){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:20px!important}
body:not(.backoffice) .merlot-product{position:relative;min-height:86px!important;padding:15px 14px!important;justify-content:flex-start!important;gap:12px!important;border-radius:17px!important;background:linear-gradient(145deg,#064f3d,#032d26)!important;border:1px solid #20d89742!important;box-shadow:0 13px 28px #032d2630!important;overflow:hidden}
body:not(.backoffice) .merlot-product:before{content:"";position:absolute;width:95px;height:95px;right:-25px;top:-36px;border-radius:50%;background:#20d89718}
body:not(.backoffice) .merlot-product-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#20d897,#008f63);color:#fff!important;font:800 23px/1 "Segoe UI Symbol"!important;box-shadow:inset 0 1px #ffffff60,0 8px 18px #001f1940}
body:not(.backoffice) .merlot-product-copy{display:flex;flex-direction:column;gap:3px;min-width:0;z-index:1}
body:not(.backoffice) .merlot-product-copy strong{color:#fff!important;font-size:12px!important;line-height:1.2!important;letter-spacing:.3px!important}
body:not(.backoffice) .merlot-product-copy small{color:#b9e9d8!important;font-size:10px!important;font-weight:550!important}
body:not(.backoffice) .merlot-product-arrow{margin-left:auto;color:#f5d84c!important;font-size:17px!important;z-index:1}
body:not(.backoffice) :is(.recent-winners,.merlot-jackpot){background:linear-gradient(145deg,#064f3d,#032d26)!important;color:white!important;border-color:#20d89735!important;box-shadow:0 18px 36px #032d2624!important}
body:not(.backoffice) :is(.recent-winners,.merlot-jackpot) :is(h1,h2,h3,h4,p,span,em,small,strong,label,a){color:#effff9!important}
body:not(.backoffice) .recent-winners .demo-winner-card{background:#021f1a!important;border-color:#20d89728!important}.recent-winners .demo-winner-card small{color:#b9e9d8!important}.recent-winners .demo-winner-card strong{color:#5af0b9!important}
body:not(.backoffice) :is(.layout-footer-holder-bc,.footer-reference,.merlot-footer-showcase,.merlot-footer-info,.merlot-footer-care){background:linear-gradient(180deg,#043a30,#021e19)!important;color:#effff9!important;border-color:#20d8972e!important}
body:not(.backoffice) .layout-footer-holder-bc{margin-top:48px!important;box-shadow:0 -18px 50px #032d2628!important}
body:not(.backoffice) .layout-footer-holder-bc :is(h2,h3,h4,strong,em){color:#fff!important}body:not(.backoffice) .layout-footer-holder-bc :is(p,a,span,small){color:#bfe8d9!important}
body:not(.backoffice) .merlot-footer-showcase-heading>span{color:#f5d84c!important}.merlot-footer-showcase-heading h2{font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",sans-serif!important;font-size:clamp(30px,3vw,52px)!important;letter-spacing:-1.8px!important}
body:not(.backoffice) .merlot-footer-provider-wall a{background:#ffffff!important;border:1px solid #ffffff26!important;border-radius:14px!important;box-shadow:0 10px 22px #0000001f!important}
body:not(.backoffice) .merlot-footer-info{background:#ffffff0a!important;border:1px solid #20d89730!important;border-radius:20px!important}.merlot-footer-info h3{background:#20d89718!important;color:#fff!important}.merlot-footer-info nav a,.merlot-footer-catalog-link,.merlot-footer-care>a{color:#5af0b9!important}
body:not(.backoffice) .native-brand-event{position:relative;aspect-ratio:1.5!important;min-height:0!important;padding:22px!important;background-size:cover!important;background-position:center!important;color:white!important;overflow:hidden}.native-brand-event:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#032d26e8,transparent 72%)}body:not(.backoffice) .native-brand-event>*{position:relative!important;z-index:1!important}.native-brand-event>strong{color:white!important;text-shadow:0 4px 16px #001b16!important}
body:not(.backoffice) .native-brand-event.event-wheel{background-image:url('/lab-assets/backgrounds/bonus-trial.webp')!important}body:not(.backoffice) .native-brand-event.event-tickets{background-image:url('/lab-assets/backgrounds/bonus-calendar200.webp')!important}
@media(max-width:768px){body:not(.backoffice) .merlot-hero-copy{width:100%!important;padding:18px 18px 62px!important}body:not(.backoffice) .merlot-hero-copy>small{font-size:8px!important}body:not(.backoffice) .merlot-hero-copy>strong{max-width:78%!important;font-size:clamp(22px,6.1vw,32px)!important;letter-spacing:-.8px!important}body:not(.backoffice) .merlot-hero-copy>span{font-size:10px!important;max-width:70%!important}body:not(.backoffice) .merlot-hero-copy>b{display:none!important}body:not(.backoffice) .product-banner-container-bc:has(.merlot-product){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body:not(.backoffice) .merlot-product{min-height:72px!important;aspect-ratio:auto!important;padding:10px!important;flex-direction:row!important;align-items:center!important}.merlot-product-icon{flex-basis:38px!important;width:38px!important;height:38px!important;font-size:19px!important}.merlot-product-copy strong{font-size:10px!important}.merlot-product-copy small{font-size:8px!important}}
body:not(.backoffice) .merlot-hero-copy>b{display:inline-flex!important;align-items:center!important;gap:10px!important;width:max-content!important}
@media(max-width:768px){body:not(.backoffice) .merlot-hero-copy>b{display:none!important}}
@media(max-width:768px){body:not(.backoffice) .winner-periods{flex-wrap:wrap!important}body:not(.backoffice) .winner-periods button{flex:1 1 72px!important;white-space:normal!important}body:not(.backoffice) .catalog-search{height:auto!important;min-height:60px!important}body:not(.backoffice) .catalog-search input{height:auto!important;min-height:58px!important}body:not(.backoffice) .catalog-search span{line-height:1!important}}
body:not(.backoffice) .product-banner-container-bc:has(.merlot-product){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:18px auto 26px!important}
body:not(.backoffice) .merlot-product{position:relative!important;min-height:126px!important;padding:16px!important;display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;border:1px solid #19dda055!important;border-radius:18px!important;background-size:cover!important;background-position:center!important;overflow:hidden!important;isolation:isolate!important;transform:translateZ(0)}
body:not(.backoffice) .merlot-product:before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;border-radius:0!important;background:linear-gradient(180deg,transparent 15%,rgba(0,0,0,.82) 100%)!important;z-index:-1!important}
body:not(.backoffice) .merlot-product:hover{transform:translateY(-3px)!important;box-shadow:0 18px 34px rgba(0,0,0,.24)!important}
body:not(.backoffice) .merlot-product-icon{display:none!important}
body:not(.backoffice) .merlot-product-copy{position:relative!important;z-index:2!important;text-shadow:0 2px 12px rgba(0,0,0,.8)!important}
body:not(.backoffice) .merlot-product-copy strong{font-size:12px!important;letter-spacing:.2px!important;color:#fff!important}
body:not(.backoffice) .merlot-product-copy small{font-size:9px!important;color:rgba(255,255,255,.76)!important}
body:not(.backoffice) .merlot-product-arrow{position:absolute!important;right:14px!important;bottom:14px!important;z-index:2!important;color:#fff!important}
body:not(.backoffice) .merlot-product:nth-child(1){background-image:url('/lab-assets/backgrounds/bonus-sports.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(2){background-image:url('/lab-assets/backgrounds/bonus-slot.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(3){background-image:url('/lab-assets/backgrounds/bonus-growth2000.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(4){background-image:url('/lab-assets/backgrounds/bonus-throne_challenge.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(5){background-image:url('/lab-assets/backgrounds/bonus-trial.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(6){background-image:url('/lab-assets/backgrounds/bonus-deposit.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(7){background-image:url('/lab-assets/backgrounds/bonus-calendar200.webp')!important}
body:not(.backoffice) .merlot-product:nth-child(8){background-image:url('/lab-assets/backgrounds/bonus-welcome.webp')!important}
body:not(.backoffice) .merlot-footer-showcase{padding:36px!important;border:1px solid #19dda038!important;border-radius:24px!important;overflow:hidden!important}
body:not(.backoffice) .merlot-footer-provider-wall{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:26px 0 18px!important}
body:not(.backoffice) .merlot-footer-provider-wall a{min-height:66px!important;padding:10px 14px!important;display:grid!important;place-items:center!important}
body:not(.backoffice) .merlot-footer-provider-wall img{max-width:100%!important;max-height:38px!important;object-fit:contain!important}
body:not(.backoffice) .merlot-footer-info{margin-top:14px!important;padding:24px 28px!important;border-color:#19dda038!important}
body:not(.backoffice) .merlot-footer-care{padding:18px 24px!important;border:1px solid #f5d84c24!important;border-radius:18px!important}
@media(min-width:1280px){body:not(.backoffice) .product-banner-container-bc:has(.merlot-product){grid-template-columns:repeat(8,minmax(0,1fr))!important}body:not(.backoffice) .merlot-product{min-height:120px!important}}
@media(max-width:768px){body:not(.backoffice) .product-banner-container-bc:has(.merlot-product){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body:not(.backoffice) .merlot-product{min-height:104px!important;padding:12px!important}body:not(.backoffice) .merlot-product-copy strong{font-size:10px!important}body:not(.backoffice) .merlot-product-copy small{display:none!important}body:not(.backoffice) .merlot-footer-showcase{padding:24px 16px!important}body:not(.backoffice) .merlot-footer-provider-wall{grid-template-columns:repeat(3,minmax(0,1fr))!important}body:not(.backoffice) .merlot-footer-provider-wall a{min-height:56px!important;padding:8px!important}}

/* Raster campaign acceptance: text and art are one image, never a DOM overlay. */
body:not(.backoffice) .merlot-hero .hero-link>picture{display:block!important;width:100%!important;height:100%!important}
body:not(.backoffice) .merlot-hero #hero-image{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important}
body:not(.backoffice) .merlot-hero .hero-link:after,body:not(.backoffice) .native-brand-art:after{display:none!important}
body:not(.backoffice) .merlot-footer-provider-wall a{background:#064b3a!important;color:#f7fffb!important;grid-template-rows:38px auto!important;gap:6px!important}
body:not(.backoffice) .merlot-footer-provider-wall a>span{display:block!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;color:#f7fffb!important}

/* Rio mobile interaction floor: primary controls keep a 44px physical target. */
@media(max-width:768px){
 body:not(.backoffice) :is(.hdr-user-bc .sign-in,.hdr-user-bc .register,.settings-button,.header-navigation .nav-menu-item,.winner-periods button,.tournament-card .btn-primary,.tournament-card .btn-outline,.section-link,.footer-social a,.game-info-button){min-height:44px!important}
 body:not(.backoffice) :is(.settings-button,.footer-social a,.game-info-button){min-width:44px!important}
 body:not(.backoffice) .section-link{display:inline-flex!important;align-items:center!important;padding-inline:8px!important}
}

/* Final precedence for the 2026-11-02 repair. */
body:not(.backoffice) .merlot-hero{height:auto!important;min-height:0!important;aspect-ratio:3/1!important;overflow:hidden!important}body:not(.backoffice) .merlot-hero :is(.hero-link,.hero-link>picture,#hero-image){width:100%!important;height:100%!important}body:not(.backoffice) .merlot-hero #hero-image{object-fit:cover!important;object-position:center!important}
body:not(.backoffice) .tournament-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:16px!important;overflow:visible!important}body:not(.backoffice) .tournament-card{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;overflow:hidden!important;border-radius:16px!important}body:not(.backoffice) .tournament-art{aspect-ratio:16/9!important;overflow:hidden!important}body:not(.backoffice) .tournament-art>img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:0!important}body:not(.backoffice) .tournament-body{display:flex!important;flex:1!important;flex-direction:column!important;margin:0!important;padding:16px!important;border-radius:0!important;background:linear-gradient(155deg,#07694f,#003e31)!important;text-align:left!important}body:not(.backoffice) .tournament-body h3{display:block!important;min-height:2.5em!important;margin:0 0 10px!important;color:#fff!important}body:not(.backoffice) .tournament-body .muted{color:#c9f7e5!important}body:not(.backoffice) .tournament-body>strong{color:#3ff0b2!important}body:not(.backoffice) .tournament-body>div{margin-top:auto!important}
body:not(.backoffice) .game-card .game-name{display:none!important}body:not(.backoffice) .game-card{aspect-ratio:440/310!important;min-height:0!important}body:not(.backoffice) .game-card>img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}body:not(.backoffice) .native-brand-art{aspect-ratio:1200/760!important;overflow:hidden!important}body:not(.backoffice) .native-brand-art>img{width:100%!important;height:100%!important;object-fit:cover!important}
body:not(.backoffice) .wheel-label,body:not(.backoffice) .wheel-label :is(b,small){color:#fff!important;text-shadow:0 2px 6px #00281c!important}body:not(.backoffice) .wheel-hub span{font-size:0!important}body:not(.backoffice) .wheel-hub span:before{content:"R";font-size:34px;color:#005941;font-weight:900}body:not(.backoffice) .wheel-rules :is(h2,h3,p,span,b,small,summary,li),body:not(.backoffice) .wheel-controls :is(span,b,p){color:#073f32!important}body:not(.backoffice) .wheel-thresholds>div{background:#fff!important;border-color:#9fd9c3!important}body:not(.backoffice) .wheel-thresholds>div b{color:#008f63!important}
body:not(.backoffice) .ticket-hero :is(.vip-eyebrow,h1,h2,p,span,b,em),body:not(.backoffice) .ticket-details :is(h2,td,ol,li),body:not(.backoffice) .campaign-record-section :is(h2,p,span){color:#073f32!important;text-shadow:none!important}body:not(.backoffice) .ticket-hero h1{background:none!important;-webkit-text-fill-color:#073f32!important}body:not(.backoffice) .ticket-details th{background:#087052!important;color:#fff!important}body:not(.backoffice) .ticket-details tbody tr:nth-child(even){background:#e2f7ed!important}
body:not(.backoffice) dialog.signup-modal{max-height:min(92vh,880px)!important;overflow-y:auto!important;padding-bottom:28px!important}body:not(.backoffice) .signup-modal .auth-country{height:auto!important;min-height:62px!important;overflow:visible!important;padding:8px 12px!important}body:not(.backoffice) .signup-modal .auth-country select{display:block!important;width:100%!important;min-height:32px!important;height:32px!important;margin:0!important;color:#fff!important;background:#087052!important}body:not(.backoffice) .signup-modal .signup-terms{min-height:44px!important;padding:8px 0!important;align-items:flex-start!important;color:#073f32!important}
@media(max-width:900px){body:not(.backoffice) .tournament-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.backoffice) .merlot-hero{aspect-ratio:16/9!important}}@media(max-width:560px){body:not(.backoffice) .tournament-grid{grid-template-columns:1fr!important}body:not(.backoffice) .merlot-hero{aspect-ratio:4/3!important}}
body:not(.backoffice) .wheel-prizes li{background:#07694f!important;border-color:#18b882!important}body:not(.backoffice) .wheel-prizes li :is(b,span,small){color:#fff!important}body:not(.backoffice) .wheel-prize-index{background:#008f63!important;color:#d8fff0!important}
body:not(.backoffice) .campaign-record-section{background:#005941!important;border-color:#18b882!important}body:not(.backoffice) .campaign-record-section :is(h2,h3,p,span,b,small,td,th){color:#fff!important}
body:not(.backoffice) .signup-modal .signup-terms{background:#e2f7ed!important;border:1px solid #9fd9c3!important;border-radius:8px!important;padding:10px 12px!important}body:not(.backoffice) .signup-modal .signup-terms :is(span,a){color:#073f32!important}body:not(.backoffice) .signup-modal .signup-terms a{text-decoration:underline!important;font-weight:700!important}
