/* TCM Verbandsrunde Sommer 2026 — scoped styles
   Nur aktiv auf Seite mit [verbandsrunde_2026] Shortcode. */

.tcm-vr26 {
	--vr-navy-deep: #050f22;
	--vr-navy:      #0a1f44;
	--vr-navy-mid:  #13315c;
	--vr-blue:      #2563eb;
	--vr-blue-br:   #3b82f6;
	--vr-blue-soft: #93c5fd;
	--vr-gold:      #f59e0b;
	--vr-green:     #22c55e;
	--vr-text:      #f8fafc;
	--vr-muted:     #94a3b8;
	--vr-border:    rgba(255, 255, 255, 0.08);
	--vr-card-bg:   linear-gradient(135deg, #0f2444 0%, #1a2f52 100%);

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--vr-text);
	max-width: 1200px;
	margin: 3rem auto;
	padding: 0 1rem;
	box-sizing: border-box;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.tcm-vr26 *,
.tcm-vr26 *::before,
.tcm-vr26 *::after {
	box-sizing: border-box;
}

/* ---------- Intro / Hero ---------- */
.tcm-vr26__intro {
	background: linear-gradient(135deg, var(--vr-navy-deep) 0%, var(--vr-navy) 55%, var(--vr-navy-mid) 100%);
	border-radius: 24px;
	padding: 3rem 2.5rem;
	position: relative;
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: 0 30px 60px -20px rgba(5, 15, 34, 0.6);
}
.tcm-vr26__intro::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -15%;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, transparent 70%);
	pointer-events: none;
}
.tcm-vr26__intro::after {
	content: "";
	position: absolute;
	bottom: -60%;
	left: -10%;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.tcm-vr26__intro > * {
	position: relative;
}
.tcm-vr26__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.95rem;
	background: rgba(59, 130, 246, 0.15);
	border: 1px solid rgba(59, 130, 246, 0.4);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vr-blue-soft);
}
.tcm-vr26__badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vr-green);
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: tcm-vr-pulse 2s infinite;
}
@keyframes tcm-vr-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
	70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.tcm-vr26__headline {
	font-size: clamp(2.2rem, 5vw, 3.75rem);
	line-height: 1;
	margin: 1rem 0 0.9rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	color: #fff;
}
.tcm-vr26__headline strong {
	font-weight: 800;
	background: linear-gradient(90deg, #fff 0%, var(--vr-blue-soft) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.tcm-vr26__sub {
	color: var(--vr-muted);
	font-size: 1rem;
	max-width: 640px;
	margin: 0;
}

/* ---------- Grid ---------- */
.tcm-vr26__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
	gap: 1.25rem;
}

/* ---------- Card ---------- */
.tcm-vr26__card {
	background: var(--vr-card-bg);
	border: 1px solid var(--vr-border);
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
	position: relative;
}
.tcm-vr26__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.tcm-vr26__card:hover {
	transform: translateY(-4px);
	border-color: rgba(59, 130, 246, 0.45);
	box-shadow: 0 25px 50px -18px rgba(37, 99, 235, 0.45);
}
.tcm-vr26__card:hover::before {
	opacity: 1;
}

.tcm-vr26__summary {
	list-style: none;
	cursor: pointer;
	padding: 1.5rem 1.5rem 1.4rem;
	position: relative;
	user-select: none;
}
.tcm-vr26__summary::-webkit-details-marker {
	display: none;
}
.tcm-vr26__summary::after {
	content: "";
	position: absolute;
	right: 1.6rem;
	top: 1.9rem;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--vr-blue-soft);
	border-bottom: 2px solid var(--vr-blue-soft);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}
.tcm-vr26__card[open] .tcm-vr26__summary::after {
	transform: rotate(-135deg);
	top: 2.1rem;
}

.tcm-vr26__team-label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.4rem;
}
.tcm-vr26__team-label .tag {
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vr-blue-soft);
	padding: 0.25rem 0.55rem;
	background: rgba(59, 130, 246, 0.12);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 999px;
}
.tcm-vr26__team-name {
	font-size: clamp(1.5rem, 2.5vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 3rem 0.35rem 0;
	color: #fff;
}
.tcm-vr26__liga {
	color: var(--vr-muted);
	font-size: 0.85rem;
	margin-bottom: 1.1rem;
	font-weight: 500;
}

.tcm-vr26__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-top: 0.5rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--vr-border);
}
.tcm-vr26__stat {
	min-width: 0;
}
.tcm-vr26__stat-value {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.tcm-vr26__stat-value--sm {
	font-size: 0.95rem;
	line-height: 1.1;
}
.tcm-vr26__stat-time {
	color: var(--vr-blue-soft);
	font-weight: 600;
	font-size: 0.8rem;
	display: inline-block;
}
.tcm-vr26__stat-label {
	font-size: 0.66rem;
	color: var(--vr-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0.35rem;
	font-weight: 600;
}

/* ---------- Details (Accordion body) ---------- */
.tcm-vr26__details {
	padding: 0 1.5rem 1.5rem;
	animation: tcm-vr-fade 0.35s ease;
}
@keyframes tcm-vr-fade {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.tcm-vr26__h4 {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--vr-blue-soft);
	margin: 1.4rem 0 0.7rem;
	font-weight: 800;
}
.tcm-vr26__h4:first-child {
	margin-top: 0.4rem;
}

/* ---------- Standings table ---------- */
.tcm-vr26__table-wrap {
	background: rgba(5, 15, 34, 0.55);
	border: 1px solid var(--vr-border);
	border-radius: 12px;
	overflow: hidden;
}
.tcm-vr26__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
	color: #cbd5e1;
}
.tcm-vr26__table thead th {
	padding: 0.7rem 0.6rem;
	text-align: left;
	background: rgba(0, 0, 0, 0.35);
	color: var(--vr-blue-soft);
	font-size: 0.64rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 800;
	border-bottom: 1px solid var(--vr-border);
}
.tcm-vr26__table thead th.num {
	text-align: center;
}
.tcm-vr26__table tbody td {
	padding: 0.6rem 0.6rem;
	border-top: 1px solid var(--vr-border);
	font-variant-numeric: tabular-nums;
}
.tcm-vr26__table td.num {
	text-align: center;
	color: var(--vr-muted);
}
.tcm-vr26__table td.num--bold {
	color: #fff;
	font-weight: 800;
}
.tcm-vr26__team-col {
	color: #e2e8f0;
	font-weight: 500;
}
.tcm-vr26__row.is-tcm {
	background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 100%);
	box-shadow: inset 3px 0 0 var(--vr-gold);
}
.tcm-vr26__row.is-tcm td {
	color: #fff;
	font-weight: 700;
}
.tcm-vr26__rank-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 0.4rem;
	border-radius: 6px;
	background: rgba(59, 130, 246, 0.15);
	color: var(--vr-blue-soft);
	font-size: 0.7rem;
	font-weight: 800;
}
.tcm-vr26__row.is-tcm .tcm-vr26__rank-pill {
	background: rgba(245, 158, 11, 0.2);
	color: var(--vr-gold);
}

/* ---------- Match list ---------- */
.tcm-vr26__match-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.tcm-vr26__match {
	display: grid;
	grid-template-columns: 90px 1fr auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	background: rgba(5, 15, 34, 0.55);
	border: 1px solid var(--vr-border);
	font-size: 0.83rem;
	transition: border-color 0.2s ease;
}
.tcm-vr26__match:hover {
	border-color: rgba(59, 130, 246, 0.3);
}
.tcm-vr26__match.is-tcm {
	background: linear-gradient(90deg, rgba(37, 99, 235, 0.22) 0%, rgba(5, 15, 34, 0.55) 80%);
	box-shadow: inset 3px 0 0 var(--vr-blue-br);
	border-color: rgba(59, 130, 246, 0.4);
}
.tcm-vr26__match-date {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	font-variant-numeric: tabular-nums;
}
.tcm-vr26__match-date .d {
	color: var(--vr-blue-soft);
	font-weight: 800;
	font-size: 0.78rem;
}
.tcm-vr26__match-date .t {
	color: var(--vr-muted);
	font-size: 0.7rem;
}
.tcm-vr26__match-teams {
	color: #cbd5e1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	min-width: 0;
}
.tcm-vr26__match-teams .tcm {
	color: #fff;
	font-weight: 700;
}
.tcm-vr26__match-teams .vs {
	color: var(--vr-muted);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.tcm-vr26__match-status {
	font-size: 0.68rem;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.13);
	color: var(--vr-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	white-space: nowrap;
}
.tcm-vr26__match-status.is-result {
	background: rgba(34, 197, 94, 0.15);
	color: #86efac;
	text-transform: none;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
}

/* ---------- Footer / misc ---------- */
.tcm-vr26__card-footer {
	margin-top: 1.2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--vr-border);
	text-align: right;
}
.tcm-vr26__card-footer a {
	color: var(--vr-blue-soft);
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.tcm-vr26__card-footer a:hover {
	color: #fff;
}

.tcm-vr26__credit {
	text-align: center;
	color: var(--vr-muted);
	font-size: 0.8rem;
	margin: 2rem 0 0;
}
.tcm-vr26__credit a {
	color: var(--vr-blue-soft);
	text-decoration: none;
}
.tcm-vr26__credit a:hover {
	text-decoration: underline;
}

.tcm-vr26__muted {
	color: var(--vr-muted);
	font-size: 0.85rem;
	margin: 0.5rem 0;
}
.tcm-vr26__error {
	padding: 1rem 1.2rem;
	color: #fca5a5;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.25);
	border-radius: 12px;
	font-size: 0.85rem;
}
.tcm-vr26__error a {
	color: #fecaca;
	text-decoration: underline;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
	.tcm-vr26 {
		margin: 2rem auto;
		padding: 0 0.75rem;
	}
	.tcm-vr26__intro {
		padding: 2rem 1.5rem;
		border-radius: 20px;
	}
	.tcm-vr26__grid {
		grid-template-columns: 1fr;
	}
	.tcm-vr26__team-name {
		font-size: 1.45rem;
	}
	.tcm-vr26__summary {
		padding: 1.25rem 1.25rem 1.15rem;
	}
	.tcm-vr26__summary::after {
		right: 1.25rem;
		top: 1.5rem;
	}
	.tcm-vr26__details {
		padding: 0 1.25rem 1.25rem;
	}
	.tcm-vr26__match {
		grid-template-columns: 70px 1fr;
		row-gap: 0.35rem;
	}
	.tcm-vr26__match-status {
		grid-column: 1 / -1;
		justify-self: start;
	}
	.tcm-vr26__stat-value {
		font-size: 1.4rem;
	}
}
