/* /fleet/glass.css — the cards of a folio-rs `:::glass` frame (atom #5249).
 * A site sets any of these on .fleet-glass to draw the cards in its own palette:
 *   --fleet-glass-line (card border)  --fleet-glass-radius
 *   --fleet-glass-ink (city)  --fleet-glass-text (latency title)
 *   --fleet-glass-muted (country, hint)  --fleet-glass-mono (country, badge)
 *   --fleet-glass-live-bg  --fleet-glass-live-ink  (the Live badge)
 *   --fleet-glass-planned-bg  --fleet-glass-planned-ink
 *   --fleet-glass-outage-bg  --fleet-glass-outage-ink
 *   --fleet-glass-fast  --fleet-glass-ok  --fleet-glass-slow (the figure)
 * Unset, each falls back to the Clavitor look (clavitor.ai's folio.css tokens). */

.fleet-glass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fleet-glass-card {
    border: 1px solid var(--fleet-glass-line, #E5E5E5);
    border-radius: var(--fleet-glass-radius, 0);
    padding: 24px;
}
.fleet-glass-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.fleet-glass-city { font-size: 1.125rem; font-weight: 600; color: var(--fleet-glass-ink, #171717); line-height: 1.3; }
.fleet-glass-country {
    font-family: var(--fleet-glass-mono, var(--font-mono, ui-monospace, monospace));
    font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--fleet-glass-muted, #8A8A8A); margin-top: 2px;
}
.fleet-glass-badge {
    font-family: var(--fleet-glass-mono, var(--font-mono, ui-monospace, monospace));
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px; white-space: nowrap;
}
.fleet-glass-badge[data-status="live"] { background: var(--fleet-glass-live-bg, #0A0A0A); color: var(--fleet-glass-live-ink, #FFFFFF); }
.fleet-glass-badge[data-status="planned"] { background: var(--fleet-glass-planned-bg, #F5F5F5); color: var(--fleet-glass-planned-ink, #8A8A8A); }
.fleet-glass-badge[data-status="outage"] { background: var(--fleet-glass-outage-bg, #DC2626); color: var(--fleet-glass-outage-ink, #FFFFFF); }
.fleet-glass-latency { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.fleet-glass-latency-left { display: flex; flex-direction: column; gap: 2px; }
.fleet-glass-latency-title { font-size: 0.875rem; color: var(--fleet-glass-text, #6B6B6B); }
.fleet-glass-latency-hint { font-size: 0.7rem; color: var(--fleet-glass-muted, #8A8A8A); }
.fleet-glass-ms { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.fleet-glass-ms[data-speed="fast"] { color: var(--fleet-glass-fast, #16A34A); }
.fleet-glass-ms[data-speed="ok"] { color: var(--fleet-glass-ok, #CA8A04); }
.fleet-glass-ms[data-speed="slow"] { color: var(--fleet-glass-slow, #DC2626); }
@media (max-width: 900px) { .fleet-glass-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fleet-glass-grid { grid-template-columns: 1fr; } }
