/*
Theme Name: 孔页
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: kongye
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images
*/
:root{--ink:#0c1c38;--text:#526079;--muted:#6c7890;--accent:#ff661c;--link:#215cc2;--edge:#7e90a9;--line:#d6dfe8;--paper:#fff;--ground:#f0f4f7;--cut:25px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ground);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;line-height:1.65;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;vertical-align:middle}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{color:inherit}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.shell{width:92%;max-width:1120px;margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.skip-link{position:fixed;left:18px;top:10px;z-index:2000;padding:10px 18px;background:#fff;border:2px solid var(--accent);transform:translateY(-160%)}.skip-link:focus{transform:none}.no-js .lazy,.no-js .js-content{display:none!important}.js .nojs-content{display:none}.image-failed{opacity:.35}.no-photo{display:grid;place-items:center;background:linear-gradient(125deg,#e6edf2,#f4f7fa);width:100%;height:100%;color:#91a1b5}.no-photo .icon{width:32px;height:32px}.no-photo:before,.no-photo:after{content:"";width:5px;height:5px;background:#a6b3c4;position:absolute;left:12px}.no-photo:before{top:12px}.no-photo:after{bottom:12px}
/* Square perforations connect the masthead, sheets and footer. */
.site-header{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) 250px;gap:28px;align-items:center;margin-top:24px;margin-bottom:34px;min-height:108px;padding:22px 20px 15px;background:#fff;border:1px solid var(--line)}.site-header:before{content:"";position:absolute;top:0;left:14px;right:14px;height:11px;background:repeating-linear-gradient(90deg,#d1d9e3 0 13px,transparent 13px 28px)}.brand-group{min-width:0}.brand{display:block;line-height:1.3;font-weight:800;letter-spacing:.015em}.site-header .brand{max-width:180px;font-size:36px;overflow-wrap:anywhere}.site-navigation{min-width:0}.primary-menu,.primary-menu .sub-menu{list-style:none;padding:0;margin:0}.primary-menu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 7px}.primary-menu li{position:relative;min-width:0}.primary-menu>li>a{display:block;padding:15px 11px 14px;line-height:24px;font-size:16px;font-weight:700;border-bottom:4px solid transparent;overflow-wrap:anywhere}.primary-menu>li>a:hover,.primary-menu>li>a:focus-visible,.primary-menu>.current-menu-item>a,.primary-menu>.current-menu-ancestor>a{border-bottom-color:var(--accent);color:var(--ink)}.primary-menu>.menu-item-has-children>a{padding-right:29px}.submenu-toggle{display:none;position:absolute;right:0;top:15px;border:0;background:transparent;padding:4px;align-items:center;justify-content:center;width:26px;height:26px}.js .submenu-toggle{display:flex}.submenu-toggle .icon{width:15px;height:15px}.primary-menu .sub-menu{display:none;position:absolute;z-index:40;left:0;top:100%;width:225px;max-width:80vw;border:1px solid var(--edge);border-top:3px solid var(--accent);background:#fff;padding:7px 12px;box-shadow:0 6px 18px #18283e13}.primary-menu .sub-menu a{display:block;padding:11px 23px 11px 9px;line-height:22px;font-size:14px;font-weight:600;overflow-wrap:anywhere;border-bottom:1px dashed var(--line)}.primary-menu .sub-menu li:last-child>a{border:0}.primary-menu .sub-menu a:hover,.primary-menu .sub-menu .current-menu-item>a{color:var(--link);background:#f3f6fa}.primary-menu .sub-menu .submenu-toggle{top:10px}.primary-menu .sub-menu .sub-menu{left:100%;top:-1px}.primary-menu>li:last-child>.sub-menu{left:auto;right:0}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu,.primary-menu li.is-sub-open>.sub-menu{display:block}.primary-menu li.sub-closed>.sub-menu{display:none}.mobile-controls,.panel-top{display:none}
.search-panel{min-width:0}.search-form{display:flex;align-items:stretch;width:100%;height:44px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:2px}.search-form:focus-within{border-color:var(--edge);outline:none;box-shadow:none}.search-form input[type=search]{display:block;flex:1;min-width:0;width:0;padding:10px 14px;border:0;background:transparent;line-height:22px;font-size:14px;color:var(--ink);border-radius:0;outline:none}.search-form input::placeholder{color:#8691a4}.search-form button{display:grid;place-items:center;flex:none;width:43px;padding:9px;border:0;background:#142947;color:#fff;border-radius:1px}.search-form button:hover{background:var(--accent)}.search-form .icon{width:22px;height:22px}
.site-main{margin-bottom:46px}.site-grid{display:grid;grid-template-columns:minmax(0,1.73fr) minmax(0,1fr);gap:28px;align-items:stretch}.main-column,.sidebar{min-width:0}.article-list{display:grid;gap:24px}.cut-sheet{position:relative;isolation:isolate;min-width:0}.cut-sheet:before,.cut-sheet:after{content:"";position:absolute;z-index:-1;pointer-events:none;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%)}.cut-sheet:before{inset:0;background:var(--edge)}.cut-sheet:after{inset:1px;background:linear-gradient(115deg,#fff 5%,#fdfefe 100%);clip-path:polygon(0 0,calc(100% - var(--cut) + .5px) 0,100% calc(var(--cut) - .5px),100% 100%,0 100%)}.perforations{position:absolute;top:29px;width:11px;height:126px;pointer-events:none;background:repeating-linear-gradient(to bottom,#8291a7 0 12px,transparent 12px 27px)}.hole-left{left:15px}.hole-right{right:19px;top:43px;background:repeating-linear-gradient(to bottom,#bac4d1 0 12px,transparent 12px 27px)}.article-card{padding:28px 50px 27px;min-height:222px;display:flex;flex-direction:column}.card-title{margin:0 0 12px;font-size:22px;font-weight:750;line-height:32px;min-width:0}.card-title a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-title a:hover{color:var(--link)}.card-excerpt{font-size:16px;line-height:27px;margin:0 0 16px;color:var(--text);min-width:0}.card-excerpt>span{display:none;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:81px;overflow:hidden;overflow-wrap:anywhere}.card-excerpt>.excerpt-wide{display:-webkit-box}.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 13px;font-size:13px;line-height:23px;color:var(--text);font-variant-numeric:tabular-nums;min-width:0}.article-card>.post-meta{margin-top:auto;flex-wrap:nowrap}.post-category{color:var(--link);min-width:0;max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-meta>time{white-space:nowrap}.post-meta>time:before,.post-meta>.view-count:before{content:"";height:14px;border-left:1px solid #8793a6;display:inline-block;margin-right:13px;vertical-align:-2px}.view-count{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums}.view-count .icon{width:17px;height:17px;stroke-width:2.1}.article-card .view-count:before{margin-right:6px}.post-author{overflow-wrap:anywhere;color:var(--link)}
.sidebar-sticky{position:sticky;top:var(--sidebar-top,20px)}.sidebar-section{background:#fff;border:1px solid #e3e9ef}.module-title{position:relative;margin:0;padding:18px 20px 18px 38px;font-size:22px;line-height:30px;font-weight:750;background:linear-gradient(90deg,#fafcfd,#f6f8fa);overflow-wrap:anywhere}.module-title:before{content:"";position:absolute;top:24px;left:19px;width:6px;height:23px;background:var(--accent)}.popular-list{margin:0;padding:0 19px;list-style:none}.popular-item{padding:15px 0;border-bottom:1px dashed #d0d9e4;min-width:0}.popular-item:last-child{border-bottom:0}.popular-photo{display:block;position:relative;aspect-ratio:3.1;overflow:hidden;background:#e9eef3;border-radius:2px}.popular-photo img,.film-photo img{width:100%;height:100%;object-fit:cover}.popular-photo noscript,.film-photo noscript{display:contents}.popular-photo:hover{outline:2px solid #8f9fb5;outline-offset:2px}.popular-caption{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:9px;min-width:0}.popular-rank{display:grid;place-items:center;width:27px;height:25px;color:#fff;background:var(--accent);font-size:16px;font-weight:700;line-height:25px}.popular-caption h3{min-width:0;margin:0;font-size:15px;font-weight:700;line-height:25px}.popular-caption h3 a{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.popular-caption .view-count{font-size:12px;line-height:22px;color:var(--muted);gap:5px}.popular-caption .view-count .icon{width:15px;height:15px}.tag-section{margin-top:26px}.hole-tags{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 12px;padding:20px 19px 24px}.hole-tags a{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:38px;border:1px solid #cbd5e1;background:#fff;font-size:14px;line-height:22px;font-weight:600;padding:7px 7px 7px 24px;overflow-wrap:anywhere;text-align:center}.hole-tags a:before{content:"";position:absolute;left:8px;top:calc(50% - 9px);width:6px;height:19px;background:linear-gradient(#98a6b9 0 6px,transparent 6px 13px,#98a6b9 13px)}.hole-tags a:hover{color:var(--link);border-color:var(--edge);background:#f5f8fb}.pagination{margin-top:30px}.pagination ul{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.pagination .page-numbers{display:flex;align-items:center;justify-content:center;min-width:39px;min-height:40px;border:1px solid #e1e7ee;background:#fff;padding:7px 13px;font-size:14px;line-height:24px;color:var(--text)}.pagination a:hover,.pagination .current{background:var(--accent);border-color:var(--accent);color:#fff}.pagination .dots{background:none;border:0;padding-inline:0;min-width:16px}
.site-footer{background:#fff;border-top:1px solid #e1e7ed;padding:49px 0 38px;position:relative}.site-footer:before{content:"";position:absolute;left:4%;right:4%;top:10px;height:8px;background:repeating-linear-gradient(90deg,#cbd4df 0 8px,transparent 8px 20px)}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.site-footer .brand{font-size:28px;font-weight:750;overflow-wrap:anywhere}.site-footer .brand-group{max-width:28%}.site-description{font-size:12px;color:var(--muted);line-height:1.65;margin:8px 0 0}.footer-menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 0;font-size:13px;line-height:22px}.footer-menu>li+li:before{content:"|";margin:0 13px;color:#96a2b6}.footer-menu .current-menu-item>a,.footer-menu a:hover{color:var(--accent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}.copyright{font-size:12px;line-height:22px;color:var(--text);margin:0;text-align:right}.copyright span{display:inline-block;margin-left:7px}
/* A perforated rail below archive headings also carries full breadcrumb text. */
.breadcrumbs{padding:8px 0 12px 22px;position:relative;margin:0 0 25px;border-bottom:1px solid #c5d0dc;font-size:13px;line-height:24px;min-width:0}.breadcrumbs:before{content:"";position:absolute;left:1px;top:15px;width:7px;height:7px;background:var(--edge)}.breadcrumbs ol{display:flex;align-items:center;list-style:none;padding:0;margin:0;white-space:nowrap;overflow:hidden;gap:12px;min-width:0}.breadcrumbs li{display:flex;align-items:center;gap:12px;flex:0 1 auto;max-width:25%;min-width:0}.breadcrumbs li:first-child{flex:none;max-width:none}.breadcrumbs li+li:before{content:"";display:block;width:9px;height:9px;background:var(--ink);clip-path:polygon(0 0,52% 0,100% 50%,52% 100%,0 100%,44% 50%);flex:0 0 9px}.breadcrumbs a,.breadcrumbs span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumbs .current-crumb{flex:1;max-width:none;color:var(--muted)}.collection-description,.subcategories,.collection-search{grid-column:1/-1;min-width:0}.collection-description{font-size:15px;color:var(--text);line-height:1.9;max-width:740px}.collection-description p{margin:4px 0}.subcategories{display:flex;gap:10px;flex-wrap:wrap;padding-top:5px}.subcategories a{font-size:13px;line-height:22px;border-left:3px solid #a1adbd;padding:5px 12px;background:#fff}.subcategories a:hover{border-color:var(--accent);color:var(--link)}.collection-search{max-width:440px;padding-top:7px}
.reading-sheet{padding:35px 35px 36px}.article-heading{margin-bottom:30px;position:relative;padding-bottom:23px;border-bottom:1px solid #a7b6c8}.article-heading:after{content:"";position:absolute;bottom:-2px;left:0;width:42px;height:4px;background:var(--accent)}.article-heading h1{margin:0 0 19px;font-size:24px;line-height:1.6;font-weight:750;overflow-wrap:anywhere}.article-heading .post-meta{font-size:13px;gap:7px 12px}.article-heading .post-category{background:#eef3fa;padding:2px 9px;max-width:100%;white-space:normal;overflow:visible;font-weight:600;border-left:3px solid var(--accent)}.article-heading .post-meta>time:before,.article-heading .view-count:before{display:none}.article-heading .post-meta>time{margin-left:2px}.article-heading .post-author{margin-left:auto}.entry-content{font-size:16px;line-height:1.95;color:#34425a;overflow-wrap:anywhere;min-width:0}.entry-content:after{content:"";display:table;clear:both}.entry-content p{margin:0 0 1.35em}.entry-content h1{font-size:24px;line-height:1.6;margin:1.6em 0 .75em;color:var(--ink)}.entry-content h2{font-size:22px;line-height:1.6;margin:1.55em 0 .7em;color:var(--ink)}.entry-content h3{font-size:20px;line-height:1.65;margin:1.5em 0 .65em;color:var(--ink)}.entry-content h4,.entry-content h5,.entry-content h6{font-size:18px;line-height:1.65;margin:1.4em 0 .6em;color:var(--ink)}.entry-content a{color:var(--link);text-decoration:underline;text-underline-offset:4px}.entry-content a:hover{color:var(--accent)}.entry-content img:not(.emoji):not(.wp-smiley){max-width:100%;height:auto;object-fit:contain}.entry-content img.emoji,.entry-content img.wp-smiley{width:1em!important;height:1em!important;max-width:none!important;display:inline!important;vertical-align:-.12em!important;margin:0 .05em!important;border:0!important;box-shadow:none!important;padding:0!important}.entry-content figure,.entry-content .wp-caption{max-width:100%;margin:1.5em 0}.entry-content figcaption,.wp-caption-text{font-size:13px;line-height:1.7;color:var(--muted);text-align:center;margin-top:9px}.entry-content blockquote{position:relative;border:1px solid #c6d1dd;margin:26px 0;padding:19px 22px 19px 28px;background:#e5edf5;color:var(--text)}.entry-content blockquote:before{content:"";position:absolute;left:10px;top:24px;width:6px;height:18px;background:linear-gradient(#a7b3c4 0 6px,transparent 6px 12px,#a7b3c4 12px)}.entry-content blockquote p:last-child{margin:0}.entry-content ul,.entry-content ol{padding-left:1.6em;margin-bottom:1.4em}.entry-content li{margin:.35em 0}.entry-content li::marker{color:#66809f}.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:1.5em 0;font-size:14px}.entry-content td,.entry-content th{border:1px solid #c6d1dd;padding:9px 13px;min-width:80px;text-align:left}.entry-content th{background:#edf2f7;color:var(--ink)}.entry-content pre{max-width:100%;overflow-x:auto;border:1px solid #aab9ca;border-top:4px solid #91a0b5;background:#f3f6fa;padding:17px 20px;font-size:13px;line-height:1.85;white-space:pre;margin:1.5em 0}.entry-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;background:#eaf0f6;color:#354d70;padding:2px 5px}.entry-content pre code{background:none;padding:0;font-size:inherit}.entry-content hr{border:0;border-top:1px dashed #a8b6c8;margin:2em 0}.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object{max-width:100%}.entry-content .alignleft{float:left;margin:5px 22px 15px 0}.entry-content .alignright{float:right;margin:5px 0 15px 22px}.entry-content .aligncenter{display:block;margin-inline:auto}.content-pages{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:25px 0;font-size:14px}.content-pages a,.content-pages>.post-page-numbers{display:block;border:1px solid #ccd6e2;padding:4px 12px}.content-pages .current{color:#fff;background:var(--accent);border-color:var(--accent)}.article-tags{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 0;padding:22px 0 0;border-top:1px dashed #c0cbd8}.article-tags a{padding-right:13px;min-height:34px;font-size:13px;max-width:100%}
.page-turns{display:flex;margin-top:26px;gap:0;background:#fff;border-top:1px solid #a6b4c7;border-bottom:1px solid #a6b4c7;padding:18px 0;position:relative}.page-turn{display:flex;align-items:center;gap:13px;padding:0 17px;flex:1;min-width:0}.page-turn+.page-turn{border-left:1px dashed #bdc8d5}.turn-arrow{flex:none;display:grid;place-items:center;width:30px;height:45px;border-top:5px solid #a2afc0;border-bottom:5px solid #a2afc0;color:var(--accent)}.turn-copy{display:block;min-width:0;flex:1}.turn-copy small{display:block;color:var(--muted);font-size:12px;line-height:20px;margin-bottom:5px}.turn-copy strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px;line-height:25px;font-weight:600}.page-turn.next{flex-direction:row-reverse;text-align:right}.page-turn:hover .turn-arrow{background:#fff4ee;border-color:var(--accent)}.related-section{margin-top:31px}.related-heading{display:flex;align-items:center;gap:20px;margin-bottom:18px}.related-heading h2{position:relative;margin:0;padding-left:16px;font-size:21px;line-height:30px;font-weight:750}.related-heading h2:before{content:"";position:absolute;left:0;top:5px;width:5px;height:21px;background:var(--accent)}.related-heading>span{height:6px;flex:1;background:repeating-linear-gradient(90deg,#b4c0ce 0 7px,transparent 7px 16px)}.film-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;background:transparent;border:0}.film-photo{display:block;position:relative;aspect-ratio:3;overflow:hidden;background:#e8eef4}.film-photo:hover{outline:2px solid var(--accent);outline-offset:2px}.film-caption{padding-top:11px;min-width:0}.film-caption h3{font-size:16px;line-height:25px;margin:0 0 7px;font-weight:650;min-width:0}.film-caption h3 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-caption time{font-size:12px;line-height:20px;color:var(--muted);font-variant-numeric:tabular-nums}.page-heading{border-bottom:2px solid #a5b3c6;padding-bottom:21px;margin-bottom:27px}.page-heading h1{font-size:26px;line-height:1.5;margin:0;overflow-wrap:anywhere}.empty-state{padding:44px 46px 43px 55px;min-height:325px}.empty-state>.icon{width:33px;height:33px;color:#8395ad;margin-bottom:20px}.empty-state h2{font-size:23px;line-height:1.5;margin:0 0 14px}.empty-state p{color:var(--text);font-size:15px;line-height:1.8;margin:0 0 24px}.empty-state .search-form{max-width:390px;margin-bottom:23px}.text-link{display:inline-flex;align-items:center;gap:10px;color:var(--link);font-size:14px;font-weight:600;line-height:25px;border-bottom:2px solid #c3cfdd;padding:4px 0}.text-link:hover{border-color:var(--accent)}.text-link .icon{width:17px;height:17px}.missing-page{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:55px;max-width:840px;margin:45px auto 75px;padding:65px 75px;min-height:365px}.missing-number{font-size:105px;line-height:1;font-weight:800;color:#8696ad;letter-spacing:-.055em;border-bottom:7px solid var(--accent);padding-bottom:15px;font-variant-numeric:tabular-nums}.missing-copy h1{font-size:26px;line-height:1.5;margin:0 0 15px}.missing-copy p{font-size:15px;color:var(--text);margin:0 0 22px}.missing-copy .search-form{margin-bottom:24px}.post-password-form input[type=password]{max-width:100%;padding:8px;border:1px solid #a9b8ca}.post-password-form input[type=submit]{padding:8px 15px;border:0;background:var(--ink);color:#fff}
@media(max-width:1099px) and (min-width:901px){.shell{width:94%}.site-header{grid-template-columns:auto minmax(0,1fr) 220px;gap:17px;padding-inline:16px}.site-header .brand{font-size:31px;max-width:130px}.primary-menu{gap:0 2px}.primary-menu>li>a{font-size:14px;padding-inline:8px}.primary-menu>.menu-item-has-children>a{padding-right:24px}.site-grid{gap:24px}.article-card{padding:27px 42px;min-height:208px}.card-title{font-size:20px;line-height:30px;margin-bottom:11px}.card-excerpt{font-size:15px;line-height:25px;margin-bottom:15px}.card-excerpt>span{max-height:75px}.card-excerpt>.excerpt-wide{display:none}.card-excerpt>.excerpt-desk{display:-webkit-box}.perforations{width:9px;left:12px;background-size:auto 25px}.hole-right{left:auto;right:16px}.post-meta{font-size:12px;gap:7px 10px}.post-meta>time:before{margin-right:10px}.module-title{font-size:20px;padding-left:32px;padding-right:14px}.module-title:before{left:15px;width:5px}.popular-list{padding-inline:14px}.popular-caption{grid-template-columns:24px minmax(0,1fr) auto;gap:7px}.popular-rank{width:24px;height:24px;font-size:15px}.popular-caption h3{font-size:14px}.popular-caption .view-count{font-size:11px;gap:4px}.popular-caption .view-count .icon{width:14px}.hole-tags{padding:17px 14px 20px;gap:10px 8px}.hole-tags a{font-size:13px;padding-left:21px;padding-right:5px}.hole-tags a:before{left:7px;width:5px}.reading-sheet{padding:30px 28px}.article-tags{padding:21px 0 0}.article-tags a{padding-right:12px}.film-caption h3{font-size:15px}.footer-inner{gap:20px}.footer-menu>li+li:before{margin-inline:9px}.copyright{font-size:11px}}
@media(max-width:900px){.shell{width:calc(100% - 36px)}.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;margin-top:16px;margin-bottom:24px;padding:24px 20px 17px;min-height:92px}.site-header:before{height:8px;background-size:auto}.site-header .brand{max-width:none;font-size:31px}.mobile-controls{display:flex;gap:10px}.panel-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:42px;padding:8px 10px;border:1px solid #bcc9d8;border-bottom:3px solid #9baabe;background:#f8fafc;font-size:13px;line-height:22px}.panel-toggle[aria-expanded=true]{color:var(--ink);border-bottom-color:var(--accent);background:#eef3f8}.site-navigation,.search-panel{grid-column:1/-1}.js .site-navigation,.js .search-panel{display:none}.js .site-navigation.is-open,.js .search-panel.is-open{display:block}.no-js .mobile-controls{display:none}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;font-weight:700;line-height:24px;color:var(--text);padding:0 0 10px;border-bottom:1px solid #c6d2e0;margin-bottom:9px}.panel-close{display:grid;place-items:center;width:36px;height:36px;padding:7px;background:#fff;border:1px solid #b9c7d7}.site-navigation{border-top:5px solid #b4c0d0;background:#f2f6fa;padding:13px 16px 16px;position:relative}.primary-menu{display:block;text-align:left}.primary-menu>li>a{padding:12px 36px 12px 17px;font-size:15px;line-height:23px;border:0;border-bottom:1px dashed #bac8d9;position:relative}.primary-menu>li>a:before{content:"";position:absolute;left:0;top:20px;width:6px;height:6px;background:#9baabc}.primary-menu>li:last-child>a{border-bottom:0}.primary-menu>li>a:hover,.primary-menu>.current-menu-item>a,.primary-menu>.current-menu-ancestor>a{color:var(--link);border-color:#bac8d9;background:#fff}.primary-menu>.current-menu-item>a:before,.primary-menu>.current-menu-ancestor>a:before{background:var(--accent)}.submenu-toggle{top:9px;right:1px;width:30px;height:30px}.primary-menu .sub-menu,.primary-menu .sub-menu .sub-menu{position:static;max-width:none;width:auto;margin:0 0 0 18px;padding:0 0 0 12px;border:0;border-left:1px solid #adbed3;background:transparent;box-shadow:none}.primary-menu .sub-menu a{font-size:14px;padding:10px 31px 10px 7px}.primary-menu .sub-menu .submenu-toggle{top:6px}.js .primary-menu li:hover>.sub-menu,.js .primary-menu li:focus-within>.sub-menu{display:none}.js .primary-menu li.is-sub-open>.sub-menu{display:block}.no-js .primary-menu .sub-menu{display:block}.search-panel{position:relative;border:1px solid #b7c6d9;border-top:3px solid var(--accent);padding:13px 18px 20px 31px;background:#f5f8fb}.search-panel:before{content:"";position:absolute;left:12px;top:20px;bottom:20px;width:6px;background:repeating-linear-gradient(to bottom,#a7b5c7 0 7px,transparent 7px 18px)}.search-panel .search-form{height:46px;background:#fff}.search-form input[type=search]{font-size:15px}.site-grid{display:block}.sidebar{display:none}.article-list{gap:19px}.article-card{min-height:194px;padding:26px 43px}.card-title{font-size:21px;line-height:30px;margin-bottom:10px}.card-excerpt{font-size:15px;line-height:25px;margin-bottom:15px}.card-excerpt>span{-webkit-line-clamp:2;max-height:50px}.card-excerpt>.excerpt-wide,.card-excerpt>.excerpt-desk{display:none}.card-excerpt>.excerpt-tablet{display:-webkit-box}.perforations{top:28px;left:13px;width:9px;height:108px;background:repeating-linear-gradient(to bottom,#8999ae 0 10px,transparent 10px 24px)}.hole-right{left:auto;right:15px;top:39px;background:repeating-linear-gradient(to bottom,#bbc5d2 0 10px,transparent 10px 24px)}.post-meta{font-size:13px;line-height:23px;gap:7px 13px}.post-meta>time:before{margin-right:13px}.site-main{margin-bottom:32px}.site-footer{padding:36px 0 27px}.site-footer:before{left:18px;right:18px;height:6px;background:repeating-linear-gradient(90deg,#cbd4df 0 6px,transparent 6px 16px)}.footer-inner{flex-wrap:wrap;gap:18px}.site-footer .brand-group{max-width:45%}.site-footer .brand{font-size:26px}.footer-navigation{margin-left:auto}.copyright{flex-basis:100%;text-align:center;font-size:11px;line-height:20px}.footer-menu{font-size:12px}.footer-menu>li+li:before{margin-inline:10px}.site-description{font-size:11px}.breadcrumbs{font-size:12px;line-height:22px;margin-bottom:22px}.collection-description{font-size:14px}.collection-search{max-width:100%}.reading-sheet{padding:29px 29px 30px}.article-heading h1{font-size:20px;line-height:1.6;margin-bottom:17px}.article-heading .post-meta{font-size:12px;gap:7px 13px}.article-heading .post-author{margin-left:0}.article-heading{margin-bottom:26px;padding-bottom:20px}.entry-content h1{font-size:20px}.entry-content h2{font-size:19px}.entry-content h3{font-size:18px}.entry-content h4,.entry-content h5,.entry-content h6{font-size:17px}.article-tags{padding:20px 0 0}.page-heading h1{font-size:24px}.missing-page{gap:36px;padding:48px 51px;min-height:340px;margin-block:30px 55px}.missing-number{font-size:84px}.missing-copy h1{font-size:24px}}
@media(max-width:540px){:root{--cut:20px}.shell{width:calc(100% - 28px)}.site-header{padding:21px 12px 14px;gap:15px 10px;margin-top:13px;margin-bottom:20px;min-height:85px}.site-header .brand{font-size:28px}.site-header:before{left:10px;right:10px;height:7px;background:repeating-linear-gradient(90deg,#c9d3df 0 9px,transparent 9px 20px)}.mobile-controls{gap:7px}.panel-toggle{padding:8px;gap:5px;font-size:12px;min-height:40px}.panel-toggle .icon{width:17px;height:17px}.site-navigation{padding:11px 12px 13px}.panel-top{font-size:12px}.search-panel{padding-left:26px;padding-right:12px}.search-panel:before{left:10px;width:5px}.article-card{padding:23px 33px 22px;min-height:184px}.card-title{font-size:18px;line-height:28px;margin-bottom:9px}.card-excerpt{font-size:14px;line-height:24px;margin-bottom:14px}.card-excerpt>span{max-height:48px}.card-excerpt>.excerpt-tablet{display:none}.card-excerpt>.excerpt-phone{display:-webkit-box}.perforations{width:7px;left:10px;top:26px;height:105px;background:repeating-linear-gradient(to bottom,#8899af 0 9px,transparent 9px 23px)}.hole-right{left:auto;right:11px;top:36px;background:repeating-linear-gradient(to bottom,#bbc6d5 0 9px,transparent 9px 23px)}.post-meta{font-size:11px;line-height:21px;gap:6px 9px}.post-meta>time:before{height:12px;margin-right:9px}.article-card .view-count{gap:5px}.article-card .view-count:before{height:12px;margin-right:4px}.view-count .icon{width:15px;height:15px}.post-category{max-width:32%}.pagination{margin-top:24px}.pagination ul{gap:7px}.pagination .page-numbers{min-height:39px;min-width:34px;padding:6px 10px;font-size:12px}.pagination .dots{padding:0;min-width:12px}.footer-inner{gap:14px}.site-footer{padding-block:33px 23px}.site-footer .brand{font-size:24px}.site-footer .brand-group{max-width:100%;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.site-description{margin:0}.footer-navigation{width:100%;margin:0}.footer-menu{justify-content:flex-start;font-size:12px;gap:6px 0}.footer-menu>li+li:before{margin-inline:10px}.copyright{text-align:left;font-size:10px;line-height:19px}.breadcrumbs{padding-left:17px;margin-bottom:19px}.breadcrumbs:before{left:0;top:15px;width:6px;height:6px}.breadcrumbs ol,.breadcrumbs li{gap:8px}.breadcrumbs li{max-width:25%}.collection-description{font-size:14px}.reading-sheet{padding:26px 22px 28px}.article-heading h1{font-size:20px}.article-heading .post-meta{font-size:11px;gap:7px 10px}.article-heading .post-category{padding:1px 7px}.entry-content{font-size:16px;line-height:1.9}.entry-content blockquote{padding:17px 16px 17px 25px}.entry-content pre{font-size:12px;padding:14px}.entry-content .alignleft,.entry-content .alignright{float:none;display:block;margin:15px auto}.entry-content th,.entry-content td{padding:8px 10px}.article-tags{gap:8px;margin-top:25px;padding-top:18px}.article-tags a{font-size:12px;padding:5px 11px 5px 22px}.article-tags a:before{left:7px;width:5px}.page-turns{margin-top:22px;padding:14px 0}.page-turn{gap:8px;padding-inline:10px}.turn-arrow{width:20px;height:37px;border-width:4px}.turn-arrow .icon{width:17px}.turn-copy strong{font-size:13px;line-height:22px}.turn-copy small{font-size:11px;line-height:18px;margin-bottom:4px}.related-section{margin-top:26px}.related-heading{gap:14px;margin-bottom:14px}.related-heading h2{font-size:19px;line-height:28px}.film-caption{padding-top:8px}.film-caption h3{font-size:14px;line-height:23px;margin-bottom:4px}.film-caption time{font-size:11px;line-height:18px}.page-heading h1{font-size:22px}.empty-state{padding:31px 30px 33px 36px;min-height:300px}.empty-state h2{font-size:20px}.empty-state p{font-size:14px}.empty-state .search-form input{font-size:13px}.missing-page{display:block;padding:37px 35px 38px;margin-block:20px 38px;min-height:0}.missing-number{display:inline-block;font-size:74px;margin-bottom:28px;padding-bottom:10px;border-bottom-width:5px}.missing-copy h1{font-size:23px}.missing-copy p{font-size:14px}.missing-copy .search-form input{font-size:14px}}
@media(max-width:380px){.shell{width:calc(100% - 24px)}.site-header .brand{font-size:25px}.mobile-controls{gap:5px}.panel-toggle{padding-inline:6px;gap:4px}.article-card{padding:22px 31px;min-height:181px}.card-title{font-size:17px;line-height:27px}.card-excerpt>.excerpt-phone{display:none}.card-excerpt>.excerpt-small{display:-webkit-box}.post-meta{font-size:10px;gap:5px 7px}.post-meta>time:before{margin-right:7px}.article-card .view-count{gap:4px}.article-card .view-count:before{margin-right:3px}.view-count .icon{width:14px}.pagination ul{gap:5px}.pagination .page-numbers{min-width:31px;padding-inline:8px}.reading-sheet{padding-right:18px;padding-left:18px}.article-heading h1{font-size:20px}.article-heading .post-meta{font-size:11px;gap:6px 9px}.film-caption h3{font-size:13px}.film-caption time{font-size:10px}.page-turn{gap:6px;padding-inline:8px}.turn-copy strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}


/* 1.0.2 — shared inline paper placeholder; only opacity animates while visible. */
:root{--kongye-wait-glyph:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2064%22%3E%3Cpath%20d%3D%22M7%205h52l14%2014v40H7Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%238b9bb1%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M59%205v14h14%22%20fill%3D%22none%22%20stroke%3D%22%23b3becd%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M13%2014h4v4h-4zm0%2010h4v4h-4zm0%2010h4v4h-4zm0%2010h4v4h-4z%22%20fill%3D%22%238b9bb1%22%2F%3E%3Cpath%20d%3D%22M62%2025h4v4h-4zm0%2010h4v4h-4zm0%2010h4v4h-4z%22%20fill%3D%22%23bdc7d4%22%2F%3E%3Cpath%20d%3D%22M26%2023h24%22%20stroke%3D%22%23ff661c%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M26%2032h25m-25%208h17%22%20stroke%3D%22%23a8b6c8%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E")}
img.kongye-pending{background-color:#edf2f7;background-image:var(--kongye-wait-glyph);background-repeat:no-repeat;background-position:center;background-size:74px 59px;color:transparent;opacity:.9}
img.kongye-pending.kongye-in-view:not(.image-failed){animation:kongye-paper-breathe 1.8s ease-in-out infinite}
img.kongye-pending.image-failed{animation:none;opacity:1;background-color:#eef1f5}
.entry-content img.kongye-pending{aspect-ratio:var(--kongye-image-ratio,3/2)}
.entry-content img.kongye-pending:not(.kongye-has-size){width:100%;min-height:150px}
img.kongye-ready{animation:kongye-image-reveal .18s ease-out}
@keyframes kongye-paper-breathe{0%,100%{opacity:.64}50%{opacity:1}}
@keyframes kongye-image-reveal{from{opacity:.72}to{opacity:1}}
.tag-section .hole-tags a{max-width:100%;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.tag-section .tag-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-form,.search-form:focus,.search-form:focus-within{outline:none;box-shadow:none}
.search-form input[type=search]:focus,.search-form input[type=search]:focus-visible{outline:none;box-shadow:none}
.search-form button:focus-visible{outline-offset:-4px}
@media(prefers-reduced-motion:reduce){img.kongye-pending,img.kongye-ready{animation:none!important;opacity:1}}

/* 1.0.2 — a cut-paper archive heading and independent related cards. */
.collection-heading{display:block;position:relative;padding:23px 28px 25px;margin:0 0 13px;--cut:25px}
.collection-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.collection-kind{display:inline-block;flex:none;padding:3px 12px;background:var(--accent);color:#fff;font-size:12px;font-weight:700;line-height:22px;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}
.collection-total{display:flex;align-items:baseline;gap:6px;margin:0;color:var(--muted);font-size:12px;line-height:22px;white-space:nowrap}
.collection-total strong{color:var(--ink);font-size:17px;line-height:24px;font-weight:700;font-variant-numeric:tabular-nums}
.collection-title{margin:12px 0 0;font-size:26px;line-height:1.5;letter-spacing:.01em;overflow-wrap:anywhere}
.collection-description{margin-top:12px}
.collection-heading .subcategories{margin-top:13px;padding-top:0}
.collection-heading .subcategories a{background:#f1f5f9}
.collection-heading .collection-search{margin-top:16px;padding-top:0}
.related-card{min-width:0;padding:24px 16px 17px;--cut:19px}
.related-perforations{position:absolute;top:10px;left:16px;width:48px;height:5px;background:linear-gradient(var(--accent),var(--accent)) left top/5px 5px no-repeat,repeating-linear-gradient(to right,#b3becd 0 5px,transparent 5px 11px);pointer-events:none}
.related-card .film-caption{position:relative;padding-top:12px;padding-bottom:2px}
.related-card .film-caption:after{content:"";position:absolute;right:0;bottom:8px;width:17px;height:3px;background:var(--accent)}
.related-card .film-caption time{padding-right:24px}
@media(max-width:900px){
 .collection-heading{padding:21px 24px 23px}
 .collection-title{font-size:24px}
 .article-card{--hole-size:10px;--hole-step:24px}
 .article-card>.hole-left{background:linear-gradient(var(--accent),var(--accent)) left top/100% var(--hole-size) no-repeat,repeating-linear-gradient(to bottom,#8999ae 0 var(--hole-size),transparent var(--hole-size) var(--hole-step))}
 .article-card .post-category{color:#b44512;background:#fff1e7;border-left:2px solid var(--accent);padding:0 6px}
}
@media(max-width:540px){
 .collection-heading{padding:19px 20px 21px;--cut:20px;margin-bottom:10px}
 .collection-topline{gap:12px}
 .collection-title{font-size:22px;margin-top:11px}
 .collection-kind{font-size:11px;line-height:21px;padding:2px 10px}
 .collection-total{font-size:11px;gap:5px}
 .collection-total strong{font-size:16px}
 .article-card{--hole-size:9px;--hole-step:23px}
 .film-grid{gap:15px 12px}
 .related-card{padding:21px 11px 13px;--cut:15px}
 .related-perforations{left:11px;top:9px;width:37px;height:4px;background-size:4px 4px,auto;background-image:linear-gradient(var(--accent),var(--accent)),repeating-linear-gradient(to right,#b3becd 0 4px,transparent 4px 10px)}
 .related-card .film-caption{padding-top:9px}
 .related-card .film-caption:after{width:12px;height:2px;bottom:7px}
}
@media(max-width:380px){
 .collection-heading{padding:18px 17px 20px}
 .film-grid{gap:13px 10px}
 .related-card{padding-left:9px;padding-right:9px}
 .related-perforations{left:9px}
 .article-card .post-category{padding-inline:5px}
}

/* 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}
