/* COFFIN ROLEPLAY V3.73 – visitor inner pages only. No admin, no home override.
   Three brand colors: #181a1c / #e7e7e7 / #ffe03e.
   Source images are already hosted in /assets/images/backgrounds/.
*/
:root { --cfrp-373-charcoal:#181a1c; --cfrp-373-ivory:#e7e7e7; --cfrp-373-yellow:#ffe03e; }
html body:not(.coffin-home):not(.cfrp-admin):not(.admin) {
  background-color:#181a1c !important;
  background-image:linear-gradient(180deg, rgba(24,26,28,.77), rgba(24,26,28,.86) 40%, rgba(24,26,28,.92)),url('/assets/images/backgrounds/coffin-inner-bg.png') !important;
  background-position:center top !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
  color:#e7e7e7;
}
/* Keep the art behind the CONTENT, not behind overlay dialogs, cards or the masthead. */
html body:not(.coffin-home):not(.cfrp-admin):not(.admin) > main {
  background-color:transparent !important;
  background-image:linear-gradient(180deg,rgba(24,26,28,.24),rgba(24,26,28,.62)),url('/assets/images/backgrounds/coffin-inner-bg.png') !important;
  background-position:center top !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
/* Template-specific page shells can paint a solid layer over main; retain all cards. */
html body:not(.coffin-home):not(.cfrp-admin):not(.admin) > .city-shell,
html body:not(.coffin-home):not(.cfrp-admin):not(.admin) > .page-shell { background-color:transparent !important; }
/* Color only the existing menu – no icon injection, no JS and no layout changes. */
html body:not(.coffin-home) #site-header .site-discord,
html body:not(.coffin-home) header.mast .site-discord {
  background:#ffe03e !important;color:#181a1c !important;
  border-color:#ffe03e !important;
}
html body:not(.coffin-home) #site-header .site-discord svg,
html body:not(.coffin-home) header.mast .site-discord svg {color:#181a1c !important;fill:currentColor;}
html body:not(.coffin-home) #site-header .desktop .site-nav-link[aria-current="page"],
html body:not(.coffin-home) #site-header .desktop .site-nav-link.active,
html body:not(.coffin-home) #site-header .desktop .nav-dropdown:has(.site-nav-link[aria-current="page"])>.site-nav-link {
  color:#ffe03e !important;
}
html body:not(.coffin-home) ::selection { background:#ffe03e; color:#181a1c; }
@media(max-width:800px){
  html body:not(.coffin-home):not(.cfrp-admin):not(.admin) {
    background-attachment:scroll !important;
    background-position:60% top !important;
  }
  html body:not(.coffin-home):not(.cfrp-admin):not(.admin) > main {
    background-position:60% top !important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body:not(.coffin-home):not(.cfrp-admin):not(.admin) {background-attachment:scroll !important;}
}
