/* ==========================================================================
   InnoSisters v2 – Layout & Oberfläche
   ========================================================================== */
:root {
  --bg: #17123a;
  --bg2: #241b55;
  --ink: #f6f2ff;
  --muted: #c5bde8;
  --sun: #ffb347;
  --sun2: #ff5ca8;
  --moon: #6f8dff;
  --moon2: #a98bff;
  --card: rgba(28, 21, 66, 0.92);
  --line: rgba(255, 255, 255, 0.16);
  --focus: #fff07a;
  --hdr: 52px;
  --tc: 70px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { min-height: 100vh; min-height: 100dvh; -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { touch-action: manipulation; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.app:fullscreen { overflow: auto; }

/* ---------- Kopfleiste ---------- */
.topbar {
  position: relative; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: var(--hdr);
  padding: env(safe-area-inset-top, 0px) calc(10px + env(safe-area-inset-right, 0px)) 0 calc(10px + env(safe-area-inset-left, 0px));
  background: linear-gradient(90deg, #2a1748 0%, #1b1a52 55%, #142a5a 100%);
  border-bottom: 1px solid var(--line);
}
.tb-nav { min-width: 0; flex: 0 1 auto; display: flex; }
.tb-title { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 900; font-size: 20px; letter-spacing: 0.5px; pointer-events: none; white-space: nowrap; }
.tt-a { color: #ffb0d6; } .tt-b { color: #aebfff; }
.tb-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.icon-btn[aria-pressed="false"] .ic-on, .icon-btn[aria-pressed="true"] .ic-off { display: none; }
.icon-btn[hidden] { display: none; }
@media (max-width: 1000px) { .tb-title { display: none; } }
@media (max-width: 420px) { .icon-btn { width: 36px; height: 36px; } .tb-btns { gap: 4px; } :root { --hdr: 48px; } }
@media (max-width: 370px) {
  .topbar { padding-left: calc(6px + env(safe-area-inset-left, 0px)); padding-right: calc(6px + env(safe-area-inset-right, 0px)); }
  #btn-full { display: none; }
  body[data-mode="play"] #btn-sound, body[data-mode="pause"] #btn-sound, body[data-mode="intro"] #btn-sound { display: none; }
}
@media (max-width: 380px) {
  .touch.size-m { --tc: 52px; } .touch.size-l { --tc: 60px; } .touch.size-s { --tc: 46px; }
  .tc-move { gap: 5px; } .tc-act { gap: 7px; }
  .touch { padding-left: calc(8px + env(safe-area-inset-left, 0px)); padding-right: calc(8px + env(safe-area-inset-right, 0px)); }
}

/* ---------- Spielfläche ---------- */
.stage {
  position: relative; overflow: hidden; outline: none;
  height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr) - env(safe-area-inset-top, 0px));
  min-height: 280px;
  touch-action: none; -webkit-user-select: none; user-select: none;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(255, 120, 190, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(110, 140, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #1d1546, #120e33);
}
.view { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 0; }
.view.framed { border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1); }
#game { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; background: #1b1440; }

/* ---------- HUD ---------- */
.hud {
  position: absolute; left: 0; right: 0; top: 0; z-index: 5; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 6px;
  padding: 8px 10px; font-weight: 800; font-size: 15px;
}
.hud[hidden] { display: none; }
.hud-l, .hud-r { display: flex; gap: 6px; flex-wrap: wrap; }
.hud-c { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 14, 50, 0.55); font-size: 13px; color: var(--muted); white-space: nowrap; }
.hud-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px 0 6px; border-radius: 999px;
  background: rgba(20, 14, 50, 0.62); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.hud-chip canvas { width: 20px; height: 24px; image-rendering: pixelated; margin-top: -4px; }
.hud-power { padding: 0 6px; }
.hud-power[hidden] { display: none; }
.hud-power i { width: 22px; height: 22px; }
.hud-chip.flash { animation: chip 0.35s ease; }
@keyframes chip { 50% { transform: scale(1.15); background: rgba(255, 240, 122, 0.4); } }
#hud-feather { opacity: 0.28; filter: grayscale(1); }
#hud-feather.got { opacity: 1; filter: none; }
@media (max-width: 520px) { .hud { font-size: 13px; padding: 6px; } .hud-chip { height: 26px; padding: 0 8px 0 4px; } .hud-c #hud-level { display: none; } .hud-c { padding: 3px 6px; } }

i[class^="ic-"], i[class*=" ic-"] { display: inline-block; width: 16px; height: 18px; background-size: contain; background-repeat: no-repeat; background-position: center; image-rendering: pixelated; vertical-align: middle; }
.ic-crystal { background-image: var(--ic-crystal); }
.ic-feather { background-image: var(--ic-feather); width: 18px !important; height: 20px !important; }
.ic-power { background-image: var(--ic-power); width: 18px !important; height: 18px !important; }
.ic-shield { background-image: var(--ic-shield); width: 18px !important; height: 18px !important; }
.ic-star { background-image: var(--ic-star); width: 18px !important; height: 18px !important; }
.ic-life { background-image: var(--ic-life); width: 18px !important; height: 17px !important; }
.ic-bonus { background-image: var(--ic-bonus); width: 18px !important; height: 18px !important; }
.ic-clock { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; position: relative; }
.ic-clock::after { content: ""; position: absolute; left: 5px; top: 1px; width: 2px; height: 6px; background: #fff; box-shadow: 2px 4px 0 -0px #fff; }

.bossbar {
  position: absolute; left: 50%; top: 46px; transform: translateX(-50%); z-index: 5; pointer-events: none;
  width: min(360px, 70%); text-align: center; font-weight: 800; font-size: 13px; color: #ffe3f0; text-shadow: 0 1px 2px #000;
}
.bossbar[hidden] { display: none; }
.bb-track { height: 10px; margin-top: 3px; border-radius: 999px; background: rgba(20, 10, 40, 0.75); border: 1px solid rgba(255, 255, 255, 0.35); overflow: hidden; }
.bb-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #ff5ca8, #ffb347); transition: width 0.3s ease; }

.hint {
  position: absolute; left: 50%; top: 46px; transform: translateX(-50%); z-index: 9; pointer-events: none;
  max-width: min(560px, calc(100% - 20px)); padding: 9px 16px; border-radius: 14px;
  background: rgba(255, 249, 230, 0.95); color: #3b1d3a; font-weight: 700; font-size: 15px; line-height: 1.35; text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); border: 2px solid #f2c27a;
  animation: pop 0.22s ease;
}
.hint[hidden] { display: none; }
.hint kbd, .card kbd { display: inline-block; min-width: 1.6em; padding: 0 5px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.25); border-bottom-width: 2px; background: #fff; color: #3b1d3a; font: 700 0.85em/1.5 var(--font); text-align: center; }
.card kbd { background: #2c2366; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
@keyframes pop { from { transform: translateX(-50%) scale(0.9); opacity: 0; } }

.toast {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 9; pointer-events: none;
  font-weight: 900; font-size: 22px; color: #fff; text-shadow: 0 2px 0 #5a1a5a, 0 0 12px rgba(255, 120, 200, 0.7);
  opacity: 0; white-space: nowrap;
}
.toast.show { animation: toast 1.4s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.8); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%); } }

/* ---------- Touch-Steuerung ---------- */
.touch {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 calc(14px + env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) calc(14px + env(safe-area-inset-left, 0px));
}
.touch[hidden] { display: none; }
.touch.panel-mode {
  align-items: flex-end;
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(260px 140px at 18% 100%, rgba(255, 120, 190, 0.16), transparent 70%),
    radial-gradient(260px 140px at 82% 100%, rgba(110, 140, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(10, 6, 30, 0.35), rgba(40, 28, 90, 0.35));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hint.in-panel { top: auto; max-width: calc(100% - 24px); }
.tc-group { pointer-events: auto; display: flex; gap: 10px; align-items: flex-end; touch-action: none; }
.tc-move { display: grid; grid-template-columns: var(--tc) calc(var(--tc) * 0.62) var(--tc); grid-template-rows: auto; align-items: end; gap: 8px; }
.tc-act { display: grid; grid-template-columns: var(--tc) calc(var(--tc) * 1.15); grid-template-rows: auto auto; gap: 10px; align-items: end; }
.tc {
  pointer-events: auto; touch-action: none; -webkit-user-select: none; user-select: none;
  width: var(--tc); height: var(--tc); border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.55); background: rgba(30, 22, 70, 0.38); color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: transform 0.05s, background 0.05s;
}
.tc svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.tc.on { transform: translateY(2px) scale(0.95); background: rgba(255, 255, 255, 0.35); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.tc-d { width: calc(var(--tc) * 0.62); height: calc(var(--tc) * 0.62); margin-bottom: 4px; }
.tc-j { width: calc(var(--tc) * 1.15); height: calc(var(--tc) * 1.15); background: rgba(255, 92, 168, 0.42); grid-column: 2; grid-row: 1 / span 2; }
.tc-s { grid-column: 1; grid-row: 2; }
.tc-b { grid-column: 1; grid-row: 1; width: calc(var(--tc) * 0.8); height: calc(var(--tc) * 0.8); justify-self: center; background: rgba(255, 150, 220, 0.4); font-size: 24px; }
.tc-b[hidden] { display: none; }
.sw-ic { width: 52%; height: 52%; border-radius: 50%; display: block; background: radial-gradient(circle at 35% 35%, #fff7c8, #ffb347 60%, #ff7a3a); box-shadow: 0 0 10px rgba(255, 190, 90, 0.8); }
.tc-s.to-sun .sw-ic { background: radial-gradient(circle at 35% 35%, #fff7c8, #ffb347 60%, #ff7a3a); box-shadow: 0 0 10px rgba(255, 190, 90, 0.8); }
.tc-s.to-moon .sw-ic { background: radial-gradient(circle at 65% 35%, transparent 38%, #c9d4ff 40%, #8fa2ff 70%); box-shadow: none; }
.touch.size-s { --tc: 58px; } .touch.size-l { --tc: 84px; }
@media (max-height: 520px) {
  .touch.size-m { --tc: 62px; } .touch.size-s { --tc: 52px; } .touch.size-l { --tc: 74px; }
  .touch:not(.panel-mode) { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tc { background: rgba(30, 22, 70, 0.28); border-color: rgba(255, 255, 255, 0.45); }
}

/* ---------- Bildschirme ---------- */
.screen {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  padding: 16px calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  background: rgba(14, 9, 38, 0.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  overflow: auto;
}
.screen[hidden] { display: none; }
.screen-scroll { align-items: flex-start; }
.screen-scroll > .panel { margin: auto; }
.screen-title { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; align-items: flex-start; padding-top: 4vh; }
.screen-intro { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }

.panel {
  width: 100%; max-width: 460px; padding: 22px 22px 18px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: rise 0.25s ease;
}
.panel-wide { max-width: 860px; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.panel h2 { margin: 0 0 6px; font-size: 26px; font-weight: 900; text-align: center; background: linear-gradient(90deg, #ffb0d6, #ffd98a 45%, #aebfff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel h3 { margin: 0 0 6px; font-size: 17px; color: #ffe3a8; }
.panel p { margin: 6px 0; line-height: 1.5; color: var(--ink); }
.panel-sub { text-align: center; color: var(--muted) !important; font-size: 14px; }
.panel-head { text-align: center; }

.menu { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; align-items: stretch; }
.menu-row { flex-direction: row; justify-content: center; flex-wrap: wrap; }
.btn {
  min-height: 46px; padding: 10px 22px; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-weight: 800; font-size: 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)), #2e2470;
  box-shadow: 0 4px 0 #120d33, 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.08s, filter 0.15s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #120d33; }
.btn-main { background: linear-gradient(90deg, #ff5ca8, #ff9a5c); border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 4px 0 #8a2457, 0 10px 24px rgba(255, 92, 168, 0.35); color: #fff; text-shadow: 0 1px 0 rgba(120, 20, 60, 0.5); }
.btn-danger { background: linear-gradient(180deg, #c03a5a, #8e2443); box-shadow: 0 4px 0 #4a1024; }
button:focus-visible, select:focus-visible, input:focus-visible, .lv-card:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
.btn:focus-visible { box-shadow: 0 0 0 3px var(--focus), 0 4px 0 #120d33; outline-offset: 4px; }

/* Titel */
.title-box { width: min(440px, 100%); text-align: center; }
.logo { margin: 0; font-size: clamp(44px, 9vw, 76px); font-weight: 900; line-height: 1; letter-spacing: 1px; filter: drop-shadow(0 4px 0 #2a1340) drop-shadow(0 0 18px rgba(255, 160, 220, 0.35)); }
.lg-a { background: linear-gradient(180deg, #fff1a8 0%, #ffb347 45%, #ff5ca8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-b { background: linear-gradient(180deg, #e6ecff 0%, #8fa6ff 50%, #a77bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { margin: 6px 0 0; font-weight: 800; font-size: 18px; color: #fff; text-shadow: 0 2px 0 #3a1d5a, 0 0 10px rgba(0, 0, 0, 0.4); letter-spacing: 0.5px; }
.title-box .menu { max-width: 300px; margin: 22px auto 0; }
.title-box .btn { background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)), rgba(40, 28, 100, 0.86); }
.title-box .btn-main { background: linear-gradient(90deg, #ff5ca8, #ff9a5c); }
.title-stats { margin-top: 14px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; font-size: 15px; min-height: 1.4em; }
.title-stats i { margin: 0 2px 0 8px; }

/* Levelauswahl */
.worlds { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.world { border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.world-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 2px 4px 8px; }
.world-h h3 { margin: 0; font-size: 17px; }
.world-h span { color: var(--muted); font-size: 13px; font-weight: 700; }
.world.locked { opacity: 0.6; }
.lv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 620px) { .lv-grid { grid-template-columns: repeat(2, 1fr); } }
.lv-card {
  position: relative; text-align: left; padding: 10px 10px 8px; min-height: 96px; border-radius: 14px; cursor: pointer;
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)), #2c2366;
  display: flex; flex-direction: column; gap: 3px;
}
.lv-card:hover:not(:disabled) { filter: brightness(1.15); }
.lv-card:disabled { cursor: not-allowed; opacity: 0.55; }
.lv-card .lv-n { font-weight: 900; font-size: 14px; color: #ffd98a; }
.lv-card .lv-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.lv-card .lv-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lv-card.boss { background: linear-gradient(160deg, rgba(255, 120, 180, 0.25), rgba(255, 255, 255, 0.03)), #3a2266; }
.lv-card.next { box-shadow: 0 0 0 2px #ff9ad0, 0 0 18px rgba(255, 120, 200, 0.45); }
.stars { letter-spacing: 1px; font-size: 15px; }
.stars .on { color: #ffd84a; text-shadow: 0 0 6px rgba(255, 210, 80, 0.6); }
.stars .off { color: rgba(255, 255, 255, 0.25); }
.w-wiese .world-h h3 { color: #ffb0d6; } .w-grotte .world-h h3 { color: #d7a8ff; } .w-stadt .world-h h3 { color: #ffc38a; } .w-sterne .world-h h3 { color: #aebfff; }

/* Hilfe */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.card { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.card p, .card li { font-size: 14.5px; line-height: 1.5; }
.card ul { margin: 0; padding-left: 0; list-style: none; }
.card li { margin: 4px 0; }
.c-sun { color: #ffb36b; } .c-moon { color: #9fb2ff; }
.blk { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; border: 1px solid rgba(0, 0, 0, 0.4); }
.blk-sun { background: #ffb347; } .blk-moon { background: #6f8dff; }
.pill-ic { display: inline-block; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }

/* Einstellungen */
.settings { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.set-check { justify-content: flex-start; }
.set-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: #ff5ca8; flex: 0 0 auto; }
.set-row input[type="range"] { width: 52%; accent-color: #ff5ca8; }
.set-row select { padding: 6px 8px; border-radius: 10px; background: #2c2366; color: #fff; border: 1px solid var(--line); }

/* Ergebnis */
.stars-big { display: flex; justify-content: center; gap: 10px; margin: 8px 0 6px; font-size: 44px; line-height: 1; }
.stars-big span { color: rgba(255, 255, 255, 0.18); transform: scale(0.6); opacity: 0; animation: starIn 0.4s ease forwards; }
.stars-big span.on { color: #ffd84a; text-shadow: 0 0 14px rgba(255, 210, 80, 0.8), 0 3px 0 #a5640e; }
@keyframes starIn { to { transform: scale(1); opacity: 1; } }
.result-list { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin: 12px 4px 4px; font-size: 16px; }
.result-list dt { color: var(--muted); font-weight: 700; }
.result-list dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.result-list .new { color: #ffd84a; font-size: 12px; margin-left: 6px; }
.credits { font-size: 13px; color: var(--muted); text-align: center; }

/* Level-Intro */
.intro-card {
  text-align: center; padding: 18px 30px; border-radius: 20px;
  background: rgba(20, 12, 50, 0.72); border: 1px solid rgba(255, 255, 255, 0.2);
  animation: introIn 0.35s ease;
}
.intro-world { margin: 0; color: #ffd98a; font-weight: 800; letter-spacing: 0.5px; }
.intro-name { margin: 4px 0; font-size: clamp(26px, 5vw, 38px); font-weight: 900; color: #fff; text-shadow: 0 3px 0 #5a1a5a; }
.intro-lives { margin: 0; color: var(--muted); font-weight: 700; }
@keyframes introIn { from { transform: scale(0.85); opacity: 0; } }

/* Footer unterhalb der Spielfläche */
.app > .s05-footer { flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
