/* ============================================================
   viewmedia Web-Demos – gemeinsame Stile (Incatower; später NEO Blocks und WENGLA)
   Lesbarkeit (harte Regel): Text auf dunklen Platten, nichts unter 24 px, Knopftext ab 26 px,
   keine dunkle Schrift auf hellem Stein. Mobil zuerst (375 px Hochformat), dann Desktop.
   Allgemeine Bausteine stehen unter .demo-*, Incatower-Eigenes unter .demo-inca.
   Wird NACH css/style.css (und css/inca-daily-play.css) geladen und überschreibt dort.
   ============================================================ */

.demo-page {
  --demo-bg: #180f0a;
  --demo-plate: #2b1c14;
  --demo-plate-2: #3a271b;
  --demo-text: #f3e3c0;
  --demo-strong: #fff4dc;
  --demo-muted: #e0cba0;
  --demo-gold: #d9a83b;
  --demo-gold-light: #f2cf7a;
  min-height: 100vh;
  background: radial-gradient(120% 70% at 50% 0%, #3a271b 0%, var(--demo-bg) 62%) no-repeat, var(--demo-bg);
  color: var(--demo-text);
  font-size: 24px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.demo-page a { color: var(--demo-gold-light); }
.demo-page a:hover { color: #ffe39a; }
.demo-page :focus-visible { outline: 3px solid var(--demo-gold-light); outline-offset: 3px; }

.demo-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- Kopfzeile */
.demo-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  max-width: 1100px; margin: 0 auto; padding: 8px 12px;
}
.demo-brand {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  color: #f7e7c4; font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
}
.demo-brand:hover { color: #fff4dc; }
.demo-brand img { width: 64px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.demo-brand-text { display: none; }
.demo-header-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.demo-store-link {
  padding: 10px 6px; font-size: 24px; font-weight: 600; white-space: nowrap;
  color: var(--demo-muted); text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: rgba(242, 207, 122, 0.5);
}
.demo-store-link:hover { color: var(--demo-strong); }
.demo-store-link .lbl-long { display: none; }

.demo-sound {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(217, 168, 59, 0.6); background: rgba(255, 244, 220, 0.08);
  color: #f7e7c4; cursor: pointer;
}
.demo-sound:hover { background: rgba(255, 244, 220, 0.18); }
.demo-sound svg { width: 26px; height: 26px; }
.demo-sound .icon-off { display: none; }
.demo-sound.is-muted .icon-on { display: none; }
.demo-sound.is-muted .icon-off { display: block; color: #d9a07a; }

.demo-lang.lang-switch {
  background: rgba(255, 244, 220, 0.08); border: 1px solid rgba(217, 168, 59, 0.45);
  padding: 2px; border-radius: 26px; gap: 0;
}
.demo-lang .lang-btn {
  min-height: 42px; padding: 4px 9px; font-size: 24px; font-weight: 700; letter-spacing: 0;
  color: var(--demo-muted); border-radius: 22px;
}
.demo-lang .lang-btn.active { background: var(--demo-gold-light); color: #2b1c14; }

/* ---------------------------------------------------------- Seitenaufbau */
.demo-main { max-width: 1100px; margin: 0 auto; padding: 0 10px 28px; }
.demo-play { display: flex; flex-direction: column; gap: 10px; }
.demo-play[hidden], .demo-end[hidden] { display: none; }

.demo-side { display: flex; align-items: center; gap: 14px; padding: 4px 6px; }
.demo-progress { min-width: 0; }
.demo-level { font-size: 26px; font-weight: 700; color: var(--demo-strong); line-height: 1.2; }
.demo-pips { display: flex; gap: 9px; list-style: none; margin-top: 8px; }
.demo-pip {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #8a6a3a; background: transparent; transition: background 0.4s ease, border-color 0.4s ease;
}
.demo-pip.done { background: var(--demo-gold-light); border-color: var(--demo-gold-light); }
.demo-pip.skip { opacity: 0.45; }
.demo-pip.cur { border-color: var(--demo-strong); box-shadow: 0 0 0 3px rgba(242, 207, 122, 0.35); }
.demo-pip.done.cur { border-color: var(--demo-gold-light); }

.demo-board-col { min-width: 0; }

/* ---------------------------------------------------------- Kalenderscheibe */
.demo-disc { position: relative; width: 76px; aspect-ratio: 1 / 1; flex: 0 0 auto; }
.demo-disc > span { position: absolute; inset: 0; display: block; }
.demo-disc-base,
.demo-disc-seg,
.demo-disc-sun {
  background: url('../assets/images/lp/incatower-year.webp') center / 100% 100% no-repeat;
}
.demo-disc-base { filter: grayscale(0.92) brightness(0.4) contrast(1.05); }
.demo-disc-seg,
.demo-disc-sun { opacity: 0; transition: opacity 0.9s ease; }
/* Sektoren lassen den Kreis der Sonne in der Mitte frei (Sonne ist eine eigene Schicht) */
.demo-disc-seg {
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, transparent 0, transparent 41%, #000 41.6%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, transparent 0, transparent 41%, #000 41.6%);
}
.demo-disc-sun { clip-path: circle(20.6% at 50% 50%); -webkit-clip-path: circle(20.6% at 50% 50%); }
.demo-disc .on { opacity: 1; }
.demo-disc .flash { animation: demo-flash 1.5s ease-out; }
@keyframes demo-flash {
  0% { filter: brightness(2.8) saturate(1.6); }
  100% { filter: none; }
}

/* ---------------------------------------------------------- Spielfeld */
.demo-stage {
  position: relative; padding: 12px 4px 14px; border-radius: 20px;
  background: linear-gradient(180deg, var(--demo-plate-2) 0%, var(--demo-plate) 100%);
  border: 1px solid rgba(217, 168, 59, 0.5);
  box-shadow: inset 0 1px 0 rgba(242, 207, 122, 0.15), 0 10px 28px rgba(0, 0, 0, 0.35);
  color: var(--demo-text);
}
.demo-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.demo-overlay > span { position: absolute; inset: 0; display: block; }

/* Engine-Elemente (inca-play-*) auf Demo-Größen heben: nichts unter 24 px */
.demo-inca .inca-play { max-width: 460px; margin: 0 auto; }   /* Brett höchstens 460 px: Ebene passt auf einen Laptop-Bildschirm */
.demo-inca .inca-play-hud { font-size: 24px; padding: 0 10px; gap: 6px 12px; }
.demo-inca .inca-play-goal { gap: 12px; }
.demo-inca .inca-play-goal-card { width: 112px !important; height: 84px !important; object-fit: contain; }
.demo-inca .inca-play-goal-label { display: none; }
.demo-inca .inca-play-goal-text strong { font-size: 26px; color: var(--demo-gold-light); }
.demo-inca .inca-play-goal-shape { font-size: 24px; color: var(--demo-muted); }
.demo-inca .inca-play-count { font-size: 24px; color: var(--demo-text); }
.demo-inca .inca-play-count strong { font-size: 26px; }
.demo-inca .inca-play-ideal { color: var(--demo-muted); }
.demo-inca .inca-play-mission { display: none; font-size: 24px; margin: 12px 10px 0; }
.demo-inca .inca-play-chip { flex-basis: 42px; width: 42px; height: 42px; }
.demo-inca .inca-play-chip img { width: 30px; height: 30px; }
.demo-inca .inca-play-progress,
.demo-inca .inca-play-progress-text { display: none; }
.demo-inca .inca-play-board { margin-top: 10px; }
.demo-inca .inca-play-status { font-size: 24px; min-height: 0; margin: 6px 0 0; padding: 0 10px; color: var(--demo-muted); }
.demo-inca .inca-play-status:empty { display: none; }
.demo-inca .inca-play-actions { margin-top: 12px; gap: 10px; }
.demo-inca .inca-play-btn { min-height: 56px; font-size: 26px; padding: 8px 22px; color: #f7e7c4; }
.demo-inca .inca-play-btn:disabled { opacity: 0.45; }
.demo-inca .inca-play-btn.demo-pulse { animation: demo-pulse-btn 1.1s ease-in-out infinite; }
@keyframes demo-pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 207, 122, 0.0); }
  50% { box-shadow: 0 0 0 6px rgba(242, 207, 122, 0.55); }
}

/* ---------------------------------------------------------- Hand, Tipp, Leuchten */
.demo-ring {
  position: absolute; border-radius: 15%; border: 4px solid var(--demo-gold-light);
  box-shadow: 0 0 0 3px rgba(43, 28, 20, 0.5), 0 0 20px 5px rgba(242, 207, 122, 0.65);
}
.demo-ring-hand { opacity: 0.9; }
.demo-ring-hint { animation: demo-pulse 1.2s ease-in-out infinite; }
@keyframes demo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.07); opacity: 0.6; }
}
.demo-glow {
  border-color: #fff1b8; background: rgba(255, 226, 140, 0.32);
  box-shadow: 0 0 26px 10px rgba(255, 214, 110, 0.85), inset 0 0 18px rgba(255, 244, 200, 0.7);
  animation: demo-glow 1.3s ease-in-out infinite;
}
@keyframes demo-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.demo-hand { position: absolute; width: 0; height: 0; will-change: transform; }
.demo-hand svg { position: absolute; left: -29px; top: -9px; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.55)); }

/* Führungshand (js/demo-guide.js) – gemeinsam für alle Demos */
.demo-guide { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.demo-guide.is-on { opacity: 1; }
.demo-guide-hand { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.demo-guide-hand svg { position: absolute; left: -29px; top: -9px; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.6)); }
.demo-guide-hand.is-tap svg { animation: demo-guide-tap 1.1s ease-in-out infinite; }
.demo-guide-hand.is-double svg { animation: demo-guide-double 1.4s ease-in-out infinite; }
.demo-guide-hand.is-point svg { animation: demo-guide-point 1.4s ease-in-out infinite; }
.demo-guide-bubble {
  position: fixed; left: 0; top: 0; z-index: 901; pointer-events: none; box-sizing: border-box;
  padding: 12px 16px; border-radius: 16px; background: #140c06; border: 2px solid #ffd166;
  color: #fff4dc; font-size: 24px; line-height: 1.3; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
}
.demo-guide-bubble.is-on { opacity: 1; visibility: visible; }
.demo-guide-bubble strong { color: #ffd166; }
@keyframes demo-guide-tap { 0%, 100% { transform: translateY(14px) scale(1); } 45% { transform: translateY(0) scale(0.86); } }
@keyframes demo-guide-double {
  0%, 100% { transform: translateY(14px) scale(1); } 15% { transform: translateY(0) scale(0.86); }
  30% { transform: translateY(10px) scale(1); } 45% { transform: translateY(0) scale(0.86); } 60% { transform: translateY(14px) scale(1); }
}
@keyframes demo-guide-point { 0%, 100% { transform: translate(10px, 18px); } 50% { transform: translate(0, 4px); } }
@media (prefers-reduced-motion: reduce) {
  .demo-guide-hand svg { animation: none !important; }
}
.demo-arrow {
  position: absolute; transform: translate(-50%, -50%); line-height: 1; color: var(--demo-gold-light);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(242, 207, 122, 0.7);
}
.demo-arrow-hint { animation: demo-pulse 1.2s ease-in-out infinite; }

.demo-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.demo-tip {
  width: 100%; padding: 10px 14px; border-radius: 14px; text-align: center;
  font-size: 24px; line-height: 1.35; color: var(--demo-strong);
  background: rgba(43, 28, 20, 0.92); border: 1px solid rgba(242, 207, 122, 0.45);
}
.demo-tip[hidden], .demo-btn[hidden], .demo-error[hidden], .demo-copied[hidden] { display: none; }
.demo-error { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--demo-plate); color: var(--demo-strong); text-align: center; }

/* ---------------------------------------------------------- Knöpfe */
.demo-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px;
  padding: 12px 28px; border-radius: 980px; border: 1px solid rgba(217, 168, 59, 0.6);
  font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.demo-btn:hover { transform: translateY(-1px); }
.demo-btn-gold { border-color: transparent; background: linear-gradient(135deg, var(--demo-gold-light), var(--demo-gold)); color: #2b1c14; }
.demo-page .demo-btn-gold:hover { background: linear-gradient(135deg, #f7dc96, #e3b54c); color: #2b1c14; }
.demo-page .demo-btn-gold { color: #2b1c14; }
.demo-btn-ghost { background: rgba(255, 244, 220, 0.08); color: #f7e7c4; }
.demo-page .demo-btn-ghost:hover { background: rgba(255, 244, 220, 0.18); color: #fff4dc; }
.demo-btn-big { min-height: 76px; padding: 16px 30px; font-size: 30px; width: 100%; max-width: 520px; box-shadow: 0 8px 24px rgba(217, 168, 59, 0.28); }

/* ---------------------------------------------------------- Sieg-Karte */
.demo-win {
  position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: inherit; background: rgba(20, 12, 8, 0.74);
  opacity: 0; transition: opacity 0.25s ease;
}
.demo-win[hidden] { display: none; }
.demo-win.is-open { opacity: 1; }
.demo-win-card {
  width: 100%; max-width: 420px; text-align: center; padding: 22px 14px 20px; border-radius: 20px;
  background: linear-gradient(180deg, var(--demo-plate-2) 0%, var(--demo-plate) 100%);
  border: 1px solid rgba(217, 168, 59, 0.7); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.94) translateY(8px); transition: transform 0.25s ease;
}
.demo-win.is-open .demo-win-card { transform: none; }
.demo-win-stars { font-size: 52px; line-height: 1; letter-spacing: 8px; color: var(--demo-gold-light); text-shadow: 0 0 18px rgba(242, 207, 122, 0.6); }
.demo-win.is-open .demo-win-stars { animation: demo-star-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes demo-star-pop { 0% { transform: scale(0.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.demo-win-title { margin-top: 10px; font-size: 32px; font-weight: 800; color: var(--demo-strong); line-height: 1.15; }
.demo-win-sub { margin-top: 6px; font-size: 24px; color: var(--demo-muted); }
.demo-win-gild { margin: 10px 0 16px; font-size: 24px; color: var(--demo-gold-light); font-weight: 600; }

/* ---------------------------------------------------------- Endbildschirm */
.demo-end-card {
  max-width: 640px; margin: 6px auto 0; padding: 22px 14px 26px; text-align: center; border-radius: 24px;
  background: linear-gradient(180deg, var(--demo-plate-2) 0%, var(--demo-plate) 100%);
  border: 1px solid rgba(217, 168, 59, 0.6); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
}
.demo-end-title { font-size: 42px; font-weight: 800; line-height: 1.1; color: var(--demo-gold-light); }
.demo-disc-large { width: min(54vw, 240px); margin: 10px auto 6px; }
.demo-end-count { font-size: 28px; font-weight: 700; color: var(--demo-strong); line-height: 1.2; }
.demo-end-stars { margin-top: 6px; font-size: 26px; font-weight: 600; color: var(--demo-gold-light); }
.demo-end-text { margin: 12px 4px 18px; font-size: 26px; line-height: 1.3; color: var(--demo-text); }
.demo-store-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
body.platform-android .demo-store-group [data-store="apple"],
body.platform-ios .demo-store-group [data-store="google"] { display: none; }
.demo-qr { display: none; margin: 22px auto 0; }
body.platform-desktop .demo-qr { display: block; }
.demo-qr img { width: 176px; height: 176px; margin: 0 auto; padding: 8px; border-radius: 14px; background: #fff; }
.demo-qr p { margin-top: 10px; font-size: 24px; color: var(--demo-muted); }
.demo-locked {
  display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 24px auto 0; padding: 12px 14px;
  border-radius: 16px; text-align: left; background: rgba(0, 0, 0, 0.3); border: 1px dashed rgba(242, 207, 122, 0.5);
}
.demo-locked-tile { position: relative; flex: 0 0 72px; height: 72px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.demo-locked-tile::before {
  content: ''; position: absolute; inset: 0; background: url('../assets/images/incatower/tile.png') center / cover no-repeat;
  filter: grayscale(1) brightness(0.55);
}
.demo-locked-tile svg { position: relative; width: 38px; height: 38px; color: var(--demo-gold-light); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7)); }
.demo-locked-text { font-size: 24px; line-height: 1.3; color: var(--demo-strong); }
.demo-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.demo-copied { margin-top: 12px; font-size: 24px; color: var(--demo-muted); }

/* ---------------------------------------------------------- Kurztext + Fuß */
.demo-about { max-width: 640px; margin: 28px auto 0; padding: 18px 16px; border-radius: 20px; background: rgba(43, 28, 20, 0.85); border: 1px solid rgba(217, 168, 59, 0.3); }
.demo-about h2 { font-size: 30px; line-height: 1.15; color: var(--demo-gold-light); margin-bottom: 10px; }
.demo-about p { font-size: 24px; color: var(--demo-text); }
.demo-about-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.demo-about-links a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.demo-footer { max-width: 1100px; margin: 0 auto; padding: 8px 14px 36px; text-align: center; }
.demo-footer-note { font-size: 24px; color: var(--demo-muted); }
.demo-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 26px; margin-top: 8px; font-size: 24px; }
.demo-footer-links a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 5px; }

/* ---------------------------------------------------------- breiter */
@media (min-width: 560px) {
  .demo-store-link .lbl-long { display: inline; }
  .demo-store-link .lbl-short { display: none; }
  .demo-lang .lang-btn { padding: 4px 14px; }
  .demo-header-actions { gap: 12px; }
  .demo-inca .inca-play-goal-card { width: 140px !important; height: 100px !important; }
}
@media (min-width: 720px) {
  .demo-brand-text { display: inline; }
  .demo-header { padding: 10px 18px; }
  .demo-main { padding: 0 18px 40px; }
  .demo-store-group { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .demo-store-group .demo-btn-big { width: auto; min-width: 300px; }
  .demo-end-card { padding: 32px 28px 34px; }
}
@media (min-width: 900px) {
  /* Endbildschirm zweispaltig: links Scheibe + Ergebnis, rechts Satz + Store-Knöpfe + QR (alles ohne Scrollen) */
  .demo-end-card { max-width: 980px; padding: 26px 32px 30px; }
  .demo-end-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin-top: 8px; }
  .demo-end-left .demo-disc-large { width: min(100%, 300px); }
  .demo-end-text { margin-top: 0; }
  .demo-store-group { flex-direction: column; }
  .demo-store-group .demo-btn-big { width: 100%; min-width: 0; }
  body.platform-desktop .demo-qr { display: flex; align-items: center; gap: 16px; text-align: left; margin-top: 18px; }
  .demo-qr p { margin-top: 0; }
  .demo-play { flex-direction: row; align-items: flex-start; justify-content: center; gap: 36px; }
  .demo-board-col { flex: 0 1 500px; order: 1; }
  .demo-side { order: 2; flex: 0 0 300px; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 6px; position: sticky; top: 16px; }
  .demo-side .demo-disc { width: 260px; }
  .demo-pips { justify-content: center; }
  .demo-inca .inca-play-mission { display: flex; }
}

/* ---------------------------------------------------------- Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  .demo-disc-seg, .demo-disc-sun, .demo-win, .demo-win-card, .demo-pip, .demo-btn { transition: none; }
  .demo-disc .flash, .demo-ring-hint, .demo-arrow-hint, .demo-glow, .demo-win.is-open .demo-win-stars,
  .demo-inca .inca-play-btn.demo-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NEO Blocks (Zauberwald): Farbschema Waldgrün / Gold / Pergament laut marketing/brand/BRAND.md.
   Alles unter .demo-neo; Incatower bleibt unberührt. Die Engine-Klassen (neo-play-*, neo-ladder-*)
   stammen aus css/neo-daily-play.css und werden hier auf Demo-Größen gehoben (nichts unter 24 px).
   ============================================================ */
.demo-neo {
  --demo-bg: #10261a;
  --demo-plate: #1a3d2a;
  --demo-plate-2: #245236;
  --demo-text: #f5ebc4;
  --demo-strong: #fffbe6;
  --demo-muted: #dcd5a8;
  --demo-gold: #d4a437;
  --demo-gold-light: #f7d36a;
  background: radial-gradient(120% 70% at 50% 0%, #245236 0%, var(--demo-bg) 62%) no-repeat, var(--demo-bg);
}
.demo-neo .demo-brand { color: var(--demo-text); }
.demo-neo .demo-brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(212, 164, 55, 0.6); }
.demo-neo .demo-pip { border-color: #7a9a5c; }
.demo-neo .demo-pip.cur { border-color: var(--demo-strong); }
.demo-neo .demo-btn-gold,
.demo-page.demo-neo .demo-btn-gold,
.demo-page.demo-neo .demo-btn-gold:hover { color: #1a2e1a; }
.demo-neo .demo-btn-ghost { color: var(--demo-text); }
.demo-neo .demo-locked-tile::before {
  background: url('../assets/images/neo-daily/block1.png') center / 86% no-repeat;
  filter: grayscale(1) brightness(0.6);
}
.demo-neo .demo-win-gild { color: var(--demo-gold-light); }

/* Fortschritt: Zeile mit Ebene + Punkten, darunter die Runenleiter */
.demo-neo .demo-side { flex-direction: column; align-items: stretch; gap: 8px; }
.demo-neo .demo-progress { width: 100%; }
.demo-neo-levelrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.demo-neo .demo-level { white-space: nowrap; }
.demo-neo .demo-pips { margin-top: 0; }
.demo-neo-rune { margin-top: 2px; font-size: 24px; line-height: 1.25; color: var(--demo-gold-light); font-weight: 600; }

/* Runenleiter aus dem Spiel: zwölf Steine, erreichte leuchten */
.demo-neo-ladder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; width: 100%; }
.demo-neo-rt {
  position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 22%;
  background-size: 100% 100%; background-repeat: no-repeat;
  opacity: 0.3; filter: grayscale(0.85) brightness(0.65);
  transition: opacity 0.5s ease, filter 0.5s ease;
}
.demo-neo-rt img { position: absolute; inset: 7%; width: 86%; height: 86%; filter: drop-shadow(1px 2px 1px rgba(15, 25, 12, 0.7)); }
.demo-neo-rt.on { opacity: 1; filter: none; }
.demo-neo-rt.next { opacity: 0.55; box-shadow: 0 0 0 2px rgba(247, 211, 106, 0.7); }
.demo-neo-rt.on.flash { animation: demo-neo-flash 1.2s ease-out; }
@keyframes demo-neo-flash {
  0% { filter: brightness(2.6) saturate(1.5); transform: scale(1.18); }
  100% { filter: none; transform: none; }
}
.demo-neo-ladder-large { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 360px; margin: 14px auto 8px; }

/* Engine: Brett, Anzeige, Knöpfe, Runen-Rechnung */
.demo-neo .neo-play { max-width: 460px; margin: 0 auto; color: var(--demo-text); }
.demo-neo .neo-play-hud { font-size: 24px; padding: 0 10px; gap: 6px 12px; margin-bottom: 8px; color: var(--demo-text); }
.demo-neo .neo-play-goal { gap: 10px; }
.demo-neo .neo-play-goal img { width: 56px; height: 56px; }
.demo-neo .neo-play-goal strong { font-size: 26px; color: var(--demo-gold-light); }
.demo-neo .neo-play-count { color: var(--demo-text); }
.demo-neo .neo-play-count strong { font-size: 26px; }
.demo-neo .neo-play-best { color: var(--demo-muted); }
.demo-neo .neo-play-style { font-size: 24px; margin: 0 0 8px; padding: 0 10px; color: var(--demo-text); }
.demo-neo .neo-play-style-label { color: var(--demo-muted); }
.demo-neo .neo-play-style-group { background: rgba(255, 251, 230, 0.08); border-color: rgba(212, 164, 55, 0.55); }
.demo-neo .neo-play-style-btn { min-height: 44px; padding: 4px 16px; font-size: 24px; color: var(--demo-text); }
.demo-neo .neo-play-style-btn.is-active { background: var(--demo-gold-light); color: #1a2e1a; box-shadow: none; }
.demo-neo .neo-play-board { margin-top: 4px; }
.demo-neo .neo-play-status { font-size: 24px; min-height: 0; margin: 6px 0 0; padding: 0 10px; color: var(--demo-muted); }
.demo-neo .neo-play-status:empty { display: none; }
.demo-neo .neo-play-actions { margin-top: 12px; gap: 10px; }
.demo-neo .neo-play-btn {
  min-height: 56px; padding: 8px 18px; font-size: 26px; color: var(--demo-text);
  background: rgba(255, 251, 230, 0.08); border-color: rgba(212, 164, 55, 0.6);
}
.demo-neo .neo-play-btn:hover:not(:disabled) { background: rgba(255, 251, 230, 0.18); box-shadow: none; }
.demo-neo .neo-play-btn:disabled { opacity: 0.45; }
.demo-neo .neo-play-btn.demo-pulse { animation: demo-pulse-btn 1.1s ease-in-out infinite; }
.demo-neo .neo-ladder { margin-top: 18px; padding-top: 14px; border-top-color: rgba(212, 164, 55, 0.4); }
.demo-neo .neo-ladder-title { font-size: 26px; color: var(--demo-gold-light); }
.demo-neo .neo-ladder-hint { font-size: 24px; line-height: 1.3; color: var(--demo-muted); margin: 6px 0 12px; }
.demo-neo .neo-ladder-list { max-width: 100%; padding: 0 6px; }
.demo-neo .neo-ladder-row { background: rgba(0, 0, 0, 0.25); border-color: rgba(212, 164, 55, 0.35); }
.demo-neo .neo-ladder-row.is-goal { background: rgba(247, 211, 106, 0.16); border-color: var(--demo-gold-light); box-shadow: none; }
.demo-neo .neo-ladder-op { color: var(--demo-text); font-size: 24px; width: 18px; }
.demo-neo .neo-ladder-text strong { font-size: 24px; color: var(--demo-strong); }
.demo-neo .neo-ladder-value { font-size: 24px; color: var(--demo-gold-light); }
.demo-neo .neo-ladder-goal { font-size: 24px; padding: 0 10px; }
.demo-neo .neo-ladder-num { display: none; }
.demo-neo .neo-ladder[data-style="2"] .neo-ladder-num { display: block; font-size: 24px; position: static; min-width: 0; padding: 0; }
.demo-neo .neo-ladder[data-style="2"] .neo-ladder-tile { width: auto; min-width: 46px; flex-basis: auto; padding: 0 6px; }

@media (min-width: 900px) {
  .demo-neo .demo-side { align-items: stretch; text-align: left; flex: 0 0 300px; }
  .demo-neo .demo-pips { justify-content: flex-end; }
  .demo-neo .demo-side .demo-neo-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-neo-rt { transition: none; }
  .demo-neo-rt.on.flash, .demo-neo .neo-play-btn.demo-pulse { animation: none; }
}

/* ============================================================
   WENGLA (Buzzer-Runde): Farbschema Rot-Verlauf #e53935 → #7a0a0a, Gold #ffd166 wie auf der WENGLA-Seite.
   Alles unter .demo-wengla; Incatower und NEO Blocks bleiben unberührt. Eigene Bausteine heißen wl-*.
   Lesbarkeit: nichts unter 24 px, Knopftext ab 26 px (Ausnahme: Zahlen auf den Kartengrafiken, Originale).
   ============================================================ */
.demo-wengla {
  --demo-bg: #2a0707;
  --demo-plate: #4a0f0f;
  --demo-plate-2: #6b1515;
  --demo-text: #fff0dc;
  --demo-strong: #fff8ec;
  --demo-muted: #f3d3ac;
  --demo-gold: #f0b13a;
  --demo-gold-light: #ffd166;
  background: radial-gradient(120% 70% at 50% 0%, #7a0a0a 0%, var(--demo-bg) 62%) no-repeat, var(--demo-bg);
}
.demo-wengla .demo-brand { color: var(--demo-text); }
.demo-wengla .demo-header { padding-top: 4px; padding-bottom: 4px; }
.demo-wengla .demo-brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.7); background: #fff; }
.demo-page.demo-wengla .demo-btn-gold,
.demo-page.demo-wengla .demo-btn-gold:hover { color: #3a0808; }
.demo-wengla .demo-btn-ghost { color: var(--demo-text); }
.demo-wengla .demo-stage {
  padding: 10px 6px 8px; border-color: rgba(255, 209, 102, 0.6);
  background: linear-gradient(180deg, rgba(143, 22, 22, 0.78) 0%, rgba(94, 14, 14, 0.82) 45%, rgba(48, 8, 8, 0.9) 100%),
    url('../assets/demo/wengla/bg.webp') center / cover no-repeat, #3d0909;
}
.demo-wengla .demo-help {
  position: absolute; z-index: 3; right: 8px; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 2px solid rgba(255, 209, 102, 0.85); background: rgba(30, 4, 4, 0.85); color: var(--demo-gold-light);
  font-family: inherit; font-size: 26px; font-weight: 800; line-height: 1; cursor: pointer;
}
.demo-wengla .demo-overlay { z-index: 140; }
.demo-wengla .demo-help:hover { background: rgba(255, 244, 220, 0.24); }
.demo-wengla.is-end .demo-help { display: none; }
.demo-wengla .demo-pip, .demo-wengla .demo-level { display: none; }
.demo-wengla .demo-board-col { width: 100%; max-width: 560px; margin: 0 auto; }

/* Seitenleiste (nur Desktop): die Runde in vier Schritten */
.demo-wengla .wl-side { display: none; }
.demo-wengla .wl-side-title { font-size: 30px; line-height: 1.15; color: var(--demo-gold-light); }
.demo-wengla .wl-steps { list-style: decimal; padding-left: 30px; text-align: left; display: grid; gap: 12px; margin-top: 12px; }
.demo-wengla .wl-steps li { font-size: 24px; line-height: 1.3; color: var(--demo-text); }
.demo-wengla .wl-steps li::marker { color: var(--demo-gold-light); font-weight: 800; }

/* Fortschritt oben am Tisch */
.demo-wengla .wl-top {
  display: grid; gap: 6px; padding: 6px 8px 9px; margin: 0 -3px 2px; border-radius: 14px;
  background: rgba(30, 4, 4, 0.82); border: 1px solid rgba(255, 209, 102, 0.45);
}
.demo-wengla .wl-prog-text { text-align: center; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--demo-strong); }
.demo-wengla .wl-prog-bar { height: 12px; border-radius: 6px; background: rgba(255, 240, 220, 0.22); overflow: hidden; }
.demo-wengla .wl-prog-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #ffe39a, #f0b13a); transition: width 0.45s ease; }
.demo-wengla .wl-top.is-all { border-color: var(--demo-gold-light); box-shadow: 0 0 16px 2px rgba(255, 209, 102, 0.6); }
.demo-wengla .wl-top.is-all .wl-prog-text { color: var(--demo-gold-light); }

/* Gegner mit Original-Porträts wie im Spiel */
.demo-wengla .wl-bots { display: flex; justify-content: space-between; gap: 6px; margin: 6px 0 0; }
.demo-wengla .wl-bot {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 4px 3px; border-radius: 14px; background: rgba(0, 0, 0, 0.32); border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.demo-wengla .wl-bot.is-active { border-color: var(--demo-gold-light); box-shadow: 0 0 14px 2px rgba(255, 209, 102, 0.55); }
.demo-wengla .wl-avatar {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: block;
  box-shadow: 0 0 0 3px #f2791c, 0 3px 8px rgba(0, 0, 0, 0.5); background: #4a0f0f;
}
.demo-wengla .wl-bot.is-active .wl-avatar { box-shadow: 0 0 0 3px var(--demo-gold-light), 0 0 14px 3px rgba(255, 209, 102, 0.7); }
.demo-wengla .wl-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.demo-wengla .wl-bot-count {
  position: absolute; right: -16px; top: -8px; min-width: 32px; height: 30px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 15px; font-size: 24px; font-weight: 800; line-height: 1; color: #3a0808; background: var(--demo-gold-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.demo-wengla .wl-bot-name { font-size: 24px; font-weight: 700; line-height: 1.15; color: var(--demo-strong); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-wengla .wl-bot-pay {
  display: none; align-items: center; gap: 4px; font-size: 24px; font-weight: 800; line-height: 1; color: var(--demo-gold-light);
}
.demo-wengla .wl-bot-pay img { width: 26px; height: 26px; }
.demo-wengla .is-win .wl-bot-pay { display: inline-flex; }
.demo-wengla .is-win .wl-bot-name { display: none; }

/* Tisch wie im Spiel: Holzrand + grünes Filz (Originalgrafik), Dealerin schaut über den oberen Rand */
.demo-wengla .wl-center {
  position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 8px; margin: 2px 0 4px;
  padding: 46px 14px 12px; background: url('../assets/demo/wengla/table.webp') 0 26px / 100% calc(100% - 26px) no-repeat;
}
.demo-wengla .wl-dealer {
  position: absolute; left: 50%; top: 0; width: 50px; height: 46px; transform: translateX(-50%);
  object-fit: cover; object-position: top; opacity: 0.92; pointer-events: none;
}
.demo-wengla .wl-slot { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; }
.demo-wengla .wl-slot-last { width: 124px; }
.demo-wengla .wl-cap { font-size: 24px; line-height: 1.1; font-weight: 700; color: #fff8ec; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
.demo-wengla .wl-stock {
  position: relative; width: 62px; aspect-ratio: 220 / 340; padding: 0; border: 0; background: none; cursor: pointer; color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.demo-wengla .wl-back {
  position: absolute; inset: 0; border-radius: 8px; border: 3px solid #fff0dc;
  background: repeating-linear-gradient(45deg, #c4181f 0 6px, #96121a 6px 12px);
  box-shadow: inset 0 0 0 2px #ffd166, 0 2px 4px rgba(0, 0, 0, 0.5);
}
.demo-wengla .wl-back-2 { transform: translate(5px, 5px); }
.demo-wengla .wl-back-1 { transform: translate(2.500px, 2.500px); }
.demo-wengla .wl-stock-count {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 44px; height: 34px; padding: 0 8px;
  display: grid; place-items: center; border-radius: 17px; font-size: 24px; font-weight: 800; line-height: 1;
  color: #fff8ec; background: rgba(40, 6, 6, 0.85);
}
.demo-wengla .wl-stock.is-off { cursor: default; }
.demo-wengla .wl-discard { position: relative; width: 62px; aspect-ratio: 220 / 340; border-radius: 8px; }
.demo-wengla .wl-discard.is-empty { border: 3px dashed rgba(255, 240, 220, 0.6); }
.demo-wengla .wl-discard .wl-card { position: absolute; inset: 0; width: 100%; height: auto; cursor: pointer; }
.demo-wengla .wl-discard .wl-card.is-pulse { animation: wl-pulse 0.7s ease-in-out infinite; }
.demo-wengla .wl-ring { position: absolute; left: -7px; top: -7px; width: calc(100% + 14px); height: calc(100% + 14px); display: none; pointer-events: none; overflow: visible; z-index: 2; }
.demo-wengla .wl-ring rect {
  fill: none; stroke: var(--demo-gold-light); stroke-width: 4.500; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 3px rgba(255, 209, 102, 0.9));
}
.demo-wengla .wl-ring.is-run { display: block; }
.demo-wengla .wl-ring.is-run rect { animation: wl-ring-run var(--wl-ring-ms, 3000ms) linear forwards; }
.demo-wengla .wl-ring.is-hot rect { stroke: #fff2b8; }
@keyframes wl-ring-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100; } }

/* Buzzer: Original-Grafiken, dunkel = wartet, rot = Zeitfenster offen mit goldenem Ring-Countdown */
.demo-wengla .wl-buzzer {
  position: relative; width: 104px; height: 104px; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.demo-wengla .wl-buzzer img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: opacity 0.15s ease; }
.demo-wengla .wl-bz-live { opacity: 0; }
.demo-wengla .wl-buzzer.is-live .wl-bz-live { opacity: 1; }
.demo-wengla .wl-buzzer.is-live .wl-bz-idle { opacity: 0; }
.demo-wengla .wl-bring { position: absolute; left: -7px; top: -7px; width: calc(100% + 14px); height: calc(100% + 14px); display: none; pointer-events: none; overflow: visible; transform: rotate(-90deg); }
.demo-wengla .wl-bring circle {
  fill: none; stroke: var(--demo-gold-light); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(255, 209, 102, 0.95));
}
.demo-wengla .wl-bring.is-run { display: block; }
.demo-wengla .wl-bring.is-run circle { animation: wl-ring-run var(--wl-ring-ms, 3000ms) linear forwards; }
.demo-wengla .wl-buzzer.is-pulse { filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.95)); animation: wl-pulse 0.7s ease-in-out infinite; }
.demo-wengla .wl-buzzer[hidden], .demo-wengla .wl-cap[hidden], .demo-wengla .wl-missing[hidden], .demo-wengla .wl-buzzfx[hidden],
.demo-wengla .wl-winbox[hidden], .demo-wengla .wl-btn[hidden], .demo-wengla .wl-goal[hidden] { display: none; }
@keyframes wl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.demo-wengla .wl-buzzfx { position: absolute; z-index: 160; left: 50%; top: 40%; width: 210px; height: auto; margin-left: -105px; pointer-events: none; }
.demo-wengla .wl-buzzfx.is-pop { animation: wl-buzzfx 0.8s ease-out both; }
@keyframes wl-buzzfx {
  0% { opacity: 0; transform: scale(0.4) rotate(-8deg); }
  25% { opacity: 1; transform: scale(1.15) rotate(3deg); }
  70% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* Leiste „Dir fehlt noch:“ direkt über dem Fächer: fehlende Karten in voller Deckkraft, dünner Goldrahmen */
.demo-wengla .wl-missing {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; min-height: 76px; margin: 4px 0 0;
  padding: 5px 10px; border-radius: 14px; background: rgba(30, 4, 4, 0.88); border: 1px solid rgba(255, 209, 102, 0.55);
}
.demo-wengla .wl-missing-label { font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--demo-gold-light); }
.demo-wengla .wl-missing.is-done .wl-missing-label { color: var(--demo-strong); }
.demo-wengla .wl-missing-cards { display: flex; align-items: center; gap: 8px; }
.demo-wengla .wl-mini.wl-mcard { width: 40px; border-radius: 6%; box-shadow: 0 0 0 2px var(--demo-gold-light), 0 2px 5px rgba(0, 0, 0, 0.6); }
.demo-wengla .wl-mini.wl-mcard.is-pulse { animation: wl-pulse 0.7s ease-in-out infinite; box-shadow: 0 0 0 3px #fff2b8, 0 0 18px 6px rgba(255, 209, 102, 0.95); z-index: 2; }

/* Kartenfächer: Karten absolut, leicht gebogen und überlappend; Gruppen mit goldenem Unterstrich */
.demo-wengla .wl-handwrap { position: relative; margin: 0 -4px; }
.demo-wengla .wl-hand { position: relative; width: 100%; height: 190px; }
.demo-wengla .wl-hand .wl-card { position: absolute; transform-origin: 50% 100%; rotate: var(--r, 0deg); }
.demo-wengla .wl-card {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 220 / 340; padding: 0; border: 0; border-radius: 7%;
  background: url('../assets/demo/wengla/cards.webp') 0 0 / 700% 500% no-repeat; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; transition: translate 0.15s ease, box-shadow 0.15s ease;
}
.demo-wengla .wl-card.is-sel { translate: 0 -18px; box-shadow: 0 0 0 3px var(--demo-gold-light), 0 10px 16px rgba(0, 0, 0, 0.55); z-index: 100 !important; }
.demo-wengla .wl-card.is-sug { outline: 3px dashed rgba(255, 248, 236, 0.9); outline-offset: 2px; translate: 0 -16px; z-index: 95 !important; }
.demo-wengla .wl-card.is-new { box-shadow: 0 0 0 3px var(--demo-gold-light), 0 0 18px 5px rgba(255, 209, 102, 0.85); z-index: 90 !important; }
.demo-wengla .wl-card.is-pass { box-shadow: 0 0 0 3px #fff2b8, 0 0 20px 6px rgba(255, 220, 120, 0.95); }
.demo-wengla .wl-card.is-dim { filter: brightness(0.7); }
.demo-wengla .wl-under {
  position: absolute; z-index: 5; height: 6px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, #ffe39a, #f0b13a); box-shadow: 0 0 10px 1px rgba(255, 209, 102, 0.75);
}
.demo-wengla .is-laid .wl-under { animation: wl-under-in 0.5s ease-out both; animation-delay: var(--d, 0ms); }
.demo-wengla .is-laid .wl-card { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); translate: none; outline: none; }
@keyframes wl-under-in {
  0% { opacity: 0; transform: scaleX(0.4); box-shadow: 0 0 30px 10px rgba(255, 244, 200, 0.95); }
  100% { opacity: 1; transform: none; }
}
.demo-wengla .wl-lupe {
  position: absolute; z-index: 170; display: none; width: 124px; aspect-ratio: 220 / 340; pointer-events: none; border-radius: 7%;
  background: url('../assets/demo/wengla/cards.webp') 0 0 / 700% 500% no-repeat;
  box-shadow: 0 0 0 3px var(--demo-gold-light), 0 14px 28px rgba(0, 0, 0, 0.65);
}
.demo-wengla .wl-lupe.is-on { display: block; }

/* Startbild „Dein Ziel“ */
.demo-wengla .wl-goal {
  position: absolute; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 10px 8px;
  border-radius: inherit; background: rgba(24, 3, 3, 0.97); overflow: auto;
}
.demo-wengla .wl-goal-box { width: 100%; text-align: center; }
.demo-wengla .wl-goal-title { font-size: 32px; line-height: 1.15; font-weight: 800; color: var(--demo-gold-light); }
.demo-wengla .wl-goal-text { margin: 6px 4px 10px; font-size: 24px; line-height: 1.3; color: var(--demo-strong); }
.demo-wengla .wl-ex { list-style: none; display: grid; gap: 6px; margin: 0 0 8px; }
.demo-wengla .wl-ex li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 4px 12px;
  border-radius: 14px; background: rgba(255, 240, 220, 0.1); border: 1px solid rgba(255, 209, 102, 0.4);
}
.demo-wengla .wl-ex-name { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--demo-strong); text-align: left; }
.demo-wengla .wl-ex-cards { display: flex; align-items: center; flex: 0 0 auto; }
.demo-wengla .wl-mini {
  display: block; flex: 0 0 auto; width: 32px; aspect-ratio: 220 / 340; border-radius: 7%;
  background: url('../assets/demo/wengla/cards.webp') 0 0 / 700% 500% no-repeat; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}
.demo-wengla .wl-ex-cards .wl-mini + .wl-mini { margin-left: 5px; }
.demo-wengla .wl-ex-run .wl-mini + .wl-mini { margin-left: -14px; }
.demo-wengla .wl-goal-rule { margin: 0 0 6px; font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--demo-gold-light); }
.demo-wengla .wl-goal-joker { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--demo-strong); }
/* Platz über „Los geht's“ für die Sprechblase der Führung, damit sie keinen Text verdeckt */
.demo-wengla .wl-goal .wl-btn { margin-top: 78px; }

/* Knöpfe */
.demo-wengla .wl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.demo-wengla .wl-btn { width: 100%; min-height: 60px; padding: 8px 10px; font-size: 26px; }
.demo-wengla .wl-btn.is-off { opacity: 0.4; cursor: default; transform: none; }
/* Gesperrtes „Beenden“ nicht als ausgeblichenes Gold (wirkte aktiv), sondern als dunkle Platte wie „Abwerfen“ */
.demo-page.demo-wengla .wl-btn.demo-btn-gold.is-off { background: rgba(0, 0, 0, 0.28); color: var(--demo-text); box-shadow: inset 0 0 0 2px rgba(255, 240, 220, 0.18); }
.demo-wengla .wl-btn.is-ready { animation: wl-btn-glow 1.1s ease-in-out infinite; }
.demo-wengla #wl-discard-btn:not(.is-off) { background: rgba(255, 240, 220, 0.2); border-color: var(--demo-gold-light); }
@keyframes wl-btn-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0); }
  50% { box-shadow: 0 0 0 7px rgba(255, 209, 102, 0.6), 0 0 26px 6px rgba(255, 209, 102, 0.6); }
}

/* Sieg: Abrechnung statt Tischmitte */
.demo-wengla .wl-table.is-win .wl-center,
.demo-wengla .wl-table.is-win .wl-top,
.demo-wengla .wl-table.is-win .wl-missing,
.demo-wengla .wl-table.is-win .wl-actions { display: none; }
.demo-wengla .wl-winbox {
  margin: 14px 0 6px; padding: 14px 10px 14px; text-align: center; border-radius: 16px;
  background: rgba(30, 4, 4, 0.78); border: 1px solid rgba(255, 209, 102, 0.7);
}
.demo-wengla .wl-win-title { font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--demo-gold-light); }
.demo-wengla .wl-win-pay { margin-top: 6px; font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--demo-strong); }
.demo-wengla .wl-win-coins { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--demo-gold-light); }
.demo-wengla .wl-win-coins img { width: 64px; height: 64px; }
.demo-wengla .wl-win-combos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; list-style: none; margin: 10px 0 12px; }
.demo-wengla .wl-win-combos li { padding: 3px 12px; border-radius: 14px; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--demo-strong); background: rgba(255, 209, 102, 0.2); border: 1px solid rgba(255, 209, 102, 0.55); }
.demo-wengla .wl-fly { position: absolute; z-index: 7; left: 0; top: 0; pointer-events: none; will-change: transform; }
.demo-wengla .wl-fly.wl-card { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55); transition: none; }
.demo-wengla .wl-coin { position: absolute; z-index: 7; left: 0; top: 0; width: 40px; height: 40px; pointer-events: none; will-change: transform; }

/* Endbildschirm */
.demo-wengla .demo-end-card { padding: 14px 10px 20px; }
.demo-wengla .demo-end-title { font-size: 36px; }
.demo-wengla .wl-end-coin { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0 4px; }
.demo-wengla .wl-end-coin img { width: 84px; height: 84px; }
.demo-wengla .wl-end-sum { font-size: 36px; font-weight: 800; line-height: 1.1; color: var(--demo-gold-light); }
.demo-wengla .demo-end-text { margin: 8px 4px 14px; font-size: 24px; }
.demo-wengla .demo-end-stars { margin-top: 2px; }
.demo-wengla .demo-locked-tile::before {
  background: repeating-linear-gradient(45deg, #c4181f 0 6px, #96121a 6px 12px);
  box-shadow: inset 0 0 0 3px #fff0dc; filter: grayscale(0.6) brightness(0.6);
}
.demo-wengla .demo-about { background: rgba(58, 8, 8, 0.85); }

@media (min-width: 560px) {
  .demo-wengla .wl-slot { width: 110px; }
  .demo-wengla .wl-slot-last { width: 150px; }
  .demo-wengla .wl-stock, .demo-wengla .wl-discard { width: 84px; }
  .demo-wengla .wl-buzzer { width: 130px; height: 130px; }
  .demo-wengla .wl-center { padding-top: 54px; background-position: 0 32px; background-size: 100% calc(100% - 32px); }
  .demo-wengla .wl-dealer { width: 60px; height: 54px; }
  .demo-wengla .wl-avatar { width: 66px; height: 66px; }
  .demo-wengla .wl-lupe { width: 150px; }
}
@media (min-width: 900px) {
  .demo-wengla .wl-side { display: block; flex: 0 0 300px; order: 2; text-align: left; align-items: stretch; padding: 8px 6px 0; }
  .demo-wengla .demo-board-col { flex: 0 1 560px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-wengla .wl-buzzer.is-pulse, .demo-wengla .wl-btn.is-ready, .demo-wengla .wl-mcard.is-pulse,
  .demo-wengla .wl-discard .wl-card.is-pulse, .demo-wengla .wl-buzzfx.is-pop, .demo-wengla .is-laid .wl-under { animation: none; }
  .demo-wengla .wl-card, .demo-wengla .wl-bot, .demo-wengla .wl-buzzer { transition: none; }
}
