/* Generated by scripts/build-seasonal-styles.mjs. */
/* Seasonal presentation over the current published Mythical layout. */
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] {
  --ink: var(--season-ink);
  --ink-soft: hsl(var(--season-hue) 32% 8%);
  --purple: var(--season-accent);
  --purple-light: color-mix(in srgb, var(--season-accent) 80%, white);
  --purple-dark: hsl(var(--season-hue) 48% 22%);
}
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] body,
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] .cave-depth-scene { background-color: var(--season-ink); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season { min-height: 100svh; isolation: isolate; }
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] .cave-depth-scene::after {
  background: radial-gradient(ellipse at 72% 20%, color-mix(in srgb, var(--season-accent) 13%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--season-ink) 58%, transparent), var(--season-ink));
}
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] body::before {
  background: radial-gradient(ellipse at 72% 14%, color-mix(in srgb, var(--season-accent) 8%, transparent), transparent 65%), linear-gradient(180deg, transparent, var(--season-ink) 94%);
}
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] .site-header {
  border-color: color-mix(in srgb, var(--season-accent) 24%, transparent);
  background: linear-gradient(110deg, color-mix(in srgb, var(--season-ink) 95%, transparent), hsl(var(--season-hue) 42% 8% / .86));
}
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] .brand-copy strong { background-image: linear-gradient(180deg, #fff7dd, var(--season-secondary)); }
html:where(:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game))[data-theme="fantasy"] main.home-page-minimal > .hero.home-minimal-hero {
  background: radial-gradient(ellipse at 50% 28%, color-mix(in srgb, var(--season-accent) 7%, transparent), transparent 65%), linear-gradient(180deg, color-mix(in srgb, var(--season-ink) 38%, transparent), color-mix(in srgb, var(--season-ink) 73%, transparent) 80%, var(--season-ink)), var(--season-scene) center / cover;
}
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .home-minimal-brand img { filter: brightness(1.12) drop-shadow(0 0 20px color-mix(in srgb, var(--season-accent) 44%, transparent)); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .home-minimal-brand h1 {
  background-image: linear-gradient(105deg, #fff6ed 12%, var(--season-secondary) 40%, var(--season-accent) 82%);
}
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .home-minimal-brand > span { color: color-mix(in srgb, var(--season-secondary) 38%, #b5aeb8); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .home-minimal-story p { color: #fff; text-shadow: 0 2px 15px var(--season-ink); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .home-minimal-story::before { background: linear-gradient(90deg, transparent, var(--season-accent), transparent); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-label {
  position: fixed; right: 16px; bottom: 14px; z-index: 25;
  display: inline-flex; align-items: center; gap: 7px;
  max-width: calc(100% - 32px); padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--season-accent) 28%, transparent);
  border-radius: 999px; background: color-mix(in srgb, var(--season-ink) 90%, transparent);
  color: var(--season-secondary); font-size: .62rem; font-weight: 800; letter-spacing: .03em;
  pointer-events: none; backdrop-filter: blur(12px);
}
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-label > span { width: 5px; height: 5px; border-radius: 50%; background: var(--season-accent); box-shadow: 0 0 10px var(--season-accent); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-atmosphere { position: fixed; inset: 0; overflow: hidden; z-index: 2; pointer-events: none; }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-atmosphere i {
  position: absolute; top: -18px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--season-secondary); opacity: 0;
  animation: season-drift 16s linear infinite; box-shadow: 0 0 7px var(--season-secondary);
}
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-atmosphere i:nth-child(3n) { width: 2px; height: 2px; background: var(--season-third); }
:where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-halloween .current-season-atmosphere i { background: #ffae4e; animation-name: season-ember; }
@keyframes season-drift { 0% { opacity: 0; transform: translate3d(0,-20px,0) rotate(0); } 10% { opacity: .38; } 88% { opacity: .22; } 100% { opacity: 0; transform: translate3d(65px,105vh,0) rotate(230deg); } }
@keyframes season-ember { 0% { opacity: 0; transform: translate3d(0,100vh,0); } 15% { opacity: .36; } 80% { opacity: .18; } 100% { opacity: 0; transform: translate3d(-45px,0,0); } }
@media (max-width: 760px) {
  :where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-label { right: 10px; bottom: 10px; padding: 6px 9px; font-size: .55rem; }
  :where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-atmosphere i:nth-child(n+11) { display: none; }
}
@media (prefers-reduced-motion: reduce) { :where(html:has(.current-season)):where(:not(:has(.current-season-halloween)), :has(.current-season-game)) .current-season-atmosphere { display: none; } }

/* The current website, with an autumn palette. Game presentation stays frozen. */
.halloween-detail { display: none; }
html:has(.current-season-halloween):not(:has(.current-season-game)) {
  --ink: #0d0812;
  --ink-soft: #17101d;
  --purple: #dd792f;
  --purple-light: #ffc17b;
  --purple-dark: #753410;
}
html[data-theme="fantasy"]:has(.current-season-halloween):not(:has(.current-season-game)) {
  body { background-color: #0d0812; }
  .current-season { min-height: 100svh; isolation: isolate; }
  .background-slideshow { background: #0d0812; }
  .background-shade { background: radial-gradient(ellipse at 85% 10%, #c5661820, transparent 52%), linear-gradient(90deg, #100916d6, #170e1ab3 50%, #100916cc); }
  body::before { background: none; }
  main, .home-minimal-hero, .manifesto { background: transparent; }
  main.home-page-minimal > .hero.home-minimal-hero { background: transparent; }
  .home-minimal-hero::before, .home-minimal-hero::after, .info-hero::after { background: none; }
  :is(.community-hero, .map-placeholder, .vip-coming, .store-hero, .legal-hero, .info-hero, .wiki-cover) { background: linear-gradient(90deg, #140b1b52, #140b1b1a); }
  .community-card::before { background: none; }
  .site-header { border-color: #e991424d; background: linear-gradient(110deg, #100a18f5, #21101bea); box-shadow: 0 8px 32px #0005, inset 0 1px #ffc98d0d; }
  .brand-copy strong { background-image: linear-gradient(180deg, #ffe5af, #eea34e); }
  .home-minimal-brand img { filter: brightness(1.12) saturate(1.15) drop-shadow(0 0 24px #9539df66); }
  .home-minimal-brand h1 { background-image: linear-gradient(105deg, #fff0c9 12%, #ffc16c 48%, #ea833b 85%); }
  .home-minimal-brand > span { color: #b9a6bd; }
  .home-minimal-story p { color: #fff; }
  .home-minimal-story::before { background: linear-gradient(90deg, transparent, #f1a255, transparent); }
  :is(.button-primary, .coming-soon-button, .header-actions .login-button) { color: #fff6eb; border-color: #e59450; background: linear-gradient(135deg, #a34c18, #74321b); box-shadow: 0 4px 22px #d56c2026, inset 0 1px #ffd2a326; }
  :is(.button-primary, .coming-soon-button, .header-actions .login-button):hover { background: linear-gradient(135deg, #ae541e, #853a20); box-shadow: 0 4px 28px #d56c2040; }
  :is(.hub-section-nav > a.is-active, .wiki-nav-link.is-active, .main-nav > a:not(.header-server-status):hover) { color: #ffce93; background: #a7511c26; border-color: #e5945059; }
  :is(.community-card, .info-status) { border-color: #c68b4a33; background: linear-gradient(120deg, #26172d99, #110b1ccc); }
  .current-season-label { position: fixed; left: 16px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #e99b4c55; border-radius: 999px; background: #160e1bea; color: #ffce93; font-size: .875rem; pointer-events: none; }
  .current-season-label > span::before { content: "🎃"; }
  .current-season-atmosphere { position: fixed; inset: 0; overflow: hidden; z-index: 2; pointer-events: none; }
  .current-season-atmosphere > i { position: absolute; top: -18px; width: 3px; height: 3px; border-radius: 50%; background: #ffae4e; opacity: 0; animation: season-ember 16s linear infinite; box-shadow: 0 0 7px #ffae4e55; }
  .current-season-atmosphere > i:nth-of-type(n+11) { display: none; }
  .halloween-detail { display: block; position: absolute; color: #e9aa69; opacity: .24; }
  .halloween-detail svg { width: 32px; height: 32px; stroke-width: 1.2; }
  .halloween-detail-moon { top: 145px; right: 26px; transform: rotate(-12deg); }
  .halloween-detail-ghost { bottom: 86px; right: 28px; color: #dfc9f7; transform: rotate(12deg); opacity: .19; }
  .halloween-detail-leaf { bottom: 90px; left: 22px; transform: rotate(-30deg); }
  @media (max-width: 760px) {
    .halloween-detail { display: none; }
    .current-season-atmosphere > i:nth-of-type(n+6) { display: none; }
    .current-season-label { left: 10px; bottom: 10px; font-size: .75rem; padding: 6px 9px; }
  }
  @media (prefers-reduced-motion: reduce) { .current-season-atmosphere { display: none; } }
}

/* Original logo remains the image; seasonal artwork is a separate decorative layer. */
html[data-theme="fantasy"]:has(.current-season-halloween):not(:has(.current-season-game)) {
  .home-seasonal-logo { position: relative; display: grid; place-items: center; margin: 24px 0 14px; }
  .home-seasonal-logo::after { content: ""; position: absolute; width: 175%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); background: url("/assets/halloween-logo-frame-v1.webp") center / contain no-repeat; pointer-events: none; }
  .home-minimal-brand h1 { position: relative; z-index: 1; }
  .halloween-detail-ghost { opacity: .3; }
  .halloween-detail-moon { opacity: .35; }
  @media (max-width: 760px) { .home-seasonal-logo { margin-top: 18px; } .home-seasonal-logo::after { width: 158%; } }
}
