/* Official Rematch Casual Gaming theme. Existing application controls and data remain authoritative. */
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-theme],html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming]{--background:#17111f!important;--foreground:#f6f3f9!important;--surface:#21192b!important;--surface-soft:#1c1426!important;--surface-raised:#2b2037!important;--card:#21192b!important;--card-foreground:#f6f3f9!important;--panel:#21192b!important;--border:#493751!important;--input:#594464!important;--muted:#2a2035!important;--muted-foreground:#bcafc8!important;--text-secondary:#bcafc8!important;--primary:#ffb800!important;--primary-foreground:#211521!important;--accent:#3a2944!important;--accent-foreground:#fff5d2!important;--ring:#ffb800!important;--rmc-header:90px;--rmc-nav-top:90px}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-theme=light]{--background:#f5f0f8!important;--foreground:#281c32!important;--surface:#fff!important;--surface-soft:#eee5f4!important;--surface-raised:#e4d6ee!important;--card:#fff!important;--card-foreground:#281c32!important;--panel:#fff!important;--border:#d2c2dc!important;--input:#ba9fcb!important;--muted:#e9def0!important;--muted-foreground:#6e567d!important;--text-secondary:#6e567d!important;--primary:#815400!important;--primary-foreground:#fff8e8!important;--accent:#efdfb6!important;--accent-foreground:#281c32!important;--ring:#815400!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body{background:var(--background)!important;color:var(--foreground)!important;background-image:none!important;min-width:0!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body:before,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body:after{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body>main{background:transparent!important;min-width:0!important;width:100%!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .app-shell{margin-left:0!important;gap:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;width:100%!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #conteudo-principal{margin:0 auto!important;width:min(1240px,calc(100% - 64px))!important;max-width:1240px!important;padding:36px 0 56px!important;min-width:0!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body.rmc-gaming-home-active #conteudo-principal{width:100%!important;max-width:none!important;padding:0!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [role=tabpanel]{min-width:0!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [role=tabpanel][data-state=inactive]{display:none!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar{position:relative!important;top:auto!important;width:100%!important;max-width:none!important;margin:0!important;min-height:90px!important;height:auto!important;padding:20px max(26px,calc((100vw - 1240px)/2))!important;background:var(--surface)!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:25px!important;backdrop-filter:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand{display:flex!important;align-items:center!important;gap:12px!important;background:none!important;border:0!important;padding:0!important;color:var(--foreground)!important;min-width:160px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand:after{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand-kick{background:#ffb800!important;color:#211521!important;border:0!important;box-shadow:none!important;width:43px!important;height:43px!important;border-radius:0!important;transform:skew(-8deg)!important;clip-path:polygon(0 0,100% 0,100% 75%,75% 100%,0 100%)!important;font-size:29px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand-word{display:block!important;color:var(--foreground)!important;font-size:28px!important;letter-spacing:-1.4px!important;line-height:1!important;text-align:left!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .brand-word em{color:inherit!important;font-style:normal!important}.rmc-gaming-brand-sub{display:block!important;color:var(--text-secondary)!important;font-size:8px!important;font-weight:700!important;letter-spacing:1.6px!important;line-height:1.6!important;margin-top:4px!important;text-transform:uppercase!important;white-space:nowrap!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .season{display:flex!important;flex:1!important;gap:16px!important;padding:0!important;background:none!important;border:0!important;min-width:0!important;align-items:center!important;color:var(--text-secondary)!important;font-size:10px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .season b{font-size:9px!important;color:var(--text-secondary)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .account-area{display:flex!important;align-items:center!important;justify-content:end!important;gap:9px!important;min-width:0!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .login-button,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .theme-toggle,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .view-mode-toggle,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .account-chip{background:var(--surface-raised)!important;color:var(--foreground)!important;border:1px solid var(--border)!important;border-radius:5px!important;box-shadow:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .login-button{background:var(--primary)!important;color:var(--primary-foreground)!important;border-color:var(--primary)!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation{position:sticky!important;top:0!important;left:auto!important;bottom:auto!important;z-index:35!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:none!important;min-height:57px!important;height:57px!important;margin:0!important;padding:0 20px!important;gap:2px!important;overflow-x:auto!important;overflow-y:hidden!important;background:var(--surface-soft)!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;transform:none!important;scrollbar-width:thin!important;color:var(--foreground)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation:before,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation:after,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [data-section]:before{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation>[role=presentation]{display:contents!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-width:70px!important;width:auto!important;height:55px!important;min-height:44px!important;max-width:none!important;padding:10px 14px!important;margin:0!important;gap:7px!important;font-size:11px!important;font-weight:700!important;color:var(--text-secondary)!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;white-space:nowrap!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]:hover,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab][aria-selected=true]{color:var(--primary)!important;border-bottom-color:var(--primary)!important;background:transparent!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]:before,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]:after{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab] svg{width:15px!important;height:15px!important;color:inherit!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #rmc-sidebar-controls,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .rmc-mobile-menu,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-section-bar,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #rmc-stadium-breadcrumb{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .rmc-gaming-menu-toggle{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] main>footer{margin-left:0!important;width:100%!important;background:var(--surface-soft)!important;border-top:1px solid var(--border)!important;color:var(--text-secondary)!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [data-rmc-official-home-ready]>:not(#rmc-official-gaming-home){display:none!important}#rmc-official-gaming-home{display:block;width:100%;margin:0;padding:0;border:0;background:#17111f;min-height:600px}#rmc-official-gaming-home iframe{display:block;width:100%;border:0;margin:0;padding:0;background:#17111f;min-height:600px}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .section-head{border-bottom-color:var(--border)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .section-head .eyebrow{color:var(--primary)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .section-head h1{color:var(--foreground)!important;text-shadow:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .team-card,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .stats-summary article,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .stats-table-section,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .screenshot-import,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .admin-panel,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .wallet-card,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [class*="_group_"],html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [class*="_match_"]{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [class*="_group_"]>header{background:var(--surface-raised)!important;border-color:var(--border)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [class*="_versus_"]{background:var(--surface-soft)!important;border-color:var(--border)!important;box-shadow:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [class*="_versus_"]>b{background:var(--primary)!important;color:var(--primary-foreground)!important;border:0!important;box-shadow:none!important;border-radius:2px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-dock{background:var(--surface-soft)!important;border-color:var(--border)!important;box-shadow:0 -6px 20px #0003!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-dock button{color:var(--text-secondary)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-dock button[aria-current=page],html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-dock button.active{background:var(--surface-raised)!important;color:var(--primary)!important}
@media(min-width:901px){html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .mobile-dock{display:none!important}}
@media(max-width:1200px) and (min-width:901px){html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation{justify-content:flex-start!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]{padding-inline:11px!important;min-width:65px!important}}
@media(max-width:900px){html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar{min-height:78px!important;padding:13px 14px!important;gap:12px!important;display:grid!important;grid-template-columns:minmax(110px,1fr) auto!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand{min-width:0!important;gap:9px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand-kick{width:35px!important;height:39px!important;font-size:24px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .brand-word{font-size:23px!important}.rmc-gaming-brand-sub{font-size:7px!important;letter-spacing:.8px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .season{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .account-area{gap:5px!important;flex-wrap:wrap!important;max-width:230px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .theme-toggle,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .login-button,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .view-mode-toggle{min-height:40px!important;padding:8px!important;font-size:11px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .theme-toggle span,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .view-mode-toggle span,html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .account-chip small{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .topbar .account-chip{max-width:80px!important;min-height:40px!important;font-size:11px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #conteudo-principal{width:calc(100% - 24px)!important;padding:22px 0 90px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body.rmc-gaming-home-active #conteudo-principal{width:100%!important;padding:0 0 80px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .rmc-gaming-menu-toggle{display:grid!important;place-items:center!important;width:39px!important;height:40px!important;padding:8px!important;border:1px solid var(--border)!important;background:var(--surface-raised)!important;color:var(--foreground)!important;border-radius:5px!important;font-size:20px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:auto!important;width:min(300px,88vw)!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;z-index:90!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;overflow-y:auto!important;overflow-x:hidden!important;gap:3px!important;padding:75px 17px 30px!important;transform:translateX(-110%)!important;transition:transform .18s ease!important;border-right:1px solid var(--border)!important;box-shadow:10px 0 40px #0005!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming-menu] #site-navigation{transform:translateX(0)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation:before{display:block!important;content:'REMATCH CASUAL'!important;position:absolute!important;top:30px!important;left:30px!important;transform:none!important;writing-mode:horizontal-tb!important;font-size:12px!important;letter-spacing:2px!important;color:var(--primary)!important;background:none!important;width:auto!important;height:auto!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab]{justify-content:flex-start!important;height:46px!important;width:100%!important;min-width:0!important;flex:none!important;padding:10px 14px!important;font-size:13px!important;border:1px solid transparent!important;border-radius:5px!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab][aria-selected=true]{background:var(--surface-raised)!important;border-color:var(--border)!important;color:var(--primary)!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab] svg{width:19px!important;height:19px!important}#rmc-gaming-menu-backdrop{position:fixed;inset:0;z-index:89;background:#08040bba;border:0;display:none}html[data-rmc-gaming-menu] #rmc-gaming-menu-backdrop{display:block}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation .rmc-gaming-close-menu{display:block!important;position:absolute!important;right:15px!important;top:18px!important;width:34px!important;height:34px!important;background:var(--surface-raised)!important;color:var(--foreground)!important;border:1px solid var(--border)!important;border-radius:4px!important;font-size:20px!important}}
.rmc-gaming-close-menu{display:none!important}html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body[data-rmc-mural-open] #site-navigation #rmc-community-nav{color:var(--primary)!important;border-bottom-color:var(--primary)!important;background:var(--surface-raised)!important}
@media(prefers-reduced-motion:reduce){html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation{transition:none!important}}
html[data-rmc-gaming] *,html[data-rmc-gaming] *:before,html[data-rmc-gaming] *:after{box-sizing:border-box}html[data-rmc-gaming] body{margin:0!important;overflow-x:hidden!important}#rmc-gaming-menu-backdrop{display:none}
@media(max-width:900px){html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .account-area{max-width:53vw!important}html[data-rmc-gaming] .topbar svg{width:18px!important;height:18px!important}}

html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-theme] body{--background:#17111f!important;--foreground:#f6f3f9!important;--surface:#21192b!important;--surface-soft:#1c1426!important;--surface-raised:#2b2037!important;--card:#21192b!important;--card-foreground:#f6f3f9!important;--panel:#21192b!important;--border:#493751!important;--input:#594464!important;--muted:#2a2035!important;--muted-foreground:#bcafc8!important;--text-secondary:#bcafc8!important;--primary:#ffb800!important;--primary-foreground:#211521!important;--accent:#3a2944!important;--accent-foreground:#fff5d2!important;--ring:#ffb800!important;--rmc-header:90px;--rmc-nav-top:90px}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-theme=light] body{--background:#f5f0f8!important;--foreground:#281c32!important;--surface:#fff!important;--surface-soft:#eee5f4!important;--surface-raised:#e4d6ee!important;--card:#fff!important;--card-foreground:#281c32!important;--panel:#fff!important;--border:#d2c2dc!important;--input:#ba9fcb!important;--muted:#e9def0!important;--muted-foreground:#6e567d!important;--text-secondary:#6e567d!important;--primary:#815400!important;--primary-foreground:#fff8e8!important;--accent:#efdfb6!important;--accent-foreground:#281c32!important;--ring:#815400!important}

/* Keep the Confrontos page focused on matches; retain wallets and history in storage. */
html[data-rmc-gaming] [role=tabpanel][id$="-content-confrontos"] [aria-label="Carteira de moedas virtuais"],
html[data-rmc-gaming] [role=tabpanel][id$="-content-confrontos"] details[class^="_rules_"],
html[data-rmc-gaming] [role=tabpanel][id$="-content-confrontos"] details[class^="_history_"]{display:none!important}

/* Retire the standalone Jogadores tab without deleting player records. */
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab][id$="-trigger-jogadores"],
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] [role=tabpanel][id$="-content-jogadores"]{display:none!important}
/* Center page containers while keeping data tables and mobile content usable. */
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #conteudo-principal>[role=tabpanel]{width:100%!important;min-width:0!important;margin-inline:auto!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #rmc-community-panel{max-width:1100px!important;margin-inline:auto!important}
html[data-rmc-gaming] #conteudo-principal :is(.stats-page,.teams-layout,.stream-hub,[class*="_profileLayout_"],[class*="_shopLayout_"]){min-width:0;max-width:100%;margin-inline:auto}
html[data-rmc-gaming] [role=tabpanel][id$="-content-perfil"] [class*="_heading_"],html[data-rmc-gaming] [role=tabpanel][id$="-content-loja"] [class*="_heading_"]{justify-content:center!important;text-align:center!important;flex-wrap:wrap!important}
html[data-rmc-gaming] [role=tabpanel][id$="-content-perfil"] [class*="_heading_"] p,html[data-rmc-gaming] [role=tabpanel][id$="-content-loja"] [class*="_heading_"] p{margin-inline:auto!important}

/* One community tab, with the original profile/collection controls inside it. */
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation [role=tab][id$="-trigger-perfil"]{display:none!important}
#rmc-community-switcher{display:none;width:100%;max-width:1100px;margin:0 auto 28px;padding:0}
body[data-rmc-mural-open] #rmc-community-switcher{display:block}
#rmc-community-switcher>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
#rmc-community-switcher button{font:700 13px Arial,sans-serif;min-height:44px;padding:12px 20px;border:1px solid var(--border);border-radius:10px;color:var(--text-secondary);background:var(--surface);cursor:pointer}
#rmc-community-switcher button[aria-pressed=true]{color:var(--primary-foreground);background:var(--primary);border-color:var(--primary)}
#rmc-community-switcher button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body[data-rmc-mural-open][data-rmc-mural-profile] #conteudo-principal#conteudo-principal [role=tabpanel][id$="-content-perfil"]{display:block!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] body[data-rmc-mural-profile] #rmc-community-panel{display:none!important}
@media(max-width:600px){#rmc-community-switcher{margin-bottom:20px}#rmc-community-switcher button{font-size:12px;padding:11px 13px}}

/* Every existing icon carries its own animated package cover. */
html[data-rmc-gaming] article[data-rmc-team-pack] [class*="_profileCover_"]{background-color:#030713!important;background-image:var(--rmc-pack-cover)!important;background-position:center!important;background-size:cover!important;min-height:160px!important}
html[data-rmc-gaming] article[data-rmc-team-pack] [class*="_profileCover_"]>svg{visibility:hidden!important}
html[data-rmc-gaming] article[data-rmc-team-pack] [class*="_profileCover_"]>span{color:#d9e8ff!important;text-shadow:0 1px 5px #000!important}
.rmc-team-pack-preview{position:relative;display:block;height:95px;background:#030713 var(--rmc-pack-cover) center/cover no-repeat;border-bottom:1px solid var(--border);overflow:hidden}
.rmc-team-pack-preview>span{position:absolute;left:10px;bottom:8px;background:#030713b8;color:#dceaff;border:1px solid #619dff44;border-radius:4px;padding:4px 6px;font:700 8px Arial,sans-serif;letter-spacing:.6px}
@media(max-width:600px){html[data-rmc-gaming] article[data-rmc-team-pack] [class*="_profileCover_"]{min-height:125px!important}}
@media(prefers-reduced-motion:reduce){html[data-rmc-gaming] article[data-rmc-team-pack] [class*="_profileCover_"],.rmc-team-pack-preview{background-image:var(--rmc-pack-poster)!important}}

/* The legacy sidebar hides visibility; opening the official drawer must restore it. */
@media(max-width:900px){
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation{visibility:hidden!important;pointer-events:none!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming-menu] #site-navigation{visibility:visible!important;pointer-events:auto!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] .rmc-gaming-menu-toggle{min-width:44px!important;min-height:44px!important}
html[data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming][data-rmc-gaming] #site-navigation .rmc-gaming-close-menu{width:44px!important;height:44px!important}
}
