body { margin:0; padding:0; background:#000; overflow:hidden; color:#00ff41; font-family: "Courier New", monospace; }

/* Raining Background */
canvas { position:fixed; top:0; left:0; width:100%; height:100%; z-index:1; }
#matrix-canvas { opacity: 0.35; }

/* Melt Viewport */
.content { 
    position:absolute; 
    z-index:10; 
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 0vw; 
    height: 0vh; 
    background: rgba(0,10,0,0.95);
    border: 0px solid #00ff41;
    overflow: hidden;
    transition: all 1.8s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 0 30px rgba(0,255,65,0.2);
}

.content.revealed {
    width: 88vw;
    height: 88vh;
    border: 1px solid #00ff41;
    padding: 25px;
}

.header { color:#00ff41; text-shadow:0 0 15px #00ff41; font-size:26px; text-align:center; border-bottom: 1px solid #00ff41; padding-bottom: 12px; margin-bottom: 15px; }
pre { color:#00ff41; background:transparent; overflow:auto; flex-grow: 1; white-space:pre-wrap; font-size:13px; line-height:1.4; }

/* Overlay & Modal */
#overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.96);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    border: 1px solid #00ff41;
    padding: 50px 60px;
    background: #000;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.3);
}

.btn {
    background: transparent;
    color: #00ff41;
    border: 2px solid #00ff41;
    padding: 18px 50px;
    font-size: 22px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 6px;
    transition: all 0.3s;
}

.btn:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 20px #00ff41;
}

.volume-ctrl { position: fixed; bottom: 15px; right: 15px; z-index: 1100; color: #00ff41; font-size: 11px; }

#injection-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
    width: 90%;
    max-width: 800px;
}

#injection-input {
    flex: 1;
    background: #000;
    color: #00ff41;
    border: 1px solid #00ff41;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 15px;
}

#injection-dock .btn {
    background: #001103;
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 12px 24px;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
}

#injection-dock .btn:hover {
    background: #00ff41;
    color: #000;
}
