/* ============================================================
   北海以南 · 海图日志主题
   纸面 + 深洋墨蓝 + 黄铜罗盘,整页经纬网格
   ============================================================ */

:root {
	--bg: #f3efe4;
	--card: #faf7ee;
	--text: #2c3941;
	--text-light: #71808a;
	--border: #ddd5c2;
	--border-deep: #cdbfa0;
	--accent: #16607f;
	--accent-deep: #0d4560;
	--brass: #a67c2e;
	--brass-deep: #8a6522;
	--gradient: linear-gradient(135deg, #1a6a8c 0%, #0d4560 100%);
	--radius: 10px;
	--shadow: 0 4px 18px rgba(74, 58, 26, 0.07);
	--shadow-hover: 0 12px 30px rgba(74, 58, 26, 0.13);
	--serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
	--mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--bg);
	background-image:
		linear-gradient(to right, rgba(22, 96, 127, 0.05) 1px, transparent 1px),
		linear-gradient(to left, rgba(22, 96, 127, 0.05) 1px, transparent 1px),
		linear-gradient(to top, rgba(22, 96, 127, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(22, 96, 127, 0.05) 1px, transparent 1px);
	background-size: 25% 25%;
	color: var(--text);
	font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
	line-height: 1.75;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

::selection { background: rgba(22, 96, 127, 0.18); }

a { color: var(--accent); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--accent-deep); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* 海图角落经纬标注 */
body::before, body::after {
	position: fixed;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 2px;
	color: var(--text-light);
	opacity: .38;
	writing-mode: vertical-rl;
	text-orientation: upright;
	pointer-events: none;
	z-index: 5;
}
body::before { content: "E°"; top: 86px; right: 12px; }
body::after { content: "N°"; bottom: 70px; left: 12px; }

/* ============ 罗盘 ============ */
.compass { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.compass-lg {
	position: absolute;
	right: 44px;
	top: 50%;
	transform: translateY(-50%);
	width: 110px;
	height: 110px;
	color: var(--accent);
	opacity: .85;
}

/* ============ 导航栏 ============ */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 247, 238, 0.88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--text); }
.nav-logo:hover { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > a, .nav-drop > span {
	display: block;
	padding: 6px 14px;
	border-radius: 8px;
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}
.nav-menu > a:hover, .nav-drop > span:hover, .nav-menu > a.active {
	color: var(--accent);
	background: rgba(22, 96, 127, 0.08);
}

/* 星海共航星徽:一颗会呼吸的亮金星,悬停展开成入口 */
.nav-star {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 9px;
	border-radius: 999px;
	color: #e6b93c;
	overflow: hidden;
	white-space: nowrap;
	transition: background-color .25s, color .25s;
}
.nav-star:hover { background: rgba(230, 185, 60, 0.18); color: #f3cf6a; }
.nav-star-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	fill: currentColor;
	animation: star-breathe 2.8s ease-in-out infinite;
}
.nav-star:hover .nav-star-icon { animation: star-breathe 2.8s ease-in-out infinite, star-spin .7s ease-out; }
.nav-star-label {
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	transition: max-width .3s ease, opacity .25s ease;
}
.nav-star:hover .nav-star-label,
.nav-star.expanded .nav-star-label {
	max-width: 90px;
	opacity: 1;
}
@keyframes star-breathe {
	0%, 100% { transform: translateY(0) scale(1);      opacity: .72; filter: drop-shadow(0 0 2px rgba(230, 185, 60, .4)); }
	50%      { transform: translateY(-2px) scale(1.18); opacity: 1;    filter: drop-shadow(0 0 6px rgba(230, 185, 60, .9)); }
}
@keyframes star-spin {
	from { transform: translateY(-2px) scale(1.18) rotate(0deg); }
	to   { transform: translateY(-2px) scale(1.18) rotate(20deg); }
}
.nav-drop { position: relative; }
.nav-drop-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 140px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 6px;
	display: none;
}
.nav-drop:hover .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 7px 12px; border-radius: 6px; font-size: 14px; color: var(--text); }
.nav-drop-menu a:hover { background: rgba(22, 96, 127, 0.08); color: var(--accent); }

/* 导航搜索 */
.nav-search {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0 6px;
}
.nav-search svg {
	position: absolute;
	left: 10px;
	width: 14px;
	height: 14px;
	color: var(--text-light);
	pointer-events: none;
}
.nav-search input {
	width: 140px;
	padding: 6px 12px 6px 30px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(250, 247, 238, 0.9);
	font-size: 13px;
	color: var(--text);
	outline: none;
	transition: width .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav-search input:focus {
	width: 185px;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(22, 96, 127, 0.12);
}
.nav-search input::placeholder { color: var(--text-light); }

/* 汉堡菜单按钮(桌面隐藏) */
.nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card);
	cursor: pointer;
}
.nav-burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--text);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 首页横幅 ============ */
.hero {
	position: relative;
	background: radial-gradient(ellipse 800px 380px at 82% 18%, rgba(22, 96, 127, 0.07) 0%, rgba(22, 96, 127, 0.02) 45%, rgba(22, 96, 127, 0) 72%);
	border-bottom: 2px dashed rgba(22, 96, 127, 0.6);
	margin-bottom: 36px;
}
.hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 52px 20px 46px;
}
.hero-eyebrow {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.42em;
	color: var(--brass-deep);
	display: flex;
	align-items: center;
	gap: 12px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); opacity: .6; }
.hero-title {
	margin-top: 14px;
	font-family: var(--serif);
	font-size: 46px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 2px;
	color: var(--text);
}
.hero-desc { margin-top: 12px; color: var(--text-light); font-size: 16px; max-width: 640px; }
.hero-stats {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
}
.hero-stat {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 8px 26px 8px 0;
	margin-right: 26px;
	border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat b {
	font-family: var(--mono);
	font-size: 26px;
	font-weight: 600;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}
.hero-stat span { font-size: 13px; color: var(--text-light); }

/* ============ 文章页 · 航迹进度条 ============ */
.track-progress {
	position: fixed;
	top: 60px;
	left: 0;
	height: 2px;
	width: 0;
	background: linear-gradient(90deg, var(--brass), var(--accent));
	z-index: 90;
	pointer-events: none;
}

/* ============ 布局 ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; flex: 1; width: 100%; }
.grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ============ 卡片 ============ */
.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
}
.card-title {
	font-family: var(--serif);
	font-size: 15px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}

/* ============ 文章卡片 ============ */
.post-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--border-deep); }
.post-cover { width: 240px; flex-shrink: 0; overflow: hidden; background: #e9e3d3; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-body { padding: 22px 24px; min-width: 0; }

/* 海图航线文章列表(竖航线 + 节点 + 卡片块) */
.post-timeline {
	position: relative;
	padding-left: 34px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.post-timeline::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 12px;
	bottom: 12px;
	border-left: 2px dashed rgba(22, 96, 127, 0.6);
}
.timeline-item {
	position: relative;
}
.timeline-item::before {
	content: "";
	position: absolute;
	left: -28px;
	top: 30px;
	width: 22px;
	border-top: 2px dashed rgba(22, 96, 127, 0.6);
}
.timeline-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	width: 13px;
	height: 13px;
	border-radius: 2px;
	background: var(--brass);
	border: 2px solid var(--card);
	box-shadow: 0 0 6px rgba(166, 124, 46, 0.45);
	transform: rotate(45deg);
	transition: background-color .3s, box-shadow .3s;
}
.timeline-item:hover::after {
	background: var(--brass-deep);
	box-shadow: 0 0 10px rgba(166, 124, 46, 0.7);
}
.timeline-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 20px 24px 18px;
	cursor: pointer;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.timeline-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
	border-color: var(--border-deep);
}
.timeline-title {
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--text);
}
.timeline-title-link {
	color: inherit;
	text-decoration: none;
}
.timeline-card:hover .timeline-title-link { color: var(--accent); }
.timeline-title .badge-private { margin-left: 8px; }
.timeline-desc {
	margin-top: 8px;
	color: var(--text-light);
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.timeline-meta {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}
.timeline-meta .meta-date { color: var(--text-light); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.timeline-meta .meta-cat a, .timeline-meta .meta-tag a { font-size: 12px; }

.post-title { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.4; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--accent); }
.post-desc {
	margin-top: 10px;
	color: var(--text-light);
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.meta-date { color: var(--text-light); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.meta-cat a, .meta-tag a {
	color: var(--accent);
	background: rgba(22, 96, 127, 0.09);
	border-radius: 6px;
	padding: 2px 10px;
	font-size: 12px;
}
.meta-tag a { background: rgba(166, 124, 46, 0.13); color: var(--brass-deep); }
.meta-cat a:hover, .meta-tag a:hover { opacity: .8; }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 0; flex-wrap: wrap; }
.pagination a {
	padding: 7px 18px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--border);
	color: var(--text);
	font-size: 14px;
	box-shadow: var(--shadow);
	transition: color .2s, background-color .2s, border-color .2s, transform .2s;
}
.pagination a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.pagination span { color: var(--text-light); font-size: 14px; font-family: var(--mono); }
.pagination span a {
	display: inline-block;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--text);
	box-shadow: var(--shadow);
}
.pagination span a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.pagination span.current a { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============ 文章页 ============ */
.article-header { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.article-title { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.35; flex: 1; }
.post-edit {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	margin-top: 8px;
	padding: 5px 14px;
	border: 1px solid rgba(166, 124, 46, 0.55);
	border-radius: 999px;
	color: var(--brass-deep);
	font-size: 12.5px;
	font-weight: 600;
	transition: color .2s, border-color .2s, background-color .2s;
}
.post-edit svg { width: 13px; height: 13px; }
.post-edit:hover {
	color: var(--accent);
	border-color: var(--accent);
	background: rgba(22, 96, 127, 0.06);
}
.article-meta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--text-light); }
.article-meta > span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }
.article-meta a { color: var(--accent); }
.article-meta a:hover { color: var(--accent-deep); }

.post-content { font-size: 15.5px; overflow-wrap: break-word; word-break: break-word; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
	font-family: var(--serif);
	margin: 1.6em 0 .7em;
	line-height: 1.4;
	color: var(--text);
}
.post-content h1 { font-size: 1.55em; }
.post-content h2 { font-size: 1.35em; padding-left: 12px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, rgba(22, 96, 127, 0.05), transparent); }
.post-content h3 { font-size: 1.18em; }
.post-content p { margin: .9em 0; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin: .9em 0; padding-left: 1.8em; }
.post-content li { margin: .35em 0; }
.post-content blockquote {
	margin: 1.2em 0;
	padding: 12px 18px;
	border-left: 3px solid var(--brass);
	background: rgba(166, 124, 46, 0.08);
	border-radius: 0 8px 8px 0;
	color: #5d6670;
}
.post-content code {
	background: rgba(22, 96, 127, 0.09);
	color: var(--accent-deep);
	border-radius: 5px;
	padding: 2px 7px;
	font-family: var(--mono);
	font-size: .9em;
}
.post-content pre {
	position: relative;
	background: #202a31;
	border: 1px solid #2c3a44;
	border-radius: 10px;
	padding: 16px 18px;
	overflow-x: auto;
	margin: 1.2em 0;
	box-shadow: var(--shadow);
}
.post-content pre code { background: none; padding: 0; color: #b7c4cb; font-size: 14px; line-height: 1.6; }
.code-copy {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 3px 10px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	background: rgba(32, 42, 49, 0.9);
	color: #b7c4cb;
	font-size: 12px;
	font-family: var(--mono);
	line-height: 1.6;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s, color .2s, border-color .2s, background-color .2s;
}
.post-content pre:hover .code-copy { opacity: 1; }
.code-copy:hover { color: #fff; border-color: var(--brass); }
.code-copy.copied {
	color: #fff;
	border-color: var(--brass);
	background: var(--brass-deep);
}
.post-content img { max-width: 100%; height: auto; border-radius: 8px; }
.post-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 14px;
}
.post-content th, .post-content td { border: 1px solid var(--border); padding: 8px 14px; text-align: left; }
.post-content th { background: rgba(22, 96, 127, 0.06); font-family: var(--serif); }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 1.6em 0; }
.post-content input[type="checkbox"] { margin-right: 6px; accent-color: var(--accent); }

.article-footer {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}
.all-posts-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	border: 1px solid rgba(166, 124, 46, 0.5);
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(166, 124, 46, 0.06), transparent, rgba(166, 124, 46, 0.06));
	font-family: var(--serif);
	font-size: 15px;
	color: var(--brass-deep);
	transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.all-posts-link .compass {
	width: 20px;
	height: 20px;
	color: var(--brass);
}
.all-posts-link .arrow {
	width: 16px;
	height: 16px;
	transition: transform .2s;
}
.all-posts-link:hover {
	border-color: var(--accent);
	background: rgba(22, 96, 127, 0.05);
	color: var(--accent-deep);
	box-shadow: 0 4px 14px rgba(22, 96, 127, 0.12);
}
.all-posts-link:hover .arrow {
	transform: translateX(4px);
}

/* ============ 文章页 · 上一篇/下一篇 ============ */
.post-pager {
	display: flex;
	gap: 14px;
	margin-top: 30px;
}
.post-pager-item {
	flex: 1;
	display: block;
	padding: 14px 18px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--card);
	transition: border-color .2s, box-shadow .2s;
}
.post-pager-item:hover {
	border-color: var(--accent);
	box-shadow: 0 4px 14px rgba(22, 96, 127, 0.12);
}
.post-pager-next {
	text-align: right;
}
.post-pager-label {
	display: block;
	font-size: 12px;
	color: var(--text-light);
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}
.post-pager-title {
	display: block;
	font-family: var(--serif);
	font-size: 15px;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.post-pager-item:hover .post-pager-title {
	color: var(--accent);
}

/* ============ 文章页 · 相关文章 ============ */
.related-posts {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}
.related summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	cursor: pointer;
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--accent-deep);
	margin-bottom: 12px;
	user-select: none;
	transition: color .2s;
}
.related summary::-webkit-details-marker { display: none; }
.related summary::before {
	content: "✳";
	color: var(--brass);
	font-size: 13px;
}
.related summary:hover { color: var(--accent); }
.related summary::after {
	content: "▾";
	margin-left: 4px;
	color: var(--brass);
	font-size: 12px;
	transition: transform .2s;
}
.related[open] summary::after { transform: rotate(180deg); }
.related[open] .related-list { max-height: 280px; overflow-y: auto; }
.related-count {
	font-family: var(--mono);
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	color: var(--brass-deep);
	background: rgba(166, 124, 46, 0.14);
	border-radius: 999px;
	padding: 1px 10px;
}
.related-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.related-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--border);
}
.related-list li:last-child {
	border-bottom: none;
}
.related-list a {
	flex: 1;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.related-list a:hover {
	color: var(--accent);
}
.related-date {
	flex-shrink: 0;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text-light);
}

/* ============ 文章页 · 点赞与评论 ============ */
.post-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px dashed var(--border);
}
.like-form { display: inline-flex; }
.like-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 18px;
	border-radius: 999px;
	border: 1px solid var(--brass);
	background: var(--card);
	color: var(--brass-deep);
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.like-btn svg { width: 16px; height: 16px; }
.like-btn:hover {
	background: rgba(166, 124, 46, 0.12);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
}
.like-btn.liked {
	background: var(--brass);
	color: #fff;
	box-shadow: 0 4px 12px rgba(166, 124, 46, 0.35);
}
.like-btn.liked:hover {
	background: var(--brass-deep);
	color: #fff;
}
.like-btn.liked svg { fill: currentColor; }
.like-btn.pop { animation: like-pop .35s ease; }
@keyframes like-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.22); }
	100% { transform: scale(1); }
}
.like-count { font-family: var(--mono); font-weight: 600; }
.comment-anchor {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 999px;
	color: var(--text-light);
	font-size: 14px;
	transition: color .2s, background-color .2s;
}
.comment-anchor svg { width: 16px; height: 16px; }
.comment-anchor:hover { color: var(--accent); background: rgba(22, 96, 127, 0.07); }

.comments {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}
.comments-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--accent-deep);
	margin-bottom: 14px;
}
.comments-title::before {
	content: "✳";
	color: var(--brass);
	font-size: 13px;
	margin-right: 2px;
	vertical-align: 2px;
}
.comment-form-error {
	margin: 0 0 10px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	background: rgba(192, 57, 43, 0.09);
	color: #c0392b;
}
.hidden { display: none !important; }
.comment-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: #f7f2e6;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--text);
	resize: vertical;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.comment-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(22, 96, 127, 0.12);
}
.comment-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}
.comment-form-hint { font-size: 12px; color: var(--text-light); }
.comment-form .btn-primary.loading { opacity: .7; cursor: wait; pointer-events: none; }
.comment-list { list-style: none; padding: 0; margin: 20px 0 0; }
.comment-list.collapsed .comment-item:nth-child(n+4) { display: none; }
.comment-list:not(.collapsed) { max-height: 360px; overflow-y: auto; }
.comment-list::-webkit-scrollbar, .side-list::-webkit-scrollbar, .related-list::-webkit-scrollbar {
	width: 6px;
}
.comment-list::-webkit-scrollbar-thumb, .side-list::-webkit-scrollbar-thumb,
.related-list::-webkit-scrollbar-thumb {
	background: rgba(166, 124, 46, 0.45);
	border-radius: 999px;
}
.comment-list::-webkit-scrollbar-thumb:hover, .side-list::-webkit-scrollbar-thumb:hover,
.related-list::-webkit-scrollbar-thumb:hover {
	background: rgba(166, 124, 46, 0.7);
}
.comment-list::-webkit-scrollbar-track, .side-list::-webkit-scrollbar-track,
.related-list::-webkit-scrollbar-track {
	background: transparent;
}
.comments-more-row { text-align: center; margin-top: 14px; }
.comments-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 20px;
	border-radius: 999px;
	border: 1px solid var(--brass);
	background: var(--card);
	color: var(--brass-deep);
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.comments-more:hover {
	background: rgba(166, 124, 46, 0.12);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(166, 124, 46, 0.25);
}
.comment-item {
	display: flex;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px dashed var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid var(--brass);
	box-shadow: 0 0 0 3px rgba(166, 124, 46, 0.12);
}
.comment-body { flex: 1; min-width: 0; }
.comment-head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.comment-name { font-size: 14px; font-weight: 600; color: var(--text); }
.comment-date {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text-light);
}
.comment-delete-form { margin-left: auto; }
.comment-delete {
	border: 0;
	background: none;
	color: var(--text-light);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 7px;
	border-radius: 6px;
	transition: color .2s, background-color .2s;
}
.comment-delete:hover {
	color: #c0392b;
	background: rgba(192, 57, 43, 0.08);
}
.comment-content {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--text);
	white-space: pre-wrap;
	word-break: break-word;
}

/* ============ 归档 ============ */
.page-head {
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.page-head > div { flex: 1; min-width: 0; }
.page-title { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.page-sub { margin-top: 6px; color: #4f616c; font-size: 14px; }
.page-sub b { color: var(--accent); font-family: var(--mono); }
.page-add-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--brass);
	border-radius: 8px;
	background: var(--card);
	color: var(--brass-deep);
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
	transition: background-color .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.page-add-btn:hover { background: var(--brass); color: #fff; border-color: var(--brass); }
.page-add-btn svg { width: 15px; height: 15px; }

/* 搜索结果 */
.kw-hl {
	background: rgba(166, 124, 46, 0.28);
	color: var(--accent-deep);
	border-radius: 3px;
	padding: 0 2px;
}
.search-empty {
	text-align: center;
	padding: 44px 20px;
}
.search-empty svg { width: 40px; height: 40px; color: rgba(44, 57, 65, 0.25); margin-bottom: 14px; }
.search-empty p { font-family: var(--serif); font-size: 16px; color: var(--text); }
.search-empty b { color: var(--accent); }
.search-empty span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-light); }
.archive { padding: 24px 26px; }
.archive-year {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
}
.archive-year::before { content: "✳"; color: var(--brass); font-size: 12px; }
.archive-year::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.archive-list { position: relative; list-style: none; margin: 0; padding: 0; }
.archive-list::before {
	content: "";
	position: absolute;
	left: 3.5px; top: 18px; bottom: 18px;
	border-left: 1.5px dashed rgba(22, 96, 127, 0.35);
}
.archive-list li {
	position: relative;
	padding-left: 24px;
	display: flex; gap: 16px;
	padding-top: 9px; padding-bottom: 9px;
	align-items: baseline;
}
.archive-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 15px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--card);
	border: 1.5px solid var(--brass);
	transition: background-color .3s, box-shadow .3s;
}
.archive-list li.revealed::before {
	background: var(--brass);
	box-shadow: 0 0 6px rgba(166, 124, 46, 0.6);
}
.archive-list li:nth-child(2) { transition-delay: .06s; }
.archive-list li:nth-child(3) { transition-delay: .12s; }
.archive-list li:nth-child(4) { transition-delay: .18s; }
.archive-date { color: #54656f; font-family: var(--mono); font-size: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.archive-list a { color: var(--text); }
.archive-list a:hover { color: var(--accent); }

/* ============ 滚动揭示 ============ */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.revealed { opacity: 1; transform: none; }

/* ============ 群岛(分类) ============ */
.isles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
	padding: 20px;
}
.isle {
	position: relative;
	display: block;
	aspect-ratio: 5 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: #f6f1e3;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.isle-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 100%; transition: transform .3s ease; }
.isle-name {
	position: absolute;
	top: 15%; left: 0; right: 0;
	text-align: center;
	font-family: var(--serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--accent-deep);
	letter-spacing: 1px;
}
.isle-count {
	position: absolute;
	bottom: 12px; left: 0; right: 0;
	text-align: center;
	font-style: normal;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.96);
	font-weight: 600;
}
.isle:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(44, 57, 65, 0.16);
}
.isle:hover .isle-svg { transform: scale(1.05); }
.isle::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 26%;
	width: 110px; height: 24px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
	transform: translateX(-50%);
	opacity: 0;
}
.isle:hover::after { animation: ripple 1.1s ease-out; }
@keyframes ripple {
	from { opacity: .9; transform: translateX(-50%) scale(.3); }
	to { opacity: 0; transform: translateX(-50%) scale(1.55); }
}
.isle-wave { animation: wave-drift 5s ease-in-out infinite alternate; }
.isle-wave-b { animation-delay: -2.5s; animation-duration: 7s; }
@keyframes wave-drift {
	from { transform: translateX(-5px); }
	to { transform: translateX(5px); }
}
.isles .reveal:nth-child(2) { transition-delay: .07s; }
.isles .reveal:nth-child(3) { transition-delay: .14s; }
.isles .reveal:nth-child(4) { transition-delay: .21s; }
.isles .reveal:nth-child(5) { transition-delay: .28s; }
.isles .reveal:nth-child(6) { transition-delay: .35s; }
.isle-wrap { position: relative; }
.isle-wrap .isle { height: 100%; }
.tax-delete-form {
	position: absolute;
	top: 6px; right: 6px;
	z-index: 5;
	opacity: 0;
	transition: opacity .2s ease;
}
.isle-wrap:hover .tax-delete-form,
.star-wrap:hover .tax-delete-form { opacity: 1; }
.tax-delete-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.75);
	background: rgba(44, 57, 65, 0.6);
	color: #fff;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.tax-delete-btn:hover {
	background: #c0392b;
	border-color: #c0392b;
	transform: scale(1.1);
}

/* ============ 星灯(标签)·夜航星空 ============ */
.stars {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: center;
	padding: 34px 16px 40px;
	background: linear-gradient(180deg, #133d57 0%, #0c2738 100%);
	overflow: hidden;
}
.stars::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.85), transparent),
		radial-gradient(1.2px 1.2px at 28% 8%, rgba(255, 255, 255, 0.55), transparent),
		radial-gradient(1.4px 1.4px at 47% 22%, rgba(255, 255, 255, 0.65), transparent),
		radial-gradient(1px 1px at 63% 10%, rgba(255, 255, 255, 0.4), transparent),
		radial-gradient(1.6px 1.6px at 78% 18%, rgba(255, 255, 255, 0.7), transparent),
		radial-gradient(1.2px 1.2px at 91% 26%, rgba(255, 255, 255, 0.5), transparent),
		radial-gradient(1px 1px at 8% 34%, rgba(255, 255, 255, 0.35), transparent),
		radial-gradient(1.4px 1.4px at 87% 36%, rgba(255, 255, 255, 0.45), transparent);
	animation: star-twinkle 7s ease-in-out infinite alternate;
	pointer-events: none;
}
@keyframes star-twinkle {
	from { opacity: .55; }
	to { opacity: 1; }
}
.star {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 15px 7px 12px;
	border-radius: 999px;
	background: rgba(18, 61, 87, 0.42);
	border: 1px solid rgba(217, 165, 78, 0.4);
	transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.star-dot {
	position: relative;
	width: 9px; height: 9px;
	flex-shrink: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, #fff2d0, #e0aa52 60%, rgba(224, 170, 82, 0.5));
	box-shadow: 0 0 8px rgba(255, 214, 140, 0.8);
	transition: transform .25s ease, box-shadow .25s ease;
}
.star-dot::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 214, 140, 0.35), transparent 70%);
	animation: star-breathe 4.5s ease-in-out infinite;
}
.star::before {
	content: "";
	position: absolute;
	inset: -3px -16px;
	border-radius: 999px;
	background: radial-gradient(circle at 50% 50%, rgba(255, 214, 140, 0.26), transparent 72%);
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}
.star:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 227, 163, 0.85);
	background: rgba(18, 61, 87, 0.72);
}
.star:hover::before { opacity: 1; }
.star:hover .star-dot {
	transform: scale(1.35);
	box-shadow: 0 0 14px rgba(255, 214, 140, 1);
}
.star-name {
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 700;
	color: #f5efdf;
	text-shadow: 0 0 8px rgba(255, 214, 140, 0.35);
	transition: color .25s ease, text-shadow .25s ease;
}
.star:hover .star-name {
	color: #fff;
	text-shadow: 0 0 14px rgba(255, 214, 140, 0.85);
}
.star-count {
	font-style: normal;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.05em;
	color: rgba(226, 219, 197, 0.7);
	transition: color .25s ease;
}
.star:hover .star-count { color: #ffe3a3; }
.star:nth-child(even) .star-dot::after { animation-delay: -2.2s; }
@keyframes star-breathe {
	0%, 100% { opacity: .55; }
	50% { opacity: 1; }
}
.stars .reveal:nth-child(2) { transition-delay: .07s; }
.stars .reveal:nth-child(3) { transition-delay: .14s; }
.stars .reveal:nth-child(4) { transition-delay: .21s; }
.stars .reveal:nth-child(5) { transition-delay: .28s; }
.stars .reveal:nth-child(6) { transition-delay: .35s; }
.star-wrap { position: relative; }
.star-wrap .tax-delete-form { top: -7px; right: -5px; }
.star-wrap .tax-delete-btn {
	background: rgba(18, 61, 87, 0.85);
	border-color: rgba(255, 227, 163, 0.8);
	color: #ffe3a3;
}

/* ============ 侧边栏 ============ */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }
.side-about { text-align: center; }
.side-avatar-link { display: block; }
.side-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 10px;
	border: 2px solid var(--brass);
	box-shadow: var(--shadow);
	transition: border-color .2s, transform .2s;
}
.side-avatar-link:hover .side-avatar { border-color: var(--accent); transform: scale(1.04); }
.side-name { display: inline-block; font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--text); transition: color .2s; }
.side-name:hover { color: var(--accent); }
.side-partner { padding: 14px 16px; }
.side-partner-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.side-partner-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--brass);
	box-shadow: var(--shadow);
	transition: border-color .2s, transform .2s;
}
.side-partner-link:hover .side-partner-avatar {
	border-color: var(--accent);
	transform: scale(1.05);
}
.side-partner-name {
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	transition: color .2s;
}
.side-partner-link:hover .side-partner-name { color: var(--accent); }
.side-partner-hint {
	display: block;
	font-size: 12px;
	color: var(--text-light);
	margin-top: 2px;
}
.side-partner-link:hover .side-partner-hint { color: var(--accent); }
.side-desc { color: var(--text-light); font-size: 13px; margin-top: 4px; }
.avatar-preview { margin-bottom: 8px; }
.avatar-preview img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brass); box-shadow: var(--shadow); }
.cover-preview { margin-bottom: 8px; }
.cover-preview img { max-width: 240px; max-height: 120px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.side-list { list-style: none; }
.side-list.collapsed li:nth-child(n+4) { display: none; }
.side-list:not(.collapsed) { max-height: 320px; overflow-y: auto; }
.side-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.side-list li:last-child { border-bottom: none; }
.side-list a { color: var(--text); }
.side-list a:hover { color: var(--accent); }
.side-info { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-info li {
	background: rgba(22, 96, 127, 0.05);
	border-radius: 8px;
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--text-light);
	transition: background-color .2s;
}
.side-info li:hover { background: rgba(22, 96, 127, 0.1); }
.side-info a { display: flex; justify-content: space-between; gap: 8px; width: 100%; color: var(--text-light); }
.side-info a:hover { color: var(--accent); }
.side-info a:hover b { color: var(--accent); }
.side-info b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.side-runtime { font-size: 13px; color: var(--text-light); }
.side-runtime b { color: var(--accent); font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ============ 404 ============ */
.not-found { text-align: center; padding: 70px 20px; }
.nf-code {
	font-family: var(--serif);
	font-size: 88px;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.nf-desc { color: var(--text-light); margin: 10px 0 24px; }
.nf-btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 8px;
	color: #fff;
	background: var(--gradient);
	box-shadow: var(--shadow);
}

/* ============ 页脚 ============ */
.footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--card); }
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--text-light);
	flex-wrap: wrap;
	gap: 8px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); letter-spacing: 1px; color: var(--text); }
.footer-brand .compass { width: 18px; height: 18px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-light); }
.footer-links a:hover { color: var(--accent); }
.footer-beian {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 0 20px 14px;
	font-size: 12px;
	color: var(--text-light);
}
.footer-beian a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--text-light);
	opacity: .85;
}
.footer-beian a:hover { color: var(--accent); opacity: 1; }
.footer-beian .beian-icon { width: 16px; height: 16px; }

/* ============ 作者 ============ */
.article-author { display: inline-flex; align-items: center; gap: 6px; }
.article-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.article-author a { color: var(--text-light); }
.article-author a:hover { color: var(--accent); }
.badge-private { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 12px; color: #55606a; background: rgba(44, 57, 65, 0.09); border-radius: 10px; vertical-align: 2px; }
.author-card { display: flex; align-items: center; gap: 20px; padding: 26px; margin-bottom: 24px; flex-wrap: wrap; }
.author-home-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid var(--brass);
	color: var(--brass-deep);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.author-home-btn svg { width: 15px; height: 15px; }
.author-home-btn:hover {
	background: var(--brass);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(166, 124, 46, 0.35);
}
.author-avatar-lg {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--brass);
	box-shadow: 0 0 0 4px rgba(166, 124, 46, 0.15);
}
.author-name { margin: 0 0 6px; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.author-meta { margin: 0; color: var(--text-light); font-size: 13px; }
.empty-tip { text-align: center; color: var(--text-light); padding: 40px 0; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
	.hero-title { font-size: 38px; }
	.grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.post-cover { width: 160px; }
	.compass-lg { display: none; }
	.hero-compass-wrap { display: none; }
}
@media (max-width: 768px) {
	.nav-burger { display: flex; }
	.nav-menu {
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--card);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-hover);
		padding: 10px 16px 16px;
		display: none;
		z-index: 99;
	}
	.nav-menu.nav-open { display: flex; }
	.nav-menu {
		max-height: calc(100vh - 60px);
		overflow-y: auto;
	}
	.music-fab { right: 18px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
	.music-panel { right: 18px; bottom: calc(156px + env(safe-area-inset-bottom, 0px)); width: min(320px, calc(100vw - 36px)); }
	.nav-menu > a, .nav-drop > span {
		display: block;
		padding: 11px 12px;
		font-size: 15px;
		border-radius: 8px;
	}
	.nav-menu .nav-drop { position: static; }
	.nav-star {
		padding: 11px 12px;
		border-radius: 8px;
	}
	.nav-star-label {
		max-width: 90px;
		opacity: 1;
	}
	.nav-star-icon { animation: none; }
	.nav-drop-menu {
		position: static;
		display: block;
		min-width: 0;
		border: 0;
		box-shadow: none;
		padding: 4px 0 0 16px;
		background: transparent;
	}
	.nav-drop-menu a { padding: 8px 12px; }
	.nav-search { margin: 8px 0 4px; }
	.nav-search input { width: 100%; }
	.nav-search input:focus { width: 100%; }
	.nav-menu .nav-write { margin-top: 6px; }
	.nav-menu .nav-write span { display: inline; }
	.nav-admin { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
}
@media (max-width: 640px) {
	.hero-title { font-size: 32px; }
	.hero { margin-bottom: 24px; }
	.hero-stat { padding-right: 16px; margin-right: 16px; }
	.hero-stat b { font-size: 22px; }
	.post-timeline { padding-left: 24px; gap: 24px; }
	.timeline-item::before { left: -18px; width: 14px; }
	.timeline-item::after { width: 11px; height: 11px; top: 26px; }
	.timeline-card { padding: 16px 16px 14px; }
	.timeline-title { font-size: 17px; }
	.fab-write { width: 56px; height: 56px; }
	.fab-write svg { width: 24px; height: 24px; }
	body::before, body::after { display: none; }
	/* 文章页细节 */
	.article-title { font-size: 24px; }
	.post-pager { flex-direction: column; }
	.post-actions { flex-wrap: wrap; gap: 8px; }
	.article-meta { gap: 8px; }
	.comment-item { gap: 10px; }
	.container { padding: 20px 14px 50px; }
	.isles { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
	.stars { gap: 8px 10px; }
	.footer-inner { justify-content: center; text-align: center; }
	.footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ============ 动效降级 ============ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* ============ 首页写文章悬浮按钮 ============ */
.fab-write {
	position: fixed;
	right: 28px;
	bottom: calc(28px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brass);
	border: 1px solid var(--brass-deep);
	color: #fff;
	box-shadow: 0 8px 24px rgba(166, 124, 46, 0.35);
	transition: transform .2s, box-shadow .2s, background-color .2s;
}
.fab-write:hover {
	background: var(--brass-deep);
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(166, 124, 46, 0.45);
}
.fab-write svg {
	width: 28px;
	height: 28px;
}

/* ============ 删除确认弹窗 ============ */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(44, 57, 65, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: modal-fade .18s ease-out;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
	width: 100%;
	max-width: 380px;
	background: var(--card);
	border: 1px solid var(--border-deep);
	border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
	padding: 22px 24px 20px;
	animation: modal-pop .2s ease-out;
}
.modal-title { font-family: var(--serif); font-size: 17px; color: var(--text); margin-bottom: 8px; }
.modal-text { font-size: 14px; color: var(--text-light); margin-bottom: 20px; word-break: break-all; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-btn {
	padding: 8px 18px; border: 1px solid var(--border); border-radius: 8px;
	background: var(--card); color: var(--text); font-size: 14px; cursor: pointer;
	font-family: inherit;
}
.modal-btn:hover { border-color: var(--accent); color: var(--accent); }
.modal-btn.danger { background: #c0392b; border-color: #c0392b; color: #fff; }
.modal-btn.danger:hover { background: #a93226; border-color: #a93226; color: #fff; }
.modal-input {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	margin-bottom: 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #f7f2e6;
	color: var(--text);
	outline: none;
}
.modal-input:focus { border-color: var(--brass); }
.modal-check-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 16px;
	max-height: 220px;
	overflow-y: auto;
}
.modal-check-list[hidden] { display: none; }
.modal-check-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--text);
	cursor: pointer;
}
.modal-check-item:hover { background: rgba(166, 124, 46, .08); }
.modal-check-item input { accent-color: var(--brass); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
body.modal-open { overflow: hidden; }

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop {
	from { opacity: 0; transform: translateY(8px) scale(.98); }
	to { opacity: 1; transform: none; }
}

/* ============ ���е���ʽ �� �����ʵ��� ============ */
.drift-bottle {
	position: fixed;
	left: 24px;
	bottom: calc(26px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--card);
	border: 1px solid var(--border-deep);
	color: var(--accent);
	opacity: .45;
	cursor: pointer;
	transition: opacity .25s, transform .25s, box-shadow .25s, border-color .25s;
	padding: 0;
}
.drift-bottle:hover {
	opacity: 1;
	border-color: var(--brass);
	transform: translateY(-2px) rotate(-6deg);
	box-shadow: 0 8px 20px rgba(22, 96, 127, .18);
}
.drift-bottle svg { width: 24px; height: 24px; }

/* ============ 全站悬浮音乐面板(海图) ============ */
.music-fab {
	position: fixed;
	right: 28px;
	bottom: calc(108px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--card);
	border: 1px solid var(--brass);
	color: var(--brass);
	box-shadow: 0 8px 20px rgba(166, 124, 46, .3);
	cursor: pointer;
	padding: 0;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.music-fab:hover {
	background: var(--brass);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(166, 124, 46, .45);
}
.music-fab svg { width: 26px; height: 26px; }
.music-panel {
	position: fixed;
	right: 28px;
	bottom: calc(168px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	width: min(360px, calc(100vw - 40px));
	max-height: 68vh;
	display: flex;
	flex-direction: column;
	color: #e9eef3;
	background:
		linear-gradient(160deg, #1d4a63 0%, #14374c 55%, #0d2b3d 100%);
	border: 1px solid var(--brass);
	border-radius: 14px;
	box-shadow: 0 20px 48px rgba(13, 43, 61, .5);
	overflow: hidden;
	animation: modal-pop .18s ease-out;
}
.music-panel[hidden] { display: none; }
.music-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 14px;
	pointer-events: none;
	background:
		repeating-linear-gradient(0deg, transparent 0 19px, rgba(233, 238, 243, .05) 19px 20px),
		repeating-linear-gradient(90deg, transparent 0 19px, rgba(233, 238, 243, .05) 19px 20px);
	opacity: .5;
}
.music-panel-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 16px;
	border-bottom: 1px solid rgba(233, 238, 243, .14);
}
.music-panel-compass { width: 20px; height: 20px; color: var(--brass); flex-shrink: 0; }
.music-panel-title {
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .05em;
	color: #f3ecd7;
}
.music-manage {
	margin-left: auto;
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--brass);
	border: 1px solid rgba(166, 124, 46, .55);
	border-radius: 999px;
	padding: 2px 10px;
	transition: background-color .2s, color .2s;
}
.music-manage:hover { background: var(--brass); color: #fff; }
.music-tabs {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 0 16px 10px;
	padding: 2px;
	border-radius: 999px;
	background: rgba(6, 22, 32, .45);
}
.music-tab {
	font-size: 12px;
	letter-spacing: .04em;
	color: rgba(233, 238, 243, .65);
	background: none;
	border: none;
	border-radius: 999px;
	padding: 3px 12px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.music-tab:hover { color: #fff; }
.music-tab.active {
	background: var(--brass);
	color: #fff;
}
.music-close {
	background: none;
	border: none;
	font-size: 16px;
	line-height: 1;
	color: rgba(233, 238, 243, .7);
	cursor: pointer;
	padding: 2px 4px;
}
.music-close:hover { color: #fff; }
.music-view { display: flex; flex-direction: column; min-height: 0; }
.music-view[hidden] { display: none; }
.music-view-playlist { flex: 1; min-height: 0; }
.music-view-player { flex: 1; min-height: 0; }
.music-list {
	list-style: none;
	margin: 0;
	padding: 8px 10px;
	overflow-y: auto;
	flex: 1;
	max-height: 34vh;
}
.music-list::-webkit-scrollbar { width: 6px; }
.music-list::-webkit-scrollbar-thumb { background: rgba(166, 124, 46, .5); border-radius: 3px; }
.music-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 6px 4px;
	font-size: 12px;
	letter-spacing: .16em;
	color: rgba(233, 238, 243, .6);
}
.music-section-title::before {
	content: "";
	width: 7px;
	height: 7px;
	transform: rotate(45deg);
	background: var(--brass);
	flex-shrink: 0;
}
.music-section-title:not(:first-child) { border-top: 1px solid rgba(233, 238, 243, .1); padding-top: 8px; }
.music-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color .15s;
}
.music-item:hover { background: rgba(233, 238, 243, .08); }
.music-item.playing { background: rgba(166, 124, 46, .22); }
.music-item-main { flex: 1; min-width: 0; }
.music-item-cover {
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: 6px;
	object-fit: cover;
	border: 1px solid rgba(166, 124, 46, .5);
	background: rgba(233, 238, 243, .1);
}
.music-item-name {
	font-size: 14px;
	color: #eef2f6;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.music-item-artist {
	font-size: 12px;
	color: rgba(233, 238, 243, .55);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.music-item-badge {
	flex-shrink: 0;
	font-size: 10px;
	padding: 2px 7px;
	border-radius: 999px;
	letter-spacing: .04em;
}
.music-queue-remove {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 1px solid rgba(233, 238, 243, .28);
	border-radius: 50%;
	color: rgba(233, 238, 243, .6);
	font-size: 11px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, color .2s, background-color .2s;
}
.music-queue-remove:hover {
	border-color: #c2574a;
	color: #ffd9d4;
	background: rgba(194, 87, 74, .2);
}
.music-item-badge.netease { background: rgba(22, 96, 127, .55); color: #cfeeff; }
.music-item-badge.local { background: var(--brass); color: #fff; }
.music-item-lyric {
	flex-shrink: 0;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 999px;
	border: 1px solid rgba(166, 124, 46, .5);
	color: var(--brass);
}
.music-stage {
	position: relative;
	padding: 10px 12px;
	flex-shrink: 0;
	border-top: 1px solid rgba(233, 238, 243, .14);
	background: rgba(6, 22, 32, .35);
}
.music-volume-btn {
	position: relative;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(166, 124, 46, .45);
	border-radius: 50%;
	background: rgba(44, 57, 65, .4);
	color: var(--brass);
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.music-volume-btn:hover { background: var(--brass); color: #fff; }
.music-volume-btn svg { width: 16px; height: 16px; }
.music-volume-pop {
	position: absolute;
	right: 0;
	top: 36px;
	z-index: 12;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: rgba(20, 32, 42, .97);
	border: 1px solid rgba(166, 124, 46, .45);
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.music-volume-pop[hidden] { display: none; }
.music-volume-pop input[type="range"] { width: 108px; accent-color: var(--brass); cursor: pointer; }
.music-volume-val {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--brass);
	min-width: 34px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.music-stage iframe { width: 100%; height: 66px; border: 0; border-radius: 6px; display: block; }
.music-stage audio { width: 100%; }
.music-cover-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 4px 8px;
}
.music-cover-card img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid rgba(166, 124, 46, .5);
	background: rgba(233, 238, 243, .1);
}
.music-cover-placeholder {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid rgba(166, 124, 46, .5);
	background: rgba(6, 22, 32, .55);
	color: rgba(166, 124, 46, .9);
}
.music-cover-placeholder svg { width: 30px; height: 30px; }
.music-cover-text {
	flex: 1;
	min-width: 0;
}
.music-cover-name {
	font-family: var(--serif);
	font-size: 15px;
	color: #f3ecd7;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.music-track-index {
	margin-top: 3px;
	font-size: 12px;
	letter-spacing: .08em;
	color: rgba(233, 238, 243, .55);
}
.music-skip-btn {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 1px solid rgba(166, 124, 46, .55);
	border-radius: 50%;
	color: var(--brass);
	cursor: pointer;
	transition: background-color .2s, color .2s, opacity .2s;
}
.music-skip-btn svg { width: 16px; height: 16px; }
.music-skip-btn:hover:not(:disabled) {
	background: var(--brass);
	color: #fff;
}
.music-skip-btn:disabled {
	opacity: .3;
	cursor: default;
}
.music-play-btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brass);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background-color .2s, transform .1s;
}
.music-play-btn:hover { background: var(--brass); filter: brightness(1.12); }
.music-play-btn:active { transform: scale(.94); }
.music-play-btn svg { width: 20px; height: 20px; }
.music-empty { padding: 22px 12px; text-align: center; font-size: 13px; color: rgba(233, 238, 243, .55); }
.music-lyrics {
	position: relative;
	display: none;
	flex: 1;
	min-height: 0;
	max-height: 30vh;
	overflow-y: auto;
	padding: 12px 16px 14px;
	text-align: center;
	background: rgba(6, 22, 32, .5);
	border-top: 1px solid rgba(166, 124, 46, .3);
}
.music-lyrics.on { display: block; }
.music-lyrics::-webkit-scrollbar { width: 5px; }
.music-lyrics::-webkit-scrollbar-thumb { background: rgba(166, 124, 46, .5); border-radius: 3px; }
.music-lyrics-line {
	padding: 4px 0;
	font-family: var(--serif);
	font-size: 14px;
	line-height: 1.7;
	color: rgba(233, 238, 243, .5);
	transition: color .3s, transform .3s;
}
.music-lyrics-line.active {
	color: #f3cf7a;
	transform: scale(1.04);
}


.drift-note {
	position: fixed;
	left: 24px;
	bottom: 82px;
	z-index: 1001;
	width: 264px;
	background: #fbf6e8;
	border: 1px solid var(--border-deep);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(44, 57, 65, .22);
	padding: 18px 20px 16px;
	animation: drift-rise .28s ease-out;
}
.drift-note::before {
	content: "";
	position: absolute;
	left: 28px;
	top: -9px;
	border: 9px solid transparent;
	border-bottom-color: var(--border-deep);
	border-top-width: 0;
}
.drift-note::after {
	content: "";
	position: absolute;
	left: 29px;
	top: -7px;
	border: 8px solid transparent;
	border-bottom-color: #fbf6e8;
	border-top-width: 0;
}
.drift-note[hidden] { display: none; }
.drift-close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: none;
	background: none;
	color: var(--text-light);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
	font-family: inherit;
}
.drift-close:hover { color: var(--accent); }
.drift-text {
	margin: 0;
	font-family: var(--serif);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	letter-spacing: .5px;
}
@keyframes drift-rise {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to { opacity: 1; transform: none; }
}

.ink-trail {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(22, 96, 127, .28);
	pointer-events: none;
	animation: ink-fade 1.2s ease-out forwards;
}
@keyframes ink-fade {
	0% { opacity: .85; transform: scale(.4); }
	70% { opacity: .35; transform: scale(1.5); }
	100% { opacity: 0; transform: scale(2.2); }
}

.ripple {
	position: fixed;
	width: 26px;
	height: 26px;
	border: 2px solid rgba(22, 96, 127, .4);
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
	transform: translate(-50%, -50%);
	animation: ripple-out .9s ease-out forwards;
}
@keyframes ripple-out {
	0% { opacity: .8; transform: translate(-50%, -50%) scale(.15); }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}

.star-trail {
	position: fixed;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 999;
	animation: star-fade .8s ease-out forwards;
}
.star-trail.brass { background: rgba(217, 180, 91, .65); }
.star-trail.ink { background: rgba(22, 96, 127, .5); }
@keyframes star-fade {
	0% { opacity: .9; transform: scale(.5); }
	100% { opacity: 0; transform: scale(1.6); }
}

.starfield {
	position: fixed;
	inset: 0;
	z-index: 1500;
	background:
		linear-gradient(180deg, rgba(5, 13, 22, 0.32) 0%, rgba(5, 13, 22, 0.04) 45%, rgba(5, 13, 22, 0.4) 100%),
		url(/img/starfield.jpg) center 36% / cover no-repeat,
		radial-gradient(ellipse at 50% 30%, #0d2233 0%, #081420 55%, #050d16 100%);
	background-color: #050d16;
	overflow: hidden;
	cursor: pointer;
	animation: starfield-in .5s ease-out;
}
.starfield[hidden] { display: none; }
.starfield.out { animation: starfield-out .8s ease-in forwards; }
.star-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.star-map-rings,
.star-map-rings-rev {
	transform-box: view-box;
	transform-origin: 50% 50%;
}
.star-map-rings { animation: compass-spin 110s linear infinite; }
.star-map-rings-rev { animation: compass-spin-rev 75s linear infinite; }
.star-compass-ring,
.star-compass-face {
	position: absolute;
	left: 50%;
	top: 50%;
	opacity: .9;
}
.star-compass-ring {
	width: 190px;
	height: 190px;
	margin: -95px 0 0 -95px;
	animation: compass-spin 60s linear infinite;
}
.star-compass-ring svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 10px rgba(217, 180, 91, .18));
}
.star-compass-face {
	width: 130px;
	height: 130px;
	margin: -65px 0 0 -65px;
	animation: compass-spin-rev 40s linear infinite;
}
.star-compass-face svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 8px rgba(217, 180, 91, .25));
}
@keyframes starfield-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes starfield-out { to { opacity: 0; } }
@keyframes compass-spin {
	to { transform: rotate(360deg); }
}
@keyframes compass-spin-rev {
	to { transform: rotate(-360deg); }
}

/* ============ 罗盘共鸣彩蛋(双人) ============ */
.hero-compass-wrap {
	position: absolute;
	right: 44px;
	top: 50%;
	transform: translateY(-50%);
	width: 110px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.hero-compass-wrap .compass-lg {
	position: static;
	right: auto;
	top: auto;
	transform: none;
}
.hero-compass-wrap::after {
	content: "";
	position: absolute;
	inset: -14px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 180, 91, .16) 0%, rgba(217, 180, 91, 0) 70%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .8s ease;
}
.hero-compass-wrap.compass-partner::after {
	opacity: 1;
	animation: compass-breathe 3.2s ease-in-out infinite;
}
.compass-hint {
	margin-top: 14px;
	font-family: var(--mono);
	font-size: 12.5px;
	letter-spacing: .14em;
	color: var(--brass-deep);
}
.compass-shake {
	animation: compass-shake .5s ease;
}
@keyframes compass-breathe {
	0%, 100% { opacity: .45; }
	50% { opacity: 1; }
}
@keyframes compass-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}
.resonance-overlay {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(ellipse at center, rgba(10, 22, 34, .92) 0%, rgba(4, 10, 18, .98) 78%);
	cursor: pointer;
	animation: resonance-in .6s ease both;
}
.resonance-star {
	position: absolute;
	border-radius: 50%;
	background: #f3efe4;
	box-shadow: 0 0 6px rgba(243, 239, 228, .8);
	animation: resonance-twinkle var(--d, 2s) ease-in-out var(--delay, 0s) infinite;
}
.resonance-line {
	font-family: var(--serif);
	font-size: clamp(1.5rem, 4.2vw, 2.7rem);
	font-weight: 700;
	letter-spacing: .16em;
	color: #d9b45b;
	text-align: center;
	text-shadow: 0 0 28px rgba(217, 180, 91, .35);
	padding: 0 24px;
	animation: resonance-line-in 1.4s ease both;
}
@keyframes resonance-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes resonance-line-in {
	0% { opacity: 0; transform: translateY(14px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes resonance-twinkle {
	0%, 100% { opacity: .15; transform: scale(.85); }
	50% { opacity: 1; transform: scale(1.15); }
}

