/* ==========================================================================
   ShareHub 主题主样式
   ========================================================================== */

:root {
	--cover-char: rgba(255, 255, 255, .82);
	--bg: #080b11;
	--bg-soft: #0d1219;
	--panel: #111823;
	--card: #131b26;
	--card-hover: #172030;
	--line: rgba(255, 255, 255, .07);
	--line-strong: rgba(255, 255, 255, .14);
	--text: #e9eef7;
	--text-dim: #a7b4c6;
	--muted: #6d7c90;
	--accent: #38bdf8;
	--accent-deep: #0ea5e9;
	--accent-2: #f97316;
	--accent-3: #a78bfa;
	--ok: #34d399;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
	--s1: rgba(255, 255, 255, .04);
	--s2: rgba(255, 255, 255, .06);
	--s3: rgba(255, 255, 255, .1);
	--s4: rgba(255, 255, 255, .14);
	--header-bg: rgba(8, 11, 17, .92);
	--foot-bg: rgba(6, 9, 14, .7);
	--code-bg: #060a10;
	--field-bg: rgba(0, 0, 0, .35);
	--field-text: #bfe7ff;
	--maxw: 1240px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

html { scroll-behavior: smooth; }

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

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, .16), transparent 60%),
		radial-gradient(760px 460px at 92% 4%, rgba(249, 115, 22, .12), transparent 62%),
		linear-gradient(180deg, #080b11 0%, #070a0f 100%);
	pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only, .skip-link {
	position: absolute; left: -9999px; top: 0;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: var(--accent); color: #06121b; padding: 8px 14px; border-radius: 8px; }

.muted { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
	display: inline-flex; align-items: center; gap: 6px;
	height: 40px; padding: 0 18px;
	border-radius: 999px;
	font-size: 14px; font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	color: #04121c;
	box-shadow: 0 10px 26px -12px rgba(56, 189, 248, .8);
}
.btn-primary:hover { color: #04121c; box-shadow: 0 14px 30px -12px rgba(56, 189, 248, .95); }

.btn-ghost {
	background: var(--s2);
	border-color: var(--line-strong);
	color: var(--text-dim);
}
.btn-ghost:hover { background: var(--s3); color: var(--text); }

.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

.icon-btn {
	display: none;
	width: 38px; height: 38px;
	align-items: center; justify-content: center;
	background: var(--s2);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--text-dim);
	cursor: pointer;
}

/* ==========================================================================
   头部
   ========================================================================== */

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--header-bg);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex; align-items: center; gap: 26px;
	height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }

.brand-mark {
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--accent), #6366f1);
	color: #04121c;
	font-weight: 800; font-size: 17px;
	box-shadow: 0 8px 20px -10px rgba(56, 189, 248, .9);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .16em; }

.main-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li > a {
	display: block; padding: 8px 12px; border-radius: 9px;
	font-size: 14px; color: var(--text-dim);
}
.nav-list > li > a:hover, .nav-list > li.current-menu-item > a, .nav-list > li > a.is-active {
	color: var(--text); background: var(--s2);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.header-search {
	display: flex; align-items: center; gap: 8px;
	width: 240px; height: 36px; padding: 0 12px;
	background: var(--s2);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--muted);
}
.header-search input {
	flex: 1; min-width: 0;
	background: none; border: 0; outline: 0;
	color: var(--text); font-size: 13px;
}
.header-search input::placeholder { color: var(--muted); }

.mobile-nav { display: none; padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.mobile-search { display: flex; gap: 8px; margin-bottom: 12px; }
.mobile-search input {
	flex: 1; height: 40px; padding: 0 12px;
	background: var(--s2);
	border: 1px solid var(--line-strong); border-radius: 10px;
	color: var(--text); outline: 0;
}
.mobile-search button {
	width: 44px; height: 40px; border-radius: 10px; border: 0;
	background: var(--accent); color: #04121c; cursor: pointer;
}
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li a { display: block; padding: 11px 4px; color: var(--text-dim); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; padding: 76px 0 64px; }
.hero-glow {
	position: absolute; inset: auto -10% 20% -10%; height: 420px;
	background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent 70%);
	filter: blur(20px);
	pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }

.hero-tag {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(56, 189, 248, .1);
	border: 1px solid rgba(56, 189, 248, .28);
	color: #7dd3fc;
	font-size: 12.5px; letter-spacing: .08em;
}

.hero-title { font-size: clamp(30px, 5vw, 52px); line-height: 1.18; letter-spacing: -.03em; }
.hero-title span {
	background: linear-gradient(120deg, #38bdf8 10%, #a78bfa 55%, #f97316 95%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-sub { margin: 16px auto 0; max-width: 640px; color: var(--text-dim); font-size: 15.5px; }

.hero-search {
	position: relative;
	width: 100%;
	display: flex; align-items: center;
	max-width: 660px; margin: 30px auto 0;
	height: 56px; padding: 0 6px 0 48px;
	background: var(--panel);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	box-shadow: var(--shadow);
}
.hero-search-ico { position: absolute; left: 18px; color: var(--muted); display: flex; }
.hero-search input {
	flex: 1; min-width: 0; height: 100%;
	background: none; border: 0; outline: 0;
	color: var(--text); font-size: 15px;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
	height: 44px; padding: 0 26px; margin-right: 2px;
	border: 0; border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	color: #04121c; font-weight: 700; font-size: 15px;
	cursor: pointer;
}
.hero-search button:hover { filter: brightness(1.06); }

.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-chip {
	padding: 6px 13px; border-radius: 999px;
	background: var(--s1);
	border: 1px solid var(--line);
	color: var(--text-dim); font-size: 13px;
}
.hero-chip:hover { border-color: rgba(56, 189, 248, .4); color: var(--accent); }

.hero-stats { display: flex; justify-content: center; gap: 54px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 22px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   区块标题
   ========================================================================== */

.section-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 18px;
}
.section-head h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.section-head h2::before {
	content: ""; width: 4px; height: 18px; border-radius: 3px;
	background: linear-gradient(180deg, var(--accent), #6366f1);
}
.section-head .more { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; }
.section-head .more:hover { color: var(--accent); }

.block-title {
	font-size: 16px; margin: 30px 0 14px; padding-left: 10px;
	border-left: 3px solid var(--accent);
}

.home-body { padding-bottom: 60px; }

/* ==========================================================================
   分类入口
   ========================================================================== */

.cat-section { margin-top: 6px; }

.cat-grid {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.cat-card {
	display: flex; flex-direction: column; gap: 6px;
	padding: 16px 18px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	position: relative; overflow: hidden;
	transition: transform .18s ease, border-color .2s ease, background .2s ease;
}
.cat-card::after {
	content: ""; position: absolute; right: -30px; top: -30px;
	width: 90px; height: 90px; border-radius: 50%;
	background: var(--c, var(--accent)); opacity: .14;
	filter: blur(14px);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--c, var(--accent)); background: var(--card-hover); }
.cat-ico { color: var(--c, var(--accent)); display: flex; }
.cat-name { font-weight: 650; font-size: 15px; }
.cat-count { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   首页两栏
   ========================================================================== */

.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; margin-top: 34px; }
.home-side { display: flex; flex-direction: column; gap: 16px; }

.side-panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
}
.side-head h3 { font-size: 15px; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--text); }
.side-head .ico { color: var(--accent-2); }

.hot-list { margin: 0; padding: 0; list-style: none; }
.hot-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hot-list li:last-child { border-bottom: 0; }
.hot-rank {
	flex: none; width: 20px; height: 20px; border-radius: 6px;
	display: grid; place-items: center;
	font-size: 12px; font-weight: 700; color: var(--muted);
	background: var(--s2);
}
.hot-rank.is-top { color: #04121c; background: linear-gradient(135deg, var(--accent-2), #fbbf24); }
.hot-title { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-title:hover { color: var(--accent); }
.hot-views { font-size: 12px; color: var(--muted); flex: none; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a {
	padding: 4px 10px; border-radius: 999px;
	background: var(--s1);
	border: 1px solid var(--line);
	color: var(--text-dim); font-size: 12.5px;
}
.tag-cloud a:hover { color: var(--accent); border-color: rgba(56, 189, 248, .35); }

.side-notice p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }

/* ==========================================================================
   资源卡片
   ========================================================================== */

.res-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.res-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.res-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.res-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .35); box-shadow: var(--shadow); }

.res-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.res-card:hover .cover-img { transform: scale(1.04); }

.cover-fallback {
	display: grid; place-items: center; width: 100%; height: 100%;
	background:
		radial-gradient(circle at 30% 20%, hsl(var(--h) 70% 42% / .55), transparent 60%),
		linear-gradient(135deg, hsl(var(--h) 60% 18%), #0b1119);
}
/* 无封面占位：网格纹理 + 首字 + 分类 */
.cover-fallback { position: relative; overflow: hidden; }
.cover-fallback .cf-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 22px 22px; mix-blend-mode: overlay; }
.cover-fallback .cf-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 10px; text-align: center; }
.cover-fallback .cf-mark {
	display: grid; place-items: center;
	width: clamp(38px, 5.4vw, 54px); height: clamp(38px, 5.4vw, 54px);
	border-radius: 16px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: 0 10px 26px -18px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
}
.cover-fallback-char { font-size: clamp(17px, 2.4vw, 24px); font-weight: 800; color: var(--cover-char); letter-spacing: .04em; line-height: 1; }
.cover-fallback .cf-cat { font-size: 10.5px; letter-spacing: .1em; color: rgba(255,255,255,.66); padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.09); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-fallback .cf-note { font-size: 9px; letter-spacing: .18em; color: rgba(255,255,255,.38); text-transform: uppercase; }
html.scheme-light .cover-fallback-char { color: rgba(255, 255, 255, .9); }
html.scheme-light .cover-fallback .cf-mark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .8); }
html.scheme-light .cover-fallback .cf-grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
html.scheme-light .cover-fallback .cf-cat { color: rgba(255,255,255,.66); background: rgba(255,255,255,.09); }
html.scheme-light .cover-fallback .cf-note { color: rgba(255,255,255,.4); }
/* 小尺寸容器里收掉分类标签与纹理密度 */
.upd-item .upd-thumb .cover-fallback .cf-cat,
.sh-rel-thumb .cover-fallback .cf-cat,
.my-res-thumb .cover-fallback .cf-cat,
.sh-sg-thumb .cover-fallback .cf-cat,
.upd-item .upd-thumb .cover-fallback .cf-note,
.sh-rel-thumb .cover-fallback .cf-note,
.my-res-thumb .cover-fallback .cf-note,
.sh-sg-thumb .cover-fallback .cf-note { display: none; }
.upd-item .upd-thumb .cover-fallback-char,
.sh-rel-thumb .cover-fallback-char,
.my-res-thumb .cover-fallback-char,
.sh-sg-thumb .cover-fallback-char { font-size: 12px; }
.upd-item .upd-thumb .cover-fallback .cf-mark,
.sh-rel-thumb .cover-fallback .cf-mark,
.my-res-thumb .cover-fallback .cf-mark,
.sh-sg-thumb .cover-fallback .cf-mark { width: 24px; height: 24px; border-radius: 7px; }

.res-badge {
	position: absolute; left: 10px; top: 10px;
	padding: 3px 9px; border-radius: 7px;
	background: rgba(4, 12, 20, .72);
	border: 1px solid var(--s4);
	backdrop-filter: blur(6px);
	font-size: 11.5px; color: #cfe9ff;
}

.res-body { padding: 13px 15px 15px; }
.res-title { font-size: 15px; line-height: 1.5; margin-bottom: 9px; }
.res-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.res-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
	display: inline-flex; align-items: center; gap: 3px;
	padding: 2px 8px; border-radius: 6px;
	background: rgba(56, 189, 248, .1);
	color: #8fd6ff; font-size: 11.5px;
}
.chip-ghost { background: var(--s2); color: var(--muted); }

.res-foot { display: flex; align-items: center; justify-content: space-between; }
.res-time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.res-btn {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 12px; border-radius: 8px;
	background: rgba(56, 189, 248, .12);
	border: 1px solid rgba(56, 189, 248, .26);
	color: #9adcff; font-size: 12.5px; font-weight: 600;
}
.res-btn:hover { background: var(--accent); color: #04121c; border-color: var(--accent); }

/* ==========================================================================
   归档 / 列表页
   ========================================================================== */

.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; padding: 28px 24px 60px; }
.archive-main { min-width: 0; }

.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--text-dim); }

.archive-head { margin-bottom: 20px; }
.archive-head h1 { font-size: 26px; letter-spacing: -.02em; }
.archive-sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-chip {
	padding: 6px 14px; border-radius: 999px;
	background: var(--s1);
	border: 1px solid var(--line);
	color: var(--text-dim); font-size: 13px;
}
.filter-chip.is-active, .filter-chip:hover { background: rgba(56, 189, 248, .14); border-color: rgba(56, 189, 248, .36); color: #9adcff; }

.empty-box {
	grid-column: 1 / -1;
	padding: 40px 24px; text-align: center;
	background: var(--panel); border: 1px dashed var(--line-strong);
	border-radius: var(--radius); color: var(--muted); font-size: 14px;
}
.empty-box .hero-search { margin-top: 18px; }

/* ==========================================================================
   分页
   ========================================================================== */

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 0; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border-radius: 10px;
	background: var(--s1);
	border: 1px solid var(--line);
	color: var(--text-dim); font-size: 13.5px;
}
.pagination .page-numbers:hover { border-color: rgba(56, 189, 248, .4); color: var(--accent); }
.pagination .page-numbers.current { background: linear-gradient(135deg, var(--accent), #0ea5e9); color: #04121c; border-color: transparent; font-weight: 700; }
.pagination .dots { border: 0; background: none; }

/* ==========================================================================
   详情页
   ========================================================================== */

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; padding: 28px 24px 64px; }
.single-main { min-width: 0; }

.post-article, .page-article {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 28px 22px;
}

.article-cat {
	display: inline-block; padding: 3px 10px; margin-bottom: 12px;
	border-radius: 7px;
	background: rgba(56, 189, 248, .12);
	border: 1px solid rgba(56, 189, 248, .28);
	color: #8fd6ff; font-size: 12px;
}
.article-title { font-size: 28px; line-height: 1.35; letter-spacing: -.02em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 4px; }

.article-cover { margin: 20px 0 6px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }

.res-info { margin-top: 22px; }
.info-list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1px; margin: 0; padding: 0; list-style: none;
	background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.info-list li { display: flex; gap: 10px; padding: 11px 14px; background: var(--card); font-size: 13.5px; }
.info-label { color: var(--muted); flex: none; }
.info-value { color: var(--text); }

.download-panel {
	margin-top: 22px; padding: 18px;
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(56, 189, 248, .1), rgba(56, 189, 248, .03));
	border: 1px solid rgba(56, 189, 248, .24);
}
.download-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.download-head strong { font-size: 15px; }
.download-tip { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.btn-download { flex: none; height: 42px; }

.download-fields { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.field {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 12px; border-radius: 10px;
	background: var(--field-bg); border: 1px solid var(--line);
}
.field-label { flex: none; font-size: 12px; color: var(--muted); }
.field-value {
	flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px; color: var(--field-text);
}
.copy-btn {
	flex: none; display: inline-flex; align-items: center; gap: 4px;
	padding: 5px 10px; border-radius: 8px;
	background: var(--s2); border: 1px solid var(--line-strong);
	color: var(--text-dim); font-size: 12px; cursor: pointer;
}
.copy-btn:hover { background: rgba(56, 189, 248, .18); color: var(--accent); }
.copy-btn.is-copied { background: rgba(52, 211, 153, .18); color: var(--ok); border-color: rgba(52, 211, 153, .4); }

.download-tips { margin-top: 14px; font-size: 13px; color: var(--text-dim); }
.download-tips strong { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text); }
.download-tips p { margin: 0; }

.article-content { margin-top: 24px; font-size: 15.5px; line-height: 1.9; color: var(--text-dim); }
.article-content p { margin: 0 0 16px; }
.article-content h2, .article-content h3 { margin: 26px 0 12px; color: var(--text); }
.article-content h2 { font-size: 19px; }
.article-content h3 { font-size: 16.5px; }
.article-content ul, .article-content ol { padding-left: 22px; margin: 0 0 16px; }
.article-content img { border-radius: 10px; margin: 10px 0; }
.article-content blockquote {
	margin: 18px 0; padding: 12px 16px;
	border-left: 3px solid var(--accent);
	background: rgba(56, 189, 248, .06);
	color: var(--text-dim); border-radius: 0 10px 10px 0;
}
.article-content a { color: var(--accent); }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-content th { background: var(--s1); }
.article-content code { background: var(--s2); padding: 2px 6px; border-radius: 5px; font-size: 13px; }
.article-content pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow: auto; }

.article-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { font-size: 12.5px; color: var(--muted); }
.article-tags a:hover { color: var(--accent); }
.article-disclaimer { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

.related { margin-top: 26px; }
.related .res-grid { margin-top: 4px; }

/* 评论 */
.comments-area { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.comments-title { font-size: 16px; margin-bottom: 14px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-body p { margin: 6px 0 0; color: var(--text-dim); font-size: 14px; }
.comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; margin-bottom: 12px;
	background: var(--s1); border: 1px solid var(--line-strong);
	border-radius: 10px; color: var(--text); outline: 0;
}
.comment-form .submit {
	height: 40px; padding: 0 22px; border: 0; border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), #0ea5e9);
	color: #04121c; font-weight: 700; cursor: pointer;
}

/* ==========================================================================
   侧栏（通用）
   ========================================================================== */

.sidebar { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 88px; }

.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { color: var(--text-dim); }
.cat-list a:hover { color: var(--accent); }
.cat-num { font-size: 12px; color: var(--muted); }

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text-dim); }
.widget ul li a:hover { color: var(--accent); }
.widget .searchform, .widget form { display: flex; gap: 8px; }
.widget input[type="search"], .widget input[type="text"] {
	flex: 1; min-width: 0; height: 38px; padding: 0 12px;
	background: var(--s2); border: 1px solid var(--line-strong);
	border-radius: 10px; color: var(--text); outline: 0;
}
.widget input[type="submit"], .widget button {
	height: 38px; padding: 0 14px; border: 0; border-radius: 10px;
	background: rgba(56, 189, 248, .18); color: #9adcff; cursor: pointer; font-size: 13px;
}
.widget p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.widget { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.widget-title { font-size: 15px; margin-bottom: 12px; }

/* ==========================================================================
   页面 / 404
   ========================================================================== */

.page-layout { padding: 28px 24px 64px; }

.notfound { padding: 90px 24px 110px; text-align: center; }
.notfound-code {
	margin: 0; font-size: 96px; font-weight: 800; line-height: 1;
	background: linear-gradient(135deg, var(--accent), var(--accent-3));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: 24px; margin-top: 8px; }
.notfound-sub { color: var(--muted); margin: 12px auto 0; max-width: 480px; }
.notfound-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }

/* ==========================================================================
   页脚
   ========================================================================== */

/* 页脚 v2 */
.site-footer {
	position: relative;
	margin-top: 40px;
	padding: 0 0 22px;
	overflow: hidden;
	border-top: 0;
	background:
		radial-gradient(760px 320px at 8% 0%, rgba(56, 189, 248, .16), transparent 62%),
		radial-gradient(680px 300px at 96% 12%, rgba(167, 139, 250, .14), transparent 60%),
		linear-gradient(180deg, rgba(5, 8, 14, .96), rgba(3, 5, 9, .99));
	isolation: isolate;
}
.site-footer::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .75), rgba(167, 139, 250, .7), transparent);
	background-size: 220% 100%;
	animation: footLine 9s linear infinite;
}
}
.foot-aurora {
	position: absolute; left: 50%; top: -180px; width: 900px; height: 420px;
	transform: translateX(-50%);
	background: conic-gradient(from 200deg at 50% 50%, rgba(56, 189, 248, .26), rgba(167, 139, 250, .2), rgba(34, 113, 177, .2), rgba(56, 189, 248, .26));
	filter: blur(70px); opacity: .42; pointer-events: none; z-index: -1;
	animation: footFloat 16s ease-in-out infinite;
}
.foot-grid-lines {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(to right, var(--line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, .55), transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, .55), transparent 72%);
	opacity: .55;
}
.foot-watermark {
	position: absolute; right: 44px; bottom: 92px; z-index: -1;
	font-size: 54px; font-weight: 900; letter-spacing: .04em; line-height: 1;
	color: var(--text); opacity: .035; pointer-events: none; user-select: none;
	white-space: nowrap;
}
.foot-inner { position: relative; padding-top: 34px; }

/* 行动条 */
.foot-cta {
	display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
	padding: 22px 26px;
	border-radius: 18px;
	border: 1px solid var(--line-strong);
	background: linear-gradient(120deg, rgba(56, 189, 248, .12), rgba(167, 139, 250, .1) 55%, transparent 85%), var(--card);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}
.foot-cta-copy { min-width: 260px; flex: 1 1 300px; }
.foot-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .16em; color: var(--accent); font-weight: 700; }
.foot-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(56, 189, 248, .18); animation: footPulse 2.4s ease-in-out infinite; }
.foot-cta h3 { margin: 8px 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.foot-cta p { margin: 0; font-size: 12.5px; color: var(--muted); }
@keyframes footLine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes footFloat { 0%, 100% { transform: translateX(-50%) translateY(0) scale(1); } 50% { transform: translateX(-50%) translateY(14px) scale(1.06); } }
@keyframes footPulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

.foot-search {
	display: flex; align-items: center; gap: 8px;
	flex: 1 1 320px; min-width: 260px; max-width: 420px;
	padding: 6px 6px 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--field-bg);
}
.foot-search .ico { color: var(--muted); flex: none; }
.foot-search input {
	flex: 1; min-width: 0;
	padding: 6px 0;
	border: 0; background: transparent; color: var(--text);
	font-family: inherit; font-size: 13px;
}
.foot-search input:focus { outline: 0; }
.foot-search input::placeholder { color: var(--muted); }
.foot-search button {
	padding: 8px 18px; border: 0; border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer;
	white-space: nowrap;
}
.foot-cta-links { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 16px; border-radius: 999px;
	border: 1px solid rgba(56, 189, 248, .5);
	background: rgba(56, 189, 248, .12);
	color: var(--accent); font-size: 12.5px; font-weight: 700; text-decoration: none;
	transition: transform .16s, background .16s;
}
.foot-btn:hover { transform: translateY(-1px); background: rgba(56, 189, 248, .2); }
.foot-btn.is-ghost { border-color: var(--line-strong); background: transparent; color: var(--text-dim); }
.foot-btn.is-ghost:hover { color: var(--text); }

/* 主体 */
.foot-main {
	display: grid; grid-template-columns: 1.5fr 1.15fr 1fr 1fr;
	gap: 30px;
	padding: 34px 4px 26px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 340px; }
.foot-stats { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; }
.foot-stats li {
	flex: 1 1 92px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--s1);
}
.foot-stats em { display: block; font-style: normal; font-size: 17px; font-weight: 800; color: var(--text); line-height: 1.3; }
.foot-stats span { font-size: 11px; color: var(--muted); }

.footer-col h4 { position: relative; margin: 4px 0 14px; padding-left: 12px; font-size: 13.5px; font-weight: 800; color: var(--text); }
.footer-col h4::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #38bdf8, #a78bfa); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--muted); font-size: 12.5px; text-decoration: none;
	transition: color .16s, transform .16s;
}
.footer-col a:hover { color: var(--accent); transform: translateX(2px); }
.foot-tick { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); flex: none; }
.footer-col a:hover .foot-tick { background: var(--accent); }

.foot-chips li { margin-bottom: 8px; }
.foot-chips a {
	width: 100%; justify-content: flex-start;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--s1);
}
.foot-chips a:hover { border-color: rgba(56, 189, 248, .45); background: rgba(56, 189, 248, .08); }
.foot-chips a .ico { color: var(--accent); flex: none; }
.foot-chips a span { flex: 1; color: var(--text-dim); font-size: 12.5px; }
.foot-chips a i { font-style: normal; font-size: 10.5px; color: var(--muted); }

/* 底栏 */
.foot-bottom {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
	padding: 16px 56px 0 4px; border-top: 1px solid var(--line);
	color: var(--muted); font-size: 12px;
}
.foot-copy { margin: 0; }
.foot-copy a { color: var(--muted); text-decoration: none; }
.foot-copy a:hover { color: var(--accent); }
.footer-meta { display: flex; align-items: center; gap: 14px; margin: 0; }
.foot-live { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); }
.foot-live i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .16); }


.back-top {
	position: fixed; right: 22px; bottom: 26px; z-index: 70;
	width: 42px; height: 42px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--panel); border: 1px solid var(--line-strong);
	color: var(--text-dim); cursor: pointer;
	opacity: 0; transform: translateY(10px); pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.back-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.back-top .ico { transform: rotate(-90deg); }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
	.home-columns, .archive-layout, .single-layout { grid-template-columns: minmax(0, 1fr); }
	.home-side { flex-direction: row; flex-wrap: wrap; }
	.home-side > .side-panel { flex: 1 1 300px; }
	.sidebar { position: static; }
	.foot-main { grid-template-columns: 1fr 1fr; }
	.res-grid, .res-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.header-search { display: none; }
	.main-nav { display: none; }
	.icon-btn { display: inline-flex; }
	.mobile-nav[hidden] { display: none; }
	.mobile-nav:not([hidden]) { display: block; }
	.hero { padding: 52px 0 46px; }
	.hero-stats { gap: 32px; margin-top: 30px; }
	.res-grid, .res-grid-2, .res-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr; gap: 20px; }
	.post-article, .page-article { padding: 20px 18px; }
	.article-title { font-size: 22px; }
}

@media (max-width: 560px) {
	.container { padding: 0 16px; }
	.res-grid, .res-grid-2, .res-grid-3 { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-search { height: 50px; padding-left: 42px; }
	.hero-search button { height: 38px; padding: 0 16px; font-size: 14px; }
	.hero-title { font-size: 27px; }
	.home-side > .side-panel { flex: 1 1 100%; }
	.download-head { flex-direction: column; }
	.btn-download { width: 100%; justify-content: center; }
	.notfound-code { font-size: 64px; }
}

/* ==========================================================================
   常亮（白天）配色 —— html.scheme-light
   ========================================================================== */

html.scheme-light {
	--bg: #f6f8fc;
	--bg-soft: #eef2f8;
	--panel: #ffffff;
	--card: #ffffff;
	--card-hover: #f8fbff;
	--line: rgba(15, 23, 42, .09);
	--line-strong: rgba(15, 23, 42, .16);
	--text: #0f172a;
	--text-dim: #475467;
	--muted: #7c889b;
	--s1: rgba(15, 23, 42, .03);
	--s2: rgba(15, 23, 42, .055);
	--s3: rgba(15, 23, 42, .085);
	--s4: rgba(15, 23, 42, .16);
	--header-bg: rgba(255, 255, 255, .96);
	--foot-bg: #eef2f8;
	--code-bg: #f1f5fb;
	--field-bg: #f1f5fb;
	--field-text: #0b4a63;
	--cover-char: rgba(255, 255, 255, .9);
	--shadow: 0 18px 38px -22px rgba(16, 24, 40, .28);
}

html.scheme-light body::before {
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, .16), transparent 62%),
		radial-gradient(760px 460px at 92% 4%, rgba(249, 115, 22, .1), transparent 64%),
		linear-gradient(180deg, #fdfefe 0%, #f2f5fb 100%);
}

html.scheme-light .site-header { box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
html.scheme-light .cover-fallback {
	background:
		radial-gradient(circle at 28% 18%, hsl(var(--h) 72% 44% / .58), transparent 62%),
		linear-gradient(135deg, hsl(var(--h) 58% 22%), #101827 72%, #0b111b);
}
html.scheme-light .cover-fallback-char { color: rgba(255, 255, 255, .9); }
html.scheme-light .hero-glow { opacity: .5; }
html.scheme-light .hero-search { box-shadow: 0 16px 34px -20px rgba(16, 24, 40, .3); }
html.scheme-light .site-footer { border-top-color: rgba(15, 23, 42, .1); }
html.scheme-light .hero-tag { color: #0b6f96; border-color: rgba(56, 189, 248, .32); background: rgba(56, 189, 248, .1); }
html.scheme-light .btn-primary,
html.scheme-light .hero-search button { color: #04222f; }
html.scheme-light .article-content pre { border-color: var(--line-strong); }

/* 深浅色切换按钮 */
.scheme-toggle {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-strong);
	background: var(--s2);
	color: var(--text-dim);
	cursor: pointer;
	transition: color .18s ease, background .18s ease, transform .18s ease;
}
.scheme-toggle:hover { color: var(--accent); background: var(--s3); transform: translateY(-1px); }
.scheme-toggle .ico-sun { display: none; }
.scheme-toggle .ico-moon { display: block; }
html.scheme-dark .scheme-toggle .ico-sun { display: block; }
html.scheme-dark .scheme-toggle .ico-moon { display: none; }

html.scheme-light .res-btn,
html.scheme-light .filter-chip.is-active,
html.scheme-light .article-cat,
html.scheme-light .widget input[type="submit"],
html.scheme-light .widget button { color: #0b6f96; }
html.scheme-light .res-badge { background: rgba(255, 255, 255, .86); color: #0b3d52; border-color: rgba(15, 23, 42, .12); }
html.scheme-light .copy-btn:hover { color: #0b6f96; }

/* ==========================================================================
   首页模块系统
   ========================================================================== */

.m-section { padding: 34px 0 6px; }
.m-section > .container { position: relative; }
.section-sub { color: var(--muted); font-size: 12.5px; }

/* 首屏：光晕渐变（炫酷） */
.hero--aurora {
	position: relative;
	overflow: hidden;
	padding: 92px 0 84px;
	background: #060912;
	color: #fff;
	isolation: isolate;
}
.hero--aurora::before {
	content: "";
	position: absolute; inset: -20% -10%;
	background:
		radial-gradient(46% 42% at 18% 20%, rgba(56, 189, 248, .5), transparent 62%),
		radial-gradient(42% 40% at 82% 14%, rgba(167, 139, 250, .45), transparent 64%),
		radial-gradient(46% 44% at 62% 82%, rgba(249, 115, 22, .34), transparent 66%),
		linear-gradient(160deg, #071021 0%, #060912 58%, #0a0f1c 100%);
	z-index: -2;
}
.hero--aurora::after {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: .5;
	z-index: -1;
	pointer-events: none;
}
.hero-orbs span {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .55;
	animation: orbs-float 14s ease-in-out infinite alternate;
}
.hero-orbs span:nth-child(1) { width: 320px; height: 320px; left: 6%; top: 8%; background: rgba(56, 189, 248, .55); }
.hero-orbs span:nth-child(2) { width: 280px; height: 280px; right: 8%; top: 4%; background: rgba(167, 139, 250, .5); animation-delay: -5s; }
.hero-orbs span:nth-child(3) { width: 340px; height: 340px; left: 45%; bottom: -12%; background: rgba(249, 115, 22, .4); animation-delay: -9s; }
@keyframes orbs-float {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(30px, -40px, 0) scale(1.12); }
}

/* 首屏：背景大图 / 纯色 */
.hero--image {
	position: relative;
	padding: 100px 0 88px;
	background-size: cover;
	background-position: center;
	color: #fff;
}
.hero--image::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(4, 8, 16, .55), rgba(4, 8, 16, .88));
	z-index: -1;
}
.hero--image .hero-glow { display: none; }
.hero--plain {
	padding: 74px 0 62px;
	background:
		radial-gradient(760px 420px at 20% -10%, rgba(56, 189, 248, .16), transparent 62%),
		var(--bg);
}
.hero--plain .hero-glow { opacity: .5; }

/* 光晕版文字与控件微调 */
.hero--aurora .hero-title { text-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.hero--aurora .hero-tag,
.hero--image .hero-tag {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .26);
	color: #d9f0ff;
	backdrop-filter: blur(8px);
}
.hero--aurora .hero-sub,
.hero--image .hero-sub { color: rgba(233, 238, 247, .82); }
.hero--aurora .hero-chips .hero-chip,
.hero--image .hero-chip {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .2);
	color: #dfeaf8;
}
.hero--aurora .hero-stats strong,
.hero--image .hero-stats strong { color: #fff; }
.hero--aurora .hero-stats span,
.hero--image .hero-stats span { color: rgba(233, 238, 247, .62); }
.hero--aurora .hero-search,
.hero--image .hero-search {
	background: rgba(255, 255, 255, .09);
	border-color: rgba(255, 255, 255, .18);
	backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px -22px rgba(0, 0, 0, .8);
}
.hero--aurora .hero-search input,
.hero--image .hero-search input { color: #fff; }
.hero--aurora .hero-search input::placeholder,
.hero--image .hero-search input::placeholder { color: rgba(233, 238, 247, .55); }
.hero--aurora .hero-search-ico,
.hero--image .hero-search-ico { color: rgba(233, 238, 247, .7); }
.hero-cta { margin-top: 22px; text-align: center; }

/* 图标宫格 */
.icon-grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.icon-card {
	position: relative;
	display: flex; align-items: center; gap: 12px;
	padding: 16px 18px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.icon-card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(56, 189, 248, .14), transparent 70%);
	opacity: 0;
	transition: opacity .25s ease;
}
.icon-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .45); box-shadow: var(--shadow); }
.icon-card:hover::after { opacity: 1; }
.icon-emoji {
	width: 46px; height: 46px; flex: none;
	display: grid; place-items: center;
	font-size: 22px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(56, 189, 248, .2), rgba(167, 139, 250, .22));
	border: 1px solid rgba(56, 189, 248, .28);
}
.icon-label { font-weight: 600; font-size: 14.5px; }

/* 榜单 */
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rank-item {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 14px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	transition: border-color .2s ease, transform .2s ease;
}
.rank-item:hover { border-color: rgba(56, 189, 248, .4); transform: translateX(3px); }
.rank-no {
	width: 26px; height: 26px; flex: none; border-radius: 8px;
	display: grid; place-items: center;
	font-size: 12px; font-weight: 800;
	background: var(--s2); color: var(--text-dim);
}
.rank-no.is-top { background: linear-gradient(135deg, var(--accent-2), #fbbf24); color: #241203; }
.rank-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-cat { font-size: 11.5px; color: var(--accent); background: rgba(56, 189, 248, .12); padding: 2px 8px; border-radius: 6px; flex: none; }
.rank-views { font-size: 12px; color: var(--muted); flex: none; }

/* 横幅 */
.banner-inner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.banner-inner img { width: 100%; display: block; transition: transform .35s ease; }
.banner-inner:hover img { transform: scale(1.02); }
.banner-text {
	position: absolute; left: 24px; bottom: 20px;
	font-size: 15px; font-weight: 700; color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}

/* Logo 墙 */
.brand-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brand-item {
	display: grid; place-items: center;
	padding: 16px;
	background: var(--card); border: 1px solid var(--line); border-radius: 12px;
	min-height: 84px;
	transition: border-color .2s ease, transform .2s ease;
}
.brand-item img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(.2); transition: filter .2s ease; }
.brand-item:hover { border-color: rgba(56, 189, 248, .45); transform: translateY(-3px); }
.brand-item:hover img { filter: none; }

/* 公告 */
.notice-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.notice-ico { color: var(--accent-2); display: inline-flex; }
.notice-inner strong { font-size: 13.5px; }
.notice-lines { flex: 1 1 100%; display: grid; gap: 2px; color: var(--text-dim); font-size: 13px; }
.notice-lines p { margin: 0; }
.m-notice--bar .notice-inner { border-radius: 0; border-left: 0; border-right: 0; background: linear-gradient(90deg, rgba(56, 189, 248, .12), rgba(167, 139, 250, .12)); }
.m-notice--marquee .notice-lines p { animation: marquee-fade 9s linear infinite; }

/* 小工具区 */
.m-widgets .widget-grid { display: grid; gap: 16px; }
.m-widgets .widget-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-widgets .widget-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.widget-ad img { width: 100%; border-radius: 12px; }

/* 自由 HTML */
.m-html .html-body { color: var(--text-dim); }

@media (max-width: 900px) {
	.icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero--aurora { padding: 68px 0 60px; }
	.hero--image { padding: 72px 0 60px; }
	.m-widgets .widget-grid.cols-2,
	.m-widgets .widget-grid.cols-3 { grid-template-columns: 1fr; }
}

html.scheme-light .rank-cat { color: #0b6f96; background: rgba(56, 189, 248, .16); }
html.scheme-light .icon-card { box-shadow: 0 10px 26px -22px rgba(16, 24, 40, .5); }

@media (max-width: 640px) {
	.rank-cat { display: none; }
	.rank-item { padding: 10px 12px; gap: 10px; }
	.rank-views { font-size: 11.5px; }
	.m-section { padding: 26px 0 4px; }
	.icon-card { padding: 13px 14px; }
	.icon-emoji { width: 40px; height: 40px; font-size: 19px; }
}

/* ==========================================================================
   付费解锁 / 会员中心
   ========================================================================== */

.sh-msg { padding: 11px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 13.5px; }
.sh-msg-ok { background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35); color: #067a58; }
.sh-msg-err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #b42318; }
html.scheme-dark .sh-msg-ok { color: #6ee7b7; }
html.scheme-dark .sh-msg-err { color: #fca5a5; }

.paywall { position: relative; margin: 26px 0 8px; }
.paywall-blur { display: grid; gap: 14px; margin-bottom: -60px; padding: 0 4px; opacity: .45; filter: blur(6px); pointer-events: none; }
.paywall-blur span { display: block; height: 14px; border-radius: 4px; background: var(--s3); }
.paywall-card {
	position: relative;
	max-width: 520px; margin: 0 auto;
	padding: 30px 28px 24px;
	text-align: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35);
	background-image: linear-gradient(180deg, rgba(56, 189, 248, .08), transparent 40%);
}
.paywall-lock {
	width: 54px; height: 54px; margin: 0 auto 14px;
	display: grid; place-items: center;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(56, 189, 248, .2), rgba(167, 139, 250, .24));
	color: var(--accent);
}
.paywall-title { margin: 0 0 6px; font-size: 18px; }
.paywall-sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.paywall-tip.is-ok { color: #0b8a63; font-size: 12.5px; }
.paywall-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 18px; }
.paywall-amount { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.5px; }
.paywall-amount-label { font-size: 12px; color: var(--muted); }
.paywall-form { margin: 0; }
.btn-block { width: 100%; justify-content: center; padding: 12px 18px; font-size: 14.5px; }
.paywall-balance { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.paywall-balance a { color: var(--accent); }
.paywall-vip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--accent-2); text-decoration: none; }
.paywall-vip:hover { text-decoration: underline; }
.paywall-card-redeem { margin-top: 14px; text-align: left; border-top: 1px dashed var(--line); padding-top: 12px; }
.paywall-card-redeem summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.paywall-card-redeem form { display: flex; gap: 8px; margin-top: 10px; }
.paywall-card-redeem input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--field-bg); color: var(--field-text); font-size: 13px; }
.paywall-note { margin: 14px 0 0; font-size: 11.5px; color: var(--muted); }

/* 会员中心 */
.vip-page { padding: 8px 0 0; }
.vip-head { margin-bottom: 18px; }
.vip-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 26px; font-size: 13px; }
.vip-status-badge { padding: 3px 10px; border-radius: 8px; background: var(--s3); font-weight: 700; font-size: 12px; }
.vip-status-badge.is-on { background: linear-gradient(135deg, rgba(251, 191, 36, .22), rgba(56, 189, 248, .22)); color: var(--accent-2); }
.vip-status a { color: var(--accent); }
.vip-plans { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0 34px; }
.vip-plan { position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.vip-plan:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .45); box-shadow: var(--shadow); }
.vip-plan.is-hot { border-color: rgba(56, 189, 248, .55); box-shadow: 0 24px 50px -28px rgba(56, 189, 248, .55); }
.vip-hot { position: absolute; top: -11px; right: 16px; padding: 2px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f97316, #ef4444); }
.vip-plan-name { margin: 0 0 8px; font-size: 15px; }
.vip-plan-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.vip-plan-price strong { font-size: 26px; color: var(--accent); }
.vip-plan-price del { font-size: 12px; color: var(--muted); }
.vip-plan-days { margin: 4px 0 14px; font-size: 12px; color: var(--muted); }
.vip-plan-rights { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; display: grid; gap: 6px; font-size: 12.5px; color: var(--text-dim); }
.vip-plan-rights li::before { content: "✓"; color: var(--accent); margin-right: 6px; }
.vip-extra { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vip-card-box { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.vip-redeem { display: flex; gap: 8px; margin-top: 10px; }
.vip-redeem input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--field-bg); color: var(--field-text); font-size: 13px; }

@media (max-width: 860px) {
	.vip-plans { grid-template-columns: 1fr; }
	.vip-extra { grid-template-columns: 1fr; }
	.paywall-card { padding: 24px 20px 20px; }
}

/* 幻灯片 / 轮播 */
.m-slides { padding-top: 30px; }
.slides {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--s2);
	aspect-ratio: 21 / 9;
}
.slides[style] { aspect-ratio: auto; height: var(--slide-h); }
.slides-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide-link { display: block; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(4, 8, 16, .72) 0%, rgba(4, 8, 16, .35) 45%, rgba(4, 8, 16, 0) 72%);
	pointer-events: none;
}
.slide-cap { position: absolute; left: 34px; bottom: 30px; z-index: 2; color: #fff; max-width: 56%; }
.slide-cap strong { display: block; font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.slide-cap span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); }
.slides-dots { position: absolute; left: 34px; bottom: 16px; display: flex; gap: 6px; z-index: 3; }
.slide-dot { width: 18px; height: 3px; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.slide-dot.is-on { background: #fff; width: 30px; }
.slide-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
	background: rgba(6, 10, 18, .45); color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
	display: grid; place-items: center; backdrop-filter: blur(6px); z-index: 3; transition: background .2s;
}
.slide-nav:hover { background: rgba(6, 10, 18, .7); }
.slide-nav.prev { left: 14px; }
.slide-nav.next { right: 14px; }
@media (max-width: 720px) {
	.slides { aspect-ratio: 16 / 9; }
	.slide-cap { left: 16px; bottom: 20px; max-width: 78%; }
	.slide-cap span { display: none; }
	.slide-nav { display: none; }
	.slides-dots { left: 16px; }
}

/* ==========================================================================
   付费资源站版式：头条轮播 + 分类胶囊 + 列表流（左图右文 + 右侧栏）
   ========================================================================== */

.m-feature { padding: 22px 0 6px; }
.feature-wrap { display: grid; grid-template-columns: 1.58fr 1fr; gap: 16px; }
.feature-big {
	position: relative; display: block; overflow: hidden;
	min-height: 430px; border-radius: 18px; background: #0d1420;
	box-shadow: 0 24px 60px -32px rgba(15, 23, 42, .55);
}
.feature-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-big:hover img { transform: scale(1.03); }
.feature-big::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(6, 10, 18, .18) 0%, rgba(6, 10, 18, .5) 46%, rgba(6, 10, 18, .92) 100%);
}
.feature-badges { position: absolute; left: 22px; top: 20px; display: flex; gap: 8px; z-index: 2; }
.fbadge { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; }
.fbadge.is-cat { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.fbadge.is-paid { background: linear-gradient(135deg, #f97316, #ef4444); }
.feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; z-index: 2; }
.feature-title { display: block; color: #fff; font-size: clamp(20px, 2.1vw, 27px); font-weight: 800; line-height: 1.28; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.feature-sub { display: block; margin-top: 10px; color: rgba(232, 238, 248, .82); font-size: 13px; line-height: 1.6; max-width: 92%; }
.feature-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: rgba(232, 238, 248, .62); font-size: 12px; }
.feature-price { color: #ffd479; font-weight: 800; font-size: 14px; }

.feature-small { display: grid; gap: 16px; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.feature-mini { position: relative; display: block; overflow: hidden; border-radius: 18px; background: #0d1420; min-height: 200px; }
.feature-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-mini:hover img { transform: scale(1.04); }
.feature-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,18,.1), rgba(6,10,18,.85)); }
.feature-mini .feature-body { padding: 18px 18px; }
.feature-mini strong { display: block; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 700; }
.feature-mini .feature-meta { margin-top: 8px; }

/* 分类胶囊 */
.m-tabsbar { padding: 20px 0 4px; }
.tabs-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab-pill {
	flex: none; padding: 9px 18px; border-radius: 999px; font-size: 13px;
	background: var(--s2); color: var(--text-dim); border: 1px solid var(--line);
	transition: all .18s ease;
}
.tab-pill:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.tab-pill.is-on { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; font-weight: 700; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent-deep) 70%, transparent); }

/* 列表流 */
.m-feed { padding: 26px 0 10px; }
.feed-layout { display: grid; gap: 26px; }
.feed-layout.has-side { grid-template-columns: minmax(0, 1fr) 330px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feed-title { position: relative; margin: 0; padding-left: 14px; font-size: 19px; font-weight: 800; }
.feed-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #38bdf8, #2271b1); }
.feed-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.feed-more:hover { color: var(--accent); }

.feed-list { display: grid; gap: 12px; }
.feed-item {
	display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 16px;
	padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feed-item:hover { border-color: rgba(56, 189, 248, .45); box-shadow: var(--shadow); transform: translateY(-2px); }
.feed-thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--s2); }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 30px; font-weight: 800; color: var(--muted); }
.feed-price { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 8px; background: rgba(15, 23, 42, .82); color: #ffd479; font-size: 12px; font-weight: 700; }
.feed-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.feed-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.ftag { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: rgba(56, 189, 248, .14); color: #0b6f96; }
.ftag.is-paid { background: rgba(249, 115, 22, .16); color: #c2410c; }
html.scheme-dark .ftag { color: #7dd3fc; }
html.scheme-dark .ftag.is-paid { color: #fdba74; }
.feed-item-title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.45; margin-bottom: 6px; }
.feed-excerpt { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.feed-meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.feed-meta .fm { display: inline-flex; align-items: center; gap: 4px; }
.feed-meta .fm svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; opacity: .8; }

/* 右侧栏 */
.feed-side { display: grid; gap: 16px; align-content: start; position: sticky; top: 84px; }
.side-card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 16px 16px 8px; }
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.side-head h3 { margin: 0; font-size: 14.5px; font-weight: 800; }
.side-badge { font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.side-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-rank li a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-radius: 8px; transition: background .18s ease; }
.side-rank li a:hover { background: var(--s2); }
.side-no { width: 22px; height: 22px; flex: none; border-radius: 6px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: var(--s3); color: var(--text-dim); }
.side-no.is-top { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; }
.side-rank-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-price { flex: none; font-size: 11.5px; font-weight: 700; color: #e8590c; }

.side-vip {
	border-radius: 16px; padding: 18px;
	color: #fff; background: linear-gradient(150deg, #1c66c9 0%, #2f8ee0 55%, #4fb6ea 100%);
	box-shadow: 0 22px 44px -26px rgba(31, 122, 224, .8);
}
.side-vip-head { font-size: 13px; font-weight: 700; opacity: .92; }
.side-vip-price { margin: 8px 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.side-vip-price span { font-size: 12px; font-weight: 500; opacity: .8; }
.side-vip-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 5px; font-size: 12px; opacity: .92; }
.side-vip-list li::before { content: "✓"; margin-right: 6px; opacity: .9; }
.btn-vip { display: block; text-align: center; padding: 10px 14px; border-radius: 10px; background: #fff; color: #1c66c9 !important; font-weight: 700; font-size: 13px; }

@media (max-width: 980px) {
	.feature-wrap { grid-template-columns: 1fr; }
	.feature-big { min-height: 320px; }
	.feature-small { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.feature-mini { min-height: 170px; }
	.feed-layout.has-side { grid-template-columns: 1fr; }
	.feed-side { position: static; }
	.feed-item { grid-template-columns: 148px minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.feed-item { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.feed-excerpt { display: none; }
	.feature-small { grid-template-columns: 1fr; }
	.feature-big { min-height: 260px; }
	.feature-sub { display: none; }
}

/* ============ 头部版式 B：轮播 + 右栏推荐 + 快捷入口条 ============ */
.m-headb .hb-main { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: stretch; }

/* 轮播 */
.m-headb .hb-slider { position: relative; border-radius: 18px; overflow: hidden; background: #0f1720; min-height: 390px; }
.m-headb .hb-track { position: relative; height: 100%; min-height: 390px; }
.m-headb .hb-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .5s ease; text-decoration: none; }
.m-headb .hb-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.m-headb .hb-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-headb .hb-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 18, .96) 0%, rgba(6, 10, 18, .9) 38%, rgba(6, 10, 18, .6) 70%, rgba(6, 10, 18, .34) 100%), linear-gradient(180deg, rgba(6, 10, 18, .1) 40%, rgba(6, 10, 18, .88) 100%); }
.m-headb .hb-slide img { filter: blur(2px) brightness(.72) saturate(.95); transform: scale(1.04); }
.m-headb .hb-slide-body { position: absolute; left: 34px; right: 34px; bottom: 34px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #fff; width: auto; max-width: calc(100% - 68px); }
.m-headb .hb-title { max-width: 100%; white-space: normal; word-break: break-word; }
.m-headb .hb-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #ff5d8f, #ff2f6d); color: #fff; font-size: 12px; font-weight: 700; }
.m-headb .hb-title { text-wrap: balance; font-size: 32px; line-height: 1.24; font-weight: 800; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0, 0, 0, .7), 0 4px 24px rgba(0, 0, 0, .6); }
.m-headb .hb-sub { font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.m-headb .hb-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 11px 22px; border-radius: 999px; background: #fff; color: #111827; font-size: 14px; font-weight: 700; }
.m-headb .hb-btn em { font-style: normal; }
.m-headb .hb-slide-meta { display: flex; gap: 12px; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .62); }
.m-headb .hb-slide-meta .hb-price { color: #ffd479; font-weight: 700; }
.m-headb .hb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.m-headb .hb-arrow.is-prev { left: 14px; }
.m-headb .hb-arrow.is-next { right: 14px; }
.m-headb .hb-arrow:hover { background: rgba(255, 255, 255, .32); }
.m-headb .hb-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: flex; gap: 7px; }
.m-headb .hb-dot { width: 8px; height: 8px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; }
.m-headb .hb-dot.is-active { background: #fff; width: 18px; border-radius: 4px; }

/* 右栏 */
.m-headb .hb-side { display: flex; flex-direction: column; padding: 20px 22px; border-radius: 18px; background: #121922; color: #fff; min-width: 0; }
.m-headb .hb-tabs { display: flex; align-items: center; gap: 22px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.m-headb .hb-tab { position: relative; padding: 0 0 8px; border: 0; background: none; color: rgba(255, 255, 255, .58); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.m-headb .hb-tab.is-active { color: #fff; }
.m-headb .hb-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #38bdf8, #6366f1); }
.m-headb .hb-more { margin-left: auto; font-size: 12.5px; color: rgba(255, 255, 255, .5); text-decoration: none; }
.m-headb .hb-more:hover { color: #38bdf8; }
.m-headb .hb-list { display: none; flex-direction: column; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.m-headb .hb-list.is-active { display: flex; flex: 1 1 auto; justify-content: space-between; }
.m-headb .hb-list a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-radius: 8px; color: #e6ecf5; text-decoration: none; }
.m-headb .hb-list a:hover { color: #38bdf8; }
.m-headb .hb-no { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .12); color: #fff; }
.m-headb .hb-no-1 { background: linear-gradient(135deg, #ff6b9d, #ff2f6d); }
.m-headb .hb-no-2 { background: linear-gradient(135deg, #ff9f6b, #ff6a3d); }
.m-headb .hb-no-3 { background: linear-gradient(135deg, #7c8cff, #4f46e5); }
.m-headb .hb-li-title { flex: 1 1 auto; min-width: 0; font-size: 13.5px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-headb .hb-li-date { flex: 0 0 auto; font-size: 12px; color: rgba(255, 255, 255, .42); }
.m-headb .hb-empty { padding: 10px 0; color: rgba(255, 255, 255, .45); font-size: 13px; }

/* 快捷入口条（放在轮播下面） */
.m-headb .hb-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.m-headb .hb-qc { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #171e27; color: #fff; text-decoration: none; transition: .18s; }
.m-headb .hb-qc:hover { background: #1e2732; transform: translateY(-2px); }
.m-headb .hb-qc-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: radial-gradient(circle at 30% 25%, #2b3a4b, #131a22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.m-headb .hb-qc-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.m-headb .hb-qc-text strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.m-headb .hb-qc-text em { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.m-headb .hb-qc-arrow { flex: 0 0 auto; font-size: 16px; color: rgba(255, 255, 255, .35); }

@media (max-width: 1080px) {
	.m-headb .hb-main { grid-template-columns: minmax(0, 1fr) 320px; }
	.m-headb .hb-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.m-headb .hb-main { grid-template-columns: minmax(0, 1fr); }
	.m-headb .hb-slider { min-height: 260px; }
	.m-headb .hb-track { min-height: 260px; }
	.m-headb .hb-slide-body { left: 18px; right: 18px; bottom: 20px; gap: 8px; }
	.m-headb .hb-title { font-size: 21px; }
	.m-headb .hb-sub { font-size: 13px; display: none; }
	.m-headb .hb-btn { padding: 9px 16px; font-size: 13px; }
	.m-headb .hb-arrow { display: none; }
	.m-headb .hb-side { padding: 16px; }
	.m-headb .hb-tabs { gap: 16px; }
	.m-headb .hb-tab { font-size: 13.5px; }
	.m-headb .hb-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.m-headb .hb-qc { padding: 12px; }
	.m-headb .hb-qc-icon { flex: 0 0 34px; width: 34px; height: 34px; font-size: 16px; }
	.m-headb .hb-qc-text strong { font-size: 13px; }
}

/* ============ 头部版式 B：白天（浅色）配色 ============ */
html.scheme-light .m-headb .hb-side {
	background: #fff;
	color: var(--text);
	border: 1px solid var(--line);
	box-shadow: 0 16px 34px -26px rgba(16, 24, 40, .35);
}
html.scheme-light .m-headb .hb-tabs { border-bottom-color: rgba(15, 23, 42, .08); }
html.scheme-light .m-headb .hb-tab { color: var(--muted); }
html.scheme-light .m-headb .hb-tab.is-active { color: var(--text); }
html.scheme-light .m-headb .hb-more { color: var(--muted); }
html.scheme-light .m-headb .hb-more:hover { color: var(--accent); }
html.scheme-light .m-headb .hb-list a { color: var(--text); }
html.scheme-light .m-headb .hb-list a:hover { color: var(--accent); }
html.scheme-light .m-headb .hb-li-date { color: var(--muted); }
html.scheme-light .m-headb .hb-no { background: rgba(15, 23, 42, .06); color: #475467; }
html.scheme-light .m-headb .hb-no-1 { background: linear-gradient(135deg, #ff6b9d, #ff2f6d); color: #fff; }
html.scheme-light .m-headb .hb-no-2 { background: linear-gradient(135deg, #ff9f6b, #ff6a3d); color: #fff; }
html.scheme-light .m-headb .hb-no-3 { background: linear-gradient(135deg, #7c8cff, #4f46e5); color: #fff; }
html.scheme-light .m-headb .hb-empty { color: var(--muted); }
html.scheme-light .m-headb .hb-qc {
	background: #fff;
	border: 1px solid var(--line);
	color: var(--text);
	box-shadow: 0 10px 26px -22px rgba(16, 24, 40, .32);
}
html.scheme-light .m-headb .hb-qc:hover { background: #f8fbff; border-color: rgba(56, 189, 248, .42); }
html.scheme-light .m-headb .hb-qc-icon { background: #eef4fb; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06); }
html.scheme-light .m-headb .hb-qc-text em { color: var(--muted); }
html.scheme-light .m-headb .hb-qc-arrow { color: rgba(15, 23, 42, .35); }
html.scheme-light .m-headb .hb-slider { box-shadow: 0 18px 40px -30px rgba(16, 24, 40, .45); }

/* ============ 详情页 v1.8：左内容 + 右栏（专栏/目录/会员） ============ */
.single-wrap { padding: 26px 0 64px; }
.single-wrap .pay-msg { margin-bottom: 16px; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 24px; align-items: start; }
.article-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.article-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }

/* 头部 */
.single-wrap .post-article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px 34px 28px; box-shadow: 0 18px 40px -34px rgba(16, 24, 40, .4); }
.article-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.aflag { display: inline-block; padding: 4px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.aflag.is-top { background: rgba(249, 115, 22, .12); color: #c2410c; }
.aflag.is-cat { background: rgba(56, 189, 248, .13); color: #0369a1; }
.aflag.is-paid { background: rgba(168, 85, 247, .14); color: #7e22ce; }
html.scheme-dark .aflag.is-top { background: rgba(249, 115, 22, .18); color: #fdba74; }
html.scheme-dark .aflag.is-cat { background: rgba(56, 189, 248, .18); color: #7dd3fc; }
html.scheme-dark .aflag.is-paid { background: rgba(168, 85, 247, .2); color: #d8b4fe; }

.single-wrap .article-title { font-size: 33px; line-height: 1.32; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; }
.single-wrap .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.single-wrap .article-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.am-author { gap: 8px !important; color: var(--text-dim); font-weight: 600; }
.am-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }

/* 正文排版 */
.single-wrap .article-content { margin-top: 22px; font-size: 15.5px; line-height: 1.95; color: var(--text-dim); }
.single-wrap .article-content h2 { position: relative; padding-left: 14px; font-size: 19px; font-weight: 800; color: var(--text); }
.single-wrap .article-content h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #38bdf8, #2271b1); }
.single-wrap .article-content h3 { font-weight: 700; color: var(--text); }

/* 右栏：所属专栏 */
.side-column { border-radius: 16px; padding: 22px; color: #fff; background: linear-gradient(150deg, #26324d 0%, #1a2338 55%, #121828 100%); box-shadow: 0 18px 36px -28px rgba(18, 24, 40, .9); border: 1px solid rgba(255,255,255,.06); }
.side-column .sc-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; opacity: .92; }
.side-column .sc-ico { font-size: 15px; }
.side-column .sc-name { display: block; margin: 10px 0 12px; font-size: 17px; font-weight: 800; }
.side-column .sc-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .9); }
.side-column .sc-btn { display: block; text-align: center; padding: 10px 0; border-radius: 9px; background: #fff; color: #1a2338; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.side-column .sc-btn:hover { background: #eef2f9; }

/* 侧栏：资源获取 / 快速购买卡 */
.side-buy { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 14px 32px -26px rgba(20, 40, 90, .5); }
.side-buy .sb-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.side-buy .sb-head .sc-ico { color: var(--accent); }
.side-buy .sb-tag { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.sb-tag.is-paid { color: #c62b45; background: #fdeef1; }
.sb-tag.is-vip { color: #8a5a00; background: #fff5dd; }
.sb-tag.is-ok { color: #16803c; background: #e9f9ef; }
.sb-tag.is-free { color: #16803c; background: #e9f9ef; }
.sb-cover { border-radius: 11px; overflow: hidden; aspect-ratio: 16/9; background: var(--s1); }
.sb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 12px; flex-wrap: wrap; }
.sb-price strong { font-size: 24px; font-weight: 800; color: #d2453f; letter-spacing: -.5px; }
.sb-price strong.is-free, .sb-price strong.is-ok { font-size: 17px; color: #16803c; }
.sb-price span { font-size: 12px; color: var(--muted); }
.side-buy .sb-btn { display: block; width: 100%; text-align: center; padding: 11px 0; border-radius: 10px; font-size: 14.5px; font-weight: 700; }
.side-buy .sb-sub { display: block; text-align: center; margin-top: 9px; font-size: 12.5px; color: var(--accent); text-decoration: none; }
.side-buy .sb-sub:hover { text-decoration: underline; }
.side-buy .sb-user { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.side-buy .sb-user b { color: var(--text); font-size: 13.5px; }
.side-buy .sb-user a { color: var(--accent); text-decoration: none; font-weight: 600; }
.side-buy .sb-foot { margin-top: 8px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 980px) { .side-buy { position: static; display: none; } }


/* 资源卡价格档位 */
.res-price.is-vip { background: linear-gradient(135deg, #f6c445, #e09b18); color: #3b2400; border-color: rgba(255, 224, 130, .5); }
.res-price.is-owned { background: rgba(16, 185, 129, .92); color: #04241a; border-color: rgba(110, 231, 183, .5); }
html.scheme-light .res-price.is-vip { box-shadow: 0 6px 16px -10px rgba(224, 155, 24, .9); }
html.scheme-light .res-price.is-owned { box-shadow: 0 6px 16px -10px rgba(16, 185, 129, .9); }

/* 资源卡 hover 快速查看 */
.res-cover { position: relative; }
.res-cover .res-quick { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: all .28s ease; padding: 8px 16px; border-radius: 999px; background: rgba(8, 16, 32, .78); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.res-cover .res-quick em { font-style: normal; color: #7dd3fc; }
.res-card:hover .res-cover .res-quick { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .res-cover .res-quick { display: none; } }


/* 首页：本周更新 */
.m-updates { padding: 6px 0 42px; }
.upd-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
.upd-stat { background: linear-gradient(155deg, #23324f, #131b2c 70%); border-radius: 18px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.upd-stat h3 { margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.upd-stat h3 em { font-style: normal; color: #7dd3fc; }
.upd-nums { display: flex; gap: 10px; }
.upd-num { flex: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; padding: 12px 10px; text-align: center; }
.upd-num b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.upd-num span { font-size: 11.5px; color: rgba(255, 255, 255, .72); }
.upd-stat .upd-more { margin-top: auto; font-size: 12.5px; color: #a6c8ff; text-decoration: none; }
.upd-list { display: flex; flex-direction: column; gap: 10px; }
.upd-day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.upd-day-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.upd-day-head b { font-size: 13px; color: var(--text); }
.upd-day-head i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.upd-day-head .upd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.upd-day.is-today .upd-day-head b { color: var(--accent); }
.upd-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upd-item { display: flex; gap: 9px; align-items: center; text-decoration: none; min-width: 0; }
.upd-item .upd-thumb { width: 46px; height: 34px; border-radius: 7px; overflow: hidden; flex: 0 0 auto; background: var(--s1); }
.upd-item .upd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upd-item .upd-txt { min-width: 0; }
.upd-item .upd-txt strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upd-item .upd-txt em { font-style: normal; font-size: 11px; color: var(--muted); }
.upd-item:hover .upd-txt strong { color: var(--accent); }
@media (max-width: 1080px) { .upd-layout { grid-template-columns: 1fr; } .upd-rows { grid-template-columns: 1fr; } }


/* 搜索联想下拉 */
.header-search, .mobile-search { position: relative; }
.sh-suggest { position: absolute; left: auto; right: 0; top: calc(100% + 8px); width: 420px; max-width: calc(100vw - 24px); z-index: 120; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(15, 35, 70, .55); padding: 6px; display: none; max-height: 420px; overflow: auto; text-align: left; }
.sh-suggest.is-open { display: block; }
.sh-sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.sh-sg-item:hover { background: var(--s1); }
.sh-sg-thumb { width: 42px; height: 32px; border-radius: 6px; overflow: hidden; flex: 0 0 auto; background: var(--s1); }
.sh-sg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-sg-txt { min-width: 0; flex: 1; }
.sh-sg-txt strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-sg-txt em { font-style: normal; font-size: 11px; color: var(--muted); }
.sh-sg-price { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #d2453f; }
.sh-sg-price.is-free { color: #16803c; }
.sh-sg-empty { padding: 12px; font-size: 12.5px; color: var(--muted); }
.sh-sg-all { display: block; margin-top: 4px; padding: 9px 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--accent); text-decoration: none; text-align: center; }
.sh-sg-all:hover { background: var(--s1); border-radius: 10px; }
@media (max-width: 860px) { .sh-suggest { position: fixed; left: 12px; right: 12px; top: 122px; } }

/* 右栏：本文目录 */
.side-toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.side-card-head { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.side-card-head .sc-ico { color: var(--accent); }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow: auto; }
.toc-list a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-dim); text-decoration: none; }
.toc-list a:hover { background: var(--s1); color: var(--accent); }
.toc-list .toc-l3 a { padding-left: 24px; font-size: 12.5px; color: var(--muted); }

/* 右栏：会员卡 */
.side-vip-card { border-radius: 16px; padding: 22px; color: #fff; background: linear-gradient(140deg, #2f86ff 0%, #1f6cf0 55%, #1656d6 100%); box-shadow: 0 18px 36px -26px rgba(22, 86, 214, .9); }
.side-vip-card .svc-head { font-size: 16px; font-weight: 800; }
.side-vip-card .svc-sub { margin: 4px 0 14px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.side-vip-card .svc-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.side-vip-card .svc-list li { padding-left: 18px; position: relative; }
.side-vip-card .svc-list li::before { content: "✓"; position: absolute; left: 0; opacity: .9; }
.side-vip-card .svc-btn { display: block; text-align: center; padding: 11px 0; border-radius: 9px; background: #fff; color: #1656d6; font-size: 13.5px; font-weight: 700; text-decoration: none; }

/* 付费墙槽位 */
.paywall-slot { margin-top: 8px; }

@media (max-width: 1080px) {
	.article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
}
@media (max-width: 900px) {
	.article-grid { grid-template-columns: minmax(0, 1fr); }
	.article-side { position: static; order: 2; }
	.single-wrap .post-article { padding: 22px 18px; }
	.single-wrap .article-title { font-size: 23px; }
	.toc-list { max-height: none; }
}

/* ============ 自建登录页 ============ */
.auth-page { position: relative; overflow: hidden; padding: 56px 0 72px; }
.auth-bg { position: absolute; inset: -20% -10% auto -10%; height: 520px; background:
	radial-gradient(560px 320px at 18% 10%, rgba(56, 189, 248, .22), transparent 70%),
	radial-gradient(520px 300px at 82% 0%, rgba(249, 115, 22, .18), transparent 72%);
	pointer-events: none; }
html.scheme-dark .auth-bg { background:
	radial-gradient(560px 320px at 18% 10%, rgba(56, 189, 248, .16), transparent 70%),
	radial-gradient(520px 300px at 82% 0%, rgba(249, 115, 22, .12), transparent 72%); }

.auth-wrap { position: relative; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 34px 26px; box-shadow: 0 30px 60px -40px rgba(16, 24, 40, .5); }
.auth-logo { display: flex; width: fit-content; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 22px; }
.auth-logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.auth-logo-text { font-size: 15px; font-weight: 700; color: var(--text); }
.auth-tabs { display: flex; width: 100%; padding: 4px; margin: 0 0 20px; border-radius: 12px; background: var(--field-bg); border: 1px solid var(--line); gap: 2px; }
.auth-tab { flex: 1; text-align: center; padding: 9px 22px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: .18s; }
.auth-tab:hover { color: var(--text); }
.auth-tab.is-active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 6px 14px -8px rgba(34, 113, 177, .9); }
html.scheme-dark .auth-tab.is-active { color: #fff; }
.auth-legal { font-size: 12px; line-height: 1.6; color: var(--muted); align-items: flex-start; }
.auth-legal input { margin-top: 3px; flex: none; }
.auth-title { font-size: 25px; font-weight: 800; margin: 0 0 6px; color: var(--text); }
.auth-sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); }

.auth-alert { margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; font-size: 13px; }
.auth-alert.is-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .28); color: #dc2626; }
.auth-alert.is-ok { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .28); color: #16a34a; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field span { font-size: 12.5px; color: var(--text-dim); font-weight: 600; }
.auth-field input { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--field-bg); color: var(--text); font-size: 14px; outline: none; }
.auth-field input:focus { border-color: rgba(56, 189, 248, .55); box-shadow: 0 0 0 3px rgba(56, 189, 248, .16); }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.auth-check { display: inline-flex; align-items: center; gap: 6px; }
.auth-link { color: var(--accent); text-decoration: none; font-size: 12.5px; }
.auth-submit { width: 100%; justify-content: center; padding: 13px 0; border-radius: 11px; font-size: 15px; margin-top: 4px; }
.auth-foot { margin: 4px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-tips { margin: 22px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); text-align: center; }
.auth-logged { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--text-dim); }
.auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

@media (max-width: 640px) {
	.auth-page { padding: 28px 0 48px; }
	.auth-card { padding: 24px 20px 20px; border-radius: 16px; }
	.auth-title { font-size: 21px; }
}

/* ------------------------------------------------------------------
 * 代码块（编辑器「插入代码块」按钮输出，高亮 + 一键复制）
 * ---------------------------------------------------------------- */
.code-card {
	margin: 24px 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #0f172a;
	box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .7);
}
.code-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #131f36;
	border-bottom: 1px solid rgba(148, 163, 184, .16);
	font-size: 12.5px;
}
.code-dots { display: inline-flex; gap: 6px; margin-right: 4px; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.code-dots i:nth-child(1) { background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-title { color: #e2e8f0; font-weight: 600; }
.code-lang { color: #8aa0bd; font-family: Consolas, Monaco, monospace; }
.code-copy {
	margin-left: auto;
	padding: 5px 12px;
	border-radius: 8px;
	border: 1px solid rgba(148, 163, 184, .35);
	background: rgba(148, 163, 184, .12);
	color: #cbd5e1;
	font-size: 12px;
	cursor: pointer;
	transition: .18s;
}
.code-copy:hover { background: rgba(56, 189, 248, .22); border-color: rgba(56, 189, 248, .5); color: #e0f2fe; }
.code-copy.is-copied { background: rgba(34, 197, 94, .22); border-color: rgba(34, 197, 94, .5); color: #bbf7d0; }
.article-content pre.sh-code,
.entry-content pre.sh-code {
	margin: 0;
	padding: 16px 18px;
	overflow-x: auto;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 13px;
	line-height: 1.75;
	color: #e2e8f0;
	tab-size: 2;
	background: #0f172a;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.article-content pre.sh-code code,
.entry-content pre.sh-code code { font-family: inherit; background: none; padding: 0; color: inherit; }
html.scheme-light .code-card { border-color: #dbe3ee; }

/* Prism 语法配色（深色底） */
pre.sh-code .token.comment,
pre.sh-code .token.prolog,
pre.sh-code .token.cdata { color: #6b7f99; }
pre.sh-code .token.punctuation { color: #9db2cb; }
pre.sh-code .token.keyword,
pre.sh-code .token.selector,
pre.sh-code .token.important { color: #c792ea; }
pre.sh-code .token.string,
pre.sh-code .token.attr-value,
pre.sh-code .token.regex { color: #a5e075; }
pre.sh-code .token.function,
pre.sh-code .token.class-name { color: #82aaff; }
pre.sh-code .token.number,
pre.sh-code .token.boolean,
pre.sh-code .token.constant { color: #f78c6c; }
pre.sh-code .token.operator,
pre.sh-code .token.property,
pre.sh-code .token.entity { color: #89ddff; }
pre.sh-code .token.builtin,
pre.sh-code .token.variable,
pre.sh-code .token.parameter { color: #ffcb6b; }
pre.sh-code .token.tag { color: #f07178; }

/* ==================================================================
 * 详情页 v2（sh-* 前缀，Hero + 主栏 / 粘性侧栏）
 * ================================================================ */
.sh-single { padding: 16px 0 72px; }
.sh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.sh-main { min-width: 0; max-width: 100%; }

.sh-hero {
	position: relative;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 34px 34px 0;
	margin-bottom: 20px;
	box-shadow: 0 28px 70px -56px rgba(15, 23, 42, .65);
}
html.scheme-dark .sh-hero { box-shadow: 0 28px 70px -60px rgba(0, 0, 0, .9); }
.sh-hero-glow {
	position: absolute;
	inset: -60% -10% auto -10%;
	height: 360px;
	background: radial-gradient(circle at 18% 60%, rgba(56, 189, 248, .22), transparent 62%),
		radial-gradient(circle at 82% 30%, rgba(249, 115, 22, .16), transparent 58%);
	pointer-events: none;
	opacity: .55;
}
html.scheme-dark .sh-hero-glow { opacity: .35; }

.sh-flags { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-title {
	position: relative;
	margin: 16px 0 18px;
	font-size: 34px;
	line-height: 1.28;
	font-weight: 800;
	letter-spacing: -.5px;
	color: var(--text);
}
.sh-meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	color: var(--muted);
	padding-bottom: 26px;
}
.sh-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sh-meta b { display: inline-flex; align-items: center; color: var(--accent); }
.sh-author { gap: 8px !important; }
.sh-avatar {
	width: 26px; height: 26px; border-radius: 50%;
	display: grid; place-items: center;
	font-size: 12px; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.sh-author-name { color: var(--text-dim); font-weight: 600; }
.sh-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.sh-cover { position: relative; margin: 0 -34px; }
.sh-cover img { display: block; width: 100%; max-height: 440px; object-fit: cover; }

.sh-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 20px;
}
.sh-stat { background: var(--card); padding: 14px 18px; display: flex; flex-direction: column; gap: 5px; }
.sh-stat-label { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.sh-stat-value { font-size: 14.5px; font-weight: 700; color: var(--text); }

.sh-body {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 32px 34px 30px;
	margin-bottom: 20px;
	box-shadow: 0 24px 60px -56px rgba(15, 23, 42, .55);
}
.sh-body .article-content { font-size: 15.5px; line-height: 1.95; color: var(--text-dim); }
.sh-body .article-content p { margin: 0 0 18px; }
.sh-body-index { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }

.sh-section-title {
	margin: 34px 0 16px;
	padding-left: 13px;
	border-left: 4px solid var(--accent);
	font-size: 18px;
	font-weight: 800;
	color: var(--text);
	line-height: 1.4;
}
.sh-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sh-rel-card {
	display: flex; gap: 12px; align-items: center;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	text-decoration: none;
	transition: transform .18s, border-color .18s, box-shadow .18s;
}
.sh-rel-card:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, .45); box-shadow: 0 14px 30px -22px rgba(15, 23, 42, .6); }
.sh-rel-thumb { width: 92px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; background: var(--field-bg); display: grid; place-items: center; }
.sh-rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-rel-ph { font-size: 22px; font-weight: 800; color: var(--accent); }
.sh-rel-body { min-width: 0; }
.sh-rel-body strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: var(--text); line-height: 1.5; }
.sh-rel-body em { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); }

.sh-comments { margin-top: 30px; }
.sh-comments .comments-area,
.sh-comments #comments { border-radius: 18px; }

.sh-side {
	position: sticky;
	top: 92px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-height: calc(100vh - 112px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}
.sh-side::-webkit-scrollbar { width: 0; height: 0; }

.side-hot, .side-toc {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px 18px 16px;
}
.side-hot-list { list-style: none; margin: 10px 0 0; padding: 0; }
.side-column { border-radius: 18px; }
.side-column .sc-head, .side-column .sc-name, .side-column .sc-list { color: #fff; }
.side-toc .side-card-head, .side-hot .side-card-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); letter-spacing: .05em; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.side-toc .sc-ico, .side-hot .sc-ico { color: var(--accent); font-size: 14px; }
.side-hot-list li { border-bottom: 1px dashed var(--line); }
.side-hot-list li:last-child { border-bottom: 0; }
.side-hot-list a {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 0;
	text-decoration: none;
}
.sh-hot-no {
	width: 20px; height: 20px; border-radius: 7px; flex: none;
	display: grid; place-items: center;
	font-size: 11px; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.sh-hot-no:nth-child(n) { }
.side-hot-list li:nth-child(1) .sh-hot-no { background: linear-gradient(135deg, #f472b6, #db2777); }
.side-hot-list li:nth-child(2) .sh-hot-no { background: linear-gradient(135deg, #fb923c, #ea580c); }
.side-hot-list li:nth-child(3) .sh-hot-no { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.sh-hot-txt { flex: 1; min-width: 0; font-size: 13px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-hot-list em { font-style: normal; font-size: 11.5px; color: var(--muted); flex: none; }

.toc-list a { color: var(--muted); text-decoration: none; font-size: 13px; display: block; padding: 5px 0; border-left: 2px solid transparent; padding-left: 10px; transition: .16s; }
.toc-list a:hover, .toc-list a.is-active { color: var(--accent); border-left-color: var(--accent); background: rgba(56, 189, 248, .07); border-radius: 0 6px 6px 0; }

@media (max-width: 1080px) {
	.sh-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.sh-side { position: static; max-height: none; overflow: visible; }
	.sh-title { font-size: 26px; }
	.sh-hero { padding: 24px 20px 0; border-radius: 18px; }
	.sh-cover { margin: 0 -20px; }
	.sh-info { grid-template-columns: repeat(2, 1fr); }
	.sh-body { padding: 22px 20px; border-radius: 16px; }
	.sh-related-grid { grid-template-columns: 1fr; }
	.sh-body .article-content { font-size: 15px; }
}

/* 详情页 v2：外层不再套卡，各块自己成卡 */
.sh-main .post-article {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}
.sh-main .sh-body .article-content { padding: 0; }
.paywall-slot { padding: 4px 0 6px; }
.paywall-slot .paywall { margin: 8px 0 10px; }
.paywall-blur { max-width: 560px; margin: 0 auto -30px; }
.paywall-card { margin: 0 auto; }
.paywall { display: block; }

/* ---------- 首页右栏：登录卡 / 快捷通知 ---------- */
.side-greet {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--card);
	padding: 18px 18px 16px;
}
.sg-head { font-size: 15px; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.sg-head::before { content: "👋"; font-size: 15px; }
.sg-sub { margin: 8px 0 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.sg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-btn {
	display: flex; align-items: center; justify-content: center;
	padding: 9px 0; border-radius: 9px;
	font-size: 13px; font-weight: 700; text-decoration: none;
	border: 1px solid var(--line);
	color: var(--text-dim);
	background: var(--field-bg);
	transition: .16s;
}
.sg-btn.is-main { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; color: #fff; }
.sg-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -16px rgba(34, 113, 177, .7); }
.sg-perks { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); }
.sg-perks li { position: relative; padding-left: 14px; }
.sg-perks li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.sg-user { display: flex; align-items: center; gap: 10px; }
.sg-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; display: block; }
.sg-avatar-txt { display: grid; place-items: center; font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); letter-spacing: 0; }
.sg-avatar-img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.sg-user-txt { min-width: 0; }
.sg-user-txt strong { display: block; font-size: 14px; color: var(--text); }
.sg-user-txt em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--muted); }

.side-notice {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--card);
	padding: 16px 16px 10px;
}
.notice-head { display: flex; align-items: center; gap: 8px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.notice-ico { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, .18); }
.notice-head h3 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--text); }
.notice-list { list-style: none; margin: 6px 0 0; padding: 0; }
.notice-list li { border-bottom: 1px dashed var(--line); }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; text-decoration: none; }
.notice-dot { width: 5px; height: 5px; border-radius: 50%; background: #3b82f6; flex: none; margin-top: 7px; }
.notice-txt { font-size: 12.5px; line-height: 1.6; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-list a:hover .notice-txt { color: var(--accent); }
.notice-more { display: block; text-align: center; margin-top: 4px; padding: 10px 0 6px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-decoration: none; }
.notice-more:hover { color: var(--accent); }

/* ---------- 付费锁卡片：紧凑版 ---------- */
.paywall { margin: 14px 0 6px; }
.paywall-blur { gap: 10px; margin-bottom: -30px; padding: 0 6px; opacity: .35; filter: blur(5px); }
.paywall-blur span { height: 11px; }
.paywall-card {
	max-width: 460px;
	padding: 22px 24px 18px;
	border-radius: 16px;
	box-shadow: 0 24px 50px -34px rgba(16, 24, 40, .45);
}
.paywall-lock { width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; font-size: 18px; }
.paywall-lock svg { width: 18px; height: 18px; }
.paywall-title { font-size: 16px; margin-bottom: 4px; }
.paywall-sub { font-size: 12px; margin-bottom: 12px; }
.paywall-price { margin-bottom: 12px; }
.paywall-amount { font-size: 23px; }
.paywall-amount-label { font-size: 11.5px; }
.paywall-actions .btn-block { padding: 10px 16px; font-size: 13.5px; }
.paywall-balance { margin-top: 8px; font-size: 12px; }
.paywall-vip { margin-top: 9px; font-size: 12.5px; }
.paywall-slot .paywall { margin-top: 0; }

/* ---------- 版权声明 ---------- */
.sh-copyright {
	position: relative;
	margin: 22px 0 20px;
	padding: 18px 22px 16px 24px;
	background: var(--field-bg, #f6f8fb);
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: 0 12px 12px 0;
}
html.scheme-dark .sh-copyright { background: rgba(255, 255, 255, .04); }
.sh-copy-title { display: block; font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.sh-copy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.sh-copy-list li { display: flex; gap: 4px; flex-wrap: wrap; }
.sh-copy-list span { color: var(--text-dim); }
.sh-copy-list a { color: var(--accent); text-decoration: none; word-break: break-all; }
.sh-copy-list a:hover { text-decoration: underline; }

/* ---------- 互动条 ---------- */
.sh-actions {
	background: var(--field-bg);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px;
	margin: 26px 0 10px;
	padding: 22px 18px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
}
.sh-act {
	appearance: none;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0;
	color: var(--muted);
	font: inherit;
}
.sh-act-ico {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--field-bg, #f3f6fa);
	border: 1px solid var(--line);
	transition: transform .18s, background .18s, border-color .18s, color .18s;
}
.sh-act-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh-act-num { font-size: 12px; line-height: 14px; color: var(--text-dim); font-weight: 600; }
.sh-act-num.is-blank { visibility: hidden; }
.sh-act-label { font-size: 12px; color: var(--muted); }
.sh-act:hover .sh-act-ico { transform: translateY(-2px); border-color: rgba(56, 189, 248, .5); color: var(--accent); }
.sh-act.is-on { color: var(--accent); }
.sh-act.is-on .sh-act-ico { background: rgba(56, 189, 248, .12); border-color: rgba(56, 189, 248, .55); color: #0284c7; }
.sh-act.is-on .sh-act-label { color: var(--accent); }
.sh-act[data-act="like"].is-on .sh-act-ico svg { fill: #38bdf8; stroke: #38bdf8; }
.sh-act.is-pop .sh-act-ico { animation: sh-pop .36s ease; }
@keyframes sh-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---------- 轻提示 ---------- */
.sh-toast {
	position: fixed;
	left: 50%;
	bottom: 48px;
	transform: translate(-50%, 16px);
	background: rgba(15, 23, 42, .92);
	color: #fff;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
	z-index: 99999;
	max-width: 80vw;
	text-align: center;
}
.sh-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 弹层（二维码 / 海报） ---------- */
.sh-modal {
	position: fixed;
	inset: 0;
	background: rgba(8, 15, 30, .62);
	display: grid;
	place-items: center;
	z-index: 99998;
	padding: 20px;
	backdrop-filter: blur(3px);
}
.sh-modal-inner {
	position: relative;
	background: var(--card);
	color: var(--text);
	border-radius: 18px;
	padding: 24px 24px 18px;
	width: min(92vw, 420px);
	max-height: 88vh;
	overflow: auto;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
	text-align: center;
}
.sh-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
}
.sh-modal-close:hover { color: var(--text); }
.sh-modal-title { margin: 4px 0 16px; font-size: 15px; font-weight: 800; color: var(--text); }
.sh-modal-tip { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.sh-qr-box img { display: block; margin: 0 auto; width: 220px; height: 220px; }
.sh-poster-box img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.sh-poster-actions { display: flex; gap: 10px; margin-top: 14px; }
.sh-poster-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px 0;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--line);
	background: var(--field-bg);
	color: var(--text-dim);
	cursor: pointer;
}
.sh-poster-btn.is-main { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; color: #fff; }

@media (max-width: 660px) {
	.sh-actions { gap: 6px; padding: 16px 6px; justify-content: space-around; }
	.sh-act-ico { width: 42px; height: 42px; }
	.sh-act-label { font-size: 11.5px; }
	.sh-copyright { padding: 14px 16px 14px 18px; }
}

/* ---------- 评论区 ---------- */
.sh-cmt-area { margin-top: 8px; }
.sh-cmt-title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 16px; font-weight: 800; color: var(--text); }
.sh-cmt-title svg { color: var(--accent); }
.sh-cmt-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--field-bg); color: var(--muted); font-size: 11.5px; font-style: normal; font-weight: 700; }

.sh-cmt-list { list-style: none; margin: 0 0 6px; padding: 0; }
.sh-cmt-item { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.sh-cmt-item:first-child { border-top: 0; padding-top: 2px; }
.sh-cmt-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font-size: 14px; font-weight: 700; }
.sh-cmt-body { min-width: 0; flex: 1; }
.sh-cmt-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.sh-cmt-head strong { font-size: 13.5px; color: var(--text); }
.sh-cmt-head time { color: var(--muted); }
.sh-cmt-reply { margin-left: auto; }
.sh-cmt-reply a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.sh-cmt-reply a:hover { color: var(--accent); }
.sh-cmt-text { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--text-dim); word-break: break-word; }
.sh-cmt-text p { margin: 0 0 8px; }

.sh-cmt-pager { display: flex; gap: 8px; justify-content: center; margin: 14px 0 4px; font-size: 12.5px; }
.sh-cmt-pager a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-decoration: none; }
.sh-cmt-pager a:hover { color: var(--accent); border-color: rgba(56, 189, 248, .5); }
.sh-cmt-closed { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }

.sh-cmt-area form.comment-form { margin: 16px 0 0; }
.sh-form-title { margin: 18px 0 10px; font-size: 14px; font-weight: 800; color: var(--text); }
.comment-form .sh-field { margin: 0 0 10px; }
.comment-form .sh-field input,
.comment-form .sh-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 13px;
	border-radius: 9px;
	border: 1px solid var(--line);
	background: var(--field-bg);
	color: var(--text);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	transition: border-color .16s, box-shadow .16s;
}
.comment-form .sh-field textarea { min-height: 96px; resize: vertical; }
.comment-form .sh-field input:focus,
.comment-form .sh-field textarea:focus { outline: 0; border-color: rgba(56, 189, 248, .65); box-shadow: 0 0 0 3px rgba(56, 189, 248, .12); }
.comment-form .comment-form-author,
.comment-form .comment-form-email { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.comment-form .comment-form-email { margin-left: 10px; }
.sh-cmt-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	padding: 9px 22px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .16s, box-shadow .16s;
}
.sh-cmt-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(34, 113, 177, .8); }
.comment-form .form-submit { display: flex; justify-content: flex-end; margin: 4px 0 0; }
.comment-form .logged-in-as { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.comment-form .logged-in-as a { color: var(--accent); text-decoration: none; }

@media (max-width: 660px) {
	.comment-form .comment-form-author,
	.comment-form .comment-form-email { display: block; width: 100%; }
	.comment-form .comment-form-email { margin-left: 0; }
	.sh-cmt-item { gap: 10px; }
	.sh-cmt-avatar, .sh-cmt-avatar img { width: 36px; height: 36px; }
}

/* 自定义评论表单 */
.sh-cmt-form { margin: 18px 0 0; padding-top: 4px; border-top: 1px dashed var(--line); }
.sh-form-title { margin: 16px 0 12px; font-size: 14px; font-weight: 800; color: var(--text); }
.sh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-form-row .sh-field { margin: 0 0 10px; }
.sh-field { margin: 0 0 10px; }
.sh-field input[type=text],
.sh-field input[type=email],
.sh-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 13px;
	border-radius: 9px;
	border: 1px solid var(--line);
	background: var(--field-bg);
	color: var(--text);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	transition: border-color .16s, box-shadow .16s;
}
.sh-field textarea { min-height: 96px; resize: vertical; }
.sh-field input:focus, .sh-field textarea:focus { outline: 0; border-color: rgba(56, 189, 248, .65); box-shadow: 0 0 0 3px rgba(56, 189, 248, .12); }
.sh-field-cookie { margin: 2px 0 10px; }
.sh-field-cookie label { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.sh-field-cookie input { width: auto; margin: 2px 0 0; accent-color: #38bdf8; }
.sh-form-login { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.sh-form-login strong { color: var(--text); }
.sh-form-login a { margin-left: 6px; color: var(--accent); text-decoration: none; }
.sh-form-foot { display: flex; justify-content: flex-end; margin: 6px 0 0; }
@media (max-width: 660px) { .sh-form-row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   个人中心（我的）
   ========================================================================== */
.my-wrap { padding: 26px 0 60px; }

.my-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(56, 189, 248, .1), transparent 46%), var(--card);
	box-shadow: var(--shadow);
}
.my-hero-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.my-avatar {
	width: 66px; height: 66px; flex: none;
	display: grid; place-items: center;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	color: #fff; font-size: 26px; font-weight: 800;
	box-shadow: 0 14px 30px -18px rgba(56, 189, 248, .9);
}
.my-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.my-name-row h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.my-badge {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 9px; border-radius: 999px;
	font-size: 11.5px; font-weight: 700;
	background: var(--s2); color: var(--text-dim); border: 1px solid var(--line);
}
.my-badge.is-vip { color: #b98108; background: rgba(250, 204, 21, .14); border-color: rgba(250, 204, 21, .4); }
.my-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.my-meta span { position: relative; }
.my-meta span + span::before { content: "·"; position: absolute; left: -9px; }

.my-hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.my-hero-stat {
	min-width: 96px;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--s1);
	border: 1px solid var(--line);
	text-align: center;
}
.my-hero-stat em { display: block; font-style: normal; font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.35; }
.my-hero-stat span { font-size: 11.5px; color: var(--muted); }

.my-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }

.my-side {
	position: sticky; top: 84px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: var(--shadow);
}
.my-nav { display: grid; gap: 4px; }
.my-nav-item {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--text-dim);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background .16s, color .16s;
}
.my-nav-item .ico { color: var(--muted); flex: none; }
.my-nav-item:hover { background: var(--s2); color: var(--text); }
.my-nav-item.is-active { background: rgba(56, 189, 248, .14); color: var(--accent); }
.my-nav-item.is-active .ico { color: var(--accent); }
.my-nav-num { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.my-side-sep { height: 1px; background: var(--line); margin: 12px 4px; }
.my-nav-quick .my-nav-item { font-weight: 600; }
.my-logout {
	display: flex; align-items: center; justify-content: center; gap: 7px;
	margin-top: 12px; padding: 9px;
	border-radius: 10px;
	border: 1px solid var(--line);
	color: var(--muted); font-size: 12.5px; text-decoration: none;
	transition: color .16s, border-color .16s;
}
.my-logout:hover { color: #ef4444; border-color: rgba(239, 68, 68, .4); }

.my-main { min-width: 0; display: grid; gap: 18px; }
.my-panel { display: none; gap: 18px; }
.my-panel.is-active { display: grid; }

.my-card {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: var(--shadow);
}
.my-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.my-card-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; color: var(--text); }
.my-card-head h2::before { content: ""; width: 3px; height: 15px; border-radius: 3px; background: var(--accent); }
.my-more { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.my-more:hover { color: var(--accent); }
.my-dim { color: var(--muted); font-size: 12.5px; }

.my-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.my-stat {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	box-shadow: var(--shadow);
}
.my-stat-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; }
.my-stat-ico.is-blue { background: rgba(56, 189, 248, .15); color: #38bdf8; }
.my-stat-ico.is-gold { background: rgba(250, 204, 21, .16); color: #d99d0b; }
.my-stat-ico.is-purple { background: rgba(167, 139, 250, .16); color: #a78bfa; }
.my-stat-ico.is-green { background: rgba(52, 211, 153, .16); color: #34d399; }
.my-stat em { display: block; font-style: normal; font-size: 18px; font-weight: 800; line-height: 1.3; }
.my-stat span { font-size: 12px; color: var(--muted); }

.my-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.my-shop-item {
	display: flex; flex-direction: column; gap: 4px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--s1);
	text-decoration: none;
	color: var(--text);
	transition: border-color .16s, transform .16s, background .16s;
}
.my-shop-item:hover { border-color: rgba(56, 189, 248, .45); background: rgba(56, 189, 248, .08); transform: translateY(-2px); }
.my-shop-name { font-size: 14px; font-weight: 700; }
.my-shop-count { font-size: 11.5px; color: var(--muted); }
.my-shop-item .ico { color: var(--accent); margin-top: 2px; }

.my-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.my-table th {
	text-align: left; padding: 0 10px 10px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}
.my-table td { padding: 12px 10px; border-bottom: 1px dashed var(--line); color: var(--text-dim); }
.my-table tr:last-child td { border-bottom: 0; }
.my-ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.my-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.my-tag.is-paid { color: #0f8a5f; background: rgba(52, 211, 153, .15); }
.my-tag.is-pending { color: #b98108; background: rgba(250, 204, 21, .16); }
.my-tag.is-refunded, .my-tag.is-closed, .my-tag.is-canceled { color: var(--muted); background: var(--s2); }
.my-link { color: var(--accent); font-size: 12.5px; text-decoration: none; }
.my-empty { margin: 6px 0 2px; padding: 18px 0; font-size: 13px; color: var(--muted); }
.my-empty a { color: var(--accent); text-decoration: none; }

.my-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.my-res { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); text-decoration: none; transition: border-color .16s, transform .16s; }
.my-res:hover { border-color: rgba(56, 189, 248, .4); transform: translateY(-2px); }
.my-res-thumb { width: 64px; height: 46px; flex: none; border-radius: 8px; overflow: hidden; background: var(--s2); display: block; }
.my-res-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.my-res-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 800; color: var(--accent); font-size: 16px; }
.my-res-body { min-width: 0; display: grid; gap: 3px; }
.my-res-body strong { font-size: 13px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-res-body .my-dim { font-size: 11.5px; }

.my-vip-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(56, 189, 248, .12), transparent 60%), var(--card); }
.my-vip-strip h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }

.my-form { display: grid; gap: 14px; max-width: 560px; }
.my-field { display: grid; gap: 6px; }
.my-field span { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.my-field input {
	padding: 10px 13px;
	border-radius: 9px;
	border: 1px solid var(--line);
	background: var(--field-bg);
	color: var(--text);
	font-family: inherit; font-size: 13px;
}
.my-field input:disabled { opacity: .6; cursor: not-allowed; }
.my-field input:focus { outline: 0; border-color: rgba(56, 189, 248, .65); box-shadow: 0 0 0 3px rgba(56, 189, 248, .12); }
.my-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.my-form-tip { margin: 0; }
.my-form-foot { display: flex; justify-content: flex-start; }
.my-kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.my-kv li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.my-kv li:last-child { border-bottom: 0; padding-bottom: 0; }
.my-kv b { color: var(--text); font-weight: 600; }

.my-notice { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 11px; font-size: 13px; background: rgba(52, 211, 153, .12); color: #0f8a5f; border: 1px solid rgba(52, 211, 153, .3); }

@media (max-width: 1024px) {
	.my-body { grid-template-columns: minmax(0, 1fr); }
	.my-main { min-width: 0; width: 100%; }
	.my-side { position: static; }
	.my-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.my-stat-grid, .my-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.my-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.my-hero { padding: 18px; }
	.my-hero-stats { width: 100%; }
	.my-hero-stat { flex: 1; min-width: 0; }
	.my-table th:nth-child(4), .my-table td:nth-child(4) { display: none; }
	.my-res-grid { grid-template-columns: 1fr; }
	.my-field-row { grid-template-columns: 1fr; }
}

/* 商城入口卡补充 */
.my-shop-top { display: flex; align-items: center; gap: 9px; }
.my-shop-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(56, 189, 248, .13); color: var(--accent); }
.my-shop-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.my-shop-bottom .ico { color: var(--muted); }
.my-shop-item:hover .my-shop-bottom .ico { color: var(--accent); }

/* 页脚：亮色微调 */
html.scheme-light .site-footer { background: radial-gradient(700px 300px at 10% 0%, rgba(56, 189, 248, .1), transparent 60%), var(--foot-bg); }
html.scheme-light .foot-watermark { opacity: .06; color: #0f172a; }
html.scheme-light .foot-cta { box-shadow: 0 18px 40px -30px rgba(16, 24, 40, .45); }
html.scheme-light .foot-btn { color: #0b6f96; }
html.scheme-light .foot-search button { color: #04222f; }
html.scheme-light .foot-search { background: #fff; border-color: rgba(15, 23, 42, .12); box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04); }
html.scheme-light .foot-search input::placeholder { color: #8a99ad; }
html.scheme-light .foot-grid-lines { opacity: .35; }

/* 返回顶部：渐变圆钮 */
.back-top {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid transparent;
	background:
		linear-gradient(var(--panel), var(--panel)) padding-box,
		linear-gradient(135deg, var(--accent), var(--accent-3)) border-box;
	color: var(--text);
	box-shadow: 0 16px 34px -18px rgba(56, 189, 248, .7);
}
.back-top:hover { color: var(--accent); }

/* 迁移：导航条目较多，禁止换行 */
.nav-list li,.nav-list a,.mobile-nav-list a{white-space:nowrap}

/* 修复：右侧栏被内容撑宽（grid 隐式列按 min-content 计算） */
.feed-side { grid-template-columns: minmax(0, 1fr); }
.feed-side > * { min-width: 0; }
.feed-side .side-greet, .feed-side .side-card, .feed-side .side-vip, .feed-side .side-notice { width: 100%; box-sizing: border-box; overflow: hidden; }

/* ------------------------------------------------------------------
 * 充值中心 / 资产卡（余额 · 积分 · 会员等级）
 * ---------------------------------------------------------------- */
.wallet-page { margin: 8px 0 10px; }
.wallet-head { margin-bottom: 18px; }
.wallet-title { margin: 0 0 6px; font-size: 22px; letter-spacing: -.3px; }
.wallet-sub { margin: 0; color: var(--muted); font-size: 13px; }

.wallet-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.wallet-card {
	display: flex; flex-direction: column; gap: 4px;
	padding: 16px 18px; border-radius: 14px;
	background: var(--card); border: 1px solid var(--line);
}
.wallet-label { font-size: 12.5px; color: var(--muted); }
.wallet-value { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: var(--accent); }
.wallet-foot { font-size: 12px; color: var(--muted); }

.wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wallet-box { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.wallet-box.is-wide { grid-column: 1 / -1; }
.wallet-tip { margin: 6px 0 12px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.wallet-form { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-form input {
	flex: 1; min-width: 140px; padding: 10px 12px; border-radius: 10px;
	border: 1px solid var(--line); background: var(--field-bg); color: var(--field-text); font-size: 13.5px;
}
.wallet-plans { display: flex; flex-wrap: wrap; gap: 8px; }
.wallet-plan {
	padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
	background: var(--s2); border: 1px solid var(--line-strong); color: var(--text-dim);
}

/* 付费卡上的「余额不足」小标 */
.paywall-short {
	display: inline-block; margin: 0 8px; padding: 1px 7px; border-radius: 6px;
	background: rgba(248, 113, 113, .14); color: #f87171; font-size: 11.5px;
}
.vip-status-recharge { font-size: 12.5px; color: var(--accent); text-decoration: none; }
.vip-status-recharge:hover { text-decoration: underline; }

@media (max-width: 760px) {
	.wallet-cards { grid-template-columns: 1fr; }
	.wallet-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
 * 旧站迁移内容：把 Enlighter 的 <pre class="enlighter-pre"> 统一成深色代码卡
 * （旧站靠插件高亮，新站没装插件，这里补回同样观感）
 * ---------------------------------------------------------------- */
.article-content pre.enlighter-pre,
.entry-content pre.enlighter-pre {
	margin: 18px 0;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, .22);
	background: #0f172a;
	color: #e2e8f0;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 13px;
	line-height: 1.8;
	overflow-x: auto;
	white-space: pre;
	tab-size: 2;
	box-shadow: 0 18px 40px -34px rgba(15, 23, 42, .8);
}
.article-content pre.enlighter-pre code,
.entry-content pre.enlighter-pre code {
	display: block;
	background: none;
	padding: 0;
	color: #e2e8f0;
	font-size: inherit;
	white-space: inherit;
}
/* 空 code 标签（旧站 hidecontent 残留）不占位 */
.article-content code:empty { display: none; }

/* ----------------------------------------------------------------
 * 补图提示条（旧站图源失效的文章）
 * ---------------------------------------------------------------- */
.sh-img-missing {
	margin: 0 0 18px;
	padding: 10px 14px;
	border-radius: 10px;
	border-left: 3px solid #f59e0b;
	background: rgba(245, 158, 11, .09);
	color: #92600a;
	font-size: 13px;
	line-height: 1.7;
}

/* 已解锁提示（付费正文分割线） */
.article-content p.sh-paywall-line.is-unlocked,
.entry-content p.sh-paywall-line.is-unlocked {
	color: #15803d;
	border-top-color: rgba(21, 128, 61, .25);
}

/* 详情页基础信息：2 项时不留第三个空格子 */
.sh-info > .sh-stat:last-child:nth-child(3n + 2) { grid-column: span 2; }
.sh-info > .sh-stat:only-child { grid-column: span 3; }


/* ===== 2.6.1 体验优化：价格角标 / 排序条 / 吸底按钮 / 图片占位 ===== */
.res-cover{position:relative;overflow:hidden;background:#151a22}
.res-price{
	position:absolute;right:10px;bottom:10px;z-index:3;
	padding:3px 10px;border-radius:999px;
	background:rgba(255,92,92,.92);color:#fff;
	font-size:12px;font-weight:700;letter-spacing:.02em;
	box-shadow:0 4px 12px rgba(0,0,0,.35);backdrop-filter:blur(4px);
}
.res-price.is-free{background:rgba(34,197,94,.9)}
.res-card .res-cover img{transition:transform .35s ease}
.res-card:hover .res-cover img{transform:scale(1.04)}

.sort-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.sort-label{display:inline-flex;align-items:center;gap:5px;color:var(--sh-muted,#8b95a5);font-size:13px;margin-right:2px}
.sort-chip{
	padding:5px 13px;border-radius:999px;font-size:13px;
	background:rgba(255,255,255,.05);color:inherit;text-decoration:none;
	border:1px solid rgba(255,255,255,.06);transition:.2s;
}
.sort-chip:hover{background:rgba(255,255,255,.1)}
.sort-chip.is-active{background:var(--sh-primary,#4f7cff);border-color:transparent;color:#fff;font-weight:600}

.sh-sticky-cta{display:none}
@media (max-width:768px){
	.sh-sticky-cta{
		display:flex;align-items:center;justify-content:space-between;gap:12px;
		position:fixed;left:0;right:0;bottom:0;z-index:80;
		padding:10px 14px;
		transition:transform .26s ease, opacity .26s ease;
		background:rgba(17,22,30,.94);backdrop-filter:blur(12px);
		border-top:1px solid rgba(255,255,255,.08);
	}
	.sh-sc-info{display:flex;flex-direction:column;line-height:1.3;min-width:0}
	.sh-sc-info strong{font-size:16px;color:#ff6b6b}
	.sh-sc-info span{font-size:11px;color:#8b95a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.sh-sc-btn{flex:0 0 auto;padding:10px 18px;border-radius:10px;display:inline-flex;align-items:center;gap:6px}
	.sh-sticky-cta.is-hidden{transform:translateY(calc(100% + 16px));opacity:0;pointer-events:none}
	body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
}

/* ==== 移动端详情：长标题/信息表不撑破 ==== */
.sh-title{overflow-wrap:anywhere;word-break:break-word}
.sh-stat-value{overflow-wrap:anywhere}
@media (max-width:768px){
	.sh-title{font-size:21px;line-height:1.35}
	.sh-info{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sh-stat{padding:11px 13px}
	.sh-stat-value{font-size:13px}
	.sh-cover img{max-height:300px}
	.archive-head h1{font-size:24px}
	.archive-layout{padding-left:0;padding-right:0}
	.res-grid{gap:12px}
}

@media (max-width:768px){
	.sh-hero,.sh-body,.paywall,.download-panel{max-width:100%;box-sizing:border-box}
	.article-content pre,.article-content table{max-width:100%;overflow-x:auto;display:block}
	.article-content img{max-width:100%;height:auto}
}

@media (max-width:768px){
	.m-headb .hb-main,.m-headb .hb-main > *{min-width:0}
	.m-headb .hb-slider,.m-headb .hb-side{max-width:100%}
	.m-headb .hb-list li a{min-width:0}
	.m-headb .hb-li-title{min-width:0}
}


/* ===== 2.6.1 P1：骨架屏 / 热词 / 空搜索 / 签到 / 徽章 / 举报 ===== */

/* 图片骨架 + 渐显 */
.cover-img{
	background-color:#202b3d;
	background-image:linear-gradient(100deg,#1d2738 8%,#2d3d55 18%,#1d2738 33%);
	background-size:200% 100%;
	animation:shSkeleton 1.4s linear infinite;
	opacity:.78;
	transition:opacity .35s ease, filter .35s ease;
}
.cover-img.is-loaded{animation:none;opacity:1;background-image:none}
@keyframes shSkeleton{from{background-position:100% 0}to{background-position:-100% 0}}

/* 搜索热词 */
.hot-words{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.hot-words-label{font-size:12.5px;color:var(--sh-muted,#8b95a5)}
.hot-word{
	padding:4px 12px;border-radius:999px;font-size:12.5px;text-decoration:none;
	background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);transition:.2s;
}
.hot-word:hover{background:rgba(79,124,255,.18);border-color:rgba(79,124,255,.35)}

/* 无结果空态 */
.empty-search{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left;min-height:0;padding:28px 24px}
.empty-search .hero-search{max-width:560px;margin-top:6px}
.empty-search .empty-title{font-size:16px;font-weight:700}
.empty-cats{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.empty-cats .filter-chip i{font-style:normal;opacity:.6;margin-left:4px;font-size:11px}
.guess-head{margin:22px 0 12px;font-size:14px;font-weight:700;color:var(--sh-muted,#8b95a5)}
.guess-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.guess-item{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit}
.guess-thumb{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#151a22}
.guess-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.guess-title{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:768px){.guess-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 签到卡 */
.my-sign{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.my-sign-title{display:flex;align-items:center;gap:6px;font-weight:700;margin-bottom:4px}
.my-sign-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.my-sign-streak{font-size:13px;color:var(--sh-muted,#8b95a5)}
.my-sign-streak b{color:#ffd479;font-size:16px;margin:0 2px}
.my-sign-btn{padding:9px 18px;border-radius:10px;font-weight:700}
.my-sign-btn.is-done{opacity:.55;cursor:default}

/* 徽章 */
.vip-badge{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:700;vertical-align:middle}
.vip-badge svg{width:12px;height:12px}
.vip-badge.vip-lv1{background:linear-gradient(90deg,#4f7cff,#38bdf8);color:#fff}
.vip-badge.vip-lv2{background:linear-gradient(90deg,#f59e0b,#f97316);color:#fff}
.vip-badge.vip-lv3{background:linear-gradient(90deg,#f43f5e,#a855f7);color:#fff}

/* 举报条 */
.sh-report-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 4px;padding:11px 16px;border-radius:12px;background:var(--panel,rgba(0,0,0,.03));border:1px dashed var(--line-strong,rgba(0,0,0,.14));font-size:13px;color:var(--muted,#6b7280)}
.sh-report-bar .sh-report-tip{display:inline-flex;align-items:center;gap:6px}
.sh-report-btn{color:#ffb020;text-decoration:none;font-weight:600;border-bottom:1px dashed rgba(255,176,32,.5);margin-left:auto}
.sh-report-ok{color:#22c55e;display:inline-flex;align-items:center;gap:5px}

/* 积分明细正负色 */
.my-table td.is-plus{color:#22c55e;font-weight:700}
.my-table td.is-minus{color:#ef4444;font-weight:700}


/* ===== 2.6.1 P1：底部 Tab / 上下篇 / 相关横滑 ===== */
.sh-tabbar{display:none}
@media (max-width:768px){
	.sh-tabbar{
		display:flex;position:fixed;left:0;right:0;bottom:0;z-index:90;
		padding:6px 4px calc(6px + env(safe-area-inset-bottom));
		background:rgba(255,255,255,.94);backdrop-filter:blur(14px);
		border-top:1px solid rgba(0,0,0,.08);
	}
	html.scheme-dark .sh-tabbar{background:rgba(16,20,28,.94);border-top-color:rgba(255,255,255,.08)}
	.sh-tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;text-decoration:none;color:#64748b;font-size:11.5px;border-radius:10px}
	.sh-tab svg{width:19px;height:19px}
	.sh-tab.is-active{color:var(--sh-primary,#2f7cf6);font-weight:700}
	.sh-tab.is-active svg{stroke:var(--sh-primary,#2f7cf6)}
	/* 吸底购买条要让开 Tab 条与 iPhone 安全区 */
	.sh-sticky-cta{bottom:calc(58px + env(safe-area-inset-bottom))}
	body{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
	/* 相关推荐横向滑动 */
	.sh-related-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:6px}
	.sh-related-grid > *{flex:0 0 68%;scroll-snap-align:start}
	.sh-related-grid::-webkit-scrollbar{display:none}
}
.sh-prevnext{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 6px}
.sh-prevnext .sh-pn:only-child{grid-column:1 / -1}
.sh-pn{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:14px;background:var(--card);border:1px solid var(--line);text-decoration:none;color:inherit;transition:.2s}
.sh-pn:hover{border-color:var(--sh-primary,#2f7cf6)}
.sh-pn.is-next{text-align:right}
.sh-pn-label{font-size:11.5px;color:var(--muted,#8b95a5);letter-spacing:.06em}
.sh-pn-title{font-size:13.5px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:768px){.sh-prevnext{grid-template-columns:1fr}.sh-pn.is-next{text-align:left}}

/* 个人中心：邀请卡 */
.my-invite-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.my-invite-code, .my-invite-link { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.my-invite-code em, .my-invite-link em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.my-invite-code b { font-size: 22px; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.my-invite-link code { font-size: 12.5px; color: var(--text-dim); word-break: break-all; background: transparent; padding: 0; }
.my-invite-code .copy-btn, .my-invite-link .copy-btn { align-self: flex-start; margin-top: 2px; }
@media (max-width: 760px) { .my-invite-row { grid-template-columns: 1fr; } }

/* 详情页：订阅更新 */
.sh-subscribe { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 26px 0 4px; padding: 16px 20px; border-radius: 14px; border: 1px dashed var(--line-strong); background: var(--s1); }
.sh-sub-copy { display: flex; flex-direction: column; gap: 2px; min-width: 220px; flex: 1; }
.sh-sub-copy strong { font-size: 14px; display: flex; align-items: center; gap: 6px; color: var(--text); }
.sh-sub-copy strong svg { color: var(--accent); }
.sh-sub-copy span { font-size: 12px; color: var(--muted); }
.sh-sub-form { display: flex; gap: 8px; }
.sh-sub-form input[type=email] { width: 220px; padding: 0 12px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--field-bg); color: var(--text); font-size: 13px; }
.sh-sub-form .btn { height: 38px; border-radius: 10px; padding: 0 20px; }
.sh-sub-msg { font-size: 12.5px; color: var(--text-dim); flex-basis: 100%; }
.sh-sub-msg.is-ok { color: var(--ok); }
.sh-sub-msg.is-err { color: #f87171; }
@media (max-width: 720px) { .sh-subscribe { flex-direction: column; align-items: stretch; } .sh-sub-form input[type=email] { flex: 1; width: auto; } }

/* 深色模式补色 */
html.scheme-dark .sb-tag.is-paid { background: rgba(214, 69, 80, .16); color: #fca5a5; }
html.scheme-dark .sb-tag.is-vip { background: rgba(234, 179, 8, .16); color: #fcd34d; }
html.scheme-dark .sb-tag.is-ok, html.scheme-dark .sb-tag.is-free { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
html.scheme-dark .side-column { background: linear-gradient(150deg, #22304a 0%, #18202f 55%, #111826 100%); }
html.scheme-dark .side-column .sc-btn { background: rgba(255, 255, 255, .92); color: #16233b; }
html.scheme-dark .upd-stat { background: linear-gradient(155deg, #202e49, #0f1622 72%); }
html.scheme-dark .upd-day { box-shadow: 0 10px 26px -24px #000; }
html.scheme-dark .paywall-card { box-shadow: 0 22px 50px -30px #000; }
html.scheme-dark .sh-subscribe { background: rgba(255, 255, 255, .03); }

/* === 排版打磨 2611：轮播标题限行、卡片等高、占位图去重 === */
.m-headb .hb-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(24px, 2.5vw, 32px);
}
.m-headb .hb-sub {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 720px;
}
.m-headb .hb-slide-body { gap: 9px; }

.res-card { display: flex; flex-direction: column; }
.res-card .res-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.res-card .res-foot { margin-top: auto; padding-top: 10px; }
.res-card .res-body .res-foot { border-top: 0; }

/* 封面占位：分类胶囊已在上方标签，贴图里不再重复一遍 */
.feed-thumb .cover-fallback .cf-cat,
.res-cover .cover-fallback .cf-cat { display: none; }
.feed-thumb .cover-fallback-char { font-size: 30px; }

@media (max-width: 980px) {
	.m-headb .hb-title { font-size: 22px; -webkit-line-clamp: 3; letter-spacing: 0; }
	.m-headb .hb-sub { display: none; }
	.m-headb .hb-slide-body { left: 20px; right: 20px; bottom: 26px; gap: 8px; }
	.m-headb .hb-slider, .m-headb .hb-track { min-height: 300px; }
	.m-headb .hb-btn { padding: 9px 18px; font-size: 13px; }
	.m-headb .hb-slide-meta { font-size: 11.5px; gap: 9px; }
	.m-headb .hb-arrow { display: none; }
}

/* 轮播箭头挪到右下，别压住标题 */
.m-headb .hb-arrow { top: auto; bottom: 26px; transform: none; width: 34px; height: 34px; font-size: 19px; }
.m-headb .hb-arrow.is-prev { left: auto; right: 66px; }
.m-headb .hb-arrow.is-next { right: 22px; }
.m-headb .hb-dots { left: auto; right: 50%; transform: translateX(50%); }
@media (max-width: 980px) { .m-headb .hb-arrow { display: none; } .m-headb .hb-dots { right: auto; left: 50%; transform: translateX(-50%); } }

/* 移动端：快捷入口提到轮播下面，别藏在推荐列表之后 */
.hb-quick.is-mobile { display: none; }
@media (max-width: 980px) {
	.hb-quick.is-mobile { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
	.hb-quick.is-mobile .hb-qc { padding: 12px 14px; }
	.hb-quick.is-mobile .hb-qc-icon { width: 32px; height: 32px; }
	.hb-quick.is-mobile .hb-qc-text strong { font-size: 13.5px; }
	.m-headb > .container > .hb-quick:not(.is-mobile) { display: none; }
	.feed-item { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; }
}

/* 详情页价格角标 + 标题限行 */
.sh-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aflag.is-price { text-decoration: none; color: #ffd166; border-color: rgba(255, 209, 102, .45); background: rgba(255, 209, 102, .12); font-weight: 800; letter-spacing: 0; }
.aflag.is-price:hover { background: rgba(255, 209, 102, .2); }
.aflag.is-free { color: #6ee7b7; border-color: rgba(110, 231, 183, .4); background: rgba(110, 231, 183, .1); }
@media (max-width: 980px) { .sh-title { -webkit-line-clamp: 4; font-size: clamp(20px, 5.4vw, 26px); } }

/* 列表页筛选状态条 */
.sort-cur { margin-left: auto; font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sort-cur b { color: var(--text); font-weight: 700; }
.sort-cur a { color: var(--brand); text-decoration: none; margin-left: 4px; }
.sort-cur a:hover { text-decoration: underline; }

/* 页脚五列 */
.foot-main { grid-template-columns: 1.45fr 1.05fr .9fr .9fr .9fr; gap: 26px; }
@media (max-width: 1100px) { .foot-main { grid-template-columns: 1.4fr 1fr 1fr; } }

/* === 布局打磨 2611-B：更新带横滑、概览胶囊、三套配色 === */

/* 首页更新带：一天一张卡，横向翻页 */
.upd-scroll { position: relative; min-width: 0; }
.upd-list { flex-direction: row; overflow-x: auto; gap: 14px; padding: 2px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.upd-list::-webkit-scrollbar { display: none; }
.upd-day { flex: 0 0 316px; scroll-snap-align: start; }
.upd-rows { grid-template-columns: 1fr; }
.upd-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); cursor: pointer; font-size: 18px; line-height: 1; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.upd-scroll:hover .upd-nav { display: inline-flex; }
.upd-nav.is-prev { left: -10px; }
.upd-nav.is-next { right: -10px; }
.upd-nav:disabled { opacity: .3; cursor: default; }
@media (hover: none) { .upd-nav { display: none !important; } }
@media (max-width: 980px) {
	.upd-day { flex: 0 0 82%; }
	.upd-list { gap: 10px; }
}

/* 详情页资源概览：一行胶囊 */
.sh-info { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; background: transparent; border: 0; margin: 16px 0 0; }
.sh-stat { flex-direction: row; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--s1); }
.sh-stat-label { font-size: 11.5px; letter-spacing: .04em; }
.sh-stat-value { font-size: 13px; }
@media (max-width: 980px) {
	.sh-info { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.sh-info::-webkit-scrollbar { display: none; }
	.sh-stat { flex: 0 0 auto; }
}

/* 三套配色：选预设后用 body class 覆盖主色 */
body.skin-violet { --accent: #a78bfa; --accent-2: #f472b6; --accent-3: #22d3ee; }
body.skin-forest { --accent: #34d399; --accent-2: #fbbf24; --accent-3: #22d3ee; }

/* 只有一天更新时，卡片铺满一行、条目三列，不留大片空白 */
.upd-layout { align-items: start; }
.upd-list.is-single { overflow: visible; }
.upd-list.is-single .upd-day { flex: 1 1 100%; }
.upd-list.is-single .upd-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.upd-list.is-single ~ .upd-nav { display: none !important; }
@media (max-width: 980px) { .upd-list.is-single .upd-rows { grid-template-columns: 1fr; } }

body.skin-violet::before {
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(167, 139, 250, .2), transparent 62%),
		radial-gradient(760px 460px at 92% 4%, rgba(244, 114, 182, .14), transparent 64%),
		linear-gradient(180deg, #080b11 0%, #0a0812 100%);
}
html.scheme-light body.skin-violet::before {
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(167, 139, 250, .18), transparent 62%),
		radial-gradient(760px 460px at 92% 4%, rgba(244, 114, 182, .12), transparent 64%),
		linear-gradient(180deg, #fdfbff 0%, #f3edfb 100%);
}
body.skin-forest::before {
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(52, 211, 153, .18), transparent 62%),
		radial-gradient(760px 460px at 92% 4%, rgba(34, 211, 238, .12), transparent 64%),
		linear-gradient(180deg, #080b11 0%, #07100d 100%);
}
html.scheme-light body.skin-forest::before {
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(52, 211, 153, .16), transparent 62%),
		radial-gradient(760px 460px at 92% 4%, rgba(34, 211, 238, .12), transparent 64%),
		linear-gradient(180deg, #fbfefc 0%, #edf7f2 100%);
}

/* 统一主色变量：按钮、徽标、高亮都跟随配色方案 */
body { --sh-primary: var(--accent); }
body.skin-violet { --accent-deep: #7c3aed; }
body.skin-forest { --accent-deep: #059669; }
body .filter-chip.is-active { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 38%, transparent); color: var(--accent); }
body .sort-chip.is-active { background: var(--accent); }

/* 正文图片点击放大 */
.entry-content img, .sh-body img { cursor: zoom-in; }
.sh-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(4, 8, 14, .92); display: none; align-items: center; justify-content: center; padding: 32px; }
.sh-lightbox.is-open { display: flex; }
.sh-lightbox img { max-width: 96vw; max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px -30px #000; }
.sh-lightbox-btn { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.sh-lightbox-btn:hover { background: rgba(255,255,255,.18); }
.sh-lightbox-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: 12px; }

/* 分类胶囊：默认折叠多余分类 */
.m-tabsbar .tab-pill.is-extra { display: none; }
.m-tabsbar.is-open .tab-pill.is-extra { display: inline-flex; }
.m-tabsbar .tab-more { cursor: pointer; border-style: dashed; color: var(--accent); background: transparent; }

/* 列表页视图切换 */
.view-switch { display: flex; gap: 6px; justify-content: flex-end; margin: -34px 0 14px; }
.vs-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 12px; cursor: pointer; }
.vs-btn.is-on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.vs-btn svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .view-switch { margin: 0 0 12px; justify-content: flex-start; } }

/* 紧凑列表视图 */
.res-grid.is-view-list { display: flex; flex-direction: column; gap: 10px; }
.res-grid.is-view-list .res-card { flex-direction: row; align-items: stretch; }
.res-grid.is-view-list .res-cover { flex: 0 0 150px; aspect-ratio: auto; height: auto; align-self: stretch; }
.res-grid.is-view-list .res-body { padding: 10px 14px; gap: 4px; }
.res-grid.is-view-list .res-body .res-title,
.res-grid.is-view-list .res-body .res-excerpt { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.res-grid.is-view-list .res-foot { padding-top: 6px; }
.res-grid.is-view-list .res-cover .res-quick { display: none; }
@media (max-width: 640px) {
	.res-grid.is-view-list .res-cover { flex: 0 0 104px; height: 78px; }
}

.res-grid.is-view-list .res-cover .cover-img,
.res-grid.is-view-list .res-cover img { width: 100%; height: 100%; object-fit: cover; }
.res-grid.is-view-list .res-cover .cover-fallback { min-height: 100%; }

/* 紧凑列表：内容顶部对齐，不撑高卡片 */
.res-grid.is-view-list .res-card .res-foot { margin-top: 0; }
.res-grid.is-view-list .res-body { justify-content: flex-start; gap: 3px; }

.res-grid.is-view-list .res-excerpt { display: none; }
.res-grid.is-view-list .res-cover { flex-basis: 132px; }
.res-grid.is-view-list .res-card { min-height: 96px; }

/* === 首页视图切换 + 全宽（隐藏右侧栏） === */
.view-switch.is-inline { margin: 0 10px 0 auto; justify-content: flex-end; }
.feed-head { gap: 12px; flex-wrap: wrap; }
.feed-layout.is-wide { grid-template-columns: minmax(0, 1fr) !important; }
.feed-layout.is-wide .feed-side { display: none; }
.archive-layout.is-wide { grid-template-columns: minmax(0, 1fr) !important; }
.archive-layout.is-wide .sidebar { display: none; }
.vs-btn.is-wide-on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* 首页卡片视图：两列大卡 */
.feed-list.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feed-list.is-cards .feed-item { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.feed-list.is-cards .feed-thumb { border-radius: 0; aspect-ratio: 16 / 9; }
.feed-list.is-cards .feed-body { padding: 13px 15px 15px; justify-content: flex-start; }
.feed-list.is-cards .feed-item-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; }
.feed-list.is-cards .feed-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-list.is-cards .feed-meta { margin-top: auto; padding-top: 10px; }
.feed-list.is-cards .feed-tags { position: absolute; left: 12px; top: 12px; z-index: 2; margin: 0; }
.feed-list.is-cards .feed-item { position: relative; }
.feed-layout.is-wide .feed-list.is-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feed-layout.is-wide .feed-list.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	.feed-list.is-cards { grid-template-columns: 1fr; }
	.view-switch.is-inline { width: 100%; margin: 8px 0 0; justify-content: flex-start; }
}

/* 卡片视图标签回到正文里，避免压图、低对比 */
.feed-list.is-cards .feed-tags { position: static; left: auto; top: auto; margin: 0 0 8px; }
.feed-list.is-cards .feed-body { min-height: 0; }

/* 全宽模式只影响下方内容列表，首屏轮播/侧栏保持原样 */

/* 卡片视图密度：带右栏三排，全宽五排 */
.feed-list.is-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-layout.has-side .feed-list.is-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-layout.is-wide .feed-list.is-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feed-layout.has-side .feed-list.is-cards .feed-excerpt,
.feed-layout.is-wide .feed-list.is-cards .feed-excerpt { display: none; }
.feed-layout.has-side .feed-list.is-cards .feed-item-title,
.feed-layout.is-wide .feed-list.is-cards .feed-item-title { font-size: 14.5px; }
.feed-layout.has-side .feed-list.is-cards .feed-body,
.feed-layout.is-wide .feed-list.is-cards .feed-body { padding: 11px 13px 13px; }
.feed-layout.has-side .feed-list.is-cards .feed-tags,
.feed-layout.is-wide .feed-list.is-cards .feed-tags { margin-bottom: 6px; }
@media (max-width: 1100px) {
	.feed-layout.is-wide .feed-list.is-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.feed-layout.has-side .feed-list.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.feed-list.is-cards, .feed-layout.is-wide .feed-list.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.feed-list.is-cards, .feed-layout.is-wide .feed-list.is-cards { grid-template-columns: 1fr; }
}

/* 后端设定的列表样式：资源库卡片铺满 */
.archive-layout.is-wide { grid-template-columns: minmax(0, 1fr) !important; }
.archive-layout.is-wide .sidebar { display: none; }
.res-grid.is-wide-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .res-grid.is-wide-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .res-grid.is-wide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .res-grid.is-cards, .res-grid.is-wide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 资源库首屏「随便看看」大图轮播 */
.res-hero-wrap { padding-top: 22px; }
.m-reshero { margin: 0 0 18px; }
.rh-slider { position: relative; border-radius: 20px; overflow: hidden; background: #0b1220; min-height: 430px; box-shadow: 0 26px 60px -40px rgba(8, 18, 34, .55); }
.rh-track { position: relative; min-height: 430px; }
.rh-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .55s ease; text-decoration: none; }
.rh-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.rh-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(1px) brightness(.88) saturate(1.04); transform: scale(1.03); }
.rh-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 22, .94) 0%, rgba(6, 12, 22, .84) 34%, rgba(6, 12, 22, .44) 66%, rgba(6, 12, 22, .14) 100%), linear-gradient(180deg, rgba(6, 12, 22, .1) 36%, rgba(6, 12, 22, .74) 100%); }
.rh-body { position: absolute; left: 42px; bottom: 40px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; max-width: 660px; color: #fff; }
.rh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(56, 189, 248, .26); border: 1px solid rgba(125, 211, 252, .42); backdrop-filter: blur(8px); }
.rh-title { font-size: clamp(24px, 2.6vw, 33px); line-height: 1.28; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.rh-sub { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 600px; }
.rh-meta { display: flex; gap: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.rh-meta .rh-price { color: #ffd479; font-weight: 700; }
.rh-meta .rh-free { color: #86efac; font-weight: 700; }
.rh-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 22px; border-radius: 12px; background: #fff; color: #0b1220; font-size: 14px; font-weight: 700; }
.rh-btn em { font-style: normal; transition: transform .2s; }
.rh-slide:hover .rh-btn em { transform: translateX(3px); }
.rh-top { position: absolute; top: 18px; left: 22px; right: 22px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rh-note { font-size: 12px; color: rgba(255, 255, 255, .68); background: rgba(6, 12, 22, .38); border: 1px solid rgba(255, 255, 255, .14); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.rh-shuffle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .16); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.rh-shuffle:hover { background: rgba(255, 255, 255, .3); }
.rh-arrow { position: absolute; right: 22px; bottom: 26px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.rh-arrow.is-next { right: 22px; }
.rh-arrow.is-prev { right: 68px; }
.rh-arrow:hover { background: rgba(255, 255, 255, .32); }
.rh-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; gap: 7px; }
.rh-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .42); cursor: pointer; }
.rh-dot.is-active { width: 18px; border-radius: 999px; background: #fff; }

/* 资源库分类胶囊：自然换行，一眼看全所有分类 */
.res-cats { row-gap: 8px; }

@media (max-width: 980px) {
	.rh-slider, .rh-track { min-height: 360px; }
	.rh-body { left: 26px; right: 26px; bottom: 30px; max-width: none; }
	.rh-arrow { display: none; }
	.rh-dots { left: 26px; transform: none; bottom: 12px; }
	.rh-top { top: 14px; left: 16px; right: 16px; }
	.rh-note { display: none; }
}
@media (max-width: 640px) {
	.res-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.res-cats::-webkit-scrollbar { display: none; }
	.res-cats .filter-chip { flex: 0 0 auto; }
	.m-reshero { margin: 16px 0 12px; }
	.rh-slider, .rh-track { min-height: 300px; border-radius: 16px; }
	.rh-body { left: 18px; right: 16px; bottom: 40px; gap: 8px; }
	.rh-title { font-size: 21px; -webkit-line-clamp: 3; }
	.rh-sub { display: none; }
	.rh-meta { font-size: 11.5px; gap: 9px; }
	.rh-btn { padding: 9px 16px; font-size: 13px; }
	.rh-dots { left: 18px; bottom: 14px; }
	.rh-shuffle { padding: 6px 12px; font-size: 12px; }
}

/* 详情右栏：全站更新订阅卡 */
.side-sub { margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(130% 110% at 0% 0%, rgba(56, 189, 248, .13), transparent 62%), var(--card); box-shadow: 0 14px 32px -28px rgba(20, 40, 90, .5); }
.ss-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.ss-head .sc-ico { color: var(--accent); display: inline-flex; }
.ss-tag { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); padding: 2px 8px; border-radius: 999px; background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .24); }
.ss-desc { margin: 9px 0 12px; font-size: 12.5px; line-height: 1.75; color: var(--text-dim); }
.ss-form { display: flex; flex-direction: column; gap: 8px; }
.ss-form input[type=email] { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--s1); color: var(--text); font-size: 13px; }
.ss-form input[type=email]:focus { outline: none; border-color: rgba(56, 189, 248, .55); box-shadow: 0 0 0 3px rgba(56, 189, 248, .14); }
.ss-btn { width: 100%; height: 38px; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: filter .2s, transform .2s; }
.ss-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ss-note { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }
.ss-msg { margin: 10px 0 0; font-size: 12px; color: var(--text-dim); }
.ss-msg.is-ok { color: #16a34a; }
.ss-msg.is-err { color: #dc2626; }
@media (max-width: 980px) { .side-sub { margin-bottom: 14px; } }

/* 移动端简化：只保留主内容，右侧栏整体不显示 */
@media (max-width: 980px) {
	.feed-side,
	.sh-side,
	.home-side,
	.archive-layout .sidebar { display: none !important; }
	.feed-layout,
	.feed-layout.has-side,
	.archive-layout,
	.archive-layout.is-wide,
	.sh-layout,
	.home-columns { grid-template-columns: minmax(0, 1fr) !important; }
	.sh-single, .archive-layout { padding-left: 16px; padding-right: 16px; }
}

/* 移动端：首屏右侧热榜也收起，只留轮播与快捷入口 */
@media (max-width: 980px) {
	.m-headb .hb-side { display: none !important; }
	.m-headb .hb-main { display: block; }
}
@media (max-width: 640px) {
	.sort-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.sort-bar::-webkit-scrollbar { display: none; }
	.sort-bar .sort-label, .sort-bar .sort-chip { flex: 0 0 auto; }
}

/* 详情页 PC：封面大图 → 标题/购买信息 → 内容介绍 */
.sh-hero.has-media { padding: 0; background: var(--card); }
.sh-hero.has-media .sh-hero-glow { display: none; }
.sh-hero.has-media .sh-cover { margin: 0; max-height: 470px; overflow: hidden; background: #0b1220; }
.sh-hero.has-media .sh-cover img { width: 100%; max-height: 470px; object-fit: cover; object-position: top center; }
.sh-hero-body { position: relative; padding-bottom: 22px; }
.sh-hero.has-media .sh-hero-body { padding: 26px 32px 26px; }
.sh-hero.has-media .sh-title { margin-top: 10px; }

.sh-buybar { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.shb-price { display: flex; flex-direction: column; gap: 3px; }
.shb-price strong { font-size: 27px; line-height: 1.1; letter-spacing: -.02em; color: var(--accent); }
.shb-price strong.is-ok, .shb-price strong.is-free { color: #16a34a; }
.shb-price span { font-size: 12px; color: var(--muted); }
.shb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shb-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 26px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 26px -16px rgba(14, 165, 233, .8); transition: transform .18s, filter .18s; }
.shb-btn:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff; }
.shb-sub { font-size: 12.5px; color: var(--accent); text-decoration: none; }
.shb-sub:hover { text-decoration: underline; }

.sh-intro-head { display: flex; align-items: center; gap: 9px; margin: 22px 0 12px; }
.sh-intro-bar { width: 4px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-3)); }
.sh-intro-head h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.sh-intro-head em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }

@media (max-width: 980px) {
	.sh-hero.has-media { padding: 0; }
	.sh-hero.has-media .sh-hero-body { padding: 20px 18px 22px; }
	.sh-buybar { display: none; }
	.sh-intro-head em { display: none; }
}

/* 资源库轮播：未加载的幻灯先留深色底，避免空白 */
.rh-slide img { transition: opacity .35s ease; }

/* 搜索结果分类筛选 */
.search-cats{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 18px}
.search-cats .filter-chip.is-on{background:var(--accent,#4f7cff);border-color:var(--accent,#4f7cff);color:#fff}
.search-cats .filter-chip i{margin-left:6px;font-style:normal;font-size:12px;opacity:.65}

@media (max-width:640px){
.search-cats{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.search-cats .filter-chip{flex:0 0 auto;white-space:nowrap}
}

/* ===== 在线支付：结算页 / 扫码页 ===== */
.pay-wrap{max-width:900px;margin:0 auto;padding:26px 18px 40px}
.pay-checkout,.pay-order{background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}
.pay-checkout{max-width:680px;margin:0 auto}
.pc-head{padding:28px 28px 20px;border-bottom:1px solid var(--line)}
.pc-kicker{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:rgba(56,189,248,.12);color:var(--accent);font-size:12px;font-weight:700;margin-bottom:10px}
.pc-head h1{font-size:26px;letter-spacing:-.6px;margin:0 0 6px}
.pc-head p{color:var(--text-dim);font-size:13.5px;margin:0}
.pc-product{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px;background:var(--s1)}
.pc-product-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.pc-product-main strong{font-size:16px;line-height:1.45;word-break:break-word}
.pc-product-main span{font-size:12.5px;color:var(--muted)}
.pc-amount{font-size:30px;font-weight:800;color:var(--accent);letter-spacing:-1px;white-space:nowrap}
.pc-form{padding:22px 28px 8px}
.pc-methods{display:flex;flex-direction:column;gap:10px}
.pc-method{display:flex;align-items:center;gap:13px;width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:var(--s1);color:var(--text);cursor:pointer;text-align:left;font:inherit;transition:border-color .18s,background .18s,transform .16s}
.pc-method:hover{border-color:rgba(56,189,248,.45);background:var(--s2);transform:translateY(-1px)}
.pc-method-ic{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:#fff;flex:0 0 auto;background:var(--s3)}
.pc-method.is-ali .pc-method-ic{background:linear-gradient(135deg,#1677ff,#0a4fbf)}
.pc-method.is-wx .pc-method-ic{background:linear-gradient(135deg,#07c160,#059b4e)}
.pc-method.is-balance .pc-method-ic{background:linear-gradient(135deg,#38bdf8,#0ea5e9)}
.pc-method-txt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.pc-method-txt b{font-size:14.5px}
.pc-method-txt i{font-style:normal;font-size:12px;color:var(--muted)}
.pc-method-arrow{color:var(--muted);font-size:16px}
.pc-tip{color:var(--text-dim);font-size:13px;margin:16px 0 4px}
.pc-foot{display:flex;justify-content:space-between;gap:16px;padding:18px 28px 24px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.pc-foot a{color:var(--accent);text-decoration:none}

.pay-order{max-width:480px;margin:0 auto}
.po-head{padding:28px 24px 24px;text-align:center;color:#fff;background:linear-gradient(135deg,#334155,#111827)}
.po-head.is-ali{background:linear-gradient(135deg,#1677ff,#0a4fbf)}
.po-head.is-wx{background:linear-gradient(135deg,#07c160,#059b4e)}
.po-logo{width:54px;height:54px;border-radius:16px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:800;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.po-head h1{font-size:19px;margin:0 0 3px}
.po-head p{font-size:12.5px;opacity:.9;margin:0}
.po-body{padding:24px 24px 22px;text-align:center}
.po-amount{font-size:14px;color:var(--muted);margin-bottom:16px}
.po-amount strong{font-size:32px;color:var(--text);letter-spacing:-1px;margin:0 3px}
.po-qr-wrap{position:relative;width:236px;height:236px;margin:0 auto 14px;padding:10px;background:#fff;border-radius:18px;box-shadow:0 14px 34px rgba(10,25,60,.18);box-sizing:border-box}
.po-qr{width:216px;height:216px;display:flex;align-items:center;justify-content:center}
.po-qr canvas,.po-qr img{display:block;max-width:100%;max-height:100%}
.po-qr-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:800;border:3px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.po-qr-logo.is-ali{background:linear-gradient(135deg,#1677ff,#0a4fbf)}
.po-qr-logo.is-wx{background:linear-gradient(135deg,#07c160,#059b4e)}
.po-tip{font-size:13px;color:var(--text-dim);margin:0 0 16px}
.po-error{padding:18px;border-radius:12px;background:rgba(248,113,113,.1);color:#f87171;font-size:13px;margin-bottom:14px}
.po-meta{display:grid;grid-template-columns:88px minmax(0,1fr);gap:7px 12px;padding:13px 15px;border-radius:12px;background:var(--s1);text-align:left;font-size:12.5px}
.po-meta span{color:var(--muted)}
.po-meta b{font-weight:600;color:var(--text-dim);word-break:break-all;text-align:right}
.po-actions{display:flex;gap:10px;margin-top:16px}
.po-btn{flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;border:0;font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none}
.po-btn.is-gray{background:var(--s2);color:var(--text-dim)}
.po-btn.is-main{background:linear-gradient(135deg,#8b5cff,#4a6bff 60%,#2f9bff);color:#fff;box-shadow:0 8px 20px rgba(74,107,255,.28)}
.po-status{margin-top:12px;font-size:12.5px;color:var(--ok);min-height:18px}
.po-paid{padding:28px 24px 30px;text-align:center}
.po-paid-ic{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2fd0a5,#0fae7e);color:#fff;font-size:36px;box-shadow:0 12px 30px rgba(47,208,165,.3)}
.po-paid strong{display:block;font-size:21px;margin-bottom:6px}
.po-paid p{color:var(--muted);font-size:13px;margin:0 0 18px}

.paywall-online,.vip-plan-online{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:13px;color:var(--accent);text-decoration:none}
.paywall-online:hover,.vip-plan-online:hover{text-decoration:underline}
.wallet-plan.is-link{display:inline-flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--text);border:1px solid var(--line);cursor:pointer;transition:.18s}
.wallet-plan.is-link:hover{border-color:rgba(56,189,248,.45);background:rgba(56,189,248,.1)}
.wallet-plan.is-link em{font-style:normal;font-size:11px;color:var(--accent)}
.sh-badge-ok,.sh-badge-warn{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700}
.sh-badge-ok{background:rgba(52,211,153,.14);color:#34d399}
.sh-badge-warn{background:rgba(249,115,22,.14);color:#fb923c}

@media (max-width:640px){
.pay-wrap{padding:16px 12px 30px}
.pc-head{padding:22px 18px 16px}
.pc-head h1{font-size:22px}
.pc-product{padding:16px 18px;flex-direction:column;align-items:flex-start;gap:8px}
.pc-amount{font-size:26px}
.pc-form{padding:16px 18px 6px}
.pc-foot{padding:14px 18px 20px;flex-direction:column;gap:8px}
.pay-order{border-radius:18px}
.po-head{padding:22px 18px 18px}
.po-body{padding:20px 18px 18px}
.po-qr-wrap{width:216px;height:216px}
.po-qr{width:196px;height:196px}
}
.sb-sub.is-online{margin-top:2px;color:var(--accent)}


/* ===== 2.7.1 视觉与移动端打磨 ===== */
/* 详情页大图加载时不要出现整块死黑 */
.sh-hero.has-media .sh-cover { background: linear-gradient(135deg, #1a2638, #0d1420); }
.sh-cover .cover-fallback { width: 100%; aspect-ratio: 16 / 9; max-height: 470px; min-height: 200px; }
html.scheme-light .cover-img {
	background-color: #e7edf7;
	background-image: linear-gradient(100deg, #e3eafa 8%, #f4f7fd 18%, #e3eafa 33%);
}

/* 支付等待状态用中性色，不再误读为成功 */
.po-status { color: var(--muted); }

/* 手机页脚：两列排布，分类占满一行并双列展开 */
@media (max-width: 700px) {
	.foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 18px; }
	.foot-main > .footer-brand { grid-column: 1 / -1; }
	.foot-main > .footer-col:nth-child(2) { grid-column: 1 / -1; }
	.foot-main > .footer-col:nth-child(5) { grid-column: 1 / -1; }
	.foot-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.foot-chips li { margin-bottom: 0; }
	.foot-main > .footer-col:nth-child(5) ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
	.foot-main > .footer-col:nth-child(5) ul li { margin: 0; }
	.foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
	.foot-copy { line-height: 1.75; }
	.foot-live { white-space: nowrap; }
	.footer-meta { flex-wrap: wrap; gap: 6px 14px; }
}

/* 个人中心 · 订单分组与卡片（2.7.2） */
.my-order-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 16px;
}
.my-order-tab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--s1);
	font-size: 12.5px;
	color: var(--text-dim);
	transition: .18s ease;
}
.my-order-tab:hover { color: var(--text); border-color: var(--line-strong); }
.my-order-tab i {
	font-style: normal;
	min-width: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--s3);
	color: var(--muted);
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}
.my-order-tab.is-active {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(135deg, var(--accent-deep), #6366f1);
	box-shadow: 0 8px 20px -10px rgba(14, 165, 233, .65);
}
.my-order-tab.is-active i { background: rgba(255, 255, 255, .22); color: #fff; }
.my-order-list { display: grid; gap: 10px; }
.my-order {
	padding: 15px 16px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: linear-gradient(180deg, var(--s1), transparent);
	transition: .18s ease;
}
.my-order:hover { border-color: var(--line-strong); background: var(--card-hover); }
.my-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.my-order-kind { font-size: 11.5px; color: var(--accent); letter-spacing: .03em; }
.my-order-title { margin: 7px 0 4px; font-size: 14.5px; line-height: 1.5; font-weight: 650; color: var(--text); }
.my-order-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 11.5px; color: var(--muted); }
.my-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); }
.my-order-amount { font-size: 16px; color: #fbbf24; font-weight: 750; letter-spacing: -.01em; }
.my-order-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.my-cancel-form { display: inline-flex; margin: 0; }
.my-mini-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 29px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--s2);
	color: var(--text-dim);
	font: inherit;
	font-size: 11.5px;
	cursor: pointer;
	transition: .18s ease;
	white-space: nowrap;
}
.my-mini-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--s3); }
.my-mini-btn.is-primary {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(135deg, var(--accent-deep), #6366f1);
	box-shadow: 0 8px 18px -12px rgba(14, 165, 233, .8);
}
.my-mini-btn.is-primary:hover { filter: brightness(1.08); color: #fff; }
.my-mini-btn.is-ghost { color: var(--muted); background: transparent; }
.my-mini-btn.is-ghost:hover { color: #fca5a5; border-color: rgba(248, 113, 113, .35); }
.my-mini-btn.is-copied { color: var(--ok); border-color: rgba(52, 211, 153, .4); }
.my-access-shortcut {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(56, 189, 248, .07), rgba(99, 102, 241, .06));
	transition: .18s ease;
}
.my-access-shortcut:hover { border-color: rgba(56, 189, 248, .3); background: rgba(56, 189, 248, .09); }
.my-access-shortcut h3 { margin: 0 0 3px; font-size: 14px; }
.my-access-shortcut p { margin: 0; font-size: 12px; }
.my-access-num { display: inline-flex; align-items: baseline; gap: 3px; color: var(--accent); font-weight: 700; }
.my-access-num em { font-style: normal; font-size: 21px; }
.my-access-num span { font-size: 12px; color: var(--muted); font-weight: 400; }
.my-access-num .ico { align-self: center; margin-left: 6px; }

@media (max-width: 640px) {
	.my-order { padding: 13px 14px; }
	.my-order-foot { flex-direction: column; align-items: stretch; gap: 9px; }
	.my-order-amount { font-size: 18px; }
	.my-order-acts { justify-content: flex-start; }
	.my-mini-btn { height: 31px; padding: 0 12px; }
	.my-access-shortcut { padding: 14px 15px; }
}

/* 2.7.2 移动端：顶栏收紧、个人中心资产与导航压缩 */
@media (max-width: 560px) {
	.header-inner { height: 62px; gap: 10px; }
	.brand { gap: 8px; min-width: 0; }
	.header-actions .btn-ghost span { display: none; }
	.brand-text strong {
		max-width: 150px;
		font-size: 14px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.brand-text em { display: none; }
	.header-actions { gap: 6px; }
	.header-actions .btn { padding: 8px 10px; }
	.header-actions .icon-btn { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
	.my-hero-stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}
	.my-hero-stat {
		min-width: 0;
		padding: 9px 11px;
		text-align: left;
	}
	.my-hero-stat:nth-child(3) { grid-column: auto; }
	.my-hero-stat em {
		font-size: 17px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.my-hero-stat span { white-space: nowrap; }
	.my-card, .my-order, .my-order-list, .my-order-tabs { min-width: 0; max-width: 100%; }
	.my-side {
		position: static;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}
	.my-nav {
		display: flex;
		gap: 7px;
		overflow-x: auto;
		padding-bottom: 5px;
		scrollbar-width: none;
	}
	.my-nav::-webkit-scrollbar { display: none; }
	.my-nav-item {
		flex: 0 0 auto;
		padding: 8px 12px;
		border: 1px solid var(--line);
		border-radius: 999px;
		background: var(--s1);
		font-size: 12.5px;
	}
	.my-nav-item.is-active { border-color: rgba(56, 189, 248, .3); }
	.my-nav-num { margin-left: 3px; }
	.my-side-sep, .my-nav-quick { display: none; }
	.my-logout { margin-top: 8px; padding: 8px; }
}

/* ===== 2.7.3 资源库筛选吸顶 / 搜索类型 / 分页页码 ===== */
.archive-toolbar {
	position: sticky;
	top: 69px;
	z-index: 30;
	margin: 0 0 18px;
	padding: 10px 12px 11px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--header-bg);
	backdrop-filter: blur(18px) saturate(140%);
	box-shadow: 0 12px 28px -24px rgba(4, 10, 22, .65);
}
.archive-toolbar .filter-bar { margin: 0 0 9px; }
.archive-toolbar .sort-bar { margin: 0; }
.archive-toolbar .sort-cur {
	margin-left: auto;
	min-width: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}
.archive-toolbar .sort-cur::-webkit-scrollbar { display: none; }
.sort-cur-label {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--muted);
	padding: 2px 6px 2px 0;
}
.cur-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 4px 9px;
	border-radius: 999px;
	border: 1px solid rgba(56, 189, 248, .24);
	background: rgba(56, 189, 248, .09);
	color: var(--text-dim);
	font-size: 11.5px;
	text-decoration: none;
}
.cur-pill i { font-style: normal; color: var(--muted); font-weight: 700; }
.cur-pill:hover { border-color: rgba(56, 189, 248, .48); color: var(--text); }
.cur-clear {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: var(--accent);
	text-decoration: none;
	padding: 4px 2px;
}
.cur-clear:hover { text-decoration: underline; }

.search-type-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.search-type-tab {
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--s1);
	color: var(--text-dim);
	font-size: 12.5px;
	text-decoration: none;
	transition: border-color .2s, background .2s, color .2s;
}
.search-type-tab:hover { border-color: rgba(56, 189, 248, .3); color: var(--text); }
.search-type-tab.is-active {
	border-color: transparent;
	background: linear-gradient(135deg, var(--accent), var(--accent-3));
	color: #fff;
	font-weight: 700;
}

.pagination-wrap { margin-top: 32px; }
.pagination-wrap .pagination { margin-top: 10px; }
.page-count {
	text-align: center;
	color: var(--muted);
	font-size: 12.5px;
	letter-spacing: .02em;
}
.page-count b { color: var(--text-dim); font-weight: 700; }

@media (max-width: 640px) {
	.archive-toolbar {
		top: 63px;
		margin: 0 -2px 14px;
		padding: 8px 9px 9px;
		border-radius: 12px;
	}
	.archive-toolbar .filter-bar { margin-bottom: 8px; }
	.archive-toolbar .sort-bar { gap: 6px; }
	.archive-toolbar .sort-label { display: none; }
	.archive-toolbar .sort-chip { padding: 5px 11px; font-size: 12px; }
	.archive-toolbar .sort-cur { width: 100%; margin: 7px 0 0; }
	.search-type-tabs { gap: 6px; margin-top: 11px; }
	.search-type-tab { padding: 5px 11px; font-size: 12px; }
}

/* ===== 2.7.4 视觉打磨：封面兜底 / 详情购买区 / 购买前须知 ===== */
.sh-cover::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 72px;
	background: linear-gradient(180deg, transparent, rgba(6, 10, 16, .22));
	pointer-events: none;
}

.shb-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 5px;
}
.shb-trust span {
	font-size: 10.5px;
	line-height: 1.2;
	padding: 3px 7px;
	border-radius: 999px;
	border: 1px solid rgba(52, 211, 153, .18);
	background: rgba(52, 211, 153, .07);
	color: #7dd3a8;
}

.sb-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	margin: 2px 0 10px;
}
.sb-facts.is-single { grid-template-columns: 1fr; }
.sb-fact {
	min-width: 0;
	padding: 7px 9px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: linear-gradient(135deg, rgba(56, 189, 248, .06), transparent 70%), var(--s1);
}
.sb-fact em {
	display: block;
	font-style: normal;
	font-size: 10px;
	letter-spacing: .08em;
	color: var(--muted);
}
.sb-fact strong {
	display: block;
	margin-top: 1px;
	font-size: 12.5px;
	font-weight: 650;
	color: var(--text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sb-social {
	margin: -2px 0 10px;
	font-size: 11.5px;
	color: var(--muted);
}
.sb-social b { color: var(--accent); font-weight: 800; }
.side-buy .sb-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}
.side-buy .sb-foot span {
	padding: 3px 7px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--s1);
	font-size: 10.5px;
	letter-spacing: 0;
	color: var(--text-dim);
}

.sh-faq {
	margin: 22px 0 0;
	padding: 20px 22px 4px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(56, 189, 248, .06), transparent 58%),
		var(--card);
	box-shadow: 0 18px 42px -38px rgba(4, 10, 22, .7);
}
.sh-faq-head {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	padding-bottom: 14px;
}
.sh-faq-kicker {
	display: block;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .2em;
	color: var(--accent);
	opacity: .85;
}
.sh-faq-head h2 {
	margin-top: 3px;
	font-size: 18px;
	letter-spacing: -.02em;
}
.sh-faq-badge {
	margin-left: auto;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--s1);
	font-size: 10.5px;
	color: var(--muted);
}
.sh-faq-list details {
	border-top: 1px solid var(--line);
	padding: 12px 0;
}
.sh-faq-list summary {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 650;
	color: var(--text);
}
.sh-faq-list summary::-webkit-details-marker { display: none; }
.sh-faq-list summary::after {
	content: "+";
	margin-left: auto;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--s1);
	color: var(--text-dim);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}
.sh-faq-list details[open] summary::after {
	content: "−";
	border-color: rgba(56, 189, 248, .3);
	color: var(--accent);
}
.sh-faq-list p {
	margin: 9px 0 2px;
	padding-left: 2px;
	max-width: 660px;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--text-dim);
}

@media (max-width: 640px) {
	.shb-trust { display: none; }
	.sb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh-faq {
		padding: 16px 16px 2px;
		border-radius: 16px;
	}
	.sh-faq-head { align-items: center; }
	.sh-faq-head h2 { font-size: 16.5px; }
	.sh-faq-list summary { font-size: 13px; gap: 8px; }
	.sh-faq-list p { font-size: 12px; }
}

/* ===== 2.7.5 已拥有状态 / 会员价 / 相关推荐补满 ===== */
.aflag.is-owned {
	color: #0f7a42;
	background: rgba(16, 185, 129, .13);
	border: 1px solid rgba(16, 185, 129, .22);
}
html.scheme-dark .aflag.is-owned {
	color: #6ee7b7;
	background: rgba(16, 185, 129, .16);
	border-color: rgba(110, 231, 183, .25);
}

.shb-price s,
.sb-price s {
	font-weight: 500;
	color: var(--muted);
	opacity: .8;
}
.shb-vip-price,
.sb-vip-price {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	align-self: flex-start;
	max-width: 100%;
	margin-top: 1px;
	padding: 4px 8px;
	border-radius: 8px;
	border: 1px solid rgba(249, 115, 22, .22);
	background: rgba(249, 115, 22, .08);
	font-size: 10.8px;
	line-height: 1.4;
	color: #b45309;
}
.shb-vip-price b,
.sb-vip-price b {
	font-size: 12px;
	font-weight: 800;
	color: #c2410c;
}
.shb-vip-price em,
.sb-vip-price em {
	font-style: normal;
	font-weight: 700;
	color: #16a34a;
}
.shb-vip-price.is-on {
	border-color: rgba(16, 185, 129, .22);
	background: rgba(16, 185, 129, .08);
	color: #0f7a42;
}
html.scheme-dark .shb-vip-price,
html.scheme-dark .sb-vip-price {
	border-color: rgba(251, 146, 60, .25);
	background: rgba(249, 115, 22, .1);
	color: #fdba74;
}
html.scheme-dark .shb-vip-price b,
html.scheme-dark .sb-vip-price b { color: #fb923c; }
html.scheme-dark .shb-vip-price em,
html.scheme-dark .sb-vip-price em { color: #6ee7b7; }
html.scheme-dark .shb-vip-price.is-on {
	border-color: rgba(110, 231, 183, .2);
	background: rgba(16, 185, 129, .1);
	color: #6ee7b7;
}
.sb-price .sb-vip-price { flex-basis: 100%; width: fit-content; margin: 0; }

@media (max-width: 640px) {
	.shb-vip-price { font-size: 10px; padding: 3px 7px; }
	.shb-vip-price b { font-size: 11px; }
}

/* ===== 2.7.6 阅读进度 / 下载面板 / 搜索键盘操作 ===== */
.sh-readbar {
	position: fixed;
	left: 0;
	top: 68px;
	width: 100%;
	height: 2px;
	z-index: 59;
	pointer-events: none;
}
.sh-readbar i {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #38bdf8 0%, #818cf8 48%, #f97316 100%);
	box-shadow: 0 0 10px rgba(56, 189, 248, .5);
	transition: width .08s linear;
}

.dl-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(16, 185, 129, .12);
	border: 1px solid rgba(16, 185, 129, .22);
	font-style: normal;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #0f7a42;
	vertical-align: 2px;
}
.dl-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}
.dl-meta span {
	padding: 2px 7px;
	border-radius: 6px;
	background: rgba(56, 189, 248, .08);
	border: 1px solid rgba(56, 189, 248, .13);
	font-size: 10.5px;
	line-height: 1.5;
	color: var(--text-dim);
}
.download-foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	padding-top: 11px;
	border-top: 1px dashed rgba(56, 189, 248, .22);
}
.download-foot span { font-size: 11.5px; color: var(--muted); }
.copy-btn.is-strong:not(.is-copied) {
	background: rgba(56, 189, 248, .13);
	border-color: rgba(56, 189, 248, .28);
	color: var(--accent);
	font-weight: 700;
}
.copy-btn.is-strong:hover { background: rgba(56, 189, 248, .22); }
html.scheme-light .dl-badge { color: #0b7a46; }
html.scheme-dark .dl-badge {
	background: rgba(16, 185, 129, .16);
	border-color: rgba(110, 231, 183, .24);
	color: #6ee7b7;
}

.sh-sg-item.is-active {
	background: rgba(56, 189, 248, .12);
	box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .2);
}

@media (max-width: 768px) {
	.sh-readbar { top: 62px; }
	.download-foot { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* ===== 2.7.7 最近搜索 / 登录提示 ===== */
.sh-sg-recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 9px 6px;
	font-size: 11.5px;
	color: var(--muted);
}
.sh-sg-recent-clear {
	border: 0;
	background: none;
	padding: 0;
	font-size: 11px;
	color: var(--muted);
	cursor: pointer;
}
.sh-sg-recent-clear:hover { color: var(--accent); }
.sh-sg-recent-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 2px 8px 8px;
}
.sh-sg-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	max-width: 100%;
	padding: 5px 6px 5px 9px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: var(--s1);
	font-size: 12px;
	color: var(--text-dim);
	cursor: pointer;
}
.sh-sg-chip:hover { border-color: rgba(56, 189, 248, .3); background: rgba(56, 189, 248, .08); color: var(--text); }
.sh-sg-chip-del {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}
.sh-sg-chip-del:hover { background: rgba(239, 68, 68, .12); color: #ef4444; }

.shb-login-tip {
	margin-top: 3px;
	font-size: 10.8px;
	color: var(--muted);
}
.shb-login-tip a { color: var(--accent); text-decoration: none; font-weight: 700; }
.shb-login-tip a:hover { text-decoration: underline; }


/* ===== 2.7.8 模块预览锚点 / 热门搜索 ===== */
.home-mod { scroll-margin-top: 82px; }
.home-mod.is-preview { animation: sh-mod-preview 1.4s ease; }
@keyframes sh-mod-preview {
	0% { background: rgba(56, 189, 248, .10); }
	100% { background: transparent; }
}
.sh-sg-recent-head em {
	margin-left: auto;
	font-style: normal;
	font-size: 10.5px;
	color: var(--muted);
}


/* ===== 2.7.10 模块独立预览 ===== */
body.sh-module-embed {
	min-height: 100vh;
	margin: 0;
}
.sh-embed-bar {
	border-bottom: 1px solid var(--line);
	background: var(--s1);
}
.sh-embed-bar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 20px;
	font-size: 12.5px;
	color: var(--muted);
}
.sh-embed-bar-in b { color: var(--text); }
.sh-embed-bar-in a {
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
}
.sh-embed-bar-in a:hover { text-decoration: underline; }
.sh-embed-wrap { padding: 12px 0 34px; }
.sh-embed-wrap > .home-mod { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sh-embed-empty {
	max-width: 760px;
	margin: 40px auto;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--s1);
	color: var(--muted);
	text-align: center;
}

/* 封面图：降低遮罩和模糊，标题收敛，让图片本身能被看见 */
.m-headb .hb-slide img {
	filter: saturate(1.04);
	transform: none;
}
.m-headb .hb-slide::after {
	background: linear-gradient(180deg, rgba(6, 10, 18, 0) 24%, rgba(6, 10, 18, .18) 46%, rgba(6, 10, 18, .72) 76%, rgba(6, 10, 18, .94) 100%);
}
.m-headb .hb-slide-body {
	max-width: min(620px, calc(100% - 84px));
}
.m-headb .hb-title {
	font-size: clamp(20px, 1.8vw, 24px);
	line-height: 1.26;
}
.feature-big::after {
	background: linear-gradient(180deg, rgba(6, 10, 18, .10) 0%, rgba(6, 10, 18, .38) 46%, rgba(6, 10, 18, .84) 100%);
}
.feature-mini::after {
	background: linear-gradient(180deg, rgba(6, 10, 18, .06), rgba(6, 10, 18, .72));
}
.feature-title {
	font-size: clamp(20px, 1.9vw, 25px);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 980px) {
	.m-headb .hb-slide-body { max-width: calc(100% - 40px); }
	.m-headb .hb-title { font-size: 22px; }
}

/* ===== 2.7.11 头部轮播：图片在上，标题独立在下，不再压在封面上 ===== */
.m-headb .hb-slide {
	display: flex;
	flex-direction: column;
	background: #0b111a;
}
.m-headb .hb-pic {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	background: #0f1720;
}
.m-headb .hb-pic img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: none;
	transform: none;
}
.m-headb .hb-slide::after { display: none; }
.m-headb .hb-slide-body {
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	width: auto;
	max-width: none;
	flex: 0 0 auto;
	gap: 4px;
	padding: 8px 20px 10px;
	background: #0b111a;
}
.m-headb .hb-pic .hb-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 4px 10px;
	font-size: 11.5px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}
.m-headb .hb-title {
	max-width: 100%;
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.2;
	text-shadow: none;
}
.m-headb .hb-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
}
.m-headb .hb-slide-meta { margin: 0; flex-wrap: wrap; font-size: 11.5px; gap: 8px; }
.m-headb .hb-btn {
	margin: 0;
	padding: 6px 13px;
	font-size: 12px;
	flex: none;
}
.m-headb .hb-arrow {
	top: 37%;
	bottom: auto;
	transform: translateY(-50%);
}
.m-headb .hb-arrow.is-prev {
	left: 14px;
	right: auto;
}
.m-headb .hb-arrow.is-next {
	right: 14px;
	left: auto;
}
.m-headb .hb-dots {
	top: 14px;
	right: 16px;
	bottom: auto;
	left: auto;
	transform: none;
}
@media (max-width: 980px) {
	.m-headb .hb-slider, .m-headb .hb-track { min-height: 360px; }
	.m-headb .hb-slide-body { padding: 7px 18px 9px; gap: 4px; }
	.m-headb .hb-title { font-size: 18px; -webkit-line-clamp: 2; line-height: 1.2; }
	.m-headb .hb-btn { padding: 5px 12px; font-size: 12px; }
	.m-headb .hb-slide-meta { font-size: 10.5px; gap: 7px; }
	.m-headb .hb-pic .hb-badge { top: 10px; left: 10px; padding: 3px 9px; font-size: 11px; }
}

/* ===== 2.7.13 手机页脚精简：去掉分类/关于/帮助/关注，品牌统计直接接备案 ===== */
@media (max-width: 700px) {
	.site-footer .foot-main {
		display: block;
		padding: 24px 4px 16px;
	}
	.site-footer .foot-main .footer-col { display: none; }
	.site-footer .footer-brand { max-width: none; }
	.site-footer .footer-desc { max-width: none; }
	.site-footer .foot-bottom {
		margin-top: 0;
		padding: 14px 4px 0;
	}
}

/* ===== 2.7.14 手机返回顶部按钮让开底部 Tab，不再只露一截圆弧 ===== */
@media (max-width: 768px) {
	.back-top {
		right: 16px;
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		z-index: 95;
		width: 40px;
		height: 40px;
	}
}
