/* ==========================================================================
   Willmastreiten – öffentliche Website
   Design: „Episch: Schwarz/Gold/Blutrot“ (SPEC §1)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet) ---------- */
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #0b0806;
  --bg-2: #15100c;
  --bg-3: #1f1711;
  --line: rgba(212, 162, 76, .22);
  --line-strong: rgba(212, 162, 76, .45);
  --gold: #d4a24c;
  --gold-hi: #f3d38a;
  --gold-lo: #8a6428;
  --blood: #9e1b1b;
  --blood-hi: #c7322b;
  --ember: #ff7a2e;
  --text: #efe6d8;
  --muted: #a8988a;
  --blood-text: #e0574d; /* Blutrot für kleine Schrift auf Dunkel (≥ 4,5:1), --blood-hi nur für Flächen/Linien */

  --ok: #86cf5e;
  --warn: #f0b43c;

  --f-head: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 3px;
  --gold-grad: linear-gradient(180deg, #fbe7b0 0%, var(--gold-hi) 22%, var(--gold) 55%, var(--gold-lo) 100%);
  --card-bg: linear-gradient(180deg, rgba(31, 23, 17, .92), rgba(21, 16, 12, .94));
  --shadow-deep: 0 30px 60px -28px rgba(0, 0, 0, .85);
  --mx: 0; --my: 0; --sy: 0;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--f-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
/* feines Korn über allem (Daten-URI, keine externe Ressource) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-hi); text-decoration-color: rgba(243, 211, 138, .4); text-underline-offset: .18em; transition: color .2s, text-decoration-color .2s; }
a:hover { color: #fff3cf; text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.15; letter-spacing: .02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; background: rgba(212, 162, 76, .1); border: 1px solid rgba(212, 162, 76, .18); padding: .05em .4em; border-radius: 3px; color: var(--gold-hi); word-break: break-word; }
b, strong { font-weight: 650; }
[hidden] { display: none !important; }
::selection { background: rgba(199, 50, 43, .55); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: .7em 1.2em; background: var(--gold); color: #1a0f06; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; color: #1a0f06; }

.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; overflow: visible; }
.ic-flip { transform: scaleX(-1); }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

.dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: #5a4d42; flex: none; vertical-align: middle; }
.dot-on { background: var(--ember); box-shadow: 0 0 0 2px rgba(255, 122, 46, .18), 0 0 10px 2px rgba(255, 122, 46, .75); animation: glow-dot 2.2s ease-in-out infinite; }
@keyframes glow-dot { 50% { box-shadow: 0 0 0 4px rgba(255, 122, 46, .08), 0 0 16px 4px rgba(255, 122, 46, .55); } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line-strong);
  --fill: linear-gradient(180deg, rgba(31, 23, 17, .85), rgba(11, 8, 6, .85));
  --cut: 12px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; padding: .75em 1.6em;
  border: 0; background: none;
  font: 700 .9rem/1.1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), filter .3s, color .2s;
}
.btn::before, .btn::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
}
.btn::before { inset: 0; background: var(--b); transition: background .3s; }
.btn::after {
  inset: 1.5px;
  background-image: linear-gradient(110deg, transparent 38%, rgba(255, 248, 225, .28) 50%, transparent 62%), var(--fill);
  background-size: 260% 100%, 100% 100%; background-position: 135% 0, 0 0; background-repeat: no-repeat;
  transition: background-position .8s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn:hover::after { background-position: -35% 0, 0 0; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline-offset: 5px; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-lg { min-height: 54px; padding: .9em 2em; font-size: .95rem; --cut: 15px; }
.btn-sm { min-height: 40px; padding: .6em 1.3em; font-size: .78rem; --cut: 10px; }

.btn-blood { --b: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); --fill: linear-gradient(180deg, #bf2a24 0%, #9e1b1b 55%, #6e1010 100%); color: #fff5e6; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.btn-blood:hover { filter: drop-shadow(0 0 14px rgba(199, 50, 43, .55)); --fill: linear-gradient(180deg, #d63a31 0%, #b0221d 55%, #7d1414 100%); }
.btn-gold { --b: linear-gradient(180deg, #fff1c9, var(--gold-lo)); --fill: linear-gradient(180deg, #f6dc9a 0%, var(--gold) 55%, #9c7230 100%); color: #1c1106; }
.btn-gold:hover { color: #120a03; filter: drop-shadow(0 0 14px rgba(243, 211, 138, .45)); }
.btn-ghost { --b: var(--line-strong); color: var(--gold-hi); }
.btn-ghost:hover { --b: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: #fff3cf; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; filter: grayscale(.4); }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; letter-spacing: .07em; padding-inline: 1.3em; }
  .btn-lg { padding-inline: 1.5em; font-size: .88rem; }
}

/* ---------- Karten-Rahmen (Runen-Ecken) ---------- */
.frame {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(243, 211, 138, .05), var(--shadow-deep);
}
.frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(212, 162, 76, .09); pointer-events: none; }
.frame::after {
  --c: var(--gold); --l: 18px;
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l);
  background-repeat: no-repeat;
  opacity: .8;
}

/* Glanz beim Hover */
.glint {
  background-image: radial-gradient(260px circle at var(--gx, -400px) var(--gy, -400px), rgba(243, 211, 138, .08), transparent 65%), linear-gradient(115deg, transparent 42%, rgba(243, 211, 138, .09) 50%, transparent 58%), var(--card-bg);
  background-size: 100% 100%, 260% 100%, 100% 100%; background-position: 0 0, 135% 0, 0 0; background-repeat: no-repeat;
  transition: background-position 1s var(--ease), transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.glint:hover, .glint:focus-within { background-position: 0 0, -35% 0, 0 0; transform: translateY(-5px); border-color: var(--line-strong); box-shadow: inset 0 1px 0 rgba(243, 211, 138, .08), 0 34px 60px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 162, 76, .08), 0 0 40px -12px rgba(212, 162, 76, .25); }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 124px); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 68px); }
.sec-kicker {
  display: inline-flex; align-items: center; gap: .9em; margin: 0 0 .9rem;
  font: 600 .74rem/1 var(--f-body); letter-spacing: .38em; text-transform: uppercase; color: var(--blood-text);
}
.sec-kicker::before, .sec-kicker::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--blood-hi)); }
.sec-kicker::after { transform: scaleX(-1); }
.sec-kicker-left::before { display: none; }
@media (max-width: 600px) { .sec-kicker { letter-spacing: .28em; } }
.sec-title {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 800; letter-spacing: .05em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(212, 162, 76, .18));
  padding-bottom: .06em;
}
.sec-lead { margin: 1.2rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 640px; }

/* goldene Trennlinie mit Rauten */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.1rem auto 0; width: min(420px, 80%); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 70%, var(--gold-hi)); transform-origin: right; }
.divider::after { background: linear-gradient(270deg, transparent, var(--gold) 70%, var(--gold-hi)); transform-origin: left; }
.divider i { position: relative; width: 11px; height: 11px; transform: rotate(45deg); background: var(--gold-hi); box-shadow: 0 0 12px rgba(243, 211, 138, .6); flex: none; }
.divider i::before, .divider i::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--gold); top: 3px; }
.divider i::before { left: -12px; top: 15px; }
.divider i::after { left: 18px; top: -9px; }
.divider i::before, .divider i::after { box-shadow: 0 0 6px rgba(212, 162, 76, .5); }

.sub-title { display: flex; align-items: center; gap: .6em; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--gold-hi); margin: 0 0 1.4rem; }
.sub-title .ic { color: var(--gold); width: 1.1em; height: 1.1em; }
.sub-title-dim { color: var(--muted); font-size: 1.15rem; }
.sub-title-dim .ic { color: var(--muted); }

.prose p { margin-bottom: 1.05em; }
.empty-inline { color: var(--muted); font-style: italic; }
.prose p:last-child { margin-bottom: 0; }

/* Reveal beim Scrollen */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-instant { transition: none; }
html.noreveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Lade-Platzhalter */
.skeleton-line, .skeleton-card { position: relative; overflow: hidden; background: rgba(212, 162, 76, .06); border-radius: 2px; }
.skeleton-line { height: 1em; margin: .6em 0; list-style: none; }
.skeleton-line.short { width: 60%; }
.skeleton-card { min-height: 150px; border: 1px solid rgba(212, 162, 76, .08); list-style: none; }
.skeleton-line::after, .skeleton-card::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(243, 211, 138, .07), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Leer-/Fehlerzustand */
.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  padding: clamp(28px, 5vw, 48px) 20px; color: var(--muted);
  border: 1px dashed rgba(212, 162, 76, .25); background: radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, .06), transparent 70%);
  grid-column: 1 / -1; list-style: none;
}
.empty .ic { width: 42px; height: 42px; color: var(--gold-lo); margin-bottom: .3rem; }
.empty b { font-family: var(--f-head); color: var(--gold-hi); font-size: 1.15rem; font-weight: 700; letter-spacing: .03em; }
.empty p { margin: 0; max-width: 520px; }
.empty-error { border-color: rgba(199, 50, 43, .4); background: radial-gradient(ellipse at 50% 0%, rgba(158, 27, 27, .12), transparent 70%); }
.empty-error .ic { color: var(--blood-hi); }
.empty .btn { margin-top: .8rem; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); opacity: 0; transition: opacity .4s; }
.nav.is-scrolled { background: rgba(11, 8, 6, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9); }
.nav.is-scrolled::after { opacity: 1; }
.nav-progress { position: absolute; inset: 0 0 auto; height: 2px; overflow: hidden; }
.nav-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blood), var(--ember), var(--gold-hi)); box-shadow: 0 0 10px var(--ember); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 18px; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); flex: none; }
/* Wortmarke „WILLMA STREITEN“ aus dem Gildenbild (264×120 bzw. 528×240) */
.brand img { width: auto; height: 50px; filter: drop-shadow(0 0 7px rgba(199, 50, 43, .3)); transition: transform .4s var(--ease), filter .4s; }
.brand:hover img { transform: scale(1.06) rotate(-1.5deg); filter: drop-shadow(0 0 12px rgba(255, 122, 46, .55)); }
.nav-menu { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; display: block; padding: .55em .8em; text-decoration: none; white-space: nowrap;
  font: 600 .8rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: #d8cbb8;
  transition: color .2s;
}
.nav-links a::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .15em; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--gold-hi); }
/* Menüpunkt „Streamer“ (16.11.2026): roter Punkt, sobald jemand aus der Gilde live ist */
.nav-links .nav-dot { width: .5em; height: .5em; margin-left: .5em; vertical-align: .1em; }
.nav-links .nav-cta { display: inline-flex; align-items: center; gap: .45em; margin-left: .5rem; padding: .7em 1.1em; color: #fff5e6; background: linear-gradient(180deg, #b52520, #7a1212); border: 1px solid rgba(243, 211, 138, .55); box-shadow: 0 0 18px -6px rgba(199, 50, 43, .8); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { color: #fff; background: linear-gradient(180deg, #d0342c, #8f1717); }
.nav-links .nav-cta .ic { width: 1em; height: 1em; }
.nav-menu-foot { display: none; }
.nav-live { display: inline-flex; align-items: center; gap: .5em; padding: .35em .75em; border: 1px solid rgba(255, 122, 46, .35); background: rgba(255, 122, 46, .08); font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: #ffc9a3; border-radius: 99px; white-space: nowrap; flex: none; }
.burger { display: none; }

/* Planer im Hauptmenü: kompakte Abstände auf mittleren Breiten, Burger bis 1080 px. */
@media (min-width: 1081px) and (max-width: 1339px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: .55em .5em; letter-spacing: .07em; font-size: .76rem; }
  .nav-links a::after { left: .5em; right: .5em; }
  .nav-links .nav-cta { margin-left: .3rem; padding: .7em .9em; }
}
@media (min-width: 1081px) and (max-width: 1139px) {
  .nav-links a { padding: .55em .42em; letter-spacing: .05em; font-size: .74rem; }
  .nav-links a::after { left: .42em; right: .42em; }
  .nav-links .nav-cta { padding: .7em .8em; }
}

@media (max-width: 1080px) {
  :root { --nav-h: 64px; }
  .nav-inner { gap: 12px; }
  .nav-live { margin-left: auto; }
  .burger {
    position: relative; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto;
    background: rgba(21, 16, 12, .7); border: 1px solid var(--line-strong); color: var(--gold-hi);
  }
  .nav-live:not([hidden]) ~ .burger { margin-left: 0; }
  .burger-lines { position: relative; width: 22px; height: 16px; }
  .burger-lines i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
  .burger-lines i:nth-child(1) { top: 0; }
  .burger-lines i:nth-child(2) { top: 7px; width: 70%; }
  .burger-lines i:nth-child(3) { top: 14px; }
  .nav.is-open .burger-lines i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .nav.is-open .burger-lines i:nth-child(2) { opacity: 0; }
  .nav.is-open .burger-lines i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .nav-menu {
    position: fixed; inset: 0; z-index: 2; margin: 0;
    display: flex; flex-direction: column; justify-content: safe center; align-items: center; gap: 2rem;
    background:
      radial-gradient(ellipse at 50% 110%, rgba(158, 27, 27, .45), transparent 60%),
      radial-gradient(ellipse at 50% -10%, rgba(212, 162, 76, .12), transparent 55%),
      rgba(11, 8, 6, .97);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
    overflow-y: auto; padding: calc(var(--nav-h) + 10px) 20px 30px;
  }
  .nav.is-open .nav-menu { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav-links { flex-direction: column; gap: 4px; flex-shrink: 0; }
  .nav-links li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
  .nav.is-open .nav-links li { opacity: 1; transform: none; }
  .nav-links a { font-size: 1.35rem; padding: .5em 1em; text-align: center; letter-spacing: .14em; }
  .nav-links .nav-cta { margin: 1rem 0 0; font-size: 1.05rem; padding: .85em 1.6em; }
  .nav-menu-foot { display: block; margin: 0; font: 600 .72rem/1.6 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lo); text-align: center; }
  .brand, .nav-live { position: relative; z-index: 3; }
  .nav.is-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1080px) {
  .brand img { height: 46px; }
}
@media (max-width: 420px) {
  .brand img { height: 42px; }
  .nav-live { padding: .3em .6em; font-size: .7rem; }
}

/* ==========================================================================
   1 · Hero
   ========================================================================== */
.hero {
  --mx: 0; --my: 0; --sy: 0;
  position: relative; min-height: min(100vh, 1200px); min-height: min(100svh, 1200px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 110px;
  overflow: hidden; isolation: isolate; text-align: center;
}
/* Hintergrund oben verankert und so hoch wie der Bildschirm: Wächst der Hero (kleine Bildschirme, Countdown
   kommt dazu), bleiben Bergkämme & Co. stehen statt mitzurutschen (kein Layout-Sprung). Darunter geht der
   vorderste Kamm (Farbe --bg) nahtlos in den Seitengrund über. */
.hero-bg { position: absolute; inset: 0 0 auto; height: min(100vh, 1200px); height: min(100svh, 1200px); z-index: -1; pointer-events: none; }
/* Endlos-Animationen in Abschnitten außerhalb des Bildes anhalten (fx.js pauseOffscreen) */
.is-away *, .is-away *::before, .is-away *::after { animation-play-state: paused !important; }
.hero-bg > * { position: absolute; inset: 0; }
.hero-img { background-position: center 30%; background-size: cover; opacity: 0; transition: opacity 2.2s ease; transform: scale(1.06) translate3d(calc(var(--mx) * -6px), calc(var(--my) * -4px), 0); }
.hero-img.is-loaded { opacity: .92; }        /* gemaltes Bild (Codex, 02.11.2026) */
.hero-sky {
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(212, 162, 76, .14), transparent 70%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(158, 27, 27, .55), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 92%, rgba(255, 122, 46, .35), transparent 70%),
    linear-gradient(180deg, #070504 0%, #120b08 45%, #2a0f0b 78%, #3a130c 100%);
}
.hero-img.is-loaded + .hero-sky { opacity: .35; }
.hero-smoke { opacity: .5; mix-blend-mode: screen; }
.hero-smoke-1 { background: radial-gradient(ellipse 40% 18% at 30% 70%, rgba(160, 120, 90, .16), transparent 70%), radial-gradient(ellipse 35% 14% at 75% 62%, rgba(160, 120, 90, .12), transparent 70%); animation: drift 38s ease-in-out infinite alternate; }
.hero-smoke-2 { background: radial-gradient(ellipse 50% 20% at 60% 80%, rgba(120, 70, 50, .2), transparent 70%), radial-gradient(ellipse 30% 12% at 15% 55%, rgba(150, 110, 80, .1), transparent 70%); animation: drift 52s ease-in-out -12s infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-6%, 0, 0); } to { transform: translate3d(6%, -2%, 0); } }
.hero-ridge { top: auto !important; height: 46%; width: 100%; }
.hero-ridge-back { fill: #1f100b; opacity: .95; transform: translate3d(calc(var(--mx) * -8px), calc(var(--sy) * 40px), 0); }   /* nur noch 404-Seite */
.hero-ridge-front { fill: var(--bg); height: 30%; transform: translate3d(calc(var(--mx) * -26px), 0, 0); left: -2% !important; width: 104%; }
.hero-horizon { top: auto !important; height: 30%; background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(255, 122, 46, .16), transparent 70%); mix-blend-mode: screen; animation: flicker 6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: .8; } 30% { opacity: 1; } 55% { opacity: .7; } 75% { opacity: .95; } }
.embers { width: 100%; height: 100%; }
.hero-vignette { background: linear-gradient(180deg, rgba(11, 8, 6, .55) 0%, transparent 18%, transparent 78%, var(--bg) 100%), radial-gradient(ellipse 85% 75% at 50% 42%, transparent 55%, rgba(0, 0, 0, .55) 100%); }

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; transform: translate3d(0, calc(var(--sy) * 110px), 0); opacity: calc(1 - var(--sy) * 1.15); will-change: transform, opacity; }
/* Bis die Gildendaten da sind (main.js setzt .hero-ready, spätestens nach 0,9 s), wartet der Auftritt
   unsichtbar – Countdown, MOTD und Discord-Knopf lassen den zentrierten Inhalt sonst springen (CLS). */
.js:not(.hero-ready) .hero-inner { opacity: 0; }
.js:not(.hero-ready) .hero-inner, .js:not(.hero-ready) .hero-inner * { animation-play-state: paused !important; }

/* Wappen = Gildenlogo v2 (932×850, Äxte + Schild, transparent; tools/make_logo_v2.py; enthält den Schriftzug,
   der Seitentitel steht deshalb nur unsichtbar als h1 daneben). --eh = Höhe des Wappens: so groß, wie der
   Bildschirm neben Kicker, Slogan, Knöpfen und Countdown hergibt (alles bleibt über der Falz). */
.crest-stage {
  --vh: 100vh;
  --eh: clamp(240px, calc(var(--vh) - 600px), 560px);
  position: relative; width: min(92vw, 620px, calc(var(--eh) * 1.096)); aspect-ratio: 932 / 850;
  margin: 0 0 clamp(2px, .8vh, 10px);
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 12px), 0) rotateX(calc(var(--my) * -5deg)) rotateY(calc(var(--mx) * 7deg));
  animation: crest-in 1.6s var(--ease-out) both;
}
@supports (height: 100svh) { .crest-stage { --vh: 100svh; } }
/* Start-Deckkraft .01 statt 0: so gilt das Wappen beim Aufdecken gleich als sichtbar (LCP). */
@keyframes crest-in { from { opacity: .01; transform: scale(.86) translateY(22px); filter: blur(6px); } }
/* Glut hinter dem Wappen: breit hinter dem Schriftzug, heller Kern hinter dem Stachelschild */
.crest-aura {
  position: absolute; inset: -14% -12% -6%; border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 30%, rgba(255, 150, 60, .34), rgba(199, 50, 43, .16) 55%, transparent),
    radial-gradient(closest-side at 50% 58%, rgba(199, 50, 43, .3), rgba(158, 27, 27, .12) 60%, transparent);
  animation: aura 5s ease-in-out infinite;
}
@keyframes aura { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
/* Runenring als Heiligenschein um den Stachelschild (Mitte bei 50 % / 28 % des Bildes) */
.crest-ring { position: absolute; left: 22.3%; top: -3%; width: 56%; height: auto; aspect-ratio: 1; max-width: none; opacity: .7; transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px), 0); }
.crest-ring .ring-a, .crest-ring .ring-b { transform-box: fill-box; transform-origin: center; }
.crest-ring .ring-a { animation: spin 140s linear infinite; }
.crest-ring .ring-b { animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
/* nur senkrecht schweben: Drehen würde das gemalte Bild bei jedem Bild neu abtasten (wirkt weich) */
.crest-float { position: absolute; inset: 0; animation: float-y 7s ease-in-out infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes float { 0%, 100% { transform: translateY(-6px) rotate(-.6deg); } 50% { transform: translateY(8px) rotate(.6deg); } }
.crest { width: 100%; height: 100%; filter: drop-shadow(0 0 22px rgba(255, 96, 40, .2)); }

.hero-kicker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5em .9em; margin: 0 0 clamp(.2rem, 1vh, .7rem); font: 600 .74rem/1 var(--f-body); letter-spacing: .34em; text-transform: uppercase; color: #d9b98a; animation: rise 1s var(--ease-out) .35s both; }
.hero-kicker + .crest-stage { margin-top: clamp(14px, 2.6vh, 30px); }
.hero-kicker i { width: 5px; height: 5px; background: var(--blood-hi); transform: rotate(45deg); }
.hero-tagline { display: flex; align-items: center; gap: .7em; margin: clamp(.1rem, .8vh, .6rem) 0 .5rem; font: 700 clamp(1.2rem, 2.6vw, 1.75rem)/1.2 var(--f-head); letter-spacing: .16em; color: var(--blood-hi); text-shadow: 0 0 22px rgba(199, 50, 43, .55), 0 2px 0 rgba(0, 0, 0, .8); animation: rise 1s var(--ease-out) .55s both; }
.hero-tagline .ic { width: 1.1em; height: 1.1em; color: var(--gold); filter: drop-shadow(0 0 6px rgba(212, 162, 76, .5)); }
.hero-sub { max-width: 560px; margin: 0 0 clamp(1.1rem, 2.6vh, 2rem); color: #d7c8b3; font-size: clamp(1rem, 1.7vw, 1.15rem); animation: rise 1s var(--ease-out) .7s both; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: rise 1s var(--ease-out) .85s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-count, .hero-motd { margin-top: clamp(1.1rem, 3vh, 2.4rem); animation: rise 1s var(--ease-out) 1s both; }
.hero-count-label { margin: 0 0 .7rem; font: 600 .74rem/1 var(--f-body); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.cd { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.4vw, 14px); }
.cd-cell {
  position: relative; min-width: clamp(62px, 9vw, 88px); padding: .6rem .4rem .5rem;
  background: linear-gradient(180deg, rgba(31, 23, 17, .85), rgba(11, 8, 6, .85));
  border: 1px solid var(--line-strong);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
.cd-cell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243, 211, 138, .08), transparent 50%); pointer-events: none; }
.cd-num { display: block; font: 800 clamp(1.6rem, min(4vw, 5vh), 2.7rem)/1 var(--f-head); font-variant-numeric: tabular-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-unit { display: block; margin-top: .35rem; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cd-sep { width: 6px; height: 6px; background: var(--blood-hi); transform: rotate(45deg); box-shadow: 0 0 10px rgba(199, 50, 43, .8); }
.hero-count-date { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }
.hero-count.is-done .cd { display: none; }
.hero-count.is-done .hero-count-label { font: 800 clamp(1.3rem, 3vw, 2rem)/1.2 var(--f-head); letter-spacing: .08em; text-transform: none; color: var(--gold-hi); }
.hero-motd { display: flex; align-items: center; gap: .9rem; max-width: 640px; padding: .9rem 1.4rem; text-align: left; background: linear-gradient(90deg, rgba(158, 27, 27, .2), rgba(21, 16, 12, .8) 30%, rgba(21, 16, 12, .8) 70%, rgba(158, 27, 27, .2)); border-block: 1px solid var(--line-strong); }
.hero-motd .ic { width: 30px; height: 30px; color: var(--gold); }
.hero-motd p { margin: 0; }
.hero-motd-label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .55rem; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: calc(1 - var(--sy) * 4); animation: rise 1s var(--ease-out) 1.4s both; }
.scroll-hint i { position: relative; width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px; }
.scroll-hint i::before { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }
.scroll-hint:hover { color: var(--gold-hi); }

@media (max-height: 760px) and (max-width: 699px) { .scroll-hint { display: none; } .hero { padding-bottom: 48px; } }
@media (max-height: 940px) and (min-width: 700px) {
  .crest-stage { --eh: clamp(220px, calc(var(--vh) - 530px), 460px); }
  .scroll-hint { display: none; }
  .hero { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 96px; }
  .crest-stage { --eh: clamp(190px, calc(var(--vh) - 590px), 360px); width: min(88vw, calc(var(--eh) * 1.096)); }
  .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 360px); }
  .hero-cta .btn { min-height: 48px; padding-inline: .8em; font-size: .8rem; }
  .hero-cta .btn-blood { grid-column: 1 / -1; min-height: 54px; font-size: .9rem; }
  .hero-cta #hero-discord[hidden] + .btn-gold { grid-column: 1 / -1; }
  .hero-kicker { letter-spacing: .24em; font-size: .66rem; }
  .hero-tagline { letter-spacing: .1em; }
  .cd-sep { display: none; }
  .cd-unit { letter-spacing: .1em; font-size: .6rem; }
  .hero-ridge { height: 34%; }
}

/* ==========================================================================
   1b · Gildenbanner (Key-Art unter dem Hero)
   ========================================================================== */
/* --bp: Lage des Banners zur Bildmitte (-1 … 1), --bpa: Betrag davon – setzt fx.js gildenBanner() */
.banner-sec {
  --bp: 0; --bpa: 0;
  position: relative; isolation: isolate;
  padding-block: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 56px);
  overflow-x: clip; /* Schein darf nach oben/unten ausbluten, aber keinen Quer-Scroll erzeugen */
}
.banner-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 62% 48% at 50% 46%, rgba(110, 16, 16, .3), transparent 72%); }
.gb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.gbanner { margin: 0 auto; width: min(100%, 960px, max(540px, calc(100vh - var(--nav-h) - 110px))); width: min(100%, 960px, max(540px, calc(100svh - var(--nav-h) - 110px))); }
.gbanner-stage { position: relative; isolation: isolate; }

/* Glut-/Blutrot-Schein hinter dem Rahmen: Schatten einer Fläche knapp innerhalb des Rahmens
   (folgt der eckigen Form), dazu Glut von unten. Animiert werden nur transform/opacity. */
.gbanner-glow {
  position: absolute; inset: 5%; z-index: -1; pointer-events: none; border-radius: 10%;
  box-shadow: 0 0 70px 18px rgba(199, 50, 43, .42), 0 0 160px 50px rgba(158, 27, 27, .3), 0 60px 140px 20px rgba(255, 122, 46, .16);
  opacity: calc(1 - var(--bpa) * .5);
  animation: gb-breathe 7s ease-in-out infinite;
}
.gbanner-glow::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -26%; height: 46%; background: radial-gradient(closest-side, rgba(255, 122, 46, .26), rgba(199, 50, 43, .1) 55%, transparent); }
@keyframes gb-breathe { 0%, 100% { transform: scale(.97); } 50% { transform: scale(1.045); } }

/* aufsteigende Funken */
.gbanner-sparks { position: absolute; inset: 0 -4%; z-index: 3; pointer-events: none; container-type: size; }
.gbanner-sparks i { position: absolute; bottom: 4%; width: 3px; height: 3px; border-radius: 50%; background: #ffc27a; box-shadow: 0 0 6px 2px rgba(255, 122, 46, .75); opacity: 0; animation: gb-spark 8s linear infinite; }
.gbanner-sparks i:nth-child(1) { left: 3%; animation-delay: 0s; }
.gbanner-sparks i:nth-child(2) { left: 11%; animation-delay: 3.1s; animation-duration: 9.5s; }
.gbanner-sparks i:nth-child(3) { left: 22%; animation-delay: 5.6s; animation-duration: 7.5s; }
.gbanner-sparks i:nth-child(4) { left: 34%; animation-delay: 1.4s; animation-duration: 10s; }
.gbanner-sparks i:nth-child(5) { left: 47%; animation-delay: 6.8s; }
.gbanner-sparks i:nth-child(6) { left: 58%; animation-delay: 2.3s; animation-duration: 9s; }
.gbanner-sparks i:nth-child(7) { left: 69%; animation-delay: 4.4s; animation-duration: 8.5s; }
.gbanner-sparks i:nth-child(8) { left: 80%; animation-delay: .7s; animation-duration: 10.5s; }
.gbanner-sparks i:nth-child(9) { left: 90%; animation-delay: 5s; }
.gbanner-sparks i:nth-child(10) { left: 97%; animation-delay: 2.9s; animation-duration: 9s; }
.gbanner-sparks i:nth-child(3n) { width: 4px; height: 4px; }
@keyframes gb-spark {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  8% { opacity: .95; }
  60% { opacity: .6; }
  100% { transform: translate(26px, -68cqh) scale(.4); opacity: 0; }
}

/* Goldrahmen */
.gbanner-frame {
  --gc: clamp(54px, 7vw, 92px);
  position: relative; padding: clamp(7px, 1.1vw, 13px);
  background: linear-gradient(160deg, #2c1d10, #0f0a06 42%, #1b1109 70%, #2a1b0e);
  box-shadow: 0 0 0 1px #050302, 0 50px 90px -42px rgba(0, 0, 0, .95), 0 0 64px -18px rgba(199, 50, 43, .5);
  translate: 0 calc(var(--bp) * -18px);
  scale: calc(1 - var(--bpa) * .05);
  transition: box-shadow .7s var(--ease);
}
/* Goldkante als Verlauf (Maske schneidet die Mitte aus) */
.gbanner-frame::before {
  content: ""; position: absolute; inset: 0; padding: 2px; pointer-events: none;
  background: linear-gradient(135deg, #fbe7b0, #8a6428 24%, #e2b764 48%, #7a5522 72%, #f3d38a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.gbanner-frame::after { content: ""; position: absolute; inset: clamp(4px, .55vw, 7px); border: 1px solid rgba(212, 162, 76, .3); pointer-events: none; }

.gbanner-pic { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1; background: #1a0c08; box-shadow: 0 0 0 1px rgba(243, 211, 138, .45), 0 0 0 3px rgba(0, 0, 0, .7); }
.gbanner-pic picture, .gbanner-img { display: block; width: 100%; height: 100%; }
.gbanner-img { object-fit: cover; translate: 0 calc(var(--bp) * -3%); scale: 1.07; transition: scale 1.4s var(--ease), filter .8s var(--ease); }
/* Innenschatten über dem Bild (Kanten abdunkeln wie hinter Glas) */
.gbanner-pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .6); }

/* Licht, das der Maus folgt + Glanz-Streifen */
.gbanner-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(38% 38% at var(--gx, 50%) var(--gy, 40%), rgba(255, 206, 140, .2), transparent 70%); transition: opacity .6s; }
.gbanner-sheen { position: absolute; inset: -12%; z-index: 1; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 38%, rgba(255, 238, 200, .05) 44%, rgba(255, 238, 200, .28) 49.5%, rgba(255, 255, 255, .1) 52%, transparent 60%); translate: -115% 0; transition: translate 1.5s var(--ease); }
.gbanner.is-in .gbanner-sheen { animation: gb-sweep 2.2s var(--ease) .5s 1 both; }
@keyframes gb-sweep { from { translate: -115% 0; } to { translate: 115% 0; } }

.gbanner-stage:hover .gbanner-frame { box-shadow: 0 0 0 1px #050302, 0 50px 90px -42px rgba(0, 0, 0, .95), 0 0 90px -14px rgba(255, 122, 46, .55); }
.gbanner-stage:hover .gbanner-img { scale: 1.1; filter: saturate(1.08) brightness(1.05); }
.gbanner-stage:hover .gbanner-light { opacity: 1; }
.gbanner-stage:hover .gbanner-sheen { translate: 115% 0; animation: none; }

/* Runen-Ecken + Edelsteine */
.gb-corner { position: absolute; z-index: 2; width: var(--gc); height: var(--gc); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .85)) drop-shadow(0 0 8px rgba(243, 211, 138, .22)); }
.gb-tl { top: calc(var(--gc) * -.2); left: calc(var(--gc) * -.2); }
.gb-tr { top: calc(var(--gc) * -.2); right: calc(var(--gc) * -.2); transform: scaleX(-1); }
.gb-bl { bottom: calc(var(--gc) * -.2); left: calc(var(--gc) * -.2); transform: scaleY(-1); }
.gb-br { bottom: calc(var(--gc) * -.2); right: calc(var(--gc) * -.2); transform: scale(-1); }
.gb-gem { position: absolute; left: 50%; z-index: 2; width: 16px; height: 16px; margin-left: -8px; rotate: 45deg; background: radial-gradient(circle at 35% 35%, #ff9a7a, #c7322b 38%, #6e1010 75%); border: 2px solid #e2b764; box-shadow: 0 0 0 1px #1a0f08, 0 0 12px rgba(255, 90, 50, .7); }
.gb-gem-t { top: -9px; }
.gb-gem-b { bottom: -9px; }

/* Bildunterschrift */
.gbanner-cap { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: clamp(24px, 3.2vw, 38px); text-align: center; }
.gbanner-kicker { display: inline-flex; align-items: center; gap: .9em; font: 700 .74rem/1 var(--f-body); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.gbanner-kicker::before, .gbanner-kicker::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--blood-hi)); }
.gbanner-kicker::after { transform: scaleX(-1); }
.gbanner-line { max-width: 58ch; text-wrap: balance; font: 600 clamp(1.02rem, 1.8vw, 1.28rem)/1.45 var(--f-head); letter-spacing: .02em; color: #eadfca; }

@media (max-width: 600px) {
  .banner-sec .wrap { width: calc(100% - 28px); } /* fast volle Breite; Runen-Ecken ragen ~9 px über den Rahmen */
  .banner-sec { padding-block: 16px 20px; }
  .gbanner-frame { --gc: 46px; padding: 6px; }
  .gb-gem { width: 12px; height: 12px; margin-left: -6px; }
  .gb-gem-t { top: -7px; }
  .gb-gem-b { bottom: -7px; }
  .gbanner-kicker { letter-spacing: .24em; font-size: .68rem; }
  .gbanner-kicker::before, .gbanner-kicker::after { width: 24px; }
}

/* ==========================================================================
   2 · Wer wir sind
   ========================================================================== */
.section-gilde { background: radial-gradient(ellipse 60% 40% at 50% 28%, rgba(158, 27, 27, .1), transparent 70%); }
.gilde-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-text { font-size: clamp(1.02rem, 1.5vw, 1.13rem); line-height: 1.75; color: #e6dccc; }
.about-text > p:first-child::first-letter {
  float: left; margin: .06em .12em 0 0; font: 900 3.9em/.8 var(--f-head);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(212, 162, 76, .35));
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.badge { display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em; font-size: .8rem; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--line-strong); background: rgba(21, 16, 12, .8); color: var(--gold-hi); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-inline: 1.2em; }
.badge .ic { width: 1.05em; height: 1.05em; }
.badge-horde { background: linear-gradient(90deg, rgba(158, 27, 27, .7), rgba(110, 16, 16, .6)); color: #fff0dc; border-color: rgba(243, 211, 138, .5); }
.badge-dim { color: var(--muted); }

.facts { padding: clamp(22px, 3vw, 32px); }
.facts-title { display: flex; align-items: center; gap: .55em; font-size: 1.3rem; color: var(--gold-hi); margin-bottom: 1.1rem; }
.facts-title .ic { color: var(--gold); }
.facts-list { margin: 0; }
.facts-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(212, 162, 76, .12); }
.facts-list dt { color: var(--muted); font-size: .88rem; }
.facts-list dd { margin: 0; font-weight: 600; text-align: right; }
.facts-note { margin: .8rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.facts-note[hidden] { display: none; }
.facts-times { margin-top: 1.2rem; }
.facts-times-label { display: flex; align-items: center; gap: .5em; margin: 0 0 .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.facts-times-label .ic { width: 1.1em; height: 1.1em; }
.facts-times-text { margin: 0; color: #e0d5c4; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(48px, 7vw, 80px); }
.value { position: relative; padding: 30px 26px 26px; overflow: hidden; }
.value-ic { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.1rem; color: var(--gold-hi); }
.value-ic::before { content: ""; position: absolute; inset: 6px; transform: rotate(45deg); border: 1px solid var(--line-strong); background: radial-gradient(circle, rgba(199, 50, 43, .35), rgba(21, 16, 12, .9) 70%); transition: transform .6s var(--ease), border-color .4s; }
.value-ic .ic { position: relative; width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(243, 211, 138, .4)); }
.value:hover .value-ic::before { transform: rotate(135deg); border-color: var(--gold); }
.value h3 { font-size: 1.18rem; color: var(--gold-hi); margin-bottom: .55rem; }
.value p { margin: 0; color: var(--muted); font-size: .96rem; }
.value-num { position: absolute; right: 18px; top: 10px; font: 900 3.4rem/1 var(--f-head); color: rgba(212, 162, 76, .06); pointer-events: none; }

.leaders-block { margin-top: clamp(48px, 7vw, 80px); }
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.leader { --cc: var(--gold); position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); overflow: hidden; }
.leader::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cc); box-shadow: 0 0 14px var(--cc); }
.leader-ic { display: grid; place-items: center; width: 44px; height: 44px; margin: 4px; flex: none; color: var(--cc); border: 1px solid color-mix(in srgb, var(--cc) 55%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--cc) 20%, transparent), rgba(11, 8, 6, .8) 75%); transform: rotate(45deg); box-shadow: 0 0 18px -6px var(--cc); transition: transform .6s var(--ease); }
.leader-ic .ic { width: 24px; height: 24px; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.leader:hover .leader-ic { transform: rotate(135deg); }
.leader:hover .leader-ic .ic { transform: rotate(-135deg); }
.leader-name { font: 700 1.1rem/1.2 var(--f-head); color: var(--cc-text, var(--cc)); margin: 0; word-break: break-word; }
.leader > div { min-width: 0; }
.leader-role { display: flex; align-items: center; flex-wrap: wrap; gap: .4em; margin: .3rem 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; color: var(--gold); }
.leader-role .ic { width: 1.1em; height: 1.1em; }

@media (max-width: 860px) {
  .gilde-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   3 · Zahlen-Band
   ========================================================================== */
.band { position: relative; padding-block: clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; border-block: 1px solid var(--line); }
.band-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 120% at 0% 50%, rgba(158, 27, 27, .35), transparent 60%),
  radial-gradient(ellipse 60% 120% at 100% 50%, rgba(158, 27, 27, .3), transparent 60%),
  repeating-linear-gradient(135deg, rgba(212, 162, 76, .035) 0 2px, transparent 2px 14px),
  linear-gradient(180deg, #120c09, #1a100c 50%, #120c09); }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 8px; }
.stat + .stat::before { content: ""; position: absolute; left: -6px; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong), transparent); }
.stat-ic { width: 30px; height: 30px; color: var(--blood-hi); margin-bottom: .7rem; filter: drop-shadow(0 0 10px rgba(199, 50, 43, .6)); }
.stat-num { font: 800 clamp(2.2rem, 5vw, 3.6rem)/1 var(--f-head); font-variant-numeric: tabular-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(212, 162, 76, .25)); }
.stat-label { margin-top: .6rem; font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #d9c9b1; }
.stat-note { margin-top: .35rem; font-size: .8rem; color: var(--muted); min-height: 1.3em; }

.classdist { margin-top: clamp(34px, 5vw, 52px); }
.classdist-title { margin: 0 0 .8rem; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.classbar { position: relative; display: flex; height: 20px; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); background: rgba(11, 8, 6, .8); }
.classbar-empty { flex: 1; background: repeating-linear-gradient(90deg, rgba(212, 162, 76, .08) 0 10px, transparent 10px 20px); }
.seg { --cc: var(--gold); position: relative; flex: var(--n, 1) 1 0; min-width: 6px; border: 0; padding: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 100%, #fff 18%), var(--cc) 45%, color-mix(in srgb, var(--cc) 70%, #000)); transform-origin: left; transition: filter .2s, transform .2s; }
.js .classdist:not(.is-in) .seg { transform: scaleX(0); }
.classdist.is-in .seg { transform: scaleX(1); transition: transform 1.1s var(--ease-out) calc(var(--i, 0) * 70ms), filter .2s; }
.seg:hover, .seg:focus-visible { filter: brightness(1.25) drop-shadow(0 0 8px var(--cc)); z-index: 2; }
.seg .tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  padding: .45em .8em; white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--text);
  background: #1c140f; border: 1px solid var(--cc); box-shadow: 0 8px 20px rgba(0, 0, 0, .6); transition: opacity .2s, transform .2s;
}
.seg .tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -4px 0 0 -4px; transform: rotate(45deg); background: #1c140f; border: solid var(--cc); border-width: 0 1px 1px 0; }
.seg .tip b { color: var(--cc-text, var(--cc)); }
.seg:hover .tip, .seg:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
/* Randsegmente: Tooltip nach innen ausrichten, damit er auf schmalen Bildschirmen nicht abgeschnitten wird */
.seg:nth-child(-n+2) .tip { left: 0; transform: translate(0, 6px); }
.seg:nth-last-child(-n+2) .tip { left: auto; right: 0; transform: translate(0, 6px); }
.seg:nth-child(-n+2):hover .tip, .seg:nth-child(-n+2):focus-visible .tip, .seg:nth-last-child(-n+2):hover .tip, .seg:nth-last-child(-n+2):focus-visible .tip { transform: none; }
.seg:nth-child(-n+2) .tip::after { left: 14px; }
.seg:nth-last-child(-n+2) .tip::after { left: auto; right: 10px; }
.classlegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.classlegend li { display: inline-flex; align-items: center; gap: .4em; }
.classlegend .ic { width: 1.1em; height: 1.1em; color: var(--cc); }
.classlegend b { color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat:nth-child(3)::before { display: none; }
}

/* ==========================================================================
   4 · Termine
   ========================================================================== */
.section-termine { background: linear-gradient(180deg, var(--bg), #0e0a07 50%, var(--bg)); }
.events-tools { display: flex; justify-content: center; margin: -20px 0 36px; }
.timeline { position: relative; display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 121px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, transparent, var(--gold-lo) 8%, var(--gold-lo) 92%, transparent); opacity: .6; }
.timeline > .empty { margin-left: 0; }
.ev { --ev: var(--gold); position: relative; display: grid; grid-template-columns: 96px 50px minmax(0, 1fr); align-items: start; }
.ev-date { text-align: center; padding-top: 6px; }
.ev-wd { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ev-day { display: block; font: 800 3rem/1 var(--f-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-mon { display: block; font: 700 .9rem/1.1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ev-time { display: block; margin-top: .3rem; font-size: .8rem; color: var(--text); font-variant-numeric: tabular-nums; }
.ev-node { position: relative; justify-self: center; display: grid; place-items: center; width: 42px; height: 42px; margin-top: 12px; color: var(--ev); background: var(--bg); border: 1px solid var(--ev); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--bg), 0 0 18px -4px var(--ev); z-index: 1; }
.ev-node .ic { width: 20px; height: 20px; transform: rotate(-45deg); }
.ev.is-next .ev-node { animation: node-pulse 2.4s ease-in-out infinite; background: color-mix(in srgb, var(--ev) 18%, var(--bg)); }
@keyframes node-pulse { 50% { box-shadow: 0 0 0 5px var(--bg), 0 0 30px 2px var(--ev); } }
.ev-card { padding: 22px 24px 18px; margin-left: 10px; }
.ev.is-next .ev-card { border-color: color-mix(in srgb, var(--ev) 55%, transparent); }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: .6rem; }
.chip-type { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ev); border: 1px solid color-mix(in srgb, var(--ev) 45%, transparent); background: color-mix(in srgb, var(--ev) 10%, transparent); }
.chip-type .ic { width: 1.1em; height: 1.1em; }
.ev-rel { font-size: .82rem; font-weight: 600; color: var(--gold-hi); }
.ev-next-badge { display: inline-flex; align-items: center; gap: .45em; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.ev-title { font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--text); margin-bottom: .55rem; word-break: break-word; }
.ev-info { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: .9rem; color: var(--muted); }
.ev-info > span { display: inline-flex; align-items: flex-start; gap: .45em; }
.ev-info .ic { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--gold-lo); }
.ev-info b { color: var(--text); font-weight: 600; }
.ev-desc { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(212, 162, 76, .12); color: #ddd2c1; }
.ev-desc-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ev-desc-wrap > div { overflow: hidden; }
.ev.is-open .ev-desc-wrap { grid-template-rows: 1fr; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 1rem; }
.link-btn { display: inline-flex; align-items: center; gap: .45em; padding: .35em 0; border: 0; background: none; font-size: .84rem; font-weight: 600; color: var(--gold-hi); letter-spacing: .02em; }
.link-btn .ic { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-btn:hover { color: #fff3cf; }
.link-btn[aria-expanded="true"] .ic-arrow { transform: rotate(90deg); }
.link-btn .ic-arrow { transform: rotate(0); }

.events-past { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; }
.past-list { display: grid; gap: 8px; }
/* gedimmt über Farbe statt opacity – die Schrift bleibt lesbar (≥ 4,5:1) */
.past { --ev: var(--muted); display: grid; grid-template-columns: 110px 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(212, 162, 76, .08); background: rgba(21, 16, 12, .35); color: var(--muted); transition: background .3s, border-color .3s; }
.past:hover { background: rgba(21, 16, 12, .6); border-color: rgba(212, 162, 76, .16); }
.past .ic { width: 20px; height: 20px; color: var(--ev); opacity: .6; filter: saturate(.4); transition: opacity .3s, filter .3s; }
.past:hover .ic { opacity: 1; filter: none; }
.past-date { font-size: .82rem; font-variant-numeric: tabular-nums; }
.past-title { color: #cfc4b4; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.past-rel { font-size: .8rem; }

@media (max-width: 700px) {
  .timeline::before { left: 20px; }
  .ev { grid-template-columns: 42px minmax(0, 1fr); gap: 0 12px; }
  .ev-date { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: .45em; text-align: left; padding: 0 0 8px 10px; flex-wrap: wrap; }
  .ev-day { font-size: 1.9rem; }
  .ev-time { margin: 0 0 0 .3em; }
  .ev-node { grid-column: 1; grid-row: 1 / span 2; margin-top: 4px; width: 34px; height: 34px; }
  .ev-card { grid-column: 2; margin-left: 0; padding: 18px 18px 14px; }
  .past { grid-template-columns: 24px minmax(0, 1fr); }
  .past .past-date { grid-column: 2; grid-row: 2; }
  .past .past-rel { display: none; }
}

/* ==========================================================================
   5 · Ruhmeshalle
   ========================================================================== */
.section-ruhm { overflow: hidden; }
.ruhm-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 40% 35% at 50% 18%, rgba(243, 211, 138, .1), transparent 70%),
  conic-gradient(from 180deg at 50% -10%, transparent 0deg, rgba(243, 211, 138, .05) 8deg, transparent 16deg, transparent 344deg, rgba(243, 211, 138, .05) 352deg, transparent 360deg); }
.medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); align-items: end; max-width: 1040px; margin: 0 auto; }
.medal { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px 36px; }
/* Wimpel mit Spitze: Fläche (::before) und Rand (::after) getrennt. 16.11.2026 (René: „ist da noch was darunter?“): Ein
   border am beschnittenen Kasten verschwand an den Schrägen – übrig blieb nur ein Pünktchen an der Spitze, das wie ein
   abgeschnittener Inhalt aussah. Jetzt läuft der Goldrand als Ring (evenodd) rundherum, auch die Schrägen entlang. */
.medal::before, .medal::after { content: ""; position: absolute; inset: 70px 0 0; z-index: -1; pointer-events: none; }
.medal::before { background: linear-gradient(180deg, rgba(31, 23, 17, .7), rgba(21, 16, 12, .9)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px)); }
.medal::after { background: var(--line); transition: background-color .4s; clip-path: polygon(evenodd,
  0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px), 0 0,
  1px 1px, 1px calc(100% - 23px), 50% calc(100% - 1px), calc(100% - 1px) calc(100% - 23px), calc(100% - 1px) 1px, 1px 1px); }
.medal-disc {
  position: relative; display: grid; place-items: center; width: 140px; height: 140px; margin-bottom: 1.2rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c6 0%, var(--gold-hi) 18%, var(--gold) 45%, var(--gold-lo) 80%, #5c3f15 100%);
  box-shadow: inset 0 0 0 6px rgba(92, 63, 21, .55), inset 0 0 0 9px rgba(243, 211, 138, .7), inset 0 -10px 18px rgba(60, 35, 10, .6), 0 14px 30px -8px rgba(0, 0, 0, .9), 0 0 40px -6px rgba(212, 162, 76, .4);
  transition: transform .8s var(--ease);
}
.medal-disc::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 1px dashed rgba(92, 63, 21, .7); }
.medal-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); background-size: 250% 100%; background-position: 150% 0; animation: medal-shine 6s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes medal-shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -60% 0; } }
.medal-disc .ic { width: 58px; height: 58px; color: #4a2f0c; filter: drop-shadow(0 1px 0 rgba(255, 240, 200, .6)); }
.medal-ribbon { position: absolute; top: -34px; left: 50%; width: 64px; height: 44px; margin-left: -32px; z-index: -1; background: linear-gradient(90deg, #7a1212 0 33%, #b52520 33% 66%, #7a1212 66%); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.medal:hover .medal-disc { transform: rotateY(360deg); }
.medal:hover::after { background: var(--line-strong); }
.medal-main .medal-disc { width: 170px; height: 170px; }
.medal-main .medal-disc .ic { width: 70px; height: 70px; }
.medal-main::before { inset: 84px 0 0; background: linear-gradient(180deg, rgba(60, 20, 14, .6), rgba(21, 16, 12, .95)); }
.medal-main::after { inset: 84px 0 0; background: var(--line-strong); }
.medal-title { font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-family: var(--f-body); }
.medal-val { margin: .3rem 0 .2rem; font: 800 clamp(2.4rem, 4.6vw, 3.4rem)/1.05 var(--f-head); font-variant-numeric: tabular-nums; color: var(--text); text-shadow: 0 0 24px rgba(243, 211, 138, .25); }
.medal-who { margin: 0; font: 700 1.15rem/1.3 var(--f-head); color: var(--cc-text, var(--gold-hi)); word-break: break-word; }
.medal-date { margin: .2rem 0 0; font-size: .82rem; color: var(--muted); }
.medal-alltime { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: .8rem 0 0; padding: .5em 1em .55em; border: 1px solid rgba(212, 162, 76, .28); background: rgba(11, 8, 6, .55); color: var(--muted); }
.medal-alltime[hidden] { display: none; }
.medal-alltime-lbl { display: inline-flex; align-items: center; gap: .4em; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.medal-alltime-lbl .ic { flex: none; width: 13px; height: 13px; color: var(--gold-hi); }
.medal-alltime-val { display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: .45em; }
.medal-alltime-val b { color: var(--gold-hi); font: 800 1.15rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.medal-alltime-who { font-weight: 650; font-size: .9rem; color: var(--cc-text, var(--gold-hi)); }
.medal-alltime small { font-size: .72rem; }
.medal-alltime-val + .medal-alltime-lbl { margin-top: .5em; }   /* 3.18.0: mehrere Zeilen (Spitzen-DPS, Crits der Woche) */
.medal.is-empty .medal-val { font-size: 1.3rem; color: var(--muted); text-shadow: none; }
.medal.is-empty .medal-disc { filter: grayscale(.7) brightness(.7); }

.ruhm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin-top: clamp(48px, 7vw, 80px); }
.board-wide { grid-column: 1 / -1; }
.speed-tabs { margin: -.4rem 0 1.1rem; }
.speed-tabs .chip { min-height: 34px; padding: .3em .8em; }
.speed-tabs .chip:disabled { opacity: .45; cursor: default; transform: none; border-color: rgba(212, 162, 76, .15); }
.speed-list .wk-val { white-space: nowrap; }
.board { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); }
.board-foot { margin: auto 0 0; padding-top: 18px; font-size: .8rem; color: var(--muted); text-align: center; }
.board-foot::before { content: ""; display: block; width: 60px; height: 1px; margin: 0 auto 12px; background: var(--line-strong); }
.board-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1.4rem; }
.board-head > .ic { width: 38px; height: 38px; padding: 8px; color: var(--gold-hi); border: 1px solid var(--line-strong); background: rgba(158, 27, 27, .25); }
.board-head h3 { font-size: 1.3rem; color: var(--gold-hi); }
.board-sub { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }

.week-list { display: grid; gap: 10px; counter-reset: wk; }
.wk { --cc: var(--gold); position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(11, 8, 6, .5); border: 1px solid rgba(212, 162, 76, .1); overflow: hidden; }
.wk-bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 22%, transparent), transparent); transform-origin: left; transition: transform 1.2s var(--ease-out); z-index: 0; }
.js .board:not(.is-in) .wk-bar { transform: scaleX(0); }
.wk > *:not(.wk-bar) { position: relative; z-index: 1; }
.wk-pos { font: 800 1.1rem/1 var(--f-head); color: var(--muted); text-align: center; }
.wk-name { font-weight: 650; color: var(--cc-text, var(--cc)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-val { font: 700 1rem/1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; }
.wk-val small { font-family: var(--f-body); font-size: .72rem; font-weight: 500; color: var(--muted); margin-left: .3em; }
.wk:first-child { border-color: var(--line-strong); background: linear-gradient(90deg, rgba(212, 162, 76, .12), rgba(11, 8, 6, .5)); padding-block: 14px; }
.wk:first-child .wk-pos { color: var(--gold-hi); }
.wk:first-child .wk-pos .ic { width: 24px; height: 24px; color: var(--gold-hi); margin: 0 auto; filter: drop-shadow(0 0 8px rgba(243, 211, 138, .6)); }
.wk:first-child .wk-name { font-size: 1.1rem; }

.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; min-height: 40px; }
.pod { --cc: var(--gold); display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.pod-name { max-width: 100%; margin-bottom: .2rem; font-weight: 650; color: var(--cc-text, var(--cc)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.pod-meta { margin-bottom: .5rem; font-size: .75rem; color: var(--muted); }
.pod-block { position: relative; width: 100%; display: grid; place-items: center; font: 900 2rem/1 var(--f-head); color: rgba(20, 12, 6, .85); border: 1px solid var(--line-strong); transform-origin: bottom; transition: transform 1s var(--ease-out); }
.js .board:not(.is-in) .pod-block { transform: scaleY(0); }
.pod-1 { order: 2; } .pod-2 { order: 1; } .pod-3 { order: 3; }
.pod-1 .pod-block { height: 118px; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); box-shadow: 0 0 30px -6px rgba(243, 211, 138, .5); }
.pod-2 .pod-block { height: 86px; background: linear-gradient(180deg, #e8e4dc, #a9a39a 55%, #6d675f); }
.pod-3 .pod-block { height: 64px; background: linear-gradient(180deg, #e2a06a, #b06a35 55%, #6e3d18); }
.pod-1 .pod-name { font-size: 1.08rem; }
.pod-crown { width: 26px; height: 26px; color: var(--gold-hi); margin-bottom: .3rem; filter: drop-shadow(0 0 8px rgba(243, 211, 138, .7)); }
.pod.is-open .pod-block { background: repeating-linear-gradient(135deg, rgba(212, 162, 76, .08) 0 6px, transparent 6px 12px); color: var(--gold-lo); box-shadow: none; }
.race-list { display: grid; gap: 6px; margin-top: 16px; }
.race-list li { --cc: var(--text); display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 12px; font-size: .9rem; border-bottom: 1px solid rgba(212, 162, 76, .08); }
.race-list .rl-pos { color: var(--muted); font-family: var(--f-head); font-weight: 700; }
.race-list .rl-name { color: var(--cc-text, var(--cc)); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.race-list .rl-meta { color: var(--muted); font-size: .8rem; }
.race-note { margin: -6px 0 16px; font-size: .86rem; color: var(--muted); text-align: center; }
.hall-list { display: grid; gap: 10px; }
.hall-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; background: rgba(11, 8, 6, .5); border: 1px solid rgba(212, 162, 76, .1); }
.hall-row.is-last-week { border-color: rgba(212, 162, 76, .35); background: linear-gradient(90deg, rgba(122, 18, 18, .22), rgba(11, 8, 6, .5) 60%); }
.hall-kw { display: flex; flex-direction: column; gap: 2px; }
.hall-kw b { font: 800 1.1rem/1 var(--f-head); color: var(--gold-hi); }
.hall-kw small { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hall-cell { --cc: var(--gold); display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; }
.hall-cell .ic { grid-row: 1 / 3; width: 20px; height: 20px; color: var(--gold); }
.hall-lbl { grid-column: 2 / 4; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hall-name { font-weight: 650; color: var(--cc-text, var(--cc)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-val { font: 700 1rem/1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hall-val small { font-family: var(--f-body); font-size: .72rem; font-weight: 500; color: var(--muted); margin-left: .3em; }
.hall-cell.is-empty .hall-name { color: var(--muted); }
.hall-list > .empty { display: flex; padding: 24px 16px; border-bottom: 1px dashed rgba(212, 162, 76, .25); font-size: .9rem; }
@media (max-width: 640px) {
  .hall-row { grid-template-columns: minmax(0, 1fr); }
  .hall-kw { flex-direction: row; align-items: baseline; gap: .6em; }
}
.race-list > .empty, .week-list > .empty { display: flex; padding: 24px 16px; border-bottom: 1px dashed rgba(212, 162, 76, .25); font-size: .9rem; }
.race-list .race-head { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 0 4px; border: 0; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.race-list .race-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.race-list .chaser .rl-pos .ic { width: 1.1em; height: 1.1em; color: var(--cc); }
.race-list .chaser { row-gap: 0; }
.lvlbar { height: 4px; margin-top: 5px; background: rgba(212, 162, 76, .1); overflow: hidden; grid-column: 2 / -1; }
.lvlbar i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }

@media (max-width: 860px) {
  .medals { grid-template-columns: 1fr; max-width: 420px; gap: 56px; }
  .medal-main { order: -1; }
  .ruhm-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   6 · Mitglieder
   ========================================================================== */
.section-mitglieder { background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(212, 162, 76, .06), transparent 70%); }
.mem-tools { display: grid; grid-template-columns: minmax(200px, 1fr) auto; gap: 14px 18px; align-items: center; margin-bottom: 18px; }
.mem-search { position: relative; }
.mem-search .ic { position: absolute; left: 14px; top: 50%; margin-top: -.6em; width: 1.2em; height: 1.2em; color: var(--gold-lo); pointer-events: none; }
.mem-search input, .select select, .field input[type="text"], .field textarea {
  width: 100%; min-height: 46px; padding: .7em 1em; border: 1px solid var(--line-strong); border-radius: 0;
  background: rgba(11, 8, 6, .75); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.mem-search input { padding-left: 2.8em; }
.mem-search input::placeholder, .field textarea::placeholder, .field input::placeholder { color: #968878; }
.mem-search input:focus, .select select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 162, 76, .18); background: rgba(21, 16, 12, .95); }
.mem-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.select { position: relative; display: block; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; cursor: pointer; min-width: 180px; }
.select select option { background: var(--bg-2); color: var(--text); }
.seg-toggle { display: inline-flex; border: 1px solid var(--line-strong); }
.seg-btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5em 1em; border: 0; background: rgba(11, 8, 6, .7); color: var(--muted); font-size: .84rem; font-weight: 600; transition: background .2s, color .2s; }
.seg-btn + .seg-btn { border-left: 1px solid var(--line-strong); }
.seg-btn .ic { width: 1.05em; height: 1.05em; }
.seg-btn[aria-pressed="true"] { background: linear-gradient(180deg, rgba(212, 162, 76, .25), rgba(212, 162, 76, .1)); color: var(--gold-hi); }
.seg-btn:hover { color: var(--gold-hi); }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { --cc: var(--gold); display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .4em .85em; border: 1px solid rgba(212, 162, 76, .25); background: rgba(21, 16, 12, .75); color: #d8cbb8; font-size: .82rem; font-weight: 600; transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s; }
.chip .ic { width: 1.1em; height: 1.1em; color: var(--cc); }
.chip small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--cc); color: var(--text); transform: translateY(-1px); }
.chip[aria-pressed="true"] { border-color: var(--cc); color: var(--cc-text, var(--cc)); background: color-mix(in srgb, var(--cc) 14%, rgba(21, 16, 12, .9)); box-shadow: 0 0 14px -4px var(--cc); }
.chip[aria-pressed="true"] small { color: inherit; }
.chip-toggle .dot { width: .6em; height: .6em; }
.chip-toggle[aria-pressed="false"] .dot { background: #5a4d42; box-shadow: none; animation: none; }
.chip-toggle { --cc: var(--ember); }
@media (max-width: 760px) {
  .mem-tools { grid-template-columns: minmax(0, 1fr); }
  .mem-controls { justify-content: flex-start; }
  .mem-controls .select { flex: 1 1 160px; }
  .mem-controls .select select { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: thin; }
  .chip { flex: none; }
}
.mem-count { margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.mem-count b { color: var(--gold-hi); }

.mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mem { --cc: var(--gold); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 14px; border: 1px solid rgba(212, 162, 76, .16); overflow: hidden; }
.mem::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--cc), transparent); opacity: .8; }
.mem::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: radial-gradient(circle, color-mix(in srgb, var(--cc) 16%, transparent), transparent 70%); pointer-events: none; }
.mem-top { display: flex; align-items: center; gap: 12px; }
.mem-ic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; color: var(--cc); border: 1px solid color-mix(in srgb, var(--cc) 45%, transparent); background: rgba(11, 8, 6, .6); transform: rotate(45deg) scale(.86); }
.mem-ic .ic { width: 24px; height: 24px; transform: rotate(-45deg); }
.mem-id { min-width: 0; flex: 1; }
.mem-name { margin: 0; font: 700 1.05rem/1.2 var(--f-head); color: var(--cc-text, var(--cc)); overflow-wrap: anywhere; }
.mem-sub { margin: .15rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.mem-lvl { flex: none; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; font: 800 1.15rem/1 var(--f-head); color: var(--gold-hi); border: 1px solid var(--line-strong); background: radial-gradient(circle, rgba(212, 162, 76, .14), transparent 70%); }
.mem-lvl small { display: block; font: 600 .5rem/1 var(--f-body); letter-spacing: .15em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.mem-title { margin: -4px 0 0; font-size: .84rem; font-style: italic; color: #d9c7a6; }
.mem-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; }
.mem-stats > div { padding: 7px 6px; text-align: center; background: rgba(11, 8, 6, .55); border: 1px solid rgba(212, 162, 76, .08); }
.mem-stats dt { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mem-stats dd { margin: .15rem 0 0; font: 700 .98rem/1.1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem-rank { padding: 8px 10px 9px; background: rgba(11, 8, 6, .55); border: 1px solid rgba(212, 162, 76, .08); }
.mem-rank-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; }
.mem-rank-top span { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mem-rank-top b { font: 700 .92rem/1.2 var(--f-head); color: var(--gold-hi); letter-spacing: .02em; text-align: right; }
.mem-rank .rankbar { margin-top: 7px; }
.mem-rank-next { margin: .35rem 0 0; font-size: .7rem; color: var(--muted); }
.mem-noaddon { margin: 0; padding: 8px 10px; font-size: .78rem; color: #8e8073; border: 1px dashed rgba(212, 162, 76, .14); text-align: center; }
.rankbar { display: flex; align-items: center; gap: 8px; font-size: .7rem; color: var(--muted); }
.rankbar span { flex: 1; height: 3px; background: rgba(212, 162, 76, .1); overflow: hidden; }
.rankbar span i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, var(--blood), var(--ember), var(--gold-hi)); }
.mem-seen { display: flex; align-items: center; gap: .5em; margin: auto 0 0; padding-top: 10px; border-top: 1px solid rgba(212, 162, 76, .08); font-size: .8rem; color: var(--muted); }
.mem-armory { display: inline-flex; align-items: center; gap: .35em; margin-left: auto; padding: .15em .55em; border: 1px solid rgba(212, 162, 76, .28); border-radius: 999px; font-size: .74rem; font-weight: 650; color: var(--gold); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.mem-armory .ic { width: 1em; height: 1em; }
.mem-armory:hover, .mem-armory:focus-visible { background: rgba(212, 162, 76, .12); border-color: rgba(212, 162, 76, .6); }
.mem-table .t-armory { display: inline-flex; align-items: center; gap: .3em; margin-left: .3em; font-size: .72rem; font-weight: 600; color: var(--gold); text-decoration: none; opacity: .75; }
.mem-table .t-armory .ic { width: 1em; height: 1em; color: var(--gold); }
.mem-table .t-armory:hover, .mem-table .t-armory:focus-visible { opacity: 1; text-decoration: underline; }
.mem.is-online { border-color: rgba(255, 122, 46, .32); }
.mem.is-online .mem-seen { color: #ffc9a3; font-weight: 600; }
.mem.is-new { animation: mem-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes mem-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.mem-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: rgba(11, 8, 6, .6); -webkit-overflow-scrolling: touch; }
.mem-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; }
.mem-table th { position: sticky; top: 0; padding: 0; text-align: left; background: #17110d; border-bottom: 1px solid var(--line-strong); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.mem-table th > span, .mem-table th > button { display: flex; align-items: center; gap: .4em; width: 100%; padding: 12px 14px; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; }
.mem-table th > button:hover { color: var(--gold-hi); }
.mem-table th[aria-sort] > button::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.mem-table th[aria-sort="ascending"] > button::after { transform: rotate(-135deg) translateY(-2px); }
.mem-table td { padding: 10px 14px; border-bottom: 1px solid rgba(212, 162, 76, .07); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mem-table tr { --cc: var(--gold); }
.mem-table tbody tr { transition: background .2s; }
.mem-table tbody tr:hover { background: rgba(212, 162, 76, .06); }
.mem-table .t-name { display: flex; align-items: center; gap: .6em; font-weight: 650; color: var(--cc-text, var(--cc)); }
.mem-table .t-name .ic { width: 1.2em; height: 1.2em; color: var(--cc); }
.mem-table .t-dim { color: var(--muted); }
.mem-table .t-rank { color: var(--gold-hi); }
.mem-more { display: flex; justify-content: center; margin-top: 26px; }

/* ==========================================================================
   6a · Wer kann was? – Gilden-Berufe (docs/BERUFE.md) – alles unter .bf-…
   Nur Text + Balken, keine Bilder. Farbe je Art: --ac (Herstellen Gold, Sammeln Grün, Neben Blau)
   ========================================================================== */
.section-berufe { background: radial-gradient(ellipse 75% 40% at 50% 15%, rgba(212, 162, 76, .07), transparent 70%); }
.bf-count { margin: 0 0 14px; font-size: .88rem; color: var(--muted); text-align: center; }
.bf-count b { color: var(--gold-hi); }
.bf-chips { justify-content: center; margin-bottom: 20px; } /* Handy: randlos waagerecht scrollbar wie .chips */
.bf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.bf { --ac: var(--gold); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 14px; border: 1px solid rgba(212, 162, 76, .16); overflow: hidden; }
.bf-sammeln { --ac: #9ccf6e; }
.bf-neben { --ac: #7cb8e8; }
.bf::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: .85; }
.bf::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 13%, transparent), transparent 70%); pointer-events: none; }
.bf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bf-id { min-width: 0; }
.bf-art { margin: 0 0 .2rem; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ac); }
.bf-name { margin: 0; font: 700 1.02rem/1.2 var(--f-head); color: var(--gold-hi); overflow-wrap: break-word; hyphens: auto; }
.bf-n { flex: none; display: grid; place-items: center; min-width: 48px; height: 46px; margin: 0; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--ac) 14%, transparent), transparent 70%); }
.bf-n b { font: 800 1.15rem/1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; }
.bf-n small { font: 600 .52rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.bf-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bf-row { --cc: var(--gold); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px; }
.bf-who { min-width: 0; display: flex; align-items: baseline; gap: .45em; }
.bf-who b { font-weight: 650; font-size: .92rem; color: var(--cc-text, var(--cc)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-lvl { flex: none; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bf-val { font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf-val b { color: var(--text); font-weight: 700; }
.bf-val small { font-size: .74rem; color: var(--muted); }
.bf-row.is-cap .bf-val b { color: var(--gold-hi); }
.bf-bar { grid-column: 1 / -1; position: relative; height: 4px; background: rgba(212, 162, 76, .07); overflow: hidden; }
.bf-bar u, .bf-bar i { position: absolute; inset: 0 auto 0 0; display: block; }
.bf-bar u { width: calc(var(--c, 0) * 1%); background: rgba(212, 162, 76, .16); border-right: 1px solid rgba(243, 211, 138, .45); }
.bf-bar i { width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, var(--blood), var(--ember), var(--gold-hi)); }
.bf:not(.is-open) .bf-extra { display: none; }
.bf-more { align-self: stretch; min-height: 38px; margin-top: 2px; padding: .45em .8em; border: 1px dashed rgba(212, 162, 76, .25); background: rgba(11, 8, 6, .45); color: var(--muted); font-size: .8rem; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
.bf-more:hover, .bf-more:focus-visible { color: var(--gold-hi); border-color: var(--gold); background: rgba(212, 162, 76, .08); }
.bf.is-new { animation: mem-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.bf-empty { grid-column: 1 / -1; margin: 0; padding: 14px; font-size: .86rem; color: #8e8073; text-align: center; border: 1px dashed rgba(212, 162, 76, .14); }
.bf-missing { max-width: 760px; margin: 18px auto 0; padding: 10px 14px; font-size: .84rem; color: var(--muted); text-align: center; border: 1px dashed rgba(212, 162, 76, .16); }
.bf-missing b { color: #d8cbb8; font-weight: 650; }
@media (max-width: 760px) {
  .bf-chips { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .bf { padding: 16px 14px 12px; }
  .bf-missing { text-align: left; }
}

/* ==========================================================================
   6a2 · Klassen-Quests (Addon 3.7.0) – alles unter .kq-…
   Eine Karte je Fund in Klassenfarbe (--cc aus classStyle), Klassen-Symbol aus icons.svg, keine fremden Bilder
   ========================================================================== */
.section-kq { background: radial-gradient(ellipse 70% 40% at 50% 20%, rgba(148, 130, 201, .08), transparent 70%); }
.kq-count { margin: 0 0 14px; font-size: .88rem; color: var(--muted); text-align: center; }
.kq-count:empty { display: none; }
.kq-count b { color: var(--gold-hi); }
.kq-chips { justify-content: center; margin-bottom: 20px; }
.kq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; align-items: start; }
.kq { --cc: var(--gold); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 14px; border: 1px solid color-mix(in srgb, var(--cc) 22%, rgba(212, 162, 76, .12)); overflow: hidden; }
.kq::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--cc), transparent); opacity: .85; }
.kq::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, color-mix(in srgb, var(--cc) 12%, transparent), transparent 70%); pointer-events: none; }
.kq-head { display: flex; align-items: center; gap: 12px; }
.kq-cls { flex: none; width: 34px; height: 34px; color: var(--cc); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--cc) 35%, transparent)); }
.kq-id { min-width: 0; flex: 1; }
.kq-art { margin: 0 0 .2rem; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cc-text, var(--cc)); }
.kq-fr { color: var(--muted); letter-spacing: .1em; }
.kq-name { margin: 0; font: 700 1rem/1.25 var(--f-head); color: var(--gold-hi); overflow-wrap: break-word; }
.kq-name small { font: 600 .74rem/1 var(--f-body); color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.kq-lvl { flex: none; display: grid; place-items: center; min-width: 50px; height: 46px; margin: 0; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--cc) 40%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--cc) 14%, transparent), transparent 70%); }
.kq-lvl small { font: 600 .52rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kq-lvl b { font: 800 1.15rem/1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; margin-top: 2px; }
.kq-facts { display: grid; gap: 7px; margin: 0; }
.kq-facts div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.kq-facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kq-facts dd { margin: 0; font-size: .9rem; color: #d8cbb8; overflow-wrap: break-word; }
.kq-facts dd b { color: var(--text); font-weight: 650; }
.kq-xy { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kq-von { margin: 0; padding-top: 9px; border-top: 1px solid rgba(212, 162, 76, .1); font-size: .78rem; color: var(--muted); }
.kq-von b { color: #d8cbb8; font-weight: 650; }
.kq-von { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.kq-ok { display: inline-flex; align-items: center; gap: .3em; color: #9ccf6e; font-weight: 650; }
.kq-ok .ic { width: 1em; height: 1em; }
.kq.is-new { animation: mem-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.kq-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 760px; margin: 0 auto; padding: 16px 18px; border: 1px dashed rgba(212, 162, 76, .2); background: rgba(11, 8, 6, .35); }
.kq-empty .ic { flex: none; width: 30px; height: 30px; color: var(--gold); opacity: .8; }
.kq-empty p { margin: 0; font-size: .9rem; color: #b9ab98; }
.kq-empty b { color: var(--gold-hi); }
@media (max-width: 760px) {
  .kq-chips { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .kq-grid { grid-template-columns: minmax(0, 1fr); }
  .kq { padding: 16px 14px 12px; }
  .kq-empty { align-items: flex-start; }
}

/* ==========================================================================
   6b · Unsere Streamer (docs/STREAMER.md) – alles unter .str-…
   Nur Text + Link nach twitch.tv: keine Einbettung, keine Bilder von Twitch (CSP img-src 'self')
   ========================================================================== */
.section-streamer { background: radial-gradient(ellipse 70% 45% at 50% 35%, rgba(158, 27, 27, .14), transparent 70%); }
.str-count { margin: 0 0 18px; font-size: .88rem; color: var(--muted); text-align: center; }
.str-count b { color: var(--gold-hi); }
.str-count-live { display: inline-flex; align-items: center; gap: .45em; color: #ffb9ae; }
.str-count-live b { color: #ffd6cf; }
/* wenige Streamer: mittig statt links mit Lücke; viele: so viele Spalten wie passen */
.str-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; gap: 16px; }
.str { --cc: var(--gold); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; border: 1px solid rgba(212, 162, 76, .16); overflow: hidden; }
.str::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--cc), transparent); opacity: .8; }
.str::after { content: ""; position: absolute; left: -40px; bottom: -40px; width: 150px; height: 150px; background: radial-gradient(circle, color-mix(in srgb, var(--cc) 13%, transparent), transparent 70%); pointer-events: none; }
.str.is-live { border-color: rgba(199, 50, 43, .55); box-shadow: inset 0 0 0 1px rgba(199, 50, 43, .12), 0 0 44px -16px rgba(199, 50, 43, .75); }
.str.is-live::before { height: 3px; background: linear-gradient(90deg, transparent, var(--blood-hi), var(--ember), var(--blood-hi), transparent); opacity: 1; }
.str-badge { position: absolute; top: 16px; right: 16px; z-index: 1; display: inline-flex; align-items: center; gap: .5em; margin: 0; padding: .36em .75em; border: 1px solid rgba(212, 162, 76, .2); background: rgba(11, 8, 6, .75); font: 700 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.str.is-live .str-badge { color: #fff; border-color: rgba(240, 90, 78, .75); background: linear-gradient(180deg, #c7322b, #8e1712); box-shadow: 0 0 18px -3px rgba(199, 50, 43, .9); }
.dot-live { background: #ff4b3e; box-shadow: 0 0 0 2px rgba(255, 75, 62, .2), 0 0 10px 2px rgba(255, 75, 62, .8); animation: glow-live 1.6s ease-in-out infinite; }
.str.is-live .str-badge .dot-live { background: #fff; box-shadow: 0 0 8px 2px rgba(255, 255, 255, .65); }
@keyframes glow-live { 50% { opacity: .4; } }
.str-top { display: flex; align-items: center; gap: 12px; padding-right: 86px; }
.str-ic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; color: var(--cc); border: 1px solid color-mix(in srgb, var(--cc) 45%, transparent); background: rgba(11, 8, 6, .6); transform: rotate(45deg) scale(.86); }
.str-ic .ic { width: 24px; height: 24px; transform: rotate(-45deg); }
.str-id { min-width: 0; flex: 1; }
.str-name { margin: 0; font: 700 1.1rem/1.2 var(--f-head); color: var(--cc-text, var(--cc)); overflow-wrap: anywhere; }
.str-sub { margin: .15rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.str-kanal { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.str-kanal .ic { width: 1.1em; height: 1.1em; margin-right: .45em; color: var(--gold); }
.str-kanal b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.str-now { display: grid; gap: 6px; padding: 10px 12px; background: rgba(11, 8, 6, .55); border: 1px solid rgba(199, 50, 43, .28); }
.str-game { display: flex; align-items: center; gap: .45em; margin: 0; font-size: .92rem; color: var(--gold-hi); }
.str-game .ic { width: 1.05em; height: 1.05em; color: var(--ember); }
.str-game b { font-weight: 650; overflow-wrap: anywhere; }
.str-title { margin: 0; font-size: .86rem; line-height: 1.45; font-style: italic; color: #dccbab; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.str-since { display: flex; align-items: center; gap: .45em; margin: 0; font-size: .78rem; font-weight: 600; color: #ffc9a3; }
.str-since .ic { width: 1em; height: 1em; }
.str-off { margin: 0; padding: 10px 12px; font-size: .82rem; color: #8e8073; border: 1px dashed rgba(212, 162, 76, .14); text-align: center; }
.str-more { margin: -2px 0 0; font-size: .8rem; color: var(--muted); }
.str-more span { color: var(--cc-text, var(--cc)); font-weight: 600; }
.str-more small { font-size: .72rem; color: var(--muted); }
.str-btn { align-self: flex-start; margin-top: auto; }
.str.is-new { animation: mem-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
.str-note { max-width: 760px; margin: 24px auto 0; font-size: .84rem; color: var(--muted); text-align: center; }
.str-note .ic { display: inline-block; width: 1.2em; height: 1.2em; margin-right: .45em; vertical-align: -.25em; color: var(--gold); }
@media (max-width: 600px) {
  .str-grid { grid-template-columns: minmax(0, 1fr); }
  .str { padding: 18px 16px 16px; }
  .str-btn { align-self: stretch; }
  .str-note { text-align: left; }
}

/* ==========================================================================
   7 · Chronik
   ========================================================================== */
.section-chronik { background: linear-gradient(180deg, var(--bg), #0f0a07 40%, var(--bg)); }
.ticker { position: relative; display: flex; align-items: stretch; margin: 0 0 clamp(40px, 6vw, 64px); border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(158, 27, 27, .18), rgba(21, 16, 12, .9) 18%, rgba(21, 16, 12, .9) 82%, rgba(158, 27, 27, .18)); overflow: hidden; }
.ticker-label { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: .55em; padding: 0 1.4em 0 max(var(--gutter), 20px); font: 700 .74rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: #fff0dc; background: linear-gradient(90deg, var(--blood), #7a1212); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--dur, 60s) linear infinite; }
.tk-set { display: flex; flex: none; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 48px; border: 0; border-left: 1px solid var(--line); background: rgba(11, 8, 6, .85); color: var(--gold-hi); transition: color .2s, background .2s; }
.ticker-toggle:hover { color: #fff3cf; background: rgba(31, 23, 17, .95); }
.ticker-toggle:focus-visible { outline-offset: -4px; }
.ticker-toggle .ic { width: 18px; height: 18px; }
.ticker-toggle .ic-play, .ticker-toggle[aria-pressed="true"] .ic-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .ic-play { display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tk { --fc: var(--gold); display: inline-flex; align-items: center; gap: .55em; padding: 14px 26px; white-space: nowrap; font-size: .9rem; color: #d8cbb8; }
.tk .ic { width: 1.15em; height: 1.15em; color: var(--fc); }
.tk b { color: var(--cc-text, var(--text)); font-weight: 650; }
.tk time { font-size: .76rem; color: var(--muted); }
.tk::after { content: ""; width: 5px; height: 5px; margin-left: 20px; background: var(--gold-lo); transform: rotate(45deg); }

.chronicle { position: relative; max-width: 860px; margin: 0 auto; }
.chr-day { position: relative; padding-left: 34px; margin-bottom: 26px; }
.chr-day::before { content: ""; position: absolute; left: 9px; top: 30px; bottom: -26px; width: 1px; background: linear-gradient(180deg, var(--line-strong), rgba(212, 162, 76, .06)); }
.chr-day:last-child::before { bottom: 0; }
.chr-day-title { position: relative; margin: 0 0 12px -34px; display: flex; align-items: center; gap: 12px; font: 700 .82rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.chr-day-title::before { content: ""; width: 19px; height: 19px; flex: none; border: 1px solid var(--gold); transform: rotate(45deg) scale(.7); background: var(--bg); box-shadow: 0 0 10px rgba(212, 162, 76, .35); }
.chr-day-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.chr-list { display: grid; gap: 8px; }
.chr { --fc: var(--gold); position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 16px 11px 12px; background: rgba(21, 16, 12, .7); border: 1px solid rgba(212, 162, 76, .1); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.chr:hover { border-color: color-mix(in srgb, var(--fc) 45%, transparent); transform: translateX(4px); background: rgba(31, 23, 17, .85); }
.chr-ic { display: grid; place-items: center; width: 38px; height: 38px; color: var(--fc); background: radial-gradient(circle, color-mix(in srgb, var(--fc) 20%, transparent), transparent 72%); border: 1px solid color-mix(in srgb, var(--fc) 35%, transparent); border-radius: 50%; }
.chr-ic .ic { width: 20px; height: 20px; }
.chr-text { margin: 0; color: #ddd2c1; font-size: .95rem; overflow-wrap: anywhere; }
.chr-text b { color: var(--cc-text, var(--text)); font-weight: 650; }
.chr-text .hl { color: var(--fc); font-weight: 650; }
.chr-text .loot { font-weight: 650; }
.chr-text .zone { color: var(--muted); }
.chr-time { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.chr-EPIC, .chr-MAX, .chr-BOSS { background: linear-gradient(90deg, color-mix(in srgb, var(--fc) 12%, rgba(21, 16, 12, .8)), rgba(21, 16, 12, .7) 60%); border-color: color-mix(in srgb, var(--fc) 30%, transparent); }
.feed-more { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 600px) {
  .chr { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .chr-ic { width: 32px; height: 32px; }
  .chr-time { grid-column: 2; margin-top: -6px; }
  .chr-day { padding-left: 24px; }
  .chr-day-title { margin-left: -24px; }
  .chr-day::before { left: 9px; }
}

/* ==========================================================================
   8 · Neuigkeiten
   ========================================================================== */
.news-grid, .news-rest { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.news-rest { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.news-grid > .skeleton-card { min-height: 220px; }
.news { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); overflow: hidden; }
.news-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #140e0a; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) contrast(1.05); }
.news:hover .news-img img { transform: scale(1.06); filter: saturate(1.05) contrast(1.08); }
.news-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21, 16, 12, .95)); }
.news-noimg { position: relative; height: 8px; background: linear-gradient(90deg, var(--blood), var(--gold-lo), var(--blood)); opacity: .6; }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: .6rem; font-size: .78rem; color: var(--muted); }
.news-meta .ic { width: 1.05em; height: 1.05em; color: var(--gold-lo); }
.news-meta span { display: inline-flex; align-items: center; gap: .4em; }
.news-title { font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--gold-hi); margin-bottom: .7rem; overflow-wrap: anywhere; }
.news-text { position: relative; color: #ddd2c1; font-size: .96rem; overflow-wrap: anywhere; }
.news-text p { margin: 0 0 .8em; }
.news-text p:last-child { margin: 0; }
.news-text.is-clamped { max-height: 7.6em; overflow: hidden; }
.news-text.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 3.2em; background: linear-gradient(180deg, transparent, #17110d); }
.news-more { margin-top: .8rem; align-self: flex-start; }
.news-pinned { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-color: var(--line-strong); }
.news-pinned .news-img { aspect-ratio: auto; min-height: 280px; }
.news-pinned .news-img::after { background: linear-gradient(90deg, transparent 55%, rgba(21, 16, 12, .95)); }
.news-pinned .news-noimg { display: none; }
.news-pinned:not(.has-img) { grid-template-columns: 1fr; }
.news-pinned .news-body { padding: clamp(24px, 3.5vw, 40px); justify-content: center; }
.news-pinned .news-title { font-size: clamp(1.45rem, 3vw, 2rem); }
.news-pin { position: absolute; top: 16px; left: -6px; z-index: 2; display: inline-flex; align-items: center; gap: .45em; padding: .45em 1.1em .45em 1em; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff0dc; background: linear-gradient(180deg, #b52520, #7a1212); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.news-pin .ic { width: 1.1em; height: 1.1em; }
@media (max-width: 760px) {
  .news-pinned { grid-template-columns: minmax(0, 1fr); }
  .news-pinned .news-img { min-height: 0; aspect-ratio: 16 / 9; }
  .news-pinned .news-img::after { background: linear-gradient(180deg, transparent 50%, rgba(21, 16, 12, .95)); }
}

/* ==========================================================================
   9 · Addon
   ========================================================================== */
.section-addon { overflow: hidden; }
.addon-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 50% 40% at 80% 20%, rgba(158, 27, 27, .16), transparent 70%),
  radial-gradient(ellipse 50% 40% at 10% 70%, rgba(212, 162, 76, .07), transparent 70%); }

.showcase { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: stretch; }
.showcase-tabs { display: flex; flex-direction: column; gap: 8px; }
.sc-tab { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; text-align: left; border: 1px solid rgba(212, 162, 76, .14); background: rgba(21, 16, 12, .7); color: var(--text); overflow: hidden; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.sc-tab > .ic { width: 34px; height: 34px; padding: 7px; flex: none; color: var(--gold); border: 1px solid var(--line); transition: color .3s, border-color .3s, background .3s; }
.sc-tab-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.sc-tab b { font: 700 1rem/1.25 var(--f-head); letter-spacing: .03em; color: #e8dcc8; }
.sc-tab small { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.sc-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blood-hi), var(--gold-hi)); transform: scaleX(0); transform-origin: left; }
.sc-tab:hover { border-color: var(--line-strong); transform: translateX(3px); }
.sc-tab[aria-selected="true"] { border-color: var(--line-strong); background: linear-gradient(90deg, rgba(158, 27, 27, .28), rgba(31, 23, 17, .9) 70%); }
.sc-tab[aria-selected="true"] > .ic { color: #fff0dc; border-color: var(--gold); background: rgba(158, 27, 27, .5); }
.sc-tab[aria-selected="true"] b { color: var(--gold-hi); }
.sc-tab[aria-selected="true"] .sc-tab-bar { animation: tab-progress var(--auto, 8s) linear forwards; }
.showcase.is-paused .sc-tab[aria-selected="true"] .sc-tab-bar { animation: none; transform: scaleX(1); opacity: .5; }
@keyframes tab-progress { to { transform: scaleX(1); } }

.showcase-stage { min-width: 0; }
.game {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(21, 16, 12, .9), 0 0 0 7px var(--line);
  background: #0a0706; font-family: var(--f-body);
}
.game-world { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 80% 50% at 50% 110%, rgba(120, 60, 25, .55), transparent 70%),
  radial-gradient(ellipse 40% 30% at 75% 30%, rgba(255, 190, 110, .12), transparent 70%),
  linear-gradient(180deg, #2b1a14 0%, #4a2a18 42%, #6b3f1f 60%, #3a2414 61%, #2a1a10 100%); }
.game-world i { position: absolute; bottom: 38%; width: 40%; height: 26%; background: #24160f; clip-path: polygon(0 100%, 12% 50%, 22% 70%, 38% 20%, 52% 60%, 64% 35%, 80% 75%, 100% 100%); opacity: .8; }
.game-world i:nth-child(1) { left: -5%; }
.game-world i:nth-child(2) { left: 32%; height: 34%; opacity: .6; }
.game-world i:nth-child(3) { right: -6%; height: 22%; }
.game-world::before { content: ""; position: absolute; inset: 52% 0 0; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 170, 90, .18), transparent 70%), linear-gradient(180deg, rgba(90, 50, 25, .0), rgba(20, 12, 8, .8)); }
.game-world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 50%, rgba(0, 0, 0, .65)), linear-gradient(180deg, transparent 50%, rgba(150, 90, 50, .12) 60%, transparent 70%); }
.game-tag { position: absolute; top: 10px; right: 12px; z-index: 5; padding: .25em .7em; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: rgba(0, 0, 0, .55); border: 1px solid rgba(212, 162, 76, .2); }
.sc-stop { position: absolute; top: 8px; left: 10px; z-index: 6; display: inline-flex; align-items: center; gap: .45em; min-height: 30px; padding: .3em .75em; border: 1px solid rgba(212, 162, 76, .3); background: rgba(0, 0, 0, .6); color: #d9c9b1; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .2s, border-color .2s, background .2s; }
.sc-stop:hover { color: var(--gold-hi); border-color: var(--gold); background: rgba(11, 8, 6, .85); }
.sc-stop .ic { width: 13px; height: 13px; }
@media (max-width: 600px) { .sc-stop-noun { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } } /* schmal: nur „Anhalten“ sichtbar, Name bleibt vollständig */
.sc-stop .ic-play, .showcase.is-stopped .sc-stop .ic-pause { display: none; }
.showcase.is-stopped .sc-stop .ic-play { display: block; }
/* „Vorführung anhalten“: auch die Bewegung im Spielbild steht still (WCAG 2.2.2) */
.showcase.is-stopped .game *, .showcase.is-stopped .game *::before, .showcase.is-stopped .game *::after { animation-play-state: paused !important; }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; container-type: inline-size; }
.mock.is-active { animation: mock-in .55s var(--ease-out) both; }
@keyframes mock-in { from { opacity: 0; transform: scale(1.02); filter: blur(4px); } }

/* Kill-Serie */
.mk-flash { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px 30px rgba(200, 20, 20, .0); transition: box-shadow .2s; }
.mock-streak.is-hot .mk-flash { animation: redflash .9s ease-out; }
@keyframes redflash { 0% { box-shadow: inset 0 0 90px 18px rgba(220, 25, 20, .65); } 100% { box-shadow: inset 0 0 70px 6px rgba(200, 20, 20, 0); } }
.mk-splash { text-align: center; margin-top: -12%; }
.mk-streak-name {
  margin: 0; font: 900 clamp(1.4rem, 7.2cqi, 3.6rem)/1 var(--f-head); letter-spacing: .04em;
  background: linear-gradient(180deg, #fff6d0 0%, #ffd36a 30%, var(--ember) 62%, #c7322b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a0505) drop-shadow(0 0 18px rgba(255, 122, 46, .6));
}
.mk-streak-name.is-pop { animation: pop .5s var(--ease-out); }
@keyframes pop { 0% { transform: scale(2.1); opacity: 0; filter: blur(6px) drop-shadow(0 0 0 transparent); } 60% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
.mk-streak-sub { margin: .7em 0 0; font-size: clamp(.7rem, 2.1cqi, 1rem); font-weight: 600; letter-spacing: .08em; color: #ffe2b0; text-shadow: 0 1px 2px #000; }
@property --hp { syntax: '<number>'; inherits: false; initial-value: 100; }
.mk-plates { position: absolute; inset: 0; pointer-events: none; }
.plate { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 700 clamp(.45rem, 1.3cqi, .66rem)/1 var(--f-body); color: #ff5a4a; text-shadow: 0 1px 1px #000, 0 0 3px #000; white-space: nowrap; }
.plate i { --hp: 100; display: block; width: clamp(48px, 13cqi, 96px); height: clamp(4px, 1cqi, 7px); background: linear-gradient(90deg, #d01c1c calc(var(--hp) * 1%), rgba(0, 0, 0, .75) 0); border: 1px solid #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.plate::after { content: ""; width: clamp(40px, 11cqi, 80px); height: clamp(8px, 2cqi, 14px); margin-top: clamp(10px, 3cqi, 24px); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.plate.p1 { left: 9%; top: 55%; } .plate.p2 { left: 71%; top: 53%; } .plate.p3 { left: 40%; top: 63%; }
@container (max-width: 520px) { .plate span { display: none; } .mk-float .f-loot { display: none; } }
.mock-streak.is-active .plate.p1 i { animation: hp-drop 3.6s steps(6, end) infinite; }
.mock-streak.is-active .plate.p2 i { animation: hp-drop 5s steps(8, end) -1.8s infinite; }
.plate.is-dead { color: #9a9a9a; }
.plate.is-dead i { --hp: 0; }
@keyframes hp-drop { from { --hp: 100; } 85% { --hp: 0; } to { --hp: 0; } }
.mk-float { position: absolute; inset: 0; pointer-events: none; font-family: var(--f-head); font-weight: 800; }
.mk-float span { position: absolute; opacity: 0; text-shadow: 0 2px 2px #000, 0 0 8px rgba(0, 0, 0, .8); font-size: clamp(.7rem, 2.6cqi, 1.3rem); }
.mk-float .f-crit { left: 58%; top: 61%; color: #ffd100; font-size: clamp(.9rem, 3.6cqi, 1.8rem); }
.mk-float .f-xp { left: 20%; top: 65%; color: #c79bff; }
.mk-float .f-hit { left: 33%; top: 58%; color: #fff; }
.mk-float .f-loot { left: 68%; top: 67%; color: #a335ee; font-family: var(--f-body); font-size: clamp(.55rem, 1.7cqi, .85rem); }
.mock-streak.is-active .mk-float span { animation: float-up 2.6s ease-out infinite; }
.mock-streak.is-active .mk-float .f-xp { animation-delay: .7s; }
.mock-streak.is-active .mk-float .f-hit { animation-delay: 1.3s; }
.mock-streak.is-active .mk-float .f-loot { animation-delay: 1.9s; animation-duration: 3.2s; }
@keyframes float-up { 0% { opacity: 0; transform: translateY(10px) scale(.7); } 12% { opacity: 1; transform: translateY(0) scale(1.1); } 22% { transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-46px); } }
.mk-hud { position: absolute; left: 50%; bottom: 7%; width: min(56%, 420px); transform: translateX(-50%); text-align: center; }
.mk-hud-label { margin: 0 0 4px; font: 800 clamp(.55rem, 1.6cqi, .78rem)/1 var(--f-head); letter-spacing: .16em; color: var(--gold-hi); text-shadow: 0 1px 2px #000; }
.mk-hud-label span { color: #e8dcc8; font-weight: 600; }
.mk-power { position: relative; height: clamp(12px, 3.2cqi, 18px); border: 1px solid #000; outline: 1px solid rgba(212, 162, 76, .6); background: rgba(0, 0, 0, .7); overflow: hidden; }
.mk-power i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(180deg, #ff9e57, #c7322b 60%, #7a1212); transition: width .5s var(--ease); }
.mock-streak.is-frenzy .mk-power i { background: linear-gradient(90deg, #c7322b, #ff7a2e, #ffc861, #ff7a2e, #c7322b); background-size: 200% 100%; animation: frenzy 1.2s linear infinite; box-shadow: 0 0 16px rgba(255, 122, 46, .7); }
@keyframes frenzy { to { background-position: -200% 0; } }
.mk-power span { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(.5rem, 1.5cqi, .7rem); font-weight: 800; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 1px #000, 0 0 3px #000, 0 0 6px #000; }
.mk-xp { position: relative; height: clamp(6px, 1.6cqi, 9px); margin-top: 3px; background: rgba(0, 0, 0, .7); border: 1px solid #000; }
.mk-xp i { position: absolute; inset: 0 36% 0 0; background: linear-gradient(90deg, #6a2fb0, #a86ae8); }
.mk-xp span { position: absolute; right: 0; top: calc(100% + 3px); font-size: clamp(.5rem, 1.3cqi, .66rem); color: #d7c8b3; }
.mk-classline { display: flex; justify-content: center; gap: 1.2em; margin: 1.3em 0 0; font-size: clamp(.5rem, 1.4cqi, .7rem); font-weight: 700; color: #e8dcc8; text-shadow: 0 1px 2px #000; }
.mk-c-ok { color: #9be27a; }
.mk-c-warn { color: #ff8a5a; }

/* WoW-ähnliche Fenster */
.wow-panel { position: relative; width: min(84%, 560px); background: rgba(11, 8, 6, .93); border: 1px solid var(--gold-lo); box-shadow: 0 0 0 1px #000, 0 20px 40px rgba(0, 0, 0, .7), inset 0 0 30px rgba(158, 27, 27, .12); font-size: clamp(.58rem, 1.75cqi, .84rem); }
.wow-title { display: flex; align-items: center; gap: .6em; padding: .55em .8em; background: linear-gradient(180deg, rgba(158, 27, 27, .55), rgba(60, 12, 10, .6)); border-bottom: 1px solid var(--gold-lo); font: 700 1.05em/1 var(--f-head); letter-spacing: .06em; color: var(--gold-hi); }
.wow-title img, .wow-title .ic { width: 1.6em; height: 1.6em; }
.wow-x { margin-left: auto; font-style: normal; color: #c9a36a; font-size: 1.2em; line-height: 1; }
.wow-tabs { display: flex; gap: 2px; padding: .5em .8em 0; border-bottom: 1px solid rgba(212, 162, 76, .25); }
.wow-tab { padding: .4em .9em; border: 1px solid rgba(212, 162, 76, .25); border-bottom: 0; background: rgba(31, 23, 17, .8); color: var(--muted); font-size: 1em; font-weight: 600; }
.wow-tab.is-on { color: var(--gold-hi); background: linear-gradient(180deg, rgba(212, 162, 76, .22), rgba(31, 23, 17, .9)); border-color: var(--gold-lo); }
.wow-tab:hover { color: var(--gold-hi); }
.wow-body { padding: .6em .8em; min-height: 11.5em; }
.wow-table { width: 100%; border-collapse: collapse; }
.wow-table th { text-align: left; padding: .35em .4em; font-weight: 700; color: var(--gold); border-bottom: 1px solid rgba(212, 162, 76, .25); }
.wow-table td { padding: .35em .4em; color: #d9d0c2; border-bottom: 1px solid rgba(255, 255, 255, .04); white-space: nowrap; }
.wow-table td:first-child { font-weight: 700; }
.wow-table .dot { width: .6em; height: .6em; margin-right: .45em; vertical-align: 0; }
.wow-table .dot-on { box-shadow: 0 0 6px 1px rgba(255, 122, 46, .7); animation: none; }
.gold { color: var(--gold-hi) !important; }
.wow-events li { display: flex; flex-wrap: wrap; gap: .3em .8em; padding: .55em 0; border-bottom: 1px solid rgba(255, 255, 255, .05); color: #e8dcc8; }
.wow-events b { color: var(--gold-hi); min-width: 5.5em; }
.wow-events em { margin-left: auto; font-style: normal; color: var(--muted); }
.wow-week li { display: flex; align-items: center; gap: .8em; padding: .55em 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 1.1em; }
.wow-week em { margin-left: auto; font-style: normal; color: #e8dcc8; }
.wow-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4em 1em; padding: .5em .8em; border-top: 1px solid rgba(212, 162, 76, .25); color: var(--muted); }
.wow-foot b { color: var(--gold-hi); }

/* AFK */
.mock-afk { justify-content: space-between; background: rgba(0, 0, 0, .55); }
.afk-sparks { position: absolute; inset: 0; pointer-events: none; }
.afk-sparks i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffb070; box-shadow: 0 0 8px 2px rgba(255, 122, 46, .8); animation: spark 7s linear infinite; opacity: 0; }
.afk-sparks i:nth-child(1) { left: 8%; animation-delay: 0s; } .afk-sparks i:nth-child(2) { left: 18%; animation-delay: 2.1s; animation-duration: 9s; }
.afk-sparks i:nth-child(3) { left: 29%; animation-delay: 4s; } .afk-sparks i:nth-child(4) { left: 41%; animation-delay: 1s; animation-duration: 8s; }
.afk-sparks i:nth-child(5) { left: 52%; animation-delay: 3.3s; } .afk-sparks i:nth-child(6) { left: 63%; animation-delay: 5.2s; animation-duration: 10s; }
.afk-sparks i:nth-child(7) { left: 71%; animation-delay: .6s; } .afk-sparks i:nth-child(8) { left: 80%; animation-delay: 2.8s; animation-duration: 8.5s; }
.afk-sparks i:nth-child(9) { left: 88%; animation-delay: 4.6s; } .afk-sparks i:nth-child(10) { left: 95%; animation-delay: 1.7s; animation-duration: 9.5s; }
@keyframes spark { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(30px, -110cqi); opacity: 0; } }
.afk-top, .afk-bottom { position: relative; width: 100%; display: flex; align-items: center; gap: 1em; padding: .8em 1.2em; background: linear-gradient(180deg, rgba(11, 8, 6, .95), rgba(21, 16, 12, .92)); border-block: 1px solid var(--gold-lo); font-size: clamp(.56rem, 1.7cqi, .84rem); color: #d9d0c2; }
.afk-top { justify-content: space-between; }
.afk-pulse { font: 900 1.6em/1 var(--f-head); letter-spacing: .12em; color: var(--blood-hi); animation: afk-pulse 2s ease-in-out infinite; }
@keyframes afk-pulse { 50% { opacity: .45; text-shadow: 0 0 14px rgba(199, 50, 43, .9); } }
.afk-tiles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; width: min(78%, 520px); margin-top: auto; margin-bottom: 1em; font-size: clamp(.56rem, 1.7cqi, .84rem); }
.afk-tiles div { padding: .6em .4em; text-align: center; background: rgba(11, 8, 6, .85); border: 1px solid rgba(212, 162, 76, .35); }
.afk-tiles b { display: block; font: 800 1.4em/1.1 var(--f-head); color: var(--gold-hi); }
.afk-tiles small { font-size: .85em; color: var(--muted); letter-spacing: .08em; }
.afk-bottom { justify-content: space-between; padding-block: 1em; }
.afk-who { display: flex; flex-direction: column; gap: .2em; }
.afk-who b { font: 800 1.5em/1 var(--f-head); }
.afk-who small { color: var(--muted); font-size: .9em; }
.afk-logo { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.afk-logo img { width: 4.4em; height: 4.4em; animation: breathe 4s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255, 122, 46, .45)); }
@keyframes breathe { 50% { transform: scale(1.07); filter: drop-shadow(0 0 18px rgba(255, 122, 46, .75)); } }
.afk-logo span { font-size: .9em; font-style: italic; color: #e8cf9a; min-height: 1.3em; transition: opacity .4s; }
.afk-timer { text-align: right; }
.afk-timer small { display: block; color: var(--muted); font-size: .85em; letter-spacing: .12em; text-transform: uppercase; }
.afk-timer b { font: 800 2.3em/1 var(--f-head); color: var(--text); font-variant-numeric: tabular-nums; }

/* Guide */
.mk-guidewin { overflow: hidden; }
.guide-nav { display: flex; flex-wrap: wrap; gap: .3em; padding: .6em .8em; border-bottom: 1px solid rgba(212, 162, 76, .2); }
.guide-nav span { padding: .3em .7em; border: 1px solid rgba(212, 162, 76, .22); color: var(--muted); font-weight: 600; }
.guide-nav .is-on { color: #fff0dc; border-color: var(--blood-hi); background: rgba(158, 27, 27, .45); }
.guide-steps { position: relative; z-index: 1; padding: .5em .8em .8em; }
.guide-steps li { display: flex; align-items: center; gap: .7em; padding: .42em .2em; color: #d9d0c2; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.guide-steps li i { display: grid; place-items: center; width: 1.5em; height: 1.5em; flex: none; font-style: normal; font-weight: 800; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.guide-steps b { min-width: 5.2em; font-weight: 700; color: var(--muted); }
.guide-steps .done { color: #8b8176; }
.guide-steps .done i { color: #5fd35f; background: rgba(95, 211, 95, .12); }
.guide-steps .now { color: #fff; }
.guide-steps .now b { color: var(--blood-hi); }
.guide-steps .now i { color: #ffd100; background: rgba(255, 209, 0, .14); animation: afk-pulse 1.6s ease-in-out infinite; }
.guide-steps .next b { color: var(--gold-hi); }
.guide-steps .next i { color: var(--gold-hi); }
.guide-watermark { position: absolute; right: -4%; bottom: -8%; width: 45%; height: auto; aspect-ratio: 1; color: rgba(199, 156, 110, .08); z-index: 0; }

/* Termine im Spiel */
.mock-events { justify-content: flex-start; }
.mk-warn { margin-top: 12%; text-align: center; }
.mk-warn-title { margin: 0; font: 900 clamp(1rem, 4.8cqi, 2.4rem)/1 var(--f-head); letter-spacing: .06em; color: #ffd36a; text-shadow: 0 2px 0 #2a0505, 0 0 18px rgba(255, 180, 60, .6); animation: warn-pulse 1.8s ease-in-out infinite; }
@keyframes warn-pulse { 50% { transform: scale(1.04); } }
.mk-warn-sub { margin: .6em 0 0; font-size: clamp(.6rem, 2cqi, .95rem); font-weight: 600; color: #fff; text-shadow: 0 1px 3px #000; }
.mk-chat { position: absolute; left: 3%; bottom: 5%; width: min(66%, 520px); padding: .6em .8em; background: rgba(0, 0, 0, .45); font-size: clamp(.55rem, 1.65cqi, .8rem); line-height: 1.5; text-shadow: 0 1px 1px #000; }
.mk-chat p { margin: 0 0 .15em; color: #ffc69c; }
.c-wms { margin-right: .4em; }
.c-g { color: var(--gold); } .c-r { color: var(--blood-hi); }
.mk-chat p b { font-weight: 700; }
.c-guild { color: #40ff40 !important; }
.c-sys { color: #ffff66 !important; }
.mk-toast { position: absolute; right: 3%; top: 16%; display: flex; align-items: center; gap: .6em; padding: .7em 1em; font-size: clamp(.55rem, 1.6cqi, .8rem); font-weight: 600; color: var(--gold-hi); background: rgba(11, 8, 6, .92); border: 1px solid var(--gold-lo); box-shadow: 0 8px 20px rgba(0, 0, 0, .6); animation: toast-in 1s var(--ease-out) .8s both; }
.mk-toast .ic { width: 1.4em; height: 1.4em; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } }

/* weitere Funktionen */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: clamp(26px, 4vw, 40px) 0 clamp(48px, 7vw, 80px); }
.feature { display: flex; flex-direction: column; gap: .3rem; padding: 18px 16px; border: 1px solid rgba(212, 162, 76, .12); background: rgba(21, 16, 12, .6); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.feature .ic { width: 26px; height: 26px; color: var(--gold); margin-bottom: .3rem; transition: transform .4s var(--ease), color .3s; }
.feature b { font: 700 .98rem/1.25 var(--f-head); color: var(--gold-hi); }
.feature span { font-size: .84rem; line-height: 1.5; color: var(--muted); }
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(31, 23, 17, .85); }
.feature:hover .ic { transform: scale(1.15) rotate(-6deg); color: var(--blood-hi); }

.addon-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.dl-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px); background: radial-gradient(ellipse at 50% 0%, rgba(158, 27, 27, .3), transparent 65%), var(--card-bg); }
.dl-crest { position: relative; width: 190px; margin-bottom: .6rem; }
.dl-crest::before { content: ""; position: absolute; inset: -18% -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 46, .26), rgba(158, 27, 27, .12) 60%, transparent); animation: aura 5s ease-in-out infinite; }
.dl-crest img { position: relative; width: 100%; height: auto; }
.dl-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--gold-hi); }
.dl-title span { color: var(--text); font-weight: 600; font-size: .7em; letter-spacing: .04em; }
.dl-meta { margin: .5rem 0 1.4rem; color: var(--muted); font-size: .9rem; }
.dl-hint { display: block; margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
.dl-starter { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(212, 162, 76, .15); }
.dl-starter .dl-hint { max-width: 32em; }
.changelog { width: 100%; margin-top: 1.4rem; text-align: left; border-top: 1px solid rgba(212, 162, 76, .15); }
.changelog summary { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .9rem 0 .4rem; cursor: pointer; list-style: none; font: 700 .95rem/1 var(--f-head); color: var(--gold-hi); letter-spacing: .04em; }
.changelog summary::-webkit-details-marker { display: none; }
.changelog-count { margin-left: .5em; font: 500 .75rem/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
.changelog-count:empty { display: none; }
.changelog summary::after { content: ""; width: 8px; height: 8px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s; }
.changelog[open] summary::after { transform: rotate(-135deg); }
.changelog ul { display: grid; gap: .45rem; padding: .6rem 0 0; }
.changelog li { position: relative; padding-left: 1.2em; font-size: .9rem; color: #ddd2c1; }
.changelog li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blood-hi); transform: rotate(45deg); }

.steps { display: grid; gap: 12px; counter-reset: st; }
.steps li { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 14px 18px 14px 66px; border: 1px solid rgba(212, 162, 76, .12); background: rgba(21, 16, 12, .6); counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 14px; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; font: 800 1.05rem/1 var(--f-head); color: #1c1106; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.steps b { font: 700 1rem/1.3 var(--f-head); color: var(--gold-hi); letter-spacing: .02em; }
.steps span { font-size: .9rem; color: var(--muted); }
.commands { margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(212, 162, 76, .12); background: linear-gradient(180deg, rgba(212, 162, 76, .06), transparent); }
.commands-title { margin: 0 0 .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.commands dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 6px 18px; margin: 0; }
.commands dl div { display: flex; align-items: baseline; gap: .7em; font-size: .88rem; }
.commands dt { flex: none; }
.commands dd { margin: 0; color: var(--muted); }
.addon-tip { margin-top: 14px; padding: 18px 20px; border: 1px solid rgba(212, 162, 76, .12); background: linear-gradient(180deg, rgba(212, 162, 76, .04), transparent); }
.addon-tip p:not(.commands-title) { margin: 0 0 1rem; font-size: .88rem; color: var(--muted); }
.addon-tip b { color: var(--text); }

.sync { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(48px, 7vw, 80px); padding: clamp(24px, 4vw, 48px); background: radial-gradient(ellipse at 100% 50%, rgba(212, 162, 76, .08), transparent 60%), var(--card-bg); }
.sync-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sync-text > p:not(.sec-kicker) { color: #ddd2c1; }
.sync-privacy { display: flex; gap: .8em; align-items: flex-start; padding: 12px 16px; border-left: 3px solid var(--ok); background: rgba(134, 207, 94, .07); color: #d9e8cf !important; font-size: .93rem; }
.sync-privacy .ic { width: 22px; height: 22px; color: var(--ok); margin-top: .1em; }
.steps-4 { margin: 1.4rem 0; }
.sync-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sync-dl .dl-hint { margin: 0; }
.sync-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: .3rem; width: min(100%, 240px); padding: 16px; text-align: center; border: 1px solid var(--line-strong); background: rgba(11, 8, 6, .8); }
.flow-node .ic, .flow-node img { width: 34px; height: 34px; color: var(--gold-hi); }
.flow-node b { font: 700 1rem/1.2 var(--f-head); color: var(--gold-hi); }
.flow-node small { font-size: .8rem; color: var(--muted); }
.flow-node-mid { border-color: var(--blood-hi); background: radial-gradient(circle, rgba(158, 27, 27, .35), rgba(11, 8, 6, .85) 70%); box-shadow: 0 0 30px -8px rgba(199, 50, 43, .6); }
.flow-node-mid .ic { color: #fff0dc; }
.flow-link { position: relative; display: grid; grid-template-columns: 1fr 10px 10px 1fr; align-items: center; column-gap: 6px; height: 62px; width: min(100%, 240px); }
.flow-link i { align-self: stretch; justify-self: center; width: 2px; background-size: 2px 12px; }
.flow-link .fl-down { background-image: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); animation: flow 1s linear infinite; }
.flow-link .fl-up { background-image: repeating-linear-gradient(180deg, var(--blood-hi) 0 6px, transparent 6px 12px); animation: flow 1s linear infinite reverse; }
@keyframes flow { to { background-position: 0 12px; } }
.flow-link span { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.flow-link .fl-l { justify-self: end; color: var(--gold); }
.flow-link .fl-l::after { content: " ↓"; }
.flow-link .fl-r { justify-self: start; color: var(--blood-text); }
.flow-link .fl-r::before { content: "↑ "; }

@media (max-width: 960px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .sc-tab { flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
  .sc-tab:hover { transform: none; }
  .addon-grid, .sync { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .game { aspect-ratio: 4 / 3.4; }
  .sc-tab { width: 210px; padding: 12px; }
  .sc-tab small { display: none; }
  .wow-panel { width: 94%; }
  .mk-chat { width: 94%; }
  .afk-tiles { width: 92%; }
  .mk-toast { top: 11%; }
  .mk-warn { margin-top: 26%; }
  .wow-table th:nth-child(3), .wow-table td:nth-child(3) { display: none; }
}

/* ==========================================================================
   10 · Bewerbung
   ========================================================================== */
.section-bewerbung { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(158, 27, 27, .22), transparent 70%); overflow: hidden; }
/* Wasserzeichen: das Gildenwappen, kaum sichtbar hinter dem Formular */
.section-bewerbung::before {
  content: ""; position: absolute; left: 50%; top: clamp(260px, 30vw, 380px); width: min(1100px, 130vw); aspect-ratio: 932 / 850; transform: translateX(-50%); pointer-events: none;
  background: url("/assets/img/art/emblem-480.webp") center / contain no-repeat;
  opacity: .07; filter: saturate(.6);
}
.section-bewerbung > .wrap { position: relative; }
.recruit { max-width: 1000px; margin: 0 auto clamp(30px, 4vw, 44px); }
.recruit-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-bottom: 18px; text-align: center; }
.recruit-status { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .5em 1.1em; font: 700 .9rem/1.2 var(--f-head); letter-spacing: .06em; border: 1px solid var(--line-strong); background: rgba(21, 16, 12, .8); color: var(--gold-hi); }
.recruit-status.is-open { border-color: rgba(134, 207, 94, .5); color: #c9efb1; }
.recruit-status.is-open .dot { background: var(--ok); box-shadow: 0 0 10px 2px rgba(134, 207, 94, .7); }
.recruit-status.is-closed { border-color: rgba(199, 50, 43, .5); color: #f2b3a8; }
.recruit-status.is-closed .dot { background: var(--blood-hi); }
.recruit-note { margin: 0; color: var(--muted); font-size: .95rem; }
.recruit-grid { display: grid; grid-template-columns: repeat(var(--cols, 9), minmax(0, 1fr)); gap: 8px; }
.rc { --cc: var(--gold); position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 14px 6px 12px; text-align: center; border: 1px solid rgba(212, 162, 76, .12); background: rgba(21, 16, 12, .7); transition: transform .3s var(--ease), border-color .3s; }
.rc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cc) 50%, transparent); }
.rc .ic { width: 30px; height: 30px; color: var(--cc); }
.rc-name { font-size: .74rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.rc-state { display: inline-flex; align-items: center; gap: .35em; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lamp { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4a3f36; flex: none; }
.lamp-hoch { background: var(--ok); box-shadow: 0 0 10px 2px rgba(134, 207, 94, .7); }
.lamp-mittel { background: var(--warn); box-shadow: 0 0 10px 2px rgba(240, 180, 60, .55); }
.lamp-niedrig { background: #e0703a; box-shadow: 0 0 8px 1px rgba(224, 112, 58, .45); }
.lamp-geschlossen { background: #6e2020; box-shadow: inset 0 0 0 1px rgba(199, 50, 43, .7); }
.rc.st-hoch { border-color: rgba(134, 207, 94, .35); background: linear-gradient(180deg, rgba(134, 207, 94, .08), rgba(21, 16, 12, .75)); }
.rc.st-hoch .rc-state { color: #b6e59b; }
.rc.st-mittel .rc-state { color: #f3cd82; }
.rc.st-niedrig .rc-state { color: #eea27d; }
/* geschlossen: Symbol und Rahmen gedimmt, Schrift bleibt lesbar (kein opacity auf dem Text) */
.rc.st-geschlossen { border-style: dashed; background: rgba(21, 16, 12, .4); }
.rc.st-geschlossen .ic { opacity: .4; filter: grayscale(.6); }
.rc.st-geschlossen .rc-name { color: var(--muted); }
.rc-only { margin-top: -.2rem; font-size: .6rem; font-weight: 700; letter-spacing: .03em; color: var(--cc-text, var(--cc)); }
.recruit-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.recruit-legend li { display: inline-flex; align-items: center; gap: .45em; }

.apply { max-width: 1000px; margin: 0 auto; padding: clamp(22px, 4vw, 48px); }
.apply-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 3.5vw, 36px); }
.fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.fs-legend { display: flex; align-items: center; gap: .7em; margin: 0 0 1rem; padding: 0; font: 700 1.12rem/1.2 var(--f-head); color: var(--gold-hi); letter-spacing: .03em; }
.fs-legend label { cursor: pointer; }
.fs-num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; font-size: .85rem; color: #1c1106; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.req { color: var(--blood-hi); }
.opt { font: 500 .8rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.row-2-wide { gap: clamp(26px, 3.5vw, 36px) clamp(22px, 4vw, 44px); }
.field { display: flex; flex-direction: column; min-width: 0; }
.field > label { margin-bottom: .45rem; font-size: .88rem; font-weight: 600; color: #e6dccc; }
.hint { margin: .4rem 0 0; font-size: .78rem; color: var(--muted); }
.err { margin: .35rem 0 0; min-height: 0; font-size: .82rem; font-weight: 600; color: #ff8f7f; }
.err:empty { display: none; }
.is-invalid input[type="text"], .is-invalid textarea { border-color: var(--blood-hi) !important; box-shadow: 0 0 0 3px rgba(199, 50, 43, .18); }
.is-invalid .class-tiles, .is-invalid .role-tiles, .is-invalid .race-tiles { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.is-valid input[type="text"] { border-color: rgba(134, 207, 94, .55); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field-foot { display: flex; justify-content: space-between; gap: 1em; align-items: flex-start; }
.counter { margin-top: .4rem; margin-left: auto; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--warn); }

.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile-in { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; height: 100%; padding: 16px 8px 12px; text-align: center; border: 1px solid rgba(212, 162, 76, .18); background: rgba(11, 8, 6, .7); transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.tile-in .ic { width: 34px; height: 34px; color: var(--cc, var(--gold)); transition: transform .35s var(--ease), filter .3s; }
.tile-in b { font-size: .86rem; font-weight: 650; color: #e6dccc; }
.tile-in small { font-size: .72rem; color: var(--muted); }
.tile:hover .tile-in { border-color: color-mix(in srgb, var(--cc, var(--gold)) 55%, transparent); transform: translateY(-2px); }
.tile:hover .tile-in .ic { transform: scale(1.1); }
.tile input:focus-visible + .tile-in { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.tile input:checked + .tile-in { border-color: var(--cc, var(--gold)); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--cc, var(--gold)) 22%, transparent), rgba(11, 8, 6, .85) 75%); box-shadow: 0 0 0 1px var(--cc, var(--gold)), 0 0 24px -6px var(--cc, var(--gold)); }
.tile input:checked + .tile-in .ic { filter: drop-shadow(0 0 8px var(--cc, var(--gold))); transform: scale(1.12); }
.tile input:checked + .tile-in b { color: var(--cc-text, var(--cc, var(--gold-hi))); }
.tile input:checked + .tile-in::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; background: var(--cc, var(--gold)); transform: rotate(45deg); }
.class-tiles { display: grid; grid-template-columns: repeat(var(--cols, 9), minmax(0, 1fr)); gap: 8px; }
.class-tile .tile-in { padding-inline: 4px; }
.class-tile .tile-in b { font-size: .8rem; hyphens: manual; overflow-wrap: anywhere; line-height: 1.2; }
@media (max-width: 1000px) { .class-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .class-tiles[data-n="8"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .class-tiles, .class-tiles[data-n="8"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.class-tile .lamp { position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; }
/* Nur für ein Volk spielbar (z. B. Paladin = nur Untote) */
.tile-in .tile-only { font-size: .66rem; font-weight: 700; letter-spacing: .03em; line-height: 1.2; color: var(--cc-text, var(--gold-hi)); }
/* Für das gewählte Volk nicht spielbar: gesperrt, gestrichelt, Symbol gedimmt (Schrift bleibt lesbar) */
.class-tile.is-off { cursor: not-allowed; }
.class-tile.is-off .tile-in { border-style: dashed; border-color: rgba(212, 162, 76, .14); background: rgba(11, 8, 6, .35); }
.class-tile.is-off .tile-in .ic { opacity: .28; filter: grayscale(.85); }
.class-tile.is-off .tile-in b { color: var(--muted); }
.class-tile.is-off .lamp { opacity: .35; }
.class-tile.is-off:hover .tile-in { transform: none; border-color: rgba(212, 162, 76, .2); }
.class-tile.is-off:hover .tile-in .ic { transform: none; }
.hint-class { margin-top: .7rem; }
/* Neue Volk-Klasse-Kombination in WoW Forever (z. B. Untoter Paladin) */
.tile-new { display: none; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 2px 7px; font: 700 .58rem/1.3 var(--f-body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #1c1106; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 10px rgba(243, 211, 138, .45); white-space: nowrap; pointer-events: none; }
.class-tile.is-new .tile-new { display: block; }

/* Völker */
.race-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.race-tiles { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 8px; }
.race-tile .tile-in { padding: 18px 6px 14px; }
.race-tile .tile-in .ic { width: 44px; height: 44px; }
.race-tile .tile-in b { font-size: .9rem; hyphens: manual; overflow-wrap: anywhere; line-height: 1.2; }
.race-tile .tile-in small { letter-spacing: .02em; }
.race-tile:hover .tile-in { box-shadow: 0 0 22px -10px var(--cc); }
/* Passt nicht zur schon gewählten Klasse: abgeschwächt, bleibt aber wählbar */
.race-tile.is-dim .tile-in { border-style: dashed; }
.race-tile.is-dim .tile-in .ic { opacity: .38; filter: grayscale(.7); }
@media (max-width: 560px) {
  /* 3 + 2: sechs Halbspalten, damit die zweite Reihe mittig sitzt */
  .race-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .race-tile { grid-column: span 2; }
  .race-tile:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
  .race-tile .tile-in .ic { width: 38px; height: 38px; }
}

/* Namen: Vorname + Zweitname (+ Discord) */
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; }
@media (max-width: 900px) { .row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row-3 > .field:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 700px) { .row-3 { grid-template-columns: minmax(0, 1fr); } }
.name-preview { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em .6em; margin: 1rem 0 0; padding: .65em 1em; font-size: .86rem; color: var(--muted); border: 1px solid rgba(212, 162, 76, .14); border-left: 3px solid var(--gold-lo); background: rgba(11, 8, 6, .55); }
.name-preview[hidden] { display: none; }
.name-plate { font: 700 1.05rem/1.2 var(--f-head); letter-spacing: .02em; color: var(--cc-text, var(--gold-hi)); text-shadow: 0 0 12px rgba(0, 0, 0, .9), 0 0 18px color-mix(in srgb, var(--cc, var(--gold)) 35%, transparent); overflow-wrap: anywhere; }
.name-preview-meta { font-size: .78rem; color: var(--muted); }
.name-preview-meta:empty { display: none; }
.role-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.role-tile .tile-in { padding-block: 18px 14px; }

.level { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 18px; }
.level-out { grid-row: 1 / span 2; display: grid; place-items: center; width: 78px; height: 78px; font: 800 2rem/1 var(--f-head); color: var(--gold-hi); border: 1px solid var(--line-strong); background: radial-gradient(circle, rgba(158, 27, 27, .35), rgba(11, 8, 6, .8) 70%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.level input[type="range"] { --p: 0%; width: 100%; height: 30px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.level input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(90deg, var(--blood), var(--ember) var(--p), rgba(212, 162, 76, .15) var(--p)); border: 1px solid var(--line-strong); }
.level input[type="range"]::-moz-range-track { height: 8px; background: linear-gradient(90deg, var(--blood), var(--ember) var(--p), rgba(212, 162, 76, .15) var(--p)); border: 1px solid var(--line-strong); }
.level input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); border: 2px solid #1c1106; transform: rotate(45deg); box-shadow: 0 0 12px rgba(243, 211, 138, .6); }
.level input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); border: 2px solid #1c1106; border-radius: 0; transform: rotate(45deg); box-shadow: 0 0 12px rgba(243, 211, 138, .6); }
.level input[type="range"]:focus-visible { outline: none; }
.level input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff; outline-offset: 3px; }
.level input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid #fff; outline-offset: 3px; }
.level-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.time-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1.1em; border: 1px solid rgba(212, 162, 76, .25); background: rgba(11, 8, 6, .7); font-size: .9rem; font-weight: 600; color: #d8cbb8; transition: border-color .2s, background .2s, color .2s; }
.chip-check span::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--gold-lo); transform: rotate(45deg); transition: background .2s, border-color .2s; }
.chip-check:hover span { border-color: var(--gold); }
.chip-check input:checked + span { color: var(--gold-hi); border-color: var(--gold); background: rgba(212, 162, 76, .14); }
.chip-check input:checked + span::before { background: var(--gold-hi); border-color: var(--gold-hi); box-shadow: 0 0 8px var(--gold); }
.chip-check input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid rgba(212, 162, 76, .14); }
.field-check { flex: 1 1 380px; }
.check { display: flex; align-items: flex-start; gap: .8em; cursor: pointer; font-size: .9rem; color: #ddd2c1; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: .05em; border: 1px solid var(--gold); background: rgba(11, 8, 6, .8); transition: background .2s, box-shadow .2s; }
.check-box .ic { width: 16px; height: 16px; color: #1c1106; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.check input:checked + .check-box { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 12px rgba(243, 211, 138, .45); }
.check input:checked + .check-box .ic { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.is-invalid .check-box { border-color: var(--blood-hi); box-shadow: 0 0 0 3px rgba(199, 50, 43, .2); }
.btn-submit { flex: none; }
.btn-submit .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-submit.is-busy .spinner { display: inline-block; }
.btn-submit.is-busy .ic { display: none; }
.btn-submit.is-busy { pointer-events: none; opacity: .85; }
.form-alert { display: flex; gap: .8em; align-items: flex-start; padding: 14px 18px; border: 1px solid rgba(199, 50, 43, .55); border-left-width: 4px; background: rgba(158, 27, 27, .16); color: #ffd6cf; }
.form-alert .ic { width: 22px; height: 22px; color: var(--blood-hi); margin-top: .1em; }
.form-alert p { margin: 0; }
.form-alert b { color: #fff; }
.form-alert .btn .ic { width: 1.15em; height: 1.15em; margin: 0; color: currentColor; }
.form-alert-act { margin-top: .8em; }
.form-alert.is-info { border-color: rgba(212, 162, 76, .5); background: rgba(212, 162, 76, .1); color: #f6e7c8; }
.form-alert.is-info > .ic { color: var(--gold-hi); }

.apply-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.apply-success:focus { outline: none; }
.success-crest { position: relative; width: min(280px, 76vw); aspect-ratio: 932 / 850; margin-bottom: 1.2rem; }
.success-crest img { position: relative; width: 100%; height: 100%; animation: success-crest 1.2s var(--ease-out) both; filter: drop-shadow(0 0 26px rgba(255, 122, 46, .35)); }
@keyframes success-crest { 0% { opacity: 0; transform: scale(.3) rotate(-25deg); } 60% { opacity: 1; transform: scale(1.12) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
.success-burst { position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 90, .55), rgba(199, 50, 43, .25) 35%, transparent 65%); animation: burst 1.6s var(--ease-out) both, aura 5s ease-in-out 1.6s infinite; }
@keyframes burst { from { transform: scale(.2); opacity: 0; } 40% { opacity: 1; } }
.success-ring { position: absolute; inset: -10%; border-radius: 50%; border: 2px solid var(--gold-hi); animation: ring-out 1.4s var(--ease-out) .2s both; }
@keyframes ring-out { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.success-title { font-size: clamp(1.6rem, 4vw, 2.4rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .8s var(--ease-out) .5s both; }
.success-text { max-width: 520px; margin: 1rem auto .4rem; color: #ddd2c1; animation: rise .8s var(--ease-out) .65s both; }
.success-wink { color: var(--gold); font-style: italic; margin-bottom: 1.6rem; animation: rise .8s var(--ease-out) .8s both; }

@media (max-width: 900px) {
  .recruit-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
@media (max-width: 700px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .form-end { flex-direction: column; align-items: stretch; }
  .btn-submit { width: 100%; }
  .role-tile small { display: none; }
}
@media (max-width: 400px) {
  .tile-in b { font-size: .76rem; }
  .recruit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   11 · Footer
   ========================================================================== */
.footer { position: relative; padding: clamp(56px, 8vw, 90px) 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #0e0907, #070504); overflow: hidden; }
.footer-ember { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(158, 27, 27, .18), transparent 70%); }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 180px; height: 2px; margin-left: -90px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-brand img { width: auto; height: 80px; filter: drop-shadow(0 0 14px rgba(199, 50, 43, .25)); }
.footer-tag { margin: 0 0 0 .5rem; color: var(--muted); font-size: .9rem; }
/* Querverweis auf die Gründerin (SPEC §8a V7) */
.footer-founder { margin: 0 0 0 .5rem; font-size: .84rem; color: #c9bba8; }
.footer-founder a { color: var(--gold-hi); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(243, 211, 138, .35); transition: color .2s, border-color .2s; }
.footer-founder a:hover { color: #fff; border-bottom-color: var(--gold-hi); }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: .45em; padding: .5em .9em; font-size: .88rem; font-weight: 600; color: #d8cbb8; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer-links a:hover { color: var(--gold-hi); border-color: var(--line); }
.footer-links .ic { width: 1.1em; height: 1.1em; }
.footer-bottom { display: grid; gap: .4rem; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(212, 162, 76, .1); text-align: center; font-size: .8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal { color: #9a8b7e; font-size: .76rem; }
.footer-sync:empty { display: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: .8em; padding: 14px 16px; pointer-events: auto; font-size: .9rem; color: var(--text); background: rgba(21, 16, 12, .97); border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .9); animation: toast .45s var(--ease-out) both; }
.toast.is-out { animation: toast-out .35s ease-in forwards; }
.toast .ic { width: 20px; height: 20px; color: var(--gold); margin-top: .1em; }
.toast-error { border-left-color: var(--blood-hi); }
.toast-error .ic { color: var(--blood-hi); }
.toast p { margin: 0; flex: 1; }
.toast button { margin-left: auto; padding: 2px; border: 0; background: none; color: var(--muted); }
.toast button .ic { width: 16px; height: 16px; color: inherit; margin: 0; }
.toast button:hover { color: var(--text); }
@keyframes toast { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }

.noscript { margin: 40px auto; padding: 16px 20px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--gold-hi); text-align: center; }

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz, 404)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(50px, 8vw, 90px)) 0 clamp(36px, 5vw, 56px); text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(158, 27, 27, .3), transparent 70%), radial-gradient(ellipse 40% 40% at 50% 30%, rgba(212, 162, 76, .08), transparent 70%); }
.page-hero img { width: clamp(190px, 28vw, 250px); height: auto; margin: 0 auto .6rem; filter: drop-shadow(0 0 18px rgba(255, 96, 40, .2)); }
.legal { max-width: 820px; margin: 0 auto; padding: 0 0 clamp(70px, 10vw, 120px); }
.legal-card { padding: clamp(24px, 4vw, 48px); }
.legal h2 { margin: 2.2rem 0 .8rem; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--gold-hi); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; color: var(--gold); }
.legal p, .legal li { color: #ddd2c1; }
.legal ul { display: grid; gap: .45rem; margin: 0 0 1em; }
.legal ul li { position: relative; padding-left: 1.3em; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--blood-hi); transform: rotate(45deg); }
.legal address { font-style: normal; line-height: 1.9; }
.legal .note { padding: 14px 18px; border-left: 3px solid var(--gold); background: rgba(212, 162, 76, .07); font-size: .92rem; }
.legal .stand { margin-top: 2.4rem; font-size: .85rem; color: var(--muted); }
.legal .legal-link { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.1rem 0 1.4rem; }
.legal .legal-link .btn { white-space: normal; text-align: left; }
.legal .legal-link small { color: var(--muted); font-size: .82rem; word-break: break-all; }
.back-link { display: inline-flex; align-items: center; gap: .5em; margin-top: 2rem; }
.back-link .ic { transform: rotate(180deg); }

.page-404 { position: relative; min-height: min(100vh, 1200px); min-height: min(100svh, 1200px); display: grid; place-items: center; padding: calc(var(--nav-h) + 30px) var(--gutter) 60px; text-align: center; overflow: hidden; isolation: isolate; }
.page-404 .hero-bg { z-index: -1; }
/* feste Breite: Das Nachladen der Schrift verschiebt sonst den zentrierten Block samt Wappen (CLS) */
.page-404 > div:not(.hero-bg) { width: min(100%, 640px); }
.nf-code { margin: 0; font: 900 clamp(5rem, 22vw, 12rem)/.9 var(--f-head); letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(199, 50, 43, .5)); }
.nf-crest { width: clamp(220px, min(64vw, 34vh), 300px); height: auto; margin: 0 auto .7rem; animation: float 7s ease-in-out infinite, nf-tilt 6s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(255, 96, 40, .25)); }
@keyframes nf-tilt { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
.nf-title { margin: 1rem 0 .6rem; font-size: clamp(1.4rem, 3.6vw, 2.2rem); color: var(--gold-hi); }
.nf-text { max-width: 480px; margin: 0 auto 2rem; color: var(--muted); }

/* ==========================================================================
   Scroll-getriebene Extras (nur wo unterstützt)
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .divider::before, .divider::after { animation: line-grow linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .medal-disc { animation: medal-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .value-num { animation: num-drift linear both; animation-timeline: view(); }
  }
}
@keyframes line-grow { from { scale: 0 1; opacity: 0; } to { scale: 1 1; opacity: 1; } }
@keyframes medal-tilt { from { rotate: -14deg; scale: .85; } to { rotate: 0deg; scale: 1; } }
@keyframes num-drift { from { translate: 0 30px; } to { translate: 0 -30px; } }

/* ==========================================================================
   Weniger Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-inner, .crest-stage, .hero-ridge, .hero-img, .crest-ring { transform: none !important; }
  .hero-inner { opacity: 1 !important; }
  .embers { display: none; }
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .ticker-toggle, .sc-stop { display: none; }
  .js .classdist:not(.is-in) .seg, .js .board:not(.is-in) .wk-bar, .js .board:not(.is-in) .pod-block { transform: none; }
  .gbanner-sparks, .gbanner-sheen { display: none; }
  .gbanner-frame, .gbanner-img, .gbanner-stage:hover .gbanner-img { translate: none !important; scale: none !important; }
  .gbanner-glow { animation: none; }
}

@media print {
  .nav, .hero-bg, .scroll-hint, .toasts, .embers, .ticker, .showcase, body::before, .gbanner-glow, .gbanner-sparks, .gbanner-sheen, .gbanner-light { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Sync-Seite (3.1) */
.sync-page { display: grid; gap: clamp(18px, 3vw, 28px); }
.sync-steps { margin: 0 0 1.4rem; }
.sync-page textarea { font: 400 .78rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.sync-page .field { margin-bottom: 1rem; }
.sync-page .field input[type="text"] { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.sync-page .field small { margin-top: .4rem; font-size: .82rem; color: var(--muted); }
.sync-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-bottom: 1rem; }
.sync-result { margin: 0; font-size: .92rem; color: var(--muted); }
.sync-result[data-kind="ok"] { color: #7bd88f; }
.sync-result[data-kind="error"] { color: #ff8a73; }
.sync-page code { padding: .05em .35em; border: 1px solid rgba(212, 162, 76, .25); background: rgba(21, 16, 12, .8); color: var(--gold-hi); font-size: .92em; }

/* ==========================================================================
   12 · Gilden-Arsenal (/arsenal/ Rangliste, /arsenal/charakter/ Charakterseite)
   Alles unter .ars-… · Tooltip im WoW-Look unter .wtt-…
   ========================================================================== */
@keyframes ars-grow { from { transform: scaleX(0); } }
@keyframes ars-sheen { from { transform: translateX(-120%); } to { transform: translateX(260%); } }
@keyframes ars-breathe { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.04); } }
@keyframes ars-slot-in { from { opacity: 0; translate: -16px 0; } }
@keyframes ars-slot-in-r { from { opacity: 0; translate: 16px 0; } }
@keyframes ars-pop { from { opacity: 0; scale: .55; } }
@keyframes ars-next { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 170, 70, 0), 0 0 14px 2px rgba(255, 160, 60, .6); } 50% { box-shadow: 0 0 0 6px rgba(255, 170, 70, .14), 0 0 26px 8px rgba(255, 160, 60, .9); } }
@keyframes ars-qglow { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 10px -2px color-mix(in srgb, var(--q) 55%, transparent); } 50% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 18px 1px color-mix(in srgb, var(--q) 75%, transparent); } }

.ars-dim, .ars-dim-cell { color: var(--muted); }
.ars-stand { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.ars-stand .ic { width: 1.1em; height: 1.1em; color: var(--gold-lo); }
.ars-stand time { color: #cdbfa9; }

/* ---------- Kopf der Rangliste ---------- */
.ars-hero { --ah-top: clamp(18px, 3vw, 32px); --ah-img: clamp(118px, 14vw, 148px); isolation: isolate; padding: calc(var(--nav-h) + var(--ah-top)) 0 clamp(20px, 3vw, 30px); }
.ars-hero img { width: var(--ah-img); margin-bottom: .3rem; }
.ars-hero .sec-kicker { margin-bottom: .55rem; }
.ars-hero .divider { margin-top: .7rem; }
.ars-hero .sec-lead { margin-top: .8rem; max-width: 780px; }
/* Kopfbild: Kriegslager-Panorama (Codex, 02.11.2026), unten weich in den Seitengrund */
.ars-hero::before {
  background:
    linear-gradient(to bottom, rgba(11, 8, 6, .62) 0%, rgba(11, 8, 6, .38) 38%, rgba(11, 8, 6, .82) 78%, var(--bg) 100%),
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(158, 27, 27, .22), transparent 70%),
    url("/assets/img/arsenal-bg.webp") center 42% / cover no-repeat;
}
.ars-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .75; }
.ars-hero-rings {
  position: absolute; z-index: -1; left: 50%; pointer-events: none;
  top: calc(var(--nav-h) + var(--ah-top) + var(--ah-img) * .456);
  width: calc(var(--ah-img) * 1.55); aspect-ratio: 1; translate: -50% -50%;
}
.ars-hero-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(212, 162, 76, .32); animation: spin 90s linear infinite; }
.ars-hero-rings i + i { inset: 9%; border: 1px solid rgba(199, 50, 43, .28); box-shadow: inset 0 0 40px rgba(158, 27, 27, .25), 0 0 40px rgba(158, 27, 27, .15); animation-duration: 60s; animation-direction: reverse; }
.ars-page { padding-bottom: clamp(70px, 10vw, 120px); }
.ars-skel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }

/* ---------- Teaser (Blizzard liefert noch nichts) ---------- */
.ars-teaser { max-width: 980px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 48px); text-align: center; overflow: hidden; }
.ars-teaser > * { position: relative; }
.ars-seal { --sz: clamp(190px, 30vw, 240px); --r: calc(var(--sz) * .44); position: relative; display: grid; place-items: center; width: var(--sz); aspect-ratio: 1; margin: 0 auto 1.6rem; }
.ars-seal-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(212, 162, 76, .45); animation: spin 60s linear infinite; }
.ars-seal-ring-2 { inset: 26%; border: 2px solid rgba(199, 50, 43, .45); border-top-color: rgba(243, 211, 138, .75); box-shadow: inset 0 0 26px rgba(199, 50, 43, .3), 0 0 30px rgba(158, 27, 27, .25); animation-duration: 30s; animation-direction: reverse; }
/* die neun Klassen kreisen um das Siegel */
.ars-seal-orbit { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.ars-seal-orbit i { --cc: var(--gold); position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin: -16px; color: var(--cc); transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)); }
.ars-seal-orbit i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cc) 50%, transparent); background: rgba(11, 8, 6, .92); box-shadow: 0 0 12px -3px var(--cc); }
.ars-seal-orbit .ic { position: relative; width: 18px; height: 18px; animation: spin 90s linear infinite reverse; }
.ars-seal-wax { position: relative; display: grid; place-items: center; width: 36%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(circle at 38% 32%, #d4463b, #8e1712 58%, #5a0c09); color: var(--gold-hi); box-shadow: 0 0 0 5px rgba(11, 8, 6, .85), 0 0 0 6px var(--gold-lo), 0 0 36px rgba(199, 50, 43, .6), inset 0 -6px 12px rgba(0, 0, 0, .45); animation: ars-breathe 5s ease-in-out infinite; }
.ars-seal-wax .ic { width: 48%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.ars-teaser-title { max-width: 760px; margin: 0 auto .9rem; font-size: clamp(1.35rem, 3.2vw, 2.05rem); line-height: 1.2; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.ars-teaser-lead { max-width: 640px; margin: 0 auto 1.8rem; color: #cdbfa9; }
.ars-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.8rem; text-align: left; }
.ars-feats li { position: relative; display: grid; align-content: start; gap: .35rem; padding: 18px 18px 20px; border: 1px solid rgba(212, 162, 76, .16); background: rgba(11, 8, 6, .55); overflow: hidden; }
.ars-feats li::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(110deg, transparent, rgba(243, 211, 138, .07), transparent); animation: ars-sheen 5.5s ease-in-out infinite; animation-delay: var(--d, 0ms); pointer-events: none; }
.ars-feat-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .45rem; border: 1px solid var(--line-strong); background: rgba(21, 16, 12, .9); color: var(--gold-hi); transform: rotate(45deg) scale(.86); }
.ars-feat-ic .ic { width: 22px; height: 22px; transform: rotate(-45deg); }
.ars-feats b { font: 700 1rem/1.25 var(--f-head); color: var(--gold-hi); letter-spacing: .02em; }
.ars-feats span:last-child { font-size: .9rem; color: var(--muted); }
.ars-teaser-state { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .55em 1.1em; border: 1px solid rgba(255, 122, 46, .32); background: rgba(255, 122, 46, .07); border-radius: 99px; font-size: .88rem; color: #ffc9a3; }
.ars-teaser-hint { max-width: 520px; margin: 1.2rem auto .9rem; font-size: .9rem; color: var(--muted); }
.ars-teaser-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.ars-blz { margin-left: .4em; color: var(--gold); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ars-blz:hover, .ars-blz:focus-visible { text-decoration: underline; }
@media (max-width: 760px) {
  .ars-feats { grid-template-columns: minmax(0, 1fr); }
  .ars-skel { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Zahlen-Band ---------- */
.ars-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(36px, 5vw, 56px); perspective: 800px; }
.ars-band-tile { position: relative; display: grid; justify-items: center; gap: .3rem; padding: 18px 10px 16px; border: 1px solid var(--line); background: var(--card-bg); text-align: center; overflow: hidden; }
.ars-band-tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.ars-band-tile .ic { width: 24px; height: 24px; color: var(--gold); }
.ars-band-tile b { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--f-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ars-band-tile span { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .ars-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bildchen (Klassensymbol als Rückfall, Bild darüber) ---------- */
.ars-ava { --cc: var(--gold); position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cc) 55%, transparent); background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--cc) 22%, #15100c), #0b0806 75%); color: var(--cc); overflow: hidden; }
.ars-ava .ic { width: 56%; height: auto; aspect-ratio: 1; }
.ars-ava img, .ars-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.ars-ava img.is-loaded, .ars-portrait img.is-loaded { opacity: 1; }
.ars-ava-lg { width: 84px; height: 84px; box-shadow: 0 0 0 4px rgba(11, 8, 6, .85), 0 0 0 5px color-mix(in srgb, var(--cc) 45%, transparent), 0 0 34px -6px var(--cc); }

/* ---------- Podest ---------- */
.ars-podium-sec { margin-bottom: clamp(40px, 6vw, 64px); }
.ars-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.ars-pod-1 { order: 2; } .ars-pod-2 { order: 1; } .ars-pod-3 { order: 3; }
.ars-pod { --cc: var(--gold); }
.ars-pod-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 26px 16px 20px; border: 1px solid rgba(212, 162, 76, .2); color: var(--text); text-align: center; text-decoration: none; overflow: hidden; }
.ars-pod-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--cc), transparent); }
.ars-pod-card::after { content: ""; position: absolute; left: 50%; top: -60px; width: 220px; height: 220px; margin-left: -110px; background: radial-gradient(circle, color-mix(in srgb, var(--cc) 18%, transparent), transparent 70%); pointer-events: none; }
.ars-pod-card:hover { color: var(--text); }
.ars-pod-1 .ars-pod-card { padding-top: 44px; padding-bottom: 28px; border-color: var(--line-strong); box-shadow: 0 0 46px -16px rgba(243, 211, 138, .45), var(--shadow-deep); }
.ars-pod-place { position: absolute; top: 8px; left: 14px; font: 900 2.6rem/1 var(--f-head); color: rgba(212, 162, 76, .22); }
.ars-pod-1 .ars-pod-place { color: rgba(243, 211, 138, .55); text-shadow: 0 0 18px rgba(243, 211, 138, .35); }
.ars-pod-name { position: relative; font: 700 1.15rem/1.2 var(--f-head); color: var(--cc-text, var(--cc)); overflow-wrap: anywhere; }
.ars-pod-sub { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; color: var(--muted); }
.ars-pod-sub .ic { width: 1.1em; height: 1.1em; color: var(--cc); }
.ars-pod-ilvl { display: grid; margin-top: .2rem; }
.ars-pod-ilvl b { font: 800 2rem/1 var(--f-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ars-pod-ilvl small { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ars-short { display: none; }
@media (max-width: 760px) {
  .ars-podium { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ars-pod-1, .ars-pod-2, .ars-pod-3 { order: 0; }
  .ars-pod-card, .ars-pod-1 .ars-pod-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ava name ilvl" "ava sub ilvl"; align-items: center; gap: .15rem .85rem; padding: 14px 16px 14px 44px; text-align: left; }
  .ars-pod-card .ars-ava-lg { grid-area: ava; width: 52px; height: 52px; }
  .ars-pod-card .ars-pod-name { grid-area: name; align-self: end; font-size: 1.02rem; }
  .ars-pod-sub { grid-area: sub; align-self: start; }
  .ars-pod-ilvl { grid-area: ilvl; margin: 0; text-align: right; }
  .ars-pod-ilvl b { font-size: 1.5rem; }
  .ars-pod-ilvl .ars-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ars-pod-ilvl .ars-short { display: inline; }
  .ars-pod-place { top: 50%; left: 12px; translate: 0 -50%; font-size: 1.8rem; }
}

/* ---------- Rangliste ---------- */
.ars-rank-sec .sub-title, .ars-podium-sec .sub-title { margin-bottom: 1.1rem; }
.ars-tools { margin-bottom: 14px; }
.ars-count { margin-bottom: 12px; }
.ars-table-wrap { border: 1px solid var(--line); background: rgba(11, 8, 6, .6); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ars-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ars-table thead th { padding: 0; text-align: left; background: #17110d; border-bottom: 1px solid var(--line-strong); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.ars-table thead th > span, .ars-table thead th > button { display: flex; align-items: center; gap: .4em; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; }
.ars-table thead th > button:hover { color: var(--gold-hi); }
.ars-table thead th > button::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); opacity: .25; }
.ars-table thead th[aria-sort] > button { color: var(--gold-hi); }
.ars-table thead th[aria-sort] > button::after { opacity: 1; }
.ars-table thead th[aria-sort="ascending"] > button::after { transform: rotate(-135deg) translateY(-2px); }
.ars-table tbody tr { --cc: var(--gold); cursor: pointer; transition: background .25s; }
.ars-table tbody tr:hover, .ars-table tbody tr:focus-within { background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 12%, transparent), transparent 65%); }
.ars-table td, .ars-table tbody th { padding: 10px 12px; border-bottom: 1px solid rgba(212, 162, 76, .07); text-align: left; white-space: nowrap; font-weight: 400; font-variant-numeric: tabular-nums; }
.ars-table td.ars-pos { width: 1%; padding-right: 4px; }
.ars-table thead th.ars-pos > span { padding-right: 4px; }
/* 16.11.2026 (René: „man sieht kein Gear“): Die Tabelle passt immer in den Rahmen. Ein langes Volk („Himmelsgeborener der
   Windformer“) schob die letzte Spalte – die Gegenstandsstufe, nach der sortiert wird – aus dem Bild. Jetzt bricht das Volk
   um, die letzte Überschrift steht in zwei Zeilen, und bei schmalem Fenster wandern Volk und Gildenrang unter den Namen
   (Stufen weiter unten). Der Name darf als letzte Reserve umbrechen; overflow-x am Rahmen bleibt nur noch Notnagel. */
.ars-table tbody th.ars-who-cell { white-space: normal; }
.ars-table thead th.ars-c-ilvl > button { line-height: 1.35; padding-block: 6px; }
.ars-race { display: inline-block; max-width: 9em; white-space: normal; vertical-align: middle; }
.ars-who-meta { display: none; }
.ars-who-meta > span { display: none; }
.ars-place { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 32px; height: 32px; font: 700 .88rem/1 var(--f-head); color: var(--muted); }
.ars-place::before { content: ""; position: absolute; inset: 5px; z-index: -1; border: 1px solid rgba(212, 162, 76, .2); transform: rotate(45deg); }
.ars-place-1 { color: #1c1106; }
.ars-place-1::before { background: var(--gold-grad); border-color: var(--gold-hi); box-shadow: 0 0 12px rgba(243, 211, 138, .5); }
.ars-place-2 { color: #15171a; }
.ars-place-2::before { background: linear-gradient(180deg, #f2f4f6, #9aa3ad); border-color: #dfe4ea; }
.ars-place-3 { color: #1a0d03; }
.ars-place-3::before { background: linear-gradient(180deg, #f0b27a, #9c5a22); border-color: #e6a35f; }
.ars-who { display: inline-flex; align-items: center; gap: .75em; color: var(--cc-text, var(--cc)); text-decoration: none; font-weight: 650; }
.ars-who:hover { color: var(--cc-text, var(--cc)); }
.ars-who:hover b { text-decoration: underline; text-underline-offset: .2em; }
.ars-who-txt { display: grid; line-height: 1.25; }
.ars-who-txt small { font-size: .74rem; font-weight: 400; font-style: italic; color: #d9c7a6; }
/* width 0 + min-width 100 %: füllt die Namensspalte, macht sie aber nie breiter */
.ars-who-txt small.ars-who-meta { width: 0; min-width: 100%; font-style: normal; color: var(--muted); }
.ars-who-meta > span + span::before { content: "· "; }
.ars-cls { display: inline-flex; align-items: center; gap: .45em; color: var(--cc-text, var(--cc)); }
.ars-cls .ic { width: 1.15em; height: 1.15em; color: var(--cc); }
.ars-lvl { font: 700 1rem/1 var(--f-head); color: var(--gold-hi); }
.ars-spec { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: 3px 8px; min-width: 120px; }
.ars-spec b { font-weight: 600; color: var(--text); }
.ars-dist { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ars-distbar { grid-column: 1 / -1; display: flex; gap: 2px; height: 3px; }
.ars-distbar i { width: calc(var(--w, 0) * 1%); background: rgba(212, 162, 76, .3); }
.ars-distbar i.is-main { background: var(--gold); box-shadow: 0 0 6px rgba(243, 211, 138, .5); }
.ars-ilvl { display: grid; gap: 5px; min-width: 120px; }
.ars-ilvl b { font: 800 1.15rem/1 var(--f-head); color: var(--gold-hi); }
.ars-ilvl-bar { height: 4px; background: rgba(212, 162, 76, .1); overflow: hidden; }
.ars-ilvl-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, var(--blood), var(--ember), var(--gold-hi)); transform-origin: left; animation: ars-grow 1.1s var(--ease-out) both; }
@media (min-width: 861px) and (max-width: 1279px) {   /* Volk unter den Namen */
  .ars-table .ars-c-race { display: none; }
  .ars-who-txt small.ars-who-meta { display: block; }
  .ars-who-meta > .ars-meta-race { display: inline; }
}
@media (min-width: 861px) and (max-width: 1139px) {   /* … und der Gildenrang */
  .ars-table .ars-c-rank { display: none; }
  .ars-who-meta > .ars-meta-rank { display: inline; }
}
@media (min-width: 861px) and (max-width: 1019px) {   /* Punkte unter dem Baumnamen, engere Zellen */
  .ars-table .ars-spec { grid-template-columns: auto; min-width: 0; }
  .ars-ilvl { min-width: 96px; }
  .ars-table td, .ars-table tbody th { padding-inline: 8px; }
  .ars-table thead th > span, .ars-table thead th > button { padding-inline: 8px; }
  .ars-table td.ars-pos, .ars-table thead th.ars-pos > span { padding-right: 2px; }
}
@media (max-width: 860px) {
  .ars-table-wrap { border: 0; background: none; overflow: visible; }
  .ars-table, .ars-table tbody { display: block; }
  .ars-table thead { display: none; }
  .ars-table tbody tr { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 10px; padding: 12px 14px 12px 52px; border: 1px solid rgba(212, 162, 76, .16); background: var(--card-bg); overflow: hidden; }
  .ars-table tbody tr::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cc); opacity: .75; }
  .ars-table td, .ars-table tbody th { padding: 0; border: 0; white-space: normal; }
  .ars-table td.ars-pos { position: absolute; left: 10px; top: 16px; width: auto; }
  .ars-table .ars-who-cell { order: 1; flex: 1 1 calc(100% - 100px); min-width: 0; }
  .ars-table td[data-label="Ø Gegenstandsstufe"] { order: 2; }
  .ars-table td[data-label="Ø Gegenstandsstufe"] .ars-ilvl { min-width: 74px; text-align: right; }
  .ars-table td[data-label="Klasse"], .ars-table td[data-label="Volk"], .ars-table td[data-label="Stufe"], .ars-table td[data-label="Gildenrang"] { order: 3; font-size: .82rem; }
  .ars-table td[data-label="Volk"]::before, .ars-table td[data-label="Gildenrang"]::before { content: "·"; margin-right: 10px; color: var(--muted); }
  .ars-table td[data-label="Stufe"]::before { content: "· Stufe "; color: var(--muted); }
  .ars-table td[data-label="Stufe"] .ars-lvl { font-size: .82rem; }
  .ars-table td[data-label="Spielweise"] { order: 4; flex-basis: 100%; margin-top: 4px; }
  .ars-table .ars-spec { grid-template-columns: auto minmax(0, 1fr); width: min(100%, 260px); min-width: 0; }
}

/* ---------- Charakter: Kopf ---------- */
/* Flacher Streifen (16.11.2026): die Ausrüstung soll beim Öffnen ohne Scrollen zu sehen sein */
.ars-chero { --cc: var(--gold); position: relative; isolation: isolate; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + clamp(12px, 1.6vw, 16px)) 0 clamp(12px, 1.6vw, 16px); overflow: hidden; }
.ars-chero.is-msg { align-items: center; padding: calc(var(--nav-h) + clamp(26px, 5vw, 56px)) 0 clamp(36px, 5vw, 60px); }
.ars-chero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ars-chero-bg > * { position: absolute; inset: 0; }
.ars-chero-glow { background: radial-gradient(ellipse 55% 75% at 74% 42%, color-mix(in srgb, var(--cc) 20%, transparent), transparent 70%), radial-gradient(ellipse 70% 60% at 15% 0%, rgba(158, 27, 27, .38), transparent 70%), radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 122, 46, .1), transparent 70%), linear-gradient(180deg, #0b0806, #130c08 60%, var(--bg)); }
.ars-chero-render { left: 32%; }
.ars-chero-render img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0; transition: opacity 1.4s ease; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent); }
.ars-chero-render img.is-loaded { opacity: .8; }
.ars-chero-vignette { background: linear-gradient(180deg, rgba(11, 8, 6, .5), transparent 25%, transparent 65%, var(--bg)), linear-gradient(90deg, rgba(11, 8, 6, .75), transparent 60%); }
.ars-chero-inner { position: relative; }
.ars-chero-skel { max-width: 520px; min-height: 104px; }
.ars-chero-skel .skeleton-line { height: 2.4em; }
.ars-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55em; margin: 0 0 .55rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.ars-crumbs a { color: var(--gold); font-weight: 600; text-decoration: none; }
.ars-crumbs a:hover { color: var(--gold-hi); text-decoration: underline; }
.ars-chero-msg { max-width: 900px; margin: .75rem auto 0; }
.ars-chero-msg .empty .btn { margin-top: 1rem; }
.ic-back { transform: rotate(180deg); }
.ars-chero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(16px, 2.6vw, 30px); }
.ars-portrait { --cc: var(--gold); position: relative; display: grid; place-items: center; width: clamp(80px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--cc) 55%, var(--gold-lo)); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--cc) 24%, #1a120d), #0b0806 72%); color: var(--cc); box-shadow: 0 0 0 5px rgba(11, 8, 6, .85), 0 0 0 6px var(--line-strong), 0 0 44px -8px color-mix(in srgb, var(--cc) 70%, transparent); animation: rise .9s var(--ease-out) both; }
.ars-portrait img { border-radius: 50%; }
.ars-portrait-fb { display: grid; place-items: center; width: 100%; height: 100%; }
.ars-portrait-fb .ic { width: 46%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--cc) 60%, transparent)); }
.ars-portrait-ring { position: absolute; inset: -11px; border-radius: 50%; border: 1px dashed rgba(212, 162, 76, .4); animation: spin 80s linear infinite; pointer-events: none; }
.ars-portrait-lvl { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 5px; border-radius: 50%; border: 1px solid var(--line-strong); background: radial-gradient(circle, #2a1d12, #0e0906); font: 800 .92rem/1 var(--f-head); color: var(--gold-hi); box-shadow: 0 0 16px rgba(0, 0, 0, .85), 0 0 0 3px rgba(11, 8, 6, .9); }
.ars-ident { --cc: var(--gold); min-width: 0; animation: rise .9s var(--ease-out) .12s both; }
.ars-ident .sec-kicker { margin-bottom: .4rem; }
.ars-name { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: .04em; color: var(--cc-text, var(--cc)); text-shadow: 0 2px 0 rgba(0, 0, 0, .65), 0 0 34px color-mix(in srgb, var(--cc) 35%, transparent); overflow-wrap: anywhere; }
.ars-ctitle { margin: .2rem 0 0; font-style: italic; color: #d9c7a6; }
.ars-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3em 0; margin: .4rem 0 0; font-size: 1rem; }
.ars-meta > span + span::before { content: "·"; margin: 0 .65em; color: var(--muted); }
.ars-chero-side { --cc: var(--gold); display: grid; justify-items: end; gap: 8px; min-width: 0; animation: rise .9s var(--ease-out) .2s both; }
.ars-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; }
.ars-badges li { display: grid; align-content: start; min-width: 116px; padding: 7px 12px 8px; border: 1px solid var(--line); background: rgba(11, 8, 6, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ars-badges small { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ars-badges b { font: 700 1.05rem/1.3 var(--f-head); color: var(--gold-hi); }
.ars-badges .ars-badge-ilvl b { font-size: 1.35rem; line-height: 1.1; }
.ars-chero .ars-stand { margin-top: 0; justify-content: flex-end; }
@media (max-width: 1000px) {
  .ars-chero-grid { grid-template-columns: auto minmax(0, 1fr); }
  .ars-chero-side { grid-column: 1 / -1; justify-items: start; }
  .ars-badges, .ars-chero .ars-stand { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .ars-chero-render { left: 0; opacity: .55; }
  .ars-chero-side { justify-items: stretch; }
  .ars-ident .sec-kicker { font-size: .62rem; letter-spacing: .2em; }
  .ars-ident .sec-kicker::after { display: none; }
  .ars-meta { font-size: .92rem; }
  .ars-badges li { flex: 1 1 120px; min-width: 0; }
  .ars-badges small { letter-spacing: .1em; }
}

/* ---------- Charakter: Abschnitts-Leiste ---------- */
.ars-subnav { position: sticky; top: var(--nav-h); z-index: 60; border-block: 1px solid rgba(212, 162, 76, .14); background: rgba(11, 8, 6, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ars-subnav-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ars-subnav-inner::-webkit-scrollbar { display: none; }
.ars-subnav a { position: relative; flex: none; padding: .95em 1em; font: 600 .74rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #cdbfa9; text-decoration: none; }
.ars-subnav a::after { content: ""; position: absolute; left: 1em; right: 1em; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); transition: transform .35s var(--ease); }
.ars-subnav a:hover, .ars-subnav a.is-active { color: var(--gold-hi); }
.ars-subnav a:hover::after, .ars-subnav a.is-active::after { transform: scaleX(1); }
@media (max-width: 480px) {
  .ars-subnav-inner { justify-content: space-between; }
  .ars-subnav a { padding: .95em .55em; font-size: .68rem; letter-spacing: .08em; }
  .ars-subnav a::after { left: .55em; right: .55em; }
}

.ars-cbody { padding: 16px 0 clamp(70px, 10vw, 120px); }
.ars-sec { margin-bottom: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--nav-h) + 58px); }
.ars-sec .sub-title { margin-bottom: 1.1rem; }
#ausruestung .sub-title { margin-bottom: .55rem; }
/* Niedriges Fenster (1080p mit Lesezeichenleiste): Titel nur noch für Screenreader – die Leiste darüber nennt den Abschnitt schon */
@media (min-width: 901px) and (max-height: 960px) {
  #ausruestung .sub-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.ars-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0 clamp(18px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .ars-cols { grid-template-columns: minmax(0, 1fr); } }
.ars-stand-end { justify-content: center; margin-top: 0; }
.ars-cbody > .back-link { display: flex; width: max-content; margin: 1.6rem auto 0; }

/* ---------- Charakter: Ausrüstung (Charakterfenster) ---------- */
.ars-doll { padding: clamp(12px, 1.6vw, 16px); }
.ars-doll-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .82fr) minmax(0, 1fr); grid-template-areas: "l m r" "b b b"; gap: 12px clamp(12px, 2vw, 24px); }
.ars-slots { display: grid; gap: 6px; align-content: start; }
.ars-slots-left { grid-area: l; }
.ars-slots-right { grid-area: r; }
.ars-slots-bottom { grid-area: b; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 860px); justify-self: center; padding-top: 10px; border-top: 1px solid rgba(212, 162, 76, .1); }
.ars-slot {
  --q: #5a4d42; --qt: var(--muted);
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 3px 12px 3px 4px;
  border: 1px solid rgba(212, 162, 76, .1); background: linear-gradient(90deg, color-mix(in srgb, var(--q) 10%, rgba(11, 8, 6, .75)), rgba(11, 8, 6, .5) 75%);
  color: var(--text); font: inherit; text-align: left;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
  animation: ars-slot-in .6s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 38ms);
}
.ars-slot[data-side="right"] { flex-direction: row-reverse; padding: 3px 4px 3px 12px; text-align: right; background: linear-gradient(270deg, color-mix(in srgb, var(--q) 10%, rgba(11, 8, 6, .75)), rgba(11, 8, 6, .5) 75%); animation-name: ars-slot-in-r; }
.js .ars-doll:not(.is-in) .ars-slot { animation-play-state: paused; }
button.ars-slot:hover, button.ars-slot:focus-visible, button.ars-slot[aria-describedby] { border-color: color-mix(in srgb, var(--q) 60%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--q) 18%, rgba(11, 8, 6, .8)), rgba(11, 8, 6, .55) 80%); transform: translateX(3px); }
button.ars-slot[data-side="right"]:hover, button.ars-slot[data-side="right"]:focus-visible, button.ars-slot[data-side="right"][aria-describedby] { background: linear-gradient(270deg, color-mix(in srgb, var(--q) 18%, rgba(11, 8, 6, .8)), rgba(11, 8, 6, .55) 80%); transform: translateX(-3px); }
.ars-slot-ic { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 2px solid var(--q); border-radius: 4px; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--q) 32%, #1f1711), #0b0806 80%); color: color-mix(in srgb, var(--q) 70%, #fff); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 10px -2px color-mix(in srgb, var(--q) 55%, transparent); overflow: hidden; }
.ars-slot-ic .ic { width: 52%; height: auto; aspect-ratio: 1; opacity: .8; }
.ars-slot-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.ars-slot-ic img.is-loaded { opacity: 1; }
.ars-slot-ic::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 8px rgba(0, 0, 0, .75); pointer-events: none; }
.q-epic .ars-slot-ic, .q-legendary .ars-slot-ic { animation: ars-qglow 3.4s ease-in-out infinite; }
.ars-slot-txt { display: grid; min-width: 0; line-height: 1.28; }
.ars-slot-name { overflow: hidden; font-size: .9rem; font-weight: 650; color: var(--qt); text-overflow: ellipsis; white-space: nowrap; }
.ars-slot-meta { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.ars-slot-gs { color: #d9c7a6; }
.ars-slot-ench { overflow: hidden; font-size: .74rem; color: #4fe05a; text-overflow: ellipsis; white-space: nowrap; }
.ars-slot.is-empty { border-style: dashed; border-color: rgba(212, 162, 76, .12); background: rgba(11, 8, 6, .32); }
.ars-slot.is-empty .ars-slot-ic { border: 1px dashed rgba(212, 162, 76, .22); box-shadow: none; background: rgba(11, 8, 6, .5); color: rgba(212, 162, 76, .22); }
.ars-slot-none { font-size: .78rem; font-style: italic; color: #75685b; }
.ars-doll-mid { --cc: var(--gold); grid-area: m; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.ars-doll-fig { position: relative; display: grid; place-items: center; width: 100%; max-width: 244px; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: 140px 140px 6px 6px; background: radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--cc) 20%, transparent), transparent 68%), linear-gradient(180deg, #1c130d, #0b0806); box-shadow: inset 0 0 40px rgba(0, 0, 0, .8); }
.ars-doll-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; opacity: 0; transition: opacity 1s; }
.ars-doll-fig img.is-loaded { opacity: 1; }
.ars-doll-fig.has-img .ars-doll-sigil, .ars-doll-fig.has-img .ars-doll-runes { opacity: 0; }
.ars-doll-runes i { position: absolute; inset: 18% 6%; border-radius: 50%; border: 1px dashed rgba(212, 162, 76, .32); animation: spin 70s linear infinite; }
.ars-doll-runes i + i { inset: 27% 17%; border: 1px solid color-mix(in srgb, var(--cc) 35%, transparent); animation-duration: 46s; animation-direction: reverse; }
.ars-doll-sigil { position: relative; display: grid; place-items: center; width: 44%; aspect-ratio: 1; color: var(--cc); filter: drop-shadow(0 0 20px color-mix(in srgb, var(--cc) 70%, transparent)); animation: float-y 7s ease-in-out infinite; }
.ars-doll-sigil .ic { width: 100%; height: auto; aspect-ratio: 1; }
.ars-doll-sum { display: grid; justify-items: center; gap: 6px; }
.ars-doll-sum p { margin: 0; }
.ars-doll-ilvl { display: grid; }
.ars-doll-ilvl b { font: 800 2.3rem/1 var(--f-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(212, 162, 76, .25)); }
.ars-doll-ilvl small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ars-doll-count { font-size: .82rem; color: var(--muted); }
.ars-qchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ars-qchips li { display: inline-flex; align-items: center; gap: .45em; padding: .2em .65em; border: 1px solid color-mix(in srgb, var(--q) 38%, transparent); font-size: .76rem; color: var(--qt); }
.ars-qchips i { width: .6em; height: .6em; background: var(--q); transform: rotate(45deg); }
.ars-doll-hint { display: flex; align-items: center; justify-content: center; gap: .45em; font-size: .76rem; color: #8e8073; }
.ars-doll-hint .ic { width: 1em; height: 1em; color: var(--gold-lo); }
@media (max-width: 1040px) {
  .ars-doll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "m m" "l r" "b b"; }
  .ars-doll-mid { flex-direction: row; justify-content: center; gap: 24px; text-align: left; }
  .ars-doll-fig { width: 170px; flex: none; }
  .ars-doll-sum { justify-items: start; }
  .ars-qchips, .ars-doll-hint { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .ars-doll-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "m" "l" "r" "b"; gap: 8px; }
  .ars-doll-mid { gap: 16px; margin-bottom: 8px; }
  .ars-doll-fig { width: 112px; }
  .ars-doll-ilvl b { font-size: 1.9rem; }
  .ars-slot[data-side="right"] { flex-direction: row; padding: 6px 12px 6px 6px; text-align: left; background: linear-gradient(90deg, color-mix(in srgb, var(--q) 10%, rgba(11, 8, 6, .75)), rgba(11, 8, 6, .5) 75%); }
  .ars-slots-bottom { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .ars-slot { min-height: 56px; }
  .ars-slot.is-empty { min-height: 44px; padding-block: 4px; }
  .ars-slot.is-empty .ars-slot-ic { width: 34px; height: 34px; }
  .ars-slot.is-empty .ars-slot-txt { display: flex; gap: .6em; align-items: baseline; }
}

/* ---------- Tooltip im WoW-Look ---------- */
.ars-tip { position: fixed; left: 0; top: 0; z-index: 140; width: max-content; max-width: min(330px, calc(100vw - 20px)); opacity: 0; transition: opacity .14s; }
.ars-tip.is-on { opacity: 1; }
.wtt { display: grid; gap: 1px; padding: 10px 13px 11px; border: 1px solid #9a9aa8; border-radius: 5px; background: linear-gradient(180deg, rgba(16, 18, 44, .97), rgba(6, 7, 22, .97)); box-shadow: 0 0 0 1px #07070d, inset 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 38px -8px rgba(0, 0, 0, .95); font: 400 .84rem/1.42 var(--f-body); color: #fff; }
.wtt-name { margin-bottom: 1px; font-size: 1rem; font-weight: 650; line-height: 1.3; }
.wtt-talent { color: #fff; }
.wtt-ilvl { color: #ffd100; }
.wtt-row { display: flex; justify-content: space-between; gap: 22px; }
.wtt-dim { color: #b9b9c6; }
.wtt-green { color: #1eff00; }
.wtt-red { color: #ff5a4d; }
.wtt-row > span:last-child:not(:first-child) { text-align: right; }
.wtt-set { margin-top: 8px; color: #ffd100; }
.wtt-set-item { padding-left: 10px; color: #8a8a96; }
.wtt-set-item.is-on { color: #fff6b8; }
.wtt-set-bonus { color: #8a8a96; }
.wtt-set-bonus.is-on { color: #1eff00; }
.wtt-gap { height: 6px; }
.wtt-desc { margin-top: 4px; color: #ffd100; }
.wtt-desc + .wtt-ilvl, .wtt-set-bonus + .wtt-ilvl, .wtt-set-item + .wtt-ilvl, .wtt-set + .wtt-ilvl { margin-top: 4px; }
.wtt-spell { margin-top: 2px; color: #ffd100; }
.wtt-gem { color: #c7c7ff; }
.wtt-gem::before { content: "◆ "; color: #9a9aff; }
.wtt-plan { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgba(255, 255, 255, .1); color: #f3d38a; }
.wtt-plan + .wtt-plan { margin-top: 0; padding-top: 0; border: 0; }
.wtt-plan-off { color: #ff8a73; }
.wtt-plan-next { color: #ffc46b; }

/* ---------- Charakter: Werte ---------- */
.ars-stats, .ars-profs { padding: clamp(16px, 2.6vw, 26px); }
.ars-res { display: grid; gap: 8px; margin-bottom: 18px; }
.ars-resbar { --rb1: #1d7a28; --rb2: #0d4515; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .65); background: linear-gradient(180deg, var(--rb1), var(--rb2)); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -10px 16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(212, 162, 76, .15); overflow: hidden; }
.ars-resbar::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .16), transparent); animation: ars-sheen 4.5s ease-in-out infinite; pointer-events: none; }
.ars-resbar span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ars-resbar b { font: 700 1.05rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.ars-res-mana { --rb1: #1c55b8; --rb2: #0b2a62; }
.ars-res-rage { --rb1: #a8211c; --rb2: #560c0a; }
.ars-res-energy { --rb1: #8a6f00; --rb2: #463800; }
.ars-res-focus { --rb1: #a65a17; --rb2: #552b08; }
.ars-statgrps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.ars-statgrp h3 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(212, 162, 76, .16); font: 700 .7rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ars-statgrp dl { display: grid; margin: 0; }
.ars-statgrp dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 2px; border-bottom: 1px dotted rgba(212, 162, 76, .09); font-size: .9rem; transition: background .2s; }
.ars-statgrp dl > div:hover { background: rgba(212, 162, 76, .05); }
.ars-statgrp dt { color: #cdbfa9; }
.ars-statgrp dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text); }
.ars-statgrp .is-na dd { color: #75685b; }
@media (max-width: 480px) { .ars-statgrps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Charakter: Berufe ---------- */
.ars-proflist { display: grid; gap: 18px; }
.ars-prof-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ars-prof-top b { font: 700 1rem/1.2 var(--f-head); color: var(--gold-hi); }
.ars-prof-top span { font-weight: 700; font-variant-numeric: tabular-nums; }
.ars-prof-top small { font-weight: 400; color: var(--muted); }
.ars-prof-bar { position: relative; height: 14px; margin-top: 6px; border: 1px solid rgba(212, 162, 76, .32); background: rgba(11, 8, 6, .85); overflow: hidden; }
.ars-prof-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: linear-gradient(180deg, #ecc874, #b3822c 60%, #7a5418); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 12px rgba(243, 211, 138, .35); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease-out) .25s; }
.ars-prof.is-in .ars-prof-bar i, html.noreveal .ars-prof-bar i { transform: none; }
.ars-prof-rank { display: block; margin-top: 5px; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }

/* ---------- Charakter: Plan-Abgleich ---------- */
.ars-plan { margin-bottom: 18px; padding: clamp(16px, 2.6vw, 26px); }
.ars-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-bottom: 16px; }
.ars-plan-switch { flex-wrap: wrap; }
.ars-plan-switch .seg-btn small { margin-left: .15em; font-size: .78rem; font-weight: 700; color: var(--muted); }
.ars-plan-switch .seg-btn[aria-pressed="true"] small { color: inherit; }
.ars-plan-why { display: flex; align-items: center; gap: .45em; margin: 0; font-size: .82rem; color: var(--muted); }
.ars-plan-why .ic { width: 1.05em; height: 1.05em; color: var(--gold-lo); }
.ars-plan-title { display: grid; margin: 0 0 .35rem; }
.ars-plan-title small { font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blood-text); }
.ars-plan-title b { font: 700 clamp(1.15rem, 2.4vw, 1.5rem)/1.25 var(--f-head); color: var(--gold-hi); }
.ars-plan-line { margin: 0 0 .75rem; font-size: 1.04rem; }
.ars-plan-line b { color: var(--text); font-variant-numeric: tabular-nums; }
.ars-plan-line .ars-plan-next { color: #ffc46b; }
.ars-plan-line .ars-plan-done { color: var(--ok); }
.ars-plan-bar { position: relative; height: 12px; margin-bottom: 16px; border: 1px solid var(--line-strong); background: rgba(11, 8, 6, .85); overflow: hidden; }
.ars-plan-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: linear-gradient(90deg, var(--gold-lo), var(--gold) 60%, var(--gold-hi)); box-shadow: 0 0 14px rgba(243, 211, 138, .55); transform-origin: left; transition: transform 1.4s var(--ease-out) .2s; }
.ars-plan-bar::after { content: ""; position: absolute; inset: 0; width: 30%; background: linear-gradient(110deg, transparent, rgba(255, 248, 225, .35), transparent); animation: ars-sheen 3.6s ease-in-out infinite; pointer-events: none; }
.js .ars-plan:not(.is-in) .ars-plan-bar i { transform: scaleX(0); }
.ars-plan-facts { display: grid; gap: 7px; margin: 0 0 14px; }
.ars-plan-facts li { display: flex; align-items: flex-start; gap: .6em; font-size: .92rem; }
.ars-plan-facts .ic { width: 1.1em; height: 1.1em; margin-top: .22em; }
.ars-fact-done .ic { color: var(--gold); }
.ars-fact-off .ic { color: var(--blood-hi); }
.ars-fact-off b { color: #ff8a73; }
.ars-fact-ok .ic { color: var(--ok); }
.ars-fact-miss, .ars-fact-miss .ic { color: var(--muted); }
.ars-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: .78rem; color: var(--muted); }
.ars-legend li { display: inline-flex; align-items: center; gap: .5em; }
.lg { display: inline-block; width: 14px; height: 14px; border: 2px solid; border-radius: 3px; }
.lg-plan { border-color: var(--gold-hi); background: rgba(212, 162, 76, .3); }
.lg-off { border-color: #e0463c; background: rgba(199, 50, 43, .3); }
.lg-next { border-color: #ffb347; box-shadow: 0 0 8px 2px rgba(255, 160, 60, .75); }
.lg-todo { border: 1px dashed rgba(243, 211, 138, .65); }
.ars-steps { padding-top: 6px; border-top: 1px solid rgba(212, 162, 76, .12); }
.ars-steps summary { display: flex; align-items: center; gap: .55em; min-height: 44px; cursor: pointer; list-style: none; font: 600 .86rem/1.2 var(--f-head); letter-spacing: .06em; color: var(--gold-hi); }
.ars-steps summary::-webkit-details-marker { display: none; }
.ars-steps summary::after { content: ""; width: 7px; height: 7px; margin-left: .3em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.ars-steps[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ars-steps summary small { font-family: var(--f-body); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.ars-steps summary .ic { width: 1.1em; height: 1.1em; color: var(--gold); }
.ars-steps ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 16px; margin: 6px 0 4px; }
.ars-step { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "n name pts" "n tag tag"; gap: 0 8px; padding: 6px 8px; border-left: 2px solid rgba(212, 162, 76, .15); font-size: .84rem; }
.ars-step-n { grid-area: n; font: 700 .8rem/1.6 var(--f-head); color: var(--muted); }
.ars-step-name { grid-area: name; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ars-step-pts { grid-area: pts; color: var(--muted); font-variant-numeric: tabular-nums; }
.ars-step-tag { grid-area: tag; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ars-step.st-done { border-left-color: var(--gold); }
.ars-step.st-done .ars-step-tag { color: var(--gold); }
.ars-step.st-next { border-left-color: #ffb347; background: rgba(255, 160, 60, .08); }
.ars-step.st-next .ars-step-tag { color: #ffc46b; }
.ars-step.st-partial { border-left-color: var(--gold-lo); }
.ars-step.st-missing { border-left-color: #6f6255; }
.ars-step.st-missing .ars-step-name { color: var(--muted); font-style: italic; }
.ars-plan-note { display: flex; align-items: center; gap: .5em; margin: 12px 0 0; font-size: .82rem; font-style: italic; color: #d9b98a; }
.ars-plan-note .ic { width: 1.05em; height: 1.05em; color: var(--ember); }
.ars-plan-none { display: flex; align-items: flex-start; gap: .9em; padding: 14px 16px; border: 1px dashed rgba(212, 162, 76, .26); color: var(--muted); }
.ars-plan-none p { margin: 0; }
.ars-plan-none b { color: var(--gold-hi); }
.ars-plan-none .ic { width: 26px; height: 26px; flex: none; color: var(--gold-lo); }

/* ---------- Charakter: Talentbäume ---------- */
.ars-trees { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ars-tree { --cell-h: 96px; --tile: 50px; position: relative; padding: 14px 10px 6px; border: 1px solid var(--line); background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(212, 162, 76, .07), transparent 70%), linear-gradient(180deg, rgba(26, 19, 14, .96), rgba(11, 8, 6, .96)); box-shadow: var(--shadow-deep); transition: border-color .35s, box-shadow .35s; }
.ars-tree.is-plan { border-color: var(--line-strong); box-shadow: 0 0 44px -18px rgba(243, 211, 138, .5), var(--shadow-deep); }
.ars-tree-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; padding: 0 6px 10px; border-bottom: 1px solid rgba(212, 162, 76, .14); }
.ars-tree-head h3 { display: flex; align-items: center; gap: .5em; font-size: 1.05rem; color: var(--gold-hi); }
.ars-tree.is-plan .ars-tree-head h3::after { content: "Plan"; padding: .25em .55em; border: 1px solid var(--gold-lo); font: 700 .58rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ars-tree-pts b { font: 800 1.35rem/1 var(--f-head); color: var(--text); }
.ars-tree-pts small { margin-left: .35em; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ars-tree-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 7), var(--cell-h)); }
.ars-link { position: absolute; z-index: 0; background: #3b2f26; pointer-events: none; }
.ars-link.is-on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 7px rgba(243, 211, 138, .55); }
.ars-link-v { left: calc((var(--c) - .5) * 25% - 1.5px); top: calc((var(--r1) - 1) * var(--cell-h) + var(--tile)); width: 3px; height: calc((var(--r2) - var(--r1)) * var(--cell-h) - var(--tile)); }
.ars-link-h { top: calc((var(--r) - 1) * var(--cell-h) + var(--tile) / 2 - 1.5px); left: calc((var(--c1) - .5) * 25% + var(--tile) / 2); width: calc((var(--c2) - var(--c1)) * 25% - var(--tile)); height: 3px; }
.ars-link-h.ars-link-elbow { width: calc((var(--c2) - var(--c1)) * 25%); }
.ars-link-v.ars-link-elbow { top: calc((var(--r1) - 1) * var(--cell-h) + var(--tile) / 2); height: calc((var(--r2) - var(--r1)) * var(--cell-h) - var(--tile) / 2); }
.ars-node {
  position: relative; z-index: 1; grid-row: var(--r); grid-column: var(--c); justify-self: center; align-self: start;
  width: var(--tile); height: var(--tile); padding: 0; border: 2px solid #3f3229; border-radius: 7px;
  background: radial-gradient(circle at 35% 28%, #2b2119, #0d0907 80%); color: #7d6e60;
  font: 700 .95rem/1 var(--f-head); letter-spacing: .02em;
  transition: border-color .3s, box-shadow .3s, color .3s, transform .2s var(--ease), opacity .3s;
  animation: ars-pop .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 22ms);
}
.js .ars-tree.reveal:not(.is-in) .ars-node { animation-play-state: paused; }
.ars-node-ic { display: grid; place-items: center; width: 100%; height: 100%; }
/* echtes Talentsymbol (talentIcons); lädt es nicht, bleiben die Anfangsbuchstaben darunter */
.ars-node-ic img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; opacity: 0; transition: opacity .3s, filter .3s; }
.ars-node-ic img.is-loaded { opacity: 1; }
.ars-node-ic.has-img { color: transparent; }
.ars-node.is-zero .ars-node-ic img { filter: grayscale(1) brightness(.62); }
.ars-node.st-off .ars-node-ic img { filter: saturate(.75) sepia(.35) hue-rotate(-25deg); }
.ars-node-rank { position: absolute; right: -9px; bottom: -8px; min-width: 28px; padding: 2px 4px; border: 1px solid #3f3229; border-radius: 3px; background: #0b0806; font: 700 .64rem/1 var(--f-body); color: #a0917f; font-variant-numeric: tabular-nums; }
.ars-node-name { position: absolute; top: calc(100% + 9px); left: 50%; display: -webkit-box; width: 190%; max-width: 104px; translate: -50% 0; padding: 1px 3px; border-radius: 2px; background: rgba(13, 9, 7, .88); font: 500 .63rem/1.22 var(--f-body); letter-spacing: 0; color: #9d8f80; text-align: center; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; hyphens: auto; overflow-wrap: anywhere; pointer-events: none; }
.ars-node:hover, .ars-node:focus-visible, .ars-node[aria-describedby] { z-index: 3; transform: translateY(-2px) scale(1.06); }
.ars-node.is-zero { opacity: .66; }
.ars-node.is-locked { opacity: .4; filter: grayscale(.6); }
.ars-node.is-some, .ars-node.is-max { color: #f1e6d4; }
.ars-node.is-some .ars-node-rank { color: var(--ok); }
.ars-node.is-max .ars-node-rank { color: var(--gold-hi); }
.ars-node.is-some .ars-node-name, .ars-node.is-max .ars-node-name { color: #ddd0bd; }
/* ohne Plan: gesetzte Talente einfach hell */
.ars-node.st-set { border-color: #8fbf5e; box-shadow: 0 0 10px -3px rgba(143, 191, 94, .7); }
.ars-node.st-set.is-max { border-color: var(--gold-hi); box-shadow: 0 0 12px -3px rgba(243, 211, 138, .7); }
/* Plan-Abgleich: golden = laut Plan, rot = außerhalb, gestrichelt = kommt noch, Glühen = nächster Punkt */
.ars-node.st-plan { border-color: var(--gold); background: radial-gradient(circle at 35% 28%, #5c4422, #1a1108 80%); color: #fff3cf; box-shadow: 0 0 13px -2px rgba(243, 211, 138, .6), inset 0 0 10px rgba(243, 211, 138, .16); }
.ars-node.st-plan.is-max { border-color: var(--gold-hi); }
.ars-node.st-plan .ars-node-rank { border-color: var(--gold-lo); }
.ars-node.st-off { border-color: #e0463c; background: radial-gradient(circle at 35% 28%, #5c1e19, #1a0807 80%); color: #ffd6cf; box-shadow: 0 0 13px -2px rgba(224, 70, 60, .75); }
.ars-node.st-off .ars-node-rank { border-color: #7a1f1a; color: #ff8a73; }
.ars-node.st-off .ars-node-name { color: #ffb1a5; }
.ars-node.st-todo { border-style: dashed; border-color: rgba(243, 211, 138, .5); }
.ars-node.is-next { opacity: 1; filter: none; border-color: #ffb347; border-style: solid; color: #fff; animation: ars-pop .5s var(--ease-out) calc(var(--i, 0) * 22ms) both, ars-next 1.8s ease-in-out infinite; }
.ars-node.is-next .ars-node-rank { border-color: #b86e1c; color: #ffc46b; }
.ars-node.is-next .ars-node-name { color: #ffd9a8; }
@media (max-width: 1100px) {
  .ars-trees { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(300px, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
  .ars-tree { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .ars-trees { grid-auto-columns: 88%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .ars-tree { --cell-h: 84px; --tile: 44px; padding-inline: 6px; }
  .ars-node { font-size: .85rem; }
  .ars-node-name { font-size: .58rem; }
}

/* ---------- Scroll-Effekte (nur wo unterstützt, nie bei „weniger Bewegung“) ---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .ars-chero-render img.is-loaded { animation: ars-par linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
    .ars-chero-inner { animation: ars-lift linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .ars-band-tile { animation: ars-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes ars-par { to { translate: 0 16%; scale: 1.07; } }
@keyframes ars-lift { to { translate: 0 -46px; opacity: .55; } }
@keyframes ars-tilt { from { transform: rotateX(18deg); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ars-slot, .ars-node { animation: none !important; }
  .ars-node.is-next { box-shadow: 0 0 0 3px rgba(255, 170, 70, .25), 0 0 16px 3px rgba(255, 160, 60, .8); }
  .ars-plan-bar i, .ars-prof-bar i { transform: none !important; }
  .ars-feats li::after, .ars-resbar::after, .ars-plan-bar::after { display: none; }
}

/* Talentpläne: gemeinsames schwarzes Brett auf Startseite und im Planer. */
.section-planner { background: radial-gradient(ellipse at 50% 20%, #62391333, transparent 70%), var(--bg); }
.planner-invite { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; padding: clamp(18px, 3vw, 36px); }
.planner-emblem { width: 64px; height: 64px; color: var(--gold); }
.planner-invite h3, .planner-guild-title { color: var(--gold-hi); }
.planner-classes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.planner-classes a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 8px; color: var(--class-color); border: 1px solid var(--class-color); background: #0b0806cc; text-decoration: none; font-weight: 600; }
.planner-classes a:hover, .planner-classes a:focus-visible { background: #312418; outline: 2px solid var(--class-color); outline-offset: 3px; }
.planner-guild-title { margin-top: 36px; }
.guild-plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.guild-plan-list > p { grid-column: 1 / -1; }
.guild-plan-card { display: flex; flex-direction: column; align-items: start; gap: 12px; min-width: 0; padding: 24px; overflow-wrap: anywhere; }
.guild-plan-card h3 { color: var(--gold-hi); font-size: 1.2rem; }
.guild-plan-card p { margin: 0; }
.guild-plan-author { color: var(--muted); font-size: .875rem; }
.guild-plan-points { font-size: .95rem; color: var(--gold); }
.guild-plan-badge { padding: 3px 10px; border: 1px solid var(--gold); background: #6c481b44; color: var(--gold-hi); font-size: .875rem; }
.guild-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.planner-cta { margin-top: 28px; text-align: center; }
@media (max-width: 900px) { .guild-plan-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .planner-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .planner-classes a { font-size: .875rem; flex-direction: column; gap: 6px; } .planner-invite { grid-template-columns: 44px minmax(0, 1fr); } .planner-emblem { width: 40px; height: 48px; } }

/* ---------- HealDock-Kasten + Ideen & Wünsche (22.11.2026) ---------- */
.addon-tip-healdock { border-color: rgba(77, 224, 189, .22); background: linear-gradient(180deg, rgba(77, 224, 189, .06), transparent); }
.addon-tip-healdock .commands-title { color: #7de8cf; }
.addon-tip-healdock .dl-hint { margin: -.4rem 0 1rem; font-size: .8rem; }
.tip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ideas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 44px); background: radial-gradient(ellipse at 0% 0%, rgba(77, 224, 189, .06), transparent 55%), var(--card-bg); }
.ideas-text > p:not(.sec-kicker):not(.dl-hint) { color: #ddd2c1; }
.ideas-form .field { margin-bottom: 18px; }
.ideas-label { margin: 0 0 .45rem; font-size: .88rem; font-weight: 600; color: #e6dccc; }
.ideas-topics { display: flex; flex-wrap: wrap; gap: 10px; }
.ideas-form textarea { min-height: 120px; }
.ideas-form .form-end { padding-top: 16px; }
.ideas-success { padding: 28px 8px; text-align: center; }
.ideas-success-title { margin: 0 0 .5rem; font-family: var(--font-head, inherit); font-size: 1.35rem; color: var(--gold-hi); }
.ideas-success p:not(.ideas-success-title) { color: #ddd2c1; }
@media (max-width: 860px) { .ideas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- HealDock-Vorschau im Addon-Kapitel (23.11.2026) – nachgebaut, eigene Symbole ---------- */
.addon-col { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); min-width: 0; }
.hd-preview { margin: 0; padding: 18px 20px 16px; background: radial-gradient(ellipse at 50% 0%, rgba(77, 224, 189, .07), transparent 60%), var(--card-bg); }
.hd-preview .commands-title { color: #7de8cf; }
.hdp { --hdp-line: rgba(77, 224, 189, .28); width: min(100%, 360px); margin: 4px auto 14px; padding: 8px 8px 10px; background: rgba(8, 12, 14, .94); border: 1px solid rgba(160, 190, 200, .22); box-shadow: 0 14px 30px rgba(0, 0, 0, .6); font: 600 11px/1.2 var(--f-body, inherit); color: #e8eef0; }
.hdp-head { display: flex; align-items: center; gap: 6px; padding: 2px 2px 6px; }
.hdp-head b { margin-right: auto; font: 700 15px/1 var(--f-head); letter-spacing: .06em; color: #fff; }
.hdp-head b span { color: #7de8cf; }
.hdp-btn { padding: 3px 7px; font-style: normal; font-size: 10px; color: #cfe; background: #1a2b30; border: 1px solid rgba(160, 190, 200, .25); }
.hdp-mana { position: relative; display: flex; justify-content: space-between; height: 16px; padding: 0 6px; margin-bottom: 8px; align-items: center; background: #0d1626; border: 1px solid #1f3355; overflow: hidden; }
.hdp-mana i { position: absolute; inset: 0 auto 0 0; width: var(--v); background: linear-gradient(90deg, #2c5fd0, #3f7cf0); }
.hdp-mana span { position: relative; font-size: 10px; text-shadow: 0 1px 1px #000; }
.hdp-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 4px 4px 4px 7px; margin-bottom: 5px; background: rgba(6, 14, 19, .92); border-left: 3px solid var(--cls); }
.hdp-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hdp-name { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cls); }
.hdp-hp { position: relative; display: flex; align-items: center; gap: 4px; height: 15px; padding: 0 4px; background: #182127; overflow: hidden; }
.hdp-hp::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--hdpv); background: linear-gradient(90deg, #237a5f, #2a8a6b); }
.hdp-hp span, .hdp-hp em, .hdp-hp .hdp-own { position: relative; z-index: 2; }
.hdp-hp span { font-size: 10px; text-shadow: 0 1px 1px #000; }
.hdp-hp em { margin-left: auto; font-style: normal; font-size: 9px; color: #e8d38a; }
.hdp-heal { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--hdpv); width: var(--heal); background: rgba(130, 255, 200, .55); box-shadow: 0 0 8px rgba(130, 255, 200, .6); transform-origin: left; animation: hdp-heal 2.6s ease-in-out infinite; }
@keyframes hdp-heal { 0%, 12% { transform: scaleX(0); opacity: .3; } 45%, 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.hdp-own { display: inline-grid; place-items: center; width: 12px; height: 12px; margin-left: 30px; background: #1f5a3a; border: 1px solid #6fd39b; }
.hdp-own .ic { width: 9px; height: 9px; color: #c8ffe0; }
.hdp-mp { height: 3px; background: #0d1626; position: relative; }
.hdp-mp::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--mp, 0%); background: #3f6fe0; }
.hdp-mp.is-rage::before { width: 35%; background: #b8352c; }
.hdp-buffs { display: flex; gap: 2px; padding-top: 1px; }
.hdp-buffs i { display: grid; place-items: center; width: 13px; height: 13px; border: 1px solid rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hdp-buffs i::after { content: ""; position: absolute; inset: 0; background: conic-gradient(rgba(0, 0, 0, .55) var(--swipe, 0%), transparent 0); }
.hdp-buffs .ic { width: 9px; height: 9px; color: #fff; }
.b-fort { background: #8a6d2a; --swipe: 18%; }
.b-spirit { background: #2a5a9a; --swipe: 42%; }
.b-shadow { background: #5a2f7a; --swipe: 8%; }
.b-fire { background: #9a4a1a; --swipe: 63%; }
.hdp-quick { display: flex; gap: 3px; align-items: flex-start; }
.hdp-quick i { position: relative; display: grid; place-items: center; width: 26px; height: 30px; background: #0e1b22; border: 1px solid rgba(160, 190, 200, .25); font-style: normal; }
.hdp-quick .ic { width: 15px; height: 15px; }
.hdp-quick b { position: absolute; right: 2px; bottom: 1px; font-size: 9px; color: #ffd36a; text-shadow: 0 1px 1px #000; }
.q-heal .ic { color: #8ff0b0; } .q-renew .ic { color: #ffe08a; } .q-shield .ic { color: #9ad0ff; }
.hdp-quick .is-cast { border-color: #7de8cf; box-shadow: 0 0 10px rgba(125, 232, 207, .6); animation: hdp-cast 2.6s ease-in-out infinite; }
@keyframes hdp-cast { 0%, 10% { box-shadow: 0 0 0 rgba(125, 232, 207, 0); } 40%, 80% { box-shadow: 0 0 12px rgba(125, 232, 207, .7); } 100% { box-shadow: 0 0 0 rgba(125, 232, 207, 0); } }
.hdp-plus { color: #8fe; font-size: 16px; background: #123129 !important; }
.hdp-row.is-target { outline: 1px solid rgba(125, 232, 207, .35); }
.hdp-row.is-dispel { box-shadow: inset 0 0 0 2px #a8742a; }
.hdp-row.is-dispel .hdp-left::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: calc(100% - 132px); max-width: 230px; background: rgba(168, 116, 42, .28); pointer-events: none; }
.hdp-debuff { display: inline-grid; place-items: center; width: 14px; height: 14px; font-style: normal; font-size: 9px; color: #fff; background: #6b4a12; border: 1px solid #e0a64a; }
.hdp-pet { display: flex; align-items: center; gap: 8px; padding: 3px 4px 3px 7px; background: rgba(6, 14, 19, .92); border-left: 3px solid var(--cls); }
.hdp-pet .hdp-hp { flex: 1; height: 13px; justify-content: space-between; }
.hdp-pet small { font-size: 10px; color: #9fb3b8; white-space: nowrap; }
.hdp-legend { display: grid; gap: 7px; margin: 0 0 .6rem; padding: 0; list-style: none; font-size: .84rem; color: var(--muted); }
.hdp-legend li { display: flex; gap: 9px; align-items: flex-start; }
.hdp-legend b { color: var(--text); }
.hdp-legend i { flex: none; width: 12px; height: 12px; margin-top: .25em; border: 1px solid rgba(255, 255, 255, .2); }
.lg-heal { background: rgba(130, 255, 200, .7); }
.lg-dispel { background: #a8742a; }
.lg-buff { background: linear-gradient(90deg, #8a6d2a 33%, #2a5a9a 33% 66%, #5a2f7a 66%); }
.lg-quick { background: #0e1b22; box-shadow: inset 0 0 0 2px #7de8cf; }
.hd-preview figcaption .dl-hint { margin: 0; font-size: .76rem; }
.tip-curse { margin: -.3rem 0 0; font-size: .82rem; }
@media (prefers-reduced-motion: reduce) { .hdp-heal, .hdp-quick .is-cast { animation: none; } }
@media (max-width: 960px) {
  .addon-col { display: contents; }
  .addon-grid > .install { order: 2; }
  .hd-preview { order: 3; }
}

/* ==========================================================================
   Zusagen zu Terminen (Raid-Anmeldung, 24.11.2026) – Kader-Leiste, Namen, Formular in der Karte
   ========================================================================== */
.ev-squad { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(212, 162, 76, .12); }
.sq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .86rem; color: var(--muted); }
.sq-title { display: inline-flex; align-items: center; gap: .45em; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sq-title .ic { width: 1.1em; height: 1.1em; }
.sq-roles { display: inline-flex; gap: 14px; }
.sq-role { display: inline-flex; align-items: center; gap: .35em; color: var(--text); }
.sq-role .ic { width: 1.15em; height: 1.15em; color: var(--gold-lo); }
.sq-role b { font-variant-numeric: tabular-nums; }
.sq-sum { margin-left: auto; }
.sq-sum b { color: var(--gold-hi); }
.sq-bar { position: relative; height: 6px; margin-top: .6rem; background: rgba(212, 162, 76, .1); border: 1px solid rgba(212, 162, 76, .18); overflow: hidden; }
.sq-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--blood), var(--gold)); transition: width .6s var(--ease); }
.ev-squad.is-full .sq-bar i { background: linear-gradient(90deg, #5d8f3a, #9ccf6e); }
.sq-list { display: flex; flex-wrap: wrap; gap: 6px; margin: .75rem 0 0; padding: 0; list-style: none; }
.sq-chip { display: inline-flex; align-items: center; gap: .4em; max-width: 100%; padding: .28em .65em; font-size: .8rem; font-weight: 600; color: var(--cc-text, var(--text)); background: rgba(11, 8, 6, .7); border: 1px solid color-mix(in srgb, var(--cc, var(--gold)) 40%, transparent); border-left-width: 3px; border-left-color: var(--cc, var(--gold)); }
.sq-chip .ic { width: 1em; height: 1em; flex: none; color: var(--gold-lo); }
.sq-chip > span:not(.sr-only) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-chip i { font-style: normal; color: var(--gold-hi); }
.sq-chip em { font-style: normal; font-weight: 500; font-size: .74rem; color: var(--muted); max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-chip em::before { content: "· "; }
.sq-chip.is-vielleicht { border-style: dashed; border-left-style: solid; opacity: .85; }
.sq-chip.is-absage { opacity: .45; text-decoration: line-through; text-decoration-color: rgba(255, 143, 127, .7); }
.sq-empty { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.ev-squad.is-empty .sq-empty { margin: 0; }
.ev-signup { display: grid; gap: 14px; margin-top: 1rem; padding: 16px; border: 1px solid rgba(212, 162, 76, .22); background: rgba(11, 8, 6, .55); }
.ev-signup[hidden] { display: none; }
.ev-signup .hint { margin: 0; }
.sq-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.sq-choice .chip-check span { min-height: 40px; padding: .45em .95em; font-size: .86rem; }
.sq-choice .chip-check span .ic { width: 1.1em; height: 1.1em; color: var(--gold-lo); }
.sq-choice .chip-check span:has(.ic)::before { display: none; }
.ev-signup .is-invalid .sq-choice { animation: shake .4s; }
.ev-signup input[type="text"] { max-width: 420px; }
.sq-form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ev-signup .btn.is-busy { pointer-events: none; opacity: .8; }
.ev.is-saved .ev-squad { animation: sq-saved 1.6s var(--ease); }
@keyframes sq-saved { 0% { box-shadow: 0 0 0 0 rgba(156, 207, 110, 0); } 25% { box-shadow: 0 0 0 3px rgba(156, 207, 110, .45); } 100% { box-shadow: 0 0 0 0 rgba(156, 207, 110, 0); } }
@media (max-width: 600px) {
  .sq-sum { margin-left: 0; flex-basis: 100%; }
  .ev-signup { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ev.is-saved .ev-squad, .ev-signup .is-invalid .sq-choice { animation: none; } }
