.hitprofessor {
    --game-panel: rgba(20, 45, 73, 0.94);
    --game-border: #39638b;
    --game-option: #20456a;
    --game-accent: #ffd35b;
    --game-button-text: #14233b;
    color: #fff;
}

.hitprofessor h1,
.hitprofessor h2,
.hitprofessor .score {
    color: var(--game-accent);
}

.hitprofessor progress {
    accent-color: var(--game-accent);
}

.hitprofessor .game-media p,
.hitprofessor .game-footer {
    color: #cbd9ed;
}

.hitprofessor .qr-image {
    background: white;
}

.hitprofessor .result {
    display: grid;
    gap: 3px;
}

.hitprofessor .good {
    border-color: #75dca2;
}

.hitprofessor .bad {
    border-color: #ff9a9a;
}

.hitprofessor .good span {
    color: #a8efc5;
}

.hitprofessor .bad span {
    color: #ffd1d1;
}

.hitprofessor .error {
    margin: 0;
    padding: 10px;
    border: 1px solid #ff9a9a;
    border-radius: 8px;
    color: #ffd1d1;
}

.hitprofessor .score {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
}




/* HitProfessor - lichte Hitzoeker wallpaper */

.hitprofessor .game-header h1,
.hitprofessor .game-header h2 {
    color: #164e76;
    font-size: 32px;
    font-weight: 800;
}

.hitprofessor .game-status {
    background: rgba(240, 248, 255, 0.90);
    color: #164e76;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 12px;
    font-weight: 700;
}

.hitprofessor .game-status progress {
    height: 16px;
    accent-color: #087af4;
}

.hitprofessor .game-questions legend {
    background: #142d49;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
}

.hitprofessor .game-footer {
    color: #164e76;
    font-weight: 700;
}

.hitprofessor .game-secondary {
    background: rgba(240,248,255,0.90);
    color: #164e76;
    border: 1px solid #39638b;
}

.hitprofessor .game-secondary:hover {
    background: #fff;
}

.hitprofessor .game-options label:hover {
    background: #30618e;
}

.hitprofessor .game-options label:has(input:checked) {
    background: #ffd35b;
    color: #14233b;
    border-color: #ffd35b;
    font-weight: 700;
}

/* Header compacter maken */

.hitprofessor .game-header {
    gap: 20px;
}

.hitprofessor .game-header a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hitprofessor .game-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* Dikkere voortgangsbalk */

.hitprofessor .game-status progress {
    height: 22px;
    accent-color: #087af4;
}

/* Iets meer transparantie */

.hitprofessor {
    --game-panel: rgba(20, 45, 73, 0.90);
}



/* ========================================
   HitProfessor - HitTijdlijn
   ======================================== */

.ht-heading{text-align:center;display:grid;gap:8px;justify-items:center}
.ht-listen{width:min(100%,620px);margin:0 auto;gap:8px}
.ht-listen img{width:min(240px,100%)}
.ht-line{display:flex;align-items:stretch;justify-content:center;gap:12px;min-width:0}
.ht-song{flex:1 1 0;max-width:300px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;overflow-wrap:anywhere}
.ht-song img{width:min(130px,100%);aspect-ratio:1;object-fit:contain;border-radius:6px}
.ht-year{font-size:clamp(22px,3vw,38px);color:var(--game-accent)}
.ht-current{border:2px solid var(--game-accent);box-shadow:0 0 14px #ffd35b55}
.ht-slot{flex:0 1 125px;width:auto;min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 6px;overflow-wrap:anywhere}
.ht-slot span{font-size:32px}
.ht-next{width:min(100%,680px);margin:0 auto}
@media(max-width:700px){.ht-line{flex-direction:column;align-items:stretch}.ht-song{max-width:none;flex:auto}.ht-slot{flex:auto;min-height:48px;flex-direction:row}.ht-song img{width:90px}.ht-listen img{width:190px}}
@media(min-width:701px) and (max-height:850px){.ht-listen img{width:180px}.ht-song img{width:90px}.ht-line{gap:8px}}


/* HitProfessor – HitBattle: toevoegen onderaan hitprofessor.css */
.hitbattle .hb-names {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;}
.hitbattle .hb-names label[hidden] {display:none;}
.hitbattle .hb-names input {display:block;width:100%;padding:9px;margin-top:4px;border:1px solid var(--game-border);border-radius:8px;font:inherit;}
.hitbattle .hb-scoreboard {display:grid;grid-template-columns:repeat(var(--hb-count),minmax(0,1fr));gap:12px;}
.hitbattle .hb-player {display:grid;text-align:center;gap:3px;overflow-wrap:anywhere;}
.hitbattle .hb-player b {font-size:clamp(24px,3vw,44px);color:var(--game-accent);}
.hitbattle .hb-active {background:var(--game-accent);color:var(--game-button-text);}
.hitbattle .hb-active b {color:inherit;}
.hitbattle .hb-choice {display:flex;justify-content:space-between;gap:12px;text-align:left;}
.hitbattle .hb-choice:disabled {opacity:.45;cursor:not-allowed;}
.hitbattle .hb-answer {background:var(--game-option);color:white;border:1px solid var(--game-border);}
.hitbattle .hb-challenge {align-content:center;}
.hitbattle .hb-challenge h3 {margin:0;}
.hitbattle .hb-ranking {display:flex;justify-content:space-between;gap:12px;padding:10px;border-bottom:1px solid var(--game-border);}
@media(max-width:700px){.hitbattle .hb-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* HitMatch 1.0 – toevoegen onderaan hitprofessor.css */
.hmatch-page [hidden] { display:none !important; }
.hmatch-page .hmatch-start { margin:0 auto; }
.hmatch-page .hmatch-names { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.hmatch-page .hmatch-names input { display:block; width:100%; padding:8px; border-radius:8px; border:1px solid var(--game-border); font:inherit; }
.hmatch-page .hmatch-scores { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:8px; }
.hmatch-page .hmatch-player { display:flex; flex-direction:column; text-align:center; padding:8px; overflow-wrap:anywhere; }
.hmatch-page .hmatch-active { background:var(--game-accent); color:var(--game-button-text); }
.hmatch-page .hmatch-layout { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr); gap:14px; align-items:stretch; }
.hmatch-page .hmatch-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; align-content:start; }
.hmatch-page .hmatch-board-24 { grid-template-columns:repeat(6,minmax(0,1fr)); }
.hmatch-page .hmatch-card-form { margin:0; min-width:0; }
.hmatch-page .hmatch-card { width:100%; height:clamp(76px,14vh,150px); border:1px solid var(--game-border); border-radius:9px; background:var(--game-option); color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:5px; font:700 16px system-ui,sans-serif; overflow:hidden; }
.hmatch-page button.hmatch-card:not(:disabled) { cursor:pointer; }
.hmatch-page button.hmatch-card:not(:disabled):hover { background:#30618e; }
.hmatch-page .hmatch-card:focus-visible { outline:3px solid var(--game-accent); outline-offset:2px; }
.hmatch-page .hmatch-symbol { font-size:32px; color:var(--game-accent); }
.hmatch-page .hmatch-open { background:var(--game-accent); color:var(--game-button-text); opacity:1; }
.hmatch-page .hmatch-open .hmatch-symbol { color:var(--game-button-text); }
.hmatch-page .hmatch-found { background:#28654c; font-size:12px; text-align:center; overflow-wrap:anywhere; }
.hmatch-page .hmatch-found img { width:auto; height:55%; max-width:100%; object-fit:contain; min-height:0; }
.hmatch-page .hmatch-found span { display:block; max-width:100%; overflow:auto; }
.hmatch-page .hmatch-found small { display:block; font-weight:400; }
.hmatch-page .hmatch-side { justify-content:center; gap:10px; }
.hmatch-page .hmatch-side h2,.hmatch-page .hmatch-side h3 { margin:0; color:var(--game-accent); }
.hmatch-page .hmatch-side form { width:100%; margin:0; }
.hmatch-page .hmatch-side .qr-image { width:min(300px,100%); }
.hmatch-page .hmatch-side .game-secondary { width:100%; }
@media(max-width:850px) { .hmatch-page .hmatch-layout { grid-template-columns:1fr; } .hmatch-page .hmatch-side { grid-row:1; } .hmatch-page .hmatch-card { height:100px; } .hmatch-page .hmatch-board-24 { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:450px) { .hmatch-page .hmatch-card { height:80px; font-size:12px; } .hmatch-page .hmatch-found { font-size:10px; } .hmatch-page .hmatch-names { grid-template-columns:1fr; } }

