/* 4Auroria – Gestaltung "Polarnacht" (Rebranding Oktober 2026, nur mit METIN2_ENABLED=false, ueber site.css/games.css).
   Idee: eine Winternacht unter dem Nordlicht. Kuehle Nachtblau-Flaechen, Licht kommt vom Himmel (Tuerkis/Violett),
   Gold nur fuer die wichtigste Handlung (Spielen) und Zahlen. Bilder stehen im Licht statt in Kaesten.
   Schriften (SIL OFL, selbst gehostet): Marcellus (Titel, gross, Satzschreibung), Barlow (Text), Barlow Condensed
   (nur Knoepfe/Kennzahlen). Keine style-Attribute (CSP): Effektfarben kommen per JS als --c (public/js/rb.js). */

@font-face { font-family: "Marcellus"; src: url("../fonts/Marcellus-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Marcellus"; src: url("../fonts/Marcellus-latinext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

body.rb {
  /* Farben */
  --night: #050913;
  --night-2: #0a1222;
  --night-3: #101a2e;
  --ice: #eaf1fa;
  --frost: #9aa8c0;
  --frost-2: #6f7d96;
  --aurora: #5cf2c4;
  --violet: #9c7bff;
  --ember: #f3c46a;
  --ember-hi: #ffe2a3;
  --ember-lo: #a8701e;
  --line: rgba(170, 200, 240, 0.12);
  --line-2: rgba(170, 200, 240, 0.22);
  --glass: rgba(12, 20, 38, 0.62);
  --ok: #7fe8b4;
  /* Rueckwaerts (site.css/games.css-Variablen) */
  --navy: var(--night); --navy-deep: var(--night); --panel: var(--night-2); --text: var(--ice); --muted: var(--frost);
  --accent: var(--aurora); --accent-hover: #9dfbe0; --gold: var(--ember); --gold-hi: var(--ember-hi);
  --line-soft: var(--line-2); --line-faint: var(--line); --aur1: var(--aurora);
  --panel-glass: rgba(12, 20, 38, 0.74); --field: rgba(6, 11, 22, 0.8); --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --gold-grad: linear-gradient(180deg, #ffe9b0 0%, #f3c46a 42%, #d99a35 100%);
  /* Schrift */
  --font-display: "Marcellus", "Raijin Display X", Georgia, serif;
  --font-deco: var(--font-display);
  --font-body: "Barlow", "Raijin Sans X", "Segoe UI", system-ui, sans-serif;
  --font-label: "Barlow Condensed", "Barlow", "Raijin Sans X", "Segoe UI", sans-serif;
  /* Form */
  --r-lg: 18px; --r: 12px; --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: var(--r); --radius-sm: var(--r-sm);
  color: var(--ice);
  font-family: var(--font-body);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
html:has(body.rb) { background: #050913; scrollbar-color: #2a3956 #050913; }
.rb ::selection { background: rgba(92, 242, 196, 0.35); color: #fff; }
.rb a { color: #9debd6; }
.rb a:hover { color: #fff; }
.rb h1, .rb h2, .rb h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.rb .muted, .rb .lead { color: var(--frost); }
.rb :focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; }
.rb kbd { color: var(--ice); background: rgba(92, 242, 196, 0.12); border-color: var(--line-2); }
.rb .wrap { max-width: 1240px; }
.rb main { overflow-x: clip; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Knoepfe ---------- */
.rb .btn { font-family: var(--font-label); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 10px; min-height: 46px; padding: 0 22px; transition: background .2s, box-shadow .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.rb .btn:active { transform: translateY(1px); }
.rb .btn--gold, .rb .btn--primary, .rb .btn--play, .rb .pbtn {
  color: #2b1704; text-shadow: none;
  background: linear-gradient(180deg, #ffe7a8 0%, #f3c46a 48%, #e0a443 100%);
  border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(120, 70, 10, 0.35), 0 8px 26px rgba(243, 180, 80, 0.28);
}
.rb .btn--gold:hover, .rb .btn--primary:hover, .rb .btn--play:hover, .rb .pbtn:hover {
  color: #1d0f02; background: linear-gradient(180deg, #fff1cc 0%, #ffd27f 48%, #eab055 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 0 rgba(120, 70, 10, 0.3), 0 10px 34px rgba(255, 196, 96, 0.45);
}
.rb .btn--play.is-soon, .rb .btn.is-disabled { filter: saturate(0.4) brightness(0.8); cursor: default; }
.rb .btn--glass, .rb .btn--ghost {
  color: var(--ice); background: rgba(16, 28, 52, 0.45); border: 1px solid rgba(190, 220, 255, 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.rb .btn--glass:hover, .rb .btn--ghost:hover, .rb .btn--ghost[aria-current="page"] { color: #fff; background: rgba(92, 242, 196, 0.12); border-color: rgba(92, 242, 196, 0.6); }
.rb .btn--line, .rb .btn--outline, .rb .btn--outline-gold { color: var(--ice); background: transparent; border: 1px solid var(--line-2); }
.rb .btn--line:hover, .rb .btn--outline:hover, .rb .btn--outline-gold:hover { color: #fff; border-color: var(--aurora); background: rgba(92, 242, 196, 0.08); }
.rb .btn--text { color: var(--frost); background: none; border: 0; }
.rb .btn--text:hover { color: #fff; }
.rb .btn--discord { color: #fff; background: #5865f2; border: 0; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3); }
.rb .btn--discord:hover { color: #fff; background: #6a76ff; }
.rb .btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.92rem; border-radius: 9px; }
.rb .btn--xl { min-height: 56px; padding: 0 30px; font-size: 1.1rem; border-radius: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ice) !important; text-decoration: none; border-bottom: 1px solid rgba(92, 242, 196, 0.45); padding: 4px 0; transition: gap .2s var(--ease), border-color .2s; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--aurora); border-right: 2px solid var(--aurora); transform: rotate(45deg); }
.link-arrow:hover { gap: 12px; border-color: var(--aurora); }

/* ---------- Kopfleiste ---------- */
.rb .site-header.rb-header { position: sticky; top: 0; background: rgba(5, 9, 19, 0.55); border-bottom: 1px solid transparent; box-shadow: none; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); transition: background .3s, border-color .3s; }
.rb.rb-home .site-header.rb-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(3, 6, 14, 0.7), rgba(3, 6, 14, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.rb .site-header.rb-header.is-solid { background: rgba(5, 9, 19, 0.82); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.rb .site-header__inner { min-height: 72px; max-width: 1360px; }
.rb-brand img { display: block; width: auto; height: 46px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); transition: opacity .3s; }
@media (min-width: 1241px) { .rb.rb-home .rb-header:not(.is-solid) .rb-brand img { opacity: 0; } }
.rb .site-nav__main a { font: 500 0.98rem/1 var(--font-body); letter-spacing: 0.01em; text-transform: none; color: #d6e0ee; padding: 10px 12px; border-radius: 8px; }
.rb .site-nav__main a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-shadow: none; }
.rb .site-nav__main a[aria-current="page"] { color: #fff; }
.rb .site-nav__main a[aria-current="page"]::after { content: ""; background: var(--aurora); height: 2px; left: 12px; right: 12px; bottom: 2px; border-radius: 2px; box-shadow: 0 0 10px var(--aurora); }
.rb .langmenu__btn { color: #d6e0ee; background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); border-radius: 9px; }
.rb .langmenu__btn:hover, .rb .langmenu[open] > .langmenu__btn { background: rgba(255, 255, 255, 0.08); }
.rb .langmenu__list { background: #0c1528; border-color: var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.rb .langmenu__item.is-current { background: rgba(92, 242, 196, 0.12); }
.rb .nav-toggle { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); border-radius: 10px; color: var(--ice); }
.rb-iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 38px; height: 38px; padding: 0 9px; border-radius: 9px; color: #c9cdff !important; border: 1px solid rgba(143, 151, 255, 0.35); background: rgba(88, 101, 242, 0.12); text-decoration: none; }
.rb-iconbtn:hover { color: #fff !important; background: rgba(88, 101, 242, 0.32); }
.rb-iconbtn__label { display: none; font: 600 0.95rem/1 var(--font-body); }
@media (min-width: 1241px) and (max-width: 1560px) {
  .rb .site-nav__main a { padding: 10px 8px; font-size: 0.94rem; }
  .rb-brand img { height: 40px; }
}
@media (max-width: 1240px) {
  .rb .site-nav { background: rgba(5, 9, 19, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .rb .site-nav__main { flex-direction: column; }
  .rb .site-nav__main a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.06rem; border-radius: 0; }
  .rb .site-nav__main a[aria-current="page"]::after { display: none; }
  .rb .site-nav__main a[aria-current="page"] { color: var(--aurora); }
  .rb-iconbtn__label { display: inline; }
  .rb-brand img { height: 38px; }
}

/* ---------- Abschnitte ---------- */
.sec, .rb-sec { position: relative; padding: 104px 0; }
.sec--page, .rb-sec--page { padding-top: 48px; }
.sec--tint, .rb-sec--band { background:
  radial-gradient(60% 50% at 0% 0%, rgba(92, 242, 196, 0.06), transparent 70%),
  radial-gradient(50% 60% at 100% 100%, rgba(156, 123, 255, 0.07), transparent 70%),
  linear-gradient(180deg, #08101f, #060b17);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 0 56px; }
.sec-head h2, .rb-head h2 { margin: 0 0 16px; font: 400 clamp(2.2rem, 4.6vw, 3.6rem)/1.05 var(--font-display); color: #f4f8fd; letter-spacing: -0.005em; text-wrap: balance; }
.sec-head__lead, .rb-lead { margin: 0; color: var(--frost); font-size: 1.15rem; line-height: 1.6; max-width: 62ch; }
.sec__more, .rb-more { margin: 40px 0 0; }
.sec__note, .rb-note { margin: 28px 0 0; color: var(--frost); max-width: 70ch; }
.rb-eyebrow { margin: 0 0 8px; font: 600 0.95rem/1.2 var(--font-body); color: var(--aurora); }
.rb-card { position: relative; background: linear-gradient(180deg, rgba(18, 28, 50, 0.72), rgba(10, 17, 32, 0.72)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.rb-card h3 { color: #f4f8fd; font-size: 1.3rem; margin-top: 0; }
.ctarow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 36px; }
.ctarow p { margin: 0 12px 0 0; max-width: 46ch; }

/* ---------- Hero: Nordlicht-Himmel ---------- */
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0; animation: rb-ping 2.4s ease-out infinite; }
@keyframes rb-ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.trailer-btn__play { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.trailer-btn__play::after { content: ""; position: absolute; left: 17px; top: 14px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.trailer-btn:hover .trailer-btn__play { background: rgba(92, 242, 196, 0.2); border-color: var(--aurora); }
.trailer { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8); }
.trailer::backdrop { background: rgba(2, 4, 10, 0.86); }
.trailer video { display: block; width: 100%; height: auto; }
.trailer__close { position: absolute; right: 10px; top: 8px; z-index: 2; width: 40px; height: 40px; font-size: 1.8rem; color: #fff; background: rgba(0, 0, 0, 0.5); border: 0; border-radius: 50%; cursor: pointer; }
@keyframes rb-rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Klassen-Buehne ---------- */
.cls { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: stretch; }
.cls__stage { position: relative; isolation: isolate; min-height: 600px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(70% 60% at 35% 75%, #13284a 0%, #0a1426 55%, #070d1b 100%); border: 1px solid var(--line); }
.cls__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/4story/rb/hero-sky-1400.webp") 50% 0 / cover no-repeat; opacity: 0.35; mix-blend-mode: screen; }
.cls__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; z-index: 1; background: linear-gradient(180deg, transparent, rgba(5, 9, 19, 0.9)); pointer-events: none; }
.cls__glow { position: absolute; left: 8%; bottom: 4%; width: 58%; height: 30%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(92, 242, 196, 0.32), transparent 70%); filter: blur(20px); z-index: -1; }
.cls__panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
.rb-js .cls__panel { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.rb-js .cls__panel.is-active { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
html:not(.rb-js) .cls__panel { position: relative; }
html:not(.rb-js) .cls__stage { display: grid; }
.cls__art { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-top: 28px; }
.cls__art img { max-height: 560px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 0 1px rgba(150, 255, 225, 0.45)) drop-shadow(-10px -4px 26px rgba(92, 242, 196, 0.2)) drop-shadow(0 30px 30px rgba(0, 0, 0, 0.7)); transform: translateY(14px); transition: transform .8s var(--ease); }
.cls__panel.is-active .cls__art img { transform: none; }
.cls__info { position: relative; z-index: 2; padding: 40px 48px 56px 8px; align-self: center; }
.cls__role { margin: 0 0 10px; font: 600 0.98rem/1.3 var(--font-body); color: var(--aurora); }
.cls__name { margin: 0 0 18px; font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--font-display); color: #fff; }
.cls__text { margin: 0; color: #cdd8e8; font-size: 1.1rem; line-height: 1.65; max-width: 40ch; }
.cls__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; align-content: center; }
.cls__tab { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; width: 100%; padding: 10px 14px 10px 10px; text-align: left; color: var(--ice); background: transparent; border: 1px solid transparent; border-radius: 14px; cursor: pointer; transition: background .25s, border-color .25s; }
.cls__tab:hover { background: rgba(255, 255, 255, 0.04); }
.cls__tab.is-active { background: linear-gradient(90deg, rgba(92, 242, 196, 0.12), rgba(92, 242, 196, 0.02)); border-color: rgba(92, 242, 196, 0.35); }
.cls__face, .podium__cls { position: relative; overflow: hidden; grid-row: span 2; width: 56px; height: 56px; border-radius: 12px; background: radial-gradient(circle at 50% 30%, #1b2d4f, #0a1324); border: 1px solid var(--line-2); }
.cls__face img, .podium__cls img { position: absolute; left: 50%; top: -2%; width: 200%; max-width: none; height: auto; transform: translateX(-50%); }
.cls__face--warrior img { width: 230%; top: -1%; }
.cls__face--assassin img { width: 150%; top: -2%; left: 46%; }
.cls__face--archer img { width: 250%; top: -4%; left: 42%; }
.cls__face--mage img { width: 210%; top: -14%; left: 54%; }
.cls__face--priest img { width: 260%; top: -3%; }
.cls__face--summoner img { width: 200%; top: -10%; left: 56%; }
.cls__tab.is-active .cls__face { border-color: rgba(92, 242, 196, 0.7); box-shadow: 0 0 18px rgba(92, 242, 196, 0.25); }
.cls__tabname { font: 400 1.3rem/1.1 var(--font-display); }
.cls__tabrole { font-size: 0.9rem; color: var(--frost); }

/* ---------- Effekt-Werkstatt ---------- */
.sec--fx { overflow: hidden; }
.sec--fx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 30% 55%, rgba(30, 50, 90, 0.35), transparent 70%); }
.fx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fx__stage { --c: #5cf2c4; position: relative; isolation: isolate; height: 640px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 70% at 50% 100%, #111c33 0%, #080e1c 60%, #060a15 100%); border: 1px solid var(--line); }
.fx__light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 46% at 50% 54%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), radial-gradient(60% 20% at 50% 96%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); transition: background .6s; }
.fx__disc { position: absolute; left: 22%; right: 22%; bottom: 34px; height: 46px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(200, 225, 255, 0.16), transparent 72%); box-shadow: 0 0 60px color-mix(in srgb, var(--c) 18%, transparent); }
.fx__photo { position: absolute; left: 0; right: 0; bottom: 44px; height: calc(100% - 92px); width: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.7)); transition: opacity .25s; }
.fx__photo.is-swap { opacity: 0.35; }
.fx.is-3d .fx__photo { visibility: hidden; }
.fx__3d { position: absolute; inset: 0; z-index: 2; cursor: grab; }
.fx__3d:active { cursor: grabbing; }
.fx__hint { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font-size: 0.85rem; color: var(--frost); opacity: 0; transition: opacity .3s; z-index: 3; pointer-events: none; }
.fx.is-3d .fx__hint { opacity: 1; }
.fx.is-loading .fx__stage::after, .mview__stage.is-loading::after, .charx__stage.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 50%; border: 3px solid rgba(92, 242, 196, 0.2); border-top-color: var(--aurora); animation: rb-spin 0.9s linear infinite; z-index: 5; }
@keyframes rb-spin { to { transform: rotate(360deg); } }
.btn3d { position: absolute; z-index: 4; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; font: 600 0.92rem/1 var(--font-body); color: var(--ice); background: rgba(8, 14, 28, 0.7); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.btn3d:hover { border-color: var(--aurora); }
.btn3d.is-on { color: #06231b; background: var(--aurora); border-color: var(--aurora); }
.r3d { touch-action: pan-y; }
.r3d canvas { display: block; }
.r3d-fallback { width: 100%; height: 100%; object-fit: contain; }
.fx__info { display: none; }
.fx__info.is-active { display: block; }
.fx__num { margin: 0 0 6px; font-size: 0.92rem; color: var(--frost); }
.fx__name { --c: var(--ice); margin: 0 0 10px; font: 400 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-display); color: color-mix(in srgb, var(--c) 70%, white); text-shadow: 0 0 34px color-mix(in srgb, var(--c) 45%, transparent); }
.fx__text { margin: 0 0 26px; color: #cdd8e8; font-size: 1.1rem; min-height: 3.3em; max-width: 44ch; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin: 0 0 22px; }
.swatch { --c: #fff; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px 8px; color: var(--frost); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.swatch:hover { color: var(--ice); border-color: var(--line-2); transform: translateY(-2px); }
.swatch.is-active { color: #fff; border-color: color-mix(in srgb, var(--c) 75%, white); background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 8px 24px color-mix(in srgb, var(--c) 18%, transparent); }
.swatch__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 28%, #0d1830), #070c18); }
.swatch__img--dot { display: block; }
.swatch__name { font-size: 0.82rem; font-weight: 600; line-height: 1.15; text-align: center; -webkit-hyphens: auto; hyphens: auto; }
.fx__pickers { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.seg { display: grid; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg__opt { min-height: 38px; padding: 6px 12px; font: 600 0.92rem/1.1 var(--font-body); color: var(--frost); background: transparent; border: 0; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.seg__opt:hover { color: var(--ice); background: rgba(255, 255, 255, 0.05); }
.seg__opt.is-active { color: #06231b; background: var(--aurora); box-shadow: 0 4px 16px rgba(92, 242, 196, 0.25); }
.fx__note { margin: 18px 0 0; font-size: 0.9rem; color: var(--frost-2); }
.fxgallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fxcard { --c: #fff; display: flex; flex-direction: column; height: 100%; padding: 0 0 18px; text-decoration: none; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 22, 40, 0.8), rgba(8, 13, 26, 0.8)); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.fxcard:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-3px); }
.fxcard__art { display: block; height: 260px; padding: 18px 0 6px; background: radial-gradient(50% 40% at 50% 60%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.fxcard__art img { display: block; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.6)); }
.fxcard__name { padding: 6px 18px 4px; font: 400 1.5rem/1.1 var(--font-display); color: color-mix(in srgb, var(--c) 60%, white); }
.fxcard__text { padding: 0 18px; color: var(--frost); font-size: 0.95rem; }
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 48px; padding: 0; list-style: none; }
.steps li { counter-increment: st; position: relative; padding: 52px 0 0; color: #cdd8e8; font-size: 1.05rem; border-top: 1px solid var(--line-2); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 14px; font: 400 1.6rem/1 var(--font-display); color: var(--aurora); }

/* ---------- Reiche ---------- */

/* ---------- Reittiere ---------- */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.mgrid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #0d1628 0%, #0a1222 100%); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.mcard[data-mount] { cursor: pointer; }
.mcard[data-mount]:hover { transform: translateY(-4px); border-color: rgba(92, 242, 196, 0.45); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.mcard__hit { position: absolute; inset: 0; z-index: 3; width: 100%; background: none; border: 0; cursor: pointer; border-radius: inherit; }
.mcard__art { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; background: radial-gradient(55% 32% at 50% 88%, rgba(140, 190, 255, 0.16), transparent 72%), radial-gradient(80% 80% at 50% 30%, #13213d, #0b1426 75%); }
.mcard--dragon .mcard__art { background: radial-gradient(55% 32% at 50% 88%, rgba(150, 140, 255, 0.2), transparent 72%), radial-gradient(80% 80% at 50% 30%, #1a1d45, #0b1426 75%); }
.mcard--beast .mcard__art { background: radial-gradient(55% 32% at 50% 88%, rgba(255, 160, 110, 0.14), transparent 72%), radial-gradient(80% 80% at 50% 30%, #241b30, #0b1426 75%); }
.mcard--fun .mcard__art { background: radial-gradient(55% 32% at 50% 88%, rgba(255, 150, 210, 0.16), transparent 72%), radial-gradient(80% 80% at 50% 30%, #261a3a, #0b1426 75%); }
.mcard__render { position: absolute; inset: 14px 12px 8px; width: calc(100% - 24px); height: calc(100% - 22px); object-fit: contain; object-position: 50% 85%; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.6)); transition: transform .5s var(--ease); }
.mcard[data-mount]:hover .mcard__render { transform: scale(1.05); }
.mcard__icon { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 10px; border: 1px solid var(--line-2); }
.mcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font: 600 0.78rem/1 var(--font-body); color: #06231b; background: var(--aurora); padding: 5px 8px; border-radius: 6px; }
/* Flug-Drachen ("fly": true): Abzeichen rechts oben (Startseite: public/css/rb-fly.css) */
.mcard__fly { position: absolute; top: 12px; right: 12px; z-index: 2; font: 600 0.78rem/1 var(--font-body); color: #fff; background: linear-gradient(90deg, #7b5cff, #a98bff); padding: 5px 8px; border-radius: 6px; box-shadow: 0 0 18px rgba(169, 139, 255, 0.35); }
.mcard__body { padding: 14px 18px 18px; }
.mcard__name { margin: 0 0 2px; font: 400 1.25rem/1.15 var(--font-display); color: #fff; overflow-wrap: anywhere; hyphens: auto; }
.mcard__meta { margin: 0 0 10px; font-size: 0.9rem; color: var(--frost); }
.mcard__price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.mcard__price strong { color: var(--ember-hi); font: 600 1.06rem/1 var(--font-body); }
.mcard__price span { color: var(--frost-2); font-size: 0.9rem; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.filterbar__opt { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; font: 600 0.95rem/1 var(--font-body); color: var(--frost); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filterbar__opt span { font-size: 0.82rem; color: var(--frost-2); }
.filterbar__opt:hover { color: var(--ice); border-color: var(--line-2); }
.filterbar__opt.is-active { color: #06231b; background: var(--aurora); border-color: var(--aurora); }
.filterbar__opt.is-active span { color: rgba(6, 35, 27, 0.7); }
.mcat { margin: 0 0 56px; }
.mcat__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; font: 400 2rem/1.1 var(--font-display); color: #fff; }
.mcat__title span { font: 500 0.95rem/1 var(--font-body); color: var(--frost); }
.mview { width: min(1080px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: #070d1b; color: var(--ice); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75); overflow: auto; }
.mview::backdrop { background: rgba(2, 4, 10, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mview__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.mview__close { position: absolute; right: 14px; top: 12px; z-index: 6; width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; color: var(--ice); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.mview__close:hover { background: rgba(255, 255, 255, 0.12); }
.mview__stage { --c: #c9ccd6; position: relative; isolation: isolate; min-height: 520px; background: radial-gradient(70% 60% at 50% 100%, #14223e 0%, #0a1222 60%, #070d1b 100%); }
.mview__light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 40% at 50% 60%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), radial-gradient(50% 14% at 50% 90%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%); transition: background .5s; }
.mview__img { position: absolute; inset: 40px 28px 34px; width: calc(100% - 56px); height: calc(100% - 74px); object-fit: contain; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.65)); }
.mview__3d { position: absolute; inset: 0; cursor: grab; }
.mview__stage .btn3d { left: 16px; right: auto; top: auto; bottom: 16px; }
.mview__side { padding: 40px 32px 32px; border-left: 1px solid var(--line); }
.mview__name { margin: 0 44px 4px 0; font: 400 2.3rem/1.05 var(--font-display); color: #fff; }
.mview__fxname { margin: 0 0 22px; color: var(--frost); min-height: 1.4em; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 22px; }
.chip { --c: #fff; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px 6px 8px; font: 600 0.92rem/1.1 var(--font-body); text-align: left; color: var(--frost); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.chip:hover { color: var(--ice); border-color: var(--line-2); }
.chip.is-active { color: #fff; border-color: color-mix(in srgb, var(--c) 70%, white); background: color-mix(in srgb, var(--c) 12%, transparent); }
.chip__dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 30%, white), var(--c) 55%, color-mix(in srgb, var(--c) 40%, black)); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 50%, transparent); }
.chip[data-mfx="prism"] .chip__dot, .pimp__dot[data-hex="#d59cff"] { background: conic-gradient(#ff6b6b, #ffd84a, #5dffb4, #2ee6c8, #4a7dff, #c86bff, #ff6b6b); }
.mview__note { margin: 0; font-size: 0.92rem; color: var(--frost); }
.pimp { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 56px; padding: 34px 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(60% 120% at 0% 50%, rgba(156, 123, 255, 0.12), transparent 70%), linear-gradient(180deg, rgba(14, 22, 40, 0.7), rgba(8, 13, 26, 0.7)); }
.pimp__ring { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pimp__dot { --c: #fff; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 35%, white), var(--c) 55%, color-mix(in srgb, var(--c) 45%, black)); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent); }
.pimp h3 { margin: 0 0 8px; font: 400 2rem/1.1 var(--font-display); color: #fff; }
.pimp p { margin: 0 0 14px; color: #cdd8e8; max-width: 70ch; }
.pimp__steps { counter-reset: s; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.pimp__steps li { counter-increment: s; color: var(--frost); font-size: 0.96rem; }
.pimp__steps li::before { content: counter(s) "."; margin-right: 6px; font-family: var(--font-display); color: var(--aurora); }

/* ---------- Extras ---------- */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.perk { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.perks > .perk:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.perk__ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; color: var(--aurora); background: linear-gradient(160deg, rgba(92, 242, 196, 0.16), rgba(92, 242, 196, 0.02)); border: 1px solid rgba(92, 242, 196, 0.28); }
.rb-ico { width: 26px; height: 26px; }
.perk h3 { margin: 4px 0 6px; font: 400 1.4rem/1.15 var(--font-display); color: #fff; }
.perk p { margin: 0; color: var(--frost); line-height: 1.6; }
.perks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perks--4 > .perk:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
.perks--4 > .perk:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }

/* ---------- Live: Events, Rangliste, News ---------- */
.live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.live__col { padding: 30px 32px 10px 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.live__col + .live__col { padding-left: 32px; border-left: 1px solid var(--line); }
.live__h { margin: 0; font: 400 1.6rem/1.1 var(--font-display); color: #fff; }
.live__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rb .evc { background: transparent; border: 0; padding: 0; margin: 0; }
.rb .evc__label { color: var(--frost); }
.rb .evc__name { color: #fff; font-family: var(--font-display); font-weight: 400; }
.rb .evc__left { color: var(--ok); }
.rb .evlist { width: 100%; margin: 0; }
.rb .evlist__item { border-color: var(--line); }
.rb .evlist__time { color: var(--ember-hi); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.rb .evlist__text { color: var(--frost); }
.podium { width: 100%; margin: 0; padding: 0; list-style: none; }
.podium__row { display: grid; grid-template-columns: 30px 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.podium__rank { grid-row: span 2; font: 400 1.4rem/1 var(--font-display); color: var(--frost-2); text-align: center; }
.podium__row--1 .podium__rank { color: var(--ember-hi); }
.podium__row--2 .podium__rank { color: #dfe6f2; }
.podium__row--3 .podium__rank { color: #e8b48a; }
.podium__cls { width: 44px; height: 44px; border-radius: 10px; }
.podium__name { font: 400 1.2rem/1.2 var(--font-display); color: #fff !important; text-decoration: none; }
.podium__name:hover { color: var(--aurora) !important; }
.podium__meta { color: var(--frost); font-size: 0.9rem; }
.newslist { width: 100%; margin: 0; padding: 0; list-style: none; }
.newsitem { display: flex; flex-direction: column; gap: 4px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.newsitem__meta { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--frost-2); }
.newsitem__cat { font-weight: 600; color: var(--aurora); }
.newsitem--event .newsitem__cat { color: #b9a4ff; }
.newsitem--maintenance .newsitem__cat { color: #ffad9a; }
.newsitem__title { font: 400 1.2rem/1.25 var(--font-display); color: #fff; }
.newsitem:hover .newsitem__title { color: var(--aurora); }
.newsitem__teaser { color: var(--frost); font-size: 0.95rem; }

/* ---------- Mitmachen (Schluss) ---------- */
.join { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 110px; text-align: center; }
.join__sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #050913 0%, rgba(5, 9, 19, 0.25) 30%, rgba(5, 9, 19, 0.75) 72%, #050913 100%), url("../img/4story/rb/hero-sky.webp") 50% 12% / cover no-repeat; }
.join__inner { display: flex; flex-direction: column; align-items: center; }
.join__title { margin: 0 0 16px; font: 400 clamp(2.4rem, 5vw, 4.2rem)/1.05 var(--font-display); color: #fff; max-width: 18ch; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.join__lead { margin: 0 0 30px; color: #d0dbea; font-size: 1.15rem; max-width: 52ch; }
.join__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-bottom: 64px; }
.join__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; text-align: left; }
.join__more li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 16px; align-items: start; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(8, 14, 28, 0.66); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.join__more li > img, .join__ico { grid-row: span 2; width: 44px; height: 44px; }
.join__ico { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.join__ico .rb-ico { width: 24px; height: 24px; }
.join__ico--vote { color: var(--ember-hi); background: rgba(243, 196, 106, 0.12); border: 1px solid rgba(243, 196, 106, 0.3); }
.join__ico--discord { color: #c9cdff; background: rgba(88, 101, 242, 0.18); border: 1px solid rgba(143, 151, 255, 0.35); }
.join__more strong { display: block; font: 400 1.25rem/1.2 var(--font-display); color: #fff; margin-bottom: 4px; }
.join__more span { color: var(--frost); font-size: 0.95rem; }
.join__more .link-arrow { grid-column: 2; justify-self: start; margin-top: 8px; }

/* ---------- Handy-Spielleiste ---------- */
.rb .playbar { background: rgba(5, 9, 19, 0.92); border-top: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------- Fussleiste ---------- */
.rb .rb-footer { position: relative; margin-top: 0; padding: 0; background: #04070f; border-top: 1px solid var(--line); }
.rb-footer__edge { display: none; }
.rb-footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.rb-footer__brand img { width: 200px; height: auto; display: block; }
.rb-footer__tagline { margin: 0; color: var(--frost); font-size: 1.02rem; }
.rb-footer__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rb-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 28px; padding-top: 40px; padding-bottom: 30px; }
.rb-footer h2 { font: 600 0.95rem/1 var(--font-body); letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 16px; }
.rb-footer ul { margin: 0; padding: 0; list-style: none; }
.rb-footer ul li { margin: 0 0 10px; }
.rb-footer ul a { color: var(--frost) !important; text-decoration: none; }
.rb-footer ul a:hover { color: #fff !important; }
.rb-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.rb-chips div { padding: 12px 12px 0 0; }
.rb-chips div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.rb-chips dt { font-size: 0.85rem; color: var(--frost); margin-bottom: 4px; }
.rb-chips dd { margin: 0; font: 400 1.5rem/1 var(--font-display); color: var(--ember-hi); }
.rb-footer__base { padding-top: 20px; padding-bottom: 34px; border-top: 1px solid var(--line); color: var(--frost-2); font-size: 0.9rem; }
.rb-footer__base p { margin: 0 0 6px; }
.rb-footer__base a { color: var(--frost) !important; }

/* ---------- Seitenkopf (alle Unterseiten) ---------- */
.rb .page-head { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); padding: 96px 0 56px; text-align: left; background: #060b17; }
.rb .page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/4story/rb/hero-sky-1400.webp") 50% 40% / cover no-repeat; opacity: 0.75; }
.rb .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 19, 0.92) 0%, rgba(5, 9, 19, 0.55) 60%, rgba(5, 9, 19, 0.25) 100%), linear-gradient(180deg, transparent 40%, #050913 100%); }
.rb .page-head h1 { margin: 0 0 12px; font: 400 clamp(2.4rem, 5vw, 4rem)/1.04 var(--font-display); color: #fff; background: none; -webkit-text-fill-color: currentColor; filter: none; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.rb .page-head .lead { color: #cdd8e8; font-size: 1.15rem; max-width: 62ch; margin: 0; }

/* ---------- vorhandene Bausteine (site.css/games.css) im neuen Look ---------- */
.rb .panel { background: linear-gradient(180deg, rgba(16, 26, 46, 0.75), rgba(9, 15, 29, 0.75)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.rb .panel h2, .rb .section h2, .rb .h-section { color: #fff; font-family: var(--font-display); font-weight: 400; }
.rb .table { border-color: var(--line); }
.rb .table th, .rb .table td { border-color: var(--line); }
.rb .table thead th { font: 600 0.88rem/1.2 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--frost); }
.rb .table tbody tr:hover { background: rgba(92, 242, 196, 0.05); }
.rb .rank { border-color: var(--line-2); }
.rb .rank--1 { color: #2b1704; background: var(--gold-grad); border-color: transparent; }
.rb input[type="text"], .rb input[type="email"], .rb input[type="password"], .rb input[type="search"], .rb input[type="number"], .rb input:not([type]), .rb select, .rb textarea {
  min-height: 46px; color: var(--ice); background: rgba(6, 11, 22, 0.8); border: 1px solid var(--line-2); border-radius: 10px; }
.rb input:focus, .rb select:focus, .rb textarea:focus { border-color: var(--aurora); box-shadow: 0 0 0 3px rgba(92, 242, 196, 0.18); outline: none; }
.rb input::placeholder, .rb textarea::placeholder { color: rgba(154, 168, 192, 0.65); }
.rb label { color: #d6e0ee; }
.rb input[type="checkbox"], .rb input[type="radio"] { accent-color: var(--aurora); }
.rb .field__help { color: var(--frost); }
.rb .auth { background: #060b17; }
.rb .auth::before { background: url("../img/4story/rb/hero-sky-1400.webp") 50% 30% / cover no-repeat; opacity: 0.8; }
.rb .auth::after { background: radial-gradient(70% 70% at 50% 30%, rgba(5, 9, 19, 0.3), rgba(5, 9, 19, 0.92) 75%), linear-gradient(180deg, transparent 60%, #050913 100%); }
.rb .auth__panel { position: relative; background: rgba(8, 14, 28, 0.82); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.rb .auth__panel h1 { font: 400 2.4rem/1.1 var(--font-display); color: #fff; }
.rb .alert { background: rgba(92, 242, 196, 0.06); border-color: var(--line-2); border-radius: 12px; color: var(--ice); }
.rb .alert--error { background: rgba(255, 96, 110, 0.12); border-color: rgba(255, 123, 134, 0.5); }
.rb .alert--success { background: rgba(127, 232, 180, 0.1); border-color: rgba(127, 232, 180, 0.45); }
.rb .tag, .rb .chip:not(button) { border-color: var(--line-2); }
.rb .pagination a { border-color: var(--line-2); border-radius: 9px; }
.rb .status-bar { background: rgba(8, 14, 28, 0.8); border-color: var(--line); border-radius: 14px; }
.rb .site-footer__note { color: var(--frost-2); }
.rb-newstabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.rb-newstabs a { font: 600 0.95rem/1 var(--font-body); color: var(--frost); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; }
.rb-newstabs a:hover { color: #fff; border-color: var(--line-2); }
.rb-newstabs a[aria-current="page"] { color: #06231b; background: var(--aurora); border-color: var(--aurora); }

/* ---------- Download ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dl__main { text-align: center; padding: 48px 32px; background: radial-gradient(60% 70% at 50% 0%, rgba(92, 242, 196, 0.12), transparent 70%), linear-gradient(180deg, rgba(16, 26, 46, 0.8), rgba(9, 15, 29, 0.8)); }
.dl__main img { width: min(380px, 80%); height: auto; margin: 0 auto 24px; display: block; }
.dl__steps { counter-reset: st; display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.dl__steps li { counter-increment: st; position: relative; padding: 22px 0 22px 64px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.dl__steps li::before { content: counter(st); position: absolute; left: 0; top: 18px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font: 400 1.4rem/1 var(--font-display); color: var(--aurora); border: 1px solid rgba(92, 242, 196, 0.35); background: rgba(92, 242, 196, 0.06); }
.dl__steps h3 { margin: 0 0 4px; font: 400 1.35rem/1.2 var(--font-display); }
.dl__steps p { margin: 0; color: var(--frost); }
.req { margin: 0; }
.req div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.req dt { color: var(--frost); }
.req dd { margin: 0; color: #fff; text-align: right; }
.dl__h { font: 400 1.6rem/1.2 var(--font-display); color: #fff; margin: 36px 0 12px; }
.rb-card .dl__h { margin-top: 0; }
.dl__free { margin: 16px 0 0; }
.dl aside { display: grid; gap: 18px; }
.dl__help .btn { margin: 6px 6px 0 0; }

/* ---------- Charakterseite ---------- */
.charhero { position: relative; isolation: isolate; padding: 88px 0 30px; overflow: hidden; }
.charhero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/4story/rb/hero-sky-1400.webp") 50% 30% / cover no-repeat; opacity: 0.7; }
.charhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 19, 0.92), rgba(5, 9, 19, 0.4)), linear-gradient(180deg, transparent 40%, #050913); }
.charhero .rb-eyebrow { color: var(--frost); }
.charx__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.charx__name { margin: 0; font: 400 clamp(2.8rem, 6vw, 4.6rem)/1 var(--font-display); color: #fff; }
.charx__sub { margin: 6px 0 0; width: 100%; font: 500 1.1rem/1.4 var(--font-body); color: #cdd8e8; }
.charx__status { font: 600 0.88rem/1 var(--font-body); padding: 7px 12px; border-radius: 999px; border: 1px solid; }
.charx__status--on { color: var(--ok); border-color: rgba(127, 232, 180, 0.45); background: rgba(127, 232, 180, 0.08); }
.charx__status--off { color: var(--frost); border-color: var(--line-2); }
.charsec { padding-top: 24px; }
.charx { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.charx__stage { position: relative; isolation: isolate; min-height: 620px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(45% 14% at 50% 90%, rgba(92, 242, 196, 0.2), transparent 70%), radial-gradient(70% 60% at 50% 35%, rgba(70, 90, 170, 0.22), transparent 70%), radial-gradient(90% 80% at 50% 100%, #14223e, #080e1c 70%); }
.charx__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/4story/rb/hero-sky-1400.webp") 50% 0 / cover no-repeat; opacity: 0.25; mix-blend-mode: screen; }
.charx__fallback { position: absolute; left: 0; right: 0; bottom: 40px; margin: 0 auto; max-height: 520px; width: auto; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.7)); }
.charx__canvas { position: absolute; inset: 0; z-index: 2; cursor: grab; }
.charx__stage.is-3d .charx__fallback { display: none; }
.charx__stage-label { position: absolute; z-index: 4; left: 16px; top: 16px; font: 600 0.88rem/1 var(--font-body); color: var(--ice); background: rgba(8, 14, 28, 0.7); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; }
.charx__stage-note { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 14px; margin: 0; font-size: 0.88rem; color: var(--frost); text-align: center; }
.charx__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; border-top: 1px solid var(--line-2); }
.charx__facts div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.charx__facts div:not(:nth-child(4n + 1)) { padding-left: 14px; border-left: 1px solid var(--line); }
.charx__facts dt { font-size: 0.86rem; color: var(--frost); margin-bottom: 6px; }
.charx__facts dd { margin: 0; font: 400 1.35rem/1.15 var(--font-display); color: #fff; overflow-wrap: anywhere; }
.charx__facts small { font: 500 0.85rem/1 var(--font-body); color: var(--frost); }
.charx__gs dd { font-size: 2rem !important; color: var(--ember-hi) !important; }
.charx__gsnote { font-size: 0.86rem; margin: 0 0 6px; }
.charx2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; margin-top: 28px; align-items: start; }
.charx2 > div { display: grid; gap: 20px; }
.slotgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.slotgrid__col { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 10px; align-content: start; margin: 0; padding: 0; list-style: none; }
.slotcell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.slotcell img, .slotcell.is-empty::before { width: 50px; height: 50px; border-radius: 10px; border: 1px solid var(--line-2); background: #0b1324; image-rendering: pixelated; }
.slotcell.is-empty::before { content: ""; display: block; border-style: dashed; border-color: var(--line); background: rgba(255, 255, 255, 0.02); }
.slotcell__g { position: absolute; top: -5px; right: 0; font: 600 0.74rem/1 var(--font-body); color: #2b1704; background: var(--gold-grad); border-radius: 5px; padding: 3px 4px; }
.slotcell__k { font: 500 0.66rem/1.1 var(--font-body); color: var(--frost-2); text-align: center; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eqlist { margin: 0; padding: 0; list-style: none; }
.eqrow, .eqlist li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.eqrow__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eqlist__icon { width: 46px; height: 46px; image-rendering: pixelated; border-radius: 10px; border: 1px solid var(--line-2); background: #0b1324; }
.eqlist__icon--empty { display: block; background: rgba(255, 255, 255, 0.02); border-style: dashed; border-color: var(--line); }
.eqlist__name { font-weight: 600; color: #fff; }
.eqlist__plus { color: var(--ember-hi); margin-right: 5px; }
.eqlist__slot { display: block; font-size: 0.82rem; color: var(--frost-2); }
.eqlist__opts { display: block; font-size: 0.88rem; color: #a9c9ff; }
.eqlist__lvl { font-size: 0.86rem; color: var(--frost); white-space: nowrap; }
.eqfx { --c: #fff; display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 0.78rem/1.4 var(--font-body); color: color-mix(in srgb, var(--c) 60%, white); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); vertical-align: 1px; }
.eqlist__icon--fx { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 210, 140, 0.35); }
.eq-q--rare .eqlist__name { color: #ffd77a; }
.eq-q--magic .eqlist__name { color: #9fc4ff; }
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.statgrid h3 { margin: 0 0 8px; font: 600 0.95rem/1 var(--font-body); color: var(--aurora); }
.statgrid dl { margin: 0; }
.statgrid dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.statgrid dt { color: var(--frost); }
.statgrid dd { margin: 0; color: #fff; font-weight: 600; }
.charsearch { display: block; margin: 0; }
.charsearch__row { display: flex; gap: 8px; }
.charsearch__row input { flex: 1; min-width: 0; }

/* ---------- Fair-Play + Preisliste ---------- */
.pricegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pricecat { padding: 22px 24px; }
.pricecat h3 { margin: 0 0 12px; font: 400 1.5rem/1.2 var(--font-display); color: #fff; }
.pricetable th, .pricetable td { padding: 8px; font-size: 0.95rem; }
.pricetable strong { color: var(--ember-hi); }

/* ---------- Diese Woche im Shop + Paketkarten (partials/rb_shopweek.njk) ---------- */
.dealgrid, .packgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0 0 32px; padding: 0; list-style: none; }
.deal, .pack { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.deal h3, .pack h3 { margin: 0; font: 400 1.35rem/1.25 var(--font-display); color: #fff; }
.deal--stall { border-color: rgba(92, 242, 196, 0.35); }
.deal__type { margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aurora); }
.deal__off { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ember); color: #2b1704; letter-spacing: 0; }
.deal__price, .pack__price { margin: 0; font-variant-numeric: tabular-nums; }
.deal__price strong, .pack__price strong { font-size: 1.25rem; color: var(--ember-hi); }
.deal__price s, .pack__price span { margin-left: 6px; color: var(--frost); }
.deal__clock { margin: auto 0 0; font-size: 0.9rem; color: var(--frost); }
.deal__clock strong { color: #fff; font-variant-numeric: tabular-nums; }
.pack__text { margin: 0; color: #d0dbea; }
.pack__value { margin: 0; font-size: 0.92rem; color: var(--frost); }
.pack__value strong { color: var(--aurora); }
.pack__limit { margin: auto 0 0; font-size: 0.85rem; color: var(--frost); }

/* ---------- bisherige 4Story-Seiten (Features, Coins, Vote, Events ...) im Polarnacht-Look ---------- */
body.rb.is-fsf {
  --ember-1: #ffe2a3; --ember-2: #f3c46a; --ember-3: #5cf2c4; --ember-4: #1f6f8f;
  --c-luck: #f3c46a; --c-exp: #7fe8b4; --c-bonus: #b9a4ff; --c-pvp: #ff7b7b; --c-boss: #9c7bff;
  --card: rgba(14, 22, 40, 0.75);
}
.rb .hero__embers { display: none; }
.rb .hero--lava .hero__art::after { background: linear-gradient(180deg, rgba(5, 9, 19, 0.45) 0%, rgba(5, 9, 19, 0) 18%, rgba(5, 9, 19, 0.6) 45%, rgba(5, 9, 19, 0.96) 70%, #050913 100%); }
.rb .hero--lava .hero__logo { filter: drop-shadow(0 6px 30px rgba(92, 242, 196, 0.3)); max-width: min(520px, 86vw); height: auto; }
.rb .hero--lava .hero__pitch { color: #d0dbea; text-shadow: 0 1px 12px #000; }
.rb .fsf-card { background: linear-gradient(180deg, rgba(16, 26, 46, 0.75), rgba(9, 15, 29, 0.75)); border-color: var(--line); border-radius: var(--r-lg); }
.rb .fsf-card h3, .rb .fsf-card h2 { font-family: var(--font-display); font-weight: 400; color: #fff; }
.rb .fsf-toc { background: rgba(5, 9, 19, 0.88); border-color: var(--line); }
.rb .fsf-toc a { font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.rb .fsf-toc a:hover, .rb .fsf-toc a:focus-visible { background: rgba(92, 242, 196, 0.12); }
.rb .fsf-oath { background: linear-gradient(180deg, rgba(16, 26, 46, 0.9), rgba(8, 13, 26, 0.92)); border-color: var(--line-2); }
.rb .fsf-oath__seal { background: radial-gradient(circle at 35% 30%, #ffe9b0, #d99a35); box-shadow: 0 0 24px rgba(243, 196, 106, 0.5); color: #2b1704; }
.rb .fsf-oath h2 { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.rb .fsf-promise__art::before { background: radial-gradient(circle, rgba(92, 242, 196, 0.3), transparent 70%); }
.rb .fsf-promise__art img { border-radius: 0; object-fit: contain; }
.rb .fsf-band::after { background: linear-gradient(180deg, #050913 0%, rgba(5, 9, 19, 0.6) 22%, rgba(5, 9, 19, 0.65) 78%, #050913 100%); }
.rb .fsf-timeline { background: rgba(6, 11, 22, 0.8); }
.rb .fsf-icon { color: var(--aurora); background: linear-gradient(160deg, rgba(92, 242, 196, 0.16), rgba(92, 242, 196, 0.02)); border-color: rgba(92, 242, 196, 0.28); }
.rb .status-bar__totals dd { color: var(--ember-hi); }
.rb.is-fscoins .shop-stage { background: linear-gradient(180deg, rgba(5, 9, 19, 0.55) 0%, rgba(5, 9, 19, 0.65) 40%, rgba(5, 9, 19, 0.96) 100%), url("../img/4story/rb/hero-sky.webp") 50% 30% / cover no-repeat, #050913; }
.rb.is-fscoins .paywin { background: rgba(7, 12, 24, 0.94); border-color: var(--line-2); border-radius: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); }
.rb.is-fscoins .paywin__inner { background: linear-gradient(180deg, rgba(16, 26, 46, 0.6), rgba(9, 15, 29, 0.7)); }
.rb.is-fscoins .paywin__badge { color: var(--ice); background: rgba(92, 242, 196, 0.14); }
.rb.is-fscoins .paybox { background: rgba(6, 11, 22, 0.6); border-color: var(--line); }
.rb.is-fscoins .paymethod { background: rgba(16, 26, 46, 0.5); border-color: var(--line); }
.rb.is-fscoins .paymethod.is-selected, .rb.is-fscoins .paymethod:has(.paymethod__pick:checked) { border-color: var(--aurora); box-shadow: 0 0 0 1px var(--aurora), 0 0 22px rgba(92, 242, 196, 0.2); background: rgba(92, 242, 196, 0.08); }
.rb.is-fscoins .paymethod__logo { background: linear-gradient(160deg, #5cf2c4, #1f6f8f); }
.rb.is-fscoins .payhow li, .rb.is-fscoins .payconsent, .rb.is-fscoins .paycontact__field { color: #d0dbea; }
.rb.is-fscoins .paycard { background: linear-gradient(180deg, rgba(18, 28, 50, 0.8), rgba(9, 15, 29, 0.9)); border-color: var(--line); }
.rb.is-fscoins .paycard--popular, .rb.is-fscoins .paycard--best { border-color: var(--ember); box-shadow: 0 0 0 1px rgba(243, 196, 106, 0.5), 0 14px 34px rgba(243, 196, 106, 0.12); }
.rb.is-fscoins .paycard__flag { background: #1f5f6f; }
.rb.is-fscoins .paycard__coins > .ico { color: var(--aurora); }
.rb.is-fscoins .payconsent { background: rgba(16, 26, 46, 0.5); }
.rb.is-fscoins .paycontact__field input { background: rgba(6, 11, 22, 0.8); }
.rb .is-4story .page-head::before, .rb.is-4story .page-head::before { background-image: url("../img/4story/rb/hero-sky-1400.webp"); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .cls__art img, .rb-js .cls__panel { transition: none !important; }
}

/* ---------- Tablet / Handy ---------- */
@media (max-width: 1180px) {
  .fx { gap: 32px; }
}
@media (max-width: 1080px) {
  .cls { grid-template-columns: 1fr; }
  .cls__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx { grid-template-columns: 1fr; }
  .fx__stage { height: 560px; }
  .mgrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks > .perk:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .perks > .perk:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .live { grid-template-columns: 1fr 1fr; }
  .live__news { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); margin-top: 20px; }
  .join__more { grid-template-columns: 1fr; max-width: 640px; }
  .rb-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-footer__server { grid-column: 1 / -1; }
  .charx, .dl, .charx2 { grid-template-columns: 1fr; }
  .mview__box { grid-template-columns: 1fr; }
  .mview__side { border-left: 0; border-top: 1px solid var(--line); }
  .mview__stage { min-height: 400px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 860px) {
  .sec, .rb-sec { padding: 84px 0; }
  .live { grid-template-columns: 1fr; }
  .live__col, .live__col + .live__col { padding: 26px 0 8px; border-left: 0; }
  .live__col + .live__col { border-top: 1px solid var(--line); }
  .live__news { margin-top: 0; }
  .pimp { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .pimp__ring { justify-content: flex-start; }
  .rb-footer__top { grid-template-columns: 1fr; text-align: left; }
  .charx__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charx__facts div:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .charx__facts div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .pricegrid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .rb .wrap { padding-left: 16px; padding-right: 16px; }
  .sec, .rb-sec { padding: 68px 0; }
  .sec--page, .rb-sec--page { padding-top: 32px; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cls__stage { min-height: 0; }
  .cls__panel { grid-template-columns: 1fr; }
  .rb-js .cls__panel { position: absolute; }
  .rb-js .cls__panel.is-active { position: relative; }
  .cls__art { height: 360px; padding-top: 16px; }
  .cls__art img { max-height: 340px; }
  .cls__info { padding: 0 22px 28px; }
  .cls__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cls__tab { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; padding: 8px; }
  .cls__face { width: 40px; height: 40px; border-radius: 10px; }
  .cls__tabname { font-size: 1.08rem; }
  .cls__tabrole { font-size: 0.78rem; }
  .fx__stage { height: 440px; }
  .fx__photo { bottom: 36px; height: calc(100% - 70px); }
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .swatch__name { font-size: 0.78rem; }
  .fx__pickers { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcard__art { height: 130px; }
  .mcard__body { padding: 10px 12px 14px; }
  .mcard__name { font-size: 1.06rem; }
  .mcard__price { flex-direction: column; gap: 2px; }
  .mcat__title { font-size: 1.6rem; flex-wrap: wrap; }
  .perks, .perks--4 { grid-template-columns: 1fr; }
  .perks > .perk:nth-child(n), .perks--4 > .perk:nth-child(n) { padding: 24px 0; border-left: 0; }
  .mview { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .mview__stage { min-height: 46vh; }
  .mview__side { padding: 22px 16px 28px; }
  .mview__name { font-size: 1.8rem; }
  .join { padding: 96px 0 72px; }
  .join__more li { padding: 18px; }
  .rb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb .page-head { padding: 72px 0 36px; }
  .charx__stage { min-height: 460px; }
  .charx__fallback { max-height: 380px; }
  .slotgrid { grid-template-columns: 1fr; }
  .statgrid { grid-template-columns: 1fr; }
  .charhero { padding-top: 64px; }
  .fxcard__art { height: 200px; }
  .fxgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fxcard__name { font-size: 1.2rem; padding: 6px 12px 2px; }
  .fxcard__text { padding: 0 12px; font-size: 0.86rem; }
}
/* Effekt-/Reittier-Buehne: ferner Nordlicht-Himmel hinter der Figur */
.fx__stage::before, .mview__stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/4story/rb/hero-sky-1400.webp") 50% 0 / cover no-repeat; opacity: 0.22; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }

/* Reste des alten Lava-Themas (games.css, feste Brauntoene) */
.rb .ev-week__day, .rb .race-card, .rb .eq-slot, .rb .fresh__link, .rb .path__step, .rb .fs-more__link { background: rgba(12, 20, 38, 0.6); border-color: var(--line); }
.rb .ev-week__day.is-today { background: rgba(92, 242, 196, 0.08); border-color: rgba(92, 242, 196, 0.45); box-shadow: none; }
.rb .ev-week__today { background: var(--aurora); color: #06231b; }
.rb .ev-week__time, .rb .race-card__cls { color: var(--ember-hi); }
.rb .race-prize { border-left-color: var(--ember); background: linear-gradient(100deg, rgba(243, 196, 106, 0.1), transparent 60%), rgba(12, 20, 38, 0.6); }
.rb .race-level__badge { color: #2b1704; background: var(--gold-grad); box-shadow: 0 0 18px rgba(243, 196, 106, 0.3); font-family: var(--font-display); font-weight: 400; }
.rb .eq-slot.is-empty { background: rgba(12, 20, 38, 0.3); }
.rb .eq-slot { border-left-color: var(--line-2); }
.rb .eq-q--rare { border-left-color: #ffcf6a; background: linear-gradient(100deg, rgba(255, 207, 106, 0.08), transparent 55%), rgba(12, 20, 38, 0.6); }
.rb.is-4story .btn--ghost, .rb.is-4story .nav-toggle { background: rgba(255, 255, 255, 0.04); }
.rb.is-4story .auth__panel { background: rgba(8, 14, 28, 0.82); }
.rb .why { border-color: var(--line); }
.rb .ev-chip { border-color: var(--line-2); background: rgba(12, 20, 38, 0.5); }
.rb .evlist__time, .rb .ev-chip__time, .rb .chance-legend strong, .rb .eq-facts dd, .rb .eq-sub { color: var(--ember-hi); }
.rb .path__step::before { color: #06231b; background: var(--aurora); box-shadow: 0 0 18px rgba(92, 242, 196, 0.3); }
.rb.is-4story input:focus, .rb.is-4story select:focus, .rb.is-4story textarea:focus { box-shadow: 0 0 0 3px rgba(92, 242, 196, 0.18); }
/* Features-Seite (fourstory-features.css, frueher Lava): feste Farben auf Polarnacht */
body.rb.is-fsf { --ember-4: #2a5a8a; --card: rgba(12, 20, 38, 0.66); }
.rb .fsf-journey__node { color: #06231b; background: radial-gradient(circle at 35% 30%, #c8fff0, #5cf2c4 60%, #1f8f74); border-color: #9dfbe0; box-shadow: 0 0 0 5px #050913, 0 0 20px rgba(92, 242, 196, 0.45); font-family: var(--font-display); font-weight: 400; }
.rb .fsf-journey__step.is-goal .fsf-journey__node { background: radial-gradient(circle at 35% 30%, #fff1c9, #f3c46a 55%, #b87a20); color: #2b1704; border-color: #ffe2a3; }
.rb .fsf-journey__when, .rb .fsf-month__when { color: var(--aurora) !important; }
.rb .fsf-gear__slot { color: var(--ice); background: radial-gradient(circle at 50% 40%, rgba(92, 242, 196, 0.18), rgba(5, 10, 20, 0.9) 75%); border-color: rgba(92, 242, 196, 0.4); box-shadow: inset 0 0 14px rgba(92, 242, 196, 0.15); }
.rb .fsf-gear__slot b { text-shadow: none; }
.rb .fsf-stair__step { background: linear-gradient(180deg, color-mix(in srgb, #9dfbe0 calc(var(--i) * 10%), #1c3b66), rgba(10, 20, 40, 0.9)); box-shadow: 0 -4px 18px rgba(92, 242, 196, calc(0.05 + var(--i) * 0.03)); }
.rb .fsf-stair__items { color: var(--ice); }
.rb .fsf-stair__lvl small, .rb .fsf-stair__items .fsi { color: var(--aurora); }
.rb .fsf-stair.is-top .fsf-stair__lvl { color: var(--ember-hi); text-shadow: 0 0 14px rgba(243, 196, 106, 0.6); }
.rb .fsf-stair.is-top .fsf-stair__body { border-color: rgba(243, 196, 106, 0.5); box-shadow: 0 0 24px rgba(243, 196, 106, 0.15); }
.rb .fsf-band::after { background: linear-gradient(180deg, #050913 0%, rgba(5, 9, 19, 0.6) 22%, rgba(5, 9, 19, 0.65) 78%, #050913 100%); }
.rb .fsf-timeline__track { background: linear-gradient(90deg, rgba(160, 200, 255, 0.14) 0%, rgba(92, 242, 196, 0.1) 40%, rgba(80, 60, 160, 0.25) 70%, rgba(10, 8, 30, 0.7) 100%); border-color: var(--line-2); }
.rb .fsf-happy h3, .rb .fsf-week__hh { color: var(--ice); }
.rb .fsf-happy__day { background: rgba(156, 123, 255, 0.08); border-color: rgba(156, 123, 255, 0.3); }
.rb .fsf-happy__day.is-today, .rb .fsf-week__day.is-today { outline-color: var(--aurora); }
.rb .fsf-event { background: linear-gradient(180deg, rgba(92, 242, 196, 0.12), rgba(92, 242, 196, 0.03)); border-color: rgba(92, 242, 196, 0.3); }
.rb .fsf-event--castle { background: linear-gradient(180deg, rgba(243, 196, 106, 0.2), rgba(243, 196, 106, 0.04)); border-color: rgba(243, 196, 106, 0.55); box-shadow: 0 0 22px rgba(243, 196, 106, 0.15); }
.rb .fsf-event__icon { color: var(--aurora); }
.rb .fsf-honor__rays { fill: var(--aurora); opacity: 0.45; }
.rb .fsf-honor__emblem img { box-shadow: 0 0 0 4px #f3c46a, 0 0 0 9px #050913, 0 0 0 11px rgba(92, 242, 196, 0.5), 0 0 50px rgba(92, 242, 196, 0.35); }
.rb .fsf-luck__bar { background: rgba(92, 242, 196, 0.22); }
.rb .is-window .fsf-luck__bar { background: linear-gradient(90deg, rgba(92, 242, 196, 0.35), rgba(243, 196, 106, 0.45)); box-shadow: 0 0 12px rgba(92, 242, 196, 0.3); }
.rb .fsf-forge__flow path { stroke: var(--aurora); filter: drop-shadow(0 0 4px rgba(92, 242, 196, 0.6)); }
.rb .fsf-forge__anvil { background: radial-gradient(circle at 50% 40%, #1c3b66, #060c1a 70%); }
.rb .fsf-forge__glow { border-color: rgba(92, 242, 196, 0.35); }
.rb .fsf-toc a { color: var(--frost); }
.rb .fsf-icon--gold { color: var(--ember-hi); background: radial-gradient(circle at 30% 25%, rgba(243, 196, 106, 0.35), rgba(243, 196, 106, 0.05) 70%); }
.rb .fsf-oath { border-color: var(--line-2); }

/* ---------- Formular-Feinheiten (einheitliche Bedienelemente) ---------- */
.rb input[type="checkbox"], .rb input[type="radio"] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid rgba(190, 220, 255, 0.4); background: rgba(6, 11, 22, 0.8); display: inline-grid; place-content: center; cursor: pointer; vertical-align: -4px; transition: background .15s, border-color .15s; }
.rb input[type="checkbox"] { border-radius: 6px; }
.rb input[type="radio"] { border-radius: 50%; }
.rb input[type="checkbox"]::before { content: ""; width: 10px; height: 6px; border-left: 2px solid #06231b; border-bottom: 2px solid #06231b; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .15s; }
.rb input[type="radio"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #06231b; transform: scale(0); transition: transform .15s; }
.rb input[type="checkbox"]:checked, .rb input[type="radio"]:checked { background: var(--aurora); border-color: var(--aurora); }
.rb input[type="checkbox"]:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.rb input[type="radio"]:checked::before { transform: scale(1); }
.rb input[type="checkbox"]:focus-visible, .rb input[type="radio"]:focus-visible { outline: 2px solid var(--aurora); outline-offset: 2px; }
.rb select { -webkit-appearance: none; appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, #9aa8c0 50%), linear-gradient(135deg, #9aa8c0 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.rb select option { background: #0a1222; color: var(--ice); }
.rb input[type="file"] { min-height: 46px; padding: 6px; color: var(--frost); background: rgba(6, 11, 22, 0.8); border: 1px dashed var(--line-2); border-radius: 10px; width: 100%; }
.rb input[type="file"]::file-selector-button { margin-right: 12px; min-height: 34px; padding: 0 14px; font: 600 0.92rem/1 var(--font-body); color: var(--ice); background: rgba(92, 242, 196, 0.1); border: 1px solid rgba(92, 242, 196, 0.45); border-radius: 8px; cursor: pointer; }
.rb input[type="file"]::file-selector-button:hover { background: rgba(92, 242, 196, 0.2); }
.rb textarea { min-height: 140px; }
.rb details > summary { cursor: pointer; }
.rb .rb-footer .btn--gold, .rb .playbar .btn--gold { color: #2b1704 !important; }
@media (max-width: 700px) {
  .rb-footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .rb-footer ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .rb-footer ul li { margin: 0; }
  .rb-footer ul a { display: inline-block; padding: 6px 0; }
  .rb-footer__top { padding-top: 34px; padding-bottom: 26px; }
  .eqrow, .eqlist li { grid-template-columns: 46px minmax(0, 1fr); }
  .eqlist__lvl { grid-column: 2; }
}
/* Rangliste */
.rb .table--rank th[scope="row"] { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; justify-items: start; }
.rb .table--rank th[scope="row"] .rankface { grid-row: span 2; }
.rb .table--rank th[scope="row"] .sub { grid-column: 2; }
.rb .rankface { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.rb .rank-name { font: 400 1.15rem/1.2 var(--font-display); color: #fff; text-decoration: none; }
.rb .rank-name:hover { color: var(--aurora); }
.rb .table--rank td, .rb .table--rank th { vertical-align: middle; }
.rb .rank-tools .tabs { display: none; }
.rb .rank-tools { justify-content: flex-end; }
.rb .fs-country--defugel { color: #8fb4ff; }
.rb .fs-country--craxion { color: #c6a4ff; }
.rb .rank--2 { color: #1b1d24; background: linear-gradient(180deg, #fff, #c9ced9); border-color: transparent; }
.rb .rank--3 { color: #2a1406; background: linear-gradient(180deg, #ffd7b0, #c27c45); border-color: transparent; }

.slotgrid__col { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.slotcell__k { max-width: 62px; font-size: 0.62rem; }
/* Features-Hero: gemaltes Nordlicht-Tal (branding/4auroria/hintergruende/hero_3840.jpg, dieselben Ebenen wie der
   Startseiten-Hero: bg/hero-sky + bg/hero-front, 1280/1920/2880 px) statt der kleinen Klassen-Figur. Text links auf
   dunklem Verlauf, rechts Burg und Nordlicht; Handy: Bildmitte (See + Nordlicht). */
.rb .hero--fsf .hero__art picture { opacity: 0; }
.rb .hero--fsf .hero__art { background: url("../img/4story/rb/bg/hero-front-1920.webp") 50% 100% / cover no-repeat, url("../img/4story/rb/bg/hero-sky-1920.webp") 50% 100% / cover no-repeat, #060b17; }
.rb .hero--fsf .hero__art::before { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(38% 46% at 72% 30%, rgba(92, 242, 196, 0.16), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.rb .hero--fsf .hero__art::after { z-index: 2; background: linear-gradient(90deg, rgba(5, 9, 19, 0.88) 0%, rgba(5, 9, 19, 0.5) 38%, rgba(5, 9, 19, 0.08) 68%, transparent 80%), linear-gradient(180deg, rgba(5, 9, 19, 0.25) 0%, transparent 22%, transparent 62%, #050913 100%); }
@media (min-width: 1500px), (min-width: 1000px) and (min-resolution: 1.5dppx) { .rb .hero--fsf .hero__art { background-image: url("../img/4story/rb/bg/hero-front-2880.webp"), url("../img/4story/rb/bg/hero-sky-2880.webp"); } }
@media (max-width: 700px) {
  .rb .hero--fsf .hero__art { background-image: url("../img/4story/rb/bg/hero-front-1280.webp"), url("../img/4story/rb/bg/hero-sky-1280.webp"); }
  .rb .hero--fsf .hero__art { background-position: 46% 50%, 46% 50%; }
  .rb .hero--fsf .hero__art::after { background: linear-gradient(180deg, rgba(5, 9, 19, 0.05) 0%, rgba(5, 9, 19, 0.3) 32%, rgba(5, 9, 19, 0.74) 58%, #050913 100%); }
}
@media (max-width: 700px) and (min-resolution: 2dppx) { .rb .hero--fsf .hero__art { background-image: url("../img/4story/rb/bg/hero-front-1920.webp"), url("../img/4story/rb/bg/hero-sky-1920.webp"); } }
.rb .hero__fluid { display: none; }
.rb .fsf-journey ol::before { background: linear-gradient(90deg, #1c3b66, #5cf2c4 60%, #f3c46a); box-shadow: 0 0 16px rgba(92, 242, 196, 0.35); }
.rb .fsf-band__art { opacity: 0.25; filter: hue-rotate(180deg) saturate(0.6); }
.rb .fsf-effort th { color: var(--ice); }
.rb .fsf-effort__bar { background: linear-gradient(90deg, rgba(92, 242, 196, 0.12), rgba(92, 242, 196, 0.35)); }
.rb .fsf-ranks__icon { color: var(--aurora); background: rgba(92, 242, 196, 0.1); }
.rb .fsf-hof { background: radial-gradient(70% 60% at 50% 0%, rgba(243, 196, 106, 0.14), transparent 70%), linear-gradient(180deg, rgba(16, 26, 46, 0.9), rgba(8, 13, 26, 0.92)) !important; border-color: rgba(243, 196, 106, 0.45) !important; box-shadow: 0 0 40px rgba(243, 196, 106, 0.1) !important; }
.rb .fsf-hof p, .rb .fsf-launch__cta p:not(.fsf-launch__date), .rb .fsf-shot__ph span { color: #d0dbea; }
.rb .fsf-hof__crest { background: radial-gradient(circle at 35% 30%, #fff1c9, #f3c46a 55%, #b87a20) !important; box-shadow: 0 0 0 6px #050913, 0 0 30px rgba(243, 196, 106, 0.4) !important; color: #2b1704 !important; }
.rb .fsf-demo--lang span.is-on, .rb .fsf-demo--key kbd, .rb .fsf-pack__price { color: #2b1704; background: var(--gold-grad); border-color: #ffe2a3; }
.rb .fsf-demo--inv i { border-color: var(--line-2); }
.rb .fsf-demo--inv i.is-full { background: linear-gradient(135deg, #5cf2c4, #1c3b66); border-color: #9dfbe0; }
.rb .fsf-demo--quest b { color: var(--ember-hi); text-shadow: 0 0 12px rgba(243, 196, 106, 0.6); }
.rb .fsf-shot img, .rb .fsf-shot__ph { border-color: var(--line-2); }
@media (max-width: 860px) { .rb .fsf-journey ol::before { background: linear-gradient(180deg, #1c3b66, #5cf2c4 60%, #f3c46a); } }

/* ---------- Hero v2: Logo als Mittelpunkt, Landschaft mit Tiefe (public/js/rb-sky.js) ---------- */
/* Figuren: drei links, drei rechts auf dem Ufer, Mitte frei fuer Logo und Text */
.trailer-btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; color: var(--ice); background: none; border: 0; font: 600 1rem/1 var(--font-body); cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border-radius: 16px; background: rgba(7, 13, 26, 0.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.facts > div { display: block; padding: 16px 20px; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font: 500 0.86rem/1.3 var(--font-body); color: var(--frost); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts dd { margin: 6px 0 0; font: 400 clamp(1.4rem, 2vw, 1.9rem)/1 var(--font-display); color: var(--ember-hi); text-align: center; }
.facts__ev dd { font: 600 1.05rem/1.3 var(--font-body); color: var(--ok); padding-top: 4px; }
@media (prefers-reduced-motion: reduce) { .sky-hero__copy > *, .sky-hero__cast .cast, .pulse::after { animation: none !important; } }
@media (max-width: 1180px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(4) { border-left: 0; }
  .facts > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
}
@media (max-width: 700px) {
  .trailer-btn { justify-content: center; }
  .facts > div { padding: 12px 6px; }
  .facts dt { font-size: 0.74rem; white-space: normal; }
  .facts dd { font-size: 1.3rem; }
  .facts__ev { grid-column: 1 / -1; border-left: 0 !important; }
}
@media (max-width: 480px) {
}

/* ---------- Charakterseite v2: Ausruestung rund um die 3D-Figur (wie das Charakterfenster im Spiel) ---------- */
.charhero { padding: 92px 0 22px; }
.charhero__row { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.charhero__id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.charhero__face { position: relative; overflow: hidden; flex: none; width: 76px; height: 76px; border-radius: 18px; background: radial-gradient(circle at 50% 30%, #1b2d4f, #0a1324); border: 1px solid rgba(243, 196, 106, 0.55); box-shadow: 0 0 24px rgba(243, 196, 106, 0.15); }
.charhero__face img { position: absolute; left: 50%; top: -2%; width: 200%; max-width: none; height: auto; transform: translateX(-50%); }
.charhero__face.cls__face--warrior img { width: 230%; top: -1%; }
.charhero__face.cls__face--assassin img { width: 150%; left: 46%; }
.charhero__face.cls__face--archer img { width: 250%; top: -4%; left: 42%; }
.charhero__face.cls__face--mage img { width: 210%; top: -14%; left: 54%; }
.charhero__face.cls__face--priest img { width: 260%; top: -3%; }
.charhero__face.cls__face--summoner img { width: 200%; top: -10%; left: 56%; }
.charhero .charx__name { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.charhero .charx__sub { margin-top: 4px; }
.gsbadge { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 168px; padding: 12px 22px; border-radius: 16px; background: radial-gradient(80% 80% at 50% 0%, rgba(243, 196, 106, 0.18), transparent 70%), rgba(10, 16, 30, 0.8); border: 1px solid rgba(243, 196, 106, 0.6); box-shadow: 0 0 30px rgba(243, 196, 106, 0.12), inset 0 1px 0 rgba(255, 230, 170, 0.15); }
.gsbadge__k { font: 600 0.82rem/1.2 var(--font-body); color: var(--frost); }
.gsbadge__v { font: 400 2.4rem/1.05 var(--font-display); color: var(--ember-hi); text-shadow: 0 0 18px rgba(243, 196, 106, 0.35); }
.charsec { padding-top: 18px; }
.doll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(50% 60% at 50% 40%, rgba(40, 70, 130, 0.22), transparent 70%), linear-gradient(180deg, rgba(12, 20, 38, 0.7), rgba(7, 12, 24, 0.7)); }
.doll__col { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.doll__mid { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.doll .charx__stage { min-height: 560px; height: 600px; border-radius: 18px; }
.gear { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 14px; background: rgba(8, 14, 28, 0.55); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.gear:hover { border-color: var(--line-2); background: rgba(14, 24, 44, 0.7); }
.gear--r { grid-template-columns: minmax(0, 1fr) 52px; text-align: right; }
.gear--r .gear__icon { order: 2; }
.gear--r .gear__body { align-items: flex-end; }
.gear.is-empty { opacity: 0.55; background: transparent; border-style: dashed; }
.gear__icon { --c: transparent; position: relative; display: block; width: 52px; height: 52px; border-radius: 12px; background: radial-gradient(circle at 50% 35%, #1a2a48, #070d1a); border: 1px solid var(--line-2); }
.gear__icon img { display: block; width: 100%; height: 100%; border-radius: 11px; image-rendering: pixelated; }
.gear__icon.has-fx { border-color: color-mix(in srgb, var(--c) 75%, white); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); }
.gear.is-empty .gear__icon { background: transparent; border-style: dashed; }
.gear__g { position: absolute; right: -5px; bottom: -6px; font: 700 0.74rem/1 var(--font-body); color: #2b1704; background: var(--gold-grad); border-radius: 6px; padding: 3px 5px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); }
.gear__body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.gear__slot { font-size: 0.78rem; color: var(--frost-2); }
.gear__name { font-weight: 600; color: #fff; line-height: 1.25; overflow-wrap: anywhere; }
.eq-q--rare .gear__name { color: #ffd77a; }
.eq-q--magic .gear__name { color: #9fc4ff; }
.gear__none { color: var(--frost-2); font-size: 0.9rem; }
.gear .eqfx { margin: 0; }
.gear__opts { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 0.82rem; color: #a9c9ff; }
.gear--r .gear__opts { justify-content: flex-end; }
.doll__h { margin: 0 0 8px; font: 600 0.9rem/1 var(--font-body); color: var(--frost); }
.doll__cos { padding: 12px 14px; border-radius: 14px; background: rgba(8, 14, 28, 0.55); border: 1px solid var(--line); }
.cosrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cos { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.cos .gear__icon { width: 48px; height: 48px; }
.cos.is-empty .gear__icon { background: transparent; border-style: dashed; opacity: 0.6; }
.cos__k { max-width: 100%; font-size: 0.74rem; color: var(--frost); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.charx2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.charx2 .charx__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.charx2 .charx__facts div:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
.charx2 .charx__facts div:not(:nth-child(3n + 1)) { padding-left: 14px; border-left: 1px solid var(--line); }
.charfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 28px; }
.charfoot .charsearch { flex: 1 1 360px; max-width: 520px; }
.charfoot p { margin: 0; }
@media (max-width: 1180px) {
  .doll { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .doll__mid { grid-column: 1 / -1; grid-row: 1; position: static; }
  .doll .charx__stage { height: 520px; min-height: 0; }
}
@media (max-width: 860px) {
  .charx2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .charhero { padding-top: 76px; }
  .charhero__face { width: 60px; height: 60px; border-radius: 14px; }
  .charhero .charx__sub { font-size: 0.98rem; }
  .gsbadge { flex-direction: row; gap: 12px; width: 100%; justify-content: space-between; padding: 10px 16px; }
  .gsbadge__v { font-size: 1.9rem; }
  .doll { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .doll .charx__stage { height: 440px; }
  .gear--r { grid-template-columns: 52px minmax(0, 1fr); text-align: left; }
  .gear--r .gear__icon { order: 0; }
  .gear--r .gear__body { align-items: flex-start; }
  .gear--r .gear__opts { justify-content: flex-start; }
  .gear.is-empty { display: none; }
  .charx2 .charx__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charx2 .charx__facts div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .charx2 .charx__facts div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
}

/* ---------- Startseite auf dem Handy: kuerzer (Wischleisten statt langer Listen) ---------- */
@media (max-width: 700px) {
  .rb-home .sec { padding: 56px 0; }
  .rb-home .sec-head { margin-bottom: 24px; }
  .rb-home .sec-head__lead { font-size: 1rem; }
  /* Wischleiste: horizontal scrollen, einrasten, Rand sichtbar lassen */
  .rb-home .cls__list, .rb-home .mgrid--home, .rb-home .perks, .rb-home .join__more {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scroll-padding: 0 16px; }
  .rb-home .cls__list::-webkit-scrollbar, .rb-home .mgrid--home::-webkit-scrollbar, .rb-home .perks::-webkit-scrollbar, .rb-home .join__more::-webkit-scrollbar { display: none; }
  .rb-home .cls__list > li { flex: 0 0 auto; scroll-snap-align: start; }
  .rb-home .cls__tab { grid-template-columns: 40px auto; padding: 6px 12px 6px 6px; border-color: var(--line); }
  .rb-home .cls__tabrole { display: none; }
  .rb-home .cls__tab .cls__face { grid-row: auto; }
  .rb-home .cls__art { height: 300px; }
  .rb-home .cls__art img { max-height: 290px; }
  .rb-home .cls__text { font-size: 1rem; }
  .rb-home .mgrid--home > li { flex: 0 0 62%; scroll-snap-align: start; }
  .rb-home .perks { border-top: 0; }
  .rb-home .perks > .perk:nth-child(n) { flex: 0 0 78%; scroll-snap-align: start; display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(12, 20, 38, 0.6); }
  .rb-home .perk__ico { margin-bottom: 12px; width: 44px; height: 44px; }
  .rb-home .sec__note { font-size: 0.92rem; margin-top: 18px; }
  .rb-home .fx__stage { height: 380px; }
  .rb-home .fx__text { min-height: 0; margin-bottom: 16px; }
  .rb-home .swatches { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .rb-home .swatch { padding: 3px 3px 5px; border-radius: 10px; gap: 3px; }
  .rb-home .swatch__img { border-radius: 7px; }
  .rb-home .swatch__name { font-size: 0.6rem; }
  .rb-home .fx__note { display: none; }
  .rb-home .pimp { margin-top: 28px; }
  .rb-home .pimp__steps { display: none; }
  .rb-home .pimp__dot { width: 22px; height: 22px; }
  .rb-home .live .evlist, .rb-home .newsitem__teaser { display: none; }
  .rb-home .podium__row { padding: 7px 0; }
  .rb-home .join { padding: 72px 0 56px; }
  .rb-home .join__cta { margin-bottom: 36px; }
  .rb-home .join__more > li { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (max-width: 700px) { .rb-home .swatch__name { display: none; } .rb-home .swatch { padding: 3px; } }
@media (max-width: 420px) { .swatch__name { font-size: 0.7rem; } }

/* ---------- Hero v2: Logo als Mittelpunkt, Landschaft mit Tiefe (public/js/rb-sky.js) ---------- */
.sky-hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(820px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 84px; background: radial-gradient(120% 70% at 50% 0%, #0d1a36 0%, #070e1e 45%, #050913 75%); }
.sky-hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 28px; }
.sky-hero__copy { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sky-hero__logo { position: relative; margin: 0 0 6px; line-height: 0; }
.sky-hero__logo::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 55%, rgba(92, 242, 196, 0.22), transparent 70%); filter: blur(20px); }
.sky-hero__logo img { width: min(880px, 92vw); height: auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.75)); }
.sky-hero__title { margin: 0 0 12px; font: 400 clamp(1.7rem, 3vw, 2.6rem)/1.1 var(--font-display); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8); text-wrap: balance; }
.sky-hero__lead { margin: 0 0 18px; color: #d3dded; font-size: 1.1rem; line-height: 1.6; max-width: 56ch; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9); }
.sky-hero__live { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 22px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(10, 20, 38, 0.66); border: 1px solid var(--line-2); color: #d4dfee; font-size: 0.95rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sky-hero__live strong { color: var(--ok); font-weight: 600; }
.sky-hero__sep { width: 1px; height: 14px; background: var(--line-2); }
.sky-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.sky-hero__free { margin: 14px 0 0; color: var(--frost); font-size: 0.92rem; text-shadow: 0 1px 10px #000; }
.trailer-btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; color: var(--ice); background: none; border: 0; font: 600 1rem/1 var(--font-body); cursor: pointer; }
.sky-hero__facts { position: relative; z-index: 5; width: 100%; padding-bottom: 30px; }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border-radius: 16px; background: rgba(7, 13, 26, 0.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.facts > div { display: block; padding: 16px 20px; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font: 500 0.86rem/1.3 var(--font-body); color: var(--frost); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts dd { margin: 6px 0 0; font: 400 clamp(1.4rem, 2vw, 1.9rem)/1 var(--font-display); color: var(--ember-hi); text-align: center; }
.facts__ev dd { font: 600 1.05rem/1.3 var(--font-body); color: var(--ok); padding-top: 4px; }
.sky-hero__copy > * { animation: rb-rise 0.9s var(--ease) both; }
.sky-hero__copy > :nth-child(2) { animation-delay: 0.1s; }
.sky-hero__copy > :nth-child(3) { animation-delay: 0.18s; }
.sky-hero__copy > :nth-child(4) { animation-delay: 0.26s; }
.sky-hero__copy > :nth-child(5) { animation-delay: 0.34s; }
@media (prefers-reduced-motion: reduce) { .sky-hero__copy > *, .sky-hero__cast .cast, .pulse::after { animation: none !important; } }
@media (max-width: 1180px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(4) { border-left: 0; }
  .facts > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .sky-hero { min-height: 0; padding-top: 78px; justify-content: flex-start; }
  .sky-hero__inner { order: 1; padding-bottom: 0; }
  .sky-hero__facts { order: 3; margin-top: -18px; }
}
@media (max-width: 700px) {
  .sky-hero__logo img { width: 94vw; }
  .sky-hero__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .sky-hero__lead { font-size: 1rem; }
  .sky-hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .sky-hero__cta .btn { width: 100%; }
  .trailer-btn { justify-content: center; }
  .facts > div { padding: 12px 6px; }
  .facts dt { font-size: 0.74rem; white-space: normal; }
  .facts dd { font-size: 1.3rem; }
  .facts__ev { grid-column: 1 / -1; border-left: 0 !important; }
}
@media (max-width: 480px) {
  .sky-hero__sep { display: none; }
  .sky-hero__live { border-radius: 14px; }
}

/* ---------- Hero v3: lebende 3D-Szene (rb-scene.js), Standbild/Video als Rueckfall ---------- */
.stage3d { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0b1426; }
.stage3d__poster, .stage3d__poster img, .stage3d__video, .stage3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage3d__poster img, .stage3d__video { object-fit: cover; object-position: 50% 70%; }
.stage3d__video { opacity: 0; transition: opacity .8s ease; }
.stage3d.is-video .stage3d__video { opacity: 1; }
.stage3d__canvas { opacity: 0; transition: opacity 1.2s ease; }
.stage3d__canvas canvas { display: block; }
.stage3d.is-live .stage3d__canvas { opacity: 1; }
.stage3d__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(42% 46% at 50% 40%, rgba(5, 9, 19, 0.58), rgba(5, 9, 19, 0.15) 70%, transparent 100%),
  linear-gradient(180deg, rgba(5, 9, 19, 0.55) 0%, transparent 16%, transparent 76%, #050913 100%); }
.sky-hero::after { display: none; }
@media (max-width: 860px) {
  .stage3d { position: relative; order: 2; inset: auto; width: 100%; aspect-ratio: 780 / 700; margin-top: 10px; z-index: 0; }
  .stage3d__shade { background: linear-gradient(180deg, #050913 0%, transparent 18%, transparent 80%, #050913 100%); }
  .sky-hero { background: radial-gradient(120% 60% at 50% 0%, #10203e 0%, #070e1e 55%, #050913 80%); }
}

/* ---------- Einblenden beim Scrollen ---------- */
.rb-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rb-reveal .reveal.is-in { opacity: 1; transform: none; }
.rb-reveal .mgrid.reveal > li, .rb-reveal .perks.reveal > li, .rb-reveal .fxgallery.reveal > li { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.rb-reveal .reveal.is-in > li { opacity: 1; transform: none; }
.rb-reveal .reveal.is-in > li:nth-child(2) { transition-delay: .06s; }
.rb-reveal .reveal.is-in > li:nth-child(3) { transition-delay: .12s; }
.rb-reveal .reveal.is-in > li:nth-child(4) { transition-delay: .18s; }
.rb-reveal .reveal.is-in > li:nth-child(5) { transition-delay: .24s; }
.rb-reveal .reveal.is-in > li:nth-child(6) { transition-delay: .3s; }
.rb-reveal .reveal.is-in > li:nth-child(n + 7) { transition-delay: .34s; }

/* ---------- Karten: Kippen + Lichtfleck unter dem Mauszeiger ---------- */
.mcard, .fxcard, .perk, .join__more li { transform-style: preserve-3d; }
.is-tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-3px) !important; transition: transform .12s linear !important; }
.mcard::after, .fxcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(150, 255, 225, 0.12), transparent 60%); }
.mcard.is-tilt::after, .fxcard.is-tilt::after { opacity: 1; }
.fxcard { position: relative; }

/* ---------- Effekt-Kacheln leben: Lichtschimmer laeuft durch, aktive Kachel pulsiert ---------- */
.swatch { overflow: hidden; }
.swatch::before { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--c) 45%, white) 50%, transparent 58%); opacity: 0.0; transform: translateX(-60%); animation: rb-sheen 6s ease-in-out infinite; }
.swatch:nth-child(3n + 1)::before { animation-delay: .4s; }
.swatch:nth-child(3n + 2)::before { animation-delay: 1.7s; }
.swatch:nth-child(3n)::before { animation-delay: 3.1s; }
@keyframes rb-sheen { 0%, 70% { transform: translateX(-60%); opacity: 0; } 78% { opacity: .55; } 92%, 100% { transform: translateX(60%); opacity: 0; } }
.swatch.is-active .swatch__img { animation: rb-glow 2.4s ease-in-out infinite; }
@keyframes rb-glow { 50% { box-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent); filter: brightness(1.15); } }
.swatch:hover .swatch__img { transform: scale(1.06); }
.swatch__img { transition: transform .3s var(--ease); }
.pimp__dot { animation: rb-dot 3.2s ease-in-out infinite; }
.pimp__dot:nth-child(odd) { animation-delay: .8s; }
.pimp__dot:nth-child(3n) { animation-delay: 1.6s; }
@keyframes rb-dot { 50% { transform: translateY(-3px); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 70%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .swatch::before, .swatch.is-active .swatch__img, .pimp__dot { animation: none !important; }
  .rb-reveal .reveal, .rb-reveal .reveal > li { opacity: 1 !important; transform: none !important; }
}

/* Klassen-Gesichter: eigene Renders (classes/<klasse>-face.webp, bereits Kopf/Schultern) */
.cls__face img, .podium__cls img, .charhero__face img { position: static; left: auto; top: auto; width: 100% !important; height: 100%; max-width: none; object-fit: cover; object-position: 50% 15%; transform: none; }
.cls__art img { filter: drop-shadow(0 0 1px rgba(150, 255, 225, 0.35)) drop-shadow(0 30px 30px rgba(0, 0, 0, 0.7)); }

/* ---------- Reiche: geteilte Buehne mit eigener 3D-Schluesselgrafik (rb-scene.js, render-hero.mjs realms) ---------- */
.kingdoms { position: relative; padding: 104px 0 72px; }
.kingdoms__head .sec-head { margin-bottom: 44px; }
.kingdoms__split { position: relative; display: flex; height: clamp(600px, 82vh, 920px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.kingdom { --k: #7fb4ff; --k2: #f3c46a; position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; align-items: flex-end; transition: flex-grow .7s var(--ease); }
.kingdom--derion { --k: #c69bff; --k2: #5cf2c4; justify-content: flex-end; }
.kingdoms__split:hover .kingdom { flex-grow: 0.82; }
.kingdoms__split .kingdom:hover { flex-grow: 1.35; }
.kingdom__art, .kingdom__art img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.kingdom__art img { object-fit: cover; object-position: 30% 60%; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(0.9) brightness(0.92); }
.kingdom--derion .kingdom__art img { object-position: 70% 60%; }
.kingdom:hover .kingdom__art img { transform: scale(1.09); filter: saturate(1.05) brightness(1); }
/* Nordlicht in Reichsfarben: langsam wandernde Lichtbaender ueber der Grafik */
.kingdom__aurora { position: absolute; inset: -20% -10% 30%; z-index: -2; mix-blend-mode: screen; opacity: .55; pointer-events: none;
  background: radial-gradient(40% 30% at 30% 40%, color-mix(in srgb, var(--k) 55%, transparent), transparent 70%), radial-gradient(35% 25% at 70% 30%, color-mix(in srgb, var(--k2) 35%, transparent), transparent 70%);
  filter: blur(30px); animation: rb-kaurora 14s ease-in-out infinite alternate; }
.kingdom--derion .kingdom__aurora { animation-duration: 17s; animation-direction: alternate-reverse; }
@keyframes rb-kaurora { 0% { transform: translate3d(-6%, 0, 0) scale(1); } 50% { transform: translate3d(4%, -4%, 0) scale(1.12); opacity: .75; } 100% { transform: translate3d(8%, 2%, 0) scale(1.02); } }
.kingdom__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 19, 0.45) 0%, transparent 22%, transparent 42%, rgba(5, 9, 19, 0.92) 88%), linear-gradient(90deg, rgba(5, 9, 19, 0.55), transparent 60%); }
.kingdom--derion .kingdom__shade { background: linear-gradient(180deg, rgba(5, 9, 19, 0.45) 0%, transparent 22%, transparent 42%, rgba(5, 9, 19, 0.92) 88%), linear-gradient(270deg, rgba(5, 9, 19, 0.55), transparent 60%); }
.kingdom__body { width: 100%; max-width: 600px; padding: 0 clamp(28px, 4vw, 72px) clamp(40px, 6vh, 72px); }
.kingdom--derion .kingdom__body { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.kingdom__crest { width: 76px; height: 89px; margin-bottom: 14px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 22px color-mix(in srgb, var(--k) 45%, transparent)); transition: transform .6s var(--ease); }
.kingdom:hover .kingdom__crest { transform: translateY(-4px) scale(1.05); }
.kingdom__region { margin: 0 0 6px; font: 600 1rem/1.2 var(--font-body); color: color-mix(in srgb, var(--k) 80%, white); }
.kingdom__name { margin: 0 0 16px; font: 400 clamp(3rem, 6vw, 6.4rem)/0.95 var(--font-display); color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.7), 0 0 60px color-mix(in srgb, var(--k) 35%, transparent); }
.kingdom__text { margin: 0 0 26px; max-width: 44ch; color: #d6e0ee; font-size: 1.1rem; line-height: 1.6; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.rb .kingdom__cta { color: #fff; background: color-mix(in srgb, var(--k) 22%, rgba(5, 9, 19, 0.6)); border: 1px solid color-mix(in srgb, var(--k) 70%, white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rb .kingdom__cta:hover { color: #050913; background: var(--k); border-color: var(--k); box-shadow: 0 0 30px color-mix(in srgb, var(--k) 55%, transparent); }
.kingdoms__seam { position: relative; z-index: 3; flex: 0 0 2px; background: linear-gradient(180deg, transparent, #f3c46a 20%, #9c7bff 80%, transparent); box-shadow: 0 0 22px rgba(243, 196, 106, 0.4); }
.kingdoms__vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); display: grid; place-items: center; width: 64px; height: 64px; background: #070d1b; border: 1px solid rgba(243, 196, 106, 0.7); box-shadow: 0 0 34px rgba(0, 0, 0, 0.8), 0 0 24px rgba(243, 196, 106, 0.25); font: 400 1.2rem/1 var(--font-display); color: var(--ember-hi); }
.kingdoms__vs::before { content: "VS"; transform: rotate(-45deg); }
.kingdoms__vs { color: transparent; }
.kingdoms__note { text-align: center; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) { .kingdom__aurora { animation: none; } }
@media (max-width: 900px) {
  .kingdoms { padding: 64px 0 40px; }
  .kingdoms__split { flex-direction: column; height: auto; }
  .kingdom, .kingdoms__split:hover .kingdom, .kingdoms__split .kingdom:hover { flex: none; min-height: 520px; }
  .kingdom--derion { justify-content: flex-start; }
  .kingdom--derion .kingdom__body { text-align: left; align-items: flex-start; }
  .kingdom--derion .kingdom__shade { background: linear-gradient(180deg, rgba(5, 9, 19, 0.35) 0%, transparent 25%, transparent 40%, rgba(5, 9, 19, 0.92) 85%); }
  .kingdoms__seam { flex: 0 0 2px; height: 2px; background: linear-gradient(90deg, transparent, #f3c46a 20%, #9c7bff 80%, transparent); }
  .kingdom__name { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .kingdom__text { font-size: 1rem; }
  .kingdom__crest { width: 58px; height: 68px; }
}

.rb .fsf-duo--one { grid-template-columns: 1fr; }
/* Breitenpruefung (widths.js): Belohnungstreppe breiter, Download-Knopf, Preisliste auf dem Handy */
.rb .fsf-stairs { margin-left: calc(50% - min(50vw - 24px, 830px)); margin-right: calc(50% - min(50vw - 24px, 830px)); }
.rb .fsf-stair__items .fsi { display: none; }
.rb .fsf-stair__items { font-size: 0.82rem; -webkit-hyphens: auto; hyphens: auto; }
.rb .dl__main .btn--xl { padding: 0 22px; font-size: 1rem; white-space: nowrap; }
@media (max-width: 700px) {
  .rb .pricetable th:nth-child(3), .rb .pricetable td:nth-child(3) { display: none; }
  .rb .dl__main .btn--xl { white-space: normal; }
}
.kingdoms__vs::before { color: var(--ember-hi); }
.facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 1180px) { .facts { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Grosse Monitore (2560/3440): breiterer Inhalt, groessere Grundschrift statt schmaler Spalte in der Mitte */
@media (min-width: 1800px) { .rb .wrap { max-width: 1440px; } .rb .site-header__inner { max-width: 1560px; } }
@media (min-width: 2300px) { html:has(body.rb) { font-size: 118%; } .rb .wrap { max-width: 1680px; } .rb .site-header__inner { max-width: 1800px; } }
@media (min-width: 3000px) { html:has(body.rb) { font-size: 132%; } .rb .wrap { max-width: 1900px; } .rb .site-header__inner { max-width: 2040px; } }

/* ---------- Runde 5: Bedienelemente laufen nie ueber ---------- */
/* Segment-Schalter (Klasse/Rasse/Geschlecht): Breite nach Inhalt, umbrechen statt ueberlaufen */
.seg, .seg--2, .seg--3 { display: flex; flex-wrap: wrap; gap: 4px; }
.seg__opt { flex: 1 1 auto; min-width: max-content; white-space: nowrap; padding: 6px 14px; }
/* ein gemeinsames Bedienfeld fuer Klasse, Rasse, Geschlecht */
.fx__pickers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.fx__pickers .seg { border: 0; background: rgba(255, 255, 255, 0.03); }
/* Kennzahlen-Leiste: gleich breite Zellen, Trennlinien als 1-px-Fugen -> sauber bei jeder Breite */
.facts { padding: 0 !important; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line-2); grid-template-columns: none; }
.facts > div, .facts > div + div { flex: 1 1 150px; border: 0 !important; margin: 0 !important; background: rgba(7, 13, 26, 0.94); padding: 14px 12px; }
.facts__ev { flex-basis: 190px !important; }
@media (max-width: 700px) { .facts > div { flex-basis: 30%; } .facts__ev { flex-basis: 100% !important; } }
/* allgemein: Text in Knoepfen/Pillen umbricht statt herauszulaufen */
.rb .btn, .filterbar__opt, .chip, .rb-tab, .rb-newstabs a { max-width: 100%; }
.rb .btn { white-space: normal; text-align: center; line-height: 1.15; }
.swatch__name { max-width: 100%; overflow-wrap: anywhere; }
.cls__tabname, .cls__tabrole { overflow-wrap: anywhere; }
.kingdom__body { max-width: min(46vw, 920px); } .kingdom__name { font-size: clamp(3rem, 5.2vw, 6.4rem); }
@media (max-width: 700px) { .facts { padding: 0 !important; } }
@media (max-width: 900px) { .kingdom__name { font-size: clamp(2.4rem, 11vw, 3.6rem); } .kingdom__body { max-width: none; } }
/* Klassen-Schalter: festes 3er-Raster (6 Klassen = 2 saubere Reihen), Handy 2er-Raster */
.fx__pickers .seg:has([data-cls]) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx__pickers .seg:has([data-cls]) .seg__opt { min-width: 0; padding: 6px 8px; }
@media (max-width: 480px) { .fx__pickers .seg:has([data-cls]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Gemalte Key-Art im Hero (build-bg.js): Ebenen, Nordlicht-Schleier, 3D-Helden obenauf ---------- */
.stage3d--painted { background: #050913; }
.stage3d__layer { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.stage3d__aurora { position: absolute; inset: 0 0 45% 0; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(45% 60% at 30% 30%, rgba(92, 242, 196, 0.35), transparent 70%), radial-gradient(40% 50% at 70% 20%, rgba(156, 123, 255, 0.3), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent);
  filter: blur(24px); animation: rb-kaurora 16s ease-in-out infinite alternate; }
.stage3d--painted .stage3d__canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .stage3d__aurora { animation: none; } }
.stage3d--painted .stage3d__video { display: none; }
.stage3d--painted .stage3d__layer + .stage3d__layer { z-index: 1; } .stage3d--painted .stage3d__canvas { z-index: 2; } .stage3d--painted .stage3d__aurora { z-index: 0; }
.stage3d__layer { max-width: none; }

.stage3d__shadow { position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 3, 10, 0.95), rgba(1, 3, 10, 0.7) 45%, rgba(1, 3, 10, 0) 100%); }
.kingdom__art--painted img { filter: none; object-position: 22% 40%; }
.kingdom--derion .kingdom__art--painted img { object-position: 78% 40%; }
.kingdom:hover .kingdom__art--painted img { filter: brightness(1.08); }

/* Key-Art statisch, ohne Ueberstand (keine Parallaxe mehr) */
.stage3d__layer { inset: 0; width: 100%; height: 100%; transform: none !important; will-change: auto; }

/* Freunde werben (rb_home.njk): Glas-Kasten mit Gold-Akzent wie .join__more, zwischen Extras und Live */
.refband { padding: 0 0 72px; }
.refband__box { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px 28px; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(243, 196, 106, 0.10), rgba(8, 14, 28, 0.66) 55%); border: 1px solid rgba(243, 196, 106, 0.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.refband__coin { width: 72px; height: 72px; }
.refband__title { margin: 0 0 8px; font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--font-display); color: var(--ember-hi); text-wrap: balance; }
.refband__text { margin: 0 0 6px; color: #d0dbea; line-height: 1.6; }
.refband__note { margin: 0; color: var(--frost); font-size: 0.92rem; }
.refband__cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .refband__box { grid-template-columns: 52px minmax(0, 1fr); padding: 22px 18px; }
  .refband__coin { width: 52px; height: 52px; }
  .refband__cta { grid-column: 1 / -1; }
  .refband__cta .btn { flex: 1 1 100%; justify-content: center; }
}
/* Erfolge: Punkte und Titel in der Rangliste (Owner 29.10.2026: Rangliste nach Erfolgspunkten) */
.rb .table--rank th[scope="row"] .rankface { grid-row: span 3; }
.rb .table--rank .ach-points { color: var(--ember-hi); font: 600 1.08rem/1.2 var(--font-label); letter-spacing: 0.02em; }
.rb .table .ach-title { color: var(--aurora); font: 500 0.82rem/1.25 var(--font-label); letter-spacing: 0.05em; }

/* Coin-Event: Hinweis am Menuepunkt Item-Shop */
.rb .nav-event { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: #ff8a1f; color: #2a1405; font-size: 0.74em; font-weight: 700; line-height: 1.2; white-space: nowrap; }

/* Hauptmenue: Untermenues (rb_header.njk). Desktop: Hover (nur mit Maus), Pfeil-Knopf und Tastatur; bis 1240 px Akkordeon. */
.rb .nav-drop { position: relative; display: flex; align-items: center; }
.rb .nav-drop .nav-drop__top { padding-right: 2px; }
.rb .nav-drop__btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: none; color: #9fb0c7; cursor: pointer; transition: color .15s, transform .2s var(--ease); }
.rb .nav-drop__btn:hover { color: #fff; }
.rb .nav-drop__btn:focus-visible { outline: 2px solid var(--aurora); outline-offset: 1px; }
.rb .nav-drop.is-inside > .nav-drop__top { color: #fff; }
.rb .nav-drop.is-inside > .nav-drop__top::after { content: ""; position: absolute; left: 12px; right: 2px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--aurora); box-shadow: 0 0 10px var(--aurora); }
.rb .nav-drop.is-open > .nav-drop__btn svg { transform: rotate(180deg); }
.rb .nav-drop__menu { margin: 0; padding: 0; list-style: none; }
@media (min-width: 1241px) {
  .rb .nav-drop__menu { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 250px; margin-top: 6px; padding: 8px; border: 1px solid var(--line-2); border-radius: 12px; background: #0c1528; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
  /* Bruecke ueber den Abstand, damit die Maus das Menue erreicht */
  .rb .nav-drop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .rb .site-nav__main .nav-drop__menu a { display: block; padding: 11px 12px; white-space: nowrap; }
  .rb .site-nav__main .nav-drop__menu a[aria-current="page"] { color: var(--aurora); background: rgba(92, 242, 196, 0.1); }
  .rb .site-nav__main .nav-drop__menu a[aria-current="page"]::after { display: none; }
  .rb .nav-drop.is-open > .nav-drop__menu, .no-js .rb .nav-drop:focus-within > .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1241px) and (hover: hover) {
  .rb .nav-drop:hover > .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1241px) and (max-width: 1560px) {
  .rb .nav-drop.is-inside > .nav-drop__top::after { left: 8px; }
}
@media (max-width: 1240px) {
  .rb .nav-drop { flex-wrap: wrap; }
  .rb .nav-drop .nav-drop__top { flex: 1 1 0; min-width: 0; padding-right: 6px; }
  .rb .nav-drop.is-inside > .nav-drop__top::after { display: none; }
  .rb .nav-drop.is-inside > .nav-drop__top { color: var(--aurora); }
  .rb .nav-drop__btn { width: 52px; height: 49px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .rb .nav-drop__menu { flex: 0 0 100%; padding-left: 14px; }
  .rb .site-nav__main .nav-drop__menu a { font-size: 1rem; padding: 12px 6px; }
  .js .rb .nav-drop__menu { display: none; }
  .js .rb .nav-drop.is-open > .nav-drop__menu { display: block; }
  .no-js .rb .nav-drop__btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb .nav-drop__menu, .rb .nav-drop__btn { transition: none; }
}

/* Aura-Gewand: Stufe als A+N (statt +41) */
.gear__g--aura { background: linear-gradient(135deg, #b9e6ff, #6fb8ff 55%, #8a5cff); color: #0b1236; }
.gear__aura { margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 0.72em; font-weight: 700; color: #0b1236; background: linear-gradient(135deg, #b9e6ff, #8fb8ff); vertical-align: middle; }
