/* The programs of Bubble98: Welcome, Bubble Index, IPO Calendar, tour, media player, properties, Recycle Bin,
   Register.exe and the Navigator's chrome */
.win.collapsed > .body, .win.collapsed > .status, .win.collapsed > .menubar { display: none; }
.win > .body.pad { padding: 12px; }

/* ---------------------------------------------------------------- Welcome */
.welcome .body { display: flex; flex-direction: column; overflow: hidden; }
.wl-top { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: linear-gradient(100deg, #000080 0, #1084d0 62%, #008080 100%); color: #fff; box-shadow: var(--sunken); flex: none; }
.wl-face { width: 84px; height: 84px; flex: none; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .35)); }
.wl-word { font: 700 38px/1 var(--pix); letter-spacing: 1px; text-shadow: 3px 3px 0 #000040; white-space: nowrap; }
.wl-word span { color: #ffea00; }
.wl-sub { margin-top: 8px; font-size: 15px; color: #dfe9ff; }
.wl-main { flex: 1; display: grid; grid-template-columns: 250px 1fr; gap: 0; min-height: 0; margin-top: 8px; }
.wl-list { display: grid; align-content: start; gap: 4px; padding: 8px 10px 8px 4px; }
.wl-it { display: flex; align-items: center; gap: 12px; border: 0; background: none; text-align: left; padding: 8px 10px; cursor: pointer; font-weight: 700; font-size: 15px; }
.wl-it img { width: 32px; height: 32px; flex: none; }
.wl-it.hot { background: var(--sel); color: #fff; }
.wl-pane { background: #fff; box-shadow: var(--sunken); padding: 18px 20px; display: flex; flex-direction: column; min-height: 0; }
.wl-pane h2 { margin: 0 0 10px; font: 700 20px/1.2 var(--ui); color: #000080; }
.wl-pane p { margin: 0; color: #202020; }
.wl-live { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding-top: 14px; }
.wl-live div { display: grid; }
.wl-live span { font-size: 13px; color: #505050; }
.wl-live b { font: 700 20px/1.1 var(--pix); color: #000080; }
.wl-live em { grid-column: 1 / -1; font-style: normal; font-size: 13px; color: #808080; }
.wl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 4px; flex: none; }

/* ---------------------------------------------------------------- Bubble Index */
.bx { display: flex; flex-direction: column; gap: 10px; padding: 8px; height: 100%; }
.bx-stage { position: relative; flex: 1; min-height: 170px; box-shadow: var(--sunken); padding: 2px; background: #000; }
.bx-c { width: 100%; height: 100%; display: block; cursor: pointer; }
.bx-tag { position: absolute; left: 10px; top: 10px; background: #ffff00; color: #000; font: 700 12px/1 var(--pix); padding: 5px 8px; box-shadow: 2px 2px 0 #000; }
.bx-quote { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bx-sym { font: 700 14px/1 var(--pix); background: #000080; color: #fff; padding: 4px 6px; margin-right: 8px; vertical-align: 6px; }
.bx-val { font: 700 34px/1 var(--pix); letter-spacing: 1px; }
.bx-pct { font-size: 15px; }
.bx-pct .up { color: #008000; } .bx-pct .dn { color: #c00000; }
.bx-scale { display: flex; justify-content: space-between; font-size: 12px; color: #404040; margin-top: 4px; gap: 8px; }
.bx-chart { width: 100%; height: 86px; display: block; box-shadow: var(--sunken); flex: none; }

/* ---------------------------------------------------------------- IPO Calendar */
.ipo { display: grid; grid-template-columns: 290px 1fr; gap: 12px; padding: 12px; height: 100%; }
.ipo-cal { background: #fff; box-shadow: var(--sunken); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ipo-month { font: 700 16px/1 var(--ui); text-align: center; background: #000080; color: #fff; padding: 7px; }
.ipo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 14px; }
.ipo-grid b { color: #800000; font-weight: 700; padding: 3px 0; }
.ipo-grid span { padding: 5px 0; position: relative; display: grid; place-items: center; min-height: 30px; }
.ipo-grid span.today { background: #000080; color: #fff; }
.ipo-grid span.has { outline: 1px dotted #c00; background: #fff3a0; color: #000; font-weight: 700; }
.ipo-grid span.today.has { background: #000080; color: #fff; outline: 2px solid #f6c21a; outline-offset: -2px; }
.ipo-grid .ipo-dot { width: 12px; height: 12px; position: absolute; right: 1px; top: 1px; }
.ipo-bellbox { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; }
.bell { width: 84px; height: 90px; border: 0; background: none; cursor: pointer; padding: 0; transform-origin: 50% 8%; }
.bell svg { width: 100%; height: 100%; }
.bell.ringing { animation: bell 1.2s steps(12); }
@keyframes bell { 10% { transform: rotate(18deg); } 25% { transform: rotate(-16deg); } 40% { transform: rotate(12deg); } 55% { transform: rotate(-9deg); } 70% { transform: rotate(5deg); } 85% { transform: rotate(-3deg); } }
.ipo-lists { display: grid; grid-template-rows: auto 1fr; gap: 18px; min-height: 0; padding-top: 8px; }
.ipo-rows { display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.ipo-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 48px; gap: 10px; align-items: center; border: 0; background: none; text-align: left; padding: 5px 6px; cursor: pointer; }
.ipo-row:hover { background: var(--sel); color: #fff; }
.ipo-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.ipo-row .prog { height: 18px; padding: 2px; }
.ipo-row b { text-align: right; }
.ipo-row .when { font-size: 13px; color: inherit; opacity: .8; }

/* ---------------------------------------------------------------- the tour */
.tour { display: flex; flex-direction: column; height: 100%; padding: 12px; gap: 12px; }
.tour-art { flex: 1; min-height: 0; position: relative; background: #000; }
.tour-art img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: contain; display: block; }
.tour-copy { display: grid; gap: 6px; }
.tour-n { font: 700 12px/1 var(--pix); color: #808080; }
.tour-copy h2 { margin: 0; font: 700 22px/1.15 var(--ui); color: #000080; }
.tour-copy p { margin: 0; max-width: 70ch; }
.tour-nav { display: flex; align-items: center; gap: 8px; }
.tour-dots { display: flex; gap: 6px; }
.tour-dots button { width: 14px; height: 14px; border: 0; background: var(--face); box-shadow: var(--raised); cursor: pointer; padding: 0; }
.tour-dots button.on { background: #000080; box-shadow: var(--pressed); }

/* ---------------------------------------------------------------- media player */
.mp { display: flex; flex-direction: column; height: 100%; padding: 8px; gap: 8px; }
.mp-screen { flex: 1; min-height: 0; background: #000; box-shadow: var(--sunken); padding: 2px; position: relative; display: grid; place-items: center; }
.mp-screen video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.mp-big { position: absolute; width: 84px; height: 84px; border: 0; background: rgba(0, 0, 128, .75); box-shadow: 4px 4px 0 rgba(0, 0, 0, .5); cursor: pointer; display: grid; place-items: center; }
.mp-big svg { width: 44px; height: 44px; }
.mp-bar input { width: 100%; }
.mp-ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mp-time { padding: 4px 10px; font-size: 14px; background: #000; color: #0f0; font-family: VT, monospace; font-size: 18px; line-height: 18px; }
input[type=range] { accent-color: #000080; }

/* ---------------------------------------------------------------- properties and the bin */
.pie-wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; box-shadow: 1px 1px 0 #000, inset 0 0 0 1px #000; flex: none; }
.legend b { margin-left: auto; padding-left: 12px; }
.rb { display: grid; grid-template-columns: 200px 1fr; height: 100%; gap: 0; }
.rb-side { background: linear-gradient(180deg, #1084d0, #fff 50%); padding: 14px; display: grid; align-content: start; gap: 8px; box-shadow: var(--sunken); }
.rb-side b { font-size: 18px; }
.rb-side p { margin: 0; }
.rb-list { margin-left: 4px; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  .welcome .body { overflow: visible; }
  .wl-top { padding: 12px; gap: 10px; }
  .wl-face { width: 56px; height: 56px; }
  .wl-word { font-size: min(24px, 5.6vw); letter-spacing: 0; }
  .wl-sub { font-size: 13px; }
  .wl-main { grid-template-columns: 1fr; }
  .wl-list { grid-template-columns: 1fr 1fr; padding: 4px 0 8px; }
  .wl-it { font-size: 14px; padding: 8px 6px; gap: 8px; }
  .wl-it img { width: 28px; height: 28px; }
  .wl-pane { padding: 12px 14px; }
  .wl-pane h2 { font-size: 17px; }
  .wl-foot label { font-size: 13px; }
  .bx-stage { height: 240px; flex: none; }
  .ipo { grid-template-columns: 1fr; }
  .ipo-row { grid-template-columns: minmax(0, 1fr) 90px 44px; }
  .tour-art { height: 56vw; flex: none; }
  .mp-screen { height: 56vw; flex: none; }
  .rb { grid-template-columns: 1fr; }
  .rb-list { margin: 4px 0 0; max-height: 320px; }
}

/* ---------------------------------------------------------------- Register.exe */
.wizard .body { overflow: hidden; }
.wz { display: grid; grid-template-columns: 200px 1fr; height: 100%; gap: 0; }
.wz-art { position: relative; background: #000080; box-shadow: var(--sunken); overflow: hidden; margin: 8px 0 8px 8px; }
.wz-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; image-rendering: pixelated; }
.wz-steps { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 10px; background: linear-gradient(0deg, rgba(0, 0, 64, .92), rgba(0, 0, 64, .6) 80%, transparent); }
.wz-steps span { color: #9aa6d8; font-size: 14px; padding-left: 16px; position: relative; }
.wz-steps span::before { content: ''; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; background: #5a66a0; }
.wz-steps span.done { color: #dfe6ff; } .wz-steps span.done::before { background: #0c0; }
.wz-steps span.on { color: #fff; font-weight: 700; } .wz-steps span.on::before { background: #ffea00; }
.wz-main { display: flex; flex-direction: column; min-height: 0; }
.wz-page { flex: 1; overflow: auto; padding: 16px 20px 8px; }
.wz-page h2 { margin: 0 0 10px; font: 700 21px/1.2 var(--ui); }
.wz-page > p { margin: 0 0 14px; }
.wz-nav { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding: 10px 12px 10px; box-shadow: inset 0 1px var(--sh), inset 0 2px var(--hi); }
.wz-cost { margin-right: auto; }
.wz-get { margin: 4px 0; padding-left: 20px; display: grid; gap: 6px; }
.wz-boot { margin: 14px 0; padding: 12px; font-size: 14px; }
.wz-pings { display: flex; gap: 6px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.wz-pings i { width: 16px; height: 16px; background: #fff; box-shadow: var(--sunken); }
.wz-pings i.on { background: #00a000; }
.wz-pings .btn { margin-left: auto; }
.wz-form { display: grid; gap: 10px; }
.wz-l { display: grid; gap: 4px; }
.wz-url { display: flex; align-items: center; background: #fff; box-shadow: var(--sunken); padding: 0 8px; }
.wz-url span { color: #505050; white-space: nowrap; }
.wz-url .input { box-shadow: none; padding: 6px 2px; font-weight: 700; }
.wz-avail { font-size: 14px; color: #008000; margin-top: -4px; }
.wz-avail.err { color: #a00000; }
.wz-drop { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; box-shadow: var(--sunken); cursor: pointer; min-height: 72px; font-size: 14px; }
.wz-drop.over { outline: 2px dashed #000080; outline-offset: -6px; }
.wz-drop img { width: 64px; height: 64px; object-fit: cover; }
.wz-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wz-th { display: grid; gap: 6px; padding: 8px; background: #fff; box-shadow: var(--sunken); cursor: pointer; position: relative; }
.wz-th.on { outline: 2px solid #000080; outline-offset: -4px; }
.wz-th .radio { position: absolute; right: 10px; top: 10px; }
.wz-th span:last-child { display: grid; font-size: 14px; }
.wz-th i { font-style: normal; font-size: 12px; color: #505050; }
.sw { height: 64px; display: grid; place-items: center; border: 2px ridge #c0c0c0; overflow: hidden; }
.sw b { font: 400 10px/1 PS2P, monospace; }
.sw-flames { background: #000 radial-gradient(10px 20px at 10px 64px, #ff2a00 60%, transparent 62%) 0 0 / 20px 64px repeat-x; } .sw-flames b { color: #ffb000; text-shadow: 2px 2px 0 #6a00ff; }
.sw-space { background: radial-gradient(circle at 80% 30%, #ffd27a 0 10px, transparent 11px), radial-gradient(1px 1px at 20px 10px, #fff, transparent), #02021a; } .sw-space b { color: #c8d8ff; text-shadow: 2px 2px 0 #f0a; }
.sw-underwater { background: linear-gradient(#00b8d4, #023e8a); } .sw-underwater b { color: #fff; font-family: Comic, cursive; font-weight: 700; font-size: 14px; }
.sw-hacker { background: #000 repeating-linear-gradient(90deg, rgba(0, 255, 0, .25) 0 1px, transparent 1px 8px); } .sw-hacker b { color: #3f6; font: 400 20px VT, monospace; }
.sw-pastel { background: #ffd6ef radial-gradient(circle at 20% 30%, #ffb3dd 0 6px, transparent 7px); } .sw-pastel b { color: #b05ce6; font-family: Comic, cursive; font-weight: 700; font-size: 14px; }
.sw-corporate { background: #fff linear-gradient(#000080 0 14px, transparent 14px); border-color: #000080; } .sw-corporate b { color: #000080; font: 700 15px 'Times New Roman', serif; margin-top: 12px; }
.wz-seg { display: flex; gap: 18px; flex-wrap: wrap; }
.wz-terms { margin-top: 16px; font-size: 14px; }
.wz-sum { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; align-items: start; }
.wz-sum-logo img { width: 96px; height: 96px; object-fit: cover; }
.wz-copy { margin: 16px 0 8px; font-size: 15px; }
.wz-list { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.wz-list li { padding-left: 26px; position: relative; color: #808080; }
.wz-list li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 10px; height: 10px; box-shadow: var(--sunken); background: #fff; }
.wz-list li.done { color: #000; } .wz-list li.done::before { background: #00a000; }
.wz-list li.now { color: #000; font-weight: 700; } .wz-list li.now::before { background: #000080; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fp-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fp-th { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-items: center; cursor: pointer; }
.fp-th .sw { grid-column: 1 / -1; height: 40px; }

/* ---------------------------------------------------------------- Netscape Navigator */
.navwin .body { overflow: hidden; }
.ns { display: flex; flex-direction: column; height: 100%; }
.ns-bars { flex: none; display: grid; gap: 2px; padding-bottom: 3px; }
.ns-tools { display: flex; align-items: center; gap: 8px; padding: 2px 4px 2px 8px; box-shadow: inset 0 1px var(--hi), inset 0 -1px var(--sh); }
.ns-btns { display: flex; gap: 2px; flex: 1; min-width: 0; overflow: hidden; }
.ns-b { display: grid; justify-items: center; gap: 2px; min-width: 58px; padding: 4px 6px; border: 0; background: none; cursor: pointer; font-size: 13px; }
.ns-b svg { width: 26px; height: 24px; }
.ns-b:hover:not(:disabled) { box-shadow: var(--raised); }
.ns-b:active:not(:disabled) { box-shadow: var(--pressed); }
.ns-b:disabled { color: var(--sh); cursor: default; }
.ns-b:disabled svg { filter: grayscale(1) opacity(.45); }
.ns-throb { width: 48px; height: 48px; flex: none; box-shadow: var(--sunken); padding: 2px; background: #000; }
.ns-loc { display: flex; align-items: center; gap: 8px; padding: 3px 6px; box-shadow: inset 0 1px var(--hi), inset 0 -1px var(--sh); }
.ns-bm { font-weight: 700; white-space: nowrap; }
.ns-loc .input { padding: 4px 8px; font-family: var(--ui); }
.ns-links { display: flex; gap: 2px; padding: 2px 6px; overflow: hidden; box-shadow: inset 0 1px var(--hi); }
.ns-links button { border: 0; background: none; display: flex; align-items: center; gap: 5px; padding: 3px 8px; cursor: pointer; font-size: 14px; white-space: nowrap; }
.ns-links button:hover { box-shadow: var(--raised); }
.ns-links img { width: 16px; height: 16px; }
.ns-view { flex: 1; min-height: 0; box-shadow: var(--sunken); padding: 2px; background: #fff; }
.ns-scroll { height: 100%; overflow: auto; background: #fff; }
.ns-page { min-height: 100%; }
.ns-frame { width: 100%; height: 100%; min-height: 70vh; border: 0; display: block; }
.ns-page:has(.ns-frame) { height: 100%; }
.navwin .status .ns-lock svg { width: 18px; height: 16px; filter: grayscale(1); }
.ns-prog { width: 140px; padding: 3px !important; }
.ns-prog i { display: block; height: 10px; width: 0; background: #000080; transition: width .2s steps(4); }
.ns-err { padding: 20px; font-family: 'Times New Roman', serif; }

/* the Directory */
.dir { background: #fff; color: #000; font: 400 16px/1.4 Arial, Helvetica, sans-serif; }
.dir .lnk { color: #0000ee; font: inherit; }
.dir .lnk.on { color: #c00000; font-weight: 700; text-decoration: none; }
.dir-wrap { max-width: 980px; margin: 0 auto; padding: 18px 20px 30px; }
.dir-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dir-logo { font: 900 italic 46px/1 'Times New Roman', Georgia, serif; letter-spacing: -1px; display: flex; align-items: baseline; gap: 1px; text-shadow: 2px 2px 0 #c0c0c0; }
.dir-logo small { font: 700 13px/1 Arial, sans-serif; letter-spacing: 3px; color: #000080; margin-left: 10px; text-shadow: none; font-style: normal; }
.dir-toplinks { font-size: 14px; }
.dir-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 16px 0 8px; padding: 10px; background: #ffffcc; border: 1px solid #c0c080; }
.dir-search .input { flex: 1; min-width: 180px; max-width: 360px; font-family: Arial, sans-serif; }
.dir-opts { font-size: 14px; }
.dir-news { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; margin: 6px 0 14px; }
.new-b { color: #fff; background: #c00000; font: 700 10px/1 Arial, sans-serif; padding: 2px 4px; }
.cool-b { color: #000; background: #ffea00; font: 700 10px/1 Arial, sans-serif; padding: 2px 4px; }
.pub-tag { font-style: normal; color: #fff; background: #008000; font: 700 10px/1 Arial, sans-serif; padding: 2px 5px; }
.dir-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; padding: 14px 0 18px; border-top: 2px solid #000080; border-bottom: 1px solid #c0c0c0; }
.dir-cat { font-size: 17px; }
.dir-cat > .lnk { font-weight: 700; }
.dir-cat .n { color: #505050; font-size: 14px; }
.dir-cat .sub { font-size: 13px; color: #505050; }
.dir-crumb { font-size: 14px; }
.dir-list { display: grid; gap: 0; margin-top: 8px; }
.dir-row { display: grid; grid-template-columns: 168px minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dotted #c0c0c0; }
.dir-thumb { width: 168px; height: 72px; padding: 0; border: 1px solid #000; background: #000; cursor: pointer; overflow: hidden; display: grid; place-items: center; }
.dir-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-thumb img.sq { width: 72px; }
.dir-thumb span { color: #ff0; font: 400 8px/1.4 PS2P, monospace; }
.dir-name { font-size: 19px; font-weight: 700; }
.dir-tag { color: #202020; }
.dir-meta { font-size: 13px; color: #008000; }
.dir-ipo .prog { height: 18px; padding: 2px; }
.dir-empty { padding: 26px 0; display: grid; justify-items: start; gap: 10px; }
.dir-foot { margin-top: 22px; font-size: 13px; color: #505050; text-align: center; }
.nf { background: #fff; color: #000; font: 400 17px/1.4 'Times New Roman', serif; }
.nf-wrap { padding: 22px 26px; max-width: 820px; }
.nf-wrap h1 { font-size: 32px; margin: 0 0 10px; }
.nf-offer { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: #ffffcc; border: 1px solid #c0c080; margin: 16px 0; font-family: Arial, sans-serif; }
.nf-offer p { margin: 6px 0 12px; }
.nf-foot { color: #505050; }

/* What's Cool? */
.cool-note { font-size: 14px; margin: 10px 0; padding: 8px 10px; background: #ffffcc; border: 1px solid #c0c080; }
.cool-h { font: 700 18px/1.2 Arial, sans-serif; color: #000080; margin: 18px 0 6px; border-bottom: 2px solid #000080; padding-bottom: 3px; }
.cool-row { display: grid; grid-template-columns: 30px 72px minmax(0, 1fr) 190px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dotted #c0c0c0; }
.cool-rank { font: 900 26px/1 'Times New Roman', serif; color: #c00000; text-align: center; }
.cool-logo { width: 72px; height: 72px; padding: 0; border: 1px solid #000; background: #000; cursor: pointer; overflow: hidden; display: grid; place-items: center; color: #ff0; font: 700 26px/1 Arial, sans-serif; }
.cool-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cool-info { min-width: 0; overflow-wrap: anywhere; }
.cool-ipo { display: grid; gap: 4px; font-size: 13px; }
.cool-ipo .prog { height: 18px; padding: 2px; }
.cool-strips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.cool-s { font-size: 14px; padding: 5px 0; border-bottom: 1px dotted #c0c0c0; overflow-wrap: anywhere; }
.cool-s span { color: #505050; font-size: 12px; }
.cool-q { color: #202020; margin-top: 2px; }

@media (max-width: 760px) {
  .cool-row { grid-template-columns: 24px 56px minmax(0, 1fr); gap: 10px; }
  .cool-logo { width: 56px; height: 56px; }
  .cool-ipo { grid-column: 1 / -1; }
  .cool-strips { grid-template-columns: 1fr; }
  .wz { grid-template-columns: 1fr; }
  .wz-art { height: 110px; margin: 6px 6px 0; }
  .wz-steps { grid-auto-flow: column; justify-content: start; gap: 10px; }
  .wz-steps { gap: 8px; overflow: hidden; }
  .wz-steps span { font-size: 12px; white-space: nowrap; padding-left: 12px; }
  .wz-steps span::before { left: 0; }
  .wz-cost { white-space: nowrap; font-size: 13px; }
  .wz-page { padding: 12px; }
  .wz-themes, .fp-themes { grid-template-columns: 1fr 1fr; }
  .wizard .body { overflow: visible; }
  .ns-b { min-width: 46px; font-size: 11px; padding: 3px 2px; }
  .ns-b[data-b=print], .ns-b[data-b=lock], .ns-b[data-b=stop], .ns-b[data-b=search] { display: none; }
  .ns-throb { width: 40px; height: 40px; }
  .ns-links { display: none; }
  .dir-cats { grid-template-columns: 1fr 1fr; }
  .dir-row { grid-template-columns: 110px minmax(0, 1fr); }
  .dir-thumb { width: 110px; height: 48px; }
  .dir-ipo { grid-column: 1 / -1; }
  .dir-logo { font-size: 34px; }
  .navwin .status .ns-prog { display: none; }
}
/* a Not Found page while the index catches up with a registration from seconds ago */
.nf-idx { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 10px; background: #ffffe1; border: 1px solid #000; font: 400 13px/1.3 var(--ui); width: fit-content; max-width: 100%; }
.ipo-empty { display: grid; justify-items: start; gap: 10px; padding: 6px 0; }
.bx-off .bx-val { opacity: .5; }

/* NASDAQ.exe */
.nq { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; min-height: 0; gap: 8px; }
.nq-board { display: flex; flex-wrap: wrap; gap: 6px 22px; background: #000; padding: 8px 12px; box-shadow: var(--sunken); font: 700 13px/1.2 var(--pix); color: #20e020; letter-spacing: .5px; }
.nq-board i { font-style: normal; color: #ffb000; margin-right: 4px; }
.nq-list { min-height: 0; }
.nq-quiet { padding: 8px 12px; background: #ffffe1; border-bottom: 1px solid #000; font-size: 14px; }
.nq-t { min-width: 0; }
.nq-t th { padding: 0; height: 28px; vertical-align: middle; }
.nq-t th:not([data-k]) { padding: 0 8px; }
.nq-t th button { width: 100%; height: 28px; padding: 0 8px; border: 0; background: none; text-align: inherit; cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nq-t th.nq-num button { justify-content: flex-end; }
.nq-t th button:active { box-shadow: var(--pressed); }
.nq-t th em { font-style: normal; font-size: 10px; }
.nq-t td { vertical-align: middle; padding: 6px 8px; }
.nq-num { text-align: right; font-family: 'Lucida Console', Monaco, Consolas, monospace; font-size: 13px; }
.nq-num small { display: block; font: 400 11px/1.2 var(--ui); color: #505050; }
.nq-num.up { color: #008000; } .nq-num.dn { color: #c00000; }
.nq-name { min-width: 150px; }
.nq-logo { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; background: #000; color: #ff0; font: 700 14px/1 Arial, sans-serif; overflow: hidden; vertical-align: middle; border: 1px solid #000; }
.nq-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nq-nm { display: inline-grid; vertical-align: middle; line-height: 1.15; }
.nq-nm b { cursor: pointer; }
.nq-nm b:hover { text-decoration: underline; color: #0000ee; }
.nq-nm small { color: #505050; font-size: 12px; }
.nq-ipo { min-width: 120px; }
.nq-ipo .prog { height: 16px; padding: 2px; display: inline-block; width: 76px; vertical-align: middle; margin-right: 6px; }
.nq-ipo b { font-size: 13px; }
.nq-chart canvas { width: 88px; height: 26px; display: block; }
.nq-buy { text-align: right; }
.nq-empty { padding: 28px 16px; display: grid; justify-items: start; gap: 12px; }
.nq-empty p { margin: 0; }
@media (max-width: 760px) {
  .nq-t td, .nq-t th button { padding-left: 4px; padding-right: 4px; }
  .nq-num { font-size: 11.5px; }
  .nq-name { min-width: 0; }
  .nq-logo { display: none; }
  .nq-vol, .nq-ipo { display: none; }
  .nq-chart canvas { width: 56px; }
  .nq-board { gap: 4px 14px; font-size: 11px; }
}
