/* ==========================================================
   game-points-core の共通スタイル
   ここで定義するクラスは、他のゲームプラグイン
   (じゃんけん・スロットなど)からも共通で使います。
   ========================================================== */

/* ---------- ポイント表示バッジ([game_points]用) ---------- */
.ghub-points-badge {
    display: inline-block;
    background: #fff3cd;
    border: 1px solid #ffe58f;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
}

/* ---------- 各ゲーム共通:スコア表示ボックス ---------- */
.ghub-stat-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.ghub-stat-box {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 8px 4px;
    border: 1px solid #eee;
    text-align: center;
}

.ghub-stat-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.ghub-stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* ---------- 各ゲーム共通:ボタン ---------- */
.ghub-primary-btn {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    background: #f39c12;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.ghub-primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- 各ゲーム共通:ゲームを囲む箱 ---------- */
.ghub-game-wrap {
    max-width: 480px;
    margin: 20px auto;
    padding: 24px;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-family: inherit;
}

.ghub-game-title {
    margin: 0 0 16px;
    font-size: 20px;
}

/* ---------- 各ゲーム共通:結果テキストの色 ---------- */
.ghub-result-win {
    color: #2e9e44;
    font-weight: bold;
}

.ghub-result-lose {
    color: #d9534f;
    font-weight: bold;
}

.ghub-result-draw {
    color: #888;
}
