html, body { touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
body { margin: 0; overflow: hidden; background: #000; display: flex; justify-content: center; align-items: center; height: 100vh; font-family: 'Courier New', monospace; }
canvas { border: 4px solid #39ff14; box-shadow: 0 0 20px #39ff14, inset 0 0 20px #39ff14; background: #0d0d0d; }
.scanline {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    z-index: 10;
}
.instructions {
    position: absolute;
    top: 20px;
    color: #39ff14;
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
    width: 100%;
    pointer-events: none;
}
#start-overlay { display: none !important; }
#start-text {
    color: #39ff14;
    font-size: 24px;
    text-align: center;
    animation: blink 1s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

canvas, #gameCanvas {
    max-width: 100vw !important;
    max-height: 100dvh !important;
    max-height: 100vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    touch-action: none !important;
    box-sizing: border-box !important;
}
