:root {
    color-scheme: light dark;

    --accent: #2f6fff;

    --bg: #dfe6f0;
    --bg-alt: #d3dceb;
    --surface: #f3f6fb;
    --surface-soft: #eaf0f8;
    --header: #20242b;
    --header-accent: #1f355f;
    --text: #1f2937;
    --text-soft: #596679;
    --text-inverse: #e5e7eb;
    --border: #c7d2e2;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --ticker-bg: #d7e0ec;
    --ticker-pill: #eef3f9;
    --button-text: #ffffff;
}

:root[data-theme="dark"] {
    --bg: #0c1320;
    --bg-alt: #111a29;
    --surface: #182233;
    --surface-soft: #1d293b;
    --header: #1c2027;
    --header-accent: #173261;
    --text: #d8dee7;
    --text-soft: #9faaba;
    --text-inverse: #f3f4f6;
    --border: #2c3b52;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    --ticker-bg: #101926;
    --ticker-pill: #182233;
    --button-text: #f8fafc;
}

* {
    box-sizing: border-box;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-alt);
}

html {
    background: var(--bg);
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background-color 0.25s ease, color 0.25s ease;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 70%, #4b5563);
    border-radius: 999px;
    border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::-webkit-scrollbar-corner {
    background: var(--bg-alt);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    color: var(--text-inverse);
    border-bottom: 0;
    background:
        linear-gradient(rgba(12, 19, 32, 0.38), rgba(12, 19, 32, 0.42)),
        linear-gradient(90deg, rgba(28, 32, 39, 0.46) 0%, rgba(23, 50, 97, 0.40) 100%),
        url("https://beta.dbzp.nl/assets/images/headerbackground.png");
    background-size: 100vw auto;
    background-position: center center;
    background-repeat: no-repeat;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(12, 19, 32, 0) 0%,
        rgba(12, 19, 32, 0.10) 55%,
        rgba(12, 19, 32, 0.18) 100%
    );
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 0 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 160px;
    width: auto;
    max-width: 100%;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.main-nav__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.main-nav a,
.main-nav__parent-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.94);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav__parent-wrap:hover,
.main-nav__parent-wrap:focus-visible {
    color: #ffffff;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.20);
    transform: translateY(-1px);
}

.main-nav a.is-active,
.main-nav__parent-wrap.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 111, 255, 0.28);
}

.main-nav a.is-active:hover,
.main-nav a.is-active:focus-visible,
.main-nav__parent-wrap.is-active:hover,
.main-nav__parent-wrap.is-active:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: none;
}


.main-nav__group {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.main-nav__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    min-width: 250px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 18, 31, 0.96);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    z-index: 50;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 6px;
}

.main-nav__submenu a {
    width: 100%;
    justify-content: flex-start;
    background: transparent;
    border-color: transparent;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    white-space: nowrap;
}
 .main-nav__submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}


.main-nav__group.is-open .main-nav__submenu {
    display: grid;
    gap: 6px;
}

.section--subnav {
    padding-top: 18px;
    padding-bottom: 0;
}

.competition-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.competition-subnav__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}

.competition-subnav__link.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.teambeheer-special-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.teambeheer-special-card,
.teambeheer-pagewide-card {
    overflow: hidden;
}

.teambeheer-feed--generic,
.teambeheer-feed--pagewide {
    overflow-x: auto;
}

.teambeheer-generic-block {
    min-width: 100%;
}

.teambeheer-generic-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.teambeheer-generic-table th,
.teambeheer-generic-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line-color);
    vertical-align: top;
}

.teambeheer-generic-table th {
    font-weight: 700;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--text-inverse);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
}

.theme-toggle__icon {
    font-size: 1rem;
    line-height: 1;
}

.ticker-bar {
    background: color-mix(in srgb, var(--ticker-bg) 92%, transparent);
    border-top: 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ticker-marquee {
    overflow: hidden;
    width: 100%;
    padding-inline: 24px;
}

.ticker-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 12px 0;
    animation: ticker-scroll 38s linear infinite;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    background: var(--ticker-pill);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.ticker-label {
    background: var(--accent);
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticker-item a {
    color: var(--text);
    font-weight: 600;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.site-main {
    padding: 0 0 60px;
    flex: 1 0 auto;
}

.hero {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--header) 0%, var(--header-accent) 100%);
    color: var(--text-inverse);
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.hero p {
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section {
    padding: 40px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h1,
.section h2,
.section h3 {
    margin-top: 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head p {
    margin: 0;
    color: var(--text-soft);
}

.text-link {
    color: var(--accent);
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.card-featured {
    border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--border));
}

.card p,
.card small {
    color: var(--text-soft);
}

.button {
    display: inline-block;
    background: var(--accent);
    color: var(--button-text);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}

.button-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.news-card__meta {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.news-card-large {
    min-height: 100%;
}

.list-cards {
    display: grid;
    gap: 16px;
}

.list-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.list-card__date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 1px solid var(--border);
    padding-right: 20px;
}

.list-card__date strong {
    font-size: 1.25rem;
}

.list-card__date span,
.list-card__meta {
    color: var(--text-soft);
}

.list-card__content h2,
.list-card__content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.feed-placeholder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.feed-placeholder__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.feed-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-weight: 600;
}

.feed-pill--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.feed-placeholder__table {
    display: grid;
    gap: 8px;
}

.feed-row {
    display: grid;
    grid-template-columns: 50px 1.8fr 80px 90px 90px;
    gap: 12px;
    align-items: center;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
}

.feed-row--head {
    font-weight: 700;
    background: transparent;
    border: 0;
    color: var(--text-soft);
    padding: 0 14px 8px;
}

.doc-grid,
.album-grid,
.sponsor-grid {
    display: grid;
    gap: 20px;
}

.doc-grid {
    grid-template-columns: repeat(3, 1fr);
}

.doc-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: middle;
}

.album-grid {
    grid-template-columns: repeat(3, 1fr);
}

.album-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.album-card__image {
    height: 220px;
    background: linear-gradient(135deg, var(--header-accent) 0%, var(--accent) 100%);
    overflow: hidden;
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-card__content {
    padding: 18px;
}

.album-card__content h2,
.album-card__content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.album-card__content p {
    margin: 0 0 8px;
    color: var(--text-soft);
}

.sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--text-soft);
    box-shadow: var(--shadow);
}

.page-hero {
    padding-top: 48px;
    padding-bottom: 28px;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.page-hero p {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-list__item h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.news-list__item--featured {
    border-width: 2px;
}

.article-card {
    max-width: 820px;
}

.article-content {
    line-height: 1.8;
}

.breadcrumb-link {
    margin-bottom: 14px;
}

.breadcrumb-link a {
    color: var(--accent);
    font-weight: 600;
}

.empty-state-card {
    max-width: 720px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.board-card__role {
    color: var(--accent);
    font-weight: 700;
    margin-top: -4px;
    margin-bottom: 14px;
}

.contact-page {
    max-width: 950px;
}

.contact-intro {
    max-width: 780px;
    margin-bottom: 18px;
}

.contact-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.contact-form--minimal {
    display: grid;
    gap: 24px;
    margin-top: 10px;
}

.form-row {
    display: grid;
    gap: 10px;
}

.form-row label {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.3;
}

.form-row input,
.form-row select,
.form-row textarea {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    background: color-mix(in srgb, var(--surface-soft) 45%, transparent);
    color: var(--text);
    border-radius: 10px;
    padding: 14px 16px;
    font: inherit;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row select {
    cursor: pointer;
}

.form-row textarea {
    resize: vertical;
    min-height: 220px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-soft);
    opacity: 1;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--accent) 75%, white 10%);
    background: color-mix(in srgb, var(--surface) 75%, transparent);
    box-shadow: 0 0 0 3px rgba(47, 111, 255, 0.12);
}

.form-actions {
    padding-top: 4px;
}

.form-alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 600;
}

.form-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #15803d;
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

.form-error {
    color: #dc2626;
    font-size: 0.92rem;
    font-weight: 600;
}

.photo-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-detail-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.photo-detail-card__image {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
}

.photo-detail-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-detail-card__caption {
    padding: 14px 16px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.site-footer {
    padding: 24px 0 40px;
    background: var(--bg);
    color: var(--text-soft);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin-bottom: 0;
}

/* ADMIN - hard donker en eigen sfeer */
.admin-body {
    --bg: #09111d;
    --bg-alt: #0e1727;
    --surface: #141f31;
    --surface-soft: #1a2840;
    --text: #dde6f2;
    --text-soft: #98aac2;
    --border: #2a3b56;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.34);

    background: var(--bg);
    color: var(--text);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.admin-topbar {
    position: relative;
    color: #f3f4f6;
    background:
        linear-gradient(rgba(9, 17, 29, 0.52), rgba(9, 17, 29, 0.58)),
        linear-gradient(90deg, rgba(28, 32, 39, 0.52) 0%, rgba(23, 50, 97, 0.44) 100%),
        url("https://beta.dbzp.nl/assets/images/headerbackground.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(9, 17, 29, 0) 0%,
        rgba(9, 17, 29, 0.10) 55%,
        rgba(9, 17, 29, 0.20) 100%
    );
}

.admin-topbar__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 18px;
    padding: 20px 0 22px;
}

.admin-topbar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-brand__text {
    display: grid;
    gap: 3px;
}

.admin-brand__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-brand__subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

.admin-userbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-userbar__meta {
    color: rgba(255,255,255,0.84);
    font-size: 0.94rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-nav__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.94);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.20);
    transform: translateY(-1px);
}

.admin-nav a.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 111, 255, 0.28);
}

.admin-nav a.is-active:hover,
.admin-nav a.is-active:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: none;
}

.admin-nav a.is-disabled {
    opacity: 0.55;
}

.admin-nav a.is-disabled:hover,
.admin-nav a.is-disabled:focus-visible {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.10);
    transform: none;
}

.admin-main {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 40px;
}

.admin-content {
    color: var(--text);
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(rgba(9, 17, 29, 0.54), rgba(9, 17, 29, 0.58)),
        linear-gradient(90deg, rgba(28, 32, 39, 0.50) 0%, rgba(23, 50, 97, 0.42) 100%),
        url("https://beta.dbzp.nl/assets/images/headerbackground.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.admin-login-card {
    width: min(520px, 100%);
    background: rgba(20, 31, 49, 0.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.admin-login-card h1 {
    color: var(--text);
}

.admin-login-card p {
    color: var(--text-soft);
}

.admin-page-head {
    margin-bottom: 24px;
}

.admin-page-head p {
    color: var(--text-soft);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card,
.admin-panel,
.admin-table-card,
.admin-form-card,
.admin-login-card,
.admin-list__item {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.admin-stat-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0;
}

.admin-panels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-panel h2 {
    margin-bottom: 16px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-list__item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    border-radius: 14px;
}

.admin-list__item span {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-toolbar__group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-table-card {
    overflow: hidden;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text);
}

.admin-table th {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.admin-muted {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.admin-form-card {
    max-width: 980px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-row-checkbox {
    align-self: end;
}

.form-row-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-row-checkbox input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 4px;
}


.form-help {
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.form-help code {
    font-size: 0.9em;
}

.form-help--placeholder {
    visibility: hidden;
}

.admin-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-body .card,
.admin-body .promo-card,
.admin-body .feed-placeholder {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.admin-body .admin-page-head p,
.admin-body .admin-muted,
.admin-body .admin-list__item span {
    color: var(--text-soft);
}

.admin-body .form-row label {
    color: var(--text);
}

.admin-body .form-row input,
.admin-body .form-row select,
.admin-body .form-row textarea {
    background: #0f1a2d;
    color: #eef4fb;
    border: 1px solid #30435f;
}

.admin-body .form-row input::placeholder,
.admin-body .form-row textarea::placeholder {
    color: #8fa3bd;
}

.admin-body .form-row input:focus,
.admin-body .form-row select:focus,
.admin-body .form-row textarea:focus {
    background: #13213a;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 111, 255, 0.18);
}

.admin-body .button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.admin-body .button-secondary:hover,
.admin-body .button-secondary:focus-visible {
    background: var(--surface-soft);
}

.admin-body .form-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #7ee2a8;
}

.admin-body .form-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ff9d9d;
}

@media (max-width: 1100px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 0;
        text-align: center;
        position: relative;
    }

    .logo {
        justify-content: center;
        width: 100%;
        opacity: .5;
        pointer-events: none;
    }

    .main-nav {
        width: 100%;
        align-items: center;
    }

    .main-nav__row {
        width: 100%;
        justify-content: center;
    }

    .theme-toggle {
        align-self: center;
    }

    .news-grid,
    .promo-grid,
    .doc-grid,
    .album-grid,
    .sponsor-grid,
    .photo-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-topbar__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-nav__row {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2rem;
    }

    .ticker-track {
        padding: 10px 0;
    }

    .theme-toggle__label {
        display: none;
    }

    .admin-panels-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .logo img {
        height: 128px;
        margin: 0 auto;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-grid,
    .promo-grid,
    .doc-grid,
    .album-grid,
    .sponsor-grid,
    .photo-detail-grid,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        grid-template-columns: 1fr;
    }

    .list-card__date {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 14px;
    }

    .feed-row {
        grid-template-columns: 40px 1fr 60px 70px 70px;
        font-size: 0.95rem;
    }

    .contact-links-inline {
        gap: 8px;
        margin-bottom: 0;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-toolbar {
        justify-content: flex-start;
    }

    .admin-main,
    .admin-topbar__inner {
        width: min(1280px, calc(100% - 24px));
    }

    .admin-logo img,
    .admin-login-logo img {
        height: 160px;
    }
}

.admin-logo img {
    height: 160px;
    width: auto;
    max-width: 100%;
    display: block;
}

.admin-login-stack {
    display: grid;
    justify-items: center;
    gap: 20px;
    width: 100%;
}

.admin-login-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.admin-login-logo img {
    height: 160px;
    width: auto;
    max-width: 100%;
    display: block;
}

.admin-login-card {
    width: min(520px, 100%);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-brand__text {
    display: grid;
    gap: 3px;
}

.admin-brand__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-brand__subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .admin-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}


.teambeheer-feed-card {
    padding: 0 !important;
    overflow: hidden !important;
}

.teambeheer-feed {
    padding: 24px 26px !important;
    overflow-x: auto !important;
}

.teambeheer-stand-block {
    width: 100% !important;
}

table.teambeheer-stand-table {
    width: 100% !important;
    min-width: 840px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    font-size: 0.89rem !important;
    line-height: 1.35 !important;
    background: transparent !important;
}

table.teambeheer-stand-table th,
table.teambeheer-stand-table td {
    padding: 12px 14px !important;
    white-space: nowrap !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

table.teambeheer-stand-table th {
    color: var(--text-soft) !important;
    font-weight: 700 !important;
    text-align: left !important;
    border-bottom: 2px solid rgba(255,255,255,0.14) !important;
}

table.teambeheer-stand-table td {
    color: var(--text) !important;
}

table.teambeheer-stand-table tbody tr:nth-of-type(even) td,
table.teambeheer-stand-table tr:nth-of-type(even) td {
    background: rgba(255,255,255,0.05) !important;
}

table.teambeheer-stand-table tbody tr:hover td,
table.teambeheer-stand-table tr:hover td {
    background: rgba(47,111,255,0.12) !important;
}

table.teambeheer-stand-table th:first-child,
table.teambeheer-stand-table td:first-child {
    width: 56px !important;
    min-width: 56px !important;
    text-align: center !important;
    font-weight: 700 !important;
}

table.teambeheer-stand-table th:nth-child(2),
table.teambeheer-stand-table td:nth-child(2) {
    min-width: 220px !important;
    text-align: left !important;
    font-weight: 600 !important;
}

table.teambeheer-stand-table th:nth-child(n+3),
table.teambeheer-stand-table td:nth-child(n+3) {
    text-align: center !important;
    min-width: 64px !important;
}

table.teambeheer-stand-table th:last-child,
table.teambeheer-stand-table td:last-child {
    min-width: 96px !important;
}

.teambeheer-program-block {
    display: grid;
    gap: 24px;
    width: 100%;
}

.teambeheer-program-group {
    width: 100%;
}

.teambeheer-program-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--text);
}

table.teambeheer-program-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    font-size: 0.89rem;
    line-height: 1.35;
    background: transparent;
}

table.teambeheer-program-table th,
table.teambeheer-program-table td {
    padding: 12px 14px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

table.teambeheer-program-table th {
    color: var(--text-soft);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid rgba(255,255,255,0.14);
}

table.teambeheer-program-table td {
    color: var(--text);
}

table.teambeheer-program-table tbody tr:nth-of-type(even) td,
table.teambeheer-program-table tr:nth-of-type(even) td {
    background: rgba(255,255,255,0.05) !important;
}

table.teambeheer-program-table tbody tr:hover td,
table.teambeheer-program-table tr:hover td {
    background: rgba(47,111,255,0.12) !important;
}

table.teambeheer-program-table th:nth-child(1),
table.teambeheer-program-table td:nth-child(1) {
    min-width: 100px;
}

table.teambeheer-program-table th:nth-child(2),
table.teambeheer-program-table td:nth-child(2),
table.teambeheer-program-table th:nth-child(3),
table.teambeheer-program-table td:nth-child(3) {
    min-width: 170px;
}

table.teambeheer-program-table th:nth-child(4),
table.teambeheer-program-table td:nth-child(4) {
    min-width: 72px;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 900px) {
    .teambeheer-feed-card,
    .teambeheer-feed,
    .teambeheer-stand-block {
        position: relative !important;
        isolation: isolate !important;
    }

    .teambeheer-feed {
        padding: 14px !important;
    }

    .competition-jump-nav--inline,
    .teambeheer-competition-head,
    .teambeheer-competition-block__heading {
        position: relative;
        z-index: 20;
    }

    table.teambeheer-stand-table {
        min-width: 640px !important;
        font-size: 0.8rem !important;
    }

    table.teambeheer-stand-table th,
    table.teambeheer-stand-table td,
    table.teambeheer-program-table th,
    table.teambeheer-program-table td {
        padding: 9px 10px !important;
    }

    table.teambeheer-stand-table th:first-child,
    table.teambeheer-stand-table td:first-child {
        min-width: 42px !important;
        width: 42px !important;
    }

    table.teambeheer-stand-table th:nth-child(2),
    table.teambeheer-stand-table td:nth-child(2) {
        min-width: 160px !important;
        position: sticky;
        left: 42px;
        z-index: 2;
        background: #162744 !important;
        background-clip: padding-box !important;
        box-shadow: 10px 0 12px -12px rgba(0,0,0,0.75) !important;
    }

    table.teambeheer-stand-table th:first-child,
    table.teambeheer-stand-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #10203a !important;
        background-clip: padding-box !important;
    }

    table.teambeheer-stand-table th {
        z-index: 4 !important;
    }

    table.teambeheer-stand-table tbody tr:nth-of-type(even) td:first-child,
    table.teambeheer-stand-table tbody tr:nth-of-type(even) td:nth-child(2),
    table.teambeheer-stand-table tr:nth-of-type(even) td:first-child,
    table.teambeheer-stand-table tr:nth-of-type(even) td:nth-child(2) {
        background: #1e2f4a !important;
    }

    table.teambeheer-stand-table tbody tr:hover td:first-child,
    table.teambeheer-stand-table tbody tr:hover td:nth-child(2),
    table.teambeheer-stand-table tr:hover td:first-child,
    table.teambeheer-stand-table tr:hover td:nth-child(2) {
        background: #203964 !important;
    }

    table.teambeheer-stand-table th:nth-child(n+3),
    table.teambeheer-stand-table td:nth-child(n+3) {
        min-width: 54px !important;
    }

    table.teambeheer-stand-table th:last-child,
    table.teambeheer-stand-table td:last-child {
        min-width: 78px !important;
    }

    table.teambeheer-program-table {
        min-width: 420px;
        font-size: 0.8rem;
    }

    table.teambeheer-program-table th:nth-child(1),
    table.teambeheer-program-table td:nth-child(1) {
        min-width: 74px;
    }

    table.teambeheer-program-table th:nth-child(2),
    table.teambeheer-program-table td:nth-child(2),
    table.teambeheer-program-table th:nth-child(3),
    table.teambeheer-program-table td:nth-child(3) {
        min-width: 132px;
    }

    table.teambeheer-program-table th:nth-child(4),
    table.teambeheer-program-table td:nth-child(4) {
        min-width: 58px;
    }
}


.admin-action-separator {
    color: rgba(255,255,255,0.35);
    margin: 0 0.35rem;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.admin-inline-form {
    display: inline;
    margin: 0;
}

.text-link-danger {
    color: #ff8f8f;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.text-link-danger:hover {
    color: #ffffff;
}

.button-danger {
    border-color: rgba(255, 107, 107, 0.55);
    color: #ffd0d0;
}

.button-danger:hover {
    border-color: rgba(255, 107, 107, 0.85);
    background: rgba(255, 107, 107, 0.12);
}


.teambeheer-competition-group {
    margin-top: 2.5rem;
}

.teambeheer-competition-group:first-of-type {
    margin-top: 0;
}

.teambeheer-competition-head {
    margin-bottom: 1rem;
}

.teambeheer-competition-block + .teambeheer-competition-block {
    margin-top: 1.25rem;
}

.teambeheer-competition-block__title {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
}

.section-compact {
    padding-top: 0;
}

.competition-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.competition-jump-nav--inline {
    margin-bottom: 1rem;
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    padding: 0.85rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.competition-jump-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.competition-jump-nav__link:hover,
.competition-jump-nav__link:focus-visible {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--surface) 85%, var(--accent) 15%);
    transform: translateY(-1px);
}

.competition-jump-nav__link.is-active {
    background: color-mix(in srgb, var(--accent) 22%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
    color: var(--text);
    box-shadow: 0 10px 24px rgba(47, 111, 255, 0.16);
}

.teambeheer-competition-group {
    scroll-margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
}

.teambeheer-competition-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.teambeheer-competition-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.teambeheer-competition-head__back {
    flex-shrink: 0;
    font-weight: 700;
}

.teambeheer-competition-block__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.teambeheer-competition-block__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.teambeheer-feed-card--program-preview {
    overflow: hidden;
    padding: 0.5rem 0.75rem 0.75rem;
}

.teambeheer-feed--program-preview {
    overflow: hidden;
    padding: 0 !important;
}

.teambeheer-program-preview {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.05rem 0.4rem;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
}

.teambeheer-program-preview__week {
    flex: 0 0 clamp(470px, 48vw, 560px);
    min-width: 320px;
    max-width: 100%;
    scroll-snap-align: start;
}

.teambeheer-program-preview__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.teambeheer-program-preview__table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview {
    min-width: 100%;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th,
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td {
    padding: 10px 10px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(1),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(1) {
    min-width: 110px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(2),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(2),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(3),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(3) {
    min-width: 170px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(4),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(4) {
    min-width: 58px;
}

@media (max-width: 900px) {
    .competition-jump-nav {
        gap: 0.5rem;
    }

    .competition-jump-nav--inline {
        top: 0.5rem;
        padding: 0.65rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .competition-jump-nav__link {
        min-height: 36px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
    }

    .teambeheer-competition-head,
    .teambeheer-competition-block__heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .teambeheer-competition-group {
        margin-top: 2rem;
    }

    .teambeheer-program-preview {
        gap: 0.5rem;
    }

    .teambeheer-program-preview__week {
        flex-basis: 82vw;
        min-width: 82vw;
    }

    .teambeheer-program-preview__title {
        font-size: 0.98rem;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview {
        min-width: 100%;
    }
}


.teambeheer-program-preview::-webkit-scrollbar,
.teambeheer-feed::-webkit-scrollbar {
    height: 10px;
}

.teambeheer-program-preview::-webkit-scrollbar-thumb,
.teambeheer-feed::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 70%, transparent);
    border-radius: 999px;
}

.teambeheer-program-preview::-webkit-scrollbar-track,
.teambeheer-feed::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
}


@media (min-width: 1200px) {
    .teambeheer-program-preview__week {
        flex-basis: calc(50% - 0.3rem);
        min-width: calc(50% - 0.3rem);
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th,
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td {
        padding: 9px 9px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(1),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(1) {
        min-width: 96px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(2),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(2),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(3),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(3) {
        min-width: 150px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(4),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(4) {
        min-width: 52px;
    }
}


.home-mini-ranking {
    margin: 0.75rem 0 0.5rem 1.1rem;
    padding: 0;
}

.home-mini-ranking li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.home-mini-ranking li strong {
    white-space: nowrap;
}


.svhs-page-card {
    width: 100%;
}

.home-mini-ranking--large li {
    font-size: 1rem;
    gap: 1rem;
}

.teambeheer-feed--score {
    overflow-x: auto;
}

.teambeheer-score-block table,
.teambeheer-score-table {
    width: 100%;
    border-collapse: collapse;
}

.teambeheer-score-table th,
.teambeheer-score-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.teambeheer-feed--score-page {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.teambeheer-feed--score-page table,
.teambeheer-feed--score-page .ui.table,
.teambeheer-feed--score-page .table {
    min-width: 100%;
}


.home-mini-ranking--podium {
    list-style: none;
    margin: 0.9rem 0 0.65rem;
}

.home-mini-ranking--podium .home-mini-ranking__item {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.2rem;
    margin-bottom: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-mini-ranking--podium .home-mini-ranking__place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    grid-row: 1 / span 2;
}

.home-mini-ranking--podium .home-mini-ranking__player {
    min-width: 0;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.home-mini-ranking--podium .home-mini-ranking__value {
    grid-column: 2;
    white-space: normal;
    line-height: 1.1;
    font-size: 0.98rem;
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 .home-mini-ranking__place {
    background: rgba(255, 255, 255, 0.18);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-2 {
    background: rgba(255, 255, 255, 0.06);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-3 {
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 640px) {
    .home-mini-ranking--podium .home-mini-ranking__item {
        grid-template-columns: 1.75rem minmax(0, 1fr);
        column-gap: 0.55rem;
        padding: 0.6rem 0.65rem;
    }

    .home-mini-ranking--podium .home-mini-ranking__place {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }

    .home-mini-ranking--podium .home-mini-ranking__player,
    .home-mini-ranking--podium .home-mini-ranking__value {
        font-size: 0.95rem;
    }
}


/* SVHS podium badges readable in light theme + score header alignment */
.home-mini-ranking--podium .home-mini-ranking__place {
    color: var(--text-inverse);
    background: color-mix(in srgb, var(--header-accent) 82%, var(--surface) 18%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 .home-mini-ranking__place {
    background: color-mix(in srgb, var(--accent) 78%, var(--header-accent) 22%);
}

.teambeheer-feed--score-page th,
.teambeheer-feed--score-page .ui.table th,
.teambeheer-feed--score-page .table th,
.teambeheer-score-table th {
    text-align: left;
}


.svhs-rules-card {
    margin-bottom: 1.25rem;
}

.svhs-rules-card p {
    margin: 0 0 0.85rem;
}

.svhs-rules-card p:last-child {
    margin-bottom: 0;
}

.svhs-source-link {
    margin-top: 0.85rem;
}


@media (max-width: 980px) {
    .teambeheer-special-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .competition-subnav { gap: 10px; }
    .competition-subnav__link { width: 100%; justify-content: flex-start; }
    .teambeheer-generic-table { min-width: 720px; }
}




/* Competition-related wide feed tables */
.teambeheer-pagewide-card,
.svhs-page-card {
    padding: 0.9rem;
    overflow: hidden;
}

.teambeheer-pagewide-card .teambeheer-feed,
.svhs-page-card .teambeheer-feed {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface-soft);
    overflow-x: auto;
    overflow-y: hidden;
}

.teambeheer-pagewide-card table,
.svhs-page-card table,
.teambeheer-pagewide-card .teambeheer-generic-table,
.svhs-page-card .teambeheer-score-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.teambeheer-pagewide-card th,
.teambeheer-pagewide-card td,
.svhs-page-card th,
.svhs-page-card td {
    padding: 10px 12px;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.teambeheer-pagewide-card thead th,
.svhs-page-card thead th,
.teambeheer-pagewide-card th,
.svhs-page-card th {
    text-align: left !important;
    background: color-mix(in srgb, var(--surface-soft) 65%, var(--surface) 35%);
    color: var(--text);
}

.teambeheer-pagewide-card tbody tr:nth-child(odd) td,
.svhs-page-card tbody tr:nth-child(odd) td {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.teambeheer-pagewide-card tbody tr:nth-child(even) td,
.svhs-page-card tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--surface-soft) 96%, transparent);
}

.teambeheer-pagewide-card tbody tr:hover td,
.svhs-page-card tbody tr:hover td {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface-soft));
}

.teambeheer-pagewide-card tbody tr:last-child td,
.svhs-page-card tbody tr:last-child td {
    border-bottom: 0;
}

.teambeheer-special-grid--links {
    align-items: stretch;
}

.teambeheer-special-card--linkonly {
    min-height: 100%;
    border: 1px solid var(--border);
}

.teambeheer-special-card--linkonly .button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 640px) {
    .teambeheer-pagewide-card,
    .svhs-page-card {
        padding: 0.65rem;
    }

    .teambeheer-pagewide-card table,
    .svhs-page-card table,
    .teambeheer-pagewide-card .teambeheer-generic-table,
    .svhs-page-card .teambeheer-score-table {
        min-width: 760px;
    }
}


.theme-toggle { display: none !important; }

.teambeheer-special-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.teambeheer-special-card,
.teambeheer-pagewide-card {
    overflow: hidden;
}

.teambeheer-feed--generic,
.teambeheer-feed--pagewide {
    overflow-x: auto;
}

.teambeheer-generic-block {
    min-width: 100%;
}

.teambeheer-generic-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.teambeheer-generic-table th,
.teambeheer-generic-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line-color);
    vertical-align: top;
}

.teambeheer-generic-table th {
    font-weight: 700;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--text-inverse);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
}

.theme-toggle__icon {
    font-size: 1rem;
    line-height: 1;
}

.ticker-bar {
    background: color-mix(in srgb, var(--ticker-bg) 92%, transparent);
    border-top: 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ticker-marquee {
    overflow: hidden;
    width: 100%;
    padding-inline: 24px;
}

.ticker-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 12px 0;
    animation: ticker-scroll 38s linear infinite;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    background: var(--ticker-pill);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.ticker-label {
    background: var(--accent);
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticker-item a {
    color: var(--text);
    font-weight: 600;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.site-main {
    padding: 0 0 60px;
    flex: 1 0 auto;
}

.hero {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--header) 0%, var(--header-accent) 100%);
    color: var(--text-inverse);
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.hero p {
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section {
    padding: 40px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h1,
.section h2,
.section h3 {
    margin-top: 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head p {
    margin: 0;
    color: var(--text-soft);
}

.text-link {
    color: var(--accent);
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.card-featured {
    border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--border));
}

.card p,
.card small {
    color: var(--text-soft);
}

.button {
    display: inline-block;
    background: var(--accent);
    color: var(--button-text);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}

.button-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.news-card__meta {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.news-card-large {
    min-height: 100%;
}

.list-cards {
    display: grid;
    gap: 16px;
}

.list-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.list-card__date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 1px solid var(--border);
    padding-right: 20px;
}

.list-card__date strong {
    font-size: 1.25rem;
}

.list-card__date span,
.list-card__meta {
    color: var(--text-soft);
}

.list-card__content h2,
.list-card__content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.feed-placeholder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.feed-placeholder__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.feed-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-weight: 600;
}

.feed-pill--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.feed-placeholder__table {
    display: grid;
    gap: 8px;
}

.feed-row {
    display: grid;
    grid-template-columns: 50px 1.8fr 80px 90px 90px;
    gap: 12px;
    align-items: center;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
}

.feed-row--head {
    font-weight: 700;
    background: transparent;
    border: 0;
    color: var(--text-soft);
    padding: 0 14px 8px;
}

.doc-grid,
.album-grid,
.sponsor-grid {
    display: grid;
    gap: 20px;
}

.doc-grid {
    grid-template-columns: repeat(3, 1fr);
}

.doc-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: middle;
}

.album-grid {
    grid-template-columns: repeat(3, 1fr);
}

.album-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.album-card__image {
    height: 220px;
    background: linear-gradient(135deg, var(--header-accent) 0%, var(--accent) 100%);
    overflow: hidden;
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-card__content {
    padding: 18px;
}

.album-card__content h2,
.album-card__content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.album-card__content p {
    margin: 0 0 8px;
    color: var(--text-soft);
}

.sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--text-soft);
    box-shadow: var(--shadow);
}

.page-hero {
    padding-top: 48px;
    padding-bottom: 28px;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.page-hero p {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-list__item h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.news-list__item--featured {
    border-width: 2px;
}

.article-card {
    max-width: 820px;
}

.article-content {
    line-height: 1.8;
}

.breadcrumb-link {
    margin-bottom: 14px;
}

.breadcrumb-link a {
    color: var(--accent);
    font-weight: 600;
}

.empty-state-card {
    max-width: 720px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.board-card__role {
    color: var(--accent);
    font-weight: 700;
    margin-top: -4px;
    margin-bottom: 14px;
}

.contact-page {
    max-width: 950px;
}

.contact-intro {
    max-width: 780px;
    margin-bottom: 18px;
}

.contact-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.contact-form--minimal {
    display: grid;
    gap: 24px;
    margin-top: 10px;
}

.form-row {
    display: grid;
    gap: 10px;
}

.form-row label {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.3;
}

.form-row input,
.form-row select,
.form-row textarea {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    background: color-mix(in srgb, var(--surface-soft) 45%, transparent);
    color: var(--text);
    border-radius: 10px;
    padding: 14px 16px;
    font: inherit;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row select {
    cursor: pointer;
}

.form-row textarea {
    resize: vertical;
    min-height: 220px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-soft);
    opacity: 1;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--accent) 75%, white 10%);
    background: color-mix(in srgb, var(--surface) 75%, transparent);
    box-shadow: 0 0 0 3px rgba(47, 111, 255, 0.12);
}

.form-actions {
    padding-top: 4px;
}

.form-alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 600;
}

.form-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #15803d;
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

.form-error {
    color: #dc2626;
    font-size: 0.92rem;
    font-weight: 600;
}

.photo-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-detail-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.photo-detail-card__image {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
}

.photo-detail-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-detail-card__caption {
    padding: 14px 16px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.site-footer {
    padding: 24px 0 40px;
    background: var(--bg);
    color: var(--text-soft);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin-bottom: 0;
}

/* ADMIN - hard donker en eigen sfeer */
.admin-body {
    --bg: #09111d;
    --bg-alt: #0e1727;
    --surface: #141f31;
    --surface-soft: #1a2840;
    --text: #dde6f2;
    --text-soft: #98aac2;
    --border: #2a3b56;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.34);

    background: var(--bg);
    color: var(--text);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.admin-topbar {
    position: relative;
    color: #f3f4f6;
    background:
        linear-gradient(rgba(9, 17, 29, 0.52), rgba(9, 17, 29, 0.58)),
        linear-gradient(90deg, rgba(28, 32, 39, 0.52) 0%, rgba(23, 50, 97, 0.44) 100%),
        url("https://beta.dbzp.nl/assets/images/headerbackground.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(9, 17, 29, 0) 0%,
        rgba(9, 17, 29, 0.10) 55%,
        rgba(9, 17, 29, 0.20) 100%
    );
}

.admin-topbar__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 18px;
    padding: 20px 0 22px;
}

.admin-topbar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-brand__text {
    display: grid;
    gap: 3px;
}

.admin-brand__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-brand__subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

.admin-userbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-userbar__meta {
    color: rgba(255,255,255,0.84);
    font-size: 0.94rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-nav__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.94);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.20);
    transform: translateY(-1px);
}

.admin-nav a.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 111, 255, 0.28);
}

.admin-nav a.is-active:hover,
.admin-nav a.is-active:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: none;
}

.admin-nav a.is-disabled {
    opacity: 0.55;
}

.admin-nav a.is-disabled:hover,
.admin-nav a.is-disabled:focus-visible {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.10);
    transform: none;
}

.admin-main {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 40px;
}

.admin-content {
    color: var(--text);
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(rgba(9, 17, 29, 0.54), rgba(9, 17, 29, 0.58)),
        linear-gradient(90deg, rgba(28, 32, 39, 0.50) 0%, rgba(23, 50, 97, 0.42) 100%),
        url("https://beta.dbzp.nl/assets/images/headerbackground.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.admin-login-card {
    width: min(520px, 100%);
    background: rgba(20, 31, 49, 0.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.admin-login-card h1 {
    color: var(--text);
}

.admin-login-card p {
    color: var(--text-soft);
}

.admin-page-head {
    margin-bottom: 24px;
}

.admin-page-head p {
    color: var(--text-soft);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card,
.admin-panel,
.admin-table-card,
.admin-form-card,
.admin-login-card,
.admin-list__item {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.admin-stat-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0;
}

.admin-panels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-panel h2 {
    margin-bottom: 16px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-list__item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    border-radius: 14px;
}

.admin-list__item span {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-toolbar__group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-table-card {
    overflow: hidden;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text);
}

.admin-table th {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.admin-muted {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.admin-form-card {
    max-width: 980px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-row-checkbox {
    align-self: end;
}

.form-row-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-row-checkbox input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 4px;
}


.form-help {
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.form-help code {
    font-size: 0.9em;
}

.admin-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-body .card,
.admin-body .promo-card,
.admin-body .feed-placeholder {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.admin-body .admin-page-head p,
.admin-body .admin-muted,
.admin-body .admin-list__item span {
    color: var(--text-soft);
}

.admin-body .form-row label {
    color: var(--text);
}

.admin-body .form-row input,
.admin-body .form-row select,
.admin-body .form-row textarea {
    background: #0f1a2d;
    color: #eef4fb;
    border: 1px solid #30435f;
}

.admin-body .form-row input::placeholder,
.admin-body .form-row textarea::placeholder {
    color: #8fa3bd;
}

.admin-body .form-row input:focus,
.admin-body .form-row select:focus,
.admin-body .form-row textarea:focus {
    background: #13213a;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 111, 255, 0.18);
}

.admin-body .button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.admin-body .button-secondary:hover,
.admin-body .button-secondary:focus-visible {
    background: var(--surface-soft);
}

.admin-body .form-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #7ee2a8;
}

.admin-body .form-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ff9d9d;
}

@media (max-width: 1100px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 0;
        text-align: center;
        position: relative;
    }

    .logo {
        justify-content: center;
        width: 100%;
        opacity: .5;
        pointer-events: none;
    }

    .main-nav {
        width: 100%;
        align-items: center;
    }

    .main-nav__row {
        width: 100%;
        justify-content: center;
    }

    .theme-toggle {
        align-self: center;
    }

    .news-grid,
    .promo-grid,
    .doc-grid,
    .album-grid,
    .sponsor-grid,
    .photo-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-topbar__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-nav__row {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2rem;
    }

    .ticker-track {
        padding: 10px 0;
    }

    .theme-toggle__label {
        display: none;
    }

    .admin-panels-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .logo img {
        height: 128px;
        margin: 0 auto;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-grid,
    .promo-grid,
    .doc-grid,
    .album-grid,
    .sponsor-grid,
    .photo-detail-grid,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        grid-template-columns: 1fr;
    }

    .list-card__date {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 14px;
    }

    .feed-row {
        grid-template-columns: 40px 1fr 60px 70px 70px;
        font-size: 0.95rem;
    }

    .contact-links-inline {
        gap: 8px;
        margin-bottom: 0;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-toolbar {
        justify-content: flex-start;
    }

    .admin-main,
    .admin-topbar__inner {
        width: min(1280px, calc(100% - 24px));
    }

    .admin-logo img,
    .admin-login-logo img {
        height: 160px;
    }
}

.admin-logo img {
    height: 160px;
    width: auto;
    max-width: 100%;
    display: block;
}

.admin-login-stack {
    display: grid;
    justify-items: center;
    gap: 20px;
    width: 100%;
}

.admin-login-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.admin-login-logo img {
    height: 160px;
    width: auto;
    max-width: 100%;
    display: block;
}

.admin-login-card {
    width: min(520px, 100%);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-brand__text {
    display: grid;
    gap: 3px;
}

.admin-brand__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-brand__subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .admin-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}


.teambeheer-feed-card {
    padding: 0 !important;
    overflow: hidden !important;
}

.teambeheer-feed {
    padding: 24px 26px !important;
    overflow-x: auto !important;
}

.teambeheer-stand-block {
    width: 100% !important;
}

table.teambeheer-stand-table {
    width: 100% !important;
    min-width: 840px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    font-size: 0.89rem !important;
    line-height: 1.35 !important;
    background: transparent !important;
}

table.teambeheer-stand-table th,
table.teambeheer-stand-table td {
    padding: 12px 14px !important;
    white-space: nowrap !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

table.teambeheer-stand-table th {
    color: var(--text-soft) !important;
    font-weight: 700 !important;
    text-align: left !important;
    border-bottom: 2px solid rgba(255,255,255,0.14) !important;
}

table.teambeheer-stand-table td {
    color: var(--text) !important;
}

table.teambeheer-stand-table tbody tr:nth-of-type(even) td,
table.teambeheer-stand-table tr:nth-of-type(even) td {
    background: rgba(255,255,255,0.05) !important;
}

table.teambeheer-stand-table tbody tr:hover td,
table.teambeheer-stand-table tr:hover td {
    background: rgba(47,111,255,0.12) !important;
}

table.teambeheer-stand-table th:first-child,
table.teambeheer-stand-table td:first-child {
    width: 56px !important;
    min-width: 56px !important;
    text-align: center !important;
    font-weight: 700 !important;
}

table.teambeheer-stand-table th:nth-child(2),
table.teambeheer-stand-table td:nth-child(2) {
    min-width: 220px !important;
    text-align: left !important;
    font-weight: 600 !important;
}

table.teambeheer-stand-table th:nth-child(n+3),
table.teambeheer-stand-table td:nth-child(n+3) {
    text-align: center !important;
    min-width: 64px !important;
}

table.teambeheer-stand-table th:last-child,
table.teambeheer-stand-table td:last-child {
    min-width: 96px !important;
}

.teambeheer-program-block {
    display: grid;
    gap: 24px;
    width: 100%;
}

.teambeheer-program-group {
    width: 100%;
}

.teambeheer-program-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--text);
}

table.teambeheer-program-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    font-size: 0.89rem;
    line-height: 1.35;
    background: transparent;
}

table.teambeheer-program-table th,
table.teambeheer-program-table td {
    padding: 12px 14px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

table.teambeheer-program-table th {
    color: var(--text-soft);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid rgba(255,255,255,0.14);
}

table.teambeheer-program-table td {
    color: var(--text);
}

table.teambeheer-program-table tbody tr:nth-of-type(even) td,
table.teambeheer-program-table tr:nth-of-type(even) td {
    background: rgba(255,255,255,0.05) !important;
}

table.teambeheer-program-table tbody tr:hover td,
table.teambeheer-program-table tr:hover td {
    background: rgba(47,111,255,0.12) !important;
}

table.teambeheer-program-table th:nth-child(1),
table.teambeheer-program-table td:nth-child(1) {
    min-width: 100px;
}

table.teambeheer-program-table th:nth-child(2),
table.teambeheer-program-table td:nth-child(2),
table.teambeheer-program-table th:nth-child(3),
table.teambeheer-program-table td:nth-child(3) {
    min-width: 170px;
}

table.teambeheer-program-table th:nth-child(4),
table.teambeheer-program-table td:nth-child(4) {
    min-width: 72px;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 900px) {
    .teambeheer-feed-card,
    .teambeheer-feed,
    .teambeheer-stand-block {
        position: relative !important;
        isolation: isolate !important;
    }

    .teambeheer-feed {
        padding: 14px !important;
    }

    .competition-jump-nav--inline,
    .teambeheer-competition-head,
    .teambeheer-competition-block__heading {
        position: relative;
        z-index: 20;
    }

    table.teambeheer-stand-table {
        min-width: 640px !important;
        font-size: 0.8rem !important;
    }

    table.teambeheer-stand-table th,
    table.teambeheer-stand-table td,
    table.teambeheer-program-table th,
    table.teambeheer-program-table td {
        padding: 9px 10px !important;
    }

    table.teambeheer-stand-table th:first-child,
    table.teambeheer-stand-table td:first-child {
        min-width: 42px !important;
        width: 42px !important;
    }

    table.teambeheer-stand-table th:nth-child(2),
    table.teambeheer-stand-table td:nth-child(2) {
        min-width: 160px !important;
        position: sticky;
        left: 42px;
        z-index: 2;
        background: #162744 !important;
        background-clip: padding-box !important;
        box-shadow: 10px 0 12px -12px rgba(0,0,0,0.75) !important;
    }

    table.teambeheer-stand-table th:first-child,
    table.teambeheer-stand-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #10203a !important;
        background-clip: padding-box !important;
    }

    table.teambeheer-stand-table th {
        z-index: 4 !important;
    }

    table.teambeheer-stand-table tbody tr:nth-of-type(even) td:first-child,
    table.teambeheer-stand-table tbody tr:nth-of-type(even) td:nth-child(2),
    table.teambeheer-stand-table tr:nth-of-type(even) td:first-child,
    table.teambeheer-stand-table tr:nth-of-type(even) td:nth-child(2) {
        background: #1e2f4a !important;
    }

    table.teambeheer-stand-table tbody tr:hover td:first-child,
    table.teambeheer-stand-table tbody tr:hover td:nth-child(2),
    table.teambeheer-stand-table tr:hover td:first-child,
    table.teambeheer-stand-table tr:hover td:nth-child(2) {
        background: #203964 !important;
    }

    table.teambeheer-stand-table th:nth-child(n+3),
    table.teambeheer-stand-table td:nth-child(n+3) {
        min-width: 54px !important;
    }

    table.teambeheer-stand-table th:last-child,
    table.teambeheer-stand-table td:last-child {
        min-width: 78px !important;
    }

    table.teambeheer-program-table {
        min-width: 420px;
        font-size: 0.8rem;
    }

    table.teambeheer-program-table th:nth-child(1),
    table.teambeheer-program-table td:nth-child(1) {
        min-width: 74px;
    }

    table.teambeheer-program-table th:nth-child(2),
    table.teambeheer-program-table td:nth-child(2),
    table.teambeheer-program-table th:nth-child(3),
    table.teambeheer-program-table td:nth-child(3) {
        min-width: 132px;
    }

    table.teambeheer-program-table th:nth-child(4),
    table.teambeheer-program-table td:nth-child(4) {
        min-width: 58px;
    }
}


.admin-action-separator {
    color: rgba(255,255,255,0.35);
    margin: 0 0.35rem;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.admin-inline-form {
    display: inline;
    margin: 0;
}

.text-link-danger {
    color: #ff8f8f;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.text-link-danger:hover {
    color: #ffffff;
}

.button-danger {
    border-color: rgba(255, 107, 107, 0.55);
    color: #ffd0d0;
}

.button-danger:hover {
    border-color: rgba(255, 107, 107, 0.85);
    background: rgba(255, 107, 107, 0.12);
}


.teambeheer-competition-group {
    margin-top: 2.5rem;
}

.teambeheer-competition-group:first-of-type {
    margin-top: 0;
}

.teambeheer-competition-head {
    margin-bottom: 1rem;
}

.teambeheer-competition-block + .teambeheer-competition-block {
    margin-top: 1.25rem;
}

.teambeheer-competition-block__title {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
}

.section-compact {
    padding-top: 0;
}

.competition-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.competition-jump-nav--inline {
    margin-bottom: 1rem;
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    padding: 0.85rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.competition-jump-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.competition-jump-nav__link:hover,
.competition-jump-nav__link:focus-visible {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--surface) 85%, var(--accent) 15%);
    transform: translateY(-1px);
}

.competition-jump-nav__link.is-active {
    background: color-mix(in srgb, var(--accent) 22%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
    color: var(--text);
    box-shadow: 0 10px 24px rgba(47, 111, 255, 0.16);
}

.teambeheer-competition-group {
    scroll-margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
}

.teambeheer-competition-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.teambeheer-competition-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.teambeheer-competition-head__back {
    flex-shrink: 0;
    font-weight: 700;
}

.teambeheer-competition-block__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.teambeheer-competition-block__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.teambeheer-feed-card--program-preview {
    overflow: hidden;
    padding: 0.5rem 0.75rem 0.75rem;
}

.teambeheer-feed--program-preview {
    overflow: hidden;
    padding: 0 !important;
}

.teambeheer-program-preview {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.05rem 0.4rem;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
}

.teambeheer-program-preview__week {
    flex: 0 0 clamp(470px, 48vw, 560px);
    min-width: 320px;
    max-width: 100%;
    scroll-snap-align: start;
}

.teambeheer-program-preview__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.teambeheer-program-preview__table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview {
    min-width: 100%;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th,
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td {
    padding: 10px 10px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(1),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(1) {
    min-width: 110px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(2),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(2),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(3),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(3) {
    min-width: 170px;
}

.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(4),
.teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(4) {
    min-width: 58px;
}

@media (max-width: 900px) {
    .competition-jump-nav {
        gap: 0.5rem;
    }

    .competition-jump-nav--inline {
        top: 0.5rem;
        padding: 0.65rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .competition-jump-nav__link {
        min-height: 36px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
    }

    .teambeheer-competition-head,
    .teambeheer-competition-block__heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .teambeheer-competition-group {
        margin-top: 2rem;
    }

    .teambeheer-program-preview {
        gap: 0.5rem;
    }

    .teambeheer-program-preview__week {
        flex-basis: 82vw;
        min-width: 82vw;
    }

    .teambeheer-program-preview__title {
        font-size: 0.98rem;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview {
        min-width: 100%;
    }
}


.teambeheer-program-preview::-webkit-scrollbar,
.teambeheer-feed::-webkit-scrollbar {
    height: 10px;
}

.teambeheer-program-preview::-webkit-scrollbar-thumb,
.teambeheer-feed::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 70%, transparent);
    border-radius: 999px;
}

.teambeheer-program-preview::-webkit-scrollbar-track,
.teambeheer-feed::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
}


@media (min-width: 1200px) {
    .teambeheer-program-preview__week {
        flex-basis: calc(50% - 0.3rem);
        min-width: calc(50% - 0.3rem);
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th,
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td {
        padding: 9px 9px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(1),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(1) {
        min-width: 96px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(2),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(2),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(3),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(3) {
        min-width: 150px;
    }

    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview th:nth-child(4),
    .teambeheer-program-preview__table-wrap .teambeheer-program-table--preview td:nth-child(4) {
        min-width: 52px;
    }
}


.home-mini-ranking {
    margin: 0.75rem 0 0.5rem 1.1rem;
    padding: 0;
}

.home-mini-ranking li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.home-mini-ranking li strong {
    white-space: nowrap;
}


.svhs-page-card {
    width: 100%;
}

.home-mini-ranking--large li {
    font-size: 1rem;
    gap: 1rem;
}

.teambeheer-feed--score {
    overflow-x: auto;
}

.teambeheer-score-block table,
.teambeheer-score-table {
    width: 100%;
    border-collapse: collapse;
}

.teambeheer-score-table th,
.teambeheer-score-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.teambeheer-feed--score-page {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.teambeheer-feed--score-page table,
.teambeheer-feed--score-page .ui.table,
.teambeheer-feed--score-page .table {
    min-width: 100%;
}


.home-mini-ranking--podium {
    list-style: none;
    margin: 0.9rem 0 0.65rem;
}

.home-mini-ranking--podium .home-mini-ranking__item {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.2rem;
    margin-bottom: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-mini-ranking--podium .home-mini-ranking__place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    grid-row: 1 / span 2;
}

.home-mini-ranking--podium .home-mini-ranking__player {
    min-width: 0;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.home-mini-ranking--podium .home-mini-ranking__value {
    grid-column: 2;
    white-space: normal;
    line-height: 1.1;
    font-size: 0.98rem;
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 .home-mini-ranking__place {
    background: rgba(255, 255, 255, 0.18);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-2 {
    background: rgba(255, 255, 255, 0.06);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-3 {
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 640px) {
    .home-mini-ranking--podium .home-mini-ranking__item {
        grid-template-columns: 1.75rem minmax(0, 1fr);
        column-gap: 0.55rem;
        padding: 0.6rem 0.65rem;
    }

    .home-mini-ranking--podium .home-mini-ranking__place {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }

    .home-mini-ranking--podium .home-mini-ranking__player,
    .home-mini-ranking--podium .home-mini-ranking__value {
        font-size: 0.95rem;
    }
}


/* SVHS podium badges readable in light theme + score header alignment */
.home-mini-ranking--podium .home-mini-ranking__place {
    color: var(--text-inverse);
    background: color-mix(in srgb, var(--header-accent) 82%, var(--surface) 18%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
}

.home-mini-ranking--podium .home-mini-ranking__item--place-1 .home-mini-ranking__place {
    background: color-mix(in srgb, var(--accent) 78%, var(--header-accent) 22%);
}

.teambeheer-feed--score-page th,
.teambeheer-feed--score-page .ui.table th,
.teambeheer-feed--score-page .table th,
.teambeheer-score-table th {
    text-align: left;
}


.svhs-rules-card {
    margin-bottom: 1.25rem;
}

.svhs-rules-card p {
    margin: 0 0 0.85rem;
}

.svhs-rules-card p:last-child {
    margin-bottom: 0;
}

.svhs-source-link {
    margin-top: 0.85rem;
}


@media (max-width: 980px) {
    .teambeheer-special-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .competition-subnav { gap: 10px; }
    .competition-subnav__link { width: 100%; justify-content: flex-start; }
    .teambeheer-generic-table { min-width: 720px; }
}




/* Competition-related wide feed tables */
.teambeheer-pagewide-card,
.svhs-page-card {
    padding: 0.9rem;
    overflow: hidden;
}

.teambeheer-pagewide-card .teambeheer-feed,
.svhs-page-card .teambeheer-feed {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface-soft);
    overflow-x: auto;
    overflow-y: hidden;
}

.teambeheer-pagewide-card table,
.svhs-page-card table,
.teambeheer-pagewide-card .teambeheer-generic-table,
.svhs-page-card .teambeheer-score-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.teambeheer-pagewide-card th,
.teambeheer-pagewide-card td,
.svhs-page-card th,
.svhs-page-card td {
    padding: 10px 12px;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.teambeheer-pagewide-card thead th,
.svhs-page-card thead th,
.teambeheer-pagewide-card th,
.svhs-page-card th {
    text-align: left !important;
    background: color-mix(in srgb, var(--surface-soft) 65%, var(--surface) 35%);
    color: var(--text);
}

.teambeheer-pagewide-card tbody tr:nth-child(odd) td,
.svhs-page-card tbody tr:nth-child(odd) td {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.teambeheer-pagewide-card tbody tr:nth-child(even) td,
.svhs-page-card tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--surface-soft) 96%, transparent);
}

.teambeheer-pagewide-card tbody tr:hover td,
.svhs-page-card tbody tr:hover td {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface-soft));
}

.teambeheer-pagewide-card tbody tr:last-child td,
.svhs-page-card tbody tr:last-child td {
    border-bottom: 0;
}

.teambeheer-special-grid--links {
    align-items: stretch;
}

.teambeheer-special-card--linkonly {
    min-height: 100%;
    border: 1px solid var(--border);
}

.teambeheer-special-card--linkonly .button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 640px) {
    .teambeheer-pagewide-card,
    .svhs-page-card {
        padding: 0.65rem;
    }

    .teambeheer-pagewide-card table,
    .svhs-page-card table,
    .teambeheer-pagewide-card .teambeheer-generic-table,
    .svhs-page-card .teambeheer-score-table {
        min-width: 760px;
    }
}


.teambeheer-special-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.teambeheer-special-card--iframe {
    padding: 1rem;
}

.teambeheer-special-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.teambeheer-special-card__head h2 {
    margin-bottom: 0.35rem;
}

.teambeheer-special-card__head p {
    margin: 0;
    color: var(--muted);
}

.teambeheer-embed-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
}

.teambeheer-embed-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: #fff;
}

@media (max-width: 900px) {
    .teambeheer-special-card__head {
        flex-direction: column;
    }

    .teambeheer-special-card__head .button {
        width: 100%;
    }

    .teambeheer-embed-frame {
        min-height: 640px;
    }
}


.theme-toggle { display: none !important; }


/* Teambeheer iframes */
.teambeheer-pagewide-card--iframe,
.teambeheer-feed-card--iframe {
    padding: 1rem;
}

.teambeheer-iframe-card__title {
    margin: 0 0 0.85rem;
}

.teambeheer-iframe-shell {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
}

.teambeheer-iframe-shell::-webkit-scrollbar {
    display: none;
}

.teambeheer-iframe {
    display: block;
    width: 100%;
    min-width: 1180px;
    min-height: 760px;
    border: 0;
    background: #fff;
}

.teambeheer-iframe--compact {
    min-height: 680px;
}

.teambeheer-iframe--tall {
    min-height: 960px;
}

.teambeheer-iframe-shell--special {
    overflow-y: hidden;
}

.teambeheer-iframe--special {
    min-height: 1180px;
}

@media (max-width: 900px) {
    .teambeheer-iframe {
        min-width: 1100px;
        min-height: 720px;
    }

    .teambeheer-iframe--compact {
        min-height: 640px;
    }

    .teambeheer-iframe--tall {
        min-height: 860px;
    }

    .teambeheer-iframe--special {
        min-height: 980px;
    }
}



.main-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.main-nav-toggle:hover,
.main-nav-toggle:focus-visible {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.22);
}

.main-nav-toggle.is-open {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .main-nav-toggle {
        display: inline-flex;
        margin-left: auto;
        margin-top: 10px;
    }

    .main-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 22px;
        background: rgba(6, 13, 25, 0.92);
        border: 1px solid rgba(255,255,255,0.10);
        box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    }

    .main-nav.is-mobile-open {
        display: flex;
    }

    .main-nav__row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .main-nav a,
.main-nav__parent-wrap {
        width: 100%;
        justify-content: flex-start;
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-nav__group {
        width: 100%;
        align-items: stretch;
    }

    .main-nav__parent-wrap {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-nav__parent {
        flex: 1 1 auto;
        width: 100%;
    }

    .main-nav__submenu {
        position: static;
        transform: none;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        padding: 10px;
        grid-template-columns: 1fr;
        background: rgba(255,255,255,0.06);
        box-shadow: none;
        border-radius: 16px;
    }

    .main-nav__submenu a {
        white-space: normal;
        min-height: 40px;
    }
}

@media (max-width: 640px) {
    .main-nav-toggle {
        width: 100%;
        margin-top: 0;
    }

    .main-nav {
        padding: 14px;
    }

    .logo img {
        height: 108px;
    }
}

/* Competition menu mobile toggle and program page */
.main-nav__parent-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.main-nav__parent-button {
    appearance: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.main-nav__parent-label {
    display: inline-flex;
    align-items: center;
}

.main-nav__submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    min-height: 18px;
    border: 0;
    background: transparent;
    color: currentColor;
    font: inherit;
    line-height: 1;
    transition: transform .2s ease;
}

.main-nav__group.is-open .main-nav__submenu-toggle {
    transform: rotate(180deg);
}

.teambeheer-iframe-shell--special {
    overflow-y: hidden;
}

.teambeheer-iframe--special {
    min-height: 1320px;
}

@media (max-width: 980px) {
    .main-nav__parent::after {
        content: none;
    }

    .main-nav__group.is-open .main-nav__submenu {
        display: grid;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .teambeheer-iframe--special {
        min-height: 1180px;
    }
}

/* Quickjump layout fix: keep menus outside cards and non-sticky */
.competition-jump-nav--inline {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.teambeheer-special-section > .competition-jump-nav--inline {
  margin-bottom: 1rem;
}
.teambeheer-special-section > .card {
  margin-top: 0;
}
.teambeheer-special-grid {
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .competition-jump-nav--inline {
    margin-left: 0;
    margin-right: 0;
    padding: 0.65rem;
  }
}


/* Quickjump consistency fix */
.teambeheer-iframe-shell--special { overflow-y: hidden; min-height: 1460px; }
.teambeheer-iframe--special { min-height: 1460px; }
.teambeheer-special-grid { grid-template-columns: 1fr; }
.teambeheer-special-section > .competition-jump-nav { margin-bottom: 18px; }
.teambeheer-special-card { overflow: hidden; }
.competition-back-to-top, .teambeheer-competition-head__back { color: var(--primary); }
@media (max-width: 900px) { .teambeheer-iframe-shell--special, .teambeheer-iframe--special { min-height: 1180px; } }

/* Special results consistency patch */
.program-page .teambeheer-competition-head__back,
body[data-page-slug="programma"] .teambeheer-competition-head__back {
  color: var(--primary) !important;
}

/* Hide duplicate in-iframe jump pills/header on bijzondere resultaten by cropping the iframe top */
.teambeheer-iframe-shell--special {
  position: relative;
  overflow: hidden;
  min-height: 1440px;
}

.teambeheer-iframe--special {
  display: block;
  width: calc(100% + 28px);
  min-width: 1260px;
  min-height: 1580px;
  margin-top: -118px;
  margin-right: -28px;
  border: 0;
}

/* Keep the outer page jump row as the only visible quickjump row */
.teambeheer-special-section > .competition-jump-nav--inline {
  margin-bottom: 18px;
}

/* Slightly reduce card chrome loss after top crop */
.teambeheer-special-card--iframe {
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .teambeheer-iframe-shell--special {
    min-height: 1180px;
  }

  .teambeheer-iframe--special {
    min-width: 1120px;
    min-height: 1320px;
    margin-top: -110px;
    margin-right: -24px;
    width: calc(100% + 24px);
  }
}


/* Crop duplicate Teambeheer jump/header inside competitie en programma iframes */
.teambeheer-iframe-shell--cropped {
  position: relative;
  overflow: hidden;
  min-height: 660px;
}

.teambeheer-iframe--cropped {
  display: block;
  width: calc(100% + 28px);
  min-width: 1260px;
  min-height: 900px;
  margin-top: -118px;
  margin-right: -28px;
  border: 0;
}

@media (max-width: 900px) {
  .teambeheer-iframe-shell--cropped {
    min-height: 620px;
  }

  .teambeheer-iframe--cropped {
    min-width: 1120px;
    min-height: 860px;
    margin-top: -110px;
    margin-right: -24px;
    width: calc(100% + 24px);
  }
}


/* Fine-tune separate crops for standen and programma */
.teambeheer-iframe-shell--cropped-stand {
  min-height: 780px;
}

.teambeheer-iframe--cropped-stand {
  min-height: 1020px;
  margin-top: -118px;
}

.teambeheer-iframe-shell--cropped-program {
  min-height: 660px;
}

.teambeheer-iframe--cropped-program {
  min-height: 940px;
  margin-top: -172px;
}

@media (max-width: 900px) {
  .teambeheer-iframe-shell--cropped-stand {
    min-height: 700px;
  }

  .teambeheer-iframe--cropped-stand {
    min-height: 980px;
    margin-top: -110px;
  }

  .teambeheer-iframe-shell--cropped-program {
    min-height: 600px;
  }

  .teambeheer-iframe--cropped-program {
    min-height: 900px;
    margin-top: -158px;
  }
}


/* 94G: Programma volgt nu dezelfde brede iframe-basis als Bijzondere resultaten */
.program-page .teambeheer-feed-card--iframe {
    overflow: hidden;
}

.program-page .teambeheer-competition-group > .competition-jump-nav--inline {
    margin-bottom: 18px;
}

.program-page .teambeheer-iframe-shell--cropped-program {
    position: relative;
    overflow: hidden;
    min-height: 660px;
}

.program-page .teambeheer-iframe--cropped-program {
    display: block;
    width: calc(100% + 28px);
    min-width: 1260px;
    min-height: 940px;
    margin-top: -172px;
    margin-right: -28px;
    margin-left: 0;
    border: 0;
}

@media (max-width: 900px) {
    .program-page .teambeheer-iframe-shell--cropped-program {
        min-height: 600px;
    }

    .program-page .teambeheer-iframe--cropped-program {
        width: calc(100% + 24px);
        min-width: 1120px;
        min-height: 900px;
        margin-top: -158px;
        margin-right: -24px;
        margin-left: 0;
    }
}


/* 94H: Programma krijgt een zichtbare horizontale scrollbar in site-stijl */
.program-page .teambeheer-iframe-shell--cropped-program {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-alt);
    scrollbar-gutter: stable;
    padding-bottom: 4px;
}

.program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar {
    display: block;
    height: 12px;
}

.program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar-track {
    background: var(--bg-alt);
    border-radius: 999px;
}

.program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 999px;
    border: 2px solid var(--bg-alt);
}

.program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar-corner {
    background: var(--bg-alt);
}


/* 94I: Mobiele Programma-weergave krijgt extra top-crop en een smalle iframe-viewport */
@media (max-width: 640px) {
    .program-page .teambeheer-iframe-shell--cropped-program {
        width: min(100%, 370px);
        max-width: 370px;
        min-height: 1240px;
        margin-inline: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 8px;
    }

    .program-page .teambeheer-iframe--cropped-program {
        width: 392px;
        min-width: 392px;
        max-width: 392px;
        min-height: 1540px;
        margin-top: -196px;
        margin-right: 0;
        margin-left: 0;
    }

    .program-page .teambeheer-iframe-shell--cropped-program::-webkit-scrollbar {
        height: 10px;
    }
}


/* 94P: Mobiele weergave van Programma krijgt een extra brede sprong voor scorekolommen met dubbele cijfers */
@media (max-width: 640px) {
    .program-page .teambeheer-iframe--cropped-program {
        width: 720px;
        min-width: 720px;
        max-width: 720px;
    }
}


/* 94L: Mobiele landscape-weergave van Programma krijgt extra top-crop */
@media (max-width: 932px) and (orientation: landscape) {
    .program-page .teambeheer-iframe-shell--cropped-program {
        min-height: 780px;
    }

    .program-page .teambeheer-iframe--cropped-program {
        margin-top: -214px;
        min-height: 1280px;
    }
}


/* 94R: Competitie mobiel crop iets terug zodat tabelkoppen zichtbaar blijven, met behoud van scrollruimte */
.competition-page .teambeheer-feed-card--iframe {
    overflow: hidden;
}

.competition-page .teambeheer-competition-group > .competition-jump-nav--inline {
    margin-bottom: 18px;
}

.competition-page .teambeheer-iframe-shell--cropped-stand {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-alt);
    scrollbar-gutter: stable;
    padding-bottom: 4px;
}

.competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar {
    display: block;
    height: 12px;
}

.competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar-track {
    background: var(--bg-alt);
    border-radius: 999px;
}

.competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 999px;
    border: 2px solid var(--bg-alt);
}

.competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar-corner {
    background: var(--bg-alt);
}

.competition-page .teambeheer-iframe--cropped-stand {
    display: block;
    width: calc(100% + 28px);
    min-width: 1260px;
    min-height: 1020px;
    margin-top: -126px;
    margin-right: -28px;
    margin-left: 0;
    border: 0;
}

@media (max-width: 900px) {
    .competition-page .teambeheer-iframe-shell--cropped-stand {
        min-height: 760px;
    }

    .competition-page .teambeheer-iframe--cropped-stand {
        width: calc(100% + 24px);
        min-width: 1260px;
        min-height: 1060px;
        margin-top: -148px;
        margin-right: -24px;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .competition-page .teambeheer-iframe-shell--cropped-stand {
        width: min(100%, 370px);
        max-width: 370px;
        min-height: 1320px;
        margin-inline: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 8px;
    }

    .competition-page .teambeheer-iframe--cropped-stand {
        width: 1040px;
        min-width: 1040px;
        max-width: 1040px;
        min-height: 1640px;
        margin-top: -152px;
        margin-right: 0;
        margin-left: 0;
    }

    .competition-page .teambeheer-iframe-shell--cropped-stand::-webkit-scrollbar {
        height: 10px;
    }
}

@media (max-width: 932px) and (orientation: landscape) {
    .competition-page .teambeheer-iframe-shell--cropped-stand {
        min-height: 980px;
    }

    .competition-page .teambeheer-iframe--cropped-stand {
        min-height: 1440px;
        margin-top: -168px;
    }
}


/* 94S: Competitie mobiel toont weer tabelkoppen en krijgt een compactere iframe-hoogte */
@media (max-width: 640px) {
    .competition-page .teambeheer-iframe-shell--cropped-stand {
        min-height: 980px;
    }

    .competition-page .teambeheer-iframe--cropped-stand {
        min-height: 1180px;
        margin-top: -118px;
    }
}

@media (max-width: 932px) and (orientation: landscape) {
    .competition-page .teambeheer-iframe-shell--cropped-stand {
        min-height: 760px;
    }

    .competition-page .teambeheer-iframe--cropped-stand {
        min-height: 1040px;
        margin-top: -132px;
    }
}


/* 154Ei: Bijzondere resultaten blijven dynamisch, maar laden nu vanaf de bovenkant zonder top-crop */
.special-results-page .teambeheer-special-card--iframe {
  padding: 1rem;
}

.special-results-page .teambeheer-iframe-shell--special {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 130, 255, 0.95) rgba(9, 18, 36, 0.95);
  min-height: 1660px;
}

.special-results-page .teambeheer-iframe-shell--special::-webkit-scrollbar {
  display: block;
  height: 12px;
}

.special-results-page .teambeheer-iframe-shell--special::-webkit-scrollbar-track {
  background: rgba(9, 18, 36, 0.95);
  border-radius: 999px;
}

.special-results-page .teambeheer-iframe-shell--special::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(78, 130, 255, 0.98), rgba(38, 92, 224, 0.98));
  border-radius: 999px;
  border: 2px solid rgba(9, 18, 36, 0.95);
}

.special-results-page .teambeheer-iframe-shell--special::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(96, 146, 255, 1), rgba(48, 106, 240, 1));
}

.special-results-page .teambeheer-iframe-shell--special::-webkit-scrollbar-corner {
  background: rgba(9, 18, 36, 0.95);
}

.special-results-page .teambeheer-iframe--special {
  display: block;
  width: 100%;
  min-width: 1276px;
  min-height: 1660px;
  margin-top: 0;
  margin-right: 0;
  border: 0;
}

@media (max-width: 900px) {
  .special-results-page .teambeheer-special-card__head {
    align-items: flex-start;
  }

  .special-results-page .teambeheer-special-card__head .button {
    width: auto;
    align-self: flex-start;
    white-space: nowrap;
  }

  .special-results-page .teambeheer-iframe-shell--special {
    min-height: 1380px;
  }

  .special-results-page .teambeheer-iframe--special {
    width: 1520px;
    min-width: 1520px;
    min-height: 1520px;
    margin-top: 0;
    margin-right: 0;
  }
}


/* 94V: Speelgelegenheden krijgt dezelfde gerichte top-cropaanpak, met zoekbalk direct zichtbaar */
.venues-page .teambeheer-pagewide-card--iframe {
    overflow: hidden;
}

.venues-page .teambeheer-iframe-shell--cropped-venues {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 720px;
}

.venues-page .teambeheer-iframe--cropped-venues {
    display: block;
    width: 100%;
    min-width: 1180px;
    min-height: 920px;
    margin-top: -138px;
    margin-right: 0;
    margin-left: 0;
    border: 0;
}

@media (max-width: 900px) {
    .venues-page .teambeheer-iframe-shell--cropped-venues {
        min-height: 700px;
    }

    .venues-page .teambeheer-iframe--cropped-venues {
        min-width: 1180px;
        min-height: 900px;
        margin-top: -138px;
    }
}


/* 94Y: Speler van het seizoen krijgt op desktop nog meer rechterruimte; Verzette wedstrijden toont tabelkoppen vollediger op desktop en mobiel */
.postponed-page .teambeheer-pagewide-card--iframe,
.player-of-season-page .teambeheer-pagewide-card--iframe {
    overflow: hidden;
}

.postponed-page .teambeheer-iframe-shell--cropped-postponed,
.player-of-season-page .teambeheer-iframe-shell--cropped-player-season {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 720px;
}

.postponed-page .teambeheer-iframe--cropped-postponed,
.player-of-season-page .teambeheer-iframe--cropped-player-season {
    display: block;
    width: 100%;
    min-width: 1180px;
    min-height: 920px;
    margin-right: 0;
    margin-left: 0;
    border: 0;
}

.postponed-page .teambeheer-iframe--cropped-postponed {
    margin-top: -92px;
}

.player-of-season-page .teambeheer-iframe--cropped-player-season {
    width: calc(100% + 320px);
    min-width: 1520px;
    margin-top: -138px;
    margin-right: -320px;
}

@media (max-width: 900px) {
    .postponed-page .teambeheer-iframe-shell--cropped-postponed,
    .player-of-season-page .teambeheer-iframe-shell--cropped-player-season {
        min-height: 700px;
    }

    .postponed-page .teambeheer-iframe--cropped-postponed,
    .player-of-season-page .teambeheer-iframe--cropped-player-season {
        min-width: 1180px;
        min-height: 900px;
        width: 100%;
        margin-right: 0;
    }

    .postponed-page .teambeheer-iframe--cropped-postponed {
        margin-top: -92px;
    }

    .player-of-season-page .teambeheer-iframe--cropped-player-season {
        margin-top: -138px;
    }
}


/* 94Z: basisstructuur voor bekersectie */
.cup-landing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cup-landing-card {
  min-height: 100%;
}

.cup-page .teambeheer-feed-card--iframe {
  overflow: hidden;
}

.cup-page .teambeheer-competition-group > .competition-jump-nav--inline {
  margin-bottom: 18px;
}

.cup-page .teambeheer-iframe-shell--cup-poule,
.cup-page .teambeheer-iframe-shell--cup-knockout {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-alt);
  scrollbar-gutter: stable;
  padding-bottom: 4px;
}

.cup-page .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar,
.cup-page .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar {
  display: block;
  height: 12px;
}

.cup-page .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar-track,
.cup-page .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar-track {
  background: var(--bg-alt);
  border-radius: 999px;
}

.cup-page .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar-thumb,
.cup-page .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
  border: 2px solid var(--bg-alt);
}

.cup-page .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar-thumb:hover,
.cup-page .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.cup-page .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar-corner,
.cup-page .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar-corner {
  background: var(--bg-alt);
}

.cup-page .teambeheer-iframe-shell--cup-poule {
  min-height: 720px;
}

.cup-page .teambeheer-iframe--cup-poule {
  display: block;
  width: calc(100% + 28px);
  min-width: 1260px;
  min-height: 1060px;
  margin-top: -132px;
  margin-right: -28px;
  margin-left: 0;
  border: 0;
}

.cup-page .teambeheer-iframe-shell--cup-knockout {
  min-height: 700px;
}

.cup-page .teambeheer-iframe--cup-knockout {
  display: block;
  width: calc(100% + 28px);
  min-width: 1260px;
  min-height: 980px;
  margin-top: -118px;
  margin-right: -28px;
  margin-left: 0;
  border: 0;
}

@media (max-width: 900px) {
  .cup-page .teambeheer-iframe-shell--cup-poule,
  .cup-page .teambeheer-iframe-shell--cup-knockout {
    min-height: 640px;
  }

  .cup-page .teambeheer-iframe--cup-poule,
  .cup-page .teambeheer-iframe--cup-knockout {
    width: calc(100% + 24px);
    margin-right: -24px;
  }
}

@media (max-width: 640px) {
  .cup-landing-grid {
    grid-template-columns: 1fr;
  }

  .cup-page .teambeheer-iframe-shell--cup-poule,
  .cup-page .teambeheer-iframe-shell--cup-knockout {
    width: min(100%, 370px);
    max-width: 370px;
    margin-inline: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
  }

  .cup-page .teambeheer-iframe-shell--cup-poule {
    min-height: 1180px;
  }

  .cup-page .teambeheer-iframe--cup-poule {
    width: 1040px;
    min-width: 1040px;
    max-width: 1040px;
    min-height: 1480px;
    margin-top: -148px;
    margin-right: 0;
  }

  .cup-page .teambeheer-iframe-shell--cup-knockout {
    min-height: 920px;
  }

  .cup-page .teambeheer-iframe--cup-knockout {
    width: 920px;
    min-width: 920px;
    max-width: 920px;
    min-height: 1280px;
    margin-top: -132px;
    margin-right: 0;
  }
}

/* 94AL: finetuning beker poulefase */
.cup-page--poulefase .teambeheer-iframe-shell--cup-poule {
  min-height: 580px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cup-page--poulefase .teambeheer-iframe-shell--cup-poule::-webkit-scrollbar {
  height: 0;
}

.cup-page--poulefase .teambeheer-iframe-shell--cup-poule::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(5, 15, 37, 0) 0%, rgba(5, 15, 37, 0.72) 58%, rgba(5, 15, 37, 1) 100%);
  pointer-events: none;
}

.cup-page--poulefase .teambeheer-iframe--cup-poule {
  width: calc(100% + 32px);
  min-height: 860px;
  margin-top: -128px;
  margin-right: -32px;
}

@media (max-width: 900px) {
  .cup-page--poulefase .teambeheer-iframe--cup-poule {
    width: calc(100% + 28px);
    margin-right: -28px;
  }
}

@media (max-width: 640px) {
  .cup-page--poulefase .teambeheer-iframe-shell--cup-poule {
    min-height: 700px;
  }

  .cup-page--poulefase .teambeheer-iframe-shell--cup-poule::after {
    height: 14px;
  }

  .cup-page--poulefase .teambeheer-iframe--cup-poule {
    width: 1080px;
    min-width: 1080px;
    max-width: 1080px;
    min-height: 900px;
    margin-top: -152px;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .cup-page--poulefase .teambeheer-iframe-shell--cup-poule {
    width: min(100%, 100%);
    max-width: 100%;
    min-height: 620px;
  }

  .cup-page--poulefase .teambeheer-iframe--cup-poule {
    width: 1240px;
    min-width: 1240px;
    max-width: 1240px;
    min-height: 820px;
    margin-top: -126px;
  }
}


/* 94AJ: finetuning beker knock-out */
.cup-page--knockout .teambeheer-iframe-shell--cup-knockout {
  min-height: 500px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cup-page--knockout .teambeheer-iframe-shell--cup-knockout::-webkit-scrollbar {
  height: 0;
}

.cup-page--knockout .teambeheer-iframe-shell--cup-knockout::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(180deg, rgba(5, 15, 37, 0) 0%, rgba(5, 15, 37, 0.72) 58%, rgba(5, 15, 37, 1) 100%);
  pointer-events: none;
}

.cup-page--knockout .teambeheer-iframe--cup-knockout {
  width: calc(100% + 32px);
  min-height: 690px;
  margin-right: -32px;
}

@media (max-width: 900px) {
  .cup-page--knockout .teambeheer-iframe--cup-knockout {
    width: calc(100% + 28px);
    margin-right: -28px;
  }
}

@media (max-width: 640px) {
  .cup-page--knockout .teambeheer-iframe-shell--cup-knockout {
    min-height: 520px;
  }

  .cup-page--knockout .teambeheer-iframe-shell--cup-knockout::after {
    height: 16px;
  }

  .cup-page--knockout .teambeheer-iframe--cup-knockout {
    width: 920px;
    min-width: 920px;
    max-width: 920px;
    min-height: 640px;
    margin-top: -132px;
    margin-right: 0;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .cup-page--knockout .teambeheer-iframe-shell--cup-knockout {
    width: min(100%, 100%);
    max-width: 100%;
    min-height: 520px;
  }

  .cup-page--knockout .teambeheer-iframe--cup-knockout {
    width: 1240px;
    min-width: 1240px;
    max-width: 1240px;
    min-height: 690px;
    margin-right: 0;
  }
}


/* Ranking stand iframe refinement: mirror bijzondere resultaten so Teambeheer dropdowns remain usable */
.ranking-stand-page .ranking-stand-card {
  padding: 1rem;
}

.ranking-stand-page .teambeheer-iframe-shell--ranking {
  overflow-x: hidden;
  overflow-y: hidden;
  min-height: 1440px;
}

.ranking-stand-page .teambeheer-iframe--ranking {
  display: block;
  width: calc(100% + 44px);
  min-width: 1276px;
  min-height: 1620px;
  margin-top: -122px;
  margin-right: -44px;
  border: 0;
}

@media (max-width: 900px) {
  .ranking-stand-page .teambeheer-special-card__head {
    align-items: flex-start;
  }

  .ranking-stand-page .teambeheer-special-card__head .button {
    width: auto;
    align-self: flex-start;
    white-space: nowrap;
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(78, 130, 255, 0.95) rgba(9, 18, 36, 0.95);
    min-height: 1180px;
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking::-webkit-scrollbar {
    display: block;
    height: 12px;
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking::-webkit-scrollbar-track {
    background: rgba(9, 18, 36, 0.95);
    border-radius: 999px;
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(78, 130, 255, 0.98), rgba(38, 92, 224, 0.98));
    border-radius: 999px;
    border: 2px solid rgba(9, 18, 36, 0.95);
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(96, 146, 255, 1), rgba(48, 106, 240, 1));
  }

  .ranking-stand-page .teambeheer-iframe-shell--ranking::-webkit-scrollbar-corner {
    background: rgba(9, 18, 36, 0.95);
  }

  .ranking-stand-page .teambeheer-iframe--ranking {
    width: 1520px;
    min-width: 1520px;
    min-height: 1380px;
    margin-top: -122px;
    margin-right: 0;
  }
}

/* 104E1 ranking events and agenda */
.ranking-overview-page .ranking-next-event-card {
  margin-bottom: 1.5rem;
}

.ranking-event-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.ranking-event-highlight h3 {
  margin: 0 0 0.4rem;
}

.ranking-event-highlight p {
  margin: 0.2rem 0;
}

.ranking-event-highlight__meta,
.ranking-agenda-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.ranking-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(54, 110, 238, 0.18);
  border: 1px solid rgba(84, 138, 255, 0.35);
  color: #dfe8ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.ranking-pill--outline {
  background: transparent;
}

.ranking-agenda-list {
  display: grid;
  gap: 1.25rem;
}

.ranking-agenda-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.ranking-agenda-card__grid strong {
  display: block;
  margin-bottom: 0.25rem;
}

.ranking-agenda-card__grid p,
.ranking-agenda-card__description {
  margin: 0;
}

.ranking-agenda-card__description {
  margin-top: 0.9rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .ranking-event-highlight,
  .ranking-agenda-card__grid {
    grid-template-columns: 1fr;
  }

  .ranking-event-highlight__meta,
  .ranking-agenda-card__meta {
    justify-content: flex-start;
  }
}


.ranking-event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ranking-event-actions .dartconnect-button {
  margin-left: auto;
}

.ranking-event-actions--compact {
  margin-top: 0.85rem;
}

.ranking-event-actions--compact .dartconnect-button {
  margin-left: 0;
}

.dartconnect-button {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: #c70f08;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dartconnect-button:hover,
.dartconnect-button:focus-visible {
  background: #1567b8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 20, 48, 0.32);
}

.dartconnect-button__label,
.dartconnect-button__live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dartconnect-button__label {
  text-align: center;
}

.dartconnect-button__live-badge {
  background: #ffc51f;
  color: #8d1900;
  font-size: 1rem;
  white-space: nowrap;
}

.dartconnect-button:not(.dartconnect-button--live) .dartconnect-button__live-badge {
  display: none;
}

@media (max-width: 700px) {
  .ranking-event-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ranking-event-actions .dartconnect-button {
    margin-left: 0;
  }

  .dartconnect-button {
    width: 100%;
  }

  .dartconnect-button__label,
  .dartconnect-button__live-badge {
    min-height: 52px;
    padding: 0 1rem;
  }

  .dartconnect-button__label {
    flex: 1 1 auto;
  }
}

.ranking-payment-card{max-width:760px;margin:0 auto;padding:2rem}.ranking-payment-status-badges{display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0 1.25rem}.ranking-payment-page .ranking-event-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.ranking-payment-page .dartconnect-button{margin-left:auto}@media (max-width:768px){.ranking-payment-page .dartconnect-button{margin-left:0;width:100%}}


/* 105Ga ranking capacity progress */
.ranking-capacity-progress {
  margin-top: 1rem;
}

.ranking-capacity-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.ranking-capacity-progress__track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ranking-capacity-progress__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.ranking-capacity-progress__fill--green {
  background: linear-gradient(90deg, #2fb34a 0%, #49ce68 100%);
}

.ranking-capacity-progress__fill--yellow {
  background: linear-gradient(90deg, #d4b11f 0%, #f2d54c 100%);
}

.ranking-capacity-progress__fill--orange {
  background: linear-gradient(90deg, #d97a17 0%, #f7a13c 100%);
}

.ranking-capacity-progress__fill--red {
  background: linear-gradient(90deg, #c80f09 0%, #f0413b 100%);
}


.admin-form-grid__full {
    grid-column: 1 / -1;
}

.button-small {
    padding: 0.48rem 0.72rem;
    font-size: 0.88rem;
}

@media (max-width: 720px) {
    .button-small {
        width: 100%;
    }
}


.form-label-meta {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-soft);
}

.ranking-registration-card .admin-form-grid > .form-row {
    align-self: start;
}





.ranking-members-search-card {
    scroll-margin-top: 24px;
}

.ranking-members-search-form {
    margin-bottom: 20px;
}

.ranking-members-search-field {
    position: relative;
}

.ranking-members-autocomplete {
    position: relative;
}

.ranking-members-autocomplete__menu[hidden] {
    display: none !important;
}

.ranking-members-autocomplete__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.ranking-members-autocomplete__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.ranking-members-autocomplete__item:hover,
.ranking-members-autocomplete__item.is-active {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}

.ranking-members-autocomplete__value {
    font-weight: 700;
}

.ranking-members-autocomplete__label {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.ranking-members-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ranking-members-alpha-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    min-height: 32px;
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ranking-members-alpha-filter__item:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    transform: translateY(-1px);
}

.ranking-members-alpha-filter__item.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(47, 111, 255, 0.22);
}

@media (max-width: 640px) {
    .ranking-members-alpha-filter {
        gap: 8px;
    }

    .ranking-members-alpha-filter__item {
        width: 42px;
        min-width: 42px;
    }

    .ranking-members-autocomplete__item {
        flex-direction: column;
        align-items: flex-start;
    }
}


.admin-list-compact {
    margin: 0;
    padding-left: 18px;
}

.admin-list-compact li {
    margin: 6px 0;
}

/* 154C ranking results diagnostics + badges */
.results-diagnostics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0}.results-diagnostic-box{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:1rem;display:flex;flex-direction:column;gap:.35rem}.results-diagnostic-box strong{font-size:1.35rem;color:#fff}.results-diagnostic-box span{color:rgba(255,255,255,.72)}.status-badge{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.25rem .6rem;font-size:.85rem;font-weight:700;white-space:nowrap}.status-badge--registration.status-badge--registered,.status-badge--payment.status-badge--paid,.status-badge--attendance.status-badge--present{background:rgba(34,197,94,.18);color:#b4f0c7;border:1px solid rgba(34,197,94,.38)}.status-badge--registration.status-badge--waitlist,.status-badge--payment.status-badge--payment_open,.status-badge--payment.status-badge--open,.status-badge--payment.status-badge--cash_expected,.status-badge--attendance.status-badge--unknown{background:rgba(245,158,11,.16);color:#ffd48a;border:1px solid rgba(245,158,11,.34)}.status-badge--registration.status-badge--cancelled,.status-badge--payment.status-badge--cancelled,.status-badge--payment.status-badge--expired,.status-badge--attendance.status-badge--no_show,.status-badge--attendance.status-badge--absent{background:rgba(239,68,68,.16);color:#ffb0b0;border:1px solid rgba(239,68,68,.34)}.status-badge--registration.status-badge--pending{background:rgba(96,165,250,.16);color:#b6d7ff;border:1px solid rgba(96,165,250,.34)}


.regulation-layout { display:grid; grid-template-columns:minmax(0, 290px) minmax(0, 1fr); gap:20px; align-items:start; }
.regulation-main-column { min-width:0; }
.regulation-summary-card { scroll-margin-top: 100px; }
.regulation-action-row { display:flex; flex-wrap:wrap; gap:10px; }
.regulation-toc-card { position:sticky; top:92px; padding:24px; }
.regulation-toc-card h2 { margin-top:0; margin-bottom:14px; }
.regulation-toc ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.regulation-toc li { margin:0; }
.regulation-toc li.is-sublevel { padding-left:16px; }
.regulation-toc a { color:#fff; text-decoration:none; line-height:1.45; }
.regulation-toc a:hover { color:#ffb3ae; }
.regulation-content { line-height: 1.7; scroll-margin-top:100px; }
.regulation-content h1,.regulation-content h2,.regulation-content h3,.regulation-content h4 { margin-top: 1.6rem; margin-bottom: 0.7rem; scroll-margin-top: 100px; }
.regulation-content h2 { padding-top:0.25rem; border-top:1px solid rgba(255,255,255,0.08); }
.regulation-content p,.regulation-content ul,.regulation-content ol,.regulation-content blockquote { margin: 0 0 1rem; }
.regulation-content section + section { margin-top:1.25rem; }
.regulation-content ul,.regulation-content ol { padding-left:1.4rem; }
.regulation-meta-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:18px 0 24px; }
.regulation-meta-card { padding:14px 16px; border-radius:14px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); }
.regulation-version-badge { display:inline-flex; align-items:center; gap:8px; padding:0.35rem 0.7rem; border-radius:999px; background:color-mix(in srgb, var(--accent) 18%, transparent); color:var(--accent); border:1px solid color-mix(in srgb, var(--accent) 38%, transparent); font-weight:700; box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent); }
.admin-code { font-family:Consolas,Monaco,monospace; font-size:0.92rem; }
@media (max-width: 980px) { .regulation-layout { grid-template-columns:1fr; } .regulation-toc-card { position:static; } }
.admin-stack { display:flex; flex-direction:column; gap:10px; }
.admin-inline-actions--wrap { flex-wrap:wrap; gap:8px; }
.admin-version-preview { display:inline-flex; align-items:center; gap:8px; font-size:0.95rem; font-weight:700; }
.form-help { margin-top:6px; color:var(--text-soft); font-size:0.9rem; }


.regulation-search-grid {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;}
.regulation-search-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.regulation-search-excerpt {background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:12px 14px;margin:14px 0;}
.regulation-inline-search-row {display:flex;gap:10px;margin-top:8px;flex-wrap:wrap;}
.regulation-content mark,.doc-card mark {background:rgba(255,214,10,0.35);color:inherit;padding:0 2px;border-radius:4px;}
.regulation-editor {padding:16px;}
.regulation-editor__toolbar {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;}
.regulation-editor__surface {min-height:420px;border:1px solid rgba(255,255,255,0.12);border-radius:14px;padding:16px;background:rgba(0,0,0,0.18);line-height:1.7;}
.regulation-editor__surface:focus {outline:2px solid rgba(255,255,255,0.18);outline-offset:0;}
.regulation-editor__source {margin-top:12px;}
@media (max-width:860px){.regulation-search-grid{grid-template-columns:1fr;}}

.regulation-search-match.is-active-search-match{background:rgba(224,11,0,0.45);box-shadow:0 0 0 1px rgba(255,255,255,0.18);}
.regulation-inline-search-row .button[disabled]{opacity:.45;cursor:not-allowed;}


.regulation-compare-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;}
.regulation-compare-meta-card{padding:20px;}
.regulation-compare-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;}
.regulation-compare-summary__item{padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:var(--surface-soft);display:flex;flex-direction:column;gap:4px;}
.regulation-compare-summary__label{font-size:.82rem;color:var(--text-soft);font-weight:700;}
.regulation-compare-summary__value{font-size:1.15rem;font-weight:800;line-height:1.1;}
.regulation-compare-summary__item--added{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.10);}
.regulation-compare-summary__item--removed{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10);}
.regulation-compare-summary__item--changed{border-color:color-mix(in srgb, var(--accent) 35%, transparent);background:color-mix(in srgb, var(--accent) 12%, transparent);}
.regulation-compare-summary__item--same{border-color:var(--border);background:var(--surface-soft);}
.regulation-diff-list{display:flex;flex-direction:column;}
.regulation-diff-row{display:grid;grid-template-columns:44px 1fr;gap:0;border-top:1px solid rgba(255,255,255,0.08);}
.regulation-diff-row:first-child{border-top:none;}
.regulation-diff-sign{padding:14px 12px;font-weight:700;text-align:center;background:rgba(255,255,255,0.04);}
.regulation-diff-text{padding:14px 16px;white-space:pre-wrap;line-height:1.55;}
.regulation-diff-row--added .regulation-diff-sign,.regulation-diff-added{color:#94f7b6;}
.regulation-diff-row--removed .regulation-diff-sign,.regulation-diff-removed{color:#ff9c9c;}
.regulation-diff-row--same .regulation-diff-sign{color:#bdbdbd;}
.regulation-diff-row--added .regulation-diff-text{background:rgba(34,197,94,0.08);}
.regulation-diff-row--removed .regulation-diff-text{background:rgba(239,68,68,0.09);}
.regulation-diff-row--same .regulation-diff-text{background:rgba(255,255,255,0.02);}
@media (max-width: 900px){.regulation-compare-meta-grid{grid-template-columns:1fr;}.regulation-compare-summary{grid-template-columns:1fr;}}


.checkbox-label { display:inline-flex; align-items:center; gap:10px; cursor:pointer; }
.checkbox-label input[type="checkbox"] { appearance:auto; -webkit-appearance:checkbox; width:18px; height:18px; margin:0; accent-color:var(--accent); cursor:pointer; border:0; box-shadow:none; background:transparent; border-radius:4px; flex:0 0 auto; }
.checkbox-label input[type="checkbox"][disabled] { opacity:.45; cursor:not-allowed; }
.checkbox-note { margin-top:8px; }


.sponsor-card--rich {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 180px;
}

.sponsor-card--rich a {
    color: inherit;
    text-decoration: none;
}

.sponsor-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.sponsor-card__logo img {
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(224, 11, 0, 0.12);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}


/* Patch 154Eg: sponsor presentatie + uniforme velden */
.sponsor-section-block{margin-top:26px;display:grid;gap:14px;}
.sponsor-section-block--club50{padding:20px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(180deg, rgba(47,111,255,0.10), rgba(255,255,255,0.02));}
.section-subhead{display:grid;gap:4px;}
.section-subhead h3{margin:0;}
.section-subhead p{margin:0;color:var(--text-soft);}
.sponsor-grid--featured{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.sponsor-grid--club50{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.sponsor-card--featured{border-color:color-mix(in srgb, var(--accent) 42%, transparent);background:linear-gradient(180deg, rgba(47,111,255,0.10), rgba(255,255,255,0.03));}
.sponsor-card--club50{background:rgba(255,255,255,0.03);}
.sponsor-type-badge{background:color-mix(in srgb, var(--accent) 18%, transparent);border:1px solid color-mix(in srgb, var(--accent) 45%, transparent);color:#eef4ff;}

.form-row input,
.form-row select,
.form-row textarea,
.admin-body .form-row input,
.admin-body .form-row select,
.admin-body .form-row textarea{
    border-radius:18px;
    min-height:64px;
    padding:16px 18px;
    border:1px solid #30435f;
    background:#0f1a2d;
    color:#eef4fb;
}
.form-row textarea,
.admin-body .form-row textarea{
    min-height:220px;
}
.form-row input::placeholder,
.form-row textarea::placeholder,
.admin-body .form-row input::placeholder,
.admin-body .form-row textarea::placeholder{
    color:#8fa3bd;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.admin-body .form-row input:focus,
.admin-body .form-row select:focus,
.admin-body .form-row textarea:focus{
    background:#13213a;
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(47,111,255,0.18);
}
.form-row select,
.admin-body .form-row select{
    cursor:pointer;
}
.form-row input[type="checkbox"],
.form-row input[type="radio"],
.admin-body .form-row input[type="checkbox"],
.admin-body .form-row input[type="radio"]{
    min-height:auto;
    width:auto;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
}

/* Patch 154Ej: sponsorbeheer finalisatie */
.admin-toolbar--split{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.admin-filter-form{margin:0 0 16px;padding:16px 18px;border:1px solid var(--border);border-radius:20px;background:rgba(255,255,255,0.03);}
.form-row-grid--4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;}
.form-row--actions-end{display:flex;gap:10px;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;}
.admin-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:700;line-height:1.1;}
.admin-badge--accent{background:color-mix(in srgb,var(--accent) 16%, transparent);border:1px solid color-mix(in srgb,var(--accent) 40%, transparent);color:#eef4ff;}
@media (max-width: 980px){.form-row-grid--4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 640px){.form-row-grid--4{grid-template-columns:1fr;}}

.admin-badge--warning{background:rgba(245,158,11,.18);border:1px solid rgba(245,158,11,.45);color:#fff3d6;}
.admin-badge--muted{background:rgba(148,163,184,.15);border:1px solid rgba(148,163,184,.35);color:#e5edf8;}


.vacancy-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.vacancy-choice-card{position:relative;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.03);cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .12s ease}
.vacancy-choice-card:hover{border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:rgba(255,255,255,.05)}
.vacancy-choice-card.is-selected{border-color:color-mix(in srgb, var(--accent) 72%, transparent);background:color-mix(in srgb, var(--accent) 14%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent) inset}
.vacancy-choice-card input{width:18px;height:18px;accent-color:var(--accent);flex:0 0 auto}
.vacancy-choice-card span{display:block;font-weight:600;color:#fff}


.admin-form-actions--left {
    justify-content: flex-start;
}


.admin-toolbar--spread {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.admin-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-search-form input[type="search"] {
  min-width: 280px;
}

.managed-page-card {
  padding: clamp(20px, 3vw, 36px);
}

.managed-page-content {
  display: grid;
  gap: 16px;
}

.managed-page-content h1,
.managed-page-content h2,
.managed-page-content h3 {
  margin: 0;
}

.managed-page-content p,
.managed-page-content ul,
.managed-page-content ol {
  margin: 0;
}

.managed-page-content ul,
.managed-page-content ol {
  padding-left: 1.25rem;
}


.menu-dnd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.menu-dnd-panel { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 1rem; }
.menu-dnd-panel h3 { margin-top: 0; }
.menu-dnd-list { list-style: none; margin: 0; padding: 0; min-height: 2rem; }
.menu-dnd-list--child { margin-top: .65rem; margin-left: 1.5rem; padding-left: .75rem; border-left: 1px dashed rgba(255,255,255,0.14); }
.menu-dnd-item { margin-bottom: .6rem; }
.menu-dnd-card { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); cursor: grab; justify-content: space-between; flex-wrap: wrap; }
.menu-dnd-card:hover { border-color: rgba(0,123,255,0.45); }
.menu-dnd-item.is-dragging > .menu-dnd-card { opacity: .5; }
.menu-dnd-handle { color: rgba(255,255,255,0.5); font-size: 1rem; line-height: 1; }
.menu-dnd-content { display: flex; flex-direction: column; gap: .2rem; }

.menu-move-actions { margin-left: auto; justify-content: flex-end; }
.menu-move-actions .button { white-space: nowrap; }
.menu-dnd-card .menu-dnd-content { flex: 1 1 180px; }
.menu-dnd-card .menu-move-actions { flex: 0 0 auto; }


.access-denied-card {
    max-width: 760px;
    margin: 40px auto;
    padding: 32px;
}

.admin-inline-secret {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(6, 20, 46, 0.45);
    border: 1px solid rgba(94, 152, 255, 0.24);
    color: #ffffff;
}

.admin-inline-secret strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.04em;
}


.photo-detail-card--sortable {
    cursor: move;
}

.photo-detail-card--sortable.is-dragging {
    opacity: 0.55;
    transform: scale(0.98);
}

.photo-cover-preview {
    max-width: 320px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-soft);
}

.photo-cover-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-album-cover {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.photo-album-cover img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.photo-detail-card__button {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 20, 0.88);
}

.photo-lightbox__dialog {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
}

.photo-lightbox__figure {
    margin: 0;
    max-width: min(1000px, 86vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.photo-lightbox__figure img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.photo-lightbox__caption {
    color: #f3f6fb;
    text-align: center;
}

.photo-lightbox__close,
.photo-lightbox__nav {
    border: 0;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    font-size: 1.8rem;
    cursor: pointer;
}

.photo-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
}

body.lightbox-open {
    overflow: hidden;
}


/* 174Ad photo album polish */
.admin-inline-actions--photo-cover {
  margin: 0 0 1rem;
}
@media (max-width: 767px) {
  .photo-album-cover {
    border-radius: 18px;
    overflow: hidden;
  }
  .photo-album-cover img {
    max-height: 240px;
    object-fit: cover;
  }
  .photo-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .photo-detail-card {
    border-radius: 18px;
    overflow: hidden;
  }
  .photo-detail-card__button {
    padding: 0;
    text-align: left;
  }
  .photo-detail-card__caption {
    padding: 0.7rem 0.8rem 0.9rem;
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .photo-lightbox__dialog {
    width: min(100vw - 1rem, 820px);
    max-height: calc(100vh - 1rem);
    padding: 2.6rem 0.5rem 0.9rem;
    border-radius: 20px;
  }
  .photo-lightbox__figure {
    gap: 0.55rem;
  }
  .photo-lightbox__figure img {
    max-height: calc(100vh - 11rem);
    border-radius: 14px;
  }
  .photo-lightbox__caption {
    font-size: 0.92rem;
    padding: 0 0.4rem;
  }
  .photo-lightbox__close,
  .photo-lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .photo-lightbox__close {
    top: 0.45rem;
    right: 0.45rem;
  }
  .photo-lightbox__nav--prev {
    left: 0.3rem;
  }
  .photo-lightbox__nav--next {
    right: 0.3rem;
  }
}
@media (max-width: 480px) {
  .photo-detail-grid {
    grid-template-columns: 1fr;
  }
}


.admin-nav__group {display:flex;flex-direction:column;gap:.35rem;min-width:0;}
.admin-nav__group-link{display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1rem;border-radius:999px;background:rgba(255,255,255,.06);color:#fff;text-decoration:none;font-weight:700;}
.admin-nav__group-link.is-active,.admin-nav__group.is-active .admin-nav__group-link{background:rgba(224,11,0,.18);border-color:rgba(224,11,0,.35);}
.admin-nav__submenu{display:flex;flex-wrap:wrap;gap:.4rem;}
.admin-nav__submenu a{display:inline-flex;align-items:center;padding:.4rem .7rem;border-radius:999px;background:rgba(255,255,255,.04);color:#d8dbe2;text-decoration:none;font-size:.9rem;}
.admin-nav__submenu a.is-active{background:rgba(255,255,255,.12);color:#fff;}

/* Patch 174Ai: admin nav active accent + menu checkbox visibility */
.admin-nav__group-link.is-active,
.admin-nav__group.is-active .admin-nav__group-link{
  background:color-mix(in srgb,var(--accent) 18%, transparent);
  border-color:color-mix(in srgb,var(--accent) 42%, transparent);
  color:#eef4ff;
}
.admin-checkbox-row{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:#eef4ff;
  font-weight:500;
}
.admin-checkbox-row input[type="checkbox"]{
  appearance:auto;
  -webkit-appearance:checkbox;
  inline-size:1rem;
  block-size:1rem;
  margin:0;
  accent-color:var(--accent);
  flex:0 0 auto;
}


/* Desktop header/ticker background layout polish */
@media (min-width: 981px) {
    body {
        position: relative;
        isolation: isolate;
        background: var(--bg);
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0 0 auto 0;
        height: max(78vh, 66.6667vw);
        pointer-events: none;
        z-index: 0;
        background:
            linear-gradient(rgba(10, 18, 31, 0.14), rgba(10, 18, 31, 0.22)),
            linear-gradient(90deg, rgba(10, 18, 31, 0.22) 0%, rgba(14, 40, 84, 0.18) 100%),
            url("https://beta.dbzp.nl/assets/images/headerbackground.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center top;
        opacity: 0.96;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 1;
        background: linear-gradient(
            to bottom,
            rgba(6, 12, 22, 0.03) 0,
            rgba(6, 12, 22, 0.12) 130px,
            rgba(6, 12, 22, 0.34) 360px,
            rgba(6, 12, 22, 0.70) 760px,
            var(--bg) 100%
        );
    }

    .ticker-bar {
        order: 1;
        position: relative;
        z-index: 8;
        background: rgba(7, 14, 27, 0.92);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }

    .ticker-marquee {
        padding-inline: max(24px, calc((100vw - 1200px) / 2 + 24px));
    }

    .site-header {
        order: 2;
        position: relative;
        z-index: 7;
        background: transparent;
        border-bottom: 0;
    }

    .site-header::after {
        display: none;
    }

    .header-inner {
        min-height: 60px;
        padding: 18px 0 20px;
        align-items: flex-end;
        gap: 28px;
    }

    .logo img {
        height: 124px;
        opacity: 0.70;
    }

    .main-nav {
        align-items: flex-end;
        gap: 10px;
    }

    .site-main {
        order: 3;
        position: relative;
        z-index: 3;
        padding-top: 10px;
        background: linear-gradient(
            to bottom,
            rgba(6, 12, 22, 0.01) 0,
            rgba(6, 12, 22, 0.08) 90px,
            rgba(6, 12, 22, 0.24) 280px,
            rgba(6, 12, 22, 0.60) 620px,
            var(--bg) 900px
        );
    }

    .site-footer {
        order: 4;
        position: relative;
        z-index: 3;
    }

    body.page-home .hero {
        background: transparent;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    body.page-home .section-alt {
        background: rgba(12, 22, 39, 0.78);
        backdrop-filter: blur(2px);
    }

}


/* 274Ag: Desktop logo centred above navigation and special results slightly narrower */
@media (min-width: 981px) {
  .site-header .logo {
    width: 100%;
    text-align: center;
  }

  .site-header .main-nav {
    width: 100%;
  }

  .special-results-page > .container,
  .page-hero--special-results > .container {
    width: min(980px, calc(100% - 56px)) !important;
    max-width: 980px !important;
    margin-inline: auto;
  }

  .special-results-page .teambeheer-special-grid {
    max-width: 980px;
    margin-inline: auto;
  }

  .special-results-page .teambeheer-special-card--iframe {
    padding: 0.85rem;
    max-width: 980px;
    margin-inline: auto;
  }
}


/* 274Ap: overlay verwijderd; bijzondere-resultaten-feed schoon links tonen met rechter crop */
@media (min-width: 901px) {
  .special-results-page .teambeheer-iframe-shell--special {
    position: relative;
    max-width: 860px;
    overflow: hidden;
    padding-right: 0;
  }

  .special-results-page .teambeheer-iframe-shell--special::after {
    display: none !important;
    content: none !important;
  }

  .special-results-page .teambeheer-iframe--special {
    width: 1276px;
    min-width: 1276px;
    min-height: 1660px;
    margin-left: 0;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .special-results-page .teambeheer-iframe-shell--special {
    max-width: 100%;
    overflow-x: auto;
  }

  .special-results-page .teambeheer-iframe-shell--special::after {
    display: none !important;
    content: none !important;
  }

  .special-results-page .teambeheer-iframe--special {
    width: 100%;
    min-width: 1276px;
    min-height: 1660px;
    margin-left: 0;
    transform: none !important;
  }
}

/* Admin backend keeps solid background, no desktop hero image */
@media (min-width: 981px) {
    body.admin-body {
        isolation: auto;
        background: var(--bg) !important;
    }

    body.admin-body::before,
    body.admin-body::after {
        content: none !important;
        display: none !important;
    }

    .admin-body .admin-topbar {
        background: linear-gradient(135deg, #101a2b 0%, #16253d 100%) !important;
    }

    .admin-body .admin-topbar::after {
        background: linear-gradient(
            to bottom,
            rgba(9, 17, 29, 0) 0%,
            rgba(9, 17, 29, 0.08) 55%,
            rgba(9, 17, 29, 0.16) 100%
        ) !important;
    }
}

/* 274As - amendment form polish */
.amendment-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px;
    align-items:start;
}
.amendment-form > div{
    min-width:0;
}
.amendment-form .form-grid-span-2{
    grid-column:1 / -1;
}
.amendment-form label{
    display:block;
    margin:0 0 8px;
    font-weight:700;
    color:var(--text);
}
.amendment-form input,
.amendment-form select,
.amendment-form textarea{
    width:100%;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(7,16,34,.88);
    color:var(--text);
    font:inherit;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.amendment-form input::placeholder,
.amendment-form textarea::placeholder{
    color:rgba(218,227,242,.58);
}
.amendment-form input:focus,
.amendment-form select:focus,
.amendment-form textarea:focus{
    outline:none;
    border-color:rgba(70,118,255,.9);
    box-shadow:0 0 0 3px rgba(70,118,255,.18);
    background:rgba(9,20,42,.94);
}
.amendment-form select{
    appearance:auto;
    -webkit-appearance:menulist;
}
.amendment-form textarea{
    min-height:140px;
    resize:vertical;
}
.amendment-form .admin-table-wrap{
    margin-top:10px;
}
.amendment-form .admin-table td input,
.amendment-form .admin-table td select,
.amendment-form .admin-table td textarea{
    min-width:0;
    padding:10px 12px;
    border-radius:10px;
    background:rgba(7,16,34,.9);
}
.amendment-form .admin-table td{
    vertical-align:top;
}
.amendment-form .form-help{
    margin:0 0 12px;
}
@media (max-width: 860px){
    .amendment-form{
        grid-template-columns:1fr;
    }
    .amendment-form .form-grid-span-2{
        grid-column:auto;
    }
}

/* 274As - amendement formulier polish */
.amendment-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px;
    align-items:start;
}
.amendment-form > div{min-width:0;}
.amendment-form__span-2{grid-column:1 / -1;}
.amendment-form .form-help{margin:0 0 12px;}
.amendment-form .form-row{margin:0;}
.amendment-form .form-row textarea{min-height:140px;}
.amendment-form__supporters-wrap{margin-top:10px;}
.amendment-form__supporters-table td input,
.amendment-form__supporters-table td select,
.amendment-form__supporters-table td textarea{
    width:100%;
    min-width:0;
    border-radius:12px;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #30435f;
    background:#0f1a2d;
    color:#eef4fb;
    font:inherit;
}
.amendment-form__supporters-table td input:focus,
.amendment-form__supporters-table td select:focus,
.amendment-form__supporters-table td textarea:focus{
    outline:none;
    background:#13213a;
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(47,111,255,0.18);
}
@media (max-width: 860px){
    .amendment-form{grid-template-columns:1fr;}
    .amendment-form__span-2{grid-column:auto;}
}


/* Patch 274Ax: bestuur checkbox zichtbaarheid */
.admin-portrait-current{margin-top:12px;display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;}
.admin-portrait-current .form-row-checkbox{align-self:center;}


/* 284Aa contact flow polish */
.contact-honeypot{position:absolute !important;left:-9999px !important;top:auto !important;width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important;}
.form-grid--3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
@media (max-width: 980px){.form-grid--3{grid-template-columns:1fr 1fr;}}
@media (max-width: 680px){.form-grid--3{grid-template-columns:1fr;}}

/* 284Ad - amendment admin/public polish */
.status-badge--success{background:rgba(34,197,94,.18);color:#b4f0c7;border:1px solid rgba(34,197,94,.38)}
.status-badge--info{background:rgba(96,165,250,.16);color:#b6d7ff;border:1px solid rgba(96,165,250,.34)}
.status-badge--warning{background:rgba(245,158,11,.16);color:#ffd48a;border:1px solid rgba(245,158,11,.34)}
.status-badge--danger{background:rgba(239,68,68,.16);color:#ffb0b0;border:1px solid rgba(239,68,68,.34)}
.status-badge--muted{background:rgba(148,163,184,.14);color:#d4dbe8;border:1px solid rgba(148,163,184,.28)}
.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;align-items:start;}
.admin-form-grid__full{grid-column:1 / -1;}
.admin-form-grid .form-row{min-width:0;}
@media (max-width:860px){.admin-form-grid{grid-template-columns:1fr}.admin-form-grid__full{grid-column:auto}}

/* 284Ba - Matchplay race module */
.status-badge--concept,
.status-badge--definitief,
.status-badge--gepubliceerd {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .82rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.16);
}
.status-badge--concept { background: rgba(148,163,184,.14); color: #cbd5e1; }
.status-badge--definitief { background: rgba(250,204,21,.14); color: #fde68a; }
.status-badge--gepubliceerd { background: rgba(34,197,94,.14); color: #bbf7d0; }
.admin-table-input { width: 100%; min-width: 8rem; border-radius: .75rem; border: 1px solid rgba(255,255,255,.14); background: rgba(8,15,28,.92); color: #f8fafc; padding: .55rem .65rem; }
.admin-table-input--small { min-width: 4.75rem; }
.form-grid--matchplay-player { align-items: end; }
.dbzp-matchplay-page .section-head p { max-width: 54rem; }
.dbzp-matchplay-grid { display: grid; gap: 1.5rem; }
.dbzp-matchplay-card { overflow: hidden; }
.dbzp-matchplay-card__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.dbzp-matchplay-card__head h2 { margin: .1rem 0 0; }
.dbzp-matchplay-card__meta { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; color: var(--muted, #cbd5e1); font-weight: 700; }
.dbzp-matchplay-card__intro { color: var(--muted, #cbd5e1); margin-bottom: 1rem; }
.dbzp-matchplay-table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); }
.dbzp-matchplay-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.dbzp-matchplay-table th,
.dbzp-matchplay-table td { padding: .85rem .9rem; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; vertical-align: top; }
.dbzp-matchplay-table th { background: rgba(255,255,255,.06); color: #f8fafc; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.dbzp-matchplay-table tr:last-child td { border-bottom: 0; }
.dbzp-matchplay-table__pos { width: 4.5rem; font-size: 1.1rem; font-weight: 900; color: var(--accent, #38bdf8); }
.dbzp-matchplay-table td span,
.dbzp-matchplay-table td small { color: var(--muted, #cbd5e1); }
.matchplay-status { display: inline-flex; align-items: center; border-radius: 999px; padding: .22rem .58rem; font-size: .78rem; font-weight: 800; border: 1px solid rgba(255,255,255,.14); white-space: nowrap; }
.matchplay-status--placed { background: rgba(34,197,94,.16); color: #bbf7d0; }
.matchplay-status--provisional { background: rgba(59,130,246,.16); color: #bfdbfe; }
.matchplay-status--chance { background: rgba(250,204,21,.16); color: #fde68a; }
.matchplay-status--provisional_reserve { background: rgba(168,85,247,.12); color: #ddd6fe; }
.matchplay-status--reserve { background: rgba(168,85,247,.16); color: #e9d5ff; }
.matchplay-status--withdrawn { background: rgba(148,163,184,.16); color: #e2e8f0; }
.matchplay-status--out_top8 { background: rgba(249,115,22,.14); color: #fed7aa; }
.matchplay-status--out_top16, .matchplay-status--out { background: rgba(239,68,68,.14); color: #fecaca; }
.dbzp-matchplay-card__others { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.dbzp-matchplay-card__others h3 { margin: 0 0 .7rem; }
.dbzp-matchplay-table--secondary { margin-top: .25rem; }
.dbzp-matchplay-card__others small { color: var(--muted, #cbd5e1); }
@media (max-width: 720px) {
    .dbzp-matchplay-card__head { flex-direction: column; }
    .dbzp-matchplay-card__meta { align-items: flex-start; }
}


/* 284Br - DBZP Matchplay admin polish */
.matchplay-admin-form {
    gap: 20px;
}
.matchplay-admin-form label,
.matchplay-admin-form .matchplay-form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
    color: #eef6ff;
}
.matchplay-admin-form .matchplay-form-field__label {
    font-weight: 700;
    color: #eef6ff;
}
.matchplay-admin-form input,
.matchplay-admin-form select,
.matchplay-admin-form textarea,
.matchplay-admin-form .admin-table-input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .28);
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(8, 13, 26, .96));
    color: #f8fafc;
    padding: 12px 14px;
    font: inherit;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.matchplay-admin-form input[readonly] {
    color: #cbd5e1;
    background: rgba(15, 23, 42, .62);
    cursor: not-allowed;
}
.matchplay-admin-form textarea {
    min-height: 130px;
    resize: vertical;
}
.matchplay-admin-form input::placeholder,
.matchplay-admin-form textarea::placeholder {
    color: rgba(203, 213, 225, .68);
    opacity: 1;
}
.matchplay-admin-form input:focus,
.matchplay-admin-form select:focus,
.matchplay-admin-form textarea:focus,
.admin-table .admin-table-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, .75);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .16), inset 0 1px 0 rgba(255,255,255,.05);
}
.matchplay-admin-form select,
.admin-table select.admin-table-input {
    cursor: pointer;
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, #cbd5e1 50%), linear-gradient(135deg, #cbd5e1 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* 284Bt - DBZP Matchplay dropdown option readability */
.matchplay-admin-form select option,
.admin-table select.admin-table-input option {
    color: #0f172a;
    background: #f8fafc;
}
.matchplay-admin-form select option:checked,
.admin-table select.admin-table-input option:checked {
    color: #0f172a;
    background: #cbd5e1;
}

.matchplay-admin-form .admin-inline-field {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.matchplay-admin-form .admin-inline-field span {
    color: #cbd5e1;
    font-weight: 700;
}
.matchplay-admin-form .admin-checkline {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-weight: 700;
    color: #dbeafe;
}
.matchplay-admin-form .admin-checkline input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    border-radius: 5px;
    accent-color: var(--accent, #38bdf8);
    cursor: pointer;
}
.matchplay-admin-form .admin-checkline span {
    cursor: pointer;
}
.admin-table .admin-table-input {
    min-height: 42px;
    border-radius: 10px;
    border-color: rgba(148, 163, 184, .24);
    background: rgba(8, 13, 26, .82);
}
.admin-table .admin-table-input--small {
    min-width: 5.25rem;
}
.matchplay-admin-row td {
    transition: background-color .18s ease, border-color .18s ease;
}
.matchplay-admin-row--placed td { background: rgba(34,197,94,.075); border-bottom-color: rgba(34,197,94,.16); }
.matchplay-admin-row--provisional td { background: rgba(59,130,246,.075); border-bottom-color: rgba(59,130,246,.16); }
.matchplay-admin-row--chance td { background: rgba(250,204,21,.07); border-bottom-color: rgba(250,204,21,.15); }
.matchplay-admin-row--provisional_reserve td { background: rgba(168,85,247,.06); border-bottom-color: rgba(168,85,247,.14); }
.matchplay-admin-row--reserve td { background: rgba(168,85,247,.08); border-bottom-color: rgba(168,85,247,.18); }
.matchplay-admin-row--withdrawn td { background: rgba(148,163,184,.08); border-bottom-color: rgba(148,163,184,.18); }
.matchplay-admin-row--out_top8 td { background: rgba(249,115,22,.07); border-bottom-color: rgba(249,115,22,.16); }
.matchplay-admin-row--out_top16 td,
.matchplay-admin-row--out td { background: rgba(239,68,68,.07); border-bottom-color: rgba(239,68,68,.16); }
.matchplay-admin-row:hover td {
    filter: brightness(1.08);
}
@media (max-width: 760px) {
    .matchplay-admin-form .admin-inline-field { grid-template-columns: 1fr; }
}

/* 284Bs - fix DBZP Matchplay auto-refresh checkbox clickability */


/* 284Bv - DBZP Matchplay quickjump buttons */
.dbzp-matchplay-section-head {
    margin-bottom: 1rem;
}
.dbzp-matchplay-jump {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    align-items: center;
    margin: 0 0 1.25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.1rem;
    background: rgba(15,23,42,.62);
    backdrop-filter: blur(10px);
}
.dbzp-matchplay-jump__label {
    color: var(--muted, #cbd5e1);
    font-weight: 800;
    font-size: .92rem;
}
.dbzp-matchplay-jump__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.dbzp-matchplay-jump__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.3rem;
    padding: .48rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.28);
    background: rgba(30,41,59,.78);
    color: #f8fafc;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.dbzp-matchplay-jump__button:hover,
.dbzp-matchplay-jump__button:focus {
    transform: translateY(-1px);
    border-color: rgba(96,165,250,.7);
    background: rgba(37,99,235,.72);
    color: #fff;
}
.dbzp-matchplay-card {
    scroll-margin-top: 110px;
}
@media (max-width: 720px) {
    .dbzp-matchplay-jump { align-items: flex-start; }
    .dbzp-matchplay-jump__buttons { width: 100%; }
    .dbzp-matchplay-jump__button { flex: 1 1 calc(50% - .55rem); }
}

/* 284Bu - DBZP Matchplay hero transparent like other frontend pages */
.dbzp-matchplay-hero {
    background: transparent;
}

@media (min-width: 981px) {
    .dbzp-matchplay-hero {
        background: transparent;
    }
}

/* 284Bw - DBZP Matchplay quickjump styled like competition jumpnav */
.dbzp-matchplay-jump.competition-jump-nav--inline {
    margin: 0 0 1.25rem;
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    padding: 0.85rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
    box-shadow: none;
}
.dbzp-matchplay-jump__label {
    color: var(--muted);
    font-weight: 800;
    font-size: .92rem;
}
.dbzp-matchplay-jump__button.competition-jump-nav__link {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.dbzp-matchplay-jump__button.competition-jump-nav__link:hover,
.dbzp-matchplay-jump__button.competition-jump-nav__link:focus-visible {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--surface) 85%, var(--accent) 15%);
    transform: translateY(-1px);
    color: var(--text);
}
.dbzp-matchplay-jump__button.competition-jump-nav__link.is-active {
    background: color-mix(in srgb, var(--accent) 22%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
    color: var(--text);
    box-shadow: 0 10px 24px rgba(47, 111, 255, 0.16);
}

/* 284Bx - repeat DBZP Matchplay quickjump between division blocks */
.dbzp-matchplay-jump--between {
    margin: .15rem 0 1.45rem;
}
.dbzp-matchplay-card + .dbzp-matchplay-jump--between {
    margin-top: -.35rem;
}

/* 284Bz - DBZP Matchplay final polish */
.dbzp-matchplay-legend {
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    background: rgba(13, 24, 43, .72);
    border: 1px solid rgba(148, 163, 184, .18);
}
.dbzp-matchplay-legend h3,
.matchplay-admin-status-legend h3 {
    margin: 0 0 .75rem;
    font-size: 1rem;
}
.dbzp-matchplay-legend__items,
.matchplay-admin-status-legend__items {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}
.dbzp-matchplay-card__update {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    margin: -.25rem 0 1rem;
    color: rgba(226, 232, 240, .74);
    font-size: .88rem;
}
.dbzp-matchplay-card__update-error,
.matchplay-admin-import-meta__error {
    color: #fecaca;
}
.dbzp-matchplay-empty {
    margin: 1rem 0 0;
    color: rgba(226, 232, 240, .74);
}
.matchplay-admin-help ul {
    margin: .75rem 0 0;
    padding-left: 1.15rem;
    color: rgba(226, 232, 240, .82);
}
.matchplay-admin-help li + li {
    margin-top: .35rem;
}
.matchplay-admin-import-meta {
    display: grid;
    gap: .35rem;
    margin: .85rem 0 1rem;
    padding: .75rem .85rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    background: rgba(2, 6, 23, .32);
    color: rgba(226, 232, 240, .78);
    font-size: .92rem;
}
.matchplay-admin-status-legend {
    margin-bottom: 1rem;
    padding: 1rem;
}
.matchplay-status--out_top8 {
    background: rgba(251, 146, 60, .18);
    color: #fed7aa;
    border-color: rgba(251, 146, 60, .38);
}
@media (max-width: 720px) {
    .dbzp-matchplay-legend__items,
    .matchplay-admin-status-legend__items {
        align-items: flex-start;
    }
}

/* 284Ca - DBZP Matchplay actuele deelnemerslijst */
.dbzp-matchplay-card__summary {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: .9rem 0 1rem;
}
.dbzp-matchplay-card__summary span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 999px;
    background: rgba(15, 23, 42, .52);
    color: rgba(226, 232, 240, .82);
    padding: .42rem .72rem;
    font-size: .88rem;
    font-weight: 700;
}
.dbzp-matchplay-card__summary strong {
    color: #f8fafc;
}
.dbzp-matchplay-card__subhead {
    margin: .85rem 0 .65rem;
}
.dbzp-matchplay-card__subhead h3,
.matchplay-current-list-card h3 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}
.dbzp-matchplay-card__subhead p,
.dbzp-matchplay-card__others p,
.matchplay-current-list-card p {
    margin: 0 0 .75rem;
    color: rgba(226, 232, 240, .72);
}
.matchplay-current-list-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.matchplay-current-list-card__head h2 {
    margin: 0 0 .35rem;
}
.matchplay-current-list-card__stats {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 220px;
}
.matchplay-current-list-card__stats span {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 14px;
    background: rgba(15, 23, 42, .48);
    color: rgba(226, 232, 240, .8);
    padding: .58rem .75rem;
    font-weight: 800;
}
.matchplay-current-list-card__stats strong {
    color: #f8fafc;
}
.matchplay-current-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.matchplay-current-list {
    list-style: none;
    display: grid;
    gap: .5rem;
    margin: .6rem 0 0;
    padding: 0;
}
.matchplay-current-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    background: rgba(2, 6, 23, .28);
    padding: .6rem .7rem;
}
.matchplay-current-list__pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .13);
    color: #bae6fd;
    font-weight: 900;
}
.matchplay-current-list__name {
    display: grid;
    gap: .1rem;
    min-width: 0;
}
.matchplay-current-list__name strong,
.matchplay-current-list__name small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.matchplay-current-list__name small {
    color: rgba(203, 213, 225, .78);
}
@media (max-width: 900px) {
    .matchplay-current-list-card__head { flex-direction: column; }
    .matchplay-current-list-card__stats { width: 100%; min-width: 0; }
    .matchplay-current-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .matchplay-current-list li { grid-template-columns: 36px minmax(0, 1fr); }
    .matchplay-current-list li .matchplay-status { grid-column: 1 / -1; justify-self: flex-start; }
}

/* DBZP Matchplay - ledenbestand koppeling */
.matchplay-member-match {
    display: block;
    margin-top: .25rem;
    font-size: .78rem;
    color: rgba(226, 232, 240, .72);
}
.matchplay-member-match--matched,
.matchplay-member-match--matched_name_only {
    color: #86efac;
}
.matchplay-member-match--matched_no_email,
.matchplay-member-match--multiple_matches {
    color: #fde68a;
}
.matchplay-member-match--no_match,
.matchplay-member-match--members_missing {
    color: #fca5a5;
}
.matchplay-member-pill {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    padding: .3rem .55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(15, 23, 42, .72);
    color: rgba(226, 232, 240, .86);
    font-size: .78rem;
    line-height: 1.2;
    white-space: normal;
}
.matchplay-member-pill--matched,
.matchplay-member-pill--matched_name_only {
    border-color: rgba(34, 197, 94, .45);
    background: rgba(22, 101, 52, .20);
    color: #bbf7d0;
}
.matchplay-member-pill--matched_no_email,
.matchplay-member-pill--multiple_matches {
    border-color: rgba(245, 158, 11, .50);
    background: rgba(146, 64, 14, .20);
    color: #fde68a;
}
.matchplay-member-pill--no_match,
.matchplay-member-pill--members_missing {
    border-color: rgba(239, 68, 68, .42);
    background: rgba(127, 29, 29, .20);
    color: #fecaca;
}

/* DBZP Matchplay invitations - 284Cc */
.matchplay-invitation-admin-card {
    border-color: rgba(96, 165, 250, .28);
}
.matchplay-invitation-admin-grid {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}
.matchplay-invitation-admin-item {
    display: grid;
    grid-template-columns: 56px minmax(180px, 1fr) minmax(180px, 1fr) minmax(150px, auto);
    gap: .75rem;
    align-items: center;
    padding: .8rem .9rem;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 16px;
    background: rgba(15, 23, 42, .56);
}
.matchplay-invitation-admin-item small {
    display: block;
    margin-top: .15rem;
}
.matchplay-invitation-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(30, 41, 59, .72);
    color: #dbeafe;
}
.matchplay-invitation-status--accepted,
.matchplay-status--invitation-accepted { background: rgba(22, 163, 74, .18); color: #bbf7d0; border-color: rgba(34, 197, 94, .38); }
.matchplay-invitation-status--sent,
.matchplay-status--invitation-sent { background: rgba(37, 99, 235, .18); color: #bfdbfe; border-color: rgba(59, 130, 246, .42); }
.matchplay-invitation-status--followup_due,
.matchplay-status--invitation-followup_due { background: rgba(245, 158, 11, .18); color: #fde68a; border-color: rgba(245, 158, 11, .42); }
.matchplay-invitation-status--declined,
.matchplay-invitation-status--expired,
.matchplay-invitation-status--failed,
.matchplay-status--invitation-declined,
.matchplay-status--invitation-expired,
.matchplay-status--invitation-failed { background: rgba(239, 68, 68, .16); color: #fecaca; border-color: rgba(239, 68, 68, .42); }
.matchplay-invitation-hero {
    background: transparent;
}
.section--matchplay-invitation {
    padding: 2rem 0 4rem;
}
.matchplay-invitation-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, .76);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.matchplay-invitation-card__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.matchplay-invitation-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .8rem;
    margin: 1rem 0;
}
.matchplay-invitation-meta div {
    padding: .8rem;
    border-radius: 16px;
    background: rgba(30, 41, 59, .65);
    border: 1px solid rgba(148, 163, 184, .18);
}
.matchplay-invitation-meta dt {
    color: #93c5fd;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.matchplay-invitation-meta dd {
    margin: .2rem 0 0;
    color: #f8fafc;
    font-weight: 700;
}
.matchplay-invitation-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.matchplay-invitation-done {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(22, 163, 74, .12);
    border: 1px solid rgba(34, 197, 94, .28);
    color: #dcfce7;
    font-weight: 700;
}
@media (max-width: 760px) {
    .matchplay-invitation-admin-item,
    .matchplay-invitation-card__head {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.matchplay-invitation-date-warning {
    margin: 1rem 0 1.25rem;
}

/* 284Cf - DBZP Matchplay invitation availability polish */
.matchplay-invitation-unavailable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: .5rem;
}

/* 284Cg - DBZP Matchplay invitation rollover polish */


/* 284Ch - DBZP Matchplay response notification polish */

/* DBZP Matchplay loting/bracket - 284Cj */
.matchplay-draw-admin-card,
.matchplay-draw-public-head,
.matchplay-draw-live-card,
.matchplay-draw-countdown {
    border: 1px solid rgba(96, 165, 250, .28);
    background: rgba(15, 23, 42, .78);
}
.matchplay-draw-admin-summary,
.dbzp-matchplay-draw-link {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin: 1rem 0;
}
.matchplay-draw-admin-summary span,
.dbzp-matchplay-draw-link span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    padding: .45rem .75rem;
    background: rgba(15, 23, 42, .72);
    color: #cbd5e1;
}
.matchplay-draw-missing-list,
.matchplay-draw-seed-list {
    display: grid;
    gap: .45rem;
    margin: 1rem 0;
    padding-left: 1.25rem;
}
.matchplay-draw-seed-list li,
.matchplay-draw-missing-list li {
    padding: .55rem .7rem;
    border-radius: .85rem;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
}
.matchplay-draw-seed-list small,
.matchplay-draw-missing-list small { color: #93c5fd; }
.matchplay-draw-seed-list span {
    margin-left: .5rem;
    color: #86efac;
    font-weight: 800;
}
.matchplay-draw-actions {
    gap: .6rem;
    flex-wrap: wrap;
}
.matchplay-draw-actions form { margin: 0; }
.matchplay-bracket {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}
.matchplay-bracket__round {
    display: grid;
    gap: .8rem;
    padding: .9rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 1.2rem;
    background: rgba(2, 6, 23, .38);
}
.matchplay-bracket__round h3 { margin: 0; color: #dbeafe; }
.matchplay-bracket__match {
    display: grid;
    gap: .45rem;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 1rem;
    padding: .75rem;
    background: rgba(15, 23, 42, .82);
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.matchplay-bracket__match-title {
    color: #93c5fd;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.matchplay-bracket__player {
    display: grid;
    gap: .08rem;
    min-height: 2.45rem;
    padding: .55rem .65rem;
    border-radius: .8rem;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
}
.matchplay-bracket__player strong { color: #f8fafc; }
.matchplay-bracket__player small { color: #bfdbfe; }
.matchplay-draw-page .matchplay-bracket { overflow-x: auto; }
.matchplay-draw-machine {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(14,165,233,.12));
    border: 1px solid rgba(96,165,250,.24);
}
.matchplay-draw-machine__wheel {
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(15,23,42,.88);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 2rem;
    animation: matchplayDrawSpin 1.8s ease-in-out 1;
}
.matchplay-draw-machine__text { font-weight: 900; color: #dbeafe; }
.matchplay-draw-countdown__timer {
    margin-top: 1rem;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 950;
    color: #f8fafc;
    letter-spacing: .02em;
}
.matchplay-draw-warning { color: #fde68a; font-weight: 800; }
.matchplay-draw-reveal {
    opacity: 0;
    transform: translateY(12px) scale(.98);
    animation: matchplayDrawReveal .5s ease forwards;
}
@keyframes matchplayDrawSpin {
    0% { transform: rotate(0) scale(.92); }
    70% { transform: rotate(760deg) scale(1.06); }
    100% { transform: rotate(720deg) scale(1); }
}
@keyframes matchplayDrawReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 720px) {
    .matchplay-draw-public-head,
    .matchplay-draw-admin-summary,
    .dbzp-matchplay-draw-link,
    .matchplay-draw-machine { align-items: flex-start; flex-direction: column; }
    .matchplay-bracket { grid-template-columns: 1fr; }
}

/* DBZP Matchplay 284Cm: bracket planning */
.matchplay-bracket__schedule {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: .35rem 0 .55rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, .14);
    border: 1px solid rgba(125, 211, 252, .32);
    color: #bfdbfe;
    font-size: .78rem;
    font-weight: 700;
}

/* DBZP Matchplay bracketbeheer 284Cr */
.matchplay-bracket-admin-form {
    margin-top: 1rem;
}
.matchplay-bracket-admin-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: .65rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
}
.matchplay-bracket-admin-fields label {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .78rem;
    color: #bfdbfe;
    font-weight: 800;
}
.matchplay-bracket-admin-fields input,
.matchplay-bracket-admin-fields select {
    width: 100%;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(2, 6, 23, .74);
    color: #f8fafc;
    padding: .45rem .6rem;
    font-weight: 700;
}
.matchplay-bracket-admin-fields select option {
    color: #0f172a;
    background: #f8fafc;
}
.matchplay-bracket-admin-save {
    margin-top: 1rem;
}
.matchplay-bracket__player--winner {
    border-color: rgba(34, 197, 94, .58) !important;
    background: rgba(22, 101, 52, .24) !important;
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .18);
}
.matchplay-bracket__player--winner strong::after {
    content: '  ✓';
    color: #86efac;
}
@media (max-width: 900px) {
    .matchplay-bracket-admin-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .matchplay-bracket-admin-fields {
        grid-template-columns: 1fr;
    }
}

/* DBZP Matchplay bracketbeheer 284Cs - inklapbare adminrondes */
.matchplay-bracket-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.1rem 0 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, .62);
}
.matchplay-bracket-admin-toolbar h3 {
    margin: 0 0 .25rem;
    color: #dbeafe;
}
.matchplay-bracket-admin-toolbar p {
    margin: 0;
}
.matchplay-bracket-admin-accordion {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}
.matchplay-bracket-admin-round {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(2, 6, 23, .42);
}
.matchplay-bracket-admin-round summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    padding: .9rem 1rem;
    list-style: none;
    background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(15, 23, 42, .7));
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.matchplay-bracket-admin-round summary::-webkit-details-marker {
    display: none;
}
.matchplay-bracket-admin-round summary::before {
    content: '+';
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(191, 219, 254, .24);
    color: #bfdbfe;
    font-weight: 950;
}
.matchplay-bracket-admin-round[open] summary::before {
    content: '−';
}
.matchplay-bracket-admin-round__title {
    flex: 1 1 auto;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 950;
}
.matchplay-bracket-admin-round__meta {
    flex: 0 0 auto;
    color: #bfdbfe;
    font-size: .82rem;
    font-weight: 800;
}
.matchplay-bracket-admin-round__matches {
    display: grid;
    gap: .85rem;
    padding: 1rem;
}
.matchplay-bracket-admin-match {
    width: 100%;
    max-width: none;
}
.matchplay-bracket-admin-match__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}
.matchplay-bracket-admin-match__players {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}
.matchplay-bracket-admin-fields {
    grid-template-columns: minmax(120px, .8fr) minmax(100px, .7fr) minmax(180px, 1.25fr) minmax(180px, 1.25fr);
}
.matchplay-bracket-admin-save {
    margin-top: 1rem;
    justify-content: flex-end;
}
@media (max-width: 920px) {
    .matchplay-bracket-admin-toolbar,
    .matchplay-bracket-admin-round summary {
        align-items: flex-start;
        flex-direction: column;
    }
    .matchplay-bracket-admin-round summary::before {
        position: absolute;
        right: 1rem;
    }
    .matchplay-bracket-admin-round summary {
        position: relative;
        padding-right: 3.1rem;
    }
    .matchplay-bracket-admin-round__meta {
        flex: 1 1 auto;
    }
    .matchplay-bracket-admin-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .matchplay-bracket-admin-match__players,
    .matchplay-bracket-admin-fields {
        grid-template-columns: 1fr;
    }
}

/* DBZP Matchplay live-loting 284Dc */
.matchplay-draw-state-card,
.matchplay-draw-preview-card {
    border: 1px solid rgba(96, 165, 250, .24);
    background: rgba(15, 23, 42, .78);
}
.matchplay-draw-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .7rem;
}
.matchplay-draw-public-meta span,
.matchplay-draw-live__status span,
.matchplay-draw-countdown__note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    padding: .35rem .65rem;
    background: rgba(2, 6, 23, .48);
    color: #bfdbfe;
    font-size: .84rem;
    font-weight: 800;
}
.matchplay-draw-countdown__note {
    margin-top: .8rem;
    border-color: rgba(125, 211, 252, .24);
    color: #dbeafe;
}
.matchplay-draw-participant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.matchplay-draw-participant-grid li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .65rem;
    row-gap: .15rem;
    align-items: center;
    padding: .75rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 6, 23, .42);
}
.matchplay-draw-participant-grid__seed {
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, .28);
    border: 1px solid rgba(96, 165, 250, .38);
    color: #eff6ff;
    font-weight: 950;
}
.matchplay-draw-participant-grid strong { color: #f8fafc; }
.matchplay-draw-participant-grid small { color: #bfdbfe; }
.matchplay-draw-participant-grid em {
    color: #86efac;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}
.matchplay-draw-live {
    overflow: hidden;
    position: relative;
}
.matchplay-draw-live::before {
    content: '';
    position: absolute;
    inset: -35% auto auto -12%;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 68%);
    pointer-events: none;
}
.matchplay-draw-live__head {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}
.matchplay-draw-live__head h2 { margin-bottom: .25rem; }
.matchplay-draw-live__controls {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1rem 0;
}
.matchplay-draw-machine {
    position: relative;
    overflow: hidden;
    align-items: stretch;
    background:
        radial-gradient(circle at 15% 20%, rgba(125, 211, 252, .22), transparent 28%),
        linear-gradient(135deg, rgba(37,99,235,.26), rgba(14,165,233,.1));
}
.matchplay-draw-machine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent);
    transform: translateX(-120%);
    animation: matchplayDrawSweep 3.8s ease-in-out infinite;
}
.matchplay-draw-machine__wheel {
    position: relative;
    flex: 0 0 auto;
    width: 5.4rem;
    height: 5.4rem;
    box-shadow: 0 0 0 .55rem rgba(37, 99, 235, .1), 0 0 34px rgba(14, 165, 233, .2);
    isolation: isolate;
}
.matchplay-draw-machine__wheel::before,
.matchplay-draw-machine__wheel::after {
    content: '';
    position: absolute;
    inset: .55rem;
    border-radius: 999px;
    border: 1px dashed rgba(191, 219, 254, .42);
    animation: matchplayDrawOrbit 4.8s linear infinite;
    z-index: -1;
}
.matchplay-draw-machine__wheel::after {
    inset: 1.05rem;
    animation-direction: reverse;
    opacity: .7;
}
.matchplay-draw-machine__wheel span {
    display: inline-block;
    animation: matchplayDrawPulse 1.4s ease-in-out infinite;
}
.matchplay-draw-machine__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .25rem;
    flex: 1 1 auto;
    min-width: 0;
}
.matchplay-draw-machine__label {
    color: #93c5fd;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.matchplay-draw-machine__content strong {
    color: #f8fafc;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    line-height: 1.08;
}
.matchplay-draw-machine__content p {
    margin: 0;
    color: #dbeafe;
    font-weight: 800;
}
.matchplay-draw-progress {
    width: 100%;
    height: .48rem;
    overflow: hidden;
    margin-top: .55rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, .7);
    border: 1px solid rgba(148, 163, 184, .16);
}
.matchplay-draw-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(96, 165, 250, .85), rgba(34, 197, 94, .85));
    transition: width .45s ease;
}
.matchplay-draw-live-list {
    position: relative;
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}
.matchplay-draw-live-step {
    display: grid;
    gap: .6rem;
    padding: .85rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 6, 23, .44);
    opacity: 1;
    transform: none;
}
.matchplay-draw-live-step[hidden] { display: none; }
.matchplay-draw-live-step.is-visible {
    animation: matchplayDrawStepIn .55s ease forwards;
}
.matchplay-draw-live-step.is-active {
    border-color: rgba(96, 165, 250, .58);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, .22), 0 22px 42px rgba(14, 165, 233, .11);
}
.matchplay-draw-live-step__number {
    color: #93c5fd;
    font-size: .8rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.matchplay-draw-live-step__players {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .65rem;
    align-items: stretch;
}
.matchplay-draw-live-step__players > div {
    display: grid;
    gap: .1rem;
    min-width: 0;
    padding: .7rem;
    border-radius: .9rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}
.matchplay-draw-live-step__players strong {
    color: #f8fafc;
    overflow-wrap: anywhere;
}
.matchplay-draw-live-step__players small { color: #bfdbfe; }
.matchplay-draw-live-step__players > span {
    align-self: center;
    color: #fde68a;
    font-weight: 950;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
}
.matchplay-draw-live-step__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.matchplay-draw-live-step__meta span {
    display: inline-flex;
    width: fit-content;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(125, 211, 252, .26);
    color: #bfdbfe;
    font-size: .78rem;
    font-weight: 800;
}
.matchplay-bracket--after-draw {
    margin-top: 1.2rem;
}
.matchplay-bracket--after-draw[hidden],
.matchplay-draw-live__controls[hidden] {
    display: none !important;
}
@keyframes matchplayDrawSweep {
    0%, 38% { transform: translateX(-120%); }
    62%, 100% { transform: translateX(120%); }
}
@keyframes matchplayDrawOrbit {
    to { transform: rotate(360deg); }
}
@keyframes matchplayDrawPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
@keyframes matchplayDrawStepIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 760px) {
    .matchplay-draw-live__head,
    .matchplay-draw-machine {
        flex-direction: column;
        align-items: flex-start;
    }
    .matchplay-draw-live-step__players {
        grid-template-columns: 1fr;
    }
    .matchplay-draw-live-step__players > span {
        justify-self: start;
    }
}
@media (prefers-reduced-motion: reduce) {
    .matchplay-draw-machine::after,
    .matchplay-draw-machine__wheel,
    .matchplay-draw-machine__wheel::before,
    .matchplay-draw-machine__wheel::after,
    .matchplay-draw-machine__wheel span,
    .matchplay-draw-live-step.is-visible,
    .matchplay-draw-reveal {
        animation: none !important;
    }
}


/* DBZP Matchplay live-loting 284Dd - schema pas tonen na afloop */
.matchplay-bracket--locked-until-complete,
.matchplay-bracket--locked-until-complete[hidden],
.matchplay-bracket--after-draw[hidden],
[data-full-bracket][hidden] {
    display: none !important;
}
.matchplay-draw-live__controls [data-live-skip] {
    display: none !important;
}


/* DBZP Matchplay live-loting 284De - namen één voor één onthullen */
.matchplay-draw-live-step__players [data-live-slot][hidden],
.matchplay-draw-live-step__players [data-live-versus][hidden],
.matchplay-draw-live-step [data-live-meta][hidden] {
    display: none !important;
}
.matchplay-draw-live-step__players [data-live-slot].is-slot-visible {
    animation: matchplayDrawStepIn .55s ease forwards;
}


/* DBZP Matchplay live-loting 284Df - replay pas onder gepubliceerd bracket */
.matchplay-draw-replay-card {
    margin-top: 1.2rem;
    border: 1px solid rgba(96, 165, 250, .22);
    background: rgba(15, 23, 42, .72);
}
.matchplay-draw-replay-card summary {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    cursor: pointer;
    list-style: none;
    color: #f8fafc;
    font-weight: 950;
}
.matchplay-draw-replay-card summary::-webkit-details-marker {
    display: none;
}
.matchplay-draw-replay-card summary::after {
    content: 'Open replay';
    display: inline-flex;
    width: fit-content;
    margin-top: .45rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, .32);
    background: rgba(37, 99, 235, .16);
    color: #bfdbfe;
    font-size: .78rem;
    font-weight: 900;
}
.matchplay-draw-replay-card[open] summary::after {
    content: 'Sluit replay';
}
.matchplay-draw-replay-card summary small {
    color: #bfdbfe;
    font-weight: 700;
}
.matchplay-draw-replay-body {
    margin-top: 1rem;
}
.matchplay-draw-replay-body .matchplay-draw-live {
    padding-top: .25rem;
}

/* 284Dk - DBZP Matchplay polish + beheercomfort */
.dbzp-matchplay-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.25rem;
}
.dbzp-matchplay-overview__item {
    padding: 1rem 1.1rem;
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .18);
}
.dbzp-matchplay-overview__item span,
.dbzp-matchplay-overview__item small {
    display: block;
    color: rgba(226, 232, 240, .72);
    font-weight: 700;
}
.dbzp-matchplay-overview__item strong {
    display: block;
    margin: .2rem 0 .15rem;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1;
    color: #f8fafc;
}
.dbzp-matchplay-card__state {
    display: inline-flex;
    width: fit-content;
    margin-top: .55rem;
    padding: .28rem .68rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(15, 23, 42, .68);
    color: rgba(226, 232, 240, .86);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
}
.dbzp-matchplay-card__state--published,
.matchplay-draw-status--published {
    background: rgba(34, 197, 94, .16);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, .34);
}
.dbzp-matchplay-card__state--drawn,
.matchplay-draw-status--drawn {
    background: rgba(59, 130, 246, .16);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, .36);
}
.dbzp-matchplay-card__state--planned,
.matchplay-draw-status--planned {
    background: rgba(250, 204, 21, .14);
    color: #fde68a;
    border-color: rgba(250, 204, 21, .32);
}
.matchplay-draw-status--not_planned {
    background: rgba(148, 163, 184, .13);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, .28);
}
.homepage-matchplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.homepage-matchplay-card h3 {
    margin-top: .55rem;
}
.homepage-matchplay-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    color: var(--muted, #cbd5e1);
    font-weight: 700;
}
.homepage-matchplay-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .85rem 0;
}
.homepage-matchplay-card__stats span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .55);
    padding: .38rem .62rem;
    color: rgba(226, 232, 240, .82);
    font-size: .86rem;
    font-weight: 800;
}
.homepage-matchplay-card__stats strong {
    color: #f8fafc;
}
.homepage-matchplay-card__draw {
    color: var(--muted, #cbd5e1);
    font-weight: 700;
}
.matchplay-admin-quicklinks {
    display: grid;
    gap: 1rem;
}
.matchplay-admin-quicklinks__badges,
.matchplay-admin-quicklinks__actions,
.matchplay-admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}
.matchplay-admin-overview-table td {
    vertical-align: top;
}
@media (max-width: 760px) {
    .dbzp-matchplay-overview {
        grid-template-columns: 1fr;
    }
    .matchplay-admin-quicklinks__actions .button,
    .homepage-matchplay-card .button,
    .dbzp-matchplay-draw-link .button {
        width: 100%;
        justify-content: center;
    }
}

/* 284Dl - Editor image upload */
.editor-inline-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 10px;}
.editor-upload-help {margin:0;}
.editor-upload-status {display:inline-flex;align-items:center;min-height:1.9rem;color:var(--text-soft);font-size:.9rem;}
.editor-upload-status.is-error {color:#ffb3ae;font-weight:700;}
.regulation-editor__toolbar input[type="file"], .editor-inline-toolbar input[type="file"] {display:none!important;}
.editor-image {margin:1.4rem 0;padding:0;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);}
.editor-image img {display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:rgba(0,0,0,.18);}
.editor-image figcaption {padding:10px 14px;color:var(--text-soft);font-size:.92rem;line-height:1.5;background:rgba(0,0,0,.16);}
.regulation-editor__surface .editor-image {max-width:920px;}
.regulation-editor__surface .editor-image img {max-height:520px;}
.article-content .editor-image, .regulation-content .editor-image, .managed-page-content .editor-image {max-width:100%;}
.article-content img, .regulation-content img, .managed-page-content img {max-width:100%;height:auto;border-radius:16px;}

/* 294Af - Reglementenbeheer sorteerinput */
.admin-sort-input {
    width: 86px;
    max-width: 100%;
    padding: 7px 9px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: inherit;
}

/* 0105Aa - Wedstrijdformulieren */
.match-forms-list {
    display: grid;
    gap: 28px;
}
.match-forms-category > h2 {
    margin: 0 0 16px;
}
.match-form-card h3 {
    margin-top: 0;
}
.match-form-actions {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
@media (max-width: 720px) {
    .match-form-actions {
        align-items: stretch;
    }
    .match-form-actions .button,
    .match-form-actions .text-link {
        width: 100%;
        text-align: center;
    }
}


/* 0105Ad - Matchplay uitnodiging: opkomstnummer */
.matchplay-invitation-container {
    max-width: 1120px;
}

.matchplay-invitation-card {
    padding: 28px;
}

.matchplay-invitation-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.matchplay-invitation-card__head h2 {
    margin: 4px 0 4px;
}

.matchplay-invitation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.matchplay-invitation-response {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 20px;
}

.matchplay-invitation-response h3 {
    margin-top: 0;
}

.matchplay-invitation-response--decline {
    background: rgba(255, 255, 255, 0.02);
}

.matchplay-walk-on-fields {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.matchplay-walk-on-fields .required {
    color: #ffb15d;
}

.matchplay-invitation-confirmed {
    background: rgba(47, 111, 255, 0.08);
    border: 1px solid rgba(47, 111, 255, 0.22);
    border-radius: 18px;
    padding: 20px;
}

.matchplay-walk-on-admin {
    display: block;
    color: var(--admin-text-soft, #aebbd0);
}

@media (max-width: 860px) {
    .matchplay-invitation-card__head,
    .matchplay-invitation-grid {
        display: block;
    }

    .matchplay-invitation-status {
        display: inline-flex;
        margin-top: 12px;
    }

    .matchplay-invitation-response + .matchplay-invitation-response {
        margin-top: 18px;
    }
}

/* 0105Ae - Matchplay: aanvangstijd per speeldag eerste ronde */
.matchplay-day-times-field {
    grid-column: 1 / -1;
}
.matchplay-day-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
    margin-top: 0.65rem;
}
.matchplay-day-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(119, 158, 255, 0.26);
    border-radius: 16px;
    background: rgba(8, 22, 47, 0.42);
}
.matchplay-day-time-row span {
    min-width: 0;
}
.matchplay-day-time-row strong,
.matchplay-day-time-row small {
    display: block;
}
.matchplay-day-time-row small {
    color: var(--muted);
    margin-top: 0.15rem;
}
.matchplay-day-time-row input[type="time"] {
    max-width: 8rem;
    flex: 0 0 8rem;
}
