/* Polacy Preston · FULL SEASON THEMES v2 — bold but controlled seasonal atmosphere.
   Decorative assets never block links. Header dimensions, auth, forum, messages, ads untouched. */
body[data-pp-season]:not([data-pp-season="default"]) {
  --pp-festive: var(--season-accent);
  --pp-festive-surface: var(--season-light);
  --pp-festive-ink:var(--season-dark);
  --pp-festive-gold:var(--season-glow);
}
body[data-pp-intensity="subtle"] .pp-season-atmosphere{opacity:.2}
body[data-pp-intensity="medium"] .pp-season-atmosphere{opacity:.6}
body[data-pp-intensity="full"] .pp-season-atmosphere{opacity:1}
.pp-season-atmosphere {pointer-events:none;position:absolute;inset:0;z-index:1;overflow:hidden;isolation:isolate}
.pp-season-atmosphere::before,.pp-season-atmosphere::after,.pp-season-art::before,.pp-season-art::after{content:'';position:absolute;pointer-events:none;display:block}
.pp-season-art{position:absolute;inset:0;display:block}
body.portal[data-pp-page="home"] .pp-ref-main{z-index:2!important}
body.portal[data-pp-page="home"] .pp-ref-hero .pp-season-mark{z-index:3}
/* Global background + celebration flare, extends to forum/cards/profile without altering structure */
body[data-pp-season="christmas"]{--season-canvas:#eaf4ee!important;--season-light:#fffaf0!important;--season-dark:#083a2d!important;--season-accent:#be213a!important;--season-glow:#e6b85d!important;background-image:radial-gradient(circle at 9% 11%,#fff 0 3px,transparent 4px),radial-gradient(circle at 82% 34%,#dcebe2 0 2px,transparent 3px),linear-gradient(135deg,#e7f3ec,#fffaf1 56%,#edf5eb)!important;background-size:110px 160px,159px 191px,100% 100%}
body[data-pp-season="halloween"]{--season-canvas:#151120!important;--season-light:#30233c!important;--season-dark:#170d25!important;--season-accent:#fa8b28!important;--season-glow:#ba72dd!important;background:radial-gradient(ellipse at 17% 8%,#4b2654,transparent 45%),radial-gradient(ellipse at 86% 60%,#492725,transparent 40%),#16101f!important}
body[data-pp-season="poland"]{--season-accent:#ce123c!important;--season-light:#fff6f8!important;--season-glow:#f6c2c9!important;background:linear-gradient(160deg,#fff 0%,#fff 44%,#fae3e7 44.2%,#fff 77%)!important}
body[data-pp-season="easter"]{background:radial-gradient(ellipse at 0 5%,#e5d8fb 0,transparent 35%),linear-gradient(125deg,#f9fcec,#edfaf2)!important}
body[data-pp-season="spring"]{background:radial-gradient(ellipse at 5% 1%,#caf3da 0,transparent 45%),#f0faf6!important}
body[data-pp-season="summer"]{background:radial-gradient(ellipse at 5% 1%,#fff5c7 0,transparent 50%),#e9f9fc!important}
body[data-pp-season="autumn"]{background:radial-gradient(ellipse at 5% 1%,#efd4a9 0,transparent 50%),#f7e9dc!important}
body[data-pp-season="winter"]{background:radial-gradient(ellipse at 0 3%,#d7ebff 0,transparent 45%),#e5f3fc!important}
/* Premiere seasonal hero: Preston scene remains visible with distinct weather and celebration */
body.portal[data-pp-page="home"][data-pp-season="christmas"] .pp-ref-hero{background:linear-gradient(110deg,rgba(0,55,42,.76),rgba(12,41,49,.20) 45%,rgba(2,45,27,.75)),url('/assets/pp-sunset-hero.jpg') center/cover no-repeat!important;box-shadow:inset 0 0 0 2px #ecd5a260,0 16px 30px #12613a38}
body.portal[data-pp-page="home"][data-pp-season="halloween"] .pp-ref-hero{background:linear-gradient(112deg,rgba(17,7,24,.88),rgba(53,18,58,.43) 52%,rgba(7,6,25,.88)),url('/assets/pp-sunset-hero.jpg') center/cover no-repeat!important;filter:none;box-shadow:inset 0 0 0 2px #b058c08f,0 15px 35px #1e07264d}
body.portal[data-pp-page="home"][data-pp-season="poland"] .pp-ref-hero{background:linear-gradient(120deg,rgba(102,3,24,.66),rgba(13,27,50,.14) 60%,rgba(142,16,37,.60)),url('/assets/pp-sunset-hero.jpg') center/cover no-repeat!important;border-top:4px solid #fff;border-bottom:5px solid #e21c42}
body.portal[data-pp-page="home"][data-pp-season="easter"] .pp-ref-hero{background:linear-gradient(120deg,rgba(34,67,67,.57),rgba(71,43,93,.23),rgba(24,71,59,.55)),url('/assets/pp-sunset-hero.jpg') center/cover no-repeat!important}
body.portal[data-pp-page="home"][data-pp-season="winter"] .pp-ref-hero{background:linear-gradient(120deg,rgba(13,60,108,.72),rgba(64,115,161,.26),rgba(8,51,100,.68)),url('/assets/pp-sunset-hero.jpg') center/cover no-repeat!important}
/* Festive scenery uses purpose-built transparent vector decorations. */
body[data-pp-season="christmas"] .pp-season-art{background:linear-gradient(180deg,rgba(3,54,36,.1),transparent 70%),url('/assets/pp-season-christmas.svg') top center/100% 100% no-repeat}
body[data-pp-season="halloween"] .pp-season-art{background:url('/assets/pp-season-halloween.svg') center/100% 100% no-repeat}
body[data-pp-season="poland"] .pp-season-art{background:url('/assets/pp-season-poland.svg') center/100% 100% no-repeat}
body[data-pp-season="easter"] .pp-season-art{background:radial-gradient(ellipse at 11% 78%,#ffd7ffba 0,transparent 21%),url('/assets/pp-season-easter.svg') center/100% 100% no-repeat}
body[data-pp-season="winter"] .pp-season-art{background:url('/assets/pp-season-snow.svg') center/100% 100% no-repeat}
body[data-pp-season="spring"] .pp-season-art{background:radial-gradient(ellipse at 4% 81%,#a9e3b775,transparent 28%),url('/assets/pp-season-easter.svg') center/100% 100% no-repeat}
body[data-pp-season="summer"] .pp-season-art{background:radial-gradient(circle at 88% 44%,#fff8c1a3,transparent 20%)}
body[data-pp-season="autumn"] .pp-season-art{background:radial-gradient(ellipse at 85% 75%,#bc723485,transparent 20%),url('/assets/pp-season-autumn.svg') center/100% 100% no-repeat}
body[data-pp-season="christmas"] .pp-season-atmosphere::after,body[data-pp-season="winter"] .pp-season-atmosphere::after{inset:-18px 0 0;background-image:radial-gradient(circle,#fff 0 2px,transparent 3px),radial-gradient(circle,#f8ffffc7 0 1px,transparent 2px);background-size:117px 83px,74px 103px;animation:pp-season-snow 9s linear infinite}
body[data-pp-season="halloween"] .pp-season-atmosphere::after{inset:0;background:radial-gradient(ellipse at 45% 70%,#b888ba49 0%,transparent 50%);animation:pp-season-mist 9s ease-in-out infinite alternate}
body[data-pp-season="christmas"] .pp-ref-upper,body[data-pp-season="christmas"] .pp-ref-primary{border-color:#f3d58ba8!important;box-shadow:0 4px 22px #d0a75766!important}
body[data-pp-season="halloween"] .pp-ref-upper,body[data-pp-season="halloween"] .pp-ref-primary{border-color:#e38d3aa1!important;box-shadow:0 0 20px #d57c2955!important}
body[data-pp-season="poland"] .pp-ref-upper,body[data-pp-season="poland"] .pp-ref-primary{border-color:#ffffffa0!important}
/* Seasonal navigation, two information strips, search and CTA buttons. */
body.portal[data-pp-page="home"][data-pp-season]:not([data-pp-season="default"])>.pp-ref-primary{background:linear-gradient(105deg,var(--season-dark),color-mix(in srgb,var(--season-accent),var(--season-dark) 40%),var(--season-dark))!important;border-bottom:3px solid var(--season-glow)!important}
body[data-pp-season]:not([data-pp-season="default"]) .pp-help-rotator{background:linear-gradient(90deg,var(--season-light),#fff 52%,var(--season-light))!important}
body[data-pp-season="halloween"] .pp-help-rotator{background:linear-gradient(90deg,#281a36,#463040,#281a36)!important}
body[data-pp-season="halloween"] .pp-help-rotator a,body[data-pp-season="halloween"] .pp-help-rotator span:not(.pp-help-chip){color:#fff1d9!important}
body[data-pp-season]:not([data-pp-season="default"]) .pp-ad-ticker{box-shadow:inset 0 -2px 0 var(--season-accent),0 5px 17px #15143120!important}
body[data-pp-season]:not([data-pp-season="default"]) .pp-ref-search{border:1px solid var(--season-glow)!important;box-shadow:0 0 0 2px #ffffff14,0 5px 30px color-mix(in srgb,var(--season-accent),transparent 70%)!important}
body[data-pp-season="christmas"] .pp-ref-install{background:linear-gradient(110deg,#0c6e49,#0d4c37)!important;border-color:#eac76a!important;box-shadow:0 0 16px #e9ce5a8a!important}
body[data-pp-season="halloween"] .pp-ref-install{background:linear-gradient(110deg,#321a45,#21122b)!important;border-color:#ed9227!important;box-shadow:0 0 15px #ed92278c!important}
/* Content cards change enough to feel like a complete site-wide theme. */
body.portal[data-pp-page="home"][data-pp-season]:not([data-pp-season="default"]) .pp-dash-welcome{border-color:var(--season-accent)!important;background:linear-gradient(108deg,#fff 0%,var(--season-light) 72%,color-mix(in srgb,var(--season-glow),#fff 80%) 100%)!important;box-shadow:0 14px 35px color-mix(in srgb,var(--season-accent),transparent 78%)!important}
body.portal[data-pp-page="home"][data-pp-season="christmas"] .pp-dash-welcome::after{content:'🎄'!important;opacity:.73!important}
body.portal[data-pp-page="home"][data-pp-season="halloween"] .pp-dash-welcome::after{content:'🎃'!important;opacity:.65!important}
body.portal[data-pp-page="home"][data-pp-season="winter"] .pp-dash-welcome::after{content:'❄️'!important;opacity:.64!important}
body.portal[data-pp-page="home"][data-pp-season="easter"] .pp-dash-welcome::after{content:'🐣'!important;opacity:.64!important}
body.portal[data-pp-page="home"][data-pp-season="poland"] .pp-dash-welcome::after{content:'🇵🇱'!important;opacity:.75!important}
body.portal[data-pp-page="home"][data-pp-season="autumn"] .pp-dash-welcome::after{content:'🍁'!important;opacity:.68!important}
body.portal[data-pp-page="home"][data-pp-season="summer"] .pp-dash-welcome::after{content:'🌞'!important;opacity:.65!important}
body.portal[data-pp-page="home"][data-pp-season="spring"] .pp-dash-welcome::after{content:'🌷'!important;opacity:.65!important}
body[data-pp-season]:not([data-pp-season="default"]) :is(.pp-approved-rail,.pp-panel,.panel,.pp-local-feature,.pp-approved-card,.pp-dash-surface,.pp-modern-adcard,.pp-cms-entry){border-color:color-mix(in srgb,var(--season-accent),#fff 68%)!important}
body[data-pp-season]:not([data-pp-season="default"]) :is(.pp-approved-rail,.panel,.pp-local-feature,.pp-dash-surface){box-shadow:0 6px 22px color-mix(in srgb,var(--season-accent),transparent 88%)!important}
body[data-pp-season="halloween"] .pp-dash-welcome{background:linear-gradient(130deg,#2b203a,#432944)!important;border-left-color:#f59439!important}
body[data-pp-season="halloween"] .pp-dash-welcome h1,body[data-pp-season="halloween"] .pp-dash-welcome p{color:#ffeffb!important}
body[data-pp-season="halloween"] .pp-dash-welcome .pp-dash-eyebrow{color:#ffc585!important}
body[data-pp-season="halloween"] :is(.pp-approved-rail,.pp-panel,.panel,.pp-local-feature,.pp-dash-surface){background:linear-gradient(145deg,#fffafd,#f8eaf1)!important;color:#2b1937!important}
body[data-pp-season="halloween"] :is(.pp-approved-rail,.pp-panel,.panel,.pp-local-feature,.pp-dash-surface) :is(h1,h2,h3){color:#44204d!important}
body[data-pp-season]:not([data-pp-season="default"]) :is(a.button,button.primary,.pp-ref-search>button,.btn-primary){transition:filter .2s ease,box-shadow .2s ease!important}
body[data-pp-season]:not([data-pp-season="default"]) :is(a.button,button.primary,.pp-ref-search>button,.btn-primary):hover{filter:brightness(1.09)}
body[data-pp-season="christmas"] :is(.pp-dash-actions>a:first-child,.pp-ref-search>button){background:#bb293e!important;box-shadow:0 0 0 2px #e9c874,0 5px 22px #b5294b6b!important}
body[data-pp-season="halloween"] :is(.pp-dash-actions>a:first-child,.pp-ref-search>button){background:linear-gradient(135deg,#f59333,#d96618)!important;box-shadow:0 0 18px #ff9a4477!important;color:#1a0c20!important}
body[data-pp-season="poland"] :is(.pp-dash-actions>a:first-child,.pp-ref-search>button){background:linear-gradient(135deg,#ef2849,#b81036)!important}
/* Subpages: unmistakable seasonal band across header, without polluting editing surfaces */
body[data-pp-season]:not([data-pp-season="default"]):not([data-pp-page="home"])>header{background:linear-gradient(115deg,var(--season-dark),color-mix(in srgb,var(--season-dark),var(--season-accent) 38%))!important;border-bottom:4px solid var(--season-glow)!important;box-shadow:0 9px 25px color-mix(in srgb,var(--season-accent),transparent 70%)!important}
body[data-pp-season="christmas"]:not([data-pp-page="home"])>header{background-image:linear-gradient(115deg,#053f33e6,#0a513db8),url('/assets/pp-season-christmas.svg')!important;background-position:center!important;background-size:cover!important}
body[data-pp-season="halloween"]:not([data-pp-page="home"])>header{background-image:linear-gradient(115deg,#160e29c7,#411b46c2),url('/assets/pp-season-halloween.svg')!important;background-position:center!important;background-size:cover!important}
body[data-pp-season="poland"]:not([data-pp-page="home"])>header{background-image:linear-gradient(115deg,#9d1630c9,#161931c7),url('/assets/pp-season-poland.svg')!important;background-position:center!important;background-size:cover!important}
/* Intensity changes decorative weight; full is the default, not merely a label. */
body[data-pp-intensity="medium"][data-pp-season="halloween"] .pp-ref-hero{filter:saturate(.88)}
body[data-pp-intensity="subtle"] .pp-season-mark{display:none}
body[data-pp-intensity="subtle"] .pp-season-atmosphere,body[data-pp-intensity="subtle"] :is(.pp-dash-welcome)::after{opacity:.25!important}
@keyframes pp-season-snow{from{transform:translateY(-16px)}to{transform:translateY(70px)}}
@keyframes pp-season-mist{from{transform:translateX(-16px);opacity:.25}to{transform:translateX(16px);opacity:.72}}
@media(max-width:700px){body.portal[data-pp-page="home"] .pp-season-atmosphere{border-radius:0}.pp-season-art{background-position:center!important;background-size:cover!important}body[data-pp-season="halloween"] .pp-dash-welcome::after{font-size:39px!important}}
@media(prefers-reduced-motion:reduce){.pp-season-atmosphere::after{animation:none!important}}
