/* ==========================================================================
   美白祛痘云平台 · 主题样式
   设计目标：中文长文阅读优先，无外部字体，无 JS，移动端不横向滚动。
   2.0.0 起这是全站唯一的样式表：reset、容器宽度、页头页脚、评论全部在这里，
   不再有任何一条规则依赖父主题。
   ========================================================================== */

:root {
	--rl-ink: #1a1f24;
	--rl-ink-2: #4a5560;
	--rl-rose: #b4485c;
	--rl-rose-dark: #8d3648;
	--rl-teal: #2f6e67;
	--rl-bg: #faf8f6;
	--rl-surface: #fff;
	--rl-line: #e6ded6;
	--rl-warn-bg: #fff6f3;
	--rl-warn-line: #e8b5a6;
	--rl-radius: 10px;
	--rl-measure: 42rem;
	--rl-gap: 1.25rem;
	--rl-page-max: 76rem;
	--rl-pad: clamp(1rem, 4vw, 2.25rem);
}

/* ---------- 基础层（原来由 Astra 提供，现在自己出） ---------- */

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

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

body {
	margin: 0;
	background: var(--rl-bg);
	color: var(--rl-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
	font-size: 16px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}

/* 页脚贴底：内容不足一屏时不要让页脚浮在半空。 */
.rl-site { display: flex; flex-direction: column; min-height: 100vh; }
.rl-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { margin: 1.4em 0 .7em; }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }

p { margin: 0 0 1.15em; }

a { color: var(--rl-teal); }
a:hover, a:focus { color: var(--rl-rose); }

img, svg, video { max-width: 100%; height: auto; border: 0; }
img { display: block; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.5em; }
li { margin-bottom: .35em; }

code, pre, kbd { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
pre { overflow-x: auto; padding: 1rem; background: #f4efe9; border-radius: 6px; }

hr { height: 1px; margin: 2rem 0; border: 0; border-top: 1px solid var(--rl-line); }

table { max-width: 100%; }

/* 文章里常见的老站残留：居中图与浮动图。 */
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignleft  { float: left; margin: .4rem 1.2rem .8rem 0; }
.alignright { float: right; margin: .4rem 0 .8rem 1.2rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .84rem; color: var(--rl-ink-2); text-align: center; }
.clearfix::after, .entry-content::after { content: ""; display: table; clear: both; }

/* 容器：header.php 打开 .rl-main，footer.php 关闭，模板不要再套一层。 */
.rl-container {
	width: 100%;
	max-width: var(--rl-page-max);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--rl-pad);
	padding-left: var(--rl-pad);
}

.rl-main { padding-top: 1.2rem; padding-bottom: 2.4rem; }

.rl-skip:focus {
	position: static !important;
	width: auto; height: auto;
	overflow: visible; clip: auto; clip-path: none; white-space: normal;
	display: inline-block; margin: .6rem 0; padding: .5rem .9rem;
	background: var(--rl-ink); color: #fff; text-decoration: none;
}

/* ---------- 页头 ---------- */

.rl-site-head {
	background: var(--rl-surface);
	border-bottom: 1px solid var(--rl-line);
}
.rl-site-head__in {
	display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem;
	padding-top: .9rem; padding-bottom: .9rem;
}
.rl-brand { flex: 1 1 16rem; min-width: 0; }
.rl-brand__name {
	font-size: 1.22rem; font-weight: 700; letter-spacing: .01em;
	color: var(--rl-ink); text-decoration: none;
}
.rl-brand__name:hover { color: var(--rl-rose); }
.rl-brand__tag { margin: .1rem 0 0; font-size: .8rem; color: var(--rl-ink-2); }
.rl-brand .custom-logo { max-height: 44px; width: auto; }

.rl-site-nav { flex: 0 1 auto; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rl-nav { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.rl-nav li { margin: 0; }
.rl-nav a {
	display: inline-block; padding: .35rem 0;
	font-size: .95rem; font-weight: 600; color: var(--rl-ink); text-decoration: none;
	border-bottom: 2px solid transparent;
}
.rl-nav a:hover { color: var(--rl-rose); border-bottom-color: var(--rl-rose); }
.rl-nav .current-menu-item > a, .rl-nav .current_page_item > a { color: var(--rl-teal); border-bottom-color: var(--rl-teal); }
.rl-nav span { margin-left: .35em; font-size: .78rem; color: var(--rl-ink-2); }

/* ---------- 版式基线 ---------- */

h1, h2, h3, h4 { line-height: 1.4; font-weight: 700; letter-spacing: .01em; }

.entry-content { font-size: 1.0625rem; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content h2 { margin: 2.2em 0 .8em; padding-left: .65em; border-left: 4px solid var(--rl-rose); font-size: 1.4rem; }
.entry-content h3 { margin: 1.9em 0 .7em; font-size: 1.15rem; }
.entry-content img { height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote {
	margin: 1.6em 0; padding: .2em 1.1em; border-left: 3px solid var(--rl-line);
	color: var(--rl-ink-2); background: #fff; font-size: .98em;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95em; }
.entry-content th, .entry-content td { border: 1px solid var(--rl-line); padding: .55em .7em; text-align: left; }
.entry-content th { background: #f4efe9; }

.rl-kicker {
	margin: 0 0 .5rem; font-size: .78rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--rl-rose);
}

/* ---------- 首页 hero ---------- */

.rl-hero { padding: 2.6rem 0 2rem; border-bottom: 1px solid var(--rl-line); }
.rl-hero__title { margin: 0 0 .6rem; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.rl-hero__lede { max-width: 38rem; margin: 0 0 1.5rem; color: var(--rl-ink-2); font-size: 1.02rem; }

.rl-search { display: flex; gap: .5rem; max-width: 34rem; margin-bottom: 1.4rem; }
.rl-search input {
	flex: 1; min-width: 0; padding: .72rem .9rem; font: inherit;
	border: 1px solid var(--rl-line); border-radius: var(--rl-radius); background: #fff;
}
.rl-search input:focus { outline: 2px solid var(--rl-teal); outline-offset: 1px; }
.rl-search button {
	padding: .72rem 1.3rem; font: inherit; font-weight: 600; color: #fff;
	background: var(--rl-rose); border: 0; border-radius: var(--rl-radius); cursor: pointer;
}
.rl-search button:hover { background: var(--rl-rose-dark); }

.rl-hero__cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.rl-hero__cats a {
	display: inline-flex; align-items: center; gap: .4em; padding: .34rem .8rem;
	font-size: .88rem; color: var(--rl-ink); text-decoration: none;
	background: #fff; border: 1px solid var(--rl-line); border-radius: 999px;
}
.rl-hero__cats a:hover { border-color: var(--rl-teal); color: var(--rl-teal); }
.rl-hero__cats span { font-size: .74rem; color: var(--rl-ink-2); }

/* ---------- 区块 ---------- */

.rl-section { margin: 2.6rem 0; }
.rl-section__title {
	margin: 0 0 1.2rem; padding-bottom: .5rem;
	border-bottom: 2px solid var(--rl-ink); font-size: 1.22rem;
}
.rl-section--split { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .rl-section--split { grid-template-columns: 1fr 1fr; } }

.rl-more { margin: 1.3rem 0 0; font-size: .92rem; }
.rl-more a { color: var(--rl-teal); text-decoration: none; font-weight: 600; }
.rl-more a:hover { text-decoration: underline; }

.rl-lead { padding: 1.2rem 0 1.4rem; border-bottom: 1px dashed var(--rl-line); }
.rl-lead__title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.rl-lead__title a { color: var(--rl-ink); text-decoration: none; }
.rl-lead__ex { margin: 0 0 .5rem; color: var(--rl-ink-2); }
.rl-lead__meta { margin: 0; font-size: .84rem; color: var(--rl-ink-2); }

/* ---------- 文章卡 ---------- */

.rl-post-grid { display: grid; gap: var(--rl-gap); grid-template-columns: 1fr; }
/* 断点刻意放在 780px 而不是更早：卡片是"6rem 缩略图 + 正文"两列，
   在 620–780px 之间两列排版会让正文只剩约 132px（中文一行五六个字）。
   实测于 638px 视口，见 _deploy/preview/index.html 的 computed style 核对。 */
@media (min-width: 780px) { .rl-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rl-post-grid--page { grid-template-columns: repeat(3, 1fr); } }

.rl-post-card {
	display: grid; grid-template-columns: 6rem 1fr; gap: .9rem; align-items: start;
	padding: 1rem; background: var(--rl-surface);
	border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
}
.rl-post-card__media { display: block; }
.rl-post-card__media img { width: 100%; height: auto; border-radius: 6px; }
.rl-post-card__cat { margin: 0 0 .25rem; font-size: .76rem; color: var(--rl-rose); font-weight: 700; }
.rl-post-card__title { margin: 0 0 .35rem; font-size: 1.02rem; line-height: 1.45; }
.rl-post-card__title a { color: var(--rl-ink); text-decoration: none; }
.rl-post-card__title a:hover { color: var(--rl-teal); }
.rl-post-card__ex { margin: 0 0 .4rem; font-size: .88rem; color: var(--rl-ink-2); line-height: 1.7; }
.rl-post-card__meta { margin: 0; font-size: .78rem; color: var(--rl-ink-2); }

/* 无特色图时的纯色占位：避免整站破图。 */
.rl-thumb {
	display: flex; align-items: center; justify-content: center;
	width: 6rem; aspect-ratio: 4 / 3; border-radius: 6px;
	font-size: 1.7rem; font-weight: 700; color: #fff;
	background: var(--rl-teal);
}
.rl-thumb--0 { background: #2f6e67; }
.rl-thumb--1 { background: #b4485c; }
.rl-thumb--2 { background: #6a7f4f; }
.rl-thumb--3 { background: #4a6fa5; }
.rl-thumb--4 { background: #9a7b3f; }
.rl-thumb--5 { background: #7b5aa6; }

/* ---------- 词条 chip ---------- */

.rl-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.rl-chip {
	display: inline-flex; align-items: center; gap: .45em; padding: .38rem .85rem;
	font-size: .9rem; color: var(--rl-ink); text-decoration: none;
	background: #fff; border: 1px solid var(--rl-line); border-radius: 999px;
}
.rl-chip:hover { border-color: var(--rl-rose); color: var(--rl-rose); }
.rl-chip__n { font-size: .72rem; color: var(--rl-ink-2); }
.rl-chip--plain { background: #f4efe9; cursor: default; }

/* ---------- 文章页 / 单页 / 404 ---------- */

.rl-article,
.rl-page { padding: 2.2rem 0 1rem; }
.rl-article__head { margin: 0 0 1.4rem; }
.rl-article__title { margin: 0 0 .5rem; font-size: clamp(1.5rem, 4.4vw, 2.15rem); }
.rl-article__meta {
	display: flex; flex-wrap: wrap; gap: .6rem; margin: 0;
	font-size: .84rem; color: var(--rl-ink-2);
}
.rl-kicker a { color: inherit; text-decoration: none; }
.rl-article__cats a { color: var(--rl-ink-2); text-decoration: none; }
.rl-article__cats a:hover { color: var(--rl-rose); }
.rl-article__media { margin: 0 0 1.6rem; }
.rl-article__media img { width: 100%; height: auto; border-radius: var(--rl-radius); }
.rl-article__body { max-width: var(--rl-measure); }
.rl-page .rl-article__body { max-width: 46rem; }

.rl-post-nav {
	display: flex; flex-wrap: wrap; gap: 1.2rem;
	margin: 2rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--rl-line);
	font-size: .9rem;
}
.rl-post-nav__item { flex: 1 1 16rem; min-width: 0; }
.rl-post-nav a { color: var(--rl-teal); text-decoration: none; }
.rl-post-nav a:hover { text-decoration: underline; }

.rl-404 { padding-bottom: 1rem; border-bottom: 0; }
.rl-404__links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }

/* ---------- 文章页侧栏 ---------- */

.rl-rail {
	margin: 2.6rem 0; padding: 1.3rem;
	background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
	display: grid; gap: 1.4rem; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .rl-rail { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } }
.rl-rail__title { margin: 0 0 .6rem; font-size: .82rem; letter-spacing: .08em; color: var(--rl-ink-2); text-transform: uppercase; }
.rl-rel-list { margin: 0; padding-left: 1.15rem; font-size: .92rem; }
.rl-rel-list li { margin-bottom: .5rem; }
.rl-rel-list a { color: var(--rl-ink); text-decoration: none; }
.rl-rel-list a:hover { color: var(--rl-teal); }
.rl-rel-list time { display: block; font-size: .76rem; color: var(--rl-ink-2); }

/* ---------- 合规块 ---------- */

.rl-disclaimer {
	margin: 2.4rem 0; padding: 1rem 1.2rem;
	background: #f4efe9; border-left: 4px solid var(--rl-teal); border-radius: 0 var(--rl-radius) var(--rl-radius) 0;
	font-size: .86rem; line-height: 1.75; color: var(--rl-ink-2);
}
.rl-disclaimer__title { margin: 0 0 .3rem; font-size: .82rem; font-weight: 700; color: var(--rl-teal); }
.rl-disclaimer p { margin: 0; }

.rl-disclosure {
	margin: 0 0 1.4rem; padding: .6rem .9rem;
	background: var(--rl-warn-bg); border: 1px solid var(--rl-warn-line); border-radius: 6px;
	font-size: .84rem; color: var(--rl-rose-dark);
}

.rl-footer-notice {
	margin-top: 3rem; padding: 1.4rem 0; background: #f2ece5;
	border-top: 1px solid var(--rl-line); font-size: .8rem; line-height: 1.7; color: var(--rl-ink-2);
}
.rl-footer-notice p { margin: 0; max-width: 62rem; }

/* ---------- 页脚 ---------- */

.rl-site-foot {
	flex: none;
	background: #ece5dc;
	border-top: 1px solid var(--rl-line);
	color: var(--rl-ink);
	font-size: .9rem;
}
.rl-site-foot__cols {
	display: grid; gap: 1.8rem; grid-template-columns: 1fr;
	padding-top: 2.2rem; padding-bottom: 1.2rem;
}
@media (min-width: 760px) { .rl-site-foot__cols { grid-template-columns: repeat(3, 1fr); } }

.rl-foot__title {
	margin: 0 0 .7rem; font-size: .78rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--rl-ink-2);
}
.rl-foot-list { margin: 0; padding: 0; list-style: none; }
.rl-foot-list li { margin: 0 0 .4rem; }
.rl-foot-list a {
	display: flex; justify-content: space-between; gap: .8rem;
	color: var(--rl-ink); text-decoration: none;
}
.rl-foot-list a:hover { color: var(--rl-rose); }
.rl-foot-list span { flex: none; font-size: .78rem; color: var(--rl-ink-2); }
.rl-foot-list__muted { color: var(--rl-ink-2); }
.rl-foot-about { margin: 0; color: var(--rl-ink-2); line-height: 1.75; }

.rl-site-foot__bar {
	display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: baseline;
	padding-top: 1.1rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(26,31,36,.1);
	font-size: .82rem; color: var(--rl-ink-2);
}
.rl-foot-copy, .rl-foot-icp { margin: 0; }
.rl-foot-icp a { color: var(--rl-ink-2); text-decoration: none; }
.rl-foot-icp a:hover { color: var(--rl-rose); text-decoration: underline; }

/* ---------- 评论 ---------- */

.rl-comments { max-width: var(--rl-measure); margin: 3rem 0 1rem; }
.rl-comments__title { margin: 0 0 1rem; font-size: 1.1rem; }
.rl-comments__closed { font-size: .88rem; color: var(--rl-ink-2); }

.rl-comment-list { margin: 0; padding: 0; list-style: none; }
.rl-comment-list .comment {
	margin: 0 0 1.1rem; padding: 1rem 1.1rem;
	background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
}
.rl-comment-list .children { margin: .8rem 0 0 1.4rem; padding: 0; list-style: none; }
.rl-comment-list .avatar { float: left; margin-right: .8rem; border-radius: 50%; }
.comment-author { font-size: .92rem; }
.comment-author .fn { font-weight: 700; font-style: normal; }
.comment-metadata, .comment-awaiting-moderation { font-size: .78rem; color: var(--rl-ink-2); }
.comment-metadata a { color: var(--rl-ink-2); text-decoration: none; }
.comment-content { font-size: .95rem; clear: both; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link { font-size: .82rem; font-weight: 600; }
.comment-navigation { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; font-size: .88rem; }

.rl-comment-form { margin-top: 1.6rem; }
.rl-comment-form label { display: block; margin-bottom: .3rem; font-size: .84rem; color: var(--rl-ink-2); }
.rl-comment-form input[type=text],
.rl-comment-form input[type=email],
.rl-comment-form input[type=url],
.rl-comment-form textarea {
	width: 100%; max-width: 30rem; padding: .6rem .8rem; font: inherit; color: var(--rl-ink);
	background: #fff; border: 1px solid var(--rl-line); border-radius: 6px;
}
.rl-comment-form textarea { max-width: none; }
.rl-comment-form p { margin: 0 0 1rem; }
.rl-comment-form .submit {
	padding: .6rem 1.6rem; font: inherit; font-weight: 600; color: #fff;
	background: var(--rl-rose); border: 0; border-radius: var(--rl-radius); cursor: pointer;
}
.rl-comment-form .submit:hover { background: var(--rl-rose-dark); }
.rl-comment-form .required { color: var(--rl-rose); }

/* ---------- 面板与定义列表 ---------- */

.rl-panel {
	margin: 1.8rem 0; padding: 1.3rem;
	background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
}
.rl-panel__title { margin: 0 0 .9rem; font-size: 1.02rem; }
.rl-panel--missing { border-color: var(--rl-warn-line); background: var(--rl-warn-bg); }
.rl-panel--legal { background: #f7f9f8; }

.rl-dl { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem 1rem; margin: 0; font-size: .94rem; }
.rl-dl dt { color: var(--rl-ink-2); }
.rl-dl dd { margin: 0; }
.rl-dl--inline { grid-template-columns: auto auto; gap: .3rem 1rem; }

.rl-note { margin: .8rem 0 0; font-size: .82rem; color: var(--rl-ink-2); }
.rl-warn { margin: .6rem 0 0; font-size: .88rem; color: var(--rl-rose-dark); font-weight: 600; }
.rl-notice {
	margin: 1.6rem 0; padding: .9rem 1.1rem;
	background: #f4efe9; border-radius: 6px; font-size: .9rem;
}
.rl-notice--warn { background: var(--rl-warn-bg); border-left: 4px solid var(--rl-rose); }

/* ---------- 旗舰店 ---------- */

.rl-store__head { margin-bottom: 1.4rem; }
.rl-store__title { margin: 0 0 .3rem; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.rl-store__brand { margin: 0; color: var(--rl-ink-2); font-size: .95rem; }
.rl-store__media { margin: 0 0 1.8rem; }
.rl-store__media img { width: 100%; height: auto; border-radius: var(--rl-radius); }

.rl-store-grid { display: grid; gap: var(--rl-gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .rl-store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rl-store-grid--page { grid-template-columns: repeat(3, 1fr); } }

.rl-store-card {
	display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem;
	background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
	text-decoration: none; color: var(--rl-ink);
}
.rl-store-card:hover { border-color: var(--rl-teal); }
.rl-store-card__media img { width: 100%; height: auto; border-radius: 6px; }
.rl-store-card__name { font-weight: 700; font-size: 1.05rem; }
.rl-store-card__addr, .rl-store-card__hours { font-size: .86rem; color: var(--rl-ink-2); }

.rl-svc-list { margin: 0; padding-left: 1.2rem; font-size: .96rem; }
.rl-svc-list li { margin-bottom: .35rem; }

.rl-price { width: 100%; border-collapse: collapse; font-size: .93rem; }
.rl-price th, .rl-price td { padding: .6rem .7rem; border-bottom: 1px solid var(--rl-line); text-align: left; }
.rl-price thead th { background: #f4efe9; font-weight: 700; }

/* ---------- 产品导购 ---------- */

.rl-goods__head { margin-bottom: 1.2rem; }
.rl-goods__title { margin: 0 0 .7rem; font-size: clamp(1.4rem, 3.6vw, 1.9rem); }
.rl-goods__media { margin: 0 0 1.6rem; }
.rl-goods__media img { width: 100%; height: auto; border-radius: var(--rl-radius); }
.rl-reg__no { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--rl-teal); letter-spacing: .02em; }

.rl-btn {
	display: inline-block; padding: .7rem 1.6rem; font-weight: 600; color: #fff;
	background: var(--rl-rose); border-radius: var(--rl-radius); text-decoration: none;
}
.rl-btn:hover { background: var(--rl-rose-dark); color: #fff; }
.rl-buy { margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.rl-buy__note { font-size: .84rem; color: var(--rl-ink-2); }

.rl-goods-grid { display: grid; gap: var(--rl-gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .rl-goods-grid { grid-template-columns: repeat(4, 1fr); } }
.rl-goods-card {
	padding: .9rem; background: var(--rl-surface);
	border: 1px solid var(--rl-line); border-radius: var(--rl-radius);
}
.rl-goods-card__media img { width: 100%; height: auto; border-radius: 6px; }
.rl-goods-card__title { margin: .6rem 0 .2rem; font-size: .98rem; line-height: 1.45; }
.rl-goods-card__title a { color: var(--rl-ink); text-decoration: none; }
.rl-goods-card__brand, .rl-goods-card__price { margin: 0; font-size: .82rem; color: var(--rl-ink-2); }
.rl-goods-card__price { color: var(--rl-rose); font-weight: 700; }
.rl-goods-card__tag { margin: .4rem 0 0; font-size: .72rem; color: var(--rl-rose-dark); }

/* ---------- 词表 / 归档 ---------- */

.rl-archive-head { padding: 2rem 0 1.4rem; border-bottom: 1px solid var(--rl-line); margin-bottom: 1.8rem; }
.rl-archive-title { margin: 0 0 .6rem; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.rl-archive-lede { margin: 0; max-width: 44rem; color: var(--rl-ink-2); font-size: .96rem; }
.rl-term__desc { max-width: var(--rl-measure); margin: .8rem 0; }
.rl-term__todo { font-size: .88rem; color: var(--rl-ink-2); }
.rl-term__count { margin: .6rem 0 0; font-size: .84rem; color: var(--rl-ink-2); }

.rl-deep__list { margin: 0; padding: 0; list-style: none; }
.rl-deep__list li {
	display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
	padding: .7rem 0; border-bottom: 1px dashed var(--rl-line); font-size: .96rem;
}
.rl-deep__list a { color: var(--rl-ink); text-decoration: none; }
.rl-deep__list a:hover { color: var(--rl-teal); }
.rl-deep__list time { flex: none; font-size: .8rem; color: var(--rl-ink-2); }

.rl-pager { margin: 2.4rem 0; }
.rl-pager .page-numbers {
	display: inline-block; margin-right: .3rem; padding: .4rem .8rem;
	border: 1px solid var(--rl-line); border-radius: 6px; background: #fff;
	text-decoration: none; color: var(--rl-ink); font-size: .9rem;
}
.rl-pager .current { background: var(--rl-ink); color: #fff; border-color: var(--rl-ink); }

.rl-empty { padding: 1.2rem; background: #f4efe9; border-radius: 6px; color: var(--rl-ink-2); font-size: .92rem; }

/* ---------- 可访问性 ---------- */

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 2px solid var(--rl-teal); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* 窄屏收紧卡片栅格，避免中文标题挤压 */
@media (max-width: 480px) {
	.rl-post-card { grid-template-columns: 1fr; }
	.rl-thumb { width: 100%; }
	.rl-dl { grid-template-columns: 1fr; gap: .1rem 0; }
	.rl-dl dd { margin-bottom: .5rem; }
}
