/* Mein Kader — Squad cards (nutzt transfermarket-cards.css für .tm-card / Balken) */

.msq-tabs {
	margin-bottom: 14px;
}

.msq-intro {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.45;
}

.msq-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px;
	margin-top: 8px;
}

.msq-main {
	flex: 1 1 420px;
	min-width: 0;
}

.msq-sidebar {
	flex: 0 1 260px;
	width: 260px;
	max-width: 100%;
	background: rgba(12, 4, 4, 0.88);
	border: 1px solid rgba(255, 170, 90, 0.22);
	border-radius: 8px;
	padding: 12px 14px 14px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.msq-side-title {
	margin: 16px 0 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fde8d4;
	border-bottom: 1px solid rgba(255, 170, 90, 0.2);
	padding-bottom: 4px;
}

.msq-side-title:first-child {
	margin-top: 0;
}

.msq-kpi-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.msq-kpi {
	flex: 1 1 120px;
	min-width: 100px;
	background: rgba(30, 10, 10, 0.55);
	border: 1px solid rgba(255, 170, 90, 0.18);
	border-radius: 8px;
	padding: 8px 10px;
	text-align: center;
}

.msq-kpi--wide {
	flex: 2 1 200px;
}

.msq-kpi-v {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: #fff8f0;
	line-height: 1.15;
}

.msq-kpi-l {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(253, 232, 212, 0.7);
	margin-top: 4px;
}

.msq-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.msq-chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
	gap: 6px;
	align-items: center;
}

.msq-chips--rows {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	flex: 1 1 280px;
	min-width: 0;
}

.msq-chip-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.msq-chips--rows .msq-chip {
	display: inline-block;
	padding: 4px 10px;
}

.msq-chip {
	display: block;
	padding: 4px 8px;
	text-align: center;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(255, 240, 230, 0.85);
	background: rgba(40, 12, 12, 0.65);
	border: 1px solid rgba(255, 170, 90, 0.2);
	text-decoration: none !important;
}

.msq-chip:hover {
	border-color: rgba(255, 200, 120, 0.45);
	color: #fff;
}

.msq-chip--active {
	background: rgba(180, 60, 40, 0.75);
	border-color: rgba(255, 210, 140, 0.55);
	color: #fff;
}

.msq-search {
	margin: 0;
}

.msq-count {
	margin: 0 0 10px;
	font-size: 12px;
}

.msq-card-list {
	margin-top: 4px;
}

/* „Aktion“-Dropdown: .tm-card hat overflow:hidden → Menü war unsichtbar */
.tm-card.msq-card-v2 {
	overflow: visible;
}

.msq-card-list .tm-card.msq-card-v2 .btn-group {
	position: relative;
}

.msq-card-list .tm-card.msq-card-v2 .btn-group.open {
	z-index: 2000;
}

.msq-card-list .tm-card.msq-card-v2 .dropdown-menu {
	z-index: 2001;
}

/* ——— Kaderkarte v2 (drei Zeilen wie Mockup) ——— */
.msq-card-v2 {
	padding: 12px 14px 10px;
}

.msq-card-row {
	width: 100%;
}

.msq-card-row--head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 170, 90, 0.12);
}

.msq-head-photo {
	flex: 0 0 auto;
}

.msq-head-photo-wrap {
	width: 88px;
	height: 88px;
}

.msq-head-photo-wrap .tm-card-photo {
	width: 88px;
	height: 88px;
}

.msq-head-main {
	flex: 1 1 220px;
	min-width: 0;
}

.msq-card-title {
	margin: 0 0 6px;
	font-size: 19px;
}

.msq-pos-block {
	font-size: 13px;
	line-height: 1.45;
	margin-bottom: 6px;
}

.msq-pos-line {
	margin: 3px 0;
}

.msq-pos-k {
	color: rgba(230, 200, 180, 0.65);
	font-weight: 600;
	margin-right: 4px;
}

.msq-pos-v {
	color: #fff8f0;
	font-weight: 600;
}

.msq-head-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 12px;
}

.msq-form-row {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.msq-head-mv {
	flex: 0 0 auto;
	min-width: 140px;
	text-align: right;
	margin-left: auto;
}

.msq-head-mv .tm-mv-value {
	font-size: 20px;
}

.msq-card-row--stats {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px 20px;
	padding: 10px 0 8px;
	border-bottom: 1px solid rgba(255, 170, 90, 0.1);
}

.msq-stats-circle {
	flex: 0 0 auto;
	padding-top: 4px;
}

.msq-stat-grid--six {
	flex: 1 1 280px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 18px;
	min-width: 0;
}

.msq-stat-grid--six .tm-stat-row {
	margin-bottom: 0;
}

.msq-card-row--foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-top: 10px;
}

.msq-foot-contract {
	flex: 1 1 220px;
	font-size: 12px;
	line-height: 1.45;
	color: rgba(255, 235, 220, 0.92);
}

.msq-foot-status {
	flex: 2 1 280px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 12px;
	align-items: center;
}

.msq-foot-pill {
	color: rgba(255, 230, 210, 0.88);
}

.msq-foot-pill strong {
	color: rgba(255, 200, 160, 0.75);
	font-weight: 700;
	margin-right: 2px;
}

.msq-trend-ico {
	margin-right: 2px;
}

.msq-foot-actions {
	flex: 0 1 200px;
	text-align: right;
}

.msq-card-row--adjust {
	padding-top: 8px;
	border-top: 1px dashed rgba(255, 170, 90, 0.12);
	margin-top: 4px;
}

.msq-icons-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-bottom: 6px;
}

.msq-icons-top a,
.msq-icons-top i {
	vertical-align: middle;
}

.msq-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	background: rgba(120, 120, 120, 0.5);
}

.msq-dot--good {
	background: #3cb878;
	box-shadow: 0 0 6px rgba(60, 184, 120, 0.45);
}

.msq-dot--mid {
	background: #e6c82e;
}

.msq-dot--bad {
	background: #c04040;
}

.msq-dot--neutral {
	background: rgba(160, 160, 160, 0.45);
}

.msq-rating {
	margin-left: 6px;
	font-size: 13px;
	font-weight: 800;
	color: #b8f0cf;
}

.msq-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 12px;
}

.msq-age {
	color: rgba(255, 230, 210, 0.8);
}

.msq-pos-full {
	color: rgba(255, 210, 180, 0.75);
}

.msq-contract {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.msq-contract--long {
	background: #3cb878;
}

.msq-contract--short {
	background: #e6c82e;
}

.msq-contract--ending,
.msq-contract--expired {
	background: #d04040;
}

.msq-contract--on_loan {
	background: #6ab0ff;
}

.msq-stat-grid .tm-stat-row {
	margin-bottom: 2px;
}

.msq-mv-trend {
	margin-left: 6px;
	font-weight: 800;
}

.msq-mv-trend--up {
	color: #7dffb0;
}

.msq-mv-trend--down {
	color: #ff8a8a;
}

.msq-actions {
	margin-top: 4px;
}

.msq-actions-menu {
	max-height: 70vh;
	overflow-y: auto;
}

.msq-pos-adjust-hint {
	margin-top: 6px;
	max-width: 220px;
	line-height: 1.35;
}

/* Stärke-Kreis: schwache Stufe (zusätzlich zu transfermarket tiers) */
.tm-tier-weak .tm-ovr-badge {
	background: radial-gradient(circle at 30% 25%, #5a3030, #2a1515);
	border-color: rgba(255, 100, 90, 0.55);
	color: #ffd6d0;
}

.tm-tier-weak .tm-ovr-badge__l,
.tm-tier-weak .tm-ovr-badge__n {
	color: #ffd6d0;
}

/* Mini-Aufstellung */
.msq-pitch {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.msq-pitch-cell {
	min-width: 52px;
	padding: 4px 6px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 170, 90, 0.15);
	text-align: center;
	font-size: 11px;
}

.msq-pitch-code {
	display: block;
	font-weight: 700;
	color: rgba(255, 220, 190, 0.85);
}

.msq-pitch-n {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
}

.msq-top-list {
	margin: 0;
	padding-left: 18px;
	font-size: 12px;
	line-height: 1.45;
}

.msq-top-list li {
	margin-bottom: 8px;
}

.msq-top-meta {
	display: block;
	color: rgba(220, 200, 190, 0.7);
	font-size: 11px;
}

.msq-top-rating {
	float: right;
	font-weight: 800;
	color: #b8f0cf;
	background: rgba(40, 90, 55, 0.45);
	border-radius: 999px;
	padding: 1px 8px;
	font-size: 11px;
}

.msq-contract-legend {
	list-style: none;
	margin: 0;
	padding: 0;
}

.msq-contract-legend li {
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.msq-alert {
	margin: 0;
	font-size: 12px;
}

.msq-alert--ok {
	color: #9be0b5;
}

.msq-alert--warn a {
	color: #ffd4a8;
	font-weight: 700;
}

.msq-salary-foot {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 170, 90, 0.15);
	font-size: 13px;
}

@media (max-width: 1024px) {
	.msq-layout {
		flex-direction: column;
	}
	.msq-sidebar {
		width: 100%;
		flex: 1 1 auto;
	}
}

@media (max-width: 720px) {
	.msq-card-row--head {
		flex-direction: column;
	}
	.msq-head-mv {
		width: 100%;
		text-align: left;
		margin-left: 0;
	}
	.msq-stat-grid--six {
		grid-template-columns: 1fr;
	}
	.msq-card-row--foot {
		flex-direction: column;
	}
	.msq-foot-actions {
		width: 100%;
		text-align: left;
	}
	.msq-icons-top {
		justify-content: flex-start;
	}
}
