/* Startseite — Manager-Zentrale (Dashboard) */
.hd-dashboard {
	min-width: 0;
}

body.page-home > .container,
body > .container:has(.hd-dashboard) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.hd-dashboard ~ hr,
.hd-dashboard ~ footer {
	margin-left: 70px;
	margin-right: 70px;
}

.hd-dashboard {
	width: 100%;
	min-height: calc(100vh - 72px);
	margin: 0;
	padding: 16px 70px 16px;
	box-sizing: border-box;
}

.hd-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.hd-main,
.hd-right {
	min-width: 0;
}

.hd-right {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hd-right .box,
.hd-right .accordion-group {
	margin-bottom: 0 !important;
}

.hd-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.22fr);
	gap: 12px;
	align-items: stretch;
	margin-bottom: 12px;
}

.hd-main-grid__item,
.hd-main-grid__item > .hd-card,
.hd-main-grid__item > .ajaxLoadedBlock {
	min-width: 0;
	height: 100%;
}

.hd-main-grid__item > .ajaxLoadedBlock > .hd-card,
.hd-main-grid__item > .hd-card {
	height: 100%;
	margin-bottom: 0;
}

.hd-main-grid__item > .ajaxLoadedBlock {
	display: flex;
	flex-direction: column;
}

.hd-main-grid__item > .ajaxLoadedBlock > .hd-card {
	flex: 1 1 auto;
}

.hd-main-grid--secondary > .hd-club-news-card {
	order: 5;
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.hd-card {
	background: rgba(12, 6, 6, 0.86);
	border: 1px solid rgba(151, 77, 31, 0.58);
	border-radius: 5px;
	margin-bottom: 14px;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	backdrop-filter: blur(3px);
	display: flex;
	flex-direction: column;
}

.hd-card:hover {
	border-color: rgba(240, 200, 120, 0.55);
	box-shadow: 0 0 16px rgba(212, 63, 38, 0.13), 0 4px 16px rgba(0, 0, 0, 0.32);
}

.hd-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 12px;
	min-height: 36px;
	padding: 8px 14px;
	border-bottom: 1px solid rgba(151, 77, 31, 0.54);
	background: linear-gradient(180deg, rgba(97, 17, 22, 0.94) 0%, rgba(45, 11, 14, 0.93) 100%);
}

.hd-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f0d080;
}

.hd-card__title .icon-signal {
	color: #ffdfaa;
	margin-right: 4px;
}

.hd-card__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.hd-select {
	appearance: none;
	-webkit-appearance: none;
	border-radius: 4px;
	border: 1px solid rgba(151, 77, 31, 0.72);
	background: rgba(18, 9, 9, 0.88);
	color: #fff8f0;
	font-size: 11px;
	font-weight: 600;
	padding: 6px 26px 6px 10px;
	line-height: 1.3;
	cursor: pointer;
}

.hd-card__body {
	padding: 10px 14px;
	flex: 1 1 auto;
}

.hd-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	gap: 18px;
	align-items: end;
	min-height: 132px;
	margin-bottom: 12px;
	padding: 18px 22px 16px;
	border: 1px solid rgba(151, 77, 31, 0.6);
	border-radius: 5px;
	background:
		radial-gradient(circle at 72% 10%, rgba(212, 175, 55, 0.12), transparent 25%),
		linear-gradient(105deg, rgba(16, 7, 7, 0.92) 0%, rgba(82, 15, 18, 0.78) 48%, rgba(14, 6, 6, 0.9) 100%);
	box-shadow: 0 0 20px rgba(122, 15, 15, 0.18), inset 0 0 0 1px rgba(255,255,255,.03);
	position: relative;
	overflow: hidden;
}

.hd-hero__welcome {
	margin: 0 0 6px;
	color: #fff7eb;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
}

.hd-hero__sub {
	margin: 0 0 18px;
	color: #d8c5b2;
	font-size: 12px;
}

.hd-hero__club {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.hd-hero__logo {
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	object-fit: contain;
	filter: drop-shadow(0 0 10px rgba(0,0,0,.55));
}

.hd-hero__logo--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(122,15,15,.85);
	border: 1px solid rgba(212,175,55,.45);
	color: #f0d080;
	font-weight: 900;
	font-size: 24px;
}

.hd-hero h2 {
	margin: 0 0 8px;
	color: #fff7eb;
	font-size: 22px;
	line-height: 1.2;
}

.hd-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #ead8c3;
	font-size: 12px;
}

.hd-hero__meta span {
	width: 1px;
	height: 14px;
	background: rgba(212,175,55,.55);
}

.hd-hero__rank {
	color: #f0d080;
	font-weight: 800;
	white-space: nowrap;
}

.hd-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 18px 0 0 94px;
}

.hd-hero__stats div {
	display: grid;
	grid-template-columns: 18px auto;
	grid-template-rows: auto auto;
	column-gap: 8px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: none;
	min-width: 104px;
}

.hd-hero__stats i {
	grid-row: 1 / 3;
	align-self: center;
	color: #d4af37;
	font-size: 13px;
}

.hd-hero__stats small,
.hd-hero__stats strong {
	display: block;
}

.hd-hero__stats small {
	margin-bottom: 2px;
	color: #d4af37;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.hd-hero__stats strong {
	color: #fff7eb;
	font-size: 12px;
	line-height: 1.25;
}

.hd-hero__kit {
	position: relative;
	justify-self: center;
	align-self: end;
	width: 122px;
	height: 118px;
	margin-bottom: -16px;
	background: linear-gradient(145deg, #b31324 0%, #7d1119 55%, #3b0606 100%);
	border: 1px solid rgba(255,255,255,.32);
	border-radius: 18px 18px 8px 8px;
	box-shadow: 0 0 18px rgba(180, 20, 22, .3);
	clip-path: polygon(20% 0, 38% 0, 45% 12%, 55% 12%, 62% 0, 80% 0, 100% 24%, 84% 42%, 84% 100%, 16% 100%, 16% 42%, 0 24%);
}

.hd-hero__kit-img {
	justify-self: center;
	align-self: end;
	max-width: 150px;
	max-height: 126px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin-bottom: -16px;
	filter: drop-shadow(0 0 16px rgba(0,0,0,.48));
}

.hd-hero__kit:before {
	content: "";
	position: absolute;
	inset: 12px 38px auto;
	height: 22px;
	border: 2px solid rgba(255,255,255,.34);
	border-top: 0;
	border-radius: 0 0 18px 18px;
}

.hd-hero__kit:after {
	content: "CFM";
	position: absolute;
	left: 0;
	right: 0;
	top: 47px;
	text-align: center;
	color: rgba(255,255,255,.78);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: .04em;
}

.hd-card__foot {
	padding: 8px 12px 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	text-align: center;
	margin-top: auto;
}

.hd-card__foot .btn,
.hd-card__foot a.btn,
.hd-btn-gold {
	display: inline-block;
	padding: 7px 34px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: transparent !important;
	color: #f0d080 !important;
	border: 1px solid rgba(212, 175, 55, 0.72) !important;
	border-radius: 5px;
	text-shadow: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.hd-card__foot .btn:hover,
.hd-card__foot a.btn:hover,
.hd-btn-gold:hover {
	background: rgba(212, 175, 55, 0.12) !important;
	color: #fff2be !important;
	text-decoration: none;
}

/* Oberer Bereich: Live + Heute */
.hd-top-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
}

.hd-top-row__live {
	flex: 1 1 58%;
	min-width: 280px;
	order: 1;
}

.hd-top-row__today {
	flex: 1 1 34%;
	min-width: 240px;
	order: 2;
}

/* Live-Spiele — Liste (wie Heutige Spiele) */
#hdLiveMatches .hd-games-panel__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 218px;
	max-height: 238px;
	overflow-y: auto;
}

#hdLiveMatches .hd-games-panel__tools .hd-select {
	width: auto;
	min-width: 110px;
	max-width: 240px;
	flex: 0 1 190px;
}

.hd-live-row__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex: 0 0 52px;
	text-align: center;
}

.hd-live-row__minute {
	font-size: 10px;
	font-weight: 800;
	color: #7cff9a;
	letter-spacing: 0.04em;
	line-height: 1.1;
}

.hd-live-row__score a {
	font-size: 13px;
	font-weight: 800;
	color: #ffdfaa;
	text-decoration: none;
	line-height: 1.2;
}

.hd-live-row__score a:hover {
	color: #fff8f0;
	text-decoration: underline;
}

/* Heutige Spiele — Liste */
#hdTodayMatches .hd-games-panel__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 218px;
}

.hd-today-list {
	width: 100%;
	max-height: 218px;
	overflow-y: auto;
}

.hd-today-list::-webkit-scrollbar {
	width: 5px;
}

.hd-today-list::-webkit-scrollbar-thumb {
	background: rgba(212, 175, 55, 0.4);
	border-radius: 3px;
}

.hd-today-section + .hd-today-section {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.hd-today-section__head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 6px;
	margin-bottom: 2px;
}

.hd-today-section__logo {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	object-fit: contain;
}

.hd-today-section__title {
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	color: #ffdfaa;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.hd-today-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 6px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-today-section .hd-today-row:last-child {
	border-bottom: none;
}

.hd-today-row__team img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

.hd-today-row__time {
	flex: 0 0 42px;
	text-align: center;
	font-weight: 800;
	font-size: 12px;
	color: #ffdfaa;
}

.hd-today-row__time a {
	color: inherit;
	text-decoration: none;
}

.hd-today-row__teams {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 auto;
	width: 100%;
}

/* Livespiele: kleines Wettbewerbslogo links in der Zeile */
.hd-live-row--filter .hd-today-row__comp {
	width: 22px;
	flex-shrink: 0;
}

.hd-live-row--filter .hd-today-row__comp img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.hd-live-row--filter {
	justify-content: center;
}

.hd-live-row--filter .hd-today-row__teams {
	flex: 0 0 auto;
	width: auto;
	margin-left: 0;
}

#hdLiveMatches .hd-empty {
	text-align: center;
}

/* Mittlerer Bereich: Shoutbox + Social */
.hd-mid-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
	align-items: stretch;
}

.hd-mid-row__shout,
.hd-mid-row__social {
	flex: 1 1 calc(50% - 8px);
	min-width: 280px;
	display: flex;
	flex-direction: column;
}

.hd-mid-row__shout .hd-card,
.hd-mid-row__social .hd-card {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
}

.hd-mid-row__shout .hd-card__body,
.hd-mid-row__social .hd-card__body {
	flex: 1 1 auto;
	min-height: 320px;
	max-height: 320px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.hd-main-grid__item--chat .hd-card {
	display: flex;
	flex-direction: column;
}

.hd-main-grid__item--chat .hd-card__body--shout {
	flex: 1 1 auto;
	min-height: 278px;
	max-height: 278px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 8px 10px 10px;
}

.hd-mid-row__shout .hd-card__body--shout {
	padding: 8px 10px 10px;
}

.hd-mid-row__shout .hd-card__body--shout > .ajaxLoadedBlock,
.hd-main-grid__item--chat .hd-card__body--shout > .ajaxLoadedBlock {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hd-mid-panel-scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	min-height: 0;
}

.hd-mid-panel-scroll::-webkit-scrollbar {
	width: 5px;
}

.hd-mid-panel-scroll::-webkit-scrollbar-thumb {
	background: rgba(212, 175, 55, 0.4);
	border-radius: 3px;
}

/* Shoutbox overrides inside dashboard */
.hd-mid-row__shout .home-shoutbox-inline,
.hd-main-grid__item--chat .home-shoutbox-inline {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	height: auto;
	flex: 1 1 auto;
	min-height: 0;
}

.hd-mid-row__shout .home-shoutbox-list,
.hd-main-grid__item--chat .home-shoutbox-list {
	max-height: none;
	flex: 1 1 auto;
	min-height: 132px;
}

.hd-mid-row__shout .home-shoutbox-scroll-area,
.hd-main-grid__item--chat .home-shoutbox-scroll-area {
	flex: 1 1 auto;
	min-height: 0;
}

.hd-mid-row__shout .home-shoutbox-footer,
.hd-main-grid__item--chat .home-shoutbox-footer {
	flex-shrink: 0;
}

.hd-mid-row__shout .home-shoutbox-form,
.hd-main-grid__item--chat .home-shoutbox-form {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	gap: 8px;
}

.hd-mid-row__shout .home-shoutbox-form input[type=text],
.hd-main-grid__item--chat .home-shoutbox-form input[type=text] {
	min-width: 0;
	flex: 1 1 auto;
	box-sizing: border-box;
	height: 34px;
	margin: 0;
}

.hd-main-grid__item--chat .home-shoutbox-form .btn,
.hd-main-grid__item--chat .home-shoutbox-form button {
	flex: 0 0 auto;
	height: 34px;
	margin: 0;
	white-space: nowrap;
}

.hd-mid-row__shout .home-shoutbox-item,
.hd-main-grid__item--chat .home-shoutbox-item {
	font-size: 12px;
	margin-bottom: 8px;
}

.hd-mid-row__shout .home-shoutbox-online-bar,
.hd-main-grid__item--chat .home-shoutbox-online-bar {
	margin-bottom: 8px;
}

/* Social feed home */
.hd-sf-item {
	padding: 12px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hd-sf-item:last-child {
	border-bottom: none;
}

.hd-sf-hd {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.hd-sf-ava img,
.hd-sf-ava span {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.hd-sf-ava span {
	display: block;
	line-height: 40px;
	text-align: center;
	background: #7a0f0f;
	color: #ffdfaa;
	font-weight: 700;
	font-size: 11px;
}

.hd-sf-meta {
	font-size: 12px;
	color: #ead8c3;
}

.hd-sf-club {
	font-weight: 700;
	color: #ffdfaa;
}

.hd-sf-handle {
	color: #c9b49f;
}

.hd-sf-time {
	font-size: 11px;
	color: #c9b49f;
}

.hd-sf-text {
	margin: 8px 0 0 50px;
	font-size: 13px;
	line-height: 1.45;
	color: #f2dfcc;
	white-space: pre-wrap;
	word-break: break-word;
}

.hd-sf-press-link {
	margin: 6px 0 0 50px;
	font-size: 12px;
	line-height: 1.35;
}

.hd-sf-press-link a {
	color: #ffdfaa;
	font-weight: 600;
	text-decoration: underline;
}

.hd-sf-press-link a:hover {
	color: #fff3d4;
}

.hd-sf-foot {
	margin: 8px 0 0 50px;
	font-size: 12px;
	color: #c9b49f;
	display: flex;
	gap: 12px;
	align-items: center;
}

.hd-news-list {
	max-height: 206px;
	overflow-y: auto;
}

.hd-club-news-card .hd-news-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
	max-height: 260px;
}

.hd-news-list::-webkit-scrollbar {
	width: 5px;
}

.hd-news-list::-webkit-scrollbar-thumb {
	background: rgba(212, 175, 55, 0.4);
	border-radius: 3px;
}

.hd-news-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-news-item:last-child {
	border-bottom: none;
}

.hd-news-item__logo img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 4px;
}

.hd-news-item__logo span {
	display: block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 4px;
	background: #7a0f0f;
	color: #ffdfaa;
	font-weight: 700;
	font-size: 10px;
}

.hd-news-item__text {
	flex: 1 1 auto;
	min-width: 0;
}

.hd-news-item__meta {
	font-size: 11px;
	color: #c9b49f;
	margin-bottom: 3px;
}

.hd-news-item__title a {
	color: #f2dfcc;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
}

.hd-news-item__title a:hover {
	color: #ffdfaa;
	text-decoration: none;
}

/* Admin Neuigkeiten */
.hd-admin-item {
	padding: 8px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-admin-item:last-child {
	border-bottom: none;
}

.hd-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-right: 6px;
	vertical-align: middle;
}

.hd-badge--important {
	background: #b71c1c;
	color: #fff;
}

.hd-badge--update {
	background: #2e7d32;
	color: #fff;
}

.hd-badge--info {
	background: #1565c0;
	color: #fff;
}

.hd-empty {
	padding: 16px 8px;
	text-align: center;
	color: #c9b49f;
	font-style: italic;
	font-size: 12px;
}

@media (max-width: 979px) {
	.hd-dashboard {
		padding: 14px 12px 22px;
	}

	.hd-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.hd-main-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hd-hero {
		grid-template-columns: 1fr;
		padding: 16px 14px;
	}

	.hd-hero__stats {
		margin: 16px 0 0;
		gap: 12px;
	}

	.hd-club-news-card .hd-news-list {
		grid-template-columns: 1fr;
	}

	.hd-hero__kit,
	.hd-hero__kit-img {
		display: none;
	}

	.hd-top-row__live,
	.hd-top-row__today,
	.hd-mid-row__shout,
	.hd-mid-row__social,
	.hd-news-row > .hd-card {
		flex: 1 1 100%;
		min-width: 0;
	}

	.hd-mid-row__shout .hd-card__body,
	.hd-mid-row__social .hd-card__body {
		min-height: 260px;
		max-height: 360px;
	}

	.hd-games-panel__body,
	.hd-main-grid__item--chat .hd-card__body--shout {
		min-height: 260px;
		max-height: 360px;
	}

	.hd-right {
		gap: 12px;
	}

	.hd-dashboard ~ hr,
	.hd-dashboard ~ footer {
		margin-left: 14px;
		margin-right: 14px;
	}
}

/* Startseite v3: vereinsbezogenes Hero und bildbasierter Feed */
.hd-hero--club-theme {
	border-color: rgba(var(--club-primary-rgb), .9);
	background:
		radial-gradient(circle at 72% 10%, rgba(var(--club-secondary-rgb), .24), transparent 28%),
		linear-gradient(115deg, rgba(var(--club-primary-rgb), .96) 0%, rgba(var(--club-primary-rgb), .82) 45%, rgba(var(--club-secondary-rgb), .56) 100%);
	box-shadow: 0 0 24px rgba(var(--club-primary-rgb), .24), inset 0 0 0 1px rgba(255,255,255,.05);
}

.hd-overview-grid {
	display: grid;
	grid-template-columns: minmax(175px, .9fr) minmax(175px, .9fr) minmax(250px, 1.34fr) minmax(235px, 1.24fr);
	grid-template-areas:
		"matches matches chat feed"
		"news news news feed";
	gap: 12px;
	align-items: stretch;
}

.hd-overview-grid__matches { grid-area: matches; min-width: 0; }
.hd-overview-grid__chat { grid-area: chat; }
.hd-overview-grid__feed { grid-area: feed; }
.hd-overview-grid__news { grid-area: news; min-width: 0; }
.hd-overview-grid__news .hd-main-grid { grid-template-columns: minmax(230px, .9fr) minmax(360px, 1.65fr); margin: 0; }
.hd-overview-grid__feed > .hd-card { margin-bottom: 0; }
.hd-overview-grid__matches > .hd-card,
.hd-overview-grid__chat > .hd-card,
.hd-overview-grid__feed > .hd-card { height: 100%; }

.hd-feed-card { min-height: 100%; }
.hd-feed-card__head { align-items: stretch; padding: 0 8px; }
.hd-feed-tabs { display: flex; align-items: stretch; gap: 2px; min-height: 42px; }
.hd-feed-tab {
	position: relative;
	padding: 8px 10px 7px;
	border: 0;
	background: transparent;
	color: rgba(255,255,255,.7);
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.hd-feed-tab:after { content:""; position:absolute; left:9px; right:9px; bottom:0; height:3px; background:transparent; border-radius:3px 3px 0 0; }
.hd-feed-tab.is-active { color: #ffd75c; }
.hd-feed-tab.is-active:after { background: #ffd75c; }
.hd-feed-card__body { padding: 0; overflow: hidden; }
.hd-feed-panel { height: 100%; }

.hd-sf-item {
	display: grid;
	grid-template-columns: 106px minmax(0, 1fr);
	gap: 10px;
	min-height: 112px;
	padding: 9px;
	box-sizing: border-box;
}
.hd-sf-visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 94px;
	overflow: hidden;
	border-radius: 5px;
	background:
		var(--sf-image, linear-gradient(transparent, transparent)) center / cover no-repeat,
		radial-gradient(circle at 70% 18%, rgba(255,255,255,.2), transparent 26%),
		linear-gradient(145deg, rgba(var(--sf-primary), .98), rgba(var(--sf-secondary), .82));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.hd-sf-visual:before { content:""; position:absolute; inset:0; background:linear-gradient(150deg, transparent 52%, rgba(0,0,0,.4)); }
.hd-sf-player { position:relative; z-index:1; display:block; max-width:100%; height:100%; max-height:104px; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 4px 7px rgba(0,0,0,.58)); }
.hd-sf-main-logo { position:relative; z-index:1; width:58px; height:58px; object-fit:contain; margin:auto; filter:drop-shadow(0 3px 5px rgba(0,0,0,.55)); }
.hd-sf-target-logo { position:absolute; z-index:3; right:5px; bottom:5px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; padding:3px; border-radius:50%; background:rgba(255,255,255,.94); box-shadow:0 2px 7px rgba(0,0,0,.5); }
.hd-sf-target-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.hd-sf-source-logo { position:absolute; z-index:3; left:5px; bottom:5px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; padding:3px; border-radius:50%; background:rgba(255,255,255,.94); box-shadow:0 2px 7px rgba(0,0,0,.5); }
.hd-sf-source-logo img { max-width:100%; max-height:100%; object-fit:contain; }

/* Both clubs remain visible in the compact home feed; player art stays between them. */
.hd-sf-player{position:absolute;left:50%;bottom:0;width:58%;height:82%;transform:translateX(-50%);object-fit:contain;object-position:50% 100%}
.hd-sf-source-logo,.hd-sf-target-logo{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;width:34px;height:34px;padding:5px;box-sizing:border-box;border:2px solid rgba(151,196,239,.8);background:rgba(3,14,29,.92)}
.hd-sf-source-logo img,.hd-sf-target-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:50% 50%}
.hd-sf-source-logo b,.hd-sf-target-logo b{display:grid;place-items:center;align-self:stretch;justify-self:stretch;color:#fff;font-size:8px;line-height:1}
.hd-sf-main-logo{width:52px;height:52px;object-position:50% 50%}
.hd-sf-status { position:absolute; z-index:4; top:5px; left:5px; padding:2px 5px; border:1px solid #5cb7ff; border-radius:2px; background:rgba(2,10,23,.82); color:#7bc6ff; font-size:7px; font-weight:900; text-transform:uppercase; }
.hd-sf-visual--confirmed .hd-sf-status { border-color:#5bdd73; color:#77ec8c; }
.hd-sf-visual--failed .hd-sf-status { border-color:#ee4b4b; color:#ff6c6c; }
.hd-sf-item.hd-sf-item--text-only { grid-template-columns:minmax(0,1fr); min-height:0; }
.hd-sf-silhouette { position:relative; z-index:1; margin:auto; font-size:36px; }
.hd-sf-content { min-width:0; display:flex; flex-direction:column; }
.hd-sf-hd { gap:7px; align-items:center; }
.hd-sf-ava img,
.hd-sf-ava span { width:23px; height:23px; line-height:23px; }
.hd-sf-meta { min-width:0; line-height:1.15; }
.hd-sf-club { display:inline; color:#f5f7ff; font-size:11px; }
.hd-sf-verified { display:inline-flex; align-items:center; justify-content:center; width:13px; height:13px; margin-left:3px; border-radius:50%; background:#2684ff; color:white; font-size:9px; font-weight:900; }
.hd-sf-meta time { float:right; margin-left:6px; color:#9caac1; font-size:10px; white-space:nowrap; }
.hd-sf-text { margin:6px 0 0; font-size:12px; line-height:1.35; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.hd-sf-text a { color:#f1f4fa; text-decoration:none; }
.hd-sf-press-link { margin:4px 0 0; font-size:10px; }
.hd-sf-foot { margin:7px 0 0; gap:13px; margin-top:auto; font-size:11px; }
.hd-sf-foot form { display:inline; margin:0; }
.hd-sf-foot button { border:0; padding:0; background:transparent; color:#c6d0df; font:inherit; cursor:pointer; }
.hd-sf-foot button:hover,
.hd-sf-foot a:hover { color:#ffd75c; }
.hd-sf-foot a,
.hd-sf-foot > span { color:#aebad0; text-decoration:none; white-space:nowrap; }
.hd-feed-card__foot { min-height:30px; padding:6px 10px; text-align:right; border-top:1px solid rgba(255,255,255,.07); }
.hd-feed-card__foot a { color:#dbe6fa; font-size:11px; text-decoration:none; }

.hd-games-card { min-height:100%; }
.hd-games-card__head { align-items:stretch; padding:0 8px; }
.hd-games-card__body { padding:0; overflow:hidden; }
.hd-games-panel { height:100%; }
.hd-games-panel > .ajaxLoadedBlock { min-height:100%; }
.hd-games-fragment { display:flex; flex-direction:column; min-height:100%; }
.hd-games-panel__tools {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
	min-height:48px;
	padding:8px 12px;
	box-sizing:border-box;
	border-bottom:1px solid rgba(255,255,255,.07);
	background:rgba(3,13,29,.28);
}
.hd-games-panel__tools:empty { display:none; }
.hd-games-panel__tools .hd-select { width:auto; min-width:150px; max-width:260px; margin:0; }
.hd-games-panel__body { padding:10px 12px; box-sizing:border-box; }
.hd-games-card__foot { min-height:30px; }
.hd-games-card__foot a:hover { color:#ffd75c; }
.hd-match-line {
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(76px,auto) minmax(0,1fr);
	align-items:center;
	gap:12px;
	min-height:62px;
	padding:9px 10px;
	box-sizing:border-box;
	border-bottom:1px solid rgba(255,255,255,.08);
	color:#eef3fb;
	text-decoration:none !important;
}
.hd-match-line:hover { background:rgba(255,255,255,.035); }
.hd-match-line__club { display:flex; align-items:center; gap:9px; min-width:0; }
.hd-match-line__club--guest { justify-content:flex-end; text-align:right; }
.hd-match-line__logo { display:flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; }
.hd-match-line__logo img { max-width:30px; max-height:30px; object-fit:contain; }
.hd-match-line__name { overflow:hidden; color:#f5f7fc; font-size:12px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.hd-match-line__center { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:76px; text-align:center; }
.hd-match-line__center strong { color:#fff0ad; font-size:15px; line-height:1.15; white-space:nowrap; }
.hd-match-line__center small { margin-top:3px; color:#8fd2ff; font-size:10px; font-weight:800; white-space:nowrap; }

.hd-cn-item { display:grid; grid-template-columns:48px minmax(0,1fr); gap:10px; min-height:92px; padding:11px 12px; box-sizing:border-box; border-bottom:1px solid rgba(255,255,255,.07); color:#eaf1ff; text-decoration:none !important; }
.hd-cn-item:hover { background:rgba(255,255,255,.035); }
.hd-cn-logo { display:flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:6px; background:rgba(255,255,255,.05); color:#ffd75c; font-weight:900; }
.hd-cn-logo img { max-width:38px; max-height:38px; object-fit:contain; }
.hd-cn-copy { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:start; gap:2px 8px; }
.hd-cn-copy b { color:#f6f8fd; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hd-cn-copy b i { display:inline-flex; width:13px; height:13px; align-items:center; justify-content:center; border-radius:50%; background:#2684ff; color:#fff; font-size:9px; font-style:normal; }
.hd-cn-copy small { color:#9caac1; font-size:10px; }
.hd-cn-copy strong { grid-column:1/-1; margin-top:4px; color:#edf3ff; font-size:13px; line-height:1.3; }
.hd-cn-copy em { grid-column:1/-1; color:#ffd75c; font-size:10px; font-style:normal; text-transform:uppercase; }

.hd-league-news-type { display:inline-block; margin-left:7px; font-size:9px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.hd-league-news-type--preview { color:#ffad45; }
.hd-league-news-type--review { color:#7fde72; }
.hd-league-news-type--hall { color:#ffd75c; }
.hd-league-news-type--info { color:#6fd3ff; }

@media (min-width: 980px) and (max-width: 1340px) {
	.hd-overview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"matches matches"
			"chat chat"
			"feed feed"
			"news news";
	}
	.hd-feed-card__body { max-height:560px; overflow-y:auto; }
}

@media (max-width: 979px) {
	.hd-overview-grid { display:flex; flex-direction:column; }
	.hd-overview-grid__news .hd-main-grid { grid-template-columns:1fr; }
	.hd-feed-card__body { max-height:560px; overflow-y:auto; }
}

@media (max-width: 560px) {
	.hd-games-panel__tools { flex-wrap:wrap; align-items:stretch; }
	.hd-games-panel__tools .hd-select,
	#hdLiveMatches .hd-games-panel__tools .hd-select {
		width:100%;
		min-width:0;
		max-width:none;
		flex:1 1 100%;
	}
	.hd-match-line { grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr); gap:6px; padding-left:6px; padding-right:6px; }
	.hd-match-line__club { gap:5px; }
	.hd-match-line__logo { flex-basis:25px; width:25px; height:25px; }
	.hd-match-line__logo img { max-width:24px; max-height:24px; }
	.hd-match-line__name { font-size:10px; }
	.hd-match-line__center { min-width:62px; }
}

@media (min-width: 980px) and (max-width: 1320px) {
	.hd-dashboard-grid {
		grid-template-columns: minmax(0, 1fr) 330px;
		gap: 18px;
	}

	.hd-dashboard {
		padding-left: 22px;
		padding-right: 22px;
	}

	.hd-main-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.hd-main-grid__item--chat {
		grid-column: 1 / -1;
	}
}

/* Startseite v2: Kalender, Vereinsstatus, Stadion-Hero und Vereinschronik */
.hd-dashboard {
	padding: 10px 16px 18px;
}

.hd-dashboard-grid {
	max-width: none;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 14px;
}

.hd-card,
.hd-side-card,
.home-club-matches-acc .accordion-group {
	background: rgba(4, 18, 35, 0.92);
	border-color: rgba(48, 93, 156, 0.72);
	border-radius: 6px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hd-card__head,
.home-club-matches-acc .accordion-heading {
	background: linear-gradient(180deg, #2357d9 0%, #143083 100%) !important;
	border-bottom-color: rgba(74, 128, 220, 0.76);
}

.hd-card__title,
.home-club-matches-acc .accordion-heading a.accordion-toggle,
.hd-side-card h3 {
	color: #ffd75c !important;
	letter-spacing: 0.02em;
}

.hd-weekbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 82px;
	min-height: 88px;
	margin-bottom: 8px;
	border: 1px solid rgba(211, 163, 46, 0.72);
	border-radius: 6px;
	background: rgba(3, 16, 32, 0.94);
	overflow: hidden;
}

.hd-weekbar__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hd-weekday {
	position: relative;
	min-width: 0;
	padding: 10px 8px 8px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.hd-weekday__label {
	color: #f4f7ff;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 8px;
}

.hd-weekday__empty {
	color: #f3d9a0;
	font-weight: 800;
	padding-top: 16px;
}

.hd-weekmatch {
	display: grid;
	gap: 3px;
	color: #fff;
	text-decoration: none !important;
	position: relative;
	min-width: 0;
}

.hd-weekmatch__time {
	font-size: 11px;
	font-weight: 800;
}

.hd-weekmatch__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 26px;
}

.hd-weekmatch__logos img,
.hd-weekmatch__logos > span {
	width: 24px;
	height: 24px;
	object-fit: contain;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.08);
}

.hd-weekmatch__logos b {
	color: #f8e7c0;
	font-size: 14px;
	line-height: 1;
}

.hd-weekmatch__competition {
	color: #cad7ee;
	font-size: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hd-weekmatch em {
	position: absolute;
	top: 15px;
	right: 5px;
	min-width: 20px;
	padding: 1px 5px;
	border-radius: 999px;
	background: #2458dd;
	color: #fff;
	font-style: normal;
	font-size: 10px;
	font-weight: 900;
}

.hd-weekbar__calendar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #f7e0ad;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.05);
	border-left: 1px solid rgba(211, 163, 46, 0.38);
}

.hd-weekbar__calendar i {
	font-size: 24px;
	color: #f4f7ff;
}

.hd-hero {
	grid-template-columns: minmax(0, 1fr) minmax(390px, 44%);
	min-height: 210px;
	align-items: stretch;
	padding: 24px 0 18px 26px;
	border-color: rgba(231, 44, 44, 0.8);
	background:
		linear-gradient(115deg, rgba(64, 11, 13, 0.98) 0%, rgba(60, 12, 17, 0.9) 44%, rgba(8, 20, 36, 0.8) 100%);
}

.hd-hero__copy {
	position: relative;
	z-index: 2;
	padding-right: 12px;
}

.hd-hero__welcome {
	font-size: 25px;
}

.hd-hero__stadium {
	position: relative;
	align-self: stretch;
	min-height: 190px;
	background:
		radial-gradient(circle at 72% 28%, rgba(82, 122, 205, 0.22), transparent 36%),
		linear-gradient(135deg, rgba(19, 47, 94, 0.78) 0%, rgba(8, 20, 36, 0.92) 62%, rgba(64, 11, 13, 0.84) 100%);
	background-size: cover;
	background-position: center;
	clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
	box-shadow: inset 22px 0 28px rgba(43, 9, 12, 0.82);
}

.hd-hero__stadium--custom {
	background-size: cover;
	background-position: center;
}

.hd-hero__stadium--small { background-position: center 62%; }
.hd-hero__stadium--medium { background-position: center 56%; }
.hd-hero__stadium--large,
.hd-hero__stadium--elite { background-position: center 50%; }

.hd-hero__stats {
	gap: 26px;
}

.hd-main-grid--primary {
	grid-template-columns: minmax(270px, 1fr) minmax(270px, 0.92fr) minmax(360px, 1.52fr);
}

.hd-main-grid--secondary {
	grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 0.95fr) minmax(360px, 1.5fr);
}

.hd-news-list {
	max-height: 230px;
}

.hd-side-card {
	position: relative;
	padding: 0;
	margin-bottom: 0;
	overflow: hidden;
}

.hd-side-card h3 {
	margin: 0;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	background: linear-gradient(180deg, #2357d9 0%, #143083 100%);
	border-bottom: 1px solid rgba(74, 128, 220, 0.76);
}

.hd-club-switch {
	background: rgba(4, 18, 35, 0.86);
	overflow: visible;
}

.hd-club-switch__current {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	color: #fff;
	border: 1px solid rgba(48, 93, 156, 0.72);
	border-radius: 6px;
	background: rgba(4, 18, 35, 0.94);
	text-align: left;
}

.hd-club-switch__current img,
.hd-club-switch__menu img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	flex: 0 0 34px;
}

.hd-club-switch__current span,
.hd-club-switch__menu span {
	display: grid;
	min-width: 0;
}

.hd-club-switch__current b,
.hd-club-switch__menu span {
	color: #fff;
	font-size: 13px;
}

.hd-club-switch__current small,
.hd-club-switch__menu small {
	color: #c8d5ef;
	font-size: 11px;
}

.hd-club-switch__current i {
	margin-left: auto;
	color: #f5d26a;
}

.hd-club-switch__menu {
	right: 0;
	left: auto;
	width: 100%;
	margin-top: 4px;
	padding: 6px;
	background: #06152a;
	border-color: rgba(48, 93, 156, 0.84);
}

.hd-club-switch__menu a {
	display: flex !important;
	align-items: center;
	gap: 9px;
	border-radius: 4px;
	color: #fff !important;
}

.hd-search-card form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
}

.hd-search-card i {
	color: #ffd75c;
	font-size: 16px;
}

.hd-search-card input[type=text] {
	flex: 1 1 auto;
	min-width: 0;
	height: 32px;
	margin: 0;
	box-sizing: border-box;
	background: rgba(2, 11, 22, 0.95);
	border: 1px solid rgba(211, 163, 46, 0.7);
	color: #f6fbff;
	border-radius: 4px;
}

.hd-right .cfm-global-search {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(48, 93, 156, 0.72) !important;
	border-radius: 6px;
	background: rgba(4, 18, 35, 0.92) !important;
	overflow: visible;
}

.hd-right .cfm-global-search__label {
	display: block;
	margin: 0;
	padding: 8px 14px;
	color: #ffd75c !important;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	background: linear-gradient(180deg, #2357d9 0%, #143083 100%);
	border-bottom: 1px solid rgba(74, 128, 220, 0.76);
}

.hd-right .cfm-global-search__field {
	margin: 10px;
	border: 1px solid rgba(211, 163, 46, 0.7);
	background: rgba(2, 11, 22, 0.95);
}

.hd-right .cfm-global-search__input {
	color: #f6fbff;
	background: transparent !important;
}

.hd-status-card {
	padding-bottom: 10px;
}

.hd-status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 12px;
	color: #e6eefb;
	font-size: 12px;
}

.hd-status-row span {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.hd-status-row i {
	color: #f4d36a;
	width: 15px;
	text-align: center;
}

.hd-status-row strong {
	color: #fff;
	white-space: nowrap;
}

.hd-status-meter {
	display: grid;
	grid-template-columns: 1fr 42px;
	gap: 8px;
	align-items: center;
	padding: 6px 12px 2px;
	color: #dce8fb;
	font-size: 12px;
}

.hd-status-meter b {
	text-align: right;
	color: #fff;
}

.hd-status-meter em {
	grid-column: 1 / -1;
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.hd-status-meter i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #4f72ff, #73d5ff);
}

.hd-tasks-card header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(180deg, #2357d9 0%, #143083 100%);
	border-bottom: 1px solid rgba(74, 128, 220, 0.76);
}

.hd-tasks-card header h3 {
	background: transparent;
	border: none;
	padding-right: 6px;
}

.hd-tasks-card header a {
	padding-right: 12px;
	color: #f7d56a;
	font-size: 11px;
	font-weight: 800;
}

.hd-task-list {
	padding: 8px 10px 10px;
}

.hd-task {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	padding: 6px 0;
	color: #eaf1ff;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 12px;
}

.hd-task:last-child {
	border-bottom: none;
}

.hd-task i {
	width: 18px;
	height: 18px;
	line-height: 18px;
	border-radius: 50%;
	text-align: center;
	color: #06152a;
	font-size: 10px;
	background: #69c6ff;
}

.hd-task small {
	color: #aebad0;
	white-space: nowrap;
}

.hd-task--gold i { background: #ffd75c; }
.hd-task--orange i { background: #ffad45; }
.hd-task--green i { background: #7fde72; }
.hd-task--cyan i { background: #63d8e9; }

.hd-club-chronicle {
	margin-bottom: 0;
}

.hd-club-chronicle__filters {
	gap: 6px;
}

.hd-filter-pill {
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid rgba(92, 138, 220, 0.65);
	border-radius: 4px;
	background: rgba(3, 18, 36, 0.75);
	color: #dce8fb;
	font-size: 11px;
	font-weight: 800;
}

.hd-filter-pill.is-active {
	background: #2357d9;
	color: #fff;
	border-color: #5d8bff;
}

.hd-club-timeline {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.hd-club-timeline__item {
	display: grid;
	grid-template-columns: 30px 104px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 44px;
	padding: 7px 10px;
	color: #eaf1ff;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-club-timeline__item:hover,
.hd-club-timeline__item:focus {
	background: rgba(255, 255, 255, 0.035);
}

.hd-club-timeline__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}

.hd-club-timeline__logo img {
	display: block;
	max-width: 28px;
	max-height: 28px;
	object-fit: contain;
}

.hd-club-timeline__logo span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 215, 92, 0.28);
	border-radius: 4px;
	background: rgba(255, 215, 92, 0.10);
	color: #ffd75c;
	font-size: 10px;
	font-weight: 900;
}

.hd-club-timeline__date {
	display: grid;
	color: #aebad0;
	font-size: 11px;
	line-height: 1.2;
}

.hd-club-timeline__date small {
	color: #6fd3ff;
}

.hd-club-timeline__text {
	min-width: 0;
	color: #f6fbff;
	font-size: 13px;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hd-club-timeline__text b {
	display: inline-block;
	margin-right: 8px;
	color: #ffd75c;
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 0.04em;
}

@media (max-width: 979px) {
	.hd-weekbar,
	.hd-dashboard-grid,
	.hd-hero {
		grid-template-columns: 1fr;
	}

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

	.hd-weekbar__calendar {
		min-height: 58px;
		border-left: none;
		border-top: 1px solid rgba(211, 163, 46, 0.38);
	}

	.hd-hero {
		padding: 16px 14px;
	}

	.hd-hero__stadium {
		display: block;
		min-height: 150px;
		clip-path: none;
		border-radius: 5px;
	}

	.hd-club-timeline {
		grid-template-columns: 1fr;
	}
}

/* Keep club branding after the legacy v2 hero declarations above. */
.hd-hero.hd-hero--club-theme {
	border-color: rgba(var(--club-primary-rgb), .9);
	background:
		radial-gradient(circle at 72% 10%, rgba(var(--club-secondary-rgb), .24), transparent 28%),
		linear-gradient(115deg, rgba(var(--club-primary-rgb), .96) 0%, rgba(var(--club-primary-rgb), .82) 45%, rgba(var(--club-secondary-rgb), .56) 100%);
	box-shadow: 0 0 24px rgba(var(--club-primary-rgb), .24), inset 0 0 0 1px rgba(255,255,255,.05);
}
/* Medienzentrum-Teaser unter den bestehenden Dashboard-Kacheln */
.hd-media{grid-column:1/-1;margin-top:12px;background:rgba(5,20,44,.96);border:1px solid #28528f;border-radius:6px;overflow:hidden}.hd-media>header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(90deg,#244bc4,#12327d);color:#fff}.hd-media h2{margin:0;color:#ffda4d;font-size:18px}.hd-media header a{color:#fff;text-decoration:none;font-size:13px}.hd-media-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;padding:12px}.hd-media-lead{position:relative;min-height:250px;padding:0 0 12px;color:#fff;text-decoration:none}.hd-media-lead img{display:block;width:100%;height:150px;object-fit:cover;border-radius:4px}.hd-media-tag{display:inline-block;margin-top:8px;padding:4px 8px;background:#1454c4;color:#fff;font-size:10px;font-weight:800;border-radius:3px}.hd-media h3{margin:7px 0 3px;font-size:20px}.hd-media p{margin:0 0 6px;color:#bdcbe2;font-size:13px}.hd-media small{color:#a9b8d0}.hd-media-list{display:flex;flex-direction:column}.hd-media-list>a{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;padding:9px 8px;border-bottom:1px solid rgba(83,116,170,.35);color:#fff;text-decoration:none}.hd-media-list>a:hover{background:rgba(255,255,255,.04)}.hd-media-thumb{width:100px;height:64px;object-fit:cover;border-radius:4px;grid-row:1}.hd-media-item-copy{min-width:0}.hd-media-list strong{display:block;margin:5px 0;font-size:14px;line-height:1.25}.hd-media-list .hd-media-tag{margin-top:0}@media(max-width:800px){.hd-media-grid{grid-template-columns:1fr}.hd-media-list>a{grid-template-columns:86px minmax(0,1fr)}.hd-media-thumb{width:86px;height:58px}}
.hd-media-art{position:relative;display:block;overflow:hidden;background-color:#172b54;background-size:cover;background-position:center;border-radius:4px}.hd-media-lead>.hd-media-art{height:180px}.hd-media-art__player{position:absolute;right:18%;bottom:0;max-width:48%;height:96%;width:auto;object-fit:contain;object-position:bottom;filter:drop-shadow(0 5px 8px rgba(0,0,0,.45))}.hd-media-art__clubs{position:absolute;right:14px;bottom:12px;display:flex;gap:8px;align-items:center}.hd-media-art__clubs img{width:42px;height:42px;object-fit:contain;padding:4px;border-radius:50%;background:rgba(4,16,38,.78);border:1px solid rgba(255,215,92,.65)}.hd-media-list .hd-media-thumb{width:100px;height:64px;object-fit:cover;background-position:center}.hd-media-list .hd-media-thumb .hd-media-art__player{right:18%;max-width:58%;height:100%}.hd-media-list .hd-media-thumb .hd-media-art__clubs{right:4px;bottom:4px;gap:3px}.hd-media-list .hd-media-thumb .hd-media-art__clubs img{width:22px;height:22px;padding:2px}@media(max-width:800px){.hd-media-lead>.hd-media-art{height:150px}.hd-media-list .hd-media-thumb{width:86px;height:58px}}
.hd-media-lead{min-height:0}.hd-media-lead>.hd-media-art{height:136px;background-image:linear-gradient(135deg,#142d5d,#192042)}.hd-media-art--transfer{background-color:#14365c;background-image:linear-gradient(135deg,#0f2847,#1d4b6c)}.hd-media-art--matches{background-color:#21335d;background-image:linear-gradient(135deg,#20284c,#3a315f)}.hd-media-art--analysis{background-color:#254251;background-image:linear-gradient(135deg,#173e4e,#26586c)}.hd-media-art--interview{background-color:#4a2b35;background-image:linear-gradient(135deg,#321e31,#67402d)}.hd-media-art--column{background-color:#4b3a25;background-image:linear-gradient(135deg,#35291d,#66512d)}.hd-media-art__player{right:34%;bottom:0;max-width:28%;height:76%;object-fit:contain;object-position:center bottom}.hd-media-art__clubs{right:12px;bottom:10px}.hd-media-art__clubs img{width:34px;height:34px}.hd-media-list>a{grid-template-columns:82px minmax(0,1fr);height:74px;box-sizing:border-box;padding:7px 5px}.hd-media-list .hd-media-thumb{width:82px;height:56px}.hd-media-list .hd-media-thumb .hd-media-art__player{right:33%;max-width:30%;height:74%}.hd-media-list strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:3px 0;font-size:12px;line-height:1.2}.hd-media-list small{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hd-media-list .hd-media-tag{padding:2px 5px;font-size:9px}@media(max-width:800px){.hd-media-lead>.hd-media-art{height:120px}.hd-media-list>a{grid-template-columns:76px minmax(0,1fr)}.hd-media-list .hd-media-thumb{width:76px;height:54px}}
.hd-media-art,
.hd-media-art--transfer,
.hd-media-art--matches,
.hd-media-art--analysis,
.hd-media-art--interview,
.hd-media-art--column {
	background-color: #0c203d;
	background-image: linear-gradient(135deg, #102b50 0%, #081a31 58%, #12315a 100%);
	border: 1px solid rgba(77, 125, 192, .28);
}
.hd-media-art__player {
	right: 37%;
	max-width: 26%;
	height: 82%;
	object-fit: contain;
	object-position: center bottom;
}
.hd-media-list .hd-media-thumb .hd-media-art__player {
	right: 37%;
	max-width: 30%;
	height: 78%;
}
.hd-media-art__player {
	z-index: 2;
	right: auto;
	left: 43%;
	max-width: 24%;
	height: 86%;
	border-radius: 3px 3px 0 0;
}
.hd-media-art__clubs {
	z-index: 3;
}
.hd-media-list>a {
	grid-template-columns: 116px minmax(0, 1fr);
}
.hd-media-list .hd-media-thumb {
	width: 116px;
	height: 60px;
}
.hd-media-list .hd-media-thumb .hd-media-art__player {
	left: 5px;
	right: auto;
	max-width: 38px;
	height: 52px;
}
.hd-media-list .hd-media-thumb .hd-media-art__clubs {
	right: 4px;
	bottom: 5px;
	gap: 3px;
}
.hd-media-list .hd-media-thumb .hd-media-art__clubs img {
	width: 25px;
	height: 25px;
}
@media(max-width:800px){
	.hd-media-list>a{grid-template-columns:100px minmax(0,1fr)}
	.hd-media-list .hd-media-thumb{width:100px}
}
