/* ============================================================
   ClickMonitor - Dark Theme CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-base:       #0a0e1a;
    --bg-surface:    #0f1629;
    --bg-card:       #141c2e;
    --bg-card-hover: #1a2540;
    --bg-input:      #0d1424;
    --border:        #1e2d4a;
    --border-light:  #243352;

    --text-primary:   #e8edf7;
    --text-secondary: #7a8dab;
    --text-muted:     #4a5a78;

    --accent:        #4f8ef7;
    --accent-hover:  #3a7ae8;
    --accent-glow:   rgba(79,142,247,0.15);

    --green:         #22d3a2;
    --green-bg:      rgba(34,211,162,0.1);
    --red:           #f43f5e;
    --red-bg:        rgba(244,63,94,0.1);
    --yellow:        #f59e0b;
    --yellow-bg:     rgba(245,158,11,0.1);
    --blue:          #818cf8;
    --blue-bg:       rgba(129,140,248,0.1);

    --sidebar-w:     240px;
    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
    --transition:    0.2s ease;

    --font-body:     'DM Sans', sans-serif;
    --font-mono:     'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── LAYOUT ── */
.app-layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-logo {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(79,142,247,0.3);
}

.sidebar-logo-text {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.sidebar-logo-sub {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }

.nav-section {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 16px 8px 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
}

.nav-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(79,142,247,0.2);
}

.nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.user-avatar {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 11px; color: var(--text-muted); }

/* ── MAIN CONTENT ── */
/* ── SIDEBAR COLLAPSED ── */
/* Desktop: collapsed via botão */
@media (min-width: 769px) {
    .sidebar.collapsed {
        transform: translateX(-100%);
    }
    .main-content.expanded {
        margin-left: 0 !important;
    }
}
#sidebarToggle {
    font-size: 18px;
}

/* Botão Voltar dentro do sidebar — só mobile/tablet */
.sidebar-back-btn {
    display: none;
}

@media (max-width: 768px) {
    .sidebar-back-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 12px 12px 4px 12px;
        padding: 10px 16px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--accent) 0%, rgba(99,102,241,0.7) 100%);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 12px rgba(99,102,241,0.35);
        border: none;
        transition: opacity .15s;
        user-select: none;
    }
    .sidebar-back-btn:active { opacity: 0.75; }
    .sidebar-back-arrow {
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }
}
.sidebar {
    transition: transform .25s ease;
}
.main-content {
    transition: margin-left .25s ease, max-width .25s ease;
}

.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-title { font-size: 18px; font-weight: 600; color: var(--text-primary); }
.topbar-right { display: flex; align-items: center; gap: 12px; }

.page-content { padding: 32px; flex: 1; }

/* ── CARDS ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.card:hover { border-color: var(--border-light); }

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.card-body { padding: 24px; }

/* ── STAT CARDS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: var(--border-light); transform: translateY(-1px); box-shadow: var(--shadow); }

.stat-card.stat-green::before  { background: var(--green); }
.stat-card.stat-red::before    { background: var(--red); }
.stat-card.stat-yellow::before { background: var(--yellow); }
.stat-card.stat-blue::before   { background: var(--blue); }

.stat-info {}
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-family: var(--font-mono); font-size: 32px; font-weight: 700; line-height: 1; }
.stat-value.green  { color: var(--green); }
.stat-value.red    { color: var(--red); }
.stat-value.yellow { color: var(--yellow); }
.stat-value.blue   { color: var(--blue); }

.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.green  { background: var(--green-bg);  color: var(--green); }
.stat-icon.red    { background: var(--red-bg);     color: var(--red); }
.stat-icon.yellow { background: var(--yellow-bg);  color: var(--yellow); }
.stat-icon.blue   { background: var(--blue-bg);    color: var(--blue); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary   { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 16px var(--accent-glow); }

.btn-danger    { background: var(--red-bg); color: var(--red); border-color: rgba(244,63,94,0.3); }
.btn-danger:hover { background: var(--red); color: white; }

.btn-ghost     { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-light); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; justify-content: center; }

/* ── BADGES ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.badge-online      { background: var(--green-bg);  color: var(--green); }
.badge-offline     { background: var(--red-bg);    color: var(--red); }
.badge-slow        { background: var(--yellow-bg); color: var(--yellow); }
.badge-maintenance { background: var(--blue-bg);   color: var(--blue); }
.badge-unknown     { background: rgba(74,90,120,0.2); color: var(--text-muted); }
.badge-inactive    { background: rgba(74,90,120,0.15); color: var(--text-muted); border: 1px dashed var(--border); }

/* Priority badges */
.badge-low      { background: rgba(34,211,162,0.1);   color: var(--green); }
.badge-medium   { background: var(--yellow-bg);         color: var(--yellow); }
.badge-high     { background: rgba(251,113,133,0.15);  color: #fb7185; }
.badge-critical { background: var(--red-bg);            color: var(--red); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-label span { color: var(--red); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237a8dab'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }

textarea.form-control { resize: vertical; min-height: 80px; }

.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0;
    background: var(--border-light);
    border-radius: 24px;
    cursor: pointer;
    transition: background var(--transition);
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: 13px; color: var(--text-secondary); }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-card-hover); }

.table-actions { display: flex; gap: 6px; }

/* ── MODALS ── */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title { font-size: 16px; font-weight: 600; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 20px; transition: color var(--transition); padding: 4px; }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ── ALERTS ── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid rgba(34,211,162,0.2); }
.alert-danger  { background: var(--red-bg);   color: var(--red);   border: 1px solid rgba(244,63,94,0.2); }
.alert-warning { background: var(--yellow-bg); color: var(--yellow); border: 1px solid rgba(245,158,11,0.2); }
.alert-info    { background: var(--blue-bg);  color: var(--blue);  border: 1px solid rgba(129,140,248,0.2); }

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state-title { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state-text { font-size: 14px; max-width: 320px; margin: 0 auto; }

/* ── PULSE INDICATOR ── */
.pulse { position: relative; display: inline-flex; }
.pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ── RESPONSE TIME BAR ── */
.rt-bar { display: flex; align-items: center; gap: 8px; }
.rt-bar-track { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.rt-bar-fill  { height: 100%; border-radius: 2px; transition: width 0.5s ease; }
.rt-bar-fill.green  { background: var(--green); }
.rt-bar-fill.yellow { background: var(--yellow); }
.rt-bar-fill.red    { background: var(--red); }
.rt-value { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); min-width: 55px; text-align: right; }

/* ── GRID SYSTEM ── */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── UTILITIES ── */
.text-muted    { color: var(--text-muted); }
.text-mono     { font-family: var(--font-mono); }
.text-sm       { font-size: 12px; }
.text-right    { text-align: right; }
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.gap-8         { gap: 8px; }
.gap-12        { gap: 12px; }
.gap-16        { gap: 16px; }
.mb-16         { margin-bottom: 16px; }
.mb-24         { margin-bottom: 24px; }
.p-0           { padding: 0 !important; }

/* ── LOADING ── */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST ── */
/* Toast container — popups modernos gerados pelo JS */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
#toast-container > * { pointer-events: all; }

/* ── SEARCH BAR ── */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input { background: none; border: none; outline: none; color: var(--text-primary); font-size: 14px; flex: 1; }
.search-bar input::placeholder { color: var(--text-muted); }

/* ── UPTIME BAR ── */
.uptime-display { display: flex; align-items: center; gap: 8px; }
.uptime-pct { font-family: var(--font-mono); font-size: 13px; min-width: 48px; }
.uptime-pct.good   { color: var(--green); }
.uptime-pct.medium { color: var(--yellow); }
.uptime-pct.bad    { color: var(--red); }
.uptime-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.uptime-fill { height: 100%; border-radius: 3px; }
.uptime-fill.good   { background: var(--green); }
.uptime-fill.medium { background: var(--yellow); }
.uptime-fill.bad    { background: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --sidebar-w: 200px; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .page-content { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.topbar-clock {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(99,102,241,0.08) 100%);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    box-shadow: 0 0 12px rgba(99,102,241,0.08);
    transition: all .2s;
}
.topbar-clock:hover {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 18px rgba(99,102,241,0.15);
}
.clock-date {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .5px;
}
.clock-sep {
    color: var(--border-light);
    font-size: 14px;
}
.clock-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(99,102,241,0.4);
}
/* ── HUD CLOCK (inspired by digital display) ── */
.hud-clock {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 16px 5px;
    border-radius: 10px;
    border: 1px solid rgba(34,211,162,0.35);
    background: rgba(0,0,0,0.45);
    box-shadow: 0 0 18px rgba(34,211,162,0.18), inset 0 0 12px rgba(34,211,162,0.05);
    overflow: hidden;
    cursor: default;
    transition: box-shadow .3s;
}
.hud-clock:hover {
    box-shadow: 0 0 28px rgba(34,211,162,0.35), inset 0 0 16px rgba(34,211,162,0.08);
}
.hud-scanline {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.025) 2px,
        rgba(255,255,255,0.025) 3px
    );
    border-radius: 10px;
}
.hud-shine {
    pointer-events: none;
    position: absolute;
    top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: hud-shine 6s linear infinite;
    border-radius: 10px;
}
@keyframes hud-shine {
    0%   { left: -60%; }
    100% { left: 120%; }
}
.hud-digits {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Courier New', 'DM Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #22d3a2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(34,211,162,0.7), 0 0 20px rgba(34,211,162,0.3);
    line-height: 1;
}
.hud-seg {
    display: inline-block;
    width: 2ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.hud-colon {
    font-size: 20px;
    opacity: 0.9;
    animation: hud-blink 1s step-end infinite;
    margin: 0 1px;
}
@keyframes hud-blink {
    0%, 100% { opacity: 0.9; }
    50%       { opacity: 0.25; }
}
.hud-date {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(34,211,162,0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}
