/* War_Gate seasonal cosmetics: no controls are hidden or moved. */
html[data-wg-season="halloween"]{--wg-season-accent:#ff9b3e;--wg-season-soft:#d4a2ff;--wg-season-line:rgba(239,127,38,.55);--wg-season-glow:rgba(255,106,25,.18)}
html[data-wg-season="christmas"]{--wg-season-accent:#f6df9d;--wg-season-soft:#abe9ff;--wg-season-line:rgba(112,203,230,.6);--wg-season-glow:rgba(140,222,255,.16)}
html[data-wg-season-bg="true"][data-wg-season="halloween"] body{background-image:linear-gradient(rgba(5,5,17,.24),rgba(5,5,17,.55)),url('../images/seasons/halloween-background.png')!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
html[data-wg-season-bg="true"][data-wg-season="christmas"] body{background-image:linear-gradient(rgba(3,13,28,.25),rgba(3,13,28,.52)),url('../images/seasons/christmas-background.png')!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
html[data-wg-season]:not([data-wg-season="off"]) #content>table,html[data-wg-season]:not([data-wg-season="off"]) .wg-build-card,html[data-wg-season]:not([data-wg-season="off"]) .wg-shop-card,html[data-wg-season]:not([data-wg-season="off"]) #leftmenu{border-color:var(--wg-season-line)!important;box-shadow:0 0 22px var(--wg-season-glow),inset 0 1px 0 rgba(255,255,255,.045)}
html[data-wg-season]:not([data-wg-season="off"]) #content th,html[data-wg-season]:not([data-wg-season="off"]) .wg-build-card h2,html[data-wg-season]:not([data-wg-season="off"]) .wg-admin-heading{color:var(--wg-season-accent)!important;text-shadow:0 0 12px var(--wg-season-glow)}
html[data-wg-season-fonts="true"] #content th,html[data-wg-season-fonts="true"] .wg-build-card h2,html[data-wg-season-fonts="true"] .menu-title,html[data-wg-season-fonts="true"] .wg-admin-heading{font-family:Georgia,'Palatino Linotype',serif!important;letter-spacing:.55px}
html[data-wg-season="halloween"] #menu [data-menu-section]{color:#ffd09b!important;border-color:var(--wg-season-line)}
html[data-wg-season="christmas"] #menu [data-menu-section]{color:#dfedff!important;border-color:var(--wg-season-line)}
.wg-season-decor{position:fixed;inset:0;z-index:25;overflow:hidden;pointer-events:none!important;contain:layout paint}
.wg-season-piece{position:absolute;display:block;width:64px;height:64px;pointer-events:none;background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 0 12px var(--wg-season-glow));animation:wg-season-float 9s ease-in-out infinite alternate}
html[data-wg-season="halloween"] .wg-season-piece{background-image:url('../images/seasons/halloween-decor.png')}
html[data-wg-season="christmas"] .wg-season-piece{background-image:url('../images/seasons/christmas-decor.png')}
.wg-season-piece[data-sprite="0"]{background-position:0 0}.wg-season-piece[data-sprite="1"]{background-position:50% 0}.wg-season-piece[data-sprite="2"]{background-position:100% 0}.wg-season-piece[data-sprite="3"]{background-position:0 100%}.wg-season-piece[data-sprite="4"]{background-position:50% 100%}.wg-season-piece[data-sprite="5"]{background-position:100% 100%}
.wg-season-heading-art{position:static;display:inline-block;vertical-align:middle;width:24px;height:24px;margin-left:7px;animation:none;flex-shrink:0}
.wg-season-mote{position:absolute;width:3px;height:3px;left:var(--x);top:-10px;background:var(--wg-season-soft);box-shadow:0 0 8px var(--wg-season-soft);border-radius:50%;opacity:.55;animation:wg-season-drift var(--duration) linear infinite;animation-delay:var(--delay)}
.wg-season-rail{position:relative;clear:both;margin:18px auto 0;height:112px;max-width:1500px;overflow:hidden;pointer-events:none;background:linear-gradient(transparent,rgba(5,9,19,.55));border-bottom:1px solid var(--wg-season-line)}
.wg-season-rail:after{content:'';position:absolute;bottom:15px;left:0;width:100%;height:1px;box-shadow:0 0 14px var(--wg-season-accent);background:linear-gradient(90deg,transparent,var(--wg-season-accent),transparent)}
.wg-season-train{position:absolute;bottom:10px;left:-450px;width:430px;height:125px;object-fit:contain;filter:drop-shadow(0 0 14px var(--wg-season-glow));animation:wg-season-train 45s linear infinite;pointer-events:none}
.wg-season-control{position:fixed;right:12px;bottom:12px;z-index:1000;display:flex;gap:6px;align-items:center;padding:7px 9px;border:1px solid var(--wg-season-line);border-radius:9px;background:rgba(5,14,27,.94);color:#eef4ff;font:11px/1.3 Arial,sans-serif;box-shadow:0 4px 20px #0008}
.wg-season-control button{font:inherit;min-height:30px;color:var(--wg-season-accent);background:#1a2636;border:1px solid #526273;border-radius:5px;padding:4px 8px;cursor:pointer}
.wg-season-control button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.wg-season-static .wg-season-piece,.wg-season-static .wg-season-mote{animation:none!important}.wg-season-static .wg-season-mote{display:none}.wg-season-static .wg-season-train{animation:none;left:calc(50% - 215px)}
@keyframes wg-season-float{from{transform:translateY(0) rotate(-3deg)}to{transform:translateY(-8px) rotate(3deg)}}
@keyframes wg-season-drift{to{transform:translate3d(35px,110vh,0);opacity:0}}
@keyframes wg-season-train{from{transform:translateX(0)}to{transform:translateX(calc(100vw + 900px))}}
@media(max-width:900px){.wg-season-piece{width:40px;height:40px}.wg-season-heading-art{width:20px;height:20px}.wg-season-control{font-size:10px;padding:5px;right:5px;bottom:5px}.wg-season-train{width:300px;height:90px}.wg-season-rail{height:88px}.wg-season-static .wg-season-train{left:calc(50% - 150px)}}
@media(max-width:480px){.wg-season-decor>.wg-season-piece{display:none}.wg-season-rail{display:none}.wg-season-control button{min-height:40px}.wg-season-control>span{max-width:75px}.wg-season-heading-art{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.wg-season-piece,.wg-season-mote,.wg-season-train{animation:none!important}.wg-season-mote{display:none}.wg-season-train{left:calc(50% - 215px)}}
/* Halloween 2: a haunted starship, drifting apparitions and pumpkin planets. */
.wg-halloween-planet{background-size:400% 400%!important;background-repeat:no-repeat!important;object-fit:contain!important;border-radius:0;filter:drop-shadow(0 0 4px rgba(255,133,32,.5));animation:wg-pumpkin-breath 7s ease-in-out infinite}
.wg-haunt-mist{position:absolute;inset:-15%;background:radial-gradient(ellipse at 10% 50%,rgba(128,58,176,.17),transparent 46%),radial-gradient(ellipse at 90% 75%,rgba(81,194,182,.13),transparent 42%);animation:wg-haunt-mist 48s ease-in-out infinite alternate;pointer-events:none}
.wg-haunt-ghost{width:120px;height:120px;opacity:.12;animation:wg-haunt-ghost 36s ease-in-out infinite;filter:drop-shadow(0 0 18px #75d3ff);pointer-events:none}
.wg-season-flight-lane{height:230px;background:radial-gradient(ellipse at 50% 100%,rgba(93,39,142,.2),transparent 65%);border-bottom:0}
.wg-season-flight-lane:after{height:0;background:none;box-shadow:none}
.wg-haunted-ship{width:380px;height:190px;left:-430px;bottom:20px;animation:wg-haunted-flight 40s linear infinite;filter:drop-shadow(0 0 16px rgba(108,64,187,.55))}
.wg-season-static .wg-haunted-ship{left:calc(50% - 190px)}
.wg-season-static .wg-haunt-mist,.wg-season-static .wg-haunt-ghost,.wg-season-static .wg-halloween-planet{animation:none!important}
@keyframes wg-pumpkin-breath{0%,100%{filter:drop-shadow(0 0 3px rgba(255,133,32,.3))}50%{filter:drop-shadow(0 0 7px rgba(255,133,32,.75))}}
@keyframes wg-haunt-mist{from{transform:translate3d(-3%,0,0)}to{transform:translate3d(3%,4%,0)}}
@keyframes wg-haunt-ghost{0%,100%{transform:translate3d(0,0,0) rotate(-5deg);opacity:.04}40%{opacity:.14}65%{transform:translate3d(65px,-30px,0) rotate(5deg);opacity:.09}}
@keyframes wg-haunted-flight{0%{transform:translate3d(0,18px,0) rotate(-2deg)}25%{transform:translate3d(calc(25vw + 260px),-12px,0) rotate(2deg)}50%{transform:translate3d(calc(50vw + 520px),8px,0) rotate(-1deg)}75%{transform:translate3d(calc(75vw + 780px),-14px,0) rotate(2deg)}100%{transform:translate3d(calc(100vw + 1080px),10px,0) rotate(-2deg)}}
@media(max-width:900px){.wg-haunt-ghost{width:65px;height:65px;opacity:.08}.wg-season-flight-lane{height:200px}.wg-haunted-ship{width:300px;height:150px;bottom:22px}.wg-season-static .wg-haunted-ship{left:calc(50% - 150px)}}
@media(max-width:480px){.wg-haunt-ghost{display:none}}
@media(prefers-reduced-motion:reduce){.wg-haunt-mist,.wg-haunt-ghost,.wg-haunted-ship,.wg-halloween-planet{animation:none!important}.wg-haunted-ship{left:calc(50% - 190px)}}
/* Full assets remain visible in both compact cards and the detailed information view. */
.wg-halloween-asset{object-fit:contain!important;background:radial-gradient(ellipse at 50% 80%,rgba(98,42,65,.32),rgba(6,10,23,.85));filter:drop-shadow(0 0 3px rgba(255,123,30,.12))}
