#terminal {
    background: rgba(0, 0, 0, 0.55);
    color: var(--neon-green);
    padding: 20px 22px;
    border-radius: 8px;
    flex: 1;
    min-height: 200px;
    overflow-y: auto;
    font-size: 1.05em;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--neon-red);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.7);
    line-height: 1.65;
}

select, input {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
    font-family: var(--font-mono);
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.05em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
select:focus, input:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 12px rgba(33, 227, 255, 0.3); }
select:disabled, input:disabled { border-color: rgba(255,255,255,0.08) !important; color: #555 !important; background: transparent; cursor: not-allowed; }

body.hacker-mode select { background: rgba(0,0,0,0.4); border-color: rgba(255, 58, 99, 0.3); color: #c9a0a8; }
body.hacker-mode select:focus { border-color: var(--neon-red); color: var(--neon-red); box-shadow: 0 0 12px rgba(255, 46, 91, 0.3); }
body.hacker-mode select:disabled { border-color: rgba(255,255,255,0.05) !important; color: #444 !important; background: transparent; }

.setting-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; font-size: 1.05em; flex-shrink: 0;
    background: rgba(255,255,255,0.02); padding: 11px 12px; border-radius: 5px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.setting-row:hover { border-color: var(--border-color); }
.setting-row select { width: 100px; text-align: center; color: var(--neon-cyan); font-weight: bold; }

div#move-listbox {
    width: 100%; flex: 1; min-height: 250px; margin-bottom: 20px; padding: 15px;
    background: rgba(45, 255, 163, 0.035);
    border-left: 3px solid var(--neon-green); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box;
    box-shadow: inset 0 0 24px rgba(45, 255, 163, 0.04);
    border-radius: 0 6px 6px 0;
}

.list-item {
    padding: 14px 20px;
    background: rgba(45, 255, 163, 0.06); border: 1px solid var(--border-color);
    border-left: 3px solid var(--neon-green);
    cursor: grab; user-select: none; transition: all 0.15s ease; text-transform: uppercase; color: var(--neon-green);
    flex-shrink: 0; font-size: 1.15em; font-weight: bold; letter-spacing: 1px; border-radius: 4px;
}
.list-item:hover { border-color: var(--neon-green); background: rgba(45, 255, 163, 0.13); transform: translateX(5px); }
.list-item:active { cursor: grabbing; }
.list-item.selected { background: rgba(33, 227, 255, 0.16); border-color: var(--neon-cyan); border-left-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 16px rgba(33, 227, 255, 0.25); transform: scale(1.02); }
.list-item.dragging { opacity: 0.35; background: var(--neon-green); color: #05070a; }

.btn-danger { background: linear-gradient(180deg, rgba(255, 46, 91, 0.12), rgba(255, 46, 91, 0.03)); color: var(--neon-red); border: 1.5px solid var(--neon-red); padding: 24px 40px; font-size: 1.4em; font-weight: bold; letter-spacing: 2px; }
.btn-danger:hover { background: var(--neon-red); color: #0a0306; box-shadow: 0 0 40px rgba(255, 46, 91, 0.6); }

#phase2-container { max-width: 95%; width: 100%; display: none; height: calc(100vh - 120px); }
#hacker-bash {
    background: rgba(0, 0, 0, 0.5); color: var(--neon-red); padding: 28px 30px; border-radius: 10px; flex: 1;
    display: flex; flex-direction: column; border: 1px solid rgba(255, 46, 91, 0.35);
    box-shadow: inset 0 0 50px rgba(255, 46, 91, 0.08), 0 20px 50px rgba(0,0,0,0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bash-header {
    color: var(--text-dim); margin-bottom: 22px; font-size: 1.05em; padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 46, 91, 0.3);
    display: flex; align-items: center; gap: 10px;
}
.bash-header::before {
    content: "";
    display: inline-block;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--neon-red);
    box-shadow: 16px 0 0 rgba(255, 157, 0, 0.7), 32px 0 0 rgba(45, 255, 163, 0.6);
    margin-right: 20px;
}

.bash-body { display: flex; flex: 1; min-height: 0; gap: 30px; }
.bash-logs-container { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-right: 30px; border-right: 1px solid rgba(255,255,255,0.08); }
.bash-logs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 1.05em; }
.bash-cmd-line { display: flex; align-items: flex-end; margin-top: auto; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.12); }
.bash-editor { flex: 2; display: flex; flex-direction: row; gap: 30px; min-height: 0; }
.editor-col { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.editor-col h4 { color: var(--text-dim); margin: 0 0 18px 0; font-size: 1.05em; flex-shrink: 0; letter-spacing: 1.5px; font-family: var(--font-display); }

.bash-cursor { display: inline-block; width: 10px; height: 20px; background: var(--neon-red); margin-left: 8px; animation: blink 1s step-end infinite; box-shadow: 0 0 8px var(--neon-red); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

body.hacker-mode div#move-listbox { background: rgba(255,255,255,0.015); border-left: 3px dashed rgba(255, 46, 91, 0.4); }
body.hacker-mode .list-item { background: rgba(255,255,255,0.02); border-color: rgba(255, 46, 91, 0.25); border-left-color: rgba(255, 46, 91, 0.5); color: #c9a0a8; }
body.hacker-mode .list-item:hover { border-color: var(--neon-red); color: var(--neon-red); background: rgba(255, 46, 91, 0.08); }
body.hacker-mode .list-item.selected { background: rgba(255, 46, 91, 0.16); border-color: var(--neon-red); border-left-color: var(--neon-red); color: var(--neon-red); box-shadow: 0 0 16px rgba(255, 46, 91, 0.3);}