/*
 * 文件名：main.css
 * 功能：主题全局样式 — 变量、布局、首页区块、认证页与玩法模块
 * 作者：繁华境开发团队
 * 最后修改：2026-06-15
 */

/* ========== CSS 变量与基础重置 ========== */
:root {
	--bg-dark: #0b0d12;
	--bg-card: #12151c;
	--bg-elevated: #1a1f2a;
	--border: rgba(255, 180, 60, 0.15);
	--text: #e8eaef;
	--text-muted: #8b93a7;
	--accent: #e8941a;
	--accent-bright: #ffb020;
	--accent-glow: rgba(232, 148, 26, 0.35);
	--online: #3ddc84;
	--danger: #ff4757;
	--font-body: 'Noto Sans SC', sans-serif;
	--font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
	--container: 1200px;
	--radius: 8px;
	--transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

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

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

/* ========== 页面加载器 ========== */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: var(--bg-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.is-loading #page { visibility: hidden; }
body:not(.is-loading) #page,
body.is-loading #page-loader.is-hidden + #page { visibility: visible; }
.loader-logo {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 900;
	color: var(--accent-bright);
	letter-spacing: 0.1em;
	margin-bottom: 1.5rem;
	text-align: center;
}
.loader-bar {
	width: 200px;
	height: 3px;
	background: var(--bg-elevated);
	border-radius: 2px;
	overflow: hidden;
	margin: 0 auto 1rem;
}
.loader-bar span {
	display: block;
	height: 100%;
	width: 40%;
	background: linear-gradient(90deg, var(--accent), var(--accent-bright));
	animation: loaderSlide 1.2s ease-in-out infinite;
}
.loader-text { text-align: center; color: var(--text-muted); font-size: 0.875rem; }
@keyframes loaderSlide {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(350%); }
}

/* ========== 服务器状态栏 ========== */
.server-status-bar {
	background: linear-gradient(90deg, #0f1219, #151a24);
	border-bottom: 1px solid var(--border);
	font-size: 0.8125rem;
	padding: 0.5rem 0;
}
.status-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: center;
	justify-content: center;
}
.status-online { color: var(--online); }
.status-online.is-offline { color: var(--danger, #e74c3c); }
.status-ip { color: var(--accent-bright); font-family: monospace; }

/* ========== 站点顶栏 ========== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(11, 13, 18, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
}
.site-logo, .footer-logo {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	text-decoration: none;
}
.logo-mark {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.25rem;
	color: var(--accent-bright);
	letter-spacing: 0.05em;
}
.logo-number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: #fff;
}

.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}
.nav-list a {
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 0.5rem 0;
	position: relative;
}
.nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width var(--transition);
}
.nav-list a:hover { color: var(--accent-bright); }
.nav-list a:hover::after { width: 100%; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
.btn-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-size: 0.75rem;
}
.btn-outline, .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: var(--radius);
	font-size: 0.875rem;
	font-weight: 600;
	transition: all var(--transition);
	white-space: nowrap;
}
.btn-outline {
	border: 1px solid var(--border);
	color: var(--text);
	background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-primary {
	background: linear-gradient(135deg, var(--accent), #c9740f);
	color: #fff;
	border: none;
	box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 28px var(--accent-glow);
	color: #fff;
}
.btn-block { width: 100%; }

/* ========== 顶栏用户中心胶囊（全站） ========== */
.header-user-menu {
	position: relative;
	flex-shrink: 0;
}

.header-user-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	height: 36px;
	padding: 0 0.65rem 0 0.3rem;
	background: rgba(12, 14, 20, 0.85);
	border: 1px solid rgba(232, 148, 26, 0.45);
	border-radius: 999px;
	color: #e8eaef;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-user-trigger:hover,
.header-user-menu.is-open .header-user-trigger {
	border-color: var(--accent-bright);
	box-shadow: 0 0 12px rgba(232, 148, 26, 0.25);
}

.header-user-avatar,
.fhj-user-avatar-letter {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--accent), #c9740f);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.8125rem;
	color: #fff;
	overflow: hidden;
}

.fhj-user-avatar-img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
	background: #1a1d24;
}

.header-user-avatar-lg,
.header-user-dropdown-head .fhj-user-avatar-img {
	width: 40px;
	height: 40px;
}

.header-user-dropdown-head .fhj-user-avatar-letter {
	width: 40px;
	height: 40px;
	font-size: 1rem;
}

.header-user-label {
	display: inline;
	max-width: 5.5rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header-user-chevron {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	color: #8b93a7;
	transition: transform 0.2s ease;
}

.header-user-menu.is-open .header-user-chevron {
	transform: rotate(180deg);
}

.header-user-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	max-width: 280px;
	padding: 0.75rem;
	background: rgba(14, 17, 24, 0.96);
	border: 1px solid rgba(255, 180, 60, 0.18);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 3000;
}

.header-user-menu.is-open .header-user-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-user-dropdown-head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 180, 60, 0.1);
}

.header-user-dropdown-meta {
	min-width: 0;
}

.header-user-dropdown-head strong {
	display: block;
	color: #fff;
	font-size: 0.875rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.header-user-game-id {
	font-size: 0.72rem;
	color: var(--text-muted);
}

.header-user-dropdown-badges {
	padding: 0.5rem 0;
}

.header-user-avatar-upload {
	display: block;
	margin-bottom: 0.35rem;
	cursor: pointer;
}

.header-user-upload-btn {
	display: block;
	padding: 0.45rem 0.6rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	color: var(--accent-bright);
	background: rgba(232, 148, 26, 0.08);
	border: 1px dashed rgba(232, 148, 26, 0.35);
	text-align: center;
	transition: background 0.2s ease;
}

.header-user-avatar-upload:hover .header-user-upload-btn {
	background: rgba(232, 148, 26, 0.15);
}

.header-user-upload-hint {
	display: block;
	font-size: 0.7rem;
	color: var(--text-muted);
	min-height: 1em;
	margin-top: 0.25rem;
	text-align: center;
}

.header-user-dropdown-nav {
	display: grid;
	gap: 0.15rem;
}

.header-user-dropdown-nav a {
	display: block;
	padding: 0.5rem 0.6rem;
	border-radius: 6px;
	color: #e8eaef;
	font-size: 0.8125rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.header-user-dropdown-nav a:hover {
	background: rgba(255, 176, 32, 0.1);
	color: var(--accent-bright);
}

.header-user-dropdown-nav a.is-danger {
	color: #ff8a94;
}

.header-user-dropdown-nav a.is-danger:hover {
	background: rgba(255, 71, 87, 0.12);
}

/* 顶栏用户菜单 — 小屏仅显示头像 */
@media (max-width: 768px) {
	.header-user-label {
		display: none;
	}
	.header-user-trigger {
		padding: 0 0.35rem;
		width: 36px;
		justify-content: center;
	}
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	transition: var(--transition);
}

/* ========== 首页 Hero 轮播 ========== */
.hero-slider {
	position: relative;
	height: min(85vh, 720px);
	min-height: 480px;
	overflow: hidden;
}
.hero-slides { height: 100%; position: relative; }
.hero-slide {
	position: absolute;
	inset: 0;
	background-color: #0b0d12;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.8s ease;
}
.hero-slide.has-bg {
	background-color: #121820;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11,13,18,0.3) 0%, rgba(11,13,18,0.85) 100%);
}
.hero-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 4rem;
}
.hero-tag {
	font-size: 1rem;
	color: var(--accent-bright);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin: 0 0 0.75rem;
}
.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	margin: 0 0 1.5rem;
	line-height: 1.2;
	text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-dots {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 3;
}
.hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.4);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: var(--transition);
}
.hero-dot.is-active, .hero-dot:hover {
	background: var(--accent-bright);
	border-color: var(--accent-bright);
}

/* ========== 通用内容区块 ========== */
.section { padding: 5rem 0; }
.section:nth-child(even) { background: rgba(255,255,255,0.02); }
.section-header {
	margin-bottom: 3rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}
.section-header.centered { text-align: center; flex-direction: column; align-items: center; }
.section-label {
	display: block;
	font-family: var(--font-display);
	font-size: 0.875rem;
	color: var(--accent);
	letter-spacing: 0.15em;
	margin-bottom: 0.5rem;
}
.section-title {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	margin: 0;
	color: #fff;
}
.section-subtitle, .section-eyebrow {
	color: var(--text-muted);
	margin: 0.5rem 0 0;
	font-size: 1rem;
}
.link-more { font-size: 0.9375rem; }

/* ========== 特色玩法网格 ========== */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1.5rem;
}
.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
	transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.3);
	border-color: rgba(232, 148, 26, 0.3);
}
.feature-title {
	font-size: 1.125rem;
	color: var(--accent-bright);
	margin: 0 0 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border);
}
.feature-content { color: var(--text-muted); font-size: 0.9375rem; }
.feature-content p { margin: 0; }

/* ========== 宠物/快捷键网格 ========== */
.pet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}
.pet-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-align: center;
	transition: var(--transition);
}
.pet-card:hover { border-color: var(--accent); }
.pet-hotkey {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--accent-bright);
	background: var(--bg-elevated);
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius);
	margin-bottom: 1rem;
	border: 1px solid var(--border);
}
.pet-title { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.pet-desc { color: var(--text-muted); font-size: 0.875rem; }
.pet-desc p { margin: 0; }

/* ========== 岛屿/地块网格 ========== */
.island-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
}
.island-card { text-align: center; }
.island-image {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4/3;
	margin-bottom: 0.75rem;
	border: 1px solid var(--border);
}
.island-image img { width: 100%; height: 100%; object-fit: cover; }
.island-placeholder, .gallery-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1e2430, #12151c);
	min-height: 160px;
}
.island-badge {
	position: absolute;
	bottom: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.75);
	color: var(--text);
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	white-space: nowrap;
}
.island-badge.available { color: var(--accent-bright); }
.island-card.is-sold .island-image { opacity: 0.6; filter: grayscale(0.5); }
.island-title { font-size: 1rem; margin: 0; }
.island-desc { color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.35rem; }
.island-desc p { margin: 0; }
.gallery-desc { color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.35rem; }
.gallery-desc p { margin: 0; }
.page-intro { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

/* ========== 图库网格 ========== */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}
.gallery-card {
	background: var(--bg-card);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	transition: var(--transition);
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.gallery-image { aspect-ratio: 16/10; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { padding: 1.25rem; }
.gallery-caption h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.gallery-meta { color: var(--text-muted); font-size: 0.8125rem; }

/* ========== 新闻/公告网格 ========== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}
.news-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--transition);
}
.news-card:hover { border-color: rgba(232,148,26,0.4); }
.news-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 1.25rem; flex: 1; }
.news-body time { color: var(--accent); font-size: 0.8125rem; }
.news-body h2, .news-body h3 { margin: 0.5rem 0; font-size: 1.0625rem; }
.news-body h2 a, .news-body h3 a { color: #fff; }
.news-body p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ========== 内页文章与归档 ========== */
.page-content { padding: 3rem 0 5rem; }
.content-article {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2.5rem;
}
.entry-header { margin-bottom: 2rem; }
.entry-title { font-family: var(--font-display); font-size: 2rem; margin: 0; }
.entry-date { color: var(--accent); font-size: 0.875rem; }
.entry-content { color: var(--text-muted); }
.entry-content h2, .entry-content h3 { color: #fff; }
.entry-thumb { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.entry-footer { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.archive-header { margin-bottom: 2rem; }
.archive-title { font-family: var(--font-display); font-size: 2rem; margin: 0; }

/* ========== 页脚 ========== */
.site-footer {
	background: #080a0e;
	border-top: 1px solid var(--border);
	margin-top: 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2.5rem;
	padding: 4rem 0 3rem;
}
.footer-col h3 {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--accent-bright);
	margin: 0 0 1rem;
}
.footer-tagline { color: var(--accent); font-weight: 500; }
.footer-contact { margin-top: 1rem; font-size: 0.875rem; color: var(--text-muted); }
.footer-contact p { margin: 0.25rem 0; }
.footer-post-list { list-style: none; margin: 0; padding: 0; }
.footer-post-list li { margin-bottom: 0.75rem; }
.footer-post-list a {
	display: flex;
	flex-direction: column;
	color: var(--text-muted);
	font-size: 0.875rem;
}
.footer-post-list a:hover { color: var(--accent-bright); }
.footer-post-list .post-date { font-size: 0.75rem; color: var(--accent); }
.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 1.25rem 0;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--text-muted);
}
.footer-bottom p { margin: 0; }

/* ========== 分页 ========== */
.pagination, .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
}
.page-numbers.current, .page-numbers:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* ========== 响应式 — 平板及以下 ========== */
@media (max-width: 992px) {
	.header-inner { flex-wrap: wrap; }
	.main-navigation {
		order: 3;
		width: 100%;
		display: none;
	}
	.main-navigation.is-open { display: block; }
	.main-navigation.is-open .nav-list {
		flex-direction: column;
		padding: 1rem 0;
	}
	.menu-toggle { display: flex; }
	.header-actions .btn-icon,
	.header-actions .btn-outline,
	.header-actions .btn-primary {
		font-size: 0.8rem;
		padding: 0.4rem 0.65rem;
	}
}

/* ========== 响应式 — 手机 ========== */
@media (max-width: 640px) {
	.server-status-bar { font-size: 0.75rem; }
	.status-inner { gap: 0.5rem 1rem; }
	.section { padding: 3rem 0; }
	.feature-grid { grid-template-columns: 1fr; }
	.content-article { padding: 1.5rem; }
}

/* ========== 玩法模块与表单 ========== */
.fhj-gameplay { padding-bottom: 4rem; }
.fhj-module-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}
.fhj-module-card {
	display: block;
	padding: 1.25rem 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color var(--transition), transform var(--transition);
}
.fhj-module-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	color: inherit;
}
.fhj-module-card h3 {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--accent-bright);
}
.fhj-module-card p { margin: 0; color: var(--text-muted); font-size: 0.875rem; }
.fhj-module-card-highlight {
	border-color: var(--accent);
	background: linear-gradient(135deg, rgba(232, 148, 26, 0.08), rgba(18, 21, 28, 1));
}
.fhj-form {
	max-width: 520px;
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.fhj-field {
	display: block;
	margin-bottom: 1rem;
}
.fhj-field > span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-field input,
.fhj-field select,
.fhj-field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	font: inherit;
}
.fhj-field input:focus,
.fhj-field select:focus,
.fhj-field textarea:focus {
	outline: none;
	border-color: var(--accent);
}
.fhj-checkbox { display: flex; align-items: center; gap: 0.5rem; }
.fhj-checkbox input { width: auto; }
.fhj-notice {
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	margin: 1rem 0;
}
.fhj-notice.is-success { background: rgba(61, 220, 132, 0.12); border: 1px solid var(--online); color: var(--online); }
.fhj-notice.is-error { background: rgba(255, 71, 87, 0.12); border: 1px solid var(--danger); color: #ff8a94; }
.fhj-welcome { color: var(--text-muted); }
.fhj-recent { margin-top: 2rem; }
.fhj-recent h2 { font-size: 1.1rem; font-family: var(--font-display); color: var(--accent-bright); }
.fhj-list { list-style: none; padding: 0; margin: 0; }
.fhj-list li {
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 0.9rem;
}
.fhj-list time { color: var(--accent); margin-right: 0.5rem; }
.fhj-status { font-size: 0.8rem; padding: 0.1rem 0.45rem; border-radius: 4px; }
.fhj-status-pending { background: rgba(255, 176, 32, 0.15); color: var(--accent-bright); }
.fhj-status-approved { background: rgba(61, 220, 132, 0.15); color: var(--online); }
.fhj-status-rejected { background: rgba(255, 71, 87, 0.15); color: #ff8a94; }
.fhj-back { margin-top: 2rem; }
.fhj-panel-list { display: grid; gap: 1rem; margin: 2rem 0; }
.fhj-panel-item {
	padding: 1.25rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.fhj-panel-item h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: #fff; }
.fhj-meta { margin: 0 0 0.5rem; font-size: 0.8rem; color: var(--accent); }
.fhj-panel-body { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* ========== 登录 / 注册认证页 ========== */
body.fhj-auth-screen .site-main { padding: 0; }
body.fhj-auth-screen .site-footer { margin-top: 0; }

.fhj-auth-page {
	position: relative;
	min-height: calc(100vh - 120px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 0 3.5rem;
	overflow: hidden;
}
.fhj-auth-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.fhj-auth-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 176, 32, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 176, 32, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.fhj-auth-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.45;
}
.fhj-auth-glow-1 {
	width: 420px;
	height: 420px;
	background: var(--accent);
	top: -120px;
	left: -80px;
}
.fhj-auth-glow-2 {
	width: 360px;
	height: 360px;
	background: #3a5bff;
	bottom: -100px;
	right: -60px;
	opacity: 0.25;
}
.fhj-auth-shell {
	position: relative;
	z-index: 1;
	width: min(100% - 32px, 960px);
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 0;
	background: rgba(18, 21, 28, 0.85);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	backdrop-filter: blur(16px);
}
.fhj-auth-brand {
	padding: 2.5rem 2rem;
	background: linear-gradient(160deg, rgba(232, 148, 26, 0.12) 0%, rgba(11, 13, 18, 0.6) 55%);
	border-right: 1px solid var(--border);
	display: flex;
	align-items: center;
}
.fhj-auth-brand-inner { width: 100%; }
.fhj-auth-logo {
	display: inline-flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 1.25rem;
	color: inherit;
}
.fhj-auth-logo:hover { color: inherit; }
.fhj-auth-logo-mark {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--accent-bright);
	letter-spacing: 0.08em;
}
.fhj-auth-logo-name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
}
.fhj-auth-tagline {
	margin: 0 0 1.75rem;
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}
.fhj-auth-features {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}
.fhj-auth-features li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.65rem;
	color: var(--text);
	font-size: 0.9rem;
}
.fhj-auth-features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent-bright);
	box-shadow: 0 0 8px var(--accent-glow);
}
.fhj-auth-back {
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-auth-back:hover { color: var(--accent-bright); }
.fhj-auth-panel {
	padding: 2rem 2.25rem 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.fhj-auth-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding: 0.35rem;
	background: var(--bg-elevated);
	border-radius: 999px;
	border: 1px solid var(--border);
}
.fhj-auth-tab {
	flex: 1;
	text-align: center;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-muted);
	transition: all var(--transition);
}
.fhj-auth-tab:hover { color: #fff; }
.fhj-auth-tab.is-active {
	background: linear-gradient(135deg, var(--accent), #c9740f);
	color: #fff;
	box-shadow: 0 4px 16px var(--accent-glow);
}
.fhj-auth-card-head h1 {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: #fff;
}
.fhj-auth-card-head p {
	margin: 0 0 1.25rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}
.fhj-auth-intro {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: var(--bg-elevated);
	border-radius: var(--radius);
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-auth-form { margin-top: 0.25rem; }
.fhj-auth-field { display: block; margin-bottom: 1rem; }
.fhj-auth-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
}
.fhj-auth-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.fhj-auth-icon {
	position: absolute;
	left: 0.85rem;
	width: 18px;
	height: 18px;
	fill: var(--text-muted);
	pointer-events: none;
	transition: fill var(--transition);
}
.fhj-auth-input-wrap:focus-within .fhj-auth-icon { fill: var(--accent-bright); }
.fhj-auth-input-wrap input {
	width: 100%;
	padding: 0.75rem 2.75rem 0.75rem 2.65rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text);
	font: inherit;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.fhj-auth-input-wrap input::placeholder { color: #5c6478; }
.fhj-auth-input-wrap input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(232, 148, 26, 0.15);
}
.fhj-auth-toggle-pwd {
	position: absolute;
	right: 0.5rem;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity var(--transition);
}
.fhj-auth-toggle-pwd:hover { opacity: 1; }
.fhj-auth-toggle-pwd::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	margin: auto;
	background: currentColor;
	color: var(--text-muted);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 11a4 4 0 110-8 4 4 0 010 8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fhj-auth-toggle-pwd.is-visible::before {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 015 5 5 5 0 01-5 5 5 5 0 01-5-5 5 5 0 015-5m0-5C7 7 2.7 10.1 1 14c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7z'/%3E%3C/svg%3E");
}
.fhj-auth-remember {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.25rem 0 1.25rem;
	font-size: 0.875rem;
	color: var(--text-muted);
	cursor: pointer;
}
.fhj-auth-remember input { width: auto; accent-color: var(--accent); }
.fhj-auth-terms {
	margin: 0 0 1.25rem;
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.5;
}
.fhj-auth-submit {
	padding: 0.85rem 1.25rem;
	font-size: 0.95rem;
	margin-top: 0.25rem;
}
.fhj-auth-switch {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-auth-switch a { font-weight: 600; }
.fhj-auth-logged { text-align: center; padding: 0.5rem 0; }
.fhj-auth-avatar {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), #c9740f);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	box-shadow: 0 8px 24px var(--accent-glow);
}
.fhj-auth-logged-name {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: #fff;
}
.fhj-auth-logged-hint {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-auth-link-muted {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}
.fhj-auth-closed { text-align: center; padding: 1rem 0; }
.fhj-auth-closed p { margin: 0 0 0.75rem; color: var(--text); }
.fhj-auth-closed-hint { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem !important; }
.fhj-auth-page .fhj-notice { margin-bottom: 1rem; }

/* ========== 认证页响应式 ========== */
@media (max-width: 820px) {
	.fhj-auth-shell { grid-template-columns: 1fr; }
	.fhj-auth-brand {
		padding: 1.75rem 1.5rem 1.25rem;
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
	.fhj-auth-features { display: none; }
	.fhj-auth-back { display: none; }
	.fhj-auth-panel { padding: 1.5rem 1.25rem 1.75rem; }
	.fhj-auth-page { min-height: auto; padding: 1.5rem 0 2.5rem; }
}
