/* ===== THE NET (1995) ===== */
/* Chicago: the classic Mac system font (menus, window titles). ChicagoFLF is the free clone, embedded in css/chicago.css;
   a visitor who has Apple's real Chicago installed gets that instead. */
.os.nt { font-family: Verdana, Geneva, sans-serif; color: #000; --mac: 'Chicago', 'ChicagoFLF', Geneva, Verdana, sans-serif; }

/* ---------- desktop ---------- */
.nt-desk { position: absolute; inset: 0; background: radial-gradient(#ffffff16 1px, transparent 1.5px) 0 0 / 4px 4px, #3a8c8c; }
.nt-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 5;
  display: flex; align-items: center; gap: 18px; padding: 0 12px;
  background: #f2f2f2; border-bottom: 2px solid #000; font: 16px var(--mac);
}
.nt-bar .clk { margin-left: auto; font-weight: 400; }
.nt-icons { position: absolute; right: 12px; top: 42px; display: flex; flex-direction: column; gap: 14px; z-index: 1; }
.nt-icon { width: 120px; text-align: center; cursor: pointer; }
.nt-icon svg { width: 54px; height: 54px; display: block; margin: 0 auto 4px; }
.nt-icon span { display: inline-block; padding: 0 5px; background: #fff; font: 700 14px Verdana, sans-serif; }
.nt-icon.sel span { background: #000; color: #fff; }
.nt-icon.sel svg { filter: brightness(.55); }
.nt-hello { position: absolute; left: 30px; top: 60px; width: 380px; z-index: 1; color: #fff; font: 700 22px Verdana, sans-serif; line-height: 1.35; text-shadow: 2px 2px 0 #0006; }
.nt-hello small { display: block; margin-top: 12px; font-size: 16px; font-weight: 400; }

/* ---------- window ---------- */
/* sized to stay inside the visible glass: the screen's curved corners and edge shading eat ~20px */
.nt-win { position: absolute; left: 22px; top: 36px; width: 596px; height: 418px; z-index: 3; display: flex; flex-direction: column; background: #fff; border: 2px solid #000; box-shadow: 5px 5px 0 #0007; }
.nt-tb { position: relative; flex: none; height: 24px; text-align: center; border-bottom: 2px solid #000; background: repeating-linear-gradient(#000 0 1px, #fff 1px 3px) 0 5px / 100% 13px no-repeat, #fff; }
.nt-tb span { position: relative; top: 1px; padding: 0 10px; background: #fff; font: 15px var(--mac); }
.nt-close { position: absolute; left: 10px; top: 3px; width: 16px; height: 16px; border: 2px solid #000; background: #fff; cursor: pointer; }
.nt-body { position: relative; flex: 1; overflow: hidden; }

/* ---------- CyberChat, after the film: pink-lavender page, blue SCAN HELP QUIT, orange-red frame with the room bar,
   a lavender-grey framed log: navy names on pale lavender, bold yellow on royal blue ---------- */
/* chat type in Chicago (she asked for it), like the Mac menus */
.nt-chat { position: absolute; inset: 0; background: linear-gradient(#e6c9ee, #cdb6e6); --chatfont: var(--mac); }
.nt-chat .logo { position: absolute; left: 14px; top: 4px; font: italic 900 30px 'Arial Black', Verdana, sans-serif; color: #8ff3ff; -webkit-text-stroke: 1.5px #1a2a8a; text-shadow: 2px 2px 0 #1a2a8a; transform: rotate(-3deg); white-space: nowrap; }
.nt-chat .menu { position: absolute; left: 18px; top: 50px; font: italic 900 15px 'Arial Black', Verdana, sans-serif; color: #2b3bb8; letter-spacing: .04em; word-spacing: 10px; text-shadow: 1px 1px 0 #fff8; }
.nt-chat .frame { position: absolute; left: 290px; right: 10px; top: 6px; height: 72px; border-radius: 14px; background: linear-gradient(#f5913f, #e0452a); box-shadow: inset 0 2px 0 #ffc08a, inset 0 -3px 0 #9a2a14, 0 2px 4px #0004; }
.nt-chat .faces { position: absolute; left: 12px; right: 12px; top: 6px; height: 26px; display: flex; justify-content: space-between; }
.nt-chat .faces i { width: 26px; height: 26px; display: grid; place-items: center; background: #0d0d14; box-shadow: inset 0 0 0 1px #000; }
.nt-chat .faces svg { width: 24px; height: 24px; }
.nt-chat .nt-room { /* not ".room": that's the page's room and its padding/background would leak in */
  position: absolute; left: 10px; right: 10px; bottom: 7px; height: 28px; padding-left: 10px; border-radius: 4px;
  background: #1d2490; box-shadow: inset 0 2px 3px #0008; color: #f3e35a; font: 14px/28px var(--chatfont);
}
.nt-chat .log { /* lavender-grey outer frame */
  position: absolute; left: 12px; right: 12px; top: 86px; bottom: 62px; padding: 6px;
  background: #cfd0ee; border: 2px solid #4a4a8a; box-shadow: inset 0 0 0 1px #fff8;
}
.nt-chat .rows {
  height: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  border: 2px solid #3a3a7a;
  background: linear-gradient(90deg, #ece9f7 0 124px, #f4f4ff 124px 126px, #2b30b4 126px);
}
.nt-chat .row { display: grid; grid-template-columns: 124px 1fr; column-gap: 2px; align-items: center; min-height: 37px; padding: 2px 0; }
.nt-chat .row .n { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding-right: 5px; font: 700 14px Arial, Helvetica, sans-serif; color: #1d2a7a; }
.nt-chat .row .n svg { width: 32px; height: 32px; flex: none; box-shadow: 0 0 0 1px #3a3a7a; }
.nt-chat .row .t { padding: 1px 12px; font: 16px/1.25 var(--chatfont); color: #f6ec6a; text-shadow: 0 0 2px #f6ec6a55; word-break: break-word; }
.nt-chat .row.me .t { color: #9ff0ff; }
.nt-chat .input { position: absolute; left: 12px; right: 96px; bottom: 10px; height: 40px; padding: 7px 10px; border-radius: 6px; background: #fff; border: 3px solid #b8a2d6; box-shadow: inset 0 2px 3px #0003; font: 16px var(--chatfont); color: #1d2a7a; white-space: nowrap; overflow: hidden; }
.nt-chat .send { position: absolute; right: 12px; bottom: 4px; width: 74px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 40% 35%, #9f9, #1a8f1a); border: 3px solid #0a4a0a; color: #fff; font: 900 14px Verdana, sans-serif; text-shadow: 1px 1px 0 #0a4a0a; }

/* ---------- browser chrome (Pizza.Net, Gatekeeper) ---------- */
.nt-nav { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: #d8d8d8; border-bottom: 2px solid #000; }
.nt-nav b { padding: 2px 9px; background: #fff; border: 1px solid #000; box-shadow: 1px 1px 0 #000; font: 700 12px Verdana, sans-serif; }
.nt-nav .url { flex: 1; padding: 2px 6px; background: #fff; border: 1px solid #000; font: 12px Verdana, sans-serif; color: #224; white-space: nowrap; overflow: hidden; }

/* ---------- Pizza.Net, after the film: pale lilac page, orange banner with an outlined white title,
   blue panels with lime serif headings and a joined column of checkboxes with red X marks, a photo-like pizza ---------- */
.nt-pz { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; padding: 7px 12px; background: #ebe4f3; --serif: 'Cooper Black', 'Bookman Old Style', Georgia, serif; }
.nt-pz .banner {
  position: relative; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: radial-gradient(ellipse 60% 120% at 35% 50%, #ffb352, transparent 70%), linear-gradient(90deg, #f7883a, #e8542a 60%, #df3e22);
  border: 2px solid #b8401c; box-shadow: inset 0 0 0 2px #ffc58a55;
}
.nt-pz .banner svg { width: 46px; height: 46px; flex: none; transform: rotate(-12deg); }
.nt-pz .banner h2 { margin: 0; font: 900 34px/1 var(--serif); color: #f1ebff; -webkit-text-stroke: 1.5px #1d1a6e; text-shadow: 2px 2px 0 #1d1a6e; letter-spacing: .01em; }
.nt-pz .banner small { display: block; margin-top: 2px; font: 700 12px Arial, Helvetica, sans-serif; color: #a5180c; letter-spacing: .02em; }
.nt-pz .banner sup { position: absolute; right: 8px; top: 3px; font: 700 11px Arial, sans-serif; color: #1d1a6e; }
.nt-pz .cols { display: flex; gap: 14px; margin-top: 7px; }
.nt-pz .left { width: 236px; flex: none; }
.nt-pz .panel { margin-bottom: 4px; padding: 2px 0 6px 10px; background: #1a33b4; border: 2px solid #0c1a6e; border-radius: 9px; color: #fff; overflow: hidden; }
.nt-pz .panel h3 { margin: 0 0 1px; padding-right: 10px; text-align: center; font: 900 17px/21px var(--serif); color: #d8f26a; text-shadow: 1px 1px 0 #0c1a6e; }
.nt-pz .opt { display: flex; justify-content: space-between; align-items: center; font: 700 14px/19px Arial, Helvetica, sans-serif; cursor: pointer; }
.nt-pz .opt i { /* boxes stack into one joined column */
  width: 26px; height: 19px; flex: none; margin-right: 8px; display: grid; place-items: center;
  background: #fff; border: 1px solid #0c1a6e; border-top: 0;
}
.nt-pz h3 + .opt i { border-top: 1px solid #0c1a6e; }
.nt-pz .opt i svg { width: 17px; height: 17px; }
.nt-pz .focus span { outline: 2px dashed #ffd84a; outline-offset: 1px; }
.nt-pz .right { position: relative; flex: 1; text-align: center; }
.nt-pz .tbtn { display: inline-block; width: 84%; background: #1a33b4; border: 2px solid #0c1a6e; border-radius: 6px; font: 900 18px/24px var(--serif); color: #d8f26a; text-shadow: 1px 1px 0 #0c1a6e; cursor: pointer; }
.nt-pz .tbtn.focus, .nt-pz .order.focus { outline: 2px dashed #e8361e; outline-offset: 2px; }
.nt-pz .tmenu { position: absolute; left: 50%; top: 30px; z-index: 2; width: 196px; margin-left: -98px; text-align: left; box-shadow: 4px 4px 0 #0005; }
.nt-pz svg.pie { display: block; width: 186px; height: 186px; margin: 0 auto; }
.nt-pz .order { display: inline-block; padding: 4px 26px; background: #e8361e; border: 2px solid #8a1a0a; border-radius: 6px; color: #fff; font: 900 15px Arial, sans-serif; cursor: pointer; }
.nt-pz .done { position: absolute; left: 70px; right: 70px; top: 60px; z-index: 2; padding: 26px 20px; text-align: center; background: #fff; border: 3px solid #1e3fae; box-shadow: 6px 6px 0 #0006; font: 700 16px/1.5 Verdana, sans-serif; color: #1e3fae; }
.nt-pz .done h3 { margin: 0 0 10px; font: 900 26px Georgia, serif; color: #e8361e; }
.nt-pz .done b { display: inline-block; margin-top: 14px; padding: 3px 26px; background: #1e3fae; color: #fff; cursor: pointer; }

/* ---------- UN*X Shell ---------- */
.nt-sh { position: absolute; inset: 0; background: #050a06; color: #e8f0e8; font-family: 'Share Tech Mono', monospace; }
.nt-sh .hd { display: flex; justify-content: space-between; padding: 6px 16px; background: #0f2a12; font: italic 900 20px Verdana, sans-serif; color: #3fe03f; }
.nt-sh .out { padding: 12px 18px 0; font-size: 21px; line-height: 1.25; white-space: pre-wrap; text-transform: uppercase; }
.nt-sh .card { width: 380px; margin: 14px auto 0; text-align: center; }
.nt-sh .card .h { margin: 0 50px 14px; padding: 2px 0; border-top: 2px dashed #e8c84a; border-bottom: 2px dashed #e8c84a; color: #ffe14d; font-size: 23px; }
.nt-sh .kv { display: grid; grid-template-columns: 120px 1fr; gap: 5px 12px; text-align: left; font-size: 22px; }
.nt-sh .kv b { font-weight: normal; color: #9fe0ff; text-align: right; }
.nt-sh .kv span { color: #5fd8ff; }
.nt-sh .kv span.bad { color: #ff6a6a; }
.nt-sh .new { position: absolute; right: 14px; bottom: 12px; padding: 2px 10px; background: #1a0018; border: 2px solid #ff4fd8; color: #ff4fd8; font: 700 16px Verdana, sans-serif; cursor: pointer; }

/* ---------- Gatekeeper ---------- */
.nt-gk { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; background: linear-gradient(#eef1f5, #c9d1db); color: #1b2a44; }
.nt-gk .hd { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: #1b2a44; color: #fff; }
.nt-gk .hd svg { width: 44px; height: 50px; flex: none; }
.nt-gk h2 { margin: 0; font: 900 30px Georgia, serif; letter-spacing: .08em; }
.nt-gk .hd small { display: block; font: 13px Verdana, sans-serif; letter-spacing: .18em; color: #9fb3d6; }
.nt-gk .body { padding: 16px 28px; font: 16px/1.5 Verdana, sans-serif; }
.nt-gk .body ul { margin: 8px 0 0; padding-left: 22px; }
/* the secret: a tiny, faint π in the corner, with an ordinary arrow cursor so nothing gives it away */
.nt-gk .pi { position: absolute; right: 6px; bottom: 4px; padding: 4px 6px; font: 15px Georgia, serif; color: #5b677a; cursor: default; }
.nt-pr { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; padding: 14px 28px; background: #000; color: #ff3a2a; font-family: 'Share Tech Mono', monospace; }
.nt-pr .big { text-align: center; font: 110px/1 Georgia, serif; color: #d00; text-shadow: 0 0 22px #f00; }
.nt-pr .t { text-align: center; font-size: 22px; letter-spacing: .3em; }
.nt-pr .q { margin-top: 26px; font-size: 22px; color: #fff; }
.nt-rec { width: 480px; margin: 4px auto 0; padding: 12px 20px; background: #f4f1e8; border-top: 10px solid #1b2a44; color: #111; font: 18px 'Courier New', monospace; }
.nt-rec .h { margin-bottom: 6px; font-weight: 700; letter-spacing: .15em; }
.nt-rec .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted #999; }
.nt-rec .row span { font-weight: 700; }
.nt-rec .row span.changed { color: #c00; animation: ntGlitch .3s steps(2) 3; }
.nt-rec .stamp { margin-top: 12px; padding: 3px 0; text-align: center; border: 3px solid #c00; color: #c00; font-weight: 700; letter-spacing: .2em; transform: rotate(-3deg); }
@keyframes ntGlitch { 50% { transform: translateX(4px); opacity: .3; } }
