.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.switch-group {
    display: flex;
    gap: 4px;
}

.switch-btn.active {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

.switch-btn.active:hover {
    background: #3399ff;
}

@media (max-width: 480px) {
    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .switch-group {
        justify-content: center;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '微软雅黑', 'PingFang SC', sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(#e0e0e0 1px, transparent 1px),
                      linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.server-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e8e8e8;
}
.server-title {
    font-size: 24px;
    color: #222;
    font-weight: 600;
}

.server-card {
    margin-bottom: 25px;
}
.server-info-item {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}
.server-info-item:last-child {
    border-bottom: none;
}
.label {
    font-weight: 500;
    color: #555;
    min-width: 100px;
    font-size: 15px;
}
.value {
    color: #222;
    font-size: 15px;
    flex: 1;
}
.motd-text {
    color: #333;
    font-weight: 400;
    line-height: 1.6;
}

.players-section {
    margin-top: 10px;
}
.players-section h3 {
    font-size: 18px;
    color: #444;
    margin-bottom: 12px;
}
.players-list {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.empty-tip {
    color: #999;
    font-style: italic;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    .server-icon {
        width: 50px;
        height: 50px;
    }
    .server-title {
        font-size: 20px;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #e8e8e8;
    text-align: center;
    color: #999;
    font-size: 12px;
    z-index: 100;
}

body {
    padding-bottom: 50px;
}

.container {
    min-height: calc(100vh - 100px);
}