.chance-green {
    background-color: rgba(0, 230, 118, 0.15) !important;
    border-left: 4px solid #00e676 !important;
}

.chance-yellow {
    background-color: rgba(255, 214, 0, 0.15) !important;
    border-left: 4px solid #ffd600 !important;
}

.chance-red {
    background-color: rgba(255, 71, 87, 0.15) !important;
    border-left: 4px solid #ff4757 !important;
}

/* モバイル時のゆとり確保（ベースに定義済みだがここでも上書きが必要な場合のみ残す） */
@media (max-width: 576px) {
    .pref-dropdown {
        width: 260px;
        max-width: 90vw;
        min-width: auto;
    }
}

/* 年月セレクタのスタイル */
.cal-nav-selector {
    display: inline-block;
    position: relative;
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bs-primary);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: var(--bs-font-monospace);
}

.cal-nav-btn:hover {
    background: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.cal-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    max-height: 300px;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    z-index: 1050;
    overflow-y: auto;
    margin-top: 5px;
}

.cal-nav-selector.open .cal-nav-dropdown {
    display: block;
    animation: prefFadeIn 0.2s ease;
}

.cal-nav-list {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.cal-nav-option {
    padding: 8px 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-align: center;
    transition: background 0.15s;
}

.cal-nav-option:hover {
    background: rgba(13, 110, 253, 0.15);
    color: #fff;
}

.cal-nav-option.active {
    background: rgba(13, 110, 253, 0.25);
    color: #ffca28;
    font-weight: 600;
}
