/* COFFIN ROLEPLAY V3.15 • Official palette: #0f0f0f / #ececec / #c8c6c6 */
:root{--cfrp-bg:#0f0f0f;--cfrp-ink:#ececec;--cfrp-muted:#c8c6c6;--cfrp-edge:rgba(200,198,198,.28);color-scheme:dark}
html,html:root,body,body.coffin-home{background:#0f0f0f!important;background-image:none!important;color:#ececec!important}
body .wall,body .rain-layer,body .flash,body canvas.coffin-rain-canvas,body canvas#coffin-rain-canvas{display:none!important;visibility:hidden!important;animation:none!important}
body::before,body::after{background-image:none!important}
/* Common page wrappers: genuine content imagery (photos, map, uploaded illustrations) is untouched. */
body main,body .shell,body .hero-only,body .about-layout,body .store11,body .coffin-page{color:#ececec}
body .page-head h1,body .hero-only h1,body .hero-only h1 span,body .store11-head h1,
body .store11-head h1 span,body h1,body h2,body h3,body h4{color:#ececec!important}
body p,body .page-head p,body .hero-only p,body .video-note,body .home-caption,
body .eyebrow,body .tag,body small,body .about-side-title,body .store11-kicker{color:#c8c6c6}
body .glass,body .coffin-cms-card,body .coffin-managed-content,body .coffin-cms-rule,
body .coffin-cms-text,body .coffin-cms-faq,body .about-sidebar,body .about-side-link,
body .cards article,body .cards a,body .teaser,body .store11-side,body .store11-bar,
body .store11-pane,body .store11-product,body .store11-checkout,body .map-panel,
body .nav-menu,body .footer,body .footer-v13{background-color:#0f0f0f!important;background-image:none!important;color:#ececec!important;border-color:var(--cfrp-edge)!important}
body .about-side-link.active,body .store11-cat.is-active,body .filters button.on{background:#ececec!important;color:#0f0f0f!important}
body .about-side-link:not(.active),body .store11-cat,body .filters button{background:#0f0f0f!important;color:#ececec!important;border-color:var(--cfrp-edge)!important}
body .action,body .scene-btns .action,body .coffin-main-apply,body .store11-btn.main{background:#ececec!important;background-image:none!important;color:#0f0f0f!important;border-color:#ececec!important}
body .action.secondary,body .cfrp-ghost,body .store11-btn:not(.main){background:#0f0f0f!important;color:#ececec!important;border-color:var(--cfrp-edge)!important}
body :is(input,textarea,select){background:#0f0f0f;color:#ececec;border-color:var(--cfrp-edge)}
body :is(input,textarea,select)::placeholder{color:#c8c6c6}
body :is(input,textarea,select):focus-visible{outline:2px solid #ececec;outline-offset:2px}
body .footer,body footer.footer{background:#0f0f0f!important;color:#c8c6c6!important}
/* Consistent premium header; make the emblem larger WITHOUT scaling the name text. */
#site-header.mast,body>#site-header.mast{background:#0f0f0f!important;background-image:none!important;border-bottom:1px solid var(--cfrp-edge)!important;box-shadow:none!important;backdrop-filter:none!important}
#site-header.mast .logo{gap:10px!important}
#site-header.mast .logo img{width:62px!important;height:62px!important;min-width:62px!important;max-width:62px!important;object-fit:contain!important}
/* Important: do not alter .logo b / .logo small font sizes */
#site-header.mast .desktop{gap:clamp(5px,.5vw,11px)!important}
#site-header.mast .desktop>.site-nav-link,
#site-header.mast .desktop>.nav-dropdown>.site-nav-link,
#site-header.mast .desktop>details.nav-dropdown>summary.site-nav-link,
#site-header.mast .desktop .site-nav-link.nav-parent{
  background:transparent!important;background-image:none!important;border:0!important;
  outline:0!important;border-radius:0!important;box-shadow:none!important;
  color:#c8c6c6!important;padding:0 clamp(7px,.70vw,12px)!important;
  height:44px!important;min-height:44px!important;text-decoration:none!important;
  transition:color .17s ease!important;
}
#site-header.mast .desktop>.site-nav-link:hover,
#site-header.mast .desktop>.nav-dropdown>.site-nav-link:hover,
#site-header.mast .desktop>details.nav-dropdown>summary.site-nav-link:hover,
#site-header.mast .desktop .site-nav-link.nav-parent:hover{color:#ececec!important;background:transparent!important;border:0!important}
#site-header.mast .desktop>.site-nav-link.active,
#site-header.mast .desktop>.site-nav-link[aria-current="page"]{
 color:#ececec!important;background:transparent!important;border:0!important;
 box-shadow:inset 0 -2px 0 #ececec!important;
}
#site-header.mast .desktop :is(a,button,summary):focus-visible{
 outline:2px solid #ececec!important;outline-offset:2px!important;border-radius:3px!important
}
#site-header.mast .desktop .nav-menu{
 background:#0f0f0f!important;border:1px solid var(--cfrp-edge)!important;
 box-shadow:0 16px 42px rgba(0,0,0,.48)!important
}
#site-header.mast .desktop .nav-menu a{color:#ececec!important}
#site-header.mast .desktop .nav-menu a:hover{background:rgba(200,198,198,.13)!important}
#site-header.mast>.site-discord{margin-left:clamp(18px,2vw,36px)!important;
 background:#ececec!important;background-image:none!important;color:#0f0f0f!important;
 border:1px solid #ececec!important;box-shadow:none!important;animation:none!important}
#site-header.mast>.site-discord svg{color:#0f0f0f!important}
body .mobnav,body .mobnav.open,body .mobnav .mobile-sub,body .mobnav .mob-group{background:#0f0f0f!important;color:#ececec!important;border-color:var(--cfrp-edge)!important}
body .hamb{background:#0f0f0f!important;color:#ececec!important;border-color:var(--cfrp-edge)!important}
body .mobnav a,body .mobnav summary{color:#ececec!important}
body .mobnav a:hover,body .mobnav summary:hover{background:rgba(200,198,198,.12)!important}
/* New palette must not bleach the original color GTA map or user-uploaded content images. */
body #atlas,body #atlas img,body .map-frame img,body .cfrp-map img,body .store11-photo img,
body .coffin-cms-card img{filter:none!important}
@media(max-width:1279px){#site-header.mast .desktop{display:none!important}}
@media(max-width:650px){#site-header.mast .logo img{width:53px!important;height:53px!important;min-width:53px!important;max-width:53px!important}#site-header.mast>.site-discord{margin-left:auto!important}}
@media(prefers-reduced-motion:reduce){#site-header.mast *{transition:none!important}}
