/* Flygo – zentrale Website. Ein Stylesheet für alle Seiten. */
:root {
  color-scheme: dark;
  --bg: #080d17;
  --bg-2: #0c1320;
  --flaeche-1: #101827;
  --flaeche-2: #152033;
  --flaeche-3: #1b283e;
  --rand: rgba(160, 180, 205, 0.13);
  --rand-stark: rgba(160, 180, 205, 0.24);
  --text: #e9edf4;
  --text-2: #a6b3c5;
  --text-3: #6f7d92;
  --gold: #d4af61;
  --gold-hell: #f2dca4;
  --gold-dunkel: #8a6a2c;
  --teal: #4fe3d6;
  --teal-dunkel: #0a8f9e;
  --gut: #2fcf73;
  --warn: #f0b429;
  --schlecht: #ef5b5b;
  --schatten: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.7);
  --radius: 16px;
  --radius-k: 10px;
  --glow-1: rgba(79, 227, 214, 0.10);
  --glow-2: rgba(212, 175, 97, 0.09);
  --nav-bg: rgba(8, 13, 23, 0.78);
  --code-bg: rgba(79, 227, 214, 0.08);
  --code-text: #9ff3ea;
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schrift-titel: "Space Grotesk", "Inter", system-ui, sans-serif;
  --schrift-lol: "Cinzel", Georgia, serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f3ee; --bg-2: #efece5; --flaeche-1: #ffffff; --flaeche-2: #fbfaf7; --flaeche-3: #f1eee7;
    --rand: rgba(30, 40, 60, 0.10); --rand-stark: rgba(30, 40, 60, 0.20);
    --text: #121826; --text-2: #465266; --text-3: #7a8596;
    --gold: #a77d25; --gold-hell: #7c5a14; --gold-dunkel: #6b4f16; --teal: #0b8a83; --teal-dunkel: #07635e;
    --gut: #138a47; --warn: #b7791f; --schlecht: #c93434;
    --schatten: 0 1px 2px rgba(20,30,50,.05), 0 18px 36px -24px rgba(20,30,50,.25);
    --glow-1: rgba(11, 138, 131, 0.07); --glow-2: rgba(167, 125, 37, 0.08);
    --nav-bg: rgba(245, 243, 238, 0.82); --code-bg: rgba(11, 138, 131, 0.09); --code-text: #07635e;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ee; --bg-2: #efece5; --flaeche-1: #ffffff; --flaeche-2: #fbfaf7; --flaeche-3: #f1eee7;
  --rand: rgba(30, 40, 60, 0.10); --rand-stark: rgba(30, 40, 60, 0.20);
  --text: #121826; --text-2: #465266; --text-3: #7a8596;
  --gold: #a77d25; --gold-hell: #7c5a14; --gold-dunkel: #6b4f16; --teal: #0b8a83; --teal-dunkel: #07635e;
  --gut: #138a47; --warn: #b7791f; --schlecht: #c93434;
  --schatten: 0 1px 2px rgba(20,30,50,.05), 0 18px 36px -24px rgba(20,30,50,.25);
  --glow-1: rgba(11, 138, 131, 0.07); --glow-2: rgba(167, 125, 37, 0.08);
  --nav-bg: rgba(245, 243, 238, 0.82); --code-bg: rgba(11, 138, 131, 0.09); --code-text: #07635e;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--schrift); min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 520px at 85% -8%, var(--glow-1), transparent 60%),
    radial-gradient(800px 480px at -5% 8%, var(--glow-2), transparent 60%);
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--text); }
img, svg { max-width: 100%; }
code, kbd {
  font: 500 .88em/1.4 ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  background: var(--code-bg); color: var(--code-text); padding: .12em .42em; border-radius: 6px; white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; background: var(--flaeche-3); color: var(--text); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.sprung:focus { top: 12px; }

.huelle { min-height: 100vh; display: flex; flex-direction: column; }
.mitte { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.mitte.schmal { max-width: 760px; }
main { flex: 1; }

/* ---------------------------------------------------------------- Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid var(--rand);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav .mitte { height: 62px; display: flex; align-items: center; gap: 8px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 19px/1 var(--schrift-titel); letter-spacing: -.02em; margin-right: 18px; }
.marke svg { width: 30px; height: 30px; flex: none; }
.marke:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.aufklapp {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--text-2);
  text-decoration: none; font: 500 15px/1.2 var(--schrift); background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links button.aufklapp:hover { color: var(--text); background: var(--flaeche-2); }
.nav-links a[aria-current="page"], .nav-links button.aktiv { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -11px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav-links > li > a { position: relative; }
.pfeil { width: 10px; height: 10px; transition: transform .2s; }
.aufklapp[aria-expanded="true"] .pfeil { transform: rotate(180deg); }
.menue { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 320px; background: var(--flaeche-1);
  border: 1px solid var(--rand-stark); border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.45);
  display: none; }
.menue.offen { display: block; animation: rein .16s ease-out; }
@keyframes rein { from { opacity: 0; transform: translateY(-4px); } }
.menue a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.menue a:hover { background: var(--flaeche-2); }
.menue .mi { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--flaeche-3); }
.menue .mi svg, .menue .mi img { width: 28px; height: 28px; }
.menue b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }
.menue small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.menue .bald { opacity: .65; pointer-events: none; }
.menue hr { border: 0; border-top: 1px solid var(--rand); margin: 6px 4px; }
.nav-rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-knopf { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--rand);
  background: var(--flaeche-1); color: var(--text-2); cursor: pointer; }
.icon-knopf:hover { color: var(--text); border-color: var(--rand-stark); }
.icon-knopf svg { width: 18px; height: 18px; }
.burger { display: none; }
.theme-mond, :root[data-theme="light"] .theme-sonne { display: none; }
:root[data-theme="light"] .theme-mond { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .theme-sonne { display: none; } :root:not([data-theme]) .theme-mond { display: block; } }

@media (max-width: 820px) {
  .burger { display: grid; }
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); padding: 16px; display: none; overflow-y: auto; }
  .nav-links.offen { display: flex; }
  .nav-links a, .nav-links button.aufklapp { padding: 14px 12px; font-size: 17px; width: 100%; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { background: var(--flaeche-2); }
  .menue { position: static; display: block; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 8px; background: none; }
  .menue a { padding: 10px 12px; }
  .aufklapp .pfeil { display: none; }
  .nav-dash { display: none !important; }
}

/* ---------------------------------------------------------------- Knöpfe, Chips */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px;
  border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); text-decoration: none;
  font: 600 15px/1.2 var(--schrift); cursor: pointer; transition: transform .12s, border-color .12s, background .12s; white-space: nowrap; }
.knopf:hover { color: var(--text); border-color: var(--text-3); transform: translateY(-1px); }
.knopf.gold { background: linear-gradient(180deg, var(--gold-hell), var(--gold)); color: #1a1405; border-color: transparent; }
:root[data-theme="light"] .knopf.gold { background: linear-gradient(180deg, #c99a3a, #a77d25); color: #fff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .knopf.gold { background: linear-gradient(180deg, #c99a3a, #a77d25); color: #fff; } }
.knopf.gold:hover { filter: brightness(1.05); }
.knopf.klein { padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.knopf svg { width: 16px; height: 16px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--text-2); background: var(--flaeche-2); border: 1px solid var(--rand); white-space: nowrap; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.punkt.an { background: var(--gut); box-shadow: 0 0 0 0 var(--gut); animation: puls 2.4s infinite; }
.punkt.aus { background: var(--schlecht); }
.punkt.warn { background: var(--warn); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(47,207,115,.55); } 70% { box-shadow: 0 0 0 7px rgba(47,207,115,0); } 100% { box-shadow: 0 0 0 0 rgba(47,207,115,0); } }

/* ---------------------------------------------------------------- Typo & Abschnitte */
.ueberzeile { font: 600 13px/1.2 var(--schrift); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--schrift-titel); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.gross { font-size: clamp(36px, 6.4vw, 64px); font-weight: 700; letter-spacing: -.035em; }
.gross em { font-style: normal; background: linear-gradient(100deg, var(--gold-hell), var(--gold) 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--text-2); max-width: 620px; margin: 18px 0 0; }
.abschnitt { padding: 72px 0 0; }
.abschnitt-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.abschnitt-kopf h2 { font-size: clamp(26px, 3.4vw, 34px); }
.abschnitt-kopf p { color: var(--text-2); margin: 8px 0 0; max-width: 560px; }
.mehr { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------------------------------------------------------------- Karten */
.karte { background: var(--flaeche-1); border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
.raster { display: grid; gap: 16px; }
.raster.r2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster.r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster.r4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .raster.r3, .raster.r4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .raster.r2, .raster.r3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Startseite: Hero */
.hero { padding: 88px 0 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 36px; } }
.hero .knoepfe { margin-top: 30px; }
.konsole { background: linear-gradient(180deg, var(--flaeche-2), var(--flaeche-1)); border: 1px solid var(--rand-stark); border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); overflow: hidden; }
.konsole-kopf { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--rand); color: var(--text-3); font-size: 13px; }
.konsole-kopf i { width: 11px; height: 11px; border-radius: 50%; background: var(--flaeche-3); border: 1px solid var(--rand-stark); }
.konsole-kopf span { margin-left: 8px; }
.konsole-inhalt { padding: 18px 18px 20px; font: 14px/1.9 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text-2); }
.konsole-inhalt .z { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--rand); }
.konsole-inhalt .z:last-child { border-bottom: 0; }
.konsole-inhalt b { color: var(--text); font-weight: 600; text-align: right; }
.konsole-inhalt .prompt { color: var(--teal); }
.konsole-fuss { padding: 12px 18px; border-top: 1px solid var(--rand); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }

/* Produktkarten */
.produkte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.produkt { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; overflow: hidden; }
.produkt.breit { grid-column: span 2; }
@media (max-width: 760px) { .produkt.breit, .produkt.platzhalter.quer { grid-column: auto; } }
.produkt::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--akzent, var(--gold)) 0%, transparent 65%); opacity: .12; pointer-events: none; }
.produkt-kopf { display: flex; align-items: center; gap: 16px; }
.produkt-icon { width: 64px; height: 64px; flex: none; border-radius: 16px; background: var(--flaeche-3); display: grid; place-items: center; border: 1px solid var(--rand); }
.produkt-icon svg { width: 50px; height: 50px; }
.produkt h3 { font-size: 24px; }
.produkt .unter { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.produkt p { color: var(--text-2); margin: 0; }
.produkt .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.produkt .zeile-status { margin-left: auto; align-self: flex-start; }
.produkt .fakten { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.produkt .fakten div { background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: 12px; padding: 10px 12px; }
.produkt .fakten b { display: block; font: 700 20px/1.2 var(--schrift-titel); }
.produkt .fakten span { font-size: 12px; color: var(--text-3); }
@media (max-width: 520px) { .produkt .fakten { grid-template-columns: repeat(2, minmax(0,1fr)); } .produkt-kopf { flex-wrap: wrap; } }
.produkt .knoepfe { margin-top: auto; }
.produkt.platzhalter { border-style: dashed; background: transparent; box-shadow: none; align-items: flex-start; justify-content: center; min-height: 260px; }
.produkt.platzhalter::after { display: none; }
.produkt.platzhalter .produkt-icon { background: transparent; border-style: dashed; color: var(--text-3); font-size: 28px; }

/* Werte-Leiste */
.werte-leiste { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--rand); border-radius: var(--radius); background: var(--flaeche-1); overflow: hidden; }
.werte-leiste div { padding: 22px; border-left: 1px solid var(--rand); }
.werte-leiste div:first-child { border-left: 0; }
.werte-leiste b { display: block; font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--schrift-titel); letter-spacing: -.02em; }
.werte-leiste span { color: var(--text-3); font-size: 14px; }
@media (max-width: 700px) { .werte-leiste { grid-template-columns: repeat(2, minmax(0,1fr)); } .werte-leiste div:nth-child(3) { border-left: 0; } .werte-leiste div:nth-child(n+3) { border-top: 1px solid var(--rand); } }

/* Prinzipien */
.prinzip { display: flex; gap: 14px; }
.prinzip .pi { font-size: 22px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--flaeche-2); border: 1px solid var(--rand); flex: none; }
.prinzip h3 { font-size: 17px; margin-bottom: 4px; }
.prinzip p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------------------------------------------------------------- Neuigkeiten */
.news-liste { display: grid; gap: 14px; }
.news { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
@media (max-width: 620px) { .news { grid-template-columns: 1fr; gap: 8px; } }
.news .datum { color: var(--text-3); font-size: 14px; }
.news .datum b { display: block; color: var(--gold); font: 700 18px/1.3 var(--schrift-titel); }
.news h3 { font-size: 19px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.news ul { margin: 6px 0 0; padding-left: 20px; color: var(--text-2); }
.news li { margin: 4px 0; }
.news li ul { margin-top: 2px; }
.news h4 { font: 600 14px/1.3 var(--schrift); color: var(--text); margin: 14px 0 2px; }
.news .kurz li:nth-child(n+4) { display: none; }
.zeitleiste { position: relative; }
.zeitleiste .news { position: relative; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.filter button { font: 500 14px/1 var(--schrift); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche-1); color: var(--text-2); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------------------------------------------------------------- Produktseite LoL */
.lol { --akzent: var(--gold); }
.lol-hero { padding: 72px 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
@media (max-width: 760px) { .lol-hero { grid-template-columns: 1fr; padding-top: 44px; gap: 20px; } }
.lol-hero .emblem { width: 168px; height: 168px; filter: drop-shadow(0 0 32px rgba(79,227,214,.28)); }
@media (max-width: 760px) { .lol-hero .emblem { width: 104px; height: 104px; } }
.lol-titel { font-family: var(--schrift-lol); font-weight: 900; letter-spacing: .03em; font-size: clamp(38px, 6vw, 64px); line-height: 1.05;
  background: linear-gradient(180deg, #f7e2a8, #c8a458 55%, #8a6a2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .lol-titel { background: linear-gradient(180deg, #b88a2c, #7c5a14); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .lol-titel { background: linear-gradient(180deg, #b88a2c, #7c5a14); -webkit-background-clip: text; background-clip: text; } }
.lol-hero .by { font: 700 14px/1 var(--schrift-lol); letter-spacing: .3em; color: var(--teal); margin-top: 10px; }
.lol-hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.lol h2 { font-family: var(--schrift-lol); letter-spacing: .02em; }
.unternav { position: sticky; top: 62px; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rand); margin-top: 40px; }
.unternav .mitte { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.unternav .mitte::-webkit-scrollbar { display: none; }
.unternav a { padding: 12px 12px; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.unternav a:hover { color: var(--text); }
.unternav a.aktiv { color: var(--text); border-bottom-color: var(--gold); }

.feature { display: flex; flex-direction: column; gap: 8px; }
.feature .fi { font-size: 26px; line-height: 1; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
.feature .cmds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

.schritte { counter-reset: s; }
.schritt { position: relative; padding-top: 58px; }
.schritt::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 22px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 700 15px/1 var(--schrift-titel); background: var(--gold); color: #1a1405; }
.schritt h3 { font-size: 18px; margin-bottom: 6px; }
.schritt p { margin: 0; color: var(--text-2); font-size: 15px; }

.suche-zeile { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.suche { position: relative; flex: 1 1 280px; }
.suche input { width: 100%; font: 16px/1.2 var(--schrift); padding: 13px 14px 13px 42px; border-radius: 12px; border: 1px solid var(--rand-stark);
  background: var(--flaeche-1); color: var(--text); }
.suche input::placeholder { color: var(--text-3); }
.suche svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); }
.suche kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--text-3); background: var(--flaeche-2); border: 1px solid var(--rand); }
@media (max-width: 620px) { .suche kbd { display: none; } }
.befehl-gruppe + .befehl-gruppe { margin-top: 28px; }
.befehl-gruppe h3 { font-size: 16px; color: var(--text-2); margin-bottom: 10px; font-family: var(--schrift); font-weight: 600; letter-spacing: 0; }
.befehle { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.befehl { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--flaeche-1); border: 1px solid var(--rand); }
.befehl .kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.befehl .name { font: 600 15px/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text); }
.befehl .opt { font: 13px/1.3 ui-monospace, Consolas, monospace; color: var(--text-3); }
.befehl .opt .p { color: var(--teal); }
.befehl p { margin: 0; color: var(--text-2); font-size: 14px; }
.befehl .kopieren { margin-left: auto; font: 500 12px/1 var(--schrift); color: var(--text-3); background: none; border: 1px solid var(--rand); border-radius: 8px; padding: 5px 8px; cursor: pointer; }
.befehl .kopieren:hover { color: var(--text); border-color: var(--rand-stark); }
mark { background: rgba(212,175,97,.28); color: inherit; border-radius: 3px; padding: 0 1px; }
.leer { text-align: center; color: var(--text-3); padding: 40px 16px; border: 1px dashed var(--rand-stark); border-radius: var(--radius); }

.woche { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.termin { display: flex; gap: 14px; align-items: flex-start; }
.termin .wann { flex: none; min-width: 74px; text-align: center; padding: 8px 6px; border-radius: 10px; background: var(--flaeche-2); border: 1px solid var(--rand); font: 700 13px/1.3 var(--schrift); color: var(--gold); }
.termin .wann small { display: block; font-weight: 500; color: var(--text-3); font-size: 12px; }
.termin b { display: block; font-size: 15px; }
.termin span { color: var(--text-2); font-size: 14px; }

.kanban { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
@media (max-width: 860px) { .kanban { grid-template-columns: 1fr; } }
.spalte { background: var(--bg-2); border: 1px solid var(--rand); border-radius: var(--radius); padding: 14px; }
.spalte h3 { font: 600 14px/1.2 var(--schrift); letter-spacing: 0; display: flex; justify-content: space-between; margin: 2px 4px 12px; color: var(--text-2); }
.spalte .ticket { background: var(--flaeche-1); border: 1px solid var(--rand); border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.spalte .ticket b { display: block; font-size: 15px; }
.spalte .ticket span { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; }

.dash-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 30px; }
@media (max-width: 820px) { .dash-teaser { grid-template-columns: 1fr; } }
.dash-teaser ul { margin: 14px 0 22px; padding: 0; list-style: none; color: var(--text-2); }
.dash-teaser li { padding: 5px 0 5px 28px; position: relative; }
.dash-teaser li::before { content: "✓"; position: absolute; left: 0; color: var(--gut); font-weight: 700; }
.mini-chart { aspect-ratio: 16/10; border-radius: 14px; border: 1px solid var(--rand); background: var(--bg-2); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mini-chart svg { flex: 1; width: 100%; }
.mini-chart .leg { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); }
.mini-chart .leg i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

.hinweis-riot { color: var(--text-3); font-size: 12px; line-height: 1.5; margin-top: 12px; }

/* ---------------------------------------------------------------- Status */
.status-banner { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--rand); background: var(--flaeche-1); }
.status-banner .gross-punkt { width: 16px; height: 16px; flex: none; }
.status-banner h2 { font-size: 22px; }
.status-banner p { margin: 2px 0 0; color: var(--text-3); font-size: 14px; }
.status-banner .aktualisieren { margin-left: auto; }
.status-banner.gut { border-color: color-mix(in srgb, var(--gut) 40%, transparent); background: color-mix(in srgb, var(--gut) 7%, var(--flaeche-1)); }
.status-banner.schlecht { border-color: color-mix(in srgb, var(--schlecht) 45%, transparent); background: color-mix(in srgb, var(--schlecht) 7%, var(--flaeche-1)); }
.status-banner.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 7%, var(--flaeche-1)); }
@media (max-width: 560px) { .status-banner { flex-wrap: wrap; } .status-banner .aktualisieren { margin-left: 0; } }
.dienste { display: grid; gap: 0; border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden; background: var(--flaeche-1); }
.dienst { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--rand); }
.dienst:first-child { border-top: 0; }
.dienst .name { font-weight: 600; }
.dienst .detail { color: var(--text-3); font-size: 14px; }
.dienst .rechts { margin-left: auto; text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rechts.gut { color: var(--gut); } .rechts.schlecht { color: var(--schlecht); } .rechts.warn { color: var(--warn); }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.kennzahl b { display: block; font: 700 24px/1.2 var(--schrift-titel); }
.kennzahl span { color: var(--text-3); font-size: 13px; }

/* ---------------------------------------------------------------- Fuß */
.fuss { margin-top: 96px; border-top: 1px solid var(--rand); padding: 40px 0 36px; color: var(--text-3); font-size: 14px; background: var(--bg-2); }
.fuss .mitte { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .fuss .mitte { grid-template-columns: 1fr 1fr; } .fuss .fuss-marke { grid-column: 1 / -1; } }
.fuss h4 { color: var(--text); font: 600 14px/1.2 var(--schrift); margin: 4px 0 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 7px 0; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: var(--text); }
.fuss .unterzeile { grid-column: 1 / -1; border-top: 1px solid var(--rand); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.schluessel-form { display: flex; gap: 8px; max-width: 460px; margin: 26px auto 0; }
.schluessel-form input { flex: 1; min-width: 0; font: 15px var(--schrift); padding: 11px 14px; border-radius: 12px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--bg); padding: 10px 16px;
  border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; transition: .2s; pointer-events: none; z-index: 100; }
.toast.zeigen { opacity: 1; transform: translateX(-50%) translateY(0); }
.skelett { display: inline-block; min-width: 3ch; height: 1em; border-radius: 6px; background: linear-gradient(90deg, var(--flaeche-2), var(--flaeche-3), var(--flaeche-2)); background-size: 200% 100%; animation: sk 1.2s infinite linear; vertical-align: -2px; }
@keyframes sk { to { background-position: -200% 0; } }
[hidden] { display: none !important; }
.news .kurz ul ul { display: none; }
/* backdrop-filter macht die Nav zum Bezugsrahmen für position:fixed – beim offenen Handy-Menü deshalb aus */
.menue-offen .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
html:has(body.lol-seite) { scroll-padding-top: 124px; }
.kennzahl b { font-size: 21px; }

/* ---------------------------------------------------------------- Minispiele */
.produkt.platzhalter.quer { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; gap: 20px; }
.produkt.platzhalter.quer .platz-text { flex: 1; }
.produkt.platzhalter.quer p { margin-top: 6px; }
@media (max-width: 700px) { .produkt.platzhalter.quer { flex-direction: column; align-items: flex-start; } }
.spiele-hero { padding: 64px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .spiele-hero { grid-template-columns: 1fr; padding-top: 44px; } }
.spiele-info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.si-zeile b { display: block; font: 700 30px/1 var(--schrift-titel); }
.si-zeile span { color: var(--text-3); font-size: 13px; }
.si-konto { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.konto-hinweis { color: var(--text-3); font-size: 13px; }
.spiele-filter { display: grid; gap: 10px; margin: 18px 0 8px; position: sticky; top: 62px; z-index: 30; background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 0; border-bottom: 1px solid var(--rand); }
.spiele-filter .filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.spiele-filter .filter::-webkit-scrollbar { display: none; }
.spiele-filter .filter button { white-space: nowrap; }
.spiel-abschnitt { padding-top: 40px; }
.spiel-abschnitt .abschnitt-kopf { margin-bottom: 16px; }
.spiel-abschnitt .abschnitt-kopf h2 { font-size: 24px; }
.spielraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.spielkarte { display: flex; flex-direction: column; gap: 10px; padding: 18px; text-decoration: none; color: var(--text); transition: transform .12s, border-color .12s; }
a.spielkarte:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--text); }
.spielkarte.gesperrt { opacity: .62; box-shadow: none; }
.spielkarte p { margin: 0; color: var(--text-2); font-size: 14px; flex: 1; }
.sk-kopf { display: flex; gap: 12px; align-items: center; }
.sk-emoji { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 24px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.sk-kopf h3 { font-size: 17px; }
.sk-dauer { color: var(--text-3); font-size: 12px; }
.sk-themen { display: flex; gap: 6px; flex-wrap: wrap; }
.chip.klein { font-size: 12px; padding: 2px 8px; }
.chip.gold { border-color: var(--gold, #c8aa6e); color: var(--gold, #c8aa6e); }
.sk-fuss { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.rekord-zeile { color: var(--text-3); font-size: 13px; }
.bald-chip { color: var(--text-3); }

.brotkrumen { padding: 28px 0 0; font-size: 14px; }
.brotkrumen a { color: var(--text-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--text); }
.spiel-kopf { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 0 20px; }
@media (max-width: 620px) { .spiel-kopf { grid-template-columns: auto 1fr; } .spiel-konto { grid-column: 1 / -1; } }
.gross-emoji { width: 64px; height: 64px; font-size: 32px; border-radius: 16px; }
.spiel-kopf h1 { font-size: clamp(26px, 4vw, 36px); }
.spiel-kopf p { margin: 4px 0 8px; color: var(--text-2); }
.chips-zeile { display: flex; gap: 6px; flex-wrap: wrap; }
.spiel-konto { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.klein-titel { font: 600 15px/1.2 var(--schrift); letter-spacing: 0; color: var(--text-2); margin-bottom: 12px; }
.rekord-gross { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--rand); margin-bottom: 6px; }
.rekord-gross span { color: var(--text-3); font-size: 14px; }
.rekord-gross b { font: 700 28px/1 var(--schrift-titel); color: var(--gold); }
.liste-zeilen { list-style: none; margin: 0; padding: 0; }
.liste-zeilen li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--rand); font-size: 14px; }
.liste-zeilen li:last-child { border-bottom: 0; }
.liste-zeilen li span { color: var(--text-3); }
.liste-zeilen .leer-zeile { color: var(--text-3); justify-content: center; border: 0; padding: 14px 0; }

/* Reaktionstest */
.reaktion-feld { width: 100%; min-height: min(56vh, 420px); border: 0; border-radius: 22px; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: #fff; font: inherit; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  background: linear-gradient(160deg, #1d3a5c, #12243b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.6); transition: background .08s; }
.reaktion-feld .rf-titel { font: 700 clamp(30px, 6vw, 54px)/1.1 var(--schrift-titel); letter-spacing: -.02em; }
.reaktion-feld .rf-text { font-size: 16px; opacity: .85; }
.reaktion-feld[data-zustand="warten"] { background: linear-gradient(160deg, #b8323a, #7d1d24); }
.reaktion-feld[data-zustand="jetzt"] { background: linear-gradient(160deg, #1fbf62, #0f8a45); }
.reaktion-feld[data-zustand="zufrueh"] { background: linear-gradient(160deg, #5b4a8a, #372b5c); }
.reaktion-feld[data-zustand="falle"] { background: linear-gradient(160deg, #ff8a1f, #d45a00); }
.reaktion-feld[data-zustand="fertig"] { background: linear-gradient(160deg, #0a8f9e, #0b5563); }
.runden { display: flex; justify-content: center; gap: 8px; margin: 14px 0 0; }
.runden .rp { min-width: 54px; height: 30px; border-radius: 999px; border: 1px solid var(--rand-stark); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--text-2); }
.runden .rp.fertig { background: var(--flaeche-3); color: var(--text); }
.runden .rp.jetzt { border-color: var(--teal); }
.runden .rp.strafe { border-color: #d45a00; color: #ff8a1f; padding: 0 10px; }
.ergebnis { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.ergebnis-label { color: var(--text-3); font-size: 13px; }
.ergebnis b { display: block; font: 700 36px/1.1 var(--schrift-titel); }
.ergebnis p { margin: 4px 0 0; color: var(--text-2); }
.server-hinweis { font-size: 13px; color: var(--gut) !important; }

/* ---------------------------------------------------------------- Minispiele: gemeinsame Bausteine */
.ton-knopf { font-size: 18px; }
.spiel-konto [data-konto] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.anleitung { margin-top: 16px; padding: 14px 18px; }
.anleitung summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
.anleitung ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.anleitung li { margin: 4px 0; }
.konfetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 200; }
.ergebnis-fenster { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px;
  background: rgba(4, 8, 14, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ergebnis-fenster[hidden] { display: none; }
.ef-box { position: relative; width: min(460px, 100%); text-align: center; padding: 30px 24px 24px; animation: plopp .28s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes plopp { from { transform: scale(.85); opacity: 0; } }
.ef-zu { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--rand); background: none; color: var(--text-2); cursor: pointer; font-size: 16px; }
.ef-wert { display: block; font: 700 clamp(40px, 9vw, 56px)/1.05 var(--schrift-titel); letter-spacing: -.02em; margin: 4px 0 6px;
  background: linear-gradient(100deg, var(--gold-hell), var(--gold) 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ef-rekord { display: inline-block; margin-bottom: 4px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-hell); animation: puls-gold 1.2s ease-in-out 3; }
@keyframes puls-gold { 50% { transform: scale(1.08); } }
.ef-text { font-size: 18px; margin: 0 0 6px; }
.ef-zusatz { color: var(--text-2); font-size: 14px; }
.ef-zusatz p { margin: 4px 0; }
.ef-zusatz .raster-ergebnis { font-size: 22px; line-height: 1.25; letter-spacing: 2px; margin: 10px 0; }
.countdown { color: var(--teal); font-weight: 600; }
.ef-box .knoepfe { margin-top: 16px; }

.heute-leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 8px; }
.heute-karte { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--rand);
  background: var(--flaeche-1); text-decoration: none; color: var(--text); }
.heute-karte:hover { border-color: var(--teal); color: var(--text); }
.heute-karte .hk-emoji { font-size: 22px; }
.heute-karte b { display: block; font-size: 15px; }
.heute-karte span { color: var(--text-3); font-size: 13px; }
.heute-karte.erledigt { border-color: color-mix(in srgb, var(--gut) 45%, transparent); }
.heute-karte .hk-status { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.heute-karte.erledigt .hk-status { color: var(--gut); }
.spiel-leiste { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.spiel-leiste .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.zeitbalken { height: 6px; border-radius: 6px; background: var(--flaeche-3); overflow: hidden; margin-bottom: 14px; }
.zeitbalken i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 6px; transition: width .1s linear; }
.gross-zahl { font: 700 22px/1 var(--schrift-titel); }
.modus-wahl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.startschirm { text-align: center; padding: 34px 20px; }
.startschirm h2 { font-size: 26px; margin-bottom: 8px; }
.startschirm p { color: var(--text-2); margin: 0 auto 18px; max-width: 480px; }
.wackeln { animation: wackeln .35s; }
@keyframes wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Flygle */
.flygle { display: flex; flex-direction: column; align-items: center; }
.flygle .spiel-leiste { width: 100%; }
.fl-brett { display: grid; gap: 6px; margin: 8px 0 4px; }
.fl-reihe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fl-feld { width: clamp(48px, 13vw, 62px); aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--rand-stark); border-radius: 10px;
  font: 700 clamp(24px, 6vw, 30px)/1 var(--schrift-titel); text-transform: uppercase; background: var(--flaeche-1); user-select: none; }
.fl-feld.voll { border-color: var(--text-3); }
.fl-feld.plopp { animation: fl-plopp .1s; }
@keyframes fl-plopp { 50% { transform: scale(1.1); } }
.fl-feld.dreh { animation: fl-dreh .36s ease-in-out; }
@keyframes fl-dreh { 50% { transform: rotateX(90deg); } }
.fl-feld.huepf { animation: fl-huepf .5s; }
@keyframes fl-huepf { 30% { transform: translateY(-14px); } 60% { transform: translateY(2px); } }
.fl-feld[data-z="richtig"], .fl-taste[data-z="richtig"] { background: #2e9e5b; border-color: #2e9e5b; color: #fff; }
.fl-feld[data-z="vorhanden"], .fl-taste[data-z="vorhanden"] { background: #c9a227; border-color: #c9a227; color: #1a1405; }
.fl-feld[data-z="falsch"] { background: #3a4252; border-color: #3a4252; color: #e9edf4; }
.fl-taste[data-z="falsch"] { background: transparent; color: var(--text-3); border-color: var(--rand); }
.fl-meldung { min-height: 26px; margin: 6px 0; font-weight: 600; opacity: 0; transition: opacity .2s; }
.fl-meldung.zeigen { opacity: 1; }
.fl-tastatur { display: grid; gap: 6px; width: min(560px, 100%); user-select: none; }
.fl-treihe { display: flex; gap: 5px; justify-content: center; }
.fl-taste { flex: 1; max-width: 46px; height: 54px; border-radius: 8px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text);
  font: 700 16px/1 var(--schrift); text-transform: uppercase; cursor: pointer; padding: 0; touch-action: manipulation; }
.fl-taste.breit { max-width: 70px; flex: 1.5; font-size: 13px; }
.fl-taste:active { transform: scale(.95); }

/* Champion-Rätsel */
.cr-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.cr-tab { flex: 1; min-width: 118px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rand); background: var(--flaeche-1); color: var(--text-2);
  font: 600 14px/1.2 var(--schrift); cursor: pointer; white-space: nowrap; }
.cr-tab.aktiv { border-color: var(--gold); color: var(--text); background: var(--flaeche-2); }
.cr-tab.ok { box-shadow: inset 0 -3px 0 var(--gut); }
.cr-tab.nein { box-shadow: inset 0 -3px 0 var(--schlecht); }
.cr-karte { padding: 20px; }
.cr-bild { display: grid; place-items: center; min-height: 220px; border-radius: 14px; background: var(--bg-2); overflow: hidden; position: relative; }
.cr-icon { width: 128px; height: 128px; border-radius: 18px; image-rendering: auto; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: filter .4s; }
.cr-bild.splash { min-height: 0; }
.cr-splash { width: 100%; aspect-ratio: 16 / 9; background-repeat: no-repeat; transition: background-size .5s ease; }
.cr-farben { display: flex; width: min(420px, 90%); height: 120px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cr-farben span { display: block; }
.cr-mini { position: absolute; right: 14px; bottom: 14px; width: 56px; height: 56px; border-radius: 12px; }
.cr-titel { margin: 0; padding: 20px; font: 700 clamp(24px, 4.4vw, 38px)/1.2 var(--schrift-lol); text-align: center; color: var(--gold-hell); }
.cr-frage { margin: 14px 0 8px; color: var(--text-2); }
.cr-hinweisliste { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-aufloesung { font-weight: 700; font-size: 18px; margin: 12px 0 0; }
.cr-aufloesung.ok { color: var(--gut); } .cr-aufloesung.nein { color: var(--schlecht); }
.cr-eingabe { display: flex; gap: 8px; margin-top: 14px; }
.cr-suche { position: relative; flex: 1; }
.cr-suche input { width: 100%; font: 16px var(--schrift); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
.cr-vorschlaege { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: 12px;
  background: var(--flaeche-1); border: 1px solid var(--rand-stark); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); max-height: 320px; overflow-y: auto; }
.cr-vorschlaege li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.cr-vorschlaege li.aktiv, .cr-vorschlaege li:hover { background: var(--flaeche-3); }
.cr-vorschlaege img { width: 28px; height: 28px; border-radius: 6px; }
.cr-tipps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.cr-tipp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 13px;
  background: color-mix(in srgb, var(--schlecht) 14%, var(--flaeche-2)); border: 1px solid color-mix(in srgb, var(--schlecht) 40%, transparent); }
.cr-tipp.ok { background: color-mix(in srgb, var(--gut) 18%, var(--flaeche-2)); border-color: color-mix(in srgb, var(--gut) 50%, transparent); }
.cr-tipp img { width: 22px; height: 22px; border-radius: 50%; }
.cr-versuche { display: flex; gap: 6px; align-items: center; margin-top: 12px; }
.cr-versuche i { width: 22px; height: 6px; border-radius: 4px; background: var(--flaeche-3); }
.cr-versuche i.nein { background: var(--schlecht); } .cr-versuche i.ok { background: var(--gut); }
.cr-versuche span { margin-left: 8px; color: var(--text-3); font-size: 13px; }
.cr-bilanz { text-align: left; display: inline-block; margin: 8px 0; font-size: 15px; line-height: 1.7; }

/* Logikrätsel */
.lg-flaeche { display: flex; justify-content: center; margin: 6px 0 14px; user-select: none; -webkit-user-select: none; }
.lg-flaeche.erledigt { opacity: .45; pointer-events: none; }
.lg-steuer { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lg-steuer .aktiv-werkzeug { border-color: var(--gold); color: var(--gold-hell); }
.lg-info { text-align: center; color: var(--text-3); font-size: 14px; }
.sd-gitter { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); width: min(468px, 94vw); border: 3px solid var(--text-2); border-radius: 12px; overflow: hidden; }
.sd-zelle { aspect-ratio: 1; border: 1px solid var(--rand-stark); border-width: 0 1px 1px 0; border-color: var(--rand-stark); background: var(--flaeche-1);
  font: 600 clamp(22px, 6vw, 30px)/1 var(--schrift-titel); color: var(--teal); cursor: pointer; padding: 0; }
.sd-zelle.fest { color: var(--text); font-weight: 700; }
.sd-zelle.bereich { background: var(--flaeche-2); }
.sd-zelle.gleich { background: color-mix(in srgb, var(--teal) 16%, var(--flaeche-1)); }
.sd-zelle.gewaehlt { background: color-mix(in srgb, var(--gold) 28%, var(--flaeche-1)); }
.sd-zelle.konflikt { color: var(--schlecht); }
.sd-zahl { min-width: 42px; font-size: 18px; padding-left: 0; padding-right: 0; }
.sd-zahl.fertig { opacity: .35; }
.sd-zelle { font-size: clamp(16px, 4.6vw, 24px); }
.sd-zelle.rechts { border-right: 3px solid var(--text-2); } .sd-zelle.unten { border-bottom: 3px solid var(--text-2); }
.ng { display: grid; grid-template-columns: calc(var(--mz) * 18px + 8px) auto; grid-template-rows: calc(var(--ms) * 18px + 6px) auto; }
.ng-spalten { display: grid; grid-template-columns: repeat(var(--g), var(--zg)); align-items: end; }
.ng-zeilen { display: grid; grid-template-rows: repeat(var(--g), var(--zg)); }
.ng { --zg: clamp(30px, 8.5vw, 44px); }
.ng.gross { --zg: clamp(22px, 6.6vw, 38px); }
.ng.gross .ng-sh, .ng.gross .ng-zh { font-size: 11px; }
.ng-sh { display: flex; flex-direction: column; align-items: center; gap: 1px; padding-bottom: 4px; font: 600 13px/1.25 var(--schrift); color: var(--text-2); }
.ng-zh { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding-right: 6px; font: 600 13px/1 var(--schrift); color: var(--text-2); }
.ng-sh.ok, .ng-zh.ok { color: var(--text-3); opacity: .5; }
.ng-feld { display: grid; grid-template-columns: repeat(var(--g), var(--zg)); border: 2px solid var(--text-2); border-radius: 8px; overflow: hidden; touch-action: none; }
.ng-z { width: var(--zg); height: var(--zg); border: 1px solid var(--rand-stark); border-width: 0 1px 1px 0; background: var(--flaeche-1); cursor: pointer; display: grid; place-items: center; }
.ng-z[data-v="1"] { background: var(--text); }
.ng-z[data-v="2"]::after { content: "✕"; color: var(--text-3); font-size: 15px; }
.ng.geloest .ng-z[data-v="1"] { background: var(--teal); transition: background .4s; }

/* Aim-Trainer */
.aim-arena { position: relative; height: min(62vh, 520px); border-radius: 18px; overflow: hidden; cursor: crosshair; user-select: none; touch-action: none;
  background: radial-gradient(circle at 50% 40%, var(--flaeche-2), var(--bg-2)); border: 1px solid var(--rand); }
.aim-arena .startschirm { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: default; }
.aim-arena.pausiert::after { content: "⏸️ Pausiert – klick zum Weiterspielen"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(4,8,14,.6); color: #fff; font-weight: 700; font-size: 20px; }
.aim-countdown { position: absolute; inset: 0; display: grid; place-items: center; font: 700 96px/1 var(--schrift-titel); color: var(--gold-hell); animation: plopp .3s; pointer-events: none; }
.aim-countdown[hidden] { display: none; }
.aim-ziel { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; cursor: crosshair;
  background: radial-gradient(circle, #fff 0 14%, #ef5b5b 15% 32%, #fff 33% 48%, #ef5b5b 49% 66%, #fff 67% 80%, #ef5b5b 81%); box-shadow: 0 0 20px rgba(239,91,91,.45); }
.aim-ziel.platzt { animation: platzt .2s forwards; }
.aim-ziel.weg { opacity: 0; transition: opacity .2s; }
@keyframes platzt { to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.aim-popup { position: absolute; transform: translate(-50%, -50%); font: 700 18px/1 var(--schrift-titel); color: var(--gold-hell); pointer-events: none; animation: hoch .7s forwards; }
.aim-popup.combo { color: var(--teal); font-size: 22px; }
.aim-popup.minus { color: var(--schlecht); }
@keyframes hoch { to { transform: translate(-50%, -140%); opacity: 0; } }

/* Höher oder tiefer */
.ht-feld { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 640px) { .ht-feld { grid-template-columns: 1fr; } .ht-vs { margin: -6px auto; } }
.ht-karte { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 18px; border-radius: 18px;
  background: var(--flaeche-1); border: 1px solid var(--rand); transition: border-color .3s, background .3s; min-height: 330px; justify-content: center; }
.ht-karte.richtig { border-color: var(--gut); background: color-mix(in srgb, var(--gut) 10%, var(--flaeche-1)); }
.ht-karte.falsch { border-color: var(--schlecht); background: color-mix(in srgb, var(--schlecht) 10%, var(--flaeche-1)); }
.ht-bild { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ht-bild.rund { width: 96px; height: 96px; border-radius: 50%; }
.ht-karte h3 { font-size: 22px; margin-top: 6px; }
.ht-text { color: var(--text-3); margin: 0; font-size: 14px; }
.ht-wert { font: 700 clamp(30px, 5vw, 40px)/1.1 var(--schrift-titel); color: var(--gold-hell); }
.ht-wert.verdeckt { visibility: hidden; height: 0; }
.ht-einheit { color: var(--text-3); font-size: 13px; }
.ht-knoepfe { display: grid; gap: 8px; width: min(220px, 100%); margin-top: 8px; }
.ht-vs { align-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--schrift-titel);
  background: var(--flaeche-3); border: 1px solid var(--rand-stark); }

/* Last-Hit-Trainer */
.lh-wrap { position: relative; }
.lh-canvas { width: 100%; aspect-ratio: 960 / 420; display: block; border-radius: 18px; border: 1px solid var(--rand); cursor: crosshair; touch-action: none; }
.lh-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 18px;
  background: rgba(4, 8, 14, .72); color: #fff; }
.lh-start p { color: #c9d3e0; }
.lh-start[hidden] { display: none; }

/* Quiz & Flaggen */
.qz-karte, .fg-karte { padding: 26px 22px; text-align: center; }
.qz-frage { font-size: clamp(20px, 3.4vw, 28px); margin: 6px 0 22px; line-height: 1.3; }
.qz-antworten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .qz-antworten { grid-template-columns: 1fr; } }
.qz-antwort { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rand-stark);
  background: var(--flaeche-2); color: var(--text); font: 600 16px/1.3 var(--schrift); cursor: pointer; transition: transform .1s, border-color .15s, background .15s; }
.qz-antwort:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-1px); }
.qz-antwort kbd { flex: none; }
.qz-antwort.richtig { background: color-mix(in srgb, var(--gut) 24%, var(--flaeche-2)); border-color: var(--gut); }
.qz-antwort.falsch { background: color-mix(in srgb, var(--schlecht) 22%, var(--flaeche-2)); border-color: var(--schlecht); animation: wackeln .35s; }
.qz-antwort:disabled { cursor: default; }
.fg-frage { margin-bottom: 18px; }
.fg-frage p { font-size: 20px; margin: 12px 0 0; }
.fg-flagge { height: clamp(110px, 22vw, 170px); max-width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.35); border: 1px solid var(--rand); }
.fg-flagge.klein { height: 56px; }

/* 4 Gewinnt */
.vg-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; margin-top: 8px; }
@media (max-width: 640px) { .vg-wahl { grid-template-columns: 1fr; } }
.vg-box { padding: 18px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); display: flex; flex-direction: column; gap: 10px; }
.vg-box h3 { font-size: 18px; }
.vg-name { display: grid; gap: 4px; font-size: 13px; color: var(--text-3); }
.vg-name input, .vg-link input { font: 15px var(--schrift); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); min-width: 0; }
.vg-box .modus-wahl { justify-content: flex-start; }
.vg-bilanz { color: var(--text-3); font-size: 13px; margin: 0; }
.vg-spieler { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 2px solid transparent; background: var(--flaeche-2); }
.vg-spieler.dran.rot { border-color: #ef4444; } .vg-spieler.dran.gelb { border-color: #facc15; }
.vg-stand { font: 700 20px/1 var(--schrift-titel); }
.vg-einladung { padding: 14px 16px; margin-bottom: 10px; }
.vg-einladung p { margin: 0 0 8px; color: var(--text-2); }
.vg-link { display: flex; gap: 8px; }
.vg-link input { flex: 1; }
.vg-status { text-align: center; font-weight: 700; font-size: 18px; min-height: 26px; }
.vg-brett { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 10px; border-radius: 20px; width: min(520px, 100%); margin: 0 auto;
  background: linear-gradient(180deg, #1e4fae, #173d86); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.15); }
.vg-spalte { display: grid; gap: 6px; border-radius: 12px; padding: 2px; cursor: default; }
.vg-brett.mein-zug .vg-spalte { cursor: pointer; }
.vg-brett.mein-zug .vg-spalte:hover, .vg-brett.mein-zug .vg-spalte:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.vg-loch { aspect-ratio: 1; border-radius: 50%; background: var(--bg); box-shadow: inset 0 3px 6px rgba(0,0,0,.5); }
.vg-loch[data-v="1"] { background: radial-gradient(circle at 35% 30%, #ff8a8a, #e11d48 60%, #9f1239); }
.vg-loch[data-v="2"] { background: radial-gradient(circle at 35% 30%, #fff3a3, #facc15 60%, #b48a06); }
.vg-loch.fallen { animation: vg-fall .38s cubic-bezier(.4, 0, .6, 1.4); }
@keyframes vg-fall { from { transform: translateY(calc(var(--fall) * -1)); } }
.vg-loch.sieg { animation: vg-sieg .8s ease-in-out infinite alternate; box-shadow: 0 0 0 3px #fff, 0 0 18px #fff; }
@keyframes vg-sieg { to { transform: scale(.86); } }
.vg-unten { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.vg-emojis { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.vg-emoji { font-size: 22px; background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.vg-emoji:hover { transform: scale(1.1); }
.vg-flug { position: absolute; bottom: 20%; font-size: 44px; pointer-events: none; animation: vg-flug 1.6s ease-out forwards; }
.vg-flug.links { left: 12%; } .vg-flug.rechts { right: 12%; }
@keyframes vg-flug { to { transform: translateY(-220px) scale(1.4); opacity: 0; } }

/* Höher oder tiefer – Themenwahl */
.ht-modi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 0 auto; }
@media (max-width: 560px) { .ht-modi { grid-template-columns: 1fr; } }
.ht-modus { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); cursor: pointer; font: inherit; }
.ht-modus span { grid-row: 1 / 3; font-size: 28px; }
.ht-modus b { font-size: 16px; }
.ht-modus small { color: var(--text-3); font-size: 13px; }
.ht-modus:hover:not(:disabled) { border-color: var(--teal); }
.ht-modus.gold { border-color: var(--gold); }
.ht-modus:disabled { opacity: .5; cursor: wait; }
.ht-emoji { font-size: 64px; line-height: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.ht-hinweis { color: var(--text-3); }
.ht-karte.rein { animation: plopp .3s ease-out; }

/* Schwierigkeitsstufen */
.stufen { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -6px 0 16px; }
.stufen[hidden] { display: none; }
.stufen-label { color: var(--text-3); font-size: 13px; margin-right: 4px; }
.stufe { font: 600 13px/1 var(--schrift); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text-2); cursor: pointer; }
.stufe:hover { color: var(--text); border-color: var(--text-3); }
.stufe.aktiv { background: var(--text); color: var(--bg); border-color: var(--text); }
.stufen-text { color: var(--text-3); font-size: 13px; flex-basis: 100%; }

/* ---------- Land erkennen */
.ld-umriss { width: min(260px, 70vw); height: auto; aspect-ratio: 1; display: block; margin: 0 auto 6px; }
.ld-umriss path { fill: var(--text); transition: fill .3s; }
.ld-umriss.rein { animation: ld-rein .35s ease-out; }
.ld-umriss.richtig path { fill: var(--gut); } .ld-umriss.falsch path { fill: var(--schlecht); }
@keyframes ld-rein { from { opacity: 0; transform: scale(.9); } }
.ld-frage { font-size: 19px; margin: 0 0 16px; }
.ld-eingabe { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; text-align: left; }
.ld-eingabe > div { flex: 1; }
.ld-eingabe input { width: 100%; font: 16px var(--schrift); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
.ld-aufloesung { min-height: 28px; margin: 14px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ld-aufloesung img { height: 20px; border-radius: 3px; }
.gedimmt { color: var(--text-3); }

/* ---------- Sprint */
.sp-karte { padding: 28px 22px; text-align: center; }
.sp-karte.puls { animation: sp-puls .25s; }
@keyframes sp-puls { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gut) 55%, transparent); } }
.sp-aufgabe { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sp-rechnung { font: 700 clamp(34px, 7vw, 54px)/1 var(--schrift); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sp-wort { font: 700 clamp(26px, 5vw, 40px)/1.1 var(--schrift); }
.sp-wort.naechstes { font-size: clamp(16px, 2.6vw, 20px); font-weight: 500; color: var(--text-3); }
.sp-input { display: block; width: min(360px, 100%); margin: 0 auto 10px; font: 600 24px var(--schrift); text-align: center; padding: 12px 16px; border-radius: 14px;
  border: 2px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
.sp-input:focus { outline: none; border-color: var(--teal); }
.sp-input.falsch { border-color: var(--schlecht); animation: wackeln .3s; }
.sp-hinweis { color: var(--text-3); font-size: 13px; margin: 0 0 12px; }
.aw-canvas { aspect-ratio: 960 / 540; cursor: pointer; }

/* ---------- Schätzfrage */
.sf-karte { padding: 26px 22px; text-align: center; }
.sf-karte.rein { animation: ld-rein .3s ease-out; }
.sf-kat { color: var(--text-2); font-weight: 600; margin: 0 0 8px; }
.sf-bild .ht-bild { height: 64px; } .sf-bild .ht-emoji { font-size: 54px; line-height: 1; }
.sf-name { font-size: clamp(24px, 4.4vw, 34px); margin: 8px 0 4px; }
.sf-hinweis { color: var(--text-3); font-size: 13px; min-height: 18px; margin: 0 0 16px; }
.sf-eingabe input[type=range] { width: min(520px, 100%); accent-color: var(--teal); margin-bottom: 14px; }
.sf-reihe { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sf-reihe input { width: 170px; font: 600 20px var(--schrift); text-align: right; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
.sf-vergleich { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sf-vergleich > div { background: var(--flaeche-3); border-radius: 14px; padding: 12px 18px; min-width: 160px; }
.sf-vergleich small { display: block; color: var(--text-3); } .sf-vergleich b { font-size: 22px; } .sf-richtig { color: var(--gut); }
.sf-abw { font-size: 18px; font-weight: 600; margin: 14px 0; }
.sf-bilanz { text-align: left; display: inline-block; }

/* ---------- Minecraft-Rätsel */
.mc-bild { min-height: 230px; padding: 18px; background: #3b3b3b; }
.mc-werkbank { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.mc-raster { display: grid; grid-template-columns: repeat(3, clamp(64px, 17vw, 84px)); gap: 4px; padding: 6px; background: #8b8b8b; border: 3px solid #555; box-shadow: inset 2px 2px 0 #c6c6c6; }
.mc-slot { aspect-ratio: 1; background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; display: grid; place-items: center; position: relative; }
.mc-slot.voll { background: linear-gradient(145deg, color-mix(in srgb, var(--f, #aaa) 90%, #fff), color-mix(in srgb, var(--f, #aaa) 75%, #000)); }
.mc-slot span { font: 600 11px/1.15 var(--schrift); text-align: center; padding: 3px; color: #111; background: rgba(255,255,255,.78); border-radius: 4px; max-width: 94%; overflow-wrap: anywhere; }
.mc-slot.gross { width: clamp(86px, 22vw, 110px); font: 700 34px var(--schrift); color: #333; }
.mc-slot.gross.voll { --f: #6fcf6f; } .mc-slot.gross span { font-size: 13px; }
.mc-menge { position: absolute; right: 6px; bottom: 4px; font: 700 15px var(--schrift) !important; color: #fff !important; background: none !important; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-pfeil { font-size: 34px; color: #d6d6d6; }
.mc-steckbrief { text-align: center; color: #eee; } .mc-steckbrief b { font-size: 20px; }
.mc-mob { font-size: 70px; line-height: 1.1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.cr-eingabe > div:first-child { flex: 1; }
.cr-hinweisliste .chip { white-space: normal; max-width: 100%; }
@media (max-width: 640px) {
  .lh-wrap { display: flex; flex-direction: column; }
  .lh-start { position: static; order: -1; margin-bottom: 10px; padding: 22px 16px; }
  .lh-start h2 { font-size: 22px; }
}

/* ---------- Ultimate Tic-Tac-Toe */
.ut-x.dran { border-color: #38bdf8; } .ut-o.dran { border-color: #f472b6; }
.ut-brett { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(560px, 100%); margin: 0 auto; padding: 10px; border-radius: 18px; background: var(--flaeche-3); }
.ut-block { position: relative; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 5px; border-radius: 12px; background: var(--flaeche-1); border: 2px solid transparent; transition: border-color .2s, background .2s; }
.ut-block.ziel { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.ut-block.aktiv { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--flaeche-1)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.ut-zelle { aspect-ratio: 1; min-width: 0; width: 100%; overflow: hidden; display: grid; place-items: center; line-height: 1; border: 0; border-radius: 6px; background: var(--flaeche-2); font: 800 clamp(14px, 3.6vw, 24px)/1 var(--schrift); color: var(--text); padding: 0; cursor: pointer; }
.ut-zelle:disabled { cursor: default; }
.ut-zelle:not(:disabled):hover { background: var(--flaeche-3); }
.ut-zelle[data-v="1"] { color: #38bdf8; } .ut-zelle[data-v="2"] { color: #f472b6; }
.ut-zelle.letzter { box-shadow: inset 0 0 0 2px currentColor; }
.ut-gross { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: 800 clamp(56px, 15vw, 110px)/1 var(--schrift); }
.ut-block[data-k="1"] .ut-gross { color: #38bdf8; } .ut-block[data-k="2"] .ut-gross { color: #f472b6; }
.ut-block[data-k="1"] .ut-zelle, .ut-block[data-k="2"] .ut-zelle, .ut-block[data-k="3"] .ut-zelle { opacity: .25; }
.ut-block[data-k="1"], .ut-block[data-k="2"] { background: color-mix(in srgb, var(--flaeche-1) 70%, transparent); }
.ut-block.sieg { animation: ut-sieg .9s ease-in-out infinite alternate; border-color: var(--gold); }
@keyframes ut-sieg { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 0%, transparent); } to { box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 45%, transparent), 0 0 22px color-mix(in srgb, var(--gold) 55%, transparent); } }

/* ---------- Schiffe versenken */
.sv .vg-spiel, #sv-spiel { position: relative; }
.sv-tipp { text-align: center; color: var(--text-2); font-size: 14px; margin: 0 0 10px; }
.sv-aufstellen { margin-bottom: 14px; }
.sv-felder { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.sv-seite { flex: 1 1 300px; max-width: 440px; }
.sv-seite h3 { text-align: center; font-size: 16px; margin-bottom: 6px; }
.sv-feld { display: grid; grid-template-columns: 18px repeat(10, 1fr); gap: 2px; padding: 8px; border-radius: 14px; background: linear-gradient(160deg, #0c3d5c, #082a40); border: 2px solid transparent; }
.sv-feld.dran { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.sv-kopf { display: grid; place-items: center; font: 600 10px var(--schrift); color: #8fb6cf; }
.sv-z { aspect-ratio: 1; border: 0; border-radius: 3px; background: rgba(255,255,255,.07); color: #fff; font: 700 14px/1 var(--schrift); padding: 0; cursor: default; }
.sv-feld.dran .sv-z:not(:disabled) { cursor: crosshair; } .sv-feld.dran .sv-z:not(:disabled):hover { background: rgba(255,216,74,.35); }
#sv-mein .sv-z:not(:disabled) { cursor: pointer; }
.sv-z.schiff { background: #9aa6b2; } .sv-z.schiff.markiert { background: #f2c94c; }
.sv-z.anfang-w { border-radius: 10px 3px 3px 10px; } .sv-z.ende-w { border-radius: 3px 10px 10px 3px; }
.sv-z.anfang-s { border-radius: 10px 10px 3px 3px; } .sv-z.ende-s { border-radius: 3px 3px 10px 10px; }
.sv-z.wasser { color: #7fb3d5; background: rgba(255,255,255,.03); }
.sv-z.treffer { background: #e8743b; } .sv-z.versenkt { background: #b3261e !important; }
.sv-z.letzter { outline: 2px solid #fff; outline-offset: -2px; animation: sv-einschlag .45s; }
@keyframes sv-einschlag { from { transform: scale(1.5); } }
.sv-flotte { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 11px; letter-spacing: 1px; color: var(--text-2); margin: 8px 0 0; }
.sv-flotte .weg { color: var(--schlecht); text-decoration: line-through; opacity: .6; }

/* ---------- Squad-Quiz & Zeichnen (Gruppenräume) */
.sq-box { max-width: 420px; margin: 0 auto; text-align: left; }
#sq-spiel, #zr-spiel { position: relative; }
.sq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: start; }
@media (max-width: 760px) { .sq-layout { grid-template-columns: 1fr; } }
.sq-haupt { padding: 22px; text-align: center; min-height: 260px; }
.sq-liste { padding: 16px; } .sq-liste h3 { font-size: 15px; margin-bottom: 8px; }
.sq-liste ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sq-liste li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--flaeche-2); font-size: 14px; }
.sq-liste li.ich { outline: 2px solid var(--teal); }
.sq-liste .plus { color: var(--gut); font-weight: 700; }
.sq-titel { font-size: 24px; margin: 6px 0 10px; }
.sq-text { color: var(--text-2); margin: 14px 0 0; }
.sq-einst { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 12px; }
.sq-einst label { display: grid; gap: 4px; font-size: 13px; color: var(--text-3); text-align: left; }
.sq-einst select { font: 15px var(--schrift); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
.sq-podest { display: flex; gap: 10px; justify-content: center; align-items: flex-end; margin: 10px 0 16px; }
.sq-podest > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--flaeche-2); min-width: 96px; }
.sq-podest .p1 { order: 2; padding-top: 26px; background: color-mix(in srgb, var(--gold) 20%, var(--flaeche-2)); }
.sq-podest .p2 { order: 1; } .sq-podest .p3 { order: 3; }
.sq-podest span { font-size: 30px; } .sq-podest small { color: var(--text-3); }
.qz-antwort.gewaehlt { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 16%, var(--flaeche-2)); }
.zr-wort { font: 700 20px/1 var(--schrift); letter-spacing: .12em; }
.zr-wort .luecken { font-family: ui-monospace, monospace; } .zr-wort small { letter-spacing: 0; color: var(--text-3); font-size: 12px; }
.zr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; align-items: start; }
@media (max-width: 820px) { .zr-layout { grid-template-columns: 1fr; } }
.zr-leinwand-wrap { position: relative; }
.zr-canvas { width: 100%; aspect-ratio: 4 / 3; display: block; border-radius: 16px; border: 1px solid var(--rand); background: #fff; touch-action: none; }
.zr-canvas.zeichnet { cursor: crosshair; }
.zr-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; border-radius: 16px; background: rgba(8, 12, 18, .72); color: #fff; padding: 16px; }
.zr-overlay[hidden] { display: none; }
.zr-overlay h3 { font-size: 22px; margin-bottom: 10px; } .zr-overlay p { color: #cfd8e3; }
.zr-overlay .sq-podest > div { background: rgba(255,255,255,.1); }
.zr-werkzeuge { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.zr-farben, .zr-groessen { display: flex; gap: 4px; flex-wrap: wrap; }
.zr-farbe { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rand-stark); background: var(--f); cursor: pointer; }
.zr-farbe.aktiv, .zr-groesse.aktiv { outline: 3px solid var(--teal); outline-offset: 1px; }
.zr-groesse { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); display: grid; place-items: center; cursor: pointer; }
.zr-groesse i { display: block; border-radius: 50%; background: var(--text); }
.zr-rechts { padding: 12px; display: flex; flex-direction: column; gap: 10px; height: min(620px, 80vh); }
@media (max-width: 820px) { .zr-rechts { height: 420px; } }
.zr-spieler { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 40%; overflow: auto; }
.zr-spieler li { display: flex; justify-content: space-between; padding: 5px 9px; border-radius: 8px; background: var(--flaeche-2); font-size: 14px; }
.zr-spieler li.ich { outline: 2px solid var(--teal); } .zr-spieler li.geraten { background: color-mix(in srgb, var(--gut) 22%, var(--flaeche-2)); }
.zr-chat { flex: 1; overflow: auto; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.zr-chat p { margin: 0; overflow-wrap: anywhere; } .zr-chat .system { color: var(--gut); font-weight: 600; }
.zr-raten { display: flex; gap: 6px; }
.zr-raten input { flex: 1; min-width: 0; font: 15px var(--schrift); padding: 9px 11px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); }
/* Minecraft-Bilder (vom Minecraft Wiki) */
.mc-img { image-rendering: pixelated; display: block; }
.mc-slot .mc-img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); }
.mc-slot.offen { background: #8b8b8b; }
.mc-slot.offen span { position: absolute; left: 2px; right: 2px; bottom: 2px; font-size: 9px; padding: 1px 2px; }
.mc-slot.gross.offen { background: #8b8b8b; } .mc-slot.gross .mc-img { width: 56%; height: 56%; }
.mc-img.mob { width: clamp(96px, 26vw, 128px); height: auto; margin: 0 auto 10px; border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.mc-img.schatten { filter: brightness(0) drop-shadow(0 0 1px #fff); box-shadow: none; }
.mc-steckbrief small { display: block; color: #bbb; font-weight: 500; }
.mc-img.tipp { width: 20px; height: 20px; }
.cr-tipp:has(.mc-img) { padding-left: 4px; }
.mc-img.vorschlag { width: 26px; height: 26px; }
.mc-en { color: var(--text-3); margin-left: auto; font-size: 12px; }

/* Startseite: Zitat statt Überschrift */
.visuell-versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zitat { margin: 6px 0 22px; position: relative; }
.zitat blockquote { margin: 0; font: italic 700 clamp(32px, 5.6vw, 58px)/1.08 var(--schrift-titel); letter-spacing: -.03em; color: var(--text); }
.zitat blockquote em { background: linear-gradient(100deg, var(--gold-hell), var(--gold) 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.zitat-z { color: var(--gold); margin-right: .04em; }
.zitat figcaption { margin-top: 14px; font-size: 18px; font-style: italic; color: var(--text-2); letter-spacing: .02em; }

/* ---- App (PWA) ---- */
.raster-app { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.app-karte { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.app-installiert { margin-top: 24px; }
.app-schritte ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.7; }
.app-schritte.passt { border-color: var(--gold, #d4af61); box-shadow: 0 0 0 1px var(--gold, #d4af61) inset; order: -1; }
.nav-app { white-space: nowrap; }
@media (max-width: 420px) { .nav-app { padding-left: 10px; padding-right: 10px; } }
.als-app .nav { padding-top: env(safe-area-inset-top); }

/* ================================================================ 3.0: eine Website – Kopfzeile, Tab-Leiste, Heute, Profil, Punkte, Mitmachen */

/* Kopfzeile: Konto-Knopf & Glocke */
.nav-links a[aria-current="page"] { color: var(--text); }
.konto-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--rand);
  background: var(--flaeche-1); color: var(--text); text-decoration: none; font: 600 14px/1 var(--schrift); white-space: nowrap; }
.konto-knopf:hover { border-color: var(--rand-stark); color: var(--text); }
.konto-knopf.gast { padding: 8px 14px; background: linear-gradient(180deg, var(--gold-hell), var(--gold)); color: #1a1405; border-color: transparent; }
.konto-knopf.gast .konto-av { display: none; }
.konto-av { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; overflow: hidden;
  font: 700 13px var(--schrift-titel); background: linear-gradient(135deg, var(--gold-hell), var(--gold) 55%, var(--teal-dunkel)); color: #1a1405; }
.konto-av img { width: 100%; height: 100%; object-fit: cover; }
.glocke { position: relative; font-size: 16px; text-decoration: none; }
.glocke i { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--schlecht);
  color: #fff; font: 700 11px/18px var(--schrift); font-style: normal; text-align: center; }
.glocke i:empty { display: none; }

/* Handy: Tab-Leiste unten statt Menü */
.tabbar { display: none; }
@media (max-width: 820px) {
  .nav-links, .burger { display: none !important; }
  .konto-knopf .konto-name { display: none; }
  .konto-knopf { padding: 3px; }
  .konto-knopf.gast { padding: 7px 12px; } .konto-knopf.gast .konto-name { display: inline; }
  .nav-rechts .nav-app { display: none !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--nav-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--rand); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 500; padding: 3px 0; }
  .tabbar a b { font-weight: 500; }
  .tabbar a span { font-size: 20px; line-height: 1.1; filter: grayscale(1); opacity: .7; }
  .tabbar a[aria-current="page"] { color: var(--gold-hell); } .tabbar a[aria-current="page"] span { filter: none; opacity: 1; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}

/* Bereichs-Navigation (LoL) */
.bereichsnav { border-bottom: 1px solid var(--rand); background: var(--bg-2); }
.bereichsnav .mitte { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bereichsnav .mitte::-webkit-scrollbar { display: none; }
.bereichsnav a { padding: 12px 12px 10px; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.bereichsnav a:hover { color: var(--text); }
.bereichsnav a.aktiv { color: var(--text); border-bottom-color: var(--gold); }

/* Seitenköpfe */
.seiten-kopf { padding: 40px 0 22px; }
.seiten-h1 { font-size: clamp(32px, 5vw, 46px); }
.segment-web { display: inline-flex; gap: 3px; border: 1px solid var(--rand); border-radius: 999px; padding: 3px; background: var(--flaeche-1); }
.segment-web button { border: 0; background: none; color: var(--text-2); padding: 6px 13px; border-radius: 999px; font: 500 14px var(--schrift); cursor: pointer; }
.segment-web button[aria-pressed="true"] { background: var(--flaeche-3); color: var(--text); }
.av { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; overflow: hidden; vertical-align: middle;
  font: 700 13px var(--schrift-titel); background: linear-gradient(135deg, var(--gold-hell), var(--gold) 55%, var(--teal-dunkel)); color: #1a1405; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.gross { width: 72px; height: 72px; font-size: 28px; }
.klein-grau { color: var(--text-3); font-size: 13px; }

/* ---------------------------------------------------------------- Startseite „Heute“ */
.heute-an .nur-gast { display: none; }
.heute-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 36px 0 22px; }
.heute-kopf h1 { font-size: clamp(30px, 5vw, 44px); }
.heute-kopf p { color: var(--text-2); margin: 6px 0 0; }
.heute-raster { columns: 3 320px; column-gap: 16px; }
.heute-raster > .karte { padding: 18px; break-inside: avoid; margin: 0 0 16px; display: block; width: 100%; }
.heute-raster h2 { font-size: 18px; margin: 0 0 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.heute-raster h2 .rechts { margin-left: auto; color: var(--gold); font-size: 15px; }
.heute-raster h2 small { color: var(--text-3); font: 400 13px var(--schrift); }
.zeile-web { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rand); font-size: 15px; }
.zeile-web:first-of-type { border-top: 0; }
.zeile-web > div { flex: 1; min-width: 0; }
.zeile-web small { display: block; color: var(--text-3); font-size: 12px; }
.balken-web { height: 6px; border-radius: 6px; background: var(--flaeche-3); overflow: hidden; flex: 1; }
.balken-web span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-hell)); }
.aufgaben-web { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 15px; }
.aufgaben-web li { display: flex; justify-content: space-between; gap: 10px; }
.aufgaben-web li.ok { color: var(--text-2); }
.aufgaben-web em { font-style: normal; color: var(--gold); font-weight: 600; font-size: 14px; white-space: nowrap; }
.stimme-web { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr auto; align-items: center; gap: 10px; font-size: 14px; margin-top: 8px; }
.stimme-web span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stimme-web.meine span { color: var(--gold-hell); font-weight: 600; }
.rang-web { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.rang-web li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); font-size: 15px; }
.rang-web li b { margin-left: auto; }
.rang-web li.du { outline: 1px solid var(--gold); }
.rang-web a { color: inherit; text-decoration: none; }
.raetsel-web { display: grid; gap: 6px; }
.raetsel-web a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); color: var(--text); text-decoration: none; font-size: 15px; }
.raetsel-web a:hover { background: var(--flaeche-3); }
.raetsel-web a .status { margin-left: auto; font-size: 13px; color: var(--text-3); }
.raetsel-web a.fertig .status { color: var(--gut); }

/* Feed */
.feed-web { list-style: none; padding: 0; margin: 0; }
.feed-web li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--rand); font-size: 15px; }
.feed-web li:first-child { border-top: 0; }
.feed-web li small { display: block; color: var(--text-3); font-size: 12px; }
.feed-web li a { color: inherit; }
.feed-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--flaeche-3); display: grid; place-items: center; font-size: 17px; }
.feed-web li.neu .feed-ic { box-shadow: 0 0 0 2px var(--gold); }
.mehr-knopf { display: block; margin: 12px auto 0; }

/* ---------------------------------------------------------------- Punkte */
.punkte-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.punkte-tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.punkte-tabelle td { padding: 10px 8px; border-top: 1px solid var(--rand); vertical-align: middle; }
.punkte-tabelle tr:first-child td { border-top: 0; }
.punkte-tabelle .platz { width: 44px; font: 700 18px var(--schrift-titel); color: var(--text-2); text-align: center; }
.punkte-tabelle .name a { color: var(--text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.punkte-tabelle .wert { text-align: right; font: 700 20px var(--schrift-titel); white-space: nowrap; }
.punkte-tabelle tr.du td { background: rgba(212,175,97,.07); }
.teile { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: var(--flaeche-3); margin-top: 6px; max-width: 320px; }
.teile span { display: block; height: 100%; }
.teile .t-lol { background: #3987e5; } .teile .t-abz { background: var(--gold); } .teile .t-sp { background: #199e70; } .teile .t-splol { background: #9085e9; }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin: 12px 0 0; }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.punkte-regeln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.punkte-regeln h3 { font-size: 18px; margin: 0 0 10px; }
.punkte-regeln ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.punkte-regeln b { color: var(--gold); }
.punkte-hinweis { color: var(--text-2); font-size: 14px; margin: 16px 0 0; }

/* ---------------------------------------------------------------- Profil */
.profil-kopf { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 36px 0 18px; }
.profil-kopf h1 { font-size: clamp(30px, 5vw, 42px); }
.profil-kopf > div { flex: 1; min-width: 200px; }
.profil-zahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; margin-bottom: 16px; }
.profil-zahlen .karte { padding: 14px 16px; }
.profil-zahlen b { display: block; font: 700 26px/1.15 var(--schrift-titel); }
.profil-zahlen span { color: var(--text-3); font-size: 13px; }
.profil-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.profil-raster .karte { padding: 18px; }
.profil-raster h2 { font-size: 18px; margin: 0 0 12px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.profil-raster h2 small { color: var(--text-3); font: 400 13px var(--schrift); }
.liste-web { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 15px; }
.liste-web li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rand); }
.liste-web li:first-child { border-top: 0; }
.liste-web li .r { margin-left: auto; color: var(--text-2); white-space: nowrap; }
.liste-web img { width: 30px; height: 30px; border-radius: 8px; }
.abz-web { display: flex; flex-wrap: wrap; gap: 8px; }
.abz-web span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--rand); font-size: 13px; }
.abz-web span.s3 { border-color: var(--gold); } .abz-web span.s2 { border-color: rgba(160,180,205,.45); }
.spiele-web { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.spiele-web div { border-radius: 10px; overflow: hidden; background: var(--flaeche-2); font-size: 12px; }
.spiele-web img { width: 100%; aspect-ratio: 460/215; object-fit: cover; display: block; }
.spiele-web p { margin: 0; padding: 6px 8px; color: var(--text-2); }

/* ---------------------------------------------------------------- Mitmachen */
.schritte-web { list-style: none; padding: 0; margin: 10px 0 70px; display: grid; gap: 12px; }
.schritte-web > li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--flaeche-1); border: 1px solid var(--rand); }
.schritte-web > li > .nr { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--flaeche-3); color: var(--text-2); }
.schritte-web > li.fertig > .nr { background: var(--gut); color: #04210f; }
.schritte-web > li.aktiv { border-color: var(--gold); } .schritte-web > li.aktiv > .nr { background: var(--gold); color: #1a1405; }
.schritte-web > li > div { flex: 1; min-width: 0; }
.schritte-web b.titel { font-size: 17px; }
.schritte-web small { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; }
.schritte-web form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.schritte-web input { flex: 1; min-width: 160px; background: var(--flaeche-2); border: 1px solid var(--rand-stark); border-radius: 10px; color: var(--text); padding: 9px 12px; font: inherit; font-size: 15px; }
.meldung-web { margin: 10px 0 0; font-size: 14px; }
.meldung-web.ok { color: var(--gut); } .meldung-web.fehler { color: var(--schlecht); }
.schritte-web .erledigt-liste { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }

/* Lange Befehle in Neuigkeiten dürfen umbrechen (sonst zu breit am Handy) */
.news code, .befehl code { white-space: normal; overflow-wrap: anywhere; }
.news { min-width: 0; overflow-wrap: anywhere; }

/* ---------- „Neu!“-Markierungen (0.4.0) ---------- */
.neu-pille {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px 2px 7px; border-radius: 999px;
  font: 700 11px/1.4 var(--schrift); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
  color: #1a1206; background: linear-gradient(135deg, var(--gold-hell), var(--gold));
  box-shadow: 0 0 0 1px rgba(242, 220, 164, .35), 0 4px 14px -4px rgba(212, 175, 97, .55);
  animation: neu-rein .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
h1 .neu-pille, h2 .neu-pille { font-size: 12px; transform: translateY(-2px); }

.hat-neu-sticker { position: relative; overflow: visible; }
.neu-aufkleber {
  position: absolute; top: -10px; right: 14px; z-index: 2; padding: 4px 11px; border-radius: 8px;
  font: 800 12px/1.2 var(--schrift-titel); letter-spacing: .05em; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(135deg, var(--gold-hell), var(--gold) 70%);
  box-shadow: 0 6px 18px -6px rgba(212, 175, 97, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  transform: rotate(3deg); animation: neu-sticker .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.neu-punkt {
  position: relative; display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%;
  background: var(--gold); vertical-align: top; box-shadow: 0 0 0 0 rgba(212, 175, 97, .7); animation: neu-puls 2s infinite;
}
.tabbar a { position: relative; }
.tabbar .neu-punkt { position: absolute; top: 2px; left: calc(50% + 9px); margin: 0; }
.bereichsnav .neu-punkt { margin-left: 6px; vertical-align: middle; }
@keyframes neu-puls { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 97, .65); } 70% { box-shadow: 0 0 0 7px rgba(212, 175, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 97, 0); } }
@keyframes neu-rein { from { opacity: 0; transform: scale(.6); } }
@keyframes neu-sticker { from { opacity: 0; transform: rotate(-12deg) scale(.5); } }
@media (prefers-reduced-motion: reduce) { .neu-pille, .neu-aufkleber, .neu-punkt { animation: none; } }

/* ---------- Korrekturen 0.4.0 ---------- */
/* Die breite Platzhalter-Karte („Als Nächstes“) erzwang am Handy eine zweite, winzige Spalte */
@media (max-width: 760px) { .produkt.platzhalter.quer { grid-column: auto; } }

/* ---------- 0.4.2: Punkte-Übersicht, Höher/Tiefer, Schätzfrage ---------- */
.punkte-uebersicht { margin: 8px 0 28px; }
.pu-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pu-kopf h2 { margin: 0; font-size: 20px; }
.pu-regeln { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.pu-regeln > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 56px 12px 14px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.pu-regeln b { font-size: 14px; }
.pu-regeln small { color: var(--text-3); font-size: 12px; }
.pu-regeln span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 700 20px/1 var(--schrift-titel); color: var(--gold); }
.pu-stand { margin-top: 16px; }
.pu-zeile { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.pu-balken { height: 10px; border-radius: 999px; background: var(--flaeche-3); overflow: hidden; }
.pu-balken i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dunkel), var(--gold)); transition: width .6s ease; }
.pu-stand small, .pu-hinweis { display: block; margin-top: 8px; color: var(--text-2); font-size: 13px; }
.punkte-abzeichen { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--gold); background: rgba(212, 175, 97, .12); border: 1px solid rgba(212, 175, 97, .28); white-space: nowrap; }
.punkte-abzeichen.erledigt { color: var(--gut); background: rgba(47, 207, 115, .1); border-color: rgba(47, 207, 115, .3); }
.sk-fuss .punkte-abzeichen { margin-right: auto; }
.sk-fuss { flex-wrap: wrap; gap: 8px; }
.ef-punkte { display: inline-block; margin-left: 4px; font-weight: 700; color: var(--gold); }
.ef-punkte.grau { color: var(--text-3); font-weight: 500; }
.ht-groesse { margin: -4px 0 8px; font-size: 13px; font-weight: 700; color: var(--teal); }
.ht-fakt { margin: 14px auto 0; max-width: 620px; padding: 10px 14px; border-radius: 12px; text-align: center; font-size: 14px; color: var(--text); background: var(--flaeche-2); border: 1px solid var(--rand); animation: neu-rein .4s ease both; }
.ht-modus.hat-neu-sticker .neu-aufkleber { top: -9px; right: 10px; }
.sf-skala { margin: 4px 0 0; font-size: 12px; color: var(--text-3); text-align: center; }

/* ---------- 0.5.0: Flygo-Life ---------- */
.life { display: grid; gap: 18px; padding-top: 24px; padding-bottom: 40px; }
.life h2 { font-size: 18px; margin: 0 0 10px; } .life h2 small { color: var(--text-3); font-weight: 400; font-size: 13px; }
.life-kopf { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(212,175,97,.14), transparent 60%), var(--flaeche-1); }
.life-kopf .seiten-h1 { margin: 4px 0; } .life-sub { margin: 0; color: var(--text-2); }
.life-geld { display: flex; gap: 12px; } .life-geld > div { display: grid; padding: 12px 16px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); min-width: 130px; }
.life-geld span { font-size: 12px; color: var(--text-3); } .life-geld b { font: 700 22px/1.2 var(--schrift-titel); color: var(--gold-hell); } .life-geld b small, .life-funde b small, .life-rang b small, .life-ding i small { font-size: 11px; color: var(--text-3); font-weight: 500; }
.life-geld div small { font-size: 11px; color: var(--text-3); }
.life-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.life-aktion { display: grid; gap: 4px; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s; }
.life-aktion:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--gold); } .life-aktion:disabled { opacity: .6; cursor: default; }
.la-emoji { font-size: 30px; } .life-aktion small { color: var(--text-3); font-size: 12px; } .la-status { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--teal); }
.life-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.life-bank { display: flex; gap: 8px; flex-wrap: wrap; } .life-bank input, .life-name input, .life-umfrage input, .life-einst input { flex: 1; min-width: 120px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: inherit; }
.life-funde, .life-rang, .life-log { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.life-funde li, .life-rang li, .life-log li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); font-size: 14px; }
.life-funde i { font-size: 12px; font-style: normal; margin-left: auto; } .life-log b.plus { color: var(--gut); } .life-log b.minus { color: var(--schlecht); }
.life-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.life-ding { display: grid; gap: 2px; padding: 12px; border-radius: 12px; border: 1px solid var(--rand); background: var(--flaeche-2); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.life-ding:disabled { opacity: .55; cursor: default; } .life-ding span { font-size: 24px; } .life-ding small { font-size: 11px; color: var(--text-3); } .life-ding i { font-style: normal; font-weight: 700; color: var(--gold); margin-top: 4px; }
.life-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gut); }
.life-name { display: flex; gap: 8px; margin-top: 8px; } .life-umfrage form { display: grid; gap: 8px; } .life-umfrage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; } .life-umfrage li b { color: var(--gold); margin-left: 6px; }
.life-einst { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 10px; } .life-einst label { display: grid; gap: 4px; font-size: 12px; color: var(--text-3); }
.life-timing { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(4, 8, 14, .72); }
.lt-box { width: min(420px, 100%); text-align: center; display: grid; gap: 10px; } .lt-box .knoepfe { display: flex; gap: 8px; justify-content: center; }
.lt-bahn { position: relative; height: 28px; border-radius: 999px; background: var(--flaeche-3); overflow: hidden; }
.lt-ziel { position: absolute; left: 42%; width: 16%; top: 0; bottom: 0; background: rgba(47, 207, 115, .35); } .lt-marker { position: absolute; top: 2px; bottom: 2px; width: 6px; margin-left: -3px; border-radius: 3px; background: var(--gold-hell); }
.life-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 70; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--flaeche-1); border: 1px solid var(--gold); box-shadow: var(--schatten); transition: opacity .5s; }
.life-toast.schlecht { border-color: var(--schlecht); } .life-toast.weg { opacity: 0; }
.life-leer { text-align: center; }

/* ---------- 0.5.1: Flygo-Life (Mein Leben, Casino, Frische) + Admin-Seite ---------- */
.life-geld { flex-wrap: wrap; } .life-v b { color: var(--teal); }
.life-schnell { margin-top: 8px; }
.life-funde li > span small { display: block; color: var(--text-3); font-size: 11px; margin-top: 1px; }
.life-alt { color: var(--schlecht); } .life-bald { color: var(--warn, #e0a030); }
.life-leben h3 { font-size: 15px; margin: 14px 0 8px; }
.life-stufen { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.life-stufe { display: grid; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--rand); background: var(--flaeche-2); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.life-stufe:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.life-stufe span { font-size: 24px; } .life-stufe small { font-size: 11px; color: var(--text-3); } .life-stufe i { font-style: normal; font-weight: 700; color: var(--gold); margin-top: 4px; font-size: 13px; }
.life-stufe.aktiv { border-color: var(--teal); cursor: default; } .life-stufe.aktiv i { color: var(--teal); }
.life-casino-spiele { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.life-casino-spiele > div { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.life-casino-spiele small { color: var(--text-3); font-size: 12px; } .life-casino-spiele .knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
.life-adminlink { text-align: center; }
.tabbar { grid-template-columns: repeat(6, 1fr); }   /* seit Life 6 Reiter – vorher rutschte „Profil“ in eine zweite Zeile */
.admin-sprung { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .admin-sprung a { padding: 6px 12px; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--rand); font-size: 13px; text-decoration: none; }
.admin-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.admin-zahlen > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.admin-zahlen span { font-size: 12px; color: var(--text-3); } .admin-zahlen b { font-size: 17px; }
.admin-werte { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 12px 0; }
.admin-wert { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.aw-kopf { display: flex; justify-content: space-between; gap: 8px; } .aw-kopf i { font-style: normal; font-size: 12px; white-space: nowrap; }
.admin-wert input, .admin-stunden input { padding: 9px 11px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); font: inherit; }
.admin-wert small { font-size: 12px; color: var(--text-2); line-height: 1.45; } .aw-std { color: var(--text-3); }
.admin-stunden { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .admin-stunden input { width: 90px; }
.admin-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.admin-tabelle th, .admin-tabelle td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.admin-tabelle th:first-child, .admin-tabelle td:first-child { text-align: left; white-space: normal; min-width: 160px; }
.admin-liste { padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.admin-gefahr { border-color: var(--schlecht) !important; color: var(--schlecht) !important; }
.admin .knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.life.admin, .life { grid-template-columns: minmax(0, 1fr); } .life > * { min-width: 0; }

/* ---------- 0.5.3: Flygo-Life – Überfallen, Gefängnis, Stadt-Feed, DMs, Startseiten-Karte ---------- */
.life-meldung { border-color: var(--gold); background: radial-gradient(120% 140% at 0% 0%, rgba(212,175,97,.16), transparent 60%), var(--flaeche-1); font-weight: 600; }
.life-knast { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; border-color: var(--schlecht); }
.life-knast span { flex: 1; min-width: 220px; color: var(--text-2); font-size: 14px; }
.life-ziele { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.life-ziele li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); }
.life-ziele li span { flex: 1; } .life-ziele .knopf:disabled { opacity: .45; cursor: default; } .life-ziele small { color: var(--text-3); font-size: 12px; }
.life-feed-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.life-feed-liste li { padding: 10px 12px; border-radius: 10px; background: var(--flaeche-2); }
.life-feed-liste p { margin: 0 0 6px; font-size: 14px; }
.life-reakt { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.life-reakt button { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche-1); color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.life-reakt button.meine { border-color: var(--gold); background: rgba(212,175,97,.18); } .life-reakt b { font-size: 12px; }
.life-reakt small { margin-left: auto; color: var(--text-3); font-size: 11px; }
.life-dm { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; } .life-dm label { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.life-heute-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.life-heute-zahlen > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); }
.life-heute-zahlen span { font-size: 11px; color: var(--text-3); } .life-heute-zahlen b { font-size: 16px; } .life-heute-zahlen small { font-size: 11px; color: var(--text-3); font-weight: 500; }
.life-heute-meldung { margin: 0 0 10px; font-weight: 600; color: var(--gold-hell); }

/* ---------- 0.5.4: Flygo-Life – Sammelalbum ---------- */
.life-album-knopf { margin-left: 8px; vertical-align: middle; }
.life-album-box { overflow-y: auto; align-items: start; }
.life-album { width: min(720px, 100%); text-align: left; max-height: none; margin: 24px 0; }
.life-album h3 { margin: 16px 0 6px; font-size: 15px; }
.la-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .la-kopf h2 { margin: 0; }
.la-tabelle { display: grid; gap: 4px; }
.la-zeile { display: grid; grid-template-columns: minmax(0, 1fr) repeat(5, 30px); gap: 6px; align-items: center; font-size: 14px; }
.la-zeile i { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: #0b1220; cursor: pointer; }
.la-zeile i.fehlt { background: var(--flaeche-2); border: 1px dashed var(--rand-stark); color: var(--text-3); }
.la-kopfzeile i { background: none; cursor: default; font-size: 14px; }
@media (max-width: 420px) { .la-zeile { grid-template-columns: minmax(0, 1fr) repeat(5, 24px); gap: 4px; } .la-zeile i { width: 24px; } }

/* ---------- 0.5.5: Flygo-Life – Kurier, Aufträge, Wochenziele, Wettbewerbe ---------- */
.life-wett { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; border-color: var(--gold);
  background: radial-gradient(120% 140% at 100% 0%, rgba(212,175,97,.18), transparent 60%), var(--flaeche-1); }
.life-wett h2 { margin: 2px 0 6px; } @media (max-width: 640px) { .life-wett { grid-template-columns: minmax(0, 1fr); } }
.life-auftraege .life-ziele li { flex-wrap: wrap; } .life-auftraege .life-ziele li > span { min-width: 160px; }
.life-wz { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rand); } .life-wz:last-of-type { border-bottom: 0; }
.life-wz-kopf { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; } .life-wz small { color: var(--text-3); }
.life-wz.fertig { opacity: .6; } .life-wz .knopf { justify-self: start; }
.life-kurier { font-family: Georgia, "Times New Roman", serif; background: linear-gradient(var(--flaeche-1), var(--flaeche-1)) padding-box; }
.lk-kopf { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; border-bottom: 3px double var(--rand-stark); padding-bottom: 8px; margin-bottom: 10px; }
.lk-kopf span { font: 900 24px/1.1 "Cinzel", Georgia, serif; letter-spacing: .04em; } .lk-kopf small { color: var(--text-3); font-family: var(--schrift); }
.lk-schlagzeile { font-size: 26px; line-height: 1.15; margin: 0 0 6px; } .lk-lead { font-size: 16px; margin: 0 0 12px; color: var(--text-2); }
.lk-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 18px; border-top: 1px solid var(--rand); padding-top: 10px; }
.lk-spalten h3 { font-size: 15px; margin: 0 0 4px; } .lk-spalten p { font-size: 14px; margin: 0; color: var(--text-2); }

/* ---------- 0.5.6: Flygo-Life – Skills, Stadtprojekt, Markt, Verlauf, Rückblick; Admin-Werkzeuge ---------- */
.life-skill { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rand); }
.life-skill:last-child { border-bottom: 0; } .life-skill > span:first-child { flex: 1; display: grid; } .life-skill small { color: var(--text-3); font-size: 12px; }
.life-sterne { color: var(--gold); letter-spacing: 1px; white-space: nowrap; } .life-sterne i { color: var(--text-3); font-style: normal; }
.life-frei { color: var(--gut); } .life-skill .knopf:disabled, .life-markt .knopf:disabled { opacity: .4; cursor: default; }
.life-projekte { display: flex; gap: 8px; margin-bottom: 8px; } .life-projekte span { font-size: 22px; padding: 4px 8px; border-radius: 10px; background: var(--flaeche-2); opacity: .5; }
.life-projekte .aktuell { opacity: 1; outline: 2px solid var(--gold); } .life-projekte .fertig { opacity: 1; }
.life-projekt h3 { margin: 6px 0 2px; font-size: 16px; }
.life-mini { margin-left: 6px; padding: 2px 6px; border-radius: 8px; border: 1px solid var(--rand); background: var(--flaeche-1); cursor: pointer; font-size: 13px; }
.life-markt .life-ziele li b { white-space: nowrap; }
.life-verlauf { width: 100%; height: auto; background: var(--flaeche-2); border-radius: 10px; }
.life-legende { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--text-2); margin: 6px 0 0; }
.life-legende i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.life-wrapped { margin-top: 18px; padding: 16px; border-radius: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(212,175,97,.18), transparent 60%), var(--flaeche-2); text-align: left; }
.life-wrapped h3 { margin: 2px 0 8px; } .life-wrapped-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.life-wrapped-raster > div { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: var(--flaeche-1); }
.life-wrapped-raster span { font-size: 20px; } .life-wrapped-raster b { font-size: 16px; } .life-wrapped-raster small { font-size: 12px; color: var(--text-3); }
.admin-mini { width: 100%; min-width: 80px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--rand-stark); background: var(--flaeche-1); color: var(--text); font: inherit; }

/* ---------- 0.5.7: Dialoge (dialog.js) ---------- */
.fd-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 8, 14, .66); opacity: 0; transition: opacity .15s; overflow-y: auto; }
.fd-overlay.da { opacity: 1; }
.fd-box { width: min(440px, 100%); display: grid; gap: 12px; padding: 22px; margin: auto; border-color: var(--rand-stark); transform: translateY(6px); transition: transform .15s; }
.fd-overlay.da .fd-box { transform: none; }
.fd-box.gefahr { border-color: color-mix(in srgb, var(--schlecht) 55%, var(--rand)); }
.fd-titel { font-size: 19px; }
.fd-text { color: var(--text-2); font-size: 15px; line-height: 1.5; } .fd-text p { margin: 0 0 8px; } .fd-text p:last-child { margin-bottom: 0; }
.fd-text b { color: var(--text); }
.fd-feld { display: grid; gap: 5px; } .fd-feld label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.fd-feld input, .fd-feld select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: inherit; font-size: 16px; }
.fd-feld input:focus, .fd-feld select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.fd-feld [aria-invalid] { border-color: var(--schlecht); }
.fd-fehler { margin: -4px 0 0; color: var(--schlecht); font-size: 13px; font-weight: 600; }
.fd-knoepfe { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.knopf.gefahr { background: var(--schlecht); border-color: transparent; color: #fff; }
.knopf.gefahr:hover { filter: brightness(1.08); color: #fff; }
.fd-box .knopf:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 520px) {
  .fd-overlay { place-items: end center; padding: 0; }
  .fd-box { width: 100%; border-radius: 18px 18px 0 0; margin: auto 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  .fd-knoepfe { flex-direction: column-reverse; } .fd-knoepfe .knopf { width: 100%; padding: 13px 18px; }
}

/* ---------- 0.5.7: Flygo-Life – Jobbörse, Inventar, Kurse, Handel, Ausrüstung ---------- */
.life-toast.neutral { border-color: var(--rand-stark); }
.life-toast { z-index: 95; }
.life-plus { color: var(--gut); font-weight: 600; }
.life-aktion.arbeitslos { opacity: .75; border-style: dashed; } .life-aktion.arbeitslos .la-status { color: var(--text-2); }
.life-jobs h2 small, .life-inventar h2 small, .life-kurse h2 small, .life-ausruestung h2 small { font-weight: 500; }
.life-sperre { margin: 10px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--schlecht) 50%, transparent); background: color-mix(in srgb, var(--schlecht) 9%, var(--flaeche-1)); font-size: 14px; }
.life-arbeitslos { margin: 10px 0; }
.life-job-aktuell { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--teal); background: color-mix(in srgb, var(--teal) 7%, var(--flaeche-2)); }
.life-job-aktuell > div { flex: 1; display: grid; gap: 1px; min-width: 0; } .life-job-aktuell small { font-size: 12px; color: var(--text-3); }
.lj-emoji { font-size: 28px; line-height: 1; }
.life-leise-gefahr { color: var(--schlecht); } .life-leise-gefahr:hover { border-color: var(--schlecht); color: var(--schlecht); }
.life-jobliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.life-jobliste > li { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 12px; border: 1px solid var(--rand); background: var(--flaeche-2); }
.life-jobliste > li.ist { border-color: var(--teal); } .life-jobliste > li.fehlt .lj-kopf { opacity: .75; }
.lj-kopf { display: flex; gap: 10px; align-items: center; } .lj-kopf > div { display: grid; min-width: 0; } .lj-kopf small { font-size: 12px; color: var(--text-3); }
.lj-anf { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--text-2); }
.lj-anf li { display: flex; gap: 6px; } .lj-anf i { font-style: normal; font-weight: 700; width: 14px; flex: none; }
.lj-anf .ok i { color: var(--gut); } .lj-anf .nein i { color: var(--schlecht); } .lj-anf .nein { color: var(--text-3); }
.lj-fuss { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.lj-fuss .knopf:disabled, .life-inventar .knopf:disabled { opacity: .45; cursor: default; transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.life-ausruestung .life-effekte { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.life-effekt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--flaeche-2)); font-size: 13px; }
.life-effekt small { color: var(--text-2); }
.life-gegenstaende { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.life-gegenstaende li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); }
.life-gegenstaende li > div { flex: 1; display: grid; min-width: 0; } .life-gegenstaende li > div small { font-size: 12px; color: var(--text-3); }
.lg-emoji { font-size: 22px; }
.life-ding.gesperrt { opacity: .7; } .life-ding em.life-grund { font-style: normal; font-size: 11px; color: var(--schlecht); line-height: 1.3; }

.life-handel { margin: 10px 0 16px; padding: 12px; border-radius: 14px; border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 6%, var(--flaeche-1)); }
.life-handel h3 { margin: 0 0 8px; font-size: 15px; }
.life-handel li { flex-wrap: wrap; } .life-handel li > span:first-child { min-width: 180px; font-size: 14px; } .life-handel i { font-style: normal; font-size: 12px; }
.life-handel .knoepfe { gap: 6px; flex: 0 0 auto; } .life-handel li > .knopf { flex: none; }
.life-inv-leiste { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin: 12px 0 8px; }
.life-filterreihe { display: flex; flex-wrap: wrap; gap: 6px; }
.life-filter { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text-2); font: 600 14px/1.2 var(--schrift); cursor: pointer; }
.life-filter small { font-weight: 500; color: var(--text-3); margin-left: 2px; }
.life-filter.an { border-color: var(--gold); color: var(--text); background: color-mix(in srgb, var(--gold) 14%, var(--flaeche-2)); }
.life-inv-wahl { display: flex; gap: 6px; flex-wrap: wrap; }
.life-inv-wahl select { padding: 7px 10px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: inherit; font-size: 14px; max-width: 220px; }
.life-inv-sammel { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .life-inv-sammel:empty { display: none; }
.life-inv-sammel small { font-weight: 500; opacity: .8; } .life-inv-sammel .knopf, .lj-fuss .knopf, .life-handel .knopf { white-space: normal; text-align: center; flex-wrap: wrap; row-gap: 0; }
.life-inv { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.life-item { display: grid; gap: 5px; padding: 9px 11px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); border-left: 3px solid var(--selten); }
.life-item.im-markt { opacity: .7; } .life-item > * { min-width: 0; }
.life-stufe { min-width: 0; } .life-stufe b { overflow-wrap: anywhere; hyphens: auto; }
.li-kopf { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .li-kopf b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .li-kopf i { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; }
.li-info { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; } .li-info small { font-size: 12px; color: var(--text-3); }
.li-wert { display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; } .li-wert b small { font-size: 11px; color: var(--text-3); font-weight: 500; }
.li-knoepfe { display: flex; gap: 5px; } .li-knoepfe .knopf.klein { padding: 5px 4px; font-size: 12.5px; border-radius: 8px; flex: 1 1 0; min-width: 0; gap: 4px; }
.life-markt-tag { font-size: 12px; font-weight: 600; color: var(--teal); padding: 3px 0; }
.life-inv-mehr, .life-inv-leer { grid-column: 1 / -1; text-align: center; list-style: none; }
.life-trend { font-size: 12px; font-weight: 700; color: var(--text-3); white-space: nowrap; }
.life-trend.hoch { color: var(--gut); } .life-trend.runter { color: var(--schlecht); }
.life-haelt { color: var(--teal); } .life-frisch { color: var(--text-3); }

.life-kurse h3 { font-size: 14px; margin: 14px 0 6px; } .life-kurse h3 small { font-size: 11px; font-weight: 600; margin-left: 4px; }
.life-kursliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.life-kursliste li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 52px 74px; gap: 8px; align-items: center; padding: 5px 10px; border-radius: 10px; background: var(--flaeche-2); font-size: 14px; }
.lk-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-index { text-align: right; font-variant-numeric: tabular-nums; } .lk-index.hoch { color: var(--gut); } .lk-index.runter { color: var(--schlecht); }
.life-kursliste .life-trend { text-align: right; }
.life-spark { display: block; overflow: visible; } .life-spark polyline { fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.life-spark.hoch polyline { stroke: var(--gut); } .life-spark.runter polyline { stroke: var(--schlecht); }
.life-spark .null { stroke: var(--rand-stark); stroke-dasharray: 2 3; }
@media (max-width: 420px) { .life-kursliste li { grid-template-columns: minmax(0, 1fr) 64px 44px; } .life-kursliste .life-trend { display: none; } .life-spark { width: 64px; } }

.life-kauf-neu { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); margin-bottom: 10px; }
.life-kauf-neu > span { font-size: 30px; } .life-kauf-neu > div { display: grid; } .life-kauf-neu small { font-size: 13px; color: var(--text-2); }
.life-rechnung { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin: 0 0 8px; font-size: 14px; }
.life-rechnung dt { color: var(--text-2); } .life-rechnung dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); white-space: nowrap; }
.life-rechnung dt.voll { grid-column: 1 / -1; font-size: 13px; color: var(--teal); }
.life-rechnung .summe { padding-top: 6px; border-top: 1px solid var(--rand); font-weight: 700; color: var(--text); font-size: 16px; }
.life-rechnung dd.summe { color: var(--gold-hell); } .life-rechnung dd.plus { color: var(--gut); }
.life-rechnung dd small { font-weight: 500; color: var(--text-3); }
@media (max-width: 520px) {
  .life-job-aktuell { flex-wrap: wrap; } .life-job-aktuell > div { flex: 1 1 calc(100% - 50px); } .life-job-aktuell .knopf { margin-left: 40px; }
  .life-stufe b { font-size: 14px; }
}

/* ---------- 0.5.8: Flygo-Life – Gegengebote, Umfrage-Knöpfe, Abzeichen ---------- */
.life-abz { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 700;
  background: rgba(212,175,97,.16); border: 1px solid rgba(212,175,97,.5); color: var(--gold-hell); vertical-align: middle; }
.life-markt-liste .life-markt-zeile { display: block; }
.lmz-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.lmz-kopf > span:first-child { flex: 1 1 180px; min-width: 0; }
.lmz-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
.life-markt-zeile.hat-gebote { box-shadow: inset 3px 0 0 var(--gold); }
.life-gebote { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.life-gebote li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 7px 10px; border-radius: 9px; background: var(--flaeche-1); border: 1px dashed var(--rand-stark); font-size: 14px; }
.life-gebote li > span { flex: 1 1 160px; }
.life-mein-gebot { margin: 8px 0 0; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.life-markt-tipp { margin: 10px 0 0; }
.life-bank-hinweis { margin: 8px 0 0; font-size: 12px; }
.life-umf-spalte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; min-width: 0; }
.life-umfrage .life-zwei > * { min-width: 0; }
.life-umf-spalte > b small { font-weight: 500; color: var(--text-3); font-size: 12px; margin-left: 4px; }
.life-umf-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.life-umf-knopf { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(50px, 32%) 28px; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--rand); background: var(--flaeche-2); color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.life-umf-knopf:hover:not(:disabled) { border-color: var(--gold); }
.life-umf-knopf.meine { border-color: var(--gold); background: rgba(212,175,97,.14); cursor: default; }
.lu-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lu-balken { height: 6px; border-radius: 999px; background: var(--flaeche-3, rgba(127,127,127,.18)); overflow: hidden; }
.lu-balken i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hell)); }
.life-umf-knopf b { text-align: right; }
.life-umf-tipp { margin: 0; }
.life-umf-neu { display: flex; gap: 6px; } .life-umf-neu input { flex: 1; min-width: 0; }
.life-umf-fest { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(47,207,115,.10); border: 1px solid rgba(47,207,115,.4); }
.abz-web span.s4 { border-color: #a855f7; background: rgba(168,85,247,.12); }

/* ---------- 0.5.9: Flygo-Life – Vermögen, Ausrüstung verkaufen, Schutz, Börse, Verlauf ---------- */
.life-geld > button.life-v { display: grid; padding: 12px 16px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); min-width: 150px;
  font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.life-geld > button.life-v:hover { border-color: var(--teal); } .life-geld > button.life-v:active { transform: scale(.99); }
.life-v-info { font-style: normal; opacity: .7; margin-left: 2px; }
.life-v-leiste { display: flex; height: 6px; border-radius: 999px; overflow: hidden; margin: 6px 0 4px; background: var(--flaeche-3, rgba(127,127,127,.2)); }
.life-v-leiste i { display: block; height: 100%; }
.life-v-rechnung dt { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; }
.life-v-rechnung dt small { grid-column: 2; font-size: 12px; color: var(--text-3); }
.life-v-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 3px; grid-row: span 2; align-self: start; margin-top: 5px; }
.lg-knoepfe { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.life-schutz { display: grid; gap: 4px; padding: 10px 12px; margin: 0 0 12px; border-radius: 10px; background: var(--flaeche-2); border: 1px solid var(--rand); font-size: 14px; }
.life-schutz span { color: var(--text-2); font-size: 13px; } .life-schutz small { color: var(--text-3); font-size: 12px; }
.life-kursliste li { grid-template-columns: minmax(0, 1fr) 96px 84px 64px; }
.lk-name small { display: block; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-preis { display: grid; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2; }
.lk-preis b.hoch { color: var(--gut); } .lk-preis b.runter { color: var(--schlecht); } .lk-preis small { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
@media (max-width: 420px) { .life-kursliste li { grid-template-columns: minmax(0, 1fr) 56px 78px; } .life-spark { width: 56px; } }
.life-verlauf-titel { font-size: 14px; margin: 16px 0 6px; }
.life-verlauf .lv-gitter { stroke: var(--rand); stroke-width: 1; stroke-dasharray: 3 4; }
.life-verlauf text { font: 600 10px/1 var(--schrift); fill: var(--text-3); } .life-verlauf .lv-y { text-anchor: end; dominant-baseline: middle; }
ul.life-legende { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 12px; }
ul.life-legende li { display: flex; align-items: center; gap: 4px; min-width: 0; } ul.life-legende li b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text); }
ul.life-legende li.ich { font-weight: 700; color: var(--text); } ul.life-legende i { width: 12px; height: 4px; }
.life-geld > button.life-v small { font-size: 11px; color: var(--text-3); }

/* ---------- 0.5.10: Flygo-Life – Reiter, Profil, Stadtrat, Werkzeug-Sperre, Abzeichen, Börse ---------- */
.life-reiter { position: sticky; top: 62px; z-index: 35; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 16px; padding: 8px 2px;
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rand); }
.life-reiter::-webkit-scrollbar { display: none; }
.life-reiter button { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rand);
  background: var(--flaeche-2); color: var(--text-2); font: 600 14px/1 var(--schrift); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.life-reiter button:hover { border-color: var(--rand-stark); color: var(--text); }
.life-reiter button[aria-selected="true"] { background: linear-gradient(180deg, rgba(212,175,97,.24), rgba(212,175,97,.08)); border-color: var(--gold); color: var(--text); }
.life-reiter-zahl { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1b1407; font: 800 11px/18px var(--schrift); text-align: center; }
@media (max-width: 520px) { .life-reiter { top: 56px; margin-left: -4px; margin-right: -4px; } .life-reiter button { padding: 8px 11px; font-size: 13px; } .life-reiter button b { font-weight: 600; } }
.life-tab { display: grid; gap: 16px; } .life-tab[hidden] { display: none; }
.life-tab > .life-zwei { margin: 0; }
/* Tätigkeit ohne Werkzeug */
.life-aktion.gesperrt { cursor: default; opacity: .92; border-style: dashed; }
.life-aktion.gesperrt .la-emoji { filter: grayscale(.7); opacity: .7; }
.life-aktion.gesperrt .knopf { justify-self: start; margin-top: 4px; white-space: normal; max-width: 100%; text-align: left; }
.life-raster > * { min-width: 0; }
/* Shop nach Bereichen */
.life-shop-titel { font-size: 15px; margin: 18px 0 8px; } .life-shop-titel:first-of-type { margin-top: 6px; } .life-shop-titel small { font-weight: 500; color: var(--text-3); font-size: 12px; }
.life-ding s { color: var(--text-3); font-size: 11px; font-weight: 500; margin-left: 2px; }
.life-ding em.life-anr, .life-ding em.life-stufe { font-style: normal; font-size: 11px; color: var(--teal); } .life-ding em.life-stufe { color: var(--text-3); }
/* Stadtrat */
.life-rat-aktiv { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; margin-bottom: 12px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(79,227,214,.16), transparent 60%), var(--flaeche-2); border: 1px solid var(--teal); }
.life-rat-aktiv > span { font-size: 28px; } .life-rat-aktiv div { display: grid; } .life-rat-aktiv small { color: var(--text-2); }
.life-rat-liste { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.life-rat-knopf { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(70px, 22%); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--rand); background: var(--flaeche-2); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s; }
.life-rat-knopf:hover:not(:disabled) { border-color: var(--gold); } .life-rat-knopf.meine { border-color: var(--gold); background: rgba(212,175,97,.14); cursor: default; }
.lr-emoji { font-size: 24px; } .lr-text { display: grid; min-width: 0; } .lr-text small { color: var(--text-3); font-size: 12px; }
.lr-stimmen { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; } .lr-stimmen i { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-hell)); min-width: 2px; }
.life-rat-wahl { display: grid; gap: 6px; margin: 10px 0; } .life-rat-wahl .lr-stimmen { grid-template-columns: auto; }
.life-rat-fenster .lt-box { width: min(520px, 100%); text-align: left; }
.life-idee { display: grid; gap: 6px; margin-top: 8px; font-size: 14px; } .life-idee label small { color: var(--text-3); font-size: 12px; }
.life-idee div { display: flex; gap: 6px; } .life-idee input { flex: 1; min-width: 0; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: inherit; }
/* Profil */
.life-profil { display: grid; gap: 12px; } .life-profil h3 { margin: 8px 0 0; font-size: 15px; } .life-profil h3 small { font-weight: 500; color: var(--text-3); font-size: 12px; }
.life-profil.rahmen-gold { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(212,175,97,.25); }
.life-profil.rahmen-lila { border-color: #a855f7; box-shadow: 0 0 0 1px #a855f7, 0 0 24px rgba(168,85,247,.22); }
.life-profil.rahmen-silber { border-color: #9aa7b8; box-shadow: 0 0 0 1px #9aa7b8; }
.lp-kopf { display: flex; gap: 14px; align-items: center; } .lp-kopf h2 { margin: 0; } .lp-kopf p { margin: 2px 0 0; }
.lp-bild { flex: 0 0 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 28px/1 var(--schrift-titel); color: #1b1407;
  background: radial-gradient(circle at 35% 30%, #fff2c8, #d9ac4f 55%, #7f5c19); }
.rahmen-lila .lp-bild { background: radial-gradient(circle at 35% 30%, #f1e2ff, #a855f7 55%, #4c1d95); color: #fff; }
.lp-zahlen, .lp-lebenszeit { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.lp-zahlen > div, .lp-lebenszeit > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--flaeche-2); }
.lp-zahlen b, .lp-lebenszeit b { font: 700 17px/1.2 var(--schrift-titel); } .lp-zahlen span, .lp-lebenszeit span { font-size: 12px; color: var(--text-3); }
.lp-lebenszeit .plus b { color: var(--gut); } .lp-lebenszeit .minus b { color: var(--schlecht); } .lp-lebenszeit span small { font-size: 11px; }
.lp-abzeichen { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-abz { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--rand-stark); font-size: 14px; }
.lp-abz i { font-style: normal; font-size: 18px; } .lp-abz small { color: var(--text-3); font-size: 11px; } .lp-abz.pokal { border-color: var(--gold); }
.lp-skills { display: flex; flex-wrap: wrap; gap: 6px; } .lp-skills span { padding: 4px 10px; border-radius: 999px; background: var(--flaeche-2); font-size: 13px; }
.lp-rekorde { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lp-rekorde li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); font-size: 14px; }
.lp-rekorde small { color: var(--text-3); font-weight: 500; font-size: 12px; }
/* Abzeichen in Rangliste und Markt */
.life-abzk { font-style: normal; font-size: 13px; margin-left: 1px; cursor: help; } .life-abzk sub { font-size: 9px; color: var(--text-3); }
.life-rang li.rahmen-gold { box-shadow: inset 3px 0 0 var(--gold); } .life-rang li.rahmen-lila { box-shadow: inset 3px 0 0 #a855f7; } .life-rang li.rahmen-silber { box-shadow: inset 3px 0 0 #9aa7b8; }
.life-rang li.ich { outline: 1px solid var(--teal); }
/* Börse: Breite hängt vom Kasten ab, nicht vom Bildschirm (repariert die zu schmale Namensspalte) */
.life-kurse { container-type: inline-size; }
.life-spark-platz { display: block; width: 96px; height: 26px; }
.life-kurse .life-kursliste li { grid-template-columns: minmax(0, 1fr) 96px 92px 64px; }
@container (max-width: 560px) {
  .life-kurse .life-kursliste li { grid-template-columns: minmax(0, 1fr) 60px 86px; }
  .life-kurse .life-kursliste .life-trend { display: none; }
  .life-kurse .life-spark, .life-kurse .life-spark-platz { width: 60px; }
}
@container (max-width: 330px) {
  .life-kurse .life-kursliste li { grid-template-columns: minmax(0, 1fr) 86px; }
  .life-kurse .life-spark, .life-kurse .life-spark-platz { display: none; }
}

/* ===================== 0.5.11 Ruhm & Unterwelt ===================== */
.life-serie{font-style:normal;font-size:.8em;color:#ff8a3d;margin-left:.3em;white-space:nowrap}
.life-kopfgeld{color:var(--gold-hell,#f2dca4)}
.life-deko-kurz{letter-spacing:.05em}
.life-geld small{display:block}
.life-tot .life-tab button:not([data-reiter]):not([data-uw="ruhm"]):not(.ls-abbrechen),.life-tot .life-tab input,.life-tot .life-tab select{opacity:.45;pointer-events:none}
.uw-friedhof{display:flex;gap:16px;align-items:flex-start;border-color:#64748b;background:linear-gradient(135deg,rgba(100,116,139,.18),transparent)}
.uw-friedhof h2{margin:0 0 6px}
.uw-grab{font-size:52px;line-height:1}
.uw-knast-knoepfe{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.uw-risiko{display:inline-block;font-size:.8em;font-weight:700;color:#ff6b6b;background:rgba(239,91,91,.12);border:1px solid rgba(239,91,91,.35);border-radius:999px;padding:1px 8px;white-space:nowrap}
.uw-kopf{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.uw-kopf>div:first-child{flex:1 1 280px;min-width:0}
.uw-schwarz{display:flex;flex-direction:column;align-items:flex-end;padding:10px 14px;border-radius:12px;background:rgba(100,116,139,.18)}
.uw-schwarz b{font-size:1.4em}
.uw-alarm{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-color:var(--schlecht,#ef5b5b);background:rgba(239,91,91,.1)}
.uw-alarm-text{color:#ff8a8a}
.uw-hinweis{border-left:3px solid var(--gold,#d4af61);padding:8px 12px}
.uw-balken{display:block;height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin:6px 0}
.uw-balken i{display:block;height:100%;background:linear-gradient(90deg,var(--gold,#d4af61),var(--gold-hell,#f2dca4))}
.uw-gang-raster{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px}
.uw-gang{border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.uw-gang p{margin:0}
.uw-gang .knopf{align-self:flex-start;margin-top:auto}
.uw-gang-kopf{display:flex;gap:10px;align-items:center}
.uw-gang-kopf small{display:block;color:var(--text-2,#9aa7b8)}
.uw-gang-emoji{font-size:30px}
.uw-bonus{color:var(--gold-hell,#f2dca4);font-size:.92em}
.uw-zwei-spalten{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.uw-zwei-spalten h3{margin:.4em 0 .2em}
.uw-gefahr{margin-top:12px;border-top:1px solid rgba(255,255,255,.08);padding-top:8px}
.uw-gefahr summary{cursor:pointer;font-weight:700}
.uw-gefahr-raster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin-top:10px}
.uw-gefahr-raster>div{display:flex;flex-direction:column;gap:6px;align-items:flex-start;border:1px solid rgba(239,91,91,.25);border-radius:10px;padding:10px;min-width:0}
.uw-gefahr-raster small{color:var(--text-2,#9aa7b8)}
.uw-waren,.uw-liste,.uw-auktionen{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.uw-waren li,.uw-liste li,.uw-auktionen li{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:8px;min-width:0}
.uw-waren li>span,.uw-liste li>span,.uw-auktionen li>div{min-width:0;flex:1 1 180px}
.uw-waren .knopf,.uw-liste .knopf,.uw-auktionen .knopf{white-space:normal;max-width:100%}
.ls-marken{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.9em}
.uw-waren small,.uw-liste small,.uw-auktionen small{display:block;color:var(--text-2,#9aa7b8)}
.uw-auktionen li.meins{border-left:3px solid var(--gut,#2fcf73);padding-left:8px}
.uw-sm.zu{opacity:.85}
.uw-erfolg-raster{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px}
.uw-erfolg{display:flex;gap:10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px;min-width:0}
.uw-erfolg>span{font-size:26px}
.uw-erfolg>div{min-width:0;flex:1}
.uw-erfolg small{display:block;color:var(--text-2,#9aa7b8)}
.uw-erfolg.geschafft{border-color:var(--gold,#d4af61);background:rgba(212,175,97,.08)}
.uw-gut{color:var(--gut,#2fcf73)!important}
.uw-regal{display:flex;flex-wrap:wrap;gap:10px}
.uw-regal figure{margin:0;display:flex;flex-direction:column;align-items:center;width:92px;padding:8px;border-radius:12px;background:rgba(255,255,255,.04);text-align:center}
.uw-regal figure span{font-size:34px}
.uw-regal figure.unikat{box-shadow:0 0 0 1px var(--gold,#d4af61),0 0 14px rgba(212,175,97,.35)}
.uw-regal figcaption{font-size:.75em;color:var(--text-2,#9aa7b8)}
.uw-umschalter{display:inline-flex;border:1px solid rgba(255,255,255,.12);border-radius:999px;overflow:hidden;margin-bottom:10px}
.uw-umschalter button{background:none;border:0;color:inherit;padding:6px 14px;cursor:pointer;font:inherit}
.uw-umschalter button.an{background:var(--gold,#d4af61);color:#111}
.uw-hall-raster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}
.uw-hall ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.uw-hall li{display:flex;gap:10px;align-items:center;min-width:0}
.uw-hall li>span{font-size:22px}
.uw-hall li>div{min-width:0}
.uw-hall li small{display:block;color:var(--text-2,#9aa7b8)}
.uw-tode{margin:0;padding-left:18px}
.uw-flucht .uw-buehne{height:min(58vh,420px)}
.uw-flucht canvas{width:100%;height:100%;touch-action:none;display:block;border-radius:10px}
.uw-flucht-knoepfe{display:flex;justify-content:space-between}
.uw-flucht-knoepfe .knopf{flex:1;font-size:22px}
.uw-flucht-info{font-weight:700}
.ls-serie{font-size:.75em;color:#ff8a3d;white-space:nowrap}
.ls-glanz-hinweis{display:inline-block;font-size:.7em;color:#f2c96e;white-space:nowrap}
.ls-box.ls-selten{animation:ls-selten 2.4s ease-in-out infinite;box-shadow:0 0 0 1px rgba(242,201,110,.6),0 0 26px rgba(242,201,110,.35)}
@keyframes ls-selten{50%{box-shadow:0 0 0 2px rgba(242,201,110,.95),0 0 40px rgba(242,201,110,.55)}}
@media (prefers-reduced-motion:reduce){.ls-box.ls-selten{animation:none}}

/* ===================== 0.5.12 Lebendige Stadt ===================== */
.sl-banner{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.sl-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-size:.9em}
.sl-chip.finale{border-color:var(--gold,#d4af61);color:var(--gold-hell,#f2dca4);font-weight:700}
.sl-chip.saison{border-color:#f59e0b}
.sl-chip.effekt{border-color:#3b82f6}
.sl-revier{font-style:normal;font-size:.85em;margin-left:.25em}
.sl-gut{color:var(--gut,#2fcf73)!important}
.sl-schlecht{color:var(--schlecht,#ef5b5b)!important}
.sl-revier-liste{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.sl-revier-liste li{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:10px}
.sl-revier-liste li>b{flex:0 0 130px}
.sl-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 260px;min-width:0}
.sl-rv{border:1px solid rgba(255,255,255,.14);background:none;color:inherit;border-radius:999px;padding:4px 10px;font:inherit;font-size:.88em;cursor:pointer}
.sl-rv.an{background:var(--gold,#d4af61);color:#111;border-color:transparent}
.sl-rv:disabled{opacity:.5;cursor:not-allowed}
.sl-elite-raster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.sl-elite-raster article{border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.sl-elite-raster article.aktuell{border-color:var(--gold,#d4af61)}
.sl-elite-raster small{display:block;color:var(--text-2,#9aa7b8)}
.sl-elite-raster ul{list-style:none;margin:0;padding:0;font-size:.88em}
.sl-elite-raster li.ja{color:var(--gut,#2fcf73)}
.sl-elite-raster li.nein{color:var(--text-2,#9aa7b8)}
.sl-elite-raster .knopf{align-self:flex-start;margin-top:auto}
.sl-schicksal{border-left:3px solid #a855f7}
.sl-top{margin:6px 0 0;padding-left:20px}
.sl-top li{display:flex;justify-content:space-between;gap:10px}
.sl-firmen{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.sl-firmen li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:8px}
.sl-firma{flex:1 1 170px;min-width:0}
.sl-firma small,.sl-kurs small{display:block;color:var(--text-2,#9aa7b8)}
.sl-kurs{min-width:70px;text-align:right}
.sl-linie{width:90px;height:26px;flex:0 0 auto}
.sl-aktie-knoepfe{display:flex;gap:6px}
.sl-tresor-buehne{height:min(52vh,380px)}
.sl-tresor canvas{width:100%;height:100%;touch-action:none;display:block;border-radius:10px}
.sl-tresor-info{font-weight:700;font-size:.9em}
.ls-pruefung{font-size:.75em;color:#c4b5fd;white-space:nowrap}

/* ===================== 0.5.13 Schalter / Wartung ===================== */
.life-wartung{display:flex;flex-direction:column;gap:4px;border-color:#f59e0b;background:rgba(245,158,11,.08);margin-bottom:12px}
.life-wartung.klein{flex-direction:row;flex-wrap:wrap;align-items:center;padding:10px 14px;font-size:.92em}
.life-wartung-kachel small{color:#f59e0b}

/* ===================== 0.5.14 Übersichtlicher: Unterreiter, Abschnitte, Übersicht ===================== */
.life-unter { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.life-unter::-webkit-scrollbar { display: none; }
.life-unter button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 0; border-radius: 10px; background: none;
  color: var(--text-2); font: 600 13.5px/1 var(--schrift); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.life-unter button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.life-unter button[aria-selected="true"] { background: var(--flaeche-1); color: var(--text); box-shadow: 0 1px 0 var(--rand), inset 0 -2px 0 var(--gold); }
.life-unter button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.life-unter-panel { display: grid; gap: 18px; }
.life-unter-panel[hidden] { display: none; }
.life-unter-panel > .life-zwei { margin: 0; }
/* jeder Abschnitt klar abgesetzt: Überschrift mit Linie */
.life-tab .karte > h2:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: -4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rand); font-size: 1.15rem; }
.life-tab .karte > h2:first-child small { font-weight: 500; font-size: .8rem; color: var(--text-2); }
.life-tab .karte > h3 { margin: 18px 0 8px; font-size: .95rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
/* Übersicht */
.life-bereit { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.life-bereit-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--rand-stark, var(--rand)); background: var(--flaeche-2);
  color: var(--text); font: 600 14px/1 var(--schrift); cursor: pointer; }
.life-bereit-knopf:hover { border-color: var(--gold); }
.life-bereit-knopf.gold { background: linear-gradient(180deg, rgba(212,175,97,.28), rgba(212,175,97,.1)); border-color: var(--gold); }
.life-bald { margin: 0 0 12px; }
.life-wartet { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.life-wartet button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rand); background: var(--flaeche-2);
  color: var(--text); font: 500 14px/1.3 var(--schrift); text-align: left; cursor: pointer; }
.life-wartet button:hover { border-color: var(--gold); }
.life-wartet button i { margin-left: auto; font-style: normal; color: var(--text-2); }
.life-kurzfeed { margin: 0 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.uw-kopf-klein { padding: 14px 18px; }
.uw-kopf-klein > div { display: flex; flex-direction: column; gap: 4px; }
.sl-reviere .knopf:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .life-unter button { padding: 8px 10px; font-size: 13px; } .life-tab .karte > h2:first-child { font-size: 1.05rem; } }
/* Kopf auf dem Handy kompakt: Geld in einer Zeile */
@media (max-width: 520px) {
  .life-kopf { padding: 14px 16px; gap: 10px; }
  .life-kopf .seiten-h1 { font-size: 1.55rem; margin: 2px 0; }
  .life-kopf .ueberzeile { font-size: 10px; }
  .life-sub { font-size: .85rem; }
  .life-geld { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 6px; width: 100%; flex-wrap: nowrap; }
  .life-geld > div, .life-geld > button.life-v { min-width: 0; padding: 8px 10px; border-radius: 12px; }
  .life-geld span { font-size: 11px; }
  .life-geld b { font-size: 16px; overflow-wrap: anywhere; }
  .life-geld b small, .life-geld div small, .life-geld > button.life-v small, .life-v-leiste { display: none; }
}

/* ===================== 0.5.15 Mehr Spaß ===================== */
.lsp-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; border: 1px solid var(--gold); position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(212,175,97,.22), rgba(212,175,97,.06) 55%, rgba(79,227,214,.08)); margin-bottom: 12px; }
.lsp-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: lsp-glanz 4s ease-in-out infinite; pointer-events: none; }
@keyframes lsp-glanz { 60%, 100% { transform: translateX(100%); } }
.lsp-pokal { font-size: 46px; animation: lsp-wippen 2.4s ease-in-out infinite; }
@keyframes lsp-wippen { 50% { transform: rotate(-8deg) scale(1.08); } }
.lsp-banner-text { flex: 1 1 260px; min-width: 0; display: grid; gap: 4px; }
.lsp-banner-text h2 { margin: 0; font-size: 1.25rem; }
.lsp-banner-text p { margin: 0; }
.lsp-live { font: 800 11px/1 var(--schrift); letter-spacing: .08em; color: #ef5b5b; display: flex; align-items: center; gap: 6px; }
.lsp-live i { width: 8px; height: 8px; border-radius: 50%; background: #ef5b5b; animation: lsp-puls 1.2s infinite; }
@keyframes lsp-puls { 50% { opacity: .25; } }
.lsp-banner-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lsp-trend { font-style: normal; font-size: .75em; }
.lsp-trend.hoch { color: var(--gut, #2fcf73); } .lsp-trend.runter { color: var(--schlecht, #ef5b5b); } .lsp-trend.neu { color: var(--gold, #d4af61); font-weight: 700; }
.lsp-pokalzahl { display: inline-block; padding: 1px 8px; border-radius: 999px; background: rgba(212,175,97,.18); border: 1px solid var(--gold); font-size: .8em; font-weight: 700; white-space: nowrap; }
.lsp-konfetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 120; }
.lsp-regen { position: fixed; inset: 0; pointer-events: none; z-index: 119; overflow: hidden; }
.lsp-regen span { position: absolute; top: -40px; animation: lsp-fallen 1.8s ease-in forwards; }
@keyframes lsp-fallen { to { transform: translateY(110vh) rotate(540deg); } }
.lsp-blitz { position: fixed; left: 50%; top: 32%; transform: translate(-50%, -50%); z-index: 121; pointer-events: none; font: 900 clamp(32px, 8vw, 72px)/1 var(--schrift-titel, var(--schrift));
  color: #f2c96e; text-shadow: 0 0 24px rgba(242,201,110,.8), 0 4px 0 rgba(0,0,0,.35); animation: lsp-blitz 2.4s ease-out forwards; white-space: nowrap; }
@keyframes lsp-blitz { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1); } }
.lsp-hinweis { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 118; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 14px;
  background: var(--flaeche-1); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: opacity .5s, transform .5s; text-align: center; }
.lsp-hinweis.leise { border-color: var(--rand); }
.lsp-hinweis.weg { opacity: 0; transform: translate(-50%, -12px); }
.lsp-blase { position: fixed; left: 16px; bottom: 86px; z-index: 117; max-width: min(88vw, 360px); display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border-radius: 16px 16px 16px 4px; background: var(--flaeche-1); border: 1px solid var(--rand); box-shadow: 0 10px 28px rgba(0,0,0,.3); transition: opacity .5s; animation: lsp-rein .35s ease-out; }
.lsp-blase.weg { opacity: 0; }
.lsp-blase p { margin: 2px 0 0; font-size: .92rem; }
.lsp-npc { font-size: 28px; line-height: 1; }
@keyframes lsp-rein { from { opacity: 0; transform: translateY(12px); } }
.lsp-ehrung-box { width: min(560px, 100%); text-align: center; }
.lsp-ehrung-box h2 { margin: 2px 0 6px; }
.lsp-mein { font-size: 1.05rem; color: var(--gold-hell, #f2dca4); }
.lsp-podest { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; margin: 14px 0; }
.lsp-stufe { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.lsp-stufe b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsp-stufe small { font-size: .72rem; color: var(--text-2); }
.lsp-medaille { font-size: 34px; animation: lsp-wippen 2s ease-in-out infinite; }
.lsp-block { width: 100%; border-radius: 10px 10px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(180deg, rgba(212,175,97,.35), rgba(212,175,97,.12)); border: 1px solid var(--gold); font-weight: 800; }
.lsp-block span { font-size: 1.6rem; }
.p1 .lsp-block { height: 110px; } .p2 .lsp-block { height: 80px; filter: grayscale(.6); } .p3 .lsp-block { height: 60px; filter: sepia(.6); }
.lsp-stufe.ich b { color: var(--gold-hell, #f2dca4); }
.lsp-regal { display: flex; flex-wrap: wrap; gap: 10px; }
.lsp-regal figure { margin: 0; width: 120px; padding: 12px 8px; border-radius: 14px; text-align: center; background: var(--flaeche-2); border: 1px solid var(--rand); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lsp-regal figure span { font-size: 38px; }
.lsp-regal figure.gold { border-color: var(--gold); box-shadow: 0 0 16px rgba(212,175,97,.25); }
.lsp-regal figcaption { font-size: .78rem; font-weight: 600; }
.lsp-regal figcaption small { display: block; font-weight: 400; color: var(--text-2); }
.lsp-ton { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { .lsp-banner::after, .lsp-pokal, .lsp-medaille, .lsp-live i { animation: none; } }
@media (max-width: 520px) { .lsp-pokal { font-size: 34px; } .lsp-banner { gap: 10px; } .lsp-regal figure { width: calc(50% - 5px); } .lsp-blase { bottom: 76px; } }

/* 0.5.16: Profile der anderen, Ruhmeshalle als Kacheln */
.life-name { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 3px; }
.life-name:hover, .life-name:focus-visible { color: var(--gold-hell, #f2dca4); text-decoration-color: currentColor; }
.fd-box:has(.lpk) { width: min(520px, 100%); max-height: 88vh; overflow: auto; }
.lpk { display: grid; gap: 10px; }
.lpk h3 { margin: 6px 0 0; font-size: 15px; } .lpk h3 small { color: var(--text-3); font-weight: 400; }
.lpk-kopf { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.lpk-kopf > b { margin-right: 4px; }
.lpk-deko { font-size: 20px; }
.lpk-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lpk-raster > div { background: var(--flaeche-2); border-radius: 10px; padding: 8px 10px; display: grid; }
.lpk-raster small { color: var(--text-3); font-size: 12px; } .lpk-raster b { font-size: 17px; }
.lpk-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lpk-liste li { display: flex; gap: 8px; align-items: baseline; } .lpk-liste li > span { width: 22px; text-align: center; flex: none; }
.lpk-liste small { color: var(--text-3); }
.lpk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lpk-chips .lp-abz { font-size: 13px; padding: 4px 10px; }
.lpk-fuss { margin: 4px 0 0; font-size: 12px; }
.lpk.rahmen-gold { border-left: 3px solid var(--gold); padding-left: 10px; } .lpk.rahmen-lila { border-left: 3px solid #a855f7; padding-left: 10px; } .lpk.rahmen-silber { border-left: 3px solid #9aa7b8; padding-left: 10px; }

.uw-ruhm .uw-teile { display: inline-flex; margin: 0 0 14px; max-width: 100%; }
.uw-ruhm .uw-teile button small { opacity: .7; }
.uw-ehren { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.uw-ehre { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 12px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand, rgba(255,255,255,.08)); min-width: 0; }
.uw-ehre-emo { font-size: 30px; line-height: 1; }
.uw-ehre h3 { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.uw-ehre .life-name { font-size: 18px; overflow-wrap: anywhere; }
.uw-ehre-wert { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text-2); max-width: 100%; overflow-wrap: anywhere; }
.uw-ehre.ich { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,175,97,.16), var(--flaeche-2)); }
.uw-ehre.ich .uw-ehre-wert { background: rgba(212,175,97,.2); color: var(--gold-hell, #f2dca4); }
.uw-friedhof { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rand, rgba(255,255,255,.08)); }
.uw-friedhof h3 { margin: 0 0 6px; font-size: 15px; }
@media (max-width: 600px) { .uw-ehren { grid-template-columns: 1fr 1fr; } .uw-ehre { padding: 10px 8px; } .uw-ehre .life-name { font-size: 15px; } .uw-ruhm .uw-teile { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 14px; } .uw-ruhm .uw-teile button { padding: 8px 4px; font-size: 13px; line-height: 1.25; } .uw-ruhm .uw-teile button span { display: block; font-size: 18px; } }

/* 0.5.17: Aktien-Graphen */
.sl-linie { width: 120px; height: 36px; flex: 0 0 auto; overflow: visible; cursor: help; }
.sl-linie-start { stroke: var(--text-3, #7c8899); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; vector-effect: non-scaling-stroke; }
.sl-24h { font-style: normal; font-size: 10px; opacity: .7; }
.sl-graph-info { margin: 0 0 8px; font-size: 12px; }
.sl-firmen .sl-kurs { min-width: 96px; }

/* ===== Flygo Design 2.0 – Hybrid: Gold-Basis + Skin je Produkt =====
   Wird ans Ende von site.css gehängt. Nur Variablen + wenige gezielte Regeln. */
@font-face{font-family:"Unbounded";font-weight:500;font-display:swap;src:url(/assets/fonts/unbounded-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Unbounded";font-weight:700;font-display:swap;src:url(/assets/fonts/unbounded-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Unbounded";font-weight:800;font-display:swap;src:url(/assets/fonts/unbounded-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-weight:400;font-display:swap;src:url(/assets/fonts/figtree-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-weight:500;font-display:swap;src:url(/assets/fonts/figtree-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-weight:600;font-display:swap;src:url(/assets/fonts/figtree-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-weight:700;font-display:swap;src:url(/assets/fonts/figtree-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Cinzel";font-weight:600;font-display:swap;src:url(/assets/fonts/cinzel-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cinzel";font-weight:700 900;font-display:swap;src:url(/assets/fonts/cinzel-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Press Start 2P";font-weight:400;font-display:swap;src:url(/assets/fonts/press-start-2p-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:500;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2")}

/* ---------- Basis dunkel ---------- */
:root{
  --bg:#0B0B0F; --bg-2:#101016; --flaeche-1:#14141B; --flaeche-2:#1B1B24; --flaeche-3:#252530;
  --rand:rgba(242,185,59,.13); --rand-stark:rgba(242,185,59,.26);
  --text:#FBF5E6; --text-2:#CFC6B2; --text-3:#8F8878;
  --gold:#F2B93B; --gold-hell:#FFE9A8; --gold-dunkel:#A8741A;
  --teal:#F2B93B; --teal-dunkel:#C98A12;
  --gut:#3DDC97; --warn:#FF9F1C; --schlecht:#FF5C5C;
  --glow-1:rgba(255,159,28,.14); --glow-2:rgba(242,185,59,.08);
  --nav-bg:rgba(11,11,15,.82); --code-bg:rgba(242,185,59,.10); --code-text:#FFE9A8;
  --schrift:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --schrift-titel:"Unbounded","Figtree",system-ui,sans-serif;
  --schrift-lol:"Cinzel",Georgia,serif;
  --schrift-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --auf-akzent:#14100A;      /* Textfarbe auf Gold-/Akzentflächen */
  --knopf:linear-gradient(180deg,#FFE9A8,#F2B93B 55%,#D79A22);
}
/* ---------- Basis hell ---------- */
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){
  --bg:#F8F3E6; --bg-2:#F2ECDC; --flaeche-1:#FFFFFF; --flaeche-2:#FFFCF4; --flaeche-3:#F4EEDD;
  --rand:rgba(90,60,10,.12); --rand-stark:rgba(90,60,10,.24);
  --text:#1B1409; --text-2:#54482F; --text-3:#85785C;
  --gold:#B07A10; --gold-hell:#7A5206; --gold-dunkel:#5E3F05; --teal:#9A6608; --teal-dunkel:#6E4803;
  --gut:#13874B; --warn:#B8650A; --schlecht:#C23030;
  --glow-1:rgba(242,185,59,.16); --glow-2:rgba(255,159,28,.08);
  --nav-bg:rgba(248,243,230,.86); --code-bg:rgba(176,122,16,.10); --code-text:#6E4803;
  --knopf:linear-gradient(180deg,#F7C95A,#E0A12A); --auf-akzent:#1B1409;
}}
:root[data-theme="light"]{
  --bg:#F8F3E6; --bg-2:#F2ECDC; --flaeche-1:#FFFFFF; --flaeche-2:#FFFCF4; --flaeche-3:#F4EEDD;
  --rand:rgba(90,60,10,.12); --rand-stark:rgba(90,60,10,.24);
  --text:#1B1409; --text-2:#54482F; --text-3:#85785C;
  --gold:#B07A10; --gold-hell:#7A5206; --gold-dunkel:#5E3F05; --teal:#9A6608; --teal-dunkel:#6E4803;
  --gut:#13874B; --warn:#B8650A; --schlecht:#C23030;
  --glow-1:rgba(242,185,59,.16); --glow-2:rgba(255,159,28,.08);
  --nav-bg:rgba(248,243,230,.86); --code-bg:rgba(176,122,16,.10); --code-text:#6E4803;
  --knopf:linear-gradient(180deg,#F7C95A,#E0A12A); --auf-akzent:#1B1409;
}

/* ---------- gemeinsame Feinheiten ---------- */
h1,h2,.seiten-h1{letter-spacing:-.035em}
.marke{font-family:var(--schrift-titel);font-weight:800;letter-spacing:-.04em}
.marke svg{width:34px;height:34px}
.knopf.gold,:root[data-theme="light"] .knopf.gold{background:var(--knopf);color:var(--auf-akzent);border-color:transparent}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) .knopf.gold{background:var(--knopf);color:var(--auf-akzent)}}


code,kbd{font-family:var(--schrift-mono)}

/* ===== Skin: LoL-Assistent (Hextech) ===== */
body[data-seite="lol"],body[data-seite="lol-app"]{
  --bg:#04122B; --bg-2:#071A38; --flaeche-1:#0A2140; --flaeche-2:#0E2A4D; --flaeche-3:#133562;
  --rand:rgba(79,227,214,.15); --rand-stark:rgba(79,227,214,.30);
  --text:#E4F4F3; --text-2:#A6C2CC; --text-3:#6F8EA0;
  --teal:#4FE3D6; --teal-dunkel:#2BB8C4; --code-bg:rgba(79,227,214,.10); --code-text:#9FF3EA;
  --glow-1:rgba(79,227,214,.10); --glow-2:rgba(242,185,59,.06);
  --nav-bg:rgba(4,18,43,.84); --auf-akzent:#04202A;
  --knopf:linear-gradient(180deg,#46D9CF,#2BB8C4);
  --gold:#C9A961; --gold-hell:#E8D49A;
}
body[data-seite="lol"] .lol-titel,body[data-seite="lol-app"] h1{font-family:var(--schrift-lol);letter-spacing:.03em}
@media (prefers-color-scheme: light){body[data-seite="lol"],body[data-seite="lol-app"]{}
:root:not([data-theme="dark"]) body[data-seite="lol"],:root:not([data-theme="dark"]) body[data-seite="lol-app"]{
  --bg:#EAF4F6; --bg-2:#E0EEF1; --flaeche-1:#FFFFFF; --flaeche-2:#F6FBFC; --flaeche-3:#E3F0F3;
  --rand:rgba(8,70,80,.14); --rand-stark:rgba(8,70,80,.26);
  --text:#0B2230; --text-2:#3E5A68; --text-3:#6C8795;
  --teal:#0A7F88; --teal-dunkel:#075F67; --code-bg:rgba(10,127,136,.10); --code-text:#075F67;
  --nav-bg:rgba(234,244,246,.86); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#14A3AC,#0A7F88);
  --gold:#8A6A2C; --gold-hell:#6B4F16;}}
:root[data-theme="light"] body[data-seite="lol"],:root[data-theme="light"] body[data-seite="lol-app"]{
  --bg:#EAF4F6; --bg-2:#E0EEF1; --flaeche-1:#FFFFFF; --flaeche-2:#F6FBFC; --flaeche-3:#E3F0F3;
  --rand:rgba(8,70,80,.14); --rand-stark:rgba(8,70,80,.26);
  --text:#0B2230; --text-2:#3E5A68; --text-3:#6C8795;
  --teal:#0A7F88; --teal-dunkel:#075F67; --code-bg:rgba(10,127,136,.10); --code-text:#075F67;
  --nav-bg:rgba(234,244,246,.86); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#14A3AC,#0A7F88);
  --gold:#8A6A2C; --gold-hell:#6B4F16;}

/* ===== Skin: Minispiele (Arcade) ===== */
body[data-seite="spiele"],body[data-seite="spiel"]{
  --bg:#0A0612; --bg-2:#0F0919; --flaeche-1:#150D24; --flaeche-2:#1C1230; --flaeche-3:#26183F;
  --rand:rgba(39,232,255,.18); --rand-stark:rgba(255,62,165,.40);
  --text:#F6F0FF; --text-2:#C7B8E6; --text-3:#8A78AE;
  --gold:#FFE14D; --gold-hell:#FFF08A; --gold-dunkel:#C9A400;
  --teal:#27E8FF; --teal-dunkel:#14B6CC; --code-bg:rgba(39,232,255,.10); --code-text:#9AF3FF;
  --glow-1:rgba(255,62,165,.16); --glow-2:rgba(39,232,255,.10);
  --nav-bg:rgba(10,6,18,.86); --auf-akzent:#14080F;
  --knopf:linear-gradient(180deg,#FF6BBB,#FF3EA5);
}
body[data-seite="spiele"] .seiten-h1,body[data-seite="spiel"] h1{font-family:"Press Start 2P",var(--schrift-titel);font-size:clamp(18px,3.2vw,28px);line-height:1.5;letter-spacing:0;color:var(--gold)}
:root[data-theme="light"] body[data-seite="spiele"],:root[data-theme="light"] body[data-seite="spiel"]{
  --bg:#F7F2FF; --bg-2:#EFE7FB; --flaeche-1:#FFFFFF; --flaeche-2:#FBF8FF; --flaeche-3:#EEE6FA;
  --rand:rgba(70,30,130,.14); --rand-stark:rgba(214,30,130,.35);
  --text:#1E1233; --text-2:#52407A; --text-3:#85739F;
  --gold:#A87F00; --gold-hell:#6E5300; --teal:#007F95; --teal-dunkel:#005C6C; --code-bg:rgba(0,127,149,.10); --code-text:#005C6C;
  --nav-bg:rgba(247,242,255,.88); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#E8359A,#C71F7F);}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body[data-seite="spiele"],:root:not([data-theme="dark"]) body[data-seite="spiel"]{
  --bg:#F7F2FF; --bg-2:#EFE7FB; --flaeche-1:#FFFFFF; --flaeche-2:#FBF8FF; --flaeche-3:#EEE6FA;
  --rand:rgba(70,30,130,.14); --rand-stark:rgba(214,30,130,.35);
  --text:#1E1233; --text-2:#52407A; --text-3:#85739F;
  --gold:#A87F00; --gold-hell:#6E5300; --teal:#007F95; --teal-dunkel:#005C6C; --code-bg:rgba(0,127,149,.10); --code-text:#005C6C;
  --nav-bg:rgba(247,242,255,.88); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#E8359A,#C71F7F);}}

/* ===== Skin: Flygo-Life (Dämmerung) ===== */
body[data-seite="life"]{
  --bg:#0A120F; --bg-2:#0E1914; --flaeche-1:#12201A; --flaeche-2:#192A22; --flaeche-3:#22372D;
  --rand:rgba(61,220,151,.16); --rand-stark:rgba(255,200,87,.30);
  --text:#EEF7EF; --text-2:#B7CDBF; --text-3:#7C9A89;
  --gold:#FFC857; --gold-hell:#FFE0A0; --gold-dunkel:#B98A25;
  --teal:#3DDC97; --teal-dunkel:#1FA971; --code-bg:rgba(61,220,151,.10); --code-text:#9BF0C7;
  --glow-1:rgba(255,122,69,.13); --glow-2:rgba(61,220,151,.09);
  --nav-bg:rgba(10,18,15,.86); --auf-akzent:#08140E;
  --knopf:linear-gradient(180deg,#FFD97A,#FFC857 55%,#E0A52E);
}
:root[data-theme="light"] body[data-seite="life"]{
  --bg:#F3F6EE; --bg-2:#EAF0E3; --flaeche-1:#FFFFFF; --flaeche-2:#FAFCF6; --flaeche-3:#EDF3E6;
  --rand:rgba(20,70,45,.13); --rand-stark:rgba(20,70,45,.26);
  --text:#0F1F17; --text-2:#3F5A4A; --text-3:#6F877A;
  --gold:#A87513; --gold-hell:#6E4B05; --teal:#0F8A57; --teal-dunkel:#0A6540; --code-bg:rgba(15,138,87,.10); --code-text:#0A6540;
  --nav-bg:rgba(243,246,238,.88); --auf-akzent:#0F1F17; --knopf:linear-gradient(180deg,#F5C75A,#E0A52E);}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body[data-seite="life"]{
  --bg:#F3F6EE; --bg-2:#EAF0E3; --flaeche-1:#FFFFFF; --flaeche-2:#FAFCF6; --flaeche-3:#EDF3E6;
  --rand:rgba(20,70,45,.13); --rand-stark:rgba(20,70,45,.26);
  --text:#0F1F17; --text-2:#3F5A4A; --text-3:#6F877A;
  --gold:#A87513; --gold-hell:#6E4B05; --teal:#0F8A57; --teal-dunkel:#0A6540; --code-bg:rgba(15,138,87,.10); --code-text:#0A6540;
  --nav-bg:rgba(243,246,238,.88); --auf-akzent:#0F1F17; --knopf:linear-gradient(180deg,#F5C75A,#E0A52E);}}

/* ===== Skin: Zocken (Lagerfeuer-Abend) ===== */
body[data-seite="zocken"]{
  --bg:#150C08; --bg-2:#1B100A; --flaeche-1:#241610; --flaeche-2:#2E1D15; --flaeche-3:#3A261B;
  --rand:rgba(255,208,138,.18); --rand-stark:rgba(255,122,69,.40);
  --text:#F7EBDD; --text-2:#D9C7B2; --text-3:#9A8470;
  --gold:#FFD08A; --gold-hell:#FFE6BD; --gold-dunkel:#C98A5A;
  --teal:#FF7A45; --teal-dunkel:#D9582A; --code-bg:rgba(255,122,69,.12); --code-text:#FFC9A8;
  --glow-1:rgba(255,122,69,.20); --glow-2:rgba(255,208,138,.08);
  --nav-bg:rgba(21,12,8,.86); --auf-akzent:#1A0C06;
  --knopf:linear-gradient(180deg,#FF935F,#FF7A45);
}
:root[data-theme="light"] body[data-seite="zocken"]{
  --bg:#FBF1E4; --bg-2:#F6E7D4; --flaeche-1:#FFFFFF; --flaeche-2:#FFF9F1; --flaeche-3:#F8EAD8;
  --rand:rgba(110,60,20,.14); --rand-stark:rgba(200,80,30,.32);
  --text:#2A170B; --text-2:#6A4B35; --text-3:#9A7A62;
  --gold:#A8641A; --gold-hell:#7A4408; --teal:#C4501F; --teal-dunkel:#923A14; --code-bg:rgba(196,80,31,.10); --code-text:#923A14;
  --nav-bg:rgba(251,241,228,.88); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#E8692F,#C4501F);}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body[data-seite="zocken"]{
  --bg:#FBF1E4; --bg-2:#F6E7D4; --flaeche-1:#FFFFFF; --flaeche-2:#FFF9F1; --flaeche-3:#F8EAD8;
  --rand:rgba(110,60,20,.14); --rand-stark:rgba(200,80,30,.32);
  --text:#2A170B; --text-2:#6A4B35; --text-3:#9A7A62;
  --gold:#A8641A; --gold-hell:#7A4408; --teal:#C4501F; --teal-dunkel:#923A14; --code-bg:rgba(196,80,31,.10); --code-text:#923A14;
  --nav-bg:rgba(251,241,228,.88); --auf-akzent:#FFFFFF; --knopf:linear-gradient(180deg,#E8692F,#C4501F);}}

/* ===== Hintergründe je Skin (animiert, nur transform/opacity – schonend für Akku) ===== */
body::after{content:"";position:fixed;z-index:-1;pointer-events:none;opacity:var(--deko-op,.5);will-change:transform}
body::before{animation:flAtmen 9s ease-in-out infinite alternate}
@keyframes flAtmen{from{opacity:.75}to{opacity:1}}
@keyframes flDrehen{to{transform:rotate(360deg)}}
/* Basis: Siegel-Wasserzeichen dreht sich langsam */
body:not([data-seite="lol"]):not([data-seite="lol-app"]):not([data-seite="spiele"]):not([data-seite="spiel"]):not([data-seite="life"]):not([data-seite="zocken"])::after{right:-220px;top:-160px;width:760px;height:760px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 600 600%22%3E%3Ccircle cx=%22300%22 cy=%22300%22 r=%22280%22 fill=%22none%22 stroke=%22%23F2B93B%22 stroke-width=%2222%22 stroke-dasharray=%2220 53%22/%3E%3Ccircle cx=%22300%22 cy=%22300%22 r=%22236%22 fill=%22none%22 stroke=%22%23F2B93B%22 stroke-width=%226%22/%3E%3Ccircle cx=%22300%22 cy=%22300%22 r=%22150%22 fill=%22none%22 stroke=%22%23F2B93B%22 stroke-width=%222%22 stroke-dasharray=%222 12%22/%3E%3C/svg%3E") center/contain no-repeat;opacity:var(--deko-op,.07);animation:flDrehen 240s linear infinite}
/* LoL: Wabengitter driftet, Kanten schimmern */
@keyframes flHex{to{transform:translate(84px,145.6px)}}
body[data-seite="lol"]::after,body[data-seite="lol-app"]::after{inset:-146px 0 0 -84px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2284%22 height=%22145.6%22 viewBox=%220 0 84 145.6%22%3E%3Cstyle%3E.h%7Banimation:g 6s ease-in-out infinite%7D%40keyframes g%7B0%25,100%25%7Bopacity:.55%7D50%25%7Bopacity:1%7D%7D%3C/style%3E%3Cg class=%22h%22 fill=%22none%22 stroke=%22%234FE3D6%22 stroke-width=%221.2%22%3E%3Cpath d=%22M42 0 84 24.2v48.5L42 97 0 72.7V24.2Z%22 transform=%22translate(0 -24.2)%22/%3E%3Cpath d=%22M42 72.8 84 97v48.6%22/%3E%3Cpath d=%22M42 72.8 0 97v48.6%22/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 145.6px repeat;opacity:var(--deko-op,.16);animation:flHex 40s linear infinite;
  -webkit-mask-image:radial-gradient(900px 600px at 85% 20%,#000,transparent 70%);mask-image:radial-gradient(900px 600px at 85% 20%,#000,transparent 70%)}
/* Minispiele: Sterne fallen langsam und funkeln */
@keyframes flSterne{to{transform:translateY(400px)}}
body[data-seite="spiele"]::after,body[data-seite="spiel"]::after{inset:-400px 0 0 0;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22400%22 height=%22400%22%3E%3Cstyle%3E.s%7Banimation:t 4s ease-in-out infinite%7D%40keyframes t%7B0%25,100%25%7Bopacity:.9%7D50%25%7Bopacity:.12%7D%7D%3C/style%3E%3Crect class=%22s%22 style=%22animation-delay:-2.4s;animation-duration:2.7s%22 x=%22274%22 y=%2248%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.5s;animation-duration:3.3s%22 x=%2244%22 y=%22222%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.4s;animation-duration:4.4s%22 x=%2230%22 y=%22289%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.8s;animation-duration:4.5s%22 x=%2231%22 y=%22295%22 width=%223%22 height=%223%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.9s;animation-duration:2.7s%22 x=%2268%22 y=%22148%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.2s;animation-duration:4.5s%22 x=%22286%22 y=%22349%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.5s;animation-duration:4.7s%22 x=%22190%22 y=%2249%22 width=%223%22 height=%223%22 fill=%22%2327E8FF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.7s;animation-duration:4.2s%22 x=%22272%22 y=%22218%22 width=%223%22 height=%223%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.5s;animation-duration:4.1s%22 x=%22153%22 y=%22127%22 width=%226%22 height=%226%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-0.5s;animation-duration:3.6s%22 x=%22253%22 y=%22175%22 width=%223%22 height=%223%22 fill=%22%2327E8FF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.7s;animation-duration:2.8s%22 x=%22262%22 y=%22214%22 width=%224%22 height=%224%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-0.9s;animation-duration:4.2s%22 x=%2220%22 y=%22342%22 width=%224%22 height=%224%22 fill=%22%2327E8FF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-2.0s;animation-duration:3.7s%22 x=%22254%22 y=%22296%22 width=%224%22 height=%224%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.0s;animation-duration:5.8s%22 x=%22242%22 y=%22356%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-4.4s;animation-duration:3.6s%22 x=%22295%22 y=%22348%22 width=%223%22 height=%223%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-4.3s;animation-duration:5.6s%22 x=%22177%22 y=%2211%22 width=%224%22 height=%224%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.0s;animation-duration:2.9s%22 x=%2230%22 y=%22111%22 width=%224%22 height=%224%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-4.4s;animation-duration:3.9s%22 x=%22254%22 y=%2241%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-2.4s;animation-duration:3.5s%22 x=%2270%22 y=%22220%22 width=%226%22 height=%226%22 fill=%22%2327E8FF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.9s;animation-duration:4.9s%22 x=%22194%22 y=%22118%22 width=%226%22 height=%226%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.1s;animation-duration:3.3s%22 x=%22119%22 y=%226%22 width=%223%22 height=%223%22 fill=%22%2327E8FF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.6s;animation-duration:2.5s%22 x=%22214%22 y=%22273%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.7s;animation-duration:4.9s%22 x=%22263%22 y=%22316%22 width=%224%22 height=%224%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.4s;animation-duration:5.2s%22 x=%22348%22 y=%22286%22 width=%226%22 height=%226%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-2.4s;animation-duration:2.9s%22 x=%22324%22 y=%22205%22 width=%226%22 height=%226%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-0.4s;animation-duration:3.2s%22 x=%2283%22 y=%2256%22 width=%223%22 height=%223%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-0.6s;animation-duration:4.5s%22 x=%22274%22 y=%2251%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-0.4s;animation-duration:3.2s%22 x=%22192%22 y=%2276%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.6s;animation-duration:4.2s%22 x=%2259%22 y=%22249%22 width=%224%22 height=%224%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-2.9s;animation-duration:2.8s%22 x=%2252%22 y=%22175%22 width=%226%22 height=%226%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.0s;animation-duration:3.1s%22 x=%2211%22 y=%22105%22 width=%226%22 height=%226%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-4.1s;animation-duration:5.7s%22 x=%22270%22 y=%22152%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.1s;animation-duration:5.7s%22 x=%22182%22 y=%22114%22 width=%224%22 height=%224%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-3.7s;animation-duration:5.3s%22 x=%2299%22 y=%22122%22 width=%223%22 height=%223%22 fill=%22%23FFE14D%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.2s;animation-duration:4.2s%22 x=%22374%22 y=%2214%22 width=%223%22 height=%223%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-2.8s;animation-duration:3.2s%22 x=%22309%22 y=%22176%22 width=%224%22 height=%224%22 fill=%22%23FF3EA5%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-5.7s;animation-duration:3.8s%22 x=%22112%22 y=%2252%22 width=%224%22 height=%224%22 fill=%22%23FFFFFF%22/%3E%3Crect class=%22s%22 style=%22animation-delay:-1.2s;animation-duration:3.2s%22 x=%22319%22 y=%22312%22 width=%226%22 height=%226%22 fill=%22%2327E8FF%22/%3E%3C/svg%3E") 0 0/400px 400px repeat;opacity:var(--deko-op,.55);animation:flSterne 90s linear infinite;
  -webkit-mask-image:linear-gradient(transparent,#000 12%,transparent 85%);mask-image:linear-gradient(transparent,#000 12%,transparent 85%)}
body[data-seite="spiel"]::before{background:radial-gradient(900px 500px at 85% -8%,var(--glow-1),transparent 60%),radial-gradient(700px 420px at 0% 100%,var(--glow-2),transparent 60%)}
/* Life: Skyline, Fenster blinken */
body[data-seite="life"]::after{left:0;right:0;bottom:0;height:min(34vh,300px);background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1600 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cstyle%3E.w%7Bfill:%23FFC857;animation:b 7s ease-in-out infinite%7D%40keyframes b%7B0%25,100%25%7Bopacity:.95%7D45%25%7Bopacity:.15%7D60%25%7Bopacity:.8%7D%7D%3C/style%3E%3Cg fill=%22%231F4A38%22%3E%3Crect x=%220%22 y=%22202%22 width=%2281%22 height=%2298%22/%3E%3Crect x=%2283%22 y=%2292%22 width=%2253%22 height=%22208%22/%3E%3Crect x=%22142%22 y=%22221%22 width=%2245%22 height=%2279%22/%3E%3Crect x=%22194%22 y=%22217%22 width=%2248%22 height=%2283%22/%3E%3Crect x=%22246%22 y=%22152%22 width=%2289%22 height=%22148%22/%3E%3Crect x=%22341%22 y=%22138%22 width=%2290%22 height=%22162%22/%3E%3Crect x=%22433%22 y=%22183%22 width=%2285%22 height=%22117%22/%3E%3Crect x=%22523%22 y=%2271%22 width=%2250%22 height=%22229%22/%3E%3Crect x=%22578%22 y=%22101%22 width=%2273%22 height=%22199%22/%3E%3Crect x=%22654%22 y=%22174%22 width=%22106%22 height=%22126%22/%3E%3Crect x=%22764%22 y=%22224%22 width=%22105%22 height=%2276%22/%3E%3Crect x=%22873%22 y=%2285%22 width=%2250%22 height=%22215%22/%3E%3Crect x=%22929%22 y=%22162%22 width=%22104%22 height=%22138%22/%3E%3Crect x=%221039%22 y=%22114%22 width=%2281%22 height=%22186%22/%3E%3Crect x=%221123%22 y=%2287%22 width=%2249%22 height=%22213%22/%3E%3Crect x=%221177%22 y=%2286%22 width=%2256%22 height=%22214%22/%3E%3Crect x=%221241%22 y=%22188%22 width=%22110%22 height=%22112%22/%3E%3Crect x=%221357%22 y=%22154%22 width=%2274%22 height=%22146%22/%3E%3Crect x=%221432%22 y=%22219%22 width=%2298%22 height=%2281%22/%3E%3Crect x=%221533%22 y=%22106%22 width=%22100%22 height=%22194%22/%3E%3C/g%3E%3Crect class=%22w%22 style=%22animation-delay:-7.4s;animation-duration:5.6s%22 x=%2226%22 y=%22216%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.8s;animation-duration:7.5s%22 x=%228%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.0s;animation-duration:5.4s%22 x=%2226%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.3s;animation-duration:5.3s%22 x=%2244%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.0s;animation-duration:5.8s%22 x=%2262%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.9s;animation-duration:9.3s%22 x=%22109%22 y=%22106%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.6s;animation-duration:9.7s%22 x=%2291%22 y=%22216%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.7s;animation-duration:8.0s%22 x=%22109%22 y=%22216%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.6s;animation-duration:6.0s%22 x=%22109%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.3s;animation-duration:8.9s%22 x=%22220%22 y=%22253%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.2s;animation-duration:6.0s%22 x=%22254%22 y=%22166%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.5s;animation-duration:9.6s%22 x=%22272%22 y=%22166%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.2s;animation-duration:7.3s%22 x=%22290%22 y=%22166%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.0s;animation-duration:8.3s%22 x=%22254%22 y=%22188%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.7s;animation-duration:7.2s%22 x=%22254%22 y=%22210%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.6s;animation-duration:6.4s%22 x=%22308%22 y=%22210%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.4s;animation-duration:8.5s%22 x=%22254%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.0s;animation-duration:7.5s%22 x=%22272%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.1s;animation-duration:9.7s%22 x=%22272%22 y=%22276%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.9s;animation-duration:7.6s%22 x=%22403%22 y=%22152%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.4s;animation-duration:5.6s%22 x=%22349%22 y=%22174%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.9s;animation-duration:7.3s%22 x=%22367%22 y=%22196%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.4s;animation-duration:10.9s%22 x=%22385%22 y=%22218%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.7s;animation-duration:9.4s%22 x=%22367%22 y=%22240%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.6s;animation-duration:7.2s%22 x=%22367%22 y=%22262%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.8s;animation-duration:5.5s%22 x=%22367%22 y=%22284%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.3s;animation-duration:10.9s%22 x=%22495%22 y=%22197%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.7s;animation-duration:7.1s%22 x=%22441%22 y=%22241%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.3s;animation-duration:6.7s%22 x=%22459%22 y=%22241%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.2s;animation-duration:10.7s%22 x=%22477%22 y=%22241%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.0s;animation-duration:6.2s%22 x=%22441%22 y=%22285%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.6s;animation-duration:10.4s%22 x=%22459%22 y=%22285%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.5s;animation-duration:9.3s%22 x=%22531%22 y=%2285%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.0s;animation-duration:7.6s%22 x=%22549%22 y=%2285%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.5s;animation-duration:9.3s%22 x=%22549%22 y=%22107%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.4s;animation-duration:11.0s%22 x=%22531%22 y=%22151%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.3s;animation-duration:7.8s%22 x=%22549%22 y=%22151%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.9s;animation-duration:5.1s%22 x=%22549%22 y=%22217%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.7s;animation-duration:5.8s%22 x=%22531%22 y=%22261%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.9s;animation-duration:5.2s%22 x=%22531%22 y=%22283%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.5s;animation-duration:9.6s%22 x=%22549%22 y=%22283%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.2s;animation-duration:7.1s%22 x=%22604%22 y=%22115%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.0s;animation-duration:6.1s%22 x=%22622%22 y=%22159%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.2s;animation-duration:6.0s%22 x=%22640%22 y=%22159%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.0s;animation-duration:6.5s%22 x=%22640%22 y=%22203%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.0s;animation-duration:8.0s%22 x=%22586%22 y=%22225%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.0s;animation-duration:7.5s%22 x=%22698%22 y=%22188%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.7s;animation-duration:5.7s%22 x=%22698%22 y=%22210%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.2s;animation-duration:7.8s%22 x=%22698%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.0s;animation-duration:6.0s%22 x=%22734%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.4s;animation-duration:11.0s%22 x=%22680%22 y=%22254%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.3s;animation-duration:7.0s%22 x=%22662%22 y=%22276%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.3s;animation-duration:6.4s%22 x=%22772%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.4s;animation-duration:10.4s%22 x=%22808%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.8s;animation-duration:9.9s%22 x=%22826%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.2s;animation-duration:6.1s%22 x=%22808%22 y=%22282%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.2s;animation-duration:5.5s%22 x=%22844%22 y=%22282%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.8s;animation-duration:7.7s%22 x=%22899%22 y=%2299%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.2s;animation-duration:8.2s%22 x=%22899%22 y=%22143%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.0s;animation-duration:6.0s%22 x=%22881%22 y=%22165%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.8s;animation-duration:6.9s%22 x=%22899%22 y=%22165%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.5s;animation-duration:6.1s%22 x=%22881%22 y=%22209%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.3s;animation-duration:5.1s%22 x=%22881%22 y=%22231%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.3s;animation-duration:10.6s%22 x=%22899%22 y=%22253%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.4s;animation-duration:7.6s%22 x=%22881%22 y=%22275%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.2s;animation-duration:5.4s%22 x=%22991%22 y=%22198%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.5s;animation-duration:5.5s%22 x=%22937%22 y=%22220%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.2s;animation-duration:6.8s%22 x=%221009%22 y=%22220%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.0s;animation-duration:6.6s%22 x=%22955%22 y=%22242%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.7s;animation-duration:6.9s%22 x=%22937%22 y=%22264%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.4s;animation-duration:7.8s%22 x=%22973%22 y=%22264%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.5s;animation-duration:5.0s%22 x=%221009%22 y=%22264%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.8s;animation-duration:7.4s%22 x=%22937%22 y=%22286%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.2s;animation-duration:6.8s%22 x=%22955%22 y=%22286%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.3s;animation-duration:8.2s%22 x=%22973%22 y=%22286%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.5s;animation-duration:8.9s%22 x=%221047%22 y=%22128%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.5s;animation-duration:10.4s%22 x=%221065%22 y=%22128%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.7s;animation-duration:8.0s%22 x=%221065%22 y=%22150%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.3s;animation-duration:5.8s%22 x=%221065%22 y=%22194%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.5s;animation-duration:8.4s%22 x=%221101%22 y=%22194%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.2s;animation-duration:9.5s%22 x=%221047%22 y=%22238%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.6s;animation-duration:6.5s%22 x=%221047%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.4s;animation-duration:9.4s%22 x=%221065%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.7s;animation-duration:10.9s%22 x=%221083%22 y=%22260%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.3s;animation-duration:9.5s%22 x=%221131%22 y=%22101%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.5s;animation-duration:6.6s%22 x=%221149%22 y=%22123%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.6s;animation-duration:7.8s%22 x=%221149%22 y=%22167%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.0s;animation-duration:6.2s%22 x=%221149%22 y=%22189%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.1s;animation-duration:9.9s%22 x=%221131%22 y=%22233%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.9s;animation-duration:10.7s%22 x=%221149%22 y=%22255%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.2s;animation-duration:5.9s%22 x=%221131%22 y=%22277%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.1s;animation-duration:7.9s%22 x=%221203%22 y=%22122%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.0s;animation-duration:8.0s%22 x=%221221%22 y=%22122%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.1s;animation-duration:6.9s%22 x=%221221%22 y=%22144%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.8s;animation-duration:10.0s%22 x=%221203%22 y=%22166%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.3s;animation-duration:9.3s%22 x=%221221%22 y=%22166%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.3s;animation-duration:7.4s%22 x=%221203%22 y=%22188%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.4s;animation-duration:5.6s%22 x=%221185%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.4s;animation-duration:6.5s%22 x=%221221%22 y=%22232%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.6s;animation-duration:6.1s%22 x=%221185%22 y=%22254%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.6s;animation-duration:7.7s%22 x=%221267%22 y=%22202%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.4s;animation-duration:10.6s%22 x=%221321%22 y=%22202%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.2s;animation-duration:7.1s%22 x=%221339%22 y=%22202%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.7s;animation-duration:10.9s%22 x=%221249%22 y=%22224%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.9s;animation-duration:6.8s%22 x=%221267%22 y=%22224%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.5s;animation-duration:6.2s%22 x=%221321%22 y=%22224%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.2s;animation-duration:11.0s%22 x=%221267%22 y=%22246%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.7s;animation-duration:5.5s%22 x=%221303%22 y=%22246%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.2s;animation-duration:6.6s%22 x=%221339%22 y=%22246%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.1s;animation-duration:7.3s%22 x=%221365%22 y=%22212%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.8s;animation-duration:9.6s%22 x=%221401%22 y=%22234%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.4s;animation-duration:10.6s%22 x=%221401%22 y=%22256%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-1.4s;animation-duration:10.8s%22 x=%221419%22 y=%22278%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.0s;animation-duration:6.4s%22 x=%221458%22 y=%22233%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.3s;animation-duration:8.8s%22 x=%221440%22 y=%22255%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.6s;animation-duration:8.1s%22 x=%221476%22 y=%22255%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-5.4s;animation-duration:5.1s%22 x=%221440%22 y=%22277%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.2s;animation-duration:10.8s%22 x=%221541%22 y=%22120%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-4.5s;animation-duration:9.0s%22 x=%221595%22 y=%22120%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.0s;animation-duration:10.6s%22 x=%221541%22 y=%22142%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.3s;animation-duration:7.0s%22 x=%221559%22 y=%22142%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-7.2s;animation-duration:9.4s%22 x=%221613%22 y=%22142%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.7s;animation-duration:6.9s%22 x=%221559%22 y=%22164%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.0s;animation-duration:9.6s%22 x=%221595%22 y=%22164%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.6s;animation-duration:8.0s%22 x=%221613%22 y=%22164%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-2.0s;animation-duration:7.5s%22 x=%221541%22 y=%22186%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-3.5s;animation-duration:6.3s%22 x=%221595%22 y=%22186%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.5s;animation-duration:5.4s%22 x=%221541%22 y=%22208%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.4s;animation-duration:9.5s%22 x=%221595%22 y=%22230%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-6.0s;animation-duration:7.3s%22 x=%221613%22 y=%22230%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-0.0s;animation-duration:6.7s%22 x=%221577%22 y=%22252%22 width=%226%22 height=%229%22/%3E%3Crect class=%22w%22 style=%22animation-delay:-8.7s;animation-duration:6.2s%22 x=%221541%22 y=%22274%22 width=%226%22 height=%229%22/%3E%3C/svg%3E") center bottom/cover no-repeat;opacity:var(--deko-op,.4);
  -webkit-mask-image:linear-gradient(transparent,#000 40%);mask-image:linear-gradient(transparent,#000 40%)}
body[data-seite="life"]::before{background:linear-gradient(180deg,transparent 55%,rgba(255,122,69,.10) 100%),radial-gradient(1000px 520px at 85% -8%,var(--glow-1),transparent 60%),radial-gradient(800px 480px at -5% 8%,var(--glow-2),transparent 60%)}
/* Zocken: Tannen, Funken steigen auf, Feuerschein flackert */
@keyframes flFlackern{0%,100%{opacity:.8}20%{opacity:1}45%{opacity:.7}70%{opacity:.95}}
body[data-seite="zocken"]::after{left:0;right:0;bottom:0;height:min(60vh,560px);background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1600 640%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cstyle%3E.e%7Banimation:u 10s linear infinite;opacity:0%7D%40keyframes u%7B0%25%7Btransform:translate(0,0);opacity:0%7D12%25%7Bopacity:.95%7D100%25%7Btransform:translate(40px,-340px);opacity:0%7D%7D%3C/style%3E%3Cg fill=%22%234A2A18%22%3E%3Cpath d=%22M0 640 L41.5 500 L83 640Z%22/%3E%3Cpath d=%22M51 640 L85.5 514 L120 640Z%22/%3E%3Cpath d=%22M114 640 L152.0 453 L190 640Z%22/%3E%3Cpath d=%22M168 640 L193.0 456 L218 640Z%22/%3E%3Cpath d=%22M221 640 L259.0 529 L297 640Z%22/%3E%3Cpath d=%22M263 640 L293.0 460 L323 640Z%22/%3E%3Cpath d=%22M303 640 L341.0 439 L379 640Z%22/%3E%3Cpath d=%22M354 640 L394.5 423 L435 640Z%22/%3E%3Cpath d=%22M403 640 L446.0 480 L489 640Z%22/%3E%3Cpath d=%22M464 640 L494.0 511 L524 640Z%22/%3E%3Cpath d=%22M518 640 L557.5 511 L597 640Z%22/%3E%3Cpath d=%22M564 640 L587.0 436 L610 640Z%22/%3E%3Cpath d=%22M619 640 L644.0 431 L669 640Z%22/%3E%3Cpath d=%22M658 640 L699.5 433 L741 640Z%22/%3E%3Cpath d=%22M693 640 L716.5 492 L740 640Z%22/%3E%3Cpath d=%22M753 640 L784.5 420 L816 640Z%22/%3E%3Cpath d=%22M802 640 L837.0 454 L872 640Z%22/%3E%3Cpath d=%22M858 640 L894.5 430 L931 640Z%22/%3E%3Cpath d=%22M904 640 L945.0 437 L986 640Z%22/%3E%3Cpath d=%22M952 640 L979.0 411 L1006 640Z%22/%3E%3Cpath d=%22M1014 640 L1040.0 484 L1066 640Z%22/%3E%3Cpath d=%22M1049 640 L1087.5 513 L1126 640Z%22/%3E%3Cpath d=%22M1089 640 L1133.5 497 L1178 640Z%22/%3E%3Cpath d=%22M1136 640 L1179.0 431 L1222 640Z%22/%3E%3Cpath d=%22M1197 640 L1233.0 492 L1269 640Z%22/%3E%3Cpath d=%22M1247 640 L1282.0 424 L1317 640Z%22/%3E%3Cpath d=%22M1299 640 L1339.0 486 L1379 640Z%22/%3E%3Cpath d=%22M1351 640 L1392.5 478 L1434 640Z%22/%3E%3Cpath d=%22M1392 640 L1425.5 415 L1459 640Z%22/%3E%3Cpath d=%22M1447 640 L1470.5 413 L1494 640Z%22/%3E%3Cpath d=%22M1508 640 L1550.0 495 L1592 640Z%22/%3E%3Cpath d=%22M1563 640 L1591.0 441 L1619 640Z%22/%3E%3C/g%3E%3Ccircle class=%22e%22 cx=%22708%22 cy=%22518%22 r=%222%22 fill=%22%23FFD08A%22 style=%22animation-duration:12.0s;animation-delay:-3.0s%22/%3E%3Ccircle class=%22e%22 cx=%22586%22 cy=%22452%22 r=%222%22 fill=%22%23FFB85C%22 style=%22animation-duration:7.4s;animation-delay:-12.0s%22/%3E%3Ccircle class=%22e%22 cx=%22221%22 cy=%22468%22 r=%222%22 fill=%22%23FFB85C%22 style=%22animation-duration:9.9s;animation-delay:-2.1s%22/%3E%3Ccircle class=%22e%22 cx=%22914%22 cy=%22576%22 r=%224%22 fill=%22%23FFD08A%22 style=%22animation-duration:13.1s;animation-delay:-0.6s%22/%3E%3Ccircle class=%22e%22 cx=%22132%22 cy=%22476%22 r=%223%22 fill=%22%23FFB85C%22 style=%22animation-duration:10.9s;animation-delay:-12.9s%22/%3E%3Ccircle class=%22e%22 cx=%221075%22 cy=%22440%22 r=%222%22 fill=%22%23FFD08A%22 style=%22animation-duration:9.2s;animation-delay:-1.1s%22/%3E%3Ccircle class=%22e%22 cx=%221136%22 cy=%22388%22 r=%222.5%22 fill=%22%23FFB85C%22 style=%22animation-duration:13.8s;animation-delay:-4.1s%22/%3E%3Ccircle class=%22e%22 cx=%22359%22 cy=%22556%22 r=%222%22 fill=%22%23FFB85C%22 style=%22animation-duration:13.9s;animation-delay:-4.8s%22/%3E%3Ccircle class=%22e%22 cx=%22323%22 cy=%22600%22 r=%224%22 fill=%22%23FFB85C%22 style=%22animation-duration:9.6s;animation-delay:-12.2s%22/%3E%3Ccircle class=%22e%22 cx=%221358%22 cy=%22532%22 r=%222%22 fill=%22%23FFD08A%22 style=%22animation-duration:11.3s;animation-delay:-13.2s%22/%3E%3Ccircle class=%22e%22 cx=%22595%22 cy=%22490%22 r=%222.5%22 fill=%22%23FFB85C%22 style=%22animation-duration:13.6s;animation-delay:-6.1s%22/%3E%3Ccircle class=%22e%22 cx=%221107%22 cy=%22457%22 r=%223%22 fill=%22%23FFD08A%22 style=%22animation-duration:7.1s;animation-delay:-5.8s%22/%3E%3Ccircle class=%22e%22 cx=%22684%22 cy=%22385%22 r=%224%22 fill=%22%23FF7A45%22 style=%22animation-duration:11.3s;animation-delay:-8.9s%22/%3E%3Ccircle class=%22e%22 cx=%221337%22 cy=%22540%22 r=%223%22 fill=%22%23FFB85C%22 style=%22animation-duration:10.3s;animation-delay:-9.5s%22/%3E%3Ccircle class=%22e%22 cx=%221286%22 cy=%22560%22 r=%223%22 fill=%22%23FF7A45%22 style=%22animation-duration:12.2s;animation-delay:-0.3s%22/%3E%3Ccircle class=%22e%22 cx=%221424%22 cy=%22385%22 r=%223%22 fill=%22%23FFD08A%22 style=%22animation-duration:8.8s;animation-delay:-6.4s%22/%3E%3Ccircle class=%22e%22 cx=%221271%22 cy=%22461%22 r=%222.5%22 fill=%22%23FFB85C%22 style=%22animation-duration:9.5s;animation-delay:-4.4s%22/%3E%3Ccircle class=%22e%22 cx=%221259%22 cy=%22447%22 r=%223%22 fill=%22%23FF7A45%22 style=%22animation-duration:12.5s;animation-delay:-1.5s%22/%3E%3Ccircle class=%22e%22 cx=%221205%22 cy=%22555%22 r=%222.5%22 fill=%22%23FFB85C%22 style=%22animation-duration:9.2s;animation-delay:-3.1s%22/%3E%3Ccircle class=%22e%22 cx=%22528%22 cy=%22463%22 r=%222.5%22 fill=%22%23FF7A45%22 style=%22animation-duration:11.7s;animation-delay:-9.1s%22/%3E%3Ccircle class=%22e%22 cx=%22248%22 cy=%22533%22 r=%223%22 fill=%22%23FF7A45%22 style=%22animation-duration:13.6s;animation-delay:-9.4s%22/%3E%3Ccircle class=%22e%22 cx=%22937%22 cy=%22587%22 r=%222.5%22 fill=%22%23FF7A45%22 style=%22animation-duration:7.6s;animation-delay:-10.4s%22/%3E%3Ccircle class=%22e%22 cx=%221204%22 cy=%22495%22 r=%223%22 fill=%22%23FFD08A%22 style=%22animation-duration:8.6s;animation-delay:-1.7s%22/%3E%3Ccircle class=%22e%22 cx=%22430%22 cy=%22460%22 r=%222.5%22 fill=%22%23FFD08A%22 style=%22animation-duration:13.0s;animation-delay:-4.8s%22/%3E%3Ccircle class=%22e%22 cx=%22215%22 cy=%22586%22 r=%223%22 fill=%22%23FFD08A%22 style=%22animation-duration:11.1s;animation-delay:-5.9s%22/%3E%3Ccircle class=%22e%22 cx=%22595%22 cy=%22498%22 r=%223%22 fill=%22%23FFD08A%22 style=%22animation-duration:11.4s;animation-delay:-4.1s%22/%3E%3C/svg%3E") center bottom/cover no-repeat;opacity:var(--deko-op,.75);
  -webkit-mask-image:linear-gradient(transparent,#000 30%);mask-image:linear-gradient(transparent,#000 30%)}
body[data-seite="zocken"]::before{background:radial-gradient(900px 420px at 50% 108%,rgba(255,122,69,.30),transparent 65%),radial-gradient(900px 480px at 85% -8%,var(--glow-1),transparent 60%);animation:flFlackern 3.2s ease-in-out infinite}
/* Hell-Modus: Deko leiser */
:root[data-theme="light"]{--deko-op:.4}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){--deko-op:.4}}
:root[data-theme="light"] body:not([data-seite="lol"]):not([data-seite="lol-app"]):not([data-seite="spiele"]):not([data-seite="spiel"]):not([data-seite="life"]):not([data-seite="zocken"])::after{opacity:.09}
/* Bewegung reduzieren: alles steht still */
@media (prefers-reduced-motion: reduce){body::before,body::after{animation:none!important}}
@media (max-width:700px){body:not([data-seite])::after{width:480px;height:480px;right:-200px;top:-120px}}
/* Footer lässt Hintergrundbilder durchscheinen */
body[data-seite="life"] .fuss,body[data-seite="zocken"] .fuss{background:color-mix(in srgb,var(--bg-2) 55%,transparent);backdrop-filter:blur(2px)}

/* 0.5.21: Ehrliche Wirtschaft – Ausdauer, Lizenzen, Werkzeug-Zustand, Idee/Bug-Knopf, Zentralbank im Admin */
.lw-ausdauer { display: grid; grid-template-columns: auto 1fr minmax(90px, 220px); align-items: center; gap: 10px 14px; padding: 10px 14px; margin: 0 0 12px;
  border-radius: 14px; background: var(--flaeche-1); border: 1px solid var(--rand); }
.lw-ausdauer.leer { border-color: var(--schlecht, #ef5b5b); }
.lw-a-emoji { font-size: 24px; }
.lw-a-text { display: grid; min-width: 0; } .lw-a-text small { color: var(--text-3); font-size: 12px; }
.lw-a-balken { height: 10px; border-radius: 999px; background: var(--flaeche-2); overflow: hidden; }
.lw-a-balken i { display: block; height: 100%; border-radius: 999px; background: var(--teal, #2bb3a6); transition: width .4s; }
.lw-a-balken.mittel i { background: var(--gold, #d4af61); } .lw-a-balken.knapp i { background: var(--schlecht, #ef5b5b); }
@media (max-width: 600px) { .lw-ausdauer { grid-template-columns: auto 1fr; } .lw-a-balken { grid-column: 1 / -1; } }
.lw-lizenz-kachel .knopf { justify-self: start; margin-top: 6px; }
.lw-lizenzen h3 { margin: 14px 0 6px; font-size: 15px; }
.lw-liste { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.lw-liste li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--flaeche-2);
  border-left: 3px solid var(--teal, #2bb3a6); }
.lw-liste li.bald { border-left-color: var(--gold, #d4af61); } .lw-liste li.aus { border-left-color: var(--schlecht, #ef5b5b); }
.lw-liste li > div { display: grid; min-width: 0; } .lw-liste small { color: var(--text-3); font-size: 12px; }
.lw-emoji { font-size: 22px; }
.lw-mini { height: 5px; border-radius: 999px; background: rgba(127,127,127,.2); overflow: hidden; margin-top: 4px; max-width: 220px; }
.lw-mini i { display: block; height: 100%; background: currentColor; opacity: .55; }
.lw-buff { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(212,175,97,.14); border: 1px solid var(--gold, #d4af61); font-size: 14px; }
@media (max-width: 600px) { .lw-liste li { grid-template-columns: auto 1fr; } .lw-liste li .knopf { grid-column: 1 / -1; justify-self: start; } }

.fb-knopf { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--flaeche-1); color: var(--text); border: 1px solid var(--rand-stark, var(--rand)); box-shadow: var(--schatten, 0 6px 20px rgba(0,0,0,.3));
  font: 600 13px/1 var(--schrift, inherit); cursor: pointer; opacity: .9; transition: transform .15s, opacity .15s, border-color .15s; }
.fb-knopf:hover, .fb-knopf:focus-visible { opacity: 1; transform: translateY(-2px); border-color: var(--gold, #d4af61); }
.fb-knopf span { font-size: 16px; }
@media (max-width: 820px) { .fb-knopf { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; padding: 10px; } .fb-knopf b { display: none; } }
@media print { .fb-knopf { display: none; } }
.fb-art { display: flex; gap: 8px; }
.fb-art label { flex: 1; cursor: pointer; }
.fb-art input { position: absolute; opacity: 0; pointer-events: none; }
.fb-art span { display: block; text-align: center; padding: 9px; border-radius: 10px; border: 1px solid var(--rand-stark, var(--rand)); background: var(--flaeche-2); font-weight: 600; }
.fb-art input:checked + span { border-color: var(--gold, #d4af61); background: rgba(212,175,97,.16); }
.fb-art input:focus-visible + span { outline: 2px solid var(--gold, #d4af61); outline-offset: 2px; }
.fb-box textarea { width: 100%; box-sizing: border-box; min-height: 110px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rand-stark, var(--rand));
  background: var(--flaeche-2); color: var(--text); font: inherit; }
.fb-info { margin: 0; font-size: 12px; }

/* Admin: Zentralbank + Feedback */
.adm-zb { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; }
.adm-ampel { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 3px solid currentColor; }
.adm-ampel i { width: 30px; height: 30px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.adm-ampel.gruen { color: #2fcf73; } .adm-ampel.gelb { color: #e6b33d; } .adm-ampel.rot { color: #ef5b5b; }
.adm-zb-zahlen { display: flex; flex-wrap: wrap; gap: 6px 18px; } .adm-zb-zahlen div { display: grid; } .adm-zb-zahlen small { color: var(--text-3); font-size: 12px; }
.adm-zb-regler { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; grid-column: 1 / -1; }
.adm-zb-regler input[type=range] { flex: 1 1 200px; }
.adm-zb-log { grid-column: 1 / -1; margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-2); }
.adm-fb-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.adm-fb { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adm-fb li { padding: 12px 14px; border-radius: 12px; background: var(--flaeche-2); border-left: 3px solid var(--gold, #d4af61); display: grid; gap: 6px; }
.adm-fb li.bug { border-left-color: #ef5b5b; } .adm-fb li.erledigt { opacity: .6; }
.adm-fb-kopf { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 13px; color: var(--text-3); }
.adm-fb-kopf b { color: var(--text); font-size: 14px; }
.adm-fb p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.adm-fb-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }

/* 0.5.22: Aufgeräumt – Plaketten „Was bringt's?“, Zuhause-Übersicht */
.life-plaketten { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }
.life-plaketten i { font-style: normal; font-size: 12px; line-height: 1.3; padding: 3px 8px; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--rand); color: var(--text-2); }
.life-plaketten i.ausdauer { border-color: var(--gold, #d4af61); background: rgba(212,175,97,.14); color: var(--text); font-weight: 600; }
.life-plaketten i.leer { opacity: .7; }
.life-stufe .life-plaketten { justify-content: center; }
.life-mehr { color: var(--gold, #d4af61); }
.life-zk-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 8px 0 12px; }
.life-zk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); }
.life-zk-emoji { font-size: 28px; line-height: 1; } .life-zk b { display: block; }
.lw-a-link { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0; color: var(--gold, #d4af61); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.lw-a-link:hover, .lw-a-link:focus-visible { text-decoration: underline; }
.sl-geschaeft .uw-waren li > span { display: block; }
.lw-warnung { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(239,91,91,.12); border: 1px solid var(--schlecht, #ef5b5b); font-size: 14px; }
.lw-kosten { width: 100%; border-collapse: collapse; font-size: 15px; }
.lw-kosten td { padding: 5px 2px; border-bottom: 1px solid var(--rand); } .lw-kosten td:last-child { text-align: right; white-space: nowrap; }
.lw-kosten tr.summe td { font-weight: 800; border-bottom: 2px solid var(--gold, #d4af61); }

/* 0.5.24: Werkzeug-Karten, Zubehör, Inventar-Filter, Kopfgeld-Ausweg, Szenen */
.lw-wk-filter { margin: 4px 0 12px; }
.lw-wk-filter .life-filter small { opacity: .75; }
.lw-wk-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.lw-wk { display: grid; gap: 8px; align-content: start; padding: 12px 14px; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); min-width: 0; }
.lw-wk.fehlt { border-color: rgba(212,175,97,.45); }
.lw-wk-kopf { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.lw-wk-kopf h3 { margin: 0; font-size: 16px; } .lw-wk-kopf small { color: var(--text-3); font-size: 12px; }
.lw-wk-emoji { font-size: 28px; grid-row: span 1; }
.lw-wk-liz { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; padding: 5px 9px; border-radius: 10px;
  background: rgba(47,207,115,.10); border: 1px solid rgba(47,207,115,.35); }
.lw-wk-liz.aus { background: rgba(212,175,97,.10); border-color: rgba(212,175,97,.45); }
.lw-wk-liz .knopf { margin-left: auto; padding: 4px 10px; }
.lw-wk-warn { margin: 0; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: rgba(239,91,91,.10); border-left: 3px solid var(--schlecht, #ef5b5b); }
.lw-wk-warn.neutral { background: rgba(212,175,97,.10); border-left-color: var(--gold, #d4af61); }
.lw-leiter { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lw-leiter > li { display: grid; grid-template-columns: 22px auto 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px;
  background: var(--flaeche-1); border: 1px solid var(--rand); min-width: 0; }
.lw-l-stufe { font: 700 11px/1 var(--schrift-titel, inherit); color: var(--text-3); text-align: center; }
.lw-l-emoji { font-size: 20px; line-height: 1; }
.lw-l-name { display: grid; min-width: 0; } .lw-l-name b { font-size: 13px; line-height: 1.25; } .lw-l-name small { color: var(--text-3); font-size: 11.5px; line-height: 1.3; }
.lw-leiter .knopf { white-space: nowrap; }
.lw-l-hab { border-color: var(--gut, #2fcf73) !important; background: rgba(47,207,115,.08) !important; } .lw-l-hab .lw-l-name small { color: var(--gut, #2fcf73); font-weight: 600; }
.lw-l-naechste { border-color: var(--gold, #d4af61) !important; }
.lw-l-zu, .lw-l-vorbei { opacity: .6; }
.lw-wk-plus { margin: 0; font-size: 13px; color: var(--text-2); }
.lw-wk-zustand { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-size: 13px; color: var(--teal, #4fe3d6); }
.lw-wk-zustand .lw-mini { grid-column: 1 / -1; grid-row: 2; }
.lw-wk-zustand > span { color: var(--text); }
.lw-wk-zustand.bald { color: var(--gold, #d4af61); } .lw-wk-zustand.aus { color: var(--schlecht, #ef5b5b); }
.lw-wk-zustand .lw-mini { margin: 0; max-width: none; }
.lw-wk-zub summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 2px 0; }
.lw-wk-zub summary small { font-weight: 400; letter-spacing: 2px; }
.lw-wk-zub ul, .lw-zub-liste { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.lw-wk-zub li, .lw-zub-liste li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--flaeche-1); }
.lw-z-emoji { font-size: 20px; } .lw-z-text { display: grid; min-width: 0; } .lw-z-text b { font-size: 13px; } .lw-z-text small { color: var(--text-3); font-size: 12px; }
.lw-z-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 6px; align-items: center; }
.lw-z-aktiv { font-size: 11.5px; color: var(--gut, #2fcf73); font-weight: 600; }
.lw-info h2 { font-size: 16px; }
.lw-a-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 600px) {
  .lw-leiter > li { grid-template-columns: 18px auto 1fr; } .lw-leiter .knopf { grid-column: 2 / -1; justify-self: start; }
  .lw-wk-zub li, .lw-zub-liste li { grid-template-columns: auto 1fr; } .lw-z-knoepfe { grid-column: 1 / -1; justify-content: flex-start; }
}
.ls-items { margin: -4px 0 8px; font-size: 12.5px; color: var(--gold-hell, #f2dca4); }
.life-filterreihe .life-filter .lf-text { margin-left: 2px; }
@media (max-width: 600px) { .life-filterreihe .life-filter .lf-text { display: none; } }
.uw-hinweis .knopf { margin-left: 8px; vertical-align: middle; }
.uw-kg-tabelle { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.uw-kg-tabelle td { padding: 6px 4px; border-bottom: 1px solid var(--rand); vertical-align: top; } .uw-kg-tabelle td:last-child { text-align: right; white-space: nowrap; }
.uw-kg-tabelle small { color: var(--text-3); }

/* Szenen */
.sz-overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(5,8,14,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: sz-ein .22s ease-out both; }
.sz-overlay.weg { opacity: 0; transition: opacity .2s; }
.sz-box { width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; text-align: center; padding: 14px 16px 16px; animation: sz-hoch .3s ease-out both; }
.sz-box h3 { margin: 10px 0 2px; font-size: 20px; }
.sz-text { margin: 6px 0 12px; color: var(--text-2); font-size: 14px; }
.sz-zahl { margin: 2px 0 0; font: 800 28px/1.1 var(--schrift-titel, inherit); font-variant-numeric: tabular-nums; }
.sz-zahl.minus { color: var(--schlecht, #ef5b5b); } .sz-zahl.plus { color: var(--gut, #2fcf73); }
.sz-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sz-buehne { position: relative; height: 170px; border-radius: 12px; overflow: hidden; background: linear-gradient(#8ec5ff, #d8ecff 70%); }
.sz-buehne > * { position: absolute; }
.sz-figur { bottom: 22px; font-size: 46px; line-height: 1; transform: translateX(-50%); }
.sz-boden { left: 0; right: 0; bottom: 0; height: 28px; background: linear-gradient(#7b8a99, #5b6876); }
.sz-haus { left: 6%; bottom: 24px; font-size: 54px; opacity: .85; }
/* ausgeraubt */
.sz-opfer { left: 60%; animation: sz-wackeln .5s ease-in-out .7s 2 both; }
.sz-dieb { left: 118%; animation: sz-dieb 2.3s ease-in-out .1s both; }
.sz-sack { position: absolute; right: -14px; bottom: 6px; font-size: 26px; font-style: normal; animation: sz-sack 2.3s linear .1s both; }
.sz-schein { bottom: 60px; font-size: 22px; opacity: 0; animation: sz-schein 1.5s ease-out var(--d) both; }
@keyframes sz-dieb { 0% { left: -12%; } 35%, 52% { left: 47%; } 100% { left: 118%; } }
@keyframes sz-sack { 0%, 44% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes sz-schein { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes sz-wackeln { 0%, 100% { transform: translateX(-50%) rotate(0); } 25% { transform: translateX(-54%) rotate(-8deg); } 75% { transform: translateX(-46%) rotate(8deg); } }
/* verhaftet */
.sz-verhaftet .sz-buehne, .sz-nacht { background: linear-gradient(#141b2b, #273349); }
.sz-nacht { inset: 0; }
.sz-licht { top: -40px; width: 140px; height: 140px; border-radius: 50%; filter: blur(18px); opacity: .55; }
.sz-licht.rot { left: -30px; background: #ff3b3b; animation: sz-blink .5s steps(2) infinite; }
.sz-licht.blau { right: -30px; background: #3b7bff; animation: sz-blink .5s steps(2) .25s infinite; }
@keyframes sz-blink { 50% { opacity: .1; } }
.sz-messlatte { left: 28%; width: 44%; top: 16px; bottom: 30px; display: grid; align-content: space-between; opacity: .35; }
.sz-messlatte i { display: block; height: 2px; background: #cfd8e6; }
.sz-taeter { left: 50%; }
.sz-gitter { left: 26%; width: 48%; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, #aeb7c4 0 6px, transparent 6px 26px); box-shadow: 0 2px 0 #aeb7c4 inset, 0 -2px 0 #aeb7c4 inset;
  animation: sz-gitter .45s cubic-bezier(.3,1.4,.6,1) 1.1s both; }
@keyframes sz-gitter { from { transform: translateY(-110%); } to { transform: translateY(0); } }
.sz-schild { left: 50%; bottom: 8px; transform: translateX(-50%); padding: 2px 10px; border-radius: 4px; background: #11151d; color: #f2f5fa; font: 700 12px/1.4 var(--schrift-mono, monospace);
  border: 1px solid #cfd8e6; animation: sz-blende .3s ease-out 1.6s both; }
.sz-auto { right: 2%; bottom: 10px; font-size: 44px; animation: sz-auto .8s ease-out .1s both; }
@keyframes sz-auto { from { transform: translateX(260px); } to { transform: translateX(0); } }
@keyframes sz-blende { from { opacity: 0; } to { opacity: 1; } }
/* gefeuert */
.sz-gefeuert .sz-buehne { background: linear-gradient(#efe6d6, #d9cbb3); }
.sz-tisch { left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(#8a5a35, #6d4428); }
.sz-papier { left: 50%; top: 14px; width: 120px; height: 136px; transform: translateX(-50%) rotate(-3deg); background: #fffdf7; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  display: grid; align-content: start; gap: 9px; padding: 14px 12px; color: #333; font: 700 12px/1 Georgia, serif; }
.sz-papier i { display: block; height: 4px; border-radius: 2px; background: #d6d0c4; } .sz-papier i:nth-child(odd) { width: 70%; }
.sz-stempel { left: 50%; top: 66px; padding: 4px 10px; border: 3px solid #d42c2c; border-radius: 6px; color: #d42c2c; font: 900 22px/1 var(--schrift-titel, sans-serif);
  letter-spacing: 2px; transform: translateX(-50%) rotate(-14deg); background: rgba(255,255,255,.25); animation: sz-stempel .5s cubic-bezier(.2,1.5,.5,1) .55s both; }
@keyframes sz-stempel { 0% { opacity: 0; transform: translateX(-50%) rotate(-14deg) scale(2.6); } 70% { opacity: 1; transform: translateX(-50%) rotate(-14deg) scale(.92); } 100% { opacity: 1; transform: translateX(-50%) rotate(-14deg) scale(1); } }
.sz-karton { right: 8%; bottom: 20px; font-size: 48px; animation: sz-karton .6s ease-out 1.3s both; }
.sz-karton i { position: absolute; font-style: normal; font-size: 20px; top: -6px; } .sz-karton i:first-child { left: 4px; } .sz-karton i:last-child { right: 4px; }
@keyframes sz-karton { from { transform: translateY(140px); } to { transform: translateY(0); } }
/* kaputt */
.sz-kaputt .sz-buehne { background: radial-gradient(circle at 50% 60%, #3a3f4a, #1c2028); }
.sz-werkbank { left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(#6b5a48, #4c3f32); }
.sz-teil { left: 50%; bottom: 40px; font-size: 64px; line-height: 1; }
.sz-teil.links { clip-path: inset(0 50% 0 0); transform: translateX(-62%) rotate(-24deg); animation: sz-teil-l 1s ease-out both; }
.sz-teil.rechts { clip-path: inset(0 0 0 50%); transform: translateX(-38%) rotate(22deg); animation: sz-teil-r 1s ease-out both; }
@keyframes sz-teil-l { 0%, 55% { transform: translateX(-50%) rotate(0); } 45% { transform: translateX(-52%) rotate(-3deg); } 100% { transform: translateX(-62%) rotate(-24deg); } }
@keyframes sz-teil-r { 0%, 55% { transform: translateX(-50%) rotate(0); } 45% { transform: translateX(-48%) rotate(3deg); } 100% { transform: translateX(-38%) rotate(22deg); } }
.sz-knall { left: 50%; top: 28px; font-size: 54px; transform: translateX(-50%); opacity: 0; animation: sz-knall .7s ease-out .5s both; }
@keyframes sz-knall { 0% { opacity: 0; transform: translateX(-50%) scale(.3); } 40% { opacity: 1; transform: translateX(-50%) scale(1.2); } 100% { opacity: 0; transform: translateX(-50%) scale(1.5); } }
.sz-splitter { left: 50%; bottom: 70px; width: 6px; height: 6px; border-radius: 1px; background: #c9ced8; opacity: 0; animation: sz-schein 1s ease-out .55s both; --r: 180deg; }
/* geglückt */
.sz-flucht { left: 118%; animation: sz-flucht 2.2s ease-in .2s both; }
.sz-flucht .sz-sack { animation: none; opacity: 1; }
@keyframes sz-flucht { from { left: -14%; } to { left: 118%; } }
.sz-muenze { left: 10%; bottom: 40px; font-size: 20px; opacity: 0; animation: sz-muenze 1.6s ease-out var(--d) both; }
@keyframes sz-muenze { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(240px, var(--y)) rotate(360deg); } }
/* Polizeibericht */
.sz-mit-zeitung .sz-buehne { height: auto; background: none; overflow: visible; }
.sz-zeitung { position: relative; text-align: left; padding: 12px 14px; border-radius: 6px; background: #f4efe3; color: #22201b; font-family: Georgia, "Times New Roman", serif;
  box-shadow: 0 8px 22px rgba(0,0,0,.35); transform: rotate(-1.2deg); animation: sz-zeitung .55s cubic-bezier(.2,1.3,.5,1) both; }
@keyframes sz-zeitung { from { transform: rotate(-200deg) scale(.2); opacity: 0; } to { transform: rotate(-1.2deg) scale(1); opacity: 1; } }
.sz-zeitung header { display: grid; border-bottom: 3px double #22201b; padding-bottom: 4px; margin-bottom: 6px; text-align: center; }
.sz-zeitung header b { font-size: 22px; letter-spacing: 3px; } .sz-zeitung header small { font-size: 11px; font-style: italic; }
.sz-zeitung h4 { margin: 4px 0 6px; font-size: 18px; text-transform: uppercase; }
.sz-zeitung ul { margin: 0; padding-left: 16px; font-size: 13px; line-height: 1.4; columns: 1; } .sz-zeitung li + li { margin-top: 4px; }
.sz-zeitung .sz-mehr { list-style: none; font-style: italic; }
@keyframes sz-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sz-hoch { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.sz-schalter { display: block; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .sz-overlay *, .sz-overlay { animation: none !important; } .sz-schein, .sz-muenze, .sz-splitter, .sz-knall { display: none; } }

/* 0.5.25: Stammtisch */
.lt-tisch { display: grid; gap: 8px; position: relative; }
.lt-kopf-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.lt-kopf-leiste h2 { margin: 0; }
.lt-kanaele { display: flex; gap: 6px; flex-wrap: wrap; }
.lt-kanaele button { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--rand-stark, var(--rand)); background: var(--flaeche-2); color: var(--text); font: 600 13px/1.2 inherit; cursor: pointer; }
.lt-kanaele button[aria-selected="true"] { border-color: var(--gold, #d4af61); background: rgba(212,175,97,.16); }
.lt-gang .lt-liste { background: linear-gradient(rgba(10,10,14,.35), rgba(10,10,14,.35)), var(--flaeche-2); }
.lt-zitat-box { padding: 8px 12px; border-radius: 10px; background: rgba(212,175,97,.12); border: 1px dashed var(--gold, #d4af61); font-size: 13.5px; }
.lt-zitat-box q { font-style: italic; } .lt-zitat-box small { color: var(--text-3); }
.lt-liste { height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 12px; background: var(--flaeche-2); display: flex; flex-direction: column; gap: 6px; }
.lt-leer { margin: auto; text-align: center; }
.lt-tag { text-align: center; margin: 6px 0 2px; } .lt-tag span { font-size: 11.5px; color: var(--text-3); padding: 2px 10px; border-radius: 999px; background: var(--flaeche-1); }
.lt-msg { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 6px 8px; border-radius: 12px; transition: background .3s; }
.lt-aktionen { position: absolute; top: 2px; right: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.lt-msg:hover .lt-aktionen, .lt-sys:hover .lt-aktionen, .lt-msg:focus-within .lt-aktionen, .lt-sys:focus-within .lt-aktionen, .lt-aktionen:has(.lt-picker) { opacity: 1; }
.lt-sys { position: relative; }
@media (hover: none) { .lt-aktionen { opacity: .7; } }
.lt-msg:hover { background: rgba(127,127,127,.06); }
.lt-msg.ich { background: rgba(212,175,97,.07); }
.lt-msg.an-mich { background: rgba(79,227,214,.10); box-shadow: inset 3px 0 0 var(--teal, #4fe3d6); }
.lt-msg.blink { background: rgba(212,175,97,.28); }
.lt-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--schrift-titel, inherit); color: #111; background: var(--farbe, #888); }
.lt-avatar.klein { width: 22px; height: 22px; font-size: 11px; display: inline-grid; margin-right: 6px; vertical-align: middle; }
.lt-msg.anonym .lt-avatar { background: #2b2f38; color: #fff; }
.lt-inhalt { min-width: 0; display: grid; gap: 3px; }
.lt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lt-kopf time { font-size: 11px; color: var(--text-3); }
.lt-name { background: none; border: 0; padding: 0; font: 700 13.5px/1.2 inherit; color: color-mix(in srgb, var(--farbe, var(--text)) 70%, var(--text)); cursor: pointer; }
.lt-name:hover, .lt-name:focus-visible { text-decoration: underline; }
.lt-name.anonym { color: var(--text-2); }
.lt-st { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--flaeche-1); color: var(--text-2); }
.lt-inhalt p { margin: 0; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.lt-erw { color: var(--teal, #4fe3d6); font-weight: 700; }
.lt-zit { justify-self: start; max-width: 100%; text-align: left; background: var(--flaeche-1); border: 0; border-left: 3px solid var(--farbe, var(--rand-stark)); border-radius: 6px; padding: 3px 8px;
  font: 12px/1.3 inherit; color: var(--text-2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-reakt { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; position: relative; }
.lt-r { border: 1px solid var(--rand); background: var(--flaeche-1); color: var(--text); border-radius: 999px; padding: 1px 8px; font: 13px/1.5 inherit; cursor: pointer; }
.lt-r small { font-size: 11px; color: var(--text-2); }
.lt-r.an { border-color: var(--gold, #d4af61); background: rgba(212,175,97,.18); }
.lt-plus, .lt-antw { font-size: 12px; background: var(--flaeche-1); }
.lt-picker { position: absolute; z-index: 5; top: 100%; right: 0; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--flaeche-1); border: 1px solid var(--rand-stark, var(--rand));
  box-shadow: var(--schatten, 0 6px 20px rgba(0,0,0,.3)); }
.lt-picker button { border: 0; background: none; font-size: 20px; padding: 2px 4px; border-radius: 8px; cursor: pointer; }
.lt-picker button:hover, .lt-picker button:focus-visible { background: rgba(212,175,97,.2); transform: scale(1.15); }
.lt-sys { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 3px 10px; margin: 0 6px; font-size: 12.5px; color: var(--text-2); border-left: 2px solid var(--rand-stark, var(--rand)); }
.lt-sys time { font-size: 10.5px; color: var(--text-3); }
.lt-sys .lt-reakt { flex-basis: 100%; }
.lt-npc { display: block; padding: 6px 12px; margin: 0 20px; border-radius: 12px; background: rgba(79,227,214,.07); border: 1px dashed rgba(79,227,214,.35); }
.lt-npc p { margin: 2px 0 0; font-size: 13.5px; font-style: italic; }
.lt-leck { display: block; padding: 6px 12px; border-radius: 12px; background: rgba(239,91,91,.08); border: 1px dashed rgba(239,91,91,.45); }
.lt-leck p { margin: 2px 0 4px; font-style: italic; }
.lt-sticker-gross { display: inline-grid; justify-items: center; gap: 2px; padding: 6px 14px; border-radius: 14px; background: var(--flaeche-1); justify-self: start; }
.lt-sticker-gross span { font-size: 46px; line-height: 1; } .lt-sticker-gross b { font-size: 12.5px; }
.lt-fund, .lt-runde, .lt-wette { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--flaeche-1);
  border: 1px solid var(--rand); max-width: 520px; }
.lt-fund { border-left: 4px solid var(--selten); } .lt-fund.prahl { box-shadow: 0 0 0 1px var(--gold, #d4af61), 0 0 18px rgba(212,175,97,.25); }
.lt-fund > div, .lt-runde > div, .lt-wette > div { display: grid; min-width: 0; } .lt-fund small, .lt-runde small, .lt-wette small { color: var(--text-3); font-size: 12px; }
.lt-f-emoji, .lt-r-emoji { font-size: 30px; line-height: 1; }
.lt-marke { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--gold, #d4af61); }
.lt-wette p { margin: 2px 0; font-size: 13.5px; }
.lt-wette.entschieden { border-color: var(--gut, #2fcf73); } .lt-wette.verfallen { opacity: .65; }
.lt-runde { border-color: rgba(212,175,97,.55); background: linear-gradient(90deg, rgba(212,175,97,.12), transparent); }
.lt-steckbrief { justify-self: start; display: grid; justify-items: center; gap: 2px; width: 180px; padding: 10px 12px 12px; background: #e9d9b4; color: #3b2a14; border-radius: 4px;
  font-family: Georgia, serif; box-shadow: 0 4px 12px rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.lt-steckbrief b { font-size: 20px; letter-spacing: 3px; } .lt-s-bild { font-size: 44px; } .lt-steckbrief strong { font-size: 15px; }
.lt-steckbrief small { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; } .lt-steckbrief em { font-style: normal; font-weight: 800; font-size: 17px; }
.lt-steckbrief em small { color: inherit; text-transform: none; letter-spacing: 0; }
.lt-runter { position: absolute; left: 50%; transform: translateX(-50%); bottom: 150px; z-index: 3; box-shadow: var(--schatten, 0 6px 20px rgba(0,0,0,.3)); }
.lt-antwort-auf { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: var(--flaeche-2); border-left: 3px solid var(--gold, #d4af61); display: flex; gap: 6px; align-items: center; }
.lt-x { margin-left: auto; background: none; border: 0; color: var(--text-2); font-size: 15px; cursor: pointer; padding: 2px 6px; }
.lt-sticker { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; padding: 8px; border-radius: 12px; background: var(--flaeche-2); }
.lt-sticker button { display: grid; justify-items: center; gap: 2px; padding: 6px; border-radius: 10px; border: 1px solid var(--rand); background: var(--flaeche-1); color: var(--text); cursor: pointer; }
.lt-sticker button span { font-size: 28px; } .lt-sticker button small { font-size: 10.5px; color: var(--text-2); text-align: center; }
.lt-vorschlag { display: flex; flex-wrap: wrap; gap: 4px; }
.lt-vorschlag button { border: 1px solid var(--rand-stark, var(--rand)); background: var(--flaeche-1); color: var(--text); border-radius: 999px; padding: 3px 10px 3px 4px; font: 13px inherit; cursor: pointer; }
.lt-vorschlag button:first-child { border-color: var(--teal, #4fe3d6); }
.lt-form { display: grid; gap: 6px; }
.lt-status { margin: 0; font-size: 12.5px; color: var(--text-2); }
.lt-eingabe { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.lt-eingabe textarea { width: 100%; box-sizing: border-box; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rand-stark, var(--rand));
  background: var(--flaeche-2); color: var(--text); font: inherit; font-size: 14.5px; line-height: 1.4; }   /* 0.6.14-4: „font: … inherit“ war ungültig → Schreibmaschinenschrift */
.lt-eingabe textarea:focus { outline: 2px solid var(--gold, #d4af61); outline-offset: 1px; }
.lt-werkzeug { display: flex; flex-wrap: wrap; gap: 4px; }
.lt-w { border: 1px solid var(--rand); background: var(--flaeche-2); color: var(--text-2); border-radius: 999px; padding: 4px 10px; font: 12.5px/1.3 inherit; cursor: pointer; }
.lt-w:hover, .lt-w:focus-visible { color: var(--text); border-color: var(--gold, #d4af61); }
.lt-w.an { background: rgba(212,175,97,.2); border-color: var(--gold, #d4af61); color: var(--text); }
.lt-w:disabled { opacity: .45; cursor: default; }
@media (max-width: 600px) { .lt-w span { display: none; } .lt-w { font-size: 16px; padding: 4px 10px; } .lt-fund, .lt-runde, .lt-wette { grid-template-columns: auto 1fr; } .lt-fund .knopf, .lt-runde .knopf, .lt-wette .knopf { grid-column: 1 / -1; justify-self: start; }
  .lt-liste { height: 58vh; } .lt-msg { grid-template-columns: 28px 1fr; } .lt-avatar { width: 28px; height: 28px; font-size: 13px; } .lt-runter { bottom: 130px; } }
.life-reiter-zahl.lt-erwaehnt { background: var(--teal, #4fe3d6); color: #111; }
.lt-prahl { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px 10px; align-items: center; max-width: min(420px, calc(100vw - 32px));
  padding: 10px 12px; border-radius: 14px; background: var(--flaeche-1); border: 1px solid var(--gold, #d4af61); box-shadow: var(--schatten, 0 6px 20px rgba(0,0,0,.35)); animation: sz-hoch .3s ease-out both; }
.lt-prahl > span { font-size: 26px; } .lt-prahl div { display: grid; min-width: 0; } .lt-prahl small { color: var(--text-2); font-size: 12px; }
@media (max-width: 820px) { .lt-prahl { bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; } }

/* ===================== 0.5.31 Season-Vorbereitung ===================== */
/* Tote dürfen sich alles ansehen (Aktionen lehnt der Server ab) */
#life.life-tot .life-tab button,#life.life-tot .life-tab input,#life.life-tot .life-tab select{opacity:1;pointer-events:auto}
/* Verkündung + Test-Stadt */
.lb-verk{display:flex;gap:12px;align-items:center;margin-bottom:12px;border-color:color-mix(in srgb,var(--gold,#f0b429) 55%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--gold,#f0b429) 14%,transparent),transparent)}
.lb-verk-emo{font-size:30px;line-height:1}
.lb-verk div{display:flex;flex-direction:column;gap:3px}
.lb-verk small{color:var(--text-2)}
.lb-test{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px;border-color:#8b5cf6;background:rgba(139,92,246,.12)}
.lb-dm-ohne{margin-top:12px}
/* Aufgaben auf einen Blick */
.lb-aufgaben ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.lb-aufgaben li button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:var(--flaeche-2,rgba(255,255,255,.04));border:1px solid var(--rand,rgba(255,255,255,.08));border-radius:10px;padding:8px 10px;color:var(--text);font:inherit;cursor:pointer}
.lb-aufgaben li button:hover{border-color:color-mix(in srgb,var(--gold,#f0b429) 50%,transparent)}
.lb-aufgaben li.fertig button{border-color:#2fcf73;background:rgba(47,207,115,.1)}
.lb-a-text{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.lb-a-balken{display:block;height:4px;border-radius:2px;background:rgba(127,127,127,.25);overflow:hidden}
.lb-a-balken i{display:block;height:100%;background:var(--gold,#f0b429)}
/* Hilfe */
.lb-suche{width:100%;margin:4px 0 12px;padding:10px 12px;border-radius:10px;border:1px solid var(--rand,rgba(255,255,255,.12));background:var(--flaeche-2,transparent);color:var(--text);font:inherit}
.lb-abschnitt{border-top:1px solid var(--rand,rgba(255,255,255,.08));padding:4px 0}
.lb-abschnitt summary{cursor:pointer;font-weight:700;padding:8px 2px;list-style-position:inside}
.lb-abschnitt > div{padding:0 2px 10px;color:var(--text-2);line-height:1.55}
.lb-abschnitt ul,.lb-abschnitt ol{padding-left:20px;margin:6px 0}
.lb-tab{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:14px}
.lb-tab th,.lb-tab td{text-align:left;padding:5px 8px;border-bottom:1px solid var(--rand,rgba(255,255,255,.08))}
.lb-tab th{color:var(--text-2);font-weight:600}
/* Bewertung */
.lb-bewertung{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);z-index:900;display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 32px);padding:10px 14px;box-shadow:0 10px 30px rgba(0,0,0,.35);animation:lb-rein .3s ease}
.lb-sterne{display:flex;gap:2px}
.lb-sterne button{background:none;border:0;font-size:22px;cursor:pointer;padding:2px;filter:grayscale(1);opacity:.6;transition:transform .1s}
.lb-sterne:hover button{filter:none;opacity:1}
.lb-sterne button:hover ~ button{filter:grayscale(1);opacity:.6}
.lb-sterne button:hover{transform:scale(1.15)}
.lb-zu{background:none;border:0;color:var(--text-2);cursor:pointer;font-size:16px}
@keyframes lb-rein{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){.lb-bewertung{animation:none}}
.lw-koffein{font-size:.8em;font-weight:600;color:#c08457;margin-left:4px}
/* Admin: Test & Betrieb */
.adm-ab-knoepfe{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.adm-ab-uhr{font-weight:600}
.adm-ab-verk{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px;border-radius:10px;background:rgba(240,180,41,.1);margin-bottom:10px}
.adm-ab-form{display:grid;gap:10px}
.adm-ab-form label{display:grid;gap:4px;font-size:13px;color:var(--text-2)}
.adm-ab-form textarea,.adm-ab-form input[type=datetime-local],.adm-ab-form input[type=number]{font:inherit;color:var(--text);background:var(--flaeche-2,transparent);border:1px solid var(--rand);border-radius:8px;padding:8px}
.adm-ab-reihe{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.adm-ab-check{display:flex !important;gap:6px;align-items:center;grid-template-columns:none}
.adm-ab-tabelle{overflow-x:auto}
.adm-ab-tabelle table{width:100%;border-collapse:collapse;font-size:13px}
.adm-ab-tabelle th,.adm-ab-tabelle td{padding:6px 8px;border-bottom:1px solid var(--rand);text-align:left;white-space:nowrap}
.adm-ab-tabelle td.warn{color:#f59e0b;font-weight:700}
.adm-ab-tabelle td.klein{white-space:normal;font-size:12px;color:var(--text-2)}
.adm-ab-liste,.adm-ab-fehler{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.adm-ab-fehler li{border:1px solid var(--rand);border-radius:10px;padding:8px 10px}
.adm-ab-fehler li div{display:flex;gap:10px;font-size:12px;color:var(--text-2)}
.adm-ab-fehler pre{margin:6px 0 0;white-space:pre-wrap;word-break:break-word;font-size:12px}
.adm-fb-lohn{font-size:12px;color:#2fcf73;align-self:center}
#ab-platz{display:grid;gap:16px}

/* ================================================================ 0.5.32: Skill-Baum, Stadtleben, Halloween, Streife */
.lsk-kopf { display: grid; grid-template-columns: auto minmax(80px, 1fr); align-items: center; gap: 2px 10px; margin-top: 10px; padding: 8px 12px; max-width: 420px; width: 100%;
  border: 1px solid var(--rand-stark); border-radius: 12px; background: var(--flaeche-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.lsk-kopf:hover { border-color: var(--gold); }
.lsk-kopf:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lsk-kopf small { grid-column: 2; color: var(--text-3); font-size: 12px; }
.lsk-stufe { font-weight: 700; grid-row: span 2; }
.lsk-balken { display: block; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.lsk-balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: inherit; transition: width .4s; }
.lsk-balken.gross { height: 12px; flex: 1 1 160px; }
.lsk-frei { grid-column: 1 / -1; color: var(--gold); font-size: 13px; animation: lsk-puls 1.6s ease-in-out infinite; }
.lsk-frei.gross { font-size: 15px; }
@keyframes lsk-puls { 50% { opacity: .55; } }
.lsk-kopfzeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.lsk-xp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0; }
.lsk-wie ul { margin: 8px 0; padding-left: 20px; color: var(--text-2); }
.lsk-zweige { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 14px; }
.lsk-zweig h3 { margin: 0 0 4px; }
.lsk-zweig h3 small { color: var(--text-3); font-weight: 500; }
.lsk-knoten { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--rand); }
.lsk-knoten.zu { opacity: .55; }
.lsk-knoten.schluss { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 10%, transparent), transparent); border-radius: 8px; padding-left: 4px; }
.lsk-knoten.hat .lsk-emo { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold) 60%, transparent)); }
.lsk-emo { font-size: 22px; text-align: center; }
.lsk-text { display: grid; min-width: 0; }
.lsk-text small { color: var(--text-3); font-size: 12px; }
.lsk-warum { color: var(--text-3); font-style: italic; }
.lsk-punkte { display: flex; gap: 3px; }
.lsk-punkte i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--rand-stark); }
.lsk-punkte i.an { background: var(--gold); border-color: var(--gold); }
.lsk-plus { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; padding: 8px 16px; border-radius: 99px; background: var(--flaeche);
  border: 1px solid var(--teal); color: var(--text); font-weight: 700; box-shadow: 0 6px 22px rgba(0,0,0,.3); animation: lsk-rein .3s ease-out; transition: opacity .5s, transform .5s; pointer-events: none; }
.lsk-plus.neu { border-color: var(--gold); pointer-events: auto; cursor: pointer; font-size: 16px; }
.lsk-plus.weg { opacity: 0; transform: translate(-50%, -14px); }
@keyframes lsk-rein { from { opacity: 0; transform: translate(-50%, 14px); } }

/* Stadtleben */
.ll-emo { font-size: 30px; line-height: 1; }
.ll-amt, .ll-spezial { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--flaeche-2); }
.ll-amt div, .ll-spezial div { display: grid; flex: 1; min-width: 0; }
.ll-amt small, .ll-spezial small { color: var(--text-3); }
.ll-amt.weg { opacity: .6; }
.ll-liste, .ll-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.ll-kandidaten, .ll-gesucht, .ll-kuerbis { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.ll-kandidaten li, .ll-gesucht li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); }
.ll-kandidaten li div { display: grid; }
.ll-kandidaten li small { color: var(--text-3); font-style: italic; }
.ll-kandidaten li.gewaehlt { outline: 1px solid var(--gold); }
.ll-stimmen { color: var(--text-2); font-size: 13px; }
.ll-antrag { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px; border-radius: 10px; background: color-mix(in srgb, #ec4899 14%, var(--flaeche-2)); margin: 8px 0; }
.ll-topf { font-size: 18px; }
.ll-zahlen { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; max-width: 460px; }
.ll-zahlen button { aspect-ratio: 1; min-width: 0; border-radius: 50%; border: 1px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: 600 14px/1 var(--schrift); cursor: pointer; }
.ll-zahlen button.an { background: var(--gold); color: #1a1406; border-color: var(--gold); }
.ll-zahlen button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ll-knoepfe small { color: var(--text-3); }
.ll-los { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--flaeche-2); margin: 2px 0; }
.ll-tiere { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.ll-tierkarte { display: grid; gap: 4px; justify-items: start; padding: 10px; border-radius: 12px; background: var(--flaeche-2); }
.ll-tierkarte small { color: var(--text-3); font-size: 12px; }
.ll-hunger { color: var(--schlecht); }
.ll-gang-tab { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 10px 0; }
.ll-gang-tab > div { display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: var(--flaeche-2); }
.ll-gang-tab > div.meine { outline: 1px solid var(--gold); }
.ll-gang-tab small { font-size: 12px; color: var(--text-2); }
.ll-zeitung { padding: 12px; border-radius: 6px; background: #f5efe2; color: #231c12; font-family: Georgia, "Times New Roman", serif; margin-bottom: 10px; }
.ll-zeitung h3 { margin: 4px 0; font-size: 20px; }
.ll-z-kopf { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid #231c12; padding-bottom: 4px; }
.ll-gestern ul { margin: 6px 0 0; padding-left: 18px; }

/* Halloween */
.ll-halloween { border-color: #f97316; background: linear-gradient(135deg, color-mix(in srgb, #f97316 12%, var(--flaeche)), var(--flaeche) 60%); }
.ll-halloween.nacht { background: linear-gradient(135deg, #2a1240, #120a1c 70%); color: #f3e8ff; }
.ll-halloween.nacht .klein-grau { color: #c4b5fd; }
.ll-hw { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ll-spuk { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; font-size: 22px; }
.ll-spuk span { filter: grayscale(1); opacity: .35; }
.ll-spuk span.hab { filter: none; opacity: 1; }
.ll-suess { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ll-suess select { min-width: 0; flex: 1 1 140px; }
body.ll-grusel { --gold: #fb923c; }
body.ll-grusel .life-kopf { background: linear-gradient(135deg, #2a1240, var(--flaeche) 70%); }
body.ll-grusel .life-kopf::after { content: "🦇"; position: absolute; right: 18px; top: 10px; font-size: 22px; animation: ll-flatter 3s ease-in-out infinite; }
body.ll-grusel .life-kopf { position: relative; }
@keyframes ll-flatter { 50% { transform: translate(-14px, 6px) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .lsk-frei, body.ll-grusel .life-kopf::after, .lsk-plus { animation: none; } }
.lb-wuerfel { margin-top: 6px; }
@media (max-width: 520px) { .ll-zahlen { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lsk-knoten { grid-template-columns: 26px 1fr auto; } .lsk-punkte { grid-column: 2; grid-row: 2; } .lsk-knoten .knopf { grid-column: 3; grid-row: 1 / span 2; } .lsk-emo { grid-row: 1 / span 2; } }

/* ===== Flygo Extras (0.5.33): Lade-Schimmer, Rundgang, Kompass-404 ===== */
@keyframes lade-schimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.lade-schimmer{background:linear-gradient(90deg,var(--text-3) 30%,var(--text) 50%,var(--text-3) 70%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:lade-schimmer 1.8s linear infinite}
@media (prefers-reduced-motion:reduce){.lade-schimmer{animation:none;color:var(--text-3)!important;background:none}}
.rg-hinter{position:fixed;inset:0;z-index:9999;background:rgba(5,5,8,.72);display:grid;place-items:center;padding:16px;backdrop-filter:blur(3px)}
.rg-box{position:relative;width:min(480px,100%);background:var(--flaeche-1);color:var(--text);border:1px solid var(--rand-stark);border-radius:var(--radius);padding:30px 26px 22px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.rg-x{position:absolute;right:10px;top:8px;border:0;background:none;color:var(--text-3);font-size:26px;cursor:pointer;line-height:1;padding:6px 10px}
.rg-x:hover{color:var(--text)}
.rg-ico{font-size:42px;margin-bottom:6px}
.rg-inhalt h2{font-family:var(--schrift-titel);font-size:24px;margin:0 0 10px}
.rg-inhalt p{color:var(--text-2);line-height:1.55;margin:0}
.rg-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.rg-fuss{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:12px}
.rg-punkte{display:flex;gap:6px}.rg-punkte i{width:8px;height:8px;border-radius:50%;background:var(--rand-stark)}.rg-punkte i.an{background:var(--gold)}
.rg-knoepfe{display:flex;gap:8px}
.kompass-404{text-align:center;padding:12vh 16px 8vh}
.kompass-404 .k-logo{width:min(220px,50vw);margin:0 auto 18px;display:block}
.kompass-404 .k-logo{transform-origin:50% 50%;animation:k-wackeln 7s ease-in-out infinite}
@keyframes k-wackeln{0%,100%{transform:rotate(-9deg)}25%{transform:rotate(11deg)}50%{transform:rotate(-8deg)}75%{transform:rotate(10deg)}}
@media (prefers-reduced-motion:reduce){.kompass-404 .k-logo{animation:none}}
.kompass-404 .k-bereiche{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}

/* ================================================================ 0.5.34: Season-Steuerung */
.ls-countdown { text-align: center; padding: 22px 18px; border-color: var(--gold); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 14%, var(--flaeche)), var(--flaeche) 70%); margin-bottom: 14px; }
.ls-countdown h2 { margin: 4px 0 6px; }
.ls-gross { font-size: clamp(22px, 6vw, 34px); margin: 6px 0; }
.ls-gross b { color: var(--gold); font-variant-numeric: tabular-nums; }
.ls-kapitel { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ls-kapitel > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ls-kapitel small { color: var(--text-2); }
.ls-kapitel .ls-twist { color: var(--text-2); }
.ls-emo { font-size: 30px; line-height: 1; }
.ls-tag { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: var(--flaeche-2); color: var(--text-2); white-space: nowrap; }
.ls-endspurt { display: grid; gap: 4px; margin-bottom: 14px; border-color: var(--schlecht); background: color-mix(in srgb, var(--schlecht) 10%, var(--flaeche)); }
.ls-neuling { margin-bottom: 14px; padding: 10px 14px; border-color: var(--teal); }
.ls-neu { margin-bottom: 14px; border-color: var(--gold); }
.ls-neu-raster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ls-neu-raster ul { margin: 6px 0 10px; padding-left: 18px; }
.ls-neu-raster p { margin: 6px 0; }
.ls-neu-marke { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 99px; background: var(--gold); color: #1a1406; }
.ls-fahrplan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.ls-fahrplan li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 8px 10px; border-radius: 10px; background: var(--flaeche-2); }
.ls-fahrplan small { color: var(--text-3); }
.ls-duell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; margin: 8px 0; }
.ls-duell > div { display: grid; padding: 10px; border-radius: 12px; background: var(--flaeche-2); min-width: 0; }
.ls-duell > div small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-duell > div b { font-size: 18px; font-variant-numeric: tabular-nums; }
.ls-duell > div.vorne { outline: 2px solid var(--gold); }
.ls-optionen { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 8px; }
.ls-option { display: grid; gap: 4px; text-align: left; padding: 12px; border-radius: 12px; border: 2px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: inherit; cursor: pointer; }
.ls-option:hover { border-color: var(--text-3); }
.ls-option.gewaehlt { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--flaeche-2)); }
.ls-option small { color: var(--text-3); }
.ls-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ls-zu { position: relative; }
.ls-zu > *:not(.ls-schloss) { opacity: .35; filter: grayscale(.7); pointer-events: none; user-select: none; }
.ls-schloss { display: grid; gap: 4px; margin-bottom: 12px; border-color: var(--rand-stark); background: var(--flaeche-2); }
.ls-rivale, .ls-abstimmung, .ls-fahrplan { margin-top: 14px; }
@media (max-width: 520px) { .ls-kapitel { flex-wrap: wrap; } .ls-tag { order: -1; } }

/* ================================================================ 0.5.36 Testen vor dem Freigeben */
.ln-test { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px; margin-bottom: 12px; border: 1px dashed var(--gold); background: rgba(212,175,97,.08); font-size: 14px; }
.ln-test .knopf { margin-left: auto; }
.ln-umfrage { margin-bottom: 14px; }
.ln-umfrage h2 small { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 6px; }
.ln-umfrage form { display: grid; gap: 12px; }
.ln-umfrage fieldset { border: 0; padding: 0; margin: 0; }
.ln-umfrage legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.ln-umfrage label { display: grid; gap: 4px; font-size: 14px; }
.ln-umfrage textarea { font: inherit; color: var(--text); background: var(--flaeche-2, transparent); border: 1px solid var(--rand-stark, var(--rand)); border-radius: 8px; padding: 8px; resize: vertical; }
.ln-umfrage .knopf[type=submit] { justify-self: start; }
.ln-umfrage.erledigt { padding: 12px 14px; }
.ln-sterne { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.ln-sterne label { display: block; cursor: pointer; font-size: 30px; line-height: 1; color: var(--text-3); }
.ln-sterne input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ln-sterne label:hover, .ln-sterne label:hover ~ label, .ln-sterne label:has(input:checked), .ln-sterne label:has(input:checked) ~ label { color: var(--gold); }
.ln-sterne input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.ln-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ln-chips label { display: block; cursor: pointer; }
.ln-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ln-chips span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rand-stark, var(--rand)); font-size: 13px; transition: background .15s, border-color .15s; }
.ln-chips input:checked + span { background: rgba(212,175,97,.18); border-color: var(--gold); font-weight: 600; }
.ln-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Szenen */
.ln-vertrag { animation: ln-rein .5s ease-out both; }
.ln-vertrag b { display: block; font-size: 11px; letter-spacing: .08em; color: #5b4a2a; text-align: center; margin-bottom: 8px; }
.ln-haende { left: 50%; bottom: 20px; font-size: 44px; transform: translateX(-50%); animation: ln-plopp .5s cubic-bezier(.3,1.6,.6,1) .7s both; }
.ln-pokal { left: 50%; top: 18px; font-size: 64px; transform: translateX(-50%); animation: ln-plopp .6s cubic-bezier(.3,1.6,.6,1) .2s both; }
.ln-jubel { left: 50%; animation: ln-huepf .6s ease-in-out .8s 3; }
.ln-offen { animation: ln-gitter-auf .7s ease-in .3s both !important; }
.ln-friedhof { background: linear-gradient(#0d111c, #232a3b) !important; }
.ln-grab { left: 42%; bottom: 14px; font-size: 56px; transform: translateX(-50%); }
.ln-geist { left: 60%; bottom: 40px; opacity: 0; animation: ln-geist 2.4s ease-out .5s both; }
@keyframes ln-rein { from { opacity: 0; transform: translateX(-50%) translateY(30px) rotate(-3deg); } to { opacity: 1; transform: translateX(-50%) rotate(-3deg); } }
@keyframes ln-plopp { from { opacity: 0; transform: translateX(-50%) scale(.3); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes ln-huepf { 50% { transform: translateX(-50%) translateY(-14px); } }
@keyframes ln-gitter-auf { from { transform: translateY(0); } to { transform: translateY(-110%); } }
@keyframes ln-geist { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: .9; } 100% { opacity: .75; transform: translate(-30%, -70px); } }
@media (prefers-reduced-motion: reduce) { .ln-vertrag, .ln-haende, .ln-pokal, .ln-jubel, .ln-geist { animation: none; opacity: 1; } .ln-offen { animation: none !important; transform: translateY(-110%); } }
/* Kontrollraum: Freigaben + Spiel-Regler */
.ab-frei-liste { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.ab-frei-liste li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--gold); background: rgba(212,175,97,.06); }
.ab-frei-liste li.live { border-style: solid; border-color: var(--rand); background: transparent; }
.ab-frei-liste li > div { display: grid; gap: 3px; min-width: 0; }
.ab-frei-liste small { color: var(--text-2); font-size: 13px; }
.ab-frei-liste .ab-notiz { color: var(--text-3); font-style: italic; }
.ab-status { justify-self: start; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: rgba(212,175,97,.18); margin-left: 4px; white-space: nowrap; }
.ab-status.live { background: rgba(47,207,115,.15); }
.ab-natur { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ab-regler td small { display: block; color: var(--text-3); font-size: 12px; }
.ab-regler td.zahl { font-variant-numeric: tabular-nums; text-align: center; }
.ab-regler input { width: 80px; font: inherit; color: var(--text); background: var(--flaeche-2, transparent); border: 1px solid var(--rand-stark, var(--rand)); border-radius: 8px; padding: 6px; }
.ab-regler tr.anders input { border-color: var(--gold); background: rgba(212,175,97,.1); }
.ab-regler-knoepfe { white-space: nowrap; }
.ab-regler-knoepfe .knopf + .knopf { margin-left: 4px; }
@media (max-width: 600px) { .ab-frei-liste li { flex-direction: column; } }

/* ================================================================ 0.6.0 Stadtkarte */
.ls3 { margin-bottom: 14px; }
.ls3-buehne { position: relative; height: clamp(440px, 64vh, 660px); border-radius: 18px; overflow: hidden; background: #bcd9e8; border: 1px solid var(--rand); user-select: none; -webkit-user-select: none; }
@media (max-width: 700px) { .ls3-buehne { height: 72vh; border-radius: 14px; } }
.ls3-welt { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.ls3-welt.zeigt { cursor: pointer; }
.ls3-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ls3-lbl { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; background: rgba(255,255,255,.94); color: #1c2620; font: 600 12.5px var(--schrift, system-ui), sans-serif; padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); pointer-events: auto; cursor: pointer; border: 0; transition: opacity .25s; line-height: 1.3; }
.ls3-lbl small { display: block; font-size: 10.5px; text-align: center; color: #1f7a4d; font-weight: 600; }
.ls3-lbl.zu { background: rgba(60,68,76,.92); color: #fff; } .ls3-lbl.zu small { color: #e3e3e3; }
.ls3-lbl.pin { padding: 3px 6px; font-size: 14px; }
.ls3-lbl.pin .nm { display: none; font-size: 12px; margin-left: 4px; }
.ls3-labels.nah .ls3-lbl.pin .nm { display: inline; }
.ls3-lbl.wohn, .ls3-lbl.job { background: #1f7a4d; color: #fff; } .ls3-lbl.wohn small, .ls3-lbl.job small { color: #d6f5e3; }
.ls3-lbl.weg { opacity: 0; pointer-events: none; }
.ls3-lbl:focus-visible, .ls3 button:focus-visible { outline: 3px solid #f6c400; outline-offset: 2px; }
.ls3-oben { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; pointer-events: none; }
.ls3-tafel { background: #f6c400; color: #111; border: 3px solid #111; border-radius: 6px; padding: 1px 12px 3px; box-shadow: inset 0 0 0 2px #f6c400, inset 0 0 0 4px #111, 0 3px 10px rgba(0,0,0,.2); display: grid; }
.ls3-name { font: 700 22px/1.15 var(--schrift-titel, system-ui), sans-serif; }
.ls3-unter { font-size: 11px; font-weight: 600; }
.ls3-chips { display: flex; gap: 6px; flex-wrap: wrap; pointer-events: auto; }
.ls3-chip { border: 0; border-radius: 999px; padding: 7px 12px; font: 600 13px system-ui, sans-serif; background: rgba(255,255,255,.94); color: #1c2620; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; }
.ls3-dock { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; background: rgba(18,26,22,.88); border-radius: 18px; padding: 6px; z-index: 3; }
.ls3-dock button { border: 0; background: transparent; color: #fff; font: 500 12px system-ui, sans-serif; display: grid; justify-items: center; padding: 5px 10px; border-radius: 12px; cursor: pointer; min-width: 58px; }
.ls3-dock button span { font-size: 21px; line-height: 1.15; }
.ls3-dock button:hover, .ls3-dock button[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.ls3-tipp { position: absolute; bottom: 6px; left: 0; right: 0; margin: 0; text-align: center; font-size: 11px; color: rgba(20,30,25,.75); pointer-events: none; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.ls3-panel { position: absolute; right: 12px; top: 62px; width: min(330px, calc(100% - 24px)); max-height: calc(100% - 150px); overflow: auto; background: rgba(255,255,255,.97); color: #1c2620; border-radius: 16px; padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: grid; gap: 10px; z-index: 2; }
.ls3-panel[hidden], .ls3-modal[hidden], .ls3-toast[hidden] { display: none; }
.ls3-panel h3 { margin: 0; font-size: 22px; color: #1c2620; }
.ls3-panel ul, .ls3-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ls3-station { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; border: 1px solid #e1e7e3; background: #f7f9f7; color: #1c2620; border-radius: 12px; padding: 8px 10px; cursor: pointer; font: inherit; }
.ls3-station:hover { border-color: #1f7a4d; }
.ls3-station:disabled { opacity: .5; cursor: default; }
.ls3-station span { font-size: 20px; }
.ls3-station div { flex: 1; min-width: 0; }
.ls3-station small { display: block; color: #5b665f; font-size: 12px; }
.ls3-station i { font-style: normal; color: #1f7a4d; }
.ls3-hinweis { margin: 0; font-size: 13px; color: #5b665f; }
.ls3-panel.unterwelt { background: rgba(28,10,14,.96); color: #f3dfe2; } .ls3-panel.unterwelt h3 { color: #fff; }
.ls3-panel.unterwelt .ls3-station { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #f3dfe2; } .ls3-panel.unterwelt .ls3-station small, .ls3-panel.unterwelt .ls3-hinweis { color: #d6a9b0; }
.ls3-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.ls3-knopf { border: 0; border-radius: 10px; padding: 9px 14px; font: 600 14px system-ui, sans-serif; cursor: pointer; background: #1c2620; color: #fff; }
.ls3-knopf.hell { background: #e9eeea; color: #1c2620; }
.ls3-toast { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); background: rgba(18,26,22,.94); color: #fff; padding: 9px 16px; border-radius: 12px; font-size: 14px; z-index: 6; max-width: calc(100% - 32px); text-align: center; }
.ls3-modal { position: absolute; inset: 0; background: rgba(10,14,12,.55); display: grid; place-items: center; z-index: 5; padding: 12px; }
.ls3-fenster { background: #fff; color: #1c2620; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); width: min(700px, 100%); max-height: 100%; overflow: auto; display: grid; gap: 12px; padding: 16px; }
.ls3-fenster header { display: flex; align-items: center; gap: 10px; }
.ls3-fenster header h3 { margin: 0; font-size: 22px; flex: 1; min-width: 0; color: #1c2620; }
.ls3-zu { border: 0; background: #e9eeea; color: #1c2620; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.ls3-klein { font-size: 13px; color: #5b665f; }
.ls3-reiter { display: flex; gap: 6px; flex-wrap: wrap; }
.ls3-reiter button { border: 1px solid #d3dbd5; background: #fff; color: #1c2620; border-radius: 999px; padding: 5px 12px; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.ls3-reiter button[aria-pressed="true"] { background: #1c2620; color: #fff; border-color: #1c2620; }
.ls3-inv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 640px) { .ls3-inv { grid-template-columns: 1fr; } }
.ls3-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; align-content: start; max-height: 320px; overflow: auto; }
.ls3-slot { aspect-ratio: 1; border-radius: 12px; border: 2px solid #dfe5e1; background: #f5f7f5; display: grid; place-items: center; font-size: 24px; position: relative; cursor: pointer; padding: 0; }
.ls3-slot.leer { cursor: default; opacity: .5; }
.ls3-slot.ungew { border-color: #5bb07a; } .ls3-slot.selten { border-color: #4f8fd6; } .ls3-slot.episch { border-color: #9a4fb0; } .ls3-slot.legendaer { border-color: #d9a400; background: #fff8de; }
.ls3-slot[aria-pressed="true"] { box-shadow: 0 0 0 3px #1c2620; }
.ls3-slot .anz { position: absolute; right: 4px; bottom: 2px; font: 700 11px system-ui, sans-serif; color: #1c2620; }
.ls3-slot .mk { position: absolute; left: 3px; top: 1px; font-size: 11px; }
.ls3-detail { background: #f5f7f5; border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.ls3-detail .gross { font-size: 42px; line-height: 1; }
.ls3-aktionen { display: grid; gap: 6px; margin-top: 4px; } .ls3-aktionen button { text-align: left; }
.ls3-handy { width: min(290px, 100%); height: min(560px, 100%); background: #111; border-radius: 38px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.45); display: grid; }
.ls3-screen { border-radius: 29px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: linear-gradient(160deg, #3a6ea5, #6a4c93 60%, #c0607a); color: #fff; min-height: 0; }
.ls3-status { display: flex; justify-content: space-between; font: 600 12px system-ui, sans-serif; padding: 10px 22px 4px; }
.ls3-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 4px; padding: 18px 12px; align-content: start; }
.ls3-apps button { border: 0; background: transparent; color: #fff; display: grid; justify-items: center; gap: 4px; font: 500 10.5px system-ui, sans-serif; cursor: pointer; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls3-apps .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.ls3-home { display: grid; place-items: center; padding: 6px 0 10px; }
.ls3-home button { width: 110px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.85); cursor: pointer; }
.ls3-tagebuch { background: #f1e3c4; color: #3a2a1c; font-family: Georgia, serif; border: 6px solid #6e4b2c; }
.ls3-tagebuch header h3 { font-family: Georgia, serif; color: #3a2a1c; }
.ls3-tagebuch .ls3-station { background: rgba(255,255,255,.35); border-color: #d6bf90; color: #3a2a1c; }
.ls3-feld { font: 500 15px system-ui, sans-serif; padding: 9px 12px; border-radius: 10px; border: 1px solid #cfd8d2; background: #fff; color: #1c2620; }
.ls3-treffer { display: grid; gap: 4px; max-height: 320px; overflow: auto; }
.ls3-treffer button { display: flex; gap: 10px; align-items: center; border: 0; background: #f5f7f5; border-radius: 10px; padding: 9px 12px; cursor: pointer; text-align: left; font: 500 15px system-ui, sans-serif; color: #1c2620; }
.ls3-treffer button small { margin-left: auto; color: #5b665f; }
@media (max-width: 700px) { .ls3-panel { top: auto; bottom: 86px; max-height: 50%; } .ls3-dock button { min-width: 50px; padding: 5px 6px; } .ls3-lbl { font-size: 11px; padding: 2px 7px; } .ls3-name { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .ls3 * { transition: none !important; } }
/* Rangliste: Erfahrungsstufe */
.life-stufe { display: inline-block; background: #1f7a4d; color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }
/* Kontrollraum: Stadtkarte */
.ab-stadt { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; }
.ab-stadt label { display: grid; gap: 3px; font-size: 13px; color: var(--text-2); }
.ab-stadt select { font: inherit; color: var(--text); background: var(--flaeche-2, transparent); border: 1px solid var(--rand); border-radius: 8px; padding: 7px 8px; }

/* ================================================================ 0.6.1 Stadt als Startseite */
@font-face{font-family:"Barlow Semi Condensed";font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Barlow Semi Condensed";font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2")}
/* Ortstafel wie Zeichen 310 */
.ls3-oben { right: auto; flex-direction: column; align-items: flex-start; max-width: 46%; }
.ls3-tafel { background: #f6c400; color: #111; border: 0; border-radius: 11px; padding: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 4px 14px rgba(0,0,0,.28); display: block; }
.ls3-tafel-in { border: 3.5px solid #111; border-radius: 8px; padding: 5px 26px 7px; display: grid; justify-items: center; line-height: 1; }
.ls3-name { font: 600 34px/1.02 "Barlow Semi Condensed", "Arial Narrow", sans-serif; letter-spacing: .2px; white-space: nowrap; }
.ls3-unter { font: 500 15px/1.2 "Barlow Semi Condensed", "Arial Narrow", sans-serif; margin-top: 3px; }
/* Statusleiste */
.ls3-hud { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 52%; z-index: 2; }
.ls3-pill { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 6px 11px; background: rgba(18,26,22,.86); color: #fff; font: 600 13.5px system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; white-space: nowrap; }
.ls3-pill small { color: rgba(255,255,255,.7); font-size: 11px; }
.ls3-pill.still { cursor: default; } .ls3-pill.leer { background: #a8322a; } .ls3-pill.neu { background: #1f7a4d; }
.ls3-balken { display: inline-block; width: 38px; height: 6px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; } .ls3-balken i { display: block; height: 100%; background: #f6c400; }
.ls3-punkt { font-style: normal; background: #f6c400; color: #111; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.ls3-chip.warn { background: #a8322a; color: #fff; }
.ls3-dock button[hidden] { display: none; }
.ls3-tipp { display: none; }
/* Groß: fast ganze Bildschirmbreite und -höhe */
.ls3.ls3-voll { margin-inline: calc(50% - min(50vw - 12px, 860px)); }
.ls3.ls3-voll .ls3-buehne { height: max(520px, calc(100svh - 86px)); border-radius: 16px; }
/* Ohne Reiter: alles läuft über die Karte */
#life.ls3-modus > .life-kopf, #life.ls3-modus .life-reiter { display: none !important; }
#life.ls3-modus #life-tab-start > .lw-ausdauer { display: none; }
#ls3-zur-karte { margin: 0 0 8px; }
/* Ort betreten = Vollbild über der Karte */
html.ls3-innen-an, html.ls3-innen-an body { overflow: hidden; }
#life.ls3-innen .life-tab:not([hidden]):not([data-tab="start"]) { position: fixed; inset: 58px 0 0 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); margin: 0; align-content: start; align-items: start; grid-auto-rows: max-content; padding: 18px max(16px, calc(50vw - 580px)) 64px; animation: ls3rein .22s ease-out; }
@keyframes ls3rein { from { opacity: 0; transform: translateY(14px); } }
.ls3-innenkopf { position: fixed; top: 0; left: 0; right: 0; height: 58px; z-index: 71; display: flex; align-items: center; gap: 12px; padding: 0 max(12px, calc(50vw - 580px)); background: var(--bg); box-shadow: 0 2px 10px rgba(0,0,0,.08); border-bottom: 1px solid var(--rand); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ls3-innenkopf[hidden] { display: none; }
.ls3-heim { border: 0; background: #f6c400; color: #111; font: 700 14px system-ui, sans-serif; border-radius: 999px; padding: 9px 15px; cursor: pointer; white-space: nowrap; }
.ls3-heim:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.ls3-innen-titel { font: 700 18px var(--schrift-titel, system-ui), sans-serif; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls3-innen-stand { font: 600 13px system-ui, sans-serif; color: var(--text-2); white-space: nowrap; }
@media (max-width: 700px) {
  .ls3.ls3-voll { margin-inline: calc(50% - 50vw + 6px); }
  .ls3.ls3-voll .ls3-buehne { border-radius: 12px; }
  .ls3-hud { left: 8px; right: 8px; top: 8px; max-width: none; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ls3-pill { padding: 5px 9px; font-size: 12.5px; } .ls3-balken { width: 26px; }
  .ls3-oben { top: 50px; left: 8px; max-width: 70%; }
  .ls3-name { font-size: 24px; } .ls3-unter { font-size: 12px; } .ls3-tafel-in { padding: 4px 16px 6px; border-width: 3px; } .ls3-tafel { padding: 4px; }
  .ls3-innen-stand { display: none; }
}
@media (max-width: 820px) { .ls3.ls3-voll .ls3-buehne { height: max(460px, calc(100svh - 76px - 66px - env(safe-area-inset-bottom))); } .ls3-dock { bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { #life.ls3-innen .life-tab { animation: none !important; } }

/* ================================================================ 0.6.2 Skill-Baum als echter Baum (immer dunkel – Sternenhimmel) */
.lsk3 { --lsk3-nacht: #0a0f1d; --lsk3-nacht-2: #121a2e; --lsk3-linie: #2a3552; --lsk3-text: #e9edf6; --lsk3-text-2: #8d97b3; --lsk3-gold: #f2b84b;
  color: var(--lsk3-text); background: radial-gradient(ellipse at 50% 45%, var(--lsk3-nacht-2), var(--lsk3-nacht) 72%); border: 1px solid var(--lsk3-linie); border-radius: 22px; overflow: hidden; position: relative; display: grid; gap: 0; }
.lsk3::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #cfd8f5, transparent), radial-gradient(1px 1px at 33% 72%, #cfd8f5, transparent), radial-gradient(1.4px 1.4px at 58% 12%, #cfd8f5, transparent),
    radial-gradient(1px 1px at 81% 40%, #cfd8f5, transparent), radial-gradient(1.2px 1.2px at 92% 86%, #cfd8f5, transparent), radial-gradient(1px 1px at 6% 90%, #cfd8f5, transparent),
    radial-gradient(1px 1px at 47% 52%, #cfd8f5, transparent), radial-gradient(1.3px 1.3px at 70% 64%, #cfd8f5, transparent);
  background-size: 260px 260px; animation: lsk3-funkeln 6s ease-in-out infinite alternate; }
@keyframes lsk3-funkeln { from { opacity: .45; } to { opacity: .85; } }
.lsk3 > * { position: relative; }
.lsk3-kopf { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px 0; }
.lsk3-kopf h2 { margin: 0; font: 700 22px var(--schrift-titel, system-ui), sans-serif; color: var(--lsk3-text); }
.lsk3-frei { background: var(--lsk3-gold); color: var(--lsk3-nacht); border-radius: 999px; padding: 4px 12px; font-size: 13px; animation: lsk3-atmen 2.4s ease-in-out infinite; }
@keyframes lsk3-atmen { 50% { box-shadow: 0 0 14px var(--lsk3-gold); } }
.lsk3-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.lsk3-scroller { overflow: auto; min-width: 0; scrollbar-width: thin; }
.lsk3-svg { display: block; width: 100%; height: auto; aspect-ratio: 1.143; min-width: 640px; }
.lsk3-raute { fill-opacity: .045; stroke-opacity: .28; stroke-width: 1.5; }
.lsk3-zt { font: 700 21px var(--schrift-titel, system-ui), sans-serif; letter-spacing: 2px; text-transform: uppercase; text-anchor: middle; }
.lsk3-zu { font: 500 15px var(--schrift, system-ui), sans-serif; fill: var(--lsk3-text-2); text-anchor: middle; }
.lsk3-k { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.lsk3-k.zu { stroke: #3a4562; opacity: .55; }
.lsk3-k.offen { stroke: #c9d2ea; opacity: .55; stroke-dasharray: 2 7; }
.lsk3-k.an { stroke-width: 4; filter: url(#lsk3-glow); }
.lsk3-k.stein { stroke-dasharray: 7 7; }
.lsk3-n { cursor: pointer; outline: none; }
.lsk3-platte { fill: #10172a; stroke: #3a4562; stroke-width: 2.5; }
.lsk3-n.offen .lsk3-platte { stroke: #e9edf6; }
.lsk3-n:hover .lsk3-platte, .lsk3-n:focus-visible .lsk3-platte { stroke-width: 4; }
.lsk3-n:focus-visible .lsk3-platte { stroke: #fff; }
.lsk3-emo { font-size: 21px; text-anchor: middle; dominant-baseline: central; filter: grayscale(1) brightness(.7); pointer-events: none; }
.lsk3-n.an .lsk3-emo, .lsk3-n.offen .lsk3-emo { filter: none; }
.lsk3-puls { fill: none; stroke: #e9edf6; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: lsk3-puls 2.2s ease-out infinite; }
@keyframes lsk3-puls { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
.lsk3-ring { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 4 5; }
.lsk3-n.blitz .lsk3-platte { transform-box: fill-box; transform-origin: center; animation: lsk3-blitz .8s ease-out; }
@keyframes lsk3-blitz { 0% { transform: scale(1); } 35% { transform: scale(1.4); } 100% { transform: scale(1); } }
.lsk3-kring { fill: none; stroke: var(--lsk3-gold); stroke-opacity: .4; stroke-width: 2; }
.lsk3-kball { fill: var(--lsk3-gold); }
.lsk3-kt { font: 700 13px var(--schrift-titel, system-ui), sans-serif; text-anchor: middle; fill: var(--lsk3-nacht); }
.lsk3-kz { font: 700 30px var(--schrift-titel, system-ui), sans-serif; text-anchor: middle; fill: var(--lsk3-nacht); }
.lsk3-info { margin: 16px 16px 16px 0; background: rgba(10,15,29,.88); border: 1px solid var(--lsk3-linie); border-radius: 16px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.45); position: sticky; top: 76px; }
.lsk3-izw { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.lsk3-info h3 { margin: 0; font: 700 19px/1.2 var(--schrift-titel, system-ui), sans-serif; display: flex; gap: 10px; align-items: center; color: var(--lsk3-text); }
.lsk3-info h3 span { font-size: 28px; }
.lsk3-stufe { display: flex; gap: 6px; align-items: center; color: var(--lsk3-text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.lsk3-stufe i { width: 22px; height: 6px; border-radius: 3px; background: var(--lsk3-linie); display: inline-block; }
.lsk3-wirk { margin: 0; font-size: 15px; line-height: 1.45; color: var(--lsk3-text); }
.lsk3-warum { margin: 0; font-size: 13px; color: var(--lsk3-text-2); }
.lsk3-lernen { border: 0; border-radius: 12px; padding: 11px 14px; font: 700 15px var(--schrift, system-ui), sans-serif; cursor: pointer; color: #10172a; }
.lsk3-lernen:disabled { background: var(--lsk3-linie) !important; color: var(--lsk3-text-2); cursor: default; }
.lsk3-lernen:focus-visible, .lsk3-knopf:focus-visible { outline: 3px solid var(--lsk3-text); outline-offset: 2px; }
.lsk3-fuss { justify-self: center; display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; justify-content: center; background: rgba(10,15,29,.85); border: 1px solid var(--lsk3-linie); border-radius: 999px; padding: 8px 14px 8px 10px; margin: 0 12px 14px; }
.lsk3-punkte { font: 700 15px var(--schrift-titel, system-ui), sans-serif; display: flex; gap: 8px; align-items: center; color: var(--lsk3-text); }
.lsk3-punkte b { background: var(--lsk3-gold); color: var(--lsk3-nacht); border-radius: 999px; min-width: 30px; height: 30px; display: grid; place-items: center; }
.lsk3-xp { display: grid; gap: 3px; font-size: 12px; color: var(--lsk3-text-2); font-variant-numeric: tabular-nums; }
.lsk3-xp span { width: 160px; height: 7px; border-radius: 4px; background: var(--lsk3-linie); overflow: hidden; display: block; }
.lsk3-xp span i { display: block; height: 100%; background: linear-gradient(90deg, var(--lsk3-gold), #ffe08f); }
.lsk3-knopf { border: 1px solid var(--lsk3-linie); background: transparent; color: var(--lsk3-text-2); border-radius: 999px; padding: 6px 12px; font: 600 12.5px var(--schrift, system-ui), sans-serif; cursor: pointer; }
.lsk3-knopf:disabled { opacity: .5; cursor: default; }
.lsk3-wie { margin: 0 18px 10px; color: var(--lsk3-text-2); font-size: 14px; }
.lsk3-wie summary { cursor: pointer; color: var(--lsk3-text); font-weight: 600; }
.lsk3-legende { margin: 0 18px 16px; display: flex; gap: 6px 18px; flex-wrap: wrap; color: var(--lsk3-text-2); font-size: 12.5px; }
.lsk3-legende span { display: inline-flex; gap: 7px; align-items: center; }
.lsk3-legende i { width: 13px; height: 13px; border-radius: 50%; display: inline-block; border: 2.5px solid #3a4562; background: #10172a; }
.lsk3-legende i.o { border-color: #e9edf6; } .lsk3-legende i.a { border-color: var(--lsk3-gold); background: #4d3f1e; box-shadow: 0 0 8px var(--lsk3-gold); }
@media (max-width: 760px) {
  .lsk3-buehne { grid-template-columns: minmax(0, 1fr); }
  .lsk3-info { margin: 0 12px 12px; position: static; }
  .lsk3-fuss { border-radius: 18px; }
  .lsk3-xp span { width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .lsk3::before, .lsk3-puls, .lsk3-frei, .lsk3-n.blitz .lsk3-platte { animation: none !important; } }

/* ================================================================ 0.6.3 Symbole, Sortieren, Dunkelmodus, Spiel-Handy */
/* Eigene Symbole (life-icons.js) */
.fi-w { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -.32em; line-height: 0; }
.fi-w.gross { width: 1.15em; height: 1.15em; max-width: 44px; max-height: 44px; vertical-align: middle; }
.fi-w svg, .ls3-slot svg, .ls3-detail .gross svg { width: 100%; height: 100%; display: block; }
.ls3-slot svg { width: 74%; height: 74%; }
.ls3-detail .gross { width: 64px; height: 64px; }
/* Rucksack: Sortieren */
.ls3-sortleiste { display: flex; gap: 6px; align-items: center; }
.ls3-sort { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ls3-t2); }
.ls3-sort select, .ls3-richtung { font: 600 13px system-ui, sans-serif; color: var(--ls3-t); background: var(--ls3-f2); border: 1px solid var(--ls3-r); border-radius: 10px; padding: 6px 8px; cursor: pointer; }
.ls3-richtung { min-width: 34px; }

/* Dunkelmodus: alle Fenster der Stadtkarte nutzen dieselben Farben */
:root { --ls3-f: #ffffff; --ls3-f2: #f5f7f5; --ls3-t: #1c2620; --ls3-t2: #5b665f; --ls3-r: #dfe5e1; --ls3-lbl: rgba(255,255,255,.94); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ls3-f: #18211c; --ls3-f2: #222d27; --ls3-t: #e8efe9; --ls3-t2: #9aa89f; --ls3-r: #2f3d35; --ls3-lbl: rgba(24,33,28,.92); } }
:root[data-theme="dark"] { --ls3-f: #18211c; --ls3-f2: #222d27; --ls3-t: #e8efe9; --ls3-t2: #9aa89f; --ls3-r: #2f3d35; --ls3-lbl: rgba(24,33,28,.92); }
.ls3-lbl, .ls3-chip { background: var(--ls3-lbl); color: var(--ls3-t); }
.ls3-panel, .ls3-fenster { background: var(--ls3-f); color: var(--ls3-t); }
.ls3-panel:not(.unterwelt) h3, .ls3-fenster header h3 { color: var(--ls3-t); }
.ls3-panel:not(.unterwelt) .ls3-station, .ls3-fenster:not(.ls3-tagebuch) .ls3-station { background: var(--ls3-f2); border-color: var(--ls3-r); color: var(--ls3-t); }
.ls3-station small, .ls3-hinweis, .ls3-klein { color: var(--ls3-t2); }
.ls3-knopf.hell, .ls3-zu { background: var(--ls3-f2); color: var(--ls3-t); }
.ls3-reiter button { background: var(--ls3-f); color: var(--ls3-t); border-color: var(--ls3-r); }
.ls3-reiter button[aria-pressed="true"] { background: var(--ls3-t); color: var(--ls3-f); border-color: var(--ls3-t); }
.ls3-slot { background: var(--ls3-f2); border-color: var(--ls3-r); }
.ls3-slot .anz { color: var(--ls3-t); }
.ls3-slot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ls3-t); }
.ls3-slot.legendaer { background: color-mix(in srgb, #ffd457 22%, var(--ls3-f2)); }
.ls3-detail, .ls3-treffer button { background: var(--ls3-f2); color: var(--ls3-t); }
.ls3-feld { background: var(--ls3-f); color: var(--ls3-t); border-color: var(--ls3-r); }
.ls3-treffer button small { color: var(--ls3-t2); }
.ls3-dock button[aria-pressed="true"] { background: rgba(255,255,255,.14); }

/* App-Start im kleinen Handy */
.ls3-screen { position: relative; }
.ls3-blase { position: absolute; z-index: 5; border-radius: 14px; display: grid; place-items: center; font-size: 24px; transition: all .34s cubic-bezier(.3,.7,.2,1); }
.ls3-blase.voll { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; font-size: 54px; }

/* Das große Spiel-Handy */
.ls3-hhinter { position: fixed; inset: 0; z-index: 68; background: rgba(8,12,10,.62); opacity: 0; transition: opacity .3s; }
.ls3-hhinter.an { opacity: 1; }
.ls3-hrahmen { position: fixed; z-index: 75; box-sizing: border-box; border: 10px solid #111; border-radius: 38px; background: transparent; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px #333; pointer-events: none; transition: left .38s cubic-bezier(.3,.7,.2,1), top .38s cubic-bezier(.3,.7,.2,1), width .38s cubic-bezier(.3,.7,.2,1), height .38s cubic-bezier(.3,.7,.2,1), border-radius .38s, opacity .3s; }
.ls3-hrahmen.klein { opacity: 0; }
.ls3-hrahmen.dreh-hin { animation: ls3DrehHin .62s cubic-bezier(.3,.7,.2,1); transition: none; }
.ls3-hrahmen.dreh-zurueck { animation: ls3DrehZurueck .62s cubic-bezier(.3,.7,.2,1); transition: none; }
@keyframes ls3DrehHin { from { transform: rotate(90deg) scale(.9); } 60% { transform: rotate(-3deg) scale(1.01); } to { transform: none; } }
@keyframes ls3DrehZurueck { from { transform: rotate(-90deg) scale(.9); } 60% { transform: rotate(3deg) scale(1.01); } to { transform: none; } }
.ls3-hschirm { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; font-size: 64px; transition: opacity .25s; overflow: hidden; }
.ls3-hrahmen .ls3-hschirm { border-radius: calc(var(--hr, 28px)); }
.ls3-hschirm.weg { opacity: 0; }
.ls3-hhome { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; border: 0; background: rgba(120,128,124,.75); pointer-events: auto; cursor: pointer; padding: 0; }
.ls3-hhome::before { content: ""; position: absolute; inset: -12px -10px; }
.ls3-hhome:focus-visible { outline: 3px solid #f6c400; outline-offset: 4px; }
/* Inhalt im Handy: Kopfzeile oben im Bildschirm, Seite darunter */
html.ls3-imhandy-an .ls3-innenkopf { left: var(--hx); top: var(--hy); width: var(--hw); right: auto; height: 58px; z-index: 73; border-radius: var(--hr) var(--hr) 0 0; padding: 14px 16px 0; background: var(--happ); border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.ls3-imhandy-an .ls3-innen-titel { color: #fff; font-size: 16px; }
html.ls3-imhandy-an .ls3-innen-stand { color: rgba(255,255,255,.85); }
html.ls3-imhandy-an .ls3-heim { background: rgba(255,255,255,.24); color: #fff; padding: 7px 12px; }
#life.ls3-innen.ls3-imhandy .life-tab:not([hidden]):not([data-tab="start"]) { inset: auto; left: var(--hx); top: calc(var(--hy) + 58px); width: var(--hw); height: calc(var(--hh) - 58px); z-index: 72; border-radius: 0 0 var(--hr) var(--hr); padding: 14px 14px 36px; box-sizing: border-box; animation: ls3reinH .28s ease-out; }
@keyframes ls3reinH { from { opacity: 0; transform: scale(.97); } }
@media (max-width: 700px) {
  .ls3-hrahmen { border-width: 0; border-radius: 0; box-shadow: none; }
  html.ls3-imhandy-an .ls3-innenkopf { padding-top: max(10px, env(safe-area-inset-top, 0px)); height: calc(58px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .ls3-blase, .ls3-hrahmen, .ls3-hhinter { transition: none !important; animation: none !important; } }

/* ================================================================ 0.6.4-1 Hotfix: Spiele & Fenster liegen über der Vollbild-Ansicht und dem Spiel-Handy */
.life-timing, .life-timing.ls-overlay, .ls-overlay, .sz-overlay, .lt-prahl, .lsk-plus { z-index: 80 !important; }

/* ================================================================ 0.6.5 Leichter zurechtfinden */
/* Karte am Handy: ein Finger bewegt die Karte, die Seite zoomt dort nie mit */
.ls3.ls3-voll .ls3-welt, .ls3.ls3-voll .ls3-labels, .ls3.ls3-voll .ls3-lbl, .ls3.ls3-voll .ls3-tafel { touch-action: none; }
.ls3-zoom { position: absolute; right: 12px; bottom: 30px; display: grid; gap: 6px; z-index: 3; }
.ls3-zoom button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(18,26,22,.88); color: #fff; font: 600 22px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.ls3-zoom button:focus-visible, .ls3-tagknopf:focus-visible { outline: 3px solid #f6c400; outline-offset: 2px; }
.ls3-tagknopf { position: absolute; left: 12px; bottom: 30px; z-index: 3; border: 0; border-radius: 999px; padding: 9px 14px; background: rgba(18,26,22,.88); color: #fff; font: 600 13px system-ui, sans-serif; cursor: pointer; display: none; }
.ls3.ls3-voll .ls3-tagknopf { display: block; }
@media (max-width: 820px) { .ls3-zoom { bottom: 84px; right: 8px; } .ls3-tagknopf { bottom: 84px; left: 8px; padding: 8px 12px; } }
/* Rucksack: Verkaufen-Knöpfe */
.ls3-aktionen .ls3-knopf small { opacity: .75; font-weight: 500; margin-left: 4px; }
/* Inventar: Mehrfachauswahl */
.life-item.waehlbar { cursor: pointer; }
.life-item.gewaehlt { outline: 3px solid var(--gold, #e0a92a); outline-offset: -1px; }
.li-haken { width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--gold, #e0a92a); flex: none; cursor: pointer; }
.life-inv-wahl { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--flaeche-1, #fff); border: 1px solid var(--rand); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.life-inv-wahl[hidden] { display: none; }
.liw-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 820px) { .life-inv-wahl { bottom: 74px; } }
/* Hotfix 0.6.4-1 sicherheitshalber mit drin: Spiele & Fenster über Vollbild und Spiel-Handy */
.life-timing, .life-timing.ls-overlay, .ls-overlay, .sz-overlay, .lt-prahl, .lsk-plus { z-index: 80 !important; }

/* ================================================================ 0.6.6 📝 Fragebogen „Spielgefühl“ */
.lfb-ov { position: fixed; inset: 0; z-index: 86; display: grid; place-items: center; padding: 16px; background: rgba(6,10,8,.62); animation: lfbRein .25s ease-out; }
@keyframes lfbRein { from { opacity: 0; } }
.lfb-box { width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 22px 20px 18px; border-radius: 20px; background: var(--flaeche-1); color: var(--text); border: 1px solid var(--rand-stark); box-shadow: 0 30px 80px rgba(0,0,0,.45); font-family: var(--schrift); }
.lfb-box p { margin: 6px 0; color: var(--text-2); line-height: 1.45; }
.lfb-emoji { font-size: 44px; text-align: center; }
.lfb-frage { font: 700 20px/1.3 var(--schrift-titel); margin: 4px 0 12px; color: var(--text); }
.lfb-emoji + .lfb-frage { text-align: center; }
.lfb-fortschritt { height: 6px; border-radius: 3px; background: var(--flaeche-3); overflow: hidden; }
.lfb-fortschritt i { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.lfb-zahl { font-size: 13px; color: var(--text-3) !important; margin: 10px 0 0 !important; }
.lfb-lohn { text-align: center; font-size: 16px; color: var(--text) !important; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.lfb-hinweis { font-size: 13px; color: var(--text-3) !important; }
.lfb-optionen { display: grid; gap: 8px; margin: 8px 0 4px; }
.lfb-optionen.bilder { grid-template-columns: 1fr 1fr; }
.lfb-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: 600 15px var(--schrift); text-align: left; cursor: pointer; }
.lfb-optionen.bilder .lfb-opt { flex-direction: column; align-items: stretch; text-align: center; padding: 8px; font-size: 13px; }
.lfb-opt svg { width: 100%; height: auto; border-radius: 6px; }
.lfb-opt:hover { border-color: var(--gold); }
.lfb-opt[aria-checked="true"], .lfb-opt[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 18%, var(--flaeche-2)); }
.lfb-opt[aria-pressed="true"]::after { content: "✓"; margin-left: auto; color: var(--gold); font-weight: 800; }
.lfb-opt:focus-visible, .lfb-sterne button:focus-visible, .lfb-text:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.lfb-sterne { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; }
.lfb-sterne button { width: 52px; height: 52px; border: 0; background: none; font-size: 40px; line-height: 1; color: var(--rand-stark); cursor: pointer; padding: 0; }
.lfb-sterne button.an { color: #f0b429; }
.lfb-skala { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); padding: 0 6px; }
.lfb-text { width: 100%; box-sizing: border-box; min-height: 110px; padding: 12px; border-radius: 12px; border: 2px solid var(--rand-stark); background: var(--flaeche-2); color: var(--text); font: 15px/1.4 var(--schrift); resize: vertical; }
.lfb-knoepfe { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.lfb-knoepfe.senkrecht { flex-direction: column; align-items: stretch; }
.lfb-knoepfe .knopf { min-height: 44px; }
.lfb-leise { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .lfb-ov { animation: none; } .lfb-fortschritt i { transition: none; } }

/* ===== 0.6.7: 🧪 PBE – Testserver (nur unter /pbe/ aktiv: html[data-welt="pbe"]) ===== */
:root { --pbe: #8b5cf6; --pbe-hell: #c4b5fd; --pbe-dunkel: #4c1d95; }
html[data-welt="pbe"] { --gold: #b794f6; --gold-hell: #ddd0ff; --gold-dunkel: #5b3ba8; }
html[data-welt="pbe"]::after { content: ""; position: fixed; inset: 0; border: 3px solid var(--pbe); pointer-events: none; z-index: 9998; }
html[data-welt="pbe"] .knopf.gold { background: linear-gradient(180deg, #c4b5fd, #8b5cf6); color: #170b33; }
.pbe-band { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px max(16px, env(safe-area-inset-left, 0px));
  background: repeating-linear-gradient(135deg, #2e1065 0 14px, #3b1580 14px 28px); color: #f3eeff; font: 500 14px/1.3 var(--schrift, system-ui); border-bottom: 2px solid var(--pbe); }
.pbe-band .pbe-marke { font-weight: 800; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: #f59e0b; color: #1f1300; }
.pbe-band .pbe-text { flex: 1 1 260px; }
.pbe-band .pbe-hinweis { color: #d6c8ff; }
.pbe-band .pbe-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pbe-band a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pbe-band a:hover, .pbe-band a:focus-visible { color: #fde68a; }
.pbe-sperre { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(10, 6, 24, .82); }
.pbe-sperre .karte { max-width: 460px; }
.pbe-sperre .karte p:last-child { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
/* Startseite /pbe/ */
.pbe-kopf { padding: 48px 0 8px; }
.pbe-kopf h1 { margin: 6px 0 8px; }
.pbe-schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; }
.pbe-schritte li { counter-increment: s; padding: 12px 14px 12px 46px; position: relative; border-radius: 14px; background: var(--flaeche-1); border: 1px solid var(--rand); color: var(--text-2); font-size: 14px; }
.pbe-schritte li::before { content: counter(s); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pbe); color: #fff; font-weight: 700; font-size: 13px; }
#pbe-inhalt { display: grid; gap: 16px; margin: 20px 0 48px; }
.pbe-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pbe-build h2, .pbe-welt h2, .pbe-tester h2, .pbe-liste h2 { margin: 0 0 8px; font-size: 20px; }
.pbe-build ul { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); }
.pbe-build .ueberzeile { margin: 0; }
.pbe-los { margin: 6px 0 12px; }
.pbe-werkzeug { display: flex; flex-wrap: wrap; gap: 6px; }
.pbe-werkzeug .pbe-flygo { border-color: var(--pbe); }
.pbe-liste { display: grid; gap: 12px; }
.pbe-liste-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pbe-liste > .klein-grau { margin: -6px 0 0; }
.pbe-punkt { display: grid; gap: 10px; }
.pbe-punkt-kopf { display: flex; gap: 12px; align-items: flex-start; }
.pbe-punkt-kopf h3 { margin: 0 0 6px; font-size: 17px; }
.pbe-emoji { font-size: 26px; line-height: 1; }
.pbe-schnitt { margin-left: 8px; color: var(--gold-hell); font-weight: 700; font-size: 14px; }
.pbe-punkt-text { margin: 0; color: var(--text-2); }
.pbe-status-ok { border-color: #2fcf73; } .pbe-status-arbeit { opacity: .85; } .pbe-status-geplant { border-color: #f59e0b; }
.pbe-bewerten { display: grid; gap: 8px; }
.pbe-bewerten label { display: grid; gap: 4px; font-size: 14px; color: var(--text-2); }
.pbe-bewerten textarea { font: inherit; color: var(--text); background: var(--flaeche-2, var(--flaeche-1)); border: 1px solid var(--rand-stark); border-radius: 10px; padding: 8px 10px; resize: vertical; }
.pbe-sterne { display: flex; gap: 2px; }
.pbe-sterne button { border: 0; background: none; font-size: 30px; line-height: 1; padding: 2px 4px; cursor: pointer; color: var(--text-3); transition: transform .1s, color .1s; }
.pbe-sterne button.an { color: #f5b301; }
.pbe-sterne button:hover { transform: scale(1.12); }
.pbe-sterne button:focus-visible { outline: 2px solid var(--pbe); border-radius: 6px; }
.pbe-zeile { display: flex; flex-wrap: wrap; gap: 8px; }
.pbe-mein { display: grid; gap: 4px; justify-items: start; color: var(--text-2); font-size: 14px; }
.pbe-mein span { color: #f5b301; letter-spacing: 1px; }
.pbe-mein p { margin: 0; }
.pbe-sperre-karte { max-width: 560px; }
@media (prefers-reduced-motion: reduce) { .pbe-sterne button { transition: none; } }

/* 0.6.10: Feedback – Meine Meldungen (Spieler) und Stufen im Kontrollraum */
.fb-box { width: min(520px, 100%); max-height: 90vh; overflow: auto; }
.fb-reiter { display: flex; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche-2); }
.fb-reiter button { flex: 1; font: inherit; font-size: 14px; font-weight: 600; border: 0; background: none; color: var(--text-2); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.fb-reiter button[aria-selected="true"] { background: var(--gold); color: #10141c; }
.fb-reiter button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fb-panel { display: grid; gap: 12px; }
.fb-panel[hidden] { display: none; }
.fb-art span { padding: 9px 6px; font-size: 14px; }
.fb-meine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fb-m { padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--rand); display: grid; gap: 6px; }
.fb-m p { margin: 0; overflow-wrap: anywhere; }
.fb-m-kopf { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--text-3); }
.fb-chip, .adm-fb-chip { font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche-1); color: var(--text-2); white-space: nowrap; }
.fb-chip.st-neu, .adm-fb-chip.st-neu { color: #6c9cff; border-color: currentColor; }
.fb-chip.st-geplant, .adm-fb-chip.st-geplant { color: #b48cff; border-color: currentColor; }
.fb-chip.st-arbeit, .adm-fb-chip.st-arbeit { color: var(--warn); border-color: currentColor; }
.fb-chip.st-umgesetzt, .adm-fb-chip.st-umgesetzt { color: var(--gut); border-color: currentColor; }
.fb-chip.st-abgelehnt, .adm-fb-chip.st-abgelehnt { color: var(--schlecht); border-color: currentColor; }
.adm-fb-chip.bug { color: var(--schlecht); }
.fb-antwort, .adm-fb-notiz { font-size: 13.5px; color: var(--text-2); background: var(--flaeche-1); border: 1px dashed var(--rand-stark, var(--rand)); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; }
.fb-schritte { display: flex; gap: 4px; }
.fb-schritte i { flex: 1; height: 5px; border-radius: 999px; background: var(--rand); }
.fb-schritte i.an { background: var(--gold); }
.fb-schritte i.ab { background: var(--schlecht); }
.adm-fb-filter button b { font-variant-numeric: tabular-nums; }
.adm-fb li.fb-neu { border-left-color: #6c9cff; }
.adm-fb li.bug { border-left-color: #ef5b5b; }
.adm-fb li.fb-umgesetzt, .adm-fb li.fb-abgelehnt { opacity: .78; }
.adm-fb-kopf { align-items: center; }
.adm-fb-plus { color: var(--text-2); }
.adm-fb-stufen { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-fb-stufen button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.adm-fb-pbe { font-size: 13px; color: var(--text-2); align-self: center; }
.adm-fb-doppelt summary, .adm-fb-archiv summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
.adm-fb-doppelt ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.adm-fb-doppelt li { background: none; padding: 0; border: 0; display: list-item; }
.adm-fb-archiv { margin-top: 12px; border-top: 1px solid var(--rand); padding-top: 10px; }
.adm-fb-archiv > .adm-fb { margin-top: 10px; }
.adm-fb-vorschau { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); border-radius: 8px; background: var(--flaeche-2); overflow-wrap: anywhere; }
.adm-fb-woche { margin: 12px 0 0; }

/* ================================================================ 0.6.37: Flygo-Life als Eingang – Leiste, Handy-Leiste, Glocken-Fenster, Willkommensseite */
@font-face { font-family: "S2 Bricolage"; font-weight: 700; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "S2 Bricolage"; font-weight: 800; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "S2 Nunito"; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/nunito-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "S2 Nunito"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "S2 Nunito"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2"); }

/* Leiste oben: Flygo-Life als goldene Pille vorn */
.nav-links a.nav-life { gap: 7px; padding: 7px 14px 7px 9px; border-radius: 999px; font-weight: 700; color: var(--gold-hell);
  background: linear-gradient(135deg, rgba(242,181,68,.20), rgba(99,214,198,.10)); border: 1px solid rgba(242,181,68,.55);
  box-shadow: 0 0 18px rgba(242,181,68,.18); margin-right: 6px; transition: background .15s, box-shadow .15s, transform .15s; }
.nav-links a.nav-life:hover { color: var(--gold-hell); background: linear-gradient(135deg, rgba(242,181,68,.30), rgba(99,214,198,.14)); box-shadow: 0 0 24px rgba(242,181,68,.28); transform: translateY(-1px); }
.nav-links a.nav-life[aria-current="page"] { color: var(--gold-hell); background: linear-gradient(135deg, rgba(242,181,68,.34), rgba(99,214,198,.16)); }
.nav-links a.nav-life[aria-current="page"]::after { display: none; }
.nav-links a.nav-life svg { width: 20px; height: 20px; flex: none; }
.nav-live { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #8fe0a8; box-shadow: 0 0 0 2px var(--bg); }
.nav-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #8fe0a8; animation: navLive 2.4s ease-out infinite; }
@keyframes navLive { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.marke + .nav-links { margin-left: 0; }

/* Handy-Leiste unten: eigene Symbole, Flygo-Life erhöht in der Mitte */
@media (max-width: 820px) {
  .tabbar.tabbar-neu { grid-template-columns: repeat(5, 1fr); align-items: end; }
  .tabbar-neu a { gap: 3px; }
  .tabbar-neu a span { width: 26px; height: 26px; display: grid; place-items: center; filter: none; opacity: .72; }
  .tabbar-neu a span svg { width: 24px; height: 24px; }
  .tabbar-neu a[aria-current="page"] span { opacity: 1; }
  .tabbar-neu a.tab-life { color: var(--gold-hell); font-weight: 800; }
  .tabbar-neu a.tab-life span { width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; opacity: 1;
    background: radial-gradient(circle at 35% 30%, #2a3a66, #121a31); border: 2px solid rgba(242,181,68,.8);
    box-shadow: 0 8px 20px rgba(242,181,68,.28), 0 0 0 4px var(--bg); transition: transform .15s; }
  .tabbar-neu a.tab-life span svg { width: 30px; height: 30px; }
  .tabbar-neu a.tab-life:active span { transform: scale(.94); }
  .tabbar-neu a.tab-life[aria-current="page"] span { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px rgba(242,181,68,.32), 0 10px 24px rgba(242,181,68,.4); }
}

/* Glocke: Fenster „Was passiert ist“ auf jeder Seite */
.fw-hinter { position: fixed; inset: 0; z-index: 80; background: rgba(4, 8, 16, .34); animation: fwRein .16s ease-out; }
.fw-box { position: absolute; top: 72px; right: max(16px, calc((100vw - 1160px) / 2 + 16px)); width: min(430px, calc(100vw - 32px)); max-height: calc(100vh - 96px);
  display: flex; flex-direction: column; background: var(--flaeche-1); color: var(--text); border: 1px solid var(--rand-stark); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; animation: fwFallen .2s ease-out; }
.fw-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 14px 8px 18px; }
.fw-kopf h2 { margin: 0; flex: 1; font: 700 18px/1.2 var(--schrift-titel); }
.fw-x { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--rand); background: var(--flaeche-2); color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.fw-x:hover { color: var(--text); border-color: var(--rand-stark); }
.fw-filter { padding: 0 18px 8px; }
.fw-liste { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 16px; }
.fw-liste .feed-web li { font-size: 14.5px; }
.fw-liste .klein-grau { margin: 8px 0; }
.fw-liste .fw-leer { display: grid; justify-items: center; gap: 8px; padding: 26px 8px; text-align: center; color: var(--text-2); }
@keyframes fwRein { from { opacity: 0; } }
@keyframes fwFallen { from { opacity: 0; transform: translateY(-6px); } }
@keyframes fwHoch { from { transform: translateY(30px); opacity: .4; } }
@media (max-width: 820px) {
  .fw-box { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 84vh; border-radius: 20px 20px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px); animation: fwHoch .22s ease-out; }
  .fw-kopf::before { content: ""; position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--rand-stark); }
  .fw-kopf { position: relative; padding-top: 18px; }
}

/* Willkommensseite für Gäste: die Life-Seite im neuen Look (bewusst ein Thema: dunkles Blau, Gold, Türkis) */
:root.life-gast.life-gast, :root.life-gast.life-gast[data-theme], :root.life-gast.life-gast body[data-seite="life"], :root.life-gast.life-gast[data-theme] body[data-seite="life"] {
  color-scheme: dark; --bg: #0a0f1d; --bg-2: #0d1426; --flaeche-1: #121a31; --flaeche-2: #18223d; --flaeche-3: #202c4b;
  --rand: rgba(255,255,255,.09); --rand-stark: rgba(255,206,140,.26); --text: #f5eee2; --text-2: #aab2c6; --text-3: #7d869c;
  --gold: #f2b544; --gold-hell: #ffd98a; --gold-dunkel: #b98a25; --teal: #63d6c6; --teal-dunkel: #3aa99b; --gut: #8fe0a8; --warn: #f2b544; --schlecht: #ff7a6b;
  --glow-1: rgba(99,214,198,.08); --glow-2: rgba(242,181,68,.08); --nav-bg: rgba(10,15,29,.86); --code-bg: rgba(99,214,198,.08); --code-text: #a8eee4;
  background: #0a0f1d;
}
html.life-gast body[data-seite="life"] { background: #0a0f1d; color: var(--text); }
html.life-gast body[data-seite="life"]::before, html.life-gast body[data-seite="life"]::after { display: none !important; }
html.life-gast .theme-knopf { display: none; }
html.life-gast #life.mitte { max-width: none; padding: 0; }
.lg { position: relative; overflow: hidden; font-family: "S2 Nunito", var(--schrift); color: var(--text);
  background: radial-gradient(900px 520px at 82% -8%, rgba(99,214,198,.13), transparent 60%), radial-gradient(820px 520px at 6% 30%, rgba(242,181,68,.11), transparent 60%), #0a0f1d; }
.lg-innen { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding-block: 56px 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lg-held { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; min-height: 380px; }
.lg-text { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.lg-marke { display: flex; align-items: center; gap: 12px; }
.lg-marke svg { width: 54px; height: 54px; filter: drop-shadow(0 10px 26px rgba(242,181,68,.35)); }
.lg-marke span { font: 800 13px/1.2 "S2 Nunito", var(--schrift); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.lg h1 { margin: 0; font: 800 clamp(40px, 7vw, 68px)/1.02 "S2 Bricolage", "S2 Nunito", var(--schrift-titel); letter-spacing: -.02em; text-wrap: balance;
  background: linear-gradient(180deg, #fff6e4 30%, #ffd98a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-lead { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; color: #d9d6cf; }
.lg-status { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--rand); color: var(--text); }
.lg-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; }
.lg-status.an i { background: #8fe0a8; box-shadow: 0 0 0 4px rgba(143,224,168,.16); }
.lg-status.bald i { background: var(--gold); box-shadow: 0 0 0 4px rgba(242,181,68,.16); }
.lg-status small { color: var(--text-2); font-weight: 700; font-size: 14px; }
.lg-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lg-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border-radius: 14px; font: 800 16px/1.2 "S2 Nunito", var(--schrift);
  text-decoration: none; border: 1px solid var(--rand-stark); color: var(--text); background: rgba(255,255,255,.04); transition: transform .12s, box-shadow .12s, background .12s; }
.lg-knopf:hover { color: var(--text); transform: translateY(-1px); background: rgba(255,255,255,.08); }
.lg-knopf.gold { background: linear-gradient(180deg, #ffd98a, #f2b544 55%, #d99a2a); color: #24160a; border-color: transparent; box-shadow: 0 10px 26px -8px rgba(242,181,68,.55); }
.lg-knopf.gold:hover { color: #24160a; box-shadow: 0 14px 30px -8px rgba(242,181,68,.65); background: linear-gradient(180deg, #ffe2a0, #f5bd52 55%, #dfa232); }
.lg-knopf svg { width: 20px; height: 20px; flex: none; }
.lg-hinweis { margin: 0; font-size: 14px; color: var(--text-2); max-width: 34em; }
.lg-hinweis a { color: var(--gold-hell); }
.lg-bild { position: relative; min-width: 0; aspect-ratio: 1 / 1; max-width: 420px; width: 100%; justify-self: center; }
.lg-bild svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 26px 50px rgba(0,0,0,.5)) drop-shadow(0 0 46px rgba(242,181,68,.10)); }
.lg-bild .lg-fenster rect { animation: lgFenster 6s ease-in-out infinite; }
@keyframes lgFenster { 0%, 100% { opacity: .95; } 45% { opacity: .25; } 60% { opacity: .85; } }
.lg-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.lg-kachel { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 18px; min-width: 0;
  background: linear-gradient(180deg, rgba(24,34,61,.78), rgba(15,22,41,.82)); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(3,6,14,.4); }
.lg-kachel svg { width: 34px; height: 34px; color: var(--gold-hell); }
.lg-kachel h2 { margin: 2px 0 0; font: 800 19px/1.2 "S2 Bricolage", "S2 Nunito", var(--schrift-titel); color: var(--text); }
.lg-kachel p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.lg-mehr { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 12px; }
.lg-mehr h2 { margin: 0; font: 800 13px/1.2 "S2 Nunito", var(--schrift); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.lg-mehr div { display: flex; flex-wrap: wrap; gap: 10px; }
.lg-mehr a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 700;
  background: rgba(255,255,255,.04); border: 1px solid var(--rand); }
.lg-mehr a:hover { color: var(--text); border-color: var(--rand-stark); }
.lg-mehr a svg { width: 18px; height: 18px; color: var(--text-2); }
.lg-fehler { max-width: 560px; margin: 40px auto; }
@media (max-width: 860px) {
  .lg-innen { padding-block: 16px 28px; }
  .lg-text { gap: 12px; }
  .lg-marke svg { width: 38px; height: 38px; }
  .lg-status { display: block; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
  .lg-status i { display: inline-block; margin-right: 8px; vertical-align: 0; }
  .lg-status small { font-size: 13.5px; }
  .lg-held { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
  .lg-bild { order: -1; max-width: 150px; margin: 0 auto 6px; }
  .lg-lead { font-size: 16.5px; }
  .lg-kacheln { grid-template-columns: minmax(0, 1fr); margin-top: 30px; gap: 10px; }
  .lg-kachel { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .lg-kachel svg { grid-row: span 2; }
  .lg-kachel h2 { font-size: 17px; }
  .lg-knoepfe { width: 100%; }
  .lg-knoepfe .lg-knopf { flex: 1 1 200px; }
}
@media (prefers-reduced-motion: reduce) { .nav-live::after, .lg-bild .lg-fenster rect, .fw-hinter, .fw-box { animation: none; } }

/* ================================================================ 0.6.39: neues Logo „Skyline im Abendlicht“ · Flygo-Life im Mittelpunkt */
.marke { font-family: "S2 Bricolage", var(--schrift-titel); font-weight: 800; letter-spacing: -.015em; }
.marke svg.flygo-logo { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(255,150,90,.22)); }
.fuss-marke .marke svg.flygo-logo { width: 40px; height: 40px; }
@media (max-width: 820px) { .tabbar.tabbar-neu.tabbar-drei { grid-template-columns: repeat(3, 1fr); } }
