/* PCGH 科技感简约 UI 覆盖层 —— 游戏详情页 + 用户中心，颜色跟随主题变量 */

/* ========== 通用：卡片质感 ========== */
body.single .pcgh-card,
body.single .pcgh-panel,
body.single .pcgh-module,
body.single .pcgh-section-card,
body.single .pcgh-download-box,
body.single .pcgh-download-card,
body.single .pcgh-side-card,
.pcgh-uc .pcgh-uc-card,
.pcgh-uc .pcgh-content-card,
.pcgh-uc .pcgh-uc-dashboard-panel {
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 14%, transparent);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
body.single .pcgh-card:hover,
.pcgh-uc .pcgh-uc-card:hover {
	box-shadow: 0 8px 28px color-mix(in srgb, var(--pcgh-primary) 14%, transparent);
	border-color: color-mix(in srgb, var(--pcgh-primary) 26%, transparent);
}

/* ========== 区块标题：发光指示条 ========== */
body.single .pcgh-card-section__head,
.pcgh-uc .pcgh-uc-card__head,
.pcgh-uc .pcgh-uc-dashboard-panel__head {
	position: relative;
	padding-bottom: 10px;
	border-bottom: 1px solid color-mix(in srgb, var(--pcgh-primary) 12%, #eef2f7);
}
body.single .pcgh-card-section__head::before,
.pcgh-uc .pcgh-uc-card__head::before,
.pcgh-uc .pcgh-uc-dashboard-panel__title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--pcgh-primary), color-mix(in srgb, var(--pcgh-primary) 40%, #2563eb));
	box-shadow: 0 0 8px color-mix(in srgb, var(--pcgh-primary) 60%, transparent);
}

/* ========== 游戏详情 Hero ========== */
body.single .pcgh-ghero {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 16%, transparent);
}
body.single .pcgh-ghero__inner {
	background: linear-gradient(135deg, color-mix(in srgb, var(--pcgh-primary) 10%, transparent), transparent 55%);
}
body.single .pcgh-ghero__title {
	letter-spacing: .3px;
}
body.single .pcgh-ghero__score {
	text-shadow: 0 0 14px color-mix(in srgb, var(--pcgh-primary) 55%, transparent);
}

/* ========== 主按钮：主题渐变 ========== */
body.single .pcgh-steam__btn--primary,
body.single .pcgh-steam__btn--download,
body.single .pcgh-btn--primary,
.pcgh-uc .pcgh-btn--primary {
	background: linear-gradient(135deg, var(--pcgh-primary), color-mix(in srgb, var(--pcgh-primary) 55%, #1d4ed8)) !important;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--pcgh-primary) 35%, transparent);
	transition: transform .15s ease, box-shadow .15s ease;
}
body.single .pcgh-steam__btn--primary:hover,
body.single .pcgh-steam__btn--download:hover,
body.single .pcgh-btn--primary:hover,
.pcgh-uc .pcgh-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--pcgh-primary) 45%, transparent);
}

/* ========== Steam 信息格 / 配置表：去噪行式 ========== */
body.single .pcgh-steam__cell,
body.single .pcgh-sysreq__item {
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 10%, #eef2f7);
	border-radius: 10px;
	background: color-mix(in srgb, var(--pcgh-primary) 3%, #fff);
}
body.single .pcgh-sysreq__label {
	color: var(--pcgh-text-3, #94a3b8);
	font-size: 12px;
}
body.single .pcgh-sysreq__value {
	color: var(--pcgh-text, #1f2937);
}

/* ========== 下载区：科技边框 ========== */
body.single .pcgh-download-box,
body.single .pcgh-gdl-v2__grid {
	position: relative;
	border-top: 2px solid color-mix(in srgb, var(--pcgh-primary) 55%, transparent);
	background: linear-gradient(180deg, color-mix(in srgb, var(--pcgh-primary) 4%, #fff), #fff 120px);
}

/* ========== 用户中心：左侧菜单 ========== */
.pcgh-uc .pcgh-uc__menu {
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 12%, #eef2f7);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.pcgh-uc .pcgh-uc-menu-item {
	position: relative;
	margin: 2px 8px;
	border-radius: 10px;
	transition: background .15s ease, color .15s ease;
}
.pcgh-uc .pcgh-uc-menu-item:hover {
	background: color-mix(in srgb, var(--pcgh-primary) 8%, transparent);
}
.pcgh-uc .pcgh-uc-menu-item.is-active {
	background: linear-gradient(90deg, color-mix(in srgb, var(--pcgh-primary) 16%, transparent), color-mix(in srgb, var(--pcgh-primary) 5%, transparent));
	color: var(--pcgh-primary);
	font-weight: 600;
}
.pcgh-uc .pcgh-uc-menu-item.is-active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 3px;
	border-radius: 3px;
	background: var(--pcgh-primary);
	box-shadow: 0 0 8px color-mix(in srgb, var(--pcgh-primary) 70%, transparent);
}

/* ========== 用户中心：Hero 遮罩与头像环 ========== */
.pcgh-uc .pcgh-uc-hero {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 16%, transparent);
}
.pcgh-uc .pcgh-uc-hero__overlay {
	background: linear-gradient(120deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .28) 55%, color-mix(in srgb, var(--pcgh-primary) 35%, transparent));
}
.pcgh-uc .pcgh-uc-hero__avatar,
.pcgh-uc .pcgh-uc-hero__avatar-link img {
	border: 2px solid color-mix(in srgb, var(--pcgh-primary) 75%, #fff);
	border-radius: 50%;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--pcgh-primary) 22%, transparent), 0 0 18px color-mix(in srgb, var(--pcgh-primary) 45%, transparent);
}

/* ========== 用户中心：账户数据卡 ========== */
.pcgh-uc .pcgh-uc-card strong,
.pcgh-uc .pcgh-uc-dashboard-panel strong {
	background: linear-gradient(135deg, var(--pcgh-primary), color-mix(in srgb, var(--pcgh-primary) 45%, #1d4ed8));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: .5px;
}
.pcgh-uc .pcgh-uc-coin {
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--pcgh-primary) 40%, transparent));
}

/* ========== 签到打卡卡：收敛原大渐变 ========== */
.pcgh-uc [class*="signin"],
.pcgh-uc .pcgh-uc-cal-ico {
	border-radius: 12px;
}

/* ========== 评论区 ========== */
body.single .pcgh-cmt__inner {
	border: 1px solid color-mix(in srgb, var(--pcgh-primary) 10%, #eef2f7);
	border-radius: 12px;
	background: color-mix(in srgb, var(--pcgh-primary) 2%, #fff);
}

/* ========== 移动端不加载干扰（UC 移动版保持原样） ========== */
@media (max-width: 768px) {
	body.single .pcgh-card:hover,
	.pcgh-uc .pcgh-uc-card:hover {
		box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	}
}
