/* Extracted from page-player.php <style>. */
/* 全局继承基因：基础框架与暗黑模式适配 */
.hcm-team-hub {
	--text: #111;
	--text-color: #111;
	--text-muted: #6b7280;
	--border: #e5e7eb;
	--border-color: #e5e7eb;
	--card-bg: #fff;
	--bg-card: #fff;
	--bg-secondary: #f3f4f6;
	--card-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	--radius: 12px;
	--gap: var(--hcm-layout-gap);
	--hcm-text-main: #0f172a;
	--hcm-text-muted: #64748b;
	/* 版心由 style.css @media (min-width: 993px) 统一为 1350px */
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding: 0 16px 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	box-sizing: border-box;
}
.hcm-team-hub *,
.hcm-team-hub *::before,
.hcm-team-hub *::after {
	box-sizing: border-box;
}
.hcm-team-hub .hcm-card {
	background: var(--card-bg);
	border-radius: var(--radius);
	box-shadow: var(--card-shadow);
	padding: 20px;
	border: 1px solid var(--border-color);
}

/* 暗黑模式全域覆盖规则 */
:is(html.dark-mode, body.dark-mode, html[data-theme="dark"], .dark) .hcm-team-hub {
	--card-bg: #1c1c1e !important;
	--bg-card: #1c1c1e !important;
	--bg-secondary: #2c2c2e !important;
	--bg-hover: #3a3a3c !important;
	--text-primary: #f5f5f7 !important;
	--text: #f5f5f7 !important;
	--text-color: #f5f5f7 !important;
	--text-muted: #a1a1aa !important;
	--hcm-text-main: #f5f5f7 !important;
	--hcm-text-muted: #a1a1aa !important;
	--border-color: #38383a !important;
	--border: #38383a !important;
	--card-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
	color: var(--text);
}

/* 球员页专属布局网格准备 (模仿 FotMob: 左宽右窄) */
.hcm-player-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--gap);
	align-items: start;
}
.hcm-player-main,
.hcm-player-sidebar {
	min-width: 0;
}

/* ==========================================
   1. 顶级大厂风 Hero 巨幕基础外框
   ========================================== */
.hcm-team-hub .hcm-team-hub-hero {
	background: var(--card-bg) !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
	border: 1px solid var(--border-color) !important;
	margin-bottom: var(--gap) !important;
	overflow: hidden !important;
}

/* ==========================================
   2. 头部：清透主题色与悬浮头像
   ========================================== */
.hcm-player-hub .hcm-team-hub-hero__header {
	background: linear-gradient(180deg, #528fd7 0%, #87b9f2 100%) !important;
	padding: 0 40px !important;
	height: 125px !important;
	display: flex !important;
	align-items: stretch !important;
}
.hcm-team-hub .hcm-team-hub-hero__header-inner {
	display: flex !important;
	width: 100% !important;
	height: 100% !important;
	align-items: flex-end !important;
	padding-bottom: 24px !important;
}
.hcm-team-hub .hcm-team-hub-hero__avatar-wrap {
	width: 110px !important;
	height: 110px !important;
	margin-right: 28px !important;
	transform: translateY(20px) !important;
	z-index: 2 !important;
}
.hcm-player-hub .hcm-team-hub-hero__avatar-wrap {
	border-radius: 50% !important;
	overflow: hidden !important;
	background-color: #ffffff !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
.hcm-player-hub .hcm-team-hub-hero__avatar {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: top center !important;
	border-radius: 50% !important;
	border: none !important;
	background-color: #ffffff !important;
}
.hcm-team-hub .hcm-team-hub-hero__name {
	font-size: 32px !important;
	font-weight: 700 !important;
	margin: 0 0 6px 0 !important;
	color: #ffffff !important;
	line-height: 1.1 !important;
	letter-spacing: -0.3px !important;
}
.hcm-team-hub .hcm-team-hub-hero__club {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.95) !important;
}
.hcm-player-hub a.hcm-team-hub-hero__club.hcm-hub-fade-link,
.hcm-player-hub a.hcm-team-hub-hero__country-link.hcm-hub-fade-link {
	text-decoration: none;
	color: inherit;
}
.hcm-player-hub a.hcm-team-hub-hero__club.hcm-hub-fade-link {
	color: rgba(255, 255, 255, 0.95) !important;
}
@media (hover: hover) and (pointer: fine) {
	.hcm-player-hub a.hcm-team-hub-hero__club.hcm-hub-fade-link:hover,
	.hcm-player-hub a.hcm-team-hub-hero__country-link.hcm-hub-fade-link:hover {
		opacity: 0.55;
	}
}
@media (hover: none) and (pointer: coarse) {
	.hcm-player-hub a.hcm-team-hub-hero__club.hcm-hub-fade-link:active,
	.hcm-player-hub a.hcm-team-hub-hero__country-link.hcm-hub-fade-link:active {
		opacity: 0.55;
	}
}
.hcm-team-hub .hcm-team-hub-hero__club-logo {
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	object-fit: contain !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-sizing: border-box !important;
	padding: 2px !important;
}

/* ==========================================
   3. 数据区：拉开层级的排版网格
   ========================================== */
.hcm-team-hub .hcm-team-hub-hero__body {
	display: flex !important;
	justify-content: space-between !important;
	padding: 40px 40px 48px 40px !important;
	gap: 60px !important;
}
.hcm-team-hub .hcm-team-hub-hero__stats-grid {
	flex: 1 !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 32px 40px !important;
	align-content: start !important;
}
.hcm-team-hub .hcm-team-hub-hero__stat-item {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	border-bottom: 1px solid var(--border-color) !important;
	padding-bottom: 16px !important;
}
.hcm-team-hub .hcm-team-hub-hero__stat-val {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	line-height: 1.1 !important;
}
.hcm-team-hub .hcm-team-hub-hero__stat-lbl {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--text-muted) !important;
	text-transform: uppercase !important;
}

/* ==========================================
   4. 战术板：高级的灰底白线微缩球场
   ========================================== */
.hcm-team-hub .hcm-team-hub-hero__position-area {
	width: 380px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	border-left: 1px solid var(--border-color) !important;
	padding-left: 50px !important;
}
.hcm-team-hub .hcm-team-hub-hero__position-text {
	display: flex !important;
	flex-direction: column !important;
}
.hcm-team-hub .hcm-team-hub-hero__pos-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	margin: 0 0 20px 0 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-team-hub-hero__pos-sub {
	font-size: 14px !important;
	color: #5E9EE4 !important;
	font-weight: 600 !important;
	margin-bottom: 4px !important;
}
.hcm-team-hub .hcm-team-hub-hero__pos-main {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
}

/* 极其考究的球场线框 (浅灰底 + 纯白线) */
.hcm-team-hub .hcm-team-hub-hero__pitch {
	width: 150px !important;
	height: 220px !important;
	background: #F4F5F8 !important;
	border-radius: 8px !important;
	border: 2px solid #FFFFFF !important;
	position: relative !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}
html.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch,
body.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch {
	background: #2C2C2E !important;
	border-color: #38383A !important;
}

.hcm-team-hub .hcm-team-hub-hero__pitch-line {
	position: absolute !important;
	top: 50% !important;
	left: 0 !important;
	width: 100% !important;
	height: 2px !important;
	background: #FFFFFF !important;
}
.hcm-team-hub .hcm-team-hub-hero__pitch-circle {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 44px !important;
	height: 44px !important;
	border: 2px solid #FFFFFF !important;
	border-radius: 50% !important;
}
.hcm-team-hub .hcm-team-hub-hero__pitch-box {
	position: absolute !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 64px !important;
	height: 32px !important;
	border: 2px solid #FFFFFF !important;
}
.hcm-team-hub .hcm-team-hub-hero__pitch-box--top {
	top: 0 !important;
	border-top: none !important;
}
.hcm-team-hub .hcm-team-hub-hero__pitch-box--bottom {
	bottom: 0 !important;
	border-bottom: none !important;
}

html.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-line,
body.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-line {
	background: #38383A !important;
}
html.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-circle,
html.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-box,
body.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-circle,
body.dark-mode .hcm-team-hub .hcm-team-hub-hero__pitch-box {
	border-color: #38383A !important;
}

.hcm-team-hub .hcm-team-hub-hero__pitch-dot {
	position: absolute !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	background: #5E9EE4 !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
	z-index: 10 !important;
	box-shadow: 0 2px 6px rgba(94, 158, 228, 0.4) !important;
}
.hcm-team-hub .hcm-team-hub-hero__title-area {
	flex: 1 !important;
	min-width: 0 !important;
	align-self: center !important;
}

/* 赛季核心统计卡片 */
.hcm-team-hub .hcm-league-stats-card {
	--hcm-card-pad-x: 32px !important;
	padding: 24px var(--hcm-card-pad-x) !important;
	margin-bottom: var(--gap) !important;
}
.hcm-team-hub .hcm-league-stats__header {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin-left: calc(-1 * var(--hcm-card-pad-x)) !important;
	margin-right: calc(-1 * var(--hcm-card-pad-x)) !important;
	padding-left: var(--hcm-card-pad-x) !important;
	padding-right: var(--hcm-card-pad-x) !important;
	margin-bottom: var(--hcm-layout-gap) !important;
	padding-bottom: 16px !important;
	border-bottom: 1px solid var(--border-color) !important;
}
.hcm-team-hub .hcm-league-stats__header img {
	object-fit: contain !important;
}
.hcm-team-hub .hcm-league-stats__title {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin: 0 !important;
	color: var(--text-primary, #111) !important;
}

.hcm-team-hub .hcm-league-stats__grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 32px 16px !important;
}
.hcm-team-hub .hcm-league-stats__item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	gap: 8px !important;
}
.hcm-team-hub .hcm-league-stats__val {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	line-height: 1 !important;
	height: 28px !important;
}
.hcm-team-hub .hcm-league-stats__lbl {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--text-muted) !important;
}

.hcm-team-hub .hcm-league-stats__badge {
	padding: 4px 10px !important;
	border-radius: 6px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	height: auto !important;
}
.hcm-team-hub .rating-green { background-color: #10B981 !important; }
.hcm-team-hub .rating-orange { background-color: #F59E0B !important; }
.hcm-team-hub .rating-gray { background-color: #9CA3AF !important; }
.hcm-team-hub .rating-blue { background-color: #2563EB !important; }
.hcm-team-hub .rating-emerald { background-color: #059669 !important; }

.hcm-team-hub .hcm-card-icon {
	display: inline-block !important;
	width: 12px !important;
	height: 16px !important;
	border-radius: 2px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}
.hcm-team-hub .hcm-card-icon--yellow { background-color: #FACC15 !important; }
.hcm-team-hub .hcm-card-icon--red { background-color: #EF4444 !important; }

@media (max-width: 576px) {
	.hcm-team-hub .hcm-league-stats__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* —— 近期比赛统计（对齐 FotMob 截图）—— */
.hcm-team-hub .hcm-match-log-card.hcm-card {
	--hcm-match-log-pad-x: 32px !important;
	padding: 24px var(--hcm-match-log-pad-x) !important;
	margin-bottom: var(--gap) !important;
	background: var(--card-bg) !important;
}
.hcm-team-hub .hcm-match-log__title-row {
	margin-left: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	margin-right: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	padding-left: var(--hcm-match-log-pad-x) !important;
	padding-right: var(--hcm-match-log-pad-x) !important;
	padding-bottom: 12px !important;
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--border-color) !important;
}
.hcm-team-hub .hcm-match-log__title-row .hcm-match-log__title {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	line-height: 1.25 !important;
	background: transparent !important;
}
.hcm-team-hub .hcm-match-log__table-wrap {
	overflow-x: auto !important;
	margin-left: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	margin-right: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	width: calc(100% + 2 * var(--hcm-match-log-pad-x)) !important;
	max-width: none !important;
	padding: 0 !important;
}
.hcm-team-hub .hcm-match-log__table {
	width: 100% !important;
	min-width: 640px !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	table-layout: fixed !important;
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
}
.hcm-team-hub .hcm-match-log__table thead th {
	padding: 10px 6px 11px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1 !important;
	vertical-align: middle !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid var(--border-color, #eef0f3) !important;
	color: var(--text-primary, #111) !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-match-log__table thead th {
	border-bottom-color: var(--border-color, rgba(255, 255, 255, 0.1)) !important;
}
.hcm-team-hub .hcm-match-log__table col.hcm-match-log__col-league {
	width: 22% !important;
}
.hcm-team-hub .hcm-match-log__table col.hcm-match-log__col-opponent {
	width: 30% !important;
}
.hcm-team-hub .hcm-match-log__table col.hcm-match-log__col-result {
	width: 12% !important;
}
.hcm-team-hub .hcm-match-log__table col.hcm-match-log__col-stat {
	width: 5.5% !important;
}
.hcm-team-hub .hcm-match-log__table col.hcm-match-log__col-rating {
	width: 8.5% !important;
}
.hcm-team-hub .hcm-match-log__table thead .hcm-match-log__filter-cell {
	text-align: left !important;
	padding-left: var(--hcm-match-log-pad-x) !important;
	vertical-align: middle !important;
}
.hcm-team-hub .hcm-match-log__filter-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-match-log__filter-btn svg {
	flex-shrink: 0 !important;
	opacity: 0.85 !important;
}
.hcm-team-hub .hcm-match-log__table thead .col-stat {
	text-align: right !important;
	padding-left: 0 !important;
	padding-right: 1px !important;
}
.hcm-team-hub .hcm-match-log__table thead abbr {
	text-decoration: none !important;
	border: 0 !important;
}
.hcm-team-hub .hcm-match-log__table thead tr > th.col-stat:nth-child(6) {
	padding-right: 4px !important;
}
/* 图标与数字统一靠列右缘，列宽收窄时间隔更紧凑 */
.hcm-team-hub .hcm-match-log__table thead .col-stat .hcm-match-log__head-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	width: 100% !important;
	min-height: 22px !important;
	line-height: 1 !important;
	vertical-align: middle !important;
}
.hcm-team-hub .hcm-match-log__table thead th.col-rating-head {
	text-align: center !important;
	vertical-align: middle !important;
	font-size: 14px !important;
	line-height: 1 !important;
	padding: 10px var(--hcm-match-log-pad-x) 11px 14px !important;
}
.hcm-team-hub .hcm-match-log__table thead th.col-rating-head .hcm-match-log__head-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 22px !important;
	vertical-align: middle !important;
}
.hcm-team-hub .hcm-match-log__head-star {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 18px !important;
	height: 18px !important;
	vertical-align: middle !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-match-log__head-star svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
}

.hcm-team-hub .hcm-match-log__table tbody td {
	padding: 8px 6px !important;
	font-size: 14px !important;
	vertical-align: middle !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid var(--border-color, #eef0f3) !important;
	color: var(--text-primary, #111) !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-match-log__table tbody td {
	border-bottom-color: var(--border-color, rgba(255, 255, 255, 0.1)) !important;
}
.hcm-team-hub .hcm-match-log__table tbody tr:last-child td {
	border-bottom: none !important;
}

.hcm-team-hub .sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hcm-team-hub .hcm-match-log__table tbody td.hcm-match-log__cell-league-date {
	padding-left: var(--hcm-match-log-pad-x) !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__row-top {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__league-chip {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-shrink: 0 !important;
	order: -1 !important;
}
.hcm-team-hub .hcm-match-log__league-name {
	display: none !important;
}
.hcm-team-hub .hcm-match-log__league-badge {
	width: 26px !important;
	height: 26px !important;
	border-radius: 50% !important;
	object-fit: contain !important;
	flex-shrink: 0 !important;
	background: var(--bg-secondary) !important;
}
.hcm-team-hub .hcm-match-log__date-text {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--text-muted) !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

.hcm-team-hub .hcm-match-log__cell-match {
	padding-left: 10px !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__match-desktop {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	gap: 10px !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__block-a {
	display: none !important;
}
.hcm-team-hub .hcm-match-log__match-desktop .match-teams {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__match-desktop .match-teams img {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-match-log__match-desktop .match-teams span {
	flex: 1 1 0 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	color: var(--text-primary, #111) !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	min-width: 0 !important;
}

.hcm-team-hub .hcm-match-log__cell-result,
.hcm-team-hub .hcm-match-log__result-line {
	text-align: left !important;
	white-space: nowrap !important;
}
.hcm-team-hub .hcm-match-log__cell-result .result-char,
.hcm-team-hub .hcm-match-log__result-line .result-char {
	display: inline-block !important;
	min-width: 14px !important;
	font-weight: 800 !important;
	font-size: 14px !important;
	margin-right: 10px !important;
	color: var(--text-muted) !important;
}
.hcm-team-hub .hcm-match-log__cell-result .res-T,
.hcm-team-hub .hcm-match-log__result-line .res-T {
	color: #10B981 !important;
}
.hcm-team-hub .hcm-match-log__cell-result .res-B,
.hcm-team-hub .hcm-match-log__result-line .res-B {
	color: #EF4444 !important;
}
.hcm-team-hub .hcm-match-log__cell-result .res-H,
.hcm-team-hub .hcm-match-log__result-line .res-H {
	color: #94a3b8 !important;
}
.hcm-team-hub .hcm-match-log__cell-result .result-score,
.hcm-team-hub .hcm-match-log__result-line .result-score {
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	font-size: 13px !important;
	color: var(--text-primary, #111) !important;
}

.hcm-team-hub .hcm-match-log__stats-inner {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	align-items: center !important;
	text-align: center !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-match-log__stat-item {
	position: relative !important;
}
.hcm-team-hub .hcm-match-log__stat-visual {
	display: none !important;
}
.hcm-team-hub .hcm-match-log__stat-num {
	display: block !important;
	font-weight: 600 !important;
	font-variant-numeric: tabular-nums !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-match-log__stat-item--rating .hcm-match-log__stat-num {
	display: flex !important;
	justify-content: center !important;
}
.hcm-team-hub .hcm-match-log__stat-item--rating .hcm-match-log__stat-visual {
	display: none !important;
}
.hcm-team-hub .hcm-match-log__cell-stats {
	padding-right: var(--hcm-match-log-pad-x) !important;
}
.hcm-team-hub .hcm-match-log__stat-item--rating .hcm-match-log__badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 38px !important;
	padding: 4px 8px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	color: #fff !important;
	line-height: 1 !important;
}
.hcm-team-hub .hcm-match-log__stat-item--rating .rating-none {
	color: var(--text-muted) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
}

.hcm-team-hub .hcm-match-log__footer {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-left: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	margin-right: calc(-1 * var(--hcm-match-log-pad-x)) !important;
	padding-left: var(--hcm-match-log-pad-x) !important;
	padding-right: var(--hcm-match-log-pad-x) !important;
	margin-top: 14px !important;
	padding-top: 14px !important;
	border-top: 1px solid var(--border-color) !important;
}
.hcm-team-hub .hcm-match-log__nav {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 4px 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	cursor: pointer !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	box-shadow: none !important;
}
.hcm-team-hub .hcm-match-log__nav:hover .hcm-match-log__nav-icon {
	background: #e5e7eb !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-match-log__nav:hover .hcm-match-log__nav-icon {
	background: #3a3a3c !important;
}
.hcm-team-hub .hcm-match-log__nav-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 999px !important;
	background: #f3f4f6 !important;
	flex-shrink: 0 !important;
	color: var(--text-muted) !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-match-log__nav-icon {
	background: #2c2c2e !important;
	color: #a1a1aa !important;
}

/* 左侧主栏：Thống kê chi tiết（控制台 Header + 彩色进度条） */
.hcm-team-hub .hcm-ds-card {
	padding: 0 !important;
	margin-top: var(--gap) !important;
	margin-bottom: var(--gap) !important;
	overflow: hidden !important;
}
.hcm-team-hub .hcm-ds__body {
	padding: 0 24px 24px 24px !important;
}
.hcm-team-hub .hcm-ds__league-selector {
	display: flex !important;
	align-items: center !important;
	padding: 18px 24px !important;
	border-bottom: 1px solid var(--border-color, #e5e7eb) !important;
	cursor: pointer !important;
	background: var(--card-bg, #fff) !important;
	position: relative !important;
	z-index: 20 !important;
	user-select: none !important;
}
.hcm-team-hub .hcm-ds__league-logo {
	width: 26px !important;
	height: 26px !important;
	object-fit: contain !important;
	margin-right: 14px !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-ds__league-season {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-ds__league-divider {
	width: 1px !important;
	height: 16px !important;
	background: var(--border-color, #e5e7eb) !important;
	margin: 0 14px !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-ds__league-trigger {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	min-width: 0 !important;
}
.hcm-team-hub .hcm-ds__league-name {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--text-muted, #666) !important;
}
.hcm-team-hub .hcm-ds__chevron {
	color: var(--text-muted, #666) !important;
	flex-shrink: 0 !important;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hcm-team-hub .hcm-ds__dropdown-panel {
	position: absolute !important;
	top: calc(100% - 4px) !important;
	left: 0 !important;
	width: 320px !important;
	background: var(--card-bg, #fff) !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
	border: 1px solid var(--border-color, #e5e7eb) !important;
	max-height: 400px !important;
	overflow-y: auto !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(-10px) !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	z-index: 100 !important;
}
html.dark-mode .hcm-team-hub .hcm-ds__dropdown-panel,
body.dark-mode .hcm-team-hub .hcm-ds__dropdown-panel {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}
.hcm-team-hub .hcm-ds__league-selector.is-open .hcm-ds__dropdown-panel {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}
.hcm-team-hub .hcm-ds__league-selector.is-open .hcm-ds__chevron {
	transform: rotate(180deg) !important;
}
.hcm-team-hub .hcm-ds__dropdown-inner {
	padding: 8px 0 !important;
}
.hcm-team-hub .hcm-ds__dropdown-season {
	padding: 8px 20px 4px 44px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--text-muted, #888) !important;
}
.hcm-team-hub .hcm-ds__dropdown-item {
	display: flex !important;
	align-items: center !important;
	padding: 10px 20px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--text-primary, #111) !important;
	cursor: pointer !important;
	transition: background 0.15s ease !important;
}
.hcm-team-hub .hcm-ds__dropdown-item:hover {
	background: rgba(0, 0, 0, 0.04) !important;
}
html.dark-mode .hcm-team-hub .hcm-ds__dropdown-item:hover,
body.dark-mode .hcm-team-hub .hcm-ds__dropdown-item:hover {
	background: rgba(255, 255, 255, 0.06) !important;
}
.hcm-team-hub .hcm-ds__check-icon {
	margin-right: 10px !important;
	color: var(--text-primary, #111) !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-ds__check-placeholder {
	width: 14px !important;
	margin-right: 10px !important;
	flex-shrink: 0 !important;
}
/* 摘要 6 宫格布局 */
.hcm-team-hub .hcm-ds__summary-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 28px 16px !important;
	padding: 24px !important;
	border-bottom: 1px solid var(--border-color, #e5e7eb) !important;
	background: var(--bg-primary, #fff) !important;
}
.hcm-team-hub .hcm-ds__summary-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}
.hcm-team-hub .hcm-ds__summary-val {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	margin-bottom: 6px !important;
	line-height: 1.2 !important;
}
.hcm-team-hub .hcm-ds__summary-label {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--text-secondary, #666) !important;
}
.hcm-team-hub .hcm-ds__summary-badge {
	display: inline-block !important;
	background: #1fb963 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 2px 10px !important;
	border-radius: 6px !important;
	margin-bottom: 6px !important;
	line-height: 1.4 !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-ds__summary-grid {
	background: var(--card-bg, #1c1c1e) !important;
}
.hcm-team-hub .hcm-ds__perf-header {
	display: flex !important;
	align-items: center !important;
	padding: 16px 24px 16px 24px !important;
	border-bottom: 1px solid var(--border-color, #e5e7eb) !important;
	margin-bottom: 8px !important;
}
.hcm-team-hub .hcm-ds__perf-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 0 6px 0 !important;
}
.hcm-team-hub .hcm-ds__perf-minutes {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--text-muted, #666) !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-ds__league-selector {
	background: var(--card-bg, #1c1c1e) !important;
}
.hcm-team-hub .hcm-ds__group {
	margin-bottom: var(--hcm-layout-gap) !important;
}
.hcm-team-hub .hcm-ds__group:last-child {
	margin-bottom: 0 !important;
}
.hcm-team-hub .hcm-ds__group-title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
	margin: 20px 0 8px 0 !important;
	padding-bottom: 0 !important;
}
.hcm-team-hub .hcm-ds__group:first-child .hcm-ds__group-title {
	margin-top: 0 !important;
}
.hcm-team-hub .hcm-ds__row {
	display: flex !important;
	align-items: center !important;
	padding: 4px 0 !important;
	min-height: 28px !important;
}
.hcm-team-hub .hcm-ds__label {
	flex: 1 !important;
	min-width: 0 !important;
	font-size: 14px !important;
	color: var(--text-primary, #111) !important;
	line-height: 1.35 !important;
}
.hcm-team-hub .hcm-ds__value {
	width: 54px !important;
	text-align: right !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	margin-right: 12px !important;
	font-variant-numeric: tabular-nums !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
}
.hcm-team-hub .hcm-ds__divider {
	width: 1px !important;
	height: 12px !important;
	background: rgba(0, 0, 0, 0.12) !important;
	margin-right: 12px !important;
	flex-shrink: 0 !important;
}
html.dark-mode .hcm-team-hub .hcm-ds__divider,
body.dark-mode .hcm-team-hub .hcm-ds__divider {
	background: rgba(255, 255, 255, 0.15) !important;
}
.hcm-team-hub .hcm-ds__bar-container {
	flex: none !important;
	width: 260px !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-ds__bar-track {
	width: 100% !important;
	height: 10px !important;
	background: rgba(0, 0, 0, 0.06) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}
html.dark-mode .hcm-team-hub .hcm-ds__bar-track,
body.dark-mode .hcm-team-hub .hcm-ds__bar-track {
	background: rgba(255, 255, 255, 0.08) !important;
}
.hcm-team-hub .hcm-ds__bar-fill {
	height: 100% !important;
	border-radius: 10px !important;
	transition: width 0.8s ease-out !important;
}
.hcm-team-hub .bg-green {
	background: #1fb963 !important;
}
.hcm-team-hub .bg-orange {
	background: #f0932b !important;
}
.hcm-team-hub .bg-red {
	background: #eb4d4b !important;
}

/* About 卡片基础 */
.hcm-team-hub .hcm-about-card {
	padding: 24px !important;
	margin-bottom: var(--gap) !important;
}
.hcm-team-hub .hcm-about__main-title {
	text-align: center !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 0 20px 0 !important;
}
.hcm-team-hub .hcm-about__content-wrapper:not(.md-about-match-content) {
	position: relative !important;
	max-height: 180px !important;
	overflow: hidden !important;
	transition: max-height 0.4s ease !important;
}
.hcm-team-hub .hcm-about__content-wrapper:not(.md-about-match-content).is-expanded {
	max-height: 1000px !important;
}
.hcm-team-hub .hcm-about__text p {
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 0 16px 0 !important;
}
.hcm-team-hub .hcm-text-green {
	color: #1fb963 !important;
}
.hcm-team-hub .hcm-about__text-faded {
	color: var(--text-secondary, #888) !important;
}
.hcm-team-hub .hcm-about__fade-overlay {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 60px !important;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff) !important;
	pointer-events: none !important;
	transition: opacity 0.3s ease !important;
}
:is(html.dark-mode, body.dark-mode) .hcm-team-hub .hcm-about__fade-overlay {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--card-bg, #1c1c1e)) !important;
}
.hcm-team-hub .hcm-about__content-wrapper:not(.md-about-match-content).is-expanded .hcm-about__fade-overlay {
	opacity: 0 !important;
}
.hcm-team-hub .hcm-about__expand-btn {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	background: none !important;
	border: none !important;
	color: #1fb963 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 16px 0 0 0 !important;
	margin-top: 8px !important;
	cursor: pointer !important;
}

/* 右侧边栏：雷达图外框与贯穿式头部 */
.hcm-team-hub .hcm-radar-card {
	--hcm-radar-pad-x: 24px !important;
	padding: 24px var(--hcm-radar-pad-x) !important;
	margin-bottom: var(--gap) !important;
}
.hcm-team-hub .hcm-radar__header {
	margin-left: calc(-1 * var(--hcm-radar-pad-x)) !important;
	margin-right: calc(-1 * var(--hcm-radar-pad-x)) !important;
	padding-left: var(--hcm-radar-pad-x) !important;
	padding-right: var(--hcm-radar-pad-x) !important;
	padding-bottom: 16px !important;
	border-bottom: 1px solid var(--border-color) !important;
	margin-bottom: 32px !important;
}
.hcm-team-hub .hcm-radar__title {
	font-size: 16px !important;
	font-weight: 800 !important;
	margin: 0 0 6px 0 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-radar__subtitle-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}
.hcm-team-hub .hcm-radar__subtitle {
	font-size: 13px !important;
	color: var(--text-muted) !important;
}
.hcm-team-hub .hcm-radar__info-icon {
	color: var(--text-muted) !important;
	opacity: 0.6 !important;
	cursor: help !important;
	transition: opacity 0.2s ease !important;
	flex-shrink: 0 !important;
}
.hcm-team-hub .hcm-radar__info-icon:hover {
	opacity: 1 !important;
}

.hcm-team-hub .hcm-radar__body {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
}
.hcm-team-hub .hcm-radar-svg {
	width: 100% !important;
	max-width: 380px !important;
	height: auto !important;
	display: block !important;
}

.hcm-team-hub .hcm-radar-grid-poly--outer {
	fill: none !important;
	stroke: rgba(0, 0, 0, 0.1) !important;
	stroke-width: 1 !important;
}
.hcm-team-hub .hcm-radar-grid-poly--inner,
.hcm-team-hub .hcm-radar-grid-line {
	fill: none !important;
	stroke: rgba(0, 0, 0, 0.05) !important;
	stroke-width: 1 !important;
	stroke-dasharray: 4 4 !important;
}
:is(html.dark-mode, body.dark-mode, html[data-theme="dark"]) .hcm-team-hub .hcm-radar-grid-poly--outer {
	stroke: rgba(255, 255, 255, 0.1) !important;
}
:is(html.dark-mode, body.dark-mode, html[data-theme="dark"]) .hcm-team-hub .hcm-radar-grid-poly--inner,
:is(html.dark-mode, body.dark-mode, html[data-theme="dark"]) .hcm-team-hub .hcm-radar-grid-line {
	stroke: rgba(255, 255, 255, 0.05) !important;
}

.hcm-team-hub .hcm-radar-data-poly {
	fill: #8bb8e8 !important;
	opacity: 0.85 !important;
	stroke: none !important;
}

.hcm-team-hub .hcm-radar-label-score {
	font-size: 15px !important;
	font-weight: 800 !important;
	fill: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-radar-label-text {
	font-size: 13px !important;
	font-weight: 500 !important;
	fill: var(--text-muted) !important;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* 职业生涯卡片 */
.hcm-team-hub .hcm-career-card {
	padding: 0 !important;
	margin-bottom: var(--gap) !important;
}
/* 1. 修复头部：增加贯穿式底部分割线 */
.hcm-team-hub .hcm-career__header {
	padding: 24px 24px 20px 24px !important;
	border-bottom: 1px solid var(--border-color) !important;
}
.hcm-team-hub .hcm-career__title {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 !important;
}

/* Tab 导航 */
/* 2. 修复 Tab：移除底部的多余线条，让悬浮下划线更纯粹 */
.hcm-team-hub .hcm-career__tabs {
	display: flex !important;
	gap: var(--hcm-layout-gap) !important;
	padding: 16px 24px 0 24px !important;
	border-bottom: none !important;
}
.hcm-team-hub .hcm-career__tab {
	background: transparent !important;
	border: none !important;
	padding: 0 0 12px 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	cursor: pointer !important;
	position: relative !important;
	transition: color 0.2s !important;
}
.hcm-team-hub .hcm-career__tab:hover {
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-career__tab.active {
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-career__tab.active::after {
	content: '' !important;
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 3px !important;
	background: var(--text-primary, #111) !important;
	border-radius: 3px 3px 0 0 !important;
}

/* 面板切换 */
.hcm-team-hub .hcm-career__pane {
	display: none !important;
}
.hcm-team-hub .hcm-career__pane.active {
	display: block !important;
	animation: fadeIn 0.3s ease;
}

/* 区块标题与表头 */
.hcm-team-hub .hcm-career__section {
	border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
	padding-bottom: 8px !important;
}
html.dark-mode .hcm-team-hub .hcm-career__section {
	border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
.hcm-team-hub .hcm-career__section:last-child {
	border-bottom: none !important;
}

.hcm-team-hub .hcm-career__section-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 20px 24px 12px 24px !important;
}
.hcm-team-hub .hcm-career__section-title {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--text-muted) !important;
}
.hcm-team-hub .hcm-career__section-icons {
	display: flex !important;
	gap: 8px !important;
	color: var(--text-muted) !important;
}
.hcm-team-hub .hcm-career__section-icons span,
.hcm-team-hub .hcm-career__item-stats .hcm-career__stat-col {
	width: 26px !important;
	text-align: center !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.hcm-team-hub .hcm-career__section-icons--4 span:last-child,
.hcm-team-hub .hcm-career__item-stats--4 .hcm-career__stat-col:last-child {
	width: 40px !important;
	justify-content: center !important;
}

/* 列表行 */
.hcm-team-hub .hcm-career__item {
	display: flex !important;
	align-items: center !important;
	padding: 12px 24px !important;
	transition: background 0.2s !important;
}
.hcm-team-hub .hcm-career__item:hover {
	background: rgba(0, 0, 0, 0.02) !important;
}
html.dark-mode .hcm-team-hub .hcm-career__item:hover {
	background: rgba(255, 255, 255, 0.02) !important;
}

.hcm-team-hub .hcm-career__item-logo {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	margin-right: 16px !important;
	border-radius: 50% !important;
}
.hcm-team-hub .hcm-career__item-info {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	padding-right: 8px !important;
}
.hcm-team-hub .hcm-career__item-name {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
.hcm-team-hub .hcm-career__item-sub {
	font-size: 13px !important;
	color: var(--text-muted) !important;
	margin-top: 2px !important;
}

/* 数据列与评分徽章 */
.hcm-team-hub .hcm-career__item-stats {
	display: flex !important;
	gap: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
}
/* 徽章样式微调，确保居中时不突兀 */
.hcm-team-hub .hcm-career__rating-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 36px !important; /* 给徽章一个最小宽度，让数字长短不一也能看起来整齐 */
	padding: 3px 6px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	color: #fff !important;
	line-height: 1 !important;
}

/* 底部图例：强制单行显示，禁止换行 */
.hcm-team-hub .hcm-career__legend {
	display: flex !important;
	flex-wrap: nowrap !important; /* 核心修复：强制不换行 */
	justify-content: flex-start !important; /* 靠左紧凑排列 */
	gap: 14px !important; /* 缩小间隙，确保能塞进一行 */
	padding: 20px 24px 24px 24px !important;
	background: transparent !important;
	border-top: 1px solid var(--border-color) !important;
	border-radius: 0 0 var(--radius) var(--radius) !important;
	color: var(--text-muted) !important;
	font-size: 12px !important; /* 恢复为紧凑的 12px */
	font-weight: 500 !important;
	overflow-x: auto !important; /* 极端窄屏下的防御机制：允许内部滑动，绝不把外框撑破 */
}
.hcm-team-hub .hcm-career__legend::-webkit-scrollbar {
	display: none !important; /* 隐藏滑动条，保持极简 */
}
.hcm-team-hub .hcm-career__legend-item {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	white-space: nowrap !important; /* 核心修复：保证单个文字组不被打断 */
}

/* 下拉折叠面板样式 */
.hcm-team-hub .hcm-career__accordion-group {
	border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}
.hcm-team-hub .hcm-career__item.js-career-toggle {
	cursor: pointer !important;
}
.hcm-team-hub .hcm-career__toggle-icon,
.hcm-team-hub .hcm-career__toggle-placeholder {
	width: 24px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: var(--text-muted) !important;
	margin-right: 12px !important;
	flex-shrink: 0 !important;
	transition: transform 0.3s ease !important;
}
.hcm-team-hub .hcm-career__accordion-group.is-open .hcm-career__toggle-icon {
	transform: rotate(-180deg) !important;
}

.hcm-team-hub .hcm-career__sub-list {
	display: none !important;
	background: transparent !important;
	padding: 0 !important;
}
.hcm-team-hub .hcm-career__accordion-group.is-open .hcm-career__sub-list {
	display: block !important;
	animation: slideDown 0.3s ease forwards;
}

.hcm-team-hub .hcm-career__sub-item {
	display: flex !important;
	align-items: center !important;
	padding: 12px 24px !important;
	border-top: 1px solid rgba(0, 0, 0, 0.03) !important;
}
html.dark-mode .hcm-team-hub .hcm-career__sub-item {
	border-top-color: rgba(255, 255, 255, 0.03) !important;
}
.hcm-team-hub .hcm-career__sub-item:hover {
	background: rgba(0, 0, 0, 0.02) !important;
}
html.dark-mode .hcm-team-hub .hcm-career__sub-item:hover {
	background: rgba(255, 255, 255, 0.02) !important;
}
.hcm-team-hub .hcm-career__sub-spacer {
	display: none !important;
}
.hcm-team-hub .hcm-career__sub-logo {
	width: 20px !important;
	height: 20px !important;
	object-fit: contain !important;
	flex-shrink: 0 !important;
	margin-left: 4px !important;
	margin-right: 20px !important;
	border-radius: 50% !important;
	background: #fff !important;
}
.hcm-team-hub .hcm-career__sub-item .hcm-career__item-name {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-career__sub-rating-dash {
	color: var(--text-muted) !important;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 奖杯荣誉外层卡片 */
.hcm-team-hub .hcm-trophies-card {
	padding: 24px !important;
	margin-bottom: var(--gap) !important;
}
.hcm-team-hub .hcm-trophies__header {
	margin-bottom: var(--hcm-layout-gap) !important;
}
.hcm-team-hub .hcm-trophies__title {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--text-primary, #111) !important;
	margin: 0 !important;
}

.hcm-team-hub .hcm-trophies__group {
	border: 1px solid var(--border-color) !important;
	border-radius: 12px !important;
	margin-bottom: var(--hcm-layout-gap) !important;
	overflow: hidden !important;
}
.hcm-team-hub .hcm-trophies__group:last-child {
	margin-bottom: 0 !important;
}

.hcm-team-hub .hcm-trophies__group-head {
	background: rgba(0, 0, 0, 0.02) !important;
	display: flex !important;
	align-items: center !important;
	padding: 16px 20px !important;
	border-bottom: 1px solid var(--border-color) !important;
}
html.dark-mode .hcm-team-hub .hcm-trophies__group-head {
	background: rgba(255, 255, 255, 0.02) !important;
}

.hcm-team-hub .hcm-trophies__group-logo {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	margin-right: 16px !important;
	border-radius: 50% !important;
	background: #fff !important;
}
.hcm-team-hub .hcm-trophies__group-name {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--text-primary, #111) !important;
	line-height: 1.2 !important;
}
.hcm-team-hub .hcm-trophies__group-country {
	font-size: 13px !important;
	color: var(--text-muted) !important;
	margin-top: 4px !important;
}

.hcm-team-hub .hcm-trophies__item {
	display: flex !important;
	align-items: center !important;
	padding: 16px 20px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}
html.dark-mode .hcm-team-hub .hcm-trophies__item {
	border-bottom-color: rgba(255, 255, 255, 0.03) !important;
}
.hcm-team-hub .hcm-trophies__item:last-child {
	border-bottom: none !important;
}
.hcm-team-hub .hcm-trophies__item:hover {
	background: rgba(0, 0, 0, 0.015) !important;
}

.hcm-team-hub .hcm-trophies__item-count {
	width: 24px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--text-primary, #111) !important;
	flex-shrink: 0 !important;
	text-align: center !important;
}
.hcm-team-hub .hcm-trophies__item-logo {
	width: 20px !important;
	height: 20px !important;
	object-fit: contain !important;
	margin: 0 16px !important;
	flex-shrink: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
}

.hcm-team-hub .hcm-trophies__item-text {
	flex: 1 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	align-items: baseline !important;
}
.hcm-team-hub .hcm-trophies__item-name {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--text-primary, #111) !important;
}
.hcm-team-hub .hcm-trophies__item-seasons {
	font-size: 13px !important;
	color: var(--text-muted) !important;
	white-space: nowrap !important;
}

/* 移动端全局版心收束（与球队/联赛/国家队 Hub 同架构，仅容器层） */
@media (max-width: 992px) {
	body:has(.hcm-player-hub) .site-content,
	body:has(.hcm-player-hub) #content,
	body:has(.hcm-player-hub) #primary,
	body:has(.hcm-player-hub) main.site-main,
	body:has(.hcm-player-hub) .site-main {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	.hcm-player-hub {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 16px 40px !important;
		box-sizing: border-box !important;
		overflow-x: clip !important;
	}

	.hcm-player-hub .hcm-player-layout {
		grid-template-columns: 1fr !important;
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.hcm-player-hub .hcm-player-main,
	.hcm-player-hub .hcm-player-sidebar {
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.hcm-player-hub .hcm-card,
	.hcm-player-hub .hcm-team-hub-hero {
		max-width: 100% !important;
		min-width: 0 !important;
	}

	/* Hero 下半部：基础数据 + 球场图纵向堆叠 */
	.hcm-player-hub .hcm-team-hub-hero__body {
		flex-direction: column !important;
		align-items: stretch !important;
		padding: 24px 16px 20px !important;
		gap: 0 !important;
	}

	.hcm-player-hub .hcm-team-hub-hero__stats-grid {
		width: 100% !important;
		flex: none !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 18px 14px !important;
	}

	.hcm-player-hub .hcm-team-hub-hero__stats-grid .hcm-team-hub-hero__stat-item:nth-last-child(-n+2) {
		border-bottom: none !important;
		padding-bottom: 0 !important;
	}

	.hcm-player-hub .hcm-team-hub-hero__position-area {
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 20px !important;
		padding-top: 20px !important;
		padding-left: 0 !important;
		border-left: none !important;
		border-top: 1px solid var(--border-color) !important;
		justify-content: space-between !important;
		align-items: flex-start !important;
		box-sizing: border-box !important;
	}

	.hcm-player-hub .hcm-team-hub-hero__pitch {
		flex-shrink: 0 !important;
	}

	/* 比赛日志：FotMob 双行卡片（Grid 分区，禁止单行挤压） */
	.hcm-player-hub .hcm-match-log-card.hcm-card {
		--hcm-match-log-pad-x: 16px !important;
		padding: 16px 0 0 !important;
	}

	.hcm-player-hub .hcm-match-log__title-row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: var(--hcm-match-log-pad-x) !important;
		padding-right: var(--hcm-match-log-pad-x) !important;
	}

	.hcm-player-hub .hcm-match-log__table-wrap {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		overflow-x: visible !important;
	}

	.hcm-player-hub .hcm-match-log__table {
		display: block !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.hcm-player-hub .hcm-match-log__table thead {
		display: none !important;
	}

	.hcm-player-hub .hcm-match-log__table tbody {
		display: block !important;
	}

	.hcm-player-hub .hcm-match-log__table tbody tr.hcm-match-log__row {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-rows: auto auto !important;
		grid-template-areas:
			"top top"
			"blocka blockb" !important;
		padding: 14px 16px !important;
		border-bottom: 1px solid var(--border-color, #eef0f3) !important;
		box-sizing: border-box !important;
	}

	.hcm-player-hub .hcm-match-log__table tbody tr.hcm-match-log__row:last-child {
		border-bottom: none !important;
	}

	.hcm-player-hub .hcm-match-log__table tbody tr.hcm-match-log__row td {
		display: block !important;
		padding: 0 !important;
		border: none !important;
		min-width: 0 !important;
	}

	/* 第一行：日期 | 联赛名 + Logo */
	.hcm-player-hub .hcm-match-log__cell-league-date {
		grid-area: top !important;
		padding: 0 0 8px !important;
	}

	.hcm-player-hub .hcm-match-log__row-top {
		justify-content: space-between !important;
		align-items: center !important;
		gap: 8px !important;
		margin-bottom: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__date-text {
		font-size: 12px !important;
		font-weight: 500 !important;
		color: var(--text-muted, #888) !important;
	}

	.hcm-player-hub .hcm-match-log__league-chip {
		order: 0 !important;
		gap: 6px !important;
		flex-shrink: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__league-name {
		display: inline !important;
		font-size: 12px !important;
		font-weight: 400 !important;
		color: var(--text-muted, #888) !important;
		max-width: 140px !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
		line-height: 1.2 !important;
	}

	.hcm-player-hub .hcm-match-log__league-badge {
		width: 22px !important;
		height: 22px !important;
	}

	/* 第二行左：对阵 Logo + 队名/比分纵向折叠 */
	.hcm-player-hub .hcm-match-log__cell-match {
		grid-area: blocka !important;
		padding: 0 !important;
		align-self: center !important;
	}

	.hcm-player-hub .hcm-match-log__match-desktop {
		display: none !important;
	}

	.hcm-player-hub .hcm-match-log__block-a {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		min-width: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__opp-logo {
		width: 32px !important;
		height: 32px !important;
		object-fit: contain !important;
		flex-shrink: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__block-a-body {
		display: flex !important;
		flex-direction: column !important;
		gap: 2px !important;
		min-width: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__opp-name {
		font-size: 14px !important;
		font-weight: 700 !important;
		color: var(--text-primary, #111) !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
		line-height: 1.25 !important;
	}

	.hcm-player-hub .hcm-match-log__result-line {
		display: flex !important;
		align-items: center !important;
		gap: 6px !important;
		line-height: 1.2 !important;
	}

	.hcm-player-hub .hcm-match-log__result-line .result-char {
		margin-right: 0 !important;
		font-size: 13px !important;
		font-weight: 800 !important;
	}

	.hcm-player-hub .hcm-match-log__result-line .result-score {
		font-size: 13px !important;
		font-weight: 700 !important;
		letter-spacing: 0.04em !important;
	}

	/* 第二行右：事件图标 + 时间 + 评分胶囊 */
	.hcm-player-hub .hcm-match-log__cell-stats {
		grid-area: blockb !important;
		padding: 0 !important;
		align-self: center !important;
	}

	.hcm-player-hub .hcm-match-log__stats-inner {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 8px !important;
		flex-wrap: nowrap !important;
		min-width: 0 !important;
		position: relative !important;
	}

	/* 零值项：保留完整 DOM + sr-only，仅移出可视布局（禁止 display:none 包裹层） */
	.hcm-player-hub .hcm-match-log__stat-item.stat-zero {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__stat-num {
		display: none !important;
	}

	/* 覆盖桌面端 rating .stat-num { display:flex }，消灭移动端双胶囊 */
	.hcm-player-hub .hcm-match-log__stat-item--rating .hcm-match-log__stat-num {
		display: none !important;
	}

	.hcm-player-hub .hcm-match-log__stat-visual {
		display: inline-flex !important;
		align-items: center !important;
		gap: 2px !important;
		flex-shrink: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__stat-visual:empty {
		display: none !important;
	}

	.hcm-player-hub .hcm-match-log__mini-icon {
		font-size: 14px !important;
		line-height: 1 !important;
	}

	.hcm-player-hub .hcm-match-log__mins-pill {
		font-size: 12px !important;
		font-weight: 600 !important;
		color: var(--text-muted) !important;
		white-space: nowrap !important;
	}

	.hcm-player-hub .hcm-match-log__stat-item--rating {
		flex-shrink: 0 !important;
	}

	.hcm-player-hub .hcm-match-log__stat-item--rating .hcm-match-log__stat-visual {
		display: inline-flex !important;
	}

	.hcm-player-hub .hcm-match-log__stat-item--rating .hcm-match-log__badge {
		min-width: 36px !important;
		padding: 4px 7px !important;
		font-size: 12px !important;
		font-weight: 800 !important;
	}

	.hcm-player-hub .hcm-match-log__footer {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-top: 14px !important;
		padding: 14px var(--hcm-match-log-pad-x) 16px !important;
		border-top: 1px solid var(--border-color, #eef0f3) !important;
	}

	.hcm-player-hub .hcm-match-log__nav {
		display: inline-flex !important;
		align-items: center !important;
		gap: 10px !important;
	}

	/* 赛季效率（Hiệu quả theo mùa）：FotMob 单行截断 + 微缩色条 */
	.hcm-player-hub .hcm-ds__row {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
		min-width: 0 !important;
		gap: 0 !important;
	}

	.hcm-player-hub .hcm-ds__label {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		padding-right: 12px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.hcm-player-hub .hcm-ds__value {
		flex: 0 0 auto !important;
		width: 32px !important;
		min-width: 32px !important;
		max-width: 32px !important;
		text-align: right !important;
		margin-right: 12px !important;
	}

	.hcm-player-hub .hcm-ds__divider {
		flex: 0 0 auto !important;
		flex-shrink: 0 !important;
		margin-right: 8px !important;
	}

	.hcm-player-hub .hcm-ds__bar-container {
		flex: 0 0 60px !important;
		width: 60px !important;
		min-width: 60px !important;
		max-width: 60px !important;
	}

	.hcm-player-hub .hcm-ds__bar-track {
		width: 100% !important;
		height: 8px !important;
	}
}

/* Player hub — extracted static inline styles */
.hcm-player-hub .hcm-card.hcm-player-empty-card {
	text-align: center;
	padding: 60px 20px;
}

.hcm-player-empty-card__title {
	color: var(--text-muted);
	font-size: 16px;
	margin: 0;
}

.hcm-player-hub .hcm-team-hub-hero__country-link {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hcm-player-hub .hcm-team-hub-hero__country-flag {
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.hcm-trophies__item-status {
	font-weight: 600;
	color: var(--text-muted);
}

/* Giới thiệu — 与 hub 详情页同款折叠 (hub-read-more.js) */
.hcm-player-hub .hcm-player-about-seo {
	position: relative;
	padding-bottom: 10px;
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text, var(--hcm-text-main));
	max-height: 200px !important;
	overflow: hidden;
	position: relative;
	transition: max-height 0.4s ease-in-out;
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content.expanded {
	max-height: 2000px !important;
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content p {
	margin-bottom: 12px;
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content ul {
	margin-left: 20px;
	margin-bottom: 12px;
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content li {
	margin-bottom: 8px;
}

.hcm-player-hub .hcm-player-about-seo .fade-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--hcm-bg-card, var(--card-bg, #fff)));
	pointer-events: none;
	transition: opacity 0.3s;
}

:is(html.dark-mode, body.dark-mode) .hcm-player-hub .hcm-player-about-seo .fade-overlay {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--card-bg, #1c1c1e));
}

.hcm-player-hub .hcm-player-about-seo .md-about-match-content.expanded .fade-overlay,
.hcm-player-hub .hcm-player-about-seo .md-about-match-content.expanded .hcm-about__fade-overlay {
	opacity: 0 !important;
}

.hcm-player-hub .hcm-player-about-seo .md-read-more-btn {
	display: block;
	width: 100%;
	text-align: center;
	background: transparent !important;
	border: none;
	color: #10b981;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 0 0;
	margin-top: 4px;
	cursor: pointer;
	transition: opacity 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.hcm-player-hub .hcm-player-about-seo .md-read-more-btn:hover {
	opacity: 0.7;
}

.hcm-player-hub .hcm-seo-highlight {
	color: #10b981;
	font-weight: 500;
}

.hcm-player-hub a.hcm-seo-link.hcm-seo-highlight {
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.hcm-player-hub a.hcm-seo-link.hcm-seo-highlight:hover,
.hcm-player-hub a.hcm-seo-link.hcm-seo-highlight:focus-visible {
	border-bottom-color: #10b981;
	outline: none;
}

.hcm-player-hub .hcm-seo-paragraph--last {
	margin-bottom: 0;
}
