/* ---------- Neue Casino-Spiele: Mines, Plinko, Würfel, Glücksrad ---------- */
.game-desc { margin: -8px 0 14px; }
.g2-layout { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.g2-side { display: flex; flex-direction: column; gap: 8px; }
.g2-side > label { margin: 4px 0 0; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.g2-info { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--panel2); }
.g2-row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: .92rem; }
.g2-row b.gold { color: var(--gold2); }
.g2-board { display: flex; flex-direction: column; align-items: center; }

.bet-input { display: flex; align-items: center; gap: 6px; }
.bet-input input { flex: 1; min-width: 0; font-size: 1.05rem; font-weight: 700; }
.bet-input .bet-eur { color: var(--muted); margin-left: -2px; }
.seg-pick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }

/* Mines */
.mines-count { display: flex; align-items: center; gap: 12px; }
.mines-count input { flex: 1; }
.mines-count b { min-width: 2ch; text-align: right; font-size: 1.2rem; }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; max-width: 460px; }
.mine-cell {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, #24302b, #18201c);
  font-size: clamp(1.2rem, 5vw, 2rem); cursor: default; transition: transform .12s, background .2s; color: inherit;
}
.mine-cell.live { cursor: pointer; }
.mine-cell.live:hover { transform: translateY(-2px); background: linear-gradient(160deg, #2f3d37, #1e2823); border-color: var(--gold); }
.mine-cell.safe { background: linear-gradient(160deg, #1f5c3d, #164530); border-color: #2ea56b; animation: pop .25s; }
.mine-cell.mine { opacity: .55; }
.mine-cell.boom { background: linear-gradient(160deg, #8a2424, #5c1717); border-color: var(--red); animation: shake .4s; }
@keyframes pop { from { transform: scale(.8) } }
@keyframes shake { 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }

/* Plinko */
.plinko-board canvas { width: 100%; max-width: 620px; display: block; }
.plinko-slots { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; width: 100%; max-width: 620px; padding: 0 calc(100% / 14 / 2 * .9); margin-top: -4px; }
.pl-slot { font-size: clamp(.5rem, 1.6vw, .75rem); font-weight: 800; text-align: center; padding: .45em 0; border-radius: 6px; color: #fff; white-space: nowrap; overflow: hidden; }
.pl-slot.hit { animation: slotHit .5s; }
@keyframes slotHit { 40% { transform: translateY(6px); filter: brightness(1.6) } }

/* Würfel */
.dice-board { gap: 14px; padding-top: 28px; }
.dice-result { font-size: clamp(2.6rem, 10vw, 4.2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.dice-track { position: relative; width: 100%; height: 14px; border-radius: 7px; background: rgba(217,72,72,.45); }
.dice-fill { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: #2ea56b; }
.dice-marker { position: absolute; top: -8px; width: 4px; height: 30px; margin-left: -2px; border-radius: 2px; transition: left .3s; }
.dice-marker.win { background: #fff; box-shadow: 0 0 10px #2ea56b; }
.dice-marker.lose { background: #fff; box-shadow: 0 0 10px var(--red); }
.dice-board input[type=range] { width: 100%; margin-top: -8px; }
.dice-scale { display: flex; justify-content: space-between; width: 100%; font-size: .75rem; color: var(--muted); }
.dice-history { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tag.green { border-color: #2ea56b; color: var(--up); }

/* Glücksrad */
.wheel-phase { font-size: 1.05rem; padding: 8px 12px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); }
.wheel-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wheel-pick { border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); border-radius: 10px; padding: 8px 2px; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.wheel-pick b { font-size: 1.1rem; }
.wheel-pick small { opacity: .8; font-size: .7rem; }
.wheel-pick.sel { background: var(--c); box-shadow: 0 0 0 2px #fff inset; }
.fw-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.fw-wrap svg { width: 100%; height: 100%; display: block; }
.fw-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 2rem; color: #fff; text-shadow: 0 2px 6px #000; }
.fw-hub { position: absolute; inset: 38%; border-radius: 50%; display: grid; place-items: center; background: #0b0f0d; border: 3px solid var(--gold); font-weight: 800; font-size: clamp(1rem, 4vw, 1.6rem); }
.wheel-history { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.wh-dot { font-size: .7rem; font-weight: 800; padding: .2em .45em; border-radius: 6px; color: #fff; }
.list-item.me { outline: 1px solid var(--gold); }

@media (max-width: 860px) {
  .g2-layout { grid-template-columns: 1fr; }
  .g2-board { order: -1; }
}
