@charset "utf-8";
:root {
    --mz-bg-body: #f1f1f1;
    --mz-bg-card: #fff;
    --mz-bg-card-hover: #fff;
    --mz-bg-input: transparent;
    --mz-bg-sidebar-hover: #e9eeea;
    --mz-bg-page: #303030;
    --mz-bg-page-current: #232323;
    --mz-bg-code: #f5f5f5;
    --mz-border-color: #eee;
    --mz-border-light: #e6e6e6;
    --mz-border-input: #414243;
    --mz-text-primary: #333;
    --mz-text-secondary: #666;
    --mz-text-muted: #999;
    --mz-text-light: #ccc;
    --mz-text-link: #5fb878;
    --mz-text-active: #5fb878;
    --mz-shadow-card: 0 0 0 1px #eee;
    --mz-shadow-card-hover: 0 2px 8px rgba(0,0,0,0.08);
    --mz-header-bg: rgba(255,255,255,1);
    --mz-header-shadow: 0 0 0 1px #eee;
    --mz-footer-bg: transparent;
    --mz-footer-border: transparent;
    --mz-tag-bg: #f0f8f5;
    --mz-tag-color: #5fb878;
    --mz-dropdown-bg: #fff;
    --mz-dropdown-border: #e2e2e2;
    --mz-dropdown-hover: #f5f5f5;
    --mz-overlay-bg: rgba(0,0,0,0.6);
}
html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
h1,h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 500;
}
img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}
body {
    background-image: linear-gradient(180deg,var(--mz-bg-body),var(--mz-bg-body),var(--mz-bg-body));
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mz-text-secondary);
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    padding-top: 70px;
}
.mt10 { margin-top: 10px; }
.t-c { text-align: center; }
.layui-container {
    min-height: calc(100vh - 140px);
}
.layui-container .main {
    margin: 10px auto;
}
.layui-row:after {
    content: "";
    display: table;
    clear: both;
}
.layui-input,.layui-select,.layui-textarea {
    background-color: transparent;
}
textarea {
    resize: vertical;
}
input[type="text"],input[type="email"],input[type="url"],input[type="password"],textarea {
    /* padding: 5px 10px;
    box-sizing: border-box;
    background: transparent; */
}
.sidebar,
.ziliao,
.login,
.list-article,
.title-article-content,
.page-text,
.tags {
    background: var(--mz-bg-card);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--mz-shadow-card);
}
.sidebar-col,
.right-col {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 10;
    transition: top 0.3s ease;
}
.sidebar-col.nav-hidden,
.right-col.nav-hidden {
    top: 10px;
}
.sidebar {
    margin-bottom: 0;
}

/* ========== 登录模块样式 ========== */
.login {
    padding: 20px;
}

.login-avatar-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.login-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 3px solid #f0f8f5;
}

.login-username {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--mz-text-primary);
}

.login-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.login-stat-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
}

.login-stat-item strong {
    font-weight: 600;
    color: var(--mz-text-primary);
}

.login-stat-item em {
    font-style: normal;
    color: var(--mz-text-muted);
    font-size: 12px;
}

.login-desc {
    font-size: 13px;
    color: var(--mz-text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.login-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.1s ease;
    white-space: nowrap;
}

.login-btn i {
    margin-right: 6px;
}

.primary-btn {
    background: linear-gradient(135deg, #6ccb7a, #5fb878);
    color: #fff;
    box-shadow: 0 2px 8px rgba(95, 184, 120, 0.25);
}

.primary-btn:hover {
    background: var(--mz-bg-card);
    color: #5fb878;
    border: 1px solid #5fb878;
    box-shadow: none;
    transform: translateY(-1px);
}

.secondary-btn {
    background: var(--mz-bg-card);
    color: #5fb878;
    border: 1px solid #5fb878;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #6ccb7a, #5fb878);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(95, 184, 120, 0.35);
    transform: translateY(-1px);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--mz-header-bg);
    box-shadow: var(--mz-header-shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.header.hidden {
    transform: translateY(-100%);
}
.logo {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 2.0em;
}
.logo img {
    width: 220px;
    height: 60px;
}
.header .layui-nav {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    background: none;
    display: flex;
    align-items: center;
}
.header .layui-nav .layui-nav-item {
    line-height: 70px;
    color: var(--mz-text-secondary);
}
.header .layui-nav .layui-nav-item a {
    padding: 0 10px;
}
.header .layui-nav .layui-nav-more {
    border: none;
    margin-top: 0;
    color: var(--mz-text-muted);
}
.header .layui-nav .layui-nav-mored {
    border: none;
    color: var(--mz-text-muted);
}
.header .layui-nav .layui-nav-child {
    left: -23px;
    top: 70px;
    padding: 0;
    border-radius: 2px;
}
.header .layui-nav .layui-nav-bar {
    height: 0;
    background-color: var(--mz-bg-card);
}
.header-user {
    float: right;
    margin: 25px 15px 25px 15px;
    color: var(--mz-text-secondary);
}

/* 顶部栏目导航 */
.top-nav {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    float: right;
    margin: 0 140px 0 0;
    height: 70px;
    vertical-align: middle;
}
.top-nav-item {
    display: inline-block;
    padding: 0 14px;
    line-height: 65px;
    color: var(--mz-text-secondary);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}
.top-nav-item i {
    margin-right: 4px;
    font-size: 16px;
}
.top-nav-item:hover {
    color: var(--mz-text-active);
    border-bottom-color: var(--mz-text-active);
}
.top-nav-item.active {
    color: var(--mz-text-active);
    border-bottom-color: var(--mz-text-active);
    font-weight: 500;
}

.header-search {
    display: inline-flex;
    align-items: flex-end;
    margin-left: 5px;
    padding-bottom: 18px;
}
.header-search-box {
    display: flex;
    align-items: center;
    background: var(--mz-bg-card);
    border: 1px solid var(--mz-border-color);
    border-radius: 20px;
    padding: 0 12px;
    height: 30px;
    transition: all 0.2s;
}
.header-search-box:focus-within {
    border-color: var(--mz-text-active);
    box-shadow: 0 0 0 2px rgba(95, 184, 120, 0.15);
}
.header-search-icon {
    color: var(--mz-text-muted);
    font-size: 16px;
    margin-right: 6px;
    flex-shrink: 0;
}
.header-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--mz-text-secondary);
    width: 110px;
    height: 100%;
}
.header-search-input::placeholder {
    color: var(--mz-text-muted);
}

.dark-mode-li.layui-this:after{display:none!important;}
.dark-mode-toggle {
    margin-right: 10px;
    width: 43px;
    height: 24px;
    cursor: pointer;
    border-radius: 13px;
    background-color: #ddd;
    transition: background-color 0.3s;
    position: relative;
    flex-shrink: 0;
}
.mobile-dark-mode-toggle {
    display: none;
}
.vertical-divider {
    width: 0.5px;
    height: 25px;
    background-color: #eee;
}
.msg-center-li{position:relative;}
.msg-center-li.layui-this:after{display:none!important;}
.msg-center-li .layui-nav-bar{display:none!important;}
.msg-center-btn{cursor:pointer;display:flex!important;align-items:center;position:relative;font-size:20px;color:var(--mz-text-secondary)!important;transition:color .2s;}
.msg-center-btn:hover{color:var(--mz-text-primary)!important;}
.msg-badge{position:absolute;top:12px;right:2px;min-width:7px;height:7px;background:#ff5722;border-radius:50%;display:inline-block;}
.msg-badge.has-count{min-width:16px;height:16px;line-height:16px;text-align:center;font-size:10px;color:#fff;border-radius:50%;padding:0;}
.msg-center-dropdown{position:absolute;right:-65px;top:100%;width:360px;max-height 560px;background:var(--mz-bg-card,#fff);border-radius:6px;box-shadow:0 8px 30px rgba(0,0,0,0.12),0 2px 8px rgba(0,0,0,0.06);z-index:10000;overflow:hidden;display:flex;flex-direction:column;color:var(--mz-text-primary,#333);border:1px solid var(--mz-border-color,rgba(0,0,0,0.06));}
.msg-center-dropdown *{color:inherit;}
.msg-dropdown-header{display:flex;justify-content:space-between;align-items:center;padding:0 20px;box-shadow: var(--mz-shadow-card);}
.msg-dropdown-title{font-size:16px;font-weight:700;color:var(--mz-text-primary,#333)!important;letter-spacing:0.5px;}
.msg-read-all-btn{font-size:12px;color:var(--mz-text-link,#5fb878)!important;cursor:pointer;text-decoration:none;padding:4px 10px;border-radius:4px;transition:background .15s;}
.msg-read-all-btn:hover{background:rgba(95,184,120,0.08);text-decoration:none;}
.msg-dropdown-list{flex:1;overflow-y:auto;max-height:360px;}
.msg-dropdown-list::-webkit-scrollbar{width:4px;}
.msg-dropdown-list::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.1);border-radius:2px;}
.msg-dropdown-list::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.2);}
.msg-dropdown-empty{padding:50px 20px;text-align:center;color:var(--mz-text-muted,#999)!important;font-size:14px;}
.msg-item{display:flex;align-items:flex-start;padding:14px 20px;cursor:pointer;transition:background .15s;border-bottom:1px solid var(--mz-border-color,rgba(0,0,0,0.04));}
.msg-item:last-child{border-bottom:none;}
.msg-item:hover{background:var(--mz-bg-card-hover,rgba(0,0,0,0.02));}
.msg-item.unread{background:rgba(95,184,120,0.04);}
.msg-item.unread:hover{background:rgba(95,184,120,0.08);}
.msg-item-dot{width:8px;height:8px;border-radius:50%;background:#5fb878;margin-top:7px;margin-right:12px;flex-shrink:0;box-shadow:0 0 0 2px rgba(95,184,120,0.2);}
.msg-item.read .msg-item-dot{background:transparent;box-shadow:none;}
.msg-item-body{flex:1;min-width:0;}
.msg-item-title{font-size:14px;color:var(--mz-text-primary,#333)!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5;}
.msg-item.read .msg-item-title{font-weight:400;color:var(--mz-text-secondary,#666)!important;}
.msg-item-content {font-size: 12px;color: var(--mz-text-muted, #999) !important;margin-top: 3px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;line-height: 1;background: #f0f0f0;border-radius: 10px;max-width: 100%;padding: 10px;margin: 10px 0;}
.msg-item-time{font-size:11px;color:var(--mz-text-muted,#bbb)!important;margin-top:2px;line-height:1;}
.msg-item-kind{font-size:11px;color:var(--mz-text-link,#5fb878)!important;margin-left:8px;background:rgba(95,184,120,0.08);padding:1px 6px;border-radius:3px;}
.msg-dropdown-footer{border-top:1px solid var(--mz-border-color,rgba(0,0,0,0.06));padding:0 20px;text-align:center;}
.msg-footer-link{font-size:13px;color:var(--mz-text-link,#5fb878)!important;text-decoration:none;font-weight:500;transition:opacity .15s;}
.msg-footer-link:hover{text-decoration:none;opacity:0.8;}
.mobile-msg-center-btn{position:relative;cursor:pointer;}
.mobile-msg-badge{display:inline-block;min-width:8px;height:8px;background:#ff5722;border-radius:50%;margin-left:4px;vertical-align:middle;}
.mobile-msg-badge.has-count{min-width:16px;height:16px;line-height:16px;text-align:center;font-size:10px;color:#fff;border-radius:8px;padding:0 4px;}
.mobile-msg-list{padding:0 16px;overflow-y:auto;max-height:100%;}
.mobile-msg-item{padding:10px 0;border-bottom:1px solid #f0f0f0;cursor:pointer;}
.mobile-msg-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#5fb878;margin-right:6px;vertical-align:middle;}
.mobile-msg-title{font-size:14px;color:#333;}
.mobile-msg-time{font-size:12px;color:#999;margin-top:4px;margin-left:14px;}
.dark-mode-toggle .slider {
    position: absolute;
    left: 1px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: layui-icon;
    font-size: 16px;
    color: #999;
}
.dark-mode-toggle .slider::after {
    content: '\e748';
}
.dark-mode-toggle.active {
    background-color: #444;
}
.dark-mode-toggle.active .slider {
    transform: translateX(20px);
    background-color: #333;
    color: #c2c2c2;
}
.dark-mode-toggle.active .slider::after {
    content: '\e6c2';
}
.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-nav-item {
    line-height: normal;
}
.sidebar-nav-item a {
    display: block;
    padding: 10px 25px;
    margin: 2px 0;
    border-radius: 5px;
    color: var(--mz-text-secondary);
    font-size: 16px;
    text-decoration: none;
}
.sidebar-nav-item a:hover {
    background: var(--mz-bg-sidebar-hover);
    color: var(--mz-text-active);
}
.sidebar-nav-item a i {
    margin-right: 10px;
}
.sidebar-circle-info {
    margin-top: 10px;
    padding: 10px 15px;
    background: var(--mz-bg-card);
    border: 1px solid var(--mz-border-color);
    border-radius: 5px;
    box-shadow: var(--mz-shadow-card);
}
.sidebar-circle-info a {
    display: flex;
    align-items: center;
    color: var(--mz-text-secondary);
    font-size: 12px;
    text-decoration: none;
    line-height: 1.5;
}
.sidebar-circle-info a:hover {
    color: var(--mz-text-active);
}
.sidebar-circle-info a i {
    margin-right: 6px;
    font-size: 14px;
    color: var(--mz-text-active);
    flex-shrink: 0;
}
.sidebar-circle-info a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-nav-item.active a {
    background: var(--mz-bg-sidebar-hover);
    color: var(--mz-text-active);
}
.ziliao {
    height: 260px;
    background: var(--mz-bg-card);
}

/* ========== 用户主页 Banner ========== */
.user-profile-banner {
    position: relative;
    border-radius: 8px;
    overflow: visible;
}

.user-banner-bg {
    height: 200px;
    background: linear-gradient(135deg, #5fb878 0%, #3a9d5e 50%, #2d8a4e 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
}

.user-banner-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

.user-banner-info {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 20px 16px;
    background: var(--mz-bg-card);
    border-radius: 0;
    box-shadow: var(--mz-shadow-card);
    position: relative;
    margin-top: -50px;
}

.user-banner-avatar {
    flex-shrink: 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.user-banner-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--mz-bg-card);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: block;
}

.user-banner-meta {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}

.user-banner-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--mz-text-primary);
    margin: 0 0 6px;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-banner-stats {
    display: flex;
    gap: 20px;
}

.user-stat-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    color: var(--mz-text-muted);
}

.user-stat-item strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--mz-text-primary);
}

.user-stat-item em {
    font-style: normal;
    font-size: 13px;
}

.user-banner-action {
    flex-shrink: 0;
    padding-bottom: 4px;
}

.user-banner-action .follow-button,
.user-banner-action .chat-user-btn {
    border-radius: 20px;
    min-width: 80px;
    height: 34px;
    line-height: 34px;
    padding: 0 20px;
    font-size: 14px;
    border: none;
    color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.user-banner-action .follow-button {
    background: linear-gradient(135deg, #6ccb7a, #5fb878);
    box-shadow: 0 2px 8px rgba(95, 184, 120, 0.25);
}

.user-banner-action .chat-user-btn {
    margin-right: 8px;
    background: #fff;
    color: #5fb878;
    border: 1px solid #5fb878;
    box-shadow: none;
}

.user-banner-action .follow-button:hover {
    background: linear-gradient(135deg, #5bb86d, #4ea667);
    box-shadow: 0 4px 12px rgba(95, 184, 120, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

.user-banner-action .chat-user-btn:hover {
    background: #f0f9f2;
    color: #4ea667;
    border-color: #4ea667;
    transform: translateY(-1px);
}

.follow-button.follow-btn-active {
    background: var(--mz-bg-card);
    border: 1px solid var(--mz-border-light);
    color: var(--mz-text-secondary);
    box-shadow: var(--mz-shadow-card);
}

.follow-button.follow-btn-active:hover {
    background: var(--mz-bg-sidebar-hover);
    border-color: var(--mz-border-color);
    color: var(--mz-text-primary);
    box-shadow: var(--mz-shadow-card-hover);
    transform: none;
}

.follow-button.follow-btn-disabled {
    background: var(--mz-bg-sidebar-hover);
    border: 1px solid var(--mz-border-color);
    color: var(--mz-text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.follow-button.follow-btn-disabled:hover {
    transform: none;
    background: var(--mz-bg-sidebar-hover);
    color: var(--mz-text-muted);
}

@media (max-width: 768px) {
    .user-banner-bg {
        height: 140px;
    }

    .user-banner-info {
        flex-wrap: wrap;
        padding: 0 15px 12px;
        margin-top: -40px;
        gap: 10px;
    }

    .user-banner-avatar {
        margin-top: -40px;
    }

    .user-banner-avatar img {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .user-banner-meta {
        flex: 1;
        min-width: 0;
        padding-bottom: 0;
    }

    .user-banner-name {
        font-size: 17px;
    }

    .user-stat-item strong {
        font-size: 14px;
    }

    .user-stat-item em {
        font-size: 12px;
    }

    .user-banner-action {
        flex: 1 1 100%;
        display: flex;
        gap: 8px;
        padding-bottom: 0;
    }

    .user-banner-action .chat-user-btn {
        margin-right: 0;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .user-banner-action .follow-button {
        flex: 1;
        min-width: 0;
        text-align: center;
        height: 30px;
        line-height: 30px;
        padding: 0 14px;
        font-size: 13px;
    }
}

/* ========== 用户关系列表 ========== */
.user-relation-list {
    padding: 0;
}

.user-relation-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--mz-bg-card);
    box-shadow: var(--mz-shadow-card);
}

.user-relation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 80px;
    text-align: center;
}

.user-relation-avatar {
    flex-shrink: 0;
    display: block;
}

.user-relation-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-relation-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--mz-text-primary);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80px;
}

.user-relation-name:hover {
    color: var(--mz-text-active);
}

.user-relation-card .follow-button {
    border-radius: 12px;
    min-width: 50px;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    background: linear-gradient(135deg, #6ccb7a, #5fb878);
    border: none;
    color: #fff;
    box-shadow: 0 1px 4px rgba(95, 184, 120, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-relation-card .follow-button:hover {
    background: linear-gradient(135deg, #5bb86d, #4ea667);
    box-shadow: 0 2px 8px rgba(95, 184, 120, 0.3);
    color: #fff;
}

.user-relation-card .follow-button.follow-btn-active {
    background: var(--mz-bg-sidebar-hover);
    border: 1px solid var(--mz-border-light);
    color: var(--mz-text-secondary);
    box-shadow: none;
}

.user-relation-card .follow-button.follow-btn-active:hover {
    border-color: var(--mz-border-color);
    color: var(--mz-text-primary);
}

.user-relation-self {
    display: inline-block;
    min-width: 50px;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    text-align: center;
    border-radius: 12px;
    background: var(--mz-bg-sidebar-hover);
    border: 1px solid var(--mz-border-light);
    color: var(--mz-text-muted);
}

@media (max-width: 768px) {
    .user-relation-item {
        padding: 12px;
        gap: 10px;
    }

    .user-relation-card {
        width: 68px;
    }

    .user-relation-avatar img {
        width: 42px;
        height: 42px;
    }

    .user-relation-name {
        font-size: 12px;
        max-width: 68px;
    }

    .user-relation-card .follow-button {
        min-width: 44px;
        height: 22px;
        line-height: 22px;
        padding: 0 6px;
        font-size: 10px;
    }
}

/* ========== 最新注册用户 ========== */
.new-users-box {
    background: var(--mz-bg-card);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: var(--mz-shadow-card);
}

.new-users-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--mz-text-primary);
    margin-bottom: 12px;
}

.new-users-title i {
    font-size: 16px;
    color: #5fb878;
}

.new-users-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.new-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.new-user-item:hover {
    transform: translateY(-2px);
}

.new-user-avatar {
    width: 55px;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.new-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.new-user-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
}

.new-user-placeholder i {
    font-size: 20px;
    color: #999;
}

.new-user-name {
    margin-top: 4px;
    font-size: 11px;
    color: var(--mz-text-secondary);
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.new-user-item:hover .new-user-name {
    color: var(--mz-text-active);
}

.ziliao-name {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    color: var(--mz-text-primary);
}
.ziliao-lianxi {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    color: var(--mz-text-muted);
}
.ziliao-lianxi i {
    margin-right: 5px;
    font-size: 18px;
    font-style: inherit;
    color: var(--mz-text-primary);
}
.list-article {
    position: relative;
    padding: 16px;
    overflow: hidden;
    display: flex;
    gap: 16px;
    transition: box-shadow 0.2s;
}
.list-article:hover {
    box-shadow: var(--mz-shadow-card-hover);
}
.list-article-pic {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}
.list-article-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.list-article:hover .list-article-pic img {
    transform: scale(1.05);
}
.list-article-title {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list-article h1 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--mz-text-primary);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.list-article h1 a {
    color: var(--mz-text-primary);
    transition: color 0.2s;
}
.list-article h1 a:hover {
    color: #5fb878;
}
.list-article p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    height: 42px;
    color: var(--mz-text-secondary);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.list-article-msg,
.title-msg {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.list-article-msg span,
.title-msg span {
    color: var(--mz-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.list-article-msg span i,
.title-msg span i {
    font-size: 14px;
}
.list-article-msg span a,
.title-msg span a {
    color: inherit;
}
.list-article-msg span a:hover,
.title-msg span a:hover {
    color: #5fb878;
}
.title-article-content {
    position: relative;
    padding: 20px;
    border-radius: 5px;
}
.title-article-content h1 {
    margin-top: 0;
    padding: 10px 0 0 10px;
    font-size: 22px;
    color: var(--mz-text-primary);
}
.title-article-content .text p {
    margin: 20px 10px;
    line-height: 26px;
    color: var(--mz-text-secondary);
}
.title-article-content p span {
    margin-right: 10px;
}
.title-article-content .title-msg {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0 0 0 10px;
}
.title-msg-back {
    margin-left: auto;
    font-size: 18px;
    cursor: pointer;
    color: var(--mz-text-muted);
    transition: color 0.2s;
}
.title-msg-back:hover {
    color: #5fb878;
}
.title-article-content hr {
    background-color: var(--mz-border-color);
}
.page-text {
    overflow: hidden;
    margin: 15px 0;
}
.page-text div a {
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 0 7px 0 !important;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.page-text-left {
    width: 49%;
    height: 40px;
    padding: 5px 5px 5px 15px;
    border: 1px solid #e8eff0;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
}
.page-text-right {
    width: 49%;
    height: 40px;
    padding: 5px 15px 5px 5px;
    border: 1px solid #e8eff0;
    font-size: 14px;
    line-height: 28px;
    text-align: right;
}
.post {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--mz-bg-card);
}
.post .post-title {
    text-align: center;
}
.title-sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mz-border-color);
    overflow: hidden;
    color: var(--mz-text-secondary);
    font-weight: 500;
}
.title-sidebar i {
    margin: 0 4px;
    color: var(--mz-text-secondary);
    vertical-align: middle;
}
.title-sidebar h3 {
    font-weight: 600;
}
.prev-next-left,
.prev-next-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.link {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--mz-bg-card);
    box-shadow: var(--mz-shadow-card);
}
.link div a {
    display: inline-block;
    width: 45%;
    height: 22px;
    margin: 0 6px 5px 0 !important;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background-color: var(--mz-bg-card);
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    color: #555;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.link i {
    color: var(--mz-text-secondary);
}
.tags div a {
    overflow: hidden;
    margin: 0 0 7px 0 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.article-tag {
    display: inline-block;
    margin: 0 4px 4px 0;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--mz-tag-bg);
    font-size: 12px;
    color: var(--mz-tag-color);
    text-decoration: none;
    transition: color 0.2s,background 0.2s;
}
.article-tag:hover {
    background: rgba(95,184,120,0.08);
    color: #5fb878;
}
.article-tags-bottom {
    margin-top: 15px;
    margin-left: 7px;
}

/* ========== 标签页 ========== */
.tags-page-box {
    background: var(--mz-bg-card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--mz-shadow-card);
}

.tags-page-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--mz-text-primary);
    margin-bottom: 16px;
}

.tags-page-header i {
    font-size: 20px;
    color: #5fb878;
}

.tags-abc-current {
    margin-left: 8px;
    padding: 2px 10px;
    background: #5fb878;
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.tags-abc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mz-border-light);
}

.tags-abc-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--mz-bg-sidebar-hover);
    color: var(--mz-text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tags-abc-nav a:hover {
    background: #5fb878;
    color: #fff;
}

.tags-cloud-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--mz-bg-sidebar-hover);
    border-radius: 16px;
    color: var(--mz-text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tags-cloud-item:hover {
    background: rgba(95,184,120,0.1);
    color: #5fb878;
}

.tags-cloud-thumb {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.tags-cloud-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tags-cloud-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tags-cloud-count {
    font-size: 11px;
    color: var(--mz-text-muted);
}

.tags-empty {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    color: var(--mz-text-muted);
    font-size: 14px;
}

/* ========== 标签详情页 ========== */
.tags-detail-box {
    background: var(--mz-bg-card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--mz-shadow-card);
}

.tags-detail-header {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
}

.tags-detail-cover {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    box-shadow: 0 0 0 1px #eee;
}

.tags-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tags-detail-info {
    flex: 1;
    min-width: 0;
}

.tags-detail-info h1 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: var(--mz-text-primary);
}

.tags-detail-desc {
    margin: 0;
    font-size: 13px;
    color: var(--mz-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tags-detail-tabs {
    margin-top: 4px;
    background: var(--mz-bg-card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--mz-shadow-card);
}

.tags-detail-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--mz-border-light);
    margin-bottom: 16px;
}

.tags-detail-tab {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--mz-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tags-detail-tab:hover {
    color: var(--mz-text-primary);
}

.tags-detail-tab.active {
    color: #5fb878;
    border-bottom-color: #5fb878;
    font-weight: 600;
}

.tags-detail-tab-pane {
    display: none;
}

.tags-detail-tab-pane.active {
    display: block;
}

.tags-goods-item {
    display: block;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: var(--mz-bg-sidebar-hover);
    text-decoration: none;
    transition: all 0.2s;
}

.tags-goods-item:hover {
    background: rgba(95,184,120,0.06);
}

.tags-goods-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mz-text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.tags-goods-item:hover .tags-goods-title {
    color: #5fb878;
}

.tags-goods-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--mz-text-muted);
}

.tags-goods-meta i {
    font-size: 13px;
    margin-right: 2px;
}

.tags-baike-content {
    padding: 10px 0;
    line-height: 1.8;
    color: var(--mz-text-secondary);
    font-size: 14px;
}

.tags-baike-content img {
    max-width: 100%;
    border-radius: 4px;
}

.tags-comment-box {
    background: var(--mz-bg-card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--mz-shadow-card);
}

@media (max-width: 768px) {
    .tags-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tags-detail-cover {
        width: 60px;
        height: 60px;
    }

    .tags-goods-meta {
        gap: 8px;
    }

    .tags-abc-nav a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
.page-navigator {
    display: inherit;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 20px;
}
.page-navigator a:hover {
    background: inherit;
    color: inherit;
}
.page-navigator .current {
    background: #5fb878;
    color: #fff;
}
.footer {
    padding-top: 20px;
    padding-bottom: 37px;
    background: var(--mz-bg-card);
}
.layui-breadcrumb a {
    color: var(--mz-text-secondary) !important;
}
.footer span {
    color: var(--mz-text-muted);
}
.footer .t-copy {
    text-align: center;
}
.text p {
    margin: 10px 20px;
    color: var(--mz-text-secondary);
}
.text ol,.text ul {
    margin: 14px 0;
    padding-left: 40px;
}
.text ol li {
    list-style: decimal;
}
.text ul li {
    list-style: disc;
}
.layui-tab-title {
    margin-bottom: 10px;
    border-bottom-color: #e9e9e9;
    color: var(--mz-text-primary);
}
.layui-tab-brief > .layui-tab-title .layui-this {
    color: #5fb878;
}
.layui-icon {
    font-family: "layui-icon" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mobile-nav-btn {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    width: 36px;
    height: 36px;
    z-index: 10001;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    transform: translateY(-50%);
}
.mobile-nav-btn i {
    font-size: 24px;
    color: var(--mz-text-secondary);
}
.mobile-sidebar-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    background: rgba(0,0,0,0.5);
}
.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    z-index: 10003;
    padding: 15px 0;
    overflow-y: auto;
    background: var(--mz-bg-card);
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    transition: left 0.3s ease;
}
.mobile-sidebar.show {
    display: block;
    left: 0;
}
.mobile-sidebar-mask.show {
    display: block;
}

/* ========== 移动端顶部栏目导航 ========== */
.mobile-top-nav {
    display: none;
    background: var(--mz-bg-card);
    border-bottom: 1px solid var(--mz-border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-top-nav::-webkit-scrollbar {
    display: none;
}
.mobile-top-nav-inner {
    display: inline-flex;
    white-space: nowrap;
    padding: 0 12px;
}
.mobile-top-nav-item {
    display: inline-block;
    padding: 0 14px;
    line-height: 40px;
    font-size: 13px;
    color: var(--mz-text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.mobile-top-nav-item.active {
    color: var(--mz-text-active);
    border-bottom-color: var(--mz-text-active);
    font-weight: 500;
}

.mobile-sidebar .sidebar {
    margin-bottom: 0;
    box-shadow: none;
}
.mobile-sidebar .sidebar ul a li {
    padding: 12px 20px;
    font-size: 15px;
}
.mobile-user {
    padding: 15px 20px;
    border-bottom: 1px solid var(--mz-border-color);
}
.mobile-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.mobile-user-avatar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}
.mobile-user-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--mz-text-primary);
}
.mobile-user-actions {
    display: flex;
    gap: 10px;
}
.mobile-user-actions a {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: var(--mz-text-secondary);
}
.mobile-user-actions a:hover {
    background: var(--mz-dropdown-hover);
    color: var(--mz-text-primary);
}
.mobile-user-actions a i {
    margin-right: 4px;
    font-size: 14px;
}
.mobile-user-guest {
    display: flex;
    gap: 10px;
}
.mobile-login-btn,.mobile-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}
.mobile-login-btn {
    background: #5fb878;
    color: #fff;
}

.mobile-login-btn:hover {
    background: #4ea667;
    color: #fff;
}
.mobile-login-btn i {
    margin-right: 4px;
}
.mobile-reg-btn {
    background: var(--mz-bg-card);
    border: 1px solid #ddd;
    color: var(--mz-text-secondary);
}
.mobile-reg-btn:hover {
    background: var(--mz-dropdown-hover);
    color: var(--mz-text-primary);
}
.mobile-reg-btn i {
    margin-right: 4px;
}
@media (min-width: 1200px) {
    .layui-container {
        width: 1200px;
    }
    .layui-main {
        width: 1200px;
    }
}
@media (max-width: 1200px) {
    .layui-main {
        width: 100%;
    }
}
@media (max-width: 992px) {
    body {
        padding-top: 66px;
    }
    .layui-container {
        width: 100% !important;
        padding: 0 10px;
    }
    .header {
        position: fixed;
        height: 56px;
    }
    .sidebar-col,
    .right-col {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .header .layui-main {
        width: 100%;
        height: 100%;
    }
    .logo {
        left: 10px;
        top: 3px;
    }
    .logo img {
        width: auto;
        height: 36px;
        max-width: 50vw;
    }
    .header .layui-nav {
        display: none;
    }
    .header-user {
        display: none;
    }
    .top-nav {
        display: none;
    }
    .mobile-top-nav {
        display: block;
    }
    .header-search {
        display: none;
    }
    .mobile-dark-mode-toggle {
        display: block;
        position: absolute;
        right: 50px;
        top: 16px;
        width: 36px;
        height: 20px;
    }
    .mobile-dark-mode-toggle .slider {
        width: 16px;
        height: 16px;
    }
    .mobile-dark-mode-toggle .slider::after {
        font-size: 9px;
    }
    .mobile-dark-mode-toggle.active .slider {
        transform: translateX(16px);
    }
    .mobile-nav-btn {
        display: block;
    }
    .main {
        margin: 8px auto !important;
    }
    .sidebar-col {
        display: none;
    }
    .content-col {
        width: 100% !important;
    }
    .right-col {
        display: none;
    }
    .ziliao {
        height: auto;
    }
    .page-text-left,.page-text-right {
        width: 100%;
        margin-bottom: 5px;
    }
    .title-article-content h1 {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    .layui-container {
        padding: 0 8px;
    }
    .layui-container .main {
        margin: 5px auto;
    }
    .header {
        height: 50px;
    }
    .logo {
        left: 5px;
        top: 2px;
    }
    .logo img {
        height: 32px;
    }
    .header .layui-nav {
        display: none;
    }
    .mobile-nav-btn {
        right: 10px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    .mobile-nav-btn i {
        font-size: 20px;
    }
    .layui-col-md2,
    .layui-col-md3,
    .layui-col-md7,
    .layui-col-lg2,
    .layui-col-lg7 {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
    .sidebar {
        padding: 10px;
        margin-bottom: 10px;
    }
    .sidebar ul a li {
        padding: 8px 15px;
        font-size: 14px;
    }
    .ziliao {
        height: auto;
        padding: 15px 10px;
    }
    .ziliao .t-c img {
        width: 80px !important;
        height: 80px !important;
    }
    .ziliao-name {
        margin-top: 8px;
        font-size: 16px;
    }
    .ziliao-lianxi {
        margin-top: 10px;
        font-size: 12px;
    }
    .title-article-content {
        padding: 10px;
        margin-bottom: 10px;
    }
    .title-article-content h1 {
        font-size: 17px;
    }
    .layui-tab {
        margin: 0;
    }
    .layui-tab-title {
        white-space: normal;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .layui-tab-title li {
        padding: 0 10px;
        font-size: 13px;
        line-height: 30px;
    }
    .layui-tab-content {
        padding: 10px 5px;
    }
    .layui-hide-xs {
        display: none;
    }
    .page-navigator {
        margin: 10px 0;
        text-align: center;
    }
    .sidebar,.ziliao,.list-article,.title-article-content,.page-text,.tags {
        padding: 8px;
        margin-bottom: 10px;
    }
    .list-article {
        flex-direction: column;
        gap: 10px;
    }
    .list-article-pic {
        width: 100%;
        height: 160px;
    }
    .list-article h1 {
        font-size: 15px;
    }
    .list-article-msg {
        gap: 8px;
    }
    .layui-laypage a,
    .layui-laypage span {
        height: 28px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 28px;
    }
    .footer .t-copy {
        padding: 10px 0;
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .header .layui-nav .layui-nav-item a {
        padding: 0 5px;
        font-size: 12px;
    }
    .logo img {
        width: 100%;
        height: 40px;
    }
    .ziliao {
        padding: 10px 5px;
    }
    .ziliao .t-c img {
        width: 60px !important;
        height: 60px !important;
    }
    .ziliao-name {
        font-size: 14px;
    }
    .list-article h1 {
        font-size: 14px;
    }
    .list-article-msg span {
        font-size: 11px;
    }
    .title-article-content h1 {
        font-size: 16px;
    }
    .title-article-content .text p {
        margin: 10px 0;
        line-height: 22px;
    }
}
.mz-auth-layer {
    border-radius: 12px !important;
    overflow: visible;
}
.mz-auth-layer .layui-layer-content {
    border-radius: 12px;
    overflow: visible;
}
.mz-auth-layer .layui-layer-setwin {
    top: 12px;
    right: 12px;
}
.mz-auth-layer .layui-layer-setwin a {
    font-size: 20px;
    color: #999;
    opacity: 1;
}
.mz-auth-layer .layui-layer-setwin a:hover {
    color: #333;
    opacity: 1;
}
.mz-auth-popup {
    padding: 30px 28px 20px;
}
.mz-auth-popup-header {
    text-align: center;
    margin-bottom: 28px;
}
.mz-auth-popup-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mz-text-primary);
    margin: 0 0 8px;
}
.mz-auth-popup-header p {
    font-size: 13px;
    color: var(--mz-text-muted);
    margin: 0;
}
.mz-auth-popup-body .layui-form-item {
    position: relative;
    margin-bottom: 16px;
}
.mz-auth-popup-body .layadmin-user-login-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mz-text-muted);
    font-size: 18px;
    z-index: 1;
}
.mz-auth-popup-body .layui-input {
    padding-left: 40px;
    height: 44px;
    line-height: 44px;
    border-radius: 8px;
    border-color: var(--mz-border-color);
    font-size: 14px;
    transition: border-color 0.2s;
}
.mz-auth-popup-body .layui-input:focus {
    border-color: #5fb878;
    box-shadow: 0 0 0 2px rgba(95,184,120,0.15);
}
.mz-auth-submit-btn {
    height: 44px;
    line-height: 44px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #6ccb7a, #5fb878);
    border: none;
}
.mz-auth-submit-btn:hover {
    background: linear-gradient(135deg, #5bb86d, #4ea667);
}
.mz-auth-popup-footer {
    text-align: center;
    margin-top: 16px;
}
.mz-auth-switch {
    font-size: 13px;
    color: #5fb878;
    cursor: pointer;
    text-decoration: none;
}
.mz-auth-switch:hover {
    color: #4ea667;
    text-decoration: underline;
}
@media screen and (max-width: 480px) {
    .mz-auth-popup {
        padding: 24px 20px 16px;
    }
    .mz-auth-popup-header h2 {
        font-size: 20px;
    }
    .mz-auth-popup-body .layui-input {
        height: 42px;
        line-height: 42px;
        font-size: 16px;
    }
    .mz-auth-submit-btn {
        height: 42px;
        line-height: 42px;
    }
    .mz-auth-captcha-item {
        flex-wrap: wrap;
    }
    .mz-auth-captcha-input {
        padding-right: 12px !important;
        width: 100%;
    }
    .mz-auth-captcha-img {
        position: static;
        margin-top: 8px;
        height: 38px;
    }
}
.mz-auth-captcha-item {
    position: relative;
}
.mz-auth-captcha-input {
    padding-right: 130px !important;
}
.mz-auth-captcha-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 44px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    border-left: 1px solid var(--mz-border-color);
}
.mz-auth-agreement-item {
    margin-bottom: 0 !important;
}
.mz-auth-agreement-item .layui-form-checkbox {
    margin: 0 !important;
}
.mz-auth-agreement-item .layui-form-checkbox span {
    font-size: 13px;
    color: var(--mz-text-secondary);
}
.mz-auth-agreement-btn {
    font-size: 13px;
    color: #5fb878;
    cursor: pointer;
    vertical-align: bottom;
    margin-left: 4px;
}
.mz-auth-agreement-btn:hover {
    color: #4ea667;
    text-decoration: underline;
}
.mz-auth-popup-footer .mz-auth-link {
    font-size: 13px;
    color: var(--mz-text-secondary);
    text-decoration: none;
    margin-right: 16px;
}
.mz-auth-popup-footer .mz-auth-link:hover {
    color: #5fb878;
}
.mz-auth-tips {
    color: var(--mz-text-muted) !important;
    font-size: 13px !important;
    font-weight: 300;
}
.mz-auth-social {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--mz-border-light);
    text-align: center;
}
.mz-auth-social-label {
    font-size: 12px;
    color: var(--mz-text-muted);
    display: block;
    margin-bottom: 8px;
}
.mz-auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #12b7f5;
    color: #fff !important;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.mz-auth-social-btn:hover {
    opacity: 0.85;
}
.mz-auth-qq {
    background: #12b7f5;
}
