/* ===== HACKERS (1995) ===== */
.os.hk { font-family: 'VT323', monospace; color: #fff; background: #000; }
.hk-swirl {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  animation: hkHue 18s linear infinite, hkDrift 23s ease-in-out infinite alternate;
}
@keyframes hkHue { to { filter: hue-rotate(360deg); } }
@keyframes hkDrift { to { transform: scale(1.15) rotate(4deg); } }
.hk-zig { position: absolute; left: 0; right: 0; height: 16px; z-index: 3; }
.hk-zig.top { top: 0; background: linear-gradient(135deg, #000 50%, transparent 50%) 0 0 / 22px 16px, linear-gradient(225deg, #000 50%, transparent 50%) 0 0 / 22px 16px; }
.hk-zig.bot { bottom: 0; background: linear-gradient(45deg, #000 50%, transparent 50%) 0 0 / 22px 16px, linear-gradient(-45deg, #000 50%, transparent 50%) 0 0 / 22px 16px; }
.hk-hint { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; z-index: 4; font-size: 20px; color: #fff; text-shadow: 0 0 4px #000, 0 0 8px #000; }

/* login window */
.hk-login {
  position: absolute; left: 62px; top: 38px; width: 516px; height: 384px; z-index: 2;
  background: #efe5c4; border: 2px solid #1a1a1a; border-radius: 6px;
  box-shadow: 8px 8px 0 #000a; color: #111;
}
.hk-title {
  height: 22px; margin: 3px 6px 0; position: relative; text-align: center;
  background: repeating-linear-gradient(#333 0 1px, transparent 1px 3px);
}
.hk-title span { background: #efe5c4; padding: 0 10px; font-size: 18px; line-height: 22px; }
.hk-tools { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 4px; }
.hk-pill {
  background: #111; color: #efe5c4; border-radius: 12px; padding: 1px 14px;
  font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: .12em;
}
.hk-dials { display: flex; gap: 6px; }
.hk-dials i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #f0a, #600); border: 2px solid #111; }
.hk-icons { display: flex; gap: 10px; padding: 4px 12px; align-items: center; }
.hk-ico { display: flex; align-items: center; gap: 4px; }
.hk-ico b { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #111; background: radial-gradient(circle, #6cf 30%, #0a5 70%); }
.hk-ico:nth-child(3) b { background: radial-gradient(circle, #f6c 30%, #a03 70%); }
.hk-ico span { background: #111; color: #efe5c4; border-radius: 10px; padding: 0 10px; font-family: 'Orbitron', sans-serif; font-size: 9px; letter-spacing: .1em; line-height: 18px; }
.hk-meter { margin-left: auto; display: flex; gap: 2px; align-items: flex-end; }
.hk-meter i { width: 4px; height: 16px; background: #111; }
.hk-meter i.lit { background: #e22; }
.hk-term {
  margin: 8px 12px; height: 218px; padding: 12px 14px; background: #000;
  border: 2px solid #111; border-radius: 3px; overflow: hidden;
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 27px; line-height: 1.25;
  color: #7dff3a; text-shadow: 0 0 3px #5f07; text-transform: uppercase;
  white-space: pre-wrap; word-break: break-word;
}
.hk-term .cursor { width: .5em; }
.hk-under { display: flex; gap: 6px; padding: 0 12px; }
.hk-under span { flex: 1; height: 14px; background: #111; border-radius: 7px; color: #6cf; font-size: 12px; line-height: 14px; text-align: center; }

/* desktop */
.hk-who { position: absolute; top: 22px; left: 22px; z-index: 3; font-size: 22px; background: #000; padding: 0 10px; color: #ff4fd8; }
.hk-clock { position: absolute; top: 22px; right: 22px; z-index: 3; font-size: 22px; background: #000; padding: 0 10px; color: #7dff3a; }
.hk-orbs { position: absolute; inset: 0; z-index: 2; }
.hk-orb {
  position: absolute; width: 150px; text-align: center; cursor: pointer;
  transition: transform .15s;
}
.hk-orb .disc {
  width: 132px; height: 132px; margin: 0 auto; border-radius: 50%;
  background: #000; display: grid; place-items: center;
  box-shadow: 0 0 0 5px #000, 0 0 0 9px #e8d13a, 0 0 0 13px #000, 0 0 24px 14px #0008;
}
.hk-orb .disc svg { width: 84px; height: 84px; }
.hk-orb .lbl {
  display: inline-block; margin-top: 12px; padding: 0 10px;
  background: #d0102b; color: #fff; font-size: 21px; letter-spacing: .08em;
  border: 2px solid #000;
}
.hk-orb.sel { transform: scale(1.08); }
.hk-orb.sel .disc { box-shadow: 0 0 0 5px #000, 0 0 0 9px #ff4fd8, 0 0 0 13px #000, 0 0 30px 18px #ff4fd8aa; }
.hk-orb.sel .lbl { background: #ff4fd8; color: #000; }

/* packet sniffer */
.hk-dump { position: absolute; inset: 0; padding: 8px 14px; background: #000; color: #7ff; font-size: 19px; line-height: 1.08; }
.hk-dump .bar { display: flex; justify-content: space-between; background: #7ff; color: #000; padding: 0 8px; margin: 0 -14px 6px; font-size: 20px; }
.hk-dump .ln { white-space: nowrap; overflow: hidden; }
.hk-dump .ln.hot { color: #ff4fd8; }
.hk-dump .ln.alert { color: #000; background: #7dff3a; }
.hk-dump .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 12px; background: #111; color: #888; font-size: 18px; }

/* bank */
.hk-bank { position: absolute; inset: 0; background: linear-gradient(#0a1440, #04081c); color: #e8d9a0; font-family: 'Share Tech Mono', monospace; }
.hk-bank .hd { display: flex; align-items: center; gap: 14px; padding: 22px 30px 14px; border-bottom: 2px solid #c9a74a; }
.hk-bank .logo { width: 44px; height: 44px; border: 3px solid #c9a74a; transform: rotate(45deg); display: grid; place-items: center; }
.hk-bank .logo b { transform: rotate(-45deg); font-family: 'Orbitron', sans-serif; font-size: 20px; color: #c9a74a; }
.hk-bank h2 { margin: 0; font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: .14em; color: #f2e3a8; }
.hk-bank .sub { font-size: 13px; letter-spacing: .3em; color: #8b7d52; }
.hk-bank .form { margin: 38px auto 0; width: 420px; }
.hk-bank label { display: block; font-size: 14px; letter-spacing: .25em; color: #8b7d52; margin: 18px 0 4px; }
.hk-bank .field { height: 40px; border: 2px solid #c9a74a; background: #000a; padding: 0 12px; font-size: 24px; line-height: 36px; color: #fff; letter-spacing: .15em; }
.hk-bank .field.on { box-shadow: 0 0 12px #c9a74a88; }
.hk-bank .msg { height: 34px; margin-top: 20px; text-align: center; font-size: 22px; letter-spacing: .2em; }
.hk-bank .msg.no { color: #ff4040; }
.hk-bank .msg.yes { color: #7dff3a; }
.hk-bank .tip {
  position: absolute; right: 16px; bottom: 16px; width: 250px; padding: 8px 10px;
  background: #000; border: 1px solid #7dff3a; color: #7dff3a; font-family: 'VT323', monospace; font-size: 19px; line-height: 1.1;
}
.hk-bank table { margin: 26px auto 0; border-collapse: collapse; font-size: 19px; }
.hk-bank td { padding: 6px 18px; border-bottom: 1px solid #c9a74a44; }
.hk-bank td.n { text-align: right; color: #fff; }
.hk-bank .act { display: block; margin: 22px auto 0; width: 300px; text-align: center; padding: 8px; border: 2px solid #c9a74a; cursor: pointer; letter-spacing: .2em; }
.hk-bank .act:hover { background: #c9a74a; color: #000; }

/* gibson + globe canvases */
.hk-canvas { position: absolute; inset: 0; width: 640px; height: 480px; display: block; }
.hk-hud { position: absolute; left: 14px; top: 10px; z-index: 2; font-size: 21px; color: #7ff; text-shadow: 0 0 2px #000, 0 0 4px #000; }
.hk-hud.r { left: auto; right: 14px; color: #ff4fd8; }
.hk-hud.b { top: auto; bottom: 18px; left: 24px; color: #aaa; text-shadow: none; }
.hk-flash {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
  padding: 10px 26px; background: #000; border: 3px solid currentColor;
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .14em; white-space: nowrap;
  color: #7dff3a; text-shadow: 0 0 3px currentColor;
}
.hk-flash.red { color: #ff2b2b; animation: hkBlink .4s steps(1) infinite; }
@keyframes hkBlink { 50% { opacity: 0; } }

/* file menu */
.hk-files { position: absolute; left: 34px; top: 30px; z-index: 2; width: 330px; text-align: right; }
.hk-files div {
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .08em; line-height: 1.55;
  color: #7ee8ff; text-shadow: 0 0 2px #0bf; cursor: pointer;
}
.hk-files div::after { content: ' ▸'; font-size: 12px; }
.hk-files div.sel { color: #000; background: #7ee8ff; text-shadow: none; }
.hk-files div.deny { color: #ff2b2b; text-shadow: none; }
.hk-garbage {
  position: absolute; left: 120px; top: 90px; width: 400px; z-index: 3;
  background: #021018; border: 2px solid #7ee8ff; box-shadow: 0 0 24px #0bf8;
  font-family: 'Orbitron', sans-serif; color: #7ee8ff;
}
.hk-garbage .t { background: #7ee8ff; color: #021018; padding: 4px 12px; font-weight: 800; letter-spacing: .3em; }
.hk-garbage .row { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 14px; letter-spacing: .1em; cursor: pointer; }
.hk-garbage .row.sel { background: #7ee8ff22; outline: 1px solid #7ee8ff; }
.hk-garbage .row em { font-style: normal; color: #ff4fd8; animation: hkBlink 1s steps(1) infinite; }
.hk-garbage .prog { margin: 10px 16px 14px; height: 18px; border: 1px solid #7ee8ff; }
.hk-garbage .prog i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #7ee8ff 0 8px, transparent 8px 10px); }
.hk-garbage .note { padding: 0 16px 12px; font-family: 'VT323', monospace; font-size: 20px; color: #fff; }

/* tankers side panel */
.hk-fleet { position: absolute; right: 14px; top: 46px; width: 232px; z-index: 2; font-size: 19px; }
.hk-fleet .t { color: #ffcf3a; margin-bottom: 6px; font-size: 21px; }
.hk-fleet .ship { display: grid; grid-template-columns: 1fr 60px; gap: 2px 8px; margin-bottom: 7px; }
.hk-fleet .ship span { color: #ddd; }
.hk-fleet .ship b { font-weight: normal; text-align: right; color: #7dff3a; }
.hk-fleet .ship.warn b { color: #ffcf3a; }
.hk-fleet .ship.crit b { color: #ff2b2b; animation: hkBlink .5s steps(1) infinite; }
.hk-fleet .gauge { grid-column: 1 / -1; height: 6px; background: #222; }
.hk-fleet .gauge i { display: block; height: 100%; background: #7dff3a; }
.hk-fleet .ship.warn .gauge i { background: #ffcf3a; }
.hk-fleet .ship.crit .gauge i { background: #ff2b2b; }

/* viral menu */
.hk-vbar { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 3; width: 480px; border: 2px solid #000; }
.hk-vbar .t {
  background: #d0102b; color: #fff; text-align: center; font-family: 'Orbitron', sans-serif; font-weight: 800;
  font-size: 22px; letter-spacing: .25em; padding: 3px 0;
}
.hk-vbar .btns { display: flex; background: #000; padding: 3px; gap: 3px; }
.hk-vbar .btns span {
  flex: 1; text-align: center; border: 2px solid #fff; color: #fff; font-size: 22px; cursor: pointer; padding: 1px 0;
}
.hk-vbar .btns span.sel { background: #fff; color: #000; }
.hk-virus-cv { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hk-vmsg {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%); z-index: 7;
  background: #000; color: #fff; padding: 4px 16px; font-size: 26px; border: 2px solid #fff; white-space: nowrap;
}

/* the Gibson's password gate (hackers-gate.js), after the film: wide Michroma lettering
   (the film's is Microgramma-style extended), a chrome pill, green dots, GOD */
.hk-gate {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(90deg, transparent 38%, rgba(0, 0, 25, .55) 50%, transparent 62%),
              radial-gradient(ellipse at 50% 38%, #3a33b0, #1d1a6e 55%, #0b0a30);
}
.hk-gate-grid {
  position: absolute; left: -30%; right: -30%; bottom: -10px; height: 190px; opacity: .55;
  background-image: linear-gradient(rgba(150, 120, 255, .6) 2px, transparent 2px), linear-gradient(90deg, rgba(150, 120, 255, .6) 2px, transparent 2px);
  background-size: 48px 48px; transform: perspective(260px) rotateX(58deg); transform-origin: 50% 100%;
  animation: hkGateRun 2.4s linear infinite;
}
@keyframes hkGateRun { to { background-position: 0 48px; } }
.hk-gate-data { position: absolute; margin: 0; font: 11px/1.3 'Share Tech Mono', monospace; color: rgba(190, 210, 255, .32); filter: blur(.4px); }
.hk-gate-data.l { left: 24px; top: 26px; }
.hk-gate-data.r { right: 22px; top: 40px; text-align: right; }
.hk-gate-ghost { position: absolute; left: 6px; top: 196px; font: 52px/1.1 'Michroma', sans-serif; color: rgba(140, 170, 255, .14); }
/* Michroma has one weight; a stroke in the text colour gives the film's bold */
.hk-gate-t {
  position: absolute; left: 0; right: 0; top: 120px; text-align: center; white-space: nowrap;
  font: 28px/1 'Michroma', 'Orbitron', sans-serif; letter-spacing: .04em; color: #e01818;
  -webkit-text-stroke: 1.2px #e01818; text-shadow: 0 0 8px rgba(255, 40, 40, .45);
}
.hk-gate-t.no { animation: hkBlink .4s steps(1) infinite; }
.hk-gate-f {
  position: absolute; left: 70px; top: 180px; width: 500px; height: 120px; box-sizing: border-box; padding: 7px; border-radius: 60px;
  background: linear-gradient(#eef1f7, #9aa3b8 40%, #5a6278 58%, #c9d0de);
  box-shadow: 0 8px 24px #000a, 0 0 0 1px #2a2e3a;
}
.hk-gate-in {
  position: relative; height: 100%; border-radius: 53px; overflow: hidden;
  display: flex; align-items: center; gap: 16px; padding-left: 40px;
  background: linear-gradient(#2a2e38, #07080a 42%, #000 62%, #15171d);
  box-shadow: inset 0 3px 8px rgba(255, 255, 255, .1), inset 0 -6px 12px #000;
}
.hk-gate-in i { flex: none; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #79d872, #48b443 55%, #2f8f2f); box-shadow: 0 0 6px rgba(80, 220, 80, .35); }
.hk-gate-in.no i { background: radial-gradient(circle at 42% 38%, #ff7a6a, #d8281e 55%, #8a1010); box-shadow: 0 0 6px rgba(255, 60, 40, .4); }
.hk-gate-in.god { justify-content: space-around; gap: 0; padding: 0 22px; }
.hk-gate-in b { font: 64px/1 'Michroma', 'Orbitron', sans-serif; color: #4dbb45; -webkit-text-stroke: 3px #4dbb45; text-shadow: 0 0 6px rgba(80, 220, 80, .35); }
.hk-gate-tip { position: absolute; left: 0; right: 0; top: 330px; text-align: center; font: 17px 'Share Tech Mono', monospace; color: #9fd0ff; }
