/* Squishy Gaming – Website. Gleiche Bildsprache wie die Spiele (squishy-studio-hud): flach und crisp,
   dunkles Glas mit feinem Rand, klare weiße Schrift, Spiel-Kunst klar ohne Schleier. Kein Glow, keine Verlaufs-Knöpfe,
   keine Schatten-„Füße“. Akzent = Studio-Gelee-Lila, aktiv = HUD-Gelb. */
@font-face { font-family: "Lilita One"; src: url("../fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #0e0818;          /* Seite */
  --ink2: #150c22;         /* abgesetzte Bereiche */
  --glas: rgba(8, 3, 16, .74);
  --flaeche: #1a1029;      /* Karten */
  --rand: rgba(255, 255, 255, .14);
  --rand2: rgba(255, 255, 255, .32);
  --text: #ffffff;
  --leise: #b9b0c9;
  --gelee: #b452ff;        /* Studio-Gelee (Kauf-Knopf in jedem Spiel) */
  --gelb: #ffd83d;         /* HUD: aktiv */
  --pink: #ff5fa8;
  --zitrone: #ffd83d;
  --mint: #5ef0c8;
  --violett: #b452ff;
  --gold: #ffc23a;
  --bronze: #d98a4e;
  --silber: #d9e3f0;
  --rund: 14px;
  --schrift: "Lilita One", "Arial Black", sans-serif;
  --text-schrift: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.55 var(--text-schrift); background: var(--ink); overflow-x: hidden; }
body.spielt { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--schrift); font-weight: 400; line-height: 1.05; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
.innen { width: min(1240px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Logo = weißes Squishy-Emblem */
.logo { display: block; height: 52px; width: auto; }
.logo.gross { height: clamp(90px, 16vw, 170px); }
.kopf-logo .logo { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 70%; }
.kopf-logo:hover .logo { transform: scale(1.06, .94); }

/* ---------- Kopfleiste: dunkles Glas, feine Linie */
.kopf { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 6px 24px; background: var(--glas); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rand); }
.kopf-logo { text-decoration: none; flex: none; }
.kopf-nav { display: flex; gap: 22px; }
.kopf-nav a { text-decoration: none; color: var(--leise); font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.kopf-nav a:hover { color: var(--text); }
.kopf-nav a.an { color: var(--text); border-bottom-color: var(--gelb); }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kopf-rechts > button { height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 1px solid var(--rand); border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; }
.kopf-rechts > button:hover { border-color: var(--rand2); }
.daily-knopf { color: var(--leise); }
.daily-knopf.bereit { color: var(--ink); background: var(--gelb) !important; border-color: var(--gelb) !important; }
.coin-chip img { width: 20px; height: 20px; object-fit: contain; }
.coin-chip b { font-family: var(--schrift); font-weight: 400; font-size: 17px; color: var(--gelb); }
.coin-chip.hupf { animation: hupf .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hupf { 40% { transform: scale(1.15, .88); } }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gelee); font-family: var(--schrift); font-size: 14px; margin-left: -8px; }
.spieler-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menue-knopf { display: none !important; font-size: 18px; }

/* ---------- Knöpfe wie in den Spiel-Fenstern: weiße Pille / umrandete Pille */
.knopf { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #fff; border-radius: 999px; padding: 11px 24px;
  font-family: var(--schrift); font-size: 19px; text-decoration: none; color: var(--ink); background: #fff; transition: background .15s, border-color .15s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.knopf:hover { background: var(--gelb); border-color: var(--gelb); }
.knopf:active { transform: scale(1.05, .92); }
.knopf.leise { background: transparent; color: #fff; border-color: var(--rand2); }
.knopf.leise:hover { border-color: #fff; background: transparent; }
.knopf.pink { background: var(--pink); border-color: var(--pink); color: #fff; }
/* Studio-Gelee („S“ wie der Kauf-Knopf in jedem Spiel) im Haupt-Knopf; quetscht sich beim Drüberfahren */
.knopf .gelee { width: 30px; height: 30px; margin: -6px 0 -6px -12px; }
.knopf .gelee-s { margin-left: -40px; }
.knopf:hover .gelee { animation: gelee .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gelee { 30% { transform: scale(1.2, .8); } 60% { transform: scale(.92, 1.08); } }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Grundbausteine */
.karte { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--rund); padding: 20px; }
.karte + .karte { margin-top: 16px; }
.karte-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.karte-kopf h2 { font-size: 24px; }
.glas { background: var(--glas); border: 1px solid var(--rand); border-radius: var(--rund); }
.abschnitt { margin: 72px 0; }
.abschnitt-kopf { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rand); }
.abschnitt-kopf h2 { font-size: clamp(30px, 4vw, 44px); }
.abschnitt-kopf p { margin: 0; color: var(--leise); }
.abschnitt-kopf > div p { margin-top: 6px; }
.mehr { margin-left: auto; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1.5px solid var(--gelb); white-space: nowrap; }
.mehr:hover { color: var(--gelb); }
.status-text { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--farbe, var(--gelb)); }
.marke { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; border: 1px solid currentColor; color: var(--gelb); }
.beispiel { margin-left: auto; font-size: 11px; color: var(--leise); border: 1px dashed var(--leise); border-radius: 6px; padding: 2px 6px; }
.live { display: none; }
.blende { opacity: 1; }
.reiter { display: flex; gap: 2px; border: 1px solid var(--rand); padding: 3px; border-radius: 999px; }
.reiter button { flex: 1; border: 0; background: none; color: var(--leise); padding: 6px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.reiter button.an { background: #fff; color: var(--ink); }

/* ---------- Bühne (Startseite): Welt über die ganze Breite, Bild klar, Text auf Glas */
.buehne { position: relative; height: min(76vh, 680px); min-height: 520px; overflow: hidden; border-bottom: 1px solid var(--rand); isolation: isolate; }
.buehne-bild { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; pointer-events: none; }
.buehne-bild.an { opacity: 1; pointer-events: auto; }
.buehne-bild > .hg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.buehne-figuren { position: absolute; right: max(4vw, 24px); bottom: 0; height: 88%; display: flex; align-items: end; z-index: -1; }
.buehne-figuren img { height: 100%; width: auto; transform-origin: bottom; }
.buehne-figuren img + img { height: 90%; margin-left: -9%; }
.buehne-bild.an .buehne-figuren img { animation: auftritt .8s cubic-bezier(.3, 1.5, .5, 1) both; }
.buehne-bild.an .buehne-figuren img + img { animation-delay: .1s; }
@keyframes auftritt { from { transform: translateY(14px) scale(1.04, .9); } }
.buehne-innen { height: 100%; display: flex; align-items: center; }
.buehne-text { max-width: 470px; padding: 26px 28px; }
.buehne-text p { font-size: 18px; margin: 10px 0 22px; }
.buehne-text .by-logo { width: min(320px, 100%); margin-top: 8px; }
.buehne-text .ga-logo { width: min(400px, 100%); margin: 6px 0 0 -8px; }
.buehne-reiter { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 6px; }
.buehne-reiter button { border: 1px solid var(--rand2); background: var(--glas); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 14px; color: var(--leise); }
.buehne-reiter button.an { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Spiele als große Reihen, abwechselnd */
.spiel-reihe { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rand); }
.spiel-reihe:last-child { border-bottom: 0; }
.spiel-reihe:nth-child(even) .spiel-bild { order: 2; }
.spiel-bild { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--rund); overflow: hidden; border: 1px solid var(--rand); isolation: isolate; }
.spiel-bild .hg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.spiel-bild .figuren { position: absolute; inset: 10% 0 0 0; display: flex; justify-content: center; align-items: end; }
.spiel-bild .figuren img { height: 100%; width: auto; transform-origin: bottom; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.spiel-bild .figuren img + img { height: 90%; margin-left: -10%; }
.spiel-bild:hover .figuren img { transform: scale(1.04, .95); }
.spiel-bild:hover .figuren img + img { transition-delay: .05s; }
.spiel-text h3 { font-size: clamp(34px, 4vw, 48px); margin: 6px 0 10px; }
.spiel-text p { color: #e6def3; margin: 0 0 18px; }
.eckdaten { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 28px; }
.eckdaten span { display: block; font-size: 12px; color: var(--leise); text-transform: uppercase; letter-spacing: .05em; }
.eckdaten b { font-family: var(--schrift); font-weight: 400; font-size: 21px; color: var(--farbe); }

/* ---------- Claim + Studio-System (wie eine Regeltabelle) */
.system-block { padding: 8px 0 0; }
.claim { font-family: var(--schrift); font-size: clamp(42px, 7vw, 84px); line-height: .95; margin: 0; }
.claim-unter { color: var(--leise); font-size: 18px; margin: 12px 0 28px; max-width: 560px; }
.claim-klein { color: var(--gelb); font-weight: 700; }
.system { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--rand2); }
.system div { padding: 18px 20px 4px 0; border-right: 1px solid var(--rand); }
.system div + div { padding-left: 20px; }
.system div:last-child { border-right: 0; }
.system dt { font-family: var(--schrift); font-size: 22px; margin-bottom: 6px; }
.system dd { margin: 0; color: var(--leise); font-size: 15px; }

/* ---------- Figuren-Leiste */
.figuren-leiste { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.figur-mini { scroll-snap-align: start; text-decoration: none; border-radius: var(--rund); background: var(--flaeche); border: 1px solid var(--rand); padding: 14px 10px 12px; text-align: center; border-top: 3px solid var(--farbe); }
.figur-mini:hover { border-color: var(--farbe); }
.figur-mini img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 8px; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transform-origin: bottom; }
.figur-mini:hover img { transform: scale(1.08, .92); }
.figur-mini b { font-family: var(--schrift); font-weight: 400; font-size: 17px; display: block; line-height: 1.1; }
.figur-mini span { font-size: 13px; color: var(--leise); }

/* ---------- Giveaways */
.giveaways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.giveaway { border-radius: var(--rund); padding: 22px; background: var(--flaeche); border: 1px solid var(--rand); border-left: 3px solid var(--farbe); }
.giveaway h3 { font-size: 24px; }
.giveaway p { color: var(--leise); margin: 8px 0 18px; }
.giveaway .knopf { font-size: 16px; padding: 8px 18px; }
.giveaway-hinweis { font-size: 13px; color: var(--leise); }

/* ---------- News als Liste */
.news { display: grid; }
.post { display: grid; grid-template-columns: 130px 1fr; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rand); text-decoration: none; }
.post:first-child { padding-top: 0; }
.post time { grid-row: span 2; color: var(--leise); font-size: 14px; padding-top: 4px; }
.post h3 { font-size: 22px; }
.post p { margin: 0; color: var(--leise); }
.post:hover h3 { color: var(--gelb); }

/* ---------- Eigene Gewinne + Werte */
.zwei-spalten-gleich { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.schalter-zeile { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 6px; font-size: 14px; color: var(--leise); }
.schalter { border: 1px solid var(--rand); background: none; border-radius: 99px; padding: 4px 12px; font-weight: 600; }
.kipp { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.kipp input { accent-color: var(--gelee); }
.gewinn-zeilen { list-style: none; margin: 0; padding: 0; }
.gewinn-zeilen li { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rand); }
.gewinn-zeilen li:last-child { border-bottom: 0; }
.gewinn-zeilen li.leer { display: block; text-align: center; color: var(--leise); padding: 18px; }
.gw-bild img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: var(--ink2); }
.gw-text { min-width: 0; }
.gw-text b, .gw-wert b { display: block; font-size: 14px; }
.gw-text span, .gw-wert span { font-size: 12px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.gw-text i { color: var(--pink); font-style: normal; }
.gw-wert { text-align: right; }
.gw-wert b { font-family: var(--schrift); font-weight: 400; font-size: 18px; color: var(--gelb); }
.mini-rang { list-style: none; padding: 0; margin: 0; }
.mini-rang li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--rand); }
.mini-rang .platz { font-family: var(--schrift); color: var(--leise); }
.mini-rang b { font-family: var(--schrift); font-weight: 400; color: var(--gelb); }
.statistik { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.statistik div { padding: 4px 0; }
.statistik div + div { padding-left: 16px; border-left: 1px solid var(--rand); }
.statistik b { display: block; font-family: var(--schrift); font-weight: 400; font-size: 30px; }
.statistik span { font-size: 13px; color: var(--leise); }

/* ---------- Spiel-Seite */
.spiel-held { position: relative; height: min(70vh, 620px); min-height: 480px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rand); }
.spiel-held > .hg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.spiel-held .innen { height: 100%; display: grid; grid-template-columns: minmax(0, 470px) 1fr; align-items: center; gap: 20px; }
.spiel-held .innen > div:first-child { position: relative; z-index: 2; background: var(--glas); border: 1px solid var(--rand); border-radius: var(--rund); padding: 24px 28px; }
.spiel-held .by-logo { width: min(380px, 100%); }
.spiel-held .ga-logo { width: min(420px, 100%); margin-left: -8px; }
.spiel-held p.tag { font-size: 18px; margin: 10px 0 20px; }
.spiel-held .held-text .marke { color: var(--farbe); }
.spiel-held .figuren { align-self: end; display: flex; justify-content: end; align-items: end; height: 86%; min-width: 0; }
.spiel-held .figuren img { height: 100%; width: auto; max-width: 62%; object-fit: contain; object-position: bottom; }
.spiel-held .figuren img + img { margin-left: -12%; height: 90%; }
.fakten { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rand2); border-bottom: 1px solid var(--rand); }
.fakten div { padding: 14px 16px 14px 0; }
.fakten div + div { padding-left: 16px; border-left: 1px solid var(--rand); }
.fakten span { font-size: 12px; color: var(--leise); display: block; text-transform: uppercase; letter-spacing: .05em; }
.fakten b { font-family: var(--schrift); font-weight: 400; font-size: 22px; color: var(--farbe, #fff); }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; margin-top: 40px; }
.seitenleiste .klebt { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.seitenleiste .karte + .karte { margin-top: 0; }
.regel-liste { margin: 0; padding-left: 20px; color: #e6def3; } .regel-liste li { margin: 6px 0; }
.stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.stufe { border-radius: var(--rund); padding: 16px; background: var(--flaeche); border: 1.5px solid var(--m); }
.stufe.bronze { --m: var(--bronze); } .stufe.silber { --m: var(--silber); } .stufe.gold { --m: var(--gold); }
.stufe h4 { font-size: 20px; color: var(--m); } .stufe p { margin: 6px 0 0; font-size: 14px; color: var(--leise); }
.stufe .preis { float: right; font-family: var(--schrift); border: 1.5px solid var(--m); border-radius: 999px; padding: 0 10px; font-size: 15px; }

/* Spiel-Logos */
.ga-logo { display: block; width: min(560px, 100%); height: auto; overflow: visible; font-family: var(--schrift); }
.ga-logo .lgSweep { animation: lgSweep 3.6s ease-in-out infinite; }
@keyframes lgSweep { 0%, 55% { transform: skewX(-20deg) translateX(0); } 100% { transform: skewX(-20deg) translateX(620px); } }
.ga-logo .lgHalo { display: none; }
.ga-logo .lgGem { transform-box: fill-box; transform-origin: center; animation: lgGem 2.8s ease-in-out infinite; }
.ga-logo .lgGem.g2 { animation-delay: -.7s; }
@keyframes lgGem { 50% { filter: brightness(1.35); } }
.ga-logo .lgSpark path { transform-box: fill-box; transform-origin: center; animation: lgSpark 2.2s ease-in-out infinite; opacity: 0; }
.ga-logo .lgSpark .s2 { animation-delay: -.55s; } .ga-logo .lgSpark .s3 { animation-delay: -1.1s; } .ga-logo .lgSpark .s4 { animation-delay: -1.65s; }
@keyframes lgSpark { 0%, 60%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 75% { opacity: 1; transform: scale(1.1) rotate(45deg); } 90% { opacity: 0; transform: scale(.4) rotate(90deg); } }

/* ---------- Figuren-Seite / Lore-Karten */
.lore-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.lore { border-radius: var(--rund); overflow: hidden; background: var(--flaeche); border: 1px solid var(--rand); border-top: 3px solid var(--farbe); display: grid; grid-template-rows: 240px auto; }
.lore-bild { position: relative; display: flex; justify-content: center; align-items: end; overflow: hidden; background: var(--ink2); border-bottom: 1px solid var(--rand); }
.lore-bild img { height: 92%; width: auto; max-width: 90%; object-fit: contain; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transform-origin: bottom; }
.lore:hover .lore-bild img { transform: scale(1.05, .96); }
.lore-bild .rolle { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--farbe); border: 1px solid var(--farbe); border-radius: 6px; padding: 3px 8px; background: var(--glas); }
.lore-text { padding: 18px 20px 22px; }
.lore-text h3 { font-size: 28px; }
.lore-text .spruch { color: var(--farbe); font-style: italic; margin: 4px 0 10px; }
.lore-text p { color: #e6def3; margin: 0 0 12px; }
.lore-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.lore-text li { font-size: 12px; border: 1px solid var(--rand); border-radius: 99px; padding: 3px 10px; color: var(--leise); }
.lore-extra { margin: 0 0 14px; display: grid; gap: 4px; }
.lore-extra dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--farbe); }
.lore-extra dd { margin: 0 0 6px; font-size: 14px; color: #e6def3; }
[data-squish] { cursor: pointer; }
[data-squish].squisht img { animation: squish .7s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes squish { 0% { transform: scale(1, 1); } 18% { transform: scale(1.18, .72); } 40% { transform: scale(.9, 1.12); } 60% { transform: scale(1.05, .95); } 80% { transform: scale(.98, 1.02); } 100% { transform: scale(1, 1); } }
.welt { margin-top: 56px; }
.welt-kopf { display: flex; align-items: end; gap: 18px; min-height: 240px; padding: 22px; border-radius: var(--rund); margin-bottom: 16px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--rand); }
.welt-kopf > .hg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.welt-kopf > div { background: var(--glas); border: 1px solid var(--rand); border-radius: var(--rund); padding: 16px 20px; max-width: 640px; }
.welt-kopf h2 { font-size: 36px; margin-top: 6px; } .welt-kopf p { margin: 6px 0 0; color: #e6def3; }
.welt-kopf .knopf { margin-left: auto; flex: none; }

/* ---------- Rangliste */
.rang-tabelle { width: 100%; border-collapse: collapse; }
.rang-tabelle th { text-align: left; font-size: 12px; color: var(--leise); font-weight: 600; padding: 0 12px 8px; text-transform: uppercase; }
.rang-tabelle td { padding: 10px 12px; border-top: 1px solid var(--rand); }
.rang-tabelle td:first-child { font-family: var(--schrift); font-size: 20px; width: 56px; color: var(--leise); }
.rang-tabelle tr.ich td { background: rgba(255, 216, 61, .08); }
.rang-tabelle .wert { font-family: var(--schrift); font-size: 20px; color: var(--gelb); text-align: right; }
.rang-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rang-name .avatar { margin: 0; flex: none; }
.rang-name img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.rang-podest { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-bottom: 24px; }
.podest { text-align: center; border-radius: var(--rund); padding: 18px 10px; background: var(--flaeche); border: 1.5px solid var(--m); }
.podest .avatar { width: 52px; height: 52px; margin: 0 auto 8px; font-size: 24px; background: var(--m); color: var(--ink); }
.podest b { display: block; } .podest strong { font-family: var(--schrift); font-weight: 400; font-size: 26px; color: var(--m); }
.podest.p1 { --m: var(--gold); padding-block: 30px; } .podest.p2 { --m: var(--silber); } .podest.p3 { --m: var(--bronze); }
.legenden { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.legende { border-radius: var(--rund); padding: 18px; text-align: center; background: var(--flaeche); border: 1.5px solid var(--gold); }
.legende b { font-family: var(--schrift); font-weight: 400; font-size: 28px; color: var(--gold); display: block; }
.leer-hinweis { color: var(--leise); text-align: center; padding: 26px; border: 1px dashed var(--rand2); border-radius: var(--rund); }

/* ---------- Demo-Fenster */
.spielfenster { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; flex-direction: column; }
.spielfenster-leiste { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: var(--ink); border-bottom: 1px solid var(--rand); }
.spielfenster-leiste > img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.spielfenster-leiste > b { font-family: var(--schrift); font-weight: 400; font-size: 19px; }
.demo-schild { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--mint); border: 1px solid var(--mint); border-radius: 6px; padding: 2px 7px; }
.spielfenster-coins { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--schrift); color: var(--gelb); font-size: 18px; }
.spielfenster-coins img { width: 20px; height: 20px; object-fit: contain; }
.spielfenster-coins b { font-weight: 400; }
.spielfenster-zu { border: 0; background: #ff2a4f; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; }
.spielfenster iframe { flex: 1; width: 100%; border: 0; }

/* ---------- Fenster + Hinweise */
.fenster { border: 1px solid var(--rand); border-radius: var(--rund); background: var(--ink2); color: var(--text); padding: 24px; width: min(400px, 100% - 32px); }
.fenster::backdrop { background: rgba(6, 2, 14, .72); }
.fenster h3 { font-size: 26px; } .fenster p { color: var(--leise); margin: 6px 0 14px; }
.fenster input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--rand2); background: var(--ink); color: var(--text); font-size: 17px; }
.fenster-knoepfe { display: flex; justify-content: end; gap: 10px; margin-top: 18px; }
.fenster .knopf { font-size: 17px; padding: 8px 20px; }
.hinweise { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hinweis { background: var(--glas); border: 1px solid var(--rand2); padding: 10px 18px; border-radius: 999px; font-weight: 600; transition: opacity .4s, transform .4s; }
.hinweis.weg { opacity: 0; transform: translateY(10px); }

/* ---------- Fußzeile */
.fuss { margin-top: 96px; border-top: 1px solid var(--rand); padding: 44px 0 26px; }
.fuss-innen { width: min(1240px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.fuss-innen p { color: var(--leise); max-width: 300px; font-size: 14px; }
.fuss .logo { height: 96px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 6px; }
.fuss-spalte b { font-family: var(--schrift); font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.fuss-spalte a { color: var(--leise); text-decoration: none; font-size: 14px; } .fuss-spalte a:hover { color: var(--text); }
.fuss-hinweis { width: min(1240px, 100% - 32px); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--rand); font-size: 13px; color: var(--leise); }
.ab18 { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ff2a4f; color: #ff2a4f; font-weight: 800; font-size: 12px; margin-right: 8px; vertical-align: middle; }
.ab18.gross { width: 56px; height: 56px; font-size: 18px; border-width: 3px; margin: 0 auto 16px; display: grid; }

/* ---------- Textseiten (About, Presse, Kontakt, Impressum, Datenschutz, Spielerschutz) */
.text-seite { max-width: 820px; margin: 48px auto 0; }
.text-seite h1 { font-size: clamp(38px, 6vw, 58px); margin-bottom: 8px; }
.text-seite .unter { color: var(--leise); font-size: 18px; margin: 0 0 28px; }
.text-seite h2 { font-size: 28px; margin: 40px 0 10px; padding-top: 14px; border-top: 1px solid var(--rand); }
.text-seite h3 { font-size: 21px; margin: 22px 0 6px; }
.text-seite p, .text-seite li { color: #e6def3; }
.text-seite a { color: var(--text); text-decoration-color: var(--gelb); text-underline-offset: 3px; }
.text-seite .karte { margin: 14px 0; }
.text-seite address { font-style: normal; line-height: 1.7; }
.entwurf { background: rgba(255, 216, 61, .08); border: 1px dashed var(--gelb); border-radius: var(--rund); padding: 12px 16px; color: #fff3c2 !important; font-size: 14px; }
mark.fehlt { background: rgba(255, 216, 61, .18); color: var(--gelb); border-radius: 4px; padding: 0 5px; }
.versprechen { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rand2); margin: 14px 0; }
.versprechen div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rand); }
.versprechen div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rand); }
.versprechen b { font-family: var(--schrift); font-weight: 400; font-size: 20px; display: block; margin-bottom: 2px; }
.versprechen span { font-size: 15px; color: var(--leise); }
.emblem-buehne { display: grid; place-items: center; padding: 46px 20px; border-radius: var(--rund); background: #000; border: 1px solid var(--rand); }
.daten-tabelle { width: 100%; border-collapse: collapse; }
.daten-tabelle th, .daten-tabelle td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rand); vertical-align: top; }
.daten-tabelle th { color: var(--leise); font-weight: 600; width: 42%; }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.download { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--rund); padding: 10px; color: var(--text) !important; }
.download:hover { border-color: var(--rand2); }
.download .vorschau { aspect-ratio: 16 / 10; border-radius: 8px; background: #000; display: grid; place-items: center; overflow: hidden; }
.download .vorschau img { max-height: 100%; object-fit: contain; }
.download b { font-size: 15px; } .download span { font-size: 13px; color: var(--leise); }
.kontakt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.kontakt-raster .karte { margin: 0; }
.kontakt-raster h3 { margin-top: 0; }
.hilfe-liste { list-style: none; padding: 0; }
.hilfe-liste li { padding: 12px 0; border-bottom: 1px solid var(--rand); }
.spiele-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.spiel-karte { position: relative; border-radius: var(--rund); overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate; text-decoration: none; display: flex; flex-direction: column; justify-content: end; padding: 14px; border: 1px solid var(--rand); }
.spiel-karte > .hg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.spiel-karte .figuren { position: absolute; inset: 8% 0 24% 0; z-index: -1; display: flex; justify-content: center; align-items: end; }
.spiel-karte .figuren img { height: 100%; width: auto; } .spiel-karte .figuren img + img { margin-left: -12%; height: 92%; }
.spiel-karte h3 { font-size: 24px; background: var(--glas); border: 1px solid var(--rand); border-radius: 10px; padding: 8px 12px; }
.spiel-karte .zeile { display: none; }

/* ---------- Alters-Tor + Studio-Intro (js/intro.js) */
html.tor body { overflow: hidden; }
html.tor::after { content: ""; position: fixed; inset: 0; z-index: 900; background: #000; }
.intro { position: fixed; inset: 0; z-index: 1000; background: #000; display: grid; place-items: center; transition: opacity .45s ease; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro.laeuft { cursor: pointer; }
.intro.weg { opacity: 0; pointer-events: none; }
.tor-box { position: relative; width: min(460px, 100% - 32px); text-align: center; }
.tor-box .tor-emblem { height: 150px; width: auto; margin: 0 auto 18px; }
.tor-box p { color: #d9d0e8; margin: 0 0 12px; }
.tor-box .knoepfe { justify-content: center; margin: 22px 0 16px; }
.tor-box .kipp { font-size: 14px; color: var(--leise); }

/* ---------- Teaser: noch nicht enthüllte Figuren */
.lore.geheim { border-top-color: var(--rand2); }
.lore.geheim .rolle { color: var(--leise); border-color: var(--rand2); }
.lore.geheim h3 { color: var(--leise); }
.lore.geheim .spruch { color: var(--leise); }
.figur-mini.geheim { border-top-color: var(--rand2); }
.figur-mini.geheim b { color: var(--leise); }

@media print {
  .kopf, .fuss, .hinweise, .nicht-drucken { display: none !important; }
  body { background: #fff !important; color: #000; }
  .text-seite p, .text-seite li, .daten-tabelle td, .daten-tabelle th { color: #000 !important; }
  .karte { background: #fff !important; border-color: #ccc !important; }
}

/* ---------- Tablet / Handy */
@media (max-width: 1100px) {
  .zwei-spalten { grid-template-columns: minmax(0, 1fr); }
  .seitenleiste .klebt { position: static; }
  .fakten { grid-template-columns: repeat(3, 1fr); }
  .fakten div:nth-child(4) { padding-left: 0; border-left: 0; }
  .fakten div:nth-child(n + 4) { border-top: 1px solid var(--rand); }
  .system { grid-template-columns: repeat(2, 1fr); }
  .system div:nth-child(2) { border-right: 0; }
  .system div:nth-child(3) { padding-left: 0; }
  .system div:nth-child(n + 3) { border-top: 1px solid var(--rand); }
}
@media (max-width: 860px) {
  .kopf { gap: 10px; padding: 8px 12px; flex-wrap: wrap; }
  .kopf-nav { display: none; order: 9; width: 100%; flex-direction: column; gap: 0; }
  .kopf-nav a { padding: 10px 0; border-bottom: 1px solid var(--rand); }
  .kopf.offen .kopf-nav { display: flex; }
  .menue-knopf { display: inline-flex !important; }
  .spieler-name { display: none; }
  .daily-text { font-size: 13px; }
  .avatar { margin-left: 0; }
  .kopf-rechts > button { padding: 0 11px; }
  .buehne { height: auto; min-height: 640px; }
  .buehne-innen { align-items: start; padding-top: 20px; }
  .buehne-figuren { right: 50%; transform: translateX(50%); height: 42%; }
  .buehne-text { padding: 18px 20px; }
  .buehne-reiter { overflow-x: auto; }
  .buehne-reiter button { flex: none; }
  .spiel-reihe { grid-template-columns: 1fr; gap: 18px; }
  .spiel-reihe:nth-child(even) .spiel-bild { order: 0; }
  .zwei-spalten-gleich { grid-template-columns: 1fr; }
  .spiel-held { height: auto; min-height: 0; }
  .spiel-held .innen { grid-template-columns: 1fr; padding: 20px 0; }
  .spiel-held .figuren { height: 260px; justify-content: center; order: -1; }
  .stufen { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .welt-kopf { flex-wrap: wrap; } .welt-kopf .knopf { margin-left: 0; }
  .rang-tabelle .weg-handy { display: none; }
  .post { grid-template-columns: 1fr; }
  .post time { grid-row: auto; }
}
@media (max-width: 480px) {
  .logo { height: 44px; }
  .buehne-text p { font-size: 16px; }
  .eckdaten { grid-template-columns: repeat(2, auto); gap: 8px 22px; }
  .system { grid-template-columns: 1fr; }
  .system div, .system div + div { padding-left: 0; border-right: 0; }
  .system div + div { border-top: 1px solid var(--rand); }
  .fakten { grid-template-columns: repeat(2, 1fr); }
  .fakten div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fakten div:nth-child(n + 3) { border-top: 1px solid var(--rand); }
  .fakten div:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--rand); }
  .versprechen { grid-template-columns: 1fr; }
  .versprechen div:nth-child(even) { padding-left: 0; border-left: 0; }
  .lore-raster, .spiele-raster { grid-template-columns: 1fr; }
  .rang-podest { gap: 8px; } .podest strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
