/* Frozen Cubs playoff-picture story card. Bump cnet version_css_main after edits. */

.story-playoff-odds {
    float: right;
    width: 300px;
    max-width: 48%;
    margin: 0 0 1.15em 1.35em;
    padding: 10px 12px 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
    color: #1d1d1f;
}

html.dark-mode .story-playoff-odds {
    background: var(--dm-bg-elevated, #1c1f25);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--dm-text-primary, #f1f5f9);
}

.story-playoff-odds__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.story-playoff-odds__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 36px;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
}

.story-playoff-odds__title {
    margin: 0;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

html.dark-mode .story-playoff-odds__title {
    color: var(--dm-text-primary, #f1f5f9);
}

.story-playoff-odds__record,
#story_body p.story-playoff-odds__record,
#news-layout-body p.story-playoff-odds__record {
    margin: 0 0 8px;
    color: #5a5a60;
    font-size: 12px;
    line-height: 1.35;
}

html.dark-mode .story-playoff-odds__record,
html.dark-mode #story_body p.story-playoff-odds__record,
html.dark-mode #news-layout-body p.story-playoff-odds__record {
    color: var(--dm-text-secondary, #bbb);
}

.story-playoff-odds__chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 10px;
}

.story-playoff-odds__chip-label,
.story-playoff-odds__pct-label {
    display: block;
    margin: 0 0 4px;
    color: #0E3386;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html.dark-mode .story-playoff-odds__chip-label,
html.dark-mode .story-playoff-odds__pct-label {
    color: var(--dm-text-primary, #f1f5f9);
}

.story-playoff-odds__pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.story-playoff-odds__pill--magic {
    background: #0E3386;
    color: #fff;
}

.story-playoff-odds__pill--elim,
.story-playoff-odds__pill--clinch,
.story-playoff-odds__pill--e,
.story-playoff-odds__pill--blank {
    background: #e8eef8;
    color: #5a5a60;
}

html.dark-mode .story-playoff-odds__pill--elim,
html.dark-mode .story-playoff-odds__pill--clinch,
html.dark-mode .story-playoff-odds__pill--e,
html.dark-mode .story-playoff-odds__pill--blank {
    background: rgba(14, 51, 134, 0.38);
    color: var(--dm-text-secondary, #bbb);
}

.story-playoff-odds__pill--na {
    background: transparent;
    color: #5a5a60;
    padding-left: 0;
    text-transform: none;
    letter-spacing: 0;
}

html.dark-mode .story-playoff-odds__pill--na {
    color: var(--dm-text-secondary, #bbb);
}

.story-playoff-odds__pcts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin: 0 0 8px;
}

.story-playoff-odds__pct-value {
    display: block;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 800;
}

html.dark-mode .story-playoff-odds__pct-value {
    color: var(--dm-text-primary, #f1f5f9);
}

.story-playoff-odds__note,
#story_body p.story-playoff-odds__note,
#news-layout-body p.story-playoff-odds__note {
    margin: 0;
    color: #5a5a60;
    font-size: 11px;
    line-height: 1.4;
}

html.dark-mode .story-playoff-odds__note,
html.dark-mode #story_body p.story-playoff-odds__note,
html.dark-mode #news-layout-body p.story-playoff-odds__note {
    color: var(--dm-text-muted, #a0a0a0);
}

.story-playoff-odds__note a {
    color: #0E3386;
    font-weight: 700;
}

html.dark-mode .story-playoff-odds__note a {
    color: var(--dm-text-primary, #f1f5f9);
}

@media (max-width: 640px) {
    .story-playoff-odds {
        float: none;
        width: auto;
        max-width: none;
        margin: 0 0 1em;
    }
}
