@font-face { font-family: 'Bangers'; src: url('../fonts/bangers-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: 'Bangers'; src: url('../fonts/bangers-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: 'Patrick Hand'; src: url('../fonts/patrick-hand-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: 'Patrick Hand'; src: url('../fonts/patrick-hand-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
:root { --tusche: #15121c; --papier: #fff8e6; --gelb: #ffd23f; --rot: #e63946; --gruen: #3ccf6e; --blau: #2fa8ff; --lila: #b26bff; --orange: #ff9f1c; --schatten: 6px 6px 0 var(--tusche); --f: #ffd23f; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #121630; color: var(--tusche); font-family: 'Patrick Hand', 'Comic Sans MS', system-ui, sans-serif; font-size: 18px; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
#welt { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#fx, #hud, #menue { position: fixed; inset: 0; pointer-events: none; }
#menue > * { pointer-events: auto; }
h1, h2, h3, h4, .knopf, b.gk-kraft { font-family: 'Bangers', Impact, sans-serif; letter-spacing: .04em; font-weight: 400; }
.panel { background: var(--papier); border: 4px solid var(--tusche); border-radius: 8px; box-shadow: var(--schatten); }
.leise { opacity: .7; }
.taste { display: inline-block; min-width: 1.7em; padding: 0 .35em; border: 2.5px solid var(--tusche); border-radius: 6px; background: #fff; font-family: 'Bangers'; text-align: center; line-height: 1.35; box-shadow: 2px 2px 0 var(--tusche); font-size: .9em; }
svg { display: block; width: 100%; height: 100%; }
svg[data-unikat] { filter: drop-shadow(0 0 3px #ffcf3a) drop-shadow(0 0 2px #ffcf3a); }

/* ---------- Laden */
#laden { position: fixed; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle at 50% 40%, #2c3466, #0f1228 70%); z-index: 50; pointer-events: auto; }
#laden.an { display: flex; }
#laden .marke { font-family: 'Bangers'; font-size: clamp(64px, 12vw, 150px); line-height: .9; color: var(--gelb); -webkit-text-stroke: 4px var(--tusche); text-shadow: 7px 7px 0 var(--tusche); transform: rotate(-4deg); }
#laden .marke span { color: #9ff07a; }
#laden p { color: #fff; font-size: 26px; margin: 0; }
#laden .kuh-lauf { width: 120px; height: 14px; border: 3px solid var(--tusche); border-radius: 8px; background: #fff; overflow: hidden; }
#laden .kuh-lauf i { display: block; height: 100%; width: 40%; background: repeating-linear-gradient(90deg, var(--tusche) 0 10px, #fff 10px 20px); animation: lauf 1s linear infinite; }
@keyframes lauf { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- Effekte: Lautworte */
.fx-wort { position: absolute; left: 0; top: 0; font-family: 'Bangers', Impact, sans-serif; font-size: calc(30px * var(--gr, 1)); color: #fff; -webkit-text-stroke: 2.5px var(--tusche); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--tusche); white-space: nowrap; will-change: transform; letter-spacing: .03em; }
.fx-gelb { color: var(--gelb); } .fx-orange { color: var(--orange); } .fx-rot { color: #ff4d5e; } .fx-gruen { color: #8ff06a; } .fx-blau { color: #7fd3ff; } .fx-lila { color: #d8a6ff; } .fx-gold { color: #ffcf3a; } .fx-grau { color: #c9ced6; } .fx-weiss { color: #fff; }
.fx-zahl { font-size: calc(24px * var(--gr, 1)); color: #fff; -webkit-text-stroke: 2px var(--tusche); text-shadow: 2px 2px 0 var(--tusche); }
.fx-zahlKrit { font-size: calc(30px * var(--gr, 1)); color: var(--gelb); }
.fx-heil { color: #7dff9a; font-size: calc(24px * var(--gr, 1)); }

/* ---------- Schirme */
.schirm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; }
.schirm.abgedunkelt { background: rgba(15, 18, 40, .62); }
.schirm.rein > * { animation: rein .28s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes rein { from { transform: scale(.85) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.knopf { font-size: 26px; padding: 8px 22px; border: 4px solid var(--tusche); border-radius: 10px; background: #fff; color: var(--tusche); box-shadow: 4px 4px 0 var(--tusche); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: transform .08s, background .1s; }
.knopf i { width: 30px; height: 30px; }
.knopf.fokus, .knopf:hover { background: var(--gelb); transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 7px 7px 0 var(--tusche); }
.knopf.gross { font-size: 34px; padding: 10px 30px; }
.knopf.gruen { background: #9ff07a; } .knopf.gruen.fokus { background: var(--gelb); }
.knopf.rot { background: #ffb1b7; }
.knopf.leise { font-size: 20px; opacity: .85; }
.knopf[disabled] { opacity: .4; }
.knopf-spalte { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.knopf-reihe { display: flex; gap: 18px; justify-content: center; margin-top: 18px; }
.menue-box { padding: 26px 34px; min-width: 420px; max-width: min(92vw, 1100px); max-height: 92vh; overflow: auto; }
.menue-box.breit { min-width: min(92vw, 820px); }
.menue-box h2 { font-size: 46px; margin: 0 0 14px; text-align: center; color: var(--rot); -webkit-text-stroke: 2px var(--tusche); text-shadow: 3px 3px 0 var(--tusche); }

/* ---------- Titel */
.titel { background: linear-gradient(180deg, rgba(10, 12, 30, .55), rgba(10, 12, 30, .05) 40%, rgba(10, 12, 30, .45)); }
.titel-box { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo { margin: 0; font-size: clamp(80px, 13vw, 190px); line-height: .85; transform: rotate(-5deg); display: flex; filter: drop-shadow(10px 10px 0 var(--tusche)); }
.logo span { -webkit-text-stroke: 5px var(--tusche); paint-order: stroke fill; }
.logo-kuh { color: #fff; background: radial-gradient(circle at 30% 40%, var(--tusche) 0 14%, transparent 15%), radial-gradient(circle at 75% 70%, var(--tusche) 0 12%, transparent 13%); -webkit-background-clip: text; background-clip: text; color: transparent; background-color: #fff; }
.logo-kuh { background: #fff; -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sturm { color: #9ff07a; }
.logo-unter { font-family: 'Bangers'; font-size: clamp(22px, 2.6vw, 38px); color: var(--gelb); -webkit-text-stroke: 1.5px var(--tusche); text-shadow: 3px 3px 0 var(--tusche); transform: rotate(-2deg); margin-bottom: 22px; }
.titel-knoepfe { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 340px; }
.titel-info { color: #fff; font-size: 20px; margin-top: 18px; text-shadow: 2px 2px 0 var(--tusche); }
.titel-osm { position: absolute; right: 14px; bottom: 10px; color: rgba(255, 255, 255, .85); font-size: 15px; text-shadow: 1px 1px 0 var(--tusche); }

/* ---------- Heldenwahl */
.heldenwahl { background: rgba(15, 18, 40, .55); }
.hw { width: min(96vw, 1300px); }
.hw-kopf { text-align: center; color: #fff; text-shadow: 2px 2px 0 var(--tusche); }
.hw-kopf h2 { font-size: 56px; margin: 0; color: var(--gelb); -webkit-text-stroke: 2px var(--tusche); text-shadow: 4px 4px 0 var(--tusche); }
.hw-kopf p { margin: 4px 0 16px; font-size: 22px; }
.hw-reihe { display: flex; gap: 26px; justify-content: center; }
.hw-spalte { flex: 1; max-width: 600px; min-height: 64vh; max-height: 78vh; overflow: auto; background: var(--papier); border: 5px solid var(--tusche); border-radius: 10px; box-shadow: 8px 8px 0 var(--tusche); padding: 16px 20px; position: relative; border-top: 16px solid var(--f); }
.hw-nr { font-family: 'Bangers'; font-size: 30px; display: flex; justify-content: space-between; align-items: baseline; }
.hw-nr small { font-family: 'Patrick Hand'; font-size: 18px; opacity: .7; }
.hw-spalte h3 { font-size: 34px; margin: 6px 0 10px; }
.hw-warte { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48vh; text-align: center; font-size: 22px; }
.hw-puls { font-family: 'Bangers'; font-size: 70px; width: 120px; height: 120px; border-radius: 50%; border: 5px solid var(--tusche); background: var(--gruen); display: flex; align-items: center; justify-content: center; box-shadow: 5px 5px 0 var(--tusche); animation: puls 1.1s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.1) rotate(-6deg); } }
.hw-liste { display: flex; flex-direction: column; gap: 10px; }
.hw-profil { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 3px solid var(--tusche); border-radius: 10px; background: #fff; cursor: pointer; }
.hw-profil img { width: 64px; height: 64px; }
.hw-profil b { font-family: 'Bangers'; font-size: 28px; display: block; }
.hw-profil small { opacity: .75; }
.hw-profil em { margin-left: auto; color: var(--rot); }
.hw-profil.neu i { width: 48px; height: 48px; }
.hw-profil.fokus, .hw-profil:hover { background: var(--gelb); transform: translateX(6px); box-shadow: 4px 4px 0 var(--tusche); }
.hw-profil[disabled] { opacity: .45; }
.hw-hinweis { margin-top: 12px; opacity: .8; }
.hw-name { font-family: 'Bangers'; font-size: 44px; border: 4px solid var(--tusche); border-radius: 10px; background: #fff; padding: 4px 16px; min-height: 64px; margin-bottom: 12px; }
.hw-tasten { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.hw-t { font-family: 'Bangers'; font-size: 26px; padding: 6px 0; border: 3px solid var(--tusche); border-radius: 8px; background: #fff; cursor: pointer; }
.hw-t.breit { grid-column: span 2; }
.hw-t.ok { grid-column: span 4; background: #9ff07a; }
.hw-t.fokus, .hw-t:hover { background: var(--gelb); transform: scale(1.08); }
.hw-looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hw-look { border: 3px solid var(--tusche); border-radius: 10px; background: #fff; text-align: center; padding: 6px; cursor: pointer; }
.hw-look img { width: 100%; }
.hw-look b { font-family: 'Bangers'; font-size: 20px; }
.hw-look.an { background: #e9ffd9; outline: 4px solid var(--gruen); }
.hw-look.fokus, .hw-look:hover { background: var(--gelb); transform: rotate(-2deg) scale(1.04); }
.hw-unter { font-family: 'Bangers'; font-size: 24px; margin: 12px 0 6px; }
.hw-farben { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 16px; }
.hw-farbe { aspect-ratio: 1; border: 4px solid var(--tusche); border-radius: 50%; cursor: pointer; }
.hw-farbe.an { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--tusche); }
.hw-farbe.fokus, .hw-farbe:hover { transform: scale(1.2); }
.hw-bereit { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0; }
.hw-bereit img { width: 200px; height: 200px; }
.hw-bereit b { font-family: 'Bangers'; font-size: 44px; }
.hw-ok { font-family: 'Bangers'; font-size: 42px; color: var(--gruen); -webkit-text-stroke: 2px var(--tusche); transform: rotate(-4deg); }
.hw-spalte .knopf { width: 100%; justify-content: center; }

/* ---------- Seitenpanels (Inventar, Läden) */
.seite { position: absolute; top: 2vh; bottom: 2vh; width: min(49vw, 760px); background: var(--papier); border: 5px solid var(--tusche); border-radius: 10px; box-shadow: var(--schatten); border-top: 14px solid var(--f, var(--gelb)); overflow: hidden; display: flex; flex-direction: column; animation: rein .25s; }
.seite0 { left: 1vw; } .seite1 { right: 1vw; }
.inv, .laden { display: flex; flex-direction: column; height: 100%; padding: 12px 16px; gap: 10px; }
.inv-kopf, .laden-kopf { display: flex; align-items: center; gap: 12px; }
.inv-kopf img { width: 64px; height: 64px; }
.inv-kopf b { font-family: 'Bangers'; font-size: 30px; display: block; }
.xp { width: 180px; height: 10px; border: 2px solid var(--tusche); border-radius: 6px; background: #fff; overflow: hidden; margin-top: 3px; }
.xp i { display: block; height: 100%; background: var(--lila); }
.inv-zahlen { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 24px; }
.inv-zahlen > span:first-child { width: 30px; height: 30px; }
.inv-zahlen b { font-family: 'Bangers'; }
.inv-punkte { margin-left: 10px; font-family: 'Bangers'; padding: 0 8px; border: 3px solid var(--tusche); border-radius: 8px; background: #eee; }
.inv-punkte.frei { background: var(--gelb); animation: puls 1.4s infinite; }
.inv-tabs { display: flex; gap: 8px; align-items: center; }
.inv-tabs span { font-family: 'Bangers'; font-size: 22px; padding: 2px 14px; border: 3px solid var(--tusche); border-radius: 8px 8px 0 0; background: #e8e0c8; }
.inv-tabs span.an { background: var(--f); }
.inv-tabs small { margin-left: auto; opacity: .6; }
.inv-haupt { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 0; }
.inv-haupt > div:first-child { overflow: auto; padding: 4px; }
.inv-haupt h4 { margin: 4px 0; font-size: 20px; }
.inv-ausr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inv-raster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.inv-leer { grid-column: 1 / -1; opacity: .6; }
.gk { position: relative; aspect-ratio: 1; border: 3px solid var(--rand, var(--tusche)); outline: 2px solid var(--tusche); border-radius: 8px; background: radial-gradient(circle at 50% 40%, #fff 30%, var(--sel, #ddd) 120%); cursor: pointer; padding: 10%; }
.gk.leer { background: #f2ead2; border-style: dashed; border-color: #b9b2a2; outline: none; }
.gk .gk-ico { position: absolute; inset: 12%; }
.gk-kraft { position: absolute; right: 2px; bottom: 0; font-size: 18px; color: #fff; -webkit-text-stroke: 1.5px var(--tusche); paint-order: stroke fill; }
.gk-neu { position: absolute; left: -4px; top: -6px; font-family: 'Bangers'; font-size: 13px; background: var(--rot); color: #fff; border: 2px solid var(--tusche); border-radius: 6px; padding: 0 4px; transform: rotate(-8deg); }
.gk-slot { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 12px; opacity: .75; }
.gk-ver { position: absolute; left: 3px; bottom: 0; color: var(--lila); font-size: 16px; }
.gk.sel2 { box-shadow: 0 0 10px #ffcf3a; }
.gk.fokus, .gk:hover { transform: scale(1.1) rotate(-3deg); z-index: 2; box-shadow: 4px 4px 0 var(--tusche), 0 0 0 4px var(--gelb); }
.gk.klein { width: 54px; }
.inv-detail { overflow: auto; border-left: 3px dashed #c9bfa2; padding-left: 12px; }
.inv-fuss { display: flex; gap: 18px; flex-wrap: wrap; font-size: 17px; border-top: 3px solid var(--tusche); padding-top: 8px; }
.gd-kopf { display: flex; align-items: center; gap: 10px; border-bottom: 5px solid var(--sel); padding-bottom: 6px; }
.gd-kopf > i { width: 64px; height: 64px; flex: none; }
.gd-kopf b { font-family: 'Bangers'; font-size: 28px; display: block; line-height: 1; }
.gd-kraft { margin-left: auto; text-align: center; }
.gd-kraft b { font-size: 40px; font-family: 'Bangers'; }
.gd-text { margin: 8px 0; }
.wz { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; border-bottom: 1px dotted #c9bfa2; padding: 2px 0; }
.wz b { font-family: 'Bangers'; font-size: 22px; margin-left: auto; }
.wz .plus { color: #1f9a4a; font-weight: bold; } .wz .minus { color: var(--rot); font-weight: bold; }
.gd-vers { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.gd-ver { border: 2px dashed #b9b2a2; border-radius: 8px; padding: 4px 8px; font-size: 15px; }
.gd-ver.an { border: 2px solid var(--lila); background: #f4e9ff; }
.gd-ver b { font-family: 'Bangers'; font-size: 18px; display: block; }
.warn { margin-top: 8px; background: #ffd6d9; border: 3px solid var(--rot); border-radius: 8px; padding: 6px 10px; font-weight: bold; }
.relikt-wahl { display: flex; flex-direction: column; gap: 10px; }
.rw-k { display: flex; gap: 10px; align-items: center; border: 3px solid var(--tusche); border-radius: 10px; padding: 6px; background: #fff; cursor: pointer; }
.rw-k.fokus { background: var(--gelb); }
.rw-k b { font-family: 'Bangers'; font-size: 24px; }
.vered-kopf { display: flex; gap: 10px; align-items: center; }
.vered-kopf i { width: 56px; height: 56px; }
.vered-kopf b { font-family: 'Bangers'; font-size: 24px; display: block; }
.vk-platz { margin-top: 10px; }
.vk-zeile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vk-opt { border: 3px solid var(--tusche); border-radius: 10px; background: #fff; padding: 6px; cursor: pointer; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.vk-opt b { font-family: 'Bangers'; font-size: 18px; }
.vk-opt em { font-style: normal; font-family: 'Bangers'; color: var(--lila); }
.vk-opt.an { background: #f4e9ff; border-color: var(--lila); }
.vk-opt.aus { opacity: .35; }
.vk-opt.maechtig b { color: #c45a00; }
.vk-opt.fokus { background: var(--gelb); transform: scale(1.05); }
.vk-pips { display: flex; gap: 3px; } .vk-pips i { width: 14px; height: 14px; border: 2px solid var(--tusche); border-radius: 50%; } .vk-pips i.voll { background: var(--lila); }
.werte-tafel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; overflow: auto; }
.werte-tafel h4 { font-size: 22px; margin: 8px 0 4px; }
.laden-kopf { flex-wrap: wrap; } .laden-kopf h3 { font-size: 36px; margin: 0; } .laden-kopf p { margin: 0; flex-basis: 100%; font-style: italic; }
.laden-liste { display: flex; flex-direction: column; gap: 10px; }
.laden-ang { display: flex; align-items: center; gap: 14px; border: 3px solid var(--tusche); border-radius: 10px; padding: 8px 12px; background: #fff; cursor: pointer; }
.laden-ang > i { width: 56px; height: 56px; flex: none; }
.laden-ang b { font-family: 'Bangers'; font-size: 26px; display: block; }
.laden-ang em { margin-left: auto; font-style: normal; font-family: 'Bangers'; font-size: 26px; display: flex; align-items: center; gap: 4px; }
.laden-ang em span { width: 26px; height: 26px; }
.laden-ang.teuer { opacity: .55; }
.laden-ang.fokus, .laden-ang:hover { background: var(--gelb); transform: translateX(6px); }
.laden-neu { border: 4px solid var(--gruen); border-radius: 10px; padding: 8px; background: #effff0; overflow: auto; flex: 1; }

/* ---------- Ergebnis */
.ergebnis { background: rgba(15, 18, 40, .7); }
.erg { text-align: center; color: #fff; }
.erg h2 { font-size: 72px; margin: 0; color: var(--gelb); -webkit-text-stroke: 3px var(--tusche); text-shadow: 6px 6px 0 var(--tusche); transform: rotate(-3deg); }
.erg.schlecht h2 { color: #ff8a94; }
.erg p { font-size: 22px; text-shadow: 2px 2px 0 var(--tusche); }
.erg-frei { display: inline-block; background: var(--gelb); color: var(--tusche); border: 3px solid var(--tusche); border-radius: 10px; padding: 4px 14px; font-family: 'Bangers'; font-size: 24px; margin: 4px; box-shadow: 3px 3px 0 var(--tusche); }
.erg-frei.gold { background: #ffcf3a; }
.erg-reihe { display: flex; gap: 24px; justify-content: center; margin-top: 12px; }
.erg-spalte { background: var(--papier); color: var(--tusche); border: 5px solid var(--tusche); border-top: 14px solid var(--f); border-radius: 10px; box-shadow: var(--schatten); padding: 12px 20px; width: min(44vw, 420px); }
.erg-spalte img { width: 96px; height: 96px; }
.erg-name { font-family: 'Bangers'; font-size: 34px; display: block; }
.erg-stufe { font-family: 'Bangers'; font-size: 30px; color: var(--lila); animation: puls 1s infinite; }
.erg-spalte .wz.rauf b { color: var(--rot); }
.erg-beute { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }

/* ---------- Einstellungen, Steuerung, Ruhmeshalle */
.einst-liste { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.einst-zeile { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border: 3px solid var(--tusche); border-radius: 10px; background: #fff; cursor: pointer; font-size: 22px; }
.einst-zeile b { font-family: 'Bangers'; font-size: 24px; }
.einst-zeile.fokus { background: var(--gelb); }
.steuer { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 19px; }
.steuer td, .steuer th { border-bottom: 2px dotted #c9bfa2; padding: 6px 8px; text-align: left; }
.steuer th { font-family: 'Bangers'; font-size: 22px; }
.rh-rekorde { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.rh-rekord { display: flex; gap: 10px; align-items: center; border: 4px solid var(--tusche); border-radius: 10px; padding: 8px; background: #fff7d1; }
.rh-rekord i { width: 52px; height: 52px; flex: none; }
.rh-rekord b { font-family: 'Bangers'; font-size: 24px; display: block; }
.rh-rekord em { font-size: 14px; opacity: .7; }
.rh-tafel { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.rh-tafel th { font-family: 'Bangers'; font-size: 19px; text-align: left; border-bottom: 3px solid var(--tusche); }
.rh-tafel td { border-bottom: 2px dotted #c9bfa2; padding: 4px; }
.rh-tafel img { width: 34px; height: 34px; vertical-align: middle; margin-right: 6px; display: inline-block; }

/* ---------- Weltkarte */
.weltkarte { padding: 0; }
.wk { position: absolute; inset: 0; display: flex; }
.wk-karte { position: relative; flex: 1; }
.wk-canvas { width: 100%; height: 100%; display: block; }
.wk-laden { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Bangers'; font-size: 40px; background: #d9c9a0; }
.wk-info { position: absolute; right: 2vw; top: 4vh; bottom: 4vh; width: min(420px, 36vw); padding: 18px 22px; overflow: auto; transform: rotate(.6deg); display: flex; flex-direction: column; gap: 8px; }
.wk-ort { font-family: 'Bangers'; font-size: 22px; color: var(--rot); }
.wk-info h2 { margin: 0; font-size: 42px; line-height: 1; }
.wk-info p { margin: 0; }
.wk-boss { display: flex; align-items: center; gap: 8px; font-family: 'Bangers'; font-size: 22px; color: var(--rot); }
.wk-boss i { width: 34px; height: 34px; }
.wk-gefahr { display: flex; align-items: center; gap: 12px; border: 3px solid var(--tusche); border-radius: 10px; padding: 8px 12px; background: #fff; }
.wk-gefahr > div { flex: 1; text-align: center; } .wk-gefahr b { font-family: 'Bangers'; font-size: 28px; display: block; }
.wk-pips { display: flex; gap: 3px; justify-content: center; } .wk-pips i { width: 16px; height: 16px; border: 2px solid var(--tusche); border-radius: 4px; } .wk-pips i.an { background: var(--gelb); } .wk-pips i.an.orange { background: var(--orange); } .wk-pips i.an.rot { background: var(--rot); }
.wk-kraft { display: flex; gap: 10px; } .wk-kraft > div { flex: 1; text-align: center; border: 3px solid var(--tusche); border-radius: 10px; padding: 4px; background: #fff; } .wk-kraft b { font-family: 'Bangers'; font-size: 34px; display: block; }
.wk-kraft .gut { background: #c8ffc9; } .wk-kraft .knapp { background: #fff2b3; } .wk-kraft .schlecht { background: #ffc4c8; }
.wk-geschafft { font-family: 'Bangers'; font-size: 22px; color: #1f9a4a; }
.wk-info .knopf { margin-top: auto; justify-content: center; }
.wk-osm { position: absolute; left: 12px; bottom: 8px; background: rgba(255, 250, 240, .85); padding: 2px 8px; border-radius: 6px; font-size: 14px; }

/* ---------- Intro, Meldungen */
.intro { position: absolute; left: 50%; top: 20vh; transform: translateX(-50%) rotate(-1.5deg); width: min(760px, 88vw); background: var(--papier); border: 5px solid var(--tusche); border-radius: 10px; box-shadow: 8px 8px 0 var(--tusche); padding: 18px 26px; text-align: center; transition: opacity .9s, transform .9s; pointer-events: none !important; animation: rein .4s; }
.intro small { font-family: 'Bangers'; font-size: 22px; color: var(--rot); }
.intro h2 { margin: 0; font-size: 50px; }
.intro p { margin: 6px 0 0; font-size: 21px; }
.intro.weg { opacity: 0; transform: translateX(-50%) translateY(-40px) rotate(-3deg); }

/* ---------- HUD */
#hud { display: none; }
#hud.an { display: block; }
.hud-ziel { position: absolute; left: 16px; top: 14px; max-width: 34vw; padding: 8px 14px; transform: rotate(-.6deg); }
.hz-titel { font-family: 'Bangers'; font-size: 18px; color: var(--rot); }
.hz-text { font-size: 22px; line-height: 1.1; }
.hz-fort { font-family: 'Bangers'; font-size: 26px; }
.hz-leben { display: flex; align-items: center; gap: 4px; }
.hz-gefahr { font-family: 'Bangers'; font-size: 16px; opacity: .7; margin-right: 8px; }
.herz { display: inline-block; width: 22px; height: 20px; background: var(--rot); clip-path: path('M11 19 C2 12 0 8 2 4 C4 0 9 1 11 5 C13 1 18 0 20 4 C22 8 20 12 11 19 Z'); }
.herz.leer { background: #c9bfa2; }
.hud-rauf { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); text-align: center; background: var(--papier); border: 4px solid var(--tusche); border-radius: 12px; box-shadow: 4px 4px 0 var(--tusche); padding: 4px 16px 6px; min-width: 240px; }
.hr-titel { font-family: 'Bangers'; font-size: 16px; color: var(--rot); letter-spacing: .1em; }
.hr-zeile { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hr-p { display: flex; flex-direction: column; align-items: center; position: relative; padding: 0 6px; }
.hr-p b { font-family: 'Bangers'; font-size: 40px; line-height: .9; color: var(--f); -webkit-text-stroke: 2px var(--tusche); paint-order: stroke fill; }
.hr-p small { font-size: 15px; max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hr-trenn { font-family: 'Bangers'; font-size: 34px; }
.mini-krone { position: absolute; top: 0; width: 28px; height: 24px; left: -24px; transform: rotate(-14deg); animation: puls 1.2s infinite; }
.mini-stern { position: absolute; top: 4px; right: -16px; width: 22px; height: 22px; }
.hr-ewig { font-size: 14px; opacity: .8; }
.hud-boss { position: absolute; left: 50%; top: 116px; transform: translateX(-50%); width: min(640px, 70vw); text-align: center; }
.hb-name { font-family: 'Bangers'; font-size: 30px; color: #fff; -webkit-text-stroke: 2px var(--tusche); text-shadow: 3px 3px 0 var(--tusche); }
.hb-balken, .ho-balken { height: 22px; border: 4px solid var(--tusche); border-radius: 12px; background: #3a1f2a; overflow: hidden; box-shadow: 4px 4px 0 var(--tusche); }
.hb-fuell { height: 100%; background: linear-gradient(#ff5a6a, #c41f2f); transition: width .2s; }
.hud-objekt { position: absolute; left: 16px; top: 160px; width: 300px; }
.ho-name { font-family: 'Bangers'; font-size: 20px; color: #fff; -webkit-text-stroke: 1.5px var(--tusche); text-shadow: 2px 2px 0 var(--tusche); }
.ho-balken { height: 16px; background: #26331f; }
.ho-fuell { height: 100%; background: linear-gradient(#8ff06a, #3a9f2a); }
.ho-fuell.kritisch { background: linear-gradient(#ffd23f, #ff7a1a); animation: puls .6s infinite; }
.hud-karte { position: absolute; right: 16px; top: 14px; width: 190px; height: 190px; filter: drop-shadow(4px 4px 0 var(--tusche)); }
.hud-spielerreihe { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: space-between; padding: 0 16px; pointer-events: none; }
.hud-spieler { position: relative; display: flex; align-items: center; gap: 10px; background: var(--papier); border: 4px solid var(--tusche); border-left: 12px solid var(--f); border-radius: 12px; box-shadow: 4px 4px 0 var(--tusche); padding: 6px 12px 6px 6px; min-width: 360px; }
.hud-spieler.rechts { margin-left: auto; flex-direction: row-reverse; border-left: 4px solid var(--tusche); border-right: 12px solid var(--f); padding: 6px 6px 6px 12px; }
.hs-bild { width: 72px; height: 72px; }
.hs-mitte { flex: 1; }
.hs-name { font-size: 16px; } .hs-name b { font-family: 'Bangers'; font-size: 24px; }
.hs-lp { position: relative; height: 22px; border: 3px solid var(--tusche); border-radius: 10px; background: #4a2028; overflow: hidden; margin: 2px 0 5px; }
.hs-lp-fuell { height: 100%; background: linear-gradient(#ff6b6b, #d22b3b); transition: width .15s; }
.hs-lp-fuell.kritisch { animation: puls .5s infinite; }
.hs-lp-text { position: absolute; inset: 0; text-align: center; font-family: 'Bangers'; font-size: 15px; color: #fff; -webkit-text-stroke: 1px var(--tusche); line-height: 17px; }
.hs-slots { display: flex; gap: 6px; }
.hs-slot { position: relative; width: 42px; height: 42px; border: 3px solid var(--tusche); border-radius: 9px; background: #fff; }
.hs-slot .hs-ico { position: absolute; inset: 3px; } .hs-slot .hs-cd { position: absolute; inset: 0; border-radius: 6px; }
.hs-slot .hs-taste { position: absolute; right: -6px; bottom: -8px; font-family: 'Bangers'; font-size: 12px; background: #fff; border: 2px solid var(--tusche); border-radius: 5px; padding: 0 3px; line-height: 1.2; }
.hs-slot.bereit { box-shadow: 0 0 0 2px var(--gelb); }
.hs-taler { display: flex; align-items: center; gap: 3px; font-family: 'Bangers'; font-size: 20px; }
.hs-taler svg { width: 24px; height: 24px; }
.hs-weich { position: absolute; left: 92px; bottom: -6px; width: 70px; height: 7px; border: 2px solid var(--tusche); border-radius: 4px; background: linear-gradient(90deg, var(--blau) calc(var(--w, 1) * 100%), #fff 0); }
.hud-spieler.rechts .hs-weich { left: auto; right: 92px; }
.hs-nieder { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-family: 'Bangers'; font-size: 34px; color: #fff; -webkit-text-stroke: 2px var(--tusche); background: rgba(230, 57, 70, .55); border-radius: 8px; }
.hud-spieler.am-boden .hs-nieder { display: flex; }
.hud-meldungen { position: absolute; left: 50%; top: 30vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.meldung { font-family: 'Bangers'; font-size: 34px; color: #fff; -webkit-text-stroke: 2px var(--tusche); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--tusche); background: rgba(21, 18, 28, .25); padding: 2px 18px; border-radius: 12px; display: flex; align-items: center; gap: 10px; animation: rein .3s; }
.meldung i { width: 40px; height: 40px; }
.m-ziel { color: var(--gelb); } .m-warnung { color: #ff8a94; } .m-boss { font-size: 50px; color: #ff5a6a; } .m-sieg { font-size: 64px; color: var(--gelb); } .m-krone { color: var(--f); } .m-ewig { color: #ffcf3a; font-size: 44px; } .m-ko { color: var(--f); }
.hud-labels { position: absolute; inset: 0; }
.kopf-label { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 0 0; }
.kopf-label > * { transform: translateX(-50%); }
.kl-zeile { display: flex; align-items: center; gap: 2px; }
.kl-name { font-family: 'Bangers'; font-size: 18px; color: var(--f); -webkit-text-stroke: 1.5px var(--tusche); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--tusche); }
.kl-krone { width: 26px; height: 22px; animation: puls 1.2s infinite; } .kl-stern { width: 20px; height: 20px; }
.kl-wuerde { width: 60px; height: 8px; border: 2px solid var(--tusche); border-radius: 4px; background: #fff; overflow: hidden; margin-top: 2px; } .kl-wuerde i { display: block; height: 100%; background: var(--orange); }
.kl-hilfe { font-family: 'Bangers'; font-size: 17px; color: #fff; -webkit-text-stroke: 1.2px var(--tusche); paint-order: stroke fill; white-space: nowrap; margin-top: 2px; }
.kl-hilfe .taste { color: var(--tusche); -webkit-text-stroke: 0; }
.kl-ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--tusche); margin-bottom: 2px; }
.ziel-pfeil { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.ziel-pfeil i { position: absolute; left: -22px; top: -16px; width: 44px; height: 32px; background: var(--gelb); clip-path: polygon(0 20%, 60% 20%, 60% 0, 100% 50%, 60% 100%, 60% 80%, 0 80%); filter: drop-shadow(0 0 0 #000); animation: pfeil .7s ease-in-out infinite alternate; }
.ziel-pfeil.boss i { background: var(--rot); }
@keyframes pfeil { to { transform: translateX(8px); } }
.hud-beitreten { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255, 248, 230, .92); border: 3px solid var(--tusche); border-radius: 10px; padding: 3px 12px; font-size: 17px; }

@media (max-width: 900px) {
  .hud-spieler { min-width: 0; transform: scale(.8); transform-origin: bottom left; } .hud-spieler.rechts { transform-origin: bottom right; }
  .hud-karte { width: 120px; height: 120px; }
  .seite { width: 96vw; left: 2vw; right: 2vw; }
  .hw-reihe { flex-direction: column; } .hw-spalte { min-height: 0; }
}

.icon-logo { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%) rotate(-6deg); font-family: 'Bangers'; font-size: 26vw; line-height: .8; display: flex; filter: drop-shadow(1.2vw 1.2vw 0 var(--tusche)); white-space: nowrap; }
.icon-logo span { -webkit-text-stroke: 1vw var(--tusche); paint-order: stroke fill; }
.icon-logo .logo-kuh { color: #fff; background: none; -webkit-background-clip: initial; background-clip: initial; }
.icon-logo .logo-sturm { color: #9ff07a; }
