/* Poker — spielspezifische Styles (Design-System + Game-Chrome + Karten aus ../style.css) */
:root {
    --card-w: clamp(42px, 8.5vw, 58px);
    --card-h: calc(var(--card-w) * 1.45);
}

/* Home-Hero */
.hero-cards { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.mini-card {
    width: 44px; height: 62px; border-radius: 8px; background: #fdfdfa; color: #1c2230;
    font-weight: 700; display: grid; place-items: center; font-size: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.mini-card.red { color: var(--red); }
.hero-cards .mini-card:nth-child(1) { transform: rotate(-8deg) translateY(4px); }
.hero-cards .mini-card:nth-child(2) { transform: rotate(8deg); }

/* Phasen-Leiste */
.phase-bar { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 12px; }
.phase-chip {
    font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
    background: var(--panel); border: 1px solid var(--panel-border);
    border-radius: 999px; padding: 5px 12px;
}
.phase-timer { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Tisch: Board + Pot */
.table-area {
    text-align: center; padding: 16px 12px; margin-bottom: 14px;
    background: radial-gradient(420px 140px at 50% 0%, rgba(63, 191, 111, .14), transparent 70%), var(--panel);
    border: 1px solid var(--panel-border); border-radius: var(--radius);
}
.cards { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: var(--card-h); flex-wrap: wrap; }
.card.slot { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px var(--panel-border); }
.pot-row { margin-top: 10px; }
.pot-chip {
    display: inline-block; padding: 5px 16px; border-radius: 999px; font-weight: 800; font-size: 15px;
    background: rgba(242, 193, 78, .14); border: 1px solid rgba(242, 193, 78, .45); color: var(--gold);
}

/* Plätze */
.seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.seat { padding: 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--panel-border); }
.seat.turn { border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 193, 78, .25); animation: pulse 1.6s infinite; }
.seat.mine { background: rgba(79, 140, 255, .07); }
.seat.folded { opacity: .5; }
@keyframes pulse { 50% { box-shadow: 0 0 26px rgba(242, 193, 78, .4); } }
.seat-head { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.seat-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-chips { margin-left: auto; font-size: 12.5px; color: var(--gold); white-space: nowrap; }
.dealer-btn {
    flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
    background: #fdfdfa; color: #1c2230; font-size: 11px; font-weight: 800;
}
.seat-mid { display: flex; align-items: center; gap: 4px; margin: 8px 0 2px; min-height: 34px; flex-wrap: wrap; }
.seat-mid .card { --card-w: 24px; width: 24px; height: 34px; border-radius: 4px; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.seat-mid .card .pip { font-size: 7px; top: 1px; left: 2px; }
.seat-mid .card .pip.br { display: none; }
.seat-mid .card .big { font-size: 13px; }
.hand-name { font-size: 12px; color: var(--gold); font-weight: 700; margin-left: 4px; }
.bet-chip {
    margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text);
    background: rgba(255, 255, 255, .08); border: 1px solid var(--panel-border);
    border-radius: 999px; padding: 2px 9px;
}
.seat-status { font-size: 13px; color: var(--muted); min-height: 18px; }
.seat-status.good { color: var(--green); font-weight: 700; }
.seat-status.bad { color: var(--red); font-weight: 700; }
.seat-status.turn { color: var(--gold); font-weight: 700; }

/* Eigene Karten */
.my-area { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; min-height: var(--card-h); }
.my-area .card { --card-w: clamp(56px, 12vw, 74px); width: var(--card-w); height: calc(var(--card-w) * 1.45); }
.my-hint { color: var(--muted); font-size: 14px; }

/* Aktionsleiste */
.action-box { width: 100%; margin-bottom: 12px; }
.act-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.act-btns .btn { min-height: 50px; min-width: 110px; font-size: 16px; }
.btn.danger { border-color: rgba(229, 72, 77, .55); color: var(--red); }
.btn.danger:hover { background: rgba(229, 72, 77, .14); }
.raise-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.raise-row input { width: 110px; text-align: center; }
.raise-quick { min-height: 44px; }

.finish-btn { align-self: center; font-size: 13.5px; padding: 9px 16px; color: var(--muted); }

/* §4.16 Desktop-Fill */
@media (min-width: 1100px) {
    :root { --card-w: 78px; }
    .my-area .card { --card-w: 96px; width: 96px; height: calc(96px * 1.45); }
    .seat-mid .card { --card-w: 34px; width: 34px; height: 48px; }
}
