/* ════════════════════════════════════════════════════════
   DATA REFINEMENT: DECAY PROTOCOL  —  stylesheet
   ════════════════════════════════════════════════════════ */

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

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    color: #4df;
    user-select: none;
}

#game-container {
    width: 100vw;
    height: 100vh;
    display: block;
}

.hidden { display: none !important; }

/* ─── Scrollbar (leaderboard panel) ──────────────────── */
.terminal-leaderboard::-webkit-scrollbar { width: 4px; }
.terminal-leaderboard::-webkit-scrollbar-track { background: transparent; }
.terminal-leaderboard::-webkit-scrollbar-thumb { background: rgba(68,221,255,0.25); border-radius: 2px; }


/* ══════════════════════════════════════════════════════
   INTRO SEQUENCE
══════════════════════════════════════════════════════ */

#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000005;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow: hidden;
}

#intro-overlay.booting {
    /* Fade-out (opacity) + screen flicker (filter) — different properties, no conflict */
    animation:
        introOverlayOut 0.65s ease-in 3.2s forwards,
        crtFlicker      7.0s linear  1.5s infinite;
}

/* ── Scrolling CRT scanlines ── */
#intro-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.00) 0px,
        rgba(0, 0, 0, 0.00) 5px,
        rgba(0, 0, 0, 0.20) 5px,
        rgba(0, 0, 0, 0.20) 8px
    );
    pointer-events: none;
    z-index: 20;
    animation: scanlineScroll 3s linear infinite;
}

/* ── Edge vignette (phosphor falloff toward corners) ── */
#intro-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 88% 82% at center,
        transparent 52%,
        rgba(0, 0, 10, 0.72) 100%
    );
    pointer-events: none;
    z-index: 19;
}

/* ── Screen outline — thin glowing border at the display edge ── */
#intro-crt-frame {
    position: absolute;
    inset: 10px 14px;
    border: 1px solid rgba(68, 221, 255, 0.16);
    border-radius: 3px;
    box-shadow:
        0 0 4px  rgba(68, 221, 255, 0.08),
        inset 0 0 40px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 18;
}

/* ── Logo oval ── */
#intro-oval {
    position: relative; /* establishes stacking context so z-index works */
    z-index: 5;
    width: 440px;
    height: 210px;
    border: 2px solid #4df;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow:
        0 0  60px rgba(68, 221, 255, 0.35),
        0 0 120px rgba(68, 221, 255, 0.10),
        inset 0 0  60px rgba(68, 221, 255, 0.06);
}

#intro-overlay.booting #intro-oval {
    animation: introOvalReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

#intro-wordmark {
    font-size: 1.95rem;
    font-weight: bold;
    letter-spacing: 0.48em;
    padding-left: 0.48em; /* optically centre with trailing letter-spacing */
    color: #4df;
    text-shadow:
        0 0 16px rgba(68, 221, 255, 0.95),
        0 0 45px rgba(68, 221, 255, 0.40);
    text-transform: uppercase;
}

#intro-overlay.booting #intro-wordmark {
    /* 3.8s duration puts the ~63% glitch exactly at 2.4s, while the logo is fully visible */
    animation: logoGlitch 3.8s forwards;
}

/* ══════════════════════════════════════════════════════
   BOOT SCREEN
══════════════════════════════════════════════════════ */
#boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

#boot-btn {
    background: transparent;
    color: rgba(68, 221, 255, 0.7);
    border: 1px solid rgba(68, 221, 255, 0.3);
    padding: 14px 40px;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: inset 0 0 0px rgba(68, 221, 255, 0);
}
#boot-btn:hover {
    color: #4df;
    border-color: rgba(68, 221, 255, 0.8);
    background: rgba(68, 221, 255, 0.05);
    box-shadow:
        0 0 20px rgba(68, 221, 255, 0.2),
        inset 0 0 10px rgba(68, 221, 255, 0.1);
}

@keyframes introOvalReveal {
    0%   { opacity: 0; transform: scale(0.86); }
    55%  { opacity: 1; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1.00); }
}

@keyframes introOverlayOut {
    0%   { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

/* Scanlines slowly drift downward — one 8 px tile per 3 s */
@keyframes scanlineScroll {
    from { background-position: 0 0; }
    to   { background-position: 0 8px; }
}

/* Screen-wide brightness flicker — mimics phosphor instability */
@keyframes crtFlicker {
    0%,   100% { filter: brightness(1.00); }
    2.5%       { filter: brightness(0.90); }
    4%         { filter: brightness(1.00); }
    8%         { filter: brightness(0.95); }
    9%         { filter: brightness(1.00); }
    47%        { filter: brightness(1.00); }
    48%        { filter: brightness(0.85); }
    49%        { filter: brightness(1.00); }
    72%        { filter: brightness(1.00); }
    73%        { filter: brightness(0.93); }
    74.5%      { filter: brightness(1.00); }
}

/* Electromagnetic Interference Glitch for Logo */
@keyframes logoGlitch {
    0%, 62%, 100% {
        transform: translate(0, 0) skew(0deg);
        text-shadow: 0 0 16px rgba(68, 221, 255, 0.95), 0 0 45px rgba(68, 221, 255, 0.40);
        opacity: 1;
    }
    63% {
        transform: translate(-3px, 1px) skew(-8deg);
        text-shadow: 2px 0 #f44, -2px 0 #4df;
        opacity: 0.8;
    }
    65% {
        transform: translate(3px, -1px) skew(5deg);
        text-shadow: -3px 0 #f44, 3px 0 #4df;
        opacity: 0.9;
    }
    67% {
        transform: translate(0, 0) skew(0deg);
        text-shadow: 0 0 16px rgba(68, 221, 255, 0.95), 0 0 45px rgba(68, 221, 255, 0.40);
        opacity: 1;
    }
    68% {
        transform: translate(-1px, -2px) skew(15deg);
        text-shadow: 4px 0 #f44, -4px 0 #4df;
        opacity: 0.7;
    }
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   MAIN UI LAYER
══════════════════════════════════════════════════════ */

#ui-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 4, 12, 0.88);
    z-index: 10;
}

#board-eye {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 20;
    pointer-events: none;
    animation: eyePulse 2s infinite ease-in-out;
}

@keyframes eyePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 5px #f44); }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px #f44); }
}


/* ══════════════════════════════════════════════════════
   TERMINAL WINDOW  (the outer CRT frame)
══════════════════════════════════════════════════════ */

.terminal-window {
    width: min(940px, 94vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(68, 221, 255, 0.7);
    background: rgba(0, 7, 18, 0.97);
    box-shadow:
        0 0  0  1px rgba(68, 221, 255, 0.18),
        0 0 45px rgba(68, 221, 255, 0.22),
        0 0 90px rgba(68, 221, 255, 0.07);
    overflow: hidden;
}

/* ── Top bar ── */
.terminal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 16px;
    border-bottom: 1px solid rgba(68, 221, 255, 0.35);
    background: rgba(68, 221, 255, 0.07);
    font-size: 0.70rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.topbar-left   { opacity: 0.85; white-space: nowrap; }
.topbar-center { opacity: 0.45; flex: 1; text-align: center; white-space: nowrap; }
.topbar-right  { opacity: 0.85; white-space: nowrap; }

.status-await  { color: #fa0; }

.blink-caret {
    animation: blink 1s step-end infinite;
    color: #4df;
}

/* ── Body row ── */
.terminal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Bottom bar ── */
.terminal-footer {
    border-top: 1px solid rgba(68, 221, 255, 0.2);
    padding: 5px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: rgba(68, 221, 255, 0.38);
    letter-spacing: 0.06em;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════
   LEFT PANEL  —  login / game-over
══════════════════════════════════════════════════════ */

.terminal-main {
    flex: 1.15;
    padding: 30px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid rgba(68, 221, 255, 0.18);
    overflow-y: auto;
}

.prompt-line {
    font-size: 0.68rem;
    color: rgba(68, 221, 255, 0.45);
    letter-spacing: 0.10em;
    align-self: flex-start;
    margin-bottom: -6px;
}

/* Title — used by endGame() to show "SHIFT FAILED" etc. */
#title-text {
    font-family: inherit;
    font-size: 2.05rem;
    font-weight: bold;
    color: #4df;
    text-shadow: 0 0 14px rgba(68, 221, 255, 0.65);
    margin: 0;
    text-align: center;
    letter-spacing: 0.10em;
}

/* Description — updated by endGame() */
#desc-text {
    font-size: 0.84rem;
    color: rgba(68, 221, 255, 0.80);
    text-align: center;
    line-height: 1.75;
    margin: 0;
    max-width: 390px;
}

#motd-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-style: italic;
    margin: 4px 0 10px 0;
    letter-spacing: 0.05em;
    max-width: 390px;
    height: 1.5rem; /* Reserve space so it doesn't jump */
}

#start-btn {
    background: transparent;
    color: #4df;
    border: 1px solid rgba(68, 221, 255, 0.75);
    padding: 11px 24px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(68, 221, 255, 0.20);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    margin-top: 4px;
    height: 48px; /* Slim console height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1.1;
    box-sizing: border-box;
}
#start-btn:hover {
    background: #4df;
    color: #000810;
    box-shadow: 0 0 28px rgba(68, 221, 255, 0.55);
}

.handbook-button {
    display: flex;
    flex-direction: row; /* Horizontal alignment */
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(68, 221, 255, 0.4);
    padding: 8px 16px;
    transition: all 0.18s ease-in-out;
    height: 48px; /* Matches start-btn height */
    box-shadow: 0 0 10px rgba(68, 221, 255, 0.05);
    flex: 1.3;
    box-sizing: border-box;
    margin-top: 4px;
}
.handbook-button:hover {
    border-color: rgba(68, 221, 255, 0.85);
    box-shadow: 0 0 22px rgba(68, 221, 255, 0.25);
    background: rgba(68, 221, 255, 0.04);
}
.handbook-icon {
    width: 26px; /* Scaled down for horizontal fit */
    height: 26px;
    transition: transform 0.2s ease-in-out;
    flex-shrink: 0;
}
.handbook-button:hover .handbook-icon {
    transform: scale(1.1);
}
.handbook-label {
    font-size: 0.54rem;
    color: #4df;
    letter-spacing: 0.14em;
    text-align: left;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(68, 221, 255, 0.25);
    white-space: nowrap;
}

.menu-buttons {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#sign-out-btn {
    background: transparent;
    color: #f44;
    border: 1px solid rgba(255, 68, 68, 0.75);
    padding: 11px 32px;
    font-size: 1.05rem;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(255, 68, 68, 0.25);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
#sign-out-btn:hover {
    background: #f44;
    color: #000810;
    box-shadow: 0 0 28px rgba(255, 68, 68, 0.55);
}

/* Thin divider between panels */
.terminal-divider {
    width: 1px;
    background: rgba(68, 221, 255, 0.18);
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════
   RIGHT PANEL  —  personnel archive / leaderboard
══════════════════════════════════════════════════════ */

.terminal-leaderboard {
    flex: 0.85;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 4px;
    min-width: 200px;
}

.lb-header {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: #f44;
    border-bottom: 1px solid rgba(255, 68, 68, 0.4);
    padding-bottom: 6px;
}

.lb-subheader {
    font-size: 0.59rem;
    color: rgba(255, 68, 68, 0.40);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

#lb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lb-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 1px;
    cursor: pointer;
    color: #f44;
    font-size: 0.79rem;
    letter-spacing: 0.04em;
    transition: border-color 0.15s, background 0.15s;
}
.lb-entry:hover {
    border-color: rgba(255, 68, 68, 0.38);
    background: rgba(255, 68, 68, 0.06);
}

.lb-rank {
    color: rgba(255, 68, 68, 0.38);
    min-width: 22px;
    font-size: 0.68rem;
}

.lb-name {
    flex: 1;
    /* crossed-out terminated name */
    text-decoration: line-through;
    text-decoration-color: rgba(255, 68, 68, 0.70);
    text-decoration-thickness: 1.5px;
}

.lb-shift {
    color: rgba(255, 68, 68, 0.50);
    font-size: 0.66rem;
    white-space: nowrap;
}

.lb-footer {
    font-size: 0.57rem;
    color: rgba(68, 221, 255, 0.22);
    letter-spacing: 0.07em;
    border-top: 1px solid rgba(68, 221, 255, 0.09);
    padding-top: 6px;
    margin-top: 6px;
    text-align: center;
}


/* ══════════════════════════════════════════════════════
   PERSONNEL FILE MODAL
══════════════════════════════════════════════════════ */

#personnel-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 6, 0.84);
    cursor: pointer;
}

.modal-frame {
    position: relative;
    z-index: 1;
    width: min(530px, 92vw);
    border: 1px solid rgba(255, 68, 68, 0.75);
    background: rgba(0, 4, 12, 0.99);
    box-shadow:
        0 0  0  1px rgba(255, 68, 68, 0.18),
        0 0 40px rgba(255, 68, 68, 0.22);
    display: flex;
    flex-direction: column;
    animation: modalReveal 0.2s ease-out;
}

@keyframes modalReveal {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1.00); }
}

/* Modal top bar */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(255, 68, 68, 0.35);
    background: rgba(255, 68, 68, 0.07);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #f44;
    flex-shrink: 0;
}

.modal-classified-tag {
    font-size: 0.60rem;
    color: rgba(255, 68, 68, 0.45);
    letter-spacing: 0.07em;
}

/* Modal body */
.modal-body {
    display: flex;
    gap: 22px;
    padding: 22px 22px 16px;
    align-items: flex-start;
}

/* Silhouette column */
.modal-silhouette {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.silhouette-svg {
    width: 130px;
    height: 170px;
    border: 1px solid rgba(255, 68, 68, 0.22);
    display: block;
}

.silhouette-label {
    font-size: 0.53rem;
    color: rgba(255, 68, 68, 0.38);
    letter-spacing: 0.09em;
    text-align: center;
}

/* Data column */
.modal-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.modal-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.76rem;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 68, 68, 0.09);
}

.modal-label {
    color: rgba(255, 68, 68, 0.45);
    min-width: 118px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    padding-top: 1px;
    flex-shrink: 0;
}

.modal-value {
    color: #f88;
    word-break: break-all;
}

/* Crossed-out name in modal */
.modal-name-struck {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 68, 68, 0.65);
    text-decoration-thickness: 1.5px;
}

.modal-status-row {
    border-bottom: none;
    margin-top: 4px;
}

.modal-terminated-badge {
    color: #f44;
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
    font-weight: bold;
}

.modal-seal {
    font-size: 0.55rem;
    color: rgba(255, 68, 68, 0.25);
    letter-spacing: 0.06em;
    margin-top: 8px;
    text-align: center;
}

/* Modal bottom bar */
.modal-footer {
    border-top: 1px solid rgba(255, 68, 68, 0.25);
    padding: 12px 18px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

#modal-close-btn {
    background: transparent;
    color: #f44;
    border: 1px solid rgba(255, 68, 68, 0.55);
    padding: 8px 34px;
    font-size: 0.80rem;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
}
#modal-close-btn:hover {
    background: #f44;
    color: #000;
}


/* ─── Secure Submission Form ───────────────────────── */
#submit-score-form {
    width: 100%;
    max-width: 380px;
    border: 1px dashed rgba(68, 221, 255, 0.4);
    background: rgba(68, 221, 255, 0.02);
    padding: 16px 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.form-title {
    font-size: 0.72rem;
    color: #4df;
    letter-spacing: 0.12em;
    font-weight: bold;
}

.form-inputs {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-group:last-child {
    flex: 0.35; /* Initial box can be narrower */
}

.form-group label {
    font-size: 0.58rem;
    color: rgba(68, 221, 255, 0.5);
    letter-spacing: 0.08em;
}

.form-group input {
    width: 100%;
    background: rgba(0, 8, 20, 0.8);
    border: 1px solid rgba(68, 221, 255, 0.5);
    color: #4df;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    outline: none;
    box-shadow: inset 0 0 5px rgba(68, 221, 255, 0.1);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus {
    border-color: #4df;
    box-shadow: 
        0 0 8px rgba(68, 221, 255, 0.3),
        inset 0 0 5px rgba(68, 221, 255, 0.15);
}

#submit-score-btn {
    width: 100%;
    background: transparent;
    color: #4df;
    border: 1px solid rgba(68, 221, 255, 0.6);
    padding: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    letter-spacing: 0.16em;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.18s;
}

#submit-score-btn:hover {
    background: rgba(68, 221, 255, 0.1);
    border-color: #4df;
    box-shadow: 0 0 12px rgba(68, 221, 255, 0.25);
}

.submit-status-text {
    font-size: 0.64rem;
    color: #fa0;
    letter-spacing: 0.06em;
    text-align: center;
}

/* ══════════════════════════════════════════════════════
   CUSTOM TERMINAL CURSORS (Active after boot)
══════════════════════════════════════════════════════ */

/* Default: Glitchy Cyan Mouse Pointer */
body.booted, 
body.booted * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%23f44" opacity="0.75" d="M5 2v19l6-5 4 8 3-2-4-7h7L5 2z"/><rect x="0" y="7" width="10" height="2" fill="%234df" opacity="0.85"/><rect x="18" y="14" width="8" height="2" fill="%23f44" opacity="0.6"/><path fill="%234df" stroke="%23000" stroke-width="1.5" d="M3 2v19l6-5 4 8 3-2-4-7h7L3 2z"/><rect x="2" y="10" width="20" height="1" fill="%23000" opacity="0.5"/><rect x="2" y="15" width="20" height="1" fill="%23000" opacity="0.5"/></svg>') 3 2, auto !important;
}

/* Hover: Glitchy Red Mouse Pointer for interactive elements */
body.booted button:hover,
body.booted button:hover *,
body.booted .lb-entry:hover,
body.booted .lb-entry:hover *,
body.booted #modal-close-btn:hover,
body.booted #modal-close-btn:hover *,
body.booted #submit-score-btn:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%234df" opacity="0.75" d="M5 2v19l6-5 4 8 3-2-4-7h7L5 2z"/><rect x="4" y="6" width="12" height="2" fill="%23f44" opacity="0.85"/><rect x="14" y="19" width="10" height="2" fill="%234df" opacity="0.6"/><path fill="%23f44" stroke="%23000" stroke-width="1.5" d="M3 2v19l6-5 4 8 3-2-4-7h7L3 2z"/><rect x="2" y="10" width="20" height="1" fill="%23000" opacity="0.5"/><rect x="2" y="15" width="20" height="1" fill="%23000" opacity="0.5"/></svg>') 3 2, pointer !important;
}

#submit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}
#submit-overlay.hidden {
    display: none !important;
}
.submit-frame {
    background: #000810;
    border: 1px solid #4df;
    box-shadow: 0 0 24px rgba(68, 221, 255, 0.35);
    padding: 24px;
    width: 320px;
    font-family: 'Share Tech Mono', monospace;
    color: #4df;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* ------------------------------------------------------
   3D OFFICE INTRO STYLES
   ------------------------------------------------------ */
#elevator-doors {
    position: absolute;
    inset: 0;
    z-index: 10000;
    display: flex;
    pointer-events: none;
}
.door {
    width: 50%;
    height: 100%;
    background: #111;
    border: 2px solid #222;
    transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1);
}
.left-door {
    transform-origin: left;
    border-right: 4px solid #333;
}
.right-door {
    transform-origin: right;
    border-left: 4px solid #333;
}
#elevator-doors.open .left-door {
    transform: translateX(-100%);
}
#elevator-doors.open .right-door {
    transform: translateX(100%);
}
