/*
Theme Name: 雷电模拟器官网主题
Theme URI: https://www.ldmnq.com/
Author: LDPlayer Theme
Author URI: https://www.ldmnq.com/
Description: 还原雷电模拟器官网（游戏中心门户）形态的 WordPress 主题：暗色首屏海报 + 近期热点 + 三栏榜单（热门/应用/预约）+ 福利活动 + 性能轮播 + 常见问题 + 资讯与教程双栏 + 备案页脚。内置「易翻译设置」可视化面板（Logo / Favicon / 备案与版权 / Win64·Mac·Android·iOS 四端下载 / 统计代码 / 客服悬浮窗）、原生 TDK 元框（首页·分类·页面·文章逐条可控）、SoftwareApplication 与 BreadcrumbList 结构化数据、图片懒加载与 alt 自补。纯 PHP + HTML5 + CSS3 + 原生 ES6，零框架依赖。
Version: 2.0.1
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ldmnq
Tags: download, software, portal, custom-menu, featured-images, translation-ready
*/

/* =============================================================================
   0. 设计令牌（对齐原站：黑首屏 / 浅灰底 / 白卡 / 品牌黄）
   ========================================================================== */
:root {
	--brand: #FFDB18;
	--brand-d: #E8A600;
	--brand-grad: linear-gradient(96deg, #FFE066 0%, #FFD01A 48%, #E8A600 100%);
	--ink: #000000;
	--t1: #1D2129;
	--t2: #4E5969;
	--t3: #86909C;
	--t4: #A9AEB8;
	--line: #E5E6EB;
	--line-2: #F0F2F6;
	--bg: #F5F6FA;
	--bg-2: #F0F2F6;
	--paper: #FFFFFF;
	--blue: #2189FF;
	--red: #F53F3F;
	--green: #00B42A;
	--r-s: 8px;
	--r-m: 12px;
	--r-l: 16px;
	--r-xl: 22px;
	--r-pill: 999px;
	--sh-1: 0 2px 8px rgba(29, 33, 41, .05);
	--sh-2: 0 8px 28px rgba(29, 33, 41, .10);
	--sh-3: 0 18px 44px rgba(29, 33, 41, .16);
	--font: "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--num: "DIN Alternate", "Impact", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--wrap: 1200px;
	--gutter: 20px;
	--head-h: 64px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* =============================================================================
   1. 基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head-h) + 12px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--t2);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
img { display: block; }

a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-d); }

h1, h2, h3, h4, h5 {
	margin: 0;
	color: var(--t1);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
code { font-family: var(--num); font-size: .92em; background: var(--bg-2); padding: 1px 6px; border-radius: 4px; color: #C7254E; }
:focus-visible { outline: 2px solid var(--brand-d); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand); color: #000; }

/* 布局容器 */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1440px; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 按钮 */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
	background: var(--brand-grad); color: #1A1204; font-size: 15px; font-weight: 700;
	cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
	box-shadow: 0 8px 20px -10px rgba(232, 166, 0, .9);
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #1A1204; filter: brightness(1.04); box-shadow: 0 12px 26px -10px rgba(232, 166, 0, .95); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.btn--xl { height: 62px; padding: 0 34px; font-size: 18px; font-weight: 800; border-radius: 14px; flex-direction: column; gap: 1px; line-height: 1.15; }
.btn--xl .btn__main { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; }
.btn--xl .btn__sub { font-size: 11px; font-weight: 600; color: rgba(26, 18, 4, .62); letter-spacing: .02em; }
.btn--xl svg { width: 20px; height: 20px; }
.btn--block { width: 100%; }
.btn--line { background: #fff; color: var(--t1); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { color: var(--brand-d); box-shadow: inset 0 0 0 1px var(--brand); }

/* 图片型按钮（原站首屏用的就是图片按钮） */
.img-btn { display: inline-block; line-height: 0; }
.img-btn img { height: 56px; width: auto; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.img-btn:hover img { transform: translateY(-2px); }
.img-btn--sm img { height: 40px; }

/* =============================================================================
   2. 头部
   ========================================================================== */
.site-head {
	position: absolute; top: 0; left: 0; right: 0; z-index: 60;
	height: var(--head-h);
	color: #fff;
	transition: background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.site-head__in {
	display: flex; align-items: center; gap: 26px;
	height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark {
	width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
	background: var(--brand-grad); color: #161000; font-size: 15px; font-weight: 900;
	box-shadow: 0 6px 14px -8px rgba(232, 166, 0, .9);
}
.brand__logo { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin: 0 0 0 6px; padding: 0; list-style: none; }
.nav li { display: flex; align-items: center; margin: 0; padding: 0; }
.nav a {
	position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
	border-radius: var(--r-pill); font-size: 15px; color: inherit; opacity: .86;
	transition: opacity .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); color: inherit; }
.nav a[aria-current="page"],
.nav .current-menu-item > a { opacity: 1; font-weight: 700; }
.nav .current-menu-item > a::after {
	content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 2px;
	margin-left: -8px; border-radius: 2px; background: var(--brand);
}
.site-head__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.site-head__dl { height: 36px; padding: 0 18px; font-size: 14px; }

/* 滚动后 / 内页：白底深字 */
.site-head.is-solid { position: fixed; background: rgba(255, 255, 255, .96); color: var(--t1); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(29, 33, 41, .06); backdrop-filter: saturate(180%) blur(12px); }
.site-head.is-solid .nav a:hover { background: var(--bg-2); color: var(--t1); }
.site-head.is-solid .btn--ghost { background: var(--bg-2); color: var(--t1); box-shadow: none; }

/* 移动端 */
.nav-toggle {
	display: none; width: 40px; height: 40px; border: 0; border-radius: 10px;
	background: rgba(255, 255, 255, .14); color: inherit; cursor: pointer;
}
.site-head.is-solid .nav-toggle { background: var(--bg-2); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
	content: ""; display: block; width: 18px; height: 2px; margin: 3px auto; border-radius: 2px;
	background: currentColor;
}

@media (max-width: 900px) {
	.nav, .site-head__dl { display: none; }
	.nav-toggle { display: block; }
	.mobile-nav {
		position: fixed; inset: var(--head-h) 0 auto 0; z-index: 55;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 10px 16px 18px; box-shadow: var(--sh-2);
	}
	.mobile-nav[hidden] { display: none; }
	.mobile-nav a {
		display: flex; align-items: center; justify-content: space-between;
		padding: 13px 4px; border-bottom: 1px solid var(--line-2); color: var(--t1); font-size: 16px;
	}
	.mobile-nav a:last-child { border-bottom: 0; }
	.mobile-nav .btn { margin-top: 14px; }
}

/* =============================================================================
   3. 首屏海报
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 660px; display: grid; place-items: center;
	background: #000; color: #fff;
	padding: calc(var(--head-h) + 56px) 0 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .88) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 38%, rgba(0, 0, 0, .82) 100%);
}
.hero__in { position: relative; text-align: center; padding: 0 var(--gutter); }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 14px; padding: 5px 14px; border-radius: var(--r-pill);
	background: rgba(255, 219, 24, .16); color: var(--brand);
	font-size: 13px; font-weight: 700; letter-spacing: .04em;
	box-shadow: inset 0 0 0 1px rgba(255, 219, 24, .35);
}
.hero h1 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(32px, 5vw, 62px);
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.1;
	text-shadow: 0 8px 40px rgba(0, 0, 0, .45);
}
.hero__sub {
	margin: 0 auto 30px; max-width: 620px;
	color: rgba(255, 255, 255, .82); font-size: clamp(15px, 1.6vw, 19px);
}
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; color: rgba(255, 255, 255, .62); font-size: 13px; }
.hero__meta b { color: var(--brand); font-weight: 700; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	width: 22px; opacity: .7; animation: bob 1.8s var(--ease) infinite;
}
.hero__scroll svg { width: 22px; height: 22px; color: rgba(255,255,255,.72); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 640px) {
	.hero { min-height: 560px; padding-top: calc(var(--head-h) + 42px); }
	.hero__meta { font-size: 12px; }
	.hero__actions { flex-direction: column; gap: 12px; width: 100%; }
	.hero__actions .btn--xl,
	.hero__actions .btn--ghost { width: 100%; max-width: 340px; }
	.btn--xl { height: 58px; padding: 0 20px; }
	.btn--xl .btn__main { font-size: 17px; }
}

/* =============================================================================
   4. 版块通用
   ========================================================================== */
.section { padding: 34px 0; }
.section--tight { padding: 22px 0; }
.section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section__head h2, .section__head h3 { font-size: 21px; font-weight: 800; }
.section__head .more {
	margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
	color: var(--t3); font-size: 13px;
}
.section__head .more:hover { color: var(--brand-d); }
.section__head .more::after { content: "›"; font-size: 17px; line-height: 1; transform: translateY(-1px); }

.card { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.pad { padding: 20px; }

/* =============================================================================
   5. 近期热点
   ========================================================================== */
.hots { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
@media (max-width: 860px) { .hots { grid-template-columns: 1fr; } }

.hot-lead {
	position: relative; overflow: hidden; min-height: 300px; border-radius: var(--r-l);
	background: #111; display: block;
}
.hot-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hot-lead:hover img { transform: scale(1.03); }
.hot-lead__body {
	position: absolute; inset: auto 0 0 0; padding: 22px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
	color: #fff;
}
.hot-lead__tag {
	display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: var(--r-pill);
	background: var(--brand); color: #1A1204; font-size: 12px; font-weight: 800;
}
.hot-lead__title { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.35; }

.hot-list { display: grid; gap: 10px; align-content: start; }
.hot-item {
	display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center;
	padding: 10px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--sh-1);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hot-item:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.hot-item__thumb { aspect-ratio: 16 / 10; border-radius: var(--r-s); overflow: hidden; background: var(--bg-2); }
.hot-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-item__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	color: var(--t1); font-size: 14px; font-weight: 600; line-height: 1.5;
}
.hot-item__date { margin-top: 4px; color: var(--t4); font-size: 12px; }

/* =============================================================================
   6. 三栏榜单
   ========================================================================== */
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .ranks { grid-template-columns: 1fr; } }

.rank { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; }
.rank__head { display: flex; align-items: center; padding: 16px 18px 10px; }
.rank__head h3 { font-size: 17px; font-weight: 800; }
.rank__head .more { margin-left: auto; color: var(--t3); font-size: 12px; }
.rank__head .more:hover { color: var(--brand-d); }
.rank__list { padding: 0 8px 10px; }

.app-row {
	display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
	padding: 9px 10px; border-radius: var(--r-m);
	transition: background .16s var(--ease);
}
.app-row:hover { background: var(--bg); }
.app-row__icon {
	width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
	background: var(--bg-2); box-shadow: inset 0 0 0 1px rgba(29, 33, 41, .04);
}
.app-row__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-row__letter { display: grid; place-items: center; width: 100%; height: 100%; background: var(--brand-grad); color: #1A1204; font-size: 18px; font-weight: 800; }
.app-row__name {
	display: block; color: var(--t1); font-size: 14px; font-weight: 700;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-row__meta { margin-top: 2px; color: var(--t3); font-size: 12px; }
.app-row__cta {
	display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
	border-radius: var(--r-pill); background: var(--brand-grad); color: #1A1204;
	font-size: 12px; font-weight: 800; white-space: nowrap;
}
.app-row__cta:hover { color: #1A1204; filter: brightness(1.05); }
.app-row__cta--wait { background: #FFF7DE; color: var(--brand-d); }

/* =============================================================================
   7. 福利活动
   ========================================================================== */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .acts { grid-template-columns: 1fr; } }
.act { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; background: #111; aspect-ratio: 16 / 8; }
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.act:hover img { transform: scale(1.04); }
.act__body {
	position: absolute; inset: auto 0 0 0; padding: 16px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)); color: #fff;
}
.act__title { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; }
.act__tag {
	display: inline-block; margin-bottom: 6px; padding: 1px 9px; border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .18); font-size: 11px; font-weight: 700;
}

/* =============================================================================
   8. 性能轮播
   ========================================================================== */
.perf { position: relative; }
.perf__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(248px, 1fr);
	gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px;
	scrollbar-width: none;
}
.perf__track::-webkit-scrollbar { display: none; }
.perf__card {
	scroll-snap-align: start; position: relative; overflow: hidden;
	border-radius: var(--r-l); background: #0B0C0E; color: #fff; padding: 22px;
	min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end;
}
.perf__card::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(120% 100% at 100% 0%, rgba(255, 219, 24, .22), transparent 62%);
}
.perf__card:nth-child(2)::before { background: radial-gradient(120% 100% at 0% 0%, rgba(33, 137, 255, .26), transparent 60%); }
.perf__card:nth-child(3)::before { background: radial-gradient(120% 100% at 100% 100%, rgba(0, 180, 42, .22), transparent 60%); }
.perf__card:nth-child(4)::before { background: radial-gradient(120% 100% at 0% 100%, rgba(245, 63, 63, .22), transparent 60%); }
.perf__k { position: relative; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.perf__t { position: relative; margin: 8px 0 6px; color: #fff; font-size: 20px; font-weight: 800; }
.perf__d { position: relative; margin: 0; color: rgba(255, 255, 255, .66); font-size: 13px; line-height: 1.6; }
.perf__nav { display: flex; gap: 8px; margin-left: auto; }
.perf__nav button {
	width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--t2);
	box-shadow: var(--sh-1); cursor: pointer; font-size: 16px; line-height: 1;
	transition: background .16s var(--ease), color .16s var(--ease);
}
.perf__nav button:hover { background: var(--brand); color: #1A1204; }

/* =============================================================================
   9. 常见问题
   ========================================================================== */
.faq { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 980px) { .faq { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .faq { grid-template-columns: 1fr; } }
.faq__item {
	display: flex; align-items: center; gap: 10px; padding: 16px;
	background: var(--paper); border-radius: var(--r-m); box-shadow: var(--sh-1);
	color: var(--t1); font-size: 14px; font-weight: 600;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.faq__item:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--brand-d); }
.faq__ic {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
	background: #FFF7DE; color: var(--brand-d); font-weight: 900; font-size: 14px;
}

/* =============================================================================
   10. 资讯 / 教程双栏
   ========================================================================== */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.col { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 6px 18px 14px; }
.col__head { display: flex; align-items: center; padding: 14px 0 6px; }
.col__head h3 { font-size: 17px; font-weight: 800; }
.col__head .more { margin-left: auto; color: var(--t3); font-size: 12px; }
.col__head .more:hover { color: var(--brand-d); }
.post-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.post-row:last-child { border-bottom: 0; }
.post-row__t { color: var(--t1); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-row:hover .post-row__t { color: var(--brand-d); }
.post-row__d { color: var(--t4); font-size: 12px; white-space: nowrap; }

/* =============================================================================
   11. 页脚
   ========================================================================== */
.site-foot { margin-top: 40px; background: #0B0C0E; color: rgba(255, 255, 255, .62); font-size: 13px; }
.foot__top {
	display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
	padding: 26px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.foot__link { color: rgba(255, 255, 255, .82); }
.foot__link:hover { color: var(--brand); }
.foot__social { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.foot__social span { color: rgba(255, 255, 255, .5); }
.foot__social a {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: #fff; font-size: 11px; font-weight: 700;
}
.foot__social a:hover { background: var(--brand); color: #1A1204; }
.foot__legal { padding: 16px 0 26px; line-height: 2; color: rgba(255, 255, 255, .45); }
.foot__legal a { color: rgba(255, 255, 255, .62); }
.foot__legal a:hover { color: var(--brand); }
.foot__badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.foot__badges img { height: 20px; width: auto; opacity: .9; }
.foot__copy { margin-top: 8px; }

/* =============================================================================
   12. 面包屑 / 内页头部
   ========================================================================== */
.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--t3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--t4); }
.crumbs a { color: var(--t3); }
.crumbs a:hover { color: var(--brand-d); }

.page-head { padding: 22px 0 6px; }
.page-head h1 { font-size: clamp(24px, 3vw, 34px); }
.page-head p { margin: 8px 0 0; color: var(--t3); font-size: 14px; max-width: 760px; }

/* =============================================================================
   13. 下载页
   ========================================================================== */
.dl-hero {
	position: relative; overflow: hidden; border-radius: var(--r-xl);
	background: #0B0C0E; color: #fff; padding: 34px;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center;
}
@media (max-width: 860px) { .dl-hero { grid-template-columns: 1fr; padding: 24px; } }
.dl-hero::after {
	content: ""; position: absolute; inset: -40% -20% auto auto; width: 520px; height: 520px;
	background: radial-gradient(closest-side, rgba(255, 219, 24, .28), transparent 70%);
}
.dl-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); }
.dl-hero p { color: rgba(255, 255, 255, .7); margin: 10px 0 20px; max-width: 520px; }
.dl-hero__shots { position: relative; display: flex; gap: 10px; justify-content: flex-end; }
.dl-hero__shots img { border-radius: var(--r-m); box-shadow: var(--sh-3); width: 46%; object-fit: cover; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 14px; }
.tab {
	display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px;
	border: 0; border-radius: var(--r-pill); background: #fff; color: var(--t2);
	font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--sh-1);
	transition: background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.tab:hover { color: var(--t1); }
.tab[aria-selected="true"] { background: var(--brand-grad); color: #1A1204; box-shadow: 0 10px 22px -12px rgba(232, 166, 0, .9); }
.tab svg { width: 16px; height: 16px; }

.panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } }
.panel[hidden] { display: none; }
.panel__main { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 24px; }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.panel__note { margin: 6px 0 18px; color: var(--t3); font-size: 13px; }
.panel__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; }
@media (max-width: 620px) { .panel__facts { grid-template-columns: 1fr; } }
.fact { background: var(--bg); border-radius: var(--r-m); padding: 12px 14px; }
.fact dt { color: var(--t3); font-size: 12px; margin: 0 0 3px; }
.fact dd { margin: 0; color: var(--t1); font-size: 15px; font-weight: 700; }
.panel__req { color: var(--t2); font-size: 13px; line-height: 1.8; }
.panel__side { display: grid; gap: 16px; align-content: start; }
.log { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 20px; }
.log h3 { font-size: 15px; margin-bottom: 10px; }
.log ul { margin: 0; padding-left: 18px; color: var(--t2); font-size: 13px; line-height: 1.9; }

/* =============================================================================
   14. 应用列表 / 详情
   ========================================================================== */
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1080px) { .app-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
.app-card {
	background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 16px;
	display: flex; flex-direction: column; gap: 10px; text-align: center;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.app-card__icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.app-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card__name { color: var(--t1); font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-card__meta { color: var(--t3); font-size: 12px; }
.app-card .btn { height: 32px; font-size: 12px; margin-top: auto; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.filters a { padding: 7px 16px; border-radius: var(--r-pill); background: #fff; color: var(--t2); font-size: 13px; box-shadow: var(--sh-1); }
.filters a:hover { color: var(--brand-d); }
.filters a.is-on { background: var(--brand-grad); color: #1A1204; font-weight: 700; }

.app-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 24px; }
@media (max-width: 760px) { .app-hero { grid-template-columns: auto 1fr; } .app-hero__cta { grid-column: 1 / -1; } }
.app-hero__icon { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: var(--sh-1); }
.app-hero h1 { font-size: clamp(22px, 2.6vw, 30px); }
.app-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; color: var(--t3); font-size: 13px; }
.app-hero__meta b { color: var(--t1); }

/* =============================================================================
   15. 文章 / 列表
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.posts { display: grid; gap: 14px; }
.post-card { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; }
@media (max-width: 620px) { .post-card { grid-template-columns: 1fr; } .post-card__thumb { aspect-ratio: 16/9; } }
.post-card__thumb { background: var(--bg-2); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px 18px 16px 0; }
@media (max-width: 620px) { .post-card__body { padding: 0 16px 16px; } }
.post-card__cat { color: var(--brand-d); font-size: 12px; font-weight: 700; }
.post-card__title { margin: 6px 0 8px; font-size: 17px; line-height: 1.5; }
.post-card__title a { color: var(--t1); }
.post-card__title a:hover { color: var(--brand-d); }
.post-card__excerpt { color: var(--t3); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin-top: 10px; color: var(--t4); font-size: 12px; display: flex; gap: 14px; }

.article { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 30px; }
@media (max-width: 620px) { .article { padding: 20px 18px; } }
.article__head { padding-bottom: 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.article__head h1 { font-size: clamp(23px, 2.8vw, 32px); }
.article__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 14px; color: var(--t4); font-size: 13px; }
.prose { color: var(--t2); font-size: 15.5px; line-height: 1.9; overflow-wrap: anywhere; word-break: break-word; }
.prose h2 { margin: 1.6em 0 .6em; font-size: 21px; }
.prose h3 { margin: 1.4em 0 .5em; font-size: 17px; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.prose li { margin: .3em 0; }
.prose img { border-radius: var(--r-m); margin: 1em 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose pre { max-width: 100%; overflow-x: auto; background: var(--bg); padding: 12px 14px; border-radius: var(--r-s); font-size: 13px; }
.prose code { overflow-wrap: anywhere; }
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; background: var(--bg); border-left: 3px solid var(--brand); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--t2); }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg); font-weight: 700; }

.side-card { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 18px; margin-bottom: 16px; }
.side-card h3 { font-size: 15px; margin-bottom: 12px; }
.side-dl { display: grid; gap: 8px; }
.side-dl a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); background: var(--bg); color: var(--t1); font-size: 13px; }
.side-dl a:hover { background: #FFF7DE; color: var(--brand-d); }
.side-dl span { color: var(--t4); font-size: 12px; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 22px 0; }
.pager .page-numbers {
	display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px;
	border-radius: var(--r-s); background: #fff; color: var(--t2); font-size: 13px; box-shadow: var(--sh-1);
}
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--brand-grad); color: #1A1204; font-weight: 700; }

/* =============================================================================
   16. 单页 / 法律页
   ========================================================================== */
.page-body { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 30px; }
@media (max-width: 620px) { .page-body { padding: 20px 18px; } }
.page-body h1 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 32px); }

/* =============================================================================
   17. 悬浮客服
   ========================================================================== */
.fab {
	position: fixed; right: 20px; bottom: 26px; z-index: 70;
	display: inline-flex; align-items: center; gap: 8px;
	height: 46px; padding: 0 18px; border-radius: var(--r-pill);
	background: #0B0C0E; color: #fff; font-size: 13px; font-weight: 700;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7);
	transition: transform .2s var(--ease), background .2s var(--ease);
}
.fab:hover { transform: translateY(-2px); background: #1A1C20; color: #fff; }
.fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 219, 24, .2); }
.fab__qr {
	position: absolute; right: 0; bottom: 56px; padding: 8px; border-radius: var(--r-m);
	background: #fff; box-shadow: var(--sh-3); display: none;
}
.fab__qr img { width: 132px; height: 132px; }
.fab:hover .fab__qr, .fab:focus-within .fab__qr { display: block; }

/* =============================================================================
   18. 杂项
   ========================================================================== */
.notice-bar {
	background: #FFF7DE; color: #7A5200; font-size: 13px;
	border-bottom: 1px solid #FFE7A3;
}
.notice-bar__in { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.notice-bar__tag { padding: 1px 8px; border-radius: 4px; background: var(--brand); color: #1A1204; font-size: 11px; font-weight: 800; }
.notice-bar a { color: #7A5200; text-decoration: underline; }
.empty { padding: 40px 0; text-align: center; color: var(--t3); }

.gotop {
	position: fixed; right: 20px; bottom: 82px; z-index: 65;
	width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--t2);
	box-shadow: var(--sh-2); cursor: pointer; opacity: 0; pointer-events: none;
	transition: opacity .2s var(--ease);
}
.gotop.is-on { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) { .fb, .fab { right: 14px; bottom: 18px; } .gotop { right: 14px; bottom: 74px; } }
.gotop:hover { background: var(--brand); color: #1A1204; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
