/*
Theme Name: 绵糖 Miantang
Theme URI:
Author: Theme Studio
Description: 奶油白底、粉绿橙软相框与花瓣标记的生活博客主题。包含文章、分类、标签、作者、搜索及移动端布局。
Version: 1.0.9
Requires at least: 6.2
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: miantang
Tags: blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images
*/
:root{--paper:#f5f2ed;--card:#fffdfb;--ink:#33251f;--muted:#76757b;--line:#ece6df;--pink:#ffdae3;--pink-deep:#d26986;--green:#e4f0dc;--green-deep:#668967;--orange:#ffe4cc;--orange-deep:#a96d42;--soft-shadow:0 3px 5px #76624a0c,0 10px 20px #a6978710;--inset-shadow:inset 1px 1px 2px #fff,2px 3px 5px #b3a59132;--radius:23px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:linear-gradient(120deg,#faf8f5,var(--paper));font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px;line-height:1.65;overflow-wrap:break-word}a{color:inherit;text-decoration:none}a,button{touch-action:manipulation}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button,input,textarea{max-width:100%}button{border:0}img{max-width:100%;vertical-align:middle}svg{vertical-align:middle}h1,h2,h3,h4,p{margin-top:0}a,button,input{transition:background-color .18s,color .18s,box-shadow .18s,border-color .18s}a:hover{color:#b85470}button:hover{color:#b85470}:focus-visible{outline:3px solid #b85579;outline-offset:4px;border-radius:6px}input:focus-visible{outline-offset:1px}[hidden]{display:none!important}.icon{width:20px;height:20px;flex-shrink:0;display:inline-block}.wrap{width:90%;max-width:1140px;margin-inline:auto}.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;white-space:nowrap}.skip-link:focus{clip:auto;clip-path:none;width:auto;height:auto;padding:10px 18px;background:var(--card);z-index:10000;top:8px;left:8px}
/* Soft four-petal signature. */
.petal-mark{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:2px;width:31px;height:31px;flex-shrink:0;vertical-align:middle}.petal-mark i{display:block;min-width:0;min-height:0;background:linear-gradient(140deg,#ffa2b2 0%,#f58b9d 52%,#ed7e92 100%);border-radius:37%;box-shadow:inset 0 1px 1px #ffd9e0,1px 2px 2px #9b5e6338}
.petal-mark i:nth-child(1){border-radius:42% 42% 24% 42%}
.petal-mark i:nth-child(2){border-radius:42% 42% 42% 24%}
.petal-mark i:nth-child(3){border-radius:42% 24% 42% 42%}
.petal-mark i:nth-child(4){border-radius:24% 42% 42% 42%}
.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand .petal-mark{width:36px;height:36px;gap:2px}.brand-type{min-width:0}.site-name{display:block;font-size:28px;line-height:1.2;font-weight:800;letter-spacing:.025em;overflow-wrap:anywhere}.custom-logo-link{flex:0 0 auto}.custom-logo{width:auto;max-width:110px;height:43px;object-fit:contain}.site-subtitle{color:var(--muted);font-size:12px;line-height:1.6;margin:5px 0 0;max-width:250px}
/* Header: logo, icon buttons, and an independent pill search. */
.site-header{background:#fffdfaeb;border-bottom:1px solid #e8e2d9;box-shadow:0 2px 3px #76624a09}.header-inner{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(0,2.1fr) minmax(190px,1fr);align-items:center;gap:25px;min-height:92px;padding-block:11px}.header-nav{min-width:0}.primary-menu{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.primary-menu>li{position:relative;min-width:0;max-width:100%}.primary-menu>li>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:63px;min-width:64px;max-width:170px;padding:8px 12px;border-radius:15px;background:#f7f3ed;box-shadow:var(--inset-shadow);font-size:13px;font-weight:650;line-height:1.35;text-align:center;overflow-wrap:anywhere}.nav-picture{display:flex;align-items:center;justify-content:center;line-height:1}.nav-picture .icon{width:24px;height:24px;color:#785c44}.primary-menu>.current-menu-item>a,.primary-menu>.current-menu-ancestor>a,.primary-menu>li>a:hover{background:linear-gradient(135deg,#ffe3eb,#ffcfdf);color:#a34561;box-shadow:inset 1px 1px 2px #fff3f6,2px 3px 6px #dc8da943}.primary-menu>.current-menu-item>a .nav-picture{color:#cb6f88}.menu-item-has-children>a{padding-right:26px!important}.submenu-toggle{position:absolute;right:3px;top:23px;width:23px;height:25px;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:8px}.submenu-toggle .icon{width:12px;height:12px}.sub-menu{display:none;list-style:none;position:absolute;z-index:30;top:100%;left:0;width:205px;padding:9px;margin:6px 0 0;background:#fffaf6;border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 24px #59463020}.sub-menu:before{content:"";position:absolute;top:-9px;left:0;right:0;height:10px}.primary-menu li:not(.has-submenu-js):hover>.sub-menu,.primary-menu li:not(.has-submenu-js):focus-within>.sub-menu,.primary-menu li.submenu-open>.sub-menu{display:block}.sub-menu li{position:relative}.sub-menu a{display:block;font-size:14px;line-height:1.6;padding:9px 12px;border-radius:10px;overflow-wrap:anywhere}.sub-menu a:hover,.sub-menu .current-menu-item>a{background:var(--pink)}.sub-menu .submenu-toggle{top:9px;right:5px}.sub-menu .sub-menu{top:-7px;left:calc(100% + 8px);margin:0}.sub-menu .sub-menu:before{top:0;left:-10px;width:12px;height:100%}.header-search{min-width:0;width:100%}.search-form{display:flex;align-items:center;gap:7px;padding:4px 14px 4px 10px;min-height:44px;width:100%;border:1px solid #efe8df;background:#f7f2ea;border-radius:999px;box-shadow:inset 2px 2px 4px #fff,1px 3px 4px #a8957b28}.search-form:focus-within{border-color:#e8a1b4}.search-form input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);font-size:14px;line-height:22px;padding:5px 0;outline:none}.search-form input:focus,.search-form input:focus-visible{outline:none;box-shadow:none}.search-form input::placeholder{color:#8b8381}.search-submit{display:flex;align-items:center;justify-content:center;background:transparent;flex:0 0 30px;width:30px;height:32px;padding:0;border-radius:50%}.search-submit .icon{width:21px;height:21px}.header-controls,.panel-heading{display:none}
/* Reference list proportions. */
.site-main{margin-top:22px;margin-bottom:30px;min-height:45vh}.site-grid{display:grid;grid-template-columns:minmax(0,1.98fr) minmax(0,1fr);gap:20px;align-items:stretch}.main-column{min-width:0}.post-list{display:grid;gap:19px}.post-card{--accent:#ffd5e1;--accent-strong:#d96b8a;--pill-text:#ae5770;display:grid;grid-template-columns:minmax(0,1fr) 32%;gap:24px;align-items:center;padding:17px 16px 17px 26px;border:1px solid #eee8e1;border-radius:var(--radius);background:linear-gradient(135deg,#fffefc,#fcfaf7);box-shadow:var(--soft-shadow);min-width:0}.post-card:nth-child(3n + 2){--accent:#d9ebce;--accent-strong:#7fb886;--pill-text:#65835b}.post-card:nth-child(3n){--accent:#ffdcc2;--accent-strong:#e4a16f;--pill-text:#a56c45}.post-card:hover{border-color:color-mix(in srgb,var(--accent) 70%,#e7ded7)}.card-copy{min-width:0;align-self:center}.card-title{font-size:21px;line-height:28px;font-weight:750;margin:0 0 7px;min-width:0;letter-spacing:-.015em}.card-title a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-excerpt{font-size:16px;line-height:25px;color:#757077;margin:0 0 9px;overflow-wrap:anywhere}.card-excerpt>span{display:none;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:75px}.card-excerpt>.excerpt-wide{display:-webkit-box}.card-category{display:flex;margin-bottom:10px;min-width:0}.category-pill{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 15px;border-radius:999px;font-size:13px;line-height:20px;font-weight:650;color:var(--pill-text,#ab546e);background:linear-gradient(120deg,#fff8,var(--accent,#ffd7e3));box-shadow:inset 1px 1px 2px #fff9}.category-pill:hover{background:var(--accent,#ffd5e1);color:#653443}.post-meta{display:flex;align-items:center;gap:12px 27px;flex-wrap:wrap;font-size:12px;line-height:20px;color:var(--muted);font-variant-numeric:tabular-nums}.post-meta time,.view-count{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.post-meta .icon{width:18px;height:18px}.card-image{display:block;min-width:0;border-radius:28px;padding:8px;background:var(--accent);box-shadow:inset 1px 1px 2px #fff9,inset -2px -2px 2px #bb806b12,0 2px 3px #6650480b;outline-offset:4px}.thumb-frame{position:relative;display:block;width:100%;aspect-ratio:6/5;overflow:hidden;border-radius:20px}
.thumb-frame img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;border-radius:inherit}
/* Right rail: independent popular articles and tag modules. */
.sidebar{min-width:0;align-self:stretch}.sidebar-inner{position:sticky;top:var(--follow-top,22px);display:grid;gap:19px}.widget{padding:20px 18px 22px;border:1px solid #eee8e2;border-radius:24px;background:#fffdfacc;box-shadow:var(--soft-shadow);min-width:0}.widget-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:1px 4px 20px}.widget-heading h2{display:flex;align-items:center;gap:11px;font-size:20px;line-height:1.4;font-weight:750;min-width:0;margin:0;overflow-wrap:anywhere}.widget-heading h2>span:last-child{min-width:0}.widget-heading .petal-mark{width:27px;height:27px;gap:3px}.widget-more{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;font-size:12px;line-height:20px;color:var(--muted)}.widget-more .icon{width:16px;height:16px}.popular-list{list-style:none;padding:0;margin:0;display:grid;gap:13px}.popular-list li{--strip:#fbe8ec;--badge:#ffa9be;--badge-dark:#dc6a88;min-width:0}.popular-list li:nth-child(3n + 2){--strip:#eaf2e4;--badge:#c5e3b9;--badge-dark:#71aa78}.popular-list li:nth-child(3n){--strip:#feefdf;--badge:#ffc59e;--badge-dark:#d69161}.popular-list li>a{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:13px;padding:12px 13px;min-height:72px;border-radius:21px;background:linear-gradient(125deg,color-mix(in srgb,var(--strip) 45%,#fff),var(--strip));box-shadow:inset 1px 1px 2px #fff9,0 2px 2px #a6957412}.popular-list li>a:hover{background:var(--strip);box-shadow:inset 0 0 0 1px var(--badge)}.rank{width:31px;height:35px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;font-weight:750;font-variant-numeric:tabular-nums;border-radius:9px;background:linear-gradient(140deg,#fff4,var(--badge));box-shadow:inset 1px 1px 1px #fff7,1px 3px 4px #73634526;color:#3c3933}.popular-list li:first-child .rank{color:#fff;background:linear-gradient(120deg,#ffa7be,#ef7a9c)}.popular-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.popular-title{font-size:14px;line-height:21px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.popular-views{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:18px}.popular-views .icon{width:17px;height:17px}.tag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tag-grid>a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:14px 6px 12px;min-height:82px;border:1px solid #eee6dc;border-radius:17px;background:linear-gradient(140deg,#fbf8f3,#f4eee5);box-shadow:var(--inset-shadow);text-align:center;white-space:nowrap;overflow-wrap:normal;font-size:16px;line-height:23px;font-weight:650}.tag-grid>a:nth-child(7n + 2),.tag-grid>a:nth-child(11n + 6){background:linear-gradient(135deg,#ffe5ed,#ffd8e0);border-color:#f6c7d3;box-shadow:inset 1px 1px 2px #fff7,2px 3px 5px #d796a62d}.tag-grid>a:nth-child(9n + 4){background:linear-gradient(135deg,#fff0e1,#ffe3c9);border-color:#ffddc0}.tag-grid>a:nth-child(10n + 7){background:linear-gradient(135deg,#edf4e7,#e0edda);border-color:#d3e6c9}.tag-grid>a:hover{border-color:#dfa4b1;box-shadow:inset 0 0 0 1px #fff9,2px 4px 8px #b47e902d}.tag-grid>a>span{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-grid small{font-size:12px;line-height:18px;font-weight:400;color:#79737a;font-variant-numeric:tabular-nums}.side-message{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:13px;align-items:center;padding:31px 20px 22px;margin-top:32px;border:1px solid #e2dcd5;border-radius:27px;background:linear-gradient(150deg,#fff6,#f8f3ed55);min-width:0}.side-message>.icon{width:28px;height:39px;color:#9a8871}.side-message p{font-size:18px;line-height:1.85;letter-spacing:.1em;color:#74737c;margin:0;white-space:normal;overflow-wrap:anywhere}.message-line{grid-column:2;width:90%;height:25px;color:#ee9db5;margin-top:3px}.tags-widget>.side-message:first-child{margin-top:0}
/* Real, server-rendered pagination. */
.pagination{margin:26px 0 2px}.pagination ul{list-style:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0;padding:0}.pagination .page-numbers:not(ul){display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;font-size:15px;line-height:1;font-weight:650;border-radius:50%;background:linear-gradient(145deg,#fffdf9,#f4eee6);box-shadow:var(--inset-shadow)}.pagination .current{background:linear-gradient(125deg,#ffb8cb,#f38da9)!important;color:#fff}.pagination a:hover{background:var(--pink)!important}.pagination .dots{background:transparent!important;box-shadow:none!important;min-width:16px!important}.pagination .icon{width:20px;height:20px}
/* Breadcrumbs retain the complete labels in the DOM. */
.breadcrumbs{margin:0 0 18px;color:#8a7a73;font-size:13px;line-height:22px;min-width:0}.breadcrumbs ol{display:flex;align-items:center;gap:0;white-space:nowrap;overflow:hidden;list-style:none;margin:0;padding:3px 0}.breadcrumbs li{display:flex;align-items:center;min-width:0;flex:0 1 auto}.breadcrumbs li:first-child{flex-shrink:0}.breadcrumbs li:not(:first-child):before{content:"›";padding:0 11px;font-size:18px;color:#c5b5aa;flex:none}.breadcrumbs li>a,.breadcrumbs li>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.breadcrumbs li:first-child a{display:flex;align-items:center;gap:6px;padding:4px 11px;border-radius:10px;background:#fbe3e9;box-shadow:inset 1px 1px #fff7}.breadcrumbs .icon{width:15px;height:15px}.breadcrumbs .crumb-current{flex:1 1 30%;color:#79625d}
/* Archive headers expose only real descriptions and child terms. */
.category-heading,.tag-heading,.author-heading,.search-heading{margin:0 0 22px;min-width:0}.category-heading{padding:9px 3px 17px;border-bottom:2px solid #e9daca}.category-heading-line{display:flex;align-items:center;gap:12px;min-width:0}.archive-symbol{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--orange);box-shadow:var(--inset-shadow);flex:none}.archive-symbol .icon{width:27px;height:27px}.category-heading h1,.tag-heading h1,.author-heading h1,.search-heading h1{font-size:24px;line-height:1.4;margin:0;font-weight:750;overflow-wrap:anywhere;min-width:0}.archive-count,.result-total{font-size:12px;line-height:20px;color:#8e7465;padding:3px 10px;background:#ede5db;border-radius:99px;white-space:nowrap;flex:none}.category-heading-line>.archive-count{margin-left:auto}.archive-description{font-size:15px;line-height:1.8;color:var(--muted);margin-top:14px}.archive-description p:last-child{margin-bottom:0}.child-terms{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.child-terms>a{border:1px solid #e8d8c9;background:#fff7ed;border-radius:9px;padding:4px 12px;font-size:13px;font-weight:600}.child-terms>a:hover{background:var(--orange)}.tag-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:linear-gradient(90deg,#ffe6ee77,transparent);padding:16px 8px 18px 15px;border-radius:22px 0 0 22px}.tag-heading-symbol{font-size:34px;line-height:1;font-weight:750;color:#d4859a}.tag-heading .archive-description{flex:0 0 100%;margin-top:0}.tag-heading .archive-count{background:#f5d6e0;color:#a46078}.author-heading{display:grid;grid-template-columns:57px minmax(0,1fr);gap:15px;padding:17px 5px}.author-stamp{display:flex;width:55px;height:61px;background:#e5efd9;align-items:center;justify-content:center;border-radius:18px;box-shadow:var(--inset-shadow)}.author-stamp .icon{width:33px;height:33px}.author-heading .archive-count{display:inline-block;margin-top:8px;background:#e5efdb;color:#718368}.author-heading p{color:var(--muted);font-size:15px;line-height:1.8;margin:13px 0 0}.search-heading{padding:19px 22px;background:linear-gradient(110deg,#e9f2e0,#fcfaf7);border-radius:23px}.search-heading-title{display:flex;align-items:center;gap:10px}.search-heading .result-total{margin-left:auto;background:#dfebd5;color:#66765c}.search-heading p{margin:12px 0 0;color:var(--muted);font-size:14px}.search-heading strong{color:#778669;font-weight:600;overflow-wrap:anywhere}
/* Reading page: full-width title and a soft metadata shelf. */
.single-article,.page-article{border:1px solid #ece6df;border-radius:25px;background:var(--card);box-shadow:var(--soft-shadow);padding:28px 30px;min-width:0}.article-heading{margin-bottom:26px}.entry-title{font-size:24px;line-height:1.6;font-weight:750;overflow-wrap:anywhere;margin:0 0 17px}.article-meta-shelf{padding:13px 16px;border-radius:17px;background:linear-gradient(105deg,#fce7ed,#fbf5ed);box-shadow:inset 1px 1px 2px #fff}.article-meta-shelf .post-meta{gap:8px 18px;font-size:12px}.article-meta-shelf .category-pill{font-size:12px;line-height:19px;padding:3px 12px;max-width:100%}.article-meta-shelf .post-author{overflow-wrap:anywhere;max-width:100%;color:#97707d}.entry-content{font-size:17px;line-height:1.95;color:#514946;overflow-wrap:anywhere;min-width:0}.entry-content:after{content:"";display:block;clear:both}.entry-content>*:first-child{margin-top:0}.entry-content p{margin:0 0 1.45em}.entry-content h1{font-size:23px;line-height:1.6;margin:1.6em 0 .7em;color:var(--ink)}.entry-content h2{font-size:21px;line-height:1.6;margin:1.5em 0 .7em;color:var(--ink);padding-left:13px;border-left:5px solid #eeb3c3;border-radius:3px}.entry-content h3{font-size:19px;line-height:1.6;margin:1.4em 0 .6em;color:var(--ink)}.entry-content h4{font-size:17px;line-height:1.7;margin:1.3em 0 .5em}.entry-content a{color:#b56982;text-decoration:underline;text-underline-offset:4px}.entry-content a:hover{color:#934563}.entry-content img:not(.emoji):not(.wp-smiley){max-width:100%;height:auto;position:static;object-fit:contain;border-radius:14px}.entry-content img.emoji,.entry-content img.wp-smiley{display:inline!important;width:1em!important;height:1em!important;max-width:1em!important;margin:0 .06em!important;padding:0!important;border:0!important;vertical-align:-.1em!important;border-radius:0!important}.entry-content figure{max-width:100%;margin:1.5em 0}.entry-content figcaption,.wp-caption-text{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}.entry-content blockquote{margin:1.5em 0;padding:21px 23px 18px;border:1px solid #f1d5dd;border-radius:8px 23px 23px 23px;background:linear-gradient(130deg,#e3eddf,#eff4e9);color:#806874}.entry-content blockquote p:last-child{margin-bottom:0}.entry-content ul,.entry-content ol{padding-left:1.6em;margin-bottom:1.5em}.entry-content li{padding-left:4px;margin:.3em 0}.entry-content li::marker{color:#c4879d}.entry-content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:15px;margin:1.5em 0;border-radius:12px}.entry-content th,.entry-content td{padding:10px 14px;border:1px solid #e9dfd7;text-align:left}.entry-content th{background:#f6e6e9;font-weight:650}.entry-content tr:nth-child(even){background:#fcf6ed}.entry-content code,.entry-content pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em}.entry-content code{background:#f2e9e1;color:#96705d;border-radius:5px;padding:.18em .4em;overflow-wrap:anywhere}.entry-content pre{overflow:auto;max-width:100%;padding:20px;background:#f1ede4;border:1px solid #e6ddd2;border-radius:17px;line-height:1.75;white-space:pre;word-wrap:normal}.entry-content pre code{padding:0;background:none}.entry-content iframe,.entry-content video{max-width:100%}.entry-content hr{border:0;border-top:1px solid #eedce1;margin:2em 0}.entry-content .alignleft{float:left;margin:.4em 1.5em 1em 0}.entry-content .alignright{float:right;margin:.4em 0 1em 1.5em}.entry-content .aligncenter{display:block;margin-inline:auto}.entry-content .wp-block-image{max-width:100%}.entry-content .wp-block-table{overflow-x:auto}.entry-content .wp-block-embed{max-width:100%}.entry-tags{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:26px;padding-top:18px;border-top:1px solid #f0e6dd}.entry-tags>a{font-size:13px;line-height:21px;padding:5px 12px;border-radius:11px;background:#f8e2e9;color:#b06983}.entry-tags>a:nth-child(3n + 2){background:#e6efde;color:#708667}.entry-tags>a:nth-child(3n){background:#fbe9d7;color:#a17a55}.entry-tags>a:hover{box-shadow:inset 0 0 0 1px currentColor}.content-pages{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.content-pages>span,.content-pages>a{display:flex;align-items:center;justify-content:center;min-width:35px;height:35px;border-radius:10px;padding:0 9px;background:#f8dce5;font-size:14px}.content-pages>a{background:#f4eee4;text-decoration:none}.page-heading{display:flex;gap:13px;align-items:center;margin-bottom:26px}.page-heading .entry-title{margin:0}.page-heading>.petal-mark{width:30px;height:30px}
/* Separate previous/next reading ribbon; no empty slot. */
.reading-switch{display:flex;flex-direction:column;margin-top:22px;border-radius:20px;overflow:hidden;box-shadow:var(--soft-shadow);border:1px solid #eadfd4;background:linear-gradient(110deg,#fff5e9,#fffaf4)}.reading-switch>a{display:flex;align-items:center;gap:17px;padding:17px 22px;min-width:0}.reading-switch>a+a{border-top:1px solid #efded0}.reading-switch>a:hover{background:#f9e6d5}.switch-copy{min-width:0;display:flex;flex-direction:column;gap:4px;flex:1}.switch-copy small{font-size:12px;line-height:18px;color:#a28673}.switch-copy>span{font-size:15px;line-height:22px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.switch-next .switch-copy{text-align:right}.switch-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;background:#fbe0c6;border-radius:12px;box-shadow:var(--inset-shadow)}.switch-arrow .icon{width:18px;height:18px}
/* Separate pastel photo cards, with the same soft frame language as the reference. */

/* Empty and missing-page layouts. */
.empty-state{padding:45px 26px;text-align:center;border:1px solid #f0e5d8;border-radius:25px;background:linear-gradient(140deg,#fff9f0,#fcf7f5);box-shadow:var(--soft-shadow)}.empty-art{display:flex;justify-content:center;align-items:flex-end;gap:14px;margin:0 auto 18px}.empty-art>.icon{width:59px;height:69px;color:#bd987d}.empty-art .petal-mark{width:22px;height:22px;margin-bottom:9px}.empty-state h2{font-size:21px;line-height:1.6;margin:0 0 9px}.empty-state p{font-size:15px;color:var(--muted);margin-bottom:20px}.empty-state .search-form{max-width:360px;margin:0 auto 22px}.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 19px;border-radius:14px;background:linear-gradient(130deg,#ffdfeb,#f6c7d7);box-shadow:var(--inset-shadow);font-size:14px;line-height:22px;font-weight:650;color:#92556d}.soft-button:hover{background:var(--pink)}.lost-page{display:grid;grid-template-columns:1fr 1.25fr;align-items:center;gap:50px;padding:70px 8%;border:1px solid var(--line);border-radius:30px;background:linear-gradient(130deg,#fff8f9,#fffbf3);box-shadow:var(--soft-shadow);margin:30px 0}.lost-number{display:flex;align-items:center;justify-content:center;gap:14px;color:#dc8fa6;font-size:95px;font-weight:800;line-height:1}.lost-number .petal-mark{width:69px;height:69px;gap:6px}.lost-copy{min-width:0}.lost-copy h1{font-size:25px;line-height:1.5;margin:0 0 15px}.lost-copy p{color:var(--muted);font-size:15px}.lost-copy .search-form{margin:20px 0}.post-password-form input[type=password]{display:block;width:100%;border:1px solid #e8cad3;padding:8px 12px;border-radius:11px;background:#fffbf8}.post-password-form input[type=submit]{padding:8px 22px;border:0;border-radius:12px;background:var(--pink);color:#9d5c76;cursor:pointer}
/* Reference footer: compact brand, assigned links, three social chips. */
.site-footer{padding:29px 34px 23px;margin-bottom:20px;background:#fffdfad9;border:1px solid #eee6de;border-radius:26px;box-shadow:var(--soft-shadow)}.footer-top{display:flex;align-items:center;gap:24px;padding-bottom:24px}.site-footer .brand{flex:1 1 240px}.site-footer .site-name{font-size:26px}.site-footer .brand .petal-mark{width:34px;height:34px;gap:2px}.footer-nav{min-width:0;flex:2 1 330px}.footer-menu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 0;list-style:none;margin:0;padding:0}.footer-menu>li{font-size:13px;line-height:1.5;padding:0 15px;border-right:1px solid #a89ba0}.footer-menu>li:last-child{border-right:0}.footer-menu a{padding:4px 0;display:block}.footer-menu .current-menu-item>a{color:#bf6c8a;font-weight:700}.social-icons{display:flex;align-items:center;gap:11px;flex-shrink:0}.social-icon,.back-top{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f8f3ed;box-shadow:var(--inset-shadow)}.social-icon .icon{width:22px;height:22px}.social-wechat{color:#75a15e;background:#e3f0db}.social-weibo{color:#b75061;background:#ffdee6}.social-rss{color:#d58854;background:#ffdfc4}.social-icons a:hover{box-shadow:inset 0 0 0 2px #fff8,1px 3px 6px #a56b9138}.back-top{border:1px solid #e6ded3;color:#786e66;padding:0}.back-top .icon{width:22px;height:22px}.back-top:hover{background:#fce3ec}.footer-bottom{border-top:1px solid #f0eae5;padding-top:17px;font-size:12px;line-height:1.7;color:var(--muted)}
@media (min-width:980px) and (max-width:1199px){.wrap{width:calc(100% - 40px)}.header-inner{grid-template-columns:minmax(125px,.7fr) minmax(0,2.1fr) minmax(180px,.9fr);gap:18px}.site-name{font-size:25px}.brand{gap:10px}.brand .petal-mark{width:32px;height:32px}.primary-menu{gap:8px}.primary-menu>li>a{min-width:58px;padding:8px 10px;min-height:61px;font-size:12px}.post-card{padding:16px 14px 16px 22px;gap:18px;grid-template-columns:minmax(0,1fr) 32%}.card-title{font-size:19px;line-height:27px;margin-bottom:6px}.card-excerpt{font-size:15px;line-height:24px;margin-bottom:7px}.card-excerpt>span{max-height:72px}.card-excerpt>.excerpt-wide{display:none}.card-excerpt>.excerpt-narrow{display:-webkit-box}.card-category{margin-bottom:8px}.post-meta{gap:8px 19px;font-size:12px}.card-image{padding:7px;border-radius:25px}.thumb-frame{border-radius:19px}.widget{padding:19px 15px 20px}.widget-heading{gap:8px;margin-inline:0}.widget-heading h2{font-size:19px;gap:9px}.popular-list li>a{gap:9px;padding:11px 11px;grid-template-columns:31px minmax(0,1fr)}.popular-title{font-size:13px}.rank{width:28px;height:33px;font-size:15px}.tag-grid{gap:11px}.tag-grid>a{font-size:15px;padding:12px 5px 10px;min-height:77px}.side-message{padding:25px 15px 19px;column-gap:10px}.side-message p{font-size:16px}.site-footer{padding-inline:26px}.footer-top{gap:18px}.footer-menu>li{padding-inline:10px}.social-icons{gap:8px}.social-icon,.back-top{width:35px;height:35px}.single-article,.page-article{padding:26px}}
@media (max-width:979px){.wrap{width:calc(100% - 32px)}.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 14px;min-height:80px;padding-block:15px}.header-inner .brand{min-width:0}.header-controls{display:flex;gap:11px}.panel-toggle,.panel-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,#fff8f9,#f8dce6);box-shadow:var(--inset-shadow);border-radius:13px;width:42px;height:42px;padding:0}.search-toggle{background:linear-gradient(135deg,#fff8ec,#fbe4cc)}.panel-toggle[aria-expanded=true]{box-shadow:inset 2px 2px 4px #9e698b22;background:#f7cddb}.header-nav,.header-search{display:none;grid-column:1/-1;margin-top:17px}.header-nav.is-open,.header-search.is-open{display:block}.header-nav{padding:14px;border:1px solid #f1d4dd;background:linear-gradient(130deg,#fff8f9,#faf2ee);border-radius:20px}.header-search{padding:15px 17px 20px;border:1px solid #e8d9c6;border-radius:20px;background:linear-gradient(120deg,#fff6e9,#f9ecde)}.site-header .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 1px 13px;font-size:15px;line-height:24px;font-weight:700}.panel-heading>span{display:flex;align-items:center;gap:9px}.panel-heading .petal-mark{width:20px;height:20px;gap:2px}.panel-close{width:34px;height:34px;border-radius:11px;background:#fff8f6}.panel-close .icon{width:18px;height:18px}.primary-menu{display:flex;flex-direction:column;align-items:stretch;gap:9px}.primary-menu>li{width:100%}.primary-menu>li>a{display:flex;flex-direction:row;justify-content:flex-start;gap:12px;min-height:49px;max-width:none;min-width:0;text-align:left;padding:11px 14px;font-size:14px;line-height:24px;border-radius:13px}.nav-picture .icon{width:22px;height:22px}.primary-menu .sub-menu{position:static;width:auto;margin:9px 0 0 18px;padding:5px 0 5px 13px;border:0;border-left:2px solid #ecc3d2;border-radius:0;background:none;box-shadow:none}.sub-menu:before{display:none}.sub-menu a{background:#fff8f4;margin-bottom:5px;padding:9px 12px}.submenu-toggle{top:11px;right:10px;width:28px;height:28px;background:#fff7;border-radius:9px}.submenu-toggle .icon{width:14px;height:14px}.sub-menu .submenu-toggle{top:8px;right:7px}.site-grid{grid-template-columns:minmax(0,1fr);gap:0}.sidebar{display:none}.site-main{margin-top:21px;margin-bottom:26px}.post-card{grid-template-columns:minmax(0,1fr) 31%;padding:18px 17px 18px 25px;gap:25px}.card-excerpt>.excerpt-wide,.card-excerpt>.excerpt-narrow{display:none}.card-excerpt>.excerpt-tablet{display:-webkit-box}.card-title{font-size:21px}.card-image{padding:8px}.footer-top{flex-wrap:wrap;gap:22px 18px}.site-footer .brand{flex:1 1 50%}.social-icons{order:2}.footer-nav{order:3;flex:1 1 100%}.footer-menu{justify-content:flex-start}.footer-menu>li:first-child{padding-left:0}.site-footer{padding:25px}.single-article,.page-article{padding:30px}.article-meta-shelf .post-meta{font-size:13px}.lost-page{padding:50px 5%;gap:30px}.lost-number{font-size:76px}.lost-number .petal-mark{width:56px;height:56px}}
@media (min-width:480px) and (max-width:767px){.post-card{grid-template-columns:minmax(0,1fr) 33%;gap:17px;padding:16px}.card-title{font-size:18px;line-height:26px}.card-excerpt{font-size:14px;line-height:21px;margin-bottom:8px}.card-excerpt>span{max-height:42px;-webkit-line-clamp:2}.card-excerpt>.excerpt-tablet{display:none}.card-excerpt>.excerpt-mobilewide{display:-webkit-box}.card-category{margin-bottom:8px}.post-meta{font-size:11px;gap:7px 17px}.category-pill{font-size:12px;line-height:18px;padding:3px 12px}.card-image{padding:6px;border-radius:22px}.thumb-frame{border-radius:17px}}
@media (max-width:767px){.entry-title{font-size:20px;line-height:1.6}.site-name{font-size:25px}.brand .petal-mark{width:31px;height:31px}.breadcrumbs{font-size:12px;margin-bottom:15px}.breadcrumbs li:not(:first-child):before{padding-inline:8px}.single-article,.page-article{padding:23px 20px;border-radius:22px}.entry-content{font-size:16px;line-height:1.9}.entry-content h1{font-size:20px}.entry-content h2{font-size:19px}.entry-content h3{font-size:18px}.entry-content h4{font-size:16px}.entry-content blockquote{padding:17px 18px}.entry-content .alignleft,.entry-content .alignright{float:none;margin:1em 0}.article-meta-shelf{padding:12px;border-radius:14px}.article-meta-shelf .post-meta{font-size:11px;gap:8px 12px}.article-meta-shelf .post-meta .icon{width:15px;height:15px}.article-heading{margin-bottom:23px}.category-heading h1,.tag-heading h1,.author-heading h1,.search-heading h1{font-size:21px}.category-heading-line{gap:10px;flex-wrap:wrap}.category-heading-line h1{flex:1}.archive-description{font-size:14px}.search-heading{padding:17px}.search-heading-title{flex-wrap:wrap}.reading-switch>a{padding:14px 18px;gap:14px}.switch-copy>span{font-size:14px}.switch-copy small{font-size:11px}.switch-arrow{width:31px;height:31px;flex-basis:31px;border-radius:10px}.site-footer{padding:22px 21px 18px;margin-bottom:16px;border-radius:23px}.footer-top{gap:19px;padding-bottom:18px}.site-footer .brand{flex:1 1 160px;gap:10px}.site-footer .site-name{font-size:24px}.site-footer .brand .petal-mark{width:29px;height:29px;gap:2px}.site-subtitle{font-size:11px}.social-icons{gap:8px}.social-icon,.back-top{width:34px;height:34px}.social-icon .icon,.back-top .icon{width:19px;height:19px}.footer-menu{gap:9px 0}.footer-menu>li{font-size:12px;padding-inline:11px}.footer-bottom{font-size:11px;padding-top:13px}.lost-page{grid-template-columns:1fr;text-align:center;padding:35px 22px;gap:24px}.lost-copy h1{font-size:22px}.lost-copy .search-form{max-width:380px;margin-inline:auto}.pagination ul{gap:8px}.pagination .page-numbers:not(ul){min-width:37px;height:37px;font-size:14px;padding:0 9px}.entry-content pre{padding:15px;font-size:13px}}
@media (max-width:479px){.wrap{width:calc(100% - 24px)}.header-inner{min-height:72px;padding-block:14px}.site-name{font-size:23px}.brand{gap:9px}.brand .petal-mark{width:29px;height:29px;gap:2px}.custom-logo{height:34px;max-width:76px}.header-controls{gap:9px}.panel-toggle{width:38px;height:38px;border-radius:12px}.panel-toggle .icon{width:19px;height:19px}.site-main{margin-top:16px}.post-list{gap:13px}.post-card{grid-template-columns:minmax(0,1fr) 32%;gap:11px;padding:13px 10px 13px 14px;border-radius:20px}.card-title{font-size:16px;line-height:24px;margin-bottom:5px}.card-excerpt{font-size:13px;line-height:20px;margin:0 0 7px}.card-excerpt>span{max-height:40px;-webkit-line-clamp:2}.card-excerpt>.excerpt-tablet,.card-excerpt>.excerpt-mobilewide{display:none}.card-excerpt>.excerpt-mobile{display:-webkit-box}.card-category{margin-bottom:7px}.category-pill{padding:2px 11px;line-height:18px;font-size:11px}.post-meta{gap:4px 13px;font-size:10px;line-height:18px;flex-wrap:wrap}.post-meta time,.view-count{gap:4px}.post-meta .icon{width:14px;height:14px}.card-image{padding:5px;border-radius:19px}.thumb-frame{border-radius:14px}.single-article,.page-article{padding:21px 17px}.article-meta-shelf .category-pill{font-size:11px}.article-meta-shelf .post-meta{gap:7px 10px}.entry-content{font-size:16px}.site-footer{padding:20px 18px 17px}.footer-top{gap:16px}.social-icons{gap:9px}.site-footer .brand{flex-basis:100%}.footer-nav{order:2}.social-icons{order:3}.footer-menu>li{padding-inline:10px}.pagination{margin-top:22px}.pagination ul{gap:7px}.pagination .page-numbers:not(ul){min-width:34px;height:36px;padding:0 7px;font-size:13px}.breadcrumbs li:not(:first-child):before{padding-inline:6px}.breadcrumbs li:first-child a{padding:3px 8px}.empty-state{padding:34px 18px}.empty-state h2{font-size:19px}.author-heading{grid-template-columns:45px minmax(0,1fr);gap:12px}.author-stamp{width:44px;height:53px}.author-stamp .icon{width:28px;height:28px}}
@media (max-width:359px){.card-excerpt>.excerpt-mobile{display:none}.card-excerpt>.excerpt-small{display:-webkit-box}.card-title{font-size:15px}.post-card{padding-left:12px;gap:9px;grid-template-columns:minmax(0,1fr) 31%}.post-meta{gap:3px 8px;font-size:9px}.post-meta .icon{width:12px;height:12px}.card-image{padding:4px;border-radius:17px}.thumb-frame{border-radius:13px}.header-controls{gap:6px}.site-name{font-size:21px}.panel-toggle{width:34px;height:36px}.brand .petal-mark{width:27px;height:27px}.pagination ul{gap:5px}.pagination .page-numbers:not(ul){min-width:31px;padding:0 6px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Shared, server-rendered loading surface: thumbnail, related image, and article image. */
.media-shell{position:relative;isolation:isolate;background:#f7eeea}
.media-placeholder{position:absolute;inset:0;display:block;overflow:hidden;pointer-events:none;border-radius:inherit;background:linear-gradient(135deg,#fff9ef,#f8e8ec 55%,#edf2e6);z-index:1}
.media-placeholder:before{content:"";position:absolute;inset:0;display:block;background:var(--miantang-loading-art) center/76px 66px no-repeat;transform:translateY(0);opacity:.86}
.media-placeholder:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 24%,#ffffff5c 50%,transparent 76%);transform:translateX(-105%);opacity:0}
.media-shell.is-inview:not(.is-loaded):not(.is-error)>.media-placeholder:before{animation:miantang-petal-breathe 2.8s ease-in-out infinite}
.media-shell.is-inview:not(.is-loaded):not(.is-error)>.media-placeholder:after{animation:miantang-soft-light 3.5s ease-in-out infinite}
.media-shell img.lazy{opacity:0;transition:opacity .2s}
.media-shell.is-loaded img.lazy.loaded{opacity:1}
.media-shell.is-loaded{background:transparent}
.media-shell.is-loaded>.media-placeholder{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.media-shell.is-error>.media-placeholder:before{opacity:.5}
.media-shell.is-error>.media-placeholder:after{animation:none}
.entry-content .media-shell{display:inline-block;max-width:100%;width:var(--media-width,100%);min-width:0;border-radius:14px;vertical-align:middle;line-height:0}
.entry-content .media-shell:not(.is-loaded){aspect-ratio:var(--media-ratio,6/5)}
.entry-content .media-shell img:not(.emoji):not(.wp-smiley){display:block;width:100%;max-width:100%;height:auto;float:none;margin:0;border-radius:inherit}
.entry-content .media-shell:not(.is-loaded) img.lazy{position:absolute;inset:0;height:100%;object-fit:contain}
.entry-content .media-shell picture{display:block;border-radius:inherit}
.entry-content .media-shell.aligncenter{display:block}
.entry-content .media-shell.alignleft{margin:.4em 1.5em 1em 0}
.entry-content .media-shell.alignright{margin:.4em 0 1em 1.5em}
@keyframes miantang-petal-breathe{0%,100%{transform:translateY(1px) scale(.98);opacity:.73}50%{transform:translateY(-2px) scale(1.025);opacity:1}}
@keyframes miantang-soft-light{0%,15%{transform:translateX(-105%);opacity:0}35%{opacity:.65}75%,100%{transform:translateX(105%);opacity:0}}
@media(max-width:767px){.entry-content .media-shell.alignleft,.entry-content .media-shell.alignright{float:none;margin:1em 0}}
@media(prefers-reduced-motion:reduce){.media-placeholder:before,.media-placeholder:after{animation:none!important;transform:none!important}.media-placeholder:after{opacity:0}}

/* Inline decorative vectors; no standalone SVG requests. */
.deco-home{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2011%209-8%209%208M6%2010v10h12V10M10%2020v-6h4v6%22%2F%3E%3C%2Fsvg%3E")}
.deco-sprout{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22%23add09a%22%20d%3D%22M12%2013C4%2013%204%204%204%204s8-1%208%209Zm0-2c0-7%208-8%208-8s1%208-8%208Z%22%2F%3E%3Cpath%20d%3D%22M12%208v10%22%2F%3E%3Cpath%20fill%3D%22%23f3bb8c%22%20d%3D%22m7%2016%201.5%206h7l1.5-6Z%22%2F%3E%3C%2Fsvg%3E")}
.deco-camera{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22%23f4b07e%22%20d%3D%22M3%207h5l1-3h6l1%203h5v14H3Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%224%22%20fill%3D%22%23fff5e7%22%2F%3E%3Cpath%20d%3D%22M18%209h1%22%2F%3E%3C%2Fsvg%3E")}
.deco-laptop{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22%23aecedb%22%20d%3D%22M5%203h14v13H5Z%22%2F%3E%3Cpath%20fill%3D%22%23e9c9ab%22%20d%3D%22m3%2017-1%204h20l-1-4Z%22%2F%3E%3C%2Fsvg%3E")}
.deco-book{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22%23f1c197%22%20d%3D%22M12%205C8%202%204%203%203%204v16c4-2%206-1%209%201%203-2%206-3%209-1V4c-3-1-6-1-9%201Z%22%2F%3E%3Cpath%20d%3D%22M12%205v16%22%2F%3E%3C%2Fsvg%3E")}
.deco-folder{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22%23f7d9bc%22%20d%3D%22M3%206h7l2%203h9v12H3Z%22%2F%3E%3C%2Fsvg%3E")}
.deco-search{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785c44%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E")}
.decoration{background-position:center;background-repeat:no-repeat;background-size:contain}
.message-line{display:block;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M3%2017Q52-8%2028%2013T78%209T121%208T177%204%22%20stroke%3D%22%23ee9db5%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
:root{--miantang-loading-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2086%22%3E%3Cg%20fill%3D%22%23ee91ac%22%20stroke%3D%22%23e3809c%22%20stroke-width%3D%22.65%22%3E%3Crect%20x%3D%2227%22%20y%3D%2212%22%20width%3D%2221%22%20height%3D%2221%22%20rx%3D%228%22%2F%3E%3Crect%20x%3D%2252%22%20y%3D%2212%22%20width%3D%2221%22%20height%3D%2221%22%20rx%3D%228%22%2F%3E%3Crect%20x%3D%2227%22%20y%3D%2237%22%20width%3D%2221%22%20height%3D%2221%22%20rx%3D%228%22%2F%3E%3Crect%20x%3D%2252%22%20y%3D%2237%22%20width%3D%2221%22%20height%3D%2221%22%20rx%3D%228%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M26%2072h48%22%20stroke%3D%22%23eacbb7%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2234%22%20r%3D%223%22%20fill%3D%22%23b9d4a9%22%2F%3E%3Ccircle%20cx%3D%2284%22%20cy%3D%2247%22%20r%3D%223%22%20fill%3D%22%23efc69f%22%2F%3E%3C%2Fsvg%3E")}

/* 1.0.3: separate pastel photograph cards. */
.related-section{margin-top:28px;min-width:0}
.related-heading{display:flex;align-items:center;gap:11px;padding:0 3px;margin-bottom:17px}
.related-heading h2{margin:0;font-size:20px;line-height:28px}
.related-heading>.petal-mark{width:25px;height:25px;gap:2px}
.related-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.related-card{--accent:#f8d0dd;--card-tint:#fff0f4;--pill-text:#ad637f;min-width:0;display:flex;flex-direction:column;gap:0;padding:12px;border:1px solid #edd0db;border-radius:22px;background:linear-gradient(135deg,#fffafc,var(--card-tint));box-shadow:inset 1px 1px 2px #fff,0 4px 9px #aa88821a}
.related-card:nth-child(3n + 2){--accent:#d8e8c9;--card-tint:#eff5e7;--pill-text:#72865e;border-color:#d9e4ce}
.related-card:nth-child(3n){--accent:#f8dbbf;--card-tint:#fff2e5;--pill-text:#a27956;border-color:#eedac4}
.related-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:25px;margin-bottom:10px;min-width:0}
.related-card-top .category-pill{font-size:11px;line-height:18px;padding:3px 10px;min-width:0;max-width:calc(100% - 28px);box-shadow:inset 1px 1px 2px #fffa;background:var(--accent)}
.related-petal{display:flex;flex-shrink:0;margin-left:auto;opacity:.74}
.related-petal .petal-mark{width:19px;height:19px;gap:2px}
.related-petal .petal-mark i{background:var(--accent);box-shadow:inset 0 1px 1px #fff9,0 1px 2px #8d775f24}
.related-card-image{display:block;padding:6px;border-radius:19px;background:var(--accent);box-shadow:inset 1px 1px 2px #fff9;min-width:0}
.related-card-image .thumb-frame{aspect-ratio:6/5;border-radius:14px}
.related-card-caption{margin-top:11px;min-width:0}
.related-card-caption h3{font-size:16px;line-height:24px;font-weight:700;margin:0 0 10px;min-width:0}
.related-card-caption h3 a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.related-card-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:27px;border-top:1px solid var(--accent);padding-top:8px;color:#867c7d;font-size:10px;line-height:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
.related-card-views{display:inline-flex;align-items:center;gap:4px}
.related-card-views .icon{width:14px;height:14px}
.related-card a:hover{color:var(--pill-text)}
.related-card-image:hover{box-shadow:inset 0 0 0 1px #fff,0 2px 4px #94737920}
@media(min-width:980px) and (max-width:1199px){.related-cards{gap:12px}.related-card{padding:10px}.related-card-caption h3{font-size:15px}.related-card-meta{font-size:9px;gap:5px}.related-card-views{gap:3px}}
@media(max-width:767px){
 .related-heading{margin-bottom:14px;gap:10px}.related-heading h2{font-size:18px}
 .related-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .related-card{padding:11px;border-radius:21px}.related-card-image{padding:5px;border-radius:17px}.related-card-image .thumb-frame{border-radius:12px}
 .related-card-caption h3{font-size:15px;line-height:23px}.related-card-meta{font-size:10px}
 /* The text establishes row height; the image fills that exact height without changing article-image rules. */
 .post-list .post-card{align-items:stretch}
 .post-list .card-copy{align-self:stretch;display:flex;flex-direction:column;min-height:136px}
 .post-list .card-copy>.post-meta{margin-top:auto}
 .post-list .card-image{--mobile-photo-inset:6px;position:relative;align-self:stretch;min-height:0}
 .post-list .card-image>.thumb-frame{position:absolute;inset:var(--mobile-photo-inset);width:auto;height:auto;aspect-ratio:auto}
}
@media(max-width:479px){
 .related-cards{gap:11px}.related-card{padding:9px;border-radius:19px}.related-card-top{margin-bottom:9px;gap:5px}
 .related-card-top .category-pill{font-size:10px;line-height:17px;padding:2px 8px;max-width:calc(100% - 22px)}
 .related-petal .petal-mark{width:17px;height:17px;gap:2px}
 .related-card-caption{margin-top:10px}.related-card-caption h3{font-size:14px;line-height:22px;margin-bottom:8px}
 .related-card-meta{font-size:9px;gap:4px;padding-top:7px}.related-card-views{gap:3px}.related-card-views .icon{width:12px;height:12px}
 .post-list .card-copy{min-height:128px}.post-list .card-image{--mobile-photo-inset:5px}
}
@media(max-width:359px){
 .related-cards{gap:9px}.related-card{padding:8px}.related-card-image{padding:4px;border-radius:15px}.related-card-image .thumb-frame{border-radius:11px}
 .related-card-caption h3{font-size:13px}.related-card-meta{font-size:9px;flex-wrap:wrap;justify-content:flex-start;gap:3px 9px}
 .post-list .card-image{--mobile-photo-inset:4px}
}

/* WordPress centering applies to the image AND its lazy-loading shell. */
.entry-content img.aligncenter:not(.lazy),
.entry-content figure.aligncenter,
.entry-content .wp-caption.aligncenter{display:block;float:none;margin-left:auto!important;margin-right:auto!important}
html:not(.no-js) .entry-content .aligncenter,
html:not(.no-js) .entry-content :is(span,picture,a):has(>img.aligncenter),
html:not(.no-js) .entry-content :is(span,a):has(>picture>img.aligncenter){display:block;float:none;margin-left:auto!important;margin-right:auto!important}
