/* ============================================
   Pages CSS - 首页和帖子页面样式
   ============================================ */

/* ========== Badge 徽章样式 ========== */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge:empty {
    display: none;
}

.btn .badge {
    position: relative;
    top: -1px;
}

.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

.badge-primary {
    color: #fff;
    background-color: #1f4977;
}

.badge-primary[href]:hover,
.badge-primary[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #14304f;
}

.badge-secondary {
    color: #fff;
    background-color: #868e96;
}

.badge-secondary[href]:hover,
.badge-secondary[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #6c757d;
}

.badge-success {
    color: #fff;
    background-color: #177f2e;
}

.badge-success[href]:hover,
.badge-success[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #0f541e;
}

.badge-info {
    color: #fff;
    background-color: #117887;
}

.badge-info[href]:hover,
.badge-info[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #0b505a;
}

.badge-warning {
    color: #212529;
    background-color: #f1c84c;
}

.badge-warning[href]:hover,
.badge-warning[href]:focus {
    color: #212529;
    text-decoration: none;
    background-color: #edb91d;
}

.badge-danger {
    color: #fff;
    background-color: #c6303e;
}

.badge-danger[href]:hover,
.badge-danger[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #9d2631;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.badge-light[href]:hover,
.badge-light[href]:focus {
    color: #212529;
    text-decoration: none;
    background-color: #dae0e5;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

.badge-dark[href]:hover,
.badge-dark[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #1d2124;
}

/* 默认样式 */
.dibuziliao {
  height: 3000px;
}

@media (max-width: 360px) {
  .dibuziliao {
    height: 3000px;
  }
}

@media (max-width: 320px) {
  .dibuziliao {
    height: 3200px;
  }
}




/* ========== 页面容器样式 ========== */
.divheader,
.divbody,
.divfooter {
    font-size: 1.30rem;
}

.divheader {
    font-size: 1.30rem;
}

@media (min-width: 477px) and (max-width: 767px) {
    .divheader,
    .divbody,
    .divfooter {
        font-size: 1.05rem;
        margin-top: 0px;
    }
    
    .divheader {
        padding-top: 30px;
        margin-top: 0px;
    }
    
    ol, ul {
        padding-left: 1.5rem;
    }
    
    .news-title-title {
        font-size: 1.15rem;
    }
    
    .subject-username {
        display: inline;
    }
}

@media (max-width: 476px) {
    .divheader,
    .divbody,
    .divfooter {
        font-size: 0.85rem;
        margin-top: 0px;
    }
    
    .divheader {
        padding-top: 50px;
        margin-top: 0px;
    }
    
    ol, ul {
        padding-left: 1rem;
    }
    
    .news-title-title {
        font-size: 1.05rem;
    }
    
    .subject-username {
        display: none;
    }
}

.subject-title {
    display: inline;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: clip;
}

.tap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.subject .username {
    max-width: 123px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

div.divcontainer {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0px;
    padding-top: 100px; /* 为固定顶部菜单留出空间 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 3px;
}

/* 响应式设计 - 360px屏幕宽度 */
@media (max-width: 360px) {
    div.divcontainer {
        padding-top: 90px;
    }
}



div.danyedivcontainer {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0px;
    padding-top: 90px; /* 为固定顶部菜单留出空间 */

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 3px;
}



.divheader {
    padding: 3px;
    border-radius: 8px;
    margin-bottom: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.divheader .user-info-bar {
    margin: 0 0 10px 0;
    max-width: 100%;
}

.divbody {
    padding: 3px 0;
}

.divfooter {
    padding: 5px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ========== 头部容器样式 ========== */
.container {

}

.header {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* 改为visible，确保内容不被裁剪 */
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important; /* 明确设置translateY(0) */
    z-index: 10000 !important;
    background: #eee !important;
    transition: none !important; /* 禁用过渡动画，避免隐藏效果 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* 手机端确保顶部菜单始终固定显示 */
@media (max-width: 795px) {
    .header {
        left: 0 !important;
        right: 0 !important;
        transform: translateY(0) !important; /* 明确设置translateY(0) */
        width: 100vw !important;
        max-width: 100% !important;
        z-index: 10000 !important;
        top: 0 !important;
        overflow: visible !important;
    }
}

/* 禁用顶部菜单隐藏功能，保持始终显示 - 强制覆盖所有可能的隐藏样式 */
.header.header-hidden,
.header.header-hidden * {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* 手机端确保header-hidden类也不会隐藏 */
@media (max-width: 795px) {
    .header.header-hidden,
    .header.header-hidden * {
        transform: translateY(0) !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
}

.header .logo.p-all {
    width: 100% !important;
    max-width: 480px !important;
    padding: 0.2rem !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    min-width: 0 !important;
    position: relative !important;
}

.header .logo > a {
    flex-shrink: 1 !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.header .logo > a img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.header .logo > div {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: calc(50% - 4px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 480px宽度下的用户信息优化 */
@media (max-width: 480px) {
    .user-info-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
    }
    
    .user-info-content {
        flex: 1;
        min-width: 0;
        gap: 3px;
    }
    
    .user-info-line {
        font-size: 12px;
        gap: 3px;
    }
    
    .user-action-buttons {
        gap: 3px;
        flex-shrink: 0;
    }
    
    /* 小屏幕下的头像调整 */
    .header-user-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .btn-post,
    .btn-logout {
        width: 45px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
}

/* ========== 底部导航菜单 ========== */
body {
    padding-bottom: 60px !important; /* 为底部菜单留出空间，确保不被遮挡 */
    margin-bottom: 0 !important;
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 手机端确保body有足够的底部padding，并处理安全区域 */
@media (max-width: 795px) {
    body {
        padding-bottom: 60px !important;
        padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; /* 处理iPhone等设备的安全区域 */
    }
    
    /* 确保菜单不被安全区域影响 */
    .layout-nav {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    /* 确保顶部菜单不被安全区域影响 */
    .header {
        padding-top: env(safe-area-inset-top) !important;
    }
}

.layout-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important; /* 明确设置translateY(0) */
    z-index: 99999 !important;
    width: 100% !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important; /* 确保内容不被裁剪 */
}

/* 手机端确保底部菜单始终固定显示 */
@media (max-width: 795px) {
    .layout-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(0) !important; /* 明确设置translateY(0) */
        width: 100vw !important;
        max-width: 100% !important;
        z-index: 99999 !important;
        overflow: visible !important;
    }
}

.layout-nav .van-tabbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-around !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    background: #fff !important;
    border-top: 1px solid #e0e0e0 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08) !important;
    height: 48px !important;
    overflow: hidden !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.layout-nav .van-tabbar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6c757d !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex: 1 1 0% !important;
    text-align: center !important;
    padding: 4px 2px !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    text-decoration: none !important;
}
.layout-nav .van-tabbar-item:hover {
    text-decoration: none !important;
}
.layout-nav .van-tabbar-item:visited {
    text-decoration: none !important;
}
.layout-nav .van-tabbar-item:active {
    text-decoration: none !important;
}
.layout-nav .van-tabbar-item:focus {
    text-decoration: none !important;
}

.layout-nav .van-tabbar-item:hover {
    background: rgba(0, 0, 0, 0.03) !important;
}

.layout-nav .van-tabbar-item.active {
    color: #dc3545 !important;
}

.layout-nav .van-tabbar-item.active .van-tabbar-item__icon i {
    color: #dc3545 !important;
}

.layout-nav .van-tabbar-item.active .van-tabbar-item__text span {
    color: #dc3545 !important;
    font-weight: 600 !important;
}

.layout-nav .van-tabbar-item__icon {
    position: relative !important;
    margin-bottom: 1px !important;
}

.layout-nav .van-tabbar-item__icon i {
    font-size: 22px !important;
    display: block !important;
    margin: 0 auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #6c757d !important;
    line-height: 1 !important;
}

.layout-nav .van-tabbar-item__icon img {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    margin: 0 auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%) !important;
}

.layout-nav .van-tabbar-item__text {
    font-size: 11px !important;
    line-height: 1 !important;
    margin-top: 1px !important;
}

/* PC端保持相同大小，但可以调整其他样式 */
@media (min-width: 796px) {
    .layout-nav .van-tabbar-item__icon i {
        font-size: 22px !important;
    }
    .layout-nav .van-tabbar-item__icon img {
        width: 22px !important;
        height: 22px !important;
    }
}

.layout-nav .van-tabbar-item__text span {
    color: #6c757d !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.layout-nav .nav-solt {
    display: none !important;
}

/* 聊天消息角标样式 - 底部菜单 */
.chat-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    padding: 0 4px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
}

/* ========== 用户信息区域样式 ========== */
.user-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

/* 顶部菜单用户头像 */
.header-user-avatar-wrapper {
    flex-shrink: 0;
    margin-left: auto;
}

.header-user-avatar-link {
    display: block;
    text-decoration: none;
}

.header-user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #8a1d17 0%, #c60 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #75d5a8;
}

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

.user-info-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex: 1;
    min-width: 0;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.user-info-line {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: rgb(0 0 0 / 8%);
    border-radius: 4px;
}

.user-info-line .user-icon {
    color: #059669;
    font-size: 15px;
    flex-shrink: 0;
    flex-grow: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    line-height: 1;
}

.user-info-line .user-value {
    color: #1f2937;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    white-space: nowrap;
}

.user-info-line .coin-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.user-info-line .coin-link:hover {
    text-decoration: none;
}

.user-info-line .coin-link:visited {
    text-decoration: none;
}

.user-info-line .coin-link:active {
    text-decoration: none;
}

.user-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

/* 横向按钮布局 */
.user-action-buttons-horizontal {
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* 横向布局时的按钮样式优化 - 默认尺寸（较大） */
.user-action-buttons-horizontal .btn-register,
.user-action-buttons-horizontal .btn-login {
    width: auto !important;
    min-width: 70px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    flex: 0 0 auto !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* 响应式设计 - 480px以下 */
@media (max-width: 480px) {
    .user-action-buttons-horizontal {
        gap: 8px !important;
    }
    
    .user-action-buttons-horizontal .btn-register,
    .user-action-buttons-horizontal .btn-login {
        min-width: 65px !important;
        padding: 7px 14px !important;
        font-size: 13px !important;
    }
}

/* 响应式设计 - 400px以下 */
@media (max-width: 400px) {
    .user-action-buttons-horizontal {
        gap: 6px !important;
    }
    
    .user-action-buttons-horizontal .btn-register,
    .user-action-buttons-horizontal .btn-login {
        min-width: 60px !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* 响应式设计 - 360px以下（小屏手机） */
@media (max-width: 360px) {
    .user-action-buttons-horizontal {
        gap: 5px !important;
    }
    
    .user-action-buttons-horizontal .btn-register,
    .user-action-buttons-horizontal .btn-login {
        min-width: 55px !important;
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
}

/* 响应式设计 - 320px以下（超小屏手机） */
@media (max-width: 320px) {
    .user-action-buttons-horizontal {
        gap: 4px !important;
    }
    
    .user-action-buttons-horizontal .btn-register,
    .user-action-buttons-horizontal .btn-login {
        min-width: 50px !important;
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
}

/* 未登录时，按钮靠右显示 */
.user-info-wrapper:not(:has(.user-info-content)) .user-action-buttons {
    margin-left: auto;
}

/* 兼容不支持 :has() 的浏览器 */
.user-info-wrapper > .user-action-buttons:only-child {
    margin-left: auto;
}

/* ========== 发帖按钮样式 ========== */
.btn-post {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
    width: 50px;
}

.btn-post:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 3px 6px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-post:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
}

.btn-post b {
    color: #fff;
    font-weight: 600;
}

/* ========== 退出按钮样式 ========== */
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
    width: 50px;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 3px 6px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-logout:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.3);
}

.btn-logout b {
    color: #fff;
    font-weight: 600;
}

/* ========== 注册按钮样式 ========== */
.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
    width: 50px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 3px 6px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-register:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
}

.btn-register b {
    color: #fff;
    font-weight: 600;
}

/* ========== 登录按钮样式 ========== */
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
    width: 50px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 3px 6px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.3);
}

.btn-login b {
    color: #fff;
    font-weight: 600;
}

/* ========== 全局样式 ========== */
* {
    box-sizing: border-box;
}

a {
    transition: all 0.3s ease;
}

/* ========== 顶部工具栏样式 ========== */
.toptool,
.waptop,
.midy {
    border-bottom: 1px solid #b34700;
}

.popoutContent {
    border: 7px solid #b34700;
}

.sx,
.sho-win {
    border: 1px solid #b34700;
}

.fb-1,
.fb-2,
.fb-3,
.fb-4,
.fb-5 {
    background: linear-gradient(to bottom, #ff0000, #ffd700);
}

.toptool,
.waptop,
.midy,
.scroll,
.h {
    background: linear-gradient(to bottom, #ff0000, #ffd700);
}

.tr3 td,
.tr3 th,
.tt10 {
    border-bottom: 1px solid #ff741a;
}

.toptool li .int {
    background: linear-gradient(to bottom, #ff0000, #ffd700);
    border: #b34700;
}

.toptool li .int:hover {
    background: #2db300;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
    border: #b34700;
}

a.register-button,
a.login-button {
    background: linear-gradient(to bottom, #ff0000, #ffd700);
}

.toptool {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: fixed;
    z-index: 998;
    width: 100%;
    top: 0;
    overflow: hidden;
    font-family: Arial, "微软雅黑";
    font-size: 22px;
    height: 80px;
    line-height: 54px;
    font-weight: bold;
    color: #2db300;
    box-shadow: 0px 4px 5px 0px #ccc;
}

.toptool li {
    float: left;
}

.toptool li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 14px;
    text-decoration: none;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
}

.toptool li a:hover:not(.active) {
    color: #ffff00;
    background-color: linear-gradient(to bottom, #ff0000, #ffd700);
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
}

.toptool li .int {
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
    border: 1px solid #F44336;
    height: 80px;
    width: 80px;
    color: #fff;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
}

.toptool li .int:hover {
    border: 1px solid #F44336;
    color: #ffff00;
}

.ist {
    color: #2db300;
    text-shadow: 0px 0px 1px #eee, 0px 0px 2px #eee, 0px 0px 3px #eee, 0px 0px 4px #eee;
}

.toptool li a.active {
    color: #fff;
    border: 1px solid #F44336;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
}

.toptool li a:hover {
    color: #ff0;
    border: 1px solid #F44336;
    background-color: #39e600;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
}

.indexnav {
    width: 100%;
    max-width: 996px;
    margin: 0 auto;
    padding: 1px 0 1px 0;
    height: 80px;
    white-space: nowrap;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.indexnav li {
    margin-left: 5px;
}

.postbut {
    width: 118px;
    border: 2px solid #2db300;
    height: 23px;
    font-size: 20px;
    border-radius: 3px;
    line-height: 18px;
    margin-bottom: 4px;
    box-shadow: 0px 0px 3px 1px #d9d9d9;
}

.postbut:hover {
    background: #ecf4f9;
    border-color: #87bcd8;
    border: 2px solid #ff0000;
}

.toptool .logo {
    float: left;
    height: 80px;
    margin-left: 0px;
}

.toptool .logo img {
    display: block;
    width: 200px;
    height: 80px;
}

a.register-button {
    position: fixed;
    top: 0px;
    height: 50px;
    right: 0px;
    color: #fff;
    padding: 0px 10px 1px 10px;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
}

a.login-button {
    position: fixed;
    top: 0px;
    height: 50px;
    left: 0px;
    color: #fff;
    padding: 0px 10px 1px 10px;
    box-shadow: 0px 0px 3px 2px #d9d9d9;
    text-shadow: 0px 0px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000, 0px 0px 4px #000;
}

.djgs {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
}

.djgs img {
    width: 90px;
    height: 90px;
}

.djgs a {
    text-decoration: none;
    color: #cc0000;
    display: block;
    font-size: 22px;
    line-height: 1.68;
}

@media (max-width: 795px) {
    #main {
        width: 100%;
        min-width: 320px;
        padding-top: 0px;
    }
    
    .waptop {
        margin: 0;
        padding: 0;
        position: fixed;
        z-index: 998;
        width: 100%;
        top: 0;
        overflow: hidden;
        font-family: Arial, "微软雅黑";
        border-bottom: solid 1px #666;
        line-height: 54px;
        height: 51px;
        color: #fff;
        font-size: 21px;
        text-align: center;
    }
    
    .djgs img {
        width: 45px;
        height: 45px;
    }
    
    .djgs a {
        font-size: 13px;
    }
}

/* ========== 首页用户信息栏样式 ========== */
.user-info-bar {
    width: 100%;
    max-width: 480px;
    margin: 10px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-info-bar.guest-bar {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 1px solid #e0e6ed;
}

.user-info-bar.logged-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid #5a67d8;
}

.user-info-content {
    padding: 1px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
}

.guest-bar .user-info-content {
    color: #1a1d20;
}

.logged-bar .user-info-content {
    color: #fff;
}

.guest-text {
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-link {
    color: #039e6d;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(3, 158, 109, 0.1);
}

.auth-link:hover {
    background: rgba(3, 158, 109, 0.2);
    transform: translateY(-1px);
}

.auth-separator {
    color: #ccc;
    margin: 0 2px;
}

.user-main-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.user-label,
.coin-label {
    font-size: 14px;
    opacity: 0.9;
}

.user-name,
.coin-value {
    font-weight: 700;
    color: #ffd700;
    font-size: 15px;
}

.info-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logout-btn {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

@media (max-width: 480px) {
    .user-info-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-main-info {
        width: 100%;
    }
    
    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ========== 加载动画样式 ========== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #4cbd99;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    display: inline-block;
    vertical-align: middle;
    color: #666;
    font-size: 14px;
}

.loading-text::after {
    content: "\52A0\8F7D\4E2D\002E\002E\002E";
}

.loading-container {
    text-align: center;
    padding: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 表格样式 ========== */
/* .xxqbbslisttable 表格样式已定义在其他地方 */

table.xxqbbslisttable {
    border-collapse: collapse;
    border-bottom: 1px solid #d2d8de;
    width: 100%;
    color: black;
    font-weight: bold;
}

table.xxqbbslisttable td,
table.xxqbbslisttable th {
    border-bottom: 1px solid #d2d8de;
    text-align: left;
    color: #666666;
    padding: 9px 0px 9px 0px;
}

table.xxqbbslisttable th {
    background-color: #4cbd99;
}

/* ========== 背景样式 ========== */
body {
    background-size: cover;
    background-attachment: fixed;
    min-height: 100%;
}

/* 帖子页面背景色 */
body.topic-page {
    background-color: #fff;
}

/* ========== Banner容器样式 ========== */
.banner-container-hidden {
    min-height: 20px;
    display: none;
}

/* ========== 错误提示样式 ========== */
.error-message {
    color: red;
}

/* ========== 帖子列表样式 (gst.php) - 完全模仿目标网站样式 ========== */
/* 目标网站：https://kkdd66.87359.com:8443/ 的"六合风云【推荐资料】上榜高手"列表样式 */
.fuba-list {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.fuba-list ul {
    padding-top: 5px !important;
    padding-left: 0 !important;
    margin: 1px !important;
    list-style: none !important;
    display: block !important;
}

.fuba-list li {
    padding: 0px 5px 5px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    list-style: none !important;
    display: list-item !important;
}

/* 链接样式 - 只模仿背景和边框，保持原来的颜色 */
.fuba-list li a.fb_cst {
    display: block !important;
    padding: 5px !important;
    text-align: left !important; /* 改为左对齐 */
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #ddd #ddd #aaa !important;
    background: #fff !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    /* 不强制颜色，保持原来的动态颜色 */
    font-size: 18px !important;
    line-height: 25.2px !important;
    transition: none !important;
}

.fuba-list li a.fb_cst:hover {
    text-decoration: none !important;
    transform: none !important;
}

/* strong 标签样式 - 标题，保持原来的颜色 */
.fuba-list li a.fb_cst strong {
    /* 不强制颜色，保持原来的动态颜色 */
    font-size: 18px !important;
    font-weight: 700 !important;
    display: inline !important;
}

/* i 标签样式 - 去掉背景，设置圆角 5px，放在左边 */
.fuba-list li a.fb_cst i {
    display: inline-block !important;
    margin-right: 5px !important; /* 改为右边距，因为标签在标题左边 */
    margin-left: 0 !important;
    font-style: normal !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 5px !important;
    vertical-align: middle !important; /* 垂直居中对齐 */
}

/* 置顶标签边框颜色与文字颜色一致 */
.fuba-list li a.fb_cst i.badge-fb1 {
    border-color: #555 !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb2 {
    border-color: #555 !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb3 {
    border-color: #555 !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb4 {
    border-color: #8B4513 !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb5 {
    border-color: #dc3545 !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb6 {
    border-color: #0ff !important; /* 与文字颜色一致 */
}

.fuba-list li a.fb_cst i.badge-fb7 {
    border-color: #555 !important; /* 与文字颜色一致 */
}

/* 加载状态样式 */
.post-loading-item {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-bottom-color: #aaa !important;
    border-radius: 5px !important;
    min-height: auto !important;
}

.post-loading-item::before {
    display: none !important;
}

/* PC端优化 */
@media (min-width: 796px) {
    .fuba-list {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .fuba-list ul {
        padding-top: 5px !important;
        margin: 1px !important;
    }
    
    .fuba-list li {
        padding: 0px 5px 5px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 5px !important;
        font-size: 18px !important;
        line-height: 25.2px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 18px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 14px !important;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_ztbz {
        padding: 5px 12px !important;
        font-size: 14px !important;
    }
}

.fb_scyzt {
    color: #9104b3;
    font-weight: bold;
    font-size: 29px;
    overflow: hidden;
}

.fb_ecysz {
    color: #81021e;
    font-weight: bold;
    font-size: 29px;
    overflow: hidden;
}

.fb_ccyst {
    color: #2c8709;
    font-weight: bold;
    font-size: 29px;
    overflow: hidden;
}

.fb_ckt {
    color: #000000;
    font-weight: bold;
    font-size: 29px;
    overflow: hidden;
}

.fb_ztmz {
    color: #9933ff;
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
}

.fb_ztsj {
    color: #000000;
    font-size: 13px;
    overflow: hidden;
}

.fb_ztsj a {
    color: #000000;
    font-size: 13px;
    overflow: hidden;
}

.fb_ztfh {
    color: #000000;
    font-size: 16px;
    overflow: hidden;
    margin-left: 10px;
    display: inline-block;
}

.fb_zdsj {
    font-family: Tahoma, Verdana;
    color: #666666;
    font-size: 13px;
}

.fb_zddjs {
    font-family: Tahoma, Verdana;
    color: #000000;
    font-size: 13px;
}

.fb_zdlsjl {
    font-family: Tahoma, Verdana;
    color: #008000;
    font-size: 13px;
}

.fb_zdhfts {
    font-family: Tahoma, Verdana;
    color: #0000ff;
    font-size: 13px;
}

.fb_hfzt {
    font-family: Tahoma, Verdana;
    color: #008ef1;
    font-size: 12px;
}

.fb_hffh {
    font-family: Tahoma, Verdana;
    color: #999999;
    font-size: 12px;
}

.fb_hfmz {
    font-family: Tahoma, Verdana;
    color: #999999;
    font-size: 12px;
}

.fb_hfsj {
    font-family: Tahoma, Verdana;
    color: #999999;
    font-size: 12px;
}

.fb_gsbzt {
    font-family: Tahoma, Verdana;
    color: #3973ac;
    font-weight: bold;
    font-size: 15px;
}

.fb_gsbfh {
    font-family: Tahoma, Verdana;
    color: #668B8B;
    font-size: 15px;
}

.fb_gsbmz {
    font-family: Tahoma, Verdana;
    color: #ff0000;
    font-weight: bold;
    font-size: 15px;
}

.f_date {
    text-align: right;
}

/* 480px 最大宽度下的优化样式 */
@media (max-width: 481px) {
    .fuba-list ul {
        padding-top: 5px !important;
        margin: 1px !important;
    }
    
    .fuba-list li {
        padding: 0px 5px 5px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 5px !important;
        font-size: 16px !important;
        line-height: 24px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 16px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 14px !important;
        line-height: 22px;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_ztmz {
        font-size: 13px;
    }
    
    .fb_ztsj {
        font-size: 11px;
    }
    
    .fb_ztsj a {
        font-size: 11px;
    }
    
    .fb_ztfh {
        font-size: 12px;
        margin-left: 6px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 11px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 10px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 12px;
    }
}


/* 390px 最大宽度下的优化样式 */
@media (max-width: 391px) {
    .fuba-list ul {
        padding-top: 5px !important;
        margin: 1px !important;
    }
    
    .fuba-list li {
        padding: 0px 5px 5px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 4px !important;
        font-size: 15px !important;
        line-height: 24px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 15px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 14px !important;
        line-height: 22px;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_ztmz {
        font-size: 13px;
    }
    
    .fb_ztsj {
        font-size: 11px;
    }
    
    .fb_ztsj a {
        font-size: 11px;
    }
    
    .fb_ztfh {
        font-size: 12px;
        margin-left: 6px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 11px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 10px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 12px;
    }
}



/* 380px 最大宽度下的优化样式 */
@media (max-width: 380px) {
    .fuba-list ul {
        padding-top: 5px !important;
        margin: 1px !important;
    }
    
    .fuba-list li {
        padding: 0px 4px 4px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 4px !important;
        font-size: 15px !important;
        line-height: 22px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 15px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 14px !important;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_ztmz {
        font-size: 13px;
    }
    
    .fb_ztsj {
        font-size: 11px;
    }
    
    .fb_ztsj a {
        font-size: 11px;
    }
    
    .fb_ztfh {
        font-size: 12px;
        margin-left: 6px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 11px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 10px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 12px;
    }
}


/* 360px 响应式字体 */
@media (max-width: 361px) {
    .fuba-list li a.fb_cst {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 14px !important;
        line-height: 25px;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 13px !important;
    }
    
    .fb_cst {
        font-size: 14px !important;
        line-height: 1.5;
    }
    
    .fb_ztbz {
        font-size: 9px;
        padding: 2px 4px;
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #999 !important;
        font-weight: normal !important;
    }
    
    .fb_ztmz {
        font-size: 12px;
    }
    
    .fb_ztsj {
        font-size: 10px;
    }
    
    .fb_ztfh {
        font-size: 11px;
    }
    
    .fb_scyzt,
    .fb_ecysz,
    .fb_ccyst {
        font-size: 24px;
    }
}

/* 320px 响应式字体 */
@media (max-width: 320px) {
    .fuba-list li a.fb_cst {
        font-size: 13px !important;
        line-height: 20px !important;
        padding: 4px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 13px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 10px !important;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_cst {
        font-size: 12px !important;
        line-height: 1.4;
    }
    
    .fb_ztbz {
        font-size: 8px;
        padding: 1px 3px;
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #999 !important;
        font-weight: normal !important;
    }
    
    .fb_ztmz {
        font-size: 11px;
    }
    
    .fb_ztsj {
        font-size: 9px;
    }
    
    .fb_ztfh {
        font-size: 10px;
    }
    
    .fb_scyzt,
    .fb_ecysz,
    .fb_ccyst {
        font-size: 20px;
    }
    
    .fuba-item {
        padding: 6px 4px;
    }
    
    .fuba-item > div {
        gap: 4px;
    }
}

/* 小屏幕移动端响应式样式 */
@media (max-width: 424px) {
    .fuba-item {
        padding: 7px 8px;
    }
    
    .fb_ztbz {
        font-size: 14px;
        font-weight: bold;
        border-radius: 10px;
        line-height: 1.3;
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #999 !important;
        font-weight: normal !important;
    }
    
    /* .fb_cst 字体大小已在上面单独设置 */
    
    .fb_ztzt {
        font-size: 12px;
        margin-left: 0;
        line-height: 1.4;
    }
    
    .fb_ztmz {
        font-size: 11px;
    }
    
    .fb_ztsj {
        font-size: 10px;
    }
    
    .fb_ztfh {
        font-size: 10px;
        margin-left: 4px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 10px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 9px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .fuba-item {
        padding: 7px 8px;
    }
    
    .fb_ztbz {
        font-size: 14px;
        font-weight: bold;
        border-radius: 10px;
        line-height: 1.3;
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #999 !important;
        font-weight: normal !important;
    }
    
    /* .fb_cst 字体大小已在上面单独设置 */
    
    .fb_ztzt {
        font-size: 12px;
        margin-left: 0;
        line-height: 1.4;
    }
    
    .fb_ztmz {
        font-size: 11px;
    }
    
    .fb_ztsj {
        font-size: 10px;
    }
    
    .fb_ztfh {
        font-size: 10px;
        margin-left: 4px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 10px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 9px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 11px;
    }
}

@media (max-width: 321px) {
    .fuba-list li {
        padding: 0px 4px 4px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 4px !important;
        font-size: 14px !important;
        line-height: 21px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 12px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 12px !important;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
    
    .fb_ztbz {
        font-size: 12px;
        font-weight: bold;
        border-radius: 10px;
        line-height: 1.3;
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #999 !important;
        font-weight: normal !important;
    }
    
    /* .fb_cst 字体大小已在上面单独设置 */
    
    .fb_ztzt {
        font-size: 12px;
        margin-left: 0;
        line-height: 1.4;
    }
    
    .fb_ztmz {
        font-size: 11px;
    }
    
    .fb_ztsj {
        font-size: 10px;
    }
    
    .fb_ztfh {
        font-size: 10px;
        margin-left: 4px;
    }
    
    .fb_zdsj,
    .fb_zddjs,
    .fb_zdlsjl,
    .fb_zdhfts {
        font-size: 10px;
    }
    
    .fb_hfzt,
    .fb_hffh,
    .fb_hfmz,
    .fb_hfsj {
        font-size: 9px;
    }
    
    .fb_gsbzt,
    .fb_gsbfh,
    .fb_gsbmz {
        font-size: 11px;
    }
}


/* 中等屏幕样式 */
@media (min-width: 481px) and (max-width: 795px) {
    .fuba-list {
        padding: 0 !important;
    }
    
    .fuba-list ul {
        padding-top: 5px !important;
        margin: 1px !important;
    }
    
    .fuba-list li {
        padding: 0px 5px 5px !important;
    }
    
    .fuba-list li a.fb_cst {
        padding: 5px !important;
        font-size: 17px !important;
        line-height: 24px !important;
    }
    
    .fuba-list li a.fb_cst strong {
        font-size: 17px !important;
    }
    
    .fuba-list li a.fb_cst i {
        font-size: 13px !important;
        margin-right: 5px !important; /* 标签在左边，使用右边距 */
        margin-left: 0 !important;
        padding: 0px 2px !important;
    }
}

@media (min-width: 280px) and (max-width: 575px) {
    body {
        background: #fff;
    }
}

/* ========== 帖子页面样式 ========== */
.blockquote {
    width: 95%;
    zoom: 1;
    padding: 5px 8px 5px;
    line-height: 1.3;
    border: 1px dashed #eda85f;
    background: #fff7dd;
    color: #000;
    margin: 0px 0px;
}

.blockbuyer {
    width: 95%;
    zoom: 1;
    padding: 5px 8px 5px;
    line-height: 1.3;
    border: 1px dashed #333;
    background: #d9edf7;
    color: #333;
    margin: 0px 0px;
}

.watermark {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    transform: rotate(-20deg);
    position: absolute;
    z-index: 100;
    pointer-events: none;
    filter: alpha(opacity=9);
    -moz-opacity: 0.3;
    opacity: 0.3;
}

.sb {
    top: 20%;
    left: 5%;
}

.zb {
    top: 50%;
    left: 5%;
}

.xb {
    bottom: 30%;
    left: 5%;
}

.csrs {
    font-size: 28px;
    color: #0066CC;
    font-weight: bold;
    margin-left: 5px;
    line-height: 60px;
}

.ctrs {
    font-size: 15px;
    color: #008ae6;
    padding: 3px;
    margin-top: 3px;
    margin: 0px auto 2px;
}

.sels {
    padding: 2px 2px;
    margin-left: 15px;
    margin-bottom: 5px;
    vertical-align: middle;
}

.win-po {
    padding: 15px;
}

.goumai a {
    padding: 4px 7px;
    margin-left: 0px;
    margin-top: 10px;
    text-align: center;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    border: 1px solid #8e0001;
    background: linear-gradient(to bottom, #ff0000, #ffd700);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.goumai a:hover {
    text-decoration: none;
    background: linear-gradient(#ff0000, #8e0001, #ff0000);
    color: #fff;
    border-radius: 8px;
}

.congzhifw a {
    padding: 4px 7px;
    margin-left: 15px;
    text-align: center;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    border: 1px solid #004e90;
    background: linear-gradient(to bottom, #00CC00, #ffff00);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.congzhifw a:hover {
    text-decoration: none;
    background: linear-gradient(#00ff00, #009933, #00ff00);
    color: #fff;
    border-radius: 8px;
}

.ss19 {
    display: inline-block;
    padding: 1px 3px;
    background: #ffff00;
    border: 1px solid #ff0000;
    border-radius: 18px;
    color: #ff0000;
    font-size: 26px;
    text-align: center;
    font-weight: bold;
    line-height: 1.38;
}

.ml10 {
    margin-left: 10px;
}

@media (max-width: 795px) {
    .ss19 {
        display: block;
        font-size: 17px;
    }
    
    .yingcang {
        font-size: 17px;
    }
    
    .ctrs {
        font-size: 14px;
        margin-top: 3px;
        padding: 2px;
    }
    
    .csrs {
        font-size: 17px;
        padding: 2px 0px;
        line-height: 40px;
    }
    
    .csrs .f26 {
        font-size: 23px;
        font-weight: bold;
    }
    
    .sels {
        padding: 2px 2px;
        margin-bottom: 2px;
    }
    
    .totkj,
    .totkl,
    .totkt,
    .totkm,
    .totky {
        padding: 3px 5px;
        font-size: 13px;
    }
    
    .goumai a,
    .congzhifw a {
        font-size: 22px;
        margin-left: 15px;
        margin-right: 20px;
        border-radius: 8px;
        vertical-align: middle;
    }
}

/* ========== 手机端取消帖子页面标题固定定位 ========== */
@media (max-width: 795px) {
    .midy {
        position: relative !important;
        top: auto !important;
    }
    
    /* 确保 cgi-head 在手机端正常显示 */
    .cgi-head.midy {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        z-index: 10 !important;
        display: block !important;
        height: 43px !important;
        margin-bottom: 0 !important;
        float: none !important;
        clear: both !important;
        background: linear-gradient(to bottom, #96201d, #d62e29, #de5854) !important;
        background-color: #d62e29 !important;
    }
    
    .cgi-head-tit.center {
        position: absolute !important;
        left: 25px !important;
        right: 35px !important;
        width: calc(100% - 60px) !important; /* 确保宽度正确 */
        display: inline-block !important;
        text-align: center !important;
        line-height: 43px !important; /* 与 cgi-head 高度一致 */
        font-size: 15px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
        float: none !important; /* 覆盖 news.css 中的 float */
    }
    
    /* 确保加载状态也可见 */
    .cgi-head-tit .loading-spinner,
    .cgi-head-tit .loading-text {
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 确保标题文本可见 */
    .cgi-head-tit.center,
    .cgi-head-tit.center * {
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 更具体的选择器，确保标题可见 */
    .cgi-head.midy .cgi-head-tit.center,
    .cgi-head.midy .cgi-head-tit.center#topic-title-header {
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: inline-block !important;
        position: absolute !important;
        left: 25px !important;
        right: 35px !important;
        width: calc(100% - 60px) !important;
        text-align: center !important;
        line-height: 43px !important;
        font-size: 14px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        z-index: 10 !important;
        float: none !important;
    }
    
    /* 确保标题文本在所有情况下都可见 */
    .cgi-head.midy .cgi-head-tit.center#topic-title-header * {
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ========== 登录注册页面美化样式 ========== */
body.login-page,
body.register-page {
    background: #f5f7fa !important;
    min-height: 100vh;
    position: relative;
}

/* 登录注册页面容器样式已在HTML中内联设置 */

body.login-page .body-text,
body.register-page .body-text {
    color: #1a1a1a !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    letter-spacing: -0.5px !important;
}

body.login-page .card,
body.register-page .card {
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.login-page .card-body,
body.register-page .card-body {
    padding: 48px 40px !important;
}

body.login-page .card-title,
body.register-page .card-title {
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin-bottom: 32px !important;
    text-align: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    line-height: 1.6 !important;
}

body.login-page .form-control,
body.register-page .form-control {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    width: 100% !important;
    box-shadow: none !important;
}

body.login-page .form-control:focus,
body.register-page .form-control:focus {
    border-color: #3b82f6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

body.login-page .form-control::placeholder,
body.register-page .form-control::placeholder {
    color: #9ca3af !important;
    font-size: 15px !important;
}

body.login-page .col-form-label,
body.register-page .col-form-label {
    font-weight: 500 !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 8px !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

body.login-page .btn-primary,
body.register-page .btn-primary {
    background: #1a1a1a !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.3px !important;
    width: 100% !important;
    margin-top: 8px !important;
}

body.login-page .btn-primary:hover,
body.register-page .btn-primary:hover {
    background: #000000 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) !important;
}

body.login-page .btn-primary:active,
body.register-page .btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

body.login-page .text-info,
body.register-page .text-info {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
}

body.login-page .text-info:hover,
body.register-page .text-info:hover {
    color: #2563eb !important;
    text-decoration: none !important;
    opacity: 0.8 !important;
}

body.login-page .spanTip,
body.register-page .spanTip {
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    background: #fef2f2 !important;
    border: none !important;
    color: #dc2626 !important;
    margin-top: 16px !important;
    text-align: center !important;
}

body.login-page .mb-3.row,
body.register-page .mb-3.row {
    margin-bottom: 24px !important;
    align-items: center !important;
}

body.login-page .mb-3.row > div,
body.register-page .mb-3.row > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.login-page .row,
body.register-page .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 响应式优化 */
@media (max-width: 480px) {
    body.login-page .card-body,
    body.register-page .card-body {
        padding: 36px 24px !important;
    }
    
    body.login-page .body-text,
    body.register-page .body-text {
        font-size: 28px !important;
        margin-bottom: 32px !important;
    }
    
    body.login-page .form-control,
    body.register-page .form-control {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    
    body.login-page .btn-primary,
    body.register-page .btn-primary {
        padding: 14px 28px !important;
        font-size: 15px !important;
    }
    
    body.login-page .card,
    body.register-page .card {
        border-radius: 20px !important;
    }
}

/* ========== 广告样式（模仿正常帖子） ========== */
/* 广告使用和正常帖子相同的样式，不需要特殊样式 */

/* ========== 打赏区域美化样式 ========== */
.reward-section {
    max-width: 480px;
    margin: 20px auto;
    padding: 0 15px;
}

.reward-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.reward-header i {
    font-size: 16px;
}

.reward-content-unlocked {
    background: #dbdddf;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #1f2937;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.reward-info-card {
    background: #0000000d;
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 12px;
    box-shadow: 0 3px 12px rgb(0 0 0 / 27%);
    text-align: center;
}

.reward-info-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.reward-amount {
    margin-bottom: 8px;
}

.reward-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.reward-coin,
.reward-number {
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    margin: 0 2px;
    white-space: nowrap;
}

.reward-count {
    color: #6b7280;
    font-size: 13px;
}

.reward-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn-reward-confirm,
.btn-reward-recharge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.btn-reward-confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.btn-reward-confirm:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(239, 68, 68, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.btn-reward-recharge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.btn-reward-recharge:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.btn-reward-confirm i,
.btn-reward-recharge i {
    font-size: 16px;
}

.reward-guide {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.reward-guide-header {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.reward-guide-header i {
    font-size: 16px;
}

.reward-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reward-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #78350f;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    flex: 1;
    color: #78350f;
}

.step-highlight {
    color: #ef4444;
    font-weight: 600;
}

.step-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 6px;
    white-space: nowrap;
}

.step-btn-register {
    background: #ef4444;
    color: #ffffff;
}

.step-btn-register:hover {
    background: #dc2626;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.step-btn-login {
    background: #3b82f6;
    color: #ffffff;
}

.step-btn-login:hover {
    background: #2563eb;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.reward-step-loggedin,
.reward-step-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #78350f;
    flex-wrap: wrap;
}

.reward-step-loggedin i,
.reward-step-balance i {
    color: #059669;
    font-size: 16px;
    flex-shrink: 0;
}

.step-icon {
    color: #059669;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-btn-post {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.step-btn-post:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.4);
}

.reward-step-not-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #78350f;
}

.reward-step-not-login i {
    color: #f59e0b;
    font-size: 16px;
    flex-shrink: 0;
}

.reward-step-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 26px;
}

.reward-step-buttons .step-btn {
    margin-left: 0;
}

.reward-step-with-button {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.reward-step-with-button .step-text {
    flex: 1;
}

.step-btn-recharge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.step-btn-recharge:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.4);
}

.step-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.step-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 购买人员名单样式 */
.blockbuyer {
    max-width: 480px;
    margin: 16px auto;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.blockbuyer p {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .reward-section {
        margin: 16px auto;
        padding: 0 12px;
    }
    
    .reward-header {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .reward-coin,
    .reward-number {
        font-size: 24px;
    }
    
    .reward-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-reward-confirm,
    .btn-reward-recharge {
        width: 100%;
        min-width: auto;
        padding: 10px 20px;
    }
    
    .reward-guide {
        padding: 12px;
    }
    
    .reward-step {
        font-size: 12px;
        gap: 6px;
    }
    
    .step-btn {
        display: block;
        margin-left: 0;
        margin-top: 6px;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .reward-coin,
    .reward-number {
        font-size: 22px;
    }
    
    .btn-reward-confirm,
    .btn-reward-recharge {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .reward-guide-header {
        font-size: 14px;
    }
    
    .reward-step {
        font-size: 11px;
    }
}

/* ========== 帖子页面标题区域美化 - App质感 ========== */
.topic-header-bar {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
    padding: 10px 14px;
    margin: 0 auto;
    max-width: 480px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.topic-header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.topic-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.topic-title-section {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.topic-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

.topic-title-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    letter-spacing: 0.2px;
}

.topic-meta-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topic-action-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.topic-action-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* 返回首页链接按钮 */
.topic-home-link-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
}

.topic-home-link-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    text-decoration: none;
}

.topic-home-link-btn i {
    margin-right: 4px;
    font-size: 14px;
}

.topic-views {
    color: #ffffff;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0.95;
}

.views-label {
    color: #ffffff;
    opacity: 0.9;
}

.views-count {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    margin: 0 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.views-unit {
    color: #ffffff;
    opacity: 0.9;
}

.index-banner {
    border-radius: 15px;
    overflow: hidden;
    background: #f00;
}

/* ========== 用户信息卡片区域 ========== */
.topic-author-card {
    background: #ffffff;
    margin: 12px auto;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08),
                0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.author-card-content {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 14px;
    position: relative;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar-link {
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
                0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.author-avatar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2),
                0 3px 6px rgba(0, 0, 0, 0.15);
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.author-info-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-self: stretch;
}

/* 操作按钮区域 - 垂直排列在头像右侧 */
.author-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
}

.author-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 90px;
    max-width: 110px;
    text-align: center;
}

.author-action-btn i {
    margin-right: 5px;
    font-size: 14px;
    flex-shrink: 0;
}

.author-action-btn .btn-text {
    white-space: nowrap;
}

.author-edit-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: #ffffff;
}

.author-edit-btn:hover {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.author-service-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #ffffff;
}

.author-service-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.author-delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.author-delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    word-break: break-all;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.author-stats-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
}

.author-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
}

.author-stat-item i {
    font-size: 14px;
    color: #9ca3af;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
}

.stat-value {
    font-weight: 600;
    color: #1f2937;
    margin-left: 2px;
}

.stat-divider {
    color: #d1d5db;
    font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .topic-author-card {
        margin: 10px;
        border-radius: 14px;
    }
    
    .author-card-content {
        padding: 12px;
        gap: 10px;
    }
    
    .author-avatar-link {
        width: 56px;
        height: 56px;
        border-radius: 50%;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .author-stats-row {
        font-size: 12px;
        gap: 6px;
    }
    
    .author-actions {
        gap: 6px;
    }
    
    .author-action-btn {
        padding: 3px 12px;
        font-size: 12px;
        min-width: 90px;
    }
    
    .author-action-btn i {
        font-size: 13px;
        margin-right: 4px;
    }
}

/* 超小屏幕优化（360px及以下） */
@media (max-width: 360px) {
    .topic-author-card {
        margin: 8px;
        border-radius: 12px;
    }
    
    .author-card-content {
        padding: 6px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    .author-avatar-link {
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }
    
    .author-info-main {
        flex: 1;
        min-width: 0;
        gap: 6px;
    }
    
    .author-name {
        font-size: 13px;
        line-height: 1.2;
    }
    
    .author-name-row {
        gap: 4px;
    }
    
    .author-badge {
        font-size: 10px;
        padding: 1px 5px;
        border-radius: 8px;
    }
    
    .author-stats-row {
        font-size: 10px;
        gap: 3px;
        flex-wrap: wrap;
    }
    
    .author-stat-item {
        gap: 2px;
    }
    
    .author-stat-item i {
        font-size: 12px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-value {
        font-size: 12px;
    }
    
    .stat-divider {
        margin: 0 2px;
    }
    
    /* 按钮保持在右侧，缩小尺寸 */
    .author-actions {
        flex-direction: column;
        gap: 4px;
        flex-shrink: 0;
        align-items: stretch;
        justify-content: center;
        align-self: stretch;
    }
    
    .author-action-btn {
        padding: 4px 6px;
        font-size: 12px;
        min-width: 0;
        max-width: 70px;
        width: auto;
    }
    
    .author-action-btn i {
        font-size: 11px;
        margin-right: 2px;
    }
    
    .author-action-btn .btn-text {
        font-size: 10px;
    }
}

/* 极小屏幕优化（320px及以下）- 使用360px的样式 */
@media (max-width: 320px) {
    /* 320px时使用和360px一样的样式，不再进一步缩小 */
    /* 所有样式继承自360px的媒体查询 */
}

@media (min-width: 481px) {
    .topic-author-card {
        margin: 5px auto;
    }
}

.topic-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 1px 2px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.topic-close-btn:active {
    transform: scale(0.96);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.topic-close-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15),
                0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #1f2937;
}

/* ========== 帖子页面按钮区域美化 - App质感 ========== */
/* 隐藏原来的操作栏，按钮已移到用户信息卡片内 */
.topic-action-bar {
    display: none;
}

.topic-action-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.topic-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08),
                0 1px 2px rgba(0, 0, 0, 0.04);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.topic-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.topic-action-btn:active {
    transform: scale(0.96);
}

.topic-action-btn:hover::before {
    left: 100%;
}

.topic-author-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: #ffffff;
}

.topic-author-btn .btn-label {
    color: #ffffff;
    opacity: 0.95;
}

.topic-author-btn .btn-value {
    color: #10b981;
    font-weight: 700;
    margin-left: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.topic-author-btn:hover {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.25),
                0 2px 4px rgba(236, 72, 153, 0.15);
    text-decoration: none;
    color: #ffffff;
}

.topic-home-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #ffffff;
}

.topic-home-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25),
                0 2px 4px rgba(59, 130, 246, 0.15);
    text-decoration: none;
    color: #ffffff;
}

.topic-post-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: #ffffff;
}

.topic-post-btn:hover {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.25),
                0 2px 4px rgba(236, 72, 153, 0.15);
    text-decoration: none;
    color: #ffffff;
}

.topic-edit-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #ffffff;
}

.topic-edit-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25),
                0 2px 4px rgba(59, 130, 246, 0.15);
    text-decoration: none;
    color: #ffffff;
}

.topic-delete-btn {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: #ffffff;
}

.topic-delete-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.25),
                0 2px 4px rgba(239, 68, 68, 0.15);
    text-decoration: none;
    color: #ffffff;
}

/* 手机端隐藏重复的标题区域 */
@media (max-width: 795px) {
    .topic-header-bar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* topic-header-bar 已在上面隐藏，不需要这些样式 */
    
    .topic-action-bar {
        padding: 6px 12px;
    }
    
    .topic-action-content {
        gap: 5px;
    }
    
    .topic-action-btn {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 10px;
    }
}

/* ============================================
   视频抽查区域样式 - 炫酷严厉风格
   ============================================ */
.video-check-section {
    width: 100% !important;
    padding: 12px !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    margin: 0 auto 1px auto !important;
    box-sizing: border-box !important;
    border-top: 2px solid #333 !important;
    border-bottom: 2px solid #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
    z-index: 10 !important;
}

.video-check-section {
    display: none !important;
}

.video-check-section.video-check-section-show {
    display: block !important;
}

.video-check-description {
    width: 100% !important;
    padding: 1px 1px !important;
    margin: 0 0 16px 0 !important;
    position: relative !important;
    display: block !important;
}

.video-check-desc-text {
    padding: 6px 10px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.1) !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    margin: 0 auto !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

.video-check-desc-empty {
    opacity: 0.7 !important;
    font-style: italic !important;
}

.video-check-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #444 #1a1a1a;
}

.video-check-container::-webkit-scrollbar {
    height: 6px;
}

.video-check-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.video-check-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.video-check-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.video-check-scroll {
    display: flex;
    gap: 10px;
    min-width: min-content;
}

.video-check-item {
    flex: 0 0 calc(33.333% - 7px);
    min-width: 110px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-check-item:hover {
    transform: translateY(-3px);
}

.video-check-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.video-check-item:hover .video-check-thumbnail {
    border-color: #555;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.video-check-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-check-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.video-check-item:hover .video-check-play-btn {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.video-check-title {
    text-align: center;
    margin-top: 6px;
    font-size: 12px;
    color: #ccc;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

/* 视频播放弹窗 */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content video,
.video-modal-content #dplayer-container {
    width: 100% !important;
    max-width: 800px !important;
    max-height: 90vh !important;
    background: #000 !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-modal-content #dplayer-container .dplayer {
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: rotate(90deg);
}

/* 抽奖图标样式 */
.lottery-icon {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9998;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    box-sizing: border-box;
}


/* 抽奖图标使用光晕效果 */
.lottery-icon:not(.tiaoma-icon)::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.6) 0%, rgba(220, 53, 69, 0.3) 50%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.lottery-icon:not(.tiaoma-icon):hover {
    transform: scale(1.1);
}

.lottery-icon:not(.tiaoma-icon):hover::before {
    animation-duration: 1s;
}

.lottery-icon:active {
    transform: scale(0.95);
}

.lottery-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* 挑码器图标样式 - 吸附右侧，无动画 */
.tiaoma-icon {
    width: 35px !important;
    height: 80px !important;
    border-radius: 8px 0px 0px 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #1e8449 !important;
    border-right: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 2px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: fixed !important;
    overflow: hidden !important;
    bottom: 90px !important;
    right: 0px !important;
    z-index: 9998 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    color: #1e8449 !important;
    font-weight: 500 !important;
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    letter-spacing: 4px !important;
}

.tiaoma-icon:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(30, 132, 73, 0.25) !important;
    background: #f0f9f4 !important;
}

.tiaoma-icon:active {
    transform: scale(0.95) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

.tiaoma-icon i {
    font-size: 24px !important;
    color: #1e8449 !important;
    line-height: 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 挑码器窗口样式 */
.tiaoma-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tiaoma-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    height: 580px;
    max-height: 580px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tiaoma-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 20px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.tiaoma-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.tiaoma-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tiaoma-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.tiaoma-modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tiaoma-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 手机端优化 */
@media (max-width: 795px) {
    .tiaoma-icon {
        width: 28px !important;
        height: 68px !important;
        bottom: 118px !important;
        right: 0px !important;
    }
    
    .tiaoma-icon i {
        font-size: 22px !important;
    }
    
    .tiaoma-modal-content {
        max-width: 100%;
        height: 70vh;
        max-height: 70vh;
    }
    
    .tiaoma-modal-overlay {
        padding: 2px;
    }
}

@media (max-width: 480px) {
    .tiaoma-modal-content {
        height: 70vh;
        max-height: 70vh;
        border-radius: 8px;
    }
    
    .tiaoma-modal-header {
        padding: 1px 15px;
    }
    
    .tiaoma-modal-title {
        font-size: 16px;
    }
}

/* 手机端优化 */
@media (max-width: 795px) {
    .video-check-section {
        padding: 10px 8px;
    }
    
    .video-check-item {
        flex: 0 0 calc(40% - 5px);
        min-width: 70px;
    }
    
    .video-check-scroll {
        gap: 8px;
        padding-bottom: 10px;
    }
    
    .video-check-play-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .video-check-title {
        font-size: 11px;
        margin-top: 5px;
    }
    
    .video-check-description {

        margin-bottom: 12px !important;
    }
    
    .video-check-desc-text {
        padding: 5px 10px !important;
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
        max-width: 100% !important;
    }
    
    .video-modal-content {
        max-width: 100%;
        padding: 10px;
    }
    
    .video-modal-content #dplayer-container {
        max-width: 100% !important;
        max-height: 85vh !important;
    }
    
    .video-modal-close {
        top: -30px;
        font-size: 30px;
    }
    
    .lottery-icon {
        right: calc(50% - 240px + 15px);
    }
}

@media (max-width: 480px) {
    .lottery-icon {
        bottom: 100px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

.content{
   
padding-left: 5px;

    
}
.loading-container-inner{
    text-align: center;
    padding: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}