/*
	Theme Name: ZIBI Child - 壁纸站
	Template: zibll
	Description: 为壁纸站定制的赛博霓虹暗黑子主题
	Author: Marvis
	Version: 1.0
*/


/* ============================================
   卡片样式 3
   ============================================ */

.posts-item.style3 {
    position: relative;
    overflow: hidden;
}

.posts-item.style3 .item-thumbnail {
    position: relative;
}

.posts-item.style3 .item-meta {
    display: none !important;
}

.posts-item.style3 .item-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s ease;
    pointer-events: none;
    z-index: 2;
}

.posts-item.style3:hover .item-body {
    opacity: 1;
    transform: translateY(0);
}

.posts-item.style3 .item-heading a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .45);
    color: #fff !important;
    font-size: 14px;
    line-height: 1.4;
    backdrop-filter: blur(4px);
}

/* ============================================
   导航、页脚、头像与昵称效果
   ============================================ */

.navbar-brand .navbar-logo img {
    width: auto !important;
    height: 45px !important;
    max-height: 48px !important;
}

.navbar-nav > li > a {
    position: relative;
    margin: 0 6px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.footer {
    color: #999;
    padding: 0;
    font-size: 13px;
}

.display-name {
    text-shadow: -2px 0 rgba(0, 255, 255, .5), 2px 0 rgba(255, 0, 0, .5);
    animation: shake-it .5s reverse infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes shake-it {
    0% { text-shadow: 0 0 rgba(0, 255, 255, .5), 0 0 rgba(255, 0, 0, .5); }
    25% { text-shadow: -2px 0 rgba(0, 255, 255, .5), 2px 0 rgba(255, 0, 0, .5); }
    50% { text-shadow: -5px 0 rgba(0, 255, 255, .5), 3px 0 rgba(255, 0, 0, .5); }
    100% { text-shadow: 3px 0 rgba(0, 255, 255, .5), 5px 0 rgba(255, 0, 0, .5); }
}

.avatar,
.radius-cover {
    border-radius: 100px;
    display: inline-block;
    box-shadow: rgba(0, 0, 0, 0.5) 0 5px 10px;
}

.avatar {
    border-radius: 50%;
    transition: transform .5s;
}

.avatar:hover {
    transform: scale(1.15) rotate(720deg);
}

/* ============================================
   文章随机彩色标签
   ============================================ */

.widget-tag-cloud.fixed-width .but {
    opacity: .6;
    line-height: 20px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
}

.widget-tag-cloud.fixed-width .but:hover {
    opacity: 1;
}

.widget-tag-cloud.fixed-width .but:nth-child(5n) {
    background-color: #4A4A4A;
    color: #FFF;
}

.widget-tag-cloud.fixed-width .but:nth-child(5n + 1) {
    background-color: #ff5e5c;
    color: #FFF;
}

.widget-tag-cloud.fixed-width .but:nth-child(5n + 2) {
    background-color: #ffbb50;
    color: #FFF;
}

.widget-tag-cloud.fixed-width .but:nth-child(5n + 3) {
    background-color: #1ac756;
    color: #FFF;
}

.widget-tag-cloud.fixed-width .but:nth-child(5n + 4) {
    background-color: #19B5FE;
    color: #FFF;
}

/* ============================================
   下载卡片
   ============================================ */

/* 卡片整体布局（文字左右分布核心位置代码） */
.muted-box.file-download-box {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #fffafc 0%, #ffffff 50%, #fdf7fb 100%);
    border: 1px solid rgba(236, 72, 153, .08);
    box-shadow: 0 12px 30px rgba(236, 72, 153, .08);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

/* 仅电脑端生效：卡片flex布局 */
@media (min-width: 769px) {
    .muted-box.file-download-box {
        display: flex;
    }
}

.muted-box.file-download-box::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(244, 114, 182, .15), transparent 35%);
}

.muted-box.file-download-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px rgba(236, 72, 153, .16);
    border-color: rgba(236, 72, 153, .14);
}

/* 文字区域容器 位置布局代码 */
.muted-box.file-download-box .flex.ac.jsb {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}
/* 图标+文字横向居中对齐代码 */
.muted-box.file-download-box .flex.ac {
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.muted-box.file-download-box .file-download-icon {
    width: 120px;
    height: 120px;
    flex: 0 0 78px;
    border-radius: 10px;
        border: 1px solid #000;
}

.muted-box.file-download-box .file-download-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.muted-box.file-download-box:hover .file-download-icon img {
    transform: scale(1.08);
}

/* 仅文字样式（字体、颜色，不含位置） */
.muted-box.file-download-box .file-download-name {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 10px;
}
.muted-box.file-download-box .file-download-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}
.muted-box.file-download-box .file-download-desc .desc-left {
    color: #9ca3af;
}
.muted-box.file-download-box .file-download-desc .desc-right {
    font-weight: 600;
}

.muted-box.file-download-box .file-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #fb7185) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(236, 72, 153, .25);
    transition: all .3s ease;
    position: relative;
    z-index: 2;
}

.muted-box.file-download-box .file-download-btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 15px 35px rgba(236, 72, 153, .3);
}

/* 按钮容器定位代码 */
.muted-box.file-download-box .flex0.ml20 {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.dark-theme .muted-box.file-download-box {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, .18), transparent 30%),
        linear-gradient(135deg, #17181c 0%, #1d1f24 50%, #16171b 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .03);
}

.dark-theme .muted-box.file-download-box:hover {
    transform: translateY(-1px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, .45),
        0 0 25px rgba(255, 79, 160, .12),
        inset 0 1px 0 rgba(255, 255, 255, .04);
}

.dark-theme .muted-box.file-download-box::before {
    background:
        radial-gradient(circle at top right, rgba(255, 105, 180, .12), transparent 35%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .08), transparent 40%);
}

.dark-theme .file-download-name {
    color: #fff;
}
.dark-theme .file-download-desc .desc-left {
    color: #8b93a7;
}
.dark-theme .file-download-desc .desc-right {
    color: #e5e7eb;
}

.dark-theme .file-download-btn {
    background: linear-gradient(135deg, #ff4fa0, #ff7aa2) !important;
    box-shadow: 0 10px 25px rgba(255, 79, 160, .25);
}
.dark-theme .file-download-btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 15px 35px rgba(255, 79, 160, .35);
}

/* ============================================
   响应式文件名称
   ============================================ */

.cdb-file-name-desktop {
    display: block;
}
.cdb-file-name-mobile {
    display: none;
}

@media (max-width: 768px) {
    .cdb-file-name-desktop {
        display: none !important;
    }
    .cdb-file-name-mobile {
        display: block !important;
    }
}
/* ============================================
   滚动条
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .03);
}

::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, .35);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 72, 153, .6);
}

/* ============================================
   电脑美女壁纸：首图样机
   ============================================ */

.single-post .wp-posts-content .tabbit-image-wrapper,
.single-post .wp-block-image .tabbit-image-wrapper,
.single-post .tabbit-image-wrapper {
    position: relative !important;
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 0 !important;
    overflow: hidden !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: 5px solid #000 !important;
    border-radius: 8px !important;
    background: #000 !important;
    box-sizing: border-box !important;
    box-shadow: rgba(0, 0, 0, 0.5) 0 5px 15px !important;
}

.single-post .wp-posts-content .tabbit-image-wrapper img.tabbit-image-decorated,
.single-post .wp-block-image .tabbit-image-wrapper img.tabbit-image-decorated,
.single-post .tabbit-image-wrapper img.tabbit-image-decorated {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.single-post .tabbit-image-wrapper .tabbit-mockup-topbar {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 22px !important;
    max-height: 22px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(0, 0, 0, 0.18) !important;
    color: #fff !important;
    z-index: 10002 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.single-post .tabbit-image-wrapper .tabbit-mockup-menu-left,
.single-post .tabbit-image-wrapper .tabbit-mockup-menu-right {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-weight: 500 !important;
    transform: scale(.9) !important;
}

.single-post .tabbit-image-wrapper .tabbit-mockup-menu-left {
    gap: 12px !important;
    font-size: 12px !important;
    transform-origin: left center !important;
}

.single-post .tabbit-image-wrapper .tabbit-mockup-menu-right {
    gap: 8px !important;
    font-size: 11px !important;
    transform-origin: right center !important;
}

.single-post .tabbit-image-wrapper .tabbit-mockup-apple {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    color: #fff !important;
    flex: 0 0 auto !important;
}

@media (max-width: 768px) {
    .single-post .tabbit-image-wrapper .tabbit-mockup-topbar {
        height: 16px !important;
        max-height: 16px !important;
        padding: 0 6px !important;
    }

    .single-post .tabbit-image-wrapper .tabbit-mockup-menu-left {
        gap: 6px !important;
        font-size: 8px !important;
        transform: scale(.85) !important;
    }

    .single-post .tabbit-image-wrapper .tabbit-mockup-apple {
        width: 10px !important;
        height: 10px !important;
    }

    .single-post .tabbit-image-wrapper .tabbit-mockup-menu-right {
        gap: 4px !important;
        font-size: 8px !important;
        transform: scale(.85) !important;
    }
}

.single-post .wp-block-image .tabbit-image-wrapper::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 3px !important;
    transform: translateX(-50%) !important;
    width: 64% !important;
    height: 60px !important;
    background-image: url("https://meinv.qimanbz.com/wp-content/uploads/2026/06/dock-b0b70a7a.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: contain !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .wp-block-image .tabbit-image-wrapper::after {
        width: 78% !important;
        height: 44px !important;
        bottom: 2px !important;
    }
}

/* ============================================
   手机美女壁纸：锁屏样机
   ============================================ */

.single-post .wp-posts-content .tabbit-mobile-lock-wrapper,
.single-post .wp-block-image .tabbit-mobile-lock-wrapper,
.single-post .tabbit-mobile-lock-wrapper {
    position: relative !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: 800px !important;
    max-height: 800px !important;
    aspect-ratio: 426 / 926 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border: 5px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 34px !important;
    background: #000 !important;
    box-shadow: rgba(0, 0, 0, 0.5) 0 5px 15px !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
}

.single-post .wp-posts-content .tabbit-mobile-lock-wrapper img.tabbit-mobile-lock-image,
.single-post .wp-block-image .tabbit-mobile-lock-wrapper img.tabbit-mobile-lock-image,
.single-post .tabbit-mobile-lock-wrapper img.tabbit-mobile-lock-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 顶部状态栏 */
.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-statusbar {
    position: absolute !important;
    z-index: 20 !important;
    top: 0 !important;
    left: 4.225% !important;
    width: 91.55% !important;
    height: 53px !important;
    display: block !important;
    pointer-events: none !important;
    color: #fff !important;
    line-height: 1 !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-brand {
    position: absolute !important;
    left: 8px !important;
    top: 11px !important;
    display: block !important;
    color: #ffffffad !important;
    font-size: 14px !important;
    line-height: 1 !important;
    z-index: 2 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-status-svg {
    position: absolute !important;
    left: 24px !important;
    top: -5px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    color: #fff !important;
}

/* 灵动岛 */
.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-dynamic-island {
    position: absolute !important;
    z-index: 35 !important;
    top: 1% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: auto !important;
    display: block !important;
    pointer-events: none !important;
    line-height: 0 !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-dynamic-island img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 日期和时间 */
.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-timeblock {
    position: absolute !important;
    z-index: 20 !important;
    top: 10.58% !important;
    left: 4.225% !important;
    width: 91.55% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    pointer-events: none !important;
    color: #fff !important;
    line-height: 1 !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-date {
    display: block !important;
    color: #ebebeb !important;
    font-size: 22px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-week {
    margin-left: 8px !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-time {
    display: block !important;
    margin-top: 10px !important;
    color: rgb(235, 235, 235) !important;
    font-size: 110px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: scaleY(.9) !important;
    transform-origin: center top !important;
    text-shadow: rgb(255, 255, 255) 1px 1px !important;
    font-family: "Arial Narrow", "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    opacity: .8 !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-colon {
    position: relative !important;
    top: -8px !important;
}

/* 底部控件 */
.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-bottombar {
    position: absolute !important;
    z-index: 40 !important;
    left: 4.225% !important;
    bottom: 6.8% !important;
    width: 91.55% !important;
    height: 24px !important;
    display: block !important;
    pointer-events: none !important;
    line-height: 0 !important;
}

.single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-bottom-svg {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .single-post .wp-block-image .tabbit-mobile-lock-wrapper,
    .single-post .tabbit-mobile-lock-wrapper {
        max-width: 86% !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-statusbar {
        height: 42px !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-brand {
        left: 10px !important;
        top: 8px !important;
        width: 95px !important;
        font-size: 13px !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-dynamic-island {
        width: 70px !important;
        top: 0.4% !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-date {
        font-size: 18px !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-time {
        font-size: 88px !important;
        margin-top: -6px !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-colon {
        top: -6px !important;
    }

    .single-post .tabbit-mobile-lock-wrapper .tabbit-mobile-bottombar {
        height: 22px !important;
        bottom: 6.5% !important;
    }
}


/* 全局唯一的悬浮预览框,挂在 body 下,绝不会被卡片裁掉 */
.zb-hover-preview {
  position: fixed;
  width: 320px;
  max-height: 78vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease;
  pointer-events: none;
  z-index: 99999;
}
.zb-hover-preview.show { opacity: 1; visibility: visible; }
.zb-hover-preview img {
  width: 100%;
  height: auto;
  max-height: calc(78vh - 16px);
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.zb-hover-preview .res-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 移动端禁用,避免误触 */
@media (hover: none), (max-width: 768px) {
  .zb-hover-preview { display: none !important; }
}

/* 删掉之前在 .item-thumbnail 内嵌的 .hover-preview,免得占位 */
.item-thumbnail > .hover-preview { display: none !important; }

