html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #101b2d;
    color: #f7f5ef;
}

h1:focus {
    outline: none;
}

/* Wat er te zien is terwijl de eerste pagina nog laadt: hetzelfde logo als het laadscherm. */
.app-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.app-loading img {
    height: 36px;
    width: auto;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #142238;
        width: 100%;
        z-index: 1;
    }
}

/* Navigatie */
.appbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    background: var(--mud-palette-drawer-background);
    border-top: 1px solid var(--mud-palette-lines-default);
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
    text-decoration: none;
    color: var(--mud-palette-drawer-text);
    font-size: 0.625rem;
    padding: 6px 0;
    transition: color 0.15s;
}

.bottom-nav-item.active {
    color: var(--mud-palette-primary);
}

.bottom-nav-label {
    font-size: 0.625rem;
    line-height: 1;
}

/* Algemeen */
.page-title {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    word-break: break-word;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 8px;
}

.list-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--mud-palette-surface);
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.list-card-body {
    flex: 1;
    min-width: 0;
}

.list-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-card-sub {
    font-size: 0.8rem;
    opacity: 0.55;
    margin-top: 2px;
}

.badge-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 900;
    font-size: 1.05rem;
}

.badge-primary {
    background: var(--mud-palette-primary);
    color: #fff;
}

.badge-neutral {
    background: var(--mud-palette-action-default-hover);
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

/* Gastbanner */
.guest-title {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}

.cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px 24px;
    background: linear-gradient(to top, var(--mud-palette-background) 70%, transparent);
    pointer-events: none;
}

.cta-inner {
    max-width: 480px;
    margin: 0 auto;
    pointer-events: auto;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--mud-palette-primary-text);
    background-color: var(--mud-palette-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ronde-kop */
.round-header {
    background: var(--mud-palette-gray-dark);
    border-radius: 14px;
    padding: 12px 16px;
    min-width: 0;
}

.round-header-text {
    min-width: 0;
    overflow: hidden;
}

.round-title {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    white-space: nowrap;
}

.round-dates {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.round-progress {
    display: block;
    white-space: nowrap;
}

.round-progress-done {
    color: var(--mud-palette-success);
}

.round-progress-open {
    color: var(--mud-palette-warning);
}

/* Wedstrijdkaart */
.team-logo {
    object-fit: contain;
    border-radius: 4px;
}

.team-initials {
    border-radius: 50%;
    background: var(--mud-palette-gray-light);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.match-team-name {
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.final-label {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}

.final-score {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.prediction-pill {
    margin-top: 4px;
    background: var(--mud-palette-gray-default);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    opacity: 0.8;
}

.prediction-edit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-box {
    width: 88px;
    flex: 0 0 64px;
}

.score-box input {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-team {
    color: var(--mud-palette-primary);
}

.summary-dim {
    opacity: 0.5;
}

.saved-note {
    color: var(--mud-palette-success);
}

.rule-tiles {
    display: flex;
    gap: 8px;
}

.rule-tile {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--mud-palette-gray-default);
    background: var(--mud-palette-gray-default);
}

.rule-tile-correct {
    border-color: var(--mud-palette-success);
    background: var(--mud-palette-success-darken);
}

.rule-tile-head {
    display: flex;
    justify-content: space-between;
}

.rule-tile-title {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.rule-tile-points {
    font-size: 0.8rem;
    font-weight: 700;
}

.rule-tile-main {
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rule-tile-actual {
    font-size: 0.62rem;
    opacity: 0.8;
}

/* Klassement */
.rank-row {
    background: var(--mud-palette-surface);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.rank-row-me {
    background: var(--mud-palette-gray-default);
}

.rank-pos {
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.rank-pos-num {
    font-size: 1rem;
    font-weight: 200;
    line-height: 1;
}

.rank-trend {
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

.rank-trend-up {
    color: var(--mud-palette-success);
}

.rank-trend-down {
    color: var(--mud-palette-error);
}

.rank-row-me .rank-trend {
    color: rgba(255, 255, 255, 0.8);
}

.rank-main {
    flex: 1;
    min-width: 0;
}

.rank-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rank-name {
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leader-pill {
    background: #a8e040;
    color: #0d1b2e;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 20px;
    padding: 2px 8px;
    white-space: nowrap;
}

.rank-sub {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
}

.rank-total {
    flex-shrink: 0;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

/* Wedstrijddetail */
.card-tappable {
    cursor: pointer;
}

.details-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    opacity: 0.4;
}

.detail-subtitle {
    display: block;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

.detail-title {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.hero-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 90px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.hero-tile-scored {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.hero-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
}

.hero-tile-scored .hero-label {
    opacity: 0.75;
}

.hero-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-value-time {
    font-size: 1.6rem;
}

.hero-value-dim {
    opacity: 0.4;
}

.hero-value-small {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.6;
}

.poule-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.poule-tab {
    flex-shrink: 0;
    border-radius: 20px;
    white-space: nowrap;
}

.detail-summary {
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}

.detail-empty {
    margin-left: 4px;
    opacity: 0.4;
}

/* Voorspellingen van een poule */
.tip-row {
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.tip-row-me {
    background: var(--mud-palette-gray-default);
}

.tip-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.tip-main-open {
    padding-bottom: 4px;
}

.tip-rank {
    min-width: 18px;
    font-weight: 700;
    text-align: center;
    opacity: 0.3;
}

.tip-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tip-row-me .tip-name {
    font-weight: 700;
}

.tip-hidden {
    opacity: 0.3;
}

.tip-score {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.tip-points {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.tip-points-good {
    color: var(--mud-palette-success);
}

.tip-points-bad {
    color: var(--mud-palette-error);
}

.tip-breakdown {
    padding: 2px 16px 10px;
    font-size: 0.75rem;
    opacity: 0.45;
}

.tip-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 2px 16px 10px;
}

.tip-pill {
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--mud-palette-gray-dark);
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.tip-pill-correct {
    background: var(--mud-palette-success-darken);
    color: var(--mud-palette-success-lighten);
}

/* Statistieken tijdens de wedstrijd */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.stats-card,
.stats-tile {
    background: var(--mud-palette-gray-dark);
}

.stats-card {
    padding: 12px;
    border-radius: 10px;
}

.stats-title {
    margin-bottom: 2px;
    font-size: 0.7rem;
    font-weight: 800;
}

.stats-pct {
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.stats-home .stats-title,
.stats-home .stats-pct {
    color: var(--mud-palette-primary);
}

.stats-home .stats-bar-fill {
    background: var(--mud-palette-primary);
}

.stats-away .stats-title,
.stats-away .stats-pct {
    color: var(--mud-palette-secondary);
}

.stats-away .stats-bar-fill {
    background: var(--mud-palette-secondary);
}

.stats-bar-label {
    margin-bottom: 1px;
    font-size: 0.65rem;
    color: var(--mud-palette-text-secondary);
}

.stats-bar-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.stats-bar-track {
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--mud-palette-lines-default);
}

.stats-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.stats-bar-value {
    min-width: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: right;
}

.stats-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.stats-tile {
    padding: 8px 10px;
    border-radius: 8px;
}

.stats-tile-label {
    margin-bottom: 2px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
}

.stats-tile-value {
    font-size: 1.1rem;
    font-weight: 900;
}

.stats-tile-accent {
    color: var(--mud-palette-primary);
}

/* Tabellen (seizoen) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    font-size: 0.88rem;
}

.data-table th {
    padding: 8px 6px;
    border-bottom: 2px solid var(--mud-palette-lines-default);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--mud-palette-text-secondary);
}

.data-table td {
    padding: 8px 6px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
}

.data-table .data-team {
    text-align: left;
    color: var(--mud-palette-text-primary);
}

.data-table th.data-team {
    color: var(--mud-palette-text-secondary);
}

.data-table .data-pos {
    min-width: 28px;
    font-weight: 700;
    opacity: 0.7;
}

.data-table .data-accent {
    font-weight: 700;
    color: var(--mud-palette-primary);
}

.data-row {
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-left: 3px solid transparent;
}

.data-row-top4 {
    border-left-color: var(--mud-palette-primary);
}

.data-row-top4 .data-team {
    font-weight: 600;
}

.diff {
    font-size: 0.8rem;
}

.diff-none {
    opacity: 0.3;
}

.diff-good,
.points-good {
    font-weight: 700;
    color: var(--mud-palette-success);
}

.diff-bad {
    font-weight: 700;
    color: var(--mud-palette-error);
}

.points-none {
    font-size: 0.75rem;
    opacity: 0.4;
}

.table-note {
    display: block;
    margin-top: 8px;
    opacity: 0.45;
}

/* Eindstand invullen */
.editor-intro {
    display: block;
    margin-bottom: 16px;
    opacity: 0.6;
}

.editor-table {
    margin-bottom: 16px;
}

.editor-table td {
    padding: 2px 6px;
}

.editor-table .mud-input-control {
    margin-top: 0;
}

.bonus-card {
    border-radius: 14px;
}

.bonus-help {
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}

.bonus-field {
    max-width: 200px;
}

.pick-card {
    padding: 12px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
}

.pick-label {
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: var(--mud-palette-primary);
}

.pick-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pick-button {
    flex: 1;
    min-width: 0;
}

.pick-vs {
    flex-shrink: 0;
    font-size: 0.85rem;
    opacity: 0.4;
}

.bracket-side {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.bracket-team {
    width: 100%;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--mud-palette-gray-default);
    color: var(--mud-palette-text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.bracket-team-won {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: 600;
}

.bracket-points {
    font-size: 0.75rem;
    opacity: 0.4;
}

.bracket-points-good {
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--mud-palette-success);
    color: var(--mud-palette-success-text);
    font-weight: 700;
    opacity: 1;
}

.summary-card {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.summary-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-strong {
    font-weight: 600;
}

.summary-dim {
    font-size: 0.8rem;
    opacity: 0.6;
}

.reminder-help {
    opacity: 0.6;
}

.muted-text {
    opacity: 0.5;
}

.text-right {
    text-align: right;
}

.pill-button {
    border-radius: 2rem;
    font-weight: 800;
    text-transform: none;
}

.section-heading {
    display: block;
    margin-bottom: 8px;
    opacity: 0.5;
}

.tab-heading {
    margin-bottom: 8px;
    font-weight: 700;
    opacity: 0.6;
}

/* Ranglijstrij (MudBlazor-opbouw) */
.rank-line {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.mud-link.rank-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.rank-main {
    min-width: 0;
}

.rank-total-box {
    flex-shrink: 0;
}

.rank-round-points {
    margin-top: 2px;
    font-size: 0.7rem;
    color: var(--mud-palette-success);
}

.mud-chip.mud-chip-filled.leader-pill {
    height: 20px;
    margin: 0;
    background: #a8e040;
    color: #0d1b2e;
    font-size: 0.65rem;
    font-weight: 800;
}

.mud-avatar.round-dot {
    width: 16px;
    height: 16px;
    margin-right: 2px;
    border-radius: 3px;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
}

.mud-avatar.round-dot-correct {
    background: var(--mud-palette-success);
}

.mud-avatar.round-dot-wrong {
    background: var(--mud-palette-error);
}

.mud-avatar.round-dot-pending {
    background: var(--mud-palette-action-disabled);
}

.rank-row-me .mud-avatar.round-dot-pending {
    background: rgba(255, 255, 255, 0.3);
}

/* Rondewinsten */
.recent-round {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    cursor: pointer;
}

.recent-text {
    flex: 1;
    min-width: 0;
}

.recent-label {
    line-height: 1.2;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.recent-winner {
    font-size: 0.95rem;
    font-weight: 700;
}

.recent-winner-me {
    color: var(--mud-palette-primary);
}

.mud-button-root.all-rounds-button {
    padding: 14px 16px;
    border-style: dashed;
    border-radius: 14px;
    font-weight: 700;
    text-transform: none;
}

.round-picker-text {
    flex: 1;
    min-width: 0;
}

/* Seizoensvoorspellingen van de poule */
.pick-title {
    margin-bottom: 8px;
    font-weight: 600;
}

.member-name {
    font-weight: 600;
}

.member-line {
    padding: 3px 0;
}

.member-pos {
    width: 20px;
    text-align: right;
    color: var(--mud-palette-text-secondary);
}

.member-team {
    flex: 1;
}

.member-now {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.member-now-ok {
    color: var(--mud-palette-success);
}

/* Poule aangemaakt */
.created-dialog {
    padding: 8px 0;
    text-align: center;
}

.created-link {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--mud-palette-gray-dark);
}

.created-url {
    flex: 1;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Spelregels (waarden van de website) */
.scoring-summary {
    padding: 2rem 1.75rem 1.5rem;
    border-radius: 16px;
    background: #151929;
    color: #fff;
}

.scoring-title {
    font-size: clamp(1.7rem, 8vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.scoring-title-top {
    color: #fff;
}

.scoring-title-bottom {
    color: #f7651b;
}

.scoring-intro {
    margin-bottom: 0.6rem;
    color: #8892a4;
}

.mud-chip.scoring-category {
    background: #252d3d;
    color: #fff;
    font-weight: 600;
}

.scoring-number {
    margin-left: 4px;
    color: #c8f135;
    font-weight: 700;
}

.scoring-rows {
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #1e2740;
}

.scoring-row {
    padding: 0.85rem 1.1rem;
}

.scoring-row-bonus {
    background: #f7651b;
}

.scoring-row-text {
    flex: 1;
    min-width: 0;
}

.scoring-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.scoring-label-bonus {
    color: #151929;
}

.scoring-desc {
    font-size: 0.82rem;
    color: #8892a4;
}

.scoring-desc-bonus {
    color: rgba(21, 25, 41, 0.75);
}

.scoring-points {
    min-width: 2rem;
    flex-shrink: 0;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    text-align: right;
    color: #c8f135;
}

.scoring-points-bonus {
    color: #151929;
}

.mud-divider.scoring-divider {
    margin: 0 1.1rem;
    background: rgba(255, 255, 255, 0.07);
}

.scoring-highlight {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #c8f135;
}

.scoring-footer {
    display: block;
    font-size: 0.78rem;
    color: #8892a4;
}

.example-card {
    overflow: hidden;
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.example-row-dimmed {
    opacity: 0.35;
}

.example-total {
    border-top: 2px solid var(--mud-palette-divider);
}

.text-center {
    text-align: center;
}

/* Welkom */
.welcome-card {
    padding: 20px;
    border-radius: 16px;
}

.welcome-card-primary {
    background: var(--mud-palette-primary);
}

.welcome-card-title {
    margin-bottom: 4px;
    font-weight: 900;
    text-transform: uppercase;
}

.welcome-card-text {
    margin-bottom: 16px;
    opacity: 0.85;
}

.welcome-card-primary .welcome-card-title,
.welcome-card-primary .welcome-card-text {
    color: var(--mud-palette-primary-text);
}

.mud-button-root.welcome-card-button {
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 700;
}

/* Samenvatting van een eindstand */
.summary-table {
    overflow: hidden;
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.summary-total {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Keuze wat meetelt in een pool */
.choice-card {
    padding: 12px;
    cursor: pointer;
    border: 2px solid var(--mud-palette-lines-default);
    border-radius: 14px;
}

.choice-card-selected {
    border-color: var(--mud-palette-primary);
}

.choice-title {
    font-weight: 700;
}

.settings-note {
    padding: 12px;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: 12px;
}

/* Mededelingen van de beheerders */
.announcement-dialog {
    padding: 8px 0;
}

.announcement-label {
    color: var(--mud-palette-primary);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.announcement-highlight {
    color: var(--mud-palette-primary);
}

/* Maandklassement */
.rank-row-dim {
    opacity: 0.5;
}

.month-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.month-pill {
    flex-shrink: 0;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: none;
    padding: 4px 16px;
    min-width: 56px;
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-secondary);
}

.month-pill-active {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.sponsor-card {
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.sponsor-card-link {
    cursor: pointer;
}

.sponsor-label {
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sponsor-name {
    font-weight: 800;
    line-height: 1.2;
}

.sponsor-logo-box {
    background: #fff;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sponsor-logo {
    max-height: 48px;
    max-width: 110px;
    width: auto;
    height: auto;
    display: block;
}

.sponsor-logo-full {
    max-height: 90px;
    max-width: 100%;
}

.monthly-banner {
    cursor: pointer;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.monthly-banner-title {
    font-weight: 800;
    line-height: 1.2;
}

.rule-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

/* Het logo van de sponsor over de volle breedte van de kaart, en klein in de banner op de poolpagina */
.sponsor-logo-box-full {
    width: 100%;
}

.sponsor-logo-full {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
}

.sponsor-logo-small {
    max-height: 40px;
    max-width: 90px;
}

/* Waarschuwing op een test- of ontwikkelomgeving */
.env-banner {
    position: sticky;
    top: 0;
    z-index: 2000;
    padding: 4px 0;
    background: #f59e0b;
    color: #000;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
