/** v20250109 ©️2024-2025 By coboke.com */
body {
    background-image: url('https://t.alcy.cc/ycy');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    opacity: 0.95;
}

/* 菜单栏搜索框 */
.search-input {
    width: 200px;
    display: inline-block;
    vertical-align: middle;
}

/* 卡片 */
.layui-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.layui-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

/* 卡片头部 */
.layui-card-header {
    display: flex;
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    justify-content: space-between;
}

.layui-card-header-left {
    display: flex;
    align-items: center;
}

.layui-card-header-left img {
    margin-right: 10px;
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

/* 广告标签 */
.ad {
    position: absolute;
    top: 100px;
    right: 30px;
    transform: rotate(40deg);
    background-color: rgba(255, 255, 255, 0.3);
    color: #ff0000;
    padding: 5px 10px;
    font-size: 20px;
    text-align: center;
    z-index: 99;
    border: 1px solid #ff0000;
}

/* 弹窗 */
.layer-style {
    min-width: 380px;
    max-width: 620px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
}

.layer-style .layui-layer-title {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.layer-style .layui-layer-content {
    padding: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    text-align: center;
}

.layer-style .layui-layer-close {
    color: #fff;
}

.layer-style a {
    color: #fff;
    border-radius: 5px;
    margin: 0 5px;
}

.layer-style a:nth-of-type(1) {
    background-color: #ff5722;
}

.layer-style a:nth-of-type(2) {
    color: #000;
}

.layer-style a:hover {
    background-color: #333;
}

.layui-laypage-count {
    padding: 1px 10px !important;
}

/* 页面底部 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    background-color: black;
    color: white;
    width: 100%;
    margin-top: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 公告栏 */
.site-notice {
    background-color: rgba(255, 255, 255, 0.9);
    color: #f00;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

/* 水平居中 */
.center {
    display: flex;
    justify-content: center;
}

/* 重置按钮 */
[lay-on="reset"] {
    margin: 0 !important;
}

.left-15 {
    margin-left: 15px;
}
