/*
Theme Name: 马克环保 Make Sketch
Theme URI: https://example.com/themes/make-sketch
Author: 阿画
Author URI: https://example.com/ahua
Description: 为芜湖马克环保科技有限公司(虚构演示)画的一本工程手账:纯白纸底,黑马克笔抖线描边是唯一的线条语言,荧光黄/粉/青只做关键词高亮,便利贴产品卡贴着和纸胶带,喷淋塔原理图是带手写标注的简笔画。认真,又可爱。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: make-sketch
Tags: custom-menu, custom-logo, featured-images, translation-ready, two-columns
*/

/* ============================================================
   0. 铅笔打底:变量
   ============================================================ */
:root {
	--paper: #ffffff;
	--ink: #1a1a1a;
	--ink-soft: #4c4a46;
	--ink-faint: rgba(26, 26, 26, 0.55);
	--rule: rgba(26, 26, 26, 0.05);
	--hl-yellow: #fff176;
	--hl-pink: #ff8fab;
	--hl-cyan: #7de8d8;
	--note-yellow: #fffbdc;
	--note-pink: #ffeef3;
	--note-cyan: #e7f9f4;
	--font-hand: "Kaiti SC", "STKaiti", "KaiTi", "楷体", "DFKai-SB", cursive;
	--font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, "Helvetica Neue", Arial, sans-serif;
	--radius-hand: 255px 15px 225px 15px / 15px 225px 15px 255px;
	--radius-hand-alt: 15px 225px 15px 255px / 255px 15px 225px 15px;
	--radius-note: 4px 16px 6px 18px / 18px 6px 16px 4px;
	--radius-btn: 16px 205px 18px 225px / 225px 18px 205px 16px;
	--radius-chip: 8px 60px 10px 70px / 70px 10px 60px 8px;
	--border-hand: 2.5px solid var(--ink);
	--container: 1160px;
	--wave-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3 Q3 0.6 6 3 T12 3 T18 3 T24 3' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	--wave-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10' viewBox='0 0 48 10'%3E%3Cpath d='M0 5 Q6 1 12 5 T24 5 T36 5 T48 5' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ============================================================
   1. 白纸铺开:基础
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.8;
	color: var(--ink);
	background-color: var(--paper);
	background-image: repeating-linear-gradient(
		180deg,
		rgba(26, 26, 26, 0) 0px,
		rgba(26, 26, 26, 0) 38px,
		var(--rule) 38px,
		var(--rule) 39px
	);
	word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-hand);
	font-weight: 700;
	line-height: 1.35;
	color: var(--ink);
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--ink);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

a:hover {
	text-decoration: none;
}

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

ul,
ol {
	padding-left: 1.4em;
}

::selection {
	background: var(--hl-yellow);
	color: var(--ink);
}

:focus-visible {
	outline: 3px dashed var(--ink);
	outline-offset: 3px;
}

.icon {
	width: 1.35em;
	height: 1.35em;
	display: inline-block;
	vertical-align: -0.3em;
}

/* ============================================================
   2. 无障碍小抽屉
   ============================================================ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--paper);
	border: var(--border-hand);
	border-radius: var(--radius-chip);
	clip: auto !important;
	clip-path: none;
	display: block;
	font-family: var(--font-hand);
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
}

/* ============================================================
   3. 版心与分隔涂鸦
   ============================================================ */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.container-narrow {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 4.2rem 0;
}

.doodle-divider {
	height: 10px;
	width: min(380px, 62%);
	margin: 0 auto;
	background-image: var(--wave-divider);
	background-repeat: repeat-x;
	background-position: center;
	opacity: 0.75;
}

.divider-x {
	text-align: center;
	font-family: var(--font-hand);
	font-size: 1rem;
	letter-spacing: 0.9em;
	color: var(--ink-faint);
	padding: 1.4rem 0 0.4rem;
	overflow: hidden;
	white-space: nowrap;
}

/* ============================================================
   4. 荧光笔与圈注:唯一的颜色语言
   ============================================================ */
.hl {
	background-image: linear-gradient(
		100deg,
		rgba(255, 241, 118, 0) 0.5%,
		rgba(255, 241, 118, 0.95) 5%,
		rgba(255, 241, 118, 0.72) 52%,
		rgba(255, 241, 118, 0.9) 95%,
		rgba(255, 241, 118, 0) 99.5%
	);
	background-repeat: no-repeat;
	background-size: 100% 58%;
	background-position: 0 72%;
	padding: 0.05em 0.22em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.hl-pink {
	background-image: linear-gradient(
		100deg,
		rgba(255, 143, 171, 0) 0.5%,
		rgba(255, 143, 171, 0.85) 5%,
		rgba(255, 143, 171, 0.6) 52%,
		rgba(255, 143, 171, 0.8) 95%,
		rgba(255, 143, 171, 0) 99.5%
	);
}

.hl-cyan {
	background-image: linear-gradient(
		100deg,
		rgba(125, 232, 216, 0) 0.5%,
		rgba(125, 232, 216, 0.9) 5%,
		rgba(125, 232, 216, 0.62) 52%,
		rgba(125, 232, 216, 0.85) 95%,
		rgba(125, 232, 216, 0) 99.5%
	);
}

/* 荧光笔入场:从左往右划过(JS 可用时才收起) */
.js .hl-swipe {
	background-size: 0% 58%;
	transition: background-size 0.9s cubic-bezier(0.6, 0.05, 0.3, 1) 0.15s;
}

.js .hl-swipe.is-visible {
	background-size: 100% 58%;
}

/* 手绘椭圆圈注 */
.circled {
	position: relative;
	display: inline-block;
	padding: 0.02em 0.3em;
}

.circled::after {
	content: "";
	position: absolute;
	inset: -0.18em -0.3em;
	border: 2.5px solid var(--ink);
	border-radius: 50% 46% 54% 48% / 62% 54% 66% 48%;
	transform: rotate(-2deg);
	pointer-events: none;
}

.circled-pink::after {
	border-color: var(--hl-pink);
	border-width: 3.5px;
}

/* ============================================================
   5. 手绘按钮 / 标签 / 链接
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-hand);
	font-size: 1.12rem;
	font-weight: 700;
	padding: 0.5em 1.4em;
	border: var(--border-hand);
	border-radius: var(--radius-btn);
	background-color: var(--paper);
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
	transform: rotate(-1.2deg) scale(1.04);
}

.btn-ink {
	background-color: var(--ink);
	color: var(--paper);
}

.btn-ink:hover {
	background-color: #000000;
}

.btn-line:hover {
	background-image: linear-gradient(
		100deg,
		rgba(255, 241, 118, 0) 2%,
		rgba(255, 241, 118, 0.7) 10%,
		rgba(255, 241, 118, 0.55) 90%,
		rgba(255, 241, 118, 0) 98%
	);
}

.tag {
	display: inline-block;
	font-size: 0.82rem;
	font-family: var(--font-hand);
	border: 2px solid var(--ink);
	border-radius: var(--radius-chip);
	padding: 0.08em 0.7em;
	margin: 0 0.35em 0.35em 0;
	background: var(--paper);
	text-decoration: none;
}

a.tag:hover {
	background: var(--note-yellow);
}

.note-link {
	font-family: var(--font-hand);
	font-weight: 700;
	text-decoration: none;
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
	padding-bottom: 6px;
}

.note-link:hover {
	color: var(--ink-soft);
}

.link-arrow .icon {
	width: 1.1em;
	height: 1.1em;
}

/* ============================================================
   6. 页眉:手账封面上的目录条
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--paper);
	padding: 0.7rem 0;
}

.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -9px;
	height: 10px;
	background-image: var(--wave-divider);
	background-repeat: repeat-x;
	pointer-events: none;
}

.site-header.is-scrolled {
	box-shadow: 0 14px 28px -22px rgba(26, 26, 26, 0.55);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.site-branding {
	min-width: 0;
}

.site-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	text-decoration: none;
}

.logo-doodle .icon {
	width: 1.7em;
	height: 1.7em;
	transform: rotate(-6deg);
}

.logo-name {
	font-family: var(--font-hand);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.site-tagline {
	margin: 0;
	font-size: 0.8rem;
	color: var(--ink-faint);
	font-family: var(--font-hand);
}

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

/* 导航 */
.main-navigation {
	position: relative;
}

.primary-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	font-family: var(--font-hand);
	font-size: 1.08rem;
	font-weight: 700;
	text-decoration: none;
	padding: 0.3em 0.15em;
	display: inline-block;
	position: relative;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
	content: "";
	position: absolute;
	inset: -0.1em -0.45em;
	border: 2px solid var(--ink);
	border-radius: 52% 46% 55% 48% / 65% 52% 68% 46%;
	transform: rotate(-2deg);
	pointer-events: none;
}

/* 子菜单:一叠小便签 */
.primary-menu ul {
	list-style: none;
	position: absolute;
	top: 100%;
	left: -0.6rem;
	margin: 0;
	padding: 0.5rem 0.8rem;
	background: var(--note-yellow);
	border: var(--border-hand);
	border-radius: var(--radius-note);
	min-width: 180px;
	display: none;
	z-index: 70;
}

.primary-menu li:hover > ul,
.primary-menu li:focus-within > ul {
	display: block;
}

.primary-menu ul a {
	font-size: 0.98rem;
	display: block;
	padding: 0.25em 0.2em;
}

/* 汉堡:三笔马克笔画的目录按钮 */
.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.5em;
	background: var(--paper);
	border: var(--border-hand);
	border-radius: var(--radius-chip);
	font-family: var(--font-hand);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	padding: 0.35em 0.9em;
	cursor: pointer;
}

.menu-toggle-icon {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle-icon span {
	display: block;
	height: 3px;
	border-radius: 3px;
	background: var(--ink);
}

.menu-toggle-icon span:nth-child(1) {
	width: 22px;
	transform: rotate(-2deg);
}

.menu-toggle-icon span:nth-child(2) {
	width: 17px;
	transform: rotate(1.5deg);
}

.menu-toggle-icon span:nth-child(3) {
	width: 20px;
	transform: rotate(-1deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
	transform: translateY(7px) rotate(43deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
	width: 22px;
	transform: translateY(-7px) rotate(-43deg);
}

/* ============================================================
   7. 首屏:摊开的一页
   ============================================================ */
.hero {
	padding: 4.2rem 0 3.4rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 3rem;
	align-items: center;
}

.hero-kicker {
	font-family: var(--font-hand);
	font-size: 1.02rem;
	margin-bottom: 1.1rem;
}

.hero-title {
	font-size: clamp(2.3rem, 5vw, 3.7rem);
	line-height: 1.3;
	margin-bottom: 1rem;
}

.hero-desc {
	color: var(--ink-soft);
	max-width: 34em;
	margin-bottom: 1.6rem;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
}

.hero-memo {
	font-family: var(--font-hand);
	font-size: 1rem;
	color: var(--ink-soft);
	transform: rotate(-0.8deg);
	max-width: 30em;
}

.memo-star .icon {
	color: var(--ink);
	width: 1.5em;
	height: 1.5em;
	margin-right: 0.3em;
}

.hero-art {
	min-width: 0;
}

/* 喷淋塔简笔画 */
.tower-sketch {
	width: 100%;
	height: auto;
	display: block;
}

.tower-sketch .ln {
	fill: none;
	stroke: var(--ink);
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tower-sketch .ln-thin {
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tower-sketch .ln-arrow {
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tower-sketch .ln-cyan {
	fill: none;
	stroke: #2bbfae;
	stroke-width: 3.2;
	stroke-linecap: round;
}

.tower-sketch .ln-pink {
	fill: none;
	stroke: var(--hl-pink);
	stroke-width: 5;
	stroke-linecap: round;
}

.tower-sketch .fill-paper {
	fill: var(--paper);
}

.tower-sketch .hl-fill-yellow {
	fill: rgba(255, 241, 118, 0.8);
	stroke: none;
}

.tower-sketch .hl-fill-cyan {
	fill: rgba(125, 232, 216, 0.32);
	stroke: none;
}

.tower-sketch .water {
	fill: rgba(125, 232, 216, 0.55);
	stroke: none;
}

.tower-sketch .dot {
	fill: var(--ink);
	stroke: none;
}

.tower-sketch .note-txt {
	font-family: var(--font-hand);
	font-size: 21px;
	fill: var(--ink);
}

/* ============================================================
   8. 区块公共头
   ============================================================ */
.section-kicker {
	font-family: var(--font-hand);
	font-size: 1rem;
	letter-spacing: 0.2em;
	color: var(--ink-faint);
	margin-bottom: 0.4rem;
}

.section-title {
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	margin-bottom: 0.7rem;
}

.section-title-sm {
	font-size: 1.45rem;
	margin: 2.6rem 0 1.1rem;
}

.section-note {
	color: var(--ink-soft);
	max-width: 46em;
	margin-bottom: 2.2rem;
}

.section-head {
	margin-bottom: 1rem;
}

.section-more {
	text-align: center;
	margin-top: 2.2rem;
}

/* ============================================================
   9. 划重点:数据
   ============================================================ */
.stats {
	padding: 3.2rem 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.6rem;
	margin-top: 1rem;
}

.stat-item {
	text-align: center;
}

.stat-num {
	font-family: var(--font-hand);
	font-size: 2.7rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.3rem;
}

.stat-unit {
	font-size: 1.3rem;
	margin-left: 0.2em;
}

.stat-label {
	font-family: var(--font-hand);
	font-size: 1.08rem;
	margin-bottom: 0.15rem;
}

.stat-note {
	font-size: 0.85rem;
	color: var(--ink-faint);
	margin: 0;
}

/* ============================================================
   10. 便利贴产品卡
   ============================================================ */
.note-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.4rem;
}

.note-card {
	position: relative;
	background: var(--note-yellow);
	border: var(--border-hand);
	border-radius: var(--radius-note);
	padding: 2.3rem 1.5rem 1.5rem;
	transform: rotate(-0.8deg);
	transition: transform 0.25s ease;
}

.note-card:nth-child(3n + 2) {
	background: var(--note-pink);
	transform: rotate(0.9deg);
}

.note-card:nth-child(3n) {
	background: var(--note-cyan);
	transform: rotate(-1.3deg);
}

.note-card:hover {
	transform: rotate(0deg) translateY(-5px);
}

/* 和纸胶带 */
.note-card::before {
	content: "";
	position: absolute;
	top: -13px;
	left: 50%;
	width: 96px;
	height: 26px;
	transform: translateX(-50%) rotate(-2.5deg);
	background: rgba(125, 232, 216, 0.5);
	border-left: 2px dashed rgba(26, 26, 26, 0.2);
	border-right: 2px dashed rgba(26, 26, 26, 0.2);
}

.note-card:nth-child(3n + 2)::before {
	background: rgba(255, 241, 118, 0.55);
	transform: translateX(-50%) rotate(2deg);
}

.note-card:nth-child(3n)::before {
	background: rgba(255, 143, 171, 0.45);
	transform: translateX(-50%) rotate(-1.5deg);
}

.note-icon .icon {
	width: 54px;
	height: 54px;
	margin-bottom: 0.6rem;
}

.note-thumb {
	margin: -0.6rem 0 0.8rem;
}

.note-thumb img {
	border: var(--border-hand);
	border-radius: var(--radius-note);
	display: block;
}

.note-model {
	font-family: var(--font-hand);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.demo-badge {
	display: inline-block;
	margin-left: 0.6em;
	font-size: 0.75rem;
	font-family: var(--font-hand);
	border: 2px dashed var(--ink-faint);
	border-radius: var(--radius-chip);
	padding: 0 0.6em;
	color: var(--ink-faint);
}

.note-title {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
}

.note-title a {
	text-decoration: none;
}

.note-title a:hover {
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
}

.note-cap {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.note-desc {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin-bottom: 0.8rem;
}

.note-desc p {
	margin-bottom: 0.5em;
}

.note-tags {
	margin: 0 0 0.4rem;
}

/* 供应商强调条 */
.supplier-strip {
	margin-top: 2.8rem;
	border: var(--border-hand);
	border-radius: var(--radius-hand);
	padding: 1.4rem 2rem 1.2rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--paper);
}

.supplier-strip p {
	margin: 0;
	font-size: 1.02rem;
}

.supplier-strip .circled {
	font-family: var(--font-hand);
	font-weight: 700;
	margin-right: 0.35em;
}

.supplier-ic .icon {
	width: 2em;
	height: 2em;
	transform: rotate(-8deg);
}

/* ============================================================
   11. 手账工艺流程
   ============================================================ */
.flow-list {
	display: flex;
	align-items: stretch;
	gap: 0.7rem;
	margin-top: 2.4rem;
}

.flow-step {
	flex: 1;
	min-width: 0;
	text-align: center;
	position: relative;
}

.flow-icon .icon {
	width: 52px;
	height: 52px;
}

.flow-num {
	font-family: var(--font-hand);
	font-size: 1.05rem;
	font-weight: 700;
	width: 2em;
	height: 2em;
	line-height: 1.85em;
	margin: 0.5rem auto 0.4rem;
	border: 2.5px solid var(--ink);
	border-radius: 54% 46% 58% 44% / 64% 52% 66% 48%;
}

.flow-title {
	font-size: 1.22rem;
	margin-bottom: 0.7rem;
}

.step-note {
	background: var(--note-yellow);
	border: 2px solid var(--ink);
	border-radius: var(--radius-note);
	padding: 0.8rem 0.9rem;
	font-size: 0.92rem;
	color: var(--ink-soft);
	text-align: left;
	transform: rotate(-0.6deg);
}

.step-note p {
	margin: 0;
}

.step-note-pink {
	background: var(--note-pink);
	transform: rotate(0.7deg);
}

.step-note-cyan {
	background: var(--note-cyan);
	transform: rotate(-1deg);
}

.flow-arrow {
	flex: 0 0 78px;
	width: 78px;
	align-self: center;
	color: var(--ink);
	margin-top: -2.5rem;
}

.flow-arrow path {
	fill: none;
	stroke: currentColor;
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ============================================================
   12. 现场速写(案例日记)
   ============================================================ */
.case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.4rem;
}

.case-card {
	border: var(--border-hand);
	border-radius: var(--radius-hand-alt);
	padding: 1.6rem 1.5rem 1.2rem;
	background-color: var(--paper);
	background-image: repeating-linear-gradient(
		180deg,
		rgba(26, 26, 26, 0) 0px,
		rgba(26, 26, 26, 0) 30px,
		rgba(26, 26, 26, 0.07) 30px,
		rgba(26, 26, 26, 0.07) 31px
	);
}

.case-date {
	font-family: var(--font-hand);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}

.case-title {
	font-size: 1.22rem;
	margin-bottom: 0.9rem;
}

.case-rows {
	margin: 0;
}

.case-rows dt {
	float: left;
	clear: left;
	font-family: var(--font-hand);
	font-weight: 700;
	margin-right: 0.6em;
	padding: 0 0.3em;
}

.case-rows dt:nth-of-type(1) {
	background: linear-gradient(100deg, rgba(255, 241, 118, 0) 3%, rgba(255, 241, 118, 0.8) 12%, rgba(255, 241, 118, 0.8) 88%, rgba(255, 241, 118, 0) 97%) no-repeat 0 70% / 100% 55%;
}

.case-rows dt:nth-of-type(2) {
	background: linear-gradient(100deg, rgba(125, 232, 216, 0) 3%, rgba(125, 232, 216, 0.8) 12%, rgba(125, 232, 216, 0.8) 88%, rgba(125, 232, 216, 0) 97%) no-repeat 0 70% / 100% 55%;
}

.case-rows dt:nth-of-type(3) {
	background: linear-gradient(100deg, rgba(255, 143, 171, 0) 3%, rgba(255, 143, 171, 0.75) 12%, rgba(255, 143, 171, 0.75) 88%, rgba(255, 143, 171, 0) 97%) no-repeat 0 70% / 100% 55%;
}

.case-rows dd {
	margin: 0 0 0.8em;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* ============================================================
   13. 客户留言墙:气泡 + 星星
   ============================================================ */
.bubble-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.4rem;
}

.bubble {
	position: relative;
	border: var(--border-hand);
	border-radius: 22px 26px 24px 28px / 28px 22px 26px 24px;
	background: var(--paper);
	padding: 1.2rem 1.3rem;
	margin-bottom: 1.4rem;
}

.bubble p {
	margin: 0;
	font-size: 0.98rem;
}

.bubble::before {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 34px;
	width: 18px;
	height: 18px;
	background: var(--paper);
	border-right: 2.5px solid var(--ink);
	border-bottom: 2.5px solid var(--ink);
	transform: rotate(45deg) skew(8deg, 8deg);
}

.bubble-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding-left: 0.4rem;
	flex-wrap: wrap;
}

.bubble-name {
	font-family: var(--font-hand);
	font-size: 0.95rem;
}

.stars {
	white-space: nowrap;
}

.stars .icon {
	width: 20px;
	height: 20px;
	fill: var(--hl-yellow);
	color: var(--ink);
	stroke-width: 2.6;
	margin-left: 1px;
	transform: rotate(-4deg);
}

.stars .icon:nth-child(2n) {
	transform: rotate(5deg);
}

/* ============================================================
   14. 随手记卡片 / 列表
   ============================================================ */
.entry-list {
	display: grid;
	gap: 1.6rem;
	margin-top: 1.8rem;
}

.entry-list-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.4rem;
}

.entry-card {
	border: var(--border-hand);
	border-radius: var(--radius-note);
	background: var(--paper);
	padding: 1.4rem 1.5rem 1.2rem;
	transform: rotate(-0.35deg);
	transition: transform 0.25s ease;
}

.entry-card:nth-child(2n) {
	transform: rotate(0.4deg);
}

.entry-card:hover {
	transform: rotate(0deg) translateY(-4px);
}

.entry-card-head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.5rem;
	flex-wrap: wrap;
}

.entry-date-badge {
	font-family: var(--font-hand);
	font-size: 0.92rem;
}

.entry-cat {
	font-family: var(--font-hand);
	font-size: 0.8rem;
	border: 2px dashed var(--ink-faint);
	border-radius: var(--radius-chip);
	padding: 0 0.65em;
	color: var(--ink-soft);
}

.entry-card-title {
	font-size: 1.28rem;
	margin-bottom: 0.4rem;
}

.entry-card-title a {
	text-decoration: none;
}

.entry-card-title a:hover {
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
}

.entry-card-excerpt {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin-bottom: 0.7rem;
}

.entry-card-excerpt p {
	margin-bottom: 0.4em;
}

.empty-note {
	margin-top: 1.6rem;
}

.empty-note-title {
	font-family: var(--font-hand);
	font-size: 1.1rem;
}

.empty-note-tip {
	color: var(--ink-faint);
	font-size: 0.92rem;
	margin-top: 1.2rem;
}

/* ============================================================
   15. 联系区:画个大框
   ============================================================ */
.contact-frame {
	position: relative;
	border: 3px solid var(--ink);
	border-radius: var(--radius-hand);
	padding: 3rem 2.4rem 2.6rem;
	text-align: center;
}

.contact-frame::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 50%;
	width: 120px;
	height: 30px;
	transform: translateX(-50%) rotate(-2deg);
	background: rgba(255, 241, 118, 0.6);
	border-left: 2px dashed rgba(26, 26, 26, 0.2);
	border-right: 2px dashed rgba(26, 26, 26, 0.2);
}

.contact-frame .section-note {
	margin-left: auto;
	margin-right: auto;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.8rem;
	display: flex;
	justify-content: center;
	gap: 2.2rem;
	flex-wrap: wrap;
	font-size: 1rem;
}

.contact-list li {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
}

.contact-ic .icon {
	width: 1.5em;
	height: 1.5em;
}

.contact-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ============================================================
   16. 页脚:合上前的最后一页
   ============================================================ */
.site-footer {
	margin-top: 3.5rem;
	padding-bottom: 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-top: 1.6rem;
	padding-bottom: 2rem;
}

.footer-logo {
	font-family: var(--font-hand);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.footer-slogan {
	font-family: var(--font-hand);
	margin-bottom: 0.8rem;
}

.footer-desc {
	color: var(--ink-soft);
	font-size: 0.92rem;
	margin: 0;
}

.footer-title {
	font-size: 1.12rem;
	margin-bottom: 0.8rem;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin-bottom: 0.45rem;
}

.footer-menu a {
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-menu a:hover {
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
	padding-bottom: 4px;
}

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	margin-bottom: 0.55rem;
}

.footer-ic .icon {
	width: 1.35em;
	height: 1.35em;
	margin-top: 0.15em;
}

.footer-notes {
	border-top: 2px dashed rgba(26, 26, 26, 0.25);
	padding-top: 1.4rem;
	text-align: center;
}

.footer-supplier {
	font-family: var(--font-hand);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}

.footer-fiction {
	color: var(--ink-faint);
	font-size: 0.85rem;
	max-width: 46em;
	margin: 0 auto 0.5rem;
}

.footer-legal {
	color: var(--ink-faint);
	font-size: 0.82rem;
	margin: 0;
}

/* ============================================================
   17. 内页公共:页头 / 正文 / 分页 / 评论
   ============================================================ */
.content-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 3rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
	align-items: start;
}

.container-narrow .site-main,
.container .site-main {
	min-width: 0;
}

.container-narrow {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.page-header {
	margin-bottom: 2.2rem;
}

.page-header-center {
	text-align: center;
	margin-top: 2.4rem;
}

.page-header-center .page-desc,
.page-header-center .term-chips {
	margin-left: auto;
	margin-right: auto;
}

.page-title {
	font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.page-desc {
	color: var(--ink-soft);
	max-width: 44em;
}

.term-chips {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: flex;
	gap: 0.2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.entry-header {
	margin-bottom: 1.6rem;
}

.entry-meta {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	margin-bottom: 0.6rem;
	flex-wrap: wrap;
}

.entry-title {
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.entry-thumb {
	margin-bottom: 1.6rem;
}

.entry-thumb img {
	border: var(--border-hand);
	border-radius: var(--radius-note);
	transform: rotate(-0.5deg);
}

/* 正文排版:手账里的认真字 */
.entry-content {
	max-width: 46em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8em;
}

.entry-content h2 {
	padding-bottom: 0.35em;
	background-image: var(--wave-divider);
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 48px 10px;
}

.entry-content a {
	text-decoration: none;
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
	padding-bottom: 3px;
}

.entry-content a:hover {
	color: var(--ink-soft);
}

.entry-content ul {
	list-style: none;
	padding-left: 0.4em;
}

.entry-content ul > li {
	position: relative;
	padding-left: 1.4em;
	margin-bottom: 0.4em;
}

.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.62em;
	width: 9px;
	height: 9px;
	border: 2.5px solid var(--ink);
	border-radius: 62% 44% 56% 48% / 48% 60% 44% 58%;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 1.1em 1.4em;
	border: var(--border-hand);
	border-radius: var(--radius-hand-alt);
	background: var(--note-yellow);
	font-family: var(--font-hand);
	position: relative;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content code {
	background: rgba(26, 26, 26, 0.06);
	padding: 0.1em 0.4em;
	border-radius: 6px;
	font-size: 0.92em;
}

.entry-content pre {
	background: rgba(26, 26, 26, 0.05);
	border: 2px dashed rgba(26, 26, 26, 0.3);
	border-radius: var(--radius-note);
	padding: 1em 1.2em;
	overflow: auto;
}

.entry-content img {
	border: var(--border-hand);
	border-radius: var(--radius-note);
}

.entry-content hr {
	border: 0;
	height: 10px;
	background-image: var(--wave-divider);
	background-repeat: repeat-x;
	background-position: center;
	margin: 2em 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
}

.entry-content th,
.entry-content td {
	border: 2px solid var(--ink);
	padding: 0.5em 0.8em;
	text-align: left;
}

.entry-content th {
	font-family: var(--font-hand);
	background: rgba(255, 241, 118, 0.35);
}

.page-links {
	margin: 1.5em 0;
	font-family: var(--font-hand);
}

.entry-footer {
	margin-top: 2rem;
}

.entry-tags {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	flex-wrap: wrap;
}

.entry-tags a {
	display: inline-block;
	font-size: 0.82rem;
	font-family: var(--font-hand);
	border: 2px solid var(--ink);
	border-radius: var(--radius-chip);
	padding: 0.05em 0.7em;
	margin: 0 0.3em 0.3em 0;
	text-decoration: none;
}

.entry-tags a:hover {
	background: var(--note-cyan);
}

.entry-tags-label {
	font-family: var(--font-hand);
	color: var(--ink-faint);
}

/* 上下篇 */
.post-navigation {
	margin: 2.5rem 0;
}

.post-navigation .nav-links {
	display: flex;
	gap: 1.2rem;
	flex-wrap: wrap;
}

.post-navigation a {
	display: inline-block;
	border: var(--border-hand);
	border-radius: var(--radius-btn);
	padding: 0.6em 1.2em;
	text-decoration: none;
	max-width: 100%;
}

.post-navigation a:hover {
	background: var(--note-yellow);
}

.post-navigation .nav-label {
	display: block;
	font-family: var(--font-hand);
	font-size: 0.85rem;
	color: var(--ink-faint);
}

.post-navigation .nav-title {
	font-family: var(--font-hand);
	font-weight: 700;
}

/* 翻页 */
.pagination {
	margin: 2.6rem 0 1rem;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-block;
	min-width: 2.3em;
	padding: 0.3em 0.7em;
	border: 2.5px solid var(--ink);
	border-radius: var(--radius-chip);
	font-family: var(--font-hand);
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--ink);
	color: var(--paper);
	transform: rotate(-2deg);
}

.pagination a.page-numbers:hover {
	background: var(--note-yellow);
}

.pagination .page-numbers.dots {
	border: none;
}

/* 评论区 */
.comments-area {
	margin-top: 3rem;
	max-width: 46em;
}

.comments-title,
.comment-reply-title {
	font-size: 1.35rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.comment-list .comment-body {
	border: 2px solid var(--ink);
	border-radius: 20px 24px 22px 26px / 26px 20px 24px 22px;
	padding: 1rem 1.2rem;
	margin-bottom: 1.2rem;
	background: var(--paper);
}

.comment-list .children {
	list-style: none;
	padding-left: 2rem;
}

.comment-meta {
	font-size: 0.88rem;
	margin-bottom: 0.5rem;
}

.comment-author .fn {
	font-family: var(--font-hand);
	font-weight: 700;
	font-style: normal;
}

.comment-metadata a {
	color: var(--ink-faint);
	font-size: 0.82rem;
}

.reply a {
	font-family: var(--font-hand);
	font-size: 0.88rem;
}

.comment-form label {
	display: block;
	font-family: var(--font-hand);
	margin-bottom: 0.3em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: var(--border-hand);
	border-radius: var(--radius-note);
	background: var(--paper);
	padding: 0.55em 0.9em;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	margin-bottom: 1em;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 3px dashed var(--ink);
	outline-offset: 2px;
}

.comment-form .submit {
	font-family: var(--font-hand);
	font-size: 1.05rem;
	font-weight: 700;
	background: var(--ink);
	color: var(--paper);
	border: var(--border-hand);
	border-radius: var(--radius-btn);
	padding: 0.5em 1.5em;
	cursor: pointer;
}

.comment-form .submit:hover {
	transform: rotate(-1.2deg);
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 1.4rem 0;
	font-family: var(--font-hand);
}

.no-comments {
	font-family: var(--font-hand);
	color: var(--ink-faint);
}

/* ============================================================
   18. 边栏便签
   ============================================================ */
.widget-area {
	min-width: 0;
}

.widget {
	position: relative;
	border: var(--border-hand);
	border-radius: var(--radius-note);
	background: var(--paper);
	padding: 1.6rem 1.3rem 1.2rem;
	margin-bottom: 2rem;
	transform: rotate(-0.5deg);
}

.widget:nth-child(2n) {
	transform: rotate(0.5deg);
	background: var(--note-cyan);
}

.widget:nth-child(3n) {
	background: var(--note-yellow);
}

.widget::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 78px;
	height: 22px;
	transform: translateX(-50%) rotate(-2deg);
	background: rgba(255, 143, 171, 0.4);
	border-left: 2px dashed rgba(26, 26, 26, 0.18);
	border-right: 2px dashed rgba(26, 26, 26, 0.18);
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: 0.7rem;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 0.3em 0;
	border-bottom: 1px dashed rgba(26, 26, 26, 0.2);
	font-size: 0.93rem;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget-tips li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border: 2px solid var(--ink);
	border-radius: 60% 44% 56% 48% / 48% 60% 44% 58%;
	margin-right: 0.5em;
}

/* ============================================================
   19. 搜索框
   ============================================================ */
.search-form {
	display: flex;
	gap: 0.6rem;
	max-width: 460px;
}

.search-field {
	flex: 1;
	min-width: 0;
	border: var(--border-hand);
	border-radius: var(--radius-btn);
	background: var(--paper);
	padding: 0.5em 1em;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
}

.search-field::placeholder {
	color: var(--ink-faint);
	font-family: var(--font-hand);
}

.search-submit {
	border: var(--border-hand);
	border-radius: 50% 46% 54% 48% / 58% 50% 60% 46%;
	background: var(--ink);
	color: var(--paper);
	width: 46px;
	height: 46px;
	flex: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-submit .icon {
	width: 22px;
	height: 22px;
}

.search-submit:hover {
	transform: rotate(-6deg);
}

/* ============================================================
   20. 产品详情:手账表格 + 询价
   ============================================================ */
.back-link {
	margin: 2.2rem 0 1.6rem;
	font-family: var(--font-hand);
}

.back-link a {
	text-decoration: none;
}

.back-link a:hover {
	background-image: var(--wave-underline);
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 24px 6px;
	padding-bottom: 4px;
}

.product-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 2.6rem;
	align-items: center;
	margin-bottom: 2.4rem;
}

.product-title {
	font-size: clamp(1.8rem, 3.6vw, 2.5rem);
	margin-bottom: 0.5rem;
}

.product-model {
	font-family: var(--font-hand);
	font-size: 1.15rem;
	margin-bottom: 1rem;
}

.product-bubble {
	max-width: 34em;
	margin-bottom: 1.6rem;
}

.product-bubble p {
	margin: 0;
	color: var(--ink-soft);
}

.product-actions {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	flex-wrap: wrap;
}

.product-phone {
	font-family: var(--font-hand);
	font-size: 1.1rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.product-phone-ic .icon {
	width: 1.4em;
	height: 1.4em;
}

.product-hero-art {
	text-align: center;
}

.product-thumb img {
	border: var(--border-hand);
	border-radius: var(--radius-note);
	transform: rotate(0.8deg);
}

.product-doodle .icon {
	width: min(240px, 60%);
	height: auto;
	color: var(--ink);
}

.product-doodle-note {
	font-family: var(--font-hand);
	color: var(--ink-faint);
	font-size: 0.9rem;
}

.spec-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: var(--border-hand);
	border-radius: 14px 70px 16px 80px / 80px 14px 70px 16px;
	overflow: hidden;
	max-width: 780px;
}

.spec-table th,
.spec-table td {
	padding: 0.8rem 1.2rem;
	border-bottom: 2px dashed rgba(26, 26, 26, 0.28);
	text-align: left;
	font-size: 0.98rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
	border-bottom: none;
}

.spec-table th {
	font-family: var(--font-hand);
	width: 32%;
	background-image: linear-gradient(
		100deg,
		rgba(255, 241, 118, 0) 1%,
		rgba(255, 241, 118, 0.4) 8%,
		rgba(255, 241, 118, 0.35) 92%,
		rgba(255, 241, 118, 0) 99%
	);
}

.spec-table tbody tr:hover td {
	background: rgba(125, 232, 216, 0.18);
}

.spec-note {
	font-family: var(--font-hand);
	color: var(--ink-faint);
	font-size: 0.92rem;
	margin-top: 0.9rem;
}

.product-cta {
	margin: 3rem 0 1rem;
	border: 3px solid var(--ink);
	border-radius: var(--radius-hand);
	padding: 2rem 2.2rem 1.8rem;
	position: relative;
}

.product-cta::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 12%;
	width: 100px;
	height: 26px;
	transform: rotate(-2.5deg);
	background: rgba(125, 232, 216, 0.5);
	border-left: 2px dashed rgba(26, 26, 26, 0.2);
	border-right: 2px dashed rgba(26, 26, 26, 0.2);
}

.product-cta-title {
	font-size: 1.4rem;
}

.product-cta-supplier {
	font-family: var(--font-hand);
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.product-cta-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.2rem;
}

.related-products {
	margin: 3rem 0 2rem;
}

/* ============================================================
   21. 404:被撕掉的一页
   ============================================================ */
.error-404 {
	text-align: center;
	padding: 4.5rem 0 4rem;
}

.scribble-404 {
	font-family: var(--font-hand);
	font-size: clamp(4rem, 11vw, 7rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.error-title {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	max-width: 22em;
	margin: 0 auto 0.8rem;
}

.error-desc {
	color: var(--ink-soft);
	max-width: 36em;
	margin: 0 auto 1.8rem;
}

.error-search {
	display: flex;
	justify-content: center;
	margin-bottom: 1.8rem;
}

.error-search .search-form {
	width: 100%;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ============================================================
   22. WordPress 核心适配
   ============================================================ */
.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

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

.wp-caption-text,
.gallery-caption {
	font-family: var(--font-hand);
	font-size: 0.88rem;
	color: var(--ink-faint);
	text-align: center;
	margin-top: 0.4em;
}

.sticky .entry-card-title::after,
article.sticky::after {
	content: none;
}

article.sticky {
	background: var(--note-yellow);
}

.bypostauthor .comment-body {
	background: var(--note-cyan);
}

/* ============================================================
   23. 入场揭示与动效礼貌
   ============================================================ */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* 便利贴的旋转在揭示后恢复 */
.js .note-card.reveal.is-visible {
	transform: rotate(-0.8deg);
}

.js .note-card.reveal.is-visible:nth-child(3n + 2) {
	transform: rotate(0.9deg);
}

.js .note-card.reveal.is-visible:nth-child(3n) {
	transform: rotate(-1.3deg);
}

.js .note-card.reveal.is-visible:hover {
	transform: rotate(0deg) translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1 !important;
		transform: none !important;
	}

	.js .hl-swipe {
		background-size: 100% 58% !important;
	}
}

/* ============================================================
   24. 响应式:把手账装进口袋
   ============================================================ */
@media (max-width: 1024px) {
	.note-grid,
	.entry-list-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.case-grid,
	.bubble-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.primary-menu {
		gap: 1rem;
	}

	.primary-menu a {
		font-size: 1rem;
	}
}

@media (max-width: 960px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 2.2rem;
	}

	.hero-art {
		max-width: 560px;
		margin: 0 auto;
	}

	.content-sidebar {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.flow-list {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	.flow-arrow {
		align-self: center;
		transform: rotate(78deg);
		margin: 0.4rem 0;
		flex-basis: auto;
		width: 64px;
	}

	.product-hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: inline-flex;
	}

	.menu-wrap {
		display: none;
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		left: auto;
		width: min(320px, 86vw);
		background: var(--paper);
		border: var(--border-hand);
		border-radius: var(--radius-note);
		padding: 1rem 1.2rem;
		z-index: 80;
		box-shadow: 0 18px 34px -20px rgba(26, 26, 26, 0.45);
	}

	.menu-wrap.is-open {
		display: block;
	}

	.no-js .menu-wrap {
		display: block;
		position: static;
		width: auto;
		box-shadow: none;
		margin-top: 0.8rem;
	}

	.primary-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
	}

	.primary-menu a {
		display: block;
		padding: 0.35em 0.2em;
		font-size: 1.1rem;
	}

	.primary-menu ul {
		position: static;
		display: block;
		border: none;
		background: transparent;
		padding: 0 0 0 1.2rem;
		min-width: 0;
	}

	.site-tagline {
		display: none;
	}

	.section {
		padding: 3.2rem 0;
	}

	.hero {
		padding: 3rem 0 2.6rem;
	}

	.contact-frame {
		padding: 2.4rem 1.4rem 2rem;
	}

	.supplier-strip {
		flex-direction: column;
		gap: 0.5rem;
		padding: 1.2rem 1.3rem 1rem;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.note-grid,
	.entry-list-grid,
	.case-grid,
	.bubble-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.2rem;
	}

	.stat-num {
		font-size: 2.2rem;
	}

	.hero-actions .btn,
	.error-actions .btn {
		width: 100%;
		justify-content: center;
	}

	.contact-list {
		flex-direction: column;
		gap: 0.7rem;
		align-items: center;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 1.8rem;
	}

	.spec-table th {
		width: 38%;
	}

	.spec-table th,
	.spec-table td {
		padding: 0.6rem 0.8rem;
		font-size: 0.92rem;
	}
}
