.tv-strijd {
    --strijd-ink: #122734;
    --strijd-muted: #47616f;
    --strijd-blue: #057c99;
    --strijd-line: #dce8ed;
    box-sizing: border-box;
    max-width: 1152px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 5vw, 64px);
    color: var(--strijd-ink);
}

.tv-strijd h1 {
    margin: 12px 0 6px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.tv-strijd h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 29px);
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.tv-strijd-breadcrumb, .tv-strijd-result-meta, .tv-strijd-note {
    font-size: 14px;
    color: var(--strijd-muted);
}

.tv-strijd-intro {
    margin: 0 0 20px;
    color: var(--strijd-muted);
}

.tv-strijd-filters nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.tv-strijd-filters a, .tv-strijd button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--strijd-line);
    border-radius: 8px;
    color: var(--strijd-ink);
    background: white;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
}

.tv-strijd-filters [aria-current], .tv-strijd button {
    color: white;
    border-color: #075c73;
    background: #075c73;
}

.tv-strijd :focus-visible {
    outline: 3px solid #087f9f;
    outline-offset: 3px;
}

.tv-strijd button {
    cursor: pointer;
}

.tv-strijd-controls, .tv-strijd-results, .tv-strijd-history, .tv-strijd-notice {
    margin: 16px 0;
    padding: clamp(15px, 3vw, 26px);
    border: 1px solid var(--strijd-line);
    border-radius: 15px;
    background: #f3f8fa;
}

.tv-strijd-controls form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 12px;
}

.tv-strijd-controls form + form {
    margin-top: 16px;
}

.tv-strijd-controls form:first-of-type {
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
}

.tv-strijd-controls label {
    display: block;
    margin: 0 0 2px;
    font-weight: 750;
}

.tv-strijd-controls select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    font: inherit;
}

.tv-strijd-duel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tv-strijd-card {
    --strijd-bar: #087c99;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--strijd-line);
    border-top: 4px solid var(--strijd-bar);
    border-radius: 11px;
    background: white;
    overflow-wrap: anywhere;
}

.tv-strijd-card-1 { --strijd-bar: #986013; }

.tv-strijd-card h3 {
    margin: 0 0 4px;
    line-height: 1.25;
}

.tv-strijd-card h3 small {
    display: block;
    margin-top: 4px;
    color: var(--strijd-muted);
}

.tv-strijd-card p { margin: 0 0 8px; }

.tv-strijd-results .tv-strijd-card > strong {
    font-size: clamp(23px, 3.4vw, 38px);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.tv-strijd-bar {
    height: 9px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 6px;
    background: #e7eef1;
}

.tv-strijd-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--strijd-bar);
}

.tv-strijd-history ul {
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.tv-strijd-history li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 6px;
    margin: 0 0 10px;
    font-size: 14px;
}

.tv-strijd-history li .tv-strijd-bar { grid-column: 1 / -1; }

.tv-strijd-source {
    display: inline-block;
    margin-top: 12px;
    font-weight: 750;
}

.tv-strijd-note { margin: 12px 0 0; }

@media (max-width: 700px) {
    .tv-strijd-duel, .tv-strijd-controls form, .tv-strijd-controls form:first-of-type {
        grid-template-columns: minmax(0, 1fr);
    }

    .tv-strijd-controls button { justify-self: start; }
}

.tv-strijd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px);
}

.tv-strijd-layout > .tv-strijd {
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}

.tv-strijd-sidebar {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tv-strijd-sidebar > section {
    padding: 16px 0;
    border-bottom: 1px solid #dce8ed;
}

.tv-strijd-sidebar h2 {
    margin: 0 0 12px;
    color: #17394b;
    font-size: 16px;
    text-transform: uppercase;
}

.tv-strijd-sidebar .switchbox {
    padding: 10px 12px;
    border: 1px solid #dce8ed;
    border-radius: 12px;
}

.tv-strijd-sidebar .switchbox > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    margin: 0;
    border-radius: 8px;
    background: #edf3f5;
    list-style: none;
}

.tv-strijd-sidebar .switchbox > ul a {
    display: block;
    padding: 6px 7px;
    border-radius: 6px;
    color: #17394b;
    font-size: .79rem;
    font-weight: 750;
}

.tv-strijd-sidebar .switchbox > ul .is-active a {
    background: white;
}

.tv-strijd-sidebar .switchbox > .list[hidden] {
    display: none !important;
}

.tv-strijd-sidebar .switchbox > .list ol {
    padding: 0;
    margin: 10px 0;
}

.tv-strijd-sidebar .switchbox > .list li {
    padding: 8px 0;
    border-bottom: 1px solid #edf3f5;
    font-size: .86rem;
    line-height: 1.4;
}

@media (min-width: 1100px) {
    .tv-strijd-layout.has-sidebar {
        grid-template-columns: minmax(0, 1fr) 286px;
        align-items: start;
    }

    .tv-strijd-sidebar {
        padding-left: 18px;
        border-left: 1px solid #dce8ed;
    }
}

body.kijkcijferstrijd > .stage-ribbon {
    display: none;
}
