@charset "utf-8";
/*
Engine: typecho
Theme Name: PureLoveForTypecho
Time: 2026年8月13日
Author: 秋記
Author URI: http://www.zhyok.cn/
*/
body, h1, h2, h3, h4, h5, h6, hr, blockquote, dl, p, dt, dd, ul, ol, li, pre, form, fieldset, lengend, button, input, textarea, th, td {
    margin: 0;
    padding: 0
}
/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
h4 {
    border-bottom: 1px solid gray
}
h5 {
    border-bottom: 1px solid #a9a9a9;
    color: #888787
}
h4, h5 {
    margin-bottom: 1em
}
article.posts p {
    line-height: 1.5rem
}
body, button, input, select, textarea, th {
    color: #8b8b8b;
    background-color: #FFF;
    font-size: 12px;
    line-height: 1.5em;
    font-family: Arial, Tahoma, "hiragino sans gb";
    Helveticacolor: #555;
    line-height: 23px;
    letter-spacing: 1px
}
ol, ul, li {
    cursor: default;
    list-style: none
}
img {
    border: 0;
    height: auto;
    width: auto
}
/* 幻灯片 */
.mySliderBar {
    position: relative;
    width: 100%;
    margin-bottom: 15px
}
.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 5px #ddd
}
.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
    max-height: 250px
}
.rslides li:first-child {
    position: relative;
    display: block;
    float: left
}
.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0
}
.slide_nav {
    position: absolute;
    -webkit-tap-highlight-color: transparent;
    top: 52%;
    left: 0;
    opacity: .3;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: transparent url(../images/sliderctrl.gif) no-repeat left top;
    margin-top: -45px;
    display: none
}
.slide_nav:active {
    opacity: 1
}
.slide_nav.next {
    left: auto;
    background-position: right top;
    right: 0
}
input[type="button"], input[type='submit'] {
    cursor: pointer
}
button {
    cursor: pointer
}
#article-body table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
#article-body table td,
#article-body table th {
    border: 1px solid #DDD;
    padding: 5px 8px;
    word-break: break-all;
}
#article-body table th {
    text-align: left;
    background: #EEE;
    color: #444;
}
a:hover img {
    opacity: .8;
    background-color: #fff
}
input {
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    margin: 4px auto 0;
    padding: 0 4px;
    display: inline-block;
    color: #666;
    background: #fff;
    outline: 0;
    border: 1px solid #ddd;
    border-bottom: 1px solid #b7b7b7;
    border-radius: 2px
}
textarea, button {
    outline: 0;
    padding: 2px;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
    position: relative;
    margin-bottom: 0;
    font-size: 14px;
    vertical-align: top;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    transition: color .2s ease .2s, background-color .2s ease .2s, border-color .2s ease .2s, box-shadow .2s ease .2s;
    -moz-transition: color .2s ease .2s, background-color .2s ease .2s, border-color .2s ease .2s, box-shadow .2s ease .2s;
    -webkit-transition: color .2s ease .2s, background-color .2s ease .2s, border-color .2s ease .2s, box-shadow .2s ease .2s;
    -o-transition: color .2s ease .2s, background-color .2s ease .2s, border-color .2s ease .2s, box-shadow .2s ease .2s
}
blockquote {
    margin: 15px auto;
    border: 1px solid #d6d6d6;
    border-left-width: 3px;
    padding: 10px 15px 5px;
    background-color: #fdfdfd;
    font-size: 12px
}
body {
    font: 12px/20px 'MicrosoftYaHei', '微软雅黑', Tahoma, Verdana;
    word-break: break-word;
    color: #444;
    /* 水墨背景：整幅铺满视口、固定不随滚动（原 bg.jpg 是平铺纹理，已保留未删） */
    background-color: #f5f1e8;
    background-image: url(../images/bg-shuimo.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    background-attachment: fixed
}
blockquote {
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    padding: 5px 10px;
    background: transparent
}
blockquote:hover {
    border-color: red
}
a {
    text-decoration: none;
    color: #6e6c6c
}
a:hover {
    color: #ff8c83
}
::selection {
    background: #8999c4;
    text-shadow: none;
    color: #fff
}
::-webkit-scrollbar {
    width: 10px;
    height: 8px
}
::-webkit-scrollbar-button {
    display: none
}
::-webkit-scrollbar-track {
    background-color: black
}
::-webkit-scrollbar-track-piece {
    background: #FFF
}
::-webkit-scrollbar-thumb {
    background-color: #c0c0c0
}
::-webkit-scrollbar-thumb:hover {
    background-color: #3b3b3b
}
::-webkit-scrollbar-corner {
    background-color: #535353
}
::-webkit-scrollbar-resizer {
    background-color: #ff6e00
}
.clearfix {
    clear: both
}
.left {
    float: left
}
.right {
    float: right
}
.clearfix:after, .widgetbox:after, .pagenavi:after, .coms_underline:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}
.clearfix:after, .widgetbox:after, .pagenavi:after, .coms_underline:after {
    *+height: 1%
}
#container {
    width: 1000px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}
#content {
    width: 700px;
    margin: 15px 20px 0 0;
    float: left;
    display: inline;
    _width: 700px
}
#bak_top {
    width: 36px;
    height: 114px;
    background: url(../images/gotop.png);
    bottom: 30%;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    right: 50%;
    margin-right: -560px;
    position: fixed;
    display: none
}
#navbar .inner {
    width: 1000px;
    margin: 0 auto
}
.footer .inner {
    width: 1000px;
    margin: 0 auto
}
.header {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden
}
#navbar {
    height: 90px
}
#caption {
    float: left;
    padding: 25px 50px 0 0
}
#title a {
    text-decoration: none;
    color: #FFF;
    width: 250px;
    height: 30px;
    overflow: hidden;
    display: block;
}
#title a img {
    max-height: 30px;
    background: none !important;
}
#navigation {
    width: 1000px;
    margin: 5px auto;
    border-radius: 4px;
    overflow: visible;    /* 原为 hidden：会裁掉下拉开出来的部分，改 visible */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* 2026-10-13：导航条底色换成侧栏卡片标题（.sidebar h3）那套暖米渐变，两处同一个色。
       侧栏标题是 #f5f0e6 → #fdfaf4（25px 处收成浅色），这里照搬，条高 35px 比它略矮，观感一致。
       原来这行是 background-repeat: repeat-x —— 配一张早就不存在的背景图，
       所以导航条一直是透明的，看到的那点米色其实是它透出来的 body 水墨图。 */
    background: linear-gradient(to bottom, #f5f0e6, #fdfaf4 25px);
}
#menus li {
    display: inline;
    list-style: none
}
#menus li a {
    display: block;
    color: #382e1f;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    float: left;
    padding: 0 10px
}
#menus li a:hover {
    color: #ff8c83
}
#menus li.current-menu-parent > a, #menus li.current-menu-item > a {
    height: 37px;
    line-height: 37px;
    margin: -3px 0 -4px;
    border: solid #CCC;
    font-weight: 700;
    border-width: 1px 1px 0;
    position: relative
}
#menus li ul.sub-menu li a, ul.sub-menu li.current-menu-item > a {
    padding: 0 12px !important;    /* 与下拉项内边距保持一致 */
}
.mynav ul {
    margin: 0;
    padding: 0 8px;
    list-style: none
}
.mynav li {
    float: left;
    line-height: 21px;
    padding: 0;
    vertical-align: middle
}
.mynav li a:hover {
    color: #ff8c83;
    text-decoration: none
}
/* ==== 「分类」下拉（stuit.cn 风格改版 2026-09-04）====
   模式来自 stuit.cn：下拉底色 = 主题色(红)、白字、淡入+下移动画、
   项宽随文字自适应、hover 深色半透明底、无分隔线、箭头 hover 旋转
   注意：选择器必须带 #menus 前缀——主题原有 #menus li { display:inline } 和
   .mynav li { float:left } 优先级压得住普通类选择器，不带 ID 前缀会被打回横排 */
#menus li.menu-item {
    position: relative;    /* 下拉的定位锚点：sub-menu 相对「分类」这一项定位 */
    display: block;
    float: left;
    height: 35px;
}
#menus .sub-menu {
    display: block;
    margin: 0;
    padding: 6px 0;
    width: auto;
    min-width: 105px;
    text-align: left;
    position: absolute;
    left: 0;
    top: 35px;                /* 紧贴「分类」项下方（li 高 35px） */
    border-radius: 0 0 2px 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    background-color: rgba(248, 248, 248, 0.78);    /* 半透明淡灰底：更淡、更透（用户指定） */
    z-index: 99;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    /* 收起时 visibility 延迟 0.35s，留出淡出动画时间，也让鼠标跨缝隙时不会瞬间消失 */
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
/* 展开只看 :hover —— 桌面端鼠标放上展开、移开收起。
   2026-10-11 删掉了原来的 `.menu-item.open > .sub-menu` 这条：
   之前 JS 里点击会给 li 加 .open，加完就"钉住"不收（用户反馈的 bug）；
   现在点击不再写 .open，这条规则留着也没人触发，不如去掉免得日后误改回来。 */
#menus .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease, visibility 0s;
}
#menus .sub-menu li {
    float: none;            /* 压掉 .mynav li 的 float:left */
    display: block;         /* 压掉 #menus li 的 display:inline（横排元凶） */
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: left;
    font-family: 微软雅黑, Arial;
    color: #444;            /* 淡灰底上用深色字 */
    text-shadow: none;
    margin: 0;
    padding: 0;
}
#menus .sub-menu li a {
    display: block;
    float: none;            /* 压掉 #menus li a 的 float:left——浮动会让 a 缩成文字宽，红底铺不到边 */
    margin: 0;
    padding: 0 12px;        /* 左右各 12px，文字贴近左侧 */
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: left;       /* 文字左对齐（用户指定） */
    color: #444;            /* 淡灰底上用深色字 */
    white-space: nowrap;      /* stuit：项宽随文字自适应，不换行 */
    font-size: 14px;
}
#menus .sub-menu li a:hover {
    color: #fff;
    background-color: #FF7F7C;    /* 悬浮项：主题红底（用户指定） */
    text-decoration: none;
}
/* 「分类」前的小箭头：hover 时旋转 90° 变朝下（呼应 stuit 的箭头动效） */
#menus .menu-item > a.sub-menu-click .fa-chevron-right {
    transition: transform .35s ease;
}
#menus .menu-item:hover > a.sub-menu-click .fa-chevron-right {
    transform: rotate(90deg);
}
.navsearch {
    display: block;
    overflow: hidden;
    width: 215px;
    height: 28px;
    float: right;
    margin: 3px 5px
}
.navweather {
    float: right;
    display: flex;
    align-items: center;
    height: 25px;
    margin: 5px 6px 0 0;
    line-height: 25px;
}
.navweather .wb-weather-widget {
    height: 25px;
    line-height: 25px;
    vertical-align: bottom;
}
#searchbtn {
    font-family: Roboto, 微软雅黑;
    font-size: 15px;
    font-weight: 700;
    height: 28px;
    width: 80px;
    line-height: 26px;
    float: right;
    border-width: 0;
    margin: 0;
    padding: 0;
    /* 暖米底 + 暖边：原来是纯白 #fff + 冷灰 #DDD，压在米色水墨背景上发白刺眼
       （2026-10-13 用户指出「跟整体背景不搭」） */
    background: #eae0d0;
    border: 1px solid #dbcfbb;
    color: #5c5347
}
.searchtext {
    width: 120px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    margin: auto 0;
    padding: 0 4px;
    display: inline-block;
    color: #6b6357;
    background: #fdfaf3;
    outline: 0;
    border: 1px solid #e2d9cb;
    border-bottom: 1px solid #d3c8b6;
    border-radius: 2px
}
.pagenavi {
    overflow: hidden;
    padding-top: 10px;
    margin: 10px 30px;
}
.pagenavi {
    padding-top: 0
}
.pagenavi a, .pagenavi span, .pagenavi .dots{
    padding: 5px 12px;
    color: #666;
    border: 1px solid #ddd;
    display: block;
    margin-right: 3px;
    float: left;
    border-radius: 2px;
    box-shadow: 1px 1px 2px #eee;
    border-color: #ddd #d2d2d2 #d2d2d2 #ddd;
    display: inline;
    background: #fff
}
.pagenavi li.current a, .pagenavi a:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
    box-shadow: inset 0 1px 2px #bbb
}
.pagenavi a:active {
    box-shadow: inset 0 1px 2px #bbb
}
.posts {
    position: relative;
    padding: 5px 10px;
    list-style: none;
    margin-bottom: 15px;
    height: 186px;
    overflow: hidden;
    width: 680px;
    _width: 680px;
    /* 2026-10-13：文章卡片底色改为 #FBFAF7 —— 取自 vind.ink（风·墨）的 CSS 变量 --bg-card，
       也就是他文章正文用的那个暖白。原来的纯白 #fff 偏冷，这个略暖一档
       （R-4 G-5 B-8，蓝通道降得最多），跟水墨背景的暖调子更贴。 */
    background: #FBFAF7;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px #ddd;
    -moz-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;
    _border: 1px dashed #ddd
}
.label {
    position: relative;
    display: inline-block;
    padding: 4px;
    line-height: 14px;
    background: #fa8072;
    vertical-align: top;
    white-space: nowrap;
    border-radius: 1px;
    text-shadow: none;
    color: #fff;
    margin: 10px 0 0 0
}
.label:empty {
    display: none
}
.label:hover {
    background: #ff8c83
}
.label a, .label a:hover {
    color: #fff !important;
    font-weight: 600
}
.label-arrow {
    position: absolute;
    top: 7px;
    right: -4px;
    vertical-align: top;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid #ff8c83;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    content: ""
}
.posts h2 {
    display: inline-block;
    vertical-align: top;
    margin: 6px 2px;
    font-size: 18px;
    padding: 5px 0 0 2px;
    height: 24px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 80%;
}
.posts h2 a {
    color: #333;
    font-weight: 600;
    border-bottom: 0 !important
}
.posts h2 i {
    font-size: 22px;
    display: inline;
    float: left;
    color: #535353
}
.posts h2 a:hover {
    color: #2980b9
}
.posts div.entry-meta {
    margin-left: 47px
}
.postspicbox {
    float: left;
    width: 140px;
    height: 100px;
    margin: 2px 10px 8px 0;
    border: 1px dashed #ddd;
    overflow: hidden;
}
.postscontent {
    text-indent: 2em;
    padding-bottom: 12px;
}
.poststags {
    padding: 5px 0
}
.poststags a {
    box-shadow: 1px 1px 0 #f6f6f6;
    background-image: -webkit-linear-gradient(top, #fff, #fbfbfb);
    background-color: #e4e7ec;
    border-radius: 2px 2px 2px 2px;
    color: #90939a;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin: 5px 5px 5px 0;
    padding: 4px 8px;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    text-transform: uppercase
}
.poststags a:hover {
    background: #fff;
    border-color: #ccc;
    color: #444
}
#article {
    _width: 710px
}
#article {
    /* 同上：正文容器与首页文章卡片统一用 vind.ink 的 --bg-card 色 #FBFAF7 */
    background: #FBFAF7;
    padding: 10px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px #ddd;
    -moz-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;
    _border: 1px dashed #ddd;
    overflow: hidden
}
#article h1 {
    margin: 8px 0;
    font-size: 20px;
    padding: 5px 0 10px 0;
    border-bottom: 1px solid #ececec;
    text-align: center;
    overflow: hidden;
    width: 100%;
    line-height: 1.5em;
}
.entry-meta {
    clear: both;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px #eee solid;
    color: #a9a9a9;
    font-size: 11px;
    line-height: 15px
}
.breadcrumb {
    float: right
}
.sidebar {
    color: #333;
    width: 280px;
    float: right
}
.sidebar li {
    list-style: none
}
.sidebar h3 {
    /* 2026-10-13：卡片标题底色由「白 → 浅灰」换成暖米系，跟水墨背景一个调子。
       主体色 #f5f0e6（取自 vind.ink 话题页那份米色），顶部留一档高光 #fdfaf4。
       15:12 按哥哥要求把上下颠倒：深的压在上面、淡的收在下面。 */
    font-size: 14px;
    color: #555;
    padding: 8px 0 8px 0;
    border-bottom: 1px solid #e8dfd0;
    /* 2026-10-13：抹掉标题栏上方那条 5px 白边。那 5px 来自文件末尾
       「h1~h6 { margin: 5px 0 }」这条通用规则，`.widgetbox` 的 overflow:hidden
       又不让它塌陷出卡片，于是就在卡片内部露出一条白底。 */
    margin-top: 0;
    margin-bottom: 7px;
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, EndColorStr='#fdfaf4', StartColorStr='#f5f0e6');
    text-align: center;
    background: -webkit-gradient(linear, left top, left 25, from(#f5f0e6), color-stop(100%, #fdfaf4), to(#fdfaf4));
    background: -moz-linear-gradient(top, #f5f0e6, #fdfaf4 3px, #fdfaf4 15px);
    background: linear-gradient(to bottom, #f5f0e6, #fdfaf4 25px);
    text-shadow: #fffdf9 1px 1px 0;
    border-radius: 5px 5px 0 0
}
.sidebar h3 a {
    color: #3b3b3b;
    line-height: 30px
}
.sidebar h3 a:hover {
    color: #e88888;
    line-height: 30px
}
.widgetbox {
    width: 250px;
    /* 2026-10-13：侧栏卡片底色，与文章卡片统一用 vind.ink 的 --bg-card 色 #FBFAF7
       （原为纯白 #fff）。标题栏 .sidebar h3 仍是上面的暖米渐变，层次不变。 */
    background: #FBFAF7;
    margin: 15px 0 15px 0;
    padding: 8px 12px;
    overflow: hidden;
    _display: inline;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px #ddd;
    -moz-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;
    _border: 1px dashed #ddd
}
.widgetbox {
    width: 100%;
    margin: 15px 0 15px 0;
    padding: 0 0 12px 0
}
.widgetbox li {
    border-bottom: 1px dashed #dedede;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    padding: 7px 0 7px 0;
    position: relative;
    width: 250px;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1;
    margin-left: auto;
    margin-right: auto;
}
.widgetbox li:hover {
    opacity: .5;
    background-color: rgba(221, 217, 233, 0.77)
}
.widgetbox a:hover {
    color: #ff8c83;
}
#aio_swc {
    display: block;
    overflow: hidden;
    margin-right: -1px;
    padding: 8px 20px;
    text-align: center
}
#aio_swc span {
    line-height: 28px;
    padding: 6px 20px;
    text-shadow: 0 0 5px #DDD;
    cursor: pointer;
    color: #999;
    border: 1px solid #DDD;
    margin-right: 5px;
    border-radius: 45px
}
.on {
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, EndColorStr='#ffffff', StartColorStr='#eeeeee');
    background: -webkit-gradient(linear, left top, left 35, from(#eee), color-stop(70%, #fff), to(#fff));
    background: -moz-linear-gradient(top, #eee, #fff 3px, #fff 35px);
    color: #999;
    border: 3px solid #DDD
}
.sidebar .widgetbox ul {
    padding: 0 12px
}
.coms_underline {
    clear: both;
    padding: 0 0 5px 0;
    margin: 16px 0 10px 0;
    color: #333;
    border-bottom: 4px double #ededed;
    font-size: 18px;
    font-weight: normal;
    font-family: Michroma, 'Segoe UI Light', 'Segoe UI', 'Segoe UI WP', 'Microsoft Jhenghei', '微软雅黑', sans-serif, Times;
    _border-bottom: 1px #ddd dotted
}
.comment {
    padding: 15px 0 15px 48px;
    border-bottom: 1px #ddd dotted
}
.coms_main {
    margin-left: 10px
}
.coms_main p {
    font-size: 14px
}
.coms_main p img {
    display: block;
    margin-top: .5em;
    max-width: 90%;
}
.coms_meta {
    color: #999
}
.coms_author {
    margin-right: 10px
}
.coms_author a {
    color: #000;
    font-weight: bold
}
.coms_avatar {
    width: 36px;
    height: 36px;
    float: left;
    margin-left: -48px;
    overflow: hidden;
    _display: inline;
    padding: 3px;
    border: 1px solid #c3c3c3;
    border-radius: 5px
}
.coms_avatar .avatar {
    display: block;
    width: 36px
}
.comment-reply-link {
    margin-left: 6px
}
.depth-1.odd {
    background-color: #fdfdfd
}
.children .comment {
    padding: 10px 10px 10px 52px;
    margin-top: 5px;
    border-top: 2px solid #e6e6e6
}
.children .coms_main p {
    font-size: 12px;
    margin-right: 0
}
.children .coms_avatar {
    margin-left: -42px;
    width: 32px;
    height: 32px
}
.children .coms_avatar .avatar {
    width: 32px;
    height: 32px
}
#comment-author-info {
    height: auto;
    overflow: hidden;
}
#comment-author-info p {
    border-radius: 2px;
    border: #ccc 1px solid;
    position: relative;
    float: left;
    margin-right: 6px;
    margin-bottom: 6px
}
#comment-author-info p:hover, #comment-author-info p.on {
    box-shadow: 0 0 4px #ddd;
    color: #222;
    border-color: #bbb
}
#comment-author-info p:hover label, #comment-author-info p.on label {
    border-color: #bbb
}
#comment-author-info label {
    width: 32px;
    height: 18px;
    line-height: 18px;
    padding: 4px;
    text-align: center;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-right: #ccc 1px solid;
    display: inline-block
}
#comment-author-info p em {
    font-size: 12px;
    position: absolute;
    right: 5px;
    top: -3px;
    font-style: normal
}
#comment-author-info em {
    color: red;
}
#comment-author-info input {
    width: 69%;
    height: 12px;
    line-height: 18px;
    padding: 4px;
    border-radius: 2px;
    border: 0;
    color: #666;
    background: none;
}
#comment {
    margin: 0 0 -5px;
    height: 80px;
    width: 685px;
    background-position: 100% 50%;
    background-repeat: no-repeat no-repeat;
    height: 135px;
    padding: 4px 6px;
    line-height: 20px;
    border: 0;
    width: 98.2%;
    position: relative;
    margin-bottom: -5px;
    color: #444;
    /* background:url(../images/mmmm_6.png);
    background-repeat: no-repeat;
    background-size: 50px auto;
    background-position: 95% 90% */
}
#loading, #error {
    background: #ffc;
    opacity: .88;
    filter: alpha(opacity=88);
    border-top: #ccc 1px solid;
    padding: 2px 8px 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
    width: 100%
}
#loading img, #error img {
    position: relative;
    bottom: 2px;
    margin-right: 3px
}
.subcon {
    text-align: center
}
.subcon .btn {
    width: 100%
}
.subcon .btn {
    cursor: pointer
}
.subcon a {
    color: #999
}
.subcon a:hover {
    color: #333
}
#commentform {
    line-height: 24px
}
/* 页脚 */
.footer {
    display: block;
    background: url(../images/lines.png) repeat;
    color: #333;
    padding: 20px 20px 0 20px;
    line-height: 24px;
    overflow: hidden
}
.footer a {
    color: #333
}
.footer a:hover {
    color: #ff8c83;
}
.footer .fotbox {
    width: 280px;
    min-height: 140px;
    float: left;
    margin: 0 60px 20px 0
}
.footer .fotbox2 {
    width: 320px;
    min-height: 160px;
    float: left
}
.footer .link ul li {
    width: 130px;
    float: left
}
.footer .fotbox h3, .fotbox2 h3 {
    color: #464646;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px
}
.footer .copry {
    opacity: .9;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    width: 1000px;
    margin: 0 auto;
}
#copyright {
    float: left;
    line-height: 36px
}
#mt {
    display: block;
    float: right;
    height: 36px;
    line-height: 36px
}
@-webkit-keyframes load {
    from {
        -webkit-transform: scale(0);
        opacity: 0
    }
    to {
        -webkit-transform: scale(1)
    }
}
@-moz-keyframes load {
    from {
        -moz-transform: scale(0);
        opacity: 0
    }
    to {
        -moz-transform: scale(1)
    }
}
@-webkit-keyframes contentload {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
@-moz-keyframes contentload {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
#tooltip {
    background: #f3f3f3;
    color: #000;
    text-align: center;
    padding: 6px 0;
    position: absolute;
    z-index: 9999;
    display: none;
    border-radius: 3px;
    box-shadow: 0 0 3px #000;
    padding: 3px 8px;
    font-size: 12px;
    text-shadow: none
}
.OMG404 {
    text-align: center;
    margin: 86px 0
}
.OMG404 h2 {
    font-size: 36px;
    line-height: 34px;
    color: #888888;
    font-weight: 700
}
#related ul {
    margin-bottom: 10px;
    height: 66px
}
#related ul li {
    float: left;
    width: 310px;
    background: url("../images/li.png") no-repeat scroll left center transparent;
    padding-left: 20px;
    _display: inline
}
.blogroll li {
    display: block;
    float: left;
    padding: 4px 0;
    width: 49%;
    border: 0;
    cursor: not-allowed
}
.blogroll li:hover {
    background-color: #fff
}
@-webkit-keyframes x-spin {
    0% {
        -webkit-transform: rotateZ(0deg)
    }
    50% {
        -webkit-transform: rotateZ(180deg)
    }
    100% {
        -webkit-transform: rotateZ(360deg)
    }
}
@-moz-keyframes x-spin {
    0% {
        -moz-transform: rotateZ(0deg)
    }
    50% {
        -moz-transform: rotateZ(180deg)
    }
    100% {
        -moz-transform: rotateZ(360deg)
    }
}
@-o-keyframes x-spin {
    0% {
        -o-transform: rotateZ(0deg)
    }
    50% {
        -o-transform: rotateZ(180deg)
    }
    100% {
        -o-transform: rotateZ(360deg)
    }
}
@media screen and (max-width: 1366px) {
    #bak_top {
        right: 50%
    }
}
@media screen and (min-width: 860px) {
    .menu-btn {
        display: none;
    }
    #navigation {
        display: block !important;
    }
}
@media screen and (max-width: 860px) {
    .header, #content, .posts, .pagenavi, #navbar, .inner {
        width: 100%
    }
    #content {
        margin-top: 10px;
    }
    #container {
        width: 100%;
    }
    #navigation {
        width: 98%;
        margin: 5px auto 0;
    }
    .mySliderBar {
        width: 98%;
        margin: 0 auto 10px;
    }
    .menu-btn {
        display: block !important;
    }
    .posts {
        width: 98%;
        padding: 0 0 5px 0;
        min-height: auto;
        height: auto;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto
    }
    .postspicbox, .breadcrumb, .poststags, #related, .header, #bak_top, #navigation {
        display: none;
    }
    .navsearch {
        float: left;
    }
    #menu-menu .sub-menu li {
        text-align: unset;
        font-size: 12px;
    }
    #menu-menu .sub-menu {
        position: unset;
        display: block;
        overflow: unset;
        background: none;
        box-shadow: none;
        height: auto;
        overflow: hidden;
    }
    #menu-menu li {
        width: 100%;
    }
    .postscontent {
        padding-left: 5px;
        padding-right: 5px
    }
    .logo {
        left: -123px
    }
    .footer .inner {
        width: 100%;
    }
    .copyright, .header {
        min-width: 0
    }
    .postscontent {
        text-indent: 0;
    }
    .footer .copry {
        width: 100%;
        text-align: center;
    }
    #copyright, #mt {
        float: none;
        width: 100%;
        height: 100%;
    }
    .sidebar {
        float: none;
        width: 98%;
        margin: 0 auto;
        height: auto;
        overflow: hidden;
    }
    .textwidget li {
        width: 100%;
    }
    .footer .fotbox {
        width: 100%;
        float: none;
        margin: 0;
        min-height: 0;
    }
}
@media screen and (max-width: 640px) {
    .label {
        display: none
    }
    .posts h2 {
        display: block;
        padding: 15px 0 0 14px
    }
    .header {
        display: none;
    }
    #menu-menu li a {
        font-size: 12px;
    }
}
#comment-author-info p {
    width: 99.6%;
}
span.myinfo_pic {
    display: inline;
}
span.myinfo_pic a:hover, span.myinfo_pic span:hover {
    color: #ff8c83;
}
span.myinfo_pic {
    font-size: 14px;
}
.sidebar .widgetbox .description {
    text-align: center;
}
#comments ol.page-navigator {
    clear: both;
    height: auto;
    overflow: hidden;
    margin-top: 12px;
}
#comments .page-navigator li a {
    padding: 5px 12px;
    color: #666;
    border: 1px solid #ddd;
    display: block;
    margin-right: 3px;
    float: left;
    border-radius: 2px;
    box-shadow: 1px 1px 2px #eee;
    background: #fff;
}
#comments .page-navigator li span {
    float: left;
    height: 32px;
    line-height: 29px;
    width: 30px;
    text-align: center;
}
#comments .page-navigator li.current a {
    background: #f5f5f0;
}
.center {
    text-align: center
}
#heart img,
#article .entry-content #heart img {
    height: auto;
}
.cancel-comment a:hover {
    color: #ff8c83;
}
#comments .thread-level-odd, #comments .thread-level-even {
    border-radius: 22px;
    background-color: #ffffff;
}
#comments .thread-level-odd {
    background-color: #f6f6f6;
}
#commentform button {
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    margin: 4px auto 0;
    padding: 0 4px;
    color: #666666;
    border: 1px solid #ddd;
    border-bottom: 1px solid #b7b7b7;
    border-radius: 2px;
}
.coms_main .coms_meta .coms_author .user-agent-icon i {
    color: #ffa099;
    margin: 0 1px;
}
#navbar #caption a {
    display: block;
}
#navbar #caption img {
    width: 160px;
}
/* Logo 不吃正文那条 `a:hover img` 的白底+半透明（2026-10-13 用户指定去掉）：
   138 行那条是给正文里「点图片链接」用的，会连带命中 logo，
   鼠标一放上去就糊一层白底、还淡到 0.8，看着像变白了。这里只针对导航 logo 还原。 */
#navbar #caption a:hover img {
    opacity: 1;
    background-color: transparent
}
#menus .current-menu a {
    color: #ff8c83;
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}
pre {
    display: block;
    padding: 9.5px;
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/*pre code {
    white-space: pre-wrap;
    word-wrap: break-word;
}*/
pre, code {
    background: #f6f6f6;
    font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
    font-size: .92857em;
}
pre {
    padding: 8px;
    overflow: auto;
    max-height: 400px;
}
pre code {
    padding: 3px;
    color: #444;
}
#navbar .site-info {
    text-align: left;
    float: right;
    width: 280px;
    height: 72px;
    margin: 18px 5px 0 0;
}
#navbar .site-info p {
    margin: 8px;
}
#navbar .site-info .title {
    text-align: left;
    font-size: 22px;
}
#navbar .site-info .description {
    text-align: right;
}
#content #heart {
    margin-top: 10px;
}
#tag-cloud-3d {
    position: relative;
    width: 100%;
    /* 2026-10-13：内容高度由 200px 提到 205px（+5px）。
       purelove.js:262 拿 offsetHeight（ch）当球体半径依据，
       加高后标签散布半径同步变大，观感更舒展。 */
    height: 205px;
    margin: 5px auto;
}
#tag-cloud-3d a { position:absolute; text-decoration:none; white-space:nowrap; }
#tag-cloud-3d a:hover {
    color: #e74c3c !important;
    z-index: 100;
}
#content .archive-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 12px;
}
#slider a {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    background-color: #666;
}
.postspicbox img {
    /* 缩略图容器固定 140×100，图片强制铺满：宽度不足的窄图也填满虚线框，
       object-fit:cover 按比例裁掉溢出部分，不变形（替代原来的只设 height:100px） */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#article .entry-content img {
    max-width: 100%;
}
#heart .fa {
    color: #ff8888;
}
#commentform #comment {
    font-family: Michroma, 'Segoe UI Light', 'Segoe UI', 'Segoe UI WP', 'Microsoft Jhenghei', '微软雅黑', sans-serif, Times;
}
.textwidget .commentsArea {
    height: auto;
    overflow: hidden;
}
.textwidget .commentsArea .comment-item {
    float: left;
    overflow: hidden;
    border: 1px solid #c3c3c3;
    margin: 0 0 5px 5px;
    border-radius: 5px;
    display: inline;
}
.textwidget .commentsArea .comment-item img {
    margin: 2px;
    display: block;
}
.font-size-14 {
    font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 5px 0;
}
.entry-content {
    line-height: 2em;
}
#article-body ul, #article-body ol {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
#article-body ul li {
    list-style: disc;
}
#article-body ol li {
    list-style: decimal;
}
.comments-waiting {
    font-size: 12px;
    color: #cacaca;
}
.sub-menu-click {
    width: 100%;
}
.menu-btn a {
    color: white;
}
.menu-btn {
    background: #666;
    height: 32px;
    line-height: 32px;
    padding: 0 2%;
    text-align: center;
}
.menu-left, .menu-right {
    float: left;
}
.menu-left {
    font-size: 2.2em;
}
.menu-right {
    margin-left: 2%;
    color: white;
    font-size: 1.2em;
}
/* 归档时间轴 */
.point-time {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    top: 17px;
    left: 25%;
    background: #1c87bf;
    margin-left: -4px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff;
}
.timeline {
    width: 100%;
    margin: 30px auto;
}
.timeline article {
    position: relative;
}
.timeline article > h3 {
    width: 15%;
    height: 20px;
    line-height: 20px;
    text-align: right;
    font-size: 1.4em;
    color: #1d1d1d;
    padding: 10px 0 20px;
}
.timeline article section {
    padding: 0 0 17px;
    position: relative;
}
.timeline article section:before {
    content: "";
    width: 5px;
    top: 17px;
    bottom: -17px;
    left: 25%;
    background: #e6e6e6;
    position: absolute;
}
.timeline article section:last-child:before {
    display: none;
}
.timeline article section time {
    width: 20%;
    display: block;
    position: absolute;
}
.timeline article section time > span {
    display: block;
    text-align: right;
}
.timeline article section aside {
    color: #3a3a38;
    margin-left: 30%;
    padding-bottom: 15px;
}
.timeline article section .brief {
    color: #9f9f9f;
}
.timeline article section aside .title {
    color: #333333;
}
/* 时间轴滚动加载提示条 */
#tl-sentinel {
    color: #b5b5b5;
    font-size: 13px;
    padding: 12px 0 4px;
    margin-left: 30%;
    clear: both;
}
/* End 归档时间轴 */
/* ============ 首页/列表缩略图样式 ============
   原先这里有 6 组重复堆叠的圆角/阴影规则（!important 层层覆盖），
   已合并为下面两组，计算结果与原值完全一致：圆角 8px、阴影 0 3px 12px rgba(0,0,0,.2)、悬停放大 1.12 */
.postspicbox,
.postspicbox .thumbnail,
.postspicbox a,
.postspicbox img,
.thumbnail img,
.postspicbox .thumbnail img,
.postspicbox a img {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    overflow: hidden;
}
.postspicbox img,
.thumbnail img,
.entry-content img {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: transform 0.3s ease;
}
.postspicbox:hover img,
.thumbnail:hover img {
    transform: scale(1.12);
}

/* ============ 首页缩略图填充 ============
   容器 .postspicbox 是固定 140×100 虚线框，图片统一铺满，
   窄图/小图不再留白，object-fit:cover 按比例裁剪不变形 */
.postspicbox,
.postspicbox .thumbnail,
.postspicbox a {
    width: 140px;
    height: 100px;
    display: block;
    overflow: hidden; /* 悬停放大时裁掉溢出，撑不破虚线框 */
}
.postspicbox img,
.postspicbox .thumbnail img,
.postspicbox a img,
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 建站历程 - 灰色虚线边框 + 悬停红框 */
.widgetbox blockquote {
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    padding: 8px 12px !important;
    margin: 6px auto !important;
    width: 98% !important;
    box-sizing: border-box !important;
    display: block !important;
    border: 1px dashed #999 !important;
    background: transparent !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
    transition: border-color 0.3s ease;
    position: relative !important;
    overflow: hidden !important;
}
.widgetbox blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bj_jianzhan2.png');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
.widgetbox blockquote > * {
    position: relative;
    z-index: 1;
}
/* 让 blockquote 在 table td 内居中 */
.widgetbox td {
    text-align: center !important;
}
.widgetbox td blockquote {
    margin-left: auto !important;
    margin-right: auto !important;
}
.widgetbox blockquote:hover {
    border-color: #ff4444 !important;
}
.widgetbox blockquote a:hover {
    color: #ff4444 !important;
    text-shadow: 0 0 1px #ff4444 !important;
}

/* ===== 文章分享按钮 ===== */
.post-share {
    clear: both;
    overflow: hidden;
    margin: 16px 0 8px;
    padding: 12px 14px 6px;
    border: 1px dashed #e8e8e8;
    border-radius: 8px;
    background: #fcfcfc;
}
.post-share .share-label {
    float: left;
    line-height: 28px;
    margin-right: 10px;
    font-size: 13px;
    color: #a5a5a5;
}
.post-share .share-btn {
    float: left;
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* 三枚按钮（微信 / 微博 / 复制）统一宽度，靠这条对齐，别删。
       原本宽度是被文字和图标撑开的：四个字的「复制链接」比两个字宽 27px，
       而微信、微博的图标本身也差 1.9px，所以必须显式钉一个下限。 */
    min-width: 80px;
    height: 28px;
    line-height: 28px;
    padding: 0 13px;
    margin: 0 8px 6px 0;
    border-radius: 14px;
    font-size: 13px;
    text-align: center;
    color: #9a9a9a !important;
    background: #fff;
    box-shadow: inset 0 0 0 1px #ededed;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.post-share .share-btn:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.post-share .share-btn i {
    margin-right: 4px;
    color: inherit;
}
/* 最淡的一版：底色几乎全白，颜色只落在字和图标上。
   微信 / 微博用平台本色；「复制」按用户要求用 QQ 蓝 #12b7f5（即原先 QQ 按钮那个蓝） */
.post-share .share-weixin {
    background: #fff; color: #4caf50 !important; box-shadow: inset 0 0 0 1px #d8ecd9;
}
.post-share .share-weibo {
    background: #fff; color: #e6162d !important; box-shadow: inset 0 0 0 1px #f5d8db;
}
.post-share .share-copy {
    background: #fff; color: #12b7f5 !important; box-shadow: inset 0 0 0 1px #a8dff9;
}
.post-share .share-weixin:hover { background: #f3faf4; box-shadow: inset 0 0 0 1px #c6e3c8; }
.post-share .share-weibo:hover  { background: #fef5f6; box-shadow: inset 0 0 0 1px #f0c6cb; }
.post-share .share-copy:hover   { background: #f1fbff; box-shadow: inset 0 0 0 1px #7fcdf3; }

/* 分享浮层 */
.share-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}
.share-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    padding: 20px 20px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 9999;
}
.share-modal h4 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: normal;
    color: #333;
}
.share-modal .share-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}
.share-modal .share-qr img,
.share-modal .share-qr canvas {
    width: 180px !important;
    height: 180px !important;
}
.share-modal .share-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: #999;
}
.share-modal .share-copy2 {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #ff8c83;
}
.share-modal .share-close {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 16px;
    color: #bbb;
    cursor: pointer;
}
.share-toast {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    z-index: 10000;
}
/* ===== 评论表单：昵称/邮箱/网站 一行平分（2026-09-24）===== */
/* 桌面端三格等宽铺满一行；640px 以下回到原来的竖排整行。
   格子内部结构不动（左侧标签方块、右上角必填星号都保持原样）。 */
#comment-author-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    /* gap 只管格子之间，容器底部留不出空隙（原来靠最后一个 p 的 margin-bottom 撑着，
       横排后 p 的 margin 归零了），这里补回同样 6px，免得三个字段和下方留言框贴死 */
    margin-bottom: 6px;
}
#comment-author-info > p {
    float: none;
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
@media screen and (max-width: 640px) {
    #comment-author-info {
        display: block;
        margin-bottom: 0; /* 竖排时这段空隙由 p 自己的 margin-bottom 提供，别叠加 */
    }
    #comment-author-info > p {
        float: left;
        width: 99.6%;
        margin-right: 6px;
        margin-bottom: 6px;
    }
}
/* ===== 评论提交按钮：宽度贴合文字 + 悬停浮起 + 靠右 + 抹圆角（2026-09-24）===== */
/* 原来 .subcon .btn 是 width:100% 通栏，改成 padding 撑开、贴合文字。
   必须带 #commentform 前缀：上面的 #commentform button 带 ID，优先级 (1,0,1) 高于
   .subcon .btn (0,2,0)，不这么写 padding / height / border-radius 会被它压住。 */
/* 靠右：原来的 .subcon 是 text-align:center（第 931 行），按钮居中。
   这里只把按钮这一排推到右边；容器内的 取消回复 链接也跟着靠右，属于预期。 */
#commentform .subcon {
    text-align: right;
}
/* 文字跟「昵称」标签完全一致：12px / 常规粗细 / 同一个字体栈。
   颜色刻意不写，保留按钮里那个 #00a0c2（用户要求颜色不动）。
   卡在这里而不是 button 上：span 是实际承载文字的元素。
   top:-1px 是「上下居中」的最后一手，取值是量出来的不是猜的：
   浏览器把文字基线吸附到整像素上（实测 0 / -0.25 / -0.5 / -0.75 四个值渲染完全一样，
   一跳就是 1px），所以按钮 30px、墨迹 11.5px 时，墨迹顶端只可能落在 9px 或 10px，
   理论居中值 9.25px 取不到。9px 对应偏移 -0.25~-0.5px，10px 对应 +0.75px，取前者。
   在 devicePixelRatio = 1 / 1.25 / 1.5 / 2 / 4 五种缩放比下实测：
   -0.5px 的最大偏移 0.80px、-1px 只有 0.50px，且 1.25 / 1.5 倍下能拿到 0.00。
   ⚠️ 别写成 top:-0.5px —— 看着更靠近 0，实际在多数缩放比下反而偏下。 */
#commentform .subcon .btn span {
    font-family: MicrosoftYaHei, 微软雅黑, Tahoma, Verdana;
    font-size: 12px;
    font-weight: 400;
    position: relative;
    top: -1px;
}
#commentform .subcon .btn {
    width: auto;
    /* 宽度：原来 padding 0 28px + 文字 26px = 84px，收掉 1/4 到 63px。
       文字实测占 26px，min-width 定住下沿，padding 管「文案变长时怎么撑开」。 */
    min-width: 63px;
    height: 30px;
    /* ⚠️ 上下居中别照直觉把 line-height 写成 30px（＝height）。
       line-height:30px 时行盒(30)高于内容盒(28)，行盒被钉在内容盒顶部，
       那半个行距 (30-16)/2 = 7px 全变成"往下沉"，实测墨迹比按钮中心低 1.5px（上留 11 / 下留 8）。
       line-height 取 28px（＝内容盒高）行盒才正好贴住内容盒，再靠 span 的 top 微调。 */
    line-height: 28px;
    padding: 0 17px;
    /* 抹圆角：原来 2px（#commentform button，第 1304 行）几乎看不出圆，改 6px */
    border-radius: 6px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#commentform .subcon .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 160, 194, .3);
    border-color: #00a0c2;
}
#commentform .subcon .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 160, 194, .25);
}
/* ===== 评论表单各输入框：统一抹圆角 6px（2026-09-24）===== */
/* 三处「看得见的框」不在同一个元素上，改之前先认清层：
   ① 昵称 / 邮箱 / 网站 —— 画框的是 #comment-author-info p（第 849 行 radius:2px），
      里面左边的标签方块 label 自带 border-*-left-radius:2px，得跟着放大才不留直角；
   ② 留言框 —— #comment textarea 已被 emojionearea 插件收起（display:none），
      真正画框的是插件生成的 .emojionearea 包裹层（自带 radius:4px）。
      插件的 emojionearea.min.css 在 header.php 第 43 行、加载在 style.css 之后，
      同优先级会被它压住，所以必须带 #commentform 提权，光追加在文件末尾没用。 */
#commentform #comment-author-info p {
    border-radius: 6px;
}
/* 内层贴着父级左上/左下角的元素，半径要用「父外半径 6 − 边框 1」= 5px，弧度才接得上 */
#commentform #comment-author-info label {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#commentform .emojionearea {
    border-radius: 6px;
}
/* 兜底：插件没起来、露出原生 textarea 时也照样是圆的 */
#commentform #comment {
    border-radius: 6px;
}
/* ===== 友链页「申请友链」卡片的复制按钮：字体跟正文一致（2026-10-08）=====
   那个卡片是页面正文（cid=35）里的一段内联 CSS 画的：.fl-apply-card 把整块设成
   了等宽字体栈（ui-monospace / SFMono-Regular / Consolas …），按钮又写了
   font-family:inherit 跟着继承，于是「复制」两个字落在等宽字体的中文回退字形上，
   比旁边文字小一号，也不是正文那套雅黑。
   只改按钮，卡片内其他文字（那串等宽 URL）保持原样。
   ⚠️ 页面那段 <style> 写在正文里、出现在 style.css 之后，同优先级它会压过本文件，
   所以必须提权到 #article 才压得住；光"追加到文件末尾"在这里赢不了。 */
#article .fl-apply-copy {
    font-family: 'MicrosoftYaHei', '微软雅黑', Tahoma, Verdana;
    /* 字号：11px 是原来的值，但它落在等宽字体的中文回退字形上，看着又小又不是正文字体；
       跟正文完全同号（body 是 12px/20px，见本文件第 186 行）反而最自然 */
    font-size: 12px;
}

/* ===== 正文「文章外框」圆角虚线（2026-10-10，改过四版）=====
   ⚠️ 第一版挂在「正文里那个单格表格」上 —— 线上一路不显示，因为线上这篇的正文
   根本没有表格（本地是 Word 粘来的 <table border="1"><tr><td> 兜住 10 段，线上那版
   在后台重排过、拆成了普通 <p>）。框不该依赖文章内容长什么样。
   ⚠️ 第二版改成挂正文容器 #article-body —— 框是出来了，但它把**配图一起圈住了**。
   用户要的是「图片在框外，只有文字在框里」。
   ⚠️ 第三版：框挂到 js 生成的 .post-text-frame 上。purelove.js 的 twWrapText()
   把正文从「第一个真正有字的块」切开，前面的配图（连同分隔用的 <br>、空 <p>）留在
   原地不进框，后面的文字整块搬进 .post-text-frame。
   ⚠️ 第四版（现行）：**第三版给全站每篇文章都套上了虚线框** —— 当时为了「js 没跑起来
   也留个框」写了 `#article-body:not(.tw-framed)` 当兜底，可 `:not(.tw-framed)` 对**所有
   文章**都成立（其他文章的 js 根本不会去加 .tw-framed），于是框发给了全站。用户反馈
   「为什么所有文章页面都带虚线框」后修掉：**所有带框的规则前面都加 `[data-tw="1"]`** ——
   站上只有「建站历程」(cid=39) 在 post.php 里输出这个属性，所以框只出自这一篇。
   没启用打字机的文章，`#article-body` 上既没有 data-tw、也没有 .tw-framed，
   两条规则都不匹配 → 完全没有框，恢复成本次改动之前的样子。
   ⚠️ 尺寸参数：`#article { padding: 10px }` 且 overflow:hidden，#article-body 的内容区
   是 680 宽、容器内边缘是 700 宽。带框那条用 `margin: 0`（框宽 = 680，和上方配图
   左右边缘逐像素对齐），代价是**框内文字每侧内缩 10px（680 → 660）** —— 框要容纳文字
   就得留内边距，这是用户要「框与图等宽」的必然结果。
   box-sizing 是给打字机锁 min-height 用的，按 border-box 解释才跟
   getBoundingClientRect() 的口径对上，免得正文底部多出空白。 */
#article-body[data-tw="1"]:not(.tw-framed) {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 16px 9px;
    margin: 0;
    box-sizing: border-box;
}
/* 被 js 包过：框落到文字层，宽度与上方配图同宽（680），文字每侧内缩 10px */
#article-body[data-tw="1"].tw-framed > .post-text-frame {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 16px 9px;
    margin: 0;
    box-sizing: border-box;
}
/* 正文里万一又出现那种单格排版表格（Word 粘来的），别再自己画一圈线，免得框套框 */
#article-body table:has(> tbody > tr:only-child > td:only-child),
#article-body table:has(> tbody > tr:only-child > td:only-child) > tbody > tr > td {
    border: 0;
}
