/* 「帮我选游戏」盲盒页 —— Steam / CS2 开箱风格：横向滚轴 + 分类色条
 * 配色跟随主题 --pcgh-* 变量（日/夜自动切换），色条按游戏分类着色，滚轴封面全显 */
.pcgh-bb [hidden] { display: none !important; }
.pcgh-bb *, .pcgh-bb *:before, .pcgh-bb *:after { box-sizing: border-box; }
.pcgh-bb {
	/* Steam 基础变量 */
	--bb-bg: var(--pcgh-bg); --bb-panel: var(--pcgh-surface); --bb-text: var(--pcgh-text); --bb-muted: var(--pcgh-text-2);
	--bb-line: var(--pcgh-border); --bb-blue: var(--pcgh-primary); --bb-blue-deep: var(--pcgh-primary-2);
	/* 页面顶部舞台（背景跟随主题） */
	--bb-hero-grad: radial-gradient(circle at 16% 12%, rgba(var(--pcgh-primary-rgb, 59, 130, 246), .12), transparent 32%),
		radial-gradient(circle at 84% 28%, rgba(var(--pcgh-primary-rgb, 59, 130, 246), .07), transparent 30%);
	--bb-onhero-text: var(--pcgh-text); --bb-onhero-text-2: var(--pcgh-text-2); --bb-onhero-muted: var(--pcgh-text-3); --bb-onhero-accent: var(--pcgh-primary);
	--bb-chip-border: var(--pcgh-border); --bb-chip-bg: var(--pcgh-surface); --bb-chip-text: var(--pcgh-text-2);
	--bb-chip2-bg: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .16); --bb-chip2-text: var(--pcgh-primary);
	--bb-glass-border: var(--pcgh-border); --bb-glass-bg: var(--pcgh-surface); --bb-glass-inset: rgba(255, 255, 255, .04); --bb-glass-line: var(--pcgh-border);
	--bb-field-text: var(--pcgh-text); --bb-field-muted: var(--pcgh-text-3);
	--bb-select-border: var(--pcgh-border); --bb-select-bg: var(--pcgh-surface-2); --bb-select-text: var(--pcgh-text);
	--bb-switch-border: var(--pcgh-border); --bb-switch-bg: var(--pcgh-surface-2);
	--bb-pool-text: var(--pcgh-text-3); --bb-pool-dot: var(--pcgh-text-3);
	/* 开箱面板（跟随主题表面色） */
	--bb-panel-grad: linear-gradient(180deg, var(--pcgh-surface) 0%, var(--pcgh-surface-2) 100%);
	--bb-panel-line: var(--pcgh-border);
	--bb-head-grad: linear-gradient(90deg, var(--pcgh-surface-2) 0%, var(--pcgh-surface) 100%);
	--bb-head-line: var(--pcgh-border); --bb-head-text: var(--pcgh-text-2); --bb-head-title: var(--pcgh-text); --bb-head-accent: var(--pcgh-primary);
	--bb-reel-bg: var(--bb-detail-bg);
	--bb-reel-line: var(--pcgh-border);
	--bb-item-bg: transparent;
	--bb-item-line: var(--pcgh-border); --bb-item-text: #ffffff;
	--bb-marker: var(--pcgh-primary); --bb-marker-glow: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .55);
	--bb-fade-l: linear-gradient(90deg, var(--pcgh-surface) 0%, transparent 100%);
	--bb-fade-r: linear-gradient(270deg, var(--pcgh-surface) 0%, transparent 100%);
	--bb-spot-line: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .5); --bb-spot-bg: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .05);
	--bb-hint-text: var(--pcgh-text); --bb-hint-sub: var(--pcgh-text-3);
	--bb-detail-bg: var(--pcgh-surface);
	--bb-detail-line: var(--pcgh-border);
	--bb-kicker: var(--pcgh-primary); --bb-detail-h2: var(--pcgh-text); --bb-detail-p: var(--pcgh-text-3);
	--bb-tag-border: var(--pcgh-border); --bb-tag-bg: var(--pcgh-surface-2); --bb-tag-text: var(--pcgh-text-2);
	--bb-cover-bg: transparent;
	--bb-cover-line: var(--pcgh-border);
	--bb-verdict-bg: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .14); --bb-verdict-text: var(--pcgh-primary);
	--bb-meta-text: var(--pcgh-text-3); --bb-meta-dot: var(--pcgh-text-3);
	--bb-desc: var(--pcgh-text-2);
	--bb-btn2-border: var(--pcgh-border); --bb-btn2-bg: var(--pcgh-surface-2); --bb-btn2-text: var(--pcgh-text-2);
	--bb-btn2-hover-border: var(--pcgh-primary); --bb-btn2-hover-bg: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .1); --bb-btn2-hover-text: var(--pcgh-text);
	--bb-his-item-bg: var(--pcgh-surface-2); --bb-his-item-hover: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .08);
	/* 主按钮（跟随主题主色） */
	--bb-green: var(--pcgh-primary);
	--bb-green-hover: var(--pcgh-primary-2);
	--bb-green-text: rgba(255, 255, 255, .78);
	/* 统一色调：色条 / 光晕全部主题主色 */
	--bb-r: var(--pcgh-primary);
	/* 科普区（跟随主题） */
	--bb-fatigue-grad: linear-gradient(145deg, var(--pcgh-surface-2), var(--pcgh-bg)); --bb-fatigue-text: var(--pcgh-text); --bb-fatigue-text-2: var(--pcgh-text-2);
	--bb-fatigue-accent: var(--pcgh-primary); --bb-fatigue-line: var(--pcgh-border);
	--bb-sign-border: var(--pcgh-border); --bb-sign-bg: var(--pcgh-surface); --bb-sign-text: var(--pcgh-text-2);
	--bb-rule-bg: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .08); --bb-rule-accent: var(--pcgh-primary); --bb-rule-text: var(--pcgh-text-2);
	--bb-list-line: var(--pcgh-border); --bb-num: var(--pcgh-primary); --bb-li-strong: var(--pcgh-text); --bb-li-span: var(--pcgh-text-2);
	--bb-note-text: var(--pcgh-text-3); --bb-note-icon: var(--pcgh-primary);
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(circle at 82% 8%, rgba(var(--pcgh-primary-rgb, 59, 130, 246), .07), transparent 26%), var(--bb-bg);
	color: var(--bb-text);
	font-family: "Motiva Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.pcgh-bb a { color: inherit; text-decoration: none; }
.pcgh-bb button { font-family: inherit; }
.pcgh-bb svg { display: inline-block; vertical-align: middle; }

/* ---------- 页面舞台 ---------- */
.pcgh-bb .blindbox-page { position: relative; overflow: hidden; }
.pcgh-bb .blindbox-page:before {
	position: absolute; content: ""; z-index: -1; top: 0; right: 0; width: 100%; height: 690px;
	background: var(--bb-hero-grad);
}
.pcgh-bb .blindbox-stage {
	width: 1240px; max-width: calc(100% - 40px); min-height: 620px; margin: 0 auto; padding: 64px 0 54px;
	display: grid; grid-template-columns: minmax(360px, .8fr) minmax(560px, 1.2fr); gap: 54px; align-items: center;
}

/* ---------- 左侧介绍（Steam 商店头部风） ---------- */
.pcgh-bb .picker-intro { max-width: 470px; min-width: 0; color: var(--bb-onhero-text); }
.pcgh-bb .system-status {
	display: inline-flex; align-items: center; width: auto; margin: 0 0 18px; padding: 6px 9px;
	border: 1px solid var(--bb-chip-border); border-radius: 2px; background: var(--bb-chip-bg);
	color: var(--bb-chip-text); font-size: 11px; font-weight: 400; line-height: 18px; letter-spacing: .02em;
}
.pcgh-bb .system-status > i { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--pcgh-primary); box-shadow: 0 0 0 3px rgba(var(--pcgh-primary-rgb, 59, 130, 246), .16); }
.pcgh-bb .system-status > b { margin-left: 9px; padding: 0 6px; border: 0; border-radius: 2px; background: var(--bb-chip2-bg); color: var(--bb-chip2-text); font-weight: 600; }
.pcgh-bb .picker-kicker { display: block; margin: 0 0 10px; color: var(--bb-onhero-accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pcgh-bb .picker-intro h1 { margin: 0; color: var(--bb-onhero-text); font-size: 50px; font-weight: 300; line-height: 1.14; letter-spacing: -.01em; }
.pcgh-bb .picker-copy { margin: 14px 0 0; color: var(--bb-onhero-text-2); font-size: 17px; font-weight: 300; line-height: 1.7; }
.pcgh-bb .picker-note { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: var(--bb-onhero-muted); font-size: 12px; line-height: 20px; }
.pcgh-bb .picker-note svg { color: var(--pcgh-primary); fill: var(--pcgh-primary); }
.pcgh-bb .picker-controls {
	margin-top: 26px; padding: 0 15px; border: 1px solid var(--bb-glass-border); border-radius: 3px;
	background: var(--bb-glass-bg); box-shadow: inset 0 1px 0 var(--bb-glass-inset);
}
.pcgh-bb .control-field, .pcgh-bb .switch-control { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.pcgh-bb .control-field { border-bottom: 1px solid var(--bb-glass-line); }
.pcgh-bb .control-field > span, .pcgh-bb .switch-control strong { color: var(--bb-field-text); font-size: 13px; font-weight: 400; letter-spacing: .02em; }
.pcgh-bb .switch-control small { display: block; margin-top: 3px; color: var(--bb-field-muted); font-size: 11px; line-height: 18px; }
.pcgh-bb .control-field select {
	width: 190px; height: 34px; padding: 0 10px; border: 1px solid var(--bb-select-border); border-radius: 2px;
	background: var(--bb-select-bg); color: var(--bb-select-text); font-size: 12px; font-family: inherit; outline: 0; cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.pcgh-bb .control-field select:hover { border-color: var(--bb-marker); }
.pcgh-bb .control-field select:focus { border-color: var(--bb-marker); box-shadow: 0 0 0 2px rgba(102, 192, 244, .2); }
.pcgh-bb .switch-control { position: relative; cursor: pointer; }
.pcgh-bb .switch-control input { position: absolute; opacity: 0; pointer-events: none; }
.pcgh-bb .switch-control > i { position: relative; width: 40px; height: 20px; flex: 0 0 40px; margin-left: 20px; border: 1px solid var(--bb-switch-border); border-radius: 2px; background: var(--bb-switch-bg); transition: background-color .2s, border-color .2s; }
.pcgh-bb .switch-control > i:after { position: absolute; content: ""; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 1px; background: #8f98a0; transition: transform .2s, background-color .2s; }
.pcgh-bb .switch-control input:checked + i { border-color: var(--pcgh-primary); background: rgba(var(--pcgh-primary-rgb, 59, 130, 246), .22); }
.pcgh-bb .switch-control input:checked + i:after { background: var(--pcgh-primary); transform: translateX(20px); }
.pcgh-bb .switch-control input:disabled + i { cursor: not-allowed; opacity: .45; }
.pcgh-bb .picker-actions { display: block; margin-top: 22px; }
/* 主按钮（跟随主题主色） */
.pcgh-bb .draw-button {
	position: relative; display: flex; align-items: center; width: 100%; height: 58px; padding: 0 16px;
	border: 0; border-radius: 2px; background: var(--bb-green);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .08));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .18), 0 10px 26px -16px rgba(var(--pcgh-primary-rgb, 59, 130, 246), .5); color: #ffffff; text-align: left; cursor: pointer;
	transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.pcgh-bb .draw-button > svg { display: grid; width: 34px; height: 34px; flex: 0 0 34px; margin-right: 12px; place-items: center; border-radius: 2px; background: rgba(0, 0, 0, .18); padding: 8px; color: #ffffff; }
.pcgh-bb .draw-button-copy { display: block; min-width: 0; }
.pcgh-bb .draw-button-copy strong { display: block; color: #ffffff; font-size: 16px; font-weight: 500; line-height: 21px; letter-spacing: .01em; }
.pcgh-bb .draw-button-copy small { display: block; margin-top: 1px; color: var(--bb-green-text); font-size: 11px; font-weight: 400; line-height: 15px; }
.pcgh-bb .draw-button:hover { background: var(--bb-green-hover); color: #ffffff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .2), 0 12px 30px -16px rgba(var(--pcgh-primary-rgb, 59, 130, 246), .6); transform: translateY(-1px); }
.pcgh-bb .draw-button:hover .draw-button-copy small { color: rgba(255, 255, 255, .9); }
.pcgh-bb .draw-button:active { transform: translateY(0); }
.pcgh-bb .draw-button:disabled { cursor: wait; opacity: .8; transform: none; }
.pcgh-bb .draw-button.is-loading > svg { animation: pcgh-bb-spin .7s linear infinite; }
.pcgh-bb .pool-status { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: var(--bb-pool-text); font-size: 12px; }
.pcgh-bb .pool-status:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bb-pool-dot); }
.pcgh-bb .blindbox-page.is-drawing .pool-status:before { background: var(--pcgh-primary); }

/* ---------- 开箱面板（Steam 方正面板） ---------- */
.pcgh-bb .reveal-area { min-width: 0; }
.pcgh-bb .case-panel {
	width: 100%; min-height: 660px; height: auto; display: grid; grid-template-rows: 46px 214px minmax(0, 1fr);
	overflow: hidden; border: 1px solid var(--bb-panel-line); border-radius: 3px;
	background: var(--bb-panel-grad); box-shadow: 0 26px 64px -38px rgba(0, 0, 0, .7);
}
.pcgh-bb .case-header {
	display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px;
	border-bottom: 1px solid var(--bb-head-line); background: var(--bb-head-grad);
	color: var(--bb-head-text); font-size: 11px; line-height: 46px; letter-spacing: .04em; text-transform: uppercase;
}
.pcgh-bb .case-header-badge { display: flex; align-items: center; color: var(--bb-head-title); font-weight: 500; }
.pcgh-bb .case-header-badge > i { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--pcgh-primary); box-shadow: 0 0 6px rgba(var(--pcgh-primary-rgb, 59, 130, 246), .7); }
.pcgh-bb .case-header b { color: var(--bb-head-accent); font-weight: 400; }
.pcgh-bb .blindbox-page.is-drawing .case-header-badge > i { animation: pcgh-bb-blink .7s ease-in-out infinite alternate; }

/* ---------- 滚轴（CS2 开箱核心） ---------- */
.pcgh-bb .reel-viewport { position: relative; height: 214px; overflow: hidden; border-bottom: 1px solid var(--bb-reel-line); background: var(--bb-reel-bg); }
.pcgh-bb .reel-track { display: flex; gap: 8px; height: 100%; align-items: center; padding: 0; will-change: transform; }
.pcgh-bb .reel-item {
	position: relative; width: 144px; flex: 0 0 144px; height: 176px; overflow: hidden;
	border: 1px solid var(--bb-item-line); border-radius: 2px; background: var(--bb-item-bg);
	transition: border-color .25s, box-shadow .25s;
}
.pcgh-bb .reel-thumb { position: absolute; inset: 0; overflow: hidden; background: var(--bb-item-bg); }
.pcgh-bb .reel-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pcgh-bb .reel-name {
	position: absolute; z-index: 2; right: 0; bottom: 3px; left: 0; padding: 32px 8px 6px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .72) 100%);
	color: #fff; font-size: 11px; line-height: 15px; text-align: center;
	display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; word-break: break-word;
}
/* 底部主色条 */
.pcgh-bb .reel-item:before { position: absolute; content: ""; z-index: 2; right: 0; bottom: 0; left: 0; height: 3px; background: var(--bb-r); }
/* 中心选中格 */
.pcgh-bb .reel-marker {
	position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
	background: var(--bb-marker); box-shadow: 0 0 12px 2px var(--bb-marker-glow); pointer-events: none;
}
.pcgh-bb .reel-marker:before, .pcgh-bb .reel-marker:after {
	position: absolute; content: ""; left: 50%; width: 0; height: 0; margin-left: -5px;
	border-right: 5px solid transparent; border-left: 5px solid transparent;
}
.pcgh-bb .reel-marker:before { top: 0; border-top: 7px solid var(--bb-marker); }
.pcgh-bb .reel-marker:after { bottom: 0; border-bottom: 7px solid var(--bb-marker); }
.pcgh-bb .reel-spot {
	position: absolute; z-index: 3; top: 50%; left: 50%; width: 146px; height: 178px;
	border: 1px solid var(--bb-spot-line); border-radius: 3px; background: var(--bb-spot-bg);
	transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; pointer-events: none;
}
/* 选中前不显示框，选中后才框住中奖格 */
.pcgh-bb .reel-viewport.is-idle .reel-spot { opacity: 0; }
.pcgh-bb .reel-viewport.is-landed .reel-spot { opacity: 1; box-shadow: 0 0 26px -6px var(--bb-marker-glow), inset 0 0 20px -12px var(--bb-marker-glow); }
.pcgh-bb .reel-viewport.is-spinning .reel-marker { animation: pcgh-bb-pulse .45s ease-in-out infinite alternate; }
.pcgh-bb .reel-fade { position: absolute; z-index: 5; top: 0; bottom: 0; width: 90px; pointer-events: none; }
.pcgh-bb .reel-fade-l { left: 0; background: var(--bb-fade-l); }
.pcgh-bb .reel-fade-r { right: 0; background: var(--bb-fade-r); }
.pcgh-bb .reel-hint {
	position: absolute; z-index: 6; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
	padding: 0 16px; text-align: center; transform: translate(-50%, -50%); opacity: 0; transition: opacity .25s; pointer-events: none;
}
.pcgh-bb .reel-viewport.is-idle .reel-hint { opacity: 1; }
.pcgh-bb .reel-hint strong { color: var(--bb-hint-text); font-size: 15px; font-weight: 500; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.pcgh-bb .reel-hint small { color: var(--bb-hint-sub); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pcgh-bb .reel-viewport.is-idle .reel-track { opacity: .2; transition: opacity .3s; }
.pcgh-bb .reel-viewport.is-spinning .reel-track, .pcgh-bb .reel-viewport.is-landed .reel-track { opacity: 1; }
.pcgh-bb .reel-item.is-winner { border-color: var(--bb-r); z-index: 2; box-shadow: 0 0 18px -6px var(--bb-r); }

/* ---------- 面板下半：待开启 / 结果 ---------- */
.pcgh-bb .case-detail { position: relative; min-height: 0; padding: 20px 22px 22px; background: var(--bb-detail-bg); }
.pcgh-bb .detail-idle { display: flex; height: 100%; flex-direction: column; }
.pcgh-bb .detail-idle-copy { flex: 1 1 auto; }
.pcgh-bb .detail-kicker { display: block; color: var(--bb-kicker); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pcgh-bb .detail-idle h2 { margin: 8px 0 0; color: var(--bb-detail-h2); font-size: 24px; font-weight: 400; line-height: 1.4; letter-spacing: -.005em; }
.pcgh-bb .detail-idle p { margin: 7px 0 0; color: var(--bb-detail-p); font-size: 13px; font-weight: 300; line-height: 1.7; }
.pcgh-bb .detail-idle-tags { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.pcgh-bb .detail-idle-tags span { display: inline-flex; height: 26px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--bb-tag-border); border-radius: 2px; background: var(--bb-tag-bg); color: var(--bb-tag-text); font-size: 10px; letter-spacing: .04em; }
.pcgh-bb .detail-idle-tags span svg { color: var(--pcgh-primary); }

/* ---------- 抽取结果 ---------- */
/* 结果单列居中：封面在上（无边框）、其下徽章/meta/标题/介绍、按钮居中 */
.pcgh-bb .detail-result { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.pcgh-bb .detail-result.is-revealed { animation: pcgh-bb-reveal .45s cubic-bezier(.2, .8, .25, 1) both; }
/* 结果封面：无边框、无底部色条，与背景融合 */
.pcgh-bb .result-cover { position: relative; overflow: hidden; border: 0; background: transparent; width: 100%; max-width: 460px; }
.pcgh-bb .result-cover img { display: block; width: 100%; height: 190px; object-fit: contain; }
.pcgh-bb .result-rarity { display: none; }
.pcgh-bb .result-body { display: flex; min-width: 0; width: 100%; max-width: 680px; flex-direction: column; align-items: center; }
.pcgh-bb .result-verdict {
	display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 6px; margin-bottom: 8px; padding: 4px 8px;
	border-radius: 2px; background: var(--bb-verdict-bg); color: var(--bb-verdict-text); font-size: 10px; font-weight: 600; line-height: 18px; letter-spacing: .06em; text-transform: uppercase;
}
.pcgh-bb .game-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: var(--bb-meta-text); font-size: 11px; line-height: 20px; }
.pcgh-bb .game-meta span + span:before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 7px 3px 0; border-radius: 50%; background: var(--bb-meta-dot); }
.pcgh-bb .result-body h2 {
	display: -webkit-box; width: 100%; margin: 8px 0 0; overflow: hidden; color: var(--bb-detail-h2); text-align: center;
	font-size: 26px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; word-break: break-word;
	-webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.pcgh-bb .result-body p { display: -webkit-box; width: 100%; margin: 8px 0 0; overflow: hidden; color: var(--bb-desc); font-size: 12px; font-weight: 300; line-height: 1.75; text-align: center; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pcgh-bb .result-actions { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding-top: 8px; }
.pcgh-bb .result-primary, .pcgh-bb .result-secondary {
	display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 15px;
	border: 0; border-radius: 2px; font-size: 12px; font-family: inherit; font-weight: 500; letter-spacing: .02em; cursor: pointer;
	transition: background .18s, color .18s, border-color .18s, transform .16s;
}
.pcgh-bb .result-primary {
	background: var(--bb-green);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .08));
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .18);
}
.pcgh-bb .result-primary:hover { background: var(--bb-green-hover); color: #ffffff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .2); transform: translateY(-1px); }
.pcgh-bb .result-secondary { border: 1px solid var(--bb-btn2-border); background: var(--bb-btn2-bg); color: var(--bb-btn2-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 3px rgba(0, 0, 0, .12); }
.pcgh-bb .result-secondary:hover { border-color: var(--bb-btn2-hover-border); background: var(--bb-btn2-hover-bg); color: var(--bb-btn2-hover-text); }
.pcgh-bb .result-primary:disabled, .pcgh-bb .result-secondary:disabled { cursor: wait; opacity: .7; }
.pcgh-bb .result-primary svg, .pcgh-bb .result-secondary svg { margin-right: 7px; }

/* ---------- 最近抽到 ---------- */
.pcgh-bb .draw-history { padding: 0 0 36px; }
.pcgh-bb .history-inner { width: 1240px; max-width: calc(100% - 40px); margin: 0 auto; }
.pcgh-bb .history-track {
	display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px;
	border: 1px solid var(--bb-panel-line); border-radius: 3px; background: var(--bb-panel-grad);
	box-shadow: 0 14px 34px -30px rgba(0, 0, 0, .6);
}
.pcgh-bb .history-inner h2 { margin: 0; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; color: var(--bb-detail-h2); }
.pcgh-bb .history-inner h2 span { display: flex; align-items: center; gap: 7px; color: var(--bb-detail-h2); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.pcgh-bb .history-inner h2 span svg { color: var(--bb-kicker); }
.pcgh-bb .history-inner h2 small { color: var(--bb-detail-p); font-size: 10px; font-weight: 400; }
.pcgh-bb .history-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.pcgh-bb .history-item {
	position: relative; display: flex; align-items: center; min-width: 0; min-height: 66px; padding: 8px;
	border: 1px solid var(--bb-item-line); border-radius: 2px; background: var(--bb-his-item-bg);
	text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s;
}
.pcgh-bb .history-item:before { position: absolute; content: ""; top: 0; bottom: 0; left: 0; width: 3px; background: var(--bb-r); }
.pcgh-bb .history-item:hover { border-color: var(--bb-r); background: var(--bb-his-item-hover); transform: translateY(-1px); }
.pcgh-bb .history-item img { width: 46px; height: 46px; flex: 0 0 46px; margin-right: 10px; border-radius: 2px; object-fit: cover; }
.pcgh-bb .history-item span { min-width: 0; }
.pcgh-bb .history-item strong, .pcgh-bb .history-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcgh-bb .history-item strong { color: var(--bb-detail-h2); font-size: 12px; font-weight: 500; line-height: 20px; }
.pcgh-bb .history-item small { color: var(--bb-detail-p); font-size: 10px; line-height: 18px; }

/* ---------- 游戏倦怠科普区 ---------- */
.pcgh-bb .gaming-fatigue { position: relative; padding: 62px 0 66px; overflow: hidden; background: var(--bb-fatigue-grad); color: var(--bb-fatigue-text); }
.pcgh-bb .gaming-fatigue:before { position: absolute; content: ""; top: 0; left: 50%; width: 1px; height: 34px; background: var(--bb-fatigue-line); }
.pcgh-bb .fatigue-inner { width: 1240px; max-width: calc(100% - 40px); margin: 0 auto; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(560px, 1.2fr); gap: 40px 64px; }
.pcgh-bb .fatigue-kicker { display: block; margin-bottom: 12px; color: var(--bb-fatigue-accent); font-size: 10px; font-weight: 600; line-height: 20px; letter-spacing: .16em; text-transform: uppercase; }
.pcgh-bb .fatigue-intro h2 { margin: 0; color: var(--bb-fatigue-text); font-size: 28px; font-weight: 300; line-height: 1.4; }
.pcgh-bb .fatigue-intro p { margin: 15px 0 0; color: var(--bb-fatigue-text-2); font-size: 13px; font-weight: 300; line-height: 1.95; }
.pcgh-bb .fatigue-signs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.pcgh-bb .fatigue-signs span { padding: 5px 9px; border: 1px solid var(--bb-sign-border); border-radius: 2px; background: var(--bb-sign-bg); color: var(--bb-sign-text); font-size: 10px; font-weight: 500; line-height: 18px; letter-spacing: .04em; }
.pcgh-bb .recovery-rule { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; align-items: center; padding: 15px 18px; border-left: 3px solid var(--bb-rule-accent); border-radius: 0 2px 2px 0; background: var(--bb-rule-bg); }
.pcgh-bb .recovery-rule strong { color: var(--bb-rule-accent); font-size: 15px; font-weight: 500; }
.pcgh-bb .recovery-rule span { color: var(--bb-rule-text); font-size: 12px; font-weight: 300; line-height: 1.7; }
.pcgh-bb .recovery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.pcgh-bb .recovery-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--bb-list-line); }
.pcgh-bb .recovery-list li > b { color: var(--bb-num); font-size: 11px; font-weight: 600; line-height: 22px; letter-spacing: .06em; }
.pcgh-bb .recovery-list li strong, .pcgh-bb .recovery-list li span { display: block; }
.pcgh-bb .recovery-list li strong { color: var(--bb-li-strong); font-size: 13px; font-weight: 500; line-height: 22px; }
.pcgh-bb .recovery-list li span { margin-top: 3px; color: var(--bb-li-span); font-size: 12px; font-weight: 300; line-height: 1.75; }
.pcgh-bb .fatigue-note { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--bb-list-line); color: var(--bb-note-text); font-size: 11px; font-weight: 300; line-height: 1.8; }
.pcgh-bb .fatigue-note svg { margin-right: 8px; color: var(--bb-note-icon); vertical-align: -2px; }

/* ---------- 动画 ---------- */
@keyframes pcgh-bb-spin { to { transform: rotate(360deg); } }
@keyframes pcgh-bb-blink { to { opacity: .35; } }
@keyframes pcgh-bb-pulse { to { box-shadow: 0 0 20px 4px var(--bb-marker-glow); opacity: .8; } }
@keyframes pcgh-bb-reveal { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1260px) {
	.pcgh-bb .blindbox-stage, .pcgh-bb .history-inner, .pcgh-bb .fatigue-inner { width: 1120px; }
	.pcgh-bb .blindbox-stage { grid-template-columns: minmax(340px, .78fr) minmax(520px, 1.22fr); gap: 42px; }
}
@media screen and (max-width: 1000px) {
	.pcgh-bb .blindbox-page:before { height: 780px; }
	.pcgh-bb .blindbox-stage { width: 760px; max-width: calc(100% - 32px); grid-template-columns: 1fr; gap: 32px; padding: 46px 0 38px; min-height: 0; }
	.pcgh-bb .picker-intro { width: 100%; max-width: 680px; margin: 0 auto; text-align: center; }
	.pcgh-bb .system-status { margin-right: auto; margin-left: auto; }
	.pcgh-bb .picker-note { justify-content: center; }
	.pcgh-bb .picker-controls, .pcgh-bb .picker-actions { max-width: 620px; margin-right: auto; margin-left: auto; text-align: left; }
	.pcgh-bb .pool-status { justify-content: center; }
	.pcgh-bb .reveal-area { width: 100%; max-width: 760px; margin: 0 auto; }
	.pcgh-bb .case-panel { scroll-margin-top: 82px; }
	.pcgh-bb .history-inner { width: 760px; max-width: calc(100% - 32px); }
	.pcgh-bb .history-track { display: block; }
	.pcgh-bb .history-inner h2 { margin-bottom: 12px; }
	.pcgh-bb .gaming-fatigue { padding: 54px 0 60px; }
	.pcgh-bb .fatigue-inner { width: 760px; max-width: calc(100% - 32px); grid-template-columns: 1fr; gap: 34px; }
}
@media screen and (max-width: 800px) {
	.pcgh-bb .blindbox-stage { padding-top: 38px; }
	.pcgh-bb .picker-intro h1 { font-size: 40px; }
	.pcgh-bb .picker-copy { font-size: 16px; }
	.pcgh-bb .case-panel { height: auto; grid-template-rows: 44px 196px auto; }
	.pcgh-bb .reel-viewport { height: 196px; }
	.pcgh-bb .reel-item { height: 162px; }
	.pcgh-bb .reel-spot { height: 164px; }
	.pcgh-bb .case-detail { padding: 18px; }
	.pcgh-bb .detail-result { gap: 10px; }
	.pcgh-bb .result-cover img { height: 152px; }
	.pcgh-bb .result-body h2 { font-size: 22px; }
	.pcgh-bb .history-list { grid-template-columns: 1fr; }
	.pcgh-bb .draw-history { padding-bottom: 28px; }
}
@media screen and (max-width: 480px) {
	.pcgh-bb .blindbox-page:before { height: 700px; }
	.pcgh-bb .blindbox-stage { max-width: calc(100% - 24px); gap: 26px; padding: 30px 0; }
	.pcgh-bb .picker-intro h1 { font-size: 33px; }
	.pcgh-bb .picker-copy { margin-top: 12px; font-size: 15px; }
	.pcgh-bb .picker-note { align-items: flex-start; font-size: 11px; text-align: left; }
	.pcgh-bb .picker-controls { margin-top: 20px; padding: 0 13px; }
	.pcgh-bb .control-field { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 0; }
	.pcgh-bb .control-field select { width: 100%; }
	.pcgh-bb .picker-actions { margin-top: 16px; }
	.pcgh-bb .draw-button { height: 56px; }
	.pcgh-bb .case-panel { grid-template-rows: 42px 176px auto; border-radius: 2px; }
	.pcgh-bb .case-header { height: 42px; padding: 0 12px; font-size: 10px; line-height: 42px; }
	.pcgh-bb .reel-viewport { height: 176px; }
	.pcgh-bb .reel-item { height: 146px; }
	.pcgh-bb .reel-name { font-size: 10px; }
	.pcgh-bb .reel-spot { height: 148px; }
	.pcgh-bb .reel-fade { width: 46px; }
	.pcgh-bb .case-detail { padding: 16px; }
	.pcgh-bb .detail-idle h2 { font-size: 20px; }
	.pcgh-bb .detail-result { gap: 10px; }
	.pcgh-bb .result-cover img { height: 150px; }
	.pcgh-bb .result-body h2 { font-size: 20px; }
	.pcgh-bb .result-actions { align-items: stretch; flex-direction: column; gap: 8px; }
	.pcgh-bb .result-primary, .pcgh-bb .result-secondary { width: 100%; height: 40px; }
	.pcgh-bb .history-inner { max-width: calc(100% - 24px); }
	.pcgh-bb .history-track { padding: 12px; }
	.pcgh-bb .gaming-fatigue { padding: 46px 0 50px; }
	.pcgh-bb .fatigue-inner { max-width: calc(100% - 24px); gap: 28px; }
	.pcgh-bb .fatigue-intro h2 { font-size: 24px; }
	.pcgh-bb .recovery-rule { grid-template-columns: 1fr; gap: 5px; }
	.pcgh-bb .recovery-list { grid-template-columns: 1fr; margin-top: 14px; }
	.pcgh-bb .recovery-list li { padding: 15px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pcgh-bb *, .pcgh-bb *:before, .pcgh-bb *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
