/* inter-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-cyrillic-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-cyrillic-wght-normal.DqGufNeO.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-greek-ext-wght-normal.DlzME5K_.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* inter-greek-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-greek-wght-normal.CkhJZR-_.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-vietnamese-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-vietnamese-wght-normal.CBcvBZtf.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-latin-ext-wght-normal.DO1Apj_S.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/inter-latin-wght-normal.Dx4kXJAl.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* newsreader-vietnamese-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-vietnamese-wght-normal.Czsa-EzN.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* newsreader-latin-ext-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-latin-ext-wght-normal.C-3rgBeH.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* newsreader-latin-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-latin-wght-normal.CCVVNp6i.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ibm-plex-mono-cyrillic-ext-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.xuaO2J-f.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.DMdlQ8Kv.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ibm-plex-mono-cyrillic-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-cyrillic-400-normal.BSMlKf0J.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-400-normal.CEL4l2ZJ.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ibm-plex-mono-vietnamese-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-vietnamese-400-normal.BulugwFq.woff2) format('woff2'), url(/_astro/ibm-plex-mono-vietnamese-400-normal.DDuiU_S-.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* ibm-plex-mono-latin-ext-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-latin-ext-400-normal.BmRBH3aV.woff2) format('woff2'), url(/_astro/ibm-plex-mono-latin-ext-400-normal.D3D2R8hC.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ibm-plex-mono-latin-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2) format('woff2'), url(/_astro/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
	--bg: #f4f4f6;
	--card: #ffffff;
	--ink: #111111;
	--muted: #8a8a8e;
	--line: #ececee;
	--chip: #f2f2f4;
	--radius: 14px;
	--radius-sm: 10px;
	--gap: 1.25rem;
	--shadow: 0 8px 28px rgb(17 17 17 / 0.06);
	--sans: 'Inter Variable', Inter, 'PingFang SC', 'Noto Sans SC', sans-serif;
	--serif: 'Newsreader Variable', Newsreader, 'Songti SC', 'Noto Serif SC', serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--paper: #f4f4f6;
	--paper-deep: #ececee;
	--ink-soft: #8a8a8e;
	--rule: #ececee;
	--prussian: #111;
	--prussian-deep: #111;
	--amber: #c48a3a;
	--copper: #3d6b5a;
	--danger: #b42318;
	--admin-paper: #f7f7f8;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
	margin: 0;
	color: var(--ink);
	background: var(--bg);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.65;
	min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #000; }

:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgb(255 255 255 / 0.78);
	backdrop-filter: saturate(1.3) blur(18px);
	-webkit-backdrop-filter: saturate(1.3) blur(18px);
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.06);
}

.preview-banner {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.62rem 1.1rem;
	background: #2c2d31;
	color: #f4f4f6;
	font-size: 0.88rem;
}

.preview-banner p { margin: 0; }

.preview-banner a {
	flex: none;
	color: #fff;
	background: rgb(255 255 255 / 0.12);
	padding: 0.32rem 0.85rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

.preview-banner a:hover { background: rgb(255 255 255 / 0.2); }

.has-preview .topbar { top: 2.75rem; }

.topbar-inner {
	width: min(1120px, calc(100% - 1.8rem));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 40px;
	align-items: center;
	min-height: 56px;
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	border-radius: 10px;
}

.topbar .icon-btn {
	color: #3a3a3c;
}
.topbar .icon-btn:hover {
	background: var(--chip);
	color: #111;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 0;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.22rem;
	letter-spacing: -0.028em;
	line-height: 1;
	white-space: nowrap;
}

.logo-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: #111;
	color: #fff;
}
.logo-mark svg { display: block; }

.desk-nav {
	display: none;
	align-items: center;
	gap: 0.12rem;
	margin: 0 auto;
	font-size: 0.9rem;
	color: #5c5c60;
}

.desk-nav a {
	padding: 0.38rem 0.78rem;
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease;
}

.desk-nav a:hover {
	color: #111;
	background: var(--chip);
}

.desk-nav a[aria-current='page'] {
	color: #111;
	font-weight: 600;
	background: var(--chip);
}

.top-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.3rem;
}

.lang-switch {
	display: none;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.55rem;
	border-radius: 10px;
	color: #5c5c60;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.04em;
}

.lang-switch:hover {
	background: var(--chip);
	color: #111;
}

.write-btn {
	display: none;
	align-items: center;
	gap: 0.35rem;
	background: #111;
	color: #fff !important;
	border-radius: 999px;
	padding: 0.42rem 0.95rem;
	font-size: 0.84rem;
	font-weight: 600;
}

.write-btn:hover { background: #2a2a2a; }

.drawer {
	display: none;
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 0.6rem 1.25rem 1rem;
}

.drawer.open { display: grid; gap: 0.7rem; }

.page {
	width: min(1120px, calc(100% - 2rem));
	margin: var(--gap) auto 6rem;
	display: grid;
	gap: var(--gap);
}

.page > main {
	display: grid;
	gap: var(--gap);
	min-width: 0;
	align-content: start;
}

.page.wide { grid-template-columns: 1fr; }

.card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero {
	position: relative;
	overflow: hidden;
	min-height: 280px;
	color: #fff;
}

.hero-slide > img,
.hero-slide > .cover-ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	filter: saturate(0.94) contrast(1.06) brightness(0.78);
	transition: transform 0.7s ease;
}

.hero-slide {
	display: none;
	position: relative;
	min-height: 280px;
	background: #191a1c;
}
.hero-slide.active { display: block; min-height: 280px; }
.hero-slide.active:hover > img { transform: scale(1.07); }
.hero-slide.no-cover {
	background:
		radial-gradient(90% 70% at 88% 8%, rgb(61 107 90 / 0.32), transparent 52%),
		#191a1c;
}
.hero-slide.no-cover > .cover-ph {
	filter: none;
	background: transparent;
}
.hero-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgb(0 0 0 / 0.58) 0%, rgb(0 0 0 / 0.22) 52%, rgb(0 0 0 / 0.1) 100%),
		linear-gradient(180deg, rgb(0 0 0 / 0.06) 0%, rgb(0 0 0 / 0.55) 100%);
}

.hero-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	padding: 1.45rem 1.4rem 2.55rem;
	max-width: 34rem;
}

.badge {
	position: absolute;
	top: 0.85rem;
	left: 0.95rem;
	z-index: 2;
	display: inline-flex;
	background: rgb(255 255 255 / 0.14);
	color: #fff;
	border: 1px solid rgb(255 255 255 / 0.22);
	border-radius: 999px;
	padding: 0.18rem 0.62rem;
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	backdrop-filter: blur(10px);
}

.hero-copy h2 {
	margin: 0 0 0.45rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.7rem, 3.8vw, 2.28rem);
	line-height: 1.18;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.hero-copy p {
	margin: 0 0 0.95rem;
	color: rgb(255 255 255 / 0.86);
	font-size: 0.92rem;
	line-height: 1.55;
}

.byline {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.78rem;
	color: rgb(255 255 255 / 0.82);
}

.hero .avatar {
	width: 26px;
	height: 26px;
	border: 1.5px solid rgb(255 255 255 / 0.8);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15);
}

.byline span + span::before {
	content: '·';
	margin-right: 0.45rem;
	opacity: 0.55;
}

.avatar,
.avatar-lg {
	border-radius: 50%;
	object-fit: cover;
	background: #ddd;
}

.avatar { width: 28px; height: 28px; }
.avatar-lg { width: 72px; height: 72px; }

.dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.85rem;
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	z-index: 2;
}

.dots button {
	position: relative;
	width: 7px;
	height: 7px;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.38);
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.dots button.on {
	width: 28px;
	height: 6px;
	background: rgb(255 255 255 / 0.28);
}

.dots button .dot-fill {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
}

.dots button.on .dot-fill {
	animation: hero-progress 6s linear forwards;
}

.hero.is-paused .dots button.on .dot-fill {
	animation-play-state: paused;
}

@keyframes hero-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.quick {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	padding: 0.85rem 0.4rem;
	text-align: center;
}

.quick a {
	display: grid;
	gap: 0.35rem;
	justify-items: center;
	font-size: 0.78rem;
	color: #333;
}

.quick svg { width: 22px; height: 22px; }

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.1rem 0.2rem;
	font-weight: 700;
}

.section-head a { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.section-head em {
	color: var(--muted);
	font-style: normal;
	font-weight: 500;
	font-size: 0.82rem;
}

.article-row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 0.85rem;
	padding: 0.95rem 1.1rem;
	border-top: 1px solid var(--line);
}

.article-row:first-of-type { border-top: 0; }

.thumb {
	width: 92px;
	height: 68px;
	border-radius: 10px;
	object-fit: cover;
	background: #e8e8ea;
}

.cover-ph {
	display: block;
	background:
		radial-gradient(120% 90% at 18% 8%, rgb(61 107 90 / 0.18), transparent 52%),
		linear-gradient(165deg, #ececee, #dddfe4);
}

.article-row h3 {
	margin: 0 0 0.25rem;
	font-size: 0.98rem;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.article-row .excerpt {
	margin: 0 0 0.35rem;
	color: var(--muted);
	font-size: 0.82rem;
}

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
	color: var(--muted);
	font-size: 0.75rem;
}

.sidebar { display: none; }

.side-stack {
	display: grid;
	gap: var(--gap);
	align-content: start;
}

.side-card { padding: 1.2rem 1.1rem 1.25rem; }

.profile {
	text-align: center;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.profile-head {
	position: relative;
	height: 92px;
	background:
		radial-gradient(80% 120% at 50% 120%, rgb(255 255 255 / 0.14), transparent 58%),
		linear-gradient(180deg, #222 0%, #111 100%);
}

.profile-head .avatar-lg {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 84px;
	height: 84px;
	border: 3px solid #fff;
	box-shadow: 0 10px 24px rgb(17 17 17 / 0.16);
	transform: translate(-50%, 50%);
}

.profile-body {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	padding: 3.15rem 1.15rem 1.05rem;
}

.profile h3 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.32rem;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.profile p {
	margin: 0;
	max-width: 16rem;
	color: var(--muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.profile-about {
	margin-top: 0.45rem;
	padding: 0.32rem 0.85rem;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font-size: 0.8rem;
	font-weight: 600;
}

.profile-about:hover { background: #2a2a2a; }

.socials {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin: 0.45rem 0 0;
	color: #333;
}

.socials a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--chip);
}

.socials a:hover {
	background: #e8e8ea;
	color: #111;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: auto;
	padding: 0.85rem 0.35rem 0.95rem;
	border-top: 1px solid var(--line);
	background: #fafafa;
}

.stats a,
.stats > div {
	display: grid;
	gap: 0.12rem;
	min-width: 0;
}

.stats a + a,
.stats > div + div {
	border-left: 1px solid var(--line);
}

.stats b {
	display: block;
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stats span {
	color: var(--muted);
	font-size: 0.68rem;
}

.stats a:hover b { color: #000; }

.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0.2rem 1.1rem 1.1rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: var(--chip);
	border-radius: 999px;
	padding: 0.28rem 0.65rem;
	font-size: 0.78rem;
	color: #333;
}

.pill em { color: var(--muted); font-style: normal; }

.archive-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.55rem 1.1rem;
	color: #333;
	font-size: 0.9rem;
}

.archive-row span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #333;
}

.archive-row em {
	color: var(--muted);
	font-style: normal;
}

.archive-layout {
	display: grid;
	gap: var(--gap);
	align-items: start;
}

.archive-timeline {
	padding: 0.15rem 0 1.1rem;
}

.archive-year-block + .archive-year-block { margin-top: 0.35rem; }

.archive-year {
	margin: 0.85rem 0 0.4rem;
	padding: 0 1.15rem;
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.archive-track {
	position: relative;
	margin: 0 0.85rem 0 1.4rem;
	padding-left: 1.05rem;
}

.archive-track::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55rem;
	bottom: 0.55rem;
	width: 1px;
	background: var(--line);
}

.archive-node {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	padding: 0.42rem 0.65rem 0.42rem 0.55rem;
	border-radius: 10px;
	color: #5c5c60;
	font-size: 0.92rem;
}

.archive-dot {
	position: absolute;
	left: -1.05rem;
	top: 50%;
	width: 9px;
	height: 9px;
	border: 2px solid #c8c8cc;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
}

.archive-node:hover {
	color: #111;
	background: var(--chip);
}

.archive-node[aria-current='page'] {
	color: #111;
	font-weight: 600;
	background: var(--chip);
}

.archive-node[aria-current='page'] .archive-dot {
	border-color: #111;
	background: #111;
	box-shadow: 0 0 0 4px rgb(17 17 17 / 0.08);
}

.archive-node em {
	color: var(--muted);
	font-style: normal;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.archive-feed .section-head em {
	color: var(--muted);
	font-style: normal;
	font-weight: 500;
	font-size: 0.82rem;
}

.archive-side {
	padding-bottom: 0.75rem;
	overflow: hidden;
}

.archive-side .archive-year {
	margin-top: 0.45rem;
	font-size: 1.08rem;
}

.archive-side .archive-track {
	margin-right: 0.65rem;
}

.archive-side .archive-node em {
	display: grid;
	place-items: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: var(--chip);
	font-size: 0.72rem;
}

.article-page { padding: 1.2rem 1.15rem 1.6rem; }

.article-page h1 {
	margin: 0 0 0.7rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 4.2vw, 2.35rem);
	letter-spacing: -0.035em;
	line-height: 1.22;
}

.post-detail {
	padding: 0 0 2.4rem;
	overflow: hidden;
}

.detail-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 1.15rem;
	font-weight: 650;
	border-bottom: 1px solid var(--line);
}

.post-detail .article-cover {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2.1 / 1;
	max-height: 240px;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

.article-inner {
	padding: 1.45rem 1.25rem 0;
	display: grid;
	justify-items: center;
}

.article-head,
.post-detail .prose,
.post-detail .missing,
.article-foot,
.comment-list,
.nearby {
	width: 100%;
	max-width: 38rem;
}

.article-head {
	text-align: center;
	margin: 0 0 1.7rem;
	padding-bottom: 1.55rem;
	border-bottom: 1px solid var(--line);
}

.article-head h1 {
	margin: 0 0 0.8rem;
	text-align: center;
	text-wrap: balance;
}

.article-dek {
	margin: 0 auto;
	max-width: 32rem;
	color: #5c5c60;
	font-size: 1.02rem;
	line-height: 1.7;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1.05rem;
}

.quote {
	position: relative;
	margin: 0 0 1rem;
	padding: 0.95rem 1rem 0.95rem 2.6rem;
	background: var(--chip);
	border-radius: 10px;
	color: #333;
	border: 0;
}

.quote .qmark {
	position: absolute;
	left: 0.75rem;
	top: 0.35rem;
	font-size: 2rem;
	line-height: 1;
	color: #c8c8cc;
	font-family: Georgia, serif;
}

.prose {
	font-size: 1.02rem;
	line-height: 1.85;
	color: #2a2a2c;
}

.prose :where(h2, h3) {
	margin: 1.85rem 0 0.7rem;
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.3;
	color: #111;
}

.prose h2 { font-size: 1.32rem; }
.prose h3 { font-size: 1.12rem; }
.prose :where(p, ul, ol) { margin: 0 0 1.05rem; }
.prose :where(ul, ol) { padding-left: 1.2rem; }
.prose li { margin: 0 0 0.35rem; }
.prose a {
	color: #111;
	text-decoration: underline;
	text-decoration-color: #d0d0d4;
	text-underline-offset: 0.18em;
}
.prose a:hover { text-decoration-color: #111; }
.prose img { max-width: 100%; border-radius: 10px; margin: 0.4rem 0 1rem; }
.prose blockquote {
	margin: 0 0 1.1rem;
	padding: 0.15rem 0 0.15rem 1rem;
	border-left: 2px solid #111;
	color: #5c5c60;
}
.prose hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 1.6rem 0;
}
.prose pre, .prose code { font-family: var(--mono); font-size: 0.86em; }
.prose code {
	background: var(--chip);
	border-radius: 5px;
	padding: 0.08em 0.32em;
}
.prose pre {
	padding: 1rem 1.05rem;
	overflow: auto;
	background: #f6f6f8;
	border-radius: 12px;
	margin: 0 0 1.15rem;
	line-height: 1.55;
}
.prose pre code { background: none; padding: 0; }

.article-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.1rem;
	margin-top: 2.2rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--line);
}

.article-by {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	color: inherit;
}

.article-by > div { min-width: 0; }

.article-by .avatar { width: 42px; height: 42px; }

.article-by strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.article-by p {
	margin: 0.12rem 0 0;
	color: var(--muted);
	font-size: 0.78rem;
}

.article-by p span {
	margin: 0 0.32rem;
	opacity: 0.55;
}

.article-by:hover strong {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.react-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 0.86rem;
}

.react-row button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 0;
	background: var(--chip);
	color: inherit;
	font: inherit;
	cursor: pointer;
	border-radius: 999px;
	padding: 0.42rem 0.82rem;
}

.react-row button:hover { background: #ececee; }
.react-row .react-btn.is-on {
	background: #111;
	color: #fff;
}
.react-row .react-btn.is-on:hover { background: #222; }
.react-row .react-btn.is-on svg {
	fill: currentColor;
	stroke: currentColor;
}

.share-pop { position: relative; }
.share-menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.45rem);
	z-index: 6;
	min-width: 8.8rem;
	padding: 0.28rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
}
.share-menu button {
	width: 100%;
	justify-content: flex-start;
	background: none;
	border-radius: 8px;
	padding: 0.48rem 0.7rem;
}
.share-menu button:hover { background: var(--chip); }

.react-toast {
	position: fixed;
	left: 50%;
	bottom: 1.6rem;
	z-index: 40;
	transform: translateX(-50%);
	padding: 0.52rem 0.95rem;
	background: #111;
	color: #fff;
	border-radius: 999px;
	font-size: 0.82rem;
	letter-spacing: -0.01em;
	box-shadow: 0 10px 24px rgb(17 17 17 / 0.18);
}
.react-toast[hidden] { display: none; }

.saved-empty { padding: 1.1rem 1.15rem 1.35rem; }

.comment-list {
	margin-top: 2.2rem;
	padding-top: 1.55rem;
	border-top: 1px solid var(--line);
}
.comment-head {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-size: 1.28rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}
.comment-head em {
	display: inline-grid;
	place-items: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.32rem;
	margin: 0;
	border-radius: 999px;
	background: var(--chip);
	color: #5c5c60;
	font-style: normal;
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 650;
}
.comment-empty {
	margin: 0 0 1.2rem;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.02rem;
	font-style: italic;
	letter-spacing: -0.02em;
}
.comment-thread + .comment-thread { margin-top: 0.15rem; }
.comment {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: 0.8rem;
	align-items: start;
	padding: 0.95rem 0.7rem;
	border-radius: 12px;
}
.comment:hover { background: #fafafb; }
.comment:target {
	background: #f6f6f8;
	box-shadow: inset 0 0 0 1px var(--line);
}
.comment.is-reply {
	margin: 0 0 0.2rem 1.15rem;
	padding: 0.8rem 0.75rem;
	background: var(--chip);
}
.comment.is-reply:hover { background: #ececee; }
.comment.is-reply {
	grid-template-columns: 28px minmax(0, 1fr);
	column-gap: 0.65rem;
}
.comment-mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-family: var(--serif);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
}
.comment.is-reply .comment-mark {
	width: 28px;
	height: 28px;
	background: #fff;
	color: #111;
	border: 1px solid #e4e4e7;
	font-size: 0.78rem;
}
.comment header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.28rem 0.55rem;
	min-width: 0;
	padding-top: 0.12rem;
	color: var(--muted);
	font-size: 0.76rem;
}
.comment header strong {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.comment p {
	grid-column: 2;
	margin: 0.28rem 0 0;
	color: #2a2a2c;
	line-height: 1.7;
}
.comment-act {
	appearance: none;
	border: 0;
	margin-left: auto;
	background: none;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	color: var(--muted);
	font: inherit;
	font-size: 0.72rem;
	cursor: pointer;
}
.comment-act:hover {
	background: #ececee;
	color: #111;
}
.comment-list .notice {
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	background: #f3f6f4;
	border-radius: 12px;
	color: var(--copper);
	font-size: 0.86rem;
}

.comment-form {
	position: relative;
	display: grid;
	gap: 0.75rem;
	margin-top: 0.2rem;
}
.comment-sheet {
	display: grid;
	gap: 0.75rem;
	padding: 1rem 1.05rem 0.95rem;
	background: #f7f7f8;
	border: 1px solid var(--line);
	border-radius: 16px;
}
.reply-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin: 0;
	padding: 0.42rem 0.7rem;
	background: #fff;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.8rem;
}
.reply-note[hidden] { display: none; }
.reply-note strong { color: var(--ink); font-weight: 650; }
.reply-note button {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	color: var(--muted);
	font: inherit;
	cursor: pointer;
}
.reply-note button:hover { color: #111; }
.comment-form textarea,
.comment-form input {
	width: 100%;
	border: 0;
	background: #fff;
	color: var(--ink);
	font: inherit;
	border-radius: 10px;
}
.comment-form textarea {
	min-height: 6.2rem;
	padding: 0.75rem 0.85rem;
	resize: vertical;
	line-height: 1.7;
}
.comment-form input {
	padding: 0.55rem 0.75rem;
	font-size: 0.88rem;
}
.comment-form textarea:focus,
.comment-form input:focus {
	outline: 2px solid #111;
	outline-offset: 0;
}
.comment-form textarea::placeholder,
.comment-form input::placeholder { color: #a3a3a8; }
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 0.7rem;
}
.comment-who {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	flex: 1;
	min-width: 12rem;
}
.comment-sheet .btn {
	margin-left: auto;
	min-width: 5.2rem;
	padding: 0.52rem 1.05rem;
}
.comment-check {
	min-height: 0;
	transform: scale(0.92);
	transform-origin: left center;
}

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

.form { display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.form label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.78rem;
	color: var(--muted);
}

.form input,
.form textarea,
.form select,
.admin-inline input,
.admin-inline select {
	width: 100%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font: inherit;
	padding: 0.6rem 0.7rem;
	border-radius: 10px;
}

.form textarea { min-height: 7rem; resize: vertical; }

.btn,
button.btn {
	appearance: none;
	border: 0;
	background: #111;
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: 0.6rem 0.95rem;
	border-radius: 999px;
	cursor: pointer;
}

.btn.ghost { background: var(--chip); color: #111; }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid #f0c8c4; }

.notice { padding: 0.7rem 0.8rem; background: #f4f4f6; border-radius: 10px; }
.empty { color: var(--muted); padding: 1.2rem; }
.missing { padding: 0.8rem 1rem; background: #fff6e8; border-radius: 10px; }

.tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	background: #fff;
	border-top: 1px solid var(--line);
	padding: 0.35rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
}

.tabbar a,
.tabbar .plus {
	display: grid;
	justify-items: center;
	gap: 0.15rem;
	font-size: 0.68rem;
	color: #666;
}

.tabbar a[aria-current='page'] { color: #111; font-weight: 650; }

.plus {
	width: 46px;
	height: 46px;
	margin: -0.7rem auto 0;
	border-radius: 50%;
	background: #111;
	color: #fff !important;
	place-items: center;
	font-size: 1.6rem;
	line-height: 1;
}

.search-page { padding: 1.1rem; }

.search-dialog {
	width: min(40rem, calc(100% - 1.5rem));
	max-height: min(36rem, calc(100% - 3.5rem));
	margin: 12vh auto auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: var(--ink);
	box-shadow:
		0 28px 64px rgb(17 17 17 / 0.18),
		0 0 0 1px rgb(17 17 17 / 0.06);
}
.search-dialog[open] {
	animation: search-pop 0.2s ease;
}
.search-dialog::backdrop {
	background: rgb(17 17 17 / 0.28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.search-dialog[open]::backdrop {
	animation: search-veil 0.2s ease;
}
.search-sheet {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	max-height: min(36rem, calc(100% - 3.5rem));
}
.search-bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 0.7rem 0.85rem 0.9rem;
	border-bottom: 1px solid var(--line);
}
.search-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #111;
	color: #fff;
}
.search-bar input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}
.search-esc {
	flex: none;
	display: none;
	place-items: center;
	min-width: 2rem;
	height: 1.45rem;
	padding: 0 0.38rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--chip);
	color: #6b6b70;
	font-family: var(--sans);
	font-size: 0.66rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.search-close {
	margin-left: 0;
	width: 32px;
	height: 32px;
	color: #8a8a8e;
}
.search-close:hover {
	background: var(--chip);
	color: #111;
}
.search-body {
	display: grid;
	align-content: start;
	min-height: 11rem;
	overflow: auto;
}
.search-idle {
	margin: 0;
	min-height: 11rem;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.85rem;
	padding: 1.4rem 1.2rem;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}
.search-idle[hidden] { display: none; }
.search-keys {
	display: flex;
	gap: 0.28rem;
}
.search-keys kbd {
	display: inline-grid;
	place-items: center;
	min-width: 1.55rem;
	height: 1.55rem;
	padding: 0 0.32rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--chip);
	color: #5c5c60;
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 650;
}
.search-results {
	display: grid;
	gap: 0.15rem;
	padding: 0.45rem 0.45rem 0.55rem;
}
.search-results:empty { display: none; }
.search-hit {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.55rem 0.6rem;
	border-radius: 12px;
	color: inherit;
}
.search-hit:hover,
.search-hit.is-on,
.search-hit:focus-visible { background: var(--chip); }
.search-hit img,
.search-hit .cover-ph {
	width: 52px;
	height: 52px;
	border-radius: 9px;
	object-fit: cover;
	background: var(--chip);
}
.search-hit strong {
	display: block;
	font-size: 0.95rem;
	letter-spacing: -0.02em;
	line-height: 1.35;
}
.search-hit strong mark {
	background: rgb(17 17 17 / 0.1);
	color: inherit;
	border-radius: 3px;
	padding: 0 0.08em;
}
.search-hit .search-excerpt {
	margin: 0.18rem 0 0;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.search-hit .search-meta {
	margin-top: 0.22rem;
	color: var(--muted);
	font-size: 0.72rem;
}
.search-empty {
	margin: 0;
	padding: 2.4rem 1.2rem;
	text-align: center;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.02rem;
	letter-spacing: -0.02em;
}
.search-more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0.1rem 0.45rem 0.55rem;
	padding: 0.7rem 0.85rem;
	border-top: 1px solid var(--line);
	color: #5c5c60;
	font-size: 0.82rem;
}
.search-more:hover { color: #111; }

@keyframes search-pop {
	from { opacity: 0; transform: translateY(-10px) scale(0.985); }
	to { opacity: 1; transform: none; }
}
@keyframes search-veil {
	from { opacity: 0; }
	to { opacity: 1; }
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem;
	padding: 1rem;
}

.cat-tile {
	padding: 1rem;
	background: var(--chip);
	border-radius: 12px;
}

.cat-tile b { display: block; }
.cat-tile span { color: var(--muted); font-size: 0.78rem; }

.admin-shell {
	--desk: #eef0f4;
	--spine: #222326;
	--spine-ink: #c8c8cc;
	--spine-mute: #7d7d82;
	--sheet: #fff;
	--sage: #3d6b5a;
	display: grid;
	grid-template-columns: 15.25rem minmax(0, 1fr);
	min-height: 100vh;
	background: var(--desk);
}

.admin-nav {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	padding: 1.35rem 0.85rem 1.1rem;
	background: var(--spine);
	color: var(--spine-ink);
}

.admin-nav .wordmark {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0.35rem 0.2rem;
	color: #fff;
}

.admin-nav .wordmark:hover { color: #fff; }

.wordmark-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: #fff;
	color: #111;
}

.wordmark-text { display: grid; line-height: 1.15; min-width: 0; }

.wordmark-name {
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wordmark-kicker {
	color: var(--spine-mute);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.admin-group { display: grid; gap: 0.12rem; }

.admin-group-label {
	margin: 0 0.7rem 0.28rem;
	color: var(--spine-mute);
	font-size: 0.64rem;
	font-weight: 650;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.admin-nav a:not(.wordmark),
.admin-nav button {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	border-radius: 10px;
	padding: 0.48rem 0.75rem;
	font: inherit;
	font-size: 0.92rem;
	color: var(--spine-ink);
	cursor: pointer;
}

.admin-nav a:not(.wordmark):hover,
.admin-nav button:hover {
	background: rgb(255 255 255 / 0.06);
	color: #fff;
}

.admin-nav a[aria-current='page'] {
	background: rgb(111 157 138 / 0.18);
	color: #fff;
	font-weight: 650;
	box-shadow: inset 3px 0 0 #7eb89a;
}

.admin-nav-foot {
	margin-top: auto;
	padding-top: 0.8rem;
	border-top: 1px solid rgb(255 255 255 / 0.08);
	display: grid;
	gap: 0.12rem;
}

.admin-nav-foot a,
.admin-nav-foot button { color: var(--spine-mute); font-size: 0.84rem; }

.admin-body {
	padding: 1.6rem 1.7rem 2.4rem;
	max-width: 74rem;
}

.admin-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.15rem;
}

.admin-head h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: 1.85rem;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.admin-shell h2 {
	margin: 1.5rem 0 0.7rem;
	font-family: var(--serif);
	font-size: 1.28rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.admin-hint {
	margin: 0.85rem 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.admin-ledger {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.7rem;
	margin-bottom: 1.15rem;
}

.ledger-cell {
	display: grid;
	gap: 0.15rem;
	padding: 1rem 1.05rem 0.95rem;
	background: var(--sheet);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 10px 28px rgb(34 35 38 / 0.05);
	min-width: 0;
}

.ledger-cell:hover { color: inherit; }

.ledger-cell b {
	font-family: var(--serif);
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}

.ledger-cell span {
	color: var(--muted);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
}

.ledger-cell.warn b { color: var(--amber); }

.admin-flag {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.1rem;
	padding: 0.8rem 1rem;
	background: #fff8ee;
	border-radius: 12px;
	color: #8a5a1a;
	font-size: 0.9rem;
}

.admin-flag:hover { color: #6f470f; }

.admin-panel {
	background: var(--sheet);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 10px 28px rgb(34 35 38 / 0.05);
	overflow: hidden;
}

.admin-panel + .admin-panel,
.admin-panel + .form,
.form + .admin-panel,
.form + h2 { margin-top: 1.15rem; }

.admin-panel-head {
	padding: 0.85rem 1.15rem 0.15rem;
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.08em;
}

.admin-shell .form {
	margin-top: 0;
	padding: 1.15rem;
	background: var(--sheet);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 10px 28px rgb(34 35 38 / 0.05);
}

.admin-shell .form .form,
.admin-panel .form { padding: 0; background: none; box-shadow: none; border-radius: 0; }

.admin-inline {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
	gap: 0.7rem;
	align-items: end;
	padding: 1.05rem 1.15rem;
	background: var(--sheet);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 10px 28px rgb(34 35 38 / 0.05);
	margin-bottom: 1.15rem;
}

.admin-inline label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.78rem;
	color: var(--muted);
}

.admin-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.admin-meta .wide { grid-column: 1 / -1; }

.admin-shell fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.admin-shell .form label.check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	font-size: 0.9rem;
}

.admin-shell .form label.check input {
	width: auto;
	margin: 0;
}

.admin-save {
	position: sticky;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	margin: 0.4rem -0.2rem -0.4rem;
	padding: 1rem 0.2rem 0.35rem;
	background: linear-gradient(transparent, var(--sheet) 32%);
	z-index: 2;
}

.admin-save-status {
	color: var(--muted);
	font-size: 0.78rem;
}
.admin-save-status.is-err { color: var(--danger); }

.md-editor textarea.md-source { min-height: 28rem; }

.admin-shell .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.admin-shell .form > .btn,
.admin-shell .form > .admin-save {
	justify-self: start;
}

.table .btn {
	padding: 0.38rem 0.75rem;
	font-size: 0.8rem;
}

.admin-shell .notice {
	margin: 0 0 1rem;
	padding: 0.75rem 0.95rem;
	background: var(--sheet);
	border-radius: 12px;
	box-shadow: inset 3px 0 0 var(--sage);
}

.admin-shell .notice.is-err {
	background: #fdf6f5;
	box-shadow: inset 3px 0 0 var(--danger);
}

.admin-shell .empty {
	margin: 0;
	padding: 2.4rem 1.2rem;
	text-align: center;
	background: var(--sheet);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04);
}

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 0.85rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	background: #fafafb;
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafafb; }
.table td:first-child, .table th:first-child { padding-left: 1.15rem; }
.table td:last-child, .table th:last-child { padding-right: 1.15rem; }
.table .meta-line { font-family: var(--mono); font-size: 0.72rem; }

.admin-row-edit {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
	gap: 0.45rem;
	align-items: center;
}

.admin-row-edit input { padding: 0.48rem 0.6rem; }

.status {
	display: inline-block;
	padding: 0.12rem 0.5rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 650;
	background: var(--chip);
	color: #5c5c60;
	white-space: nowrap;
}
.status.published { background: #e7f0eb; color: var(--copper); }
.status.scheduled { background: #f7edd9; color: #9a6b24; }
.status.draft, .status.pending { background: var(--chip); color: #6b6b70; }
.status.approved { background: #e7f0eb; color: var(--copper); }
.status.spam { background: #fdecea; color: var(--danger); }

.tabs { display: flex; gap: 0.4rem; margin: 0 0 1rem; }
.tabs button {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	cursor: pointer;
}
.tabs button.active { background: #111; color: #fff; border-color: #111; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.split textarea { min-height: 22rem; }
.preview {
	min-height: 22rem;
	padding: 0.85rem 1rem;
	background: var(--desk);
	border-radius: 12px;
	overflow: auto;
}
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 0.85rem; }
.media-card {
	background: var(--sheet);
	padding: 0.55rem;
	border-radius: 14px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 10px 28px rgb(34 35 38 / 0.05);
}
.media-card img { width: 100%; height: 8.5rem; object-fit: cover; display: block; border-radius: 10px; }
.media-card .meta-line {
	margin: 0.45rem 0.15rem;
	font-family: var(--mono);
	font-size: 0.68rem;
	word-break: break-all;
}
.locale-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.locale-pane { display: grid; gap: 0.75rem; }

.image-field {
	display: grid;
	gap: 0.45rem;
}

.image-field-label {
	font-size: 0.78rem;
	color: var(--muted);
}

.image-field-row {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
}

.image-field-preview {
	display: grid;
	place-items: center;
	width: 7.5rem;
	height: 5.4rem;
	overflow: hidden;
	border-radius: 12px;
	background:
		radial-gradient(120% 90% at 18% 8%, rgb(61 107 90 / 0.16), transparent 52%),
		#ececee;
	color: var(--muted);
	font-size: 0.72rem;
}

.image-field-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.image-field-inputs { display: grid; gap: 0.55rem; min-width: 0; }

.admin-post-cell {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 0.7rem;
	align-items: center;
}

.admin-thumb {
	width: 52px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.locale-pane > label:first-child input {
	font-family: var(--serif);
	font-size: 1.22rem;
	letter-spacing: -0.03em;
}

.admin-shell .table td > a { font-weight: 600; }

.login-screen {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 2rem 1rem;
	background:
		radial-gradient(1200px 480px at 50% -10%, rgb(61 107 90 / 0.12), transparent 58%),
		#eef0f4;
}

.login-card {
	width: min(22.5rem, 100%);
	padding: 1.7rem 1.6rem 1.5rem;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 1px 0 rgb(17 17 17 / 0.04), 0 18px 40px rgb(34 35 38 / 0.08);
}

.login-card .form {
	margin-top: 0.85rem;
	padding: 0;
	background: none;
	box-shadow: none;
}

.login-card .notice {
	margin: 0.7rem 0 0;
	padding: 0.65rem 0.8rem;
	border-radius: 10px;
	background: #fdf6f5;
	box-shadow: inset 3px 0 0 var(--danger);
}

.login-kicker {
	margin: 0 0 0.35rem;
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.login-card h1 {
	margin: 0 0 0.85rem;
	font-family: var(--serif);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: -0.04em;
}

.md-editor { display: grid; gap: 0.3rem; min-width: 0; }

.md-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}

.md-upload-kicker {
	font-size: 0.78rem;
	color: var(--muted);
}

.md-upload-file {
	display: inline-flex !important;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0.38rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
}

.md-upload-file input[type='file'] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
}

.md-upload [data-md-url] {
	flex: 1;
	min-width: 10rem;
	width: auto;
	padding: 0.42rem 0.7rem;
}

.md-upload [data-md-url-insert] {
	padding: 0.38rem 0.85rem;
}

.md-upload-hint { margin: 0; }

.admin-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
}

.detail-bar .more-menu { position: relative; }
.more-menu summary {
	list-style: none;
	cursor: pointer;
	width: 28px;
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: 0.08em;
}
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu div {
	position: absolute;
	right: 0;
	top: 1.6rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: var(--shadow);
	padding: 0.4rem;
	display: grid;
	min-width: 7.5rem;
	z-index: 4;
}
.more-menu a,
.more-menu button {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	background: none;
	font: inherit;
	padding: 0.4rem 0.55rem;
	cursor: pointer;
	border-radius: 8px;
}

.byline.ink { color: #666; margin-bottom: 0.2rem; }
.byline .eye {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.comment-dock { display: none; }

.pager {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.1rem 1.2rem;
	color: var(--muted);
	font-size: 0.86rem;
}

.pager a { font-weight: 650; color: #111; }

.nearby {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-top: 2.1rem;
	padding: 0;
	border-top: 1px solid var(--line);
}

.nearby a {
	display: block;
	padding: 1.15rem 0;
	background: none;
	border-radius: 0;
	color: #111;
	font-family: var(--serif);
	font-size: 0.98rem;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.nearby a.next {
	text-align: right;
	border-left: 1px solid var(--line);
	padding-left: 1.15rem;
}

.nearby a:not(.next) { padding-right: 1.15rem; }

.nearby a span {
	display: block;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	margin-bottom: 0.32rem;
}

.nearby a:hover { color: #000; }

.site-foot {
	display: none;
	justify-content: center;
	gap: 1.4rem;
	padding: 0 1rem 2.4rem;
	color: var(--muted);
	font-size: 0.82rem;
}

@media (min-width: 880px) {
	.menu-btn { display: none; }
	.desk-nav { display: flex; }
	.write-btn { display: inline-flex; }
	.lang-switch { display: grid; }
	.logo { justify-content: flex-start; }
	.topbar-inner {
		display: flex;
		gap: 1.1rem;
		min-height: 68px;
		width: min(1120px, calc(100% - 2rem));
	}
	.top-actions { margin-left: auto; }
	.page { grid-template-columns: minmax(0, 1fr) 300px; margin-bottom: 3rem; }
	.sidebar { display: grid; gap: var(--gap); align-content: start; }
	.quick { display: none; }
	.tabbar { display: none; }
	.site-foot { display: flex; }
	.hero, .hero-slide, .hero-slide.active, .hero-copy { min-height: 320px; }
	.sidebar .profile {
		min-height: 320px;
	}
	.search-esc { display: grid; }
	.archive-layout {
		grid-template-columns: 220px minmax(0, 1fr);
	}
	.archive-timeline {
		position: sticky;
		top: 84px;
		max-height: calc(100vh - 7rem);
		overflow: auto;
	}
	.chrome-article .detail-bar { display: none; }
	.chrome-article .sidebar { display: none; }
	.chrome-article .page {
		width: 66%;
		grid-template-columns: 1fr;
	}
	.post-detail .article-cover {
		aspect-ratio: 2.15 / 1;
		max-height: 320px;
	}
	.article-inner { padding: 2rem 2.8rem 0; }
	.article-head,
	.post-detail .prose,
	.post-detail .missing,
	.article-foot,
	.comment-list,
	.nearby {
		max-width: none;
	}
	.article-dek { max-width: none; }
}

@media (max-width: 879px) {
	.search-dialog {
		width: calc(100% - 1.25rem);
		margin: 5.5rem auto auto;
		max-height: calc(100% - 6.5rem);
	}
	.archive-timeline {
		max-height: 16rem;
		overflow: auto;
	}
	.chrome-article .topbar,
	.chrome-article .drawer,
	.chrome-article .tabbar { display: none; }
	.chrome-article .page {
		width: 100%;
		margin: 0 0 4.8rem;
		gap: 0;
	}
	.chrome-article .article-page {
		border-radius: 0;
		min-height: 100vh;
		box-shadow: none;
	}
	.chrome-article .detail-bar {
		position: sticky;
		top: 0;
		z-index: 8;
		margin: 0;
		padding: 0.85rem 1.15rem;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}
	.chrome-article.has-preview .detail-bar { top: 2.75rem; }
	.nearby {
		grid-template-columns: 1fr;
	}
	.nearby a.next {
		border-left: 0;
		border-top: 1px solid var(--line);
		text-align: left;
		padding-left: 0;
	}
	.nearby a:not(.next) { padding-right: 0; }
	.comment-who { grid-template-columns: 1fr; }
	.comment-sheet .btn { width: 100%; margin-left: 0; }
	.comment.is-reply { margin-left: 0.35rem; }
	.chrome-article .react-toast { bottom: 5.4rem; }
	.comment-dock {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 0.7rem;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 20;
		background: #fff;
		border-top: 1px solid var(--line);
		padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
	}
	.comment-dock .dock-input {
		background: var(--chip);
		border-radius: 999px;
		padding: 0.65rem 1rem;
		color: var(--muted);
		font-size: 0.88rem;
	}
	.comment-dock .dock-count {
		display: inline-flex;
		align-items: center;
		gap: 0.3rem;
		color: #333;
		font-weight: 650;
	}
}

@media (max-width: 1100px) {
	.admin-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 879px) {
	.admin-shell { grid-template-columns: 1fr; }
	.admin-nav {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.35rem 0.45rem;
		padding: 0.75rem 0.85rem 0.85rem;
	}
	.admin-nav .wordmark { margin: 0 0.4rem 0 0; }
	.admin-group { display: contents; }
	.admin-group-label { display: none; }
	.admin-nav a, .admin-nav button { width: auto; }
	.admin-nav-foot {
		display: contents;
		margin: 0;
		padding: 0;
		border: 0;
	}
	.admin-body { padding: 1.15rem 1rem 2rem; }
	.admin-head h1 { font-size: 1.5rem; }
	.admin-ledger, .admin-meta, .admin-inline, .admin-row-edit, .split, .locale-pair, .image-field-row { grid-template-columns: 1fr; }
	.admin-inline { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
	.dots button.on .dot-fill {
		animation: none;
		transform: scaleX(1);
	}
	.search-dialog[open],
	.search-dialog[open]::backdrop { animation: none; }
}
