#mobile-bar,
#mobile-mask { display: none; } @media (max-width: 768px) {
#loading { display: none !important; }
}
@media (max-width: 768px) { #mobile-bar {
display: flex;
align-items: center;
justify-content: space-between; gap: 8px;
position: fixed;
top: 0; left: 0; right: 0;
height: 44px;
padding: 0 12px;
z-index: 10000; background: #28211e;
color: #f3ead6;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); touch-action: pan-y;
} .mb-logo,
.mb-site {
font-size: 15px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 70%;
} #mobile-menu-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
flex: 0 0 auto;
margin-left: auto; padding: 0;
border: 0;
background: transparent;
color: #f3ead6;
font-size: 22px;
line-height: 1;
cursor: pointer;
border-radius: 4px;
}
#mobile-menu-btn::before { content: "\2630"; } body.drawer-open #mobile-menu-btn::before { content: "\2715"; } #mobile-menu-btn:active { background: rgba(255,255,255,0.08); } #mobile-mask {
display: block;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 9990;
opacity: 0;
visibility: hidden;
transition: opacity 0.25s;
}
body.drawer-open #mobile-mask { opacity: 1; visibility: visible; } html, body {
height: auto !important;
min-height: 100vh;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent; touch-action: pan-y; overscroll-behavior-y: none; scroll-behavior: auto; background: #f1eee3;  } html { overflow-x: clip; }
body { overflow-x: clip; } #body-bg {
display: none !important;
}
#body {
position: relative !important;
width: 100% !important;
top: 44px !important; height: auto !important; min-height: auto !important;
transform: none !important;
margin: 0 !important;
padding: 0 !important;
left: 0 !important;
perspective: none !important; overflow: visible !important;
max-height: none !important;
}
.mains {
display: block !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: auto !important;
min-height: auto !important;
perspective: none !important;
transform-style: flat !important;
pointer-events: auto !important;
transform: none !important;
} #body, .mains, #book-right { z-index: auto !important; } #mobile-mask { z-index: 9000 !important; }
.nav-box { isolation: isolate; } #book-left {
display: none !important;
}
.book-left-z {
display: none !important;
} #Book-cover { display: none !important; } .book-shadow { display: none !important; }  #book-right {
position: relative !important;
width: 100% !important;
max-width: 720px !important; margin: 0 auto !important; height: auto !important;
min-height: auto !important;
transform: none !important;
rotate: none !important; box-shadow: 0 4px 18px rgba(0,0,0,.18), 0 1px 4px rgba(0,0,0,.10);
padding: 0 !important;
background: #f1eee3 url(//pwsz.com/wp-content/themes/diary-wordpress/static/book-img/book-bg2.png) repeat-y center top !important;
background-size: 100% auto; background-attachment: local;
left: 0 !important;
top: 0 !important;
perspective: none !important;
} #axjx_box, #secondary {
height: auto !important;
width: 100% !important;
min-height: auto !important;
max-height: none !important;
background: transparent !important;
background-image: none !important;
margin: 0 !important;
padding: 0 !important;
position: relative !important;
overflow: visible !important;
} #postbox, #postbox-2 {
height: auto !important;
width: 100% !important;
min-height: auto !important;
max-height: none !important;
background: transparent url(//pwsz.com/wp-content/themes/diary-wordpress/static/book-img/book-bg2.png) repeat-y center top !important;
background-size: 100% auto;
background-attachment: local;
margin: 0 !important;
padding: 14px 18px 24px !important; position: relative !important;
overflow: visible !important;
box-sizing: border-box !important;
} #postbox {
padding: 14px 18px 24px;
} .post {
width: 100% !important;
max-width: 100%;
margin: 0 0 18px !important;
padding: 14px 14px 16px !important;
background: #fdfbf5 !important; border: 1px solid #ece0cd;
border-radius: 10px;
box-shadow: 0 1px 4px rgba(80,50,20,.08);
box-sizing: border-box;
position: relative;
overflow: hidden;
}
.post:last-child { margin-bottom: 0 !important; } .post-entry-wrap > .post-title {
font-size: 17px !important;
line-height: 1.4 !important;
padding: 0 0 6px 0 !important;
margin: 0 0 4px 0 !important;
border-bottom: 1px solid #e3d8c2 !important;
}
.post-entry-wrap > .post-title a { color: #5a4a32 !important; }
.post-entry-wrap > .post-title a:active { color: #a07848 !important; } .post-entry-wrap > .post-meta {
font-size: 12px !important;
gap: 1px 10px !important;
margin-bottom: 8px !important;
color: #9a8c70 !important;
}
.post-entry-wrap > .post-meta li { color: #9a8c70 !important; }
.post-entry-wrap > .post-meta li#alage img {
width: 24px !important;
height: 24px !important;
border-width: 1px !important;
margin: 0 1px !important;
} .post h2.entry-title,
.post-title,
.post h2 > a {
font-size: 19px !important;
line-height: 1.5 !important;
word-wrap: break-word;
overflow-wrap: break-word;
color: #5a4a32;
} .post-thumb img,
.post-thumbnail img,
.wp-post-image {
max-width: 100% !important;
height: auto !important;
display: block;
border-radius: 4px;
} .entry-meta,
.post-meta {
font-size: 12px;
color: #9a8c70;
flex-wrap: wrap;
gap: 4px 12px;
} .more-link,
a.read-more-btn {
display: inline-block;
padding: 6px 18px;
font-size: 13px;
border-radius: 20px;
margin-top: 8px;
color: #a07848;
} .post-excerpt-body .read-more {
color: #a07848 !important;
font-size: 13px !important;
display: inline-block;
padding: 4px 0;
text-decoration: none;
}
.post-excerpt-body .read-more:active { color: #5a4a32 !important; } .pagination,
.page-navigator {
padding: 16px 0 !important;
text-align: center;
white-space: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
font-size: 13px;
}
.pagination a,
.page-navigator a,
.pagination span,
.page-navigator span {
padding: 6px 10px;
display: inline-block;
min-width: 32px;
}  .single-post .post h1,
.single-post .entry-title,
#axjx_box .post h1,
.single .post-title {
font-size: 23px !important;
line-height: 1.5 !important;
margin-bottom: 12px !important;
padding-bottom: 10px !important;
} .post-content,
.entry-content,
.single-post .post-content {
font-size: 16px !important;
line-height: 1.8 !important;
color: #333 !important;
word-wrap: break-word;
overflow-wrap: break-word;
} .post-content img,
.entry-content img,
.post-content figure,
.entry-content figure {
max-width: 100% !important;
height: auto !important;
display: block;
margin-left: auto;
margin-right: auto;
}
.post-content img.alignleft,
.entry-content img.alignleft {
float: none;
display: block;
margin: 12px auto;
}
.post-content img.alignright,
.entry-content img.alignright {
float: none;
display: block;
margin: 12px auto;
} .post-content p > img,
.entry-content p > img {
transform: none !important; } .post-content h2 { font-size: 20px !important; margin-top: 24px; }
.post-content h3 { font-size: 18px !important; margin-top: 20px; }
.post-content h4 { font-size: 17px !important; margin-top: 18px; }
.post-content h5 { font-size: 16px !important; }
.post-content h6 { font-size: 15px !important; } .post-content ul,
.post-content ol {
padding-left: 22px !important;
margin-bottom: 14px;
}
.post-content li { margin-bottom: 4px; } .post-content blockquote {
margin: 14px 0 !important;
padding: 10px 14px !important;
font-size: 15px;
} .post-content pre,
.post-content code {
font-size: 13px !important;
word-break: break-all;
white-space: pre-wrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.post-content pre {
margin: 12px -14px !important; padding: 12px 14px !important;
max-width: calc(100% + 28px); border-radius: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
} .post-content table {
display: block;
width: 100% !important;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
font-size: 14px;
margin: 12px -14px !important;
border-radius: 0;
}
.post-content th,
.post-content td {
padding: 8px 10px !important;
white-space: nowrap;
} .post-content iframe,
.post-content video {
max-width: 100% !important;
height: auto !important;
aspect-ratio: 16 / 9;
}
.post-content iframe[style*="height"] {
height: auto !important;
} #comments {
margin-top: 18px !important;
padding-top: 14px !important;
}
.comments-title {
font-size: 15px !important;
color: #6b4a23 !important;
margin: 0 0 14px !important;
padding-bottom: 8px !important;
border-bottom: 1px solid #e8dcc8 !important;
letter-spacing: 1px;
}
.comment-list {
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
} .comment-list > li {
padding: 12px 14px !important;
margin: 0 0 16px 0 !important;
border-radius: 8px !important;
}
.comment-list > li:last-child { margin-bottom: 0 !important; }
.comment-list > li:not(:last-child)::after {
left: 14px !important;
right: 14px !important;
bottom: -8px !important; } .comment-children {
margin-left: 8px !important;
margin-top: 10px !important;
padding-left: 0 !important;
}
.comment-children .comment-children { margin-left: 6px !important; margin-top: 8px !important; }
.comment-children > li {
padding: 10px 12px !important;
margin: 0 0 8px 0 !important;
border-radius: 6px !important;
}
.comment-body {
padding: 0 !important;
display: block !important;
clear: both;
} .comment-author {
display: flex !important;
align-items: center !important;
margin-bottom: 6px !important;
line-height: normal !important;
}
.comment-author .fn {
display: inline !important;
font-size: 14px !important;
color: #6b4a28 !important;
font-weight: 700 !important;
letter-spacing: .5px !important;
}
.comment-author img,
.comment-author .avatar,
.comment-body .avatar {
display: inline-block !important;
width: 36px !important;
height: 36px !important;
border-radius: 50% !important;
margin-right: 10px !important;
flex-shrink: 0 !important;
border: 2px solid #f0e6d6 !important;
box-shadow: 0 1px 4px rgba(80,50,20,.12) !important;
object-fit: cover !important;
} .comment-list > li:not(:last-child)::after {
left: 14px !important;
right: 14px !important;
bottom: -8px !important;
border-top: 1px dashed #d8c7a6 !important;
} .comment-meta {
font-size: 12px !important;
color: #a89878 !important;
margin-left: 46px !important;
display: block !important;
margin-top: 4px !important;
} .comment-children {
margin-left: 24px !important;
padding-left: 0 !important;
}
.comment-actions {
flex-direction: column !important;
align-items: flex-start !important;
gap: 6px !important;
margin-left: 46px !important;
} #respond {
padding: 14px !important;
background: #fdfbf5;
border: 1px solid #ece0cd;
border-radius: 10px;
margin-top: 14px !important;
box-shadow: 0 1px 4px rgba(80,50,20,.06);
}
#respond textarea {
min-height: 100px;
font-size: 16px; }
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
width: 100% !important;
box-sizing: border-box;
font-size: 16px;
padding: 10px 12px;
}  .nav-box {
display: none !important; position: fixed !important;
top: 44px !important; left: 0 !important;
right: 0 !important;
width: 100% !important;
max-width: 720px !important; margin: 0 auto !important;
padding: 0 0 0 4px !important; background: #f1eee3 url(//pwsz.com/wp-content/themes/diary-wordpress/static/book-img/book-bg2.png) repeat-y left top !important;
background-size: 100% auto;
border-top: 1px solid #d4c8a8 !important;
border-left: 4px solid #8b6b4a; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
z-index: 10001 !important;
opacity: 0;
transform: translateY(-8px);
transition: opacity 0.18s ease, transform 0.18s ease;
overflow: visible !important;
touch-action: pan-y;
} body.drawer-open .nav-box {
display: flex !important; flex-direction: column;
opacity: 1;
transform: translateY(0); height: calc(100vh - 44px) !important;
height: calc(100dvh - 44px) !important; max-height: calc(100vh - 44px) !important;
min-height: 0 !important;
} #nav-menu {
display: block !important;
margin: 0 !important;
padding: 8px 0 !important; white-space: normal !important; flex: 1 1 auto;
min-height: 0;
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
}
#nav-menu > a {
display: block !important;
width: 100% !important;
box-sizing: border-box !important;
line-height: 1.5 !important;
text-align: center !important; padding: 14px 16px !important;
margin: 0 !important;
font-size: 15px !important;
color: #5a4a32 !important; background: transparent !important;
box-shadow: none !important;
border: 0 !important;
border-bottom: 1px solid #e8dfd0 !important;
border-radius: 0 !important;
letter-spacing: 0;
}
#nav-menu > a:last-child { border-bottom: 0 !important; }
#nav-menu > a:hover,
#nav-menu > a.current,
#nav-menu > a:active {
background: #e8dfd0 !important;
color: #6e4f2f !important;
} #nav-menu > a[style*="margin-left"] { margin-left: 0 !important; }
.page-s { display: none !important; }  #closed, #fullScreen, #tea_box, #chiji_box,
#music_record, #music_rod, #music_box_bj,
#music_volume, #music_v_box, #music_volume_c,
#music_box, #music_name,
.book-shadow, .closed_txt, #book-open-hit,
.nav-z {
display: none !important;
} .diary-music-btn { display: none !important; } .tags {
margin: 8px 0 4px !important;
padding: 0 !important;
line-height: 1.8 !important;
}
.tags a {
display: inline-block !important;
width: auto !important;
margin: 0 6px 4px 0 !important;
padding: 2px 8px !important;
background: #f1eee3 !important; color: #6e4f2f !important;
border: 1px solid #d4c8a8 !important;
border-radius: 10px !important;
font-size: 12px !important;
line-height: 1.4 !important;
text-align: center !important;
text-decoration: none !important;
}
.tags a:active {
background: #e8dfd0 !important;
} .post-excerpt-row {
display: block !important;
gap: 0 !important;
}
.post-excerpt-row > .post-thumb,
.post-excerpt-row > .post-thumb-default {
display: block !important;
width: 70% !important;
max-width: 240px !important; height: auto !important;
margin: 0 auto 10px !important; float: none !important;
border: 4px solid #fff !important; outline: 1px solid #e3d8c2;
box-shadow: 0 2px 8px rgba(80,50,20,.14);
transform: rotate(-1deg); background: #f3ecdc;
border-radius: 3px;
overflow: hidden;
}
.post-excerpt-row > .post-thumb img,
.post-excerpt-row > .post-thumb-default img {
width: 100% !important;
height: auto !important;
min-height: 110px;
max-height: 160px;
display: block !important;
object-fit: cover;
}
.post-excerpt-body {
display: block !important;
width: 100% !important;
flex: none !important;
min-width: 0 !important;
} .post-excerpt-body .post-content { margin: 0 !important; }
.post-excerpt-body .post-content p {
text-indent: 0 !important;
padding: 0 0 .4em 0 !important;
line-height: 1.7 !important;
color: #555 !important;
font-size: 14px !important;
}
.post-excerpt-body .tags { margin-top: 6px !important; } .welcome-post {
margin: 0 0 18px !important;
padding: 16px 14px !important;
background: #fdfbf5;
border: 1px solid #ece0cd;
border-radius: 10px;
box-shadow: 0 1px 4px rgba(80,50,20,.06);
text-align: center;
}
.welcome-post .post-content p {
text-indent: 0 !important;
padding: 4px 0 !important;
color: #b0a080;
font-style: italic;
font-size: 13px !important;
line-height: 1.6 !important;
}
.welcome-post .post-content small {
font-size: 11px !important;
color: #c0b898 !important;
}
.catalog-header {
padding: 10px 12px 6px;
}
.catalog-title {
font-size: 16px;
font-weight: 700;
}
#catalog-tree {
padding: 6px 12px !important;
font-size: 14px;
}
.tree-year-h,
.tree-month-h {
padding: 10px 4px !important;
}
.tree-article a {
padding: 6px 4px !important;
display: block;
}  .diary-accordion { padding: 8px; }
.da-cat-h, .da-item-h {
padding: 12px 10px !important;
font-size: 15px !important;
}
.da-item-desc {
font-size: 14px !important;
padding: 8px 10px !important;
}
.da-item-img img {
max-width: 100% !important;
height: auto !important;
} .diary-lightbox-overlay { z-index: 20000; }
.diary-lightbox-box { width: 95vw !important; max-width: none !important; }
.diary-lightbox-close { top: 8px; right: 8px; }
.diary-lightbox-prev,
.diary-lightbox-next {
width: 40px; height: 40px;
font-size: 28px;
} .link-card-grid {
grid-template-columns: repeat(2, 1fr) !important;
gap: 10px !important;
} #footer,
.site-footer,
footer {
display: none !important;
} #nprogress .bar { z-index: 20001 !important; }
#nprogress .peg { z-index: 20001 !important; } #secondary.ps,
#postbox.ps {
overflow-y: auto !important;
}
#secondary .ps__rail-x,
#secondary .ps__rail-y,
#postbox .ps__rail-x,
#postbox .ps__rail-y {
display: none !important;
} body.drawer-open .tags,
body.drawer-open .post-near,
body.drawer-open .post-nav,
body.drawer-open #rightSchedule,
body.drawer-open #editpost,
body.drawer-open #img_top_box,
body.drawer-open #img_top_box_bg,
body.drawer-open #img_top_box_bg2,
body.drawer-open #img_title_q,
body.drawer-open #footer-admin,
body.drawer-open #shoujizhuye,
body.drawer-open .pagination,
body.drawer-open .comment-pagination {
display: none !important;
}
} @media (min-width: 769px) and (max-width: 1024px) {
#body {
transform: scale(0.92) !important;
transform-origin: center top;
}
}