/* LPG GFD · Saison-Designs (v4). season-v4.js setzt <html data-season="…"> je nach Datum (abschaltbar pro Person).
   Halloween „Nacht über dem Acker“: Nachtviolett statt Blauschiefer, Kürbisglut statt Rapsgelb, ein Mond über der Seite.
   Dazu die Kürbisjagd: Fundstücke glimmen auf, fliegen beim Einsammeln in die Seitenleiste und landen im Sammelbuch.
   Teamfarben in Wardogs bleiben unverändert. */

html[data-season="halloween"] {
  --bg: #120D16; --bg2: #0D0911; --panel: #1A1420; --panel2: #231B2A; --panel3: #2E2437;
  --line: rgba(226,210,240,.09); --line2: rgba(226,210,240,.18);
  --text: #F2EBE3; --muted: #B5ABBD; --dis: #8A8093;
  --acc: #E7954A; --acc-h: #F4B27A; --acc2: #E7954A; --acc-rgb: 231 149 74; --acc-soft: rgba(231,149,74,.12);
  --on: #120D16; --on-acc: #1F1206;
  --ok: #A3C98A; --warn: #E9B45C; --gold: #E9B45C; --bad: #E88A80;
  --side-bg: #0D0911; --bg-rgb: 18 13 22; --panel-rgb: 26 20 32;
  --stripe: repeating-linear-gradient(-45deg, var(--acc) 0 7px, transparent 7px 14px);
  --ss-glow: 231 149 74; --ss-moon: #F3EAD3; --ss-wisp: 142 240 216; --ss-gold: #F2C44C;
}
html[data-season="halloween"] body { background: var(--bg); }
/* Verlauf auf eigener, fester Ebene statt background-attachment: fixed (das malt beim Scrollen jedes Mal die ganze Seite neu) */
html[data-season="halloween"] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 380px at calc(100% - 210px) 40px, rgba(243,234,211,.075), transparent 70%),
    radial-gradient(1100px 700px at -5% 108%, rgba(231,149,74,.07), transparent 60%),
    radial-gradient(900px 500px at 60% 120%, rgba(120,80,170,.08), transparent 70%); }
/* Seitentitel: Warnstreifen in Kürbisglut, ganz leicht glimmend */
html[data-season="halloween"] section > .sec:first-child h2.eyebrow::after { filter: drop-shadow(0 0 6px rgba(var(--ss-glow) / .35)); }

/* ---------- Deko-Ebene (nie über Bedienelementen) ---------- */
.ss-deco { position: fixed; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.ss-deco > svg { position: absolute; display: block; }

/* Sterne: drei feine Punktraster, die gegeneinander funkeln */
.ss-stars { position: absolute; inset: 0 0 45% 0;
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.ss-stars::before, .ss-stars::after { content: ""; position: absolute; inset: 0; }
.ss-stars::before {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,250,235,.7), transparent 60%),
    radial-gradient(1px 1px at 37% 8%, rgba(255,250,235,.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 58% 26%, rgba(255,250,235,.6), transparent 60%),
    radial-gradient(1px 1px at 81% 12%, rgba(255,250,235,.5), transparent 60%),
    radial-gradient(1px 1px at 92% 34%, rgba(255,250,235,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 25% 40%, rgba(255,250,235,.4), transparent 60%);
  background-size: 640px 420px; opacity: .55; animation: ss-twinkle 7s ease-in-out infinite alternate; }
.ss-stars::after {
  background-image:
    radial-gradient(1px 1px at 7% 31%, rgba(220,210,255,.6), transparent 60%),
    radial-gradient(1px 1px at 46% 15%, rgba(220,210,255,.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 70% 38%, rgba(255,240,220,.55), transparent 60%),
    radial-gradient(1px 1px at 88% 6%, rgba(220,210,255,.5), transparent 60%);
  background-size: 470px 330px; opacity: .35; animation: ss-twinkle 9s ease-in-out infinite alternate-reverse; }
@keyframes ss-twinkle { to { opacity: .12; } }

/* Spinnennetz oben rechts */
.ss-web { top: -2px; right: -2px; width: 210px; height: 210px; opacity: .14; }

/* Fledermäuse fliegen ab und zu quer über den oberen Rand */
.ss-bat { top: 0; left: 0; width: 46px; opacity: 0; color: #07050A; filter: drop-shadow(0 0 1px rgba(226,210,240,.4)); position: absolute; }
.ss-bat .w { transform-origin: 50% 60%; animation: ss-flap .22s ease-in-out infinite alternate; }
@keyframes ss-flap { to { transform: scaleY(.35); } }
.ss-bat.b1 { animation: ss-fly1 26s linear infinite 2s; }
.ss-bat.b2 { width: 32px; animation: ss-fly2 34s linear infinite 11s; }
.ss-bat.b3 { width: 38px; animation: ss-fly1 41s linear infinite 23s; }
@keyframes ss-fly1 {
  0% { opacity: 0; transform: translate(-80px, 140px) rotate(-8deg); }
  3% { opacity: .7; }
  25% { transform: translate(35vw, 40px) rotate(6deg); }
  50% { transform: translate(70vw, 120px) rotate(-6deg); }
  70% { opacity: .7; }
  75% { opacity: 0; transform: translate(110vw, 30px) rotate(4deg); }
  100% { opacity: 0; transform: translate(110vw, 30px); }
}
@keyframes ss-fly2 {
  0% { opacity: 0; transform: translate(105vw, 60px) scaleX(-1); }
  3% { opacity: .65; }
  30% { transform: translate(60vw, 160px) scaleX(-1); }
  60% { transform: translate(20vw, 50px) scaleX(-1); }
  68% { opacity: .65; }
  72% { opacity: 0; transform: translate(-80px, 110px) scaleX(-1); }
  100% { opacity: 0; transform: translate(-80px, 110px) scaleX(-1); }
}
.ss-bat.burst { opacity: 0; animation: ss-burst 2.6s ease-in forwards; z-index: 2; }
@keyframes ss-burst { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1); } }

/* Bodennebel in zwei Schichten, die gegeneinander ziehen */
.ss-fog { position: absolute; left: -15%; right: -15%; bottom: -50px; height: 200px; }
.ss-fog.f1 { background: radial-gradient(55% 100% at 30% 100%, rgba(190,176,201,.075), transparent 70%), radial-gradient(45% 80% at 80% 100%, rgba(190,176,201,.06), transparent 70%);
  animation: ss-drift 22s ease-in-out infinite alternate; }
.ss-fog.f2 { height: 130px; background: radial-gradient(40% 100% at 60% 100%, rgba(170,150,200,.06), transparent 70%), radial-gradient(35% 90% at 10% 100%, rgba(231,149,74,.035), transparent 70%);
  animation: ss-drift 31s ease-in-out infinite alternate-reverse; }
@keyframes ss-drift { from { transform: translateX(-5%); } to { transform: translateX(6%); } }

/* ---------- Bedienbare Deko: Mond und Spinne (oben rechts) ---------- */
.ss-hot { position: fixed; top: 0; right: 0; width: 1px; height: 1px; z-index: 4; pointer-events: none; }
.ss-hot button { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.ss-hot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ss-moonbtn { top: -18px; right: 190px; width: 70px; height: 70px; border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(243,234,211,.28)) drop-shadow(0 0 60px rgba(243,234,211,.12)); opacity: .9; transition: opacity .3s, filter .3s; }
.ss-moonbtn:hover { opacity: 1; filter: drop-shadow(0 0 22px rgba(243,234,211,.45)) drop-shadow(0 0 70px rgba(243,234,211,.2)); }
.ss-moonbtn.wake { animation: ss-wake .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes ss-wake { 30% { transform: scale(1.12) rotate(-6deg); } 60% { transform: scale(.96) rotate(3deg); } }
.ss-spiderbtn { top: 0; right: 112px; width: 22px; height: 120px; transform-origin: 50% 0; animation: ss-dangle 8s ease-in-out infinite; }
.ss-spiderbtn.tickle { animation: ss-tickle .5s ease-in-out, ss-dangle 8s ease-in-out infinite .5s; }
@keyframes ss-dangle { 0%, 100% { transform: translateY(-40px); } 45% { transform: translateY(26px); } 60% { transform: translateY(16px); } }
@keyframes ss-tickle { 0% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-14px) rotate(12deg); } 45% { transform: translateY(6px) rotate(-12deg); } 70% { transform: translateY(-4px) rotate(6deg); } 100% { transform: translateY(0) rotate(0); } }
.ss-hot button:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 8px; }

/* Kürbis am Logo */
html[data-season="halloween"] .brand { position: relative; }
.ss-pumpkin { position: absolute; left: 46px; top: 40px; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(var(--ss-glow) / .5)); animation: ss-candle 4s ease-in-out infinite; }
.ss-pumpkin svg { width: 100%; height: 100%; display: block; }
.ss-pumpkin:hover { transform: rotate(-8deg) scale(1.1); }
@keyframes ss-candle { 0%, 100% { filter: drop-shadow(0 0 6px rgba(var(--ss-glow) / .5)); } 40% { filter: drop-shadow(0 0 11px rgba(var(--ss-glow) / .8)); } 55% { filter: drop-shadow(0 0 5px rgba(var(--ss-glow) / .45)); } 70% { filter: drop-shadow(0 0 9px rgba(var(--ss-glow) / .7)); } }

/* ---------- Kürbisjagd in der Seitenleiste ---------- */
.ss-pill { margin: 0 12px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.ss-hunt { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 9px 12px 9px 9px; text-align: left; cursor: pointer;
  color: var(--text); font: inherit; border-radius: var(--r, 6px); border: 1px solid rgba(var(--ss-glow) / .26);
  background: linear-gradient(180deg, rgba(var(--ss-glow) / .12), rgba(var(--ss-glow) / .04)); transition: border-color .2s, background .2s; }
.ss-hunt:hover { border-color: rgba(var(--ss-glow) / .55); background: linear-gradient(180deg, rgba(var(--ss-glow) / .18), rgba(var(--ss-glow) / .06)); }
.ss-hunt:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.ss-hunt-ico { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(var(--ss-glow) / .45)); }
.ss-hunt-ico svg { width: 100%; height: 100%; display: block; }
.ss-hunt-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.ss-hunt-t b { font-family: var(--f-d); font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.ss-hunt-t small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.ss-hunt-n { font-family: var(--f-d); font-weight: 800; font-size: 22px; color: var(--acc-h); font-variant-numeric: tabular-nums; }
.ss-hunt-n i { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; }
.ss-hunt.bump .ss-hunt-ico { animation: ss-bump .6s cubic-bezier(.3,1.8,.5,1); }
@keyframes ss-bump { 35% { transform: scale(1.35) rotate(-10deg); } 70% { transform: scale(.92) rotate(4deg); } }
.ss-off { align-self: flex-end; background: none; border: 0; padding: 0 2px; color: var(--dis); font: inherit; font-size: 11.5px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ss-off:hover { color: var(--text); }
.ss-pill.off { flex-direction: row; align-items: baseline; justify-content: space-between; color: var(--muted); font-size: 13px; }
.ss-pill.off .ss-off { align-self: auto; }

/* ---------- Fundstücke ---------- */
.ss-item { position: fixed; z-index: 60; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; animation: ss-peek .7s cubic-bezier(.3,1.5,.5,1) both; }
.ss-item::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--ss-glow) / .38), rgba(var(--ss-glow) / .1) 60%, transparent); animation: ss-halo 2.2s ease-in-out infinite; }
.ss-item svg { position: relative; width: 100%; height: 100%; display: block; overflow: visible; animation: ss-bob 2.6s ease-in-out infinite;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)) drop-shadow(0 0 7px rgba(var(--ss-glow) / .55)); transition: transform .2s; }
.ss-item:hover svg { transform: scale(1.15) rotate(-6deg); }
.ss-item:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; border-radius: 50%; }
.ss-item.gone { animation: ss-fade .5s ease-in forwards; pointer-events: none; }
.ss-item.caught { z-index: 85; pointer-events: none; animation: none; }
.ss-item.caught::before { animation: none; opacity: 0; }
.ss-item.pop { animation: ss-peek .5s cubic-bezier(.3,1.8,.5,1) both; }
@keyframes ss-peek { from { opacity: 0; transform: translateY(14px) scale(.5); } }
@keyframes ss-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes ss-halo { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes ss-fade { to { opacity: 0; filter: blur(6px); transform: translateY(-14px) scale(.8); } }
/* Irrlicht: kühles Leuchten, schwebt quer über die Seite */
.ss-item.ss-wisp { width: 42px; height: 42px; animation: none; }
.ss-item.ss-wisp::before { inset: -26px; background: radial-gradient(closest-side, rgba(var(--ss-wisp) / .45), rgba(var(--ss-wisp) / .12) 55%, transparent); animation-duration: 1.4s; }
.ss-item.ss-wisp svg { filter: drop-shadow(0 0 10px rgba(var(--ss-wisp) / .8)); animation-duration: 1.8s; }
/* Goldener Kürbis: Strahlenkranz */
.ss-item.ss-gold { width: 88px; height: 88px; z-index: 75; animation: none; }
.ss-item.ss-gold::before { inset: -60px; background: repeating-conic-gradient(rgba(242,196,76,.22) 0 8deg, transparent 8deg 22deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent);
  animation: ss-rays 14s linear infinite; }
.ss-item.ss-gold svg { filter: drop-shadow(0 0 16px rgba(242,196,76,.8)) drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
@keyframes ss-rays { to { transform: rotate(360deg); } }

/* ---------- Erscheinungen ---------- */
.ss-spook { position: absolute; pointer-events: none; will-change: transform, opacity; }
.ss-spook svg { width: 100%; height: auto; display: block; opacity: .66; }
.ss-spook.catch { pointer-events: auto; cursor: pointer; padding: 10px; margin: -10px; }
.ss-spook.catch svg { filter: blur(.4px) drop-shadow(0 0 10px rgba(243,238,248,.25)); }
.ss-spook.catch:hover svg { opacity: .95; filter: drop-shadow(0 0 14px rgba(243,238,248,.65)); }
.ss-spook.rim svg { opacity: .9; filter: drop-shadow(0 0 1.5px rgba(222,206,240,.75)) drop-shadow(0 0 8px rgba(160,120,210,.45)); }
.ss-spook .w { transform-origin: 50% 55%; animation: ss-flap .28s ease-in-out infinite alternate; }

/* Geisterstunde: alles dunkel, nur die Laterne am Mauszeiger leuchtet */
.ss-veil { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(circle 190px at var(--mx) var(--my), rgba(var(--ss-glow) / .06), rgba(8,5,11,.55) 55%, rgba(6,4,9,.9) 100%); }
.ss-veil.in { opacity: 1; }

/* ---------- Toasts ---------- */
.ss-toasts { position: fixed; left: 50%; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; width: min(440px, calc(100vw - 32px)); }
.ss-toast { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px 11px 12px; border-radius: 10px; color: var(--text);
  background: linear-gradient(180deg, rgba(42,32,50,.97), rgba(26,20,32,.97)); border: 1px solid rgba(var(--ss-glow) / .35);
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 30px rgba(var(--ss-glow) / .12); animation: ss-toast-in .45s cubic-bezier(.3,1.4,.5,1) both; }
.ss-toast.plain { border-color: var(--line2); }
.ss-toast.out { animation: ss-toast-out .5s ease-in forwards; }
.ss-toast-art { flex: 0 0 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(var(--ss-glow) / .5)); }
.ss-toast-art svg { width: 100%; height: 100%; display: block; }
.ss-toast b { display: block; font-family: var(--f-d); font-weight: 800; font-size: 18px; line-height: 1.15; }
.ss-toast small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@keyframes ss-toast-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes ss-toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Sammelbuch ---------- */
.ss-book { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; overflow-y: auto;
  background: rgba(7,4,10,.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.ss-book.in { opacity: 1; }
.ss-book-in { position: relative; width: min(1040px, 100%); padding: 30px 32px 28px; border-radius: 14px; color: var(--text);
  background:
    radial-gradient(600px 300px at 100% 0, rgba(var(--ss-glow) / .1), transparent 70%),
    radial-gradient(500px 300px at 0 100%, rgba(120,80,170,.12), transparent 70%),
    #18121E;
  border: 1px solid rgba(var(--ss-glow) / .22); box-shadow: 0 30px 90px rgba(0,0,0,.6);
  transform: translateY(16px) scale(.98); transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.ss-book.in .ss-book-in { transform: none; }
.ss-book header { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: start; padding-right: 36px; }
.ss-book h2 { margin: 0; font-family: var(--f-d); font-weight: 850; font-size: clamp(32px, 4vw, 46px); line-height: .95; letter-spacing: .005em; }
.ss-book header p { margin: 10px 0 0; max-width: 60ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ss-count { text-align: right; line-height: 1; }
.ss-count b { display: block; font-family: var(--f-d); font-weight: 850; font-size: 58px; color: var(--acc-h); text-shadow: 0 0 24px rgba(var(--ss-glow) / .45); font-variant-numeric: tabular-nums; }
.ss-count span { color: var(--muted); font-size: 14px; }
.ss-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.03);
  color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.ss-x:hover { background: rgba(255,255,255,.08); }
.ss-x:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.ss-bar { height: 8px; margin: 22px 0 24px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; }
.ss-bar i { display: block; height: 100%; border-radius: inherit; background: var(--stripe), linear-gradient(90deg, #B8541E, var(--acc), var(--acc-h));
  box-shadow: 0 0 14px rgba(var(--ss-glow) / .55); transition: width .8s cubic-bezier(.3,1,.5,1); }
.ss-book-grid { display: grid; grid-template-columns: 1fr 280px; gap: 26px; align-items: start; }
.ss-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.ss-slot { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 10px;
  background: rgba(255,255,255,.025); border: 1px dashed rgba(226,210,240,.14); }
.ss-slot.got { border-style: solid; border-color: rgba(var(--ss-glow) / .3); background: linear-gradient(180deg, rgba(var(--ss-glow) / .09), rgba(var(--ss-glow) / .02)); }
.ss-slot.gold { grid-column: 1 / -1; grid-template-columns: 72px 1fr; border-color: rgba(242,196,76,.35); background: linear-gradient(90deg, rgba(242,196,76,.09), transparent 70%); }
.ss-slot.gold.got { border-style: solid; box-shadow: 0 0 30px rgba(242,196,76,.15) inset; }
.ss-slot-art { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); }
.ss-slot.gold .ss-slot-art { width: 72px; height: 72px; }
.ss-slot-art svg { width: 84%; height: 84%; display: block; }
.ss-slot.got .ss-slot-art svg { filter: drop-shadow(0 0 7px rgba(var(--ss-glow) / .5)); }
.ss-slot.gold.got .ss-slot-art svg { filter: drop-shadow(0 0 12px rgba(242,196,76,.75)); }
.ss-slot-art svg.sil { filter: brightness(0) invert(1); opacity: .09; }
.ss-slot-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ss-slot-t b { font-family: var(--f-d); font-weight: 800; font-size: 17px; line-height: 1.15; }
.ss-slot:not(.got) .ss-slot-t b { color: var(--dis); letter-spacing: .1em; }
.ss-slot-t span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.ss-slot:not(.got) .ss-slot-t span { font-style: italic; }
.ss-slot-t small { font-size: 12px; color: var(--acc-h); opacity: .85; }
.ss-board { padding: 16px 16px 14px; border-radius: 10px; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.ss-board h3 { margin: 0 0 10px; font-family: var(--f-d); font-weight: 800; font-size: 22px; }
.ss-board ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ss-board li { display: grid; grid-template-columns: 20px 26px 1fr auto; align-items: center; gap: 9px; padding: 6px 4px; border-radius: 6px; font-size: 14px; }
.ss-board li:nth-child(-n+3) .ss-rank { color: var(--acc-h); }
.ss-board li img, .ss-board li > i { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.ss-rank { font-family: var(--f-d); font-weight: 800; color: var(--dis); text-align: right; }
.ss-bn { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 5px; }
.ss-bn em { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; }
.ss-bn em svg { width: 100%; height: 100%; display: block; }
.ss-bc { font-family: var(--f-d); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.ss-board li.ss-empty { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; padding: 4px 2px; }
.ss-tip { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 900px) {
  /* Kopfleiste: Kürbisjagd kompakt rechts, Mond und Spinne daneben */
  .ss-hot { z-index: 41; }
  .ss-moonbtn { top: -10px; right: 128px; width: 46px; height: 46px; }
  .ss-spiderbtn { right: 184px; height: 92px; width: 18px; }
  .ss-pumpkin { left: 30px; top: 26px; width: 22px; height: 22px; }
  .ss-pill { margin: 0 0 0 auto; gap: 2px; align-items: flex-end; }
  .ss-hunt { grid-template-columns: 26px auto; gap: 6px; padding: 6px 10px 6px 7px; width: auto; }
  .ss-hunt-ico { width: 26px; height: 26px; }
  .ss-hunt-t { display: none; }
  .ss-hunt-n { font-size: 19px; }
  .ss-hunt-n i { font-size: 12px; }
  .ss-off { font-size: 11px; }
  .ss-toasts { bottom: 84px; }
  .ss-book { padding: 0; place-items: stretch; }
  .ss-book-in { border-radius: 0; min-height: 100%; padding: 22px 16px 28px; border: 0; }
  .ss-book header { grid-template-columns: 1fr; padding-right: 40px; }
  .ss-count { text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .ss-count b { font-size: 40px; display: inline; }
  .ss-book-grid { grid-template-columns: 1fr; }
  .ss-slots { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ss-slot { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 12px 8px; gap: 6px; }
  .ss-slot.gold { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; }
  .ss-slot.gold .ss-slot-art { width: 64px; height: 64px; }
  .ss-item { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-bat, .ss-fog, .ss-spiderbtn, .ss-pumpkin, .ss-bat .w, .ss-stars::before, .ss-stars::after, .ss-item, .ss-item::before, .ss-item svg, .ss-spook .w { animation: none !important; }
  .ss-bat:not(.burst) { display: none; }
  .ss-spiderbtn { transform: translateY(0); }
}
@media print { .ss-deco, .ss-hot, .ss-pumpkin, .ss-pill, .ss-item, .ss-toasts, .ss-book, .ss-veil { display: none !important; } }

/* ---------- Leistung: nur noch Animationen, die der Browser auf die Grafikkarte auslagern kann ---------- */
/* Flügelschlag (Animation innerhalb der SVG) erzwang bei jedem Bild ein Layout: Hintergrund-Fledermäuse gleiten jetzt, nur der Schwarm am Kürbis flattert */
.ss-bat:not(.burst) .w { animation: none; }
/* Kürbis-Glimmen: Leucht-Hof mit wechselnder Deckkraft statt animierter Schatten-Unschärfe */
.ss-pumpkin { animation: none; isolation: isolate; filter: drop-shadow(0 0 5px rgba(var(--ss-glow) / .45)); }
.ss-pumpkin::before { content: ""; position: absolute; inset: -9px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--ss-glow) / .6), rgba(var(--ss-glow) / 0)); animation: ss-candle-o 4s ease-in-out infinite; }
@keyframes ss-candle-o { 0%, 100% { opacity: .45; } 40% { opacity: 1; } 55% { opacity: .35; } 70% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .ss-pumpkin::before { animation: none; } }
