/* =========================================================
   Moe New — 主样式
   设计语言：卡片化 / 高信息密度 / 柔和强调色
   ========================================================= */

:root {
	--brand: #f56aa8;
	--brand-ink: #ffffff;
	--bg: #f6f7f9;
	--panel: #ffffff;
	--panel-2: #eef0f4;
	--text: #1a1b21;
	--text-2: #6b7080;
	--text-3: #9aa0ad;
	--line: #e7e9ef;
	--shadow-sm: 0 1px 2px rgba(20, 22, 40, .05);
	--shadow-md: 0 2px 6px rgba(20, 22, 40, .05), 0 14px 30px -18px rgba(20, 22, 40, .35);
	--radius: 14px;
	--radius-sm: 9px;
	--wrap: 1280px;
	--header-h: 64px;
}

[data-theme="dark"] {
	--bg: #101116;
	--panel: #181a21;
	--panel-2: #23252e;
	--text: #eceef4;
	--text-2: #9ba2b0;
	--text-3: #6d7381;
	--line: #262932;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 16px 34px -18px rgba(0, 0, 0, .8);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }

button { font: inherit; cursor: pointer; }

.icon { display: inline-block; vertical-align: -0.16em; flex: none; }

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 10px; left: 10px;
	width: auto; height: auto;
	clip: auto;
	z-index: 999;
	padding: 8px 14px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 22px;
}
.wrap--narrow { max-width: 860px; }

.site-main { min-height: 60vh; padding-bottom: 56px; }

/* ---------- 页头 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--panel) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 22px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	font-size: 17px;
	white-space: nowrap;
	flex: none;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #7c5cff));
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

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

.nav { flex: 1 1 auto; min-width: 0; }

.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0; padding: 0;
	list-style: none;
}

.nav__list > li > a {
	display: block;
	padding: 7px 12px;
	border-radius: 8px;
	color: var(--text-2);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.nav__list > li > a:hover,
.nav__list > li.current-menu-item > a {
	color: var(--text);
	background: var(--panel-2);
}

.nav__list .sub-menu {
	position: absolute;
	margin: 6px 0 0;
	padding: 6px;
	list-style: none;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: .18s ease;
	min-width: 150px;
}

.nav__list > li { position: relative; }
.nav__list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { display: block; padding: 7px 10px; border-radius: 7px; font-size: 14px; color: var(--text-2); }
.nav__list .sub-menu a:hover { background: var(--panel-2); color: var(--text); }

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

.search-mini {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 6px 0 12px;
	background: var(--panel-2);
	border: 1px solid transparent;
	border-radius: 999px;
	transition: .18s ease;
}

.search-mini:focus-within {
	background: var(--panel);
	border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}

.search-mini input {
	width: 168px;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 13.5px;
	outline: none;
}
.search-mini input::placeholder { color: var(--text-3); }

.search-mini button {
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--text-2);
}
.search-mini button:hover { background: var(--panel); color: var(--brand); }

.btn-icon {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	color: var(--text-2);
	transition: .18s ease;
}
.btn-icon:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.btn-icon .icon-moon { display: none; }
[data-theme="dark"] .btn-icon .icon-sun { display: none; }
[data-theme="dark"] .btn-icon .icon-moon { display: block; }

/* ---------- 首页横幅 ---------- */
.hero {
	padding: 44px 0 30px;
	background:
		radial-gradient(900px 320px at 12% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
		radial-gradient(700px 300px at 88% 0%, color-mix(in srgb, #7c5cff 16%, transparent), transparent 70%);
}

.hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.hero__title { font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.02em; }
.hero__desc { margin: 10px 0 0; color: var(--text-2); font-size: 15px; max-width: 620px; }

.hero__stats {
	display: flex;
	gap: 18px;
	color: var(--text-2);
	font-size: 13px;
}
.hero__stats b { color: var(--text); font-size: 20px; margin-right: 4px; }

/* ---------- 筛选工具条 ---------- */
.fbar { position: relative; margin: 22px 0 6px; z-index: 30; }

.fbar__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 10px 12px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.fbar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 13px;
	transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.fbar__btn:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--text); }
.fbar__btn .fbar__label { color: var(--text-3); font-size: 12.5px; }
.fbar__btn .fbar__value {
	color: var(--text);
	max-width: 108px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fbar__btn .icon { color: var(--text-3); transition: transform .18s ease; }
.fbar__btn[aria-expanded="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--panel)); }
.fbar__btn[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--brand); }
.fbar__btn.is-on { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.fbar__btn.is-on .fbar__label { color: var(--brand); }

.fbar__tail { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.fbar__reset { font-size: 12.5px; color: var(--text-3); }
.fbar__reset:hover { color: var(--brand); }

.fbar__sort { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }

.fbar__sort select {
	height: 32px;
	padding: 0 30px 0 10px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
	color: var(--text);
	font-size: 13px;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

/* 弹出面板 */
.fpanel {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	width: min(580px, 100%);
	padding: 14px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 20px 44px -22px rgba(10, 12, 24, .45);
	z-index: 40;
	animation: fpanel-in .16s ease;
}
.fpanel[hidden] { display: none; }

@keyframes fpanel-in {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: none; }
}

.fpanel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fpanel__head strong { font-size: 14px; }
.fpanel__hint { font-size: 12px; color: var(--text-3); }
.fpanel__x {
	margin-left: auto;
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text-2);
}
.fpanel__x:hover { background: var(--panel-2); }

.fpanel__body {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 8px;
	max-height: 288px;
	overflow: auto;
	padding-right: 2px;
}

.opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 13px;
	line-height: 1.5;
	transition: .16s ease;
}
.opt:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--text); }
.opt.is-active {
	border-color: var(--brand);
	background: color-mix(in srgb, var(--brand) 10%, var(--panel));
	color: var(--text);
	font-weight: 600;
}
.opt__count { font-style: normal; font-size: 11px; color: var(--text-3); font-weight: 400; }

.opt--check { justify-content: flex-start; cursor: pointer; }
.opt--check input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; flex: none; }
.opt--check span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fpanel__foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.btn-ghost,
.btn-primary {
	height: 34px;
	padding: 0 16px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
}
.btn-ghost { border: 1px solid var(--line); background: var(--panel); color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }
.btn-primary { border: 0; background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.05); }

.fbackdrop { display: none; }

/* ---------- 区块 ---------- */
.section { margin: 34px 0; }

.section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.section__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
}
.section__title .icon { color: var(--brand); }

.section__more { font-size: 13px; color: var(--text-2); }
.section__more:hover { color: var(--brand); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 16px; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid.list { grid-template-columns: 1fr; gap: 10px; }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: var(--panel-2);
	overflow: hidden;
}
.moe-ratio-1-1 .card__thumb { aspect-ratio: 1 / 1; }
.moe-ratio-16-9 .card__thumb { aspect-ratio: 16 / 9; }

.card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card__thumb img { transform: scale(1.05); }

.card__year,
.card__like {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 7px;
	border-radius: 6px;
	font-size: 11.5px;
	line-height: 1.6;
	color: #fff;
	background: rgba(8, 9, 14, .55);
	backdrop-filter: blur(6px);
}
.card__year { left: 8px; bottom: 8px; }
.card__like { right: 8px; top: 8px; color: #ffd9e8; }

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 10px 12px 12px;
}

.card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.9em;
}

/* 平台 / 语言胶囊 */
.card__pills {
	display: flex;
	gap: 5px;
	margin-top: 7px;
	overflow: hidden;
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1.8;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pill--plat {
	background: var(--panel-2);
	color: var(--text-2);
}

.pill--lang {
	background: color-mix(in srgb, var(--brand) 12%, var(--panel));
	color: color-mix(in srgb, var(--brand) 68%, var(--text));
}

.card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 11.5px;
	color: var(--text-3);
}

.card__left {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	overflow: hidden;
}

.card__brand {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 92px;
}

.card__sep { flex: none; opacity: .6; }

.card__date {
	flex: none;
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}

.card__stats { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.card__stats .cs { display: inline-flex; align-items: center; gap: 3px; }

/* 横向列表式 */
.grid.list .card { display: flex; flex-direction: row; align-items: stretch; }
.grid.list .card__thumb { width: 96px; aspect-ratio: 3 / 4; flex: none; }
.grid.list .card__body { display: flex; flex-direction: column; justify-content: center; }
.grid.list .card__title { -webkit-line-clamp: 1; min-height: 0; }

/* 热门幻灯片 */
.section__tools { display: flex; align-items: center; gap: 14px; }

.slider-nav { display: flex; gap: 6px; }

.slider-btn {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--panel);
	color: var(--text-2);
	transition: .16s ease;
}
.slider-btn:hover { border-color: var(--brand); color: var(--brand); }
.slider-btn:disabled { opacity: .32; cursor: default; border-color: var(--line); color: var(--text-3); }

.hot-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 64px) / 5);
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 2px;
	scrollbar-width: none;
}
.hot-slider::-webkit-scrollbar { display: none; }
.hot-slider > .card { scroll-snap-align: start; }

@media (max-width: 1180px) {
	.hot-slider { grid-auto-columns: calc((100% - 48px) / 4); }
}
@media (max-width: 980px) {
	.hot-slider { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 720px) {
	.hot-slider { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
}

/* ---------- 分页 ---------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 34px 0 0;
}
.pagination[hidden] { display: none; }

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 13.5px;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--brand-ink);
	font-weight: 600;
}
.pagination .dots { border: 0; background: transparent; }

/* 加载更多 */
.list-foot {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	min-height: 44px;
}

.loadmore {
	min-width: 210px;
	height: 44px;
	padding: 0 26px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 14px;
	box-shadow: var(--shadow-sm);
	transition: .18s ease;
}
.loadmore:hover {
	border-color: var(--brand);
	color: var(--brand);
	box-shadow: var(--shadow-md);
}
.loadmore:disabled { opacity: .6; cursor: default; box-shadow: none; }
.loadmore[hidden] { display: none; }

.grid.is-loading { opacity: .4; pointer-events: none; transition: opacity .15s ease; }

.grid > .empty { grid-column: 1 / -1; }

/* ---------- 页面标题 ---------- */
.page-head { padding: 30px 0 18px; }
.page-head__title { font-size: clamp(22px, 2.6vw, 30px); }
.page-head__count { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.page-head__desc { margin-top: 8px; color: var(--text-2); font-size: 14px; }

/* ---------- 详情页 ---------- */
.single { padding: 28px 0 10px; }
.single__title { font-size: clamp(22px, 3vw, 32px); }
.single__meta { display: flex; gap: 16px; margin-top: 12px; color: var(--text-3); font-size: 13px; }
.single__meta span { display: inline-flex; align-items: center; gap: 5px; }

.stat-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 13px;
	color: var(--text-2);
}
.stat b { color: var(--text); font-size: 14.5px; }
.stat em { font-style: normal; color: var(--text-3); font-size: 12px; }
.stat .icon { color: var(--brand); }

/* 点赞 */
.game-hero__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}

/* 统计行在容器内不再自带上边距，避免与点赞按钮错位 */
.game-hero__foot .stat-row { margin-top: 0; }

.likebtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 13px;
	font-weight: 600;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.likebtn .icon { color: #e0566a; transition: transform .18s ease; }
.likebtn:hover {
	border-color: color-mix(in srgb, #e0566a 45%, var(--line));
	color: #e0566a;
	background: color-mix(in srgb, #e0566a 7%, var(--panel));
}
.likebtn__n { color: var(--text); font-size: 14.5px; }

.likebtn.is-liked {
	border-color: color-mix(in srgb, #e0566a 45%, var(--line));
	background: color-mix(in srgb, #e0566a 10%, var(--panel));
	color: #e0566a;
}
.likebtn.is-liked .icon { fill: currentColor; }

.likebtn.is-busy { opacity: .6; pointer-events: none; }

.likebtn.is-pop { animation: like-pop .32s cubic-bezier(.3, 1.4, .5, 1); }

@keyframes like-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.09); }
	100% { transform: scale(1); }
}

.single__cover { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }

.single__content { margin-top: 22px; }

.prose { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose img { border-radius: 10px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote {
	margin: 1.2em 0;
	padding: 12px 18px;
	border-left: 3px solid var(--brand);
	background: var(--panel);
	border-radius: 0 10px 10px 0;
	color: var(--text-2);
}
.prose code {
	padding: 2px 6px;
	background: var(--panel-2);
	border-radius: 5px;
	font-size: .9em;
}

/* ---------- 搜索 ---------- */
.search-page {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	max-width: 520px;
}

.search-page input {
	flex: 1;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	color: var(--text);
	font-size: 14px;
	outline: none;
}
.search-page input:focus { border-color: var(--brand); }

.search-page button,
.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--brand);
	color: var(--brand-ink);
	font-size: 14px;
	font-weight: 600;
}

/* ---------- 空状态 / 404 ---------- */
.empty {
	padding: 64px 20px;
	text-align: center;
	color: var(--text-2);
	background: var(--panel);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
}

.error404 { padding: 70px 0; text-align: center; }
.error404__code { margin: 0; font-size: 84px; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--brand) 45%, var(--panel-2)); }
.error404__title { font-size: 24px; margin-top: 10px; }
.error404__desc { color: var(--text-2); margin: 8px 0 4px; }
.error404 .search-page { margin: 18px auto; }
.error404 .btn { margin-top: 8px; }

/* ---------- 页脚 ---------- */
.site-footer {
	margin-top: 40px;
	padding: 34px 0;
	background: var(--panel);
	border-top: 1px solid var(--line);
}

.footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.footer__brand { max-width: 520px; }
.footer__brand strong { font-size: 15px; }
.footer__brand p { margin: 6px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.8; }

.footer__list { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer__list a { font-size: 13px; color: var(--text-2); }

.footer__copy {
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 12.5px;
	color: var(--text-3);
	flex-wrap: wrap;
}
.footer__copy a { color: var(--text-3); }
.footer__copy a:hover { color: var(--brand); }

.back-top {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--panel);
	color: var(--text-2);
	box-shadow: var(--shadow-md);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: .22s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
	.grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.grid-5, .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nav { display: none; }
}

@media (max-width: 720px) {
	.wrap { padding: 0 14px; }
	.header__inner { gap: 12px; }
	.search-mini { display: none; }
	.hero { padding: 30px 0 20px; }
	.hero__stats { display: none; }

	/* 筛选条：横向滚动 + 底部弹层 */
	.fbar { margin: 16px 0 4px; position: static; z-index: auto; }
	.fbar__bar {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 8px;
		gap: 6px;
		scrollbar-width: none;
	}
	.fbar__bar::-webkit-scrollbar { display: none; }
	.fbar__btn { flex: none; height: 32px; padding: 0 10px; }
	.fbar__btn .fbar__value { max-width: 72px; }
	.fbar__tail { margin-left: 0; flex: none; gap: 8px; }
	.fbar__reset { display: none; }

	.fpanel {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		width: auto;
		max-height: 76vh;
		z-index: 70;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .5);
		animation: sheet-in .22s cubic-bezier(.2, .8, .3, 1);
	}
	.fpanel__body { max-height: 48vh; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

	.fbackdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(10, 11, 16, .45);
		z-index: 55;
	}
	.fbackdrop[hidden] { display: none; }

	.grid-5, .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.card__title { font-size: 13px; }
	.card__body { padding: 8px 10px 10px; }
	.pill { font-size: 10.5px; padding: 0 7px; }
	.card__brand { max-width: 76px; }
	.grid.list .card__thumb { width: 84px; }
	.footer__inner { flex-direction: column; }
}

@keyframes sheet-in {
	from { transform: translateY(100%); }
	to { transform: none; }
}

/* =========================================================
   广告位
   ========================================================= */

.adslot {
	position: relative;
	margin: 22px 0;
	text-align: center;
}

.adslot__tag {
	display: inline-block;
	margin-bottom: 6px;
	padding: 1px 7px;
	border-radius: 4px;
	background: var(--panel-2);
	color: var(--text-3);
	font-size: 10.5px;
	letter-spacing: .08em;
}

.adslot__link {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--panel);
	line-height: 0;
}

.adslot__link img { width: 100%; height: auto; display: block; }

.grid__ad { grid-column: 1 / -1; }
.grid__ad .adslot { margin: 4px 0 12px; }

/* 幻灯片广告 */
.adcarousel {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--panel);
}

.adcarousel__viewport { overflow: hidden; }

.adcarousel__track {
	display: flex;
	transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}

.adcarousel__slide {
	flex: 0 0 100%;
	min-width: 100%;
	line-height: 0;
}

.adcarousel__slide img { width: 100%; height: auto; display: block; }

.adcarousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(10, 11, 16, .42);
	color: #fff;
	opacity: 0;
	transition: opacity .2s ease, background .2s ease;
}

.adcarousel:hover .adcarousel__nav,
.adcarousel:focus-within .adcarousel__nav { opacity: 1; }
.adcarousel__nav:hover { background: rgba(10, 11, 16, .7); }
.adcarousel__nav--prev { left: 12px; }
.adcarousel__nav--next { right: 12px; }

.adcarousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.adcarousel__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, .62);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
	transition: width .2s ease, background .2s ease;
	cursor: pointer;
}

.adcarousel__dot.is-active { width: 18px; background: #fff; }

@media (max-width: 720px) {
	.adcarousel__nav { opacity: 1; width: 30px; height: 30px; }
	.adcarousel__nav--prev { left: 8px; }
	.adcarousel__nav--next { right: 8px; }
}

/* =========================================================
   跳转中间页
   ========================================================= */

.gopage {
	max-width: 560px;
	margin: 46px auto 64px;
	padding: 34px 30px 30px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-md);
	text-align: center;
}

.gopage__disk {
	display: inline-block;
	padding: 4px 15px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--disk) 12%, var(--panel));
	border: 1px solid color-mix(in srgb, var(--disk) 30%, transparent);
	color: var(--disk);
	font-size: 12.5px;
	font-weight: 600;
}

.gopage__title { margin: 14px 0 0; font-size: 22px; }
.gopage__sub { margin: 8px 0 0; color: var(--text-3); font-size: 13.5px; }
.gopage__sub .dot { margin: 0 6px; }

.gopage__progress {
	height: 4px;
	margin: 24px 0 20px;
	border-radius: 99px;
	background: var(--panel-2);
	overflow: hidden;
}
.gopage__progress i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 99px;
	background: var(--brand);
	animation: gobar 3s linear forwards;
}

@keyframes gobar {
	from { width: 0; }
	to { width: 100%; }
}

.gopage__code {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--panel-2);
	font-size: 13px;
	color: var(--text-2);
}
.gopage__code b {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	letter-spacing: .06em;
	color: var(--text);
}

.gopage__auto {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: var(--text-3);
}
.gopage__auto span { color: var(--brand); font-weight: 600; }

.gopage__btn {
	display: block;
	height: 48px;
	line-height: 48px;
	border-radius: 12px;
	background: var(--brand);
	color: var(--brand-ink);
	font-weight: 600;
	font-size: 15px;
	transition: filter .18s ease;
}
.gopage__btn:hover { filter: brightness(1.06); color: var(--brand-ink); }

.gopage__btn.is-waiting {
	opacity: .55;
	pointer-events: none;
	cursor: default;
	filter: none;
}

.gopage__back {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	color: var(--text-3);
}
.gopage__back:hover { color: var(--brand); }

.gopage__tip {
	margin: 22px 0 0;
	font-size: 12px;
	line-height: 1.9;
	color: var(--text-3);
}

.gopage .adslot { margin-top: 24px; }

@media (max-width: 720px) {
	.gopage { margin: 24px 12px 40px; padding: 26px 18px 24px; }
	.gopage__title { font-size: 19px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
	.hot-slider { scroll-behavior: auto; }
}

/* =========================================================
   作品详情页
   ========================================================= */

.crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 0 4px;
	font-size: 12.5px;
	color: var(--text-3);
	flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brand); }

.game { padding-top: 18px; }

/* 头部 */
.game-hero {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	padding: 20px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.game-hero__cover {
	position: relative;
	flex: none;
	width: 216px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--panel-2);
	box-shadow: var(--shadow-md);
}
.game-hero__cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.game-hero__badge {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 2px 9px;
	border-radius: 6px;
	font-size: 11.5px;
	color: #fff;
	background: #d94f4f;
}
.game-hero__badge--update { background: #2f9e6e; }
.game-hero__badge--dead { background: #8b8f9a; }

.game-hero__info { flex: 1 1 auto; min-width: 0; }

.game-hero__title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }

.game-hero__sub {
	margin: 6px 0 0;
	font-size: 13.5px;
	color: var(--text-3);
	word-break: break-word;
}
.game-hero__sub .dot { margin: 0 6px; }

.game-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.gtag {
	padding: 3px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--brand) 10%, var(--panel));
	color: color-mix(in srgb, var(--brand) 70%, var(--text));
	font-size: 12.5px;
	border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
}
.gtag:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.game-meta {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px 18px;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1px dashed var(--line);
}
.game-meta__item { min-width: 0; }
.game-meta dt { font-size: 11.5px; color: var(--text-3); }
.game-meta dd { margin: 2px 0 0; font-size: 13.5px; color: var(--text); word-break: break-word; }

.game-hero__warn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 12px 0 0;
	padding: 4px 10px;
	border-radius: 7px;
	background: color-mix(in srgb, #d94f4f 10%, var(--panel));
	color: #b93b3b;
	font-size: 12.5px;
}
[data-theme="dark"] .game-hero__warn { color: #ff9b9b; }

/* ---------- 下载区 ---------- */
.dlbox {
	margin-top: 20px;
	padding: 18px 20px 20px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.dlbox__head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.dlbox__title { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.dlbox__title .icon { color: var(--brand); }
.dlbox__hint { font-size: 12px; color: var(--text-3); }
.dlbox__warn {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: color-mix(in srgb, #d94f4f 8%, var(--panel));
	color: #b93b3b;
	font-size: 13px;
}

.dltabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }

.dltab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 13.5px;
	transition: .16s ease;
}
.dltab:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--text); }
.dltab.is-active {
	border-color: var(--brand);
	background: color-mix(in srgb, var(--brand) 10%, var(--panel));
	color: var(--text);
	font-weight: 600;
}
.dltab__rec {
	font-style: normal;
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--brand);
	color: var(--brand-ink);
	font-size: 10.5px;
}
.dltab__n {
	font-style: normal;
	font-size: 11px;
	color: var(--text-3);
	background: var(--panel-2);
	border-radius: 99px;
	padding: 0 6px;
}
.dltab.is-active .dltab__n { background: color-mix(in srgb, var(--brand) 18%, var(--panel)); color: var(--brand); }

.dlpane { display: none; padding-top: 12px; }
.dlpane.is-active { display: block; }

.dlpane__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 12.5px;
	color: var(--text-3);
	margin-bottom: 10px;
}
.dlpane__meta b { color: var(--text); font-weight: 600; }
.dlpane__note { color: var(--text-2); }

.dlrows { display: grid; gap: 8px; }

.dlrow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	transition: border-color .16s ease, background .16s ease;
}
.dlrow:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

.dlrow__disk {
	flex: none;
	min-width: 84px;
	font-size: 13px;
	font-weight: 600;
	color: var(--disk, var(--brand));
}

.dlrow__code { font-size: 12.5px; color: var(--text-3); }
.dlrow__code b {
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 5px;
	background: var(--panel-2);
	color: var(--text);
	font-family: ui-monospace, Menlo, Consolas, monospace;
	letter-spacing: .03em;
}
.dlrow__code--none { opacity: .6; }

.dlrow__copy {
	flex: none;
	padding: 3px 9px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--panel);
	color: var(--text-2);
	font-size: 12px;
}
.dlrow__copy:hover { border-color: var(--brand); color: var(--brand); }
.dlrow__copy.is-done { border-color: #2f9e6e; color: #2f9e6e; }

.dlrow__clicks {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--text-3);
}

.dlrow__go {
	flex: none;
	padding: 7px 18px;
	border-radius: 8px;
	background: var(--brand);
	color: var(--brand-ink);
	font-size: 13px;
	font-weight: 600;
}
.dlrow__go:hover { filter: brightness(1.06); color: var(--brand-ink); }
.dlrow__go.is-disabled {
	background: var(--panel-2);
	color: var(--text-3);
	cursor: not-allowed;
	font-weight: 400;
}

.dlrow.is-dead .dlrow__disk { color: var(--text-3); }
.dlrow.is-dead .dlrow__code b { text-decoration: line-through; opacity: .6; }

/* ---------- 内容区块 ---------- */
.game-section { margin-top: 26px; }

.game-section__title {
	margin-bottom: 14px;
	font-size: 17px;
}

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

.shot {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--panel-2);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.03); }

/* 灯箱 */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	place-items: center;
	padding: 30px;
	background: rgba(8, 9, 14, .86);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
	max-width: min(1200px, 92vw);
	max-height: 88vh;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox__x {
	position: absolute;
	top: 18px; right: 18px;
	width: 38px; height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

@media (max-width: 900px) {
	.game-hero { flex-direction: column; gap: 18px; padding: 16px; }
	.game-hero__cover { width: 140px; }
	.game-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.dlrow { flex-wrap: wrap; gap: 8px 10px; padding: 10px; }
	.dlrow__disk { min-width: 0; }
	.dlrow__clicks { margin-left: 0; }
	.dlrow__go { margin-left: auto; }
	.dlbox { padding: 14px; }
	.game-hero__cover { width: 120px; }
}

/* =========================================================
   博客栏目
   ========================================================= */

.blogbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 4px 0 22px;
}

.blogbar__now { font-size: 12.5px; color: var(--text-3); }

.chip__n {
	font-style: normal;
	font-size: 11px;
	margin-left: 3px;
	opacity: .65;
}

.postlist { display: grid; gap: 14px; }

.postcard {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 16px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.postcard:hover {
	border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.postcard__thumb {
	flex: none;
	width: 224px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--panel-2);
}

.postcard__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.postcard:hover .postcard__thumb img { transform: scale(1.03); }

.postcard__body { flex: 1 1 auto; min-width: 0; }

.postcard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--text-3);
}

.postcard__cat {
	padding: 1px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--brand) 12%, var(--panel));
	color: color-mix(in srgb, var(--brand) 70%, var(--text));
	font-size: 12px;
	font-weight: 600;
}
.postcard__cat:hover { background: var(--brand); color: var(--brand-ink); }

.postcard__dot { opacity: .55; }

/* 置顶 */
.postcard.is-pinned {
	border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
	background: color-mix(in srgb, var(--brand) 3.5%, var(--panel));
}

.postcard__pin {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--brand-ink);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.7;
}
.postcard__pin .icon { stroke-width: 2; }

.postcard__title {
	margin: 8px 0 0;
	font-size: 18px;
	line-height: 1.5;
}

.postcard__excerpt {
	margin: 8px 0 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--text-2);
}

.postcard__more {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--brand);
}

.postlist--compact .postcard { padding: 14px; }
.postlist--compact .postcard__title { font-size: 16px; }

/* 文章详情 */
.wrap--article { max-width: 840px; }

/* 博客列表整体收窄，长行更好读 */
.wrap--blog { max-width: 1080px; }

.article { margin-top: 16px; }

.article__title { font-size: clamp(23px, 3vw, 32px); line-height: 1.4; }

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	color: var(--text-3);
}
.article__meta .dot { opacity: .55; }
.article__cat { color: var(--brand); }

.article__cover {
	margin: 24px 0 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
}
.article__cover img { width: 100%; height: auto; display: block; }

.article__content { margin-top: 26px; font-size: 16px; line-height: 1.9; }

.article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.article__foot {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.article__back { font-size: 13.5px; color: var(--text-2); }
.article__back:hover { color: var(--brand); }

.postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 28px;
}

.postnav__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	transition: border-color .18s ease;
}
.postnav__item:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.postnav__item span { font-size: 12px; color: var(--text-3); }
.postnav__item strong {
	font-size: 13.5px;
	font-weight: 600;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.postnav__item--next { text-align: right; }

@media (max-width: 720px) {
	.postcard { flex-direction: column; gap: 12px; padding: 14px; }
	.postcard__thumb { width: 100%; }
	.postcard__title { font-size: 16px; }
	.postnav { grid-template-columns: 1fr; }
	.article__content { font-size: 15.5px; }
}
