/* ==========================================================================
   LabTheme — visual system
   ========================================================================== */

:root {
	--bg: #06090f;
	--bg-soft: #080d16;
	--surface: #0b111b;
	--surface-2: #101826;
	--surface-3: #142033;
	--paper: #eef4f8;
	--paper-soft: #d6e2ec;
	--muted: #93a4b7;
	--muted-2: #7d90a5;
	--line: rgba(158, 184, 212, 0.14);
	--line-strong: rgba(158, 184, 212, 0.25);
	--accent: #78e3c4;
	--accent-strong: #a1f2de;
	--accent-ink: #041410;
	--violet: #99a8ff;
	--warm: #ffbd7a;
	--danger: #ff9b9b;
	--success: #8ce8c4;
	--container: 1180px;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 26px;
	--radius-xl: 34px;
	--font-sans: "SimHei", "STHeiti", "Heiti SC", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", "Segoe UI", "Inter", sans-serif;
	--font-display: var(--font-sans);
	--font-body: var(--font-sans);
	--font-display: var(--font-sans);
	--ease: cubic-bezier(0.22, 0.75, 0.24, 1);
	--header-h: 78px;
}

/*
 * Responsive breakpoints: 380 / 480 / 640 / 760 (hero JS sync) / 782 (WP admin bar) / 860 / 960 / 1080 / 1180.
 * 620 was merged into 640 and 820 into 860; do not reintroduce near-duplicate widths.
 */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	/* 放在 html 上：若放 body 会把 body 变成滚动容器，破坏全站 position:sticky */
	overflow-x: hidden;
}

body {
	margin: 0;
	background:
		radial-gradient(ellipse 60% 40% at 78% -8%, rgba(92, 130, 255, 0.1), transparent 60%),
		radial-gradient(ellipse 44% 30% at 8% 6%, rgba(120, 227, 196, 0.055), transparent 65%),
		var(--bg);
	color: var(--paper);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* 表单元素不默认继承字体，显式强制全站黑体 */
button,
input,
select,
textarea,
optgroup {
	font-family: var(--font-sans);
}

body.nav-open,
body.search-open {
	overflow: hidden;
}

[hidden] {
	display: none !important;
}

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

svg {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

a:hover {
	color: var(--accent);
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--paper);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

::selection {
	background: rgba(120, 227, 196, 0.28);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 8px;
	font-weight: 700;
	clip-path: none;
}

.skip-link {
	position: fixed;
	z-index: 1000;
}

.site-shell {
	position: relative;
}

.site-main {
	position: relative;
	z-index: 2;
}

.eyebrow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--muted-2);
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.eyebrow > span:first-child {
	color: var(--accent);
}

.eyebrow::before {
	content: "";
	width: 18px;
	height: 1px;
	background: var(--accent);
	opacity: 0.7;
}

.eyebrow:only-child::before {
	display: none;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	color: var(--paper-soft);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.text-link .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
	transition: transform 0.25s var(--ease);
}

.text-link:hover {
	color: var(--accent);
}

.text-link:hover .icon {
	transform: translate(2px, -2px);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 46px;
	padding: 0.75em 1.35em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--paper);
	font-family: var(--font-sans);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn .icon {
	width: 1.1rem;
	height: 1.1rem;
	transition: transform 0.3s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-ink);
	box-shadow: 0 10px 34px rgba(120, 227, 196, 0.12);
}

.btn--primary:hover {
	background: var(--accent-strong);
	color: var(--accent-ink);
	box-shadow: 0 16px 44px rgba(120, 227, 196, 0.2);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.025);
	border-color: var(--line-strong);
	color: var(--paper-soft);
	backdrop-filter: blur(10px);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(120, 227, 196, 0.45);
	color: var(--accent);
}

.btn--small {
	min-height: 38px;
	padding: 0.55em 1.05em;
	font-size: 0.78rem;
}

.btn--large {
	min-height: 54px;
	padding: 0.9em 1.65em;
	font-size: 0.93rem;
}

.btn--block {
	width: 100%;
}

.btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.btn.is-loading .icon {
	display: none;
}

.btn.is-loading::after {
	content: "";
	width: 0.95em;
	height: 0.95em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}

.btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--paper-soft);
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--line);
	color: var(--accent);
}

.avatar {
	display: inline-grid;
	place-items: center;
	width: var(--avatar-size, 48px);
	height: var(--avatar-size, 48px);
	flex: 0 0 var(--avatar-size, 48px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #071410;
	font-family: var(--font-display);
	font-size: calc(var(--avatar-size, 48px) * 0.4);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar--tone-1 {
	background: linear-gradient(135deg, #8af0d2, #4fa6c8 58%, #2e5e8f);
}

.avatar--tone-2 {
	background: linear-gradient(135deg, #b4b9ff, #7f89da 55%, #4c4f9c);
}

.avatar--tone-3 {
	background: linear-gradient(135deg, #ffd39e, #e79f78 55%, #9b5a57);
}

.avatar--tone-4 {
	background: linear-gradient(135deg, #c3ef9e, #70b883 55%, #326f5d);
}

.avatar--tone-5 {
	background: linear-gradient(135deg, #ffc0d3, #d98aae 55%, #8f4d72);
}

.avatar--sm {
	border-width: 1px;
}

.avatar--md {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.avatar--lg {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.avatar--xl {
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.045), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.avatar--image {
	padding: 0;
	background: rgba(255, 255, 255, 0.06);
}

.avatar--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.level-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.35em 0.7em;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--paper-soft);
	font-family: var(--font-sans);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.level-badge--pro {
	border-color: rgba(255, 189, 122, 0.4);
	background: rgba(255, 189, 122, 0.1);
	color: var(--warm);
}

.level-badge--free {
	border-color: rgba(120, 227, 196, 0.3);
	background: rgba(120, 227, 196, 0.08);
	color: var(--accent);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.32em;
	padding: 0.36em 0.62em;
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
}

.badge .icon {
	width: 0.8rem;
	height: 0.8rem;
}

.badge--locked {
	background: rgba(7, 12, 20, 0.72);
	border: 1px solid rgba(120, 227, 196, 0.26);
	color: var(--accent);
	backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	padding: 17px 0;
	border-bottom: 1px solid transparent;
	transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
	padding: 10px 0;
	background: rgba(6, 9, 15, 0.78);
	border-bottom-color: var(--line);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-branding {
	flex: 0 0 auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--accent);
	transition: transform 0.6s var(--ease);
}

.brand__mark svg {
	width: 100%;
	height: 100%;
}

.brand:hover .brand__mark {
	transform: rotate(12deg) scale(1.04);
}

.brand__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1;
}

.brand__name {
	font-family: var(--font-display);
	font-size: 1.28rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--paper);
}

.brand__latin {
	color: var(--muted-2);
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	line-height: 1.4;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 3px;
	list-style: none;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: inline-flex;
	align-items: center;
	padding: 8px 13px;
	border-radius: 999px;
	color: var(--paper-soft);
	font-size: 0.83rem;
	font-weight: 500;
	letter-spacing: 0.015em;
}

.nav-menu a:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--accent);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--accent);
	background: rgba(120, 227, 196, 0.07);
}

.nav-menu .menu-item-has-children > a::after {
	content: "";
	width: 4px;
	height: 4px;
	margin-left: 5px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 190px;
	padding: 8px;
	list-style: none;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
}

.nav-member,
.nav-close,
.nav-note {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.header-login {
	padding: 8px 10px;
	color: var(--paper-soft);
	font-size: 0.82rem;
}

.account-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 3px 13px 3px 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--paper-soft);
}

.account-chip:hover {
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--paper);
}

.account-chip__name {
	max-width: 88px;
	overflow: hidden;
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.menu-toggle {
	display: none;
}

.nav-scrim {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(2, 5, 9, 0.66);
	backdrop-filter: blur(4px);
}

.no-js-search {
	max-width: 640px;
	padding-top: 14px;
}

.no-js-search__label {
	margin-bottom: 8px;
	color: var(--muted-2);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */

.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 24px;
}

.search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 6, 11, 0.82);
	backdrop-filter: blur(9px);
	opacity: 0;
	transition: opacity 0.28s var(--ease);
}

.search-dialog {
	position: relative;
	width: min(100%, 700px);
	padding: 58px 54px 46px;
	background:
		radial-gradient(circle at 90% 0%, rgba(120, 227, 196, 0.08), transparent 38%),
		var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xl);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
	opacity: 0;
	transform: translateY(18px) scale(0.985);
	transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.search-overlay.is-open .search-overlay__backdrop {
	opacity: 1;
}

.search-overlay.is-open .search-dialog {
	opacity: 1;
	transform: none;
}

.search-close {
	position: absolute;
	top: 18px;
	right: 18px;
}

.search-dialog h2 {
	margin: 10px 0 28px;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-field {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.search-field__icon {
	position: absolute;
	left: 18px;
	width: 1.15rem;
	height: 1.15rem;
	color: var(--muted);
	pointer-events: none;
}

.search-field__input {
	width: 100%;
	height: 58px;
	padding: 0 18px 0 48px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--paper);
	font-size: 1rem;
	outline: none;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-field__input::placeholder {
	color: var(--muted-2);
}

.search-field__input:focus {
	border-color: rgba(120, 227, 196, 0.55);
	background: rgba(255, 255, 255, 0.055);
	box-shadow: 0 0 0 4px rgba(120, 227, 196, 0.08);
}

.search-submit {
	min-height: 58px;
	padding-inline: 24px;
}

.search-hint {
	margin-top: 22px;
	color: var(--muted-2);
	font-size: 0.8rem;
}

.search-shortcut {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 6px;
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--muted-2);
	font-size: 0.62rem;
	letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(740px, calc(100svh - 72px), 920px);
	padding: 100px 0 130px;
	overflow: hidden;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(ellipse 46% 52% at 70% 42%, rgba(44, 93, 122, 0.23), transparent 66%),
		radial-gradient(ellipse 32% 38% at 88% 26%, rgba(108, 92, 220, 0.13), transparent 70%),
		linear-gradient(180deg, rgba(6, 9, 15, 0.1), rgba(6, 9, 15, 0.94) 94%);
}

.hero__scene {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__scene canvas {
	width: 100% !important;
	height: 100% !important;
	opacity: 0;
	transition: opacity 1.4s var(--ease);
}

.hero__scene::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 46% 66% at 27% 50%, rgba(6, 9, 15, 0.86), rgba(6, 9, 15, 0.36) 58%, transparent 78%),
		linear-gradient(90deg, rgba(6, 9, 15, 0.84) 0%, rgba(6, 9, 15, 0.42) 32%, transparent 62%),
		linear-gradient(180deg, rgba(6, 9, 15, 0.35), transparent 24%, transparent 82%, rgba(6, 9, 15, 0.35));
	pointer-events: none;
}

.hero__scene.is-ready canvas {
	opacity: 0.82;
}

.hero__scene.is-fallback {
	background:
		radial-gradient(circle at 72% 44%, rgba(120, 227, 196, 0.16), transparent 24%),
		radial-gradient(circle at 76% 48%, rgba(127, 157, 255, 0.18), transparent 42%),
		radial-gradient(circle at 60% 55%, rgba(255, 196, 134, 0.08), transparent 26%);
}

.hero__aurora {
	position: absolute;
	top: 6%;
	right: 2%;
	width: 48vw;
	height: 48vw;
	max-width: 760px;
	max-height: 760px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, rgba(120, 227, 196, 0.1), rgba(127, 157, 255, 0.12), rgba(255, 196, 134, 0.06), rgba(120, 227, 196, 0.1));
	filter: blur(80px);
	opacity: 0.7;
	animation: aurora-drift 24s ease-in-out infinite alternate;
	pointer-events: none;
}

.hero__grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
	opacity: 0.04;
	mix-blend-mode: soft-light;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hero__content {
	width: min(100%, 780px);
}

.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(8, 14, 23, 0.4);
	color: var(--paper-soft);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.19em;
	line-height: 1;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.hero__kicker-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(120, 227, 196, 0.1), 0 0 16px rgba(120, 227, 196, 0.6);
	animation: soft-pulse 3.6s ease-in-out infinite;
}

.hero__title {
	max-width: 860px;
	margin: 30px 0 24px;
	font-size: clamp(3.2rem, 7.2vw, 6.8rem);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.hero__title em {
	position: relative;
	color: var(--accent);
	font-style: normal;
	white-space: nowrap;
}

.hero__title em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.02em;
	height: 0.08em;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(120, 227, 196, 0), rgba(120, 227, 196, 0.55), rgba(153, 168, 255, 0));
	opacity: 0.8;
}

.hero__subtitle {
	max-width: 560px;
	color: #b5c4d3;
	font-size: 1.02rem;
	line-height: 1.85;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.hero__stats {
	display: flex;
	gap: 46px;
	margin-top: 58px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	width: fit-content;
}

.hero__stat {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.hero__stat strong {
	font-family: var(--font-display);
	font-size: 1.38rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--paper);
}

.hero__stat span {
	color: var(--muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
}

.hero__coordinate {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	align-self: flex-end;
	padding-bottom: 54px;
	color: rgba(147, 164, 183, 0.55);
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.8;
	text-transform: uppercase;
}

.hero__coordinate-line {
	width: 46px;
	height: 1px;
	margin: 10px 0;
	background: linear-gradient(90deg, transparent, rgba(120, 227, 196, 0.55));
}

.hero__scroll {
	position: absolute;
	bottom: 30px;
	left: 50%;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	transform: translateX(-50%);
	color: var(--muted-2);
	font-size: 0.58rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.hero__scroll:hover {
	color: var(--accent);
}

.hero__scroll-line {
	position: relative;
	width: 1px;
	height: 44px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.1);
}

.hero__scroll-line::after {
	content: "";
	position: absolute;
	top: -50%;
	left: 0;
	width: 100%;
	height: 50%;
	background: var(--accent);
	animation: scroll-line 2.6s ease-in-out infinite;
}

.reveal.will-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-revealed {
	opacity: 1;
	transform: none;
}

.hero__content .reveal:nth-child(2) {
	transition-delay: 0.07s;
}

.hero__content .reveal:nth-child(3) {
	transition-delay: 0.14s;
}

.hero__content .reveal:nth-child(4) {
	transition-delay: 0.21s;
}

.hero__content .reveal:nth-child(5) {
	transition-delay: 0.28s;
}

/* --------------------------------------------------------------------------
   Sections and cards
   -------------------------------------------------------------------------- */

.section {
	position: relative;
	padding: 108px 0;
}

.section--featured {
	border-top: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 55%);
}

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 44px;
}

.section__title {
	margin-top: 10px;
	font-size: clamp(2rem, 4vw, 3.3rem);
	font-weight: 500;
	letter-spacing: -0.035em;
}

.section__aside {
	max-width: 280px;
	color: var(--muted-2);
	font-size: 0.82rem;
	line-height: 1.8;
	text-align: right;
}

.section__more {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.85fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.feature-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: rgba(12, 18, 29, 0.78);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-card:hover {
	transform: translateY(-5px);
	border-color: rgba(120, 227, 196, 0.3);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.feature-card--lead {
	grid-row: span 2;
}

.feature-card--lead .feature-card__media {
	aspect-ratio: 16 / 9.4;
	min-height: 340px;
}

.feature-card--lead .feature-card__body {
	padding: 30px 32px 28px;
}

.feature-card--lead .feature-card__title {
	font-size: clamp(1.65rem, 2.4vw, 2.15rem);
}

.feature-card--side {
	display: grid;
	grid-template-columns: 42% 1fr;
}

.feature-card--side .feature-card__media {
	height: 100%;
	min-height: 238px;
	aspect-ratio: auto;
}

.feature-card--side .feature-card__body {
	padding: 24px 26px;
}

.feature-card--side .feature-card__title {
	font-size: 1.13rem;
	line-height: 1.45;
}

.feature-card--side .feature-card__excerpt {
	font-size: 0.82rem;
	-webkit-line-clamp: 2;
}

.feature-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--surface-2);
}

.feature-card__index {
	position: absolute;
	top: 18px;
	left: 20px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(4, 8, 13, 0.52);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	backdrop-filter: blur(10px);
}

.feature-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px;
}

.feature-card__title {
	margin: 14px 0 10px;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.feature-card__title a {
	background-image: linear-gradient(var(--accent), var(--accent));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color 0.25s var(--ease), background-size 0.35s var(--ease);
}

.feature-card__title a:hover {
	color: var(--accent);
	background-size: 100% 1px;
}

.feature-card__excerpt {
	display: -webkit-box;
	margin-bottom: 20px;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.feature-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.post-thumb {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 20%, rgba(120, 227, 196, 0.16), transparent 35%),
		linear-gradient(145deg, #162338, #0a0f19);
}

.post-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

a:hover .post-thumb__img,
.feature-card:hover .post-thumb__img,
.post-card:hover .post-thumb__img {
	transform: scale(1.035);
	filter: saturate(1.06) brightness(1.03);
}

.feature-card__media .post-thumb {
	height: 100%;
}

.post-thumb__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background:
		radial-gradient(circle at 30% 30%, rgba(120, 227, 196, 0.17), transparent 36%),
		linear-gradient(135deg, #1b2d40, #0b111b 65%);
}

.post-thumb__fallback.tone-2 {
	background:
		radial-gradient(circle at 72% 32%, rgba(153, 168, 255, 0.2), transparent 38%),
		linear-gradient(135deg, #20213d, #0b111b 65%);
}

.post-thumb__fallback.tone-3 {
	background:
		radial-gradient(circle at 60% 30%, rgba(255, 189, 122, 0.18), transparent 38%),
		linear-gradient(135deg, #30241c, #0b111b 65%);
}

.post-thumb__fallback.tone-4 {
	background:
		radial-gradient(circle at 40% 72%, rgba(140, 232, 196, 0.15), transparent 38%),
		linear-gradient(135deg, #172b24, #0b111b 65%);
}

.post-thumb__fallback.tone-5 {
	background:
		radial-gradient(circle at 70% 70%, rgba(255, 155, 190, 0.14), transparent 38%),
		linear-gradient(135deg, #2d1e28, #0b111b 65%);
}

.post-thumb__glyph {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: var(--accent);
	opacity: 0.6;
}

.post-thumb__glyph .icon {
	width: 28px;
	height: 28px;
}

.card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	color: var(--muted-2);
	font-size: 0.67rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.card__category {
	display: inline-flex;
	align-items: center;
	color: var(--accent);
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.09em;
}

.card__category::before {
	content: "";
	width: 12px;
	height: 1px;
	margin-right: 7px;
	background: currentColor;
	opacity: 0.7;
}

.card__meta-time::before {
	content: "·";
	margin-right: 9px;
	color: var(--muted-2);
}

.card__date {
	color: var(--muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
}

.post-grid {
	display: grid;
	gap: 22px;
}

.post-grid--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-grid--blog {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: rgba(12, 18, 29, 0.72);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(120, 227, 196, 0.28);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 2.85;
	overflow: hidden;
	background: var(--surface-2);
}

.post-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.42em 0.68em;
	border: 1px solid rgba(120, 227, 196, 0.28);
	border-radius: 999px;
	background: rgba(4, 8, 13, 0.66);
	color: var(--accent);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	backdrop-filter: blur(10px);
}

.post-card__badge .icon {
	width: 0.8rem;
	height: 0.8rem;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.post-card__title {
	margin: 13px 0 10px;
	font-size: 1.32rem;
	font-weight: 500;
	line-height: 1.43;
	letter-spacing: -0.02em;
}

.post-card__title a:hover {
	color: var(--accent);
}

.post-card__excerpt {
	display: -webkit-box;
	margin-bottom: 20px;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.bookmark-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	padding: 5px 7px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--muted-2);
	font-family: var(--font-sans);
	font-size: 0.66rem;
	line-height: 1.2;
	cursor: pointer;
	transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.bookmark-btn .icon {
	width: 1rem;
	height: 1rem;
}

.bookmark-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--paper);
}

.bookmark-btn.is-active {
	color: var(--accent);
}

.bookmark-btn.is-active .icon {
	fill: rgba(120, 227, 196, 0.18);
}

.bookmark-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.bookmark-btn--full {
	padding: 8px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.025);
	font-size: 0.74rem;
}

.bookmark-btn--full.is-active {
	border-color: rgba(120, 227, 196, 0.36);
	background: rgba(120, 227, 196, 0.08);
}

/* --------------------------------------------------------------------------
   Topics
   -------------------------------------------------------------------------- */

.section--topics {
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 45%, transparent);
}

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

.topic-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 210px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 90% 0%, rgba(120, 227, 196, 0.07), transparent 42%),
		rgba(12, 18, 29, 0.58);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.topic-card:nth-child(2) {
	background:
		radial-gradient(circle at 90% 0%, rgba(153, 168, 255, 0.09), transparent 42%),
		rgba(12, 18, 29, 0.58);
}

.topic-card:nth-child(3) {
	background:
		radial-gradient(circle at 90% 0%, rgba(255, 189, 122, 0.075), transparent 42%),
		rgba(12, 18, 29, 0.58);
}

.topic-card:nth-child(4) {
	background:
		radial-gradient(circle at 90% 0%, rgba(255, 155, 190, 0.06), transparent 42%),
		rgba(12, 18, 29, 0.58);
}

.topic-card:hover {
	transform: translateY(-4px);
	border-color: rgba(120, 227, 196, 0.28);
}

.topic-card__index {
	color: rgba(255, 255, 255, 0.15);
	font-family: var(--font-display);
	font-size: 2.6rem;
	line-height: 1;
	letter-spacing: -0.05em;
}

.topic-card__body {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: auto;
}

.topic-card__name {
	font-family: var(--font-display);
	font-size: 1.32rem;
	font-weight: 500;
}

.topic-card__count {
	color: var(--muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.04em;
}

.topic-card__arrow {
	position: absolute;
	top: 22px;
	right: 22px;
	color: var(--muted-2);
	transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.topic-card:hover .topic-card__arrow {
	color: var(--accent);
	transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Membership invitation
   -------------------------------------------------------------------------- */

.section--member {
	padding-top: 70px;
}

.member-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr);
	gap: 34px;
	padding: 68px;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(120deg, rgba(18, 31, 44, 0.95), rgba(9, 14, 24, 0.98) 55%, rgba(17, 23, 45, 0.95)),
		var(--surface);
	isolation: isolate;
}

.member-cta__glow {
	position: absolute;
	top: -40%;
	left: 30%;
	z-index: -1;
	width: 60%;
	height: 140%;
	background: radial-gradient(ellipse, rgba(120, 227, 196, 0.15), transparent 62%);
	filter: blur(30px);
	pointer-events: none;
}

.member-cta__copy h2 {
	max-width: 640px;
	margin: 14px 0 22px;
	font-size: clamp(2rem, 4.2vw, 3.55rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.04em;
}

.member-cta__text {
	max-width: 520px;
	color: #aebdcc;
	font-size: 0.94rem;
	line-height: 1.9;
}

.member-cta__list {
	display: grid;
	gap: 9px;
	margin: 26px 0 32px;
	list-style: none;
}

.member-cta__list li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--paper-soft);
	font-size: 0.82rem;
}

.member-cta__list .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.member-cta__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.member-card-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 330px;
}

.member-card-visual__orbit {
	position: absolute;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(120, 227, 196, 0.16);
	border-radius: 50%;
	transform: rotateX(66deg) rotateZ(-24deg);
	animation: orbit-spin 24s linear infinite;
}

.member-card-visual__orbit--two {
	width: 220px;
	height: 220px;
	border-color: rgba(153, 168, 255, 0.18);
	animation-direction: reverse;
	animation-duration: 18s;
}

.member-card-visual__star {
	position: absolute;
	top: 13%;
	right: 19%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--warm);
	box-shadow: 0 0 18px 4px rgba(255, 189, 122, 0.4);
}

.member-card-visual__panel {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: min(100%, 280px);
	padding: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(120, 227, 196, 0.16), transparent 42%),
		linear-gradient(160deg, rgba(28, 42, 58, 0.95), rgba(8, 12, 21, 0.98));
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transform: rotate(-7deg);
	animation: card-float 7s ease-in-out infinite;
	backdrop-filter: blur(10px);
}

.member-card-visual__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 72%);
	transform: translateX(-120%);
	animation: shimmer 6.5s ease-in-out infinite;
}

.member-card-visual__label {
	color: var(--accent);
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.member-card-visual__name {
	margin-top: 38px;
	font-family: var(--font-display);
	font-size: 1.35rem;
	letter-spacing: 0.02em;
}

.member-card-visual__meta {
	color: var(--muted);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
}

.member-card-visual__no {
	align-self: flex-end;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.56rem;
	letter-spacing: 0.18em;
}

.member-card-visual__caption {
	position: absolute;
	bottom: 6%;
	left: 12%;
	color: var(--muted-2);
	font-size: 0.5rem;
	letter-spacing: 0.25em;
	transform: rotate(-8deg);
}

/* --------------------------------------------------------------------------
   Page hero, blog layout, sidebar
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding: 72px 0 54px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(ellipse 50% 80% at 85% 0%, rgba(120, 227, 196, 0.05), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
	overflow: hidden;
}

.page-hero--article {
	padding-bottom: 46px;
}

.page-hero__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-top: 28px;
}

.page-hero__title {
	margin-top: 12px;
	font-size: clamp(2.5rem, 5.5vw, 4.6rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.page-hero__desc {
	max-width: 680px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.85;
}

.page-hero__desc p {
	margin: 0;
}

.page-hero__count {
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.page-hero__search {
	width: min(100%, 390px);
	flex: 0 0 auto;
}

.page-hero__search .search-field__input,
.page-hero__search .search-submit {
	height: 48px;
	min-height: 48px;
	font-size: 0.82rem;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--muted-2);
	font-size: 0.68rem;
	line-height: 1.5;
}

.breadcrumbs a {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breadcrumbs a:hover {
	color: var(--accent);
}

.breadcrumbs__sep {
	opacity: 0.45;
}

.breadcrumbs__current {
	max-width: 100%;
	overflow: hidden;
	color: var(--muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 55px;
	padding: 62px 0 100px;
	align-items: start;
}

.layout-main {
	min-width: 0;
}

.sidebar {
	min-width: 0;
}

.sidebar__sticky {
	position: sticky;
	top: 102px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.widget {
	padding: 25px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.62);
}

.widget__title {
	margin-bottom: 14px;
	font-size: 1.08rem;
	font-weight: 500;
}

.widget p {
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.8;
}

.widget .text-link {
	margin-top: 16px;
}

.widget ul {
	list-style: none;
}

.widget--about .eyebrow {
	margin-bottom: 12px;
}

.widget--categories .category-list {
	display: flex;
	flex-direction: column;
}

.category-list li + li {
	border-top: 1px solid var(--line);
}

.category-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	color: var(--paper-soft);
	font-size: 0.8rem;
}

.category-list a:hover {
	color: var(--accent);
}

.category-list__count {
	color: var(--muted-2);
	font-size: 0.65rem;
}

.mini-posts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mini-post {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mini-post__thumb {
	flex: 0 0 62px;
	width: 62px;
	height: 62px;
	border-radius: 10px;
	overflow: hidden;
}

.mini-post__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mini-post__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.mini-post__date {
	color: var(--muted-2);
	font-size: 0.58rem;
	letter-spacing: 0.06em;
}

.mini-post__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 0.84rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.mini-post:hover .mini-post__title {
	color: var(--accent);
}

.widget--member {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 100% 0%, rgba(120, 227, 196, 0.13), transparent 45%),
		linear-gradient(145deg, #14232e, #0b111b 65%);
}

.widget--member__orbit {
	position: absolute;
	top: -55px;
	right: -40px;
	width: 160px;
	height: 160px;
	border: 1px solid rgba(120, 227, 196, 0.18);
	border-radius: 50%;
	transform: rotateX(62deg) rotateZ(-20deg);
	pointer-events: none;
}

.widget--member h2 {
	margin: 8px 0 10px;
	font-size: 1.28rem;
	font-weight: 500;
}

.widget--member .btn {
	margin-top: 18px;
}

.widget--member .eyebrow {
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 44px;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.72rem;
}

.pagination .page-numbers:hover {
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--accent);
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
}

.pagination .page-numbers .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.pagination .screen-reader-text {
	position: absolute !important;
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	padding: 50px 24px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	text-align: center;
}

.empty-state__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
}

.empty-state h2 {
	margin: 10px 0 10px;
	font-size: 1.8rem;
}

.empty-state > p {
	max-width: 420px;
	color: var(--muted);
	font-size: 0.88rem;
}

.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 150;
	height: 2px;
	background: transparent;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--accent), var(--violet));
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.article-hero {
	position: relative;
	padding: 68px 0 58px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 45% 85% at 82% 0%, rgba(120, 227, 196, 0.06), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}

.article-hero__glow {
	position: absolute;
	top: -260px;
	right: -80px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(153, 168, 255, 0.06), transparent 68%);
	pointer-events: none;
}

.article-hero__inner {
	position: relative;
}

.article-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.article-hero__category {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border: 1px solid rgba(120, 227, 196, 0.26);
	border-radius: 999px;
	background: rgba(120, 227, 196, 0.06);
	color: var(--accent);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.article-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted-2);
	font-size: 0.68rem;
}

.article-hero__meta-item .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.article-hero__title {
	max-width: 1080px;
	margin: 22px 0 0;
	font-size: clamp(2.5rem, 5.8vw, 5rem);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.article-hero__dek {
	max-width: 780px;
	margin-top: 20px;
	color: #b6c6d5;
	font-size: 1.05rem;
	line-height: 1.85;
}

.article-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.article-byline__author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.article-byline__name {
	display: block;
	color: var(--paper-soft);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
}

.article-byline__role {
	display: block;
	color: var(--muted-2);
	font-size: 0.62rem;
	line-height: 1.3;
}

.article-byline__sep {
	width: 1px;
	height: 24px;
	background: var(--line);
}

.article-byline__date,
.article-byline__comments {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted-2);
	font-size: 0.7rem;
}

.article-byline__comments .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.article-byline__comments:hover {
	color: var(--accent);
}

.article-byline__actions {
	margin-left: auto;
}

.article-cover {
	position: relative;
	margin: 24px 0 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	aspect-ratio: 16 / 8.6;
	background: var(--surface);
}

.article-cover--page {
	margin-top: 0;
}

.article-cover__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-cover figcaption {
	position: absolute;
	right: 18px;
	bottom: 14px;
	left: 18px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.65rem;
	text-align: right;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 300px;
	justify-content: space-between;
	gap: 64px;
	padding: 62px 0 100px;
	align-items: start;
}

.article-main {
	min-width: 0;
}

.entry-content {
	color: #c7d4df;
	font-family: var(--font-sans);
	font-size: 1.03rem;
	line-height: 1.95;
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 760px;
}

.entry-content p {
	margin: 1.25em 0;
}

.entry-content > p:first-child {
	color: #dce7ef;
	font-size: 1.1rem;
	line-height: 1.9;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	scroll-margin-top: 120px;
	color: var(--paper);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.entry-content h2 {
	margin: 2.1em 0 0.65em;
	font-size: clamp(1.55rem, 3vw, 2rem);
}

.entry-content h2::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	margin-right: 10px;
	vertical-align: 0.35em;
	background: var(--accent);
}

.entry-content h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.35rem;
}

.entry-content h4 {
	margin: 1.6em 0 0.4em;
	font-size: 1.1rem;
}

.entry-content a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: rgba(120, 227, 196, 0.35);
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-color: currentColor;
}

.entry-content a.btn {
	text-decoration: none;
}

.entry-content a.btn--primary {
	color: var(--accent-ink);
}

.entry-content a.btn--ghost {
	color: var(--paper-soft);
}

.entry-content a.btn--ghost:hover {
	color: var(--accent);
}

.entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 26px 30px 26px 38px;
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background:
		radial-gradient(circle at 0% 0%, rgba(120, 227, 196, 0.06), transparent 45%),
		rgba(255, 255, 255, 0.022);
	color: #d7e2eb;
	font-family: var(--font-display);
	font-size: 1.16rem;
	line-height: 1.85;
}

.entry-content blockquote p {
	margin: 0.4em 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	color: var(--muted-2);
	font-family: var(--font-sans);
	font-size: 0.7rem;
	font-style: normal;
	letter-spacing: 0.04em;
}

.entry-content ul,
.entry-content ol {
	margin: 1.2em 0;
	padding-left: 1.35em;
}

.entry-content li {
	margin: 0.45em 0;
	padding-left: 0.2em;
}

.entry-content li::marker {
	color: var(--accent);
}

.entry-content code {
	padding: 0.16em 0.4em;
	border: 1px solid rgba(120, 227, 196, 0.12);
	border-radius: 5px;
	background: rgba(120, 227, 196, 0.075);
	color: #a9efdd;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "SimHei", monospace;
	font-size: 0.86em;
}

.entry-content pre {
	max-width: 100%;
	margin: 1.7em 0;
	padding: 22px 24px;
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #070c14;
	color: #c8d7e5;
	font-size: 0.83rem;
	line-height: 1.75;
	tab-size: 2;
}

.entry-content pre code {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	cursor: zoom-in;
}

.code-block {
	position: relative;
	margin: 1.7em 0;
}

.code-block pre {
	margin: 0;
	padding-top: 42px;
}

.code-copy {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
	padding: 5px 9px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	background: rgba(7, 12, 20, 0.88);
	color: var(--muted);
	font-size: 0.62rem;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.code-copy:hover {
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--accent);
}

.image-lightbox {
	width: min(94vw, 1180px);
	max-height: 90vh;
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: 16px;
	background: #06090f;
	color: var(--paper);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.image-lightbox::backdrop {
	background: rgba(2, 5, 9, 0.86);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.image-lightbox img {
	display: block;
	max-width: 100%;
	max-height: calc(90vh - 54px);
	margin: 0 auto;
	object-fit: contain;
	border-radius: 0;
	cursor: default;
}

.image-lightbox__close {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: rgba(6, 9, 15, 0.72);
	color: var(--paper);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.image-lightbox__caption {
	margin: 0;
	padding: 10px 16px;
	color: var(--muted);
	font-size: 0.68rem;
	line-height: 1.5;
	text-align: center;
}

body.lightbox-open {
	overflow: hidden;
}

.article-hero__series {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.article-hero__series .icon {
	width: 0.74rem;
	height: 0.74rem;
}

.entry-content figure {
	max-width: 100%;
	margin: 1.8em 0;
}

.entry-content figcaption {
	margin-top: 8px;
	color: var(--muted-2);
	font-size: 0.7rem;
	line-height: 1.6;
	text-align: center;
}

.entry-content hr {
	margin: 2.5em auto;
	border: 0;
	border-top: 1px solid var(--line);
}

.entry-content table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: rgba(255, 255, 255, 0.04);
	color: var(--paper);
	font-weight: 600;
}

.entry-content .alignwide {
	width: min(1000px, calc(100vw - 48px));
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .wp-block-image figcaption {
	color: var(--muted-2);
}

.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
}

.entry-content .wp-block-separator {
	border-color: var(--line);
}

.entry-content .wp-block-quote {
	border-right: 0;
}

.entry-content .wp-block-pullquote {
	padding: 2em 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.entry-content .wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
	background: none;
}

.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
}

.entry-content .gallery-item {
	margin: 0;
}

.page-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2em 0;
	color: var(--muted-2);
	font-size: 0.75rem;
}

.page-links a,
.page-links > span:not(.screen-reader-text) {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--paper-soft);
}

.page-links a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 46px;
	padding: 24px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.article-footer__tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.article-footer__label {
	margin-right: 4px;
	color: var(--muted-2);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.article-footer__tags a {
	padding: 4px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.65rem;
}

.article-footer__tags a:hover {
	border-color: rgba(120, 227, 196, 0.35);
	color: var(--accent);
}

.article-footer__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.action-button {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 8px 13px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--paper-soft);
	font-size: 0.72rem;
	cursor: pointer;
}

.action-button:hover {
	border-color: rgba(120, 227, 196, 0.36);
	color: var(--accent);
}

.action-button .icon {
	width: 0.95rem;
	height: 0.95rem;
}

.article-footer__edit a {
	color: var(--muted-2);
	font-size: 0.68rem;
}

.series-box {
	margin: 46px 0 8px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 70% 120% at 100% 0%, rgba(120, 227, 196, 0.07), transparent 70%),
		rgba(255, 255, 255, 0.022);
}

.series-box__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 22px;
}

.series-box__head h2 {
	margin: 5px 0 4px;
	font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.series-box__meta {
	margin: 0;
	color: var(--muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.04em;
}

.series-progress {
	height: 2px;
	margin: 20px 0 10px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.series-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent), rgba(120, 227, 196, 0.25));
}

.series-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.series-list__item a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 10px;
	padding: 9px 8px;
	border-radius: 8px;
	color: var(--paper-soft);
}

.series-list__item a:hover {
	background: rgba(255, 255, 255, 0.035);
	color: var(--accent);
}

.series-list__item.is-current a {
	background: rgba(120, 227, 196, 0.07);
	color: var(--paper);
}

.series-list__index {
	color: rgba(120, 227, 196, 0.5);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
}

.series-list__title {
	overflow: hidden;
	font-size: 0.82rem;
	line-height: 1.55;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.series-list__meta {
	color: var(--muted-2);
	font-size: 0.6rem;
	white-space: nowrap;
}

.series-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.series-nav__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.series-nav__item:hover {
	border-color: rgba(120, 227, 196, 0.3);
	background: rgba(255, 255, 255, 0.025);
}

.series-nav__item--next {
	text-align: right;
}

.series-nav__item span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--muted-2);
	font-size: 0.61rem;
}

.series-nav__item--next span {
	justify-content: flex-end;
}

.series-nav__item span .icon {
	width: 0.72rem;
	height: 0.72rem;
}

.series-nav__item strong {
	overflow: hidden;
	color: var(--paper-soft);
	font-size: 0.74rem;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.series-nav__item--empty {
	border-color: transparent;
}

@media (max-width: 640px) {
	.series-box {
		padding: 18px;
	}

	.series-box__head {
		flex-direction: column;
		gap: 10px;
	}

	.series-list__item a {
		grid-template-columns: 24px minmax(0, 1fr);
	}

	.series-list__meta {
		display: none;
	}

	.series-nav {
		grid-template-columns: minmax(0, 1fr);
	}
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 42px;
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.018);
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.post-nav__item:hover {
	border-color: rgba(120, 227, 196, 0.3);
	background: rgba(120, 227, 196, 0.035);
}

.post-nav__item--next {
	text-align: right;
}

.post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted-2);
	font-size: 0.63rem;
	letter-spacing: 0.08em;
}

.post-nav__item--next .post-nav__label {
	justify-content: flex-end;
}

.post-nav__label .icon {
	width: 0.85rem;
	height: 0.85rem;
}

.post-nav__item strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-nav__item--empty {
	visibility: hidden;
}

.related {
	margin-top: 68px;
	padding-top: 44px;
	border-top: 1px solid var(--line);
}

.related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.related__head h2 {
	margin-top: 8px;
	font-size: 1.7rem;
	font-weight: 500;
}

.related .post-card__title {
	font-size: 1rem;
}

.related .post-card__body {
	padding: 18px;
}

.related .post-card__excerpt {
	display: none;
}

.related .post-card__footer {
	padding-top: 13px;
}

.article-aside {
	position: sticky;
	top: 102px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.toc-card,
.aside-author,
.aside-member {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.64);
}

.toc-card h2 {
	margin: 7px 0 15px;
	font-size: 1.02rem;
	font-weight: 500;
}

.toc-nav {
	display: flex;
	flex-direction: column;
	gap: 3px;
	max-height: 42vh;
	padding-left: 10px;
	overflow-y: auto;
	border-left: 1px solid var(--line);
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}

.toc-nav__link {
	position: relative;
	display: block;
	padding: 5px 0 5px 10px;
	color: var(--muted);
	font-size: 0.72rem;
	line-height: 1.55;
}

.toc-nav__link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -11px;
	width: 1px;
	height: 0;
	background: var(--accent);
	transform: translateY(-50%);
	transition: height 0.25s var(--ease);
}

.toc-nav__link--h3 {
	padding-left: 23px;
	font-size: 0.68rem;
	color: var(--muted-2);
}

.toc-nav__link:hover,
.toc-nav__link.is-active {
	color: var(--accent);
}

.toc-nav__link.is-active::before {
	height: 100%;
}

.aside-author__head {
	display: flex;
	align-items: center;
	gap: 13px;
}

.aside-author__name {
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.08rem;
}

.aside-author__role {
	color: var(--muted-2);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
}

.aside-author__bio {
	margin: 14px 0 13px;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.8;
}

.aside-member {
	background:
		radial-gradient(circle at 100% 0%, rgba(120, 227, 196, 0.13), transparent 46%),
		linear-gradient(150deg, #12202b, #0b111b 65%);
}

.aside-member h2 {
	margin: 7px 0 9px;
	font-size: 1.1rem;
	font-weight: 500;
}

.aside-member p:not(.eyebrow) {
	color: var(--muted);
	font-size: 0.77rem;
	line-height: 1.8;
}

.aside-member .btn {
	margin-top: 16px;
}

.lock-panel {
	position: relative;
	margin: 10px 0 0;
	padding: 64px 48px;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 50% 0%, rgba(120, 227, 196, 0.12), transparent 48%),
		linear-gradient(160deg, rgba(17, 29, 41, 0.92), rgba(8, 12, 20, 0.96));
	text-align: center;
}

.lock-panel::before {
	content: "";
	position: absolute;
	top: -210px;
	left: 50%;
	width: 300px;
	height: 300px;
	border: 1px solid rgba(120, 227, 196, 0.1);
	border-radius: 50%;
	transform: translateX(-50%) rotateX(66deg);
	pointer-events: none;
}

.lock-panel__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 20px;
	border: 1px solid rgba(120, 227, 196, 0.24);
	border-radius: 50%;
	background: rgba(120, 227, 196, 0.07);
	color: var(--accent);
}

.lock-panel__icon .icon {
	width: 1.45rem;
	height: 1.45rem;
}

.lock-panel .eyebrow {
	justify-content: center;
}

.lock-panel__title {
	margin: 14px auto 14px;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	font-weight: 500;
}

.lock-panel__text {
	max-width: 490px;
	margin: 0 auto 26px;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.9;
}

.lock-panel__note {
	margin-top: 18px;
	color: var(--muted-2);
	font-size: 0.75rem;
}

.lock-panel__note a {
	color: var(--accent);
}

.lock-panel__fineprint {
	margin-top: 28px;
	color: rgba(147, 164, 183, 0.45);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Comments
   -------------------------------------------------------------------------- */

.comments-area {
	margin-top: 64px;
	padding-top: 42px;
	border-top: 1px solid var(--line);
}

.comments__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 16px;
}

.comments__title {
	margin-top: 7px;
	font-size: 1.65rem;
	font-weight: 500;
}

.comments__note {
	max-width: 290px;
	color: var(--muted-2);
	font-size: 0.72rem;
	text-align: right;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list > li {
	border-bottom: 1px solid var(--line);
}

.comment-list .children {
	margin-left: 32px;
	padding-left: 24px;
	border-left: 1px solid var(--line);
}

.comment-list .children > li {
	border-bottom: 1px solid var(--line);
}

.comment-list .children > li:last-child,
.comment-list > li:last-child {
	border-bottom: 0;
}

.comment__body {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px;
	padding: 24px 0;
}

.comment__avatar-img {
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 50%;
}

.comment__header {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.comment__author {
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 500;
}

.comment__time {
	color: var(--muted-2);
	font-size: 0.64rem;
}

.comment__content {
	margin-top: 7px;
	color: #b9c8d6;
	font-size: 0.86rem;
	line-height: 1.85;
}

.comment__content p {
	margin: 0.5em 0;
}

.comment__content p:first-child {
	margin-top: 0;
}

.comment__content p:last-child {
	margin-bottom: 0;
}

.comment__content a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.comment__pending {
	color: var(--warm);
	font-size: 0.72rem;
}

.comment__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}

.comment__reply a {
	color: var(--muted-2);
	font-size: 0.67rem;
}

.comment__reply a:hover {
	color: var(--accent);
}

.comment__reply a::before {
	content: "↳";
	margin-right: 4px;
	opacity: 0.6;
}

.comment__edit a {
	color: var(--muted-2);
	font-size: 0.64rem;
}

.comment-respond {
	margin-top: 38px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(12, 18, 29, 0.58);
}

.comment-reply-title {
	margin: 0 0 4px;
	font-size: 1.35rem;
	font-weight: 500;
}

.comment-reply-title small {
	font-family: var(--font-sans);
	font-size: 0.65rem;
	font-weight: 400;
}

.comment-reply-title small a {
	color: var(--muted-2);
}

.comment-notes {
	margin-bottom: 15px;
	color: var(--muted-2);
	font-size: 0.7rem;
}

.logged-in-as {
	margin-bottom: 13px;
	color: var(--muted-2);
	font-size: 0.7rem;
	line-height: 1.7;
}

.logged-in-as strong {
	color: var(--paper-soft);
	font-weight: 600;
}

.logged-in-as a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: rgba(120, 227, 196, 0.35);
	text-underline-offset: 3px;
}

.comment-form p {
	margin-bottom: 12px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--paper-soft);
	font-size: 0.74rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--paper);
	font-size: 0.84rem;
	outline: none;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: rgba(120, 227, 196, 0.5);
	box-shadow: 0 0 0 3px rgba(120, 227, 196, 0.07);
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form .comment-form-cookies-consent input {
	margin-top: 3px;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	color: var(--muted-2);
	font-size: 0.68rem;
	font-weight: 400;
}

.comment-form .form-submit {
	margin-bottom: 0;
}

.comment-form .submit {
	min-height: 44px;
	padding: 0.7em 1.4em;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--accent-strong);
}

.comment-navigation {
	margin: 18px 0;
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.comment-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 0.7rem;
}

.no-comments {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Page
   -------------------------------------------------------------------------- */

.page-layout {
	padding: 62px 0 100px;
}

.entry-content--page {
	max-width: 860px;
	margin-inline: auto;
}

.page-comments {
	max-width: 860px;
	padding-bottom: 100px;
}

.page-edit a {
	color: var(--muted-2);
	font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   Member center: auth
   -------------------------------------------------------------------------- */

.member-page {
	position: relative;
	min-height: 75vh;
	padding: 66px 0 100px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 48% 42% at 82% 10%, rgba(120, 227, 196, 0.06), transparent 60%),
		radial-gradient(ellipse 45% 40% at 12% 35%, rgba(153, 168, 255, 0.05), transparent 60%);
}

.member-page__glow {
	position: absolute;
	top: -200px;
	right: -100px;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(120, 227, 196, 0.07), transparent 65%);
	pointer-events: none;
}

.member-page__grain {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
	opacity: 0.025;
	mix-blend-mode: soft-light;
	pointer-events: none;
}

.member-page > .container {
	position: relative;
	z-index: 2;
}

.auth {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
	padding: 30px 0 20px;
}

.auth__intro {
	position: relative;
	padding-top: 24px;
}

.auth__constellation {
	position: absolute;
	top: -26px;
	right: -26px;
	width: 136px;
	height: 136px;
	opacity: 0.5;
	pointer-events: none;
}

.auth__orbit {
	position: absolute;
	inset: 18px;
	border: 1px solid rgba(120, 227, 196, 0.16);
	border-radius: 50%;
	transform: rotateX(66deg) rotateZ(-25deg);
	animation: orbit-spin 26s linear infinite;
}

.auth__orbit--two {
	inset: 48px;
	border-color: rgba(153, 168, 255, 0.2);
	animation-direction: reverse;
	animation-duration: 18s;
}

.auth__star {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fff, var(--accent) 28%, rgba(120, 227, 196, 0) 70%);
	box-shadow: 0 0 26px rgba(120, 227, 196, 0.3);
	transform: translate(-50%, -50%);
}

.auth__dot {
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.auth__dot--one {
	top: 22%;
	left: 25%;
}

.auth__dot--two {
	right: 16%;
	bottom: 24%;
	background: var(--warm);
}

.auth__intro h1 {
	max-width: 520px;
	margin: 14px 0 20px;
	font-size: clamp(2.7rem, 5vw, 4.4rem);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.045em;
}

.auth__lead {
	max-width: 500px;
	color: #aebdcc;
	font-size: 0.94rem;
	line-height: 1.9;
}

.auth__benefits {
	display: grid;
	gap: 17px;
	margin-top: 34px;
	list-style: none;
}

.auth__benefits li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.auth__benefit-icon {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.025);
	color: var(--accent);
}

.auth__benefit-icon .icon {
	width: 1rem;
	height: 1rem;
}

.auth__benefits strong {
	display: block;
	color: var(--paper-soft);
	font-size: 0.8rem;
	font-weight: 600;
}

.auth__benefits li > span:last-child {
	color: var(--muted-2);
	font-size: 0.74rem;
	line-height: 1.6;
}

.auth__quote {
	margin: 38px 0 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
	background: none;
}

.auth__quote p {
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 1.04rem;
	line-height: 1.8;
}

.auth__quote cite {
	display: block;
	margin-top: 8px;
	color: var(--muted-2);
	font-family: var(--font-sans);
	font-size: 0.64rem;
	font-style: normal;
	letter-spacing: 0.08em;
}

.auth__panel {
	padding: 10px 38px 34px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(180deg, rgba(20, 32, 46, 0.72), rgba(9, 14, 23, 0.92)),
		var(--surface);
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(18px);
}

.auth__tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
	margin: 0 -12px 28px;
	padding: 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(5, 9, 15, 0.55);
}

.auth__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.auth__tab:hover {
	color: var(--paper);
}

.auth__tab.is-active {
	background: rgba(255, 255, 255, 0.07);
	color: var(--paper);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.auth__form-head {
	margin-bottom: 22px;
}

.auth__form-head h2 {
	margin-bottom: 5px;
	font-size: 1.8rem;
	font-weight: 500;
}

.auth__form-head p {
	color: var(--muted-2);
	font-size: 0.79rem;
}

.auth__back {
	margin-top: 22px;
	text-align: center;
}

.auth__back .text-link {
	color: var(--muted-2);
	font-size: 0.72rem;
}

.auth__back .text-link .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.auth__closed {
	padding: 28px 20px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	text-align: center;
}

.auth__closed-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin: 0 auto 14px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--muted);
}

.auth__closed h3 {
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.auth__closed p {
	max-width: 320px;
	margin: 0 auto 18px;
	color: var(--muted);
	font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Forms (shared)
   -------------------------------------------------------------------------- */

.member-form {
	display: flex;
	flex-direction: column;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.form-field label,
.form-label {
	color: var(--paper-soft);
	font-size: 0.75rem;
	font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.032);
	color: var(--paper);
	font-size: 0.86rem;
	outline: none;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: var(--muted-2);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
	border-color: rgba(120, 227, 196, 0.55);
	background: rgba(255, 255, 255, 0.045);
	box-shadow: 0 0 0 3px rgba(120, 227, 196, 0.08);
}

.form-field input[readonly] {
	color: var(--muted);
	background: rgba(255, 255, 255, 0.018);
	cursor: not-allowed;
}

.form-field textarea {
	min-height: 110px;
	resize: vertical;
	line-height: 1.7;
}

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

.form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 2px 0 20px;
}

.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--muted);
	font-size: 0.73rem;
	line-height: 1.6;
	cursor: pointer;
}

.checkbox input {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 3px 0 0;
	accent-color: var(--accent);
}

.checkbox a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.checkbox--consent {
	margin: 4px 0 20px;
	padding: 11px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.018);
}

.password-field {
	position: relative;
	display: flex;
}

.password-field input {
	padding-right: 64px;
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	padding: 4px 7px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--muted-2);
	font-size: 0.65rem;
	cursor: pointer;
	transform: translateY(-50%);
}

.password-toggle:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--accent);
}

.field-hint {
	color: var(--muted-2);
	font-size: 0.66rem;
	line-height: 1.6;
}

.form-link {
	color: var(--muted);
	font-size: 0.7rem;
}

.form-link:hover {
	color: var(--accent);
}

.form-note {
	margin-top: 14px;
	color: var(--muted-2);
	font-size: 0.66rem;
	line-height: 1.7;
	text-align: center;
}

.form-label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.char-count {
	color: var(--muted-2);
	font-size: 0.62rem;
}

.form-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 4px;
}

.form-message {
	margin-bottom: 18px;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 0.76rem;
	line-height: 1.65;
}

.form-message--error {
	border-color: rgba(255, 155, 155, 0.3);
	background: rgba(255, 120, 120, 0.07);
	color: #ffc0c0;
}

.form-message--success {
	border-color: rgba(120, 227, 196, 0.3);
	background: rgba(120, 227, 196, 0.07);
	color: var(--accent);
}

.notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 12px 16px;
	border: 1px solid rgba(120, 227, 196, 0.24);
	border-radius: 12px;
	background: rgba(120, 227, 196, 0.06);
	color: var(--accent);
	font-size: 0.78rem;
}

.notice .icon {
	width: 1rem;
	height: 1rem;
}

.notice span {
	color: var(--paper-soft);
}

/* --------------------------------------------------------------------------
   Member center: dashboard
   -------------------------------------------------------------------------- */

.member-dashboard {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.member-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.member-profile-card {
	position: relative;
	padding: 28px 24px 20px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 50% 0%, rgba(120, 227, 196, 0.09), transparent 46%),
		rgba(13, 20, 31, 0.78);
	text-align: center;
}

.member-profile-card__top {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.member-profile-card__name {
	margin-top: 14px;
	font-size: 1.55rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.member-profile-card__handle {
	margin-top: 2px;
	color: var(--muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.04em;
}

.member-profile-card__joined {
	margin-top: 7px;
	color: rgba(147, 164, 183, 0.58);
	font-size: 0.6rem;
	letter-spacing: 0.04em;
}

.member-profile-card__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 20px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.member-profile-card__stats a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.member-profile-card__stats a + a {
	border-left: 1px solid var(--line);
}

.member-profile-card__stats strong {
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.18rem;
	font-weight: 500;
}

.member-profile-card__stats span {
	color: var(--muted-2);
	font-size: 0.58rem;
}

.member-profile-card__logout {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 15px;
	color: var(--muted-2);
	font-size: 0.65rem;
}

.member-profile-card__logout .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-profile-card__logout:hover {
	color: var(--danger);
}

.member-nav {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.6);
}

.member-nav__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--muted);
	font-size: 0.78rem;
}

.member-nav__item .icon {
	width: 1rem;
	height: 1rem;
	color: var(--muted-2);
}

.member-nav__item:hover {
	background: rgba(255, 255, 255, 0.04);
	color: var(--paper);
}

.member-nav__item.is-active {
	background: rgba(120, 227, 196, 0.09);
	color: var(--accent);
}

.member-nav__item.is-active .icon {
	color: var(--accent);
}

.member-nav__count {
	margin-left: auto;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--muted);
	font-size: 0.58rem;
}

.member-sidebar__footer {
	padding: 18px 12px 4px;
}

.member-sidebar__footer p:not(.eyebrow) {
	margin: 7px 0 10px;
	color: var(--muted-2);
	font-size: 0.68rem;
	line-height: 1.7;
}

.member-sidebar__footer .text-link {
	font-size: 0.68rem;
}

.member-content {
	min-width: 0;
}

.member-content > * + * {
	margin-top: 18px;
}

.member-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.member-heading h2 {
	margin: 8px 0 6px;
	font-size: clamp(1.8rem, 3.2vw, 2.7rem);
	font-weight: 500;
	letter-spacing: -0.035em;
}

.member-heading p:not(.eyebrow) {
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.75;
}

.member-heading__date,
.member-heading__count {
	flex: 0 0 auto;
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted-2);
	font-size: 0.64rem;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.member-welcome {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	gap: 24px;
	padding: 34px 36px;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(ellipse 45% 90% at 92% 20%, rgba(120, 227, 196, 0.11), transparent 62%),
		linear-gradient(135deg, rgba(21, 37, 49, 0.9), rgba(9, 14, 23, 0.94));
}

.member-welcome::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -140px;
	width: 320px;
	height: 320px;
	border: 1px solid rgba(120, 227, 196, 0.12);
	border-radius: 50%;
	transform: rotateX(66deg) rotateZ(-20deg);
	pointer-events: none;
}

.member-welcome__copy {
	position: relative;
	z-index: 1;
}

.member-welcome h3 {
	margin: 16px 0 9px;
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	font-weight: 500;
}

.member-welcome p {
	max-width: 520px;
	color: #a9bac8;
	font-size: 0.82rem;
	line-height: 1.85;
}

.member-welcome__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.member-welcome__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 160px;
}

.member-welcome__orbit {
	position: absolute;
	width: 160px;
	height: 160px;
	border: 1px solid rgba(120, 227, 196, 0.18);
	border-radius: 50%;
	transform: rotateX(64deg) rotateZ(-22deg);
	animation: orbit-spin 22s linear infinite;
}

.member-welcome__orbit--two {
	width: 110px;
	height: 110px;
	border-color: rgba(153, 168, 255, 0.22);
	animation-direction: reverse;
	animation-duration: 15s;
}

.member-welcome__core {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(120, 227, 196, 0.26);
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.26), rgba(120, 227, 196, 0.1) 45%, transparent 70%);
	color: var(--accent);
	box-shadow: 0 0 40px rgba(120, 227, 196, 0.16);
}

.member-welcome__core .icon {
	width: 1.4rem;
	height: 1.4rem;
}

.member-welcome__label {
	position: absolute;
	bottom: 0;
	color: rgba(147, 164, 183, 0.5);
	font-size: 0.5rem;
	letter-spacing: 0.18em;
}

.member-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.member-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.62);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.member-stat:hover {
	transform: translateY(-3px);
	border-color: rgba(120, 227, 196, 0.28);
}

.member-stat__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
}

.member-stat__icon .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-stat__value {
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.2;
}

.member-stat__label {
	color: var(--muted-2);
	font-size: 0.65rem;
}

.member-stat__arrow {
	position: absolute;
	top: 18px;
	right: 18px;
	color: var(--muted-2);
}

.member-stat__arrow .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-columns {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
	gap: 16px;
	margin-top: 16px;
}

.member-panel {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(12, 18, 29, 0.62);
}

.member-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.member-panel__head h3 {
	margin-top: 6px;
	font-size: 1.18rem;
	font-weight: 500;
}

.member-panel__head .text-link {
	font-size: 0.68rem;
}

.member-story-list {
	display: flex;
	flex-direction: column;
}

.member-story {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
}

.member-story:first-child {
	border-top: 0;
	padding-top: 0;
}

.member-story__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 50px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--surface-2);
}

.member-story__thumb .post-thumb,
.member-story__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.member-story__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.member-story__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--muted-2);
	font-size: 0.58rem;
	letter-spacing: 0.03em;
}

.member-story__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 0.84rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.member-story:hover .member-story__title {
	color: var(--accent);
}

.member-story__arrow {
	margin-left: auto;
	color: var(--muted-2);
}

.member-story__arrow .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 40px 24px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	text-align: center;
}

.member-empty--inline {
	min-height: 0;
	padding: 26px 16px;
	border: 0;
}

.member-empty__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
}

.member-empty h3 {
	margin: 7px 0 7px;
	font-size: 1.4rem;
}

.member-empty p:not(.eyebrow) {
	max-width: 370px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.8;
}

.member-empty .btn {
	margin-top: 20px;
}

.member-empty .text-link {
	margin-top: 10px;
}

.membership-panel {
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 189, 122, 0.06), transparent 40%),
		rgba(12, 18, 29, 0.62);
}

.membership-panel--pro {
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 189, 122, 0.11), transparent 46%),
		linear-gradient(160deg, rgba(37, 29, 20, 0.8), rgba(12, 18, 29, 0.7));
}

.membership-panel__body h4 {
	margin-bottom: 8px;
	font-size: 1.15rem;
	font-weight: 500;
}

.membership-panel__body > p {
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.8;
}

.membership-panel__list {
	display: grid;
	gap: 7px;
	margin: 16px 0;
	list-style: none;
}

.membership-panel__list li {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--paper-soft);
	font-size: 0.72rem;
}

.membership-panel__list .icon {
	width: 0.9rem;
	height: 0.9rem;
	color: var(--accent);
}

.membership-panel__list li.is-muted {
	color: var(--muted-2);
}

.membership-panel__list li.is-muted .icon {
	color: var(--muted-2);
}

.membership-panel__note {
	margin-top: 10px;
	color: var(--muted-2);
	font-size: 0.62rem;
	line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Member center: settings, lists
   -------------------------------------------------------------------------- */

.settings-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	gap: 18px;
	align-items: stretch;
}

.settings-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(12, 18, 29, 0.62);
}

.settings-card__head {
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.settings-card__head h3 {
	margin-bottom: 4px;
	font-size: 1.2rem;
	font-weight: 500;
}

.settings-card__head p {
	color: var(--muted-2);
	font-size: 0.72rem;
}

.settings-aside {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.settings-note {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.55);
}

.settings-note__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 12px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
}

.settings-note h3 {
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 500;
}

.settings-note p {
	color: var(--muted);
	font-size: 0.76rem;
	line-height: 1.8;
}

.settings-note .text-link,
.settings-note .btn {
	margin-top: 13px;
}

.settings-note .text-link {
	font-size: 0.7rem;
}

.settings-note--danger .settings-note__icon {
	color: var(--danger);
}

.avatar-editor {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-bottom: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.avatar-editor__preview {
	flex: 0 0 auto;
}

.avatar-editor__controls {
	flex: 1;
	min-width: 0;
}

.avatar-editor__status {
	margin: 0 0 14px;
	color: var(--paper-soft);
	font-size: 0.72rem;
	line-height: 1.5;
}

.avatar-upload {
	margin-bottom: 14px;
}

.form-field input[type="file"] {
	padding: 9px 12px;
	color: var(--muted);
	font-size: 0.74rem;
	cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 6px 10px;
	border: 1px solid var(--line-strong);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--paper-soft);
	font: inherit;
	cursor: pointer;
}

.form-field input[type="file"]::file-selector-button:hover {
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--accent);
}

.avatar-remove {
	margin: 0 0 14px;
}

.tone-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 9px 0 8px;
}

.tone-option {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.tone-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tone-option__swatch {
	display: block;
	width: 30px;
	height: 30px;
	border: 2px solid transparent;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.tone-1 {
	background: linear-gradient(135deg, #8af0d2, #4fa6c8 58%, #2e5e8f);
}

.tone-2 {
	background: linear-gradient(135deg, #b4b9ff, #7f89da 55%, #4c4f9c);
}

.tone-3 {
	background: linear-gradient(135deg, #ffd39e, #e79f78 55%, #9b5a57);
}

.tone-4 {
	background: linear-gradient(135deg, #c3ef9e, #70b883 55%, #326f5d);
}

.tone-5 {
	background: linear-gradient(135deg, #ffc0d3, #d98aae 55%, #8f4d72);
}

.tone-option input:focus-visible + .tone-option__swatch {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.tone-option input:checked + .tone-option__swatch {
	border-color: var(--paper);
	transform: scale(1.06);
}

.account-facts {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 14px 0 0;
}

.account-facts > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.account-facts dt {
	color: var(--muted-2);
	font-size: 0.65rem;
}

.account-facts dd {
	margin: 0;
	color: var(--paper-soft);
	font-size: 0.7rem;
	text-align: right;
	overflow-wrap: anywhere;
}

.member-stories {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.member-story-row {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.62);
	transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.3s var(--ease);
}

.member-story-row:hover {
	border-color: rgba(120, 227, 196, 0.24);
}

.member-story-row.is-removing {
	opacity: 0;
	transform: translateX(-18px);
}

.member-story-row__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: var(--surface-2);
}

.member-story-row__thumb,
.member-story-row__thumb .post-thumb {
	width: 100%;
	height: 100%;
}

.member-story-row__thumb .post-thumb {
	border-radius: 10px;
}

.member-story-row__body h3 {
	margin: 8px 0 6px;
	font-size: 1.15rem;
	font-weight: 500;
}

.member-story-row__body h3 a:hover {
	color: var(--accent);
}

.member-story-row__body > p {
	display: -webkit-box;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.77rem;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.member-story-row__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--muted-2);
	font-size: 0.6rem;
}

.member-story-row__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
}

.member-list-note {
	margin-top: 16px;
	color: var(--muted-2);
	font-size: 0.62rem;
	line-height: 1.6;
}

.history-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.history-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto 20px;
	gap: 16px;
	align-items: center;
	padding: 17px 6px;
	border-bottom: 1px solid var(--line);
}

.history-item:hover {
	background: rgba(255, 255, 255, 0.018);
}

.history-item__index {
	color: rgba(255, 255, 255, 0.22);
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.history-item__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.history-item__body strong {
	overflow: hidden;
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 0.96rem;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.history-item:hover .history-item__body strong {
	color: var(--accent);
}

.history-item__time {
	color: var(--muted-2);
	font-size: 0.63rem;
	white-space: nowrap;
}

.history-item__arrow {
	color: var(--muted-2);
}

.history-item__arrow .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-comments {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.member-comment {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 20px;
	gap: 14px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(12, 18, 29, 0.62);
}

.member-comment__quote {
	color: rgba(120, 227, 196, 0.55);
}

.member-comment__quote .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.member-comment blockquote {
	margin: 0;
	color: var(--paper-soft);
	font-family: var(--font-display);
	font-size: 0.96rem;
	line-height: 1.8;
}

.member-comment__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
	color: var(--muted-2);
	font-size: 0.62rem;
}

.member-comment__meta a {
	color: var(--muted);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 3px;
}

.member-comment__meta a:hover {
	color: var(--accent);
}

.member-comment__status {
	margin-left: 4px;
	padding: 2px 6px;
	border: 1px solid rgba(120, 227, 196, 0.18);
	border-radius: 999px;
	color: var(--accent);
	font-size: 0.55rem;
}

.member-comment__arrow {
	color: var(--muted-2);
}

.member-comment__arrow .icon {
	width: 0.9rem;
	height: 0.9rem;
}

/* --------------------------------------------------------------------------
   Footer, 404, toast
   -------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	margin-top: 20px;
	padding: 76px 0 26px;
	overflow: hidden;
	border-top: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(4, 7, 12, 0.65));
}

.footer__glow {
	position: absolute;
	top: -180px;
	left: 10%;
	width: 500px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(120, 227, 196, 0.05), transparent 68%);
	pointer-events: none;
}

.footer__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.7fr 0.8fr 0.8fr 1.1fr;
	gap: 44px;
}

.brand--footer {
	margin-bottom: 18px;
}

.footer__text {
	max-width: 340px;
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 0.98rem;
	line-height: 1.85;
}

.footer__meta {
	margin-top: 12px;
	color: var(--muted-2);
	font-size: 0.66rem;
	letter-spacing: 0.04em;
}

.footer__heading {
	margin-bottom: 15px;
	color: var(--paper-soft);
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 9px;
	list-style: none;
}

.footer-menu a {
	color: var(--muted);
	font-size: 0.76rem;
}

.footer-menu a:hover {
	color: var(--accent);
}

.footer__col--note p {
	color: var(--muted-2);
	font-size: 0.74rem;
	line-height: 1.8;
}

.footer__col--note .text-link {
	margin-top: 15px;
	font-size: 0.7rem;
}

.footer__bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 58px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted-2);
	font-size: 0.63rem;
	letter-spacing: 0.02em;
}

.footer__credit {
	color: rgba(147, 164, 183, 0.5);
}

.to-top {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.025);
	color: var(--muted);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--accent);
}

.to-top .icon {
	width: 1rem;
	height: 1rem;
}

.toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 400;
	max-width: min(90vw, 380px);
	padding: 12px 18px;
	border: 1px solid rgba(120, 227, 196, 0.26);
	border-radius: 999px;
	background: rgba(12, 24, 32, 0.94);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
	color: var(--paper-soft);
	font-size: 0.76rem;
	line-height: 1.5;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
	backdrop-filter: blur(14px);
}

.toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.error-page {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 72vh;
	padding: 90px 0;
	overflow: hidden;
}

.error-page__stars span {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--paper);
	opacity: 0.35;
	animation: soft-pulse 5s ease-in-out infinite;
}

.error-page__stars span:nth-child(1) {
	top: 18%;
	left: 12%;
}

.error-page__stars span:nth-child(2) {
	top: 30%;
	right: 18%;
	animation-delay: 1s;
}

.error-page__stars span:nth-child(3) {
	bottom: 24%;
	left: 24%;
	animation-delay: 2s;
}

.error-page__stars span:nth-child(4) {
	top: 14%;
	left: 58%;
	animation-delay: 0.5s;
}

.error-page__stars span:nth-child(5) {
	bottom: 18%;
	right: 28%;
	animation-delay: 1.5s;
}

.error-page__stars span:nth-child(6) {
	top: 52%;
	left: 7%;
	animation-delay: 2.5s;
}

.error-page__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.error-page__code {
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(7rem, 20vw, 15rem);
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: -0.08em;
	-webkit-text-stroke: 1px rgba(120, 227, 196, 0.16);
	user-select: none;
}

.error-page .eyebrow {
	justify-content: center;
	margin-top: 24px;
}

.error-page h1 {
	max-width: 760px;
	margin: 14px auto 16px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 500;
	letter-spacing: -0.04em;
}

.error-page__inner > p:not(.error-page__code) {
	max-width: 520px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.85;
}

.error-page__search {
	width: min(100%, 540px);
	margin: 28px auto 0;
}

.error-page__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

/* --------------------------------------------------------------------------
   WordPress compatibility bits
   -------------------------------------------------------------------------- */

.alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	color: var(--muted-2);
	font-size: 0.7rem;
	text-align: center;
}

.sticky .post-card__title::before {
	content: "置顶";
	margin-right: 7px;
	color: var(--warm);
	font-family: var(--font-sans);
	font-size: 0.6rem;
	letter-spacing: 0.08em;
	vertical-align: middle;
}

.post-password-form {
	max-width: 480px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.post-password-form p {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 0.82rem;
}

.post-password-form input[type="password"] {
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--paper);
}

.post-password-form input[type="submit"] {
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes soft-pulse {
	0%,
	100% {
		opacity: 0.45;
	}
	50% {
		opacity: 1;
	}
}

@keyframes aurora-drift {
	0% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	100% {
		transform: translate3d(-6%, 4%, 0) scale(1.08);
	}
}

@keyframes orbit-spin {
	to {
		transform: rotateX(66deg) rotateZ(336deg);
	}
}

@keyframes card-float {
	0%,
	100% {
		transform: rotate(-7deg) translateY(0);
	}
	50% {
		transform: rotate(-5.5deg) translateY(-8px);
	}
}

@keyframes shimmer {
	0%,
	60% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(120%);
	}
}

@keyframes scroll-line {
	0% {
		top: -50%;
	}
	100% {
		top: 110%;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.member-cta {
		padding: 54px;
	}

	.article-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 44px;
	}

	.topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.topic-card {
		min-height: 180px;
	}
}

@media (max-width: 1080px) {
	.hero__coordinate {
		display: none;
	}

	.post-grid--home {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 38px;
	}

	.footer__grid {
		grid-template-columns: 1.5fr 0.8fr 0.8fr;
	}

	.footer__col--note {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px 24px;
		padding-top: 18px;
		border-top: 1px solid var(--line);
	}

	.footer__col--note .footer__heading {
		display: none;
	}

	.footer__col--note .text-link {
		margin-top: 0;
	}

	.member-dashboard {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 22px;
	}
}

@media (max-width: 960px) {
	.site-header {
		padding: 12px 0;
	}

	.header__inner {
		gap: 12px;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: min(88vw, 390px);
		height: auto;
		margin: 0;
		padding: 82px 28px 30px;
		overflow-y: auto;
		background:
			radial-gradient(circle at 100% 0%, rgba(120, 227, 196, 0.09), transparent 38%),
			#080e17;
		border-left: 1px solid var(--line);
		box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
		visibility: hidden;
		transform: translateX(102%);
		transition: transform 0.42s var(--ease), visibility 0.42s;
	}

	.primary-nav.is-open {
		visibility: visible;
		transform: none;
	}

	.nav-close {
		position: absolute;
		top: 20px;
		right: 20px;
		display: inline-grid;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-menu a {
		display: flex;
		justify-content: space-between;
		padding: 14px 4px;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
		font-family: var(--font-display);
		font-size: 1.25rem;
		font-weight: 500;
	}

	.nav-menu a:hover,
	.nav-menu .current-menu-item > a,
	.nav-menu .current_page_item > a {
		background: transparent;
		color: var(--accent);
	}

	.nav-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 4px 0 8px 14px;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-menu .sub-menu a {
		padding: 8px 4px;
		font-family: var(--font-sans);
		font-size: 0.86rem;
	}

	.nav-member {
		display: block;
		margin-top: 28px;
		padding: 22px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background:
			radial-gradient(circle at 100% 0%, rgba(120, 227, 196, 0.12), transparent 45%),
			rgba(255, 255, 255, 0.025);
	}

	.nav-member__eyebrow {
		color: var(--accent);
		font-size: 0.55rem;
		font-weight: 700;
		letter-spacing: 0.2em;
	}

	.nav-member__title {
		margin: 8px 0 14px;
		color: var(--paper-soft);
		font-family: var(--font-display);
		font-size: 1.08rem;
		line-height: 1.5;
	}

	.nav-member__profile {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 14px;
	}

	.nav-member__name {
		color: var(--paper);
		font-size: 0.82rem;
	}

	.nav-member__level {
		color: var(--muted-2);
		font-size: 0.62rem;
	}

	.nav-member__actions {
		display: flex;
		gap: 8px;
	}

	.nav-member__actions .btn {
		flex: 1;
	}

	.nav-note {
		display: block;
		margin-top: auto;
		padding-top: 30px;
		color: var(--muted-2);
		font-size: 0.58rem;
		letter-spacing: 0.12em;
		text-align: center;
	}

	.nav-open .site-branding,
	.nav-open .header-actions {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.menu-toggle {
		display: inline-grid;
	}

	.header-login,
	.header-join,
	.account-chip {
		display: none;
	}

	.hero {
		min-height: 700px;
		padding: 90px 0 120px;
	}

	.hero__title {
		max-width: 700px;
		font-size: clamp(3rem, 9vw, 5rem);
	}

	.hero__stats {
		gap: 30px;
	}

	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 48px;
	}

	.sidebar__sticky {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.article-layout {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 46px;
	}

	.article-aside {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 10px;
	}

	.toc-card {
		grid-column: 1 / -1;
	}

	.comments__note {
		display: none;
	}

	.auth {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
		max-width: 760px;
		margin-inline: auto;
	}

	.auth__constellation {
		display: none;
	}

	.auth__intro {
		padding-top: 0;
		text-align: center;
	}

	.auth__intro .eyebrow {
		justify-content: center;
	}

	.auth__intro h1,
	.auth__lead {
		margin-inline: auto;
	}

	.auth__benefits {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		text-align: left;
	}

	.auth__benefits li {
		flex-direction: column;
	}

	.auth__quote {
		text-align: left;
	}

	.member-dashboard {
		grid-template-columns: minmax(0, 1fr);
	}

	.member-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.member-profile-card {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		gap: 0 18px;
		padding: 20px;
		text-align: left;
	}

	.member-profile-card__top {
		grid-row: span 3;
		flex-direction: row;
		align-items: center;
	}

	.member-profile-card__name {
		align-self: end;
		margin-top: 0;
		font-size: 1.25rem;
	}

	.member-profile-card__handle,
	.member-profile-card__joined {
		grid-column: 2;
	}

	.member-profile-card__stats {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 16px;
	}

	.member-profile-card__logout {
		grid-column: 3;
		grid-row: 1 / span 3;
		margin-top: 0;
	}

	.member-nav {
		flex-direction: row;
		padding: 6px;
		overflow-x: auto;
	}

	.member-nav__item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.member-nav__count {
		display: none;
	}

	.member-sidebar__footer {
		display: none;
	}

	.member-content {
		margin-top: 4px;
	}

	.settings-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.settings-aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.section {
		padding: 82px 0;
	}

	.section__head {
		align-items: flex-start;
	}

	.section__aside {
		display: none;
	}

	.featured-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.feature-card--lead {
		grid-row: auto;
	}

	.feature-card--lead .feature-card__media {
		min-height: 0;
	}

	.feature-card--side {
		grid-template-columns: 38% 1fr;
	}

	.post-grid--blog {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.member-cta {
		grid-template-columns: minmax(0, 1fr);
		padding: 44px 36px;
	}

	.member-card-visual {
		display: none;
	}

	.article-hero {
		padding-top: 46px;
	}

	.article-byline__actions {
		margin-left: 0;
	}

	.article-cover {
		aspect-ratio: 16 / 10;
		border-radius: var(--radius);
	}

	.article-layout {
		padding-bottom: 80px;
	}

	.related .post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related .post-grid .post-card:last-child {
		display: none;
	}

	.member-heading {
		align-items: flex-start;
	}

	.member-welcome {
		grid-template-columns: minmax(0, 1fr);
	}

	.member-welcome__visual {
		display: none;
	}

	.member-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.member-story-row {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	.member-story-row__actions {
		grid-column: 2;
		flex-direction: row;
		justify-content: flex-start;
	}

	.btn--small {
		min-height: 36px;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(calc(100% - 32px), var(--container));
	}

	:root {
		--header-h: 66px;
	}

	.site-header {
		padding: 10px 0;
	}

	.brand__mark {
		width: 34px;
		height: 34px;
	}

	.brand__name {
		font-size: 1.12rem;
	}

	.brand__latin {
		font-size: 0.44rem;
	}

	.header-actions {
		gap: 2px;
	}

	.icon-btn {
		width: 38px;
		height: 38px;
	}

	.hero {
		min-height: 640px;
		padding: 70px 0 100px;
	}

	.hero__scene.is-ready canvas {
		opacity: 0.58;
	}

	.hero__scene::after {
		background:
			linear-gradient(180deg, rgba(6, 9, 15, 0.86) 0%, rgba(6, 9, 15, 0.46) 45%, rgba(6, 9, 15, 0.7) 100%),
			radial-gradient(ellipse 80% 45% at 45% 50%, rgba(6, 9, 15, 0.55), transparent 75%);
	}

	.hero__kicker {
		font-size: 0.56rem;
		letter-spacing: 0.15em;
	}

	.hero__title {
		margin-top: 22px;
		font-size: clamp(2.65rem, 13vw, 4rem);
		line-height: 1.16;
	}

	.hero__title em {
		white-space: normal;
	}

	.hero__subtitle {
		font-size: 0.9rem;
		line-height: 1.8;
	}

	.hero__actions {
		margin-top: 28px;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
		min-width: 140px;
		padding-inline: 1.1em;
	}

	.hero__stats {
		gap: 24px;
		margin-top: 40px;
		width: 100%;
		justify-content: space-between;
	}

	.hero__stat {
		flex-direction: column;
		gap: 0;
	}

	.hero__stat strong {
		font-size: 1.2rem;
	}

	.hero__stat span {
		font-size: 0.6rem;
	}

	.hero__scroll {
		display: none;
	}

	.section {
		padding: 68px 0;
	}

	.section__head {
		margin-bottom: 30px;
	}

	.section__title {
		font-size: 2rem;
	}

	.section__head .text-link {
		display: none;
	}

	.feature-card--side {
		grid-template-columns: minmax(0, 1fr);
	}

	.feature-card--side .feature-card__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
		height: auto;
	}

	.feature-card--side .feature-card__body {
		padding: 22px;
	}

	.feature-card--lead .feature-card__body {
		padding: 24px;
	}

	.feature-card__title {
		font-size: 1.35rem;
	}

	.post-grid--home,
	.post-grid--blog,
	.post-grid--related,
	.related .post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.related .post-grid .post-card:last-child {
		display: flex;
	}

	.post-card__media {
		aspect-ratio: 16 / 9.5;
	}

	.topic-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.topic-card {
		min-height: 150px;
	}

	.member-cta {
		padding: 32px 24px;
		border-radius: var(--radius-lg);
	}

	.member-cta__copy h2 {
		font-size: 2rem;
	}

	.member-cta__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.page-hero {
		padding: 48px 0 38px;
	}

	.page-hero__row {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.page-hero__title {
		font-size: 2.55rem;
	}

	.page-hero__count {
		align-self: flex-start;
	}

	.page-hero__search {
		width: 100%;
	}

	.layout-with-sidebar {
		padding: 38px 0 70px;
	}

	.sidebar__sticky {
		grid-template-columns: minmax(0, 1fr);
	}

	.pagination {
		margin-top: 30px;
	}

	.pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 9px;
	}

	.pagination .page-numbers.prev,
	.pagination .page-numbers.next {
		padding-inline: 12px;
	}

	.article-hero {
		padding: 38px 0 34px;
	}

	.article-hero__title {
		font-size: 2.4rem;
		line-height: 1.22;
	}

	.article-hero__dek {
		font-size: 0.94rem;
	}

	.article-byline {
		gap: 10px;
	}

	.article-byline__sep {
		display: none;
	}

	.article-byline__actions {
		width: 100%;
		margin-top: 4px;
	}

	.article-cover {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	.article-layout {
		padding-top: 34px;
		padding-bottom: 64px;
	}

	.entry-content {
		font-size: 0.98rem;
		line-height: 1.9;
	}

	.entry-content > p:first-child {
		font-size: 1.03rem;
	}

	.entry-content h2 {
		font-size: 1.55rem;
	}

	.entry-content blockquote {
		padding: 20px 20px 20px 24px;
		font-size: 1.06rem;
	}

	.entry-content .alignwide {
		width: calc(100vw - 32px);
	}

	.article-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-nav__item--empty {
		display: none;
	}

	.post-nav__item--next {
		text-align: left;
	}

	.post-nav__item--next .post-nav__label {
		justify-content: flex-start;
	}

	.related {
		margin-top: 50px;
		padding-top: 34px;
	}

	.related__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.article-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.toc-card {
		grid-column: auto;
	}

	.comment-list .children {
		margin-left: 12px;
		padding-left: 12px;
	}

	.comment__body {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 12px;
	}

	.comment__avatar-img {
		width: 38px;
		height: 38px;
	}

	.comment-respond {
		padding: 22px;
	}

	.member-page {
		padding: 42px 0 70px;
	}

	.auth {
		gap: 30px;
	}

	.auth__intro h1 {
		font-size: 2.6rem;
	}

	.auth__benefits {
		grid-template-columns: minmax(0, 1fr);
	}

	.auth__benefits li {
		flex-direction: row;
	}

	.auth__quote {
		display: none;
	}

	.auth__panel {
		padding: 8px 20px 28px;
		border-radius: var(--radius-lg);
	}

	.auth__tabs {
		margin: 0 -2px 24px;
	}

	.auth__form-head h2 {
		font-size: 1.55rem;
	}

	.form-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.member-profile-card {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.member-profile-card__logout {
		grid-column: 2;
		grid-row: auto;
		justify-self: start;
		margin-top: 8px;
	}

	.member-profile-card__stats {
		margin-top: 14px;
	}

	.member-nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
		padding: 6px;
		overflow: visible;
	}

	.member-nav__item {
		flex-direction: column;
		justify-content: center;
		gap: 4px;
		padding: 10px 4px;
		font-size: 0.66rem;
		text-align: center;
		white-space: nowrap;
	}

	.member-nav__item .icon {
		width: 1.05rem;
		height: 1.05rem;
	}

	.member-heading {
		flex-direction: column;
		gap: 10px;
	}

	.member-heading__date,
	.member-heading__count {
		align-self: flex-start;
	}

	.member-welcome {
		padding: 26px 22px;
	}

	.member-welcome__actions .btn {
		flex: 1;
	}

	.member-stat-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.member-stat {
		padding: 16px 18px;
	}

	.member-stat__icon {
		position: absolute;
		top: 16px;
		right: 18px;
		margin: 0;
	}

	.member-stat__value {
		font-size: 1.6rem;
	}

	.member-panel,
	.settings-card {
		padding: 20px;
	}

	.settings-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.avatar-editor {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.member-story-row {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 14px;
		padding: 12px;
	}

	.member-story-row__body > p {
		display: none;
	}

	.member-story-row__body h3 {
		font-size: 1rem;
	}

	.member-story-row__actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}

	.history-item {
		grid-template-columns: 32px minmax(0, 1fr) 16px;
		gap: 10px;
	}

	.history-item__time {
		display: none;
	}

	.member-comment {
		grid-template-columns: 26px minmax(0, 1fr);
		padding: 16px;
	}

	.member-comment__arrow {
		display: none;
	}

	.footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.footer__col--note {
		display: block;
	}

	.footer__col--note .footer__heading {
		display: block;
	}

	.footer__col--note .text-link {
		margin-top: 12px;
	}

	.footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 40px;
	}

	.to-top {
		position: absolute;
		right: 0;
		bottom: 0;
	}

	.search-overlay {
		padding: 14px;
		align-items: start;
		padding-top: 12vh;
	}

	.search-dialog {
		padding: 44px 22px 30px;
	}

	.search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.search-submit {
		width: 100%;
	}

	.search-dialog h2 {
		font-size: 2rem;
	}

	.toast {
		bottom: 18px;
		font-size: 0.7rem;
	}
}

@media (max-width: 380px) {
	.hero__title {
		font-size: 2.35rem;
	}

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.auth__panel {
		padding-inline: 14px;
	}

	.brand__latin {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Reduced motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.reveal.will-reveal {
		opacity: 1;
		transform: none;
	}

	.hero__scroll-line::after {
		display: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.article-aside,
	.reading-progress,
	.search-overlay,
	.toast,
	.related,
	.comments-area,
	.post-nav,
	.article-footer__actions {
		display: none !important;
	}

	body {
		background: #fff;
		color: #111;
	}

	.entry-content,
	.article-hero__dek,
	.article-hero__title {
		color: #111;
	}

	.article-layout {
		display: block;
		padding: 0;
	}

	.article-main {
		max-width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Single-screen solar homepage (v1.0.2)
   -------------------------------------------------------------------------- */

.starisle-front .site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(180deg, rgba(6, 9, 15, 0.82), rgba(6, 9, 15, 0));
	border-bottom-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.starisle-front .site-header.is-scrolled {
	background: rgba(6, 9, 15, 0.82);
	border-bottom-color: var(--line);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.starisle-front .site-main {
	position: relative;
	z-index: 2;
}

.starisle-front .site-footer {
	display: none;
}

.hero.hero--solar {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	padding: 112px 0 0;
	background: var(--bg);
}

.hero--solar .hero__scene.is-ready canvas {
	opacity: 0.92;
}

.hero--solar::before {
	background:
		radial-gradient(ellipse 55% 72% at 72% 48%, rgba(24, 83, 91, 0.22), transparent 68%),
		radial-gradient(ellipse 34% 42% at 84% 24%, rgba(255, 174, 91, 0.08), transparent 72%),
		linear-gradient(180deg, #06090f 0%, #06090f 100%);
}

.hero--solar .hero__scene::after {
	background:
		radial-gradient(ellipse 46% 66% at 25% 48%, rgba(6, 9, 15, 0.94), rgba(6, 9, 15, 0.54) 56%, transparent 78%),
		linear-gradient(90deg, rgba(6, 9, 15, 0.9) 0%, rgba(6, 9, 15, 0.4) 36%, transparent 66%),
		linear-gradient(180deg, rgba(6, 9, 15, 0.58), transparent 20%, transparent 76%, rgba(6, 9, 15, 0.8));
}

.hero--solar .hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1;
	align-items: center;
	width: min(calc(100% - 48px), var(--container));
	padding: 28px 0 64px;
}

.hero--solar .hero__content {
	width: min(100%, 740px);
	padding-bottom: 16px;
}

.hero--solar .hero__title {
	max-width: 760px;
	margin: 26px 0 20px;
	font-size: clamp(3.15rem, 6.25vw, 5.9rem);
	line-height: 1.1;
}

.hero--solar .hero__subtitle {
	max-width: 540px;
}

.hero--solar .hero__actions {
	margin-top: 30px;
}

.hero__scene-tag {
	position: absolute;
	right: max(24px, calc((100vw - var(--container)) / 2));
	bottom: 128px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	color: rgba(147, 164, 183, 0.6);
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.5;
	text-transform: uppercase;
	pointer-events: none;
}

.hero__scene-tag-dot {
	width: 5px;
	height: 5px;
	margin-bottom: 5px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(120, 227, 196, 0.08), 0 0 16px rgba(120, 227, 196, 0.55);
	animation: soft-pulse 3.6s ease-in-out infinite;
}

.hero__scene-tag-meta {
	color: rgba(147, 164, 183, 0.38);
	font-size: 0.5rem;
}

.hero__latest {
	position: relative;
	z-index: 3;
	width: 100%;
	margin-top: auto;
	border-top: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(6, 9, 15, 0.14), rgba(6, 9, 15, 0.72));
	box-shadow: 0 -24px 60px rgba(6, 9, 15, 0.18);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.hero__latest-inner {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	align-items: center;
	gap: 38px;
	padding: 17px 0 19px;
}

.hero__latest-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted-2);
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.hero__latest-label span {
	padding: 4px 6px;
	border: 1px solid rgba(120, 227, 196, 0.24);
	border-radius: 4px;
	color: var(--accent);
	font-size: 0.48rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.hero__latest-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	min-width: 0;
}

.hero__latest-link {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 8px;
	align-items: baseline;
	min-width: 0;
	color: var(--paper-soft);
}

.hero__latest-index {
	grid-row: 1 / 3;
	color: rgba(120, 227, 196, 0.52);
	font-size: 0.58rem;
	letter-spacing: 0.06em;
}

.hero__latest-title {
	overflow: hidden;
	font-size: 0.79rem;
	font-weight: 500;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero__latest-link:hover .hero__latest-title {
	color: var(--accent);
}

.hero__latest-date {
	margin-top: 1px;
	color: var(--muted-2);
	font-size: 0.55rem;
	letter-spacing: 0.06em;
}

.hero__latest-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--paper-soft);
	font-size: 0.67rem;
	font-weight: 500;
	white-space: nowrap;
}

.hero__latest-all .icon {
	width: 0.9rem;
	height: 0.9rem;
	color: var(--accent);
}

.hero__latest-all:hover {
	color: var(--accent);
}

@media (max-width: 960px) {
	.hero.hero--solar {
		min-height: 100vh;
		min-height: 100svh;
		padding-top: 92px;
	}

	.hero--solar .hero__inner {
		align-items: flex-start;
		padding: 32px 0 30px;
	}

	.hero--solar .hero__content {
		width: 100%;
		max-width: 650px;
	}

	.hero--solar .hero__title {
		max-width: 680px;
		font-size: clamp(3rem, 8vw, 5rem);
	}

	.hero__scene-tag {
		display: none;
	}

	.hero__latest-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 18px;
		padding: 12px 0 14px;
	}

	.hero__latest-label {
		display: none;
	}

	.hero__latest-links {
		display: flex;
		gap: 20px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.hero__latest-links::-webkit-scrollbar {
		display: none;
	}

	.hero__latest-link {
		flex: 0 0 205px;
	}

	.hero__latest-all {
		font-size: 0.62rem;
	}
}

@media (max-width: 640px) {
	.hero.hero--solar {
		min-height: 100vh;
		min-height: 100svh;
		padding-top: 82px;
	}

	.hero--solar .hero__scene.is-ready canvas {
		opacity: 0.7;
	}

	.hero--solar .hero__inner {
		align-items: flex-start;
		padding: 22px 0 22px;
	}

	.hero--solar .hero__content {
		padding-bottom: 6px;
	}

	.hero--solar .hero__title {
		margin: 18px 0 14px;
		font-size: clamp(2.45rem, 11.5vw, 3.15rem);
	}

	.hero--solar .hero__subtitle {
		font-size: 0.88rem;
	}

	.hero--solar .hero__actions {
		margin-top: 24px;
	}

	.hero.hero--solar + .site-footer {
		display: none;
	}

	.hero__latest-inner {
		gap: 12px;
		padding: 10px 0 12px;
	}

	.hero__latest-links {
		gap: 14px;
	}

	.hero__latest-link {
		flex-basis: 188px;
	}

	.hero__latest-title {
		font-size: 0.74rem;
	}

	.hero__latest-link:nth-child(n + 2) {
		display: none;
	}

	.hero__latest-links {
		overflow: visible;
	}

	.hero__latest-link {
		flex: 1 1 auto;
		min-width: 0;
	}

	.hero__latest-all {
		font-size: 0.58rem;
	}
}

@media (max-width: 380px) {
	.hero--solar .hero__title {
		font-size: 2.3rem;
	}
}

.hero--solar .hero__scene.is-fallback {
	background:
		radial-gradient(circle at 72% 46%, #ffe2a1 0 1.4%, #ffbd68 2.1%, rgba(255, 158, 79, 0.26) 4.2%, transparent 12%),
		repeating-radial-gradient(ellipse at 72% 46%, transparent 0 8%, rgba(120, 227, 196, 0.11) 8.2% 8.35%, transparent 8.55% 14%),
		radial-gradient(ellipse 65% 70% at 72% 46%, rgba(21, 68, 75, 0.65), transparent 70%),
		#06090f;
}

.hero--solar .hero__sun-halo {
	position: absolute;
	top: 50%;
	left: 63%;
	z-index: 0;
	width: 34vw;
	max-width: 520px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 193, 112, 0.24) 0%, rgba(255, 146, 62, 0.11) 30%, transparent 68%);
	filter: blur(18px);
	mix-blend-mode: screen;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

@media (max-width: 960px) {
	.hero--solar .hero__sun-halo {
		top: 57%;
		left: 50%;
		width: 68vw;
		max-width: 460px;
		opacity: 0.8;
	}
}

.hero__scene:empty + .hero__sun-halo {
	display: none;
}

.admin-bar.starisle-front .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar.starisle-front .site-header {
		top: 46px;
	}
}

.hero--solar .hero__sun-halo::after {
	content: "";
	position: absolute;
	inset: 32%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 250, 225, 0.55) 0%, rgba(255, 218, 130, 0.2) 42%, transparent 72%);
	filter: blur(10px);
	pointer-events: none;
}

.hero--solar .hero__scene.is-fallback {
	animation: fallback-drift 20s ease-in-out infinite alternate;
}

.hero--solar .hero__scene.is-fallback + .hero__sun-halo {
	display: block;
	animation: fallback-halo 5.5s ease-in-out infinite;
}

@keyframes fallback-drift {
	from {
		transform: scale(1) translate(0, 0);
	}
	to {
		transform: scale(1.04) translate(1.5%, -1%);
	}
}

@keyframes fallback-halo {
	0%,
	100% {
		opacity: 0.55;
	}
	50% {
		opacity: 0.85;
	}
}

.hero--solar .hero__sun-halo {
	animation: solar-halo-breathe 7s ease-in-out infinite;
}

.hero--solar .hero__sun-halo::after {
	animation: solar-core-breathe 5.2s ease-in-out infinite;
}

@keyframes solar-halo-breathe {
	0%,
	100% {
		opacity: 0.78;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.05);
	}
}

@keyframes solar-core-breathe {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.94);
	}
	50% {
		opacity: 0.9;
		transform: scale(1.06);
	}
}

.hero__motion {
	position: absolute;
	right: max(24px, calc((100vw - var(--container)) / 2));
	bottom: 82px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: rgba(6, 9, 15, 0.58);
	color: var(--muted);
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.hero__motion:hover {
	border-color: rgba(120, 227, 196, 0.45);
	background: rgba(6, 9, 15, 0.78);
	color: var(--accent);
}

.hero__motion .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.hero.is-motion-paused .hero__sun-halo,
.hero.is-motion-paused .hero__sun-halo::after,
.hero.is-motion-paused .hero__scene-tag-dot {
	animation-play-state: paused;
}

@media (max-width: 640px) {
	.hero__motion {
		right: 16px;
		bottom: 76px;
		width: 32px;
		height: 32px;
	}
}

.hero__motion[hidden] {
	display: none;
}

/* Bookmark groups, public booklists, author profile. */
.checkbox--panel {
	margin: 2px 0 16px;
	padding: 11px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.018);
}

.checkbox--panel small {
	display: block;
	margin-top: 2px;
	color: var(--muted-2);
	font-size: 0.62rem;
}

.text-link--danger {
	border: 0;
	background: transparent;
	color: var(--danger, #ff9b9b);
	cursor: pointer;
}

.bookmark-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 10px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.bookmark-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bookmark-group {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 9px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.67rem;
}

.bookmark-group span {
	color: var(--muted-2);
	font-size: 0.57rem;
}

.bookmark-group:hover,
.bookmark-group.is-active {
	border-color: rgba(120, 227, 196, 0.24);
	background: rgba(120, 227, 196, 0.06);
	color: var(--paper);
}

.bookmark-group.is-active span {
	color: var(--accent);
}

.bookmark-group-create {
	display: flex;
	align-items: center;
	gap: 7px;
}

.bookmark-group-create input {
	width: 180px;
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--paper);
	font-size: 0.7rem;
	outline: none;
}

.bookmark-group-create input:focus {
	border-color: rgba(120, 227, 196, 0.45);
}

.bookmark-subbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--muted-2);
	font-size: 0.65rem;
}

.bookmark-subbar p {
	margin: 0;
}

.bookmark-subbar .text-link {
	font-size: 0.65rem;
}

.bookmark-group-delete {
	margin-left: auto;
}

.bookmark-move {
	display: flex;
	align-items: center;
	gap: 5px;
}

.bookmark-move select {
	max-width: 96px;
	padding: 5px 6px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted);
	font-size: 0.62rem;
	outline: none;
}

.bookmark-move .btn {
	padding: 5px 7px;
	font-size: 0.6rem;
}

.author-hero__row {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
}

.author-hero__body .page-hero__title {
	margin: 6px 0 2px;
}

.author-hero__handle {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 0.7rem;
}

.author-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.author-library {
	padding: 46px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.012);
}

.author-library__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.author-library__head h2 {
	margin: 4px 0 0;
	font-size: 1.7rem;
}

.author-library__note {
	max-width: 330px;
	margin: 0;
	color: var(--muted-2);
	font-size: 0.68rem;
	line-height: 1.6;
	text-align: right;
}

.author-library__groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.author-list {
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(12, 18, 29, 0.62);
}

.author-list__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.author-list__head h3 {
	margin: 0;
	font-size: 1rem;
}

.author-list__head span {
	color: var(--muted-2);
	font-size: 0.6rem;
}

.author-list ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.author-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.author-list li:last-child {
	border-bottom: 0;
}

.author-list li a {
	overflow: hidden;
	color: var(--paper-soft);
	font-size: 0.72rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.author-list li a:hover {
	color: var(--accent);
}

.author-list li time {
	flex: 0 0 auto;
	color: var(--muted-2);
	font-size: 0.57rem;
}

.author-archive {
	padding: 48px 0 80px;
}

.author-archive__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 20px;
}

.author-archive__head h2 {
	margin: 4px 0 0;
	font-size: 1.7rem;
}

@media (max-width: 960px) {
	.author-library__groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bookmark-toolbar,
	.bookmark-subbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.bookmark-group-create,
	.bookmark-group-create input {
		width: 100%;
	}

	.bookmark-group-delete {
		margin-left: 0;
	}

	.bookmark-move {
		width: 100%;
	}

	.bookmark-move select {
		flex: 1;
		max-width: none;
	}

	.author-hero__row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.author-hero__row .page-hero__count {
		text-align: left;
	}

	.author-library__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.author-library__note {
		text-align: left;
	}

	.author-library__groups {
		grid-template-columns: 1fr;
	}
}

/* Yearly reading report. */
.year-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	align-items: center;
	gap: 26px;
	margin-bottom: 14px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 70% 150% at 100% 50%, rgba(120, 227, 196, 0.1), transparent 68%),
		rgba(255, 255, 255, 0.02);
}

.year-hero__copy h3 {
	margin: 8px 0 8px;
	font-size: clamp(1.45rem, 2.8vw, 2.15rem);
	line-height: 1.35;
}

.year-hero__copy > p:last-child {
	max-width: 560px;
	margin: 0;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.8;
}

.year-hero__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 190px;
	height: 190px;
	margin-left: auto;
}

.year-hero__ring {
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(120, 227, 196, 0.23);
	border-radius: 50%;
	transform: rotate(-21deg) scaleY(0.55);
}

.year-hero__ring--two {
	inset: 31px;
	border-color: rgba(255, 255, 255, 0.13);
	transform: rotate(29deg) scaleY(0.68);
}

.year-hero__core {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(120, 227, 196, 0.3);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #eaffaa, #81e4c6 55%, #286a72);
	color: #09201d;
	box-shadow: 0 0 50px rgba(120, 227, 196, 0.22);
}

.year-hero__core .icon {
	width: 1.35rem;
	height: 1.35rem;
}

.year-hero__year {
	position: absolute;
	bottom: 0;
	right: 0;
	color: var(--muted-2);
	font-size: 0.6rem;
	letter-spacing: 0.18em;
}

.year-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 14px 0;
}

.year-stat {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 15px 17px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.year-stat span {
	color: var(--muted-2);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.year-stat strong {
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.1;
}

.year-stat small {
	color: var(--muted-2);
	font-size: 0.6rem;
}

.year-panel {
	margin-bottom: 14px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.018);
}

.year-panel__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}

.year-panel__head h3 {
	margin: 4px 0 0;
	font-size: 1.15rem;
}

.year-panel__head > span {
	color: var(--muted-2);
	font-size: 0.62rem;
}

.year-bars {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 7px;
	align-items: end;
	min-height: 150px;
}

.year-bar {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.year-bar__value {
	min-height: 14px;
	color: var(--muted-2);
	font-size: 0.55rem;
}

.year-bar__track {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 92px;
	border-radius: 4px 4px 0 0;
	background: rgba(255, 255, 255, 0.045);
}

.year-bar__track > span {
	display: block;
	width: 100%;
	min-height: 2px;
	border-radius: 4px 4px 0 0;
	background: linear-gradient(180deg, var(--accent), rgba(120, 227, 196, 0.2));
}

.year-bar small {
	color: var(--muted-2);
	font-size: 0.55rem;
}

.year-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
}

.year-topics {
	margin: 0;
	padding: 0;
	list-style: none;
}

.year-topics li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.year-topics li:last-child {
	border-bottom: 0;
}

.year-topics a {
	color: var(--paper-soft);
	font-size: 0.8rem;
}

.year-topics a:hover {
	color: var(--accent);
}

.year-topics span {
	color: var(--muted-2);
	font-size: 0.6rem;
}

.year-panel--note {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	background:
		radial-gradient(ellipse 80% 120% at 100% 0%, rgba(120, 227, 196, 0.07), transparent 70%),
		rgba(255, 255, 255, 0.018);
}

.year-panel--note h3 {
	margin: 5px 0 8px;
	font-size: 1.4rem;
}

.year-panel--note > p:last-of-type,
.year-empty {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.72rem;
	line-height: 1.7;
}

@media (max-width: 760px) {
	.year-hero {
		grid-template-columns: minmax(0, 1fr);
		padding: 22px;
	}

	.year-hero__mark {
		display: none;
	}

	.year-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.year-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.year-bars {
		gap: 3px;
	}

	.year-bar__track {
		height: 68px;
	}

	.year-bar small {
		font-size: 0.48rem;
	}
}

/* Comment likes, mentions and honeypot. */
.comment__like {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 7px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--muted-2);
	font-size: 0.64rem;
	cursor: pointer;
}

.comment__like .icon {
	width: 0.82rem;
	height: 0.82rem;
	fill: none;
}

.comment__like:hover {
	border-color: var(--line);
	color: var(--accent);
}

.comment__like.is-liked {
	border-color: rgba(120, 227, 196, 0.18);
	background: rgba(120, 227, 196, 0.06);
	color: var(--accent);
}

.comment__like.is-liked .icon {
	fill: currentColor;
}

.comment__like:disabled {
	opacity: 0.55;
	cursor: wait;
}

.comment-mention {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Search filters. */
.search-filter {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 20px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.search-filter label {
	color: var(--muted-2);
	font-size: 0.65rem;
}

.search-filter__select {
	padding: 6px 9px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--paper-soft);
	font-size: 0.68rem;
	outline: none;
}

.search-filter .text-link {
	font-size: 0.62rem;
}

/* Light community, follows and notifications. */
.member-profile-card__notify {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.66rem;
}

.member-profile-card__notify:hover {
	color: var(--accent);
}

.member-profile-card__notify .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.member-profile-card__notify strong {
	display: inline-grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--accent);
	color: #06201c;
	font-size: 0.55rem;
}

.community-prompt {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1px solid rgba(120, 227, 196, 0.2);
	border-radius: 12px;
	background: rgba(120, 227, 196, 0.045);
}

.community-prompt > span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(120, 227, 196, 0.1);
	color: var(--accent);
}

.community-prompt p {
	flex: 1;
	margin: 0;
	color: var(--muted);
	font-size: 0.67rem;
	line-height: 1.65;
}

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

.community-card {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 15px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.community-card__avatar {
	flex: 0 0 auto;
}

.community-card__body {
	min-width: 0;
	flex: 1;
}

.community-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.community-card__top h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

.community-card__top h3 a:hover {
	color: var(--accent);
}

.community-card__top p {
	margin: 2px 0 0;
	color: var(--muted-2);
	font-size: 0.6rem;
}

.community-card__bio {
	display: -webkit-box;
	overflow: hidden;
	margin: 8px 0 10px;
	color: var(--muted);
	font-size: 0.67rem;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.community-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.community-card__followers,
.author-hero__followers {
	color: var(--muted-2);
	font-size: 0.6rem;
}

.community-card__followers strong,
.author-hero__followers strong {
	color: var(--paper-soft);
	font-weight: 500;
}

.follow-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 11px;
	border: 1px solid rgba(120, 227, 196, 0.32);
	border-radius: 999px;
	background: transparent;
	color: var(--accent);
	font-size: 0.62rem;
	line-height: 1.4;
	cursor: pointer;
}

.follow-button:hover,
.follow-button.is-following {
	border-color: var(--line-strong);
	background: rgba(255, 255, 255, 0.04);
	color: var(--muted);
}

.follow-button:disabled {
	opacity: 0.55;
	cursor: wait;
}

.author-hero__followers {
	margin-right: 2px;
}

.notification-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.notification-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 2px;
	border-bottom: 1px solid var(--line);
}

.notification-item.is-unread {
	background: linear-gradient(90deg, rgba(120, 227, 196, 0.06), transparent 70%);
}

.notification-item__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--muted);
}

.notification-item__body {
	min-width: 0;
	flex: 1;
}

.notification-item__body p {
	margin: 0 0 3px;
	color: var(--paper-soft);
	font-size: 0.72rem;
	line-height: 1.55;
}

.notification-item__body time {
	color: var(--muted-2);
	font-size: 0.57rem;
}

.notification-item .text-link {
	flex: 0 0 auto;
	font-size: 0.62rem;
}

/* Manual Pro membership. */
.pro-status {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.018);
}

.pro-status.is-pro {
	border-color: rgba(120, 227, 196, 0.26);
	background: rgba(120, 227, 196, 0.05);
}

.pro-status__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(120, 227, 196, 0.1);
	color: var(--accent);
}

.pro-status h3 {
	margin: 3px 0 4px;
	font-size: 1.05rem;
}

.pro-status p:last-child {
	margin: 0;
	color: var(--muted);
	font-size: 0.67rem;
	line-height: 1.65;
}

.pro-plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 16px 0;
}

.pro-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 17px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.pro-plan.is-featured {
	border-color: rgba(120, 227, 196, 0.33);
	background: rgba(120, 227, 196, 0.05);
}

.pro-plan__badge {
	position: absolute;
	top: -8px;
	right: 12px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--accent);
	color: #06201c;
	font-size: 0.54rem;
}

.pro-plan h3 {
	margin: 4px 0 6px;
	font-size: 1.05rem;
}

.pro-plan__price {
	margin: 0 0 6px;
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.55rem;
	line-height: 1.2;
}

.pro-plan__price small {
	margin-left: 3px;
	color: var(--muted-2);
	font-family: var(--font-body);
	font-size: 0.55rem;
}

.pro-plan__note {
	flex: 1;
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.64rem;
	line-height: 1.55;
}

.pro-order-panel {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid rgba(120, 227, 196, 0.25);
	border-radius: 14px;
	background: rgba(120, 227, 196, 0.04);
}

.pro-order-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.pro-order-panel__head h3 {
	margin: 3px 0 0;
	font-size: 1.2rem;
}

.pro-order-panel__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}

.pro-order-panel__amount {
	margin: 0 0 7px;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: 1;
}

.pro-order-panel__hint {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 0.67rem;
	line-height: 1.7;
}

.pro-payment-qr {
	display: block;
	width: 144px;
	max-width: 100%;
	height: auto;
	margin-top: 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

.pro-reference-form .form-field {
	margin-bottom: 10px;
}

.pro-reference-form .text-link {
	display: inline-flex;
	margin-top: 12px;
	font-size: 0.64rem;
}

.pro-history {
	margin-top: 22px;
}

.pro-history__head h3 {
	margin: 3px 0 10px;
	font-size: 1.1rem;
}

.pro-history__list {
	border-top: 1px solid var(--line);
}

.pro-history__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}

.pro-history__item > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pro-history__item strong {
	color: var(--paper-soft);
	font-size: 0.72rem;
	font-weight: 500;
}

.pro-history__item small {
	color: var(--muted-2);
	font-size: 0.57rem;
}

.pro-history__meta {
	align-items: flex-end;
	text-align: right;
}

.order-status {
	display: inline-flex;
	padding: 3px 7px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.56rem;
	white-space: nowrap;
}

.order-status--paid {
	border-color: rgba(120, 227, 196, 0.28);
	background: rgba(120, 227, 196, 0.08);
	color: var(--accent);
}

.order-status--review {
	border-color: rgba(255, 206, 120, 0.28);
	color: #ffd28a;
}

.order-status--rejected {
	border-color: rgba(255, 120, 120, 0.25);
	color: #ff9b9b;
}

@media (max-width: 860px) {
	.community-grid,
	.pro-plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.community-grid,
	.pro-plans,
	.pro-order-panel__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.community-prompt {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.community-prompt .btn {
		width: 100%;
	}
}

/* Series follow (追更). */
.series-box__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.page-hero__row > .follow-button {
	flex-shrink: 0;
	align-self: center;
}

@media (max-width: 640px) {
	.series-box__actions {
		width: 100%;
		justify-content: space-between;
	}
}

/* Shop (虚拟产品商城). */
.shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.shop-card {
	display: flex;
	flex-direction: column;
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(6, 9, 15, 0.12);
}

.shop-card__cover {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, #06090f 0%, #10202c 100%);
}

.shop-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 40px;
	color: #78e3c4;
	opacity: 0.8;
}

.shop-card__body {
	flex: 1;
	padding: 20px 20px 12px;
}

.shop-card__title {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.4;
}

.shop-card__title a {
	color: inherit;
	text-decoration: none;
}

.shop-card__dek {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted, #5a6478);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shop-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px 18px;
	border-top: 1px dashed var(--border, rgba(15, 23, 42, 0.08));
}

.shop-card__price {
	font-size: 18px;
	font-weight: 700;
	color: var(--accent, #2aa88a);
}

.shop-card__sold {
	font-size: 12px;
	color: var(--muted, #5a6478);
}

.shop-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 18px;
}

/* Product single: buy card. */
.shop-buy-card {
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 18px;
	padding: 24px 22px;
	display: grid;
	gap: 14px;
	justify-items: start;
}

.shop-buy-card__price {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	color: var(--accent, #2aa88a);
}

.shop-buy-card__price small {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted, #5a6478);
}

.shop-buy-card__hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted, #5a6478);
}

.shop-buy-card__promise {
	margin: 12px 0 0;
	padding: 10px 12px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-left: 3px solid var(--accent, #2aa88a);
	border-radius: 10px;
	background: var(--surface, #fff);
	font-size: 13px;
	line-height: 1.7;
	color: var(--text, #1f2937);
}

.shop-buy-card__promise span {
	margin-right: 4px;
}

.shop-buy-card__order {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 600;
}

.shop-buy-card .pro-payment-qr {
	width: 180px;
	height: auto;
	border-radius: 12px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
}

.shop-buy-card .pro-reference-form {
	width: 100%;
}

/* Delivery box. */
.shop-delivery {
	margin-top: 32px;
	background: linear-gradient(135deg, rgba(120, 227, 196, 0.12), rgba(120, 227, 196, 0.04));
	border: 1px solid rgba(120, 227, 196, 0.35);
	border-radius: 18px;
	padding: 26px 24px;
}

.shop-delivery__head h2 {
	margin: 6px 0 0;
	font-size: 20px;
}

.shop-delivery__note {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.7;
}

.shop-delivery .btn {
	margin-top: 16px;
}

.shop-delivery__hint {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--muted, #5a6478);
}

/* Member purchases list. */
.purchase-list {
	display: grid;
	gap: 16px;
}

.purchase-item {
	display: flex;
	gap: 18px;
	align-items: center;
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 16px;
	padding: 16px 20px;
}

.purchase-item__cover {
	width: 92px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #06090f 0%, #10202c 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #78e3c4;
	font-size: 22px;
}

.purchase-item__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.purchase-item__body {
	flex: 1;
	min-width: 0;
}

.purchase-item__body h3 {
	margin: 0 0 4px;
	font-size: 16px;
}

.purchase-item__body h3 a {
	color: inherit;
	text-decoration: none;
}

.purchase-item__body p {
	margin: 0 0 2px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--muted, #5a6478);
}

.purchase-item__meta {
	opacity: 0.85;
}

.purchase-item__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.purchase-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.purchase-item__actions {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* Shop strip on the home page. */
.shop-strip {
	background: #06090f;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-strip__inner {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	align-items: center;
	gap: 38px;
	padding: 17px 0 19px;
}

.shop-strip__label {
	color: rgba(255, 255, 255, 0.62);
}

.shop-strip__links {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.shop-strip__link {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.shop-strip__title {
	font-size: 14px;
	font-weight: 600;
}

.shop-strip__link:hover .shop-strip__title {
	color: #78e3c4;
}

.shop-strip__price {
	font-size: 12px;
	color: #78e3c4;
}

.shop-strip .hero__latest-all {
	color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 860px) {
	.shop-strip__inner {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* Owned badge. */
.badge--owned {
	color: #1d7a5f;
	border-color: rgba(42, 168, 138, 0.45);
	background: rgba(42, 168, 138, 0.12);
}

.badge--owned .icon {
	width: 13px;
	height: 13px;
	margin-right: 4px;
}

.shop-card__foot .badge--owned {
	display: inline-flex;
	align-items: center;
}

/* Member contribution form. */
.contribute-form-card {
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 18px;
	padding: 24px 22px;
	margin-bottom: 32px;
}

.contribute-form-card .form-field textarea {
	width: 100%;
	min-height: 260px;
	resize: vertical;
	font-family: inherit;
}

.contribute-history {
	margin-top: 8px;
}

/* Paid reading (付费阅读). */
.badge--paid {
	color: #8a5a1f;
	border-color: rgba(214, 158, 46, 0.45);
	background: rgba(214, 158, 46, 0.12);
}

.badge--unlocked {
	color: #1d7a5f;
	border-color: rgba(42, 168, 138, 0.45);
	background: rgba(42, 168, 138, 0.12);
}

.paywall-teaser {
	position: relative;
	padding-bottom: 8px;
}

.paywall-teaser::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--surface, #fff) 82%);
	pointer-events: none;
}

.paywall-teaser__note {
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--muted, #5a6478);
	margin-top: 28px;
}

.paid-panel {
	position: relative;
	z-index: 1;
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 20px;
	padding: 28px 26px;
	margin: -72px 0 36px;
	box-shadow: 0 20px 48px rgba(6, 9, 15, 0.08);
}

.paid-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.paid-panel__head h2 {
	margin: 6px 0 0;
	font-size: 22px;
}

.paid-panel__price {
	margin: 0 0 14px;
	font-size: 30px;
	font-weight: 800;
	color: var(--accent, #2aa88a);
}

.paid-panel__price small {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted, #5a6478);
}

.paid-panel__hint {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted, #5a6478);
}

.paid-panel__hint--pro {
	color: var(--accent, #2aa88a);
}

.paid-panel .pro-reference-form {
	width: 100%;
}

.paid-panel .pro-payment-qr {
	width: 180px;
	height: auto;
	border-radius: 12px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
}

.purchase-section {
	margin-top: 36px;
}

.purchase-section__title {
	margin: 0 0 16px;
	font-size: 18px;
}

/* Member calendar (我的日历). */
.cal {
	display: grid;
	gap: 18px;
}

.cal__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

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

.cal__nav-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.12));
	background: var(--surface, #fff);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}

.cal__nav-btn:hover {
	border-color: var(--accent, #2aa88a);
	color: var(--accent, #2aa88a);
}

.cal__today {
	height: 34px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.12));
	background: var(--surface, #fff);
	font-size: 13px;
	cursor: pointer;
	color: inherit;
}

.cal__today:hover {
	border-color: var(--accent, #2aa88a);
	color: var(--accent, #2aa88a);
}

.cal__sync {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted, #5a6478);
	cursor: pointer;
}

.cal__weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--muted, #5a6478);
}

.cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.cal__cell {
	position: relative;
	min-height: 64px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 12px;
	background: var(--surface, #fff);
	padding: 8px;
	text-align: left;
	cursor: pointer;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cal__cell:hover {
	border-color: var(--accent, #2aa88a);
}

.cal__cell--pad {
	border: 0;
	background: transparent;
	cursor: default;
	min-height: 0;
}

.cal__cell.is-today .cal__num {
	background: var(--accent, #2aa88a);
	color: #fff;
}

.cal__cell.is-selected {
	border-color: var(--accent, #2aa88a);
	box-shadow: 0 0 0 2px rgba(42, 168, 138, 0.18);
}

.cal__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 600;
}

.cal__dots {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: flex;
	gap: 3px;
}

.cal__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent, #2aa88a);
}

.cal__dot--blue { background: #4a6cf7; }
.cal__dot--violet { background: #9a6cf7; }
.cal__dot--rose { background: #f76c8a; }
.cal__dot--sand { background: #d69e2e; }

.cal__detail {
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 16px;
	padding: 18px 20px;
}

.cal__detail h3 {
	margin: 0 0 12px;
	font-size: 15px;
}

.cal__item {
	position: relative;
	border-left: 3px solid var(--accent, #2aa88a);
	background: rgba(42, 168, 138, 0.06);
	border-radius: 0 10px 10px 0;
	padding: 10px 14px;
	margin-bottom: 10px;
}

.cal__item--blue { border-left-color: #4a6cf7; background: rgba(74, 108, 247, 0.06); }
.cal__item--violet { border-left-color: #9a6cf7; background: rgba(154, 108, 247, 0.06); }
.cal__item--rose { border-left-color: #f76c8a; background: rgba(247, 108, 138, 0.06); }
.cal__item--sand { border-left-color: #d69e2e; background: rgba(214, 158, 46, 0.07); }

.cal__item-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.cal__item-time {
	font-size: 12px;
	color: var(--muted, #5a6478);
}

.cal__item-note {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted, #5a6478);
}

.cal__item-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
}

.cal__item-edit {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 12px;
	color: var(--muted, #5a6478);
	cursor: pointer;
}

.cal__item-edit:hover {
	color: var(--accent, #2aa88a);
}

.cal__empty {
	margin: 0;
	font-size: 13px;
	color: var(--muted, #5a6478);
}

.cal__form {
	background: var(--surface, #fff);
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 16px;
	padding: 20px;
}

.cal__form h3 {
	margin: 0 0 14px;
	font-size: 15px;
}

.cal__form-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cal__form-field--grow {
	flex: 1;
	min-width: 200px;
}

.cal__form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.cal__delete {
	margin-left: auto;
	border: 0;
	background: none;
	color: #b32d2e;
	font-size: 13px;
	cursor: pointer;
}

.cal__delete:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.cal__cell {
		min-height: 48px;
		padding: 5px;
	}

	.cal__form-actions {
		flex-wrap: wrap;
	}
}

/* ===== Newsletter (footer subscribe) ===== */
.newsletter-form {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	max-width: 280px;
}

.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 0.82rem;
}

.newsletter-form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: var(--accent);
}

.newsletter-form button {
	flex: none;
	padding: 9px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #06131a;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.newsletter-form button:hover {
	opacity: 0.85;
}

.newsletter-form__notice {
	margin-top: 10px;
	font-size: 0.78rem;
}

.newsletter-form__notice.is-ok {
	color: #78e3c4;
}

.newsletter-form__notice.is-err {
	color: #f0a8a8;
}

@media (max-width: 640px) {
	.newsletter-form {
		flex-wrap: wrap;
	}
}

/* ===== Search highlight ===== */
mark.search-mark {
	background: rgba(120, 227, 196, 0.35);
	color: inherit;
	padding: 0 0.12em;
	border-radius: 4px;
}

/* ===== Product badge on search cards ===== */
.post-card__badge--price {
	background: var(--accent);
	color: #06131a;
}

/* ===== Video channel ===== */
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}

.video-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 16px;
}

.video-card {
	display: flex;
	flex-direction: column;
	background: var(--surface, #0b111b);
	border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(4, 7, 12, 0.16);
}

.video-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #06090f;
}

.video-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 2rem;
	color: rgba(255, 255, 255, 0.25);
	background: linear-gradient(135deg, #0b1220 0%, #101b2e 55%, #06090f 100%);
}

.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background: rgba(6, 19, 26, 0.55);
	backdrop-filter: blur(4px);
	color: #78e3c4;
	border: 1px solid rgba(120, 227, 196, 0.45);
	transition: transform 0.25s ease, background 0.25s ease;
}

.video-card__play .icon {
	width: 22px;
	height: 22px;
}

.video-card:hover .video-card__play {
	transform: translate(-50%, -50%) scale(1.12);
	background: rgba(120, 227, 196, 0.92);
	color: #06131a;
}

.video-card__duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(6, 19, 26, 0.78);
	color: #fff;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.video-card__level {
	position: absolute;
	left: 10px;
	top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(6, 19, 26, 0.78);
	color: #78e3c4;
	font-size: 0.72rem;
}

.video-card__level .icon {
	width: 12px;
	height: 12px;
}

.video-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 14px;
	flex: 1;
}

.video-card__title {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.45;
}

.video-card__title a {
	color: inherit;
	text-decoration: none;
}

.video-card__title a:hover {
	color: var(--accent, #78e3c4);
}

.video-card__dek {
	margin: 0;
	font-size: 0.82rem;
	color: var(--muted, #8a93a6);
	line-height: 1.7;
}

.video-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.78rem;
	color: var(--muted, #8a93a6);
}

.video-card--small .video-card__title {
	font-size: 0.88rem;
}

/* Single video page */
.page-hero--video {
	padding-bottom: 24px;
}

.video-single {
	max-width: 980px;
}

.video-single__stage {
	margin-top: -8px;
}

.video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background: #06090f;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-frame video,
.video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.video-frame--locked,
.video-frame--missing {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0b1220 0%, #101b2e 55%, #06090f 100%);
}

.video-lock {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	padding: 24px;
}

.video-lock__icon {
	margin: 0;
	display: inline-flex;
}

.video-lock__icon .icon {
	width: 22px;
	height: 22px;
	color: #78e3c4;
	opacity: 0.9;
}

.video-lock__title {
	margin: 0;
}

.video-lock__actions {
	flex-basis: 100%;
}

.video-lock__title {
	color: #e8ecf4;
	font-size: 1rem;
}

.video-lock__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.video-single__head {
	margin-top: 26px;
}

.video-single__title {
	margin: 0;
	font-size: 1.7rem;
	line-height: 1.35;
}

.video-single__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 10px;
	font-size: 0.82rem;
	color: var(--muted, #8a93a6);
}

.video-single__dek {
	margin: 16px 0 0;
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--muted, #8a93a6);
}

.video-single__body {
	margin-top: 20px;
}

.video-single__related {
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.video-single__related h2 {
	margin: 0 0 16px;
	font-size: 1.1rem;
}

@media (max-width: 640px) {
	.video-grid {
		grid-template-columns: 1fr;
	}

	.video-single__title {
		font-size: 1.35rem;
	}
}

/* ===== Must log in to comment ===== */
.must-log-in {
	margin: 0 0 14px;
	font-size: 0.88rem;
	color: var(--muted, #8a93a6);
}

.must-log-in a {
	color: var(--accent, #78e3c4);
	text-decoration: underline;
}

/* ===== Views & likes on cards ===== */
.card__views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted, #8a93a6);
	font-size: 0.78rem;
}

.card__views .icon {
	width: 14px;
	height: 14px;
}

.article-byline__views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted, #8a93a6);
}

.article-byline__views .icon {
	width: 15px;
	height: 15px;
}

.like-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 0.78rem;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.like-btn .like-btn__icon {
	display: inline-flex;
}

.like-btn .like-btn__icon .icon {
	width: 15px;
	height: 15px;
	transition: transform 0.15s ease;
}

.like-btn:hover {
	border-color: #f2789f;
	color: #f2789f;
}

.like-btn.is-active {
	border-color: #f2789f;
	color: #f2789f;
}

.like-btn.is-active .like-btn__icon .icon {
	transform: scale(1.15);
}

.like-btn--full {
	padding: 8px 18px;
	font-size: 0.85rem;
}

.like-btn--full .like-btn__icon .icon {
	width: 17px;
	height: 17px;
}

.like-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

/* ===== Tip box ===== */
.tip-box {
	display: flex;
	gap: 22px;
	margin-top: 40px;
	padding: 26px;
	border: 1px dashed var(--line, rgba(255, 255, 255, 0.14));
	border-radius: 18px;
	align-items: flex-start;
}

.tip-box__qr {
	flex: none;
	width: 130px;
}

.tip-box__qr img {
	width: 100%;
	border-radius: 10px;
	display: block;
}

.tip-box__body {
	flex: 1;
	min-width: 0;
}

.tip-box__body h2 {
	margin: 6px 0 8px;
	font-size: 1.15rem;
}

.tip-box__note {
	margin: 0 0 14px;
	color: var(--muted, #8a93a6);
	font-size: 0.88rem;
}

.tip-box__amounts {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.tip-box__amount input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tip-box__amount span {
	display: inline-block;
	padding: 7px 18px;
	border: 1px solid var(--line, rgba(255, 255, 255, 0.14));
	border-radius: 999px;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tip-box__amount input:checked + span {
	border-color: var(--accent, #78e3c4);
	background: rgba(120, 227, 196, 0.12);
	color: var(--accent, #78e3c4);
}

.tip-box__note-input {
	width: 100%;
	max-width: 420px;
	padding: 9px 14px;
	border: 1px solid var(--line, rgba(255, 255, 255, 0.14));
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font-size: 0.85rem;
	margin-bottom: 12px;
}

.tip-box__note-input:focus {
	outline: none;
	border-color: var(--accent, #78e3c4);
}

.tip-box__hint {
	margin: 10px 0 0;
	font-size: 0.75rem;
	color: var(--muted, #8a93a6);
}

.tip-box__hint.is-ok {
	color: var(--accent, #78e3c4);
}

@media (max-width: 640px) {
	.tip-box {
		flex-direction: column;
	}
}

/* ===== Points ===== */
.points-balance {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 6px 0 20px;
}

.points-balance strong {
	font-size: 2.2rem;
	line-height: 1;
}

.points-balance span {
	color: var(--muted, #8a93a6);
	font-size: 0.85rem;
}

.points-exchange {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 22px;
	padding: 16px 18px;
	border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
	border-radius: 14px;
	flex-wrap: wrap;
}

.points-exchange__desc strong {
	display: block;
}

.points-exchange__desc p {
	margin: 4px 0 0;
	font-size: 0.8rem;
	color: var(--muted, #8a93a6);
}

.points-log {
	margin-top: 24px;
}

.points-log__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.points-log__table th,
.points-log__table td {
	text-align: left;
	padding: 9px 10px;
	border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.points-log__table .is-up {
	color: var(--accent, #78e3c4);
	font-weight: 600;
}

.points-log__table .is-down {
	color: #f2789f;
	font-weight: 600;
}

/* ===== Notify toggles ===== */
.notify-toggle {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
	cursor: pointer;
}

.notify-toggle:last-of-type {
	border-bottom: 0;
}

.notify-toggle input {
	margin-top: 4px;
	accent-color: var(--accent, #78e3c4);
}

.notify-toggle__body strong {
	display: block;
}

.notify-toggle__body small {
	display: block;
	margin-top: 3px;
	color: var(--muted, #8a93a6);
}

/* ===== Series buy box ===== */
.layout-aside {
	min-width: 0;
}

.widget--series-buy {
	border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
	border-radius: 16px;
	padding: 20px 22px;
}

.series-buy__price {
	font-size: 1.7rem;
	font-weight: 700;
	margin: 8px 0;
	color: var(--accent, #78e3c4);
}

.series-buy__desc {
	font-size: 0.82rem;
	color: var(--muted, #8a93a6);
	line-height: 1.8;
	margin: 0 0 14px;
}

.series-buy__state {
	font-size: 0.85rem;
}

.series-buy__state.is-ok {
	color: var(--accent, #78e3c4);
	display: flex;
	align-items: center;
	gap: 6px;
}

.series-buy__hint {
	font-size: 0.75rem;
	color: var(--muted, #8a93a6);
	margin: 10px 0 0;
}

.widget--series-buy form input[type="text"] {
	width: 100%;
	padding: 9px 13px;
	border: 1px solid var(--line, rgba(255, 255, 255, 0.14));
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font-size: 0.85rem;
	margin-bottom: 10px;
}

.series-toc {
	margin: 0;
	padding-left: 20px;
	font-size: 0.88rem;
}

.series-toc li {
	padding: 5px 0;
}

.page-hero__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 16px;
}

/* ===== Search suggest ===== */
.search-form,
.search-dialog form {
	position: relative;
}

.search-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	display: none;
	background: #fff;
	border: 1px solid #e8ecf4;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(4, 7, 12, 0.18);
	overflow: hidden;
}

.search-dialog .search-suggest {
	background: #101828;
	border-color: rgba(255, 255, 255, 0.1);
}

.search-suggest.is-open {
	display: block;
}

.search-suggest__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	text-decoration: none;
	color: #1a2233;
	font-size: 0.88rem;
}

.search-dialog .search-suggest__item {
	color: #e8ecf4;
}

.search-suggest__item:hover {
	background: rgba(120, 227, 196, 0.1);
}

.search-suggest__kind {
	flex: none;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(120, 227, 196, 0.18);
	color: #0d7a5f;
}

.search-dialog .search-suggest__kind {
	color: #78e3c4;
}

.search-suggest__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ===== xgplayer integration ===== */
.video-frame--xg .video-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #06090f;
}

.video-frame--xg.is-xg .video-fallback {
	display: none;
}

.video-frame--xg .xgplayer {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	background: #06090f;
}

.video-frame--xg .xgplayer video {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

/* ===== Points page duo grid (invite + chat quota) ===== */
.points-duo {
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	align-items: stretch;
}

@media (max-width: 960px) {
	.points-duo {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== Works archive redesign: spotlight / counted filter / cta ===== */
.work-spotlight {
	display: block;
	position: relative;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: var(--radius-lg, 26px);
	overflow: hidden;
	background: var(--surface, #0b111b);
	margin-bottom: 42px;
	text-decoration: none;
}

.work-spotlight__media {
	display: block;
	position: relative;
	min-height: 380px;
	background: linear-gradient(135deg, #06090f 0%, #10202c 100%);
}

.work-spotlight__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.work-spotlight__link:hover .work-spotlight__media img {
	transform: scale(1.03);
}

.work-spotlight__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 9, 15, 0.92) 0%, rgba(6, 9, 15, 0.35) 45%, rgba(6, 9, 15, 0.08) 100%);
}

.work-spotlight__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 34px 38px;
	color: var(--paper, #eef4f8);
}

.work-spotlight__body .eyebrow {
	margin: 0;
	color: var(--accent, #78e3c4);
}

.work-spotlight__title {
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.work-spotlight__dek {
	max-width: 640px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--paper-soft, #d6e2ec);
}

.work-spotlight__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	color: var(--muted, #93a4b7);
}

.work-spotlight__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent, #78e3c4);
}

.work-spotlight__go svg {
	width: 14px;
	height: 14px;
	transition: transform 0.25s ease;
}

.work-spotlight__link:hover .work-spotlight__go svg {
	transform: translate(2px, -2px);
}

.works-filter--counted {
	margin-bottom: 26px;
}

.works-filter--counted .works-filter__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.works-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--surface-2, #101826);
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	font-size: 12px;
	color: var(--muted, #93a4b7);
}

.works-filter--counted .is-active .works-filter__count {
	background: rgba(120, 227, 196, 0.15);
	border-color: rgba(120, 227, 196, 0.4);
	color: var(--accent, #78e3c4);
}

.works-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 56px;
	padding: 30px 34px;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-left: 3px solid var(--accent, #78e3c4);
	border-radius: var(--radius, 18px);
	background: var(--surface, #0b111b);
}

.works-cta__body h2 {
	margin: 6px 0 8px;
	font-size: clamp(18px, 1.8vw, 23px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.works-cta__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted, #93a4b7);
}

.works-cta__actions {
	flex: 0 0 auto;
}

@media (max-width: 960px) {
	.work-spotlight__media {
		min-height: 260px;
	}

	.work-spotlight__body {
		padding: 24px 22px;
	}

	.works-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===== Video archive redesign: spotlight / pro cta ===== */
.video-spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: var(--radius-lg, 26px);
	overflow: hidden;
	background: var(--surface, #0b111b);
	margin-bottom: 42px;
}

.video-spotlight__cover {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	background: linear-gradient(135deg, #06090f 0%, #10202c 100%);
	overflow: hidden;
}

.video-spotlight__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-spotlight__play {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 999px;
	background: rgba(120, 227, 196, 0.14);
	border: 1px solid rgba(120, 227, 196, 0.45);
	color: var(--accent, #78e3c4);
	backdrop-filter: blur(4px);
	transition: transform 0.25s ease, background 0.25s ease;
}

.video-spotlight__play svg {
	width: 26px;
	height: 26px;
}

.video-spotlight__cover:hover .video-spotlight__play {
	transform: scale(1.08);
	background: rgba(120, 227, 196, 0.24);
}

.video-spotlight__cover .video-card__duration {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
}

.video-spotlight__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 36px 38px;
}

.video-spotlight__body .eyebrow {
	margin: 0;
}

.video-spotlight__title {
	margin: 0;
	font-size: clamp(21px, 2.2vw, 28px);
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.video-spotlight__title a {
	color: inherit;
	text-decoration: none;
}

.video-spotlight__dek {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted, #93a4b7);
}

.video-spotlight__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	color: var(--muted, #93a4b7);
}

.video-card__level--inline {
	position: static;
	display: inline-flex;
	transform: none;
	background: none;
	padding: 0;
}

.video-spotlight__actions {
	margin-top: 6px;
}

.video-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 56px;
	padding: 30px 34px;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-left: 3px solid var(--accent, #78e3c4);
	border-radius: var(--radius, 18px);
	background: var(--surface, #0b111b);
}

.video-cta__body h2 {
	margin: 6px 0 8px;
	font-size: clamp(18px, 1.8vw, 23px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.video-cta__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted, #93a4b7);
}

.video-cta__actions {
	flex: 0 0 auto;
}

@media (max-width: 960px) {
	.video-spotlight {
		grid-template-columns: minmax(0, 1fr);
	}

	.video-spotlight__cover {
		min-height: 240px;
	}

	.video-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===== Shop archive redesign: hero chips / featured / steps / faq ===== */
.shop-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.shop-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: 999px;
	background: var(--surface, #0b111b);
	font-size: 13px;
	color: var(--paper-soft, #d6e2ec);
}

.shop-chip span {
	color: var(--accent, #78e3c4);
}

.shop-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 0;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: var(--radius-lg, 26px);
	overflow: hidden;
	background: var(--surface, #0b111b);
	margin-bottom: 42px;
}

.shop-featured__cover {
	display: block;
	min-height: 300px;
	background: linear-gradient(135deg, #06090f 0%, #10202c 100%);
}

.shop-featured__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-featured__cover .shop-card__placeholder {
	font-size: 72px;
	opacity: 0.5;
}

.shop-featured__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 36px 38px;
}

.shop-featured__body .eyebrow {
	margin: 0;
}

.shop-featured__title {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.shop-featured__title a {
	color: inherit;
	text-decoration: none;
}

.shop-featured__dek {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted, #93a4b7);
}

.shop-featured__meta {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-top: 4px;
}

.shop-featured__price {
	font-size: 26px;
	font-weight: 700;
	color: var(--accent, #78e3c4);
}

.shop-featured__sold {
	font-size: 13px;
	color: var(--muted, #93a4b7);
}

.shop-featured__actions {
	display: flex;
	gap: 12px;
	margin-top: 6px;
}

.shop-grid--rest {
	margin-bottom: 56px;
}

.shop-steps {
	margin-top: 64px;
}

.shop-steps__head h2,
.shop-faq__head h2 {
	margin: 6px 0 0;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.shop-steps__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 26px 0 0;
	padding: 0;
	counter-reset: shopstep;
}

.shop-step {
	position: relative;
	padding: 26px 24px 24px;
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: var(--radius, 18px);
	background: var(--surface, #0b111b);
}

.shop-step__num {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent, #78e3c4);
}

.shop-step h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 600;
}

.shop-step p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted, #93a4b7);
}

.shop-faq {
	margin-top: 64px;
}

.shop-faq__list {
	display: grid;
	gap: 12px;
	margin-top: 26px;
}

.shop-faq__item {
	border: 1px solid var(--line, rgba(158, 184, 212, 0.14));
	border-radius: var(--radius, 18px);
	background: var(--surface, #0b111b);
	overflow: hidden;
}

.shop-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	color: var(--paper, #eef4f8);
}

.shop-faq__item summary::-webkit-details-marker {
	display: none;
}

.shop-faq__item summary::after {
	content: "+";
	flex: 0 0 auto;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--accent, #78e3c4);
	transition: transform 0.2s ease;
}

.shop-faq__item[open] summary::after {
	transform: rotate(45deg);
}

.shop-faq__answer {
	padding: 0 22px 20px;
}

.shop-faq__answer p {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: var(--muted, #93a4b7);
}

@media (max-width: 960px) {
	.shop-featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-featured__cover {
		min-height: 220px;
		max-height: 300px;
	}

	.shop-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== Shop product extras: previews / toc / sample / sales ===== */
.shop-buy-card__sales {
	margin: -6px 0 0;
	font-size: 13px;
	color: var(--muted, #5a6478);
}

.shop-previews,
.shop-toc,
.shop-sample {
	margin-top: 42px;
}

.shop-previews__head h2,
.shop-toc__head h2,
.shop-sample__head h2 {
	margin: 6px 0 18px;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.shop-previews__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.shop-previews__item {
	margin: 0;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 14px;
	overflow: hidden;
	background: var(--surface, #fff);
}

.shop-previews__item img {
	display: block;
	width: 100%;
	height: auto;
}

.shop-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px 22px;
}

.shop-toc__list li {
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 9px 12px;
	border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
	border-radius: 10px;
	background: var(--surface, #fff);
	font-size: 0.92rem;
}

.shop-toc__list li svg {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	color: var(--accent, #2aa88a);
	transform: translateY(1px);
}

.shop-sample__quote {
	margin: 0;
	padding: 20px 22px;
	border-left: 3px solid var(--accent, #2aa88a);
	border-radius: 0 14px 14px 0;
	background: var(--surface, #fff);
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text, #1f2937);
}

/* ===== Invite referral (points page) ===== */
.points-invite__link {
	width: 100%;
	padding: 10px 12px;
	font-family: var(--font-sans, sans-serif);
	font-size: 0.85rem;
	color: var(--accent, #8ab4ff);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.points-invite__link:focus {
	outline: 1px solid var(--accent, #8ab4ff);
}

/* ===== Keyboard focus rings for inputs that reset outline ===== */
.search-field__input:focus-visible,
.comment-form input:focus-visible,
.comment-form textarea:focus-visible,
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible,
.bookmark-group-create input:focus-visible,
.newsletter-form input[type="email"]:focus-visible,
.tip-box__note-input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ===== Player skin matched to the theme ===== */
.video-frame--xg .xgplayer,
.video-frame--xg video {
	border-radius: inherit;
}

.video-frame--xg .xgplayer .xgplayer-progress-played {
	background: var(--accent);
}

.video-frame--xg .xgplayer .xgplayer-played .xgplayer-played-inner {
	background: var(--accent);
}

.video-frame--xg .xgplayer .xgplayer-controller {
	background: linear-gradient(to top, rgba(6, 9, 15, 0.85), rgba(6, 9, 15, 0.35) 60%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.video-frame--xg .xgplayer .xgplayer-icon .xgplayer-icon-tip {
	border-radius: var(--radius-sm);
}

/* Poster skeleton until the player takes over (.is-xg added by the init script). */
.video-frame--xg:not(.is-xg) {
	background: linear-gradient(110deg, #0b111b 30%, #101826 50%, #0b111b 70%);
	background-size: 200% 100%;
	animation: starisle-skeleton 1.4s var(--ease) infinite;
}

.video-frame--xg.is-xg {
	animation: none;
	background: #06090f;
}

@keyframes starisle-skeleton {
	to {
		background-position: -200% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.video-frame--xg:not(.is-xg) {
		animation: none;
		background: #0b111b;
	}
}

/* ===== Paper reading mode (article content on a warm sheet) ===== */
.paper-toggle {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 70;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	font-family: var(--font-sans);
	font-size: 0.8rem;
	color: var(--paper-soft);
	background: rgba(11, 17, 27, 0.88);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.paper-toggle:hover {
	color: var(--accent);
	border-color: var(--accent);
}

html.paper-mode .single-post .entry-content {
	background: #f7f4ec;
	color: #2c2f36;
	padding: clamp(22px, 4vw, 42px);
	border-radius: var(--radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

html.paper-mode .single-post .entry-content :is(p, li, dd, figcaption) {
	color: #2c2f36;
}

html.paper-mode .single-post .entry-content :is(h2, h3, h4, h5, h6) {
	color: #1f2933;
}

html.paper-mode .single-post .entry-content a {
	color: #0b7a63;
	text-decoration-color: rgba(11, 122, 99, 0.4);
}

html.paper-mode .single-post .entry-content blockquote {
	color: #4a4f58;
	background: #efe9db;
	border-left-color: #c9b98a;
}

html.paper-mode .single-post .entry-content code {
	background: #ece6d6;
	color: #8a4b12;
}

html.paper-mode .single-post .entry-content pre {
	background: #2d3138;
	color: #e8e4d8;
}

html.paper-mode .single-post .entry-content :is(hr, table th, table td) {
	border-color: rgba(43, 46, 58, 0.16);
}

html.paper-mode .paper-toggle {
	color: #4a4f58;
	background: rgba(247, 244, 236, 0.92);
	border-color: rgba(43, 46, 58, 0.24);
}

/* ===== AI summary card ===== */
.ai-summary {
	padding: 18px 22px;
	margin: 0 0 28px;
	background: linear-gradient(135deg, rgba(120, 227, 196, 0.07), rgba(153, 168, 255, 0.06));
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}

.ai-summary__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--paper);
}

.ai-summary__badge {
	padding: 2px 8px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent-ink);
	background: var(--accent);
	border-radius: 999px;
}

.ai-summary__time {
	margin-left: auto;
	font-size: 0.72rem;
	color: var(--muted-2);
}

.ai-summary__text {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--paper-soft);
}

.ai-summary__points {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.ai-summary__points li {
	position: relative;
	padding-left: 18px;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--muted);
}

.ai-summary__points li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-size: 0.7rem;
}

.ai-summary__note {
	margin: 12px 0 0;
	font-size: 0.72rem;
	color: var(--muted-2);
}

html.paper-mode .single-post .ai-summary {
	background: #eef4ec;
	border-color: rgba(43, 46, 58, 0.16);
}

html.paper-mode .single-post .ai-summary :is(strong, .ai-summary__text) {
	color: #2c2f36;
}

html.paper-mode .single-post .ai-summary :is(.ai-summary__points li, .ai-summary__note, .ai-summary__time) {
	color: #5c6672;
}

/* ===== AI chat conversion hookline ===== */
.chat-hookline {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 22px 0 0;
	padding: 14px 18px;
	background: linear-gradient(135deg, rgba(120, 227, 196, 0.06), rgba(153, 168, 255, 0.05));
	border: 1px dashed var(--line-strong, rgba(158, 184, 212, 0.25));
	border-radius: var(--radius-sm, 10px);
}

.chat-hookline__spark {
	color: var(--accent, #78e3c4);
}

.chat-hookline__lead {
	flex: 1;
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.7;
	color: var(--muted, #93a4b7);
}

.chat-hookline__actions {
	display: inline-flex;
	gap: 14px;
	white-space: nowrap;
}

/* ===== Member order status card ===== */
.order-status-card {
	margin: 0 0 26px;
	padding: 18px 22px;
	background: var(--surface-2, #101826);
	border: 1px solid var(--line-strong, rgba(158, 184, 212, 0.25));
	border-left: 3px solid var(--warm, #ffbd7a);
	border-radius: var(--radius, 18px);
}

.order-status-card--review {
	border-left-color: var(--warm, #ffbd7a);
}

.order-status-card--rejected {
	border-left-color: var(--danger, #ff9b9b);
}

.order-status-card--paid {
	border-left-color: var(--success, #8ce8c4);
}

.order-status-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--paper, #eef4f8);
}

.order-status-card__badge {
	padding: 3px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent-ink, #041410);
	background: var(--warm, #ffbd7a);
	border-radius: 999px;
}

.order-status-card--rejected .order-status-card__badge {
	background: var(--danger, #ff9b9b);
}

.order-status-card__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px 18px;
	margin: 0 0 10px;
}

.order-status-card__meta div dt {
	font-size: 0.72rem;
	color: var(--muted-2, #7d90a5);
}

.order-status-card__meta div dd {
	margin: 2px 0 0;
	font-size: 0.88rem;
	color: var(--paper-soft, #d6e2ec);
	word-break: break-all;
}

.order-status-card__hint {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted, #93a4b7);
}

/* Hookline actions: primary pill button + quiet text link */
.chat-hookline__btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--accent-ink, #041410);
	background: var(--accent, #78e3c4);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(120, 227, 196, 0.22);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.chat-hookline__btn::before {
	content: "✦";
	font-size: 0.75rem;
}

.chat-hookline__btn:hover {
	background: var(--accent-strong, #a1f2de);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(120, 227, 196, 0.3);
}

.chat-hookline__btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(120, 227, 196, 0.2);
}

.chat-hookline__btn:focus-visible {
	outline: 2px solid var(--accent, #78e3c4);
	outline-offset: 3px;
}

.chat-hookline__actions .text-link {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
	color: var(--paper-soft, #d6e2ec);
	font-weight: 600;
	white-space: nowrap;
}

.chat-hookline__actions .text-link:hover {
	color: var(--accent, #78e3c4);
}

.chat-hookline__actions .text-link:focus-visible {
	outline: 2px solid var(--accent, #78e3c4);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (max-width: 380px) {
	.chat-hookline__btn {
		padding: 8px 14px;
	}
}

/* Insufficient-balance hint under the exchange button */
.points-exchange__hint {
	margin: 10px 0 0;
	font-size: 0.78rem;
	line-height: 1.6;
	color: var(--warm, #ffbd7a);
}

/* ===== Works (portfolio) ===== */
.works-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 26px;
}

.works-filter__item {
	padding: 7px 16px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--paper-soft);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.works-filter__item:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.works-filter__item.is-active {
	color: var(--accent-ink);
	background: var(--accent);
	border-color: var(--accent);
}

.works-grid {
	column-count: 3;
	column-gap: 18px;
}

.work-card {
	break-inside: avoid;
	margin: 0 0 18px;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
}

.work-card__link {
	display: block;
	text-decoration: none;
}

.work-card__frame {
	display: block;
	line-height: 0;
	min-height: 160px;
}

.work-card__img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s var(--ease);
}

.work-card__link:hover .work-card__img {
	transform: scale(1.04);
}

.work-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	color: var(--muted-2);
	font-size: 1.4rem;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.work-card__overlay {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 26px 16px 14px;
	background: linear-gradient(to top, rgba(6, 9, 15, 0.92), rgba(6, 9, 15, 0.4) 65%, transparent);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
	pointer-events: none;
}

.work-card__link:hover .work-card__overlay,
.work-card__link:focus-visible .work-card__overlay {
	opacity: 1;
	transform: translateY(0);
}

.work-card__title {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--paper);
	line-height: 1.4;
}

.work-card__cats {
	font-size: 0.72rem;
	color: var(--muted);
}

.works-empty {
	text-align: center;
	padding: 80px 0;
	color: var(--muted);
}

.works-empty__icon {
	font-size: 1.6rem;
	color: var(--accent);
	margin: 0 0 10px;
}

/* Single work */
.work-single__cover {
	margin: 0 0 28px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	line-height: 0;
	background: var(--surface);
}

.work-single__cover img {
	width: 100%;
	height: auto;
	display: block;
}

.work-single__head {
	margin: 0 0 10px;
}

.work-single__title {
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	margin: 0 0 10px;
}

.work-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.8rem;
	color: var(--muted-2);
}

.work-single__dek {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--paper-soft);
	margin: 12px 0 0;
}

.work-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: 26px 0;
}

.work-info__group {
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.work-info__title {
	margin: 0 0 10px;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.work-info__list {
	margin: 0;
	display: grid;
	gap: 6px;
}

.work-info__list div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.work-info__list dt {
	font-size: 0.78rem;
	color: var(--muted-2);
	white-space: nowrap;
}

.work-info__list dd {
	margin: 0;
	font-size: 0.85rem;
	color: var(--paper-soft);
	text-align: right;
	word-break: break-all;
}

.work-info__list dd a {
	color: var(--accent);
}

.work-single__body {
	margin-top: 6px;
}

.work-gallery {
	margin-top: 34px;
}

.work-gallery__title {
	font-size: 1rem;
	margin: 0 0 14px;
	color: var(--paper);
}

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

.work-gallery__item {
	margin: 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--line);
	line-height: 0;
	background: var(--surface);
}

.work-gallery__item img {
	width: 100%;
	height: auto;
	display: block;
}

/* Touch devices: always show the overlay label */
@media (hover: none) {
	.work-card__overlay {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 960px) {
	.works-grid {
		column-count: 2;
	}
}

@media (max-width: 640px) {
	.works-grid {
		column-count: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.work-card__img,
	.work-card__overlay {
		transition: none;
	}

	.work-card__link:hover .work-card__img {
		transform: none;
	}
}

/* ===== Theme sale page ===== */
.theme-sale__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 30px;
	/* 保持默认 stretch：aside 需要拉伸到与主列等高，内部 price-card 的 sticky 才有移动空间 */
}

.theme-sale__block {
	margin: 0 0 34px;
}

.theme-sale__block h2 {
	font-size: 1.15rem;
	margin: 0 0 14px;
}

.theme-sale__features,
.theme-sale__terms {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.theme-sale__features li,
.theme-sale__terms li {
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--muted);
	padding-left: 18px;
	position: relative;
}

.theme-sale__features li::before,
.theme-sale__terms li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-size: 0.7rem;
	top: 4px;
}

.theme-sale__features strong {
	display: block;
	color: var(--paper);
	font-size: 0.95rem;
	margin-bottom: 2px;
}

.theme-sale__faq {
	margin: 0;
	display: grid;
	gap: 14px;
}

.theme-sale__faq dt {
	font-weight: 600;
	color: var(--paper);
	font-size: 0.92rem;
}

.theme-sale__faq dd {
	margin: 4px 0 0;
	font-size: 0.85rem;
	line-height: 1.7;
	color: var(--muted);
}

.theme-sale__price-card {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	padding: 26px 24px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
}

.theme-sale__price {
	margin: 12px 0 4px;
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 700;
	color: var(--paper);
	line-height: 1;
}

.theme-sale__currency {
	font-size: 1.2rem;
	margin-right: 4px;
	color: var(--accent);
}

.theme-sale__price-note {
	margin: 0 0 18px;
	font-size: 0.8rem;
	color: var(--muted-2);
}

.theme-sale__price-card .form-field {
	margin: 0 0 12px;
}

.theme-sale__price-card .form-field label {
	display: block;
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: 5px;
}

.theme-sale__price-card .form-field input {
	width: 100%;
	padding: 10px 12px;
	font-size: 0.88rem;
	color: var(--paper);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.theme-sale__price-card .form-field input:focus {
	border-color: var(--accent);
	outline: none;
}

.theme-sale__cta {
	width: 100%;
	justify-content: center;
	margin-top: 6px;
}

.theme-sale__cta-note {
	margin: 10px 0 0;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--muted-2);
}

/* Member theme license cards */
.theme-license__status {
	padding: 3px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
	color: var(--muted-2);
	background: var(--surface-2);
}

.theme-license__status--paid {
	color: var(--accent-ink);
	background: var(--success, #8ce8c4);
}

.theme-license__status--pending,
.theme-license__status--review {
	color: #1d1508;
	background: var(--warm, #ffbd7a);
}

.theme-license__status--rejected {
	color: #2a0a0a;
	background: var(--danger, #ff9b9b);
}

.theme-license__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px 18px;
	margin: 14px 0;
}

.theme-license__meta div dt {
	font-size: 0.72rem;
	color: var(--muted-2);
}

.theme-license__meta div dd {
	margin: 2px 0 0;
	font-size: 0.88rem;
	color: var(--paper-soft);
	word-break: break-all;
}

.theme-license__hint {
	margin: 10px 0 0;
	font-size: 0.78rem;
	color: var(--muted);
}

@media (max-width: 860px) {
	.theme-sale__layout {
		grid-template-columns: 1fr;
	}

	.theme-sale__price-card {
		position: static;
	}
}

/* Sale page hero links */
.page-hero__links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 18px 0 0;
}

/* Theme changelog page */
.theme-changelog {
	max-width: 760px;
	margin: 0 auto;
}

.theme-changelog__entry {
	position: relative;
	padding: 22px 24px;
	margin-bottom: 16px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
}

.theme-changelog__entry--current {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent) inset;
}

.theme-changelog__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.theme-changelog__version {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--paper);
}

.theme-changelog__badge {
	padding: 2px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent-ink);
	background: var(--success, #8ce8c4);
	border-radius: 999px;
}

.theme-changelog__date {
	margin-left: auto;
	font-size: 0.78rem;
	color: var(--muted-2);
}

.theme-changelog__title {
	margin: 10px 0 8px;
	font-size: 1rem;
	color: var(--paper-soft);
}

.theme-changelog__items {
	margin: 0;
	padding-left: 18px;
	font-size: 0.86rem;
	line-height: 1.8;
	color: var(--muted);
}

.theme-changelog__back {
	margin-top: 24px;
	text-align: center;
}

/* Theme demo page */
.theme-demo__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	max-width: 960px;
	margin: 0 auto;
}

.theme-demo__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-demo__card:hover,
.theme-demo__card:focus-visible {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.theme-demo__icon {
	font-size: 1.6rem;
	line-height: 1;
}

.theme-demo__card h2 {
	margin: 0;
	font-size: 1rem;
	color: var(--paper);
}

.theme-demo__card p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.7;
	color: var(--muted);
}

.theme-demo__go {
	margin-top: auto;
	padding-top: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent);
}

.theme-demo__note {
	max-width: 960px;
	margin: 18px auto 0;
	font-size: 0.78rem;
	color: var(--muted-2);
	text-align: center;
}

/* Member theme license: rebind + key reset */
.theme-license__rebind,
.theme-license__danger {
	margin-top: 14px;
	padding: 12px 14px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.theme-license__rebind--pending {
	border-color: var(--warm, #ffbd7a);
}

.theme-license__rebind p {
	margin: 0 0 6px;
	font-size: 0.86rem;
	color: var(--paper-soft);
}

.theme-license__rebind summary,
.theme-license__danger summary {
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent);
}

.theme-license__rebind .form-field {
	margin: 12px 0;
}

.theme-license__rebind .form-field label {
	display: block;
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: 5px;
}

.theme-license__rebind .form-field input {
	width: 100%;
	max-width: 320px;
	padding: 9px 12px;
	font-size: 0.86rem;
	color: var(--paper);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.theme-license__rebind .form-field input:focus {
	border-color: var(--accent);
	outline: none;
}

.theme-license__danger .form-field,
.theme-license__danger-btn {
	margin: 12px 0;
}

.theme-license__danger-btn {
	color: #2a0a0a;
	background: var(--danger, #ff9b9b);
	border-color: var(--danger, #ff9b9b);
}

@media (max-width: 640px) {
	.theme-demo__grid {
		grid-template-columns: 1fr;
	}

	.theme-changelog__date {
		margin-left: 0;
		width: 100%;
	}
}

/* Theme docs page */
.theme-docs__toc {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 760px;
	margin: 0 auto 20px;
}

.theme-docs__toc a {
	padding: 6px 12px;
	font-size: 0.8rem;
	color: var(--muted);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
}

.theme-docs__toc a:hover,
.theme-docs__toc a:focus-visible {
	color: var(--accent);
	border-color: var(--accent);
}

.theme-docs {
	max-width: 760px;
	margin: 0 auto;
}

.theme-docs__block {
	margin-bottom: 16px;
	padding: 20px 24px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.theme-docs__block h2 {
	margin: 0 0 10px;
	font-size: 1rem;
	color: var(--paper);
}

.theme-docs__block ul {
	margin: 0;
	padding-left: 18px;
	font-size: 0.86rem;
	line-height: 1.9;
	color: var(--muted);
}

.theme-docs__help {
	margin-top: 22px;
	text-align: center;
}

.theme-docs__help p {
	margin: 0 0 10px;
	font-size: 0.82rem;
	color: var(--muted);
}

/* 404 suggestions */
.error-page__suggest {
	max-width: 480px;
	margin: 28px auto 0;
	padding: 18px 20px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-align: left;
}

.error-page__posts {
	margin: 8px 0 10px;
	padding-left: 18px;
	font-size: 0.86rem;
	line-height: 1.9;
}

.error-page__posts a {
	color: var(--paper-soft);
}

.error-page__posts a:hover,
.error-page__posts a:focus-visible {
	color: var(--accent);
}

.error-page__theme-link {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
}

.error-page__theme-link a {
	color: var(--accent);
}

/* Buyer showcase wall */
.showcase-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.showcase-card {
	display: flex;
	flex-direction: column;
	background: var(--surface, #0b111b);
	border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.showcase-card:hover,
.showcase-card:focus-visible {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.showcase-card__shot {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(127, 127, 127, 0.08);
}

.showcase-card__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.showcase-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 16px;
}

.showcase-card__title {
	font-size: 1rem;
}

.showcase-card__desc {
	font-size: 0.85rem;
	color: color-mix(in srgb, currentColor 72%, transparent);
	line-height: 1.5;
}

.showcase-card__url {
	font-size: 0.75rem;
	color: var(--accent);
	margin-top: 4px;
}

.showcase-note {
	margin-top: 14px;
	font-size: 0.85rem;
	color: color-mix(in srgb, currentColor 60%, transparent);
}

@media (max-width: 720px) {
	.showcase-grid {
		grid-template-columns: 1fr;
	}
}

/* Featured page empty state */
.featured-empty {
	background: var(--surface, #0b111b);
	border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent);
	border-radius: 14px;
	padding: 48px 24px;
	text-align: center;
}

.featured-empty h2 {
	margin-top: 0;
}

/* ---------- Member file manager ---------- */
.files-quota__bar {
	height: 10px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 12%, transparent);
	overflow: hidden;
}

.files-quota__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7f9cff));
	transition: width 0.4s ease;
}

.files-quota__text {
	margin: 10px 0 0;
	font-size: 0.9rem;
	color: color-mix(in srgb, currentColor 75%, transparent);
}

.files-upload {
	margin-top: 16px;
	text-align: center;
	padding: 36px 20px;
	border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent);
	border-radius: 14px;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.files-upload:hover,
.files-upload:focus-visible,
.files-upload.is-drag {
	border-color: var(--accent);
	background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.files-upload__icon {
	font-size: 2rem;
	margin: 0 0 6px;
	color: var(--accent);
}

.files-upload__text {
	margin: 0;
	font-weight: 600;
}

.files-upload__hint {
	margin: 6px 0 0;
	font-size: 0.8rem;
	color: color-mix(in srgb, currentColor 60%, transparent);
}

.files-upload__progress {
	max-width: 420px;
	margin: 14px auto 0;
}

.files-upload__progress-fill {
	height: 6px;
	width: 0;
	border-radius: 999px;
	background: var(--accent);
	transition: width 0.2s ease;
}

.files-upload__progress-text {
	display: block;
	margin-top: 6px;
	font-size: 0.8rem;
	color: color-mix(in srgb, currentColor 65%, transparent);
}

.files-upload__message {
	margin-top: 12px;
}

.files-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0 12px;
}

.files-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.files-filter {
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	background: transparent;
	color: inherit;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.15s ease;
}

.files-filter:hover,
.files-filter.is-active {
	border-color: var(--accent);
	color: var(--accent);
}

.files-search {
	background: var(--surface, #0b111b);
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: 999px;
	color: inherit;
	padding: 7px 16px;
	font-size: 0.9rem;
	min-width: 200px;
}

.files-search:focus {
	outline: none;
	border-color: var(--accent);
}

.files-list {
	margin-top: 0;
}

.files-empty {
	margin: 0;
	text-align: center;
	padding: 28px 0;
	color: color-mix(in srgb, currentColor 55%, transparent);
}

.files-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 4px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.files-row:last-child {
	border-bottom: none;
}

.files-row__preview {
	width: 64px;
	height: 44px;
	flex: none;
	border: none;
	background: color-mix(in srgb, currentColor 8%, transparent);
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.files-row__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.files-row__kind {
	font-size: 0.72rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.files-row__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.files-row__name {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.files-row__meta {
	font-size: 0.78rem;
	color: color-mix(in srgb, currentColor 55%, transparent);
}

.files-row__actions {
	display: flex;
	gap: 12px;
	flex: none;
	align-items: center;
}

.files-row__hint {
	font-size: 0.78rem;
	color: color-mix(in srgb, currentColor 55%, transparent);
}

/* preview modal */
.files-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
}

.files-modal[hidden] {
	display: none;
}

.files-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
}

.files-modal__body {
	position: absolute;
	inset: 5vh 5vw;
	display: flex;
	align-items: center;
	justify-content: center;
}

.files-modal__content {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.files-modal__content img,
.files-modal__content video {
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
}

.files-modal__content audio {
	width: min(520px, 80vw);
}

.files-modal__content iframe {
	width: min(920px, 90vw);
	height: 100%;
	border: none;
	border-radius: 10px;
	background: #fff;
}

.files-modal__tip {
	color: #fff;
	font-size: 0.95rem;
}

.files-modal__close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}

@media (max-width: 640px) {
	.files-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.files-row__actions .files-rename-btn {
		display: none;
	}
}

/* button-flavoured .text-link reset (upload/delete/rename/buy actions) */
button.text-link {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

button.text-link:hover,
button.text-link:focus-visible {
	color: var(--accent);
}

/* share modal */
.files-share-modal__panel {
	position: relative;
	width: min(460px, 92vw);
	/* 固定浅色卡片：标题、文件名与内容都收进同一个框，内部文字均为浅底配色 */
	background: #faf9f5;
	color: #22231f;
	border-radius: 14px;
	padding: 22px 20px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.files-share-modal .files-modal__close {
	top: -38px;
	right: 0;
}

.files-share-modal__title {
	color: #22231f;
	font-size: 1.15rem;
	margin-bottom: 4px;
}

.files-share-modal__file {
	color: #6b6860;
	font-size: 0.85rem;
	word-break: break-all;
	margin-bottom: 16px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.files-share-modal__content {
	background: none;
	padding: 0;
	width: 100%;
}

.files-share-field {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.files-share-field__url {
	flex: 1;
	min-width: 0;
	border: 1px solid #d8d4c8;
	border-radius: 8px;
	padding: 9px 10px;
	font-size: 0.82rem;
	color: #55534a;
	background: #faf9f5;
}

.files-share-copy {
	border: 1px solid var(--ink, #22231f);
	background: var(--ink, #22231f);
	color: #fff;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 0.82rem;
	cursor: pointer;
	white-space: nowrap;
}

.files-share-copy:hover {
	opacity: 0.85;
}

.files-share-code {
	font-size: 0.95rem;
	margin-bottom: 6px;
}

.files-share-code strong {
	font-size: 1.3rem;
	letter-spacing: 0.3em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "SimHei", monospace;
}

.files-share-meta {
	font-size: 0.8rem;
	color: #8a8778;
	margin-bottom: 14px;
}

.files-share-revoke {
	color: #c0392b;
	font-size: 0.85rem;
}

@media (max-width: 640px) {
	.files-row__actions {
		flex-wrap: wrap;
		gap: 8px 12px;
		justify-content: flex-end;
	}

	.files-share-field {
		flex-direction: column;
	}
}

/* tasks panel (member points view) */
.tasks-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.tasks-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 10px;
	font-size: 0.92rem;
}

.tasks-item.is-done {
	opacity: 0.62;
}

.tasks-item__state {
	flex: none;
	width: 44px;
	text-align: center;
	font-size: 0.8rem;
	padding: 3px 0;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 10%, transparent);
	font-variant-numeric: tabular-nums;
}

.tasks-item.is-done .tasks-item__state {
	background: #2e7d32;
	color: #fff;
}

.tasks-item__title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tasks-item__points {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.tasks-item__donetext {
	font-size: 0.8rem;
	color: #2e7d32;
}

/* recycle bin (file manager) */
.files-trash {
	margin-top: 16px;
}

.files-trash .settings-card__head {
	margin-bottom: 10px;
}

.files-trash .settings-card__head p {
	font-size: 0.8rem;
	color: color-mix(in srgb, currentColor 55%, transparent);
	margin: 0;
}

.files-row--trashed {
	opacity: 0.7;
}

.files-row--trashed .files-row__kind {
	font-size: 0.72rem;
	color: color-mix(in srgb, currentColor 55%, transparent);
}

.files-purge-btn {
	color: #c0392b;
}

/* image compress toggle */
.files-compress {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
	margin-top: 10px;
	cursor: pointer;
}

/* text / docx / sheet preview containers */
.files-modal__text {
	max-width: min(880px, 92vw);
	max-height: 70vh;
	overflow: auto;
	background: #fff;
	color: #22231f;
	padding: 20px 22px;
	border-radius: 8px;
	font-size: 0.85rem;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}

.files-modal__sheet table {
	border-collapse: collapse;
	font-size: 0.8rem;
}

.files-modal__sheet td,
.files-modal__sheet th {
	border: 1px solid #ddd;
	padding: 4px 8px;
}

/* Alipay face-to-face QR panel */
.alipay-qr-box {
	margin: 1rem 0 1.25rem;
	padding: 1.1rem 1.1rem 1rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 14px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.alipay-qr-box__title {
	margin: 0;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.alipay-qr-box__canvas {
	width: 200px;
	height: 200px;
	padding: 8px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.alipay-qr-box__canvas img,
.alipay-qr-box__canvas canvas {
	display: block;
	width: 184px;
	height: 184px;
}

.alipay-qr-box__hint {
	margin: 0;
	font-size: 0.82rem;
	opacity: 0.72;
	line-height: 1.6;
}

.alipay-qr-box__status {
	margin: 0;
	width: 100%;
}

/* ===== 随手记 Moments ===== */
.moments-page {
	position: relative;
	padding: 3rem 0 4rem;
	overflow: hidden;
}

.moments-page__glow {
	position: absolute;
	inset: -20% 40% 40% -10%;
	background: radial-gradient(closest-side, rgba(122, 148, 255, 0.14), transparent 70%);
	pointer-events: none;
}

.moments-page__wrap {
	position: relative;
	max-width: 1080px;
}

.moments-page__head {
	margin-bottom: 1.6rem;
}

.moments-page__title {
	margin: 0 0 0.35rem;
	font-size: 1.7rem;
	letter-spacing: 0.06em;
}

.moments-page__desc {
	margin: 0;
	opacity: 0.6;
	font-size: 0.92rem;
}

/* 发布器 */
.moment-composer {
	margin-bottom: 1.6rem;
	padding: 1rem 1.1rem 0.8rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 16px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
}

.moment-composer__input {
	width: 100%;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.98rem;
	line-height: 1.7;
	resize: vertical;
	min-height: 4.4rem;
}

.moment-composer__input:focus {
	outline: none;
}

.moment-composer__preview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.6rem 0;
}

.moment-composer__thumb {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
}

.moment-composer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.moment-composer__thumb button {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	cursor: pointer;
}

.moment-composer__bar {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding-top: 0.6rem;
	border-top: 1px dashed var(--border, rgba(255, 255, 255, 0.12));
}

.moment-composer__pick {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	opacity: 0.8;
	cursor: pointer;
	user-select: none;
}

.moment-composer__pick:hover {
	opacity: 1;
}

.moment-composer__count {
	margin-left: auto;
	font-size: 0.78rem;
	opacity: 0.5;
	font-variant-numeric: tabular-nums;
}

.moment-composer__submit {
	padding: 0.42rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--accent, #7a94ff);
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.moment-composer__submit:hover {
	filter: brightness(1.12);
}

.moment-composer__submit:disabled {
	opacity: 0.5;
	cursor: wait;
}

.moment-composer__hint {
	margin: 0.55rem 0 0;
	font-size: 0.74rem;
	opacity: 0.45;
}

.moments-login-cta {
	margin-bottom: 1.6rem;
	padding: 1rem 1.2rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 16px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
	font-size: 0.92rem;
	opacity: 0.85;
}

/* 时间线卡片 */
.moments-feed {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.moments-empty {
	text-align: center;
	opacity: 0.55;
	padding: 2.4rem 0;
	font-size: 0.92rem;
}

.moment-card {
	padding: 1.05rem 1.2rem 0.85rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 16px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
}

.moment-card__head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.moment-card__who {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.moment-card__who:hover .moment-card__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.moment-card__avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.moment-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.moment-card__name {
	font-weight: 700;
	font-size: 0.92rem;
}

.moment-card__time {
	font-size: 0.76rem;
	opacity: 0.5;
}

.moment-card__edit {
	margin-left: auto;
	opacity: 0.5;
	text-decoration: none;
	font-size: 1.1rem;
	line-height: 1;
	padding: 0.2rem 0.3rem;
}

.moment-card__edit:hover {
	opacity: 1;
}

.moment-card__text {
	margin-top: 0.65rem;
	font-size: 0.95rem;
	line-height: 1.75;
	word-break: break-word;
}

.moment-card__text p {
	margin: 0 0 0.5rem;
}

.moment-card__text a {
	color: var(--accent, #7a94ff);
}

/* 图片网格 */
.moment-images {
	display: grid;
	gap: 4px;
	margin-top: 0.7rem;
	border-radius: 12px;
	overflow: hidden;
}

.moment-images--one {
	grid-template-columns: 1fr;
}

.moment-images--two {
	grid-template-columns: repeat(2, 1fr);
}

.moment-images--three {
	grid-template-columns: repeat(3, 1fr);
}

.moment-images__item {
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
	cursor: zoom-in;
	background: rgba(255, 255, 255, 0.03);
}

.moment-images--one .moment-images__item {
	aspect-ratio: auto;
	max-height: 420px;
}

.moment-images--one .moment-images__item img {
	width: auto;
	max-width: 100%;
	max-height: 420px;
	margin: 0 auto;
}

.moment-images__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.moment-images__item:hover img {
	transform: scale(1.04);
}

/* 操作行 */
.moment-card__actions {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-top: 0.7rem;
	padding-top: 0.55rem;
	border-top: 1px dashed var(--border, rgba(255, 255, 255, 0.1));
}

.moment-card__comment-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.85rem;
	opacity: 0.75;
	cursor: pointer;
	padding: 0.15rem 0.2rem;
}

.moment-card__comment-btn:hover {
	opacity: 1;
}

.moment-card__comment-icon {
	font-size: 0.95rem;
	filter: grayscale(1) opacity(0.8);
}

/* 评论面板 */
.moment-comments {
	margin-top: 0.75rem;
	padding-top: 0.7rem;
	border-top: 1px dashed var(--border, rgba(255, 255, 255, 0.1));
}

.moment-comments__list {
	list-style: none;
	margin: 0 0 0.7rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.moment-comment {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
}

.moment-comment__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex-shrink: 0;
}

.moment-comment__body {
	min-width: 0;
	font-size: 0.86rem;
	line-height: 1.6;
}

.moment-comment__author {
	font-weight: 700;
	margin-right: 0.5rem;
}

.moment-comment__time {
	font-size: 0.72rem;
	opacity: 0.45;
}

.moment-comment__text {
	margin: 0.15rem 0 0;
	word-break: break-word;
}

.moment-comments__form {
	display: flex;
	gap: 0.5rem;
	align-items: flex-end;
}

.moment-comments__form textarea {
	flex: 1;
	padding: 0.5rem 0.7rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.16));
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.18);
	color: inherit;
	font: inherit;
	font-size: 0.86rem;
	resize: none;
}

.moment-comments__form button {
	padding: 0.45rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--accent, #7a94ff);
	color: #fff;
	font: inherit;
	font-size: 0.84rem;
	cursor: pointer;
}

.moment-comments__form button:disabled {
	opacity: 0.5;
}

.moment-comments__login {
	margin: 0;
	font-size: 0.84rem;
	opacity: 0.65;
}

.moment-comments__login a {
	color: var(--accent, #7a94ff);
}

/* 加载更多 */
.moments-more {
	text-align: center;
	padding: 1.4rem 0 0;
}

.moments-more__btn {
	padding: 0.5rem 2.2rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.2));
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.88rem;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.moments-more__btn:hover {
	border-color: var(--accent, #7a94ff);
}

/* 灯箱 */
#moment-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.82);
	cursor: zoom-out;
}

#moment-lightbox.is-open {
	display: flex;
}

#moment-lightbox img {
	max-width: 94vw;
	max-height: 92vh;
	border-radius: 10px;
	box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
}

@media (max-width: 600px) {
	.moment-images--three {
		gap: 2px;
	}

	.moment-composer__bar {
		flex-wrap: wrap;
		gap: 0.6rem;
	}

	.moment-composer__count {
		margin-left: 0;
	}
}

/* 随手记：可见性开关 / 私密标识 / 评论删除 */
.moment-vis {
	display: inline-flex;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.16));
	border-radius: 999px;
	overflow: hidden;
}

.moment-vis__opt {
	padding: 0.3rem 0.75rem;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.78rem;
	opacity: 0.6;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.moment-vis__opt.is-active {
	background: rgba(122, 148, 255, 0.18);
	opacity: 1;
}

.moment-card__vis {
	display: inline-block;
	margin-left: 0.45rem;
	padding: 0.06rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.7rem;
	font-weight: 400;
	opacity: 0.75;
	vertical-align: 1px;
}

.moment-comment__del {
	margin-left: auto;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 14px;
	line-height: 22px;
	opacity: 0.35;
	cursor: pointer;
}

.moment-comment__del:hover {
	background: rgba(255, 80, 80, 0.15);
	opacity: 1;
}

/* 随手记：页签 / 富文本 / 操作按钮 / 编辑框 / 话题横幅 */
.moments-tabs {
	display: inline-flex;
	gap: 0.25rem;
	margin-bottom: 1.1rem;
	padding: 0.25rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 999px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
}

.moments-tabs__tab {
	padding: 0.35rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.88rem;
	opacity: 0.6;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.moments-tabs__tab.is-active {
	background: rgba(122, 148, 255, 0.2);
	opacity: 1;
}

.moment-tag {
	color: var(--accent, #7a94ff);
	text-decoration: none;
	font-weight: 600;
}

.moment-tag:hover {
	text-decoration: underline;
}

.moment-mention {
	color: var(--accent, #7a94ff);
	font-weight: 600;
}

.moment-card__minor {
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 0.95rem;
	opacity: 0.55;
	cursor: pointer;
	padding: 0.15rem 0.25rem;
	line-height: 1;
}

.moment-card__minor:hover {
	opacity: 1;
}

.moment-card__report:hover {
	opacity: 1;
	filter: hue-rotate(-40deg);
}

.moments-tag-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 12px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
	font-size: 0.92rem;
}

.moments-tag-banner strong {
	color: var(--accent, #7a94ff);
}

.moments-tag-banner a {
	color: inherit;
	opacity: 0.65;
	text-decoration: none;
	font-size: 0.85rem;
	white-space: nowrap;
}

.moments-tag-banner a:hover {
	opacity: 1;
}

.moment-edit {
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px dashed var(--border, rgba(255, 255, 255, 0.1));
}

.moment-edit__input {
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.16));
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.18);
	color: inherit;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.6;
	resize: vertical;
}

.moment-edit__bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: 0.5rem;
	font-size: 0.82rem;
}

.moment-edit__vis {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	opacity: 0.8;
	cursor: pointer;
}

.moment-edit__save,
.moment-edit__cancel {
	padding: 0.35rem 1rem;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
}

.moment-edit__save {
	background: var(--accent, #7a94ff);
	color: #fff;
}

.moment-edit__save:disabled {
	opacity: 0.5;
}

.moment-edit__cancel {
	background: transparent;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.2));
	color: inherit;
}

/* ===== 随手记：个人主页（TA 的随手记） ===== */
.moment-author__head {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	flex-wrap: wrap;
	margin: 0.5rem 0 1.6rem;
	padding: 1.4rem 1.5rem;
	border-radius: 18px;
	background: var(--surface, rgba(255, 255, 255, 0.04));
	border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
	position: relative;
}

.moment-author__avatar img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid var(--accent, #7a94ff);
}

.moment-author__info {
	flex: 1;
	min-width: 220px;
}

.moment-author__name {
	font-size: 1.35rem;
	margin: 0 0 0.15rem;
}

.moment-author__handle {
	margin: 0;
	opacity: 0.5;
	font-size: 0.85rem;
}

.moment-author__bio {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	line-height: 1.6;
	opacity: 0.85;
}

.moment-author__stats {
	list-style: none;
	display: flex;
	gap: 1.4rem;
	margin: 0.7rem 0 0;
	padding: 0;
	font-size: 0.82rem;
	opacity: 0.85;
}

.moment-author__stats strong {
	font-size: 1rem;
	margin-right: 0.25rem;
}

.moment-author__back {
	font-size: 0.85rem;
	text-decoration: none;
	opacity: 0.6;
	align-self: flex-start;
}

.moment-author__back:hover {
	opacity: 1;
}

@media (max-width: 640px) {
	.moment-author__head {
		padding: 1.1rem 1.1rem;
		gap: 1rem;
	}

	.moment-author__avatar img {
		width: 68px;
		height: 68px;
	}
}

/* ===== 随手记：分享卡片弹窗 ===== */
.moment-share {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(8, 10, 20, 0.78);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow-y: auto;
}

.moment-share__panel {
	background: var(--surface, #1c2338);
	border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
	border-radius: 16px;
	padding: 1rem 1rem 0.8rem;
	max-width: min(560px, 94vw);
	max-height: 94vh;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.moment-share__title {
	margin: 0;
	font-weight: 700;
	text-align: center;
}

.moment-share__canvas {
	overflow-y: auto;
	border-radius: 10px;
	max-height: 58vh;
	background: #10162a;
}

.moment-share__canvas canvas {
	display: block;
	width: 100%;
	height: auto;
}

.moment-share__bar {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
}

.moment-share__download,
.moment-share__close {
	border: none;
	border-radius: 999px;
	padding: 0.55rem 1.4rem;
	font-size: 0.9rem;
	cursor: pointer;
	font-weight: 600;
}

.moment-share__download {
	background: var(--accent, #7a94ff);
	color: #fff;
}

.moment-share__close {
	background: transparent;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.2));
	color: inherit;
}

.moment-share__hint {
	margin: 0;
	text-align: center;
	font-size: 0.74rem;
	opacity: 0.45;
}

/* ===== 侧边栏：随手记挂件 + 热门话题 ===== */
.moment-widget {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.moment-widget__link {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	text-decoration: none;
	color: inherit;
}

.moment-widget__link:hover .moment-widget__text {
	opacity: 1;
}

.moment-widget__avatar img,
.moment-widget__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.moment-widget__avatar span {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.moment-widget__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.moment-widget__meta {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.moment-widget__name {
	font-size: 0.8rem;
	font-weight: 700;
}

.moment-widget__time {
	font-size: 0.72rem;
	opacity: 0.45;
}

.moment-widget__text {
	font-size: 0.82rem;
	line-height: 1.55;
	opacity: 0.75;
	transition: opacity 0.2s ease;
	word-break: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tag-pill {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	font-size: 0.78rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.tag-pill:hover {
	border-color: var(--accent, #7a94ff);
	background: color-mix(in srgb, var(--accent, #7a94ff) 12%, transparent);
}

.tag-pill__count {
	font-size: 0.68rem;
	opacity: 0.45;
}

/* ===== 随手记页：主列 + 侧栏 ===== */
.moments-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2rem;
	align-items: start;
}

.moments-aside__sticky {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.moments-aside__widget {
	background: var(--surface, rgba(255, 255, 255, 0.04));
	border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
	border-radius: 16px;
	padding: 1.2rem 1.3rem;
	margin: 0;
}

.moments-aside__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-size: 0.82rem;
	line-height: 1.6;
	opacity: 0.8;
}

.moments-aside__list li::before {
	content: '·';
	margin-right: 0.45rem;
	opacity: 0.5;
}

.tag-pill.is-active {
	border-color: var(--accent, #7a94ff);
	background: color-mix(in srgb, var(--accent, #7a94ff) 16%, transparent);
	color: var(--accent, #7a94ff);
	font-weight: 600;
}

@media (max-width: 1024px) {
	.moments-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.moments-aside {
		order: -1;
	}

	.moments-aside__sticky {
		position: static;
	}
}

@media (max-width: 640px) {
	.moments-aside {
		display: none;
	}
}

/* ===== 随手记：工具栏（页签 + 搜索） ===== */
.moments-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.moments-toolbar .moments-tabs {
	margin-bottom: 0;
}

.moments-search {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
	border-radius: 999px;
	padding: 0.2rem 0.4rem 0.2rem 0.9rem;
	background: var(--surface, rgba(255, 255, 255, 0.04));
}

.moments-search input {
	border: none;
	background: transparent;
	color: inherit;
	font-size: 0.84rem;
	width: 150px;
	outline: none;
}

.moments-search input:focus {
	outline: none;
}

.moments-search button {
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0.9rem;
	padding: 0.15rem 0.3rem;
	border-radius: 50%;
}

.moments-search button:hover {
	background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
	.moments-search input {
		width: 110px;
	}
}

/* ─────────────────────────────────────────────
   联系站长 / 工单反馈
   ───────────────────────────────────────────── */
.notice--error {
	border: 1px solid rgba(240, 132, 110, 0.4);
	background: rgba(240, 132, 110, 0.08);
	color: #f2a592;
}

.ticket-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ticket-form-card .ticket-form,
.ticket-reply-card .ticket-reply-form {
	display: grid;
	gap: 14px;
}

.ticket-form-card h3,
.ticket-reply-card h3 {
	margin: 0 0 4px;
}

.ticket-form__hint {
	margin: 0;
	font-size: 0.86rem;
	color: var(--muted-2);
}

.ticket-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	line-height: 1.6;
	margin-right: 8px;
	border: 1px solid transparent;
	vertical-align: middle;
}

.ticket-badge--open {
	color: #f5c376;
	border-color: rgba(245, 195, 118, 0.45);
	background: rgba(245, 195, 118, 0.1);
}

.ticket-badge--replied {
	color: var(--accent);
	border-color: rgba(120, 227, 196, 0.45);
	background: rgba(120, 227, 196, 0.1);
}

.ticket-badge--closed {
	color: var(--muted-2);
	border-color: var(--line-strong);
	background: rgba(158, 184, 212, 0.06);
}

.ticket-list {
	display: grid;
	gap: 12px;
}

.ticket-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface-2);
	transition: border-color 0.2s ease;
}

.ticket-item:hover {
	border-color: var(--line-strong);
}

.ticket-item__main {
	flex: 1;
	min-width: 0;
}

.ticket-item h3 {
	margin: 0 0 6px;
	font-size: 1rem;
}

.ticket-item h3 a {
	color: var(--paper);
	text-decoration: none;
}

.ticket-item h3 a:hover {
	color: var(--accent);
}

.ticket-item__meta {
	margin: 0;
	font-size: 0.86rem;
	color: var(--muted-2);
}

.ticket-item__new {
	color: var(--accent);
}

.ticket-item__open {
	white-space: nowrap;
}

.ticket-thread {
	display: grid;
	gap: 14px;
}

.ticket-msg {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px 20px;
	background: var(--surface-2);
}

.ticket-msg--admin {
	border-color: rgba(120, 227, 196, 0.3);
	background: rgba(120, 227, 196, 0.05);
}

.ticket-msg__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
}

.ticket-msg__who {
	font-weight: 700;
	font-size: 0.86rem;
	color: var(--paper);
}

.ticket-msg--admin .ticket-msg__who {
	color: var(--accent);
}

.ticket-msg__head time {
	font-size: 0.8rem;
	color: var(--muted-2);
}

.ticket-msg__body {
	white-space: pre-wrap;
	word-break: break-word;
	color: var(--paper-soft);
	line-height: 1.7;
}

.ticket-closed-hint,
.ticket-empty-hint {
	margin: 0;
	color: var(--muted-2);
	font-size: 0.92rem;
}

@media (max-width: 640px) {
	.ticket-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* ─────────────────────────────────────────────
   联系站长 · 微信风聊天
   ───────────────────────────────────────────── */
.ticket-form__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 14px;
}

.ticket-form .btn {
	justify-self: start;
}

.ticket-convs {
	margin-top: 18px;
	display: grid;
	gap: 8px;
}

.ticket-conv {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface-2);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.ticket-conv:hover {
	border-color: rgba(120, 227, 196, 0.35);
	background: var(--surface-3);
}

.ticket-conv__avatar {
	position: relative;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.ticket-conv__dot {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ff6b57;
	border: 2px solid var(--surface-2);
}

.ticket-conv__main {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 4px;
}

.ticket-conv__row1 {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.ticket-conv__row1 strong {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.98rem;
	color: var(--paper);
}

.ticket-conv__row1 time {
	font-size: 0.78rem;
	color: var(--muted-2);
	white-space: nowrap;
}

.ticket-conv__row2 {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ticket-conv__snippet {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.86rem;
	color: var(--muted-2);
}

.ticket-conv .ticket-badge {
	flex: none;
	margin-right: 0;
}

/* ── 聊天窗口 ── */
.ticket-chat {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	overflow: hidden;
}

.ticket-chat__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: var(--surface-2);
}

.ticket-chat__back {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--paper);
	background: rgba(158, 184, 212, 0.1);
	text-decoration: none;
}

.ticket-chat__back:hover {
	background: rgba(158, 184, 212, 0.2);
	color: var(--accent);
}

.ticket-chat__peer {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 2px;
}

.ticket-chat__peer strong {
	font-size: 1rem;
	color: var(--paper);
}

.ticket-chat__peer span {
	font-size: 0.8rem;
	color: var(--muted-2);
}

.ticket-chat__id {
	flex: none;
	font-size: 0.8rem;
	color: var(--muted-2);
}

.ticket-chat__scroll {
	display: grid;
	gap: 14px;
	padding: 22px 20px;
	max-height: 560px;
	overflow-y: auto;
}

.ticket-chat__subject {
	margin: 0 0 2px;
	text-align: center;
	font-size: 0.92rem;
	color: var(--paper);
}

.ticket-chat__subject::before {
	content: '「 ';
	color: var(--muted-2);
}

.ticket-chat__subject::after {
	content: ' 」';
	color: var(--muted-2);
}

.ticket-chat__chip {
	margin: 0;
	text-align: center;
	font-size: 0.78rem;
	color: var(--muted-2);
}

.ticket-chat__chip--closed {
	color: #f5c376;
}

.ticket-chat__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ticket-chat__row--me {
	flex-direction: row-reverse;
}

.ticket-chat__avatar {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.ticket-chat__avatar--peer {
	font-size: 1rem;
	font-weight: 700;
	color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.ticket-chat__avatar--me img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ticket-chat__col {
	display: grid;
	gap: 4px;
	max-width: min(78%, 520px);
}

.ticket-chat__row--me .ticket-chat__col {
	align-items: flex-end;
	text-align: left;
}

.ticket-chat__bubble {
	padding: 10px 14px;
	border-radius: 14px;
	line-height: 1.7;
	font-size: 0.95rem;
}

/* pre-wrap 放在内层 span：模板缩进不渲染，用户消息换行仍保留 */
.ticket-chat__text {
	display: block;
	white-space: pre-wrap;
	word-break: break-word;
}

.ticket-chat__row--me .ticket-chat__bubble {
	background: var(--accent);
	color: var(--accent-ink);
	border-top-right-radius: 4px;
}

.ticket-chat__row--peer .ticket-chat__bubble {
	background: var(--surface-3);
	color: var(--paper);
	border: 1px solid var(--line);
	border-top-left-radius: 4px;
}

.ticket-chat__time {
	font-size: 0.72rem;
	color: var(--muted-2);
}

.ticket-chat__composer {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	padding: 12px 14px;
	border-top: 1px solid var(--line);
	background: var(--surface-2);
}

.ticket-chat__composer textarea {
	flex: 1;
	resize: none;
	border: none;
	background: var(--surface);
	color: var(--paper);
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 0.95rem;
	line-height: 1.5;
	min-height: 42px;
	max-height: 120px;
	overflow-y: auto;
}

.ticket-chat__composer textarea:focus {
	outline: 1px solid rgba(120, 227, 196, 0.45);
}

.ticket-chat__send {
	flex: none;
	border: none;
	cursor: pointer;
	padding: 10px 22px;
	border-radius: 10px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.95rem;
	font-weight: 700;
	transition: background 0.2s ease;
}

.ticket-chat__send:hover {
	background: var(--accent-strong);
}

.ticket-chat__note {
	margin: 10px 2px 0;
	font-size: 0.82rem;
	color: var(--muted-2);
}

@media (max-width: 900px) {
	.ticket-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ticket-chat__scroll {
		padding: 16px 12px;
	}

	.ticket-chat__col {
		max-width: 82%;
	}

	.ticket-chat__send {
		padding: 10px 16px;
	}
}

/* ─────────────────────────────────────────────
   工单：FAQ / 附件 / 未读红点
   ───────────────────────────────────────────── */
.member-nav__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff6b57;
	margin-left: auto;
}

.ticket-faqs {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}

.ticket-faqs__title {
	margin: 0 0 2px;
	font-size: 0.98rem;
	color: var(--paper);
}

.ticket-faq {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface-2);
	padding: 0;
	overflow: hidden;
}

.ticket-faq summary {
	cursor: pointer;
	padding: 12px 16px;
	font-size: 0.92rem;
	color: var(--paper-soft);
	list-style: none;
	position: relative;
}

.ticket-faq summary::-webkit-details-marker {
	display: none;
}

.ticket-faq summary::after {
	content: '+';
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted-2);
	font-size: 1.1rem;
}

.ticket-faq[open] summary::after {
	content: '−';
}

.ticket-faq summary:hover {
	color: var(--accent);
}

.ticket-faq p {
	margin: 0;
	padding: 0 16px 12px;
	font-size: 0.88rem;
	color: var(--muted);
	line-height: 1.7;
}

.ticket-faqs__hint {
	margin: 2px 0 0;
	font-size: 0.82rem;
	color: var(--muted-2);
}

/* ── 附件 ── */
.ticket-chat__bar {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
}

.ticket-chat__attach {
	flex: none;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.3rem;
	line-height: 1;
	color: var(--muted);
	background: var(--surface);
	transition: color 0.2s ease, background 0.2s ease;
}

.ticket-chat__attach:hover:not(:disabled) {
	color: var(--accent);
	background: var(--surface-3);
}

.ticket-chat__attach:disabled {
	opacity: 0.5;
	cursor: wait;
}

.ticket-chat__previews {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.ticket-chat__preview {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--line);
}

.ticket-chat__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ticket-chat__preview-del {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 18px;
	height: 18px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
}

.ticket-chat__error {
	margin: 0;
	width: 100%;
	font-size: 0.84rem;
	color: #f2a592;
}

.ticket-chat__imgs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.ticket-chat__text + .ticket-chat__imgs {
	margin-top: 8px;
}

.ticket-chat__imgs img {
	max-width: 168px;
	max-height: 128px;
	border-radius: 8px;
	display: block;
}

/* 工单页隐藏 AI 悬浮球（与发送按钮重叠） */
body:has(.ticket-chat) .ai-chat-fab,
body:has(.ticket-convs) .ai-chat-fab {
	display: none;
}

/* ─────────────────────────────────────────────
   关于页
   ───────────────────────────────────────────── */
.about-hero {
	padding: 72px 0 56px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(ellipse 60% 80% at 15% 0%, rgba(120, 227, 196, 0.08), transparent 60%),
		radial-gradient(ellipse 50% 70% at 85% 10%, rgba(126, 156, 216, 0.07), transparent 60%);
}

.about-hero__title {
	margin: 14px 0 18px;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	line-height: 1.15;
	color: var(--paper);
}

.about-hero__title em {
	font-style: normal;
	color: var(--accent);
}

.about-hero__desc {
	max-width: 620px;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--muted);
}

.about-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin: 40px 0 0;
}

.about-stat {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface-2);
}

.about-stat dt {
	margin: 0 0 6px;
	font-size: 0.84rem;
	color: var(--muted-2);
}

.about-stat dd {
	margin: 0;
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--paper);
}

.about-stat dd span {
	font-size: 0.86rem;
	font-weight: 400;
	color: var(--muted-2);
}

/* ── 宣言 ── */
.about-manifesto {
	padding: 72px 0;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.about-manifesto__line {
	margin: 0 0 16px;
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	font-weight: 700;
	line-height: 1.4;
	color: var(--paper);
}

.about-manifesto__sub {
	max-width: 640px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.9;
	color: var(--muted);
}

/* ── 通用分节 ── */
.about-section {
	padding: 64px 0;
	border-bottom: 1px solid var(--line);
}

.about-section__head {
	margin-bottom: 32px;
}

.about-section__head h2 {
	margin: 10px 0 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--paper);
}

/* ── 岛上有什么 ── */
.about-places {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.about-place {
	display: flex;
	gap: 16px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface-2);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-place:hover {
	border-color: rgba(120, 227, 196, 0.4);
	transform: translateY(-3px);
}

.about-place__icon {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: var(--accent);
	background: rgba(120, 227, 196, 0.1);
}

.about-place__icon .icon {
	width: 22px;
	height: 22px;
}

.about-place__body {
	display: grid;
	gap: 8px;
	align-content: start;
}

.about-place__body strong {
	font-size: 1.02rem;
	color: var(--paper);
}

.about-place__body p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--muted);
}

.about-place__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--accent);
}

.about-place__go .icon {
	width: 15px;
	height: 15px;
	transition: transform 0.2s ease;
}

.about-place:hover .about-place__go .icon {
	transform: translateX(4px);
}

/* ── 会员体系 ── */
.about-member__grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 16px;
	align-items: stretch;
}

.about-plan {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface-2);
}

.about-plan--pro {
	position: relative;
	border-color: rgba(120, 227, 196, 0.4);
	background:
		radial-gradient(ellipse 70% 90% at 90% 0%, rgba(120, 227, 196, 0.08), transparent 60%),
		var(--surface-3);
}

.about-plan__badge {
	position: absolute;
	top: 22px;
	right: 22px;
	margin: 0;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent-ink);
	background: var(--accent);
}

.about-plan__name {
	margin: 0 0 4px;
	font-size: 0.94rem;
	color: var(--muted-2);
}

.about-plan__price {
	margin: 0 0 18px;
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--paper);
}

.about-plan__price span {
	color: var(--accent);
}

.about-plan__price em {
	font-style: normal;
	font-size: 0.86rem;
	font-weight: 400;
	color: var(--muted-2);
	margin-left: 8px;
}

.about-plan__list {
	display: grid;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.about-plan__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--paper-soft);
}

.about-plan__list .icon {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 3px;
	color: var(--accent);
}

.about-plan__note {
	margin: 0 0 20px;
	font-size: 0.84rem;
	line-height: 1.7;
	color: var(--muted-2);
}

.about-plan__btn {
	margin-top: auto;
	justify-self: start;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.about-plan__btn .icon {
	width: 16px;
	height: 16px;
}

/* ── 几条原则 ── */
.about-rules {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-rule {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding: 26px 4px;
	border-top: 1px solid var(--line);
}

.about-rule:last-child {
	border-bottom: 1px solid var(--line);
}

.about-rule__num {
	flex: none;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.about-rule__body strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.06rem;
	color: var(--paper);
}

.about-rule__body p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.8;
	color: var(--muted);
	max-width: 640px;
}

/* ── 为什么叫QUQ Lab ── */
.about-name {
	padding: 88px 0;
	text-align: center;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(ellipse 50% 90% at 50% 100%, rgba(120, 227, 196, 0.06), transparent 70%);
}

.about-name__spark {
	width: 30px;
	height: 30px;
	color: var(--accent);
	margin-bottom: 10px;
}

.about-name h2 {
	margin: 0 0 18px;
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
	color: var(--paper);
}

.about-name p {
	max-width: 560px;
	margin: 0 auto;
	font-size: 1.02rem;
	line-height: 2;
	color: var(--muted);
}

/* ── 联系 ── */
.about-contact {
	border-bottom: none;
}

.about-contact__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.about-contact__card {
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface-2);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-contact__card:hover {
	border-color: rgba(120, 227, 196, 0.4);
	transform: translateY(-3px);
}

.about-contact__card .icon {
	width: 24px;
	height: 24px;
	color: var(--accent);
}

.about-contact__card strong {
	font-size: 1.02rem;
	color: var(--paper);
}

.about-contact__card p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--muted);
}

.about-quote {
	margin: 56px 0 0;
	padding: 32px;
	text-align: center;
	border: 1px dashed var(--line-strong);
	border-radius: 20px;
	background: var(--surface);
}

.about-quote p {
	margin: 0 0 10px;
	font-size: 1.2rem;
	color: var(--paper);
}

.about-quote cite {
	font-style: normal;
	font-size: 0.9rem;
	color: var(--muted-2);
}

@media (max-width: 960px) {
	.about-places,
	.about-contact__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-hero__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-member__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.about-places,
	.about-contact__grid {
		grid-template-columns: 1fr;
	}

	.about-hero {
		padding: 48px 0 40px;
	}

	.about-rule {
		gap: 16px;
	}
}

/* ─────────────────────────────────────────────
   随手记页重设计
   ───────────────────────────────────────────── */
.moments-hero {
	margin-bottom: 2rem;
	padding: 2.4rem 2.2rem 2.1rem;
	border: 1px solid var(--line);
	border-radius: 22px;
	background:
		radial-gradient(ellipse 55% 90% at 12% 0%, rgba(120, 227, 196, 0.09), transparent 60%),
		radial-gradient(ellipse 45% 80% at 88% 10%, rgba(122, 148, 255, 0.09), transparent 60%),
		var(--surface);
}

.moments-hero__title {
	margin: 12px 0 14px;
	font-size: clamp(1.9rem, 4.2vw, 2.7rem);
	line-height: 1.2;
	color: var(--paper);
}

.moments-hero__title em {
	font-style: normal;
	color: var(--accent);
}

.moments-hero__desc {
	max-width: 560px;
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--muted);
}

/* 发布器升级 */
.moment-composer {
	padding: 1.2rem 1.3rem 1rem;
	border: 1px solid rgba(120, 227, 196, 0.28);
	border-radius: 20px;
	background:
		radial-gradient(ellipse 60% 100% at 50% 0%, rgba(120, 227, 196, 0.05), transparent 70%),
		var(--surface-2);
}

.moment-composer__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--accent);
}

.moment-composer__label span {
	font-size: 0.85rem;
}

.moment-composer__submit {
	background: var(--accent);
	color: var(--accent-ink);
	border: none;
	font-weight: 700;
}

.moment-composer__submit:hover {
	background: var(--accent-strong);
}

.moment-composer:focus-within {
	border-color: rgba(120, 227, 196, 0.45);
}

/* 工具栏 pill 化 */
.moments-toolbar {
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
}

.moments-tabs__tab {
	border-radius: 999px;
	padding: 7px 18px;
}

.moments-tabs__tab.is-active {
	background: var(--accent);
	color: var(--accent-ink);
}

.moments-search input {
	border-radius: 999px;
}

/* ─────────────────────────────────────────────
   404 页重设计
   ───────────────────────────────────────────── */
.error-page {
	padding: 5rem 0 6rem;
	background:
		radial-gradient(ellipse 50% 40% at 50% -5%, rgba(120, 227, 196, 0.08), transparent 70%),
		radial-gradient(ellipse 40% 35% at 80% 20%, rgba(122, 148, 255, 0.07), transparent 70%);
}

.error-page__code {
	font-size: clamp(4.5rem, 12vw, 8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	background: linear-gradient(135deg, var(--paper) 30%, rgba(120, 227, 196, 0.75));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.error-page__dek {
	color: var(--muted, rgba(238, 244, 248, 0.68));
}

.error-places {
	max-width: 780px;
	margin: 2.6rem auto 0;
	text-align: left;
}

.error-places__head {
	text-align: center;
	margin-bottom: 18px;
}

.error-places__head span {
	color: var(--accent);
}

.error-places__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.error-place {
	position: relative;
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface-2, rgba(255, 255, 255, 0.04));
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.error-place:hover {
	border-color: rgba(120, 227, 196, 0.4);
	transform: translateY(-2px);
}

.error-place--hot {
	border-color: rgba(120, 227, 196, 0.45);
	background:
		radial-gradient(ellipse 70% 90% at 80% 0%, rgba(120, 227, 196, 0.1), transparent 65%),
		var(--surface-2, rgba(255, 255, 255, 0.04));
}

.error-place__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent-ink, #06121f);
	background: var(--accent);
}

.error-place__icon {
	width: 26px;
	height: 26px;
	color: var(--accent);
}

.error-place strong {
	font-size: 0.98rem;
	color: var(--paper, #eef4f8);
}

.error-place p {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--muted, rgba(238, 244, 248, 0.6));
}

@media (max-width: 640px) {
	.error-places__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 440px) {
	.error-places__grid {
		grid-template-columns: 1fr;
	}
}
