/*
	Live Timing 页面样式。
	沿用站点既有的暗色调（#1b1f22 底、白色文字、#e10600 强调色），
	但这是独立页面而非卡片弹层，所以布局用居中单列。
*/

html, body.lt-body {
	margin: 0;
	padding: 0;
	background: #1b1f22;
	color: #ffffff;
	font-family: "Source Sans Pro", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
	font-weight: 300;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

/* 背景图沿用首页那张，压暗后不干扰阅读 */
#bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

	#bg::before {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(to bottom, rgba(19, 21, 25, 0.82), rgba(19, 21, 25, 0.92));
		z-index: 2;
	}

	#bg::after {
		content: '';
		position: absolute;
		inset: 0;
		/*
			用从站点根开始的绝对路径。
			相对路径在这里会被解析成 /assets/images/... （而不是 /images/...），
			导致 404 —— 这是实测踩过的坑，不要改回相对路径。
		*/
		background-image: url("/images/bg-drivers.jpg");
		background-size: cover;
		background-position: center;
		filter: grayscale(0.3);
		z-index: 1;
	}

.lt-wrap {
	position: relative;
	z-index: 3;
	max-width: 62rem;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4rem 1.25rem;
}

/* ---------- 页头 ---------- */
.lt-header {
	margin-bottom: 2rem;
}

	.lt-back {
		display: inline-block;
		font-size: 0.8rem;
		letter-spacing: 0.1rem;
		color: #ffffff;
		opacity: 0.7;
		text-decoration: none;
		border-bottom: 0;
		margin-bottom: 1.25rem;
	}

		.lt-back:hover { opacity: 1; }

	.lt-header h1 {
		margin: 0;
		font-size: 2rem;
		font-weight: 600;
		letter-spacing: 0.35rem;
		text-transform: uppercase;
	}

	.lt-sub {
		margin: 0.5rem 0 0 0;
		font-size: 0.85rem;
		letter-spacing: 0.12rem;
		opacity: 0.65;
	}

/* ---------- 卡片 ---------- */
.lt-card {
	background: rgba(27, 31, 34, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

	.lt-card h2 {
		margin: 0 0 1rem 0;
		font-size: 1.05rem;
		font-weight: 600;
		letter-spacing: 0.18rem;
		text-transform: uppercase;
		border-bottom: 1px solid #ffffff;
		padding-bottom: 0.5rem;
		display: inline-block;
	}

/* ---------- 赛事概要 ---------- */
.lt-meet-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.lt-flag {
	width: 3rem;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.lt-meet-head h2 {
	margin: 0;
	border: 0;
	padding: 0;
	font-size: 1.35rem;
	letter-spacing: 0.06rem;
	text-transform: none;
	display: block;
}

.lt-meet-sub {
	margin: 0.2rem 0 0 0;
	font-size: 0.85rem;
	opacity: 0.7;
	letter-spacing: 0.05rem;
}

.lt-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 0.6rem 1.5rem;
	font-size: 0.85rem;
}

	.lt-facts > div {
		letter-spacing: 0.03rem;
	}

	.lt-facts b {
		display: block;
		font-size: 0.7rem;
		font-weight: 400;
		letter-spacing: 0.14rem;
		opacity: 0.6;
		text-transform: uppercase;
		margin-bottom: 0.15rem;
	}

/* ---------- 表格 ---------- */
.lt-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.lt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	letter-spacing: 0.02rem;
}

	.lt-table th {
		text-align: left;
		font-size: 0.68rem;
		font-weight: 400;
		letter-spacing: 0.12rem;
		text-transform: uppercase;
		opacity: 0.6;
		padding: 0 0.6rem 0.45rem 0.6rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.35);
		white-space: nowrap;
	}

	/*
		行距偏紧：站长要求适合手机浏览。
		（原来上下各 0.5rem，配合两行式车手名，一行约 60px，手机上翻起来很累。）
	*/
	.lt-table td {
		padding: 0.34rem 0.6rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		vertical-align: middle;
	}

	.lt-table tbody tr:hover {
		background: rgba(255, 255, 255, 0.05);
	}

	.lt-table .c-pos { width: 3.2rem; }
	.lt-table .c-num { width: 3.5rem; }
	.lt-table .c-time { width: 6.5rem; white-space: nowrap; }
	.lt-table .c-pit { width: 5.5rem; white-space: nowrap; }
	/*
		数值列统一右对齐 + 等宽数字（tabular-nums）。
		等宽数字很重要：否则 "340" 与 "97" 的数字宽度不同，
		右对齐后数位对不齐，看起来还是歪的。
	*/
	.lt-table .c-pts {
		width: 4rem;
		text-align: right;
		font-variant-numeric: tabular-nums;
	}
	.lt-table .c-team { opacity: 0.75; }

	.lt-table .c-pit i {
		font-style: normal;
		opacity: 0.55;
		font-size: 0.75rem;
	}

	.lt-row.is-out {
		opacity: 0.5;
	}

	.lt-row.is-winner {
		background: rgba(225, 6, 0, 0.14);
	}

/* 车手单元格：车队色条 + 车号 + 姓名 */
.lt-table .c-drv {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

	.lt-bar {
		display: inline-block;
		width: 3px;
		height: 1.1rem;
		border-radius: 2px;
		flex: 0 0 auto;
	}

	.lt-num {
		display: inline-block;
		min-width: 1.8rem;
		font-size: 0.72rem;
		opacity: 0.55;
		font-variant-numeric: tabular-nums;
	}

	.lt-name { font-weight: 400; }

	.lt-pos {
		font-weight: 600;
		font-variant-numeric: tabular-nums;
	}

	.lt-status {
		font-size: 0.65rem;
		letter-spacing: 0.08rem;
		padding: 0.05rem 0.4rem;
		border-radius: 3px;
		background: rgba(255, 255, 255, 0.14);
		margin-left: 0.4rem;
	}

		.lt-status.is-win {
			background: #e10600;
		}

	.lt-gap {
		font-size: 0.72rem;
		opacity: 0.55;
		margin-left: 0.4rem;
		font-variant-numeric: tabular-nums;
	}

	.lt-purple {
		color: #b26bff;
		font-weight: 600;
		font-size: 0.7rem;
	}

	.lt-hint {
		font-size: 0.75rem;
		opacity: 0.6;
		letter-spacing: 0.03rem;
		margin: 0 0 1rem 0;
	}

	/* 积分榜里"未参加最近一站"的车手 */
	.lt-table tbody tr.is-absent {
		opacity: 0.75;
	}

	.lt-absent {
		font-size: 0.62rem;
		letter-spacing: 0.06rem;
		padding: 0.05rem 0.35rem;
		border-radius: 3px;
		background: rgba(255, 255, 255, 0.12);
		margin-left: 0.4rem;
		opacity: 0.8;
		white-space: nowrap;
	}

/* ---------- 轮胎策略 ---------- */
.lt-stint-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.4rem;
	font-size: 0.78rem;
}

	.lt-stint-name {
		flex: 0 0 7rem;
		white-space: nowrap;
		display: flex;
		align-items: center;
		gap: 0.4rem;
		opacity: 0.9;
	}

	.lt-stint-track {
		position: relative;
		flex: 1 1 auto;
		height: 1.1rem;
		background: rgba(255, 255, 255, 0.06);
		border-radius: 3px;
	}

	.lt-stint {
		position: absolute;
		top: 0;
		height: 100%;
		border-radius: 3px;
		font-size: 0.68rem;
		font-weight: 600;
		color: #ffffff;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	.lt-legend {
		margin-top: 0.9rem;
		display: flex;
		gap: 1.25rem;
		font-size: 0.72rem;
		opacity: 0.75;
		flex-wrap: wrap;
	}

		.lt-legend i {
			display: inline-block;
			width: 0.8rem;
			height: 0.8rem;
			border-radius: 2px;
			margin-right: 0.35rem;
			vertical-align: middle;
		}

/* ---------- 比赛数据（统计/天气/超车）---------- */
.lt-sub3 {
	margin: 1.5rem 0 0.6rem 0;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.14rem;
	text-transform: uppercase;
	opacity: 0.6;
}

.lt-ov {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	font-size: 0.82rem;
}

	.lt-ov-item {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		white-space: nowrap;
	}

		.lt-ov-item b {
			color: #ff5a4d;
			font-weight: 600;
		}

/* ---------- 赛段事件 ---------- */
.lt-table-events .c-lap { width: 3.5rem; }
.lt-table-events .c-evt { width: 9rem; white-space: nowrap; opacity: 0.8; }
.lt-table-events .c-msg { font-size: 0.78rem; }

	.lt-evt.is-sc td { background: rgba(255, 204, 0, 0.12); }
	.lt-evt.is-red td { background: rgba(225, 6, 0, 0.18); }

/* ---------- 站内功能入口卡片（如遥测回放）---------- */
.lt-entry-card {
	padding: 0;
	overflow: hidden;
}

.lt-entry-link {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.1rem 1.5rem;
	color: #ffffff;
	text-decoration: none;
	border-bottom: 0;
	transition: background-color 0.18s ease;
}

	.lt-entry-link:hover {
		background: rgba(255, 255, 255, 0.07);
	}

	.lt-entry-link > span:nth-child(2) {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
	}

	.lt-entry-link b {
		font-size: 0.95rem;
		font-weight: 600;
		letter-spacing: 0.08rem;
	}

	.lt-entry-link em {
		font-style: normal;
		font-size: 0.75rem;
		opacity: 0.6;
		letter-spacing: 0.02rem;
	}

	.lt-entry-arrow {
		font-size: 1.1rem;
		opacity: 0.5;
		transition: transform 0.18s ease, opacity 0.18s ease;
	}

		.lt-entry-link:hover .lt-entry-arrow {
			transform: translateX(3px);
			opacity: 1;
		}

/* 复用首页的小红点（"实时数据"提示） */
.lt-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #e10600;
	flex: 0 0 auto;
}

/* ---------- 积分榜页面 ---------- */

/* 赛季进度条 */
.st-progress {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.04rem;
	opacity: 0.85;
}

	.st-progress-bar {
		flex: 1 1 auto;
		height: 0.4rem;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 3px;
		overflow: hidden;
		max-width: 26rem;
	}

		.st-progress-bar > i {
			display: block;
			height: 100%;
			width: 0;
			background: linear-gradient(to right, #e10600, #ff6a5f);
			border-radius: 3px;
			transition: width 0.4s ease;
		}

/*
	车手头像。
	URL 里已用 CDN 做了两步处理（见抓取脚本）：
	  ① c_fill,g_face        —— 人脸识别裁剪，框住头部
	  ② e_background_removal —— 去掉官方棚拍灰底，人像背景透明

	所以这里：纯车队色做底 + 人像居中铺上去，就是"纯背景 + 人像"的效果。
	注意去背景后是**透明底**，必须给底色，否则会看到页面背景、显得脏。
	加载失败时显示车队色块 + 姓氏首字（同一套底色，视觉不跳）。
*/
.st-avatar {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 100%;
	overflow: hidden;
	flex: 0 0 auto;
	/* 纯车队色背景 —— 这就是"纯背景" */
	background: var(--c, rgba(255, 255, 255, 0.12));
}

	.st-avatar img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		/*
			铺满圆形并偏上取景：人脸由 CDN 的 g_face 定位在画面上部，
			这里取 50% 20% 让头肩填满圆，剩下的空白自然透出纯色背景 ——
			这样"纯背景"是**车队色**，而不是官方棚拍的灰底。
			（曾用 object-fit: contain，结果人像缩在中间、四周留大片空，
			  纯色背景反而成了主角。）
		*/
		object-fit: cover;
		object-position: 50% 20%;
		opacity: 0;
		transition: opacity 0.25s ease;
	}

		.st-avatar img.is-loaded {
			opacity: 1;
		}

	/* 占位：姓氏首字（图片未加载或失败时可见） */
	.st-av-fb {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.05rem;
		font-weight: 600;
		color: #ffffff;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	}

/*
	车队标识。
	官方 logo 是白色单色图形 + 透明背景（logowhite），
	必须放深色底才可见 —— 用浅色车队色（如哈斯 #9C9FA2）做底会让白 logo 消失。
	所以：深色底 + 车队色描边作为识别色。
	图片加载成功后隐藏占位色块，让 logo 直接落在深底上。
*/
.st-logo {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: #1b1f22;
	border-radius: 6px;
	box-shadow: 0 0 0 2px var(--c, rgba(255, 255, 255, 0.2)) inset;
}

	.st-logo img {
		position: relative;
		width: 78%;
		height: 78%;
		object-fit: contain;
		opacity: 0;
		transition: opacity 0.25s ease;
	}

		.st-logo img.is-loaded {
			opacity: 1;
		}

	/* 图片未加载时显示的车队色块（加载后由 .has-img 隐藏） */
	.st-logo-fb {
		position: absolute;
		inset: 3px;
		border-radius: 4px;
		opacity: 0.85;
		transition: opacity 0.25s ease;
	}

	.st-logo.has-img .st-logo-fb {
		opacity: 0;
	}

/* 车手单元格：头像 + 中英文名 */
.st-table .c-drv {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 13rem;
}

.st-drv-main {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.3;
	min-width: 0;
}

	.st-drv-main b {
		font-weight: 600;
		font-size: 0.92rem;
		letter-spacing: 0.02rem;
	}

		/* 车手名可点击进详情页，做成低调的链接样式（不破坏表格观感） */
		.st-drv-main b a,
		.st-av-link {
			color: #ffffff;
			text-decoration: none;
			border-bottom: 0;
		}

		.st-drv-main b a:hover {
			color: #ff6a5f;
			border-bottom: 1px solid currentColor;
		}

		/* 头像链接：鼠标悬停时描边变亮，提示可点 */
		.st-av-link {
			display: inline-flex;
			border-radius: 100%;
			transition: box-shadow 0.18s ease;
		}

			.st-av-link:hover {
				box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
			}

	.st-drv-main em {
		font-style: normal;
		font-size: 0.68rem;
		opacity: 0.45;
		letter-spacing: 0.03rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

/* 国籍列 */
.st-table .c-nat {
	width: 6rem;
	opacity: 0.6;
	font-size: 0.74rem;
	letter-spacing: 0.04rem;
}

/*
	车队单元格：标识 + 名称。
	注意：这里给 <td> 设了 display:flex，会让该单元格脱离表格布局、独占一行，
	导致"车手名/车队/积分"被拆成上下两行（踩过这个坑）。
	解法是让内层用一个 <span> 承载 flex，<td> 保持表格单元格。
*/
.st-table .c-team {
	white-space: nowrap;
	min-width: 11rem;
}

	.c-team > .st-team-cell {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
	}

.st-team-name {
	opacity: 0.85;
	font-size: 0.85rem;
}

/* 车队榜的车队单元格（同样保持 <td> 的表格行为） */
.st-table .c-team2 {
	white-space: nowrap;
	min-width: 14rem;
}

	.c-team2 > .st-team-cell {
		display: inline-flex;
		align-items: center;
		gap: 0.7rem;
	}

.st-team-main {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.25;
}

	.st-team-main b {
		font-weight: 600;
		font-size: 0.9rem;
		letter-spacing: 0.02rem;
	}

	.st-team-main em {
		font-style: normal;
		font-size: 0.64rem;
		opacity: 0.4;
		letter-spacing: 0.04rem;
	}

/* 分站冠军列 */
.st-table .c-wins {
	width: 5.5rem;
	text-align: center;
	opacity: 0.8;
	font-variant-numeric: tabular-nums;
}

/* 页内跳转 */
.st-jump {
	display: flex;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

	.st-jump a {
		display: inline-block;
		padding: 0.45rem 1rem;
		border: 1px solid rgba(255, 255, 255, 0.3);
		border-radius: 4px;
		color: #ffffff;
		text-decoration: none;
		font-size: 0.78rem;
		letter-spacing: 0.08rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.3);
		transition: background-color 0.18s ease;
	}

		.st-jump a:hover {
			background: rgba(255, 255, 255, 0.12);
		}

/* 名次徽章：前 3 名用金银铜观感 */
.lt-pos.st-p1,
.lt-pos.st-p2,
.lt-pos.st-p3 {
	display: inline-block;
	min-width: 1.5rem;
	text-align: center;
	border-radius: 3px;
	padding: 0.05rem 0.3rem;
	color: #1b1f22;
	font-weight: 600;
}

	.lt-pos.st-p1 { background: #ffd12e; }
	.lt-pos.st-p2 { background: #d8d8d8; }
	.lt-pos.st-p3 { background: #d08b5b; }

/* 积分占比条 */
.st-table .c-bar {
	width: 9rem;
	padding-right: 0.8rem;
}

	.st-bar-track {
		display: block;
		height: 0.5rem;
		background: rgba(255, 255, 255, 0.08);
		border-radius: 3px;
		overflow: hidden;
	}

		.st-bar-track > i {
			display: block;
			height: 100%;
			border-radius: 3px;
		}

/*
	积分列要放宽并禁换行。默认 .c-pts 只有 4rem，
	内容稍长就会折行，看起来像两行数据。
*/
.st-table .c-pts {
	width: auto;
	min-width: 5rem;
	white-space: nowrap;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

/* ---------- 车手详情页 ---------- */

.dp-profile {
	padding: 1.6rem 1.6rem 1.2rem;
}

/* 资料卡顶部：大头像 + 姓名 + 车队 + 名次 */
.dp-hero {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	flex-wrap: wrap;
}

	.dp-avatar {
		width: 120px;
		height: 120px;
		box-shadow: 0 0 0 3px var(--c, rgba(255, 255, 255, 0.25)) inset;
	}

	.dp-hero-info {
		flex: 1 1 auto;
		min-width: 12rem;
	}

	.dp-hero-name {
		font-size: 1.65rem;
		font-weight: 600;
		letter-spacing: 0.04rem;
		line-height: 1.25;
	}

		.dp-hero-en {
			display: block;
			font-size: 0.85rem;
			font-weight: 400;
			opacity: 0.5;
			letter-spacing: 0.06rem;
			margin-top: 0.15rem;
		}

	.dp-hero-team {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		margin-top: 0.9rem;
		font-size: 0.92rem;
	}

	.dp-hero-nat {
		opacity: 0.5;
		font-size: 0.72rem;
		letter-spacing: 0.08rem;
		padding: 0.1rem 0.4rem;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 3px;
	}

	/* 右侧大名次 */
	.dp-hero-pos {
		text-align: center;
		padding-left: 1.2rem;
		border-left: 1px solid rgba(255, 255, 255, 0.12);
	}

		.dp-hero-pos > b {
			display: block;
			font-size: 2.6rem;
			font-weight: 600;
			line-height: 1;
			font-variant-numeric: tabular-nums;
		}

		.dp-hero-pos > small {
			display: block;
			font-size: 0.68rem;
			opacity: 0.5;
			letter-spacing: 0.1rem;
			margin-top: 0.35rem;
		}

/* 统计格 */
.dp-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 0.5rem;
	margin-top: 1.4rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

	.dp-stat {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.2rem;
		padding: 0.5rem 0.3rem;
		background: rgba(255, 255, 255, 0.03);
		border-radius: 5px;
	}

		.dp-stat > b {
			font-size: 1.3rem;
			font-weight: 600;
			font-variant-numeric: tabular-nums;
			line-height: 1.1;
		}

		.dp-stat > small {
			font-size: 0.68rem;
			opacity: 0.6;
			letter-spacing: 0.06rem;
		}

		.dp-stat > em {
			font-style: normal;
			font-size: 0.66rem;
			opacity: 0.45;
		}

/* 逐站成绩表 */
.st-table .c-gp {
	min-width: 9rem;
	font-size: 0.86rem;
}

.st-table .c-date {
	width: 6rem;
	opacity: 0.6;
	font-size: 0.76rem;
	letter-spacing: 0.04rem;
}

.st-table .c-rpos {
	width: 5rem;
	text-align: center;
}

/* 本站积分：细条 + 数值并排，一眼看出哪几站得分多 */
.st-table .c-rpts {
	width: 11rem;
	white-space: nowrap;
}

	.dp-ptbar {
		display: inline-block;
		vertical-align: middle;
		width: 5rem;
		height: 0.45rem;
		background: rgba(255, 255, 255, 0.07);
		border-radius: 3px;
		overflow: hidden;
		margin-right: 0.55rem;
	}

		.dp-ptbar > i {
			display: block;
			height: 100%;
			border-radius: 3px;
		}

	.dp-ptval {
		display: inline-block;
		vertical-align: middle;
		min-width: 2rem;
		font-variant-numeric: tabular-nums;
		font-weight: 600;
	}

.st-table .c-cum {
	width: 5rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}

/* 名次样式：积分区 / 无积分 / 退赛 */
.dp-pts-finish {
	display: inline-block;
	min-width: 1.6rem;
	text-align: center;
	padding: 0.05rem 0.35rem;
	border-radius: 3px;
	background: rgba(110, 231, 168, 0.16);
	color: #6ee7a8;
	font-weight: 600;
}

.dp-nopts {
	display: inline-block;
	min-width: 1.6rem;
	text-align: center;
	padding: 0.05rem 0.35rem;
	opacity: 0.65;
}

.dp-dnf {
	display: inline-block;
	min-width: 1.6rem;
	text-align: center;
	padding: 0.05rem 0.35rem;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.72rem;
	letter-spacing: 0.04rem;
}

/* 退赛行整体压暗一点 */
.st-table tbody tr.is-dnf {
	opacity: 0.72;
}

.dp-warn {
	color: #ffcf6a;
	font-size: 0.76rem;
}

/* ---------- 车队详情页 ---------- */

/* 队内车手列表：整卡可点，进入该车手详情 */
.tp-drivers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

	.tp-driver {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		flex: 1 1 16rem;
		padding: 0.75rem 0.9rem;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 6px;
		background: rgba(255, 255, 255, 0.035);
		color: #ffffff;
		text-decoration: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		transition: background-color 0.18s ease, border-color 0.18s ease;
	}

		.tp-driver:hover {
			background: rgba(255, 255, 255, 0.09);
			border-color: rgba(255, 255, 255, 0.3);
		}

	.tp-driver-main {
		display: flex;
		flex-direction: column;
		line-height: 1.3;
		flex: 1 1 auto;
		min-width: 0;
	}

		.tp-driver-main b {
			font-size: 0.95rem;
			font-weight: 600;
		}

		.tp-driver-main em {
			font-style: normal;
			font-size: 0.68rem;
			opacity: 0.45;
		}

		.tp-driver-meta {
			font-size: 0.7rem;
			opacity: 0.65;
			margin-top: 0.15rem;
			letter-spacing: 0.02rem;
		}

	.tp-driver-go {
		opacity: 0.4;
		font-size: 1rem;
		transition: transform 0.18s ease, opacity 0.18s ease;
	}

		.tp-driver:hover .tp-driver-go {
			transform: translateX(3px);
			opacity: 1;
		}

/* 逐站表里的车手列：名次 + 该站得分 */
.st-table .c-d1,
.st-table .c-d2 {
	width: 7.5rem;
	text-align: center;
	white-space: nowrap;
}

	.c-dcell {
		text-align: center;
		white-space: nowrap;
	}

		.c-dcell .tp-cell-pts {
			display: inline-block;
			margin-left: 0.4rem;
			min-width: 1.6rem;
			opacity: 0.7;
			font-variant-numeric: tabular-nums;
			font-size: 0.78rem;
		}

		/* 该站未出场：整格压暗 */
		.c-dcell.is-absent {
			opacity: 0.35;
		}

/* 车队 logo 可点击 */
.st-logo-link {
	display: inline-flex;
	border-radius: 6px;
	transition: box-shadow 0.18s ease;
}

	.st-logo-link:hover {
		box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
	}

/* 车队名可点击 */
.st-team-main b a {
	color: #ffffff;
	text-decoration: none;
	border-bottom: 0;
}

	.st-team-main b a:hover {
		color: #ff6a5f;
		border-bottom: 1px solid currentColor;
	}

/* ---------- 状态与页脚 ---------- */
.lt-loading, .lt-error {
	padding: 1.5rem 0;
	text-align: center;
	opacity: 0.7;
	font-size: 0.9rem;
	letter-spacing: 0.05rem;
}

.lt-error { color: #ff9a90; }

.lt-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.75rem;
	opacity: 0.6;
	letter-spacing: 0.03rem;
}

	.lt-footer a { color: #ffffff; }

	.lt-disclaimer {
		margin-top: 0.75rem;
		font-size: 0.7rem;
		opacity: 0.8;
	}

	.lt-stale { color: #ffcc66; }

/* ---------- 手机 ---------- */
@media screen and (max-width: 640px) {

	.lt-wrap { padding: 1.5rem 0.75rem 3rem 0.75rem; }

	.lt-header h1 { font-size: 1.4rem; letter-spacing: 0.2rem; }

	.lt-card { padding: 1rem; }

	.lt-table { font-size: 0.78rem; }

		/* 手机上进一步压紧行距，减少滚动次数 */
		.lt-table th, .lt-table td { padding: 0.3rem 0.3rem; }

		/* 窄屏优先保留名次/车手/国籍/积分，车队与车号收起 */
		.lt-table .c-num { display: none; }

		.lt-table .c-pos { width: 2.2rem; }
		.lt-table .c-time { width: auto; }
		.lt-table .c-pit { width: 4rem; }
		.lt-table .c-pts { width: 3.2rem; }

		.lt-num { min-width: 1.4rem; }

	.lt-meet-head h2 { font-size: 1.1rem; }

	/*
		积分榜在手机上的专属收紧。
		目标：一行尽量矮、横向不溢出，但**中文队名必须保留**
		（曾为了省空间把队名一起藏了、只留 logo 圆点 —— 那样看不出是哪支车队，
		  被站长指出"车队的中文名字没了"，这里改回来）。

		  · 车手头像缩到 34px
		  · 车队：18px 的车队色 logo + 中文简称；**只隐藏英文名**
		  · "积分占比"条在手机上收掉（数值本身已表达大小）
		  · 名次徽章与积分列收紧，减少左右留白
	*/
	.st-table .c-drv {
		min-width: 0;
		gap: 0.45rem;
	}

	.st-table .st-avatar { width: 34px; height: 34px; }

	.st-table .c-team,
	.st-table .c-team2 { min-width: 0; }

		/* 只藏英文名，中文名留着 */
		.st-table .c-team2 .st-team-main em { display: none; }

		.st-table .c-team .st-logo,
		.st-table .c-team2 .st-logo { width: 18px !important; height: 18px !important; }

	/* 手机上队名字号收一点，"阿斯顿马丁"这类长名也放得下 */
	.st-table .c-team .st-team-name,
	.st-table .c-team2 .st-team-main b {
		font-size: 0.72rem;
		letter-spacing: 0;
	}

	.st-table .c-team .st-team-cell,
	.st-table .c-team2 .st-team-cell { gap: 0.3rem; }

	/* 车队榜的"积分占比"条在窄屏收掉 */
	.st-table .c-bar { display: none; }

	/* 名次徽章收紧，省出左右留白 */
	.st-table .c-pos { width: 1.9rem; }
	.st-table .lt-pos { min-width: 1.25rem; padding: 0.02rem 0.2rem; font-size: 0.72rem; }

	.st-table .c-nat { width: 2.3rem; font-size: 0.64rem; letter-spacing: 0; }

	.st-table .c-pts { min-width: 2.8rem; font-size: 0.82rem; }

	/*
		车队榜的列宽处理。
		问题：表格是 auto 布局，隐藏占比条后浏览器把**剩余空间全给了没有设定宽度的"车队"列**，
		右侧一大片空白，看着没对齐。
		解法：让**积分列吃掉剩余宽度**（width:100%）—— 它本来就右对齐，
		于是数值稳定贴右边缘、与车手榜的积分列对齐，其余列自动收缩到内容宽度。
	*/
	#st-teams-table .c-pts { width: 100%; }

	/* 行更矮一点：手机上翻榜不累 */
	.st-table td { padding-top: 0.26rem; padding-bottom: 0.26rem; }

	.st-table .c-drv .st-drv-main b { font-size: 0.86rem; }

	.st-table .c-drv .st-drv-main em { font-size: 0.62rem; }

}
