/* ── スコアカード ─────────────────────────────────────── */
.cdj-score-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 16px 0;
}

.cdj-score-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.cdj-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cdj-score-row:last-child {
    margin-bottom: 0;
}

.cdj-score-label {
    width: 130px;
    flex-shrink: 0;
    font-size: 0.875rem;
    color: #374151;
}

.cdj-score-bar-wrap {
    flex: 1;
    background: #f3f4f6;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.cdj-score-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 4px;
    /* width は style属性でインライン指定 */
}

.cdj-score-value {
    width: 50px;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.cdj-score-null {
    color: #9ca3af;
    font-size: 0.8rem;
}

.cdj-score-source-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
    text-decoration: underline;
}

/* ── 比較選択ページ ───────────────────────────────────── */
.cdj-compare-select-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 24px;
    margin: 20px 0;
    max-width: 640px;
}

.cdj-compare-select-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.cdj-compare-select-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cdj-compare-select-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cdj-compare-select-dropdown {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
    cursor: pointer;
}

.cdj-compare-select-vs {
    font-size: 1.1rem;
    font-weight: 700;
    color: #9ca3af;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.cdj-compare-select-btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cdj-compare-select-btn:hover {
    background: #2563eb;
}

.cdj-compare-select-error {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #ef4444;
}

@media (max-width: 480px) {
    .cdj-compare-select-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cdj-compare-select-vs {
        text-align: center;
        padding-bottom: 0;
    }
}
