/* Calendar-driven art: only the current/next event is fetched, never all eight. */
html[data-next-event=halloween]{--event-promo-art:url('/assets/optimized/halloween-mobile-800.webp')}
html[data-next-event=christmas]{--event-promo-art:url('/assets/optimized/christmas-mobile-800.webp')}
html[data-next-event=newyear]{--event-promo-art:url('/assets/optimized/newyear-mobile-800.webp')}
html[data-next-event=valentine]{--event-promo-art:url('/assets/optimized/valentine-mobile-800.webp')}
html[data-next-event=birthday]{--event-promo-art:url('/assets/optimized/birthday-mobile-800.webp')}
html[data-next-event=pride]{--event-promo-art:url('/assets/optimized/pride-mobile-800.webp')}
html[data-next-event=sunwake]{--event-promo-art:url('/assets/optimized/sunwake-mobile-800.webp')}
html[data-next-event=harvestmoon]{--event-promo-art:url('/assets/optimized/harvestmoon-mobile-800.webp')}
html[data-next-event] .event-hero-art,html[data-next-event] .event-teaser::before{background-image:var(--event-promo-art);background-position:center;background-size:cover}

html[data-event=halloween]{--season-wash:#8c482b26;--season-secondary:#dba0ff;--season-decoration:url('/assets/seasons/halloween-decor.svg')}
html[data-event=christmas]{--season-wash:#337e6929;--season-secondary:#e6c47e;--season-decoration:url('/assets/seasons/christmas-decor.svg')}
html[data-event=newyear]{--season-wash:#7a56ab2b;--season-secondary:#f5cf7b;--season-decoration:url('/assets/seasons/newyear-decor.svg')}
html[data-event=valentine]{--season-wash:#c75e7b26;--season-secondary:#e9c7db;--season-decoration:url('/assets/seasons/valentine-decor.svg')}
html[data-event=birthday]{--season-wash:#d9b85720;--season-secondary:#9bcaff;--season-decoration:url('/assets/seasons/birthday-decor.svg')}
html[data-event=pride]{--season-wash:#7959b927;--season-secondary:#efbada;--season-decoration:url('/assets/seasons/pride-decor.svg')}
html[data-event=sunwake]{--season-wash:#2aa89125;--season-secondary:#f4cf81;--season-decoration:url('/assets/seasons/sunwake-decor.svg')}
html[data-event=harvestmoon]{--season-wash:#a76c3229;--season-secondary:#d89865;--season-decoration:url('/assets/seasons/harvestmoon-decor.svg')}

/* Keep readable navy surfaces and real dragon sprites; dress their surroundings. */
html[data-event] .button:not(.secondary){background:linear-gradient(110deg,var(--gold),color-mix(in srgb,var(--gold) 76%,var(--season-secondary)));color:#091624}
html[data-event] .button:not(.secondary):hover{background:color-mix(in srgb,var(--gold) 85%,white)}
html[data-event] .tower-controls button[aria-pressed=true]{background:var(--panel);color:var(--gold);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold) 45%,transparent)}
html[data-event] .collection{isolation:isolate}
html[data-event] .collection::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--season-decoration),linear-gradient(var(--season-wash),transparent 60%);background-repeat:no-repeat;background-position:center top;background-size:100% auto,cover}
html[data-event] .tower-scenes::after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background-image:var(--season-decoration),linear-gradient(145deg,var(--season-wash),transparent 45%);background-size:100% auto,cover;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold) 38%,transparent)}
html[data-event] .focus-demo{background:linear-gradient(135deg,var(--panel),#091624d9),url('/assets/haven-hall-v2.webp') center/cover;border-color:color-mix(in srgb,var(--gold) 30%,transparent)}
html[data-event] .egg-page .egg-hero{background:linear-gradient(100deg,var(--bg) 44%,var(--season-wash)),url('/assets/haven-hall-v2.webp') right center/cover}
html[data-event] .event-card{background:var(--panel)}
html[data-event] .tower-scenes::after{opacity:.55}
html[data-event] .event-card.is-active{border:1px solid var(--gold)}
html[data-event] .expertise-numbers,html[data-event] .spark-secret{background:var(--panel)}
@media(forced-colors:active){html[data-event] .tower-scenes::after,html[data-event] .collection::after{display:none}html[data-event] .button{background:ButtonFace;color:ButtonText}}
