/* Global squawk alert — standalone pill fixed top-right (the header button
   column is hidden) + toasts underneath. Emergency red #e74c3c/#c0392b,
   matching the info-panel emergency banner. No emoji: a pulsing dot,
   the word ALERT and the count. */

#fa-sq-beacon {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1600;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(16, 18, 28, 0.92);
    border: 1px solid rgba(231, 76, 60, 0.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#fa-sq-beacon:hover { border-color: #e74c3c; background: rgba(26, 20, 24, 0.95); }
#fa-sq-beacon .fa-sq-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e74c3c;
    animation: fa-sq-pulse 1.1s ease-in-out infinite;
}
#fa-sq-beacon .fa-sq-word {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ff8a80;
}
#fa-sq-beacon .fa-sq-count {
    font: 700 12px/1 -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    background: rgba(231, 76, 60, 0.3);
    padding: 2px 7px;
    border-radius: 999px;
}

@keyframes fa-sq-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }
    50% { box-shadow: 0 0 0 5px rgba(231, 76, 60, 0); }
}

#fa-sq-list {
    position: fixed;
    z-index: 1700;
    min-width: 220px;
    max-width: 300px;
    max-height: 50vh;
    overflow-y: auto;
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}
.fa-sq-list-head {
    padding: 10px 12px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 138, 128, 0.85);
}
.fa-sq-list-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
.fa-sq-list-row:hover { background: rgba(231, 76, 60, 0.14); }
.fa-sq-list-code { font: 700 12px/1 monospace; color: #ff8a80; }
.fa-sq-list-name { flex: 1; font-size: 13px; font-weight: 600; }
.fa-sq-list-label { font-size: 11px; color: rgba(255, 255, 255, 0.5); }

#fa-sq-toasts {
    position: fixed;
    top: 56px;
    right: 14px;
    z-index: 1700;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.fa-sq-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c0392b 0%, #a52f22 100%);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    animation: fa-sq-toast-glow 1.1s ease-in-out infinite;
}
.fa-sq-toast.in { transform: translateX(0); opacity: 1; }
.fa-sq-toast-code { font: 700 15px/1 monospace; white-space: nowrap; }
.fa-sq-toast-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fa-sq-toast-body b { font-size: 13px; }
.fa-sq-toast-label { font-size: 11px; color: rgba(255, 255, 255, 0.8); }
.fa-sq-toast-close { flex: none; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.fa-sq-toast-close:hover { color: #fff; }

@keyframes fa-sq-toast-glow {
    0%, 100% { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(231, 76, 60, 0.6); }
}
