:root { --scan: rgba(0,0,0,0.23); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html,
body {
    height: 100%;
    background: #050609;
    color: #c8f7ff;
    font-family: "Courier New", monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#wrap {
    position: relative;
    image-rendering: pixelated;
}

canvas {
    display: block;
    width: min(96vw, 173.33vh, 1280px);
    height: auto;
    aspect-ratio: 16 / 9;
    image-rendering: pixelated;
    background: #0a0c14;
    border: 3px solid #1a2035;
    box-shadow: 0 0 0 3px #050609, 0 0 42px rgba(80, 210, 255, 0.16), 0 0 70px rgba(196, 32, 46, 0.12);
}

#wrap::after {
    content: "";
    position: absolute;
    inset: 3px;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0px,
        rgba(0,0,0,0) 2px,
        var(--scan) 3px,
        var(--scan) 4px
    );
    mix-blend-mode: multiply;
}

#hint {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: #33405c;
    pointer-events: none;
    text-transform: uppercase;
}
