body {
    margin: 0;
    overflow-x: hidden;
    font-family: Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--page-bg);
}

/* Page introduction */
.results-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 24px 70px;
    flex: 1;
}

.results-header {
    margin-bottom: 34px;
    text-align: center;
}

.results-header h1 {
    margin: 0 0 9px;
    color: var(--sky-dark);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-style: italic;
}

.results-header p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

/* Result panels */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.instrument-results {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: var(--white);
    border: 3px solid var(--sky);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 134, 154, 0.12);
}

.instrument-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--sky);
    border-bottom: 2px solid var(--sky-dark);
}

.instrument-header h2 {
    margin: 0;
    font-size: 21px;
    font-style: italic;
}

.instrument-icon {
    font-size: 23px;
}

/* Candidate portraits */
.candidates-showcase {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: clamp(16px, 4vw, 30px);
    min-height: 182px;
    margin: 0 24px;
    padding: 22px 8px 17px;
    border-bottom: 1px dashed var(--line);
}

.showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 88px;
}

.showcase-card img {
    display: block;
    object-fit: cover;
    object-position: top;
    background: var(--sky-soft);
    border-radius: 50%;
}

.showcase-card.winner img {
    width: 118px;
    height: 118px;
    border: 4px solid var(--sky);
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--line), 0 8px 16px rgba(0, 134, 154, 0.22);
}

.showcase-card.winner::before {
    order: -1;
    margin-bottom: 7px;
    padding: 3px 9px;
    border-radius: 20px;
    color: var(--white);
    content: "CURRENT SOLOIST";
    background: var(--sky-dark);
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.7px;
}

.showcase-card.loser {
    opacity: 0.72;
}

.showcase-card.loser img {
    width: 78px;
    height: 78px;
    border: 2px solid var(--line);
    filter: saturate(0.75);
}

.showcase-name {
    margin-top: 9px;
    color: var(--sky-dark);
    font-size: 15px;
    font-weight: bold;
}

.showcase-card.loser .showcase-name {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

/* Vote distribution */
.candidates-results {
    padding: 23px 24px 0;
}

.result-card {
    margin-bottom: 21px;
}

.result-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.candidate-name {
    color: var(--ink);
    font-size: 17px;
}

.vote-count {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
}

.result-bar {
    width: 100%;
    height: 13px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--sky-soft);
}

.result-bar-fill {
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sky-dark), var(--sky));
    box-shadow: inset -1px 0 0 rgba(0, 134, 154, 0.24);
    transition: width 0.5s ease;
}

.percentage {
    display: block;
    margin-top: 5px;
    color: var(--sky-dark);
    text-align: right;
    font-size: 13px;
    font-weight: bold;
}

.total-votes {
    margin: auto 24px 0;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 760px) {
    .instruments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .results-container {
        padding: 34px 18px 50px;
    }

    .results-header {
        margin-bottom: 26px;
    }

    .results-header p {
        font-size: 15px;
    }
}
