/* 服务器详情页样式 */
.server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: white;
    color: #333;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.server-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.server-title-section h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* 服务器标题主行样式优化 - 桌面端水平排列 */
.server-title-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 服务器星级和评分信息样式优化 */
.rating-stars-title {
    font-size: 24px;
    color: #ffc107;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-info-title {
    font-size: 14px;
    color: #6c757d;
    font-weight: normal;
    vertical-align: middle;
    margin-left: 8px;
}

/* 服务器所有者信息样式优化 */
.server-owner {
    margin: 0;
    font-size: 15px;
    color: #6c757d;
    font-weight: 500;
}

.server-owner strong {
    color: #495057;
}

/* 投诉按钮样式优化 - 桌面端跟在评分信息后面 */
.complaint-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    margin-top: 0;
}

.complaint-button:hover {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: #ffca2c;
}

.complaint-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 服务器元信息区域样式优化 */
.server-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-online {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.status-offline {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* 热度和点赞显示样式优化 */
.heat-display, .like-display {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 13px;
}

.heat-label, .like-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
}

.heat-score, .like-count {
    font-weight: 700;
    font-size: 14px;
}

.heat-score {
    color: #ffc107;
}

.like-count {
    color: #ff6b6b;
}

/* 右侧操作区样式优化 */
.server-actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 手机版样式优化 - 遵循移动端设计规范 */
@media (max-width: 768px) {
    .server-header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 15px;
    }
    
    /* 确保服务器图标在中间 */
    .server-icon {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }
    
    /* 确保标题区域在中间 */
    .server-title-section {
        text-align: center;
        width: 100%;
        gap: 8px;
    }
    
    .server-title-section h2 {
        font-size: 22px;
    }
    
    /* 服务器标题主行样式优化 - 移动端垂直排列 */
    .server-title-main {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    /* 服务器星级和评分信息样式优化 */
    .rating-stars-title {
        font-size: 20px;
        justify-content: center;
    }
    
    .rating-info-title {
        font-size: 13px;
        margin-left: 5px;
    }
    
    /* 投诉按钮样式优化 - 移动端居中显示 */
    .complaint-button {
        margin-top: 8px;
        margin-left: 0;
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* 服务器元信息区域样式优化 */
    .server-meta {
        justify-content: center;
        gap: 10px;
        padding: 8px 0;
    }
    
    /* 状态标签样式优化 */
    .status-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    /* 热度和点赞显示样式优化 */
    .heat-display, .like-display {
        gap: 5px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .heat-label, .like-label {
        font-size: 11px;
    }
    
    .heat-score, .like-count {
        font-size: 13px;
    }
    
    /* 右侧操作区样式优化 */
    .server-actions-right {
        align-self: center;
        margin-top: 10px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 确保所有操作按钮在移动端大小合适 */
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .like-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 侧边栏推荐服务器样式 */
.sidebar-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 0;
    padding: 15px;
}

.sidebar-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
}

/* 推荐服务器列表样式 */
.recommended-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 推荐服务器项样式 - 从左到右：图标、名字、在线数、状态 */
.recommended-server-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    /* 不允许换行 */
    flex-wrap: nowrap;
    /* 确保所有元素在一行，不溢出 */
    overflow: hidden;
    /* 确保整体对齐 */
    height: auto;
    min-height: 69px;
    /* 确保所有内容都在容器内 */
    width: 100%;
    box-sizing: border-box;
}

.recommended-server-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 服务器图标样式 */
.server-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    /* 确保图标始终在左侧 */
    margin-right: 0;
}

.server-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 服务器信息样式 - 包含名字和游戏类型 */
.server-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* 确保信息在中间，不会被挤到图标下面 */
    margin-right: auto;
}

.server-item-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 服务器游戏类型样式 - 显示在名字下方 */
.server-item-type {
    font-size: 12px;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 服务器在线人数样式 - 从左到右第三个元素 */
.server-item-players {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
    /* 确保在线人数在状态前面 */
    margin-right: 10px;
}

.players-count {
    font-weight: 700;
    color: #333;
}

/* 服务器状态样式 - 从左到右第四个元素 */
.server-item-status {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* 确保状态始终在最右侧 */
    margin-left: auto;
}

/* 推荐服务器在线状态样式 - 确保不会换行 */
.server-item-status .status-online, 
.server-item-status .status-offline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.server-item-status .status-online {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.server-item-status .status-offline {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* 针对844x390像素尺寸的额外优化 */
@media (max-width: 844px) {
    /* 服务器元信息区域样式优化 */
    .server-meta {
        justify-content: center;
        gap: 8px;
    }
    
    /* 热度和点赞显示样式优化 */
    .heat-display, .like-display {
        gap: 4px;
        padding: 4px 7px;
        font-size: 11px;
    }
    
    .heat-label, .like-label {
        font-size: 10px;
    }
    
    .heat-score, .like-count {
        font-size: 12px;
    }
}

/* 移动端样式优化 - 推荐服务器在移动端保持原有样式 */
@media (max-width: 768px) {
    /* 在移动端，推荐服务器仍在主内容区显示，侧边栏中的推荐服务器隐藏 */
    .sidebar .recommended-servers {
        display: none;
    }
    
    /* 主内容区的推荐服务器恢复显示（如果存在） */
    .main-content .recommended-servers {
        display: block;
    }
}

/* 点赞按钮样式优化 */
.server-actions {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.primary-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.like-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #ff6b6b;
    background: white;
    color: #ff6b6b;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.like-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.like-button.liked {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.like-button.liked:hover {
    background: #ff5252;
    border-color: #ff5252;
}

.like-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.like-button.liked .like-icon {
    transform: scale(1.2);
}

.like-text {
    font-weight: 600;
}

.like-number {
    font-size: 18px;
    font-weight: 700;
}

/* 其他按钮样式优化 */
.btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.join-button {
    background: #28a745;
    color: white;
}

.join-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.claim-button {
    background: #17a2b8;
    color: white;
}

.claim-button:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* 基本信息区域样式优化 */
.info-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 服务器详情页容器 */
.server-detail {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* 服务器信息区域 */
.server-info {
    margin-bottom: 20px;
}

/* 基本信息网格布局 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    overflow-x: hidden;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.info-item span {
    color: #6c757d;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 相关链接样式 */
.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-label {
    font-weight: 600;
    color: #495057;
    min-width: 60px;
}

.link-url {
    color: #007bff;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.link-item a {
    color: #007bff;
    text-decoration: none;
}

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

/* QQ群号样式 */
.qq-group-item {
    cursor: pointer;
}

.qq-group-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qq-group-item:hover .link-url {
    color: #007bff;
}

.qq-group-item:hover .link-label {
    color: #495057;
}

.qq-group-item .link-url {
    color: #007bff;
}

.qq-group-item .link-label {
    color: #495057;
}

/* 网站链接样式 - 保持颜色在悬停时不变 */
.link-item.website-link,
.link-item.download-link {
    color: inherit;
}

.link-item.website-link:hover,
.link-item.download-link:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.link-item.website-link:hover .link-url,
.link-item.website-link:hover .link-label,
.link-item.download-link:hover .link-url,
.link-item.download-link:hover .link-label {
    color: inherit;
}

/* 确保链接本身悬停时颜色不变 */
.link-item.website-link:hover,
.link-item.download-link:hover {
    text-decoration: none;
}

/* 保持链接颜色在悬停时不变 */
.link-item:hover .link-label {
    color: #495057;
}

/* 服务器描述样式 */
.content {
    line-height: 1.6;
    color: #495057;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.content p {
    margin-bottom: 15px;
}

.content ul, .content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.content li {
    margin-bottom: 5px;
}

.content a {
    color: #007bff;
    text-decoration: none;
}

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

/* 预览内容样式 */
.preview-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    min-height: 100px;
    border: 1px solid #e9ecef;
}

/* 图表样式 */
.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.chart-legend {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* 侧边栏布局样式 */
.server-content-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    /* 确保侧边栏内容不会溢出 */
    max-width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .server-content-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    /* 减小网格项最小宽度 */
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    /* 减小内边距 */
    .server-detail {
        padding: 15px;
    }
    
    /* 确保所有元素都使用box-sizing */
    * {
        box-sizing: border-box;
    }
}

/* 针对844x390像素尺寸的专门优化 */
@media (max-width: 844px) {
    /* 容器优化 */
    .server-detail {
        padding: 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* 网格布局优化 */
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    /* 字体和间距优化 */
    .info-item label {
        font-size: 13px;
    }
    
    .info-item span {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 链接样式优化 */
    .link-item {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .link-label {
        min-width: 50px;
        font-size: 13px;
    }
    
    .link-url {
        font-size: 13px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 服务器标题优化 */
    .server-header h2 {
        font-size: 22px;
    }
    
    /* 图表容器优化 */
    .chart-container {
        height: 250px;
        margin: 15px 0;
    }
    
    /* 内容区域优化 */
    .content {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 侧边栏和主内容区域优化 */
    .server-content-container {
        gap: 15px;
        flex-direction: column;
    }
    
    .main-content,
    .sidebar {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
    
    /* 确保服务器图标在中间 */
    .server-header {
        align-items: center;
    }
    
    .server-icon {
        margin: 0 auto;
    }
    
    /* 确保标题区域在中间 */
    .server-title-section {
        text-align: center;
        width: 100%;
    }
    
    /* 确保操作区在中间 */
    .server-actions-right {
        align-self: center;
    }
    
    /* 确保所有容器都使用相对宽度 */
    * {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    /* 移除任何可能导致溢出的固定宽度 */
    .info-section,
    .links,
    .recommend-servers {
        width: 100%;
        overflow-x: hidden;
    }
    
    /* 按钮样式优化 */
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* 点赞按钮优化 */
    .like-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* 服务器卡片优化 */
    .server-card {
        padding: 15px;
    }
    
    /* 确保长文本不会导致溢出 */
    .content h1,
    .content h2,
    .content h3,
    .content h4,
    .content h5,
    .content h6 {
        font-size: 1.2em;
        word-break: break-word;
    }
    
    /* 确保列表不会导致溢出 */
    .content ul,
    .content ol {
        padding-left: 20px;
    }
}

/* 针对苹果设备的额外修复 */
@supports (-webkit-touch-callout: none) {
    /* 确保所有容器都不会超出屏幕 */
    .server-detail,
    .server-content-container,
    .main-content,
    .sidebar,
    .info-section,
    .chart-container,
    .content,
    .links {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* 确保长文本换行 */
    .info-item span,
    .link-url {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 针对844x390尺寸的苹果设备额外优化 */
    @media (max-width: 844px) {
        /* 进一步减小网格项最小宽度 */
        .info-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }
        
        /* 进一步减小内边距 */
        .server-detail {
            padding: 10px;
        }
        
        /* 确保所有元素都使用相对宽度 */
        .info-section h3,
        .content h3 {
            font-size: 16px;
        }
        
        /* 进一步减小字体大小 */
        .info-item label {
            font-size: 12px;
        }
        
        .info-item span {
            font-size: 13px;
        }
        
        /* 减小服务器标题大小 */
        .server-header h2 {
            font-size: 20px;
        }
        
        /* 减小评分标题大小 */
        .rating-stars-title {
            font-size: 24px;
        }
        
        /* 减小标签大小 */
        .tags-display span {
            font-size: 11px;
            padding: 3px 6px;
        }
        
        /* 减小操作按钮大小 */
        .btn {
            padding: 8px 16px;
            font-size: 13px;
        }
        
        .like-button {
            padding: 8px 16px;
            font-size: 13px;
        }
        
        /* 减小热度和点赞显示大小 */
        .heat-display,
        .like-display {
            font-size: 13px;
            padding: 4px 8px;
            gap: 5px;
        }
        
        .heat-score,
        .like-count {
            font-size: 14px;
        }
        
        /* 减小状态标签大小 */
        .status-badge {
            font-size: 12px;
            padding: 4px 10px;
        }
        
        /* 减小链接标签和URL大小 */
        .link-label {
            font-size: 12px;
            min-width: 45px;
        }
        
        .link-url {
            font-size: 12px;
        }
        
        /* 减小链接项内边距 */
        .link-item {
            padding: 6px 10px;
            gap: 6px;
        }
        
        /* 确保图表容器适应小屏幕 */
        .chart-container {
            height: 200px;
            margin: 10px 0;
        }
        
        /* 减小内容区域字体大小 */
        .content {
            font-size: 13px;
            line-height: 1.4;
        }
        
        /* 减小标题大小 */
        .content h1,
        .content h2,
        .content h3,
        .content h4,
        .content h5,
        .content h6 {
            font-size: 1.1em;
        }
        
        /* 减小列表内边距 */
        .content ul,
        .content ol {
            padding-left: 15px;
        }
        
        /* 减小列表项间距 */
        .content li {
            margin-bottom: 3px;
        }
    }
}

/* 评分标题样式 */
.rating-stars-title {
    font-size: 30px;
    color: #ffc107;
    vertical-align: baseline;
    line-height: 1;
    display: inline-block;
    margin-bottom: -3px;
}

.rating-stars-title .star {
    color: #e9ecef;
}

.rating-stars-title .star.filled,
.rating-stars-title .star.half {
    color: #ffc107;
}

.rating-info-title {
    font-size: 14px;
    color: #6c757d;
    font-weight: normal;
    vertical-align: middle;
}

/* 标题主行样式 - 包含名称、评分和投诉按钮 */
.server-title-main {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

/* 服务器标题额外信息区域 */
.server-title-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

/* 投诉按钮样式 */
.server-title-extra .complaint-button {
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    margin-left: 10px;
    vertical-align: middle;
}

/* 标签样式 */
.tags-display {
    margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
}

.tags-display span {
    display: inline-block;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid;
    margin: 2px;
}
