/* COFFIN ROLEPLAY V3.74 — public visual correction. 2026-11-08.
   Last stylesheet. No JavaScript injection and no auth, checkout or database changes.
   The background is deliberately painted ONCE in page body, never on both body and main. */
:root{--cfrp-ink:#181a1c;--cfrp-light:#e7e7e7;--cfrp-accent:#ffe03e}
html body:not(.coffin-home):not(.cfrp-admin):not(.admin){
 background-color:#181a1c!important;
 background-image:linear-gradient(90deg,rgba(24,26,28,.46),rgba(24,26,28,.30) 52%,rgba(24,26,28,.42)),url('/assets/images/backgrounds/coffin-inner-bg.png')!important;
 background-size:cover!important;background-position:center 58%!important;
 background-repeat:no-repeat!important;background-attachment:fixed!important;
 color:#e7e7e7;
}
/* Strip the duplicated, dark overlay inherited from V3.73. Preserve actual content cards. */
html body:not(.coffin-home):not(.cfrp-admin):not(.admin)>main,
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;background-image:none!important;
}
/* Do not paint a solid pseudo-layer in front of inner backgrounds. */
html body:not(.coffin-home):not(.cfrp-admin):not(.admin)>.wall,
html body:not(.coffin-home):not(.cfrp-admin):not(.admin)>.rain-layer{display:none!important}
/* Interior reading panels remain dark and readable, no layout changes. */
html body:not(.coffin-home) .page-card,
html body:not(.coffin-home) .content-card,
html body:not(.coffin-home) .weazel-card{
 background-color:rgba(18,19,21,.90)!important;
}
/* Holographic public menu, do not disturb navigation or event handlers. */
html body #site-header.mast > .site-discord:not([hidden]),
html body header#site-header.mast > a.site-discord:not([hidden]){
 background:#ffe03e!important;background-image:none!important;
 color:#181a1c!important;border:1px solid #ffe03e!important;
 border-radius:3px!important;box-shadow:none!important;
}
html body #site-header.mast > .site-discord:not([hidden]) svg,
html body #site-header.mast > .site-discord:not([hidden]) svg path{color:#181a1c!important;fill:currentColor!important}
html body #site-header.mast > .site-discord:not([hidden]) span{color:#181a1c!important}
html body #site-header.mast .desktop .site-nav-link.active,
html body #site-header.mast .desktop .site-nav-link[aria-current="page"]{color:#ffe03e!important}
/* Fix the oversized BLACK fallback icons, seen on /basvuru/.
   V3.69 creates actual SVG.cfrp-holo-icon; pseudo-icons must never coexist. */
html body #site-header.mast nav.desktop .site-nav-link::before{
 content:none!important;display:none!important;width:0!important;height:0!important;
 min-width:0!important;background:none!important;mask:none!important;-webkit-mask:none!important
}
html body #site-header.mast nav.desktop svg.cfrp-holo-icon{
 display:block!important;width:20px!important;height:20px!important;max-width:20px!important;
 flex:0 0 20px!important;color:#e7e7e7!important;fill:none!important;
 stroke:currentColor!important;stroke-width:1.8!important;
}
html body #site-header.mast nav.desktop .active svg.cfrp-holo-icon,
html body #site-header.mast nav.desktop [aria-current="page"] svg.cfrp-holo-icon{color:#ffe03e!important}
/* If gate page uses an earlier nav renderer without SVG, remove massive black masks. */
html body:has(.cfrp-gate-main) #site-header.mast nav.desktop .site-nav-link::after{max-width:22px!important;max-height:22px!important}
/* Discord authentication pages: place background art behind the compact form,
   not on top of it; all 3 colors maintained. */
html body:has(>main.cfrp-gate-main),
html body:has(>.cfrp-gate-main){background:#181a1c!important;
 background-image:linear-gradient(90deg,rgba(24,26,28,.35),rgba(24,26,28,.28)),url('/assets/images/backgrounds/coffin-inner-bg.png')!important;
 background-size:cover!important;background-position:center 68%!important;background-attachment:fixed!important;
}
html body main.cfrp-gate-main, html body>.cfrp-gate-main{
 min-height:calc(100svh - 205px)!important;
 background:transparent!important;background-image:none!important;
 padding:16px 14px!important;
}
html body .cfrp-gate-main .gate-card{
 background:rgba(24,26,28,.88)!important;
 color:#e7e7e7!important;border:1px solid rgba(255,224,62,.45)!important;
 box-shadow:0 18px 48px rgba(0,0,0,.38)!important;
 padding:22px 32px 20px!important;
}
html body .cfrp-gate-main .gate-card::before{background:linear-gradient(90deg,transparent,#ffe03e,transparent)!important}
html body .cfrp-gate-main .gate-emblem{background:#ffe03e!important;color:#181a1c!important;box-shadow:none!important}
html body .cfrp-gate-main .gate-emblem svg,html body .cfrp-gate-main .gate-emblem svg path{color:#181a1c!important;fill:currentColor!important}
html body .cfrp-gate-main .gate-eyebrow, html body .cfrp-gate-main .gate-sub{color:#ffe03e!important}
html body .cfrp-gate-main .gate-title{color:#e7e7e7!important}
html body .cfrp-gate-main .gate-intro,html body .cfrp-gate-main .gate-foot{color:#e7e7e7!important}
html body .cfrp-gate-main .gate-chip{border-color:rgba(255,224,62,.35)!important;color:#e7e7e7!important;background:rgba(24,26,28,.65)!important}
html body .cfrp-gate-main .gate-chip span{background:#ffe03e!important}
html body .cfrp-gate-main .gate-login{
 background:#ffe03e!important;color:#181a1c!important;border-color:#ffe03e!important;box-shadow:none!important;
}
html body .cfrp-gate-main .gate-login:hover,html body .cfrp-gate-main .gate-login:focus-visible{background:#e7e7e7!important;color:#181a1c!important}
html body .cfrp-gate-main .gate-login svg,html body .cfrp-gate-main .gate-login svg path{color:#181a1c!important;fill:currentColor!important}
/* Keep main artwork visible, even on compact laptop screens. */
@media(max-width:900px){html body:not(.coffin-home):not(.cfrp-admin):not(.admin){background-attachment:scroll!important}
html body .cfrp-gate-main .gate-card{padding:19px 23px!important}}
@media(max-width:600px){html body:has(.cfrp-gate-main){background-position:64% center!important;background-attachment:scroll!important}
html body .cfrp-gate-main .gate-card{width:min(100%,510px)!important;padding:20px 17px!important}
html body .cfrp-gate-main .gate-title{font-size:34px!important}}
