/* BGR site-wide, solid color presentation. All layout and application logic remain in existing files. */
:root{color-scheme:dark;--bgr-bg:#0d0a11;--bgr-deep:#09070b;--bgr-nav:#100c16;--bgr-panel:#18121e;--bgr-raised:#23182d;--bgr-edge:#62417a;--bgr-accent:#d8a3ff;--bgr-primary:#7730a7;--bgr-text:#f6f2f9;--bgr-muted:#d3cbd9}
html.bgr-site{background:#09070b!important}
html.bgr-site body{background:#0d0a11!important;color:#f6f2f9!important}
html.bgr-site body::before,html.bgr-site body::after{background-image:none!important;background-color:transparent!important}
html.bgr-site body header.rg-site-header,html.bgr-site body footer.rg-site-footer{background:#100c16!important;border-color:#62417a!important;color:#f6f2f9!important}
html.bgr-site body header.rg-site-header::before,html.bgr-site body header.rg-site-header::after,html.bgr-site body footer.rg-site-footer::before,html.bgr-site body footer.rg-site-footer::after{background:none!important;opacity:0!important}
html.bgr-site body header.rg-site-header .rg-topbar{background:transparent!important}
html.bgr-site body header.rg-site-header :is(.rg-nav-link,.top-link,.dropdown-toggle,.rg-account-trigger,.rg-signin-link,.rg-menu-toggle,.menu-toggle){background:#1e1527!important;color:#f6f2f9!important;border-color:#51365f!important;text-shadow:none!important}
html.bgr-site body header.rg-site-header :is(.rg-nav-link,.top-link,.dropdown-toggle,.rg-account-trigger,.rg-signin-link,.rg-menu-toggle,.menu-toggle):is(:hover,:focus-visible,.active,[aria-expanded="true"]){background:#352044!important;color:#f3d9ff!important;border-color:#b45de9!important}
html.bgr-site body header.rg-site-header :is(.dropdown-menu,.rg-dropdown-menu,.rg-account-dropdown,#rs-user-dropdown,.rg-user-dropdown){background:#18121e!important;border-color:#62417a!important}
html.bgr-site body header.rg-site-header :is(.rg-dropdown-link,.dropdown-link,.rg-account-link,.rs-user-link){color:#f6f2f9!important;background-image:none!important;border-color:#51365f!important}
html.bgr-site body header.rg-site-header :is(.rg-dropdown-link,.dropdown-link,.rg-account-link,.rs-user-link):is(:hover,:focus-visible){background:#352044!important;color:#f3d9ff!important}
html.bgr-site body header.rg-site-header :is(.rg-nav-badge,.rg-nav-note){color:#d8a3ff!important}
html.bgr-site body header.rg-site-header .rg-brand{background:none!important;color:#f6f2f9!important;text-decoration:none!important}
html.bgr-site body header.rg-site-header :is(.dt-nav-logo,.rg-brand-mark,.rg-brand-copy),html.bgr-site body footer.rg-site-footer :is(.dt-footer-logo,.rg-brand-mark){display:none!important}
html.bgr-site body .bgr-text-brand{display:block;color:#f6f2f9;font-weight:850;line-height:1.15;font-size:clamp(.9rem,1.4vw,1.15rem);letter-spacing:.025em;text-transform:uppercase;white-space:normal}
html.bgr-site body .bgr-text-brand small{display:block;color:#d8a3ff!important;font-weight:750;font-size:.65em;letter-spacing:.18em;margin-top:.2em}
html.bgr-site body footer.rg-site-footer :is(a,p,small){color:#d3cbd9!important}
html.bgr-site body footer.rg-site-footer a:hover{color:#d8a3ff!important}
html.bgr-site body footer.rg-site-footer :is(.rg-footer-bottom,.rg-footer-grid){border-color:#51365f!important}
html.bgr-site body :is(.rg-minecraft-subnav,.rg-community-subnav,.rg-admin-subnav,.osrs-subnav,.seven-subnav){background:#100c16!important;border-color:#62417a!important}
html.bgr-site body :is(.rg-minecraft-subnav,.rg-community-subnav,.rg-admin-subnav,.osrs-subnav,.seven-subnav)::before,html.bgr-site body :is(.rg-minecraft-subnav,.rg-community-subnav,.rg-admin-subnav,.osrs-subnav,.seven-subnav)::after{background:none!important}
html.bgr-site body :is(.rg-minecraft-link,.rg-community-subnav-link){background:#1e1527!important;border-color:#51365f!important;color:#f6f2f9!important}
html.bgr-site body :is(.rg-minecraft-link,.rg-community-subnav-link):is(.active,:hover,:focus-visible){background:#352044!important;border-color:#b45de9!important;color:#f3d9ff!important}
html.bgr-site body :is(.button.primary,.btn-primary,.rg-button-primary,.rgh-button-primary){background:#7730a7!important;border-color:#b66be5!important;color:#fff!important}
html.bgr-site body :is(.button.primary,.btn-primary,.rg-button-primary,.rgh-button-primary):is(:hover,:focus-visible){background:#8c38c2!important}
html.bgr-site body :is(a,button,input,select,textarea,summary):focus-visible{outline-color:#d8a3ff!important}
html.bgr-site body [hidden]{display:none!important}
@media(max-width:900px){
 html.bgr-site body header.rg-site-header #mobileNav.open{background:#18121e!important;border-color:#62417a!important}
 html.bgr-site body header.rg-site-header #mobileNav.open :is(.nav-dropdown,.rg-nav-dropdown,.dropdown-menu,.rg-dropdown-menu,#navUserSlot,.rg-account-slot,.rg-account-menu,.rg-user-dropdown){background-color:#18121e!important;background-image:none!important;border-color:#62417a!important}
}

/* Consistent readable surface controls; preserve game/media content and warning states. */
html.bgr-site body :is(.btn-primary,.button.primary,.primary-btn,.rg-button-primary,.rgh-button-primary,.db-btn-primary,.cs-btn-primary,.gta-actions a:first-child){background:#7730a7!important;border-color:#b66be5!important;color:#fff!important}
html.bgr-site body :is(.rg-button,.rgh-button,.secondary-btn):not(.primary):not(.rg-button-primary):not(.rgh-button-primary){background:#251a30!important;border-color:#8651ab!important;color:#f6f2f9!important}
html.bgr-site body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]),textarea,select){background-color:#110d16!important;color:#f6f2f9!important;border-color:#62417a!important}
html.bgr-site body :is(input,textarea)::placeholder{color:#b6aabd!important}
html.bgr-site body :is(.rg-minecraft-brand,.rg-community-subnav-brand,.rg-admin-overview,.rg-admin-group a){border-color:#62417a!important;color:#f6f2f9!important}
html.bgr-site body :is(.rg-admin-overview strong,.rg-admin-group>span,.rg-admin-overview span){color:#d8a3ff!important}
html.bgr-site body :is(.rg-minecraft-subnav,.rg-community-subnav,.rg-admin-subnav) :is(a,button):hover{border-color:#b45de9!important}
html.bgr-site body.rg-seven-days .seven-hero{background:#18121e!important}
html.bgr-site body.rg-seven-days .seven-hero picture{display:none!important}
html.bgr-site body.rg-seven-days .seven-hero::before,html.bgr-site body.rg-seven-days .seven-hero::after{background:none!important}
html.bgr-site body.rg-seven-days .seven-hero{min-height:0!important}
html.bgr-site body.rg-seven-days .seven-hero-copy{width:100%!important;padding:clamp(24px,5vw,56px)!important}
html.bgr-site body.rg-gta-vi :is(.gta-hero,.gta-news){background:#18121e!important;border-color:#62417a!important}
html.bgr-site body.rg-gta-vi :is(.gta-hero h1 span,.gta-kicker){color:#d8a3ff!important}
html.bgr-site body:has(#signUpButton) .brand::after{display:none!important}
html.bgr-site body:has(#signUpButton) .brand{background:#18121e!important}
html.bgr-site body:has(#signUpButton) button.primary,html.bgr-site body:has(#resetButton) #resetButton{background:#7730a7!important;border-color:#b66be5!important;color:#fff!important}
html.bgr-site body header.rg-site-header .bgr-text-brand{max-width:220px}
@media(max-width:480px){html.bgr-site body header.rg-site-header .bgr-text-brand{max-width:min(52vw,200px);font-size:.9rem}}

/* BGR community artwork; legacy product assets remain separate. */
html.bgr-site body header.rg-site-header .rg-brand:has(.bgr-community-logo){gap:8px!important}
html.bgr-site body .bgr-community-logo{display:block!important;object-fit:contain!important;flex:0 0 auto!important;width:56px!important;height:56px!important;max-width:none!important;max-height:none!important}
html.bgr-site body .bgr-community-logo--footer{width:64px!important;height:64px!important}
@media(max-width:900px){html.bgr-site body .bgr-community-logo--header{width:44px!important;height:44px!important}html.bgr-site body header.rg-site-header .rg-brand:has(.bgr-community-logo) .bgr-text-brand{max-width:42vw;font-size:.82rem!important}}
