.dk-manager-finances .ws-main,
.dk-club-overview .ws-main {
	min-width: 0;
}

.dk-finances,
.dk-club-page {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.dk-finances .dk-card,
.dk-club-page .dk-card {
	padding: var(--dk-space-card);
}

.dk-finance-budget {
	border-color: var(--dk-color-accent);
	background: linear-gradient(125deg, var(--dk-color-surface-raised), var(--dk-color-surface));
}

.dk-finance-budget p {
	margin: 0 0 .35rem;
	color: var(--dk-color-muted);
	font-size: .9rem;
	font-weight: 700;
}

.dk-finance-budget h2 {
	margin: 0;
	color: var(--dk-color-accent);
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.dk-finances h3,
.dk-club-page h3 {
	margin: 0 0 1rem;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.dk-finances .finance-overview,
.dk-finances .finance-position-summary {
	margin: 0;
}

.dk-finances .finance-season-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: .65rem;
	margin-bottom: 1rem;
}

.dk-finances .finance-season-picker label {
	width: 100%;
	margin: 0;
	color: var(--dk-color-muted);
	font-weight: 700;
}

.dk-finances .finance-season-picker select {
	flex: 1 1 12rem;
	min-width: 0;
}

.dk-finances .finance-season-picker button {
	min-height: 44px;
}

.dk-finances .finance-chart {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	overflow: visible;
}

.dk-finances .finance-chart-label {
	fill: var(--dk-color-muted);
}

.dk-finances .finance-chart-legend {
	color: var(--dk-color-muted);
}

.dk-finance-table-scroll {
	max-width: 100%;
	overflow-x: auto;
}

.dk-finances .table {
	margin: 0;
	color: var(--dk-color-text);
}

.dk-finances .table > :not(caption) > * > * {
	border-color: var(--dk-color-border);
}

.dk-finances .table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-bg-type: rgba(255, 255, 255, .035);
	color: var(--dk-color-text);
}

.dk-finances .finance-position-summary td:first-child {
	width: 55%;
	color: var(--dk-color-muted);
}

.dk-club-identity {
	display: flex;
	min-height: 5rem;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	background: linear-gradient(125deg, var(--dk-color-surface-raised), var(--dk-color-surface));
}

.dk-club-identity .ws-team-subtitle {
	margin: 0;
	color: var(--dk-color-accent);
	font-size: 1.1rem;
}

.dk-club-identity .text-center {
	margin: 0 !important;
}

.dk-club-identity img {
	display: block;
	max-width: min(100%, 7.5rem);
	max-height: 7.5rem;
	object-fit: contain;
}

.dk-club-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: .3rem;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

.dk-club-tabs .nav-item {
	flex: 0 0 auto;
}

.dk-club-tabs .nav-link {
	display: flex;
	min-height: 44px;
	align-items: center;
	white-space: nowrap;
}

.dk-club-page .tab-content {
	min-width: 0;
}

.dk-club-page .tab-pane.dk-card {
	padding: var(--dk-space-card);
}

.dk-club-general > .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.dk-club-general .inforow {
	margin: 0;
	padding: .75rem .25rem;
	border-bottom: 1px solid var(--dk-color-border);
}

.dk-club-general .inforow:last-child {
	border-bottom: 0;
}

.dk-club-general .infolabel {
	color: var(--dk-color-muted);
	font-weight: 700;
}

.dk-club-general .infolabel,
.dk-club-general .infovalue {
	overflow-wrap: anywhere;
}

.dk-club-stadium-image img,
.dk-club-sponsor-image img {
	max-width: min(100%, 32rem);
	max-height: 15rem;
	object-fit: contain;
}

.dk-club-statistics .row {
	row-gap: 1rem;
}

.dk-club-statistics h4 {
	color: var(--dk-color-accent);
}

.dk-club-statistics dl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: .35rem .8rem;
	margin: 0;
}

.dk-club-statistics dt,
.dk-club-statistics dd {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: .45rem 0;
	border-bottom: 1px solid var(--dk-color-border);
}

.dk-club-statistics dd {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.dk-club-page .table-responsive {
	max-width: 100%;
}

.dk-club-page table {
	color: var(--dk-color-text);
}

@media (max-width: 575.98px) {
	.dk-finances .dk-card,
	.dk-club-page .dk-card,
	.dk-club-page .tab-pane.dk-card {
		padding: .85rem;
	}

	.dk-finances .finance-chart {
		min-height: 0;
	}

	.dk-finances .finance-position-summary .table,
	.dk-finances .finance-position-summary tbody,
	.dk-finances .finance-position-summary tr,
	.dk-finances .finance-position-summary td,
	.dk-finances #accountStatementTable,
	.dk-finances #accountStatementTable tbody,
	.dk-finances #accountStatementTable tr,
	.dk-finances #accountStatementTable td {
		display: block;
		width: 100%;
	}

	.dk-finances .finance-position-summary tbody tr,
	.dk-finances #accountStatementTable tbody tr {
		margin-bottom: .75rem;
		overflow: hidden;
		border: 1px solid var(--dk-color-border);
		border-radius: .7rem;
		background: var(--dk-color-surface-raised);
	}

	.dk-finances .finance-position-summary td,
	.dk-finances #accountStatementTable tbody td {
		display: grid;
		grid-template-columns: minmax(6.5rem, .8fr) minmax(0, 1.2fr);
		gap: .65rem;
		padding: .65rem .75rem;
		border: 0;
		border-bottom: 1px solid var(--dk-color-border);
		text-align: right;
		overflow-wrap: anywhere;
	}

	.dk-finances .finance-position-summary td::before,
	.dk-finances #accountStatementTable tbody td::before {
		content: attr(data-label);
		color: var(--dk-color-muted);
		font-size: .82rem;
		font-weight: 700;
		text-align: left;
	}

	.dk-finances .finance-position-summary td:last-child,
	.dk-finances #accountStatementTable tbody td:last-child {
		border-bottom: 0;
	}

	.dk-finances .finance-position-summary td:first-child {
		display: block;
		width: 100%;
		text-align: left;
	}

	.dk-finances .finance-position-summary td:first-child::before {
		display: none;
	}

	.dk-finances #accountStatementTable thead {
		display: none;
	}

	.dk-club-identity {
		min-height: 4rem;
	}

	.dk-club-page .tab-content {
		padding-top: .75rem !important;
	}

	.dk-club-general .infolabel {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
		padding-bottom: .15rem;
		text-align: left;
	}

	.dk-club-general .infovalue {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
		padding-top: .15rem;
		text-align: right;
	}

}

@media (min-width: 768px) {
	.dk-club-identity {
		justify-content: flex-start;
		padding-inline: 1.5rem !important;
	}
}
