/* ==========================================================================
   主题：刊物 —— 杂志 / 报刊版式
   黑白 + 报头红；衬线大标题、细线/双线分栏、小号大写标签
   专属选项：x-kw_masthead-{rule|bold|red} 报头线 / x-kw_flat 扁平版式 / x-kw_dropcap 首字下沉 / x-kw_dateline 日期栏（theme.js）
   ========================================================================== */
.theme-kanwu{
  --kw-ink:var(--text);
  --kw-rule:color-mix(in srgb,var(--text) 55%,transparent);
  --kw-hair:var(--border);
  --kw-caps:.14em;
}

/* ---------------- 通用 ---------------- */
.theme-kanwu .card{border-radius:var(--radius)}
.theme-kanwu h1,.theme-kanwu h2,.theme-kanwu h3{letter-spacing:.01em}
.theme-kanwu ::selection{color:var(--text)}

/* ---------------- 报头 ---------------- */
.theme-kanwu .site-header{box-shadow:none;border-bottom:4px double var(--kw-ink)}
.x-kw_masthead-bold .site-header{border-bottom:4px solid var(--kw-ink);box-shadow:0 3px 0 0 var(--header-bg),0 4px 0 0 var(--kw-ink)}
.x-kw_masthead-red .site-header{border-bottom:5px solid var(--primary)}
.theme-kanwu.hdr-transparent.page-home:not(.scrolled) .site-header{border-bottom-color:transparent;box-shadow:none}
.theme-kanwu .brand-name{font-weight:900;font-size:1.75em;letter-spacing:.02em}
.theme-kanwu .brand-sub{font-size:.68em;letter-spacing:var(--kw-caps);text-transform:uppercase;opacity:.7}
.theme-kanwu .menu a{border-radius:0;font-size:.88em;letter-spacing:var(--kw-caps);text-transform:uppercase;font-weight:600;opacity:.9;padding:8px 12px}
.theme-kanwu .menu a:hover,.theme-kanwu .menu .current>a{background:none;color:var(--primary);box-shadow:inset 0 -2px 0 var(--primary)}
.theme-kanwu .sub-menu{border-radius:0;border:1px solid var(--kw-ink);box-shadow:4px 4px 0 color-mix(in srgb,var(--text) 12%,transparent)}
.theme-kanwu .sub-menu a{text-transform:none;letter-spacing:.04em;box-shadow:none!important}
.theme-kanwu .sub-menu a:hover{background:color-mix(in srgb,var(--text) 5%,transparent)}
.theme-kanwu .icon-btn{border-radius:0}
.theme-kanwu .drawer-panel{border-left:4px double var(--kw-ink)}
.theme-kanwu .drawer-search{border-radius:0;border:1px solid var(--kw-ink);background:none}
.theme-kanwu .drawer-theme{border-radius:0}
.theme-kanwu .read-progress{background:var(--primary)}
/* 日期栏（由 theme.js 插入） */
.kw-dateline{border-bottom:1px solid var(--kw-hair);font-size:.74em;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.kw-dateline .container{display:flex;justify-content:space-between;align-items:center;gap:16px;height:30px}
.kw-dateline b{color:var(--primary);font-weight:700}
.kw-dateline em{font-style:normal}

/* ---------------- 头图 ---------------- */
.theme-kanwu .hero-title{font-weight:900;letter-spacing:.02em}
.theme-kanwu .hero-text{padding:calc(var(--gap) * 1.6) 0 calc(var(--gap) * .6)}
.theme-kanwu .hero-text .hero-inner{border-bottom:4px double var(--kw-ink);padding:10px 20px 26px}
.theme-kanwu .hero-text .hero-title{font-size:clamp(2.4em,6.4vw,4.8em);line-height:1.1}
.theme-kanwu .hero-text .hero-sub{color:var(--muted);text-transform:uppercase;letter-spacing:.3em;font-size:.95em;margin-top:16px}
.theme-kanwu .hero-text .hero-sub::before,.theme-kanwu .hero-text .hero-sub::after{content:"";display:inline-block;width:36px;height:1px;background:var(--kw-ink);vertical-align:.35em;margin:0 14px}
.theme-kanwu .hero-text.hero-left .hero-sub::before{display:none}
.theme-kanwu .hero-text .hero-title::before{content:"";display:block;width:56px;height:6px;background:var(--primary);margin:0 auto 22px}
.theme-kanwu .hero-text.hero-left .hero-title::before{margin-left:0}
.theme-kanwu .hero-image .hero-title,.theme-kanwu .hero-gradient .hero-title{font-size:clamp(2.2em,5.6vw,4.2em)}
.theme-kanwu .hero-image .hero-sub,.theme-kanwu .hero-gradient .hero-sub{letter-spacing:.25em;text-transform:uppercase}
.theme-kanwu .btn-hero{border-radius:0;text-transform:uppercase;letter-spacing:var(--kw-caps);font-weight:700}
.theme-kanwu .btn-hero:hover{transform:none;box-shadow:4px 4px 0 var(--kw-ink)}
.theme-kanwu .hcard{border-radius:0;border-top:6px solid var(--primary)}
.theme-kanwu .hs-img img{border-radius:0}
.theme-kanwu .hc-cap b{font-weight:900}
.theme-kanwu .hc-dots i{border-radius:0;height:4px}

/* ---------------- 区块标题：栏目头 ---------------- */
.theme-kanwu .section-title{border-top:3px solid var(--kw-ink);padding-top:10px;font-size:1em;letter-spacing:.2em;text-transform:uppercase}
.theme-kanwu .section-title span{padding-left:0}
.theme-kanwu .section-title span::before{position:static;display:inline-block;width:.6em;height:.6em;margin-right:.55em;border-radius:0;background:var(--primary);vertical-align:.02em}
.theme-kanwu .section-title .more{letter-spacing:.1em}

/* ---------------- 文章列表 ---------------- */
.theme-kanwu .pi-cover,.theme-kanwu .pi-cover img{border-radius:0}
.theme-kanwu .pi-meta{font-size:.76em;letter-spacing:.08em;text-transform:uppercase}
.theme-kanwu .pi-cat{background:none;padding:0;border-radius:0;color:var(--primary);font-weight:800;letter-spacing:var(--kw-caps);font-size:1em}
.theme-kanwu .pi-cat+.pi-cat::before{content:"/";color:var(--muted);margin-right:8px;font-weight:400}
.theme-kanwu .pi-sticky{border-radius:0;background:var(--kw-ink);color:var(--bg);letter-spacing:var(--kw-caps)}
.theme-kanwu .pi-title{font-weight:800;line-height:1.3}
.theme-kanwu .pi-title a{color:var(--text)}
.theme-kanwu .pi-title a:hover{color:var(--text);text-decoration:underline;text-decoration-color:var(--primary);text-decoration-thickness:2px;text-underline-offset:5px}
.theme-kanwu .pi-excerpt{color:color-mix(in srgb,var(--text) 72%,var(--bg))}
.theme-kanwu .pi-foot{text-transform:uppercase;letter-spacing:.06em;font-size:.74em}
.theme-kanwu .pi-more{color:var(--primary);letter-spacing:var(--kw-caps);font-weight:700}
.theme-kanwu.list-magazine .post-item:first-child .pi-title{font-size:2.2em;line-height:1.2}
.theme-kanwu.list-magazine .post-item:first-child .pi-excerpt{font-size:1.02em}
.theme-kanwu.list-magazine .post-item:first-child .pi-cat{font-size:1.1em}
.theme-kanwu.list-card .pi-title,.theme-kanwu.list-text .pi-title{font-size:1.65em}
.theme-kanwu.list-timeline .pi-date b{color:var(--text);font-weight:900}
.theme-kanwu.list-timeline .post-list::before{background:var(--kw-ink);width:1px}
.theme-kanwu.list-timeline .post-item::before{border-radius:0;border-color:var(--primary);background:var(--bg)}
.theme-kanwu.list-minimal .post-list{border-radius:0;border-top:3px solid var(--kw-ink);box-shadow:none}
.theme-kanwu.list-minimal .post-item{border-bottom-style:solid}

/* 扁平版式：去掉卡片底色，以细线分隔每篇稿件 */
.x-kw_flat:not(.list-minimal) .post-item{background:none;box-shadow:none;border-radius:0;border:0;border-top:1px solid var(--kw-rule);padding-top:18px;-webkit-backdrop-filter:none;backdrop-filter:none}
.x-kw_flat .post-item:hover{transform:none!important;box-shadow:none!important}
.x-kw_flat:not(.list-minimal) .pi-body{padding:0}
.x-kw_flat.list-list .post-item.has-cover .pi-body{padding-left:26px}
.x-kw_flat.list-list.cover-right .post-item.has-cover .pi-body,.x-kw_flat.list-list.cover-alternate .post-item.is-even.has-cover .pi-body{padding-left:0;padding-right:26px}
.x-kw_flat.list-card .pi-body,.x-kw_flat.list-grid2 .has-cover .pi-body,.x-kw_flat.list-grid3 .has-cover .pi-body,.x-kw_flat.list-masonry .has-cover .pi-body,.x-kw_flat.list-magazine .has-cover .pi-body{padding-top:14px}
.x-kw_flat.list-magazine .post-item:first-child{border-top:4px solid var(--kw-ink);padding-top:22px;min-height:0}
.x-kw_flat.list-magazine .post-item:first-child .pi-body{padding:0}
.x-kw_flat.list-magazine .post-item:first-child.has-cover .pi-body{padding:0 0 0 34px}
.x-kw_flat.list-magazine .post-item:first-child .pi-cover{min-height:300px}
.x-kw_flat.list-text .pi-body{padding:2px 0 6px}
.x-kw_flat.list-timeline .post-item{border-top:0;padding-top:0}
.x-kw_flat.list-timeline .pi-body{padding:12px 0}
.x-kw_flat .post-list>.post-item:first-child{border-top-color:var(--kw-ink)}
/* 栏目头 / 页面头下方的第一篇不再重复画线 */
.x-kw_flat .section-title+.post-list>.post-item:first-child,.x-kw_flat .page-head+.post-list>.post-item:first-child{border-top:0;padding-top:6px}
.x-kw_flat.list-grid2 .section-title+.post-list>.post-item:nth-child(2),.x-kw_flat.list-grid3 .section-title+.post-list>.post-item:nth-child(-n+3),.x-kw_flat.list-grid2 .page-head+.post-list>.post-item:nth-child(2),.x-kw_flat.list-grid3 .page-head+.post-list>.post-item:nth-child(-n+3){border-top:0;padding-top:6px}
.x-kw_flat.list-grid2 .post-list,.x-kw_flat.list-grid3 .post-list,.x-kw_flat.list-magazine .post-list{row-gap:calc(var(--gap) * 1.1)}
.x-kw_flat .empty-state{background:none;box-shadow:none;border-top:3px solid var(--kw-ink);border-radius:0}

/* 首页模块 */
.theme-kanwu .sticky-card{border-radius:0}
.theme-kanwu .sticky-card b{font-family:var(--font-heading);font-size:1.25em;font-weight:800}
.theme-kanwu .badge-top{border-radius:0;background:var(--primary);letter-spacing:var(--kw-caps)}
.theme-kanwu .cat-chip{border-radius:0;background:none;box-shadow:none;border:1px solid var(--kw-ink);font-size:.82em;letter-spacing:var(--kw-caps);text-transform:uppercase;font-weight:700;padding:6px 14px}
.theme-kanwu .cat-chip em{background:none;border-radius:0;padding:0;color:var(--primary);font-weight:700}
.theme-kanwu .cat-chip:hover{background:var(--kw-ink);color:var(--bg)}
.theme-kanwu .cat-chip:hover em{background:none;color:var(--bg)}
.theme-kanwu .mm-item{border-radius:0}
.theme-kanwu .mm-item img{border-radius:0}
.x-kw_flat .mm-item,.x-kw_flat .tl-mini{background:none;box-shadow:none;border-top:1px solid var(--kw-rule);border-radius:0}
.x-kw_flat .mm-item{padding:14px 0}
.x-kw_flat .tl-mini{padding:6px 0}
.theme-kanwu .mm-text{font-family:var(--font-heading)}
.theme-kanwu .tl-mini time{color:var(--primary);font-weight:700}

/* ---------------- 侧边栏 ---------------- */
.theme-kanwu .widget-title{text-transform:uppercase;letter-spacing:.2em;font-size:.86em;border-bottom:1px solid var(--kw-hair)}
.theme-kanwu .widget-title .ico{color:var(--primary)}
.x-kw_flat .widget:not(.w-author){background:none;box-shadow:none;border-radius:0;border-top:3px solid var(--kw-ink);padding:12px 0 4px}
.x-kw_flat .w-author{box-shadow:none;border-radius:0;border:1px solid var(--kw-ink);background:var(--surface)}
.x-kw_flat .layout.has-sidebar .sidebar{border-left:1px solid var(--kw-hair);padding-left:calc(var(--gap) * .8)}
.x-kw_flat.sb-left .layout.has-sidebar .sidebar{border-left:0;border-right:1px solid var(--kw-hair);padding-left:0;padding-right:calc(var(--gap) * .8)}
.theme-kanwu .wa-bg{filter:grayscale(1) contrast(1.1)}
.theme-kanwu .w-author .avatar{filter:grayscale(.2)}
.theme-kanwu .w-author h3{font-weight:900;font-size:1.3em}
.theme-kanwu .wa-stats b{font-family:var(--font-heading);font-weight:900}
.theme-kanwu .wa-stats span{text-transform:uppercase;letter-spacing:.1em}
.theme-kanwu .w-search,.theme-kanwu .w-search button{border-radius:0}
.theme-kanwu .w-search{background:none;border:1px solid var(--kw-ink);padding:3px 3px 3px 12px}
.theme-kanwu .w-search button{background:var(--kw-ink);color:var(--bg)}
.theme-kanwu .w-cats a,.theme-kanwu .w-archive a{border-radius:0;padding:6px 0;border-bottom:1px dotted var(--kw-hair)}
.theme-kanwu .w-cats a:hover,.theme-kanwu .w-archive a:hover{background:none}
.theme-kanwu .w-cats em,.theme-kanwu .w-archive em{background:none;padding:0;color:var(--muted);font-variant-numeric:tabular-nums}
.theme-kanwu .w-posts img{border-radius:0;filter:grayscale(.3)}
.theme-kanwu .w-posts b{font-family:var(--font-heading);font-weight:700}
.theme-kanwu .tag-cloud a{border-radius:0;background:none;border:1px solid var(--kw-hair);text-transform:uppercase;letter-spacing:.06em;font-size:.78em}
.theme-kanwu .tag-cloud a:hover{background:var(--primary);border-color:var(--primary)}
.theme-kanwu .w-links a{border-radius:0;background:none;padding:2px 0;margin-right:8px;border-bottom:1px solid var(--kw-hair)}
.theme-kanwu .social a{border-radius:0;background:none;border:1px solid var(--kw-hair)}
.theme-kanwu .social a:hover{background:var(--kw-ink);color:var(--bg);border-color:var(--kw-ink)}
.theme-kanwu .toc-list a{border-radius:0}
.theme-kanwu .toc-list a.on{color:var(--primary);border-left-color:var(--primary);background:none;font-weight:700}

/* ---------------- 页面头 ---------------- */
.theme-kanwu .page-head{border-radius:0}
.x-kw_flat .page-head:not(.has-bg){background:none;box-shadow:none;padding:6px 0 18px;border-bottom:4px double var(--kw-ink)}
.theme-kanwu .page-title{font-weight:900;font-size:2.1em}
.theme-kanwu .page-count{text-transform:uppercase;letter-spacing:.12em}
.theme-kanwu .crumbs{text-transform:uppercase;letter-spacing:.08em;font-size:.76em}
.theme-kanwu .seg a{border-radius:0;background:none;border:1px solid var(--kw-hair);text-transform:uppercase;letter-spacing:.08em;font-size:.84em}
.theme-kanwu .seg a.on{background:var(--kw-ink);border-color:var(--kw-ink);color:var(--bg)}
.theme-kanwu .seg a.on em{color:color-mix(in srgb,var(--bg) 70%,transparent)}

/* ---------------- 正文 ---------------- */
.theme-kanwu .entry-wrap{border-top:4px solid var(--kw-ink)}
.theme-kanwu .entry-cover{border-radius:0}
.theme-kanwu .entry-header{border-bottom:4px double var(--kw-ink);padding-bottom:20px}
.theme-kanwu .entry-title{font-weight:900;font-size:clamp(1.8em,3.6vw,2.6em);line-height:1.25}
.theme-kanwu .entry-meta{text-transform:uppercase;letter-spacing:.08em;font-size:.78em}
.theme-kanwu .entry-meta a[href^="/category"]{color:var(--primary);font-weight:700}
.theme-kanwu .post-banner .entry-title{font-size:clamp(2em,4.4vw,3.2em)}
.x-kw_dropcap .entry>p:first-of-type{text-indent:0;display:flow-root}
.x-kw_dropcap .entry>p:first-of-type::first-letter{float:left;font-family:var(--font-heading);font-weight:900;font-size:3.5em;line-height:.92;margin:.06em .14em 0 0;color:var(--primary)}
.theme-kanwu .entry h2{border-bottom:0;border-top:2px solid var(--kw-ink);padding:.5em 0 0;font-weight:900}
.theme-kanwu .entry h3{font-weight:800}
.theme-kanwu .entry h3::before{content:"";display:inline-block;width:.5em;height:.5em;background:var(--primary);margin-right:.5em;vertical-align:.08em}
.theme-kanwu .entry h4{text-transform:uppercase;letter-spacing:.1em;font-size:1em;color:var(--muted)}
.theme-kanwu .entry a{color:var(--text);border-bottom:2px solid color-mix(in srgb,var(--primary) 70%,transparent)}
.theme-kanwu .entry a:hover{color:var(--primary)}
.theme-kanwu .entry li::marker{color:var(--primary);font-weight:700}
.theme-kanwu .entry blockquote{position:relative;border:0;border-top:2px solid var(--kw-ink);border-bottom:1px solid var(--kw-ink);background:none;border-radius:0;padding:18px 12px 16px 3.2em;font-family:var(--font-heading);font-size:1.1em;font-weight:600;color:var(--text)}
.theme-kanwu .entry blockquote::before{content:"\201C";position:absolute;left:6px;top:4px;font-size:3.8em;line-height:1;color:var(--primary);font-family:Georgia,serif}
.theme-kanwu .entry hr{height:4px;width:100%;background:none;border-top:1px solid var(--kw-ink);border-bottom:1px solid var(--kw-ink)}
.theme-kanwu .entry code{border-radius:0;background:color-mix(in srgb,var(--text) 6%,transparent)}
.theme-kanwu .entry pre{border-radius:var(--radius);border-left:4px solid var(--primary)}
.theme-kanwu .entry table{border-top:2px solid var(--kw-ink);border-bottom:2px solid var(--kw-ink)}
.theme-kanwu .entry th,.theme-kanwu .entry td{border:0;border-bottom:1px solid var(--kw-hair)}
.theme-kanwu .entry th{background:none;border-bottom:1px solid var(--kw-ink);text-transform:uppercase;letter-spacing:.08em;font-size:.86em}
.theme-kanwu .entry tr:nth-child(even) td{background:color-mix(in srgb,var(--text) 3%,transparent)}
.theme-kanwu .entry img,.theme-kanwu .entry video,.theme-kanwu .entry iframe{border-radius:0}
.theme-kanwu .entry figcaption{font-style:italic;text-align:left;border-left:3px solid var(--primary);padding-left:10px}
.theme-kanwu .entry-tags a{border-radius:0;background:none;border:1px solid var(--kw-hair);text-transform:uppercase;letter-spacing:.08em;font-size:.78em}
.theme-kanwu .entry-tags a:hover{background:var(--kw-ink);color:var(--bg);border-color:var(--kw-ink)}
.theme-kanwu .entry-copyright{border-radius:0;background:none;border:0;border-top:1px solid var(--kw-hair);border-bottom:1px solid var(--kw-hair);border-left:3px solid var(--primary)}
.theme-kanwu .entry-share button{border-radius:0;text-transform:uppercase;letter-spacing:.08em;font-size:.86em}
.theme-kanwu .entry-share button:hover{border-color:var(--kw-ink);color:var(--text);box-shadow:3px 3px 0 var(--kw-ink)}
.theme-kanwu .font-switch button{border-radius:0}
.theme-kanwu .toc-top{border-radius:0;background:none;border-top:2px solid var(--kw-ink);border-bottom:1px solid var(--kw-hair)}
.theme-kanwu .toc-top summary{text-transform:uppercase;letter-spacing:.15em}
.theme-kanwu .notice{border-radius:0;border-left:3px solid var(--accent)}
.theme-kanwu .pn{border-radius:0}
.theme-kanwu .pn small{text-transform:uppercase;letter-spacing:.15em;color:var(--primary);font-weight:700}
.theme-kanwu .pn b{font-family:var(--font-heading);font-weight:800}
.x-kw_flat .post-nav .pn{background:none;box-shadow:none;border-top:3px solid var(--kw-ink);padding:14px 0}
.x-kw_flat .related{background:none;box-shadow:none;border-top:3px solid var(--kw-ink);padding:0;border-radius:0}
.x-kw_flat .related .section-title{border-top:0;padding-top:12px}
.theme-kanwu .rel-item img,.theme-kanwu .rel-ph{border-radius:0}
.theme-kanwu .rel-ph{font-size:2.6em;font-weight:900;color:var(--bg);background:var(--kw-ink)}
.theme-kanwu .rel-item b{font-family:var(--font-heading);font-weight:800}
.theme-kanwu .toc-float,.theme-kanwu .toc-fab,.theme-kanwu .back-top{border-radius:0;border:1px solid var(--kw-ink);box-shadow:3px 3px 0 var(--kw-ink)}
.theme-kanwu .back-top{color:var(--text)}
.theme-kanwu .back-top:hover{background:var(--primary);border-color:var(--primary);color:#fff}

/* ---------------- 分页 ---------------- */
.theme-kanwu .pager{gap:0;border-top:1px solid var(--kw-ink);border-bottom:1px solid var(--kw-ink);padding:8px 0}
.theme-kanwu .pg{border-radius:0;box-shadow:none;background:none;font-family:var(--font-heading);font-weight:700}
.theme-kanwu .pg:hover{color:var(--primary)}
.theme-kanwu .pg.cur{background:var(--kw-ink);color:var(--bg)}
.theme-kanwu .pg.next,.theme-kanwu .pg.prev{text-transform:uppercase;letter-spacing:.1em;font-size:.82em}
.theme-kanwu .btn-more{border-radius:0;border-color:var(--kw-ink);text-transform:uppercase;letter-spacing:.2em;font-size:.86em;font-weight:700}
.theme-kanwu .btn-more:hover{background:var(--kw-ink);color:var(--bg);border-color:var(--kw-ink)}

/* ---------------- 归档 ---------------- */
.x-kw_flat .archive-time,.x-kw_flat .archive-cats{background:none;box-shadow:none;padding:6px 0;border-radius:0}
.theme-kanwu .ar-year{border-top:3px solid var(--kw-ink);padding-top:10px}
.theme-kanwu .ar-y{color:var(--text);font-size:2.2em;font-weight:900}
.theme-kanwu .ar-y em{color:var(--primary);text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.theme-kanwu .ar-month{border-left:1px solid var(--kw-ink)}
.theme-kanwu .ar-month h3::before{border-radius:0;border:0;background:var(--primary);width:9px;height:9px;left:-25px}
.theme-kanwu .ar-month h3{font-family:var(--font-heading);font-weight:800}
.theme-kanwu .cat-tree a em{border-radius:0;background:none;color:var(--primary)}
.theme-kanwu .cat-tree.sub{border-left-style:solid}

/* ---------------- 说说 ---------------- */
.theme-kanwu .moment{border-radius:0}
.x-kw_flat .moment{background:none;box-shadow:none;border-top:1px solid var(--kw-rule);padding:18px 0}
.x-kw_flat .moment-list>.moment:first-child{border-top:3px solid var(--kw-ink)}
.theme-kanwu .moment>.avatar,.theme-kanwu .moments-head .avatar{border-radius:0;filter:grayscale(.3)}
.theme-kanwu .mo-head b{color:var(--text);font-family:var(--font-heading);font-weight:900;letter-spacing:.04em}
.theme-kanwu .mo-tag{border-radius:0;background:none;border:1px solid var(--kw-hair);text-transform:uppercase}
.theme-kanwu .mo-text{font-size:1.04em}
.theme-kanwu .mo-pics a,.theme-kanwu .mo-link{border-radius:0}
.theme-kanwu .mo-link{background:none;border:1px solid var(--kw-hair)}
.theme-kanwu .mo-foot{text-transform:uppercase;letter-spacing:.06em}

/* ---------------- 相册 ---------------- */
.theme-kanwu .ac-cover,.theme-kanwu .album-card::before,.theme-kanwu .album-card::after{border-radius:0}
.theme-kanwu .ac-cover{box-shadow:none;outline:1px solid var(--kw-ink);outline-offset:4px}
.theme-kanwu .album-card::before,.theme-kanwu .album-card::after{display:none}
.theme-kanwu .ac-info{padding-top:14px;border-bottom:1px solid var(--kw-hair);padding-bottom:6px}
.theme-kanwu .ac-info b{font-family:var(--font-heading);font-weight:800;font-size:1.08em}
.theme-kanwu .ac-info small{text-transform:uppercase;letter-spacing:.08em}
.theme-kanwu .ac-lock{border-radius:0}
.theme-kanwu .photo-it{border-radius:0}
.theme-kanwu .pt-cap{font-family:var(--font-heading)}

/* ---------------- 收藏/友链/书影/时光轴/404 ---------------- */
.theme-kanwu .bm-card,.theme-kanwu .link-card{border-radius:0}
.theme-kanwu .bm-card img,.theme-kanwu .bm-ph{border-radius:0}
.theme-kanwu .bm-ph{background:var(--kw-ink);color:var(--bg)}
.theme-kanwu .bm-card:hover,.theme-kanwu .link-card:hover{transform:none;box-shadow:4px 4px 0 var(--kw-ink)}
.theme-kanwu .sc-cover{border-radius:0}
.theme-kanwu .sc-st{border-radius:0}
.theme-kanwu .timeline::before{background:var(--kw-ink);opacity:1;width:1px}
.theme-kanwu .tl-year span{border-radius:0;background:var(--kw-ink);color:var(--bg)}
.theme-kanwu .tl-dot{border-radius:0;--c:var(--primary)}
.theme-kanwu .tl-card time{text-transform:uppercase;letter-spacing:.1em}
.theme-kanwu .nf-code{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--text);font-weight:900;border-bottom:6px solid var(--primary);display:inline-block}
.theme-kanwu .app-icon{border-radius:4px}

/* ---------------- 页脚：版权页 ---------------- */
.theme-kanwu .site-footer{border-top:4px double var(--kw-ink)}
.theme-kanwu.ft-dark .site-footer{border-top:0}
.theme-kanwu .footer-cols{border-bottom-color:var(--kw-ink)}
.theme-kanwu .fc h4{text-transform:uppercase;letter-spacing:.2em;font-size:.86em;padding-bottom:8px;border-bottom:1px solid var(--kw-hair)}
.theme-kanwu.ft-dark .fc h4{color:inherit}
.theme-kanwu .fc-brand b{font-family:var(--font-heading);font-weight:900;font-size:1.4em}
.theme-kanwu .fc-brand .avatar{border-radius:0;filter:grayscale(.3)}
.theme-kanwu .footer-bottom{text-transform:uppercase;letter-spacing:.06em;font-size:.92em}
.theme-kanwu .tabbar{border-top:2px solid var(--kw-ink)}
.theme-kanwu .tabbar a.on{color:var(--primary)}

/* 表单 */
.theme-kanwu .search-box,.theme-kanwu .pwd-row input,.theme-kanwu .pwd-row button,.theme-kanwu .search-inline input,.theme-kanwu .search-inline button{border-radius:0}
.theme-kanwu .search-box{border:2px solid var(--kw-ink);box-shadow:6px 6px 0 var(--kw-ink)}
.theme-kanwu .pwd-row button,.theme-kanwu .search-inline button{background:var(--kw-ink);color:var(--bg)}

/* ---------------- 深色 ---------------- */
html[data-theme=dark] .theme-kanwu{--kw-rule:color-mix(in srgb,var(--text) 40%,transparent)}
html[data-theme=dark] .theme-kanwu .pi-cover img,html[data-theme=dark] .theme-kanwu .entry-cover img{filter:brightness(.88)}
html[data-theme=dark] .theme-kanwu .post-item:hover .pi-cover img{filter:none}
html[data-theme=dark] .theme-kanwu .entry pre{border:1px solid var(--border);border-left:4px solid var(--primary)}

/* ---------------- 手机端 ---------------- */
@media (max-width:860px){
  .kw-dateline{display:none}
  .theme-kanwu .brand-name{font-size:1.3em}
  .theme-kanwu .hero-text{padding:24px 0 8px;min-height:0}
  .theme-kanwu .hero-text .hero-inner{padding:6px 0 18px}
  .theme-kanwu .hero-text .hero-title::before{width:40px;height:5px;margin-bottom:14px}
  .theme-kanwu .hero-text .hero-sub{letter-spacing:.15em;font-size:.85em}
  .theme-kanwu .hero-text .hero-sub::before,.theme-kanwu .hero-text .hero-sub::after{width:18px;margin:0 8px}
  .theme-kanwu.list-magazine .post-item:first-child .pi-title{font-size:1.45em}
  .theme-kanwu.list-card .pi-title,.theme-kanwu.list-text .pi-title{font-size:1.2em}
  .x-kw_flat:not(.list-minimal) .post-item{padding-top:14px}
  .x-kw_flat.list-list .post-item.has-cover .pi-body{padding:0 0 0 14px}
  .x-kw_flat.list-list.cover-right .post-item.has-cover .pi-body,.x-kw_flat.list-list.cover-alternate .post-item.is-even.has-cover .pi-body{padding:0 14px 0 0}
  .x-kw_flat.list-magazine .post-item:first-child.has-cover .pi-body{padding:14px 0 0}
  .x-kw_flat.list-grid2 .section-title+.post-list>.post-item:nth-child(2){border-top:0}
  .x-kw_flat.list-magazine .post-item:first-child .pi-cover{min-height:0}
  .x-kw_flat.list-grid2 .has-cover .pi-body{padding-top:10px}
  .x-kw_flat.list-grid2 .post-list{row-gap:18px}
  .theme-kanwu .page-title{font-size:1.5em}
  .theme-kanwu .entry-title{font-size:1.6em}
  .x-kw_dropcap .entry>p:first-of-type::first-letter{font-size:3em}
  .theme-kanwu .entry blockquote{padding:14px 8px 12px 2.6em;font-size:1.02em}
  .theme-kanwu .entry blockquote::before{font-size:3em}
  .theme-kanwu .pager{border:0;gap:4px}
  .theme-kanwu .ac-cover{outline-offset:3px}
}
