#ee-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.92);
    overflow: hidden;
}

#ee-canvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
}

.ee-name-input {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    width: min(420px, 86vw);
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border: 1px solid rgba(0, 255, 0, 0.65);
    border-bottom: 2px solid #00ff00;
    color: #8bff8b;
    font-family: 'Press Start 2P', cursive;
    font-size: 13px;
    line-height: 1.3;
    padding: 10px 10px;
    outline: none;
    text-transform: uppercase;
    caret-color: #00ff00;
    z-index: 2;
    box-shadow: 0 0 14px rgba(0, 255, 0, 0.2);
}

.ee-name-input::placeholder {
    color: rgba(139, 255, 139, 0.72);
}

body.ee-glitch {
    animation: ee-glitch-shift 90ms steps(2, end) infinite;
}

body.ee-glitch * {
    animation: ee-glitch-rgb 90ms steps(2, end) infinite;
}

@keyframes ee-glitch-shift {
    0% { transform: translate(0, 0) skew(0deg); }
    20% { transform: translate(1px, -1px) skew(1deg); }
    40% { transform: translate(-2px, 1px) skew(-1deg); }
    60% { transform: translate(2px, 1px) skew(0deg); }
    80% { transform: translate(-1px, -1px) skew(1deg); }
    100% { transform: translate(0, 0) skew(0deg); }
}

@keyframes ee-glitch-rgb {
    0% { text-shadow: 0 0 0 transparent; }
    25% { text-shadow: 1px 0 0 rgba(255, 0, 0, 0.55), -1px 0 0 rgba(0, 255, 0, 0.55); }
    50% { text-shadow: -2px 0 0 rgba(255, 0, 0, 0.5), 2px 0 0 rgba(0, 255, 0, 0.5); }
    75% { text-shadow: 1px 1px 0 rgba(255, 0, 0, 0.45), -1px -1px 0 rgba(0, 255, 0, 0.45); }
    100% { text-shadow: 0 0 0 transparent; }
}

.ee-mobile-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    color: #00ff00;
    font-size: clamp(12px, 2.2vw, 18px);
    padding: 24px;
    text-shadow: 1px 1px 0 #000000;
}

@media (max-width: 767px) {
    .ee-name-input {
        font-size: 11px;
    }
}
