/* =================================================================
   MASTERWIN TOMBOLA · games.css
   Spiel-spezifische Stile für die Spiele aus dem gamekit-Framework.
   ================================================================= */

/* ---- gemeinsamer Slider ---- */
.gk-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 10px; border-radius: 999px; outline: none; margin: 10px 0;
  background: linear-gradient(90deg, var(--green), var(--gold-2), var(--loss));
}
.gk-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff4bf, #ffb52e 60%, #d6800f);
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); cursor: pointer;
}
.gk-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #ffb52e; border: 2px solid #fff; cursor: pointer;
}

/* ---- Auswahl-Knöpfe (mehrere Spiele) ---- */
.pick-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pick-btn {
  flex: 1; min-width: 88px; padding: 12px 10px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.05); border: 2px solid var(--line);
  color: var(--ink-dim); transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.pick-btn small { font-family: var(--f-body); font-size: 0.62rem; opacity: 0.8; }
.pick-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.pick-btn.is-on {
  border-color: var(--gold-2); color: var(--gold-1);
  background: linear-gradient(180deg, rgba(255, 181, 46, 0.18), rgba(255, 181, 46, 0.05));
  box-shadow: 0 0 14px rgba(255, 181, 46, 0.3);
}
.pick-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* =================================================================
   MÜNZWURF
   ================================================================= */
.cf-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 26px 0 14px;
}
.cf-bob { display: flex; justify-content: center; }
.cf-bob.cf-toss { animation: cf-toss 1.75s cubic-bezier(0.33, 0, 0.4, 1); }
@keyframes cf-toss {
  0% { transform: translateY(0); }
  50% { transform: translateY(-130px); }
  100% { transform: translateY(0); }
}
.cf-coin {
  width: 168px; height: 168px; position: relative;
  transform-style: preserve-3d;
  transition: transform 1.75s cubic-bezier(0.33, 0.05, 0.36, 1);
}
.cf-face {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 16px;
  backface-visibility: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
.cf-face small {
  font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 2.5px;
  color: #6e3c02; text-shadow: 0 1px 1px rgba(255, 240, 190, 0.6);
}
.cf-k { background: url(../img/mw.png) center / 100% 100% no-repeat; }
.cf-k small { color: #fff3d6; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.cf-z {
  background: radial-gradient(circle at 36% 30%, #ffeccf, #e7bd86 48%, #bd9456 80%, #9c7338);
  border: 5px solid #ffe18a;
  transform: rotateY(180deg);
  justify-content: center; padding: 0;
}
.cf-star { font-size: 4rem; color: #8a5408; line-height: 0.8; }
.cf-z small { position: absolute; bottom: 18px; }
.cf-shadow {
  width: 124px; height: 18px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); filter: blur(7px);
}
.cf-shadow.cf-dip { animation: cf-dip 1.75s cubic-bezier(0.33, 0, 0.4, 1); }
@keyframes cf-dip {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(0.5); opacity: 0.2; }
}

/* =================================================================
   WÜRFEL  (zwei 3D-Würfel)
   ================================================================= */
.dice-felt {
  width: 100%; max-width: 460px;
  display: flex; justify-content: center; align-items: center; gap: 48px;
  padding: 60px 20px 50px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 42%, #1c6b3e, #0c3d22 70%, #072715);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
  perspective: 850px;
}
.die {
  width: 86px; height: 86px; position: relative;
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.22, 0.78, 0.28, 1);
}
.die-face {
  position: absolute; width: 86px; height: 86px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff8ec, #e9d9bd);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    inset 0 -8px 14px rgba(120, 90, 40, 0.35);
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 12px; gap: 2px;
}
.die-face .pips {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  width: 100%; height: 100%; gap: 3px; grid-column: 1 / 4;
}
.die-face .pips i { display: block; }
.die-face .pips i.on {
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #4a4f6e, #14172e 80%);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.5);
}
.dice-sum {
  margin-top: 16px; font-family: var(--f-mono); font-size: 1.05rem;
  color: var(--cyan); text-align: center;
}
.pick-row--3 .pick-btn { min-width: 70px; }

/* =================================================================
   LIMBO  (Canvas-Steigflug)
   ================================================================= */
.limbo-cv {
  width: 100%; max-width: 480px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.6);
}
.limbo-targets { display: flex; flex-wrap: wrap; gap: 8px; }
.tgt-btn {
  padding: 9px 15px; border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--line); color: var(--ink-dim); transition: all 0.15s;
}
.tgt-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.tgt-btn.is-on {
  border-color: var(--gold-2); color: var(--gold-1);
  background: linear-gradient(180deg, rgba(255, 181, 46, 0.18), rgba(255, 181, 46, 0.05));
}
.tgt-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* =================================================================
   KENO
   ================================================================= */
.keno-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; width: 100%; max-width: 384px;
}
.keno-tile {
  aspect-ratio: 1; border-radius: 10px;
  font-family: var(--f-display); font-size: 1.05rem;
  background: linear-gradient(180deg, #1c2348, #141a38);
  border: 2px solid var(--line); color: var(--ink-dim);
  transition: transform 0.12s, border-color 0.15s, color 0.15s;
}
.keno-tile:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.keno-tile.pick {
  border-color: var(--gold-2); color: #3a1c00;
  background: linear-gradient(180deg, #ffe680, #ffb52e);
  box-shadow: 0 0 14px rgba(255, 181, 46, 0.5);
}
.keno-tile.drawn {
  border-color: var(--cyan); color: var(--cyan);
  background: linear-gradient(180deg, #123a44, #0c2630);
}
.keno-tile.hit {
  border-color: #fff; color: #3a1c00;
  background: radial-gradient(circle, #fff3b0, #ffb52e);
  box-shadow: 0 0 22px var(--gold-1);
  animation: keno-pop 0.4s ease;
}
@keyframes keno-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.keno-tile:disabled { cursor: not-allowed; }
.keno-info {
  margin-top: 16px; text-align: center;
  font-family: var(--f-mono); color: var(--cyan); font-size: 0.95rem;
}

/* =================================================================
   HOCH ODER TIEF  (Spielkarten)
   ================================================================= */
.hilo-table {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 30px 0;
}
.hilo-vs { font-family: var(--f-display); color: var(--gold-1); font-size: 1.6rem; }
.play-card { width: 116px; height: 162px; perspective: 700px; flex: none; }
.card-face {
  width: 100%; height: 100%; border-radius: 12px;
  background: linear-gradient(160deg, #fffaf0, #ece0c8);
  position: relative; color: #16182c;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
.card-face.red { color: #d6202e; }
.card-corner {
  position: absolute; font-family: var(--f-display);
  font-size: 0.92rem; line-height: 0.92; text-align: center;
}
.card-corner.tl { top: 9px; left: 9px; }
.card-corner.br { bottom: 9px; right: 9px; transform: rotate(180deg); }
.card-pip {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; font-size: 3.8rem;
}
.play-card .card-inner {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.3, 1.25);
}
.play-card.revealed .card-inner { transform: rotateY(180deg); }
.card-back, .card-front {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 12px;
}
.card-front { transform: rotateY(180deg); }
.card-back {
  background: repeating-linear-gradient(45deg, #1d2554 0 9px, #141a3e 9px 18px);
  border: 3px solid var(--gold-2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.card-back::after {
  content: ""; width: 56px; height: 56px;
  background: url(../img/mw.png) center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* =================================================================
   ROULETTE
   ================================================================= */
.roul-stage { position: relative; width: 320px; max-width: 86vw; }
.roul-cv { width: 100%; display: block; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6)); }
.roul-pin {
  position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 13px solid transparent; border-right: 13px solid transparent;
  border-top: 24px solid var(--gold-1);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.7)); z-index: 2;
}
.roul-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-size: 1.5rem; color: #fff; z-index: 3;
}
.roul-num.red { color: #ff6b78; }
.roul-num.black { color: #c7cdf0; }
.roul-num.green { color: #4dffa0; }
.roul-bets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.roul-bet {
  padding: 10px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-size: 0.82rem;
  border: 2px solid var(--line); color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column; gap: 2px; transition: all 0.15s;
}
.roul-bet small { font-family: var(--f-body); font-size: 0.62rem; opacity: 0.75; }
.roul-bet:hover { color: var(--ink); }
.roul-bet.is-on {
  border-color: var(--gold-2); color: var(--gold-1);
  box-shadow: 0 0 12px rgba(255, 181, 46, 0.3);
}
.roul-bet.roul-rot.is-on { border-color: #d6202e; color: #ff8a93; box-shadow: 0 0 12px rgba(214, 32, 46, 0.4); }
.roul-bet.roul-schwarz.is-on { border-color: #8890c0; color: #c7cdf0; box-shadow: 0 0 12px rgba(136, 144, 192, 0.4); }
.roul-bet:disabled { opacity: 0.5; cursor: not-allowed; }

/* =================================================================
   PLINKO
   ================================================================= */
.plinko-cv {
  width: 100%; max-width: 400px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

/* =================================================================
   CRASH
   ================================================================= */
.crash-cv {
  width: 100%; max-width: 460px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

/* =================================================================
   MINENFELD
   ================================================================= */
.mines-wrap {
  width: 100%; max-width: 384px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.mines-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%;
}
.mine-tile {
  aspect-ratio: 1; border-radius: 10px; font-size: 1.7rem; line-height: 1;
  background: linear-gradient(180deg, #2a3372, #1a2150);
  border: 2px solid var(--line); color: transparent;
  transition: transform 0.12s, border-color 0.15s;
}
.mine-tile:not(:disabled):hover { transform: translateY(-2px); border-color: var(--cyan); }
.mine-tile.gem {
  background: linear-gradient(180deg, #0f5a3a, #0a3d28);
  border-color: #38e07e; color: #9bffce;
  box-shadow: 0 0 14px rgba(56, 224, 126, 0.5);
}
.mine-tile.mine {
  background: linear-gradient(180deg, #5a1020, #3a0a16);
  border-color: var(--loss); color: #ff8a99;
}
.mine-tile.boom { animation: keno-pop 0.4s ease; box-shadow: 0 0 22px var(--loss); }
.mines-info {
  font-family: var(--f-mono); color: var(--cyan);
  text-align: center; font-size: 0.92rem;
}

/* =================================================================
   BLACKJACK
   ================================================================= */
.bj-table {
  width: 100%; max-width: 460px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 16px; border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 30%, #15633a, #0a3a22 70%, #062414);
  box-shadow: inset 0 0 56px rgba(0, 0, 0, 0.62);
}
.bj-zone { display: flex; flex-direction: column; gap: 7px; }
.bj-zlabel {
  font-family: var(--f-display); font-size: 0.74rem; letter-spacing: 2px;
  color: rgba(255, 243, 218, 0.66);
}
.bj-zlabel b {
  display: inline-block; min-width: 30px; margin-left: 6px;
  padding: 1px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.4); color: var(--gold-1); font-size: 0.82rem;
}
.bj-hand { display: flex; gap: 8px; min-height: 96px; flex-wrap: wrap; align-items: center; }
.bj-card {
  width: 64px; height: 92px; border-radius: 8px; position: relative; flex: none;
  background: linear-gradient(160deg, #fffaf0, #e7dcc4);
  color: #16182c; box-shadow: 0 7px 16px rgba(0, 0, 0, 0.5);
  animation: bj-in 0.26s ease;
}
.bj-card.is-red { color: #d6202e; }
.bj-card--back {
  background: repeating-linear-gradient(45deg, #1d2554 0 8px, #141a3e 8px 16px);
  border: 3px solid var(--gold-2);
}
.bj-card--back::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 38px; height: 38px;
  background: url(../img/mw.png) center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}
.bj-cnr {
  position: absolute; font-family: var(--f-display);
  font-size: 0.78rem; line-height: 0.86; text-align: center;
}
.bj-cnr.tl { top: 6px; left: 7px; }
.bj-cnr.br { bottom: 6px; right: 7px; transform: rotate(180deg); }
.bj-spot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
@keyframes bj-in {
  0% { transform: translateY(-16px) rotate(-7deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
.bj-felt-line {
  text-align: center; border-top: 1px dashed rgba(255, 243, 218, 0.28);
  padding-top: 9px; margin-top: 2px;
}
.bj-felt-line span {
  font-family: var(--f-display); font-size: 0.62rem; letter-spacing: 1.5px;
  color: rgba(255, 243, 218, 0.5);
}
.bj-actions { display: flex; gap: 8px; margin-top: 9px; }
.bj-actions .btn { flex: 1; }

/* =================================================================
   TURM
   ================================================================= */
.turm-wrap {
  width: 100%; max-width: 320px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.turm { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.turm-row {
  display: flex; gap: 5px; padding: 4px; border-radius: 8px;
  transition: background 0.2s;
}
.turm-row.is-active {
  background: rgba(255, 181, 46, 0.12);
  box-shadow: 0 0 14px rgba(255, 181, 46, 0.25);
}
.turm-tile {
  flex: 1; min-height: 32px; border-radius: 7px;
  font-family: var(--f-mono); font-size: 1rem; line-height: 1;
  background: linear-gradient(180deg, #2a3372, #1a2150);
  border: 2px solid var(--line); color: var(--ink-dim);
  transition: transform 0.12s, border-color 0.15s;
}
.turm-row.is-active .turm-tile:not(:disabled) { border-color: rgba(255, 181, 46, 0.5); }
.turm-row.is-active .turm-tile:not(:disabled):hover {
  transform: translateY(-2px); border-color: var(--gold-1); color: var(--ink);
}
.turm-mx { font-size: 0.72rem; opacity: 0.85; }
.turm-tile.is-safe {
  background: linear-gradient(180deg, #0f5a3a, #0a3d28);
  border-color: #38e07e; color: #9bffce; box-shadow: 0 0 12px rgba(56, 224, 126, 0.45);
}
.turm-tile.is-trap {
  background: linear-gradient(180deg, #5a1020, #3a0a16);
  border-color: var(--loss); color: #ff8a99; animation: keno-pop 0.4s ease;
}
.turm-tile.is-dim { opacity: 0.32; }
.turm-tile.is-safe-dim { opacity: 0.5; color: #38e07e; border-color: rgba(56, 224, 126, 0.4); }
.turm-tile.is-trap-dim { opacity: 0.5; color: #ff8a99; border-color: rgba(255, 93, 119, 0.4); }
.turm-info {
  font-family: var(--f-mono); color: var(--cyan);
  text-align: center; font-size: 0.9rem;
}

/* =================================================================
   JAHRMARKT — gemeinsame Canvas-Bühne
   ================================================================= */
.jm-cv {
  display: block; width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: var(--r-lg); border: 1.5px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 0 36px rgba(0, 0, 0, 0.5);
  touch-action: none;
}
.scooter-cv { max-width: 460px; }

/* =================================================================
   HAU-DEN-MAULWURF
   ================================================================= */
.mw-field {
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 12px;
}
.mw-hud {
  display: flex; justify-content: space-between;
  font-family: var(--f-display); font-size: 1.05rem;
}
.mw-hud span:first-child { color: var(--cyan); }
.mw-hud span:last-child { color: var(--gold-1); }
.mw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.mw-hole {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #243056 0%, #161a3c 60%, #0e1230 100%);
  border: 2px solid var(--line);
}
.mw-hole::before {
  content: ""; position: absolute; z-index: 3;
  left: 4%; right: 4%; bottom: -16%; height: 54%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 26%, #875e36, #3f2a14 78%);
  box-shadow: inset 0 9px 14px rgba(0, 0, 0, 0.55), 0 -2px 7px rgba(0, 0, 0, 0.45);
}
.mw-mole {
  position: absolute; z-index: 2; left: 24%; right: 24%; bottom: 19%; height: 60%;
  transform: translateY(128%); transition: transform 0.11s ease-out;
}
.mw-hole.is-up .mw-mole { transform: translateY(0); }
.mw-hole.is-bonk .mw-mole { transform: translateY(14%) scaleY(0.7); }
.mw-mole-body {
  position: absolute; inset: 0; border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 37% 41%, #16101a 0 3.5px, transparent 4.5px),
    radial-gradient(circle at 63% 41%, #16101a 0 3.5px, transparent 4.5px),
    radial-gradient(ellipse at 50% 64%, #2a1d22 0 13%, transparent 14%),
    radial-gradient(ellipse at 50% 62%, #e89bb0 0 21%, transparent 22%),
    radial-gradient(ellipse at 50% 34%, #b1814f, #74522f 68%, #4a3018);
  box-shadow: inset 0 -7px 9px rgba(0, 0, 0, 0.4);
}
.mw-hole.is-bonk .mw-mole-body { filter: brightness(1.5) saturate(0.5); }

/* =================================================================
   PFERDERENNEN — Tipp-Knöpfe
   ================================================================= */
.pf-picks { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-pick {
  flex: 1; min-width: 60px; padding: 9px 4px; border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: var(--f-display); font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--line); color: var(--ink-dim); transition: all 0.15s;
}
.pf-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pc); box-shadow: 0 0 8px var(--pc);
}
.pf-pick:hover { color: var(--ink); }
.pf-pick.is-on {
  border-color: var(--pc); color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px color-mix(in srgb, var(--pc) 55%, transparent);
}
.pf-pick:disabled { opacity: 0.55; }

/* =================================================================
   RUBBELLOS
   ================================================================= */
.rubbel-stack {
  position: relative; aspect-ratio: 1; max-width: 88vw;
  margin: 0 auto; border-radius: var(--r-lg); overflow: hidden;
  border: 3px solid var(--gold-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.rubbel-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rubbel-foil { cursor: crosshair; touch-action: none; }
.rubbel-hint {
  margin-top: 14px; text-align: center;
  font-family: var(--f-mono); color: var(--cyan); font-size: 0.92rem;
}

/* =================================================================
   LOTTO-ZIEHUNG
   ================================================================= */
.lotto-machine { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.lotto-ball {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.2rem; color: var(--ink-dim);
  background: radial-gradient(circle at 36% 30%, #2c3360, #11142e);
  border: 2px solid var(--line);
}
.lotto-ball.rolling { animation: lt-spin 0.45s linear infinite; color: var(--ink); }
@keyframes lt-spin {
  0% { transform: rotate(0) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
.lotto-ball.is-hit {
  border-color: #fff; color: #3a1c00;
  background: radial-gradient(circle at 36% 30%, #fff3b0, #ffb52e);
  box-shadow: 0 0 18px var(--gold-1); animation: keno-pop 0.4s ease;
}
.lotto-ball.is-miss { color: var(--ink-dim); }
.lotto-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 6px; width: 100%; max-width: 364px;
}
.lotto-tile {
  aspect-ratio: 1; border-radius: 8px;
  font-family: var(--f-display); font-size: 0.92rem;
  background: linear-gradient(180deg, #1c2348, #141a38);
  border: 2px solid var(--line); color: var(--ink-dim);
  transition: transform 0.12s, border-color 0.15s, color 0.15s;
}
.lotto-tile:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.lotto-tile.pick {
  border-color: var(--gold-2); color: #3a1c00;
  background: linear-gradient(180deg, #ffe680, #ffb52e);
  box-shadow: 0 0 12px rgba(255, 181, 46, 0.5);
}
.lotto-tile.hit {
  border-color: #fff; color: #3a1c00;
  background: radial-gradient(circle, #fff3b0, #ffb52e);
  box-shadow: 0 0 20px var(--gold-1); animation: keno-pop 0.4s ease;
}
.lotto-info {
  margin-top: 16px; text-align: center;
  font-family: var(--f-mono); color: var(--cyan); font-size: 0.95rem;
}

/* =================================================================
   AUSZAHLUNGS-INFO (einheitliches 25/75-Modell)
   ================================================================= */
.odds-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px;
}
.odds-split { display: flex; gap: 8px; }
.odds-seg {
  flex: 1; text-align: center; border-radius: 8px; padding: 9px 4px;
}
.odds-seg b { display: block; font-family: var(--f-display); font-size: 1.35rem; line-height: 1; }
.odds-seg span { font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; }
.odds-win { background: rgba(56, 224, 126, 0.14); color: #9bffce; }
.odds-win b { color: #38e07e; }
.odds-lose { background: rgba(255, 93, 119, 0.12); color: #ff9aa6; }
.odds-lose b { color: #ff5d77; }
.odds-tiers { display: flex; gap: 6px; margin-top: 10px; }
.odds-tiers span {
  flex: 1; text-align: center; padding: 7px 2px; border-radius: 6px;
  font-family: var(--f-mono); font-size: 0.82rem; color: var(--gold-1);
  background: linear-gradient(180deg, rgba(255, 181, 46, 0.18), rgba(255, 181, 46, 0.05));
  border: 1px solid rgba(255, 181, 46, 0.35);
}
.odds-note { margin-top: 9px; font-size: 0.7rem; color: var(--ink-dim); line-height: 1.45; }

/* =================================================================
   MW-HAUSPOOL-BANNER
   ================================================================= */
.pool-banner {
  margin: 0 0 18px;
  padding: 15px 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(31, 157, 77, 0.13), rgba(13, 15, 36, 0.62));
  border: 1.5px solid rgba(56, 224, 126, 0.32);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.pool-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap;
}
.pool-title { font-family: var(--f-display); font-size: 1rem; color: var(--ink); }
.pool-val { font-family: var(--f-mono); color: var(--ink-dim); font-size: 0.85rem; }
.pool-val b { font-family: var(--f-display); font-size: 1.55rem; color: #38e07e; }
.pool-val em { font-style: normal; }
.pool-bar {
  margin: 10px 0 8px; height: 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); overflow: hidden; border: 1px solid var(--line);
}
.pool-bar-fill {
  height: 100%; width: 50%; border-radius: 999px;
  background: linear-gradient(90deg, #1f9d4d, #38e07e);
  box-shadow: 0 0 12px rgba(56, 224, 126, 0.5);
  transition: width 0.7s cubic-bezier(0.3, 0.7, 0.3, 1), background 0.4s;
}
.pool-sub { font-size: 0.74rem; color: var(--ink-dim); }
