/* Jugendligen-Übersicht — Nachwuchsplattform (Mockup-orientiert) */
.yl-overview {
	--yl-border: rgba(255, 170, 90, 0.28);
	--yl-bg-card: rgba(22, 10, 10, 0.88);
	--yl-text: #f2dfcc;
	--yl-muted: rgba(242, 223, 204, 0.65);
	--yl-accent: #c9a227;
	--yl-accent2: #b03030;
	color: var(--yl-text);
}

.yl-overview a { color: #e8c97a; }
.yl-overview a:hover { color: #fff; }

.yl-breadcrumb {
	font-size: 13px;
	color: var(--yl-muted);
	margin-bottom: 6px;
}
.yl-breadcrumb a { color: var(--yl-muted); }
.yl-breadcrumb a:hover { color: var(--yl-text); }

.yl-overview h1 {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 8px;
	letter-spacing: 0.02em;
}

.yl-intro {
	color: var(--yl-muted);
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 18px;
	max-width: 920px;
}

.yl-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
@media (max-width: 900px) {
	.yl-stats { grid-template-columns: repeat(2, 1fr); }
}

.yl-stat-card {
	background: var(--yl-bg-card);
	border: 1px solid var(--yl-border);
	border-radius: 8px;
	padding: 14px 16px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 72px;
}
.yl-stat-card--topnations {
	align-items: stretch;
}
.yl-stat-card__grow {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.yl-topnations-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.yl-nation-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--yl-border);
	border-radius: 999px;
	padding: 4px 10px 4px 6px;
}
.yl-nation-chip .yl-flag-img--chip {
	flex-shrink: 0;
}
.yl-nation-chip__name {
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 9.5rem;
}
.yl-stat-value--solo {
	font-size: 20px;
	line-height: 1.2;
}
.yl-stat-card .yl-stat-icon {
	font-size: 22px;
	line-height: 1;
	opacity: 0.95;
}
.yl-stat-value {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}
.yl-stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--yl-muted);
	margin-top: 4px;
}
.yl-stat-sub {
	font-size: 12px;
	color: var(--yl-muted);
	margin-top: 6px;
	line-height: 1.35;
}

.yl-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--yl-border);
	padding-bottom: 12px;
}

.yl-country-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	flex: 1;
	min-width: 200px;
}
.yl-country-tab {
	background: rgba(0,0,0,0.25);
	border: 1px solid transparent;
	color: var(--yl-text);
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	cursor: pointer;
	transition: background .15s, border-color .15s;
	display: inline-flex;
	align-items: center;
	gap: 0;
	max-width: 100%;
}
.yl-tab-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 10rem;
}
.yl-country-tab:hover {
	background: rgba(255,255,255,0.06);
	border-color: var(--yl-border);
}
.yl-country-tab.is-active {
	background: rgba(176, 48, 48, 0.55);
	border-color: rgba(255,120,90,0.45);
	color: #fff;
}
.yl-country-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.yl-country-more select {
	margin: 0;
	max-width: 160px;
	background: rgba(0,0,0,0.35);
	color: var(--yl-text);
	border: 1px solid var(--yl-border);
	border-radius: 4px;
	height: 30px;
}

.yl-search-wrap input[type="search"] {
	width: 220px;
	max-width: 100%;
	background: rgba(0,0,0,0.35);
	border: 1px solid var(--yl-border);
	color: var(--yl-text);
	border-radius: 4px;
	padding: 6px 10px;
	margin: 0;
}

.yl-layout {
	/* Eine Spalte: In span8 + breiter Tabelle würde eine zweite Spalte unter die globale Sidebar (#contentArea + .span4) rutschen. */
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.yl-main {
	min-width: 0;
	max-width: 100%;
}
.yl-aside {
	width: 100%;
	max-width: 100%;
	align-self: stretch;
	position: relative;
	z-index: 1;
}

.yl-table-wrap {
	background: var(--yl-bg-card);
	border: 1px solid var(--yl-border);
	border-radius: 8px;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}

.yl-table-wrap table {
	margin: 0;
	background: transparent;
}
.yl-table-wrap .table th,
.yl-table-wrap .table td {
	border-color: rgba(255,255,255,0.08);
	vertical-align: middle;
}
.yl-table-wrap .table-striped > tbody > tr:nth-child(odd) > td,
.yl-table-wrap .table-striped > tbody > tr:nth-child(odd) > th {
	background: rgba(0,0,0,0.12);
}

.yl-row-hidden { display: none !important; }

.yl-flag-img {
	display: block;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.yl-flag-img--tab {
	display: inline-block;
	vertical-align: middle;
	margin-right: 7px;
}
.yl-flag-img--top {
	margin: 0 auto;
}
.yl-flag-iso {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 22px;
	padding: 0 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--yl-border);
	border-radius: 4px;
	color: #fff;
}
.yl-flag-iso--lg {
	min-width: 34px;
	height: 26px;
	font-size: 11px;
}

.yl-cell-landliga {
	min-width: 220px;
}
.yl-landliga-stack {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.yl-landliga-flagcell {
	flex-shrink: 0;
	padding-top: 2px;
}
.yl-landliga-text {
	flex: 1;
	min-width: 0;
}
.yl-landliga-title {
	font-weight: 600;
	font-size: 15px;
	color: #fff;
	display: block;
	line-height: 1.3;
}
.yl-landliga-sub {
	font-size: 12px;
	color: var(--yl-muted);
	margin-top: 4px;
	line-height: 1.35;
}

.yl-level-pent {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	background: linear-gradient(145deg, rgba(201,162,39,0.35), rgba(80,40,20,0.5));
	border: 1px solid var(--yl-border);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	font-weight: 700;
	font-size: 14px;
	padding-top: 2px;
}

.yl-stars {
	color: var(--yl-accent);
	font-size: 14px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.yl-my-teams {
	font-size: 12px;
	line-height: 1.35;
}
.yl-my-teams img {
	max-height: 20px;
	max-width: 20px;
	margin-right: 4px;
	vertical-align: middle;
	border-radius: 2px;
}

.yl-btn-table {
	white-space: nowrap;
}

.yl-top-box {
	background: var(--yl-bg-card);
	border: 1px solid var(--yl-border);
	border-radius: 10px;
	padding: 14px 12px 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.yl-top-box__title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--yl-accent);
	letter-spacing: 0.03em;
}
.yl-top-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.yl-top-card {
	display: flex;
	align-items: stretch;
	gap: 14px;
	padding: 12px 12px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	font-size: 13px;
}
.yl-top-card__aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 46px;
	flex-shrink: 0;
	padding-top: 2px;
}
.yl-top-card__rank {
	font-weight: 800;
	font-size: 13px;
	color: var(--yl-accent);
	text-align: center;
	line-height: 1;
}
.yl-top-card__flagwrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
}
.yl-top-card__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.yl-top-card__link {
	font-weight: 700;
	font-size: 14px;
	display: block;
	line-height: 1.3;
	color: #fff;
	word-break: break-word;
}
.yl-top-card__link:hover,
.yl-top-card__link:focus {
	color: #fff5d6;
	text-decoration: none;
}
.yl-top-card__meta {
	font-size: 11px;
	color: var(--yl-muted);
	line-height: 1.35;
}
.yl-top-card__stars {
	font-size: 12px;
	white-space: nowrap;
	margin-top: 4px;
	letter-spacing: 0.5px;
}
.yl-top-box__cta {
	margin-top: 4px;
}

.yl-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--yl-border);
}
.yl-dyk {
	flex: 1;
	min-width: 240px;
	border: 1px solid rgba(201, 162, 39, 0.45);
	border-radius: 8px;
	padding: 14px 16px;
	background: rgba(30, 18, 8, 0.75);
}
.yl-dyk strong {
	display: block;
	color: var(--yl-accent);
	margin-bottom: 6px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.yl-dyk p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--yl-muted);
}

.yl-cta-youth {
	font-size: 15px !important;
	padding: 12px 22px !important;
}
