/* ==================================================
   Basis
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #102033;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

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

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.page-content {
    min-height: calc(100vh - 129px);
    padding: 56px 0;
}

h1 {
    margin: 0 0 20px;
    color: #102033;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

p {
    margin: 0 auto 32px;
    max-width: 560px;
    color: #44546a;
    font-size: 18px;
    line-height: 1.6;
}

.intro {
    max-width: 720px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ff6b00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.content-card,
.hero,
.auth-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(16, 32, 51, 0.10);
}

.content-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px;
}

.hero {
    max-width: 760px;
    padding: 48px;
    text-align: center;
}

.hero-page {
    min-height: calc(100vh - 129px);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button-primary {
    background: #ff6b00;
    color: #ffffff;
}

.button-primary:hover {
    background: #e85f00;
}

.button-secondary {
    background: #edf1f7;
    color: #102033;
}

.button-secondary:hover {
    background: #dfe6f1;
}

/* ==================================================
   Header / navigatie
================================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e4e9f2;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo {
    color: #102033;
    font-weight: 900;
    text-decoration: none;
}

.logo-short {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #44546a;
    text-decoration: none;
    font-weight: 800;
}

.main-nav a:hover {
    color: #ff6b00;
}

.nav-button {
    background: #ff6b00;
    color: #ffffff !important;
    padding: 10px 14px;
    border-radius: 999px;
}

.mobile-menu-button {
    display: none;
}

.guest-nav {
    margin-left: auto;
}

/* ==================================================
   Footer
================================================== */

.site-footer {
    padding: 28px 0;
    border-top: 1px solid #e4e9f2;
    color: #667085;
    text-align: center;
}

/* ==================================================
   Forms
================================================== */

.form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    text-align: left;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #102033;
    font-weight: 800;
}

.form-group input,
.form-group select,
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cdd6e5;
    border-radius: 12px;
    background: #ffffff;
    color: #102033;
    font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.auth-card input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14);
}

.form-success,
.form-error {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: left;
    font-weight: 800;
}

.form-success {
    background: #edfdf3;
    color: #146c43;
}

.form-error {
    background: #fff2f0;
    color: #b42318;
}

.form-error ul {
    margin: 0;
    padding-left: 18px;
}

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

.form-grid-fixtures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #44546a;
    font-weight: 800;
}

/* ==================================================
   Auth / landing
================================================== */

.auth-page {
    min-height: calc(100vh - 129px);
}

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 48px;
    text-align: center;
}

.auth-card form {
    display: grid;
    gap: 18px;
}

.auth-card label {
    display: block;
    margin-bottom: 8px;
    color: #102033;
    font-weight: 800;
}

.auth-card a {
    color: #44546a;
    font-weight: 800;
}

.auth-card a:hover {
    color: #ff6b00;
}

.auth-card .text-sm {
    font-size: 14px;
}

.auth-card .text-gray-600,
.auth-card .text-gray-500,
.auth-card .text-gray-400 {
    color: #667085;
}

.auth-card .mt-4 {
    margin-top: 16px;
}

.auth-card .mb-4 {
    margin-bottom: 16px;
}

.auth-card .block {
    display: block;
}

.auth-card .flex {
    display: flex;
}

.auth-card .items-center {
    align-items: center;
}

.auth-card .justify-end {
    justify-content: flex-end;
}

.auth-card .justify-between {
    justify-content: space-between;
}

.auth-card .ms-2,
.auth-card .ml-2 {
    margin-left: 8px;
}

.auth-card .ms-3,
.auth-card .ml-3 {
    margin-left: 12px;
}

.auth-card .w-full {
    width: 100%;
}

.auth-card .underline {
    text-decoration: underline;
}

.auth-card .rounded-md {
    border-radius: 12px;
}

.auth-card .shadow-sm {
    box-shadow: none;
}

.auth-card .border-gray-300 {
    border-color: #cdd6e5;
}

.auth-card .text-red-600 {
    color: #d92d20;
}

.auth-card ul {
    margin: 0 0 18px;
    padding-left: 20px;
    color: #d92d20;
}

.auth-landing-card {
    max-width: 620px;
}

.auth-landing-card p {
    max-width: 420px;
    margin-bottom: 28px;
}

.auth-landing-actions {
    margin-bottom: 18px;
}

.auth-landing-small-link a {
    color: #667085;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.auth-landing-small-link a:hover {
    color: #ff6b00;
}

/* ==================================================
   Tabellen
================================================== */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 32px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.data-table th,
.data-table td {
    padding: 12px;
    border-bottom: 1px solid #e4e9f2;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #f8fafd;
    color: #102033;
    font-size: 14px;
    font-weight: 900;
}

.data-table td {
    color: #44546a;
}

.data-table tr.is-current-user td {
    background: #fff7ed;
}

/* ==================================================
   Algemene componenten
================================================== */

.empty-state,
.auth-info-box,
.admin-panel,
.rule,
.detail-card {
    padding: 22px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.empty-state {
    display: grid;
    gap: 8px;
    margin: 32px 0;
    border-style: dashed;
    color: #44546a;
}

.empty-state strong,
.auth-info-box strong {
    color: #102033;
}

.auth-info-box {
    margin: 22px 0;
    text-align: left;
}

.auth-info-box strong {
    display: block;
    margin-bottom: 6px;
}

.auth-info-box span {
    display: block;
    color: #44546a;
}

.admin-panel {
    margin: 32px 0;
    text-align: left;
}

.admin-panel h2,
.detail-card h2,
.rule h2 {
    margin: 0 0 10px;
    color: #102033;
    font-size: 22px;
}

.admin-panel p,
.detail-card p,
.rule p {
    max-width: none;
    margin: 0 0 16px;
    color: #44546a;
    font-size: 16px;
    text-align: left;
}

.rules {
    display: grid;
    gap: 20px;
    margin: 32px 0;
}

.points-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.points-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    background: #ffffff;
}

.points-list span {
    color: #44546a;
}

.points-list strong {
    color: #102033;
    white-space: nowrap;
}

.status-pill,
.mini-status,
.you-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 900;
}

.status-pill {
    padding: 6px 10px;
    background: #edf1f7;
    color: #102033;
    font-size: 13px;
}

.status-pill.status-scheduled {
    background: #edf1f7;
    color: #102033;
}

.status-pill.status-live {
    background: #fff4e6;
    color: #b54708;
}

.status-pill.status-finished {
    background: #edfdf3;
    color: #146c43;
}

.mini-status {
    margin-left: 8px;
    padding: 4px 8px;
    font-size: 12px;
}

.mini-status.status-open {
    background: #edfdf3;
    color: #146c43;
}

.mini-status.status-locked {
    background: #fff4e6;
    color: #b54708;
}

.mini-status.status-finished {
    background: #eef4ff;
    color: #175cd3;
}

.you-badge {
    margin-left: 8px;
    padding: 4px 8px;
    background: #ff6b00;
    color: #ffffff;
    font-size: 12px;
}

.small-action-link,
.small-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.small-action-link {
    background: #edf1f7;
    color: #102033;
}

.small-action-link:hover {
    background: #ff6b00;
    color: #ffffff;
}

.small-danger-button {
    border: 0;
    background: #fff2f0;
    color: #b42318;
    cursor: pointer;
}

.small-danger-button:hover {
    background: #b42318;
    color: #ffffff;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ==================================================
   Dashboard
================================================== */

.dashboard-card {
    max-width: 920px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-hero h1 {
    margin-bottom: 0;
}

.dashboard-score-card,
.predictions-score-card,
.leaderboard-score-card,
.bonus-deadline-card {
    border: 1px solid #e4e9f2;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    text-align: center;
}

.dashboard-score-card {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 20px;
}

.dashboard-score-card span,
.predictions-score-card span,
.leaderboard-score-card span,
.bonus-deadline-card span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 14px;
    font-weight: 900;
}

.dashboard-score-card strong {
    color: #ff6b00;
    font-size: 42px;
    line-height: 1;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.dashboard-action,
.admin-tile {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
    color: #102033;
    text-decoration: none;
}

.dashboard-action:hover,
.admin-tile:hover {
    border-color: #ff6b00;
    background: #ffffff;
}

.dashboard-action strong,
.admin-tile strong {
    color: #102033;
    font-size: 17px;
}

.dashboard-action span,
.admin-tile span {
    color: #667085;
    font-size: 14px;
    line-height: 1.4;
}

.dashboard-action-primary {
    background: #ff6b00;
    border-color: #ff6b00;
}

.dashboard-action-primary strong,
.dashboard-action-primary span {
    color: #ffffff;
}

.dashboard-action-primary:hover {
    background: #e85f00;
}

.dashboard-compact-stats,
.predictions-mini-stats,
.leaderboard-mini-stats,
.stats-grid {
    display: grid;
    gap: 10px;
}

.dashboard-compact-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 26px 0;
    padding: 12px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.dashboard-compact-stats div {
    padding: 10px 8px;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.dashboard-compact-stats span,
.predictions-mini-stats span,
.leaderboard-mini-stats span,
.stat-card span {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-compact-stats strong,
.predictions-mini-stats strong,
.leaderboard-mini-stats strong {
    color: #102033;
    font-size: 22px;
    line-height: 1;
}

.dashboard-logout-form {
    margin-top: 18px;
}

/* ==================================================
   Admin / grids / stats
================================================== */

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 32px 0;
}

.stat-card {
    padding: 18px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.stat-card strong {
    color: #102033;
    font-size: 28px;
    line-height: 1;
}

/* ==================================================
   Voorspellingen
================================================== */

.predictions-card {
    max-width: 940px;
}

.predictions-header,
.leaderboard-header,
.bonus-header,
.rules-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.predictions-header h1,
.leaderboard-header h1,
.bonus-header h1,
.rules-header h1 {
    margin-bottom: 0;
}

.predictions-score-card {
    min-width: 120px;
    padding: 16px 18px;
    border-radius: 18px;
}

.predictions-score-card strong {
    color: #ff6b00;
    font-size: 36px;
    line-height: 1;
}

.predictions-mini-stats,
.leaderboard-mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}

.predictions-mini-stats div,
.leaderboard-mini-stats div {
    padding: 13px 14px;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #f8fafd;
}

.prediction-filter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 22px 0;
    padding: 16px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.prediction-filter-panel h2 {
    margin: 0 0 10px;
    color: #102033;
    font-size: 15px;
}

.group-filter-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.group-filter-link,
.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #26374d;
    font-weight: 900;
    text-decoration: none;
}

.group-filter-link {
    min-width: 42px;
    height: 38px;
    padding: 0 13px;
    font-size: 14px;
}

.filter-link {
    padding: 9px 14px;
}

.group-filter-link.is-active,
.group-filter-link:hover,
.filter-link.is-active,
.filter-link:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #ffffff;
}

.status-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.status-filter-grid .filter-link {
    padding: 10px 12px;
    font-size: 14px;
}

.predictions-form {
    margin-top: 32px;
}

.prediction-list {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.compact-prediction-list {
    gap: 12px;
}

.prediction-date-group h2,
.compact-date-group h2 {
    margin: 18px 0 6px;
    color: #102033;
    font-size: 20px;
}

.prediction-card {
    padding: 20px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.compact-prediction-card {
    padding: 16px;
}

.prediction-card.is-locked {
    opacity: 0.72;
}

.compact-match-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.compact-match-number {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
}

.compact-match-title,
.prediction-link,
.table-link {
    color: #102033;
    text-decoration: none;
}

.compact-match-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.prediction-link:hover,
.table-link:hover,
.compact-match-title:hover {
    color: #ff6b00;
}

.compact-match-meta,
.compact-result-line {
    margin-top: 6px;
    color: #667085;
    font-size: 14px;
}

.compact-result-line strong {
    color: #102033;
}

.compact-prediction-inputs-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 14px;
}

.prediction-score-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 10px;
}

.prediction-score-label {
    color: #667085;
    font-size: 13px;
    font-weight: 900;
}

.prediction-score-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.prediction-score-inputs input[type="number"] {
    width: 100%;
    min-width: 0;
    padding: 11px 10px;
    border: 1px solid #cdd6e5;
    border-radius: 12px;
    background: #ffffff;
    color: #102033;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
}

.prediction-score-inputs input[type="number"]:focus,
.compact-prediction-inputs-modern select:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14);
}

.compact-prediction-inputs-modern select {
    width: 100%;
    min-height: 46px;
    padding: 10px;
    border: 1px solid #cdd6e5;
    border-radius: 12px;
    background: #ffffff;
}

.compact-prediction-inputs-modern .small-action-link {
    width: 100%;
}

.prediction-locked-message {
    display: inline-flex;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff4e6;
    color: #b54708;
    font-size: 13px;
    font-weight: 900;
}

.sticky-save-bar {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 26px;
}

/* ==================================================
   Score / uitslagen / doelpuntenmakers
================================================== */

.score-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 32px 0;
}

.score-form-grid-compact {
    margin: 18px 0 0;
}

.score-team-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
    text-align: center;
}

.score-form-grid-compact .score-team-card {
    padding: 18px;
}

.score-team-card span {
    color: #102033;
    font-size: 18px;
    font-weight: 900;
}

.score-team-card input {
    width: 100%;
    max-width: 110px;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid #cdd6e5;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.score-form-grid-compact .score-team-card input {
    max-width: 90px;
    font-size: 22px;
}

.score-team-card input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14);
}

.score-divider {
    color: #667085;
    font-size: 32px;
    font-weight: 900;
}

.goal-scorers-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.goal-scorer-row {
    display: grid;
    grid-template-columns: 1fr 220px 120px;
    gap: 14px;
    align-items: end;
    padding: 14px;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #ffffff;
}

/* ==================================================
   Wedstrijddetail
================================================== */

.match-summary,
.detail-grid {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.match-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-summary div {
    padding: 18px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #f8fafd;
}

.match-summary span,
.prediction-detail-scores span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 14px;
    font-weight: 900;
}

.match-summary strong {
    color: #102033;
}

.prediction-detail-scores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.prediction-detail-scores div {
    padding: 16px;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #ffffff;
}

.prediction-detail-scores strong {
    color: #102033;
    font-size: 28px;
    line-height: 1;
}

.fixture-predictions-table th,
.fixture-predictions-table td {
    white-space: nowrap;
}

/* ==================================================
   Bonusvoorspellingen
================================================== */

.bonus-card {
    max-width: 940px;
}

.bonus-deadline-card {
    min-width: 132px;
    padding: 15px 16px;
    border-radius: 18px;
}

.bonus-deadline-card strong {
    color: #ff6b00;
    font-size: 20px;
}

.bonus-deadline-card.is-locked {
    background: #f8fafd;
}

.bonus-deadline-card.is-locked strong {
    color: #b54708;
}

.bonus-form {
    margin-top: 18px;
}

.bonus-section {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #e4e9f2;
    border-radius: 20px;
    background: #f8fafd;
}

.bonus-highlight-section {
    background: linear-gradient(180deg, #fff7ed 0%, #f8fafd 100%);
}

.bonus-section-heading {
    margin-bottom: 16px;
}

.bonus-section-heading h2 {
    margin: 0 0 6px;
    color: #102033;
    font-size: 22px;
}

.bonus-section-heading p {
    margin: 0;
    max-width: none;
    color: #44546a;
    font-size: 15px;
}

.bonus-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bonus-accordion-list {
    display: grid;
    gap: 10px;
}

.bonus-accordion-card {
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.bonus-accordion-card.is-complete {
    border-color: #b7e4c7;
    background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%);
}

.bonus-accordion-card.is-partial {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.bonus-accordion-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 16px;
    cursor: pointer;
    list-style: none;
}

.bonus-accordion-card summary::-webkit-details-marker {
    display: none;
}

.bonus-accordion-card summary span {
    display: grid;
    gap: 3px;
    color: #102033;
    font-weight: 900;
}

.bonus-accordion-card summary em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.bonus-accordion-card summary strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf1f7;
    color: #102033;
    font-size: 12px;
}

.bonus-accordion-card[open] summary {
    border-bottom: 1px solid #e4e9f2;
}

.bonus-accordion-card[open] summary strong {
    background: #ff6b00;
    color: #ffffff;
    font-size: 0;
}

.bonus-accordion-card[open] summary strong::after {
    content: "Sluiten";
    font-size: 12px;
}

.bonus-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #98a2b3;
}

.bonus-accordion-card.is-complete .bonus-status-dot {
    background: #16a34a;
}

.bonus-accordion-card.is-partial .bonus-status-dot {
    background: #f97316;
}

.bonus-accordion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
}

.bonus-save-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* ==================================================
   Klassement
================================================== */

.leaderboard-card {
    max-width: 940px;
}

.leaderboard-score-card {
    min-width: 132px;
    padding: 15px 16px;
    border-radius: 18px;
}

.leaderboard-score-card strong {
    color: #ff6b00;
    font-size: 34px;
    line-height: 1;
}

.leaderboard-mobile-list {
    display: none;
}

.leaderboard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
}

.rank,
.leaderboard-mobile-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff6b00;
    color: #ffffff;
    font-weight: 900;
}

.rank {
    min-width: 34px;
    height: 34px;
}

/* ==================================================
   Reglement
================================================== */

.rules-card {
    max-width: 940px;
}

.rules-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.rules-summary div,
.rules-intro-card {
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #f8fafd;
}

.rules-summary div {
    padding: 14px;
}

.rules-summary span {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
}

.rules-summary strong {
    color: #102033;
    font-size: 20px;
}

.rules-intro-card {
    display: grid;
    gap: 5px;
    margin: 20px 0;
    padding: 14px 16px;
}

.rules-intro-card strong {
    color: #102033;
}

.rules-intro-card span {
    color: #44546a;
    line-height: 1.45;
}

.rules-accordion {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.rule-accordion-card {
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
}

.rule-accordion-card[open] {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.rule-accordion-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.rule-accordion-card summary::-webkit-details-marker {
    display: none;
}

.rule-accordion-card summary span {
    color: #102033;
    font-size: 17px;
    font-weight: 900;
}

.rule-accordion-card summary strong {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf1f7;
    color: #102033;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.rule-accordion-card[open] summary {
    border-bottom: 1px solid #fed7aa;
}

.rule-accordion-card[open] summary strong {
    background: #ff6b00;
    color: #ffffff;
}

.rule-accordion-content {
    padding: 18px;
}

.rule-accordion-content p {
    max-width: none;
    margin: 0 0 14px;
    color: #44546a;
    font-size: 16px;
    text-align: left;
}

.rule-accordion-content p:last-child {
    margin-bottom: 0;
}

.compact-points-list {
    margin: 14px 0;
}

.compact-points-list div {
    padding: 11px 12px;
}

.rules-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
}

/* ==================================================
   Mobiel
================================================== */

@media (max-width: 900px) {
    .form-grid-fixtures {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(100% - 24px, 1120px);
    }

    .page {
        align-items: flex-start;
        padding: 20px 12px;
    }

    .page-content {
        padding: 24px 0;
    }

    .hero,
    .content-card,
    .auth-card {
        padding: 28px 20px;
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(16, 32, 51, 0.10);
    }

    h1 {
        font-size: 34px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    p,
    .intro {
        font-size: 16px;
        line-height: 1.55;
    }

    .actions,
    .rules-actions,
    .leaderboard-actions,
    .bonus-save-bar,
    .sticky-save-bar {
        position: sticky;
        bottom: 0;
        z-index: 20;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 22px -20px -28px;
        padding: 12px 20px;
        border-top: 1px solid #e4e9f2;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .button,
    .small-action-link,
    .small-danger-button {
        width: 100%;
        text-align: center;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.94);
        border-bottom: 1px solid rgba(228, 233, 242, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .header-inner {
        min-height: 60px;
        flex-direction: row;
        align-items: center;
        padding: 10px 0;
    }

    .logo-full {
        display: none;
    }

    .logo-short {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 66px;
        height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        background: #102033;
        color: #ffffff;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 0.02em;
    }

    .mobile-menu-button {
        display: inline-flex;
        position: relative;
        z-index: 10001;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: 1px solid #e4e9f2;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
        cursor: pointer;
    }

    .mobile-menu-button span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 0 auto;
        border-radius: 999px;
        background: #102033;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .mobile-menu-button.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-header .main-nav[data-mobile-menu] {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 10000;
        padding: 14px;
        border: 1px solid #e4e9f2;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 20px 50px rgba(16, 32, 51, 0.16);
    }

    .site-header .main-nav[data-mobile-menu].is-open {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-header .main-nav[data-mobile-menu] a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 13px 14px;
        border-radius: 14px;
        background: #f8fafd;
        color: #102033;
        text-decoration: none;
        font-weight: 900;
    }

    .site-header .main-nav[data-mobile-menu] a::after {
        content: "›";
        color: #98a2b3;
        font-size: 20px;
    }

    .guest-nav {
        display: flex;
        position: static;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .guest-nav .nav-button {
        padding: 10px 14px;
        border-radius: 999px;
    }

    .stats-grid,
    .admin-grid,
    .detail-grid,
    .bonus-extra-grid,
    .bonus-accordion-content,
    .match-summary,
    .form-grid,
    .goal-scorer-row,
    .prediction-filter-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-hero,
    .predictions-header,
    .leaderboard-header,
    .bonus-header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .dashboard-hero h1,
    .predictions-header h1,
    .leaderboard-header h1,
    .bonus-header h1 {
        font-size: 28px;
    }

    .dashboard-score-card,
    .predictions-score-card,
    .leaderboard-score-card,
    .bonus-deadline-card {
        min-width: 86px;
        padding: 12px 10px;
        border-radius: 16px;
    }

    .dashboard-score-card span,
    .predictions-score-card span,
    .leaderboard-score-card span,
    .bonus-deadline-card span {
        font-size: 10px;
    }

    .dashboard-score-card strong,
    .predictions-score-card strong,
    .leaderboard-score-card strong {
        font-size: 30px;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-action {
        min-height: auto;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 14px 16px;
    }

    .dashboard-action::after {
        content: "›";
        color: #98a2b3;
        font-size: 24px;
    }

    .dashboard-action-primary::after {
        color: #ffffff;
    }

    .dashboard-action span {
        grid-column: 1 / 2;
        font-size: 13px;
    }

    .dashboard-compact-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .predictions-mini-stats,
    .leaderboard-mini-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .predictions-mini-stats div,
    .leaderboard-mini-stats div,
    .dashboard-compact-stats div {
        padding: 10px 8px;
    }

    .prediction-filter-panel {
        gap: 14px;
        padding: 14px;
    }

    .group-filter-scroll {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .group-filter-link {
        width: 100%;
        min-width: 0;
        height: 36px;
        padding: 0 8px;
    }

    .status-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .status-filter-grid .filter-link {
        padding: 9px 6px;
        font-size: 12px;
    }

    .compact-prediction-card {
        padding: 14px;
    }

    .compact-match-title {
        font-size: 16px;
    }

    .compact-match-meta {
        font-size: 13px;
    }

    .compact-prediction-inputs-modern {
        width: 100%;
        gap: 10px;
        overflow: hidden;
    }

    .prediction-score-row {
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .prediction-score-inputs input[type="number"] {
        height: 46px;
        font-size: 17px;
    }

    .score-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .score-divider {
        font-size: 24px;
        text-align: center;
    }

    .score-team-card {
        padding: 18px;
    }

    .table-wrapper {
        margin: 24px 0;
        border: 1px solid #e4e9f2;
        border-radius: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 720px;
        font-size: 14px;
    }

    .leaderboard-desktop-table {
        display: none;
    }

    .leaderboard-mobile-list {
        display: grid;
        gap: 10px;
        margin: 18px 0;
    }

    .leaderboard-mobile-card {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 14px;
        border: 1px solid #e4e9f2;
        border-radius: 18px;
        background: #ffffff;
    }

    .leaderboard-mobile-card.is-current-user {
        border-color: #fed7aa;
        background: #fff7ed;
    }

    .leaderboard-mobile-rank {
        width: 34px;
        height: 34px;
    }

    .leaderboard-mobile-name {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #102033;
        line-height: 1.2;
    }

    .leaderboard-mobile-meta {
        margin-top: 4px;
        color: #667085;
        font-size: 13px;
        font-weight: 800;
    }

    .leaderboard-mobile-breakdown {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
        color: #44546a;
        font-size: 12px;
    }

    .leaderboard-mobile-breakdown span {
        padding: 5px 8px;
        border-radius: 999px;
        background: #f8fafd;
    }

    .leaderboard-mobile-total {
        min-width: 56px;
        text-align: right;
    }

    .leaderboard-mobile-total span {
        display: block;
        margin-bottom: 4px;
        color: #667085;
        font-size: 11px;
        font-weight: 900;
    }

    .leaderboard-mobile-total strong {
        color: #102033;
        font-size: 24px;
    }

    .bonus-section {
        padding: 16px;
    }

    .bonus-accordion-content {
        gap: 12px;
        padding: 14px;
    }

    .rules-summary {
        grid-template-columns: 1fr;
    }

    .rules-summary div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
    }

    .rule-accordion-card summary {
        padding: 14px;
    }

    .rule-accordion-card summary span {
        font-size: 16px;
    }

    .rule-accordion-card summary strong {
        padding: 5px 8px;
        font-size: 11px;
    }

    .rule-accordion-content {
        padding: 14px;
    }

    .points-list div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .points-list strong {
        white-space: normal;
    }

    .prediction-detail-scores {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 22px 12px;
        font-size: 14px;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(100% - 18px, 1120px);
    }

    .hero,
    .content-card,
    .auth-card {
        padding: 24px 16px;
        border-radius: 18px;
    }

    h1 {
        font-size: 30px;
    }

    .dashboard-compact-stats,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .status-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leaderboard-mobile-card {
        grid-template-columns: auto 1fr;
    }

    .leaderboard-mobile-total {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid #e4e9f2;
        text-align: left;
    }

    .leaderboard-mobile-total span {
        margin-bottom: 0;
    }
}
/* --------------------------------------------------
   Header credit / maker-signature
-------------------------------------------------- */

.header-credit {
    margin-left: auto;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.header-credit a {
    color: #102033;
    text-decoration: none;
    font-weight: 900;
}

.header-credit a:hover {
    color: #ff6b00;
}

@media (max-width: 760px) {
    .header-credit {
        display: none;
    }
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-credit {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.footer-credit:hover {
    color: #ff6b00;
}

@media (max-width: 760px) {
    .footer-inner {
        display: grid;
        gap: 6px;
        text-align: center;
    }

    .footer-credit {
        font-size: 12px;
    }
}
.leaderboard-compact-notice {
    margin: 16px 0 18px;
    padding: 11px 14px;
    border: 1px solid #e4e9f2;
    border-radius: 14px;
    background: #f8fafd;
    color: #667085;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .leaderboard-actions {
        margin-top: 16px;
    }

    .leaderboard-actions .button {
        width: 100%;
    }
}
@media (max-width: 760px) {
    .leaderboard-mobile-compact-list {
        gap: 7px;
        margin: 14px 0;
    }

    .leaderboard-compact-row {
        display: grid;
        grid-template-columns: 34px 1fr auto;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid #e4e9f2;
        border-radius: 15px;
        background: #ffffff;
    }

    .leaderboard-compact-row.is-current-user {
        border-color: #fed7aa;
        background: #fff7ed;
    }

    .leaderboard-compact-rank {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: #ff6b00;
        color: #ffffff;
        font-size: 14px;
        font-weight: 900;
    }

    .leaderboard-compact-main {
        min-width: 0;
    }

    .leaderboard-compact-name {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #102033;
        line-height: 1.15;
    }

    .leaderboard-compact-name strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }

    .leaderboard-compact-meta {
        margin-top: 4px;
        color: #667085;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .leaderboard-compact-total {
        min-width: 42px;
        text-align: right;
    }

    .leaderboard-compact-total span {
        display: block;
        margin-bottom: 2px;
        color: #667085;
        font-size: 10px;
        font-weight: 900;
    }

    .leaderboard-compact-total strong {
        color: #102033;
        font-size: 22px;
        line-height: 1;
    }

    .leaderboard-compact-row .you-badge {
        margin-left: 0;
        padding: 3px 7px;
        font-size: 10px;
    }
}

@media (max-width: 430px) {
    .leaderboard-compact-row {
        grid-template-columns: 32px 1fr auto;
        padding: 9px 10px;
        gap: 8px;
    }

    .leaderboard-compact-rank {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .leaderboard-compact-name strong {
        font-size: 14px;
    }

    .leaderboard-compact-total strong {
        font-size: 20px;
    }
}
/* --------------------------------------------------
   Mijn voorspellingen: compactere wedstrijdkaarten mobiel
-------------------------------------------------- */

@media (max-width: 760px) {
    .compact-prediction-list {
        gap: 9px;
    }

    .compact-date-group h2 {
        margin: 16px 0 4px;
        font-size: 18px;
    }

    .compact-prediction-card {
        padding: 12px;
        border-radius: 15px;
    }

    .compact-match-top {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        align-items: start;
    }

    .compact-match-number {
        margin-bottom: 3px;
        font-size: 11px;
    }

    .compact-match-title {
        font-size: 15px;
        line-height: 1.22;
        font-weight: 800;
    }

    .compact-match-meta {
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.25;
    }

    .compact-match-top .mini-status {
        margin: 0;
        padding: 4px 7px;
        font-size: 10px;
        white-space: nowrap;
    }

    .compact-result-line {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.3;
    }

    .compact-prediction-inputs-modern {
        margin-top: 9px;
        gap: 7px;
    }

    .prediction-score-row {
        display: grid;
        grid-template-columns: 38px 1fr;
        align-items: center;
        gap: 7px;
    }

    .prediction-score-label {
        font-size: 11px;
        line-height: 1;
    }

    .prediction-score-inputs {
        gap: 6px;
    }

    .prediction-score-inputs input[type="number"] {
        height: 40px;
        padding: 8px;
        border-radius: 10px;
        font-size: 15px;
    }

    .prediction-score-inputs span {
        font-size: 12px;
        color: #667085;
        font-weight: 900;
    }

    .compact-prediction-inputs-modern select {
        min-height: 40px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 14px;
    }

    .compact-prediction-inputs-modern .small-action-link {
        padding: 9px 10px;
        border-radius: 10px;
        font-size: 12px;
    }

    .prediction-locked-message {
        margin-top: 7px;
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 430px) {
    .prediction-score-row {
        grid-template-columns: 36px 1fr;
    }

    .prediction-score-inputs input[type="number"] {
        height: 38px;
        font-size: 14px;
    }
}
/* --------------------------------------------------
   Mijn voorspellingen: compacte poule-dropdown
-------------------------------------------------- */

.prediction-filter-panel-compact {
    display: block;
}

.prediction-group-form {
    display: grid;
    gap: 8px;
}

.prediction-group-form label {
    color: #102033;
    font-size: 15px;
    font-weight: 900;
}

.prediction-group-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cdd6e5;
    border-radius: 14px;
    background: #ffffff;
    color: #102033;
    font: inherit;
    font-weight: 800;
}

.prediction-group-form select:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14);
}

@media (max-width: 760px) {
    .prediction-filter-panel-compact {
        margin: 18px 0;
        padding: 14px;
        border-radius: 18px;
    }

    .prediction-group-form select {
        min-height: 46px;
        font-size: 15px;
    }
}