.serverstatus {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--thc-text, #f4f6f8);
}

.serverstatus__summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.serverstatus__summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.serverstatus__summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--thc-muted, rgba(255, 255, 255, 0.65));
}

.serverstatus__summary-value {
    font-size: 1.6rem;
    font-weight: 600;
}

.serverstatus__summary-states {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.serverstatus__summary-flags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.serverstatus__summary-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--thc-muted, rgba(255, 255, 255, 0.65));
}

.serverstatus__summary-meta-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.serverstatus__summary-meta-note {
    opacity: 0.85;
}

.serverstatus-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: var(--thc-text, #f4f6f8);
}

.serverstatus-chip__label {
    font-weight: 500;
}

.serverstatus-chip__value {
    font-weight: 700;
}

.serverstatus-chip--success {
    background: rgba(68, 173, 98, 0.18);
    border-color: rgba(68, 173, 98, 0.45);
    color: #8be1a7;
}

.serverstatus-chip--warning {
    background: rgba(245, 166, 35, 0.18);
    border-color: rgba(245, 166, 35, 0.45);
    color: #f5c36c;
}

.serverstatus-chip--danger {
    background: rgba(192, 57, 43, 0.18);
    border-color: rgba(192, 57, 43, 0.5);
    color: #f29b94;
}

.serverstatus-chip--critical {
    background: rgba(231, 76, 60, 0.22);
    border-color: rgba(231, 76, 60, 0.6);
    color: #ffb3aa;
}

.serverstatus-chip--info {
    background: rgba(52, 152, 219, 0.18);
    border-color: rgba(52, 152, 219, 0.45);
    color: #9ec9ee;
}

.serverstatus-chip--muted {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

.serverstatus__notice {
    padding: 0.75rem 1rem;
    border-left: 4px solid rgba(245, 166, 35, 0.65);
    background: rgba(245, 166, 35, 0.14);
    border-radius: 8px;
    font-size: 0.9rem;
}

.serverstatus__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.serverstatus__empty {
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--thc-muted, rgba(255, 255, 255, 0.65));
}

.serverstatus__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.8rem;
    color: var(--thc-muted, rgba(255, 255, 255, 0.65));
}

.serverstatus__footer-note {
    opacity: 0.85;
}

.serverstatus-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: var(--thc-text, #f4f6f8);
}

.serverstatus-badge--success {
    background: rgba(68, 173, 98, 0.2);
    border-color: rgba(68, 173, 98, 0.45);
    color: #8be1a7;
}

.serverstatus-badge--warning {
    background: rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.45);
    color: #f5c36c;
}

.serverstatus-badge--danger,
.serverstatus-badge--critical {
    background: rgba(192, 57, 43, 0.22);
    border-color: rgba(192, 57, 43, 0.55);
    color: #f29b94;
}

.serverstatus-badge--info {
    background: rgba(52, 152, 219, 0.18);
    border-color: rgba(52, 152, 219, 0.45);
    color: #9ec9ee;
}

.serverstatus-badge--muted {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

.serverstatus-health {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.serverstatus-health h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.serverstatus-health__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.serverstatus-health__item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.serverstatus-health__item--success {
    border-left: 4px solid rgba(68, 173, 98, 0.65);
}

.serverstatus-health__item--warning {
    border-left: 4px solid rgba(245, 166, 35, 0.7);
}

.serverstatus-health__item--danger {
    border-left: 4px solid rgba(192, 57, 43, 0.7);
}

.serverstatus-health__item--info {
    border-left: 4px solid rgba(52, 152, 219, 0.65);
}

.serverstatus-health__item--muted {
    border-left: 4px solid rgba(255, 255, 255, 0.2);
}

.server-card {
    background: rgba(12, 16, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.server-card--online {
    border-color: rgba(68, 173, 98, 0.45);
}

.server-card--offline {
    border-color: rgba(192, 57, 43, 0.45);
}

.server-card--maintenance {
    border-color: rgba(245, 166, 35, 0.4);
}

.server-card--error {
    border-color: rgba(231, 76, 60, 0.55);
}

.server-card--degraded {
    border-color: rgba(245, 166, 35, 0.45);
}

.server-card--starting,
.server-card--pending {
    border-color: rgba(52, 152, 219, 0.45);
}

.server-card--unknown {
    border-color: rgba(255, 255, 255, 0.1);
}

.server-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.server-card__identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.server-card__icon {
    font-size: 1.9rem;
}

.server-card__icon--image img {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    object-fit: contain;
}

.server-card__headline {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.server-card__name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.server-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.07);
}

.server-card__status--success {
    background: rgba(68, 173, 98, 0.18);
    color: #8be1a7;
}

.server-card__status--warning {
    background: rgba(245, 166, 35, 0.18);
    color: #f5c36c;
}

.server-card__status--danger {
    background: rgba(192, 57, 43, 0.2);
    color: #f29b94;
}

.server-card__status--info {
    background: rgba(52, 152, 219, 0.18);
    color: #9ec9ee;
}

.server-card__status--muted {
    color: rgba(255, 255, 255, 0.7);
}

.server-card__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.server-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.35rem 0.75rem;
}

.server-card__meta-item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.server-card__meta-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.server-card__meta-value a {
    color: inherit;
    text-decoration: underline;
}

.server-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.server-card__players {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.server-card__players-count {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.server-card__players-value {
    font-weight: 600;
}

.server-card__players-bots {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.server-card__progress {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.server-card__progress-bar {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 107, 59, 0.85), rgba(68, 173, 98, 0.95));
}

.server-card__player-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.45rem;
}

.server-card__player {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.server-card__player-meta {
    display: flex;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.server-card__note {
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.server-card__note--info {
    border-left: 4px solid rgba(52, 152, 219, 0.55);
}

.server-card__note--warning {
    border-left: 4px solid rgba(245, 166, 35, 0.6);
}

.server-card__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.server-card__footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.server-card__footer-note {
    opacity: 0.85;
}

.teamspeak-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.teamspeak-header__state {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.teamspeak-header__icon {
    font-size: 2rem;
}

.teamspeak-header__icon--image img {
    width: 3rem;
    height: 3rem;
    display: block;
    object-fit: contain;
}

.teamspeak-header__headline {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.teamspeak-header__name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.teamspeak-header__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.teamspeak-header__message {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.teamspeak-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--thc-muted, rgba(255, 255, 255, 0.65));
}

.teamspeak-header__meta-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.teamspeak-header__meta-note {
    opacity: 0.85;
}

.teamspeak-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.35rem 0.75rem;
    margin: 0;
}

.teamspeak-metric {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.teamspeak-metric__label {
    font-weight: 600;
}

.teamspeak-connection {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.teamspeak-connection__item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.teamspeak-connection__label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.teamspeak-connection__value a {
    color: inherit;
    text-decoration: underline;
}

.teamspeak-channel {
    background: rgba(12, 16, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.teamspeak-channel--highlight {
    border-color: rgba(68, 173, 98, 0.45);
}

.teamspeak-channel--protected {
    border-color: rgba(192, 57, 43, 0.45);
}

.teamspeak-channel__header {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.teamspeak-channel__name {
    font-weight: 600;
}

.teamspeak-channel__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.teamspeak-channel__topic {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.teamspeak-channel__children {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 0 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.teamspeak-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.teamspeak-client-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.teamspeak-client {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.teamspeak-client__meta {
    display: flex;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.teamspeak-client__status {
    font-size: 0.85rem;
}
