/* Seasonal identity across the complete site. Base remains entirely untouched. */
body[class*="mr-theme-"]{--mr-season-accent:#d72f73;--mr-season-accent-2:#ff7b30;--mr-season-soft:rgba(215,47,115,.18);--mr-season-dark:#110812}
.mr-seasonal-logo{width:auto!important;height:auto!important;max-height:88px!important;object-fit:contain}
.mr-global-header .mr-seasonal-logo{max-width:min(210px,32vw)!important;max-height:72px!important}
body.mr-theme-halloween{--mr-season-accent:#ff9700;--mr-season-accent-2:#d667ff;--mr-season-soft:rgba(255,126,0,.36);--mr-season-dark:#250a00}
body.mr-theme-christmas{--mr-season-accent:#ff1738;--mr-season-accent-2:#19e56a;--mr-season-soft:rgba(255,23,56,.32);--mr-season-dark:#002b17}
body.mr-theme-valentine{--mr-season-accent:#ff27a3;--mr-season-accent-2:#ff083d;--mr-season-soft:rgba(255,39,163,.36);--mr-season-dark:#350019}

/* Seasonal artwork is a Home background, never a foreground decoration. */
body:not(.mr-theme-base){background-color:#02050a}
body.home:not(.mr-theme-base){position:relative;isolation:isolate;background-image:none!important}
body.home:not(.mr-theme-base)::before{content:"";position:fixed;inset:0;z-index:-2;background-position:center top;background-repeat:no-repeat;background-size:cover;opacity:.72;pointer-events:none}
body.home:not(.mr-theme-base)::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(2,5,10,.10),rgba(2,5,10,.24));pointer-events:none}
body.home.mr-theme-halloween::before{background-image:url('../assets/seasonal/background-halloween-v2.webp')}
body.home.mr-theme-christmas::before{background-image:url('../assets/seasonal/background-christmas-v2.webp')}
body.home.mr-theme-valentine::before{background-image:url('../assets/seasonal/background-valentine-v2.webp')}
body.home.mr-theme-halloween::after{background:linear-gradient(180deg,rgba(2,5,10,.025),rgba(2,5,10,.10))}
body:not(.home):not(.mr-theme-base){background-image:none!important;background-attachment:scroll!important}
body:not(.mr-theme-base) .mr-global-header,body:not(.mr-theme-base) .mr-footer{position:relative;background:linear-gradient(115deg,rgba(2,5,10,.985),color-mix(in srgb,var(--mr-season-dark) 94%,#000))!important;border-color:color-mix(in srgb,var(--mr-season-accent) 72%,transparent)!important;box-shadow:0 0 24px var(--mr-season-soft)}
body:not(.mr-theme-base) .mr-global-header{border-bottom-width:2px!important}
body:not(.mr-theme-base) .mr-footer{border-top:2px solid color-mix(in srgb,var(--mr-season-accent-2) 66%,transparent)!important}
body:not(.mr-theme-base) :is(.mr-carousel__title,.mr-section-title,.mr-clips__title,.mr-characters__title,.mr-cast-crew__title,h2){text-shadow:0 0 20px var(--mr-season-soft)}
body:not(.mr-theme-base) :is(.mr-carousel__arrow,.mr-clip-player__close,.mr-associated-clip-player__close):hover,body:not(.mr-theme-base) :is(.mr-carousel__arrow,.mr-clip-player__close,.mr-associated-clip-player__close):focus-visible{border-color:var(--mr-season-accent);box-shadow:0 0 16px var(--mr-season-soft)}
body:not(.mr-theme-base) :is(.mr-media-card,.mr-character-card,.mr-people-card,.mr-clip-card){border-color:color-mix(in srgb,var(--mr-season-accent) 25%,rgba(255,255,255,.12))}
body:not(.mr-theme-base) :is(.mr-media-card,.mr-character-card,.mr-people-card,.mr-clip-card):hover{border-color:color-mix(in srgb,var(--mr-season-accent) 72%,#fff 8%);box-shadow:0 8px 28px var(--mr-season-soft)}
body.mr-theme-halloween .mr-global-header,body.mr-theme-halloween .mr-footer{background:linear-gradient(112deg,rgba(8,5,2,.99),rgba(112,35,0,.99),rgba(40,6,58,.99))!important}
body.mr-theme-christmas .mr-global-header,body.mr-theme-christmas .mr-footer{background:linear-gradient(112deg,rgba(2,37,17,.99),rgba(4,112,46,.99),rgba(132,5,24,.99))!important}
body.mr-theme-valentine .mr-global-header,body.mr-theme-valentine .mr-footer{background:linear-gradient(112deg,rgba(31,2,15,.99),rgba(105,3,48,.98),rgba(45,1,16,.99))!important}
body:not(.mr-theme-base) .mr-global-header :is(.mr-header-actions,.wp-block-search,.wp-block-search__inside-wrapper),body:not(.mr-theme-base) .mr-global-header :is(.mr-header-actions,.wp-block-search,.wp-block-search__inside-wrapper)>*{background-color:transparent!important}
body:not(.mr-theme-base) .mr-global-header :is(.mr-header-actions button,.mr-header-actions a,.wp-block-search__button,[data-mr-search-trigger],button[aria-label*="search" i],button[aria-label*="búsqueda" i]){background:transparent!important;background-color:transparent!important;box-shadow:none!important}

/* Lightweight props: fixed to the viewport edges and never intercept input. */
.mr-seasonal-decor{position:fixed;inset:0;z-index:20;overflow:hidden;pointer-events:none}
.mr-seasonal-decor::before{content:none}
.mr-seasonal-prop{position:absolute;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.85));user-select:none}
.mr-seasonal-prop--1{left:12px;bottom:12px;font-size:clamp(54px,6vw,94px);transform:rotate(-5deg)}
.mr-seasonal-prop--2{right:-8px;top:72px;font-size:clamp(52px,6vw,88px);opacity:.9;transform:rotate(8deg)}
.mr-seasonal-prop--3{right:4vw;bottom:5vh;font-size:clamp(25px,3vw,44px);opacity:.78;transform:rotate(9deg)}
.mr-seasonal-prop--4{left:4vw;top:13vh;font-size:clamp(24px,2.5vw,38px);opacity:.65;transform:rotate(-9deg)}
.mr-seasonal-prop--5{right:22vw;top:13vh;font-size:clamp(20px,2vw,31px);opacity:.6}
.mr-seasonal-decor--christmas .mr-seasonal-prop--2,.mr-seasonal-decor--christmas .mr-seasonal-prop--4{animation:mr-season-snow 7s ease-in-out infinite alternate}
.mr-seasonal-decor--halloween .mr-seasonal-prop--2{right:-14px;top:70px;font-size:clamp(70px,8vw,120px)}
.mr-seasonal-decor--halloween .mr-seasonal-prop--5{right:2.2vw;top:102px;z-index:2;font-size:clamp(22px,2.4vw,36px);opacity:.92;transform:rotate(-8deg)}
.mr-seasonal-decor--halloween .mr-seasonal-prop--5{filter:grayscale(1) brightness(3.4) drop-shadow(0 0 1px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 4px 8px #000)}
.mr-seasonal-decor--halloween .mr-seasonal-prop--3{animation:mr-season-float 5s ease-in-out infinite alternate}
.mr-seasonal-decor--valentine .mr-seasonal-prop--1{color:#ff327f}
@keyframes mr-season-snow{from{transform:translateY(-5px) rotate(3deg)}to{transform:translateY(12px) rotate(-4deg)}}
@keyframes mr-season-float{from{transform:translateY(-4px) rotate(7deg)}to{transform:translateY(9px) rotate(12deg)}}

/* Theme-specific finishing details. */
body.mr-theme-halloween :is(.mr-carousel__title,.mr-section-title,h2){color:#ffb22e}
body.mr-theme-christmas :is(.mr-carousel__title,.mr-section-title,h2){color:#fff;text-decoration-color:#ef233c}
body.mr-theme-valentine :is(.mr-carousel__title,.mr-section-title,h2){color:#ff79c3}
body.mr-theme-halloween .mr-footer{background-image:linear-gradient(112deg,#080502,#702300 55%,#28063a)!important}
body.mr-theme-christmas .mr-footer{background-image:linear-gradient(112deg,#022511,#04702e 55%,#840518)!important}
body.mr-theme-valentine .mr-footer{background-image:linear-gradient(112deg,#22020f,#77052f 55%,#350113)!important}

@media(max-width:900px){.mr-seasonal-prop--4,.mr-seasonal-prop--5{display:none}.mr-seasonal-prop--1{font-size:48px;opacity:.82}.mr-seasonal-prop--2{top:64px;font-size:52px;opacity:.75}}
@media(max-width:620px){.mr-global-header .mr-seasonal-logo{max-width:135px!important;max-height:54px!important}.mr-seasonal-prop--3{display:none}.mr-seasonal-prop--1{left:5px;bottom:5px;font-size:38px}.mr-seasonal-prop--2{right:-4px;top:62px;font-size:40px}}
@media(prefers-reduced-motion:reduce){.mr-seasonal-prop{animation:none!important}}
