/* Dialing in (js/login.js): a green-phosphor terminal and a floppy drive. */
#dialin { position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px;
  background: radial-gradient(ellipse at 50% 35%, #2a2236 0%, #140c1c 70%); transition: opacity .5s; }
#dialin.off { opacity: 0; pointer-events: none; }
#dialin.behind { opacity: 0; pointer-events: none; transition: none; }
.di-crt { position: relative; width: min(820px, 100%); height: min(560px, 68vh); padding: 26px; background: #d8cfba; border: 4px solid #2b2033;
  border-radius: 18px; box-shadow: inset -6px -8px 0 #b4a98f, inset 6px 6px 0 #ece4d0, 6px 8px 0 #0a0610; }
.di-screen { position: absolute; inset: 26px; background: #071208; border-radius: 22px / 26px; border: 3px solid #2b2033; overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,.9), inset 0 0 18px rgba(60,255,120,.12); }
.di-out { position: absolute; inset: 0; padding: 22px 28px; overflow-y: auto; font-family: 'VT323', monospace; font-size: 23px; line-height: 1.12;
  color: #7dff9a; text-shadow: 0 0 4px rgba(90,255,140,.75), 0 0 12px rgba(60,255,120,.25); scrollbar-width: none; }
.di-out::-webkit-scrollbar { display: none; }
.di-glass { position: absolute; inset: 26px; border-radius: 22px / 26px; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 55%);
  animation: di-flick 6s infinite steps(1); }
@keyframes di-flick { 0%, 97% { opacity: 1; } 98% { opacity: .85; } }
.di-l { white-space: pre-wrap; word-break: break-word; min-height: 1.12em; }
.di-l.dim { color: #4fbf68; }
.di-l.hi { color: #c8ffd4; }
.di-l.err { color: #ffb070; text-shadow: 0 0 5px rgba(255,150,80,.6); }
.di-l.banner { display: inline-block; color: #c8ffd4; margin: 8px 0; padding: 6px 18px; border: 4px double #7dff9a; box-shadow: 0 0 8px rgba(90,255,140,.35), inset 0 0 8px rgba(90,255,140,.2); }
.di-ask { display: flex; align-items: baseline; }
.di-in { flex: 1; background: transparent; border: none; outline: none; color: inherit; font: inherit; text-shadow: inherit; caret-color: #7dff9a; padding: 0; min-width: 2ch; }
.di-typed { color: #c8ffd4; }
.di-menu { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 4px; }
.di-opt { background: none; border: none; color: inherit; font: inherit; text-shadow: inherit; padding: 0 4px; cursor: pointer; }
.di-opt:hover, .di-opt:focus-visible { background: #7dff9a; color: #071208; text-shadow: none; outline: none; }
.di-menu.used .di-opt { pointer-events: none; opacity: .55; }
.di-diskrow { padding: 8px 0; }
.di-disk { width: 192px; height: 192px; image-rendering: pixelated; filter: drop-shadow(0 0 8px rgba(90,255,140,.25)); }
.di-tower { width: min(820px, 100%); display: flex; justify-content: center; }
.di-drive { position: relative; width: 300px; height: 64px; background: #d8cfba; border: 4px solid #2b2033; box-shadow: inset -4px -5px 0 #b4a98f, inset 4px 4px 0 #ece4d0, 4px 5px 0 #0a0610;
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: 'Silkscreen', monospace; font-size: 9px; color: #6a5f4c; }
.di-drive span { position: absolute; left: 12px; top: 5px; letter-spacing: 1px; }
.di-slot { width: 200px; height: 14px; background: #2b2033; border-radius: 2px; position: relative; margin-bottom: 12px; box-shadow: inset 0 3px 0 #0a0610; }
.di-slot i { position: absolute; right: -2px; top: 18px; width: 26px; height: 10px; background: #b4a98f; border: 2px solid #2b2033; }
.di-led { position: absolute; right: 14px; bottom: 8px; width: 10px; height: 5px; background: #3a3020; border: 1px solid #2b2033; }
.di-drive.hot { box-shadow: inset -4px -5px 0 #b4a98f, inset 4px 4px 0 #ece4d0, 0 0 0 4px #7dff9a, 4px 5px 0 #0a0610; }
.di-drive.read .di-led { background: #ff9040; box-shadow: 0 0 8px #ff9040; }
.di-drive::after { content: 'DROP SAVE DISK HERE'; position: absolute; left: 12px; bottom: 5px; font-size: 8px; letter-spacing: 1px; }
@media (max-width: 600px) { .di-out { font-size: 18px; padding: 14px; } .di-crt { padding: 14px; } .di-screen, .di-glass { inset: 14px; } .di-drive { width: 100%; } }
