
* {
    padding: 0;
    margin: 0;
    font-family: Microsoft Yahei, "微软雅黑", "Helvetica Neue", Helvetica, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
}

li {
    list-style-type: none;
}

/* 滚动条美化 */
::-webkit-scrollbar-track-piece {
    background-color: transparent;
}

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

::-webkit-scrollbar-thumb {
    background-color: rgb(192, 199, 210);
    -webkit-border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #9f9f9f;
}

::-webkit-scrollbar-arrow {
    color: #F00;
    backgound: #0F0;
}

body {
    overflow-y: scroll;
    height: 100%;
    background-color: #f2f3f4 !important;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

/* 页面导航栏 */
.banner {
    position: fixed;
    z-index: 99999;
    height: auto;
    width: 100%;
    line-height: 50px;
    font-size: 16px;
    background-color: #fff;
    opacity: 0.77;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=77);
    filter: alpha(opacity=77);
    transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
}

.banner:hover {
    opacity: 0.99;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=99);
    filter: alpha(opacity=99);
}

/* 网站标题 */
.banner .webTitle {
    font-size: 28px;
    font-weight: normal;
    display: inline-block;
    padding: 0 10px;
    color: #56AB78;;
    cursor: pointer;
}

/* 只有chrome才能这么用…… */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .banner .webTitle {
        background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2), color-stop(0.85, #ff2), color-stop(1, #f22));
        color: transparent;
        -webkit-background-clip: text;
    }
}

#banner {
    float: right;
}

#banner a {
    text-decoration: none;
    color: #000;
}

#banner li {
    height: 100%;
    display: inline-block;
    padding: 0 10px;
    cursor: pointer;
    font-size: 15px;
    list-style-type: none;
}

#banner li:hover, #banner li:hover a {
    color: #666;
}

/* 壁纸分类 */
.tags:hover #tags {
    display: block;
}

#tags {
    z-index: 9999;
    display: none;
    position: absolute;
    width: 210px;
    line-height: 35px;
    background-color: #fff;
    border-top: 2px solid #9EAFFF;
    font-size: 14px;
}

#tags li {
    width: 90px;
    float: left;
    padding: 0 0 0 15px;
    color: #000;
}

#tags li:hover {
    background-color: #eee;
}

/* 页面主体美化 */
.xben-container {
    padding-top: 70px; /* 增加顶部内边距，避免内容被导航栏遮挡 */
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body[class *=viewing-page] .xben-container {
    padding-top: 0px;
}

/* 壁纸容器美化 */
#walBox {
    height: 100%;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

/* 拼图框架美化 */
.jigsaw .item {
    float: left;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jigsaw .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.jigsaw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jigsaw .item:hover img {
    transform: scale(1.05);
}

/* 四分之一宽度 */
.jigsaw .quater {
    width: 25%;
    display: inline-block;
    background: #fff;
}

/* 一半宽度 */
.jigsaw .half {
    width: 50%;
    display: inline-block;
    background: #fff;
}

/* 每个小图片框 */
.oneImg {
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    border-radius: 8px;
}

.oneImg:hover {
    z-index: 22;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.oneImg:hover .down {
    right: 0;
    display: inline-block;
}

/* 加载更多按钮美化 */
#loadmore {
    text-align: center;
    line-height: 40px;
    display: none;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 20px;
    margin: 20px auto;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 必应翻页美化 */
#walBox .section {
    background-size: cover;
    color: #fff;
    position: relative;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#walBox .note {
    font-size: 14px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    text-shadow: 0 0 5px #000000;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

/* 右侧翻页小点美化 */
.onepage-pagination {
    top: 100px !important;
}

.onepage-pagination li a {
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.onepage-pagination li a.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

/* 右侧小球美化 */
#toolBall {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-position: center;
    background-size: 20px 20px;
    opacity: 0.77;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#toolBall:hover {
    opacity: 0.98;
    transform: scale(1.1);
}

/* 下载必应图片时显示下载图标 */
.downBing {
    background: #ff6b6b url("../image/dl-white.png") no-repeat center;
    background-size: 20px 20px;
}

/* 返回顶部时显示返回顶部图标 */
.uptoTop {
    background: #666 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAADAFBMVEX///8TkhEmliImpSQzMzM5uTFCxEBOwEtU1lJl1ENm1ERn1UVn1UZo1Udq1Ulr1kps1kxu105x11J12VZ32Vl52lt+22GA22OF3WqK3nCM33ON33SR4HiZmZmZy5qZ44Od0aCd5Iifn5+g0p+mpqam5pKn55Sq26isrKys6Jmx6Z+zs7O5ubm8vLy+vr6+7bC/v7/AwMDBwcHCwsLDw8PExMTFxcXGxsbHx8fH77rIyMjJycnKysrK8L7Ly8vL8MDMzMzNzc3N8cPOzs7Pz9DP8sTQ0NDQ0NHS0tLU1NTU1NXW1tbZ2dna2trb29vc3Nzd3d3e3t7f39/g4ODg4OHg9tnh4eHh6dzi4uPj4+Tj993k5OTl5eXm5ubn5+fo6OLo6Ojp6enp7/Ls7Ons7Ozt7e3u7u7u8e3v6+jv7+/w7+vw8PDx8fHy8vLz8/P09PT19fX29vb39/f49PP4+Pj4/ff5+ff5+fn5+/n6+Pv6+vj6+vr6+vz6/fj6/vn7+/v7/Pz7/vv8/Pz8/fn9/f39/v3+hDP+k0z+oWP+rnn+uo3+wkn+wkr+w03+xlb+x1n+yFz+zGf+zWv+z3H+0HL+1H7+2In+25T+3p3+/f7+/v7+//7/ZgD/cBD/eSD/gzD/jED/llD/oGD/qXD/sn//vI//xZ//z6//z7D/2L//4Mz/4aT/4s//46z/59j/6b3/6sL/7N//7uL/787/787/8NH/8tj/8+v/9e//9+f/9/L/+ev/+/j//Pb//fz//vv//vz///////7S0tLT09PU1NTV1dXW1tbX19fY2NjZ2dna2trb29vc3Nzd3d3e3t7f39/g4ODh4eHi4uLj4+Pk5OTl5eXm5ubn5+fo6Ojp6enq6urr6+vs7Ozt7e3u7u7v7+/w8PDx8fHy8vLz8/P09PT19fX29vb39/f4+Pj5+fn6+vr7+/v8/Pz9/f3+/v7///+DxIdfAAAAAXRSTlMAQObYZgAAADlJREFUKM9jYBjs4OJFXOLYZS5exC5z8SJ2GYgYpgxMBF0GwUeVQebhYuPWDedfxO6Siwy43T4YAQD2mUY34y3BtwAAAABJRU5ErkJggg==) no-repeat center;
    background-size: 20px 20px;
}

/* 下载框美化 */
.down {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    height: auto;
    background: #000;
    background: rgba(0, 0, 0, .85);
    font-size: 13px;
    padding: 10px;
    line-height: 22px;
    right: -130px;
    transition: all 0.25s ease;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.down li {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAIVBMVEUAAADe3t7e3t7e3t7e3t7e3t7e3t7e3t7e3t7e3t7e3t4RmXU5AAAACnRSTlMAsKAQW6Z5c2lOCqK00wAAAEJJREFUCNdjwAaYVq1SIMAwNl21KtgYyMhaBQTLgAx2EKMAJNe1atUKsGKWVascICZ6LYEazTkB1SpBMAAyVoEBAwBXFRj52xzkuAAAAABJRU5ErkJggg==) no-repeat;
    background-position: 0 2px;
    padding-left: 20px;
    margin: 5px 0;
}

.down a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.down a:hover {
    color: #4ecdc4;
    text-decoration: underline;
}

/* 每日英语英语原文 */
.ciba-eng {
    cursor: pointer;
    transition: color 0.2s ease;
}

.ciba-eng:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* 每日英语点赞 */
.ciba-love {
    cursor: pointer;
    transition: color 0.2s ease;
}

.ciba-love:hover {
    color: #ff6b6b;
}

/* 全屏展示的图片 */
#full-img {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.9);
}

.xben-full-img {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999999;
    justify-content: center;
    display: none;
    top: 0;
}

.xben-full-img > img {
    width: 100%;
    height: 220px;
    position: absolute;
    top: 20%;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.xben-full-img > img.horizontal {
    transform: rotate(90deg) translateX(-50%);
    width: 150%;
    height: 50%;
    top: 24%;
}

.xben-full-img .horizontal-btn {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b6b;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.xben-full-img .horizontal-btn:hover {
    background-color: #ff5252;
    transform: translateX(-50%) scale(1.05);
}

/* 醒目的自定义链接样式 - 改为强调性字体颜色 */
/* 已废弃，使用.custom-red-link替代 */

/* 自定义红色链接样式 */
.custom-red-link {
    color: #ff0000 !important;
    font-weight: bold;
    padding: 10px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(187, 255, 0, 0.897);
}

.custom-red-link:hover {
    color: #cc2900 !important;
    background-color: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(204, 248, 44, 0.801);
}

/* 自定义菜单项特殊样式 */
.custom-menu-item {
    margin: 0 5px;
}

/* 移动端优化：确保自定义链接在最上面 */
@media screen and (max-width: 768px) {
    /* 当自定义链接在最前面时，添加特殊样式 */
    .custom-menu-item .custom-red-link {
        background-color: rgba(255, 0, 0, 0.15);
        border: 1px solid #ff0000;
        border-radius: 8px;
        margin: 5px 10px;
        text-align: center;
        font-size: 16px;
    }
    
    /* 调整导航项间距 */
    .navbar-nav .nav-item {
        margin: 2px 0;
    }
    
    /* 确保自定义链接在折叠菜单中可见 */
    .navbar-collapse.show .custom-menu-item {
        order: -1; /* 确保在最前面 */
    }
    
    /* 移动端搜索框调整 */
    .xben-from {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .text-360 {
        width: 68% !important;
    }
}

/* 桌面端自定义链接样式 */
@media screen and (min-width: 769px) {
    .custom-menu-item .custom-red-link {
        background-color: rgba(255, 0, 0, 0.1);
        border: 1px solid rgba(255, 0, 0, 0.3);
    }
}

/* 搜索框美化 */
.xben-from {
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.text-360 {
    border-radius: 20px 0 0 20px !important;
    border: 2px solid #fff;
    padding-left: 15px;
    height: 38px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#xbenSearchBtn {
    border-radius: 0 20px 20px 0 !important;
    border: 2px solid #fff;
    padding: 0 20px;
    height: 38px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#xbenSearchBtn:hover {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media screen and (min-width: 768px) {
    #collapsibleNavbar {
        display: flex;
        justify-content: center;
    }
    
    /* 导航栏美化 */
    .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 0 3px; /* 从5px减小到3px */
    }
}

@media screen and (max-width: 768px) {
    .jigsaw .item {
        width: 100%;
        height: auto !important;
    }
    
    #walBox .note {
        bottom: 60px;
    }
    
    .jigsaw .item .oneImg {
        height: auto !important;
    }
    
    .jigsaw .item.oneImg {
        height: auto !important;
    }
    
    .jigsaw.onepage-wrapper {
        margin-top: 56px;
    }
    
    .onepage-wrapper .section {
        height: 50% !important;
    }
    
    .xben-day-img {
        height: auto;
    }
    
    .xben-from {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .text-360 {
        width: 68% !important;
    }
    
    #walBox .note {
        position: relative;
        margin-top: 20px;
        bottom: 0;
        left: 0;
        text-shadow: none;
        color: #191919;
        padding: 10px;
        font-size: 20px;
    }
    
    #walBox .note > span:nth-of-type(1) {
        margin-bottom: 10px;
    }
    
    #toolBall {
        bottom: 80px;
        opacity: 0.8;
    }
    
    .xben-by-img {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 30px 0;
        flex-direction: column;
        padding: 0 5%;
    }
    
    .xben-by-img > img {
        width: 100%;
        border-radius: 16px;
        margin: 6px 0;
    }
    
    .xben-by-img > p {
        font-size: 14px;
        margin: 0 !important;
        margin-top: 6px !important;
        padding: 0 6px;
    }
    
    .xben-by-img > p:nth-of-type(2) {
        margin-top: 3px !important;
    }
}

.xben-nav a{
    color: #333 !important;
    font-weight: bold; /* 加粗字体 */
    padding: 10px 12px; /* 调整内边距 */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.xben-nav a:hover {
    color: #ff6b6b !important;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 导航栏美化 */
.xben-nav{
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
