/* Poker Bizouk (/games/poker). S'appuie sur domino.css (page, fenêtres) et belote.css (cartes, noms). */
.pk-hero { background: radial-gradient(circle at 50% 0%, #2b5f8a 0%, #133a5c 60%, #0a2238 100%); }
.pk-chips-note { display: inline-block; background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px 12px; font-size: 13px; margin: 0 0 10px; }
.pk-table { background: radial-gradient(ellipse at center, #2b5f8a 0%, #19456b 55%, #0d2a44 100%); }
.pk-info { font-size: 13px; opacity: .9; }
.pk-free { font-size: 11px; opacity: .7; }
.pk-felt { position: relative; flex: 1; min-height: 420px; margin: 4px 0; border-radius: 50% / 42%; background: radial-gradient(ellipse at center, #2f8556 0%, #1b5e3b 70%); box-shadow: inset 0 0 0 6px #5a3a1e, inset 0 0 0 9px #3b2412; }
.pk-middle { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); text-align: center; }
.pk-board { display: flex; gap: 4px; justify-content: center; min-height: 54px; }
.pk-board .blt-card { --w: clamp(32px, 9vw, 46px); animation: dmnDrop .3s ease-out; }
.pk-pot { margin-top: 6px; font-weight: 800; color: #f5c518; }
.pk-seat { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 120px; margin-left: -60px; }
.pk-p0 { left: 50%; bottom: -6px; }
.pk-p1 { left: 15%; bottom: 14%; }
.pk-p2 { left: 15%; top: 10%; }
.pk-p3 { left: 50%; top: -8px; }
.pk-p4 { left: 85%; top: 10%; }
.pk-p5 { left: 85%; bottom: 14%; }
.pk-seat .blt-name { max-width: 120px; }
.pk-active .blt-name { box-shadow: 0 0 0 2px #f5c518; }
.pk-folded { opacity: .45; }
.pk-out { opacity: .35; }
.pk-cards { display: flex; gap: 2px; min-height: 30px; }
.pk-cards .blt-card { --w: 30px; }
.pk-p0 .pk-cards .blt-card { --w: clamp(40px, 12vw, 56px); }
.pk-back { width: 22px !important; height: 30px !important; margin-left: 0 !important; }
.pk-bet, .pk-won, .pk-lastact { font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: rgba(0,0,0,.4); }
.pk-won { background: #f5c518; color: #2b2219; }
.pk-handname { font-size: 11px; color: #fff3c4; }
.pk-dealer { position: absolute; right: 6px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #222; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.pk-actions { padding: 4px 6px calc(6px + env(safe-area-inset-bottom)); }
.pk-buttons { display: flex; gap: 8px; }
.pk-buttons .dmn-btn { flex: 1; min-height: 52px; font-size: 15px; padding: 0 8px; }
.pk-buttons .dmn-btn[hidden] { display: none; }
.pk-raise { margin-bottom: 8px; }
.pk-raise input[type=range] { width: 100%; accent-color: #f5c518; height: 28px; }
.pk-quick { display: flex; gap: 6px; }
.pk-quick button { flex: 1; min-height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; font-weight: 700; }
@media (max-width: 420px) {
    .pk-felt { min-height: 380px; }
    .pk-seat { width: 96px; margin-left: -48px; }
    .pk-seat .blt-name strong { max-width: 60px; }
    .pk-p1, .pk-p2 { left: 17%; } .pk-p4, .pk-p5 { left: 83%; }
}

/* ====================================================================== Design v2 (15/11/2026) */
.pk-table { padding-top: 54px; background: radial-gradient(130% 90% at 50% 40%, #224a6e 0%, #122f4b 60%, #091a2b 100%); }
.pk-table .blt-top { position: absolute; left: 12px; right: 58px; top: 12px; }
.pk-felt { border-radius: 48% / 40%; background: radial-gradient(ellipse at 50% 42%, #37a065 0%, #1c6a42 55%, #0f4429 100%);
    box-shadow: inset 0 0 0 8px #6b4423, inset 0 0 0 11px #3a220f, inset 0 0 0 13px rgba(245,197,24,.35), inset 0 0 50px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); }
.pk-board { gap: 5px; }
.pk-board .gm-face { --w: clamp(34px, 9.5vw, 50px); }
.pk-cards .gm-face { --w: 30px; }
.pk-p0 .pk-cards .gm-face { --w: clamp(44px, 12vw, 58px); }
.pk-p0 .pk-cards .gm-face:last-child { transform: rotate(6deg) translateY(2px); margin-left: -8px; }
.pk-p0 .pk-cards .gm-face:first-child { transform: rotate(-6deg); }
.pk-pot { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.35); padding: 4px 12px; border-radius: 999px; color: #fff; font-variant-numeric: tabular-nums; }
.gm-chip { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
    background: radial-gradient(circle, #fff 0 32%, transparent 33%), repeating-conic-gradient(#d33 0 30deg, #fff 30deg 45deg); box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.gm-chip-stack { box-shadow: 0 -3px 0 -1px #2a6bd1, 0 -6px 0 -2px #f5c518, 0 1px 2px rgba(0,0,0,.5); }
.pk-bet { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.pk-won { animation: gmIn .3s ease-out; }
.pk-myhand { text-align: center; font-size: 14px; font-weight: 800; color: #fff3c4; }
.pk-actions { position: sticky; bottom: 0; z-index: 4; background: rgba(9,26,43,.92); backdrop-filter: blur(4px); border-radius: 18px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
.pk-buttons .dmn-btn { min-height: 56px; border-radius: 14px; font-weight: 800; }
.pk-buttons [data-role="fold"] { background: transparent; color: #ff9b8f; border: 2px solid #ff9b8f; }
.pk-buttons [data-role="call"] { background: #fff; color: #10233a; border: 0; }
.pk-quick button { border-radius: 10px; }
.pk-seat .blt-name { background: rgba(0,0,0,.45); }
.pk-dealer { box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.pk-table .gc-btn { top: auto; bottom: 210px; }
.pk-table .gc-bubble { top: auto; bottom: 270px; }
.pk-table .blt-top { right: 100px; }
.pk-showdown { position: absolute; left: 50%; top: 70%; transform: translateX(-50%); z-index: 3; max-width: 86%; text-align: center; background: #f5c518; color: #2b2219;
    font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.35); animation: gmIn .3s ease-out; }
.pk-showdown[hidden] { display: none; }
