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

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

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

/* サイコロ(高さを固定して、表示が上下にずれないようにしています) */
.ch-dice-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}
.ch-die {
    width: 72px;
    height: 72px;
    line-height: 72px;
    font-size: 56px;
    text-align: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 14px;
}
.ch-die.ch-die-hit { border-color: #2e9e44; background: #eafbea; }

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

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

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

/* ポップアップ */
.ch-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;
}
.ch-overlay.ch-open { display: flex; }
.ch-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;
}
.ch-modal-title { margin: 0 0 12px; font-size: 16px; text-align: center; }
.ch-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.ch-setting-row { margin-bottom: 10px; font-size: 14px; }
.ch-setting-note { font-size: 12px; color: #888; margin: 10px 0 0; }
.ch-rules { font-size: 13px; line-height: 1.7; color: #555; }

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

/* オッズボーナス・目なしランプ */
.ch-status-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.ch-odds-bonus strong { color: #888; font-size: 15px; }
.ch-odds-bonus strong.ch-odds-up { color: #d9534f; }
.ch-lamp {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin-left: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
}
.ch-lamp.ch-lamp-on {
    color: #fff;
    background: #d9534f;
    border-color: #d9534f;
    box-shadow: 0 0 6px rgba(217, 83, 79, 0.7);
}
