/* W33ZY POKER — high-tech dark HUD, glowing red, glass panels. */
.pk-wrap{ max-width:980px; margin:0 auto; padding:16px; }
.pk-wrap h1{ letter-spacing:.08em; color:#ff8a94; text-shadow:0 0 18px #e5323866; margin:6px 0 4px; }
.pk-wrap .lede{ color:#c8d8e8; max-width:720px; }
.pk-hud{ margin:12px 0; }
.pk-sound{ margin-left:auto; }
.pk-start{
  text-align:center; padding:28px 18px; border-radius:16px;
  background:linear-gradient(180deg, rgba(13,25,42,.92), rgba(7,12,20,.92));
  border:1px solid #e5323833; box-shadow:0 10px 40px rgba(0,0,0,.5);
}
.pk-start p{ max-width:560px; margin:0 auto 14px; color:#d8e6f2; }
.pk-note{ font-size:.85rem; color:#9fb4c8; }
.pk-big{ padding:14px 30px; font-size:1.1rem; }
.pk-table{ margin-top:4px; }

/* ---------- felt table ---------- */
.pk-felt{
  position:relative; padding:18px 14px 14px; border-radius:24px;
  background:radial-gradient(ellipse at 50% 30%, #0e2a3d 0%, #081826 55%, #050d16 100%);
  border:1px solid #e5323844; box-shadow:0 0 40px #e5323822, inset 0 0 60px rgba(229,50,56,.06);
}
.pk-board-row{ text-align:center; }
.pk-board{ display:flex; gap:8px; justify-content:center; min-height:92px; }
.pk-pot-label{ font-size:11px; letter-spacing:.3em; color:#9aa0a8; margin-top:8px; }
.pk-seats{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-top:14px;
}
.pk-seat{
  position:relative; text-align:center; padding:10px 6px 8px; border-radius:14px;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  transition:box-shadow .25s, border-color .25s, opacity .25s;
}
.pk-seat.turn{ border-color:#e53238; box-shadow:0 0 18px #e5323866; }
.pk-seat.folded{ opacity:.45; }
.pk-seat.you{ background:rgba(229,50,56,.09); border-color:#e5323855; }
.pk-skull{ width:64px; height:64px; margin:0 auto 4px; border-radius:50%; overflow:hidden;
  background:#0a1622; border:2px solid #e5323833; }
.pk-skull img, .pk-skull canvas{ width:100%; height:100%; object-fit:cover; display:block; }
.pk-name{ font-weight:800; letter-spacing:.04em; }
.pk-style{ display:block; font-size:.72rem; font-weight:400; color:#9fb4c8; }
.pk-hole{ display:flex; gap:4px; justify-content:center; min-height:64px; margin-top:6px; }
.pk-hand{ font-size:.78rem; color:#ffd166; min-height:1.1em; }
.pk-stack{ font-weight:700; color:#ff8a94; margin-top:2px; }
.pk-bet{ font-size:.85rem; color:#e53238; min-height:1.2em; }
.pk-action{ font-size:.82rem; color:#e8f2fa; min-height:1.2em; font-style:italic; }
.pk-dealer{
  display:none; position:absolute; top:6px; right:6px; width:22px; height:22px;
  border-radius:50%; background:#ffd166; color:#111; font-weight:800; font-size:12px;
  line-height:22px; text-align:center;
}
.pk-seat.dealer .pk-dealer{ display:block; }

/* ---------- cards ---------- */
.pk-card{
  width:56px; height:80px; border-radius:8px; background:#f4f7fa; color:#111;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-size:22px; font-weight:800; box-shadow:0 4px 14px rgba(0,0,0,.5);
  animation:pkDeal .3s ease-out;
}
.pk-card span{ font-size:20px; line-height:1; }
.pk-card.red{ color:#d21f3c; }
.pk-card.back{ background:linear-gradient(135deg, #7a1218, #e53238); color:#ffe9ea; }
.pk-card-back{ font-size:26px; font-weight:800; text-shadow:0 0 10px #ffffff88; }
.pk-card.empty{ background:rgba(255,255,255,.06); box-shadow:none; border:1px dashed rgba(255,255,255,.15); }
.pk-hole .pk-card{ width:44px; height:62px; font-size:18px; }
.pk-hole .pk-card span{ font-size:16px; }
@keyframes pkDeal{ from{ transform:translateY(-12px) scale(.9); opacity:0; } to{ transform:none; opacity:1; } }

/* ---------- coach + tips ---------- */
.pk-tip{
  margin-top:12px; padding:10px 14px; border-radius:12px; min-height:20px;
  background:rgba(255,209,102,.1); border:1px solid rgba(255,209,102,.35);
  color:#ffe9a8; font-size:.95rem; opacity:0; transition:opacity .3s;
}
.pk-tip.show{ opacity:1; }
.pk-coach{
  margin-top:8px; padding:10px 14px; border-radius:12px;
  background:rgba(229,50,56,.08); border:1px solid rgba(229,50,56,.25);
  color:#ffd9dd; font-size:.95rem;
}

/* ---------- action bar ---------- */
.pk-actions{
  display:flex; gap:10px; align-items:stretch; flex-wrap:wrap;
  margin-top:14px; padding:12px; border-radius:14px;
  background:linear-gradient(180deg, rgba(13,25,42,.92), rgba(7,12,20,.92));
  border:1px solid #e5323833;
}
.pk-actions.waiting{ box-shadow:0 0 24px #e5323844; }
.pk-btn{
  flex:1 1 90px; min-height:56px; border:0; border-radius:12px; cursor:pointer;
  font-size:1.05rem; font-weight:800; color:#ffffff;
  transition:transform .08s, filter .15s;
}
.pk-btn:disabled{ opacity:.35; cursor:not-allowed; }
.pk-btn:not(:disabled):active{ transform:scale(.94); }
.pk-btn.fold{ background:#ff5b68; color:#fff; }
.pk-btn.call{ background:#e53238; }
.pk-btn.bet{ background:#ffd166; color:#111; width:100%; margin-top:6px; }
.pk-btn.allin{ background:#ff8c1a; color:#fff; }
.pk-betbox{ flex:2 1 220px; display:flex; flex-direction:column; gap:6px; }
.pk-betbox input[type=range]{ width:100%; accent-color:#e53238; min-height:28px; }
.pk-betrow{ display:flex; gap:8px; align-items:center; }
.pk-betrow span{ font-weight:700; color:#ff8a94; margin-right:auto; }
.pk-betrow button{
  padding:6px 10px; border-radius:8px; border:1px solid #e5323855;
  background:rgba(229,50,56,.1); color:#ffd9dd; cursor:pointer; font-weight:700;
}
.pk-foot{ color:#7d93a8; font-size:.85rem; text-align:center; margin-top:18px; }

/* ---------- rules + log ---------- */
.pk-rules{
  margin-top:14px; padding:12px 14px; border-radius:12px;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
}
.pk-rules summary{ cursor:pointer; font-weight:800; color:#ff8a94; }
.pk-rules-in{ color:#c8d8e8; font-size:.95rem; }
.pk-ranks li{ margin:3px 0; }
.pk-logwrap{ margin-top:14px; }
.pk-logwrap h2{ font-size:1rem; color:#9fb4c8; letter-spacing:.1em; text-transform:uppercase; }
.pk-log{
  max-height:180px; overflow-y:auto; padding:10px 12px; border-radius:12px;
  background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.08);
  font-size:.88rem; color:#b9cddd;
}
.pk-log div{ padding:2px 0; border-bottom:1px solid rgba(255,255,255,.04); }

@media (max-width:720px){
  .pk-seats{ grid-template-columns:repeat(2, 1fr); }
  .pk-card{ width:48px; height:70px; font-size:19px; }
  .pk-hole .pk-card{ width:38px; height:54px; }
  .pk-skull{ width:52px; height:52px; }
}
