/**
 * EVF-Spielplan — Frontend
 *
 * Farben, Typografie und Grundbausteine kommen aus dem Design-System der
 * Startseite. Damit dessen Werte immer gewinnen, wird hier nichts global
 * definiert: jede Variable steht als var(--token, Rückfall). Liegt das
 * Design-System auf der Seite, greift es automatisch.
 *
 * Rückfallwerte: --evf-yellow aus rgba(255,180,0,.09) abgeleitet,
 * --result-win/--result-loss aus DESIGN-TOKENS.md. --evf-black und --ink-950
 * sind Näherungen und sollten gegen die echten Tokens getauscht werden.
 */

.evf-sp {
	--y:     var(--evf-yellow, #ffb400);
	--y-dp:  var(--evf-yellow-deep, #e0a000);
	--k:     var(--evf-black, #0a0a0a);
	--ink:   var(--ink-950, #121214);
	--win:   var(--result-win, #1e9e5a);
	--loss:  var(--result-loss, #d23b36);

	--line:  rgba(255, 255, 255, .08);
	--line2: rgba(255, 255, 255, .12);
	--edge:  rgba(255, 255, 255, .1);
	--head:  rgba(255, 255, 255, .06);
	--txt:   rgba(255, 255, 255, .88);
	--dim:   rgba(255, 255, 255, .74);
	--dim2:  rgba(255, 255, 255, .72);

	--pad:   44px;
	--sans:  'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--head-font: 'Anton', 'Archivo Black', system-ui, sans-serif;

	background: var(--k);
	color: #fff;
	font-family: var(--sans);
	font-variant-numeric: tabular-nums;
	text-align: left;
}

.evf-sp *,
.evf-sp *::before,
.evf-sp *::after { box-sizing: border-box; }

/*
 * :where() zählt nicht für die Spezifität. Ohne das schlägt „.evf-sp a"
 * (Klasse + Typ) jede Komponentenklasse wie .evf-sp-tickets — der schwarze
 * Text auf dem gelben Ticket-Knopf kam so weiß heraus.
 */
.evf-sp :where(a) { color: #fff; text-decoration: none; }
.evf-sp :where(a:hover, a:focus-visible) { color: var(--y); }

.evf-sp :focus-visible {
	outline: 2px solid var(--y);
	outline-offset: 2px;
}

.evf-sp p { margin: 0; }

.evf-sp-sr {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------- Hero */

.evf-sp-hero {
	position: relative;
	background: var(--ink);
	padding: 48px var(--pad) 0;
	overflow: hidden;
}

.evf-sp-hero-mark {
	position: absolute;
	right: -70px;
	top: -80px;
	width: 330px;
	height: auto;
	opacity: .045;
	pointer-events: none;
}

.evf-sp-hero-top {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 34px;
}

.evf-sp-eyebrow {
	font: 700 11px/1 var(--sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--y);
	margin: 0 0 16px;
}

.evf-sp-h1 {
	margin: 0;
	font: 400 58px/1.03 var(--head-font);
	text-transform: uppercase;
	color: #fff;
	letter-spacing: .01em;
}

.evf-sp-underline { box-shadow: inset 0 -.14em 0 var(--y); }

.evf-sp-hero-actions { display: flex; gap: 10px; flex: none; }

.evf-sp-cross {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 700 11px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .84);
	border: 1px solid rgba(255, 255, 255, .24);
	padding: 12px 15px;
	transition: border-color .14s, color .14s;
}

.evf-sp-cross:hover,
.evf-sp-cross:focus-visible { border-color: var(--y); color: var(--y); }

/* ---------------------------------------------------------- Phasenreiter */

.evf-sp-tabsrow {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 24px;
}

.evf-sp-tabs {
	display: flex;
	align-items: flex-end;
	gap: 34px;
	flex: 1;
	min-width: 0;
}

.evf-sp-tab {
	display: inline-block;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 0 0 12px;
	font: 400 26px/1 var(--head-font);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--dim2);
	cursor: pointer;
	white-space: nowrap;
	transition: color .14s, border-color .14s;
}

.evf-sp-tab:hover,
.evf-sp-tab:focus-visible { color: #fff; }

.evf-sp-tab.is-on {
	color: #fff;
	border-bottom-color: var(--y);
}

.evf-sp-tab[disabled],
.evf-sp-tab[aria-disabled="true"] {
	color: rgba(255, 255, 255, .34);
	cursor: not-allowed;
}

.evf-sp-tab[disabled]:hover { color: rgba(255, 255, 255, .34); }

.evf-sp-chips { display: flex; gap: 8px; padding-bottom: 8px; flex: none; }

.evf-sp-chip {
	display: inline-flex;
	align-items: center;
	font: 700 11px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 11px 16px;
	color: rgba(255, 255, 255, .76);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 0;
	transition: background .14s, color .14s, border-color .14s;
}

.evf-sp-chip:hover,
.evf-sp-chip:focus-visible { border-color: rgba(255, 255, 255, .5); color: #fff; }

.evf-sp-chip.is-on {
	background: var(--y);
	border-color: var(--y);
	color: var(--k);
}

.evf-sp a.evf-sp-chip.is-on,
.evf-sp a.evf-sp-chip.is-on:hover { color: var(--k); }

/* ----------------------------------------------------------- Hauptbereich */

.evf-sp-main {
	background: var(--k);
	border-top: 3px solid var(--y);
	padding: 34px var(--pad) 46px;
}

.evf-sp--embed .evf-sp-main {
	border-top: 0;
	padding: 0;
}

.evf-sp-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.evf-sp-section-title {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-width: 0;
}

.evf-sp-section-head h2 {
	margin: 0;
	font: 400 30px/1.05 var(--head-font);
	text-transform: uppercase;
	color: #fff;
}

.evf-sp-section-meta {
	font: 700 12px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dim2);
}

.evf-sp-stamp {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
	font: 600 10.5px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.evf-sp-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--win);
}

.evf-sp-note {
	margin: 0 0 14px;
	font: 600 11px/1.5 var(--sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dim2);
}

/* ------------------------------------------------------------- Spielplan */

.evf-sp-schedule { border: 1px solid var(--edge); }

.evf-sp-list--scroll {
	max-height: min(62vh, 620px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.evf-sp-row {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) 84px minmax(0, 1fr) 168px 120px;
	gap: 16px;
	align-items: center;
	padding: 13px 20px;
	border-top: 1px solid var(--line);
	color: #fff;
	transition: background .14s;
}

.evf-sp-schedule--noVenue .evf-sp-row {
	grid-template-columns: 104px minmax(0, 1fr) 84px minmax(0, 1fr) 120px;
}

.evf-sp-row--head {
	border-top: 0;
	padding: 11px 20px;
	background: var(--head);
	font: 700 9.5px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dim);
}

.evf-sp-row--head .is-right  { text-align: right; }
.evf-sp-row--head .is-center { text-align: center; }

.evf-sp-row:hover { background: rgba(255, 255, 255, .07); }

/* Genau eine Zeile je Phase. */
.evf-sp-row.is-next { background: rgba(255, 180, 0, .09); }
.evf-sp-row.is-live { background: rgba(255, 180, 0, .14); }
.evf-sp-row.is-cancelled { color: rgba(255, 255, 255, .7); }

.evf-sp-rowlink {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.evf-sp-rowlink:focus-visible { outline-offset: -3px; }

.evf-sp-when { display: block; min-width: 0; }

.evf-sp-when-top {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.evf-sp-weekday {
	font: 600 9.5px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dim2);
}

.evf-sp-matchday {
	font: 700 9.5px/1 var(--sans);
	letter-spacing: .06em;
	color: var(--y);
}

.evf-sp-date {
	display: block;
	margin-top: 4px;
	font: 700 13px/1.2 var(--sans);
	color: #fff;
}

.evf-sp-time {
	display: block;
	margin-top: 2px;
	font: 600 10.5px/1 var(--sans);
	color: var(--dim);
}

.evf-sp-livetime {
	display: block;
	margin-top: 3px;
	font: 700 9.5px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--y);
}

.evf-sp-side {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.evf-sp-side--home { justify-content: flex-end; text-align: right; }

/* Ellipsis hält alle Zeilen exakt gleich hoch. */
.evf-sp-name {
	display: block;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font: 600 14px/1.3 var(--sans);
	color: var(--txt);
}

.evf-sp-name.is-own { font-weight: 700; color: #fff; }

.evf-sp-crest {
	position: relative;
	flex: none;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .32);
}

.evf-sp-crest img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2px;
}

.evf-sp-crest i {
	display: none;
	font: 400 11px/1 var(--head-font);
	font-style: normal;
	color: rgba(255, 255, 255, .9);
}

.evf-sp-crest.is-fallback i { display: block; }

.evf-sp-score {
	text-align: center;
	font: 400 22px/1 var(--head-font);
	color: var(--y);
}

.evf-sp-score.is-win     { color: var(--win); }
.evf-sp-score.is-loss    { color: var(--loss); }
.evf-sp-score.is-neutral,
.evf-sp-score.is-draw    { color: #fff; }
.evf-sp-score.is-cancelled {
	font: 600 12px/1 var(--sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.evf-sp-suffix {
	display: block;
	margin-top: 3px;
	font: 700 9px/1 var(--sans);
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .7);
}

.evf-sp-venue {
	display: block;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font: 600 11.5px/1.4 var(--sans);
	color: var(--dim);
}

.evf-sp-action {
	justify-self: end;
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.evf-sp-tickets {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	font: 700 10px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--k);
	background: var(--y);
	padding: 8px 11px;
	white-space: nowrap;
	transition: background .14s;
}

.evf-sp a.evf-sp-tickets { color: var(--k); }

.evf-sp-tickets:hover,
.evf-sp-tickets:focus-visible,
.evf-sp a.evf-sp-tickets:hover,
.evf-sp a.evf-sp-tickets:focus-visible { background: #fff; color: var(--k); }

.evf-sp-report {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	font: 700 10px/1 var(--sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
	border: 1px solid rgba(255, 255, 255, .24);
	padding: 7px 10px;
	white-space: nowrap;
	transition: border-color .14s, color .14s;
}

.evf-sp-row:hover .evf-sp-report { border-color: var(--y); color: var(--y); }

.evf-sp-month {
	padding: 15px 20px 9px;
	border-top: 1px solid var(--line);
	font: 700 10px/1 var(--sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--y);
}

/* ------------------------------------------------------ Monatsnavigation */

.evf-sp-months {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.evf-sp-monthlink {
	display: inline-flex;
	align-items: center;
	font: 700 10px/1 var(--sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dim2);
	border: 1px solid rgba(255, 255, 255, .18);
	padding: 9px 12px;
	transition: border-color .14s, color .14s;
}

.evf-sp-monthlink:hover,
.evf-sp-monthlink:focus-visible { border-color: var(--y); color: var(--y); }

.evf-sp-monthlink.is-on {
	border-color: var(--y);
	color: var(--k);
	background: var(--y);
}

.evf-sp a.evf-sp-monthlink.is-on { color: var(--k); }

/* --------------------------------------------------------------- Tabelle */

.evf-sp-table {
	display: block;
	width: 100%;
	border: 1px solid var(--edge);
	border-collapse: collapse;
	margin: 0;
}

.evf-sp-table thead,
.evf-sp-table tbody { display: block; }

.evf-sp-table tr {
	display: grid;
	grid-template-columns: 34px 38px minmax(0, 1fr) 44px 44px 44px 44px 44px 78px 58px 54px;
	gap: 10px;
	align-items: center;
	padding: 11px 20px;
	border-top: 1px solid var(--line);
}

.evf-sp-table thead tr {
	border-top: 0;
	background: var(--head);
	padding: 11px 20px;
}

.evf-sp-table th,
.evf-sp-table td {
	padding: 0;
	border: 0;
	min-width: 0;
	font: 600 13px/1.25 var(--sans);
	color: rgba(255, 255, 255, .78);
	text-align: left;
	background: none;
}

.evf-sp-table thead th {
	font: 700 9.5px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dim);
}

.evf-sp-table .is-center { text-align: center; }
.evf-sp-table .is-right  { text-align: right; }

.evf-sp-rank { font: 700 13px/1 var(--sans); color: rgba(255, 255, 255, .78); }

.evf-sp-crest--sm {
	width: 34px;
	height: 34px;
}

.evf-sp-crest--sm i { font-size: 10px; }

.evf-sp-team .evf-sp-name {
	font: 700 13.5px/1.25 var(--sans);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .9);
}

.evf-sp-goals { font-size: 12.5px; }

.evf-sp-diff { font: 700 12.5px/1 var(--sans); }
.evf-sp-diff.is-plus  { color: var(--win); }
.evf-sp-diff.is-minus { color: var(--loss); }

.evf-sp-points {
	font: 400 20px/1 var(--head-font);
	color: #fff;
}

/* Vollflächig gelb, schwarze Schrift — keine Randmarkierung. */
.evf-sp-trow.is-own { background: var(--y); }
.evf-sp-trow.is-own th,
.evf-sp-trow.is-own td { color: rgba(0, 0, 0, .72); }
.evf-sp-trow.is-own .evf-sp-team .evf-sp-name,
.evf-sp-trow.is-own .evf-sp-points { color: var(--k); }
.evf-sp-trow.is-own .evf-sp-diff { color: rgba(0, 0, 0, .8); }
.evf-sp-trow.is-own .evf-sp-crest { border-color: rgba(0, 0, 0, .3); }
.evf-sp-trow.is-own .evf-sp-crest i { color: var(--k); }

.evf-sp-trow.has-line { border-bottom: 2px solid rgba(255, 255, 255, .28); }

/* -------------------------------------------------------------- Legende */

.evf-sp-legend {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font: 600 10.5px/1.4 var(--sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dim2);
}

.evf-sp-legend-item { display: flex; align-items: center; gap: 7px; }

.evf-sp-swatch {
	width: 9px;
	height: 9px;
	border-radius: 0;
	flex: none;
}

.evf-sp-swatch.is-win      { background: var(--win); }
.evf-sp-swatch.is-loss     { background: var(--loss); }
.evf-sp-swatch.is-upcoming { background: var(--y); }
.evf-sp-swatch.is-line     { background: rgba(255, 255, 255, .28); }

.evf-sp-legend-note { letter-spacing: .05em; }

/* --------------------------------------------------------- Torschützen */

.evf-sp-scorers {
	background: var(--ink);
	border-top: 1px solid var(--line2);
	padding: 44px var(--pad) 48px;
}

.evf-sp-scorers .evf-sp-section-head { margin-bottom: 22px; }

.evf-sp-stable {
	display: block;
	width: 100%;
	border: 1px solid var(--edge);
	border-collapse: collapse;
	margin: 0;
}

.evf-sp-stable thead,
.evf-sp-stable tbody { display: block; }

.evf-sp-stable tr {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 90px 52px 52px 52px 60px;
	gap: 12px;
	align-items: center;
	padding: 11px 20px;
	border-top: 1px solid var(--line);
}

.evf-sp-stable thead tr { border-top: 0; background: var(--head); }

.evf-sp-stable th,
.evf-sp-stable td {
	padding: 0;
	border: 0;
	min-width: 0;
	font: 600 12.5px/1.3 var(--sans);
	color: rgba(255, 255, 255, .78);
	text-align: left;
	background: none;
}

.evf-sp-stable thead th {
	font: 700 9.5px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dim);
}

.evf-sp-stable .is-center { text-align: center; }
.evf-sp-stable .is-right  { text-align: right; }

.evf-sp-player .evf-sp-name { font: 700 13.5px/1.3 var(--sans); color: #fff; }

.evf-sp-pos {
	font: 600 11px/1.2 var(--sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dim);
}

.evf-sp-spoints {
	font: 400 18px/1 var(--head-font);
	color: var(--y);
}

/* ------------------------------------------------------- Playoff-Baum */

.evf-sp-bracket {
	background: var(--k);
	border-top: 1px solid var(--line2);
	padding: 40px var(--pad) 46px;
}

.evf-sp-bracket-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.evf-sp-bracket-col { display: grid; gap: 20px; }

.evf-sp-serie {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: 20px 22px 22px;
}

.evf-sp-serie-round {
	font: 700 10px/1 var(--sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--y);
	margin-bottom: 14px;
}

.evf-sp-serie-index { margin-left: 4px; }

.evf-sp-serie-team {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 5px 0;
}

.evf-sp-serie-team .evf-sp-name { font: 700 13px/1.3 var(--sans); }

.evf-sp-serie-wins {
	flex: none;
	font: 400 20px/1 var(--head-font);
	color: #fff;
}

.evf-sp-serie-state {
	margin-top: 12px;
	padding-top: 11px;
	border-top: 1px solid var(--line);
	font: 600 10.5px/1.5 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dim);
}

.evf-sp-serie-best { display: block; opacity: .8; }

/* ------------------------------------------- Hinweiszeile und Leermeldung */

.evf-sp-hint {
	background: var(--ink);
	border-top: 1px solid var(--line2);
	padding: 26px var(--pad) 28px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--y);
}

.evf-sp-hint svg { flex: none; }

.evf-sp-hint p {
	font: 400 13.5px/1.6 var(--sans);
	color: rgba(255, 255, 255, .86);
}

.evf-sp-empty {
	border: 1px solid var(--edge);
	padding: 34px 20px;
	text-align: center;
}

.evf-sp-empty p {
	font: 600 12.5px/1.6 var(--sans);
	letter-spacing: .04em;
	color: var(--dim2);
}

.evf-sp-admin-hint {
	background: var(--ink);
	color: var(--y);
	font: 600 12.5px/1.5 'Archivo', system-ui, sans-serif;
	padding: 16px 20px;
	border-left: 3px solid var(--evf-yellow, #ffb400);
}

/* -------------------------------------------------------- CTA-Streifen */

.evf-sp-cta {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	background: var(--y);
}

.evf-sp-cta-text { padding: 44px 56px 46px; }

.evf-sp-cta-eyebrow {
	font: 700 10.5px/1 var(--sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .6);
	margin-bottom: 14px;
}

.evf-sp-cta-title {
	margin: 0 0 14px;
	font: 400 38px/1.05 var(--head-font);
	text-transform: uppercase;
	color: var(--k);
}

.evf-sp-cta-copy {
	max-width: 52ch;
	font: 400 14.5px/1.65 var(--sans);
	color: rgba(0, 0, 0, .8);
	text-wrap: pretty;
}

.evf-sp-cta-action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 44px 56px;
}

.evf-sp-button {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	background: var(--k);
	color: #fff;
	font: 700 13.5px/1 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 18px 26px;
	border: 2px solid var(--k);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, .25);
	transition: background .14s, color .14s;
}

.evf-sp a.evf-sp-button:hover,
.evf-sp a.evf-sp-button:focus-visible { background: #fff; color: var(--k); }

/* ------------------------------------------------------------ Responsive */

/* 900–1199 px: Halle raus, OTS/OTN raus. */
@media (max-width: 1199px) {
	.evf-sp { --pad: 28px; }

	.evf-sp-row,
	.evf-sp-schedule--noVenue .evf-sp-row {
		grid-template-columns: 96px minmax(0, 1fr) 78px minmax(0, 1fr) 112px;
	}

	.evf-sp-venue,
	.evf-sp-row--head span:nth-child(5):not(:last-child) { display: none; }

	.evf-sp-table tr {
		grid-template-columns: 32px 34px minmax(0, 1fr) 40px 40px 40px 72px 54px 50px;
	}

	.evf-sp-col-ot { display: none; }

	.evf-sp-h1 { font-size: 48px; }
}

/* < 900 px: Zeile zweizeilig, Tabelle reduziert, Reiter scrollbar. */
@media (max-width: 899px) {
	.evf-sp { --pad: 18px; }

	.evf-sp-hero { padding-top: 32px; }
	.evf-sp-h1 { font-size: 38px; }

	.evf-sp-hero-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 26px;
	}

	.evf-sp-tabsrow {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.evf-sp-tabs {
		gap: 22px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.evf-sp-tabs::-webkit-scrollbar { display: none; }

	.evf-sp-tab {
		font-size: 22px;
		scroll-snap-align: start;
		min-height: 44px;
		padding-top: 10px;
	}

	.evf-sp-chips { padding-bottom: 12px; }

	.evf-sp-months {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.evf-sp-months::-webkit-scrollbar { display: none; }
	.evf-sp-monthlink { flex: none; scroll-snap-align: start; min-height: 44px; }
	.evf-sp-chip,
	.evf-sp-cross { min-height: 44px; }

	.evf-sp-row--head { display: none; }

	/* Termin über den Teams, Halle unter dem Gast. */
	.evf-sp-row,
	.evf-sp-schedule--noVenue .evf-sp-row {
		grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
		grid-template-areas:
			'when when when'
			'home score away'
			'venue venue action';
		gap: 8px 10px;
		padding: 14px 14px 12px;
	}

	.evf-sp-when { grid-area: when; }
	.evf-sp-when-top { display: inline-flex; }

	.evf-sp-date,
	.evf-sp-time {
		display: inline;
		margin: 0 0 0 8px;
		font-size: 11.5px;
	}

	.evf-sp-side--home { grid-area: home; }
	.evf-sp-score      { grid-area: score; font-size: 20px; }
	.evf-sp-side--away { grid-area: away; }
	.evf-sp-venue      { grid-area: venue; display: block; align-self: center; }
	.evf-sp-action     { grid-area: action; }

	.evf-sp-side { gap: 8px; }
	.evf-sp-name { font-size: 13px; }
	.evf-sp-crest { width: 30px; height: 30px; }

	.evf-sp-tickets,
	.evf-sp-report {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.evf-sp-list--scroll { max-height: none; overflow: visible; }

	/* Nur Platz, Wappen, Team, SP, Diff, Pkt. */
	.evf-sp-table tr {
		grid-template-columns: 28px 30px minmax(0, 1fr) 38px 48px 46px;
		gap: 8px;
		padding: 11px 14px;
	}

	.evf-sp-table td:nth-child(5),
	.evf-sp-table td:nth-child(8),
	.evf-sp-table td:nth-child(9),
	.evf-sp-table thead th:nth-child(5),
	.evf-sp-table thead th:nth-child(8),
	.evf-sp-table thead th:nth-child(9) { display: none; }

	.evf-sp-crest--sm { width: 30px; height: 30px; }
	.evf-sp-team .evf-sp-name { font-size: 12px; }
	.evf-sp-points { font-size: 17px; }

	.evf-sp-stable tr {
		grid-template-columns: 26px minmax(0, 1fr) 40px 40px 48px;
		gap: 10px;
		padding: 11px 14px;
	}

	.evf-sp-stable td:nth-child(3),
	.evf-sp-stable thead th:nth-child(3) { display: none; }

	.evf-sp-bracket-grid { grid-template-columns: minmax(0, 1fr); }

	.evf-sp-cta { grid-template-columns: minmax(0, 1fr); }
	.evf-sp-cta-text { padding: 32px 20px 8px; }
	.evf-sp-cta-title { font-size: 30px; }
	.evf-sp-cta-action { justify-content: flex-start; padding: 20px 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	.evf-sp * { transition: none !important; }
}
