/* ================================================================
   ERROR GUARD® 3.0 — THE COLLECTIVE
   HOLOGRAPHIC LAUNCH CONTROL — SILVER / WHITE / GRAPHITE
   The Raymond Brogan Corporation | Copyright © 2026
   Load after floating-timer.css.
   ================================================================ */

#eg-floating-timer {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 9998;
    color: #26323c;
    pointer-events: none;
    filter: none;
    scrollbar-width: thin;
    scrollbar-color: #9da8b4 transparent;
}

#eg-floating-timer .eg-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 4px 18px 4px 18px;
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 1px rgba(108, 131, 150, 0.20),
                0 18px 75px rgba(0, 0, 0, 0.25),
                inset 0 0 28px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px) saturate(108%);
    -webkit-backdrop-filter: blur(8px) saturate(108%);
    pointer-events: auto;
}

/* Architectural HUD graphics: fine circuit lines and concentric rings.
   Pure CSS; no external image, tracking script, or dependency. */
#eg-floating-timer .eg-panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: -70px;
    opacity: 0.32;
    background:
        radial-gradient(circle at 72% 27%, transparent 0 63px, rgba(89, 107, 127, 0.32) 64px 65px, transparent 66px 102px, rgba(89, 107, 127, 0.18) 103px 104px, transparent 105px 160px, rgba(89, 107, 127, 0.17) 161px 162px, transparent 163px),
        repeating-linear-gradient(0deg, transparent 0 37px, rgba(91, 110, 127, 0.11) 38px, transparent 39px),
        repeating-linear-gradient(90deg, transparent 0 49px, rgba(91, 110, 127, 0.09) 50px, transparent 51px),
        linear-gradient(135deg, transparent 0 44%, rgba(97, 113, 129, 0.15) 44.08% 44.18%, transparent 44.25% 100%);
}

#eg-floating-timer .eg-panel::after {
    content: 'EG // 03    •    HUD / SYSTEM 001';
    position: absolute;
    right: 17px;
    bottom: 9px;
    color: rgba(45, 59, 75, 0.55);
    font: 9px/1.2 Consolas, monospace;
    letter-spacing: 1.4px;
    pointer-events: none;
}

#eg-floating-timer .eg-head {
    background: rgba(255, 255, 255, 0.10);
    color: #253441;
    border-bottom: 1px solid rgba(98, 117, 134, 0.29);
    padding: 15px 17px;
}

#eg-floating-timer .eg-head > span {
    color: #697e90;
    font-size: 24px;
}

#eg-floating-timer .eg-head strong {
    color: #283847;
    font: 700 11px/1.4 Consolas, monospace;
    letter-spacing: 1.5px;
}

#eg-floating-timer .eg-head button {
    background: rgba(255, 255, 255, 0.28);
    color: #273745;
    border: 1px solid rgba(95, 115, 132, 0.45);
    border-radius: 2px;
}

#eg-floating-timer .eg-head button:hover,
#eg-floating-timer .eg-head button:focus-visible {
    background: rgba(255, 255, 255, 0.84);
    outline-color: #394f63;
}

#eg-floating-timer .eg-content {
    padding: 23px 25px 28px;
}

#eg-floating-timer .eg-eyebrow {
    color: #536a7b;
    font: 700 10px/1.4 Consolas, monospace;
    letter-spacing: 2.5px;
}

#eg-floating-timer h2 {
    color: #1d2b36;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 8px 0 22px;
}

#eg-floating-timer .eg-time { gap: 10px; }

#eg-floating-timer .eg-digits {
    height: 75px;
    line-height: 75px;
    border-radius: 4px;
    background: linear-gradient(150deg, #a2acb8 0%, #838f9d 47%, #687482 100%);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46),
                inset 0 -9px 18px rgba(38, 48, 61, 0.13),
                0 5px 18px rgba(44, 54, 67, 0.16);
    color: #ffffff;
    font: 700 clamp(24px, 6vw, 39px)/75px Consolas, 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1.5px;
    text-shadow: 0 1px 3px rgba(25, 36, 50, 0.42), 0 0 12px rgba(255, 255, 255, 0.30);
}

#eg-floating-timer .eg-digits .eg-value { color: #fff; }

#eg-floating-timer .eg-unit label {
    color: #334654;
    font: 700 10px/1.4 Consolas, monospace;
    letter-spacing: 1.5px;
    margin-top: 10px;
}

#eg-floating-timer .eg-info {
    color: #425766;
    font-size: 12px;
    margin: 18px 0 13px;
}

#eg-floating-timer .eg-form {
    border-top: 1px solid rgba(75, 98, 116, 0.32);
    padding-top: 18px;
}

#eg-floating-timer .eg-form label.eg-label,
#eg-floating-timer .eg-choices label { color: #253542; }

#eg-floating-timer .eg-form label.eg-label {
    font: 700 11px/1.4 Consolas, monospace;
    letter-spacing: 0.8px;
}

#eg-floating-timer .eg-form input[type=email] {
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(92, 113, 131, 0.51);
    border-radius: 3px;
    color: #182a38;
}

#eg-floating-timer .eg-form input[type=email]:focus-visible {
    outline: 2px solid #5a758d;
    outline-offset: 2px;
}

#eg-floating-timer .eg-choices input { accent-color: #596c7c; }

#eg-floating-timer .eg-submit {
    background: rgba(70, 86, 102, 0.91);
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #fff;
    border-radius: 3px;
    letter-spacing: 1.1px;
}

#eg-floating-timer .eg-submit:not(:disabled):hover { background: #374b5d; }
#eg-floating-timer .eg-fine { color: #465b6a; }
#eg-floating-timer .eg-status { color: #344c5c; }

#eg-floating-timer .eg-tab {
    pointer-events: auto;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.90);
    color: #263b4d;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.20);
}

@media (max-width: 550px) {
    #eg-floating-timer {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: calc(100vw - 24px);
    }
    #eg-floating-timer .eg-content { padding: 16px 14px 22px; }
    #eg-floating-timer .eg-digits {
        height: 61px;
        line-height: 61px;
        font-size: clamp(21px, 7vw, 32px);
    }
    #eg-floating-timer h2 { font-size: 20px; }
}

@media (prefers-reduced-transparency: reduce) {
    #eg-floating-timer .eg-panel { background: rgba(255, 255, 255, 0.94); }
}
