/* ポーカー専用のスタイル(共通の見た目は game-points-core のCSSを使っています) */

.pk-points-row { margin-bottom: 14px; }

.pk-bet-row { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; }
.pk-bet-label { font-size: 13px; color: #888; margin-right: 4px; }
.pk-bet-btn {
    padding: 8px 16px; font-size: 14px; font-weight: bold;
    border: 2px solid #ddd; border-radius: 20px; background: #fff; cursor: pointer;
}
.pk-bet-btn.active { background: #f39c12; border-color: #f39c12; color: #fff; }
.pk-bet-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pk-bet-cost { text-align: center; font-size: 13px; color: #888; margin-bottom: 12px; }

/* 連勝ボーナス */
.pk-status-row { text-align: center; font-size: 13px; color: #666; margin-bottom: 10px; }
.pk-status-row strong { font-size: 15px; color: #888; }
.pk-bonus-box { margin-left: 14px; }
.pk-status-row strong.pk-bonus-up { color: #d9534f; }

/* カード(大きさを固定して、表示が上下にずれないようにしています) */
.pk-cards-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.pk-slot { width: 58px; text-align: center; }
.pk-card {
    width: 58px; height: 84px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #fff; border: 2px solid #ccc; border-radius: 8px;
    font-weight: bold; line-height: 1.1; cursor: default; user-select: none;
    box-sizing: border-box;
}
.pk-card .pk-rank { font-size: 22px; }
.pk-card .pk-suit { font-size: 24px; }
.pk-card.pk-red { color: #d9534f; }
.pk-card.pk-black { color: #333; }
.pk-card.pk-card-back { background: #6c8ebf; color: #fff; font-size: 26px; border-color: #5a7aa8; }
.pk-card.pk-clickable { cursor: pointer; }
.pk-card.pk-held { border-color: #f39c12; box-shadow: 0 0 8px rgba(243, 156, 18, 0.7); }
.pk-card.pk-win { border-color: #2e9e44; background: #eafbea; }
.pk-hold-label { height: 16px; line-height: 16px; font-size: 11px; font-weight: bold; color: #f39c12; margin-top: 4px; }

.pk-info { min-height: 20px; font-size: 13px; color: #888; margin-bottom: 4px; }
.pk-result { min-height: 26px; font-size: 16px; margin-bottom: 12px; }

.pk-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
.pk-auto-btn.pk-auto-on { background: #fff; color: #f39c12; border: 2px solid #f39c12; }

.pk-sub-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pk-sub-btn {
    padding: 8px 14px; font-size: 12px; border: 1px solid #ccc; border-radius: 20px;
    background: #fff; color: #666; cursor: pointer;
}
.pk-sub-btn.pk-sound-off { background: #eee; color: #999; }

/* ポップアップ */
.pk-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5);
    z-index: 1000; align-items: center; justify-content: center; padding: 20px;
}
.pk-overlay.pk-open { display: flex; }
.pk-modal {
    position: relative; background: #fff; border-radius: 16px; padding: 24px 20px;
    max-width: 380px; max-height: 80vh; overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); text-align: left;
}
.pk-modal-title { margin: 0 0 12px; font-size: 16px; text-align: center; }
.pk-close-btn {
    position: absolute; top: 10px; right: 12px; border: none; background: none;
    font-size: 18px; color: #999; cursor: pointer; line-height: 1;
}
.pk-setting-row { margin-bottom: 10px; font-size: 14px; }
.pk-setting-note { font-size: 12px; color: #888; margin: 10px 0 0; }
.pk-rules { font-size: 13px; line-height: 1.7; color: #555; }

.pk-version { text-align: right; font-size: 10px; color: #ccc; margin-top: 8px; }
