/**
 * Book Skin for Riven Theme
 * 第一部分：Book 原版 CSS（仅改图片路径）
 * 第二部分：Riven 最小适配
 */
a,abbr,acronym,address,applet,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,iframe,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var {

	border: 0;

	font-family: inherit;

	font-size: 100%;

	font-style: inherit;

	font-weight: inherit;

	margin: 0;

	outline: 0;

	padding: 0;

	vertical-align: baseline;

}



::selection {

	background: #099;

	color: #fff

}



::-moz-selection {

	background: #099;

	color: #fff

}



::-webkit-selection {

	background: #099;

	color: #fff

}



body {

	font-family: "微软雅黑",Helvetica,Arial,sans-serif

}



img {

	margin: 0;

	padding: 0;

	border: 0

}



a {

	color: #099;

	text-decoration: none

}



a:active,a:hover {

	color: #333

}



a:focus {

	outline: 0

}



code,pre {

	font-family: Menlo,Monaco,Consolas,"Lucida Console","Courier New",monospace;

	font-size: .98em;

	padding: 3px;

	color: #444;

	overflow: auto;

	

}

pre {

	padding: 10px;

	overflow: auto;

	max-height: 300px;

	border:1px dashed #2d2d2d;

	/* background: rgba(245,242,240,0.3); */

}

blockquote {

	margin: 1em 1.5em;

	padding-left: 1.5em;

	border-left: 4px solid #099;

	background: rgba(159,156,144,.15);

	margin-right: 0;

	padding-right: 1em;

	color: #222;

	padding-top: 1em;

	padding-bottom: 1em;

}

h1,h2,h3,h4,h5,h6 {

	font-family: "微软雅黑",Helvetica,Arial,sans-serif

}



input[type=text],input[type=email],input[type=url],input[type=password],textarea {

	padding: 5px;

	border: 1px solid #E9E9E9;

	width: 100%;

	border-radius: 2px;

	-webkit-box-sizing: border-box;

	-moz-box-sizing: border-box;

	box-sizing: border-box;

	font-family: '微软雅黑';

}



textarea {

	resize: vertical

}






#rightSchedule{

	position: absolute;

	bottom:20px;

	right: 50px;

	/* font-family:"Candara"; */

	font-size: 16px;

	z-index: 2;

}

#editpost{

	position: absolute;

	bottom:20px;

	left: 50px;

	/* font-family:"Candara"; */

	z-index: 2;

	font-size: 14px;

	

}

#editpost>a{

	color:#999!important;

}




.nav-box {

	position: absolute;

	left: 590px;

	bottom: 110px;

	z-index: 1;

	transition: all 1.5s;

	opacity: 0;

	/* 裁剪内部 .nav-z / .page-s 防止溢出可见 */
	overflow: hidden;

}



#nav-menu {

	transition: all 1.5s;

	margin-left: -50px

}



#nav-menu>a>span {

	position: absolute;

	background: #352315;

	width: 6px;

	height: 6px;

	top: 18px;

	right: 6px;

	border-radius: 3px

}



#nav-menu a {

	position: relative;

	display: block;

	width: 104px;

	height: 40px;

	line-height: 40px;

	text-align: right;

	padding-right: 16px;

	font-size: 16px;

	letter-spacing: 1px;

	background: #077 ;

	color: #d8cdb8;

	margin: 16px 0 0 0;

	box-shadow: 5px 5px 10px rgba(0,0,0,.2);

	border-left: 1px solid #666;

	border-top-right-radius: 5px;

	border-bottom-right-radius: 5px;

	z-index: 3;

	transition: all .5s;

	/* 默认只露出约 2 个字（右侧），其余藏在书页后 */
	margin-left: -60px

}

#nav-menu a:hover {

	/* v1.2.54：弹出后文字居中（2/3/4 字都居中，不再靠右挤） */
	text-align: center;

	padding-right: 0;

	margin-left: 0;

	color: #fff;

	background: #0a8c8c

}



.nav-z {

	position: absolute;

	width: 40px;

	top: -470px;

	height: 860px;

	left: -40px;

	background: #f1eee3 url(../static/book-img/book-bg2.png) repeat-y -550px 0;

	z-index: 4

}



.page-s {

	background-color: rgba(0,0,0,.25);

	width: 10px;

	height: 10px;

	transform: skew(0deg,40deg);

	position: absolute;

	z-index: 2;

	margin-top: -5px

}



#closed {

	position: fixed;

	z-index: 1;

	width: 100%;

	height: 100%;

	top: 0;

	bottom: 0

}

/* 透明点击层：覆盖整本书（封面+内容），单击即开书。
   - 合书时铺在最上层接收点击（不受 .mains 的 pointer-events:none 影响，这里显式开启）
   - 开书后 JS 给它加 .hide，露出左侧目录/右侧内容可正常点击
   - 移动端由 mobile.css 强制 display:none（书已自动翻开，无需此层） */
#book-open-hit {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	cursor: pointer;
	pointer-events: auto;
}
#book-open-hit.hide {
	display: none !important;
}



.closed_txt {

	position: fixed;

	right: 0;

	bottom: 30px;

	border-top-left-radius: 8px;

	border-bottom-left-radius: 8px;

	height: 60px;

	width: 200px;

	text-align: center;

	color: #666;

	pointer-events: none;

	transition: all 1s;

	pointer-events: none;

}



.closed_txt>P {

	padding: 3px 0

}



#body-bg {

	position: fixed;

	top: 0;

	left: 0;

	width: 100%;

	height: 100%;

	background: #26190f url(../static/book-img/woodbg.jpg);

	overflow: hidden;

	z-index: 0   /* 木桌背景位于书本(#body z-index:2)之下 */

}

/* 桌面端始终保留垂直滚动条槽位，避免开/合书时滚动条出现/消失导致
   视口宽度变化、木桌背景与书本整体向左“晃”一下的视觉问题 */
html { overflow-y: scroll; }

/* 黑胶播放器层：位于书本之上，确保唱片机/唱片始终可见、可拖拽。
   容器自身 pointer-events:none，不挡书本点击；内部元素各自开启 pointer-events。 */
#vinyl-layer {

	position: fixed;

	top: 0;

	left: 0;

	width: 100%;

	height: 100%;

	z-index: 30;

	pointer-events: none

}



:root {
	--diary-scale: 1;
}
#body {
	position: absolute;
	display: block;
	width: 1200px;
	height: 860px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(var(--diary-scale, 1));
	z-index: 40
}




#secondary {

	position: relative;

	width: 500px;

	height: 750px;

	margin-left: 60px;

	margin-top: 60px;

	z-index: 9

}

/* 左栏内小工具（如「随言碎语」）与目录树的下拉框层级/间距处理，
   避免嵌入页面的下拉框与归档树下拉框相互重叠 */
#secondary .widget {

	position: relative;

	z-index: 1

}

#secondary iframe {

	position: relative;

	z-index: 1;

	display: block;

	max-width: 100%;

	border: 0

}

/* 目录树及其展开内容浮于小工具之上，保证展开时不被嵌入下拉框遮挡 */
#secondary #catalog-tree {

	position: relative;

	z-index: 2

}

#secondary #catalog-tree .tree-year,
#secondary #catalog-tree .tree-month {

	position: relative;

	z-index: 2

}



#secondary .post {
	padding-left: 12px;
	padding-right: 8px;
	color: #000;
	/* 限制左侧嵌入内容（说说/碎碎念等）宽度，避免撑开影响滚动条 */
	max-width: 100%;
	overflow-x: hidden;
	word-wrap: break-word;
}
/* 左侧栏内的 iframe / embed（说说嵌入等）强制不超出 */
#secondary .post iframe,
#secondary .widget iframe {
	max-width: 100% !important;
	width: 100% !important;
	/* 限制左栏嵌入高度：避免「随言碎语」等 iframe 留白过高、与目录之间出现大段空白；
	   内容过高时在框内滚动，而非撑出大块空隙。
	   v1.2.63：原 280px 只能显示 2 条 memo，第 3 条被裁掉，提升到 380px 可容下 3 条。
	   同时为 .diary-memos / .memos-frame 单独放宽到 460px，避免「卡片样式 + 高度限制」
	   双重作用下 memo 被遮挡的问题。 */
	max-height: 380px;
	overflow: hidden auto;
}
/* 随言碎语（memos）小工具：单独允许更高，3 条 memo 完整可见 */
#secondary .widget .diary-memos,
#secondary .widget .diary-memos .memos-frame,
#secondary .widget iframe.memos-frame {
	max-height: 460px !important;
}
#secondary .widget .diary-memos {
	overflow: hidden auto;
}









#secondary .post a {

	color: #000

}



.widget {

	padding: 10px 0

}

/* 小工具标题：覆盖浏览器默认 h4 外边距（上下约 21px），避免与目录之间出现大段空白 */
.widget-title {

	margin: 0 0 8px;

	padding: 0 16px;

	font-size: 14px;

	font-weight: 600;

	color: #8b6b4a;

	letter-spacing: 1px

}



.widget-list li {

	font-size: .8em;

	padding: 2px 0 2px 0

}

.browsehappy{

	position: fixed;

	width: 100%;

	height: 100%;

	text-align: center;

	font-size: 40px;

	z-index: 1999;

	background:#444;

	color:#fff;

	padding-top: 100px;

}

#footer {

	text-align: center;

	font-size: .9em;

	color: #666;

	position: fixed;

	right: 30px;

	bottom: 5px;

z-index: 4

	

}



#footer a {

	color: #999;

}



#fullScreen {

	color: #888;

	cursor: pointer;

	position: absolute;

	background: rgba(0,0,0,.3);

	top: 20px;

	right: 20px;

	padding: 10px;

	z-index: 1;

	display: none /* 桌面端隐藏右上角全屏按钮（用户不需要） */

}

/* 全屏时保证全屏元素铺满视口，且书本（#body 用 position:absolute + translate 居中）始终居中 */
:-webkit-full-screen,
:-moz-full-screen,
:fullscreen {

	width: 100%;

	height: 100%

}

html:-webkit-full-screen,
html:-moz-full-screen,
html:fullscreen {

	width: 100%;

	height: 100%

}



.mains {

	position: relative;

	display: flex;

	perspective: 8000px;

	margin-left: -300px;

	z-index: 2;

	pointer-events: none;

	/* 翻书改用 transform 平移（合成层），避免 margin-left 每帧重排在微信/X5 里忽左忽右卡顿 */
	transition: transform 1s ease;

	will-change: transform

}

/* 打开状态：在 margin-left:-300px 基础上右移 300px，视觉归位到原 margin-left:0 的开书位 */
.mains.book-is-open {

	transform: translateX(300px)

}

#axjx_box {

	height: 860px;

	width: 600px;

	position: relative;

	display: inline-block;

}

#book-right {

	position: relative;

	box-shadow: 0 0 20px rgba(0,0,0,.4);

	height: 860px;

	width: 600px;

	background: #f1eee3 url(../static/book-img/book-bg2.png) repeat-y left;

	z-index: 4;

	pointer-events: auto

}



#book-left {

	transform: rotateY(180deg);

	transform-origin: right 0;

	box-shadow: 0 0 20px rgba(0,0,0,.4);

	height: 860px;

	width: 600px;

	box-sizing: border-box;

	background: #f1eee3 url(../static/book-img/book-bg.png) repeat-y right;

	position: relative;

	z-index: 9;

	pointer-events: auto;

}

.book-left-z {

	height: 860px;

	width: 600px;

	box-sizing: border-box;

	background: #f1eee3 url(../static/book-img/book-bg.png) repeat-y right;

	position: absolute;

	z-index: 9;

	top: 0;

	display: none;

	pointer-events: auto

}



.book-shadow {

	position: absolute;

	height: 45px;

	top: 815px;

	z-index: 0;

	width: 600px;

	transition: all 2s

}

.book-shadow-on{

	box-shadow: 0px 20px 20px rgba(0,0,0,0.5);

}

#Book-cover {

	position: absolute;

	height: 100%;

	width: 100%;

	cursor: pointer;

	transform: rotateY(180deg);

         -webkit-user-select:none;

    -moz-user-select:none;

    -ms-user-select:none;

    user-select:none;

	z-index: 6

}



.Book-cover-c {

	position: absolute;

	z-index: 6;

	left: 0;

	top: 0;

	width: 23px;

	height: 100%;

	background: url(../static/book-img/book-bg4.png) repeat-y left;

	pointer-events: none

}





#img_top_box{

	position:absolute;

	background:rgba(0,0,0,0.5);

	z-index:999;

	display:inline-block;

	transition: all 0.5s;

	padding: 0;

	background-color: transparent;

	box-shadow: none;

	border-radius: 3px;

	-moz-border-radius: 3px;

	-webkit-border-radius: 3px;

	/* overflow:hidden; */

	line-height:0;

	/* box-shadow: 0 1px 5px rgba(0,0,0,.3); */

}

#img_top_box_bg{

	position:fixed;

	background:rgba(0,0,0,0.0);

	left:0;

	top:0;

	z-index:996;

	width:100%;

	height:100%;

	transition: all 0.5s;

	display:none;

}

#img_top_box_bg2{

	position:fixed;

	left:0;

	top:0;

	width:100%;

	height:100%;

	z-index:997;

	display:none;

}

#img_top_box img{

	max-width: 100%;

	height: auto;

	border-radius: 2px;

	-moz-border-radius: 2px;

	-webkit-border-radius: 2px;

}

#img_title_q{

	position: absolute;

	bottom: 0;

	right: 20px;

	text-align: right;

	font-size: 11px;

	line-height: 25px;

	/* z-index: 1000; */

	color: #aaa

}

#music-url-box{

	display: none;

}

#music_box_bj{

	height: 300px;

	width: 300px;

	background: url(../static/book-img/music1.png) no-repeat;

	background-size: 100% 100%;

	position: absolute;

	top: 0;

	right: 0;

	z-index: 3;

	box-sizing: border-box;

	pointer-events:none;

}

#music_volume{

	height: 136px;

	width: 33px;

	background: url(../static/book-img/music_volume.png) no-repeat;

	background-size: 100% 100%;

	position: absolute;

	top: 80px;

	right: 40px;

	z-index: 2;

	box-sizing: border-box;

	padding: 18px 5px 50px 5px;

}

#music_v_box{

	/* background:#cc000050; */

	width: 20px;

	height:94px;

	position: absolute;

	/* cursor: pointer; */

	top: 21px;

	left: 6px;

}

#music_volume_c{

	height: 32px;

	width: 23px;

	background: url(../static/book-img/music_volume_c.png) no-repeat;

	background-size: 100% 100%;

	position: relative;

	box-sizing: border-box;

	cursor: pointer;

	top:0;

}

#music_box {

	height:145px;

	width: 145px;

	cursor: pointer;

	position: absolute;

	top: 78px;

	right: 12px;
z-index: 2;
	box-sizing: border-box;

	pointer-events: auto   /* 位于 #vinyl-layer(none) 内，需显式开启交互 */

}

.music_record{

	top:96px!important;

	right:96px!important;

}

#music_record{

	width: 106px;

	height: 106px;

	background-image:url(../static/book-img/music2.png);

	background-repeat: no-repeat;

	background-size: cover;

	position: absolute;

	top:96px;

	right:96px ;

	animation: infinite linear;

	animation-duration:30s;

	transition:all 1s;
	pointer-events:auto;
	box-sizing: border-box;

	z-index: 4;

	/* display: none; */

	/* animation-name: */

}

.music_record_temp{

	width: 106px;

	height: 106px;

	top:96px;

	right:96px;

	background-image:url(../static/book-img/music2.png);

	background-repeat: no-repeat;

	background-size: cover;

	position: absolute;

	animation: infinite linear;

	animation-duration:30s;

	transition:all 1s;

	box-sizing: border-box;

	z-index: 4;

	/* display: none; */

	/* animation-name: */

}



.music_record_img{

	width: 60px;

	height: 60px;

	position: absolute;

	left: 22px;

	top: 24px;

	box-sizing: border-box;

	background-size:cover;

    /* background-image:url(../static/book-img/cover.png); */

	background-repeat: no-repeat;

	border-radius: 30px;

}

.music_record_nocover{

	background-image:url(../static/book-img/cover.png)!important;

}

.post-music .fa{

	display: inherit;

}

.post-music{

	width: 21px;

	height: 21px;

	display:block;

	/* position: absolute; */



	left: 0px;

	top: 21px;

	animation: infinite linear;

	animation-duration:30s;

	transition:all 1s;

	/* animation-name:lds-gear; */

}

.music-link{

	display: block;

	width: 106px;

	height: 106px;

	box-sizing: border-box;

	padding-left: 106px;

	background-image: url(../static/book-img/music2.png);

	position: relative;

	cursor: pointer;

}

.music-link-desk{

	display: block;

	width: 106px;

	height: 106px;

	box-sizing: border-box;

	padding-left: 106px;

	background-image: url(../static/book-img/music2.png);

	position: absolute;

	cursor: pointer;

	transition:all 1s;

	animation: infinite linear;

	animation-duration:30s;

	z-index: 4;

}

.music_record_desk_temp{

	top:96px!important;

	right:96px!important;

	z-index: 4;

}

@keyframes lds-gear {

	0% {

	  -webkit-transform: rotate(0deg);

	  transform: rotate(0deg);

	}

	50% {

	  -webkit-transform: rotate(180deg);

	  transform: rotate(180deg);

	}

	100% {

	  -webkit-transform: rotate(360deg);

	  transform: rotate(360deg);

	}

  }

@-webkit-keyframes lds-gear {

	0% {

	  -webkit-transform: rotate(0deg);

	  transform: rotate(0deg);

	}

	50% {

	  -webkit-transform: rotate(180deg);

	  transform: rotate(180deg);

	}

	100% {

	  -webkit-transform: rotate(360deg);

	  transform: rotate(360deg);

	}

}

#music_rod{

	width: 210px;

	height: 210px;

	background: url(../static/book-img/music3.png) no-repeat;

	background-size: 100% 100%;

	position: absolute;

	top:-6px;

	right:-5px ;

	transform:rotate(-13deg); 

	transition:all 0.5s;

	z-index: 5;

	pointer-events:none;

}

#music_name{

	display: none   /* 隐藏播放时的唱片名标签（用户不需要此提示框） */

}





#music-ku{

	position: relative;

	z-index: 5;

}

#chiji_box {

	height: 452px;

	width: 386px;

	background: url(../static/book-img/chiji.png) no-repeat;

	background-size: cover;

	position: absolute;

	top: 0;

z-index: 20;

	left: -200px;

	transition: all 1s

}



#tea_box {

	height: 206px;

	width: 206px;

	background: url(../static/book-img/tea.png) no-repeat;

	background-size: cover;

	position: absolute;

	bottom: 60px;

z-index: 20;

	right: -120px;



	transition: all 1s

}



.mainy {

	transform: rotateY(90deg)!important;

	transition: all 1s ease-in

}



.mainy2 {

	transform: rotateY(0)!important;

	transition: all 1s ease-out

}



.mainx {

	transform: rotateY(90deg)!important;

	transition: all 1s ease-in

}



.mainx2 {

	transform: rotateY(180deg)!important;

	transition: all 1s ease-out

}



.mainy3 {

	transform: rotateY(0)!important

}



.post {

	margin-bottom: 50px

}



#postbox {

	position: relative;

	width: 575px;

	height: 750px;

	padding-left: 60px;

	padding-right: 35px;

	margin: 60px 0 50px 0;

	left: 0;

	box-sizing: border-box;

	z-index: 5;

	background: #f1eee3 url(../static/book-img/book-bg2.png) repeat-y;

	overflow: hidden;

}

#postbox-2 {

	position: relative;

	width: 575px;

	height: 750px;

	padding-left: 80px;

	padding-right: 35px;

	margin: 60px 0 50px 0;

	left: 0;

	box-sizing: border-box;

	z-index: 5;

	background: #f1eee3 url(../static/book-img/book-bg.png) repeat-y

}

.archive-title {

	font-size: 1.5em;

	display:inline-block;

}

.back-catalog{

	display:inline-block;

	font-size: 1.2em;

}

.post-title-2 {

	

	font-size: 1.1em;

	border-bottom: 1px solid #afd5d5;

	padding: 12px 0 10px 0

}

.post-2 a{

	color: #666;

}

.post-title {

	border-bottom: 1px solid #afd5d5;

	border-top: 1px solid #afd5d5;

	margin-bottom: 15px;

	padding: 25px 0 25px 0;

	color: #333;

	font-size: 28px;

	font-size: 1.8rem

}



.post-meta {

	font-size: 16px;

	color: #aaa;

	list-style-type: none;

	height:20px;

}



.post-meta li {

	float: left;

	padding-right: 5px

}



.post-content {

	position: relative;

	clear: both;

	margin: 20px 0 0 0;

	line-height: 1.5em

}



.post-content p {

	position: relative;

	text-indent: 2em;

	padding: 1em 0 1em 0;

	line-height: 2em

}



.post-content .img_box {

	text-indent: 0;

	max-width: calc(100% - 1em);

	display: block;

	position: relative;

	margin: 20px auto;

	padding: 0;

	box-sizing: border-box;
	border: 8px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.15);

	background-color: transparent;	

	box-shadow: none;

	border-radius: 3px;

	-moz-border-radius: 3px;

	-webkit-border-radius: 3px;

	line-height:0;

}

.post-content .img_tape {

	position: absolute;

	height: 25px;

	width: 100px;

	z-index: 0;

	background-color: rgba(255,228,127,.4);

	transform: rotate(-40deg);

	-ms-transform: rotate(-40deg);

	-moz-transform: rotate(-40deg);

	-webkit-transform: rotate(-40deg);

	-o-transform: rotate(-40deg);

	pointer-events: none;

	box-shadow: 0 0 1px rgba(0,0,0,.1)

}



.post-content .img_tape_top {

	top: 5px;

	left: -30px

}



.post-content .img_tape_buttom {

	bottom: 5px;

	right: -35px

	

}



.post-content .img_title {

	position: absolute;

	bottom: 0;

	right: 20px;

	text-align: right;

	font-size: 11px;

	line-height: 25px;

	z-index: 0;

	color: #aaa

}



.post-content video {

	max-width: 100%;

	height: auto

}



.post-content img {

	max-width: 100%;

	height: auto;

	border-radius: 2px;

	-moz-border-radius: 2px;

	-webkit-border-radius: 2px;

	/* cursor:url(../static/book-img/big.cur),auto; */

}



.page-navigator {

	float: right;

	list-style-type: none;

	margin-top: 20px;

	white-space: nowrap;       /* 永远保持一行 */

	font-size: 12px

}



.page-navigator .current>a{

	font-weight:bold;

	color:#c0392b!important;  /* 当前页码标红 */

	text-decoration:none;

	background:#fdf0f0;

	padding:1px 6px;

	border-radius:4px;

	font-size: 12px;

	/* font-size:18px; */

}

.page-navigator li {

	float: left;

	padding-right: .6em

}


/* ====== 文章分页（首页/归档 paginate_links）====== */
.pagination {
	margin: 18px 0;
	padding: 12px 0;
	text-align: center;
	clear: both;
	border-top: 1px dashed #e0d4bc;
	white-space: nowrap;            /* 永远保持一行，不换行（无横拉框） */
}
.pagination a,
.pagination span {
	display: inline-block;
	padding: 3px 9px;
	margin: 0 2px;
	font-size: 12px;
	color: #8a7a5a;
	text-decoration: none;
	border: 1px solid #e8dcc8;
	border-radius: 4px;
	transition: all .2s ease;
	line-height: 1.6;
}
.pagination a:hover {
	background: #f5ede0;
	color: #6b4a28;
	border-color: #d4c4a8;
}
/* 当前页码：醒目红色 */
.pagination .current,
.pagination span.page-numbers.current {
	color: #fff !important;
	background: #c0392b;
	border-color: #c0392b;
	font-weight: 700;
	box-shadow: 0 1px 4px rgba(192,57,43,.25);
	cursor: default;
}
/* 首尾导航 */
.pagination .prev,
.pagination .next {
	font-size: 12px;
	letter-spacing: .5px;
}


/* ====== 评论分页 ===== */
.comment-pagination {
	margin: 16px 0;
	padding: 8px 0;
	text-align: center;
	white-space: nowrap;            /* 永远保持一行（无横拉框） */
}
.comment-pagination a,
.comment-pagination span.page-numbers {
	display: inline-block;
	padding: 3px 9px;
	margin: 0 2px;
	font-size: 12px;
	color: #a09070;
	text-decoration: none;
	border: 1px solid #e6dac6;
	border-radius: 3px;
	transition: all .2s ease;
}
.comment-pagination a:hover {
	background: #f5ede0;
	color: #6b4a28;
}
/* 当前评论页：红色 */
.comment-pagination .page-numbers.current {
	color: #fff !important;
	background: #c0392b !important;
	border-color: #c0392b !important;
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(192,57,43,.2);
}

/* ====== 简洁背景音乐按钮（仅移动端显示，桌面端用黑胶唱片机）====== */
.diary-music-btn {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 60;
	display: none; /* 桌面端默认隐藏；mobile.css 在 ≤768px 时显示 */
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #e0cda8;
	border-radius: 999px;
	background: #fbf4e6;
	color: #8a6a3a;
	font-size: 13px;
	cursor: pointer;
	pointer-events: auto;   /* 位于 #vinyl-layer(none) 内，需显式开启交互 */
	box-shadow: 0 2px 8px rgba(80,50,20,.18);
	transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.diary-music-btn .dm-icon {
	font-size: 16px;
	line-height: 1;
}
.diary-music-btn:hover {
	background: #b5894e;
	color: #fff;
	border-color: #b5894e;
}
.diary-music-btn.playing {
	background: #b5894e;
	color: #fff;
	border-color: #b5894e;
}
.diary-music-btn.playing .dm-icon {
	animation: diary-note-bounce .8s ease-in-out infinite;
}
@keyframes diary-note-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-3px); }
}
@media (max-width: 768px) {
	.diary-music-btn { right: 12px; bottom: 12px; padding: 7px 12px; }
}



.post-near {

	list-style-type: none;

	margin-top: 30px

}



.widget-list li {

	list-style-type: none

}



.plzpwz {

	text-align: center;

	display: block;

	background: #099;

	color: #fff

}



.tags a {

	margin: auto 5px;

	padding: 2px 6px;

	text-align: center;

	font-size: .9em;

	width: 5em;

	background: #099;

	color: #fff

}



.al_year {

	width: 90px;

	padding: 30px 0;

	font-size: 1.1em;

	font-weight: 100

}



.al_age {

	font-size: .8em;

	height: 20px;

	line-height: 20px

}



.al_mon_list {

	margin-left: 90px;

	margin-top: -84px;

	border-left: 1px solid #ddd;

	display: block

}



.al_mon_list_mid {

	border-left-style: dashed

}



.al_mon_list li {

	list-style: none;

	line-height: 2;

	padding-left: 10px

}



.al_mon_list>li>a {

	display: block;

	padding-left: 10px;

	width: 280px;

	white-space: nowrap;

	overflow: hidden;

	text-overflow: ellipsis

}



.al_mon_list>li>span {

	margin-top: -32px;

	position: absolute;

	right: 0;

	margin-right: 15px

}

#comments{

	font-size: 14px;

	line-height: 1.6;

	background: transparent;

	box-sizing: border-box;

	padding:0;

	color: #444;

}

/* 评论标题 */
.comments-title {
	font-size: 16px;
	color: #6b4a23;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8dcc8;
	letter-spacing: 1px;
}
/* 评论列表：每条留言独立卡片（羊皮纸风） */
.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.comment-list > li {
	margin: 0 0 24px 0;
	padding: 20px 22px;
	background: #fdfbf5;
	border: 1px solid #ece0cd;
	border-radius: 10px;
	position: relative;
	transition: box-shadow .2s ease;
}
.comment-list > li:hover {
	box-shadow: 0 3px 14px rgba(100,70,30,.08);
}
/* 楼层之间的虚线分隔：在两张楼层卡片的「空白间隙正中」画一条独立的虚线。
   仅作用于 .comment-list 的直接子项（顶层评论/楼层），回复(.comment-children > li)
   嵌套在父卡片内部，不会触发此规则 → 评论与回复间无分隔。
   若某楼层含回复，虚线落在该楼层（含其全部回复）整体之后、下一楼层之前。 */
.comment-list > li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: -12px;                 /* 落在 24px 下边距间隙的正中 */
	border-top: 1px dashed #d8c7a6;
}
/* 子评论（回复）容器：仅「缩进」——不再用左侧引导线 / 顶部分隔线 / 回复标签
   父评论 + 其全部回复 共同组成一个完整的「贴纸」，由 .comment-list > li 的外框界定 */
.comment-children {
	margin-left: 14px;        /* 仅轻微缩进，体现层级（每条回复都比上一条缩进一点点） */
	margin-top: 12px;
	padding-left: 0;
}
/* 嵌套回复（回复的回复）：每层仅追加一点点缩进（10px），不再大幅叠加，
   避免七八层嵌套后整体被推出版心、最后一条被挤压 */
.comment-children .comment-children {
	margin-left: 10px;
	margin-top: 10px;
}
/* 每条回复：融入父贴纸内部，仅以极淡底色 + 圆角呈现，不与父评论画分割线 */
.comment-children > li {
	margin: 0 0 12px 0;
	padding: 12px 14px;
	background: rgba(255,255,255,.55);
	border: 1px dashed #f0e7d5;   /* v1.2.44：回复框架由实线改为虚线，更轻盈 */
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(80,50,20,.04);
	transition: box-shadow .2s ease, border-color .2s ease;
	position: relative;
}
/* 相邻回复之间：仅以间距区分（不再画顶部分隔线） */
.comment-children > li + li {
	margin-top: 12px;
}
/* 父评论与下一条父评论：由 .comment-list > li 卡片的 margin + 外边框自然区分，
   无需额外伪元素分隔线（已移除兜底规则） */
.comment-children > li:hover {
	box-shadow: 0 3px 10px rgba(100,70,30,.10);
	border-color: #d4c4a8;
}
.comment-children > li:not(:last-child) {
	margin-bottom: 0;
}
/* 每条评论内部布局 */
.comment-body {
	display: block;
	clear: both;
}
/* 头像 + 名字行（横向排列） */
.comment-author {
	float: none;
	height: auto;
	display: flex;
	align-items: center;
	margin-bottom: 6px;
	line-height: normal;
	overflow: visible;
}
.comment-author img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0;
	border: 2px solid #f0e6d6;
	box-shadow: 0 1px 4px rgba(80,50,20,.12);
}
.comment-author .fn {
	height: auto;
	margin-left: 0;
	font-size: 15px;
	font-weight: 700;
	color: #6b4a28;
	letter-spacing: .5px;
}
.comment-author .fn a {
	color: #6b4a28;
	text-decoration: none;
	font-weight: 700;
	height: auto;
	line-height: inherit;
}
.comment-author .fn a:hover {
	color: #a07848;
}
/* 博主标识（仅邮箱 i@pwsz.com 的评论者显示）
   关键：必须用「> .comment-body」限定为博主【自己】评论体内的 .fn，
   不能用后代空格选择器（.diary-blogger .fn）——否则博主名下嵌套的回复
   （如寻鹤的回复在 .children 内，是其后代）会被一并误标「· 博主」。 */
.diary-blogger > .comment-body .fn::after {
	content: ' · 博主';
	font-size: 11px;
	color: #b0894f;
	font-weight: 400;
	margin-left: 4px;
	letter-spacing: 0;
}
/* 评论头部：头像+名字一行（含楼层），下方为「回复 + 时间」操作行 */
.comment-meta {
	float: none;
	height: auto;
	display: block;
	margin: 0;
	font-size: 12.5px;
	color: #a89878;
	line-height: normal;
}
/* 楼层标注：顶层评论按先后 1楼/2楼/3楼…… 放在头像+名字行最右侧，
   使用时间色的暗版，作为低调徽标 */
.comment-floor {
	margin-left: auto;
	font-size: 12px;
	font-weight: 600;
	color: #8a7a5a;
	letter-spacing: .5px;
	background: #f1e8d8;
	padding: 1px 10px;
	border-radius: 999px;
}
/* 操作行：回复按钮 + 时间（时间位于回复按钮右侧，留间距） */
.comment-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
	margin-left: 54px;   /* 与正文左缩进（头像宽度）对齐 */
}
.comment-meta a {
	color: #a89878;
	text-decoration: none;
	font-size: 12.5px;
}
.comment-meta a:hover { color: #8a7a5a; }
/* 编辑链接靠右 */
.comment-meta .comment-edit-link {
	margin-left: 8px;
}

/* 评论内容 */
.comment-content {
	clear: both;
	padding: 10px 0 0 54px; /* 左侧留出头像宽度 */
	margin: 0;
	border-left: none;
	font-size: 14px;
	line-height: 1.85;
	color: #4a4036;
	word-wrap: break-word;
}
.comment-content p { margin: 0 0 8px 0; }
.comment-content p:last-child { margin-bottom: 0; }

/* 回复按钮（真实结构：.reply > a.comment-reply-link；取消回复：.cancel-comment-reply a） */
.reply {
	margin: 0;
}
.comment-reply-link,
.cancel-comment-reply a {
	display: inline-block;
	color: #8a6a3a;
	font-size: 12.5px;
	cursor: pointer;
	text-decoration: none;
	padding: 4px 14px;
	border: 1px solid #e0cda8;
	border-radius: 999px;
	background: #fbf4e6;
	transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.comment-reply-link:hover,
.cancel-comment-reply a:hover {
	color: #fff;
	background: #b5894e;
	border-color: #b5894e;
}
.comment-reply-link:active { transform: translateY(1px); }

/* 子评论内的调整 */
.comment-child .comment-author a { font-weight: normal; }
.comment-children .comment-content { padding-left: 0; }
.comment-children .comment-actions { margin-left: 0; }

/* ====== 回复表单 ====== */
.diary-comment-form {
	margin-top: 24px;
	padding: 20px;
	background: #fdfbf5;
	border: 1px solid #efe3d1;
	border-radius: 8px;
}
.diary-comment-form label {
	display: block;
	font-size: 13px;
	color: #777;
	margin-bottom: 4px;
}
.diary-comment-form input[type="text"],
.diary-comment-form input[type="email"],
.diary-comment-form input[type="url"] {
	width: 100%;
	max-width: 320px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 13px;
	background: #fff;
	color: #333;
	outline: none;
	transition: border-color .2s;
	box-sizing: border-box;
	line-height: 1.4;
}
.diary-comment-form input[type="text"]:focus,
.diary-comment-form input[type="email"]:focus,
.diary-comment-form input[type="url"]:focus {
	border-color: #c0a070;
}
.diary-comment-form textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px 14px;
	font-size: 13.5px;
	line-height: 1.6;
	background: #fff;
	color: #333;
	resize: vertical;
	min-height: 120px;
	outline: none;
	transition: border-color .2s;
	box-sizing: border-box;
}
.diary-comment-form textarea:focus {
	border-color: #c0a070;
}
/* 滑块验证码字段（v1.2.84 替换原算术验证码） */
.comment-form-captcha {
	margin: 8px 0 10px;
}
.comment-form-captcha .diary-captcha-label {
	display: block;
	font-size: 13px;
	color: #777;
	margin-bottom: 6px;
}
.diary-slider {
	position: relative;
	display: block;
	width: 100%;
	max-width: 320px;
	height: 36px;
	background: linear-gradient(135deg, #efe4d2 0%, #d8c8a8 100%);
	border: 1px solid #c0a070;
	border-radius: 18px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	cursor: pointer;
	overflow: hidden;
	outline: none;
}
.diary-slider:focus {
	border-color: #8b6b4a;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.08), 0 0 0 2px rgba(139,107,74,.25);
}
.diary-slider-text {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b4a28;
	font-size: 12px;
	letter-spacing: 1px;
	pointer-events: none;
	font-weight: 600;
	transition: color .3s;
}
.diary-slider-thumb {
	position: absolute;
	left: 3px;
	top: 3px;
	bottom: 3px;
	width: 50px;
	background: linear-gradient(135deg, #c8a878 0%, #8b6b4a 100%);
	border: 1px solid #6b4a28;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	cursor: grab;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fffef9;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	transition: background .2s, box-shadow .2s;
}
.diary-slider-thumb::before {
	content: '\203A'; /* › */
	font-size: 22px;
	line-height: 1;
}
.diary-slider-thumb:active {
	cursor: grabbing;
	box-shadow: 0 2px 5px rgba(0,0,0,.35);
}
.diary-slider.passed {
	background: linear-gradient(135deg, #d5e8c8 0%, #b8d4a0 100%);
	border-color: #6b8e5a;
}
.diary-slider.passed .diary-slider-thumb {
	left: auto;
	right: 3px;
	background: linear-gradient(135deg, #88b878 0%, #6b8e5a 100%);
	border-color: #4a6b3a;
}
.diary-slider.passed .diary-slider-text {
	color: #4a6b3a;
}

/* 随言碎语（memos）小工具 */
.diary-memos {
	margin: 6px 0 4px;
	border: 1px solid #e3d6bf;
	border-radius: 6px;
	overflow: hidden;
	background: #fffef9;
}
.diary-memos .memos-frame {
	display: block;
	width: 100%;
	border: 0;
}
#comments .submit {
	background: linear-gradient(135deg, #8b6b4a 0%, #6b4a28 100%);
	border: none;
	border-radius: 6px;
	color: #fff;
	padding: 10px 32px;
	width: auto;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 2px;
	box-sizing: border-box;
	margin: 16px 0 4px 0;
	transition: opacity .2s, transform .1s;
	display: inline-block;
}
#comments .submit:hover {
	opacity: .88;
	transform: translateY(-1px);
}
#comment-form .required::after {
	content: ' *';
	color: #c00;
}
/* 昵称/邮箱/网站输入区 */
.comment-sf {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.comment-sf p {
	width: calc(33.333% - 8px);
	min-width: 150px;
	margin: 0;
}
.comment-sf input {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 13px;
	background: #fff;
	color: #333;
	outline: none;
	line-height: 1.4;
}
.comment-sf input:focus { border-color: #c0a070; }

/* 无评论提示 */
.no-comments {
	padding: 16px 20px;
	color: #999;
	font-size: 13px;
}
/* 分页 */
.comment-pagination {
	text-align: center;
	margin: 20px 0;
}
.comment-pagination a {
	display: inline-block;
	padding: 6px 14px;
	margin: 0 4px;
	border: 1px solid #e0d4c0;
	border-radius: 4px;
	color: #777;
	text-decoration: none;
	font-size: 13px;
	transition: background .15s, color .15s;
}
.comment-pagination a:hover {
	background: #f5ede0;
	color: #6b4a23;
}

.ps .ps__rail-x.ps--clicking,

.ps .ps__rail-x:focus,

.ps .ps__rail-x:hover,

.ps .ps__rail-y.ps--clicking,

.ps .ps__rail-y:focus,

.ps .ps__rail-y:hover {

    background-color: #ffffff00!important;

}

#footer-admin{

	position: fixed;

	left: 5px;

	bottom: 5px;

	font-size: 11px;

	color: #666!important;

}
#shoujizhuye{
	display: none;
}
@media screen and (max-width: 768px) {
	#body-bg{
		overflow:auto;
		overflow-x: hidden;
	}
	#shoujizhuye{
		position: fixed;
		right: 10px;
		bottom: 40px;
		z-index: 5;
		display: block;
	}
	#shoujizhuye a{
		display: block;
		background:rgba(0, 0, 0, 0.1);
		border-radius: 5px;
		width: 80px;
		height: 80px;
		text-align: center;
		padding-top: 12px;
		box-sizing: border-box;
		font-size: 1.3em;
		font-weight: 900;
	}
	body,html{
		width: 100%;
		height: 100%;
	}
	#closed,#fullScreen,#tea_box,#chiji_box,#muisc-ku,#music_record,#music_rod,#music_box_bj,#music_volume{
		display: none;
	}
	.book-left-z{
		display: inherit;
		background-image: none;
		width: 100%;
		height: 100%;
		min-height: 100%;
		position: relative;
	}
	#book-left{
		transform: rotateY(0)!important;
		background-image: none;
		width: 100%;
		height: 100%;
		box-shadow:0 0 0;
		top:50px;
	}
	#Book-cover{
		display: none;
	}
	.nav-box{
		display: none;
	}
	.mains{
		margin-left: 0px;
		width: 100%;
		height: 100%;
		pointer-events:auto;
	}
	#body{
		width: 100%;
		top:0;
		height: 100%;
	}
	#secondary{
		margin: 0;
		width: 100%;
		height: 100%;
	}
	#body-bg{
		background: #f1eee3;
	}
	.post{
		width: 100%;
	}
	#postbox-2{
		background-image: none;
		width: 100%;
		height: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
	.closed_txt{
		display: none;
	}
	.al_mon_list>li{
		margin-left: 10px;
		border-bottom: 1px dotted #009999;
	}
	.al_mon_list>li>a{
		display: block;
		width: calc(100% - 70px);
		font-size: 18px;
		line-height: 60px;
		padding-left:0;
		overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
	}
	.al_mon_list>li>span{
		margin-right:20px;
		font-size: 18px;
		margin-top:-48px;
		
	}
	#axjx_box{
		width: 100%;
		height: 100%;
	}
	#postbox{
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		padding-left:20px;
		padding-right: 20px;
		background-image: none;
		margin:0;
	}
	#book-right{
		background-image: none;
		width: 100%;
		height: 100%;
		box-shadow:0 0 0;
		position:absolute;
		z-index: 1;
	}
	.book-shadow{
		display: none;
	}
	.al_mon_list{
		width: calc(100% - 130px);
		margin-left:70px;
		margin-top:-95px
	}
	.post-content-pages{
		width: 100%;
	}
	#archives{
		width: 100%;
	}
	.al_mon_list li{
		width: 100%;
	}
	#footer{
		opacity: 0.5;
	}
}
/* ========================================================
   Riven 最小适配层（不与Book原版冲突）
   ======================================================== */

/* 隐藏Riven原有布局 */
.main_screen { display: none !important; }

/* Riven文章内容区域适配 - 使用Book原版的.post-content选择器 */
.post-content .post_content { position: relative; clear: both; }
.post-content .post_content p { text-indent: 2em; padding: 1em 0; line-height: 2em; }
.post-content .post_content img { max-width: 100%; height: auto; }

/* 复选框 */
.task-list-item { list-style: none; display: flex; align-items: flex-start; gap: 8px; }
.task-list-item-checkbox { margin-top: 6px; accent-color: #099; }

/* 提醒框 - 隔离作用域避免冲突 */
.post-content .mx_notice { display: flex; gap: 12px; padding: 16px 20px; border-radius: 8px; margin: 16px 0; }
.post-content .mx_notice_icon { flex-shrink: 0; width: 22px; height: 22px; }
.post-content .mx_notice_icon circle { fill: none; stroke: currentColor; stroke-width: 2; }
.post-content .mx_notice_icon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-content .mx_notice_red { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.post-content .mx_notice_green { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.post-content .mx_notice_orange { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.post-content .mx_notice_blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* 文章卡片 */

/* 图片居中 */
.post-content p > img,




/* 文章卡片 - 参考Riven原版 */
.post-content .mx_post_card {
    display: block;
    position: relative;
    width: 50%;
    margin: 16px auto;
    padding: 10px 10px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9f7f3;
    color: #333;
    text-decoration: none;
}
.post-content .mx_post_card_badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 1px 5px;
    border-radius: 999px;
    background: #f0ebe3;
    color: #8b7355;
    font: 600 10px/1.4 sans-serif;
}
.post-content .mx_post_card:hover {
    border-color: #099;
    box-shadow: 0 2px 8px rgba(0,153,153,0.1);
}
.post-content .mx_post_card_main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.post-content .mx_post_card_main > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.post-content .mx_post_card_icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    fill: none;
    stroke: #099;
    stroke-width: 1.5;
}
.post-content .mx_post_card strong {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    display: block;
}
.post-content .mx_post_card em {
    font-size: 11px;
    color: #6b7280;
    font-style: normal;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.post-content .mx_post_card small {
    display: flex;
    gap: 8px;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
}

/* 下载按钮 */
.post-content .mx_download {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px auto;
    width: 50%;
}
.post-content .mx_download_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-content .mx_download_file {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-content .mx_download_icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.post-content .mx_download_name {
    font-weight: 500;
    font-size: 13px;
}
.post-content .mx_download_action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 6px;
    background: #099;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}
.post-content .mx_download_action:hover {
    background: #077;
}

/* 隐藏内容 */
.post-content .mx-hide-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #6b7280;
    margin: 12px auto;
    width: auto;
}
.post-content .mx-hide-content {
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    margin: 12px 0;
}

/* 提醒框 */
.post-content .mx_notice {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
}
.post-content .mx_notice_red { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.post-content .mx_notice_green { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.post-content .mx_notice_orange { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.post-content .mx_notice_blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* 画廊图片居中 */

/* 复选框 */
.task-list-item {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.task-list-item-checkbox {
    margin-top: 6px;
    accent-color: #099;
}

/* 选项卡 */
.post-content .cat_tabs { margin: 16px 0; }
.post-content .cat_tab_nav { display: flex; gap: 4px; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.post-content .cat_tab_btn { padding: 4px 10px; border: none; background: none; cursor: pointer; font-size: 13px; color: #6b7280; border-radius: 6px; }
.post-content .cat_tab_btn.active { background: #099; color: #fff; }
.post-content .cat_tab_panel { display: none; }
.post-content .cat_tab_panel.active { display: block; }

/* 折叠面板 */
.post-content .cat_collapse { margin: 12px 0; border: 1px solid #e5e7eb; border-radius: 8px; }
.post-content .collapse-btn { width: 100%; padding: 10px 14px; border: none; background: #f9fafb; cursor: pointer; text-align: left; font-size: 13px; font-weight: 500; border-radius: 8px; }
.post-content .collapse { padding: 14px; display: none; }
.post-content .cat_collapse.open .collapse { display: block; }

/* 时间线 */
.post-content .mx_timeline { position: relative; padding-left: 24px; margin: 16px 0; }
.post-content .mx_timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: #e5e7eb; }
.post-content .mx_timeline_item { position: relative; margin-bottom: 16px; }
.post-content .mx_timeline_dot { position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #099; }
.post-content .mx_timeline_time { font-size: 13px; color: #6b7280; margin-bottom: 4px; }
.post-content .mx_timeline_content { font-size: 14px; }

/* 画廊 - 每行3张，超过自动换行 */
.post-content .mx-photo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.post-content .mx-photo-item {
    flex: 0 0 calc(33.333% - 6px);
    max-width: calc(33.333% - 6px);
}
.post-content .mx-photo-img {
    width: 100%;
    display: block;
    border-radius: 2px;
    cursor: pointer;
}

/* ========================================================
   目录树样式
   ======================================================== */
#catalog-tree {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.6;
}
.tree-year {
    margin-bottom: 5px;
}
.tree-year-h {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #e0d6c6;
}
.tree-year-h:hover {
    color: #099;
}
.tree-year-h .tree-arrow {
    display: inline-block;
    width: 18px;
    font-size: 11px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.tree-year-text {
    flex: 1;
}
.tree-year-count {
    font-size: 11px;
    font-weight: normal;
    color: #aaa;
    background: #f0ebe3;
    padding: 1px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}
.tree-year.open > .tree-year-h .tree-arrow {
    transform: rotate(90deg);
}
.tree-months {
    display: none;
    padding-left: 18px;
    border-left: 1px solid #e0d6c6;
    margin-left: 8px;
}
.tree-year.open > .tree-months {
    display: block;
}
.tree-month {
    margin-bottom: 3px;
}
.tree-month-h {
    display: flex;
    align-items: center;
    padding: 7px 5px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    color: #555;
    border-bottom: 1px dashed #eee;
}
.tree-month-h:hover {
    color: #099;
}
.tree-month-h .tree-arrow {
    display: inline-block;
    width: 16px;
    font-size: 11px;
    color: #aaa;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.tree-month-text {
    flex: 1;
}
.tree-month-count {
    font-size: 10px;
    color: #bbb;
    flex-shrink: 0;
}
.tree-month.open > .tree-month-h .tree-arrow {
    transform: rotate(90deg);
}
.tree-articles {
    display: none;
    list-style: none;
    padding: 0 0 0 14px;
    margin: 0;
    border-left: 1px dashed #e0d6c6;
    margin-left: 7px;
}
.tree-month.open > .tree-articles {
    display: block;
}
.tree-article {
    position: relative;
}
.tree-article::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: #f1eee3;
    border: 1.5px solid #c8bfb0;
    border-radius: 50%;
}
.tree-article a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 6px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.15s;
    line-height: 1.5;
}
.tree-article a:hover {
    color: #099;
}
.tree-article.active > a {
    color: #099 !important;
    font-weight: 700 !important;
}
.tree-article.active::before {
    background: #099;
    border-color: #099;
}
.tree-day {
    flex-shrink: 0;
    width: 20px;
    text-align: right;
    font-size: 11px;
    color: #bbb;
}
.tree-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================================
   文章卡片标题单行省略号
   ======================================================== */
.post-content .mx_post_card strong {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-content .mx_post_card em {
    font-size: 11px;
    color: #6b7280;
    font-style: normal;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 单张图片 - 不缩小，保持原始比例 */
.post-content .item_image {
    display: block;
    margin: 12px 0;
    text-align: center;
}
.post-content .item_image img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
}

/* ========== Riven短代码CSS（音乐/视频/B站） ========== */

/* CSS变量 - Book主题没有定义Riven的配色变量 */
:root {
    --bg-card: #FBFAF7;
    --bg-soft: #F2EEE8;
    --text-primary: #3E3934;
    --text-body: #4B463F;
    --text-secondary: #8C857D;
    --text-muted: #A49D95;
    --line-primary: #DDD6CC;
    --line-secondary: #E7E1D8;
    --line-soft: #EEE9E2;
    --accent-brown: #6E4F2F;
    --accent-gold: #A78C63;
    --font-main: "LXGW WenKai Screen", "霞鹜文楷 屏幕阅读版", "Noto Serif SC", "Songti SC", "Microsoft YaHei", sans-serif;
}

/* --- 音乐卡片 --- */
.post-content mx_music {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-body);
}

.post-content .mx-music-cover,
.post-content .mx-music-play {
    appearance: none;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.post-content .mx-music-cover {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #2e2d30 0 11%, transparent 12%), radial-gradient(circle at 47% 42%, rgba(255, 255, 255, .38) 0 4%, transparent 5%), radial-gradient(circle at 60% 58%, #6d5f65 0 20%, #2c2b2f 21% 56%, #151518 57% 100%);
    box-shadow: 0 7px 16px rgba(31, 28, 26, .16);
}

.post-content .mx-music-cover span {
    position: absolute;
    inset: 19px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a6b7c9, #76616e 55%, #292c35);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22);
}

.post-content .mx-music-cover span.has-cover {
    inset: 10px;
}

.post-content mx_music.is-playing .mx-music-cover {
    animation: mx-music-spin 5s linear infinite;
}

.post-content .mx-music-body {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.post-content .mx-music-title {
    display: block;
    overflow: hidden;
    color: #2f435a;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-content .mx-music-status {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-content .mx-music-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.post-content .mx-music-progress {
    width: 100%;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(to right, #9b9b9b var(--mx-progress, 0%), #d5d5d5 0);
    cursor: pointer;
    appearance: none;
}

.post-content .mx-music-progress::-webkit-slider-thumb {
    width: 0;
    height: 0;
    appearance: none;
}

.post-content .mx-music-progress::-moz-range-thumb {
    width: 0;
    height: 0;
    border: 0;
}

.post-content .mx-music-time {
    color: #9b9b9b;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.post-content .mx-music-play {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #2f435a;
}

.post-content .mx-music-play svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.post-content mx_music.is-playing .mx-music-play svg path {
    d: path("M7 5h4v14H7zM13 5h4v14h-4z");
}

.post-content mx_music audio {
    display: none;
}

/* --- 音乐分组 --- */
.post-content .mx-music-group {
    display: grid;
    gap: 0;
    margin: 18px 0;
    padding: 8px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--bg-card);
}

.post-content .mx-music-group-title {
    padding: 8px 0 10px;
    color: #2f435a;
    font-size: 15px;
    font-weight: 700;
}

.post-content .mx-music-playlist-status {
    padding: 12px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.post-content .mx-music-playlist {
    max-height: 460px;
    overflow: auto;
    overscroll-behavior: contain;
}

.post-content .mx-music-group mx_music {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    gap: 14px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
}

.post-content .mx-music-playlist mx_music:first-of-type {
    border-top: 0;
}

.post-content .mx-music-group mx_music.is-playing {
    grid-template-columns: 64px minmax(0, 1fr) 34px;
    gap: 18px;
    margin: 8px 0;
    padding: 14px 16px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(47, 67, 90, .045);
}

.post-content .mx-music-group .mx-music-cover {
    width: 34px;
    height: 34px;
}

.post-content .mx-music-group mx_music.is-playing .mx-music-cover {
    width: 56px;
    height: 56px;
}

.post-content .mx-music-group .mx-music-cover span {
    inset: 10px;
}

.post-content .mx-music-group .mx-music-cover span.has-cover {
    inset: 4px;
}

.post-content .mx-music-group mx_music.is-playing .mx-music-cover span {
    inset: 15px;
}

.post-content .mx-music-group mx_music.is-playing .mx-music-cover span.has-cover {
    inset: 7px;
}

.post-content .mx-music-group .mx-music-body {
    gap: 8px;
}

.post-content .mx-music-group mx_music.is-playing .mx-music-body {
    gap: 12px;
}

.post-content .mx-music-group mx_music.is-playing .mx-music-title {
    font-size: 14px;
    font-weight: 700;
}

/* --- 视频/B站卡片 --- */
.post-content cat_article_video {
    display: block;
    cursor: pointer;
}

.post-content .card:not(cat_article_video) {
    display: block;
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid var(--line-secondary);
    border-radius: 9px;
    background: var(--bg-card);
    box-shadow: none;
    color: var(--text-body);
    text-align: left;
    text-indent: 0;
}

.post-content cat_article_video iframe,
.post-content cat_article_video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: rgba(47, 42, 38, 0.12);
}

/* --- 旋转动画 --- */
@keyframes mx-music-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== 选项卡组件 ========== */
.post-content .cat_tabs {
    margin: 20px 0;
    border: 1px solid var(--line-secondary);
    border-radius: 10px;
    background: var(--bg-card);
    overflow: hidden;
}

.post-content .cat_tab_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 8px 10px 0;
    border-bottom: 1px solid var(--line-secondary);
    background: var(--bg-soft);
}

.post-content .cat_tab_btn {
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: var(--text-secondary);
    font: 600 14px/22px var(--font-main);
    padding: 7px 14px;
    cursor: pointer;
}

.post-content .cat_tab_btn.active {
    border-color: var(--line-secondary);
    background: var(--bg-card);
    color: var(--accent-brown);
    transform: translateY(1px);
}

.post-content .cat_tab_panel {
    display: none;
}

.post-content .cat_tab_panel.active {
    display: block;
    padding: 18px 20px;
}

/* ========== 折叠面板组件 ========== */
.post-content .cat_collapse {
    margin: 20px 0;
    border: 1px solid color-mix(in srgb, var(--accent-brown) 26%, var(--line-secondary));
    border-radius: 8px;
    background: var(--bg-card);
    overflow: hidden;
}

.post-content .collapse-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 15px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-brown) 18%, var(--line-secondary));
    background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
    color: var(--accent-brown);
    font: 600 15px/22px var(--font-main);
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease;
}

.post-content .collapse-btn:after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20color%3D%22%23000000%22%3E%0A%20%20%3Cpath%20d%3D%22M6%2013L12%2019L18%2013%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/path%3E%0A%20%20%3Cpath%20d%3D%22M6%205L12%2011L18%205%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/path%3E%0A%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease;
}

.post-content .collapse-btn:not(.collapsed):after {
    transform: rotate(-180deg);
}

.post-content .collapse {
    max-height: 0;
    padding: 0 16px;
    background: transparent;
    opacity: 0;
    overflow: hidden;
    transition: max-height .28s ease, padding .28s ease, opacity .2s ease;
}

.post-content .collapse.show,
.post-content .cat_collapse.open .collapse {
    max-height: 1200px;
    padding: 14px 16px;
    opacity: 1;
}

/* ========== 评论可见（隐藏内容）组件 ========== */
.post-content .mx-hide-notice,
.post-content .mx-hide-content,
.post-content .card:not(cat_article_video) {
    display: block;
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid var(--line-secondary);
    border-radius: 9px;
    background: var(--bg-card);
    box-shadow: none;
    color: var(--text-body);
    text-align: left;
    text-indent: 0;
}

.post-content .mx-hide-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.post-content .mx-hide-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #6C543B;
}

/* ========== 表格样式 ========== */
.post-content table {
    width: 100%;
    margin: 22px 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    border: 1px solid var(--line-secondary);
    border-radius: 9px;
    background: var(--bg-card);
    overflow: hidden;
}

.post-content thead {
    background: var(--bg-soft);
    color: #3D3128;
}

.post-content th,
.post-content td {
    padding: 11px 14px;
    border-right: 1px solid var(--line-secondary);
    border-bottom: 1px solid var(--line-secondary);
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.68;
    text-align: left;
    vertical-align: top;
}

.post-content th {
    color: #3B3028;
    font-weight: 600;
}

.post-content th[align="center"],
.post-content td[align="center"],
.post-content th[style*="text-align:center"],
.post-content td[style*="text-align:center"],
.post-content th[style*="text-align: center"],
.post-content td[style*="text-align: center"] {
    text-align: center !important;
}

.post-content th[align="right"],
.post-content td[align="right"],
.post-content th[style*="text-align:right"],
.post-content td[style*="text-align:right"],
.post-content th[style*="text-align: right"],
.post-content td[style*="text-align: right"] {
    text-align: right !important;
}

.post-content tr > :last-child {
    border-right: 0;
}

.post-content tbody tr:last-child > td {
    border-bottom: 0;
}

.post-content tbody tr:nth-child(even) {
    background: var(--bg-card);
}

.post-content td code {
    margin: 0 2px;
    padding: 2px 6px;
    border: 1px solid var(--line-secondary);
    border-radius: 5px;
    background: var(--bg-soft);
    color: #7A4B3A;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 0;
    vertical-align: baseline;
}

/* === 代码块样式（Riven 原版） === */

/* 行内代码 */
.post-content code:not([class]),
.post-content p code,
.post-content li code {
    margin: 0 2px;
    padding: 2px 6px;
    border: 1px solid var(--line-secondary);
    border-radius: 5px;
    background: var(--bg-soft);
    color: #7A4B3A;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 0;
    vertical-align: baseline;
}

/* 代码块容器（code-toolbar） */
.post-content div.code-toolbar {
    position: relative;
    margin: 24px 0;
    padding-top: 36px;
    border: 1px solid var(--text-secondary);
    border-radius: 10px;
    background: var(--bg-soft);
    box-shadow: 0 8px 24px rgba(62, 57, 52, 0.05);
    overflow: hidden;
}

.post-content div.code-toolbar::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #DD5F58;
    box-shadow: 18px 0 #D9A94E, 36px 0 #6E9B73;
}

.post-content div.code-toolbar>.toolbar {
    position: absolute;
    inset: 7px 10px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 22px;
    padding: 0;
    text-align: center;
    opacity: 1;
    pointer-events: none;
}

.post-content div.code-toolbar>.toolbar .toolbar-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    color: #80756C;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    pointer-events: auto;
}

.post-content div.code-toolbar>.toolbar button {
    position: absolute;
    top: 1px;
    right: 0;
    height: 20px;
    padding: 0 6px;
    border: 1px solid color-mix(in srgb, var(--accent-brown) 28%, transparent);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
}

.post-content div.code-toolbar>.toolbar button span {
    display: inline;
    color: inherit;
    font: inherit;
}

.post-content div.code-toolbar>.toolbar button:hover {
    border-color: color-mix(in srgb, var(--accent-brown) 48%, transparent);
    color: var(--accent-brown);
}

/* 代码块 pre — 同时匹配 language-xxx 和 lang-xxx */
.post-content pre,
.post-content pre[class*="language-"],
.post-content pre[class*="lang-"] {
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid var(--line-secondary);
    border-radius: 10px;
    background: rgba(59, 53, 48, 0.94);
    box-shadow: 0 8px 24px rgba(80, 64, 48, 0.06);
    color: #F8F4ED;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.78;
    letter-spacing: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.post-content div.code-toolbar>pre,
.post-content div.code-toolbar>pre[class*="language-"],
.post-content div.code-toolbar>pre[class*="lang-"] {
    margin: 0 10px 10px;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--text-secondary) 36%, transparent);
    border-radius: 0 0 7px 7px;
    box-shadow: none;
}

.post-content pre[class*="language-"],
.post-content pre[class*="lang-"] {
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 244, 237, 0.38) rgba(255, 255, 255, 0.06);
}

.post-content pre[class*="language-"]::-webkit-scrollbar,
.post-content pre[class*="lang-"]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.post-content pre[class*="language-"]::-webkit-scrollbar-track,
.post-content pre[class*="lang-"]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.post-content pre[class*="language-"]::-webkit-scrollbar-thumb,
.post-content pre[class*="lang-"]::-webkit-scrollbar-thumb {
    background: rgba(248, 244, 237, 0.38);
    border-radius: 999px;
}

/* pre 内 code 重置 */
.post-content pre code,
.post-content pre[class*="language-"] code,
.post-content pre[class*="lang-"] code {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* 行号 */
.post-content pre[class*="language-"].line-numbers,
.post-content pre[class*="lang-"].line-numbers {
    padding-left: 3.8em;
    max-height: 32rem;
}

.post-content .line-numbers .line-numbers-rows {
    top: 16px;
    left: -3.8em;
    border-right: 1px solid color-mix(in srgb, var(--bg-soft) 16%, transparent);
    background: transparent;
}

.post-content .line-numbers-rows>span::before {
    color: color-mix(in srgb, var(--bg-soft) 45%, transparent);
}

/* Prism token 颜色（补充 lang-xxx 选择器，prism.css 只匹配 language-xxx） */
.post-content code[class*="lang-"] .token.comment,
.post-content code[class*="lang-"] .token.prolog,
.post-content code[class*="lang-"] .token.doctype,
.post-content code[class*="lang-"] .token.cdata { color: slategray; }

.post-content code[class*="lang-"] .token.punctuation { color: #999; }

.post-content code[class*="lang-"] .token.property,
.post-content code[class*="lang-"] .token.tag,
.post-content code[class*="lang-"] .token.boolean,
.post-content code[class*="lang-"] .token.number,
.post-content code[class*="lang-"] .token.constant,
.post-content code[class*="lang-"] .token.symbol,
.post-content code[class*="lang-"] .token.deleted { color: #905; }

.post-content code[class*="lang-"] .token.selector,
.post-content code[class*="lang-"] .token.attr-name,
.post-content code[class*="lang-"] .token.string,
.post-content code[class*="lang-"] .token.char,
.post-content code[class*="lang-"] .token.builtin,
.post-content code[class*="lang-"] .token.inserted { color: #690; }

.post-content code[class*="lang-"] .token.operator,
.post-content code[class*="lang-"] .token.entity,
.post-content code[class*="lang-"] .token.url { color: #9a6e3a; }

.post-content code[class*="lang-"] .token.atrule,
.post-content code[class*="lang-"] .token.attr-value,
.post-content code[class*="lang-"] .token.keyword { color: #07a; }

.post-content code[class*="lang-"] .token.function,
.post-content code[class*="lang-"] .token.class-name { color: #DD4A68; }

.post-content code[class*="lang-"] .token.regex,
.post-content code[class*="lang-"] .token.important,
.post-content code[class*="lang-"] .token.variable { color: #e90; }

.post-content code[class*="lang-"] .token.important,
.post-content code[class*="lang-"] .token.bold { font-weight: bold; }

.post-content code[class*="lang-"] .token.italic { font-style: italic; }

.post-content code[class*="lang-"] .token.entity { cursor: help; }

/* perfect-scrollbar 始终显示滚动条 */
.ps__rail-y { opacity: 0.6 !important; }
.ps:hover > .ps__rail-y { opacity: 0.8 !important; }

/* === 归档页 === */
.page-archives { padding: 10px 0; }
.arc-year { font-size: 18px; font-weight: 700; color: #333; margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #e8e8e8; }
.arc-year:first-child { margin-top: 0; }
.arc-list { list-style: none; padding: 0; margin: 0; }
.arc-item { display: flex; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed #f0f0f0; }
.arc-date { font-size: 13px; color: #999; min-width: 50px; font-family: 'Courier New', monospace; }
.arc-link { font-size: 15px; color: #333; text-decoration: none; margin-left: 12px; transition: color .15s; }
.arc-link:hover { color: #1a73e8; }
.arc-total { margin-top: 20px; font-size: 13px; color: #999; text-align: center; }


/* === 友链页 === */
.page-links { padding: 10px 0; }
.links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 0;
}
.link-card {
	display: flex;
	align-items: center;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	transition: box-shadow .2s, transform .15s;
}
.link-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
	transform: translateY(-1px);
}
.link-icon {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.link-icon span {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
.link-info {
	margin-left: 12px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.link-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.link-url {
	font-size: 11px;
	color: #999;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* === 目录树滚动 === */
#secondary {
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
}

/* === 目录树滚动条 === */
#secondary {
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,.18) transparent;
}

/* === 目录树当前文章高亮 === */
.tree-article.active > a {
	color: #099 !important;
	font-weight: 700 !important;
}
.tree-article.active::before {
	background: #099;
	border-color: #099;
}

/* === 目录树滚动条（无箭头） === */
#secondary {
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,.18) transparent;
}
#secondary::-webkit-scrollbar {
	width: 4px;
	background: transparent;
}
#secondary::-webkit-scrollbar-button {
	display: none;
	height: 0;
	width: 0;
}
#secondary::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,.18);
	border-radius: 4px;
}
#secondary::-webkit-scrollbar-track {
	background: transparent;
}

/* === 目录树当前文章高亮 === */
.tree-article.active > a {
	color: #099 !important;
	font-weight: 700 !important;
}
.tree-article.active::before {
	background: #099;
	border-color: #099;
}

/* === 目录树分类过滤 === */
.catalog-header > span {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}
.catalog-filter {
	display: flex;
	gap: 6px;
}
.filter-btn {
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
	cursor: pointer;
	color: #666;
	background: #f5f5f5;
	transition: all .15s;
}
.filter-btn:hover {
	background: #e8e8e8;
}
.filter-btn.active {
	background: #099;
	color: #fff;
}

/* === 目录树搜索框 === */
.catalog-search {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}
.search-input {
	flex: 1;
	height: 28px;
	padding: 0 6px;
	border: 1px solid #ddd;
	border-radius: 14px;
	font-size: 11px;
	color: #333;
	background: #fff;
	outline: none;
	transition: border-color .15s;
}
.search-input:focus {
	border-color: #099;
}
.search-input::placeholder {
	color: #bbb;
}
.search-icon {
	margin-left: 4px;
	font-size: 14px;
	cursor: pointer;
	opacity: 0.6;
}

/* === 目录树头部 === */
.catalog-header {
	padding: 12px 16px 8px;
	border-bottom: 1px solid #e8e0d4;
	margin-bottom: 4px;
}
.catalog-title {
	font-size: 16px;
	font-weight: 600;
	color: #444;
	letter-spacing: 6px;
	margin-bottom: 8px;
}
.catalog-search {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}
.search-input {
	flex: 1;
	height: 20px;
	padding: 0 6px;
	border: 1px solid #ddd;
	border-radius: 13px;
	font-size: 11px;
	color: #333;
	background: #fff;
	outline: none;
	transition: border-color .15s;
}
.search-input:focus {
	border-color: #099;
}
.search-input::placeholder {
	color: #bbb;
}
.search-icon {
	margin-left: 4px;
	font-size: 13px;
	cursor: pointer;
	opacity: 0.6;
}
.catalog-filter {
	display: block;
	margin-top: 8px;
}
.filter-btn {
	font-size: 11px;
	padding: 2px 7px;
	border-radius: 10px;
	cursor: pointer;
	color: #666;
	background: #f0ece4;
	transition: all .15s;
}
.filter-btn:hover {
	background: #e4ddd2;
}

/* === 搜索框 + 按钮（一行） === */
.catalog-search-row {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
}
.catalog-search-row input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 30px;
	padding: 0 12px;
	border: 1px solid #ddd5c7;
	border-radius: 15px;
	font-size: 12px;
	color: #333;
	background: #fffdf8;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.catalog-search-row input[type="search"]:focus {
	border-color: #8b6b4a;
	box-shadow: 0 0 0 2px rgba(139,107,74,.12);
}
.catalog-search-btn {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 50%;
	background: #8b6b4a;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
.catalog-search-btn:hover { background: #6b4a28; }

/* === 文章分类列表（搜索下方、年份上方） === */
.catalog-subtitle {
	font-size: 13px;
	font-weight: 600;
	color: #8b6b4a;
	letter-spacing: 2px;
	margin: 12px 0 6px;
	padding-left: 2px;
}
.catalog-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.catalog-cat-item {
	margin: 0;
}
.catalog-cat-item a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	font-size: 12px;
	color: #555;
	background: #f0ece4;
	border-radius: 12px;
	transition: all .15s;
}
.catalog-cat-item a:hover {
	background: #8b6b4a;
	color: #fff;
}
.catalog-cat-count {
	font-size: 10px;
	color: #aaa;
	background: rgba(0,0,0,.05);
	border-radius: 8px;
	padding: 0 5px;
	line-height: 16px;
	min-width: 16px;
	text-align: center;
}
.catalog-cat-item a:hover .catalog-cat-count {
	color: #f3e8d8;
	background: rgba(255,255,255,.18);
}

/* === 放在唱片机上的唱片：确保在唱片机之上显示 === */
.vp-record.vp-on-turntable {
	z-index: 30 !important;
}
/* 可拖拽唱片默认层级低于唱片机，避免遮挡其他内容 */
.vp-record { z-index: 6; }
.filter-btn.active {
	background: #099;
	color: #fff;
}

/* ============================================================
 * 品味苏州视频（aboutsuzhou 模板）
 * ============================================================ */
.diary-suzhou-video {
    margin: 14px 0 20px;
    border: 1px solid #e3d6bf;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1712;
    box-shadow: 0 2px 12px rgba(80,50,20,.12);
}
.diary-suzhou-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
}

/* ============================================================
 * 手风琴组件（品味苏州 / 通用）：分类可折叠，项下可展开描述
 * 默认全部折叠；点击分类标题展开该项列表，点击条目展开描述
 * ============================================================ */
.diary-accordion { margin: 12px 0 18px; font-size: 14px; }

.da-cat {
    border: 1px solid #e3d6bf;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(255, 252, 245, .72);
}

.da-cat-h {
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: #f3ead7;
    color: #6b4423;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
}
.da-cat-h:hover { background: #ecdfc4; }

.da-cat-p { display: none; padding: 4px 8px 8px; }

.da-item { border-top: 1px dashed #e6dcc6; }
.da-item:first-child { border-top: 0; }

.da-item-h {
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: #4a3826;
    padding: 10px 8px 10px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
}
.da-item-h:hover { color: #8b5a2b; }

.da-item-p {
    display: none;
    padding: 2px 16px 14px 28px;
    color: #5a5346;
    line-height: 1.85;
    font-size: 13px;
}
.da-item-p p { margin: 0 0 8px; }
.da-item-p img { max-width: 100%; height: auto; border-radius: 4px; margin: 4px 0; }
/* 子项文字介绍：首字缩进、两端对齐，与图片区分 */
.da-item-desc {
    margin: 4px 0 12px !important;
    padding: 10px 12px;
    background: #fbf6ea;
    border-left: 3px solid #c9a86a;
    border-radius: 0 4px 4px 0;
    color: #5a5346;
    font-size: 13px;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-ideograph;
    text-indent: 2em;
}
.da-item-desc:empty { display: none; }
.da-item-img { text-align: center; margin: 6px 0 12px; }
.da-item-img img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 10px rgba(80,50,20,.18); }

/* ============ 友情链接（白色卡片网格，参照 t.593200.xyz/links.html） ============ */
.page-links {
    padding: 8px 0;
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
}
.link-card {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8e0d0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: box-shadow .2s ease, transform .15s ease;
}
.link-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}
.link-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.link-icon span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.link-info {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.link-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-url {
    font-size: 10px;
    color: #aaa;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端：友链卡片改为 2 列 */
@media (max-width: 600px) {
    .links-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .link-card { padding: 12px 14px; }
    .link-icon { width: 36px; height: 36px; }
    .link-icon span { font-size: 15px; }
}

.da-arrow {
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 9px solid #b08a4f;
    transition: transform .25s ease;
    flex: 0 0 auto;
    margin-left: 12px;
}
.da-cat.open .da-arrow,
.da-item.open .da-arrow { transform: rotate(90deg); }

/* 展开态：折叠面板默认 display:none，父级加 .open 后显示（两级可独立展开） */
.da-cat.open > .da-cat-p { display: block; }
.da-item.open > .da-item-p { display: block; }

/* 移动端：内容区变单栏，手风琴适当收窄间距 */
@media (max-width: 767px) {
    .da-cat-h { font-size: 15px; letter-spacing: 2px; padding: 10px 12px; }
    .da-item-h { padding: 9px 6px 9px 12px; }
    .da-item-p { padding: 2px 12px 12px 20px; }
}

/* ============================================================
 * 图片粘贴特效（胶带/便签纸效果）
 * 文章内图片和手风琴配图统一应用，模拟照片贴在日记本上
 * ============================================================ */
.post-content > p > img,
.post-content > figure > img,
.post-content > .wp-block-image img,
.post-content > .wp-block-gallery img,
.da-item-img img {
    display: block;
    padding: 10px 10px 28px 10px;       /* 底部留白给胶带 */
    background: #fffdf8;
    border: 1px solid #e0d6c4;
    border-bottom: none;                  /* 胶带区域无下边框 */
    box-shadow:
        0 2px 12px rgba(80,50,20,.13),
        0 1px 3px rgba(0,0,0,.06);
    position: relative;
    transform: rotate(-0.6deg);
    transition: transform .25s ease, box-shadow .25s ease;
    margin: 14px auto;
}
/* 偶数图片反向倾斜，增加自然感 */
.post-content > p > img:nth-of-type(even),
.post-content > figure:nth-of-type(even) > img,
.post-content > .wp-block-image:nth-of-type(even) > img {
    transform: rotate(0.5deg);
}
.da-item-img img { transform: rotate(-0.4deg); margin: 8px auto 16px; }

/* 悬停：归正 + 轻微放大 + 加深阴影 */
.post-content > p > img:hover,
.post-content > figure > img:hover,
.post-content > .wp-block-image img:hover,
.post-content > .wp-block-gallery img:hover,
.da-item-img img:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 6px 24px rgba(80,50,20,.18),
        0 2px 6px rgba(0,0,0,.08);
}

/* 胶带装饰条（底部居中，::after 伪元素） */
.post-content > p > img::after,
.post-content > figure > img::after,
.post-content > .wp-block-image img::after,
.post-content > .wp-block-gallery img::after,
.da-item-img img::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%) rotate(-1.5deg);
    width: 70px; height: 22px;
    background: linear-gradient(
        135deg,
        rgba(230,210,170,.40) 0%,
        rgba(215,195,155,.45) 35%,
        rgba(225,205,165,.38) 65%,
        rgba(235,215,175,.42) 100%
    );
    border-radius: 2px;
    box-shadow:
        0 1px 3px rgba(60,40,15,.12),
        inset 0 0 0 1px rgba(255,255,255,.15);
}
/* 手风琴内的胶带稍窄 */
.da-item-img img::after {
    width: 56px; height: 18px;
}

/* 移动端：减小旋转角度和胶带尺寸 */
@media (max-width: 767px) {
    .post-content > p > img,
    .post-content > figure > img,
    .post-content > .wp-block-image img,
    .post-content > .wp-block-gallery img,
    .da-item-img img {
        transform: rotate(-0.3deg);
        padding: 7px 7px 22px 7px;
        margin: 10px auto;
    }
    .post-content > p > img:nth-of-type(even),
    .post-content > figure:nth-of-type(even) > img,
    .post-content > .wp-block-image:nth-of-type(even) > img {
        transform: rotate(0.25deg);
    }
    .da-item-img img { transform: rotate(-0.2deg); }
    .da-item-img img::after { width: 44px; height: 14px; }
    .post-content > p > img::after,
    .post-content > figure > img::after,
    .post-content > .wp-block-image img::after,
    .post-content > .wp-block-gallery img::after {
        width: 54px; height: 17px;
    }
}


/* ============================================================
 * Lightbox 图片灯箱（自写轻量方案，无需第三方库）
 * 点击文章/手风琴内任意图片 → 全屏弹层查看大图
 * 支持左右切换、键盘 ESC 关闭、点击遮罩关闭
 * ============================================================ */

.diary-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(30,20,10,.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .2s ease;
    cursor: zoom-out;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.diary-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.diary-lightbox-box {
    position: relative;
    max-width: 88vw;
    max-height: 88vh;
    background: #fff;
    padding: 14px;
    padding-bottom: 46px;          /* 底部留 caption 空间 */
    border-radius: 6px;
    box-shadow:
        0 12px 48px rgba(0,0,0,.42),
        0 0 0 1px rgba(255,255,255,.2) inset,
        0 0 0 4px rgba(180,150,110,.25);   /* 画框式边框 */
    animation: lbZoomIn .25s ease-out both;
}

@keyframes lbZoomIn {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.diary-lightbox-box > img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 3px;
    border: none;
}

/* 图片说明文字（底部居中） */
.diary-lightbox-caption {
    position: absolute;
    bottom: 8px; left: 14px; right: 14px;
    text-align: center;
    color: #998a72;
    font-size: 12px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 关闭按钮（右上角圆形） */
.diary-lightbox-close {
    position: absolute;
    top: -14px; right: -14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(55,35,18,.78);
    color: #f0e6d8;
    border: 2px solid rgba(255,255,255,.55);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    z-index: 2;
}
.diary-lightbox-close:hover {
    background: rgba(80,50,25,.92);
    transform: scale(1.08) rotate(90deg);
}

/* 左右切换箭头 */
.diary-lightbox-prev,
.diary-lightbox-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    color: #f0e6d8;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s;
    padding: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
    user-select: none;
}
.diary-lightbox-prev { left: -22px; }
.diary-lightbox-next { right: -22px; }
.diary-lightbox-prev:hover,
.diary-lightbox-next:hover {
    background: rgba(255,255,255,.32);
    transform: translateY(-50%) scale(1.06);
}

/* 单图时隐藏切换箭头 */
.diary-lightbox-box.single .diary-lightbox-prev,
.diary-lightbox-box.single .diary-lightbox-next {
    display: none;
}

/* 移动端：缩小灯箱尺寸，箭头内缩 */
@media (max-width: 600px) {
    .diary-lightbox-box { max-width: 94vw; max-height: 90vh; padding: 10px; padding-bottom: 38px; }
    .diary-lightbox-box > img { max-height: 68vh; }
    .diary-lightbox-prev { left: 4px; width: 36px; height: 36px; font-size: 20px; }
    .diary-lightbox-next { right: 4px; width: 36px; height: 36px; font-size: 20px; }
    .diary-lightbox-close { width: 28px; height: 28px; font-size: 14px; top: -10px; right: -10px; }
}

/* =========================================================
   v1.2.12 首页文章列表布局
   标题 + 作者/日期/分类 全宽显示
   摘要行：左侧小缩略图 + 右侧内容并排
   ========================================================= */

/* 外层包裹：普通块级容器 */
.post-entry-wrap {
    /* 无特殊定位，子元素自然排列 */
}

/* 列表内标题：轻量化，不抢眼 */
.post-entry-wrap > .post-title {
    border-top: none;
    border-bottom: 1px solid #e3d8c2;
    margin-bottom: 4px;
    padding: 4px 0 8px 0;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.35;
}
.post-entry-wrap > .post-title a { color: #5a4a32; text-decoration: none; }
.post-entry-wrap > .post-title a:hover { color: #a07848; }

/* 列表元信息行：允许折行、垂直居中对齐头像 */
.post-entry-wrap > .post-meta {
    height: auto;
    line-height: 1.7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
    font-size: 13px;
    margin-bottom: 8px;
}
.post-entry-wrap > .post-meta li {
    float: none;
    padding-right: 0;
    color: #9a8c70;
}
/* 列表内的作者头像（id=alage）：小圆头像，清晰不模糊 */
.post-entry-wrap > .post-meta li#alage { line-height: 0; }
.post-entry-wrap > .post-meta li#alage img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #f0e6d6;
    vertical-align: middle;
    margin: 0 2px;
}

/* ====== 摘要行：[小缩略图] [摘要+标签] 并排 ====== */
.post-excerpt-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* 左侧缩略图：小巧拍立得风格 */
.post-thumb {
    flex: 0 0 140px;
    width: 140px;
    display: block;
    border: 4px solid #fff;
    outline: 1px solid #e3d8c2;
    box-shadow: 0 2px 10px rgba(80,50,20,.14);
    border-radius: 3px;
    overflow: hidden;
    background: #f3ecdc;
    transform: rotate(-1deg);
    transition: transform .22s ease, box-shadow .22s ease;
}
.post-thumb:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 4px 16px rgba(80,50,20,.22);
}
.post-thumb img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: cover;
}

/* 右侧摘要主体 */
.post-excerpt-body {
    flex: 1 1 auto;
    min-width: 0;
}

/* 摘要去掉首行缩进，紧凑排版 */
.post-excerpt-body .post-content { margin: 0; }
.post-excerpt-body .post-content p {
    text-indent: 0;
    padding: 0 0 .4em 0;
    line-height: 1.75;
    color: #555;
    font-size: 14px;
}
.post-excerpt-body .tags { margin-top: 6px; }
.post-excerpt-body .read-more {
    display: inline-block;
    color: #a07848;
    font-size: 13px;
    text-decoration: none;
}
.post-excerpt-body .read-more:hover { text-decoration: underline; }

/* 单篇文章与列表通用的作者头像（id=alage）：统一圆角+描边，避免模糊 */
#alage img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #f0e6d6;
    vertical-align: middle;
}
/* 单篇元信息行：放开固定高度，容纳更大的清晰头像，避免裁切/重叠 */
.single .post-meta {
    height: auto;
    line-height: 40px;
}

/* 移动端：摘要行缩略图换行到上方 */
@media (max-width: 640px) {
    .post-excerpt-row { flex-direction: column; gap: 8px; }
    .post-thumb { width: 100%; flex-basis: auto; transform: none; }
    .post-thumb img { height: 160px; }
}

/* =========================================================
   默认缩略图 + 评论表情
   ========================================================= */

/* ====== 默认缩略图（无特色图时显示苏州书法图）====== */
.post-thumb-default {
    background: #f8f3e8 !important;
    border-color: #e3d8c2 !important;
}
.post-thumb-default img {
    opacity: 0.85;
    transition: opacity .25s ease;
}
.post-thumb-default:hover img {
    opacity: 1;
}

/* ====== 评论表情（WP Smilies）====== */
.comment-content img.wp-smiley,
.comment-content img.smilie {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    height: 22px;
    width: auto;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
