/* WK 2026 – Speelschema: professionele wedstrijdkaarten + voorspellen */
.wk-schema-toolbar {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
    border: 1px solid rgba(249, 115, 22, 0.28);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.1);
}
.wk-schema-toolbar-lead {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
}
.wk-schema-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.wk-schema-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wk-schema-filter:hover {
    border-color: #fdba74;
    color: #c2410c;
}
.wk-schema-filter.active {
    background: linear-gradient(135deg, #f97316, #c2410c);
    color: #fff;
    border-color: transparent;
}
.wk-schema-match-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.wk-schema-card {
    position: relative;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.wk-schema-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}
.wk-schema-card--nl {
    border-left: 4px solid #f97316;
}
.wk-schema-card--be {
    border-left: 4px solid #fbbf24;
}
.wk-schema-card--played {
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-color: rgba(34, 197, 94, 0.35);
}
.wk-schema-card--predict {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.12);
}
.wk-schema-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.65rem;
    padding: 0.7rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.wk-schema-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    background: #1e293b;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.wk-schema-card-phase {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}
.wk-schema-card-status {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}
.wk-schema-card-status.is-played {
    background: #dcfce7;
    color: #166534;
}
.wk-schema-card-status.is-open {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}
.wk-schema-card-when {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}
.wk-schema-card-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding: 1.15rem 1.1rem;
}
.wk-schema-card-team {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}
.wk-schema-card-team.is-home {
    justify-content: flex-end;
    text-align: right;
}
.wk-schema-card-team.is-away {
    justify-content: flex-start;
}
.wk-schema-card-team.is-slot .wk-schema-card-team-name {
    font-size: 0.82rem;
    color: #9a3412;
    line-height: 1.35;
}
.wk-schema-card-flag {
    font-size: 1.65rem;
    line-height: 1;
    flex-shrink: 0;
}
.wk-schema-card-team-name {
    font-size: 1.08rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.25;
    word-break: break-word;
    letter-spacing: -0.01em;
}
.wk-schema-card-team-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 0;
}
.wk-schema-card-team.is-home .wk-schema-card-team-line {
    justify-content: flex-end;
}
.wk-team-detail-btn {
    flex-shrink: 0;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 900;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.wk-team-detail-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}
.wk-team-detail-btn:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}
.wk-schema-card-score,
.wk-schema-card-predict {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 4.5rem;
}
.wk-schema-card-score.is-final {
    font-size: 1.65rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.02em;
}
.wk-schema-card-score.is-pending .wk-schema-card-score-sep {
    font-size: 1.45rem;
    font-weight: 900;
    color: #cbd5e1;
}
.wk-schema-card-score-sep {
    font-size: 1.35rem;
    font-weight: 900;
    color: #64748b;
}
.wk-schema-card-predict input {
    width: 3.1rem;
    height: 3.1rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: inherit;
    border: 2px solid #0f172a;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.wk-schema-card-predict input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.wk-schema-card-ko-pick {
    padding: 0 1rem 0.85rem;
    border-top: 1px dashed #e2e8f0;
}
.wk-schema-card-ko-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
}
.wk-schema-card-ko-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.wk-ko-cascade--schema .wk-ko-cascade-row {
    padding-left: 0;
}
.wk-ko-cascade--schema .wk-schema-ko-inp {
    width: 2.75rem;
    padding: 0.4rem 0.35rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
}
.wk-ko-cascade--schema .wk-ko-pen-opt.wk-schema-ko-opt {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 8rem;
}
.wk-schema-ko-opt {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 8rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}
.wk-schema-ko-opt:hover {
    border-color: #fdba74;
}
.wk-schema-ko-opt.is-selected {
    border-color: #f97316;
    background: #fff7ed;
    color: #c2410c;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}
.wk-schema-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}
.wk-schema-card-foot {
    flex: 1 1 12rem;
    min-width: 0;
    padding: 0.65rem 1rem 0.85rem;
    font-size: 0.78rem;
    color: #475569;
    border-top: none;
    background: transparent;
}
.wk-schema-card-result-detail {
    flex: 0 1 auto;
    margin-left: auto;
    padding: 0.65rem 1rem 0.85rem;
    text-align: right;
    max-width: min(100%, 17rem);
}
.wk-schema-card--played .wk-schema-card-result-detail {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, transparent 100%);
}
.wk-schema-result-when {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.wk-schema-result-goals {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wk-schema-result-goals li {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0 0 0.2rem;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #334155;
}
.wk-schema-result-min {
    flex-shrink: 0;
    min-width: 2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #15803d;
}
.wk-schema-card--played .wk-schema-result-min {
    color: #166534;
}
.wk-schema-result-flag {
    flex-shrink: 0;
    font-size: 0.9rem;
}
.wk-schema-result-player {
    font-weight: 600;
    color: #1e293b;
}
.wk-schema-result-eind {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #15803d;
}
body.wk-land-be .wk-schema-result-min {
    color: #b45309;
}
body.wk-land-be .wk-schema-card--played .wk-schema-card-result-detail {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, transparent 100%);
}
.wk-schema-card-foot .wk-match-venue {
    color: #475569;
}
.wk-schema-card-foot .wk-match-venue strong {
    color: #334155;
}
.wk-schema-card-tip {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #334155;
    font-weight: 500;
}
.wk-schema-card-foot .wk-match-edu-tip {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 500;
}
.wk-schema-save-bar {
    margin: 1rem 0 0;
    padding: 0.65rem 0.75rem;
    text-align: center;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.wk-schema-save-bar .wk-btn-save {
    width: auto;
    min-width: min(100%, 200px);
}
.wk-schema-save-bar .wk-btn-save--bulk {
    min-width: auto;
}
.wk-schema-save-hint {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: #475569;
}
.wk-schema-app-hint {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}
.wk-schema-app-hint a {
    color: #c2410c;
    font-weight: 800;
}
.wk-schema-round-title {
    margin: 1.25rem 0 0.65rem;
    padding: 0.5rem 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: #c2410c;
    border-bottom: 3px solid #fed7aa;
}
body.wk-land-be .wk-schema-round-title {
    color: #fbbf24;
    border-bottom-color: #fde68a;
}
@media (max-width: 560px) {
    .wk-schema-card-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .wk-schema-card-result-detail {
        margin-left: 0;
        max-width: none;
        text-align: left;
        order: -1;
        border-bottom: 1px dashed #e2e8f0;
    }
    .wk-schema-result-goals li {
        justify-content: flex-start;
    }
    .wk-schema-card-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.65rem;
    }
    .wk-schema-card-team.is-home,
    .wk-schema-card-team.is-away {
        justify-content: center;
        text-align: center;
    }
    .wk-schema-card-when {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .wk-schema-card-predict,
    .wk-schema-card-score.is-final {
        order: -1;
    }
    .wk-schema-ko-opt {
        flex: 1 1 100%;
    }
}

/* Gespeelde wedstrijd verbergen (per deelnemer, localStorage) */
.wk-played-dismiss {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #64748b;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    transition: background 0.2s, color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    font: inherit;
}
.wk-played-dismiss:hover {
    background: #fee2e2;
    color: #b91c1c;
}
.wk-played-dismiss:active {
    transform: scale(0.94);
}
.wk-played-dismiss:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}
.wk-played-dismiss-icon {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 300;
    display: block;
    margin-top: -0.06em;
}
.wk-schema-card--dismissible .wk-schema-card-head {
    padding-right: 3rem;
}
