/* ═══════════════════════════════════════════
   Compare page — surgical fixes (v1.9.5)
   
   Uses ACTUAL class names from the CC plugin source:
   - .cc-win-badge       (the "Winner" badge — was an 18×18 circle clipping the word)
   - .cc-verdict + descendants (the verdict block)
   
   No broad [class*="winner"] selectors anymore — those were
   matching .cc-cell--winner, .cc-row-has-winner, .cc-td-winner
   etc. and disfiguring the table. Surgical class-name targets only.
   ═══════════════════════════════════════════ */


/* ─── 1. WINNER BADGE ─── */
/*
   CC plugin defines: .cc-win-badge { width:18px; height:18px;
   border-radius:50%; line-height:18px } — a tiny circle that
   clips any word longer than ~3 characters.
   The HTML output is <span class="cc-win-badge">Winner</span>.
   Force it to be a pill that grows with content.
*/

.cc-win-badge {
    width: auto !important;
    height: auto !important;
    border-radius: 12px !important;
    padding: 4px 12px !important;
    line-height: 1.4 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    display: inline-block !important;
}


/* ─── 2. FINAL VERDICT ─── */
/*
   CC plugin sets verdict text colors to white via rgba, but the
   theme's stylesheet is overriding those values in some cells,
   producing the dark-on-dark text seen in the screenshot.
   Force the white/amber palette inside the .cc-verdict block.
*/

.cc-verdict {
    color: #fff !important;
}

.cc-verdict h1,
.cc-verdict h2,
.cc-verdict h3,
.cc-verdict h4 {
    color: #FCD34D !important;
}

.cc-verdict-header h3 {
    color: #FCD34D !important;
}

.cc-verdict-badge {
    background: #10B981 !important;
    color: #fff !important;
}

.cc-verdict-badge.cc-verdict-tie {
    background: #F59E0B !important;
    color: #fff !important;
}

.cc-verdict-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cc-verdict-text strong,
.cc-verdict-text b {
    color: #FCD34D !important;
}

.cc-verdict-text em,
.cc-verdict-text i {
    color: #FDE68A !important;
}

.cc-verdict-text a {
    color: #FDE68A !important;
    text-decoration: underline !important;
}

.cc-verdict-score {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.cc-verdict-fineprint {
    color: rgba(255, 255, 255, 0.6) !important;
}

.cc-verdict-ctas a {
    color: #fff !important;
}
