/* ===== 顶部栏 ===== */
.top-lang-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}
.top-lang-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.top-username {
    color: #888;
    font-size: 13px;
}
.top-login {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}
.top-login:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.top-logout {
    color: rgba(255,120,120,0.5);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,120,120,0.1);
    background: rgba(255,120,120,0.04);
    transition: all 0.3s ease;
}
.top-logout:hover {
    color: #ff6b6b;
    background: rgba(255,120,120,0.1);
}
@media (max-width: 480px) {
    .top-lang-link,
    .top-login,
    .top-logout,
    .top-username {
        font-size: 12px;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f0eb;
    color: #2d2a24;
    line-height: 1.7;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== 头部 ========== */
.header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 24px;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 6px;
}

.header .subtitle {
    color: #5a4a3a;
    font-size: 16px;
    margin-bottom: 18px;
}

/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: scale(1.03);
}

/* ========== 话题卡片 ========== */
.topic-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.topic-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.topic-mood {
    font-size: 28px;
    margin-bottom: 4px;
}

.topic-card h2 {
    font-size: 20px;
    margin: 4px 0 8px;
}

.topic-card h2 a {
    color: #2d2a24;
    text-decoration: none;
}

.topic-card h2 a:hover {
    color: #ff6b35;
}

.topic-excerpt {
    color: #5a5a5a;
    font-size: 15px;
}

.topic-meta {
    margin-top: 12px;
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== 话题详情页 ========== */
.back-bar {
    margin-bottom: 20px;
}

.back-bar a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

.topic-detail {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.topic-mood-big {
    font-size: 44px;
}

.topic-detail h1 {
    font-size: 26px;
    margin: 6px 0 14px;
}

.topic-content {
    font-size: 16px;
    color: #3a3a3a;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ========== 评论表单 ========== */
.comment-form {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.comment-form h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.mood-selector {
    margin-bottom: 12px;
}

.mood-selector select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.comment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0ddd8;
    border-radius: 12px;
    font-size: 15px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.form-actions label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* ========== 评论列表 ========== */
.comment-list {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.comment-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.comment-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0ece8;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.comment-mood {
    font-size: 20px;
}

.comment-author {
    font-weight: 500;
    color: #555;
}

.comment-content {
    font-size: 15px;
    color: #2d2a24;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ========== 发布话题页 ========== */
.post-form {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.post-form h1 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0ddd8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

/* ========== 空状态 ========== */
.empty-state,
.empty-comments {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state .btn-primary {
    margin-top: 12px;
}

/* ========== 页脚 ========== */

.footer {
    text-align: center;
    padding: 30px 20px 10px;
    color: #ccc;
    font-size: 14px;
}

.footer-info {
    margin-top: 10px;
    font-size: 13px;
    color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-divider {
    color: #eee;
}

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

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

@media (max-width: 480px) {
    .footer-info {
        font-size: 11px;
        gap: 8px;
    }
}

/* ========== 响应式 ========== */
@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }
    .topic-card h2 {
        font-size: 17px;
    }
    .topic-detail h1 {
        font-size: 21px;
    }
    .container {
        padding: 12px;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ========== 语言切换 ========== */
.lang-switch {
    text-align: right;
    padding: 10px 0 0;
    margin-bottom: -10px;
}

.lang-switch a {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    border-radius: 20px;
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.lang-switch a:hover {
    background: #ff6b35;
    color: #fff;
    transform: scale(1.03);
}
/* ========== 在线人数统计 ========== */
.online-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 12px 0 8px;
    flex-wrap: wrap;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #2d2a24;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.online-badge .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.today-visits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #2d2a24;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 移动端适配 */
@media (max-width: 480px) {
    .online-stats {
        gap: 10px;
    }
    .online-badge,
    .today-visits {
        font-size: 12px;
        padding: 4px 12px;
    }
}
/* ========== 操作按钮 ========== */
.topic-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0ece8;
}

.btn-edit,
.btn-delete {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-edit {
    background: #e8f0fe;
    color: #1a73e8;
}

.btn-edit:hover {
    background: #d2e3fc;
}

.btn-delete,
.btn-delete-comment {
    background: #fee8e8;
    color: #d93025;
}

.btn-delete:hover,
.btn-delete-comment:hover {
    background: #fdd2d2;
}

.btn-delete-comment {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    margin-left: auto;
    transition: all 0.2s ease;
}
/* ========== 用户相关 ========== */
.user-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
}

.user-bar a {
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-login {
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.btn-login:hover {
    background: #ff6b35;
    color: #fff;
}

.btn-register {
    background: #ff6b35;
    color: #fff;
}

.btn-register:hover {
    background: #e55a2b;
}

.btn-logout {
    color: #d93025;
    border: 1px solid #d93025;
}

.btn-logout:hover {
    background: #d93025;
    color: #fff;
}

/* ========== 认证表单 ========== */
.auth-form {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.auth-form h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #fee8e8;
    color: #d93025;
    border: 1px solid #fdd2d2;
}

.alert-success {
    background: #e6f7e6;
    color: #1e7e34;
    border: 1px solid #c3e6c3;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

.auth-link a {
    color: #ff6b35;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ========== 话题作者 ========== */
.topic-author {
    margin: 8px 0 12px;
    font-size: 14px;
    color: #888;
}

.comment-author {
    font-weight: 500;
}
/* ========== 今日热门模块 - 全新设计 ========== */
.hot-section {
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.15);
    position: relative;
    overflow: hidden;
}

.hot-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px dashed rgba(255, 107, 53, 0.15);
    position: relative;
    z-index: 1;
}

.hot-icon {
    font-size: 28px;
    animation: hot-pulse 2s ease-in-out infinite;
}

@keyframes hot-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(-5deg); }
}

.hot-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #2d2a24;
    margin: 0;
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hot-subtitle {
    font-size: 13px;
    color: #999;
    margin-left: auto;
    background: #f5f0eb;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    -webkit-text-fill-color: #999;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.hot-item:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
    transform: translateX(6px);
}

.hot-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    color: #bbb;
    background: #f0ece8;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hot-item:hover .hot-rank {
    transform: scale(1.1);
}

.top-rank {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.hot-rank-2 {
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 180, 71, 0.3);
}

.hot-rank-3 {
    background: linear-gradient(135deg, #ffd700, #f0a500);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.hot-title-wrapper {
    flex: 1;
    min-width: 0;
}

.hot-title {
    color: #2d2a24;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: block;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-title:hover {
    color: #ff6b35;
}

.hot-title-preview {
    font-size: 13px;
    color: #aaa;
    font-weight: 400;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}

.hot-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hot-comments {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hot-comments .num {
    font-size: 16px;
}

.hot-views {
    font-size: 13px;
    color: #ccc;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .hot-section {
        padding: 16px 16px;
        border-radius: 14px;
    }
    .hot-header h3 {
        font-size: 17px;
    }
    .hot-item {
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    .hot-title {
        font-size: 14px;
    }
    .hot-title-preview {
        font-size: 12px;
    }
    .hot-stats {
        gap: 8px;
    }
    .hot-comments {
        font-size: 12px;
        padding: 2px 10px;
    }
    .hot-views {
        font-size: 11px;
    }
}
/* ============================================
   分页组件 - 全新设计
   ============================================ */
.pagination-wrapper {
    margin-top: 32px;
    padding: 20px 0 10px;
    border-top: 2px solid #f5f0eb;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* 页码按钮通用样式 */
.page-btn,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #f7f3ef;
    color: #555;
    border: 2px solid transparent;
    cursor: pointer;
    user-select: none;
}

/* 页码数字 */
.page-num {
    min-width: 44px;
    padding: 0 4px;
    background: transparent;
    color: #666;
    border-color: transparent;
}

.page-num:hover {
    background: #f0ece8;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.page-num.active {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: #fff;
    border-color: #ff6b35;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
    transform: scale(1.05);
}

.page-num.active:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.35);
}

/* 上一页/下一页按钮 */
.page-btn {
    background: #fff;
    color: #ff6b35;
    border-color: #ff6b35;
    gap: 4px;
    min-width: 90px;
    font-weight: 600;
}

.page-btn:hover:not(.disabled) {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

.page-btn .arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.page-btn.prev:hover:not(.disabled) .arrow {
    transform: translateX(-3px);
}

.page-btn.next:hover:not(.disabled) .arrow {
    transform: translateX(3px);
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #ddd;
    color: #bbb;
    background: #f5f5f5;
}

.page-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 省略号 */
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    font-size: 18px;
    color: #bbb;
    letter-spacing: 2px;
}

/* 分页信息统计 */
.pagination-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #aaa;
}

.pagination-info strong {
    color: #ff6b35;
    font-weight: 700;
}

/* ========== 分页响应式 ========== */
@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 24px;
        padding-top: 16px;
    }
    
    .pagination {
        gap: 4px;
    }
    
    .page-btn,
    .page-num {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .page-btn {
        min-width: 70px;
        padding: 0 12px;
        font-size: 13px;
    }
    
    .page-btn .arrow {
        font-size: 16px;
    }
    
    .page-dots {
        width: 24px;
        height: 38px;
        font-size: 14px;
    }
    
    .pagination-info {
        font-size: 12px;
        margin-top: 12px;
    }
    
    /* 移动端隐藏上一页/下一页文字，只显示箭头 */
    .page-btn .btn-text {
        display: none;
    }
    .page-btn {
        min-width: 44px;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .page-btn,
    .page-num {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 8px;
    }
    .page-btn {
        min-width: 38px;
        padding: 0 6px;
    }
    .page-dots {
        width: 20px;
        height: 32px;
        font-size: 12px;
    }
}

/* ========== 全站最热 - 专属样式 ========== */
.hot-all-time {
    background: linear-gradient(135deg, #fefaf0 0%, #fffef7 100%);
    border-color: rgba(255, 215, 0, 0.25);
    border-left: 6px solid #ffd700;
}

.hot-all-time .hot-header h3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hot-all-time .hot-icon {
    animation: none;
}

.hot-all-time .hot-item:hover {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.hot-all-time .hot-comments {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}
/* ========== 全站最热 - 去掉左侧金色边框 ========== */
.hot-all-time {
    border-left: none;
}

/* ========== 游戏入口按钮 ========== */
.btn-game {
    background: linear-gradient(135deg, #4caf84, #2d8f6f);
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-game:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(76, 175, 132, 0.4);
}

/* ========== 用户栏 ========== */
.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 8px;
}

.user-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-link {
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: rgba(255,255,255,0.5);
}

.user-name {
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.btn-game {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.7);
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}

.btn-game:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}

.btn-login {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.25);
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}

.btn-logout {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,70,70,0.08);
    color: rgba(255,70,70,0.6);
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,70,70,0.06);
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(255,70,70,0.12);
    color: rgba(255,70,70,0.5);
}

/* 移动端 */
@media (max-width: 480px) {
    .user-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 6px 0 10px 0;
    }
    .user-bar-left,
    .user-bar-right {
        justify-content: center;
    }
    .lang-link,
    .btn-game,
    .btn-login,
    .btn-logout,
    .user-name {
        font-size: 11px;
        padding: 3px 12px;
    }
}

/* ========== 用户栏 ========== */
.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 2px;
}

.user-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: #888;
}

.user-name {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 400;
}

.btn-login {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    padding: 3px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
}

.btn-login:hover {
    color: #888;
    background: rgba(255,255,255,0.04);
}

.btn-logout {
    color: rgba(255,70,70,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    padding: 3px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,70,70,0.06);
}

.btn-logout:hover {
    color: rgba(255,70,70,0.5);
    background: rgba(255,70,70,0.06);
}

/* 移动端 */
@media (max-width: 480px) {
    .user-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 4px 0 8px 0;
    }
    .user-bar-left,
    .user-bar-right {
        justify-content: center;
    }
    .lang-link,
    .btn-login,
    .btn-logout,
    .user-name {
        font-size: 11px;
    }
}

/* ===== 三国杀按钮 ===== */
.floating-sgs {
    background: linear-gradient(145deg, #c0392b, #e74c3c);
    box-shadow: 0 8px 32px rgba(192,57,43,0.25);
    animation-delay: 0.2s;
}
.floating-sgs:hover {
    box-shadow: 0 12px 48px rgba(192,57,43,0.4);
    background: linear-gradient(145deg, #e74c3c, #c0392b);
}

/* ===== 率土之滨按钮 ===== */
.floating-stzb {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    box-shadow: 0 8px 32px rgba(44,62,80,0.25);
    animation-delay: 0.4s;
}
.floating-stzb:hover {
    box-shadow: 0 12px 48px rgba(44,62,80,0.4);
    background: linear-gradient(145deg, #34495e, #2c3e50);
}

/* ===== 悬浮按钮通用 ===== */
.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.06);
    animation: float-bounce 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: scale(1.08);
}

.floating-icon { font-size: 20px; line-height: 1; }
.floating-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

@keyframes float-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    .floating-icon { font-size: 17px; }
    .floating-text { font-size: 8px; }
}

/* ===== 修复发布页输入框行距 ===== */
.post-form textarea {
    line-height: 1.6 !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}

.post-form input[type="text"] {
    padding: 10px 14px !important;
    font-size: 15px !important;
}

/* ===== 世界杯按钮 ===== */
.floating-worldcup {
    background: linear-gradient(145deg, #00d2ff, #3a7bd5);
    box-shadow: 0 8px 32px rgba(58, 123, 213, 0.25);
    animation-delay: 0.5s;
}
.floating-worldcup:hover {
    box-shadow: 0 12px 48px rgba(58, 123, 213, 0.4);
    background: linear-gradient(145deg, #3a7bd5, #00d2ff);
}

/* ===== 世界杯预测模块 ===== */
.worldcup-preview {
    background: linear-gradient(145deg, rgba(0,210,255,0.04), rgba(58,123,213,0.04));
    border: 1px solid rgba(0,210,255,0.06);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.worldcup-preview:hover {
    border-color: rgba(0,210,255,0.12);
    background: linear-gradient(145deg, rgba(0,210,255,0.06), rgba(58,123,213,0.06));
}

.worldcup-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.worldcup-icon {
    font-size: 18px;
}

.worldcup-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
}

.worldcup-badge {
    font-size: 9px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(0,210,255,0.08);
    color: rgba(0,210,255,0.5);
    border: 1px solid rgba(0,210,255,0.04);
    margin-left: auto;
}

.worldcup-preview-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.worldcup-match {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.worldcup-match .team {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.worldcup-match .vs {
    font-size: 11px;
    color: rgba(255,255,255,0.08);
    font-weight: 300;
}

.worldcup-match .score {
    font-size: 16px;
    font-weight: 800;
    color: #ffd700;
    margin-left: auto;
}

.worldcup-info {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: rgba(255,255,255,0.12);
}

.worldcup-info .confidence {
    color: rgba(255,215,0,0.2);
}

.worldcup-analysis {
    font-size: 12px;
    color: rgba(255,255,255,0.08);
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.worldcup-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(0,210,255,0.2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.worldcup-more:hover {
    color: rgba(0,210,255,0.4);
}

/* 移动端适配 */
@media (max-width: 480px) {
    .worldcup-preview {
        padding: 12px 14px;
        margin-bottom: 14px;
    }
    .worldcup-match .team {
        font-size: 12px;
    }
    .worldcup-match .score {
        font-size: 14px;
    }
    .worldcup-match {
        gap: 6px;
    }
}

/* ===== 今日热门内部的世界杯预测 ===== */
.hot-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.hot-worldcup-preview {
    font-size: 12px;
    color: rgba(255,255,255,0.15);
    background: rgba(0,210,255,0.04);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0,210,255,0.04);
    white-space: nowrap;
}

.hot-worldcup-time {
    font-size: 10px;
    color: rgba(255,255,255,0.06);
    margin-left: 6px;
}

@media (max-width: 480px) {
    .hot-header-right {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        margin-top: 6px;
    }
    .hot-worldcup-preview {
        font-size: 11px;
        padding: 3px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* ===== 热门标题内的世界杯预测 ===== */
.hot-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hot-worldcup-preview {
    font-size: 11px;
    color: rgba(255,255,255,0.12);
    background: rgba(0,210,255,0.04);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,210,255,0.04);
    margin-left: auto;
    white-space: nowrap;
}

.hot-worldcup-time {
    font-size: 9px;
    color: rgba(255,255,255,0.06);
    margin-left: 4px;
}

.hot-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.06);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hot-header {
        gap: 6px;
    }
    .hot-worldcup-preview {
        font-size: 10px;
        padding: 2px 10px;
        margin-left: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }
    .hot-worldcup-time {
        font-size: 8px;
    }
    .hot-subtitle {
        font-size: 10px;
    }
}

.hot-worldcup-tag {
    font-size: 11px;
    color: rgba(255,255,255,0.12);
    background: rgba(0,210,255,0.04);
    padding: 2px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,210,255,0.04);
    margin-left: auto;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hot-worldcup-tag {
        font-size: 9px;
        padding: 2px 8px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 0;
    }
}

.hot-worldcup-tag {
    font-size: 11px;
    color: rgba(0,210,255,0.5);
    background: rgba(0,210,255,0.04);
    padding: 2px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,210,255,0.04);
    margin-left: auto;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-worldcup-tag:hover {
    color: rgba(0,210,255,0.6);
    background: rgba(0,210,255,0.08);
    border-color: rgba(0,210,255,0.08);
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .hot-worldcup-tag {
        font-size: 9px;
        padding: 2px 8px;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 0;
    }
}

.hot-worldcup-tag {
    font-size: 11px;
    color: rgba(0,210,255,0.5);
    background: rgba(0,210,255,0.04);
    padding: 2px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,210,255,0.04);
    margin-left: auto;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-worldcup-tag:hover {
    color: rgba(0,210,255,0.6);
    background: rgba(0,210,255,0.08);
    border-color: rgba(0,210,255,0.08);
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .hot-worldcup-tag {
        font-size: 9px;
        padding: 2px 8px;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 0;
    }
}

/* ===== 顶部栏 ===== */



.top-lang-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.top-lang-link:hover {
    color: #888;
}

.top-username {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 400;
}

.top-login {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    padding: 3px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
}

.top-login:hover {
    color: #888;
    background: rgba(255,255,255,0.04);
}

.top-logout {
    color: rgba(255,70,70,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    padding: 3px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,70,70,0.06);
}

.top-logout:hover {
    color: rgba(255,70,70,0.5);
    background: rgba(255,70,70,0.06);
}

@media (max-width: 480px) {
    .top-lang-link,
    .top-login,
    .top-logout,
    .top-username {
        font-size: 11px;
    }
}

/* ===== 顶部栏 ===== */



.top-lang-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.top-lang-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.top-username {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.top-login {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.04);
}

.top-login:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: #666;
}

.top-logout {
    color: rgba(255,120,120,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,120,120,0.1);
    transition: all 0.3s ease;
    background: rgba(255,120,120,0.04);
}

.top-logout:hover {
    color: #ff6b6b;
    background: rgba(255,120,120,0.1);
    border-color: rgba(255,120,120,0.2);
}

@media (max-width: 480px) {
    .top-lang-link,
    .top-login,
    .top-logout,
    .top-username {
        font-size: 12px;
    }
}

/* ===== 顶部栏 ===== */
.top-lang-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}
.top-lang-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.top-username {
    color: #888;
    font-size: 13px;
}
.top-login {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.top-login:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.top-logout {
    color: rgba(255,120,120,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,120,120,0.1);
    background: rgba(255,120,120,0.04);
}
.top-logout:hover {
    color: #ff6b6b;
    background: rgba(255,120,120,0.1);
}

/* ===== 顶部栏 - 简约版 ===== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 4px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-lang-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.top-lang-link:hover {
    color: #888;
}
.top-username {
    color: #666;
    font-size: 12px;
}
.top-login {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.top-login:hover {
    color: #888;
}
.top-logout {
    color: #cc5555;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.top-logout:hover {
    color: #cc3333;
}
