/* GENERATED by tools/rtl/build.mjs — 不要手改 */
/* theme: apknest | sources: style.css */
/* source-sha256: 81b391c67cb20b9fa0cef1de15ff82b42d966204e22ccbc1f904cf9d01c18cd7 | rtlcss: 4.3.0 | ignored rules: 3 (built-in [dir=rtl]/:dir(rtl) + rtl-ignore.txt) */
/* Do not edit: rerun "node tools/rtl/build.mjs --theme apknest". */
/*
Theme Name: ApkNest
Description: Cozy garden-flow review theme. Mint background, deep teal accents, rounded two-column cards, floating pill navigation.
Author: replica
Version: 1.0.10
Text Domain: apknest
*/
:root {
	--nst-bg: #f0fdf9;
	--nst-panel: #ffffff;
	--nst-band: #d9f5ec;
	--nst-ink: #123332;
	--nst-dim: #5c7a76;
	--nst-line: #c8e8dd;
	--nst-accent: #0f766e;
	--nst-accent-2: #14b8a6;
	--nst-accent-ink: #ffffff;
	--nst-warn: #b45309;
	--nst-wrap: 1128px;
	--nst-radius: 18px;
	--nst-sans: "Nunito Sans", "Segoe UI", -apple-system, sans-serif;
	--nst-round: "Nunito Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--nst-bg);
	color: var(--nst-ink);
	font-family: var(--nst-sans);
	font-size: 16px;
	line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--nst-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--nst-accent-2); outline-offset: 2px; border-radius: 6px; }
.nst-wrap { max-width: var(--nst-wrap); margin: 0 auto; padding: 0 22px; }
/* ---------- floating pill nav ---------- */
.nst-top {
	position: sticky;
	top: 12px;
	z-index: 60;
	margin: 12px auto 0;
	max-width: var(--nst-wrap);
	padding: 0 22px;
}
.nst-pill {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid var(--nst-line);
	border-radius: 999px;
	box-shadow: 0 8px 28px rgba(15, 118, 110, 0.14);
	padding: 9px 20px 9px 12px;
	backdrop-filter: blur(9px);
}
.nst-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 800;
	font-size: 17px;
	color: var(--nst-accent);
	letter-spacing: 0.2px;
	white-space: nowrap;
}
.nst-brand svg { width: 26px; height: 26px; }
.nst-brand img.custom-logo { max-height: 40px; width: auto; }
.nst-nav { margin-inline-start: auto; }
.nst-nav ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.nst-nav li { position: relative; }
.nst-nav ul ul {
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-start: 0;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(18, 51, 50, 0.16);
	padding: 6px;
	min-width: 190px;
	display: none;
	z-index: 70;
}
.nst-nav li:hover > ul,
.nst-nav li:focus-within > ul { display: block; }
.nst-nav a {
	display: block;
	padding: 7px 13px;
	border-radius: 999px;
	color: var(--nst-ink);
	font-weight: 600;
	font-size: 14px;
}
.nst-nav a:hover { background: var(--nst-band); text-decoration: none; }
.nst-nav .current-menu-item > a { background: var(--nst-accent); color: var(--nst-accent-ink); }
.nst-pill__side { display: flex; align-items: center; gap: 8px; }
.nst-search { position: relative; }
.nst-search form { display: flex; align-items: center; background: var(--nst-band); border-radius: 999px; padding: 2px 14px 2px 2px; }
.nst-search input[type="search"] {
	border: 0;
	background: transparent;
	padding: 7px 4px;
	width: 130px;
	font: inherit;
	font-size: 14px;
	color: var(--nst-ink);
}
.nst-search input[type="search"]:focus { outline: none; }
.nst-search button {
	border: 0;
	background: var(--nst-accent);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.nst-search button svg { width: 15px; height: 15px; }
.nst-suggest {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-end: 0;
	width: 300px;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	box-shadow: 0 14px 34px rgba(18, 51, 50, 0.2);
	padding: 6px;
	display: none;
	z-index: 80;
}
.nst-suggest.is-live { display: block; }
.nst-suggest__row { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.nst-suggest__row:hover { background: var(--nst-band); text-decoration: none; }
.nst-suggest__row img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.nst-suggest__row span { font-size: 13.5px; font-weight: 600; color: var(--nst-ink); }
.nst-burger {
	display: none;
	border: 1px solid var(--nst-line);
	background: #fff;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	cursor: pointer;
	color: var(--nst-accent);
}
.nst-burger svg { width: 18px; height: 18px; }
/* mobile sheet */
.nst-sheet { display: none; }
.nst-sheet .nst-lang--sheet { display: none; }
.nst-sheet.is-open {
	display: block;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	box-shadow: 0 12px 30px rgba(18, 51, 50, 0.18);
	margin-top: 10px;
	padding: 12px 16px;
}
.nst-sheet-list, .nst-sheet ul, .nst-sheet ol { list-style: none; margin: 0; padding: 0; }
.nst-sheet ul ul { padding-inline-start: 16px; }
.nst-sheet li { border-bottom: 1px dashed var(--nst-line); }
.nst-sheet li:last-child { border-bottom: 0; }
.nst-sheet a { display: block; padding: 11px 4px; font-weight: 700; color: var(--nst-ink); }
/* ---------- nest ticker / welcome band ---------- */
.nst-welcome {
	background: linear-gradient(-135deg, var(--nst-band), #eafcf5 65%);
	border: 1px solid var(--nst-line);
	border-radius: 0 0 26px 26px;
	margin-top: -34px;
	padding: 64px 0 26px;
}
.nst-welcome__in { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.nst-welcome__hi { font-size: 22px; font-weight: 800; color: var(--nst-accent); }
.nst-welcome__sub { color: var(--nst-dim); font-size: 14.5px; }
/* ---------- section labels ---------- */
.nst-seclabel {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 30px 0 16px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: var(--nst-accent);
}
.nst-seclabel .leaf {
	width: 26px;
	height: 26px;
	border-radius: 9px;
	background: var(--nst-accent);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 13px;
}
.nst-seclabel .leaf svg { width: 14px; height: 14px; }
.nst-seclabel .wire { flex: 1; height: 1px; background: var(--nst-line); }
/* ---------- hero nest (featured pair) ---------- */
.nst-nestgrid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 18px;
}
.nst-nestgrid > div { min-width: 0; }
.nst-perch {
	min-width: 0;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	box-shadow: 0 6px 20px rgba(18, 51, 50, 0.07);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.nst-perch--lead { border: 2px solid var(--nst-accent-2); }
.nst-perch__media { border-radius: 14px; overflow: hidden; background: var(--nst-band); aspect-ratio: 16 / 8; }
.nst-perch__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nst-kick {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--nst-band);
	color: var(--nst-accent);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	width: fit-content;
}
.nst-perch h1, .nst-perch h2, .nst-perch h3 { margin: 0; line-height: 1.35; }
.nst-perch h1 a, .nst-perch h2 a, .nst-perch h3 a { color: var(--nst-ink); font-size: 21px; overflow-wrap: anywhere; }
.nst-perch--lead h1 a, .nst-perch--lead h2 a { font-size: 25px; }
.nst-perch p { margin: 0; color: var(--nst-dim); font-size: 14.5px; overflow-wrap: anywhere; }
.nst-perch__meta { color: var(--nst-dim); font-size: 13px; }
.nst-perch__meta b { color: var(--nst-accent); }
.nst-perch__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nst-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--nst-accent);
	color: #fff;
	font-weight: 800;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 14px;
	border: 0;
	cursor: pointer;
}
.nst-btn:hover { background: var(--nst-accent-2); text-decoration: none; color: #fff; }
.nst-btn svg { width: 16px; height: 16px; }
.nst-btn--ghost { background: transparent; color: var(--nst-accent); border: 2px solid var(--nst-accent); padding: 8px 20px; }
/* ---------- two-column card rows ---------- */
.nst-cards2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	min-width: 0;
}
.nst-cards2 > * { min-width: 0; }
.nst-twig {
	position: relative;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	box-shadow: 0 5px 16px rgba(18, 51, 50, 0.06);
	padding: 18px;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	min-width: 0;
	gap: 16px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nst-twig:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18, 51, 50, 0.12); }
.nst-twig__img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--nst-band); }
.nst-twig__score {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	background: var(--nst-accent);
	color: #fff;
	font-weight: 800;
	font-size: 13.5px;
	border-radius: 999px;
	padding: 4px 11px;
}
.nst-twig h3 { margin: 0 0 4px; font-size: 16.5px; line-height: 1.4; }
.nst-twig h3 a { color: var(--nst-ink); overflow-wrap: anywhere; }
.nst-twig .meta { color: var(--nst-dim); font-size: 13px; margin-bottom: 9px; }
.nst-stars { display: inline-flex; gap: 2px; align-items: center; }
.nst-stars svg { width: 15px; height: 15px; }
.nst-stars .on { color: var(--nst-accent-2); }
.nst-stars .half { color: var(--nst-accent-2); opacity: 0.45; }
.nst-stars .off { color: var(--nst-line); }
/* ---------- compact branch list ---------- */
.nst-list { display: grid; gap: 10px; }
.nst-branch {
	display: grid;
	grid-template-columns: 54px 1fr auto;
	gap: 15px;
	align-items: center;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: 16px;
	padding: 12px 16px;
	transition: border-color 0.15s ease;
}
.nst-branch:hover { border-color: var(--nst-accent-2); }
.nst-branch img { width: 54px; height: 54px; border-radius: 13px; object-fit: cover; background: var(--nst-band); }
.nst-branch .rd-cat {
	display: inline-block;
	color: var(--nst-accent);
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	margin-bottom: 2px;
}
.nst-branch .t { display: block; font-weight: 800; color: var(--nst-ink); font-size: 15.5px; }
.nst-branch .m { color: var(--nst-dim); font-size: 12.5px; display: flex; gap: 12px; flex-wrap: wrap; }
.nst-branch__side { display: grid; justify-items: end; gap: 4px; }
.nst-branch__side .v { font-weight: 800; color: var(--nst-accent); font-size: 15px; }
/* ---------- archive head ---------- */
.nst-archhead { margin: 28px 0 20px; }
.nst-archhead h1 { font-size: 30px; margin: 6px 0 8px; line-height: 1.25; }
.nst-archhead .nst-count { color: var(--nst-dim); font-size: 14px; }
.nst-archdesc { color: var(--nst-dim); max-width: 720px; }
.nst-search--wide { max-width: 560px; margin: 18px 0; }
.nst-search--wide .nst-search form { background: var(--nst-panel); border: 1px solid var(--nst-line); padding: 5px 16px 5px 5px; }
.nst-search--wide input[type="search"] { width: 100%; min-width: 0; flex: 1; font-size: 15.5px; }
/* ---------- single nest ---------- */
.nst-crumb { color: var(--nst-dim); font-size: 13px; margin: 24px 0 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.nst-crumb a { color: var(--nst-accent); }
.nst-crumb .sep { opacity: 0.5; }
.nst-nesthead {
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	padding: 24px;
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 20px;
	align-items: center;
	margin-bottom: 16px;
}
.nst-nesthead img.nst-appicon { width: 86px; height: 86px; border-radius: 22px; object-fit: cover; background: var(--nst-band); }
.nst-nesthead h1 { margin: 0 0 6px; font-size: 27px; line-height: 1.25; }
.nst-nesthead .dev { color: var(--nst-dim); font-size: 14px; }
.nst-nesthead .dev b { color: var(--nst-accent); }
.nst-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.nst-chip {
	background: var(--nst-band);
	color: var(--nst-accent);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12.5px;
	font-weight: 700;
}
.nst-chip a { color: inherit; }
/* score egg + download wing */
.nst-nestbody { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.nst-article {
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	padding: 26px 28px;
}
.nst-article .entry > :first-child { margin-top: 0; }
.nst-article h2 { margin-top: 1.6em; padding-top: 0.4em; border-top: 2px dashed var(--nst-line); }
.nst-article h3 { margin-top: 1.4em; }
.nst-article table { width: 100%; border-collapse: collapse; }
.nst-article td, .nst-article th { border-bottom: 1px solid var(--nst-line); padding: 8px 6px; text-align: right; }
.nst-article blockquote { margin: 1.2em 0; padding: 10px 18px; border-inline-start: 4px solid var(--nst-accent-2); background: var(--nst-band); border-radius: 12px 0 0 12px; }
.nst-article img { border-radius: 12px; }
.nst-wing { position: sticky; top: 92px; display: grid; gap: 14px; }
.nst-egg {
	background: var(--nst-panel);
	border: 2px solid var(--nst-accent-2);
	border-radius: 24px;
	padding: 22px;
	text-align: center;
}
.nst-egg .big { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--nst-accent); }
.nst-egg .big .v { font-size: 46px; font-weight: 800; line-height: 1; }
.nst-egg .big small { color: var(--nst-dim); font-weight: 700; font-size: 15px; }
.nst-egg .voteline { color: var(--nst-dim); font-size: 13px; margin: 8px 0 14px; }
.nst-rate { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; }
.nst-rate button {
	border: 0;
	background: transparent;
	color: var(--nst-line);
	cursor: pointer;
	padding: 2px;
	transition: transform 0.1s ease;
}
.nst-rate button:hover { transform: scale(1.2); }
.nst-rate button svg { width: 26px; height: 26px; }
.nst-rate button.is-lit { color: var(--nst-accent-2); }
.nst-rate button:disabled { cursor: default; }
.nst-rate .nst-thanks { display: block; color: var(--nst-accent); font-weight: 700; font-size: 13px; margin-top: 8px; }
.nst-dl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	justify-content: center;
	background: var(--nst-accent);
	color: #fff;
	font-weight: 800;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 15px;
}
.nst-dl:hover { background: var(--nst-accent-2); text-decoration: none; color: #fff; }
.nst-dl + .nst-dl { margin-top: 8px; }
.nst-dl svg { width: 17px; height: 17px; }
.nst-sidepane {
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	border-radius: var(--nst-radius);
	padding: 18px;
}
.nst-sidepane h4 {
	margin: 0 0 10px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--nst-accent);
}
.nst-sidepane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nst-sidepane li a { color: var(--nst-ink); font-weight: 600; font-size: 14px; }
.nst-sidepane .spec { display: flex; justify-content: space-between; gap: 10px; }
.nst-sidepane .spec a { flex: 1; }
.nst-sidepane .v { color: var(--nst-accent); font-weight: 800; }
.nst-sidepane form { display: flex; gap: 6px; }
.nst-sidepane input[type="search"] { flex: 1; min-width: 0; border: 1px solid var(--nst-line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; }
.nst-sidepane button { border: 0; background: var(--nst-accent); color: #fff; border-radius: 999px; width: 36px; cursor: pointer; }
.nst-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--nst-line); border: 1px solid var(--nst-line); border-radius: 14px; overflow: hidden; margin-top: 14px; }
.nst-spec > div { background: var(--nst-panel); padding: 10px 12px; text-align: center; }
.nst-spec dt { color: var(--nst-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.nst-spec dd { margin: 3px 0 0; font-weight: 800; font-size: 13.5px; }
/* share */
.nst-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--nst-line); }
.nst-share__label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--nst-dim); }
.nst-share a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--nst-band);
	color: var(--nst-accent);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 700;
}
.nst-share a:hover { background: var(--nst-accent); color: #fff; text-decoration: none; }
.nst-share svg { width: 14px; height: 14px; }
/* report / correction note */
.nst-correct {
	margin-top: 14px;
	color: var(--nst-dim);
	font-size: 13.5px;
	background: var(--nst-band);
	border-radius: 12px;
	padding: 10px 14px;
}
.nst-flagbtn { border: 0; background: none; color: var(--nst-accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }
/* TOC pills */
.nst-toc {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	background: var(--nst-panel);
	border: 1px dashed var(--nst-accent-2);
	border-radius: var(--nst-radius);
	padding: 14px 16px;
	margin: 18px 0;
}
.nst-toc .toclabel { width: 100%; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--nst-accent); }
.nst-toc a {
	background: var(--nst-band);
	color: var(--nst-accent);
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 13px;
	font-weight: 700;
}
.nst-toc a:hover { background: var(--nst-accent); color: #fff; text-decoration: none; }
/* comments */
.nst-comments { margin-top: 20px; }
.nst-comments__title { font-size: 19px; }
.nst-commentlist { list-style: none; padding: 0; display: grid; gap: 12px; }
.nst-commentlist .comment-body { background: var(--nst-panel); border: 1px solid var(--nst-line); border-radius: 14px; padding: 14px 16px; }
.nst-commentform textarea, .nst-commentform input[type="text"], .nst-commentform input[type="email"], .nst-commentform input[type="url"] {
	width: 100%;
	border: 1px solid var(--nst-line);
	border-radius: 12px;
	padding: 10px 14px;
	font: inherit;
	background: #fff;
}
.nst-commentform .submit { background: var(--nst-accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 26px; font-weight: 800; cursor: pointer; }
.nst-comments__closed { color: var(--nst-dim); font-style: italic; }
/* 404 */
.nst-404 { text-align: center; padding: 70px 20px; }
.nst-404__glyph {
	width: 120px;
	height: 120px;
	margin: 0 auto 18px;
	border-radius: 999px;
	background: var(--nst-band);
	display: grid;
	place-items: center;
	color: var(--nst-accent);
	font-size: 30px;
	font-weight: 800;
	border: 2px dashed var(--nst-accent-2);
}
.nst-404 h1 { font-size: 26px; margin: 0 0 10px; }
.nst-404 p { color: var(--nst-dim); max-width: 460px; margin: 0 auto 22px; }
.nst-404 form { display: flex; justify-content: center; gap: 8px; }
.nst-404 input[type="search"] { border: 1px solid var(--nst-line); border-radius: 999px; padding: 10px 18px; font: inherit; width: 280px; }
.nst-404 button { border: 0; background: var(--nst-accent); color: #fff; border-radius: 999px; width: 44px; cursor: pointer; }
/* pagination */
.nst-pagerwrap { margin: 26px 0 40px; }
.nst-pager { display: flex; gap: 6px; list-style: none; justify-content: center; padding: 0; flex-wrap: wrap; }
.nst-pager .page-link, .nst-pager .dr-here, .nst-pager .dots {
	display: inline-block;
	padding: 8px 15px;
	border-radius: 999px;
	background: var(--nst-panel);
	border: 1px solid var(--nst-line);
	color: var(--nst-ink);
	font-weight: 700;
	font-size: 14px;
}
.nst-pager .page-link:hover { border-color: var(--nst-accent-2); text-decoration: none; }
.nst-pager .dr-here { background: var(--nst-accent); color: #fff; border-color: var(--nst-accent); }
/* footer */
.nst-foot {
	background: var(--nst-accent);
	color: #e7fbf5;
	border-radius: 26px 26px 0 0;
	margin-top: 40px;
	padding: 40px 0 0;
}
.nst-foot a { color: #b9f4e8; }
.nst-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 28px; }
.nst-foot__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.nst-foot__brand svg { width: 26px; height: 26px; }
.nst-foot p, .nst-foot li { color: #cdeee5; font-size: 14px; }
.nst-foot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 12px; }
.nst-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nst-foot__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	padding: 16px 0 22px;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #b9e8dc;
}
.nst-lang { display: flex; align-items: center; gap: 2px; flex: none; padding: 2px; border: 1px solid var(--nst-line); border-radius: 999px; background: var(--nst-panel); }
.nst-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 3px 10px; border-radius: 999px; color: var(--nst-dim); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.6; text-decoration: none; }
.nst-lang a:hover { color: var(--nst-ink); background: var(--nst-band); }
.nst-lang a.is-current { background: var(--nst-accent); color: var(--nst-accent-ink); }
/* up button */
.nst-up {
	position: fixed;
	inset-inline-end: 22px;
	bottom: 22px;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 0;
	background: var(--nst-accent);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 90;
}
.nst-up.is-show { opacity: 1; pointer-events: auto; }
.nst-up svg { width: 19px; height: 19px; }
/* report dialog */
.nst-report {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(18, 51, 50, 0.55);
	z-index: 120;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.nst-report.is-open { display: flex; }
.nst-report__card {
	background: var(--nst-panel);
	border-radius: 22px;
	max-width: 440px;
	width: 100%;
	padding: 26px;
	position: relative;
}
.nst-report__card h3 { margin: 0 0 14px; }
.nst-report__close { position: absolute; top: 14px; inset-inline-end: 14px; border: 0; background: var(--nst-band); color: var(--nst-accent); width: 34px; height: 34px; border-radius: 999px; cursor: pointer; }
.nst-report__close svg { width: 14px; height: 14px; }
.nst-report label { display: block; margin-bottom: 8px; font-size: 14.5px; }
.nst-report textarea, .nst-report input[type="text"] { width: 100%; border: 1px solid var(--nst-line); border-radius: 12px; padding: 10px 14px; font: inherit; margin-bottom: 10px; }
.nst-report input[type="submit"] { background: var(--nst-accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 24px; font-weight: 800; cursor: pointer; }
.nst-report .nst-report-done { color: var(--nst-accent); font-weight: 700; }
/* ---------- responsive ---------- */
@media (max-width: 1020px) {
	.nst-nestgrid { grid-template-columns: 1fr; }
	.nst-nestbody { grid-template-columns: 1fr; }
	.nst-wing { position: static; }
	.nst-nav { display: none; }
	.nst-burger { display: grid; place-items: center; }
}
@media (max-width: 720px) {
	.nst-cards2 { grid-template-columns: 1fr; }
	.nst-branch { grid-template-columns: 44px 1fr auto; }
	.nst-branch img { width: 44px; height: 44px; }
	.nst-foot__grid { grid-template-columns: 1fr; }
	.nst-spec { grid-template-columns: 1fr 1fr; }
	.nst-search input[type="search"] { width: 92px; }
	.nst-welcome__in { flex-direction: column; gap: 6px; }
	/* the pill header cannot fit search + lang switcher next to the burger on phones */
	.nst-search { display: none; }
	.nst-lang { display: none; }
	/* …so the drawer carries the language switcher instead */
	.nst-sheet .nst-lang--sheet { display: flex; margin: 12px 4px 0; border: 0; padding: 0; background: transparent; }
	.nst-sheet .nst-lang--sheet a { border: 1px solid var(--nst-line); padding: 4px 14px; }
	.nst-sheet .nst-lang--sheet a.is-current { border-color: var(--nst-accent); }
	.nst-brand { font-size: 16px; }
	/* Long concatenated metadata tokens must wrap instead of widening the page. */
	.nst-wrap p, .nst-wrap a, .nst-wrap h1, .nst-wrap h2, .nst-wrap h3, .nst-wrap li, .nst-wrap span { overflow-wrap: anywhere; }
}
/* ===== RTL：方向性图形与正文（RTL 试点 P2-B3，2026-11-17） =====
   用 html[dir="rtl"] 而不是 :dir()：旧版 Android WebView 不认后者；LTR 下这些规则不生效。
   本皮肤没有下载页（/download/{id}/ 302 到发布方）；这里覆盖：分页 ←/→ 镜像、
   正文（模板改不到）容器级 plaintext、评论同意行。 */
html[dir="rtl"] .nst-pager a.prev,html[dir="rtl"] .nst-pager a.next{display:inline-block;transform:scaleX(-1)}
html[dir="rtl"] .comment-form-cookies-consent{direction:ltr;unicode-bidi:isolate}
/* ===== RTL: alignment + form passthrough (2026-11-18 sweep) ===== */
/* 0) No per-element dir="auto" on block text: a Latin title would resolve the
      block itself to ltr, and text-align:start would then land on the left of
      an RTL page (the 2026-11-17 "everything drifted" bug). Blocks inherit
      html[dir=rtl]; <bdi> stays the only inline isolation (numbers, sizes,
      dates, ratings). */
/* 3) No unicode-bidi:plaintext on body copy: it decides the paragraph
      direction from the first strong character, so an English paragraph is
      laid out ltr and hugs the left edge inside an RTL page. Inheriting rtl
      keeps start (the right edge) aligned while bidi still orders each run. */
/* 4) Form controls: dir="auto" is injected by mu-plugins/smc-rtl.php (v1.5).
      Empty value falls back to rtl so the placeholder stays on the right;
      once Latin is typed the field turns ltr, and padding-left keeps the text
      clear of the inline-start button (measured overlay + 8px). */
html[dir="rtl"] input[dir="auto"]:placeholder-shown,
html[dir="rtl"] textarea[dir="auto"]:placeholder-shown{direction:rtl}
/* Mobile overflow guard (must stay last: RTL rules above are loaded after the
   responsive block). Unbreakable Latin metadata tokens otherwise widen the page. */
@media (max-width: 720px){
  html[dir="rtl"] .nst-wrap p, html[dir="rtl"] .nst-wrap a,
  html[dir="rtl"] .nst-wrap h1, html[dir="rtl"] .nst-wrap h2,
  html[dir="rtl"] .nst-wrap h3, html[dir="rtl"] .nst-wrap li,
  html[dir="rtl"] .nst-wrap span { overflow-wrap: anywhere; }
  html[dir="rtl"] .nst-nestgrid > div,
  html[dir="rtl"] .nst-cards2 > *,
  html[dir="rtl"] .nst-twig { min-width: 0; }
}
