/* tv.css — schaling voor de zaalschermen (Yodeck, 1920x1080, kijkafstand ~5 m).
   Laad dit bestand als LAATSTE in <head>, na de eigen <style>, zodat het wint.
   Eén knop: --tv-zoom. 1 = nu ingesteld; 1.25 voor ~7 m, 0.8 voor ~4 m. */

:root { --tv-zoom: 1; }

/* 1rem = 16px op 1920 breed; schaalt mee met elk 16:9-scherm. */
html { font-size: calc(100vw / 120 * var(--tv-zoom)); }

/* Lijst op (bijna) volle breedte i.p.v. 1400px in het midden */
.content { max-width: 1760px; }

/* Titel op alle schermen even groot (Programma stond op 1.4rem) */
.header-title-block .page-label, .page-label { font-size: 3rem; }
#header-logo-wrap { height: 100px; width: 112px; }
#header-logo-img { max-height: 100px; max-width: 112px; }

/* Kopregel: kleine bijteksten leesbaar maken */
.header-title-block .page-sub,
.page-sub, #datum, #datum-right { font-size: 1.1rem; }
.nevobo-tag, .version-tag, #count, #refresh-badge { font-size: 1rem; padding: 4px 12px; }
.section-label { font-size: 1.1rem; color: #636366; }
.loading, .no-results { font-size: 1.6rem; }

/* Wedstrijdkaarten (Uitslagen en Programma) */
.match-card .match-time { font-size: 2.2rem; }
.match-card .team-name  { font-size: 2.4rem; }
.match-card .team-col   { padding: 20px 20px; gap: 18px; }
.match-card .row-logo,
.match-card .row-logo img,
.match-card .row-logo-fb { width: 72px; height: 72px; }
.day-tag { font-size: 1rem; color: #636366; }

/* Uitslagen */
.score-block { min-width: 260px; }
.score-main  { font-size: 4.5rem; }
.score-main .sd { font-size: 3rem; }
.score-sets  { font-size: 1.3rem; color: #636366; white-space: nowrap; }
.set-row, .match-extra { font-size: 1.3rem; color: #636366; }
.card-main { grid-template-columns: 5px 140px 1fr 260px 1fr 5px; }

/* Programma */
.vs-label   { font-size: 1.3rem; color: #8e8e93; }
.score-text { font-size: 2.6rem; }
.badge      { font-size: 1.1rem; padding: 6px 16px; }
.venue-row  { font-size: 1.3rem; padding: 10px 18px 12px 28px; gap: 12px; }
.venue-veld, .venue-official { font-size: 1.2rem; }
.match-card { grid-template-columns: 5px 140px 1fr 150px 1fr 160px; }

/* Felicitaties */
.team-card .team-name     { font-size: 2.6rem; }
.team-card .team-division { font-size: 1.4rem; color: #636366; margin-top: 4px; }
.rank-badge  { width: 56px; height: 56px; font-size: 1.6rem; }
.trophy-badge { font-size: 3rem; }
.hero-congrats { font-size: 3.6rem; }
.hero-sub      { font-size: 1.5rem; }
.hero-icon     { font-size: 6rem; }

/* Kaart: popup met wedstrijd en zaal is de enige tekst op het scherm */
.popup-card { min-width: 640px; max-width: 800px; }
.leaflet-popup-content-wrapper { min-width: 640px; }
.popup-venue { padding: 20px 28px; gap: 16px; }
.popup-venue-icon { font-size: 2rem; }
.popup-venue-name { font-size: 1.8rem; }
.popup-venue-city { font-size: 1.3rem; }
.popup-travel-dist { font-size: 1.5rem; }
.popup-travel-time { font-size: 1.2rem; }
.popup-match { padding: 22px 28px 16px; }
.popup-time { font-size: 1.5rem; margin-bottom: 12px; }
.popup-veld { font-size: 1.2rem; padding: 2px 10px; }
.popup-teams { gap: 16px; }
.popup-team { gap: 12px; }
.popup-team-name { font-size: 2rem; }
.popup-vs { font-size: 1.3rem; }
.popup-logo, .popup-logo img, .popup-logo-fb { width: 64px; height: 64px; }
.popup-poule { font-size: 1.2rem; color: #636366; padding-left: 76px; }
#page-badge { font-size: 1.3rem; padding: 12px 28px; }
.badge-dot { width: 12px; height: 12px; }

/* Inline SVG-iconen i.p.v. emoji: het tv-lettertype heeft geen emoji */
.ico { width: 1em; height: 1em; vertical-align: -0.12em; display: inline-block; }
.hero-icon .ico { width: 1em; height: 1em; }
.section-label .ico { font-size: 1.5rem; }
