.prediction-page {
    --prediction-ink: #202634;
    --prediction-muted: #657084;
    --prediction-panel: #ffffff;
    --prediction-line: #d6dbe4;
    --prediction-accent: #cf2552;
    --prediction-accent-dark: #9d173b;
    --prediction-navy: #0f1c3f;
    width: min(1180px, 100%);
    margin-inline: auto;
    color: var(--prediction-ink);
    font-family: Arial, Helvetica, sans-serif;
}

.prediction-page .prediction-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    min-height: 340px;
    height: auto;
    padding: 0;
    overflow: hidden;
    background: var(--prediction-navy);
    box-shadow: 0 14px 36px rgba(19, 29, 52, 0.18);
    color: #fff;
    text-align: left;
}

.prediction-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.prediction-eyebrow {
    margin: 0 0 12px;
    color: #ff8eaa;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.prediction-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.65rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.prediction-question {
    margin: 18px 0 0;
    max-width: 660px;
    color: #d9e0ef;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.55;
}

.prediction-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 24px;
    color: #c6d0e2;
    font-size: 0.9rem;
}

.prediction-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 700;
}

.prediction-status--open {
    border-color: rgba(101, 232, 165, 0.5);
    background: rgba(34, 155, 100, 0.25);
}

.prediction-image {
    min-height: 300px;
    margin: 0;
    background: #090f23;
}

.prediction-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.prediction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.prediction-main,
.prediction-sidebar section {
    border: 1px solid var(--prediction-line);
    background: var(--prediction-panel);
    box-shadow: 0 4px 14px rgba(31, 42, 67, 0.06);
}

.prediction-main {
    padding: clamp(20px, 4vw, 36px);
}

.prediction-analysis h2,
.prediction-sidebar h2,
.prediction-page .consensus-header h2 {
    margin: 0;
    color: var(--prediction-navy);
    font-size: 1.22rem;
    line-height: 1.3;
}

.prediction-analysis p {
    margin: 16px 0 0;
    color: #465166;
    line-height: 1.72;
}

.prediction-summary {
    padding: 14px 16px;
    border-left: 4px solid var(--prediction-accent);
    background: #fff3f6;
}

.prediction-page .consensus-card {
    width: 100%;
    max-width: none;
    margin: 26px 0 0;
    box-shadow: none;
}

.prediction-sidebar {
    display: grid;
    gap: 18px;
}

.prediction-sidebar section {
    padding: 22px;
}

.prediction-sidebar dl {
    margin: 16px 0 0;
}

.prediction-sidebar dl > div {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px solid #e6e9ef;
}

.prediction-sidebar dt {
    color: var(--prediction-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.prediction-sidebar dd {
    margin: 0;
    color: var(--prediction-ink);
    font-weight: 650;
    line-height: 1.45;
}

.related-contests ul {
    display: grid;
    gap: 10px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.related-contests a {
    display: block;
    padding: 11px 12px;
    background: #f2f5fa;
    color: #244c9c;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.related-contests a:hover,
.related-contests a:focus-visible {
    background: #e7edf8;
    text-decoration: underline;
}

.contest-admin-edit {
    display: block;
    width: min(1180px, 100%);
    margin: 0 auto 12px;
    padding: 10px 14px;
    border: 0;
    background: #244c9c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 820px) {
    .prediction-page .prediction-hero,
    .prediction-grid {
        grid-template-columns: 1fr;
    }

    .prediction-page .prediction-hero {
        min-height: 0;
    }

    .prediction-image,
    .prediction-image img {
        min-height: 220px;
        max-height: 360px;
    }

    .prediction-sidebar {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 520px) {
    .prediction-copy {
        padding: 26px 20px;
    }

    .prediction-grid {
        gap: 16px;
        margin-top: 16px;
    }

    .prediction-main,
    .prediction-sidebar section {
    }
}
