.server-check { max-width:1180px; }
.server-check [hidden] { display:none!important; }
.check-editions { display:inline-flex; gap:4px; padding:4px; margin-bottom:22px; border-radius:14px; background:#27272a; }
.server-check .check-editions button { margin:0; padding:9px 16px; border:0; border-radius:10px; background:transparent; color:#a1a1aa; font-size:13px; cursor:pointer; }
.server-check .check-editions button[aria-pressed=true] { background:#111113; color:#fafafa; }
.check-fields { display:grid; grid-template-columns:minmax(0,1fr) 175px auto; gap:14px; align-items:end; }
.check-fields label { display:flex; flex-direction:column; gap:9px; margin:0; color:#d4d4d8; font-size:13px; min-width:0; }
.check-port { position:relative; }
.check-port .gradient-muted { position:absolute; top:1px; right:0; font-size:10px; }
.server-check #checkSubmit { height:43px; border-radius:12px; gap:8px; padding:10px 20px; }
.server-check[aria-busy=true] .check-search-icon { animation:check-pulse 800ms ease-in-out infinite alternate; }
.check-feedback { min-height:0; margin:0; color:#83dba1; font-size:13px; line-height:1.6; }
.check-feedback:not(:empty) { margin-top:14px; }
.server-check .is-error { color:#f87171; }
.check-empty { display:flex; flex-direction:column; align-items:center; gap:10px; padding:40px 20px 24px; text-align:center; }
.check-empty img { object-fit:contain; }
.check-empty h2 { margin:0; font-size:18px; font-weight:500; }
.check-empty p { color:#85858f; font-size:14px; margin:0; }
.check-results { display:flex; flex-direction:column; gap:18px; margin-top:20px; }
.check-result-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.check-result-heading > div { min-width:0; }
.check-result-heading h2 { margin:12px 0 0; font-size:22px; overflow-wrap:anywhere; }
.check-badge { display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border-radius:8px; background:#17c96412; color:#45d483; font-size:12px; }
.check-badge:before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.server-check[data-result=unanswered] .check-badge { background:#f5a52412; color:#e6b762; }
.check-result-message { margin:14px 0 0; color:#a1a1aa; font-size:13px; line-height:1.7; }
.check-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:22px; }
.check-metrics > div { min-width:0; padding:16px; background:#ffffff04; border-radius:14px; }
.check-metrics span { display:block; margin-bottom:8px; color:#85858f; font-size:12px; }
.check-metrics strong { display:block; color:#fafafa; font-size:18px; font-weight:500; overflow-wrap:anywhere; }
.check-meta { display:flex; gap:16px; flex-wrap:wrap; margin-top:18px; color:#85858f; font-size:11px; }
.check-details { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; }
.check-server-preview { display:flex; align-items:flex-start; gap:14px; padding:16px; background:#111113; border-radius:14px; }
.check-server-icon { display:flex; justify-content:center; align-items:center; flex:0 0 64px; width:64px; height:64px; border-radius:6px; overflow:hidden; background:#27272a; color:#85858f; font-size:18px; }
.check-server-icon img { width:64px; height:64px; image-rendering:pixelated; }
.check-motd { flex:1; min-width:0; font-size:14px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; text-shadow:1px 1px #0009; }
.check-connection { margin:18px 0 0; }
.check-connection > div { display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-bottom:1px solid #ffffff06; font-size:12px; }
.check-connection > div:last-child { border:0; }
.check-connection dt { font-weight:400; color:#85858f; flex:none; }
.check-connection dd { margin:0; min-width:0; color:#d4d4d8; text-align:right; overflow-wrap:anywhere; }
.check-footnote { max-width:860px; margin:24px 0 0; color:#85858f; font-size:12px; line-height:1.8; }
@keyframes check-pulse { from { opacity:.35; } to { opacity:1; } }
@media(max-width:767px) { .check-fields { grid-template-columns:minmax(0,1fr) 145px; } .server-check #checkSubmit { grid-column:1/-1; } .check-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .check-details { grid-template-columns:minmax(0,1fr); } }
@media(max-width:575px) { .check-fields { grid-template-columns:minmax(0,1fr); } .check-port .gradient-muted { right:auto; left:40px; } .check-result-heading { align-items:flex-start; flex-direction:column; } .check-result-heading h2 { font-size:18px; } .check-metrics { gap:8px; } .check-metrics > div { padding:12px; } .check-metrics strong { font-size:16px; } .check-server-preview { padding:12px; gap:10px; } .check-server-icon { flex-basis:48px; width:48px; height:48px; } .check-server-icon img { width:48px; height:48px; } }
@media(prefers-reduced-motion:reduce) { .server-check[aria-busy=true] .check-search-icon { animation:none; } }
