* {
  box-sizing: border-box;
}

:root {
  --desktop-site-width: 980px;
  --page-text: #000;
  --link: #060000;
  --link-visited: #3918cd;
  --window-bg: #c0c0c0;
  --window-light: #fff;
  --window-dark: #404040;
  --title-blue: #000080;
  --title-blue-2: #2b63d9;
  --green: #656565;
  /*--title-bg-image: url("site assets/site gifs/waves.gif");*/
  --site-background-image: url("site assets/backgrounds/waves.gif");
}

html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--page-text);
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  font-weight: 600 !important;
  text-align: center;

  background-image: var(--site-background-image);
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.055;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.35) 0 1px,
    transparent 1px 3px
  );
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:visited {
  color: var(--link-visited);
}

.page {
  width: min(980px, 82vw);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 18px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.title-card {
  min-width: 210px;
  min-height: 62px;
  padding: 10px 15px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    var(--title-bg-image);
  background-size: cover;
  background-position: center;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.site-header h1 {
  margin: 0;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 42px;
  line-height: 0.9;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.55);
}

.site-header p {
  margin: 8px 0 0;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  font-weight: 600 !important;
}

.clock,
.counter {
  color: var(--green);
  background: #000;
  font-family: "Courier New", monospace;
}

.clock {
  margin-top: 4px;
  padding: 6px 10px;
  border: 2px solid #777;
  box-shadow:
    1px 1px 0 #fff,
    3px 3px 0 #404040;
  font-size: 13px;
  white-space: nowrap;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 22px 0;
  position: relative;
  background: #000;
}

.divider::before,
.divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.divider::before {
  left: -4px;
}
.divider::after {
  right: -4px;
}

.nav-links {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 42px;
  margin: 20px 0 28px;
  font-family: "Courier New", monospace;
  font-size: 17px;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.nav-links a {
  font-weight: 600 !important;
}
.nav-links a.active {
  color: #f00;
}

/* Shared GeoCities shell */
.home-geo-layout,
.site-geo-layout {
  display: grid;
  grid-template-columns: 128px minmax(0, 500px) 128px;
  gap: 22px;
  align-items: start;
  justify-content: center;
  margin: 0 auto 18px;
}

.home-main-column,
.site-main-column {
  min-width: 0;
}

.geo-sidebar {
  display: grid;
  gap: 14px;
  font-family: "Courier New", monospace;
  text-align: left;
}

.geo-box,
.player-window,
.transmission-screen,
.downloads-window {
  background: var(--window-bg);
  border-top: 3px solid var(--window-light);
  border-left: 3px solid var(--window-light);
  border-right: 3px solid var(--window-dark);
  border-bottom: 3px solid var(--window-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  color: #000;
  text-align: left;
}

.geo-box {
  border-width: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.window-titlebar,
.transmission-window-title,
.geo-box-title {
  color: #fff;
  background: linear-gradient(90deg, var(--title-blue), var(--title-blue-2));
  font-family: "Times New Roman", Times, serif;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.geo-box-title {
  padding: 3px 6px;
  font-size: 13px;
  color: purple;
}

.geo-box-body {
  padding: 8px;
  font-size: 11px;
  line-height: 1.35;
}

.geo-box-body p {
  margin: 0 0 7px;
}

.geo-box-body p:last-child {
  margin-bottom: 0;
}

.geo-box-body ul {
  margin: 0 0 7px 13px;
  padding: 0;
}

.geo-box-body li {
  margin-bottom: 4px;
}

.geo-mini-links {
  display: grid;
  gap: 5px;
}

.geo-mini-links a,
.geo-box-body a,
.downloads-list a,
.downloads-pages a {
  color: #000080;
  font-weight: 700 !important;
}

.geo-mini-links a:visited,
.geo-box-body a:visited,
.downloads-list a:visited {
  color: #551a8b;
}

.geo-counter {
  margin: 3px 0 8px;
  padding: 2px 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-button {
  display: grid;
  place-items: center;
  width: 88px;
  height: 31px;
  margin: 0 auto 7px;
  color: #000;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    var(--title-bg-image);
  background-size: cover;
  background-position: center;
  border: 1px solid #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 700 !important;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.65);
}

.geo-button-box,
.geo-gif-body {
  text-align: center;
}

.geo-button-box p {
  font-size: 10px;
}

.geo-status-gif {
  display: block;
  width: 88px;
  height: 58px;
  margin: 0 auto 7px;
  object-fit: cover;
  border: 1px solid #000;
  background: #000;
}

.geo-gif-message {
  margin: 0 !important;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700 !important;
  line-height: 1.25;
  text-align: center;
  text-transform: lowercase;
}

/* Journals sidebar panel */
.geo-journals-link {
  display: block;
  padding: 8px;
  color: #000080;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.2;
  background: var(--window-bg);
}

.geo-journals-link:visited {
  color: #551a8b;
}
.geo-journals-link strong {
  display: block;
  margin-top: 6px;
  text-align: center;
}
.geo-journals-image {
  display: block;
  width: 104px;
  height: 70px;
  margin: 0 auto;
  object-fit: cover;
  border: 1px solid #000;
  background: #000;
}

/* Covers project panel — sits between Now Playing and Links */
.geo-covers-link {
  display: block;
  padding: 8px;
  color: #000080;
  background: var(--window-bg);
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.2;
}

.geo-covers-link:visited {
  color: #551a8b;
}
.geo-covers-link strong {
  display: block;
  margin-top: 6px;
  text-align: center;
  text-transform: lowercase;
}
.geo-covers-image-frame {
  position: relative;
  width: 104px;
  height: 70px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #000;
  background: #000;
}

.geo-covers-image {
  position: absolute;
  top: -8%;
  left: -8%;
  display: block;
  width: 116%;
  height: 116%;
  max-width: none;
  margin: 0;
  border: 0;
  object-fit: fill;
}

/* Journal directory */
.journals-window {
  width: 100%;
  max-width: 500px;
  color: #000;
  background: var(--window-bg);
  font-family: "Courier New", monospace;
  text-align: left;
}

.journals-body {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 8px;
  min-height: 500px;
  padding: 8px;
}

.journal-index,
.journal-reader {
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.journal-index {
  background: #c0c0c0;
}
.journal-pane-title {
  padding: 4px 6px;
  color: #fff;
  background: linear-gradient(90deg, var(--title-blue), var(--title-blue-2));
  font-weight: 700;
}
.journal-entry-list {
  display: grid;
  padding: 7px 5px;
}
.journal-entry-list button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 4px;
  align-items: center;
  min-height: 31px;
  padding: 3px;
  border: 0;
  color: #551a8b;
  background: transparent;
  font:
    10px/1.15 "Courier New",
    monospace;
  text-align: left;
  cursor: pointer;
}
.journal-entry-list button:hover,
.journal-entry-list button.active {
  color: #fff;
  background: #000080;
}

.journal-reader {
  padding: 10px;
  background: #f4f0df;
  font-size: 11px;
}
.journal-meta {
  margin: 0;
  text-transform: uppercase;
}
.journal-meta div {
  display: grid;
  grid-template-columns: 58px 1fr;
  margin-bottom: 3px;
}
.journal-meta dt {
  color: #000080;
  font-weight: 700;
}
.journal-meta dd {
  margin: 0;
}
.journal-reader hr {
  border: 0;
  border-top: 1px dashed #555;
  margin: 9px 0 14px;
}
.journal-reader h2 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: lowercase;
}
.journal-copy p {
  margin: 0 0 14px;
  line-height: 1.55;
}
.journal-image-wrap {
  margin: 12px 0;
}
.journal-image-wrap img {
  display: block;
  width: 150px;
  height: 105px;
  object-fit: cover;
  filter: grayscale(1) contrast(0.85);
  border: 1px solid #555;
}
.journal-controls {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 16px;
}
.journal-controls button {
  padding: 0;
  border: 0;
  color: #551a8b;
  background: transparent;
  font:
    10px "Courier New",
    monospace;
  text-decoration: underline;
  cursor: pointer;
}

/* Window titlebars */
.window-titlebar,
.transmission-window-title {
  min-height: 26px;
  padding: 3px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
}

.window-buttons {
  display: flex;
  gap: 3px;
}

.window-buttons span,
.transmission-mute-btn,
.transport button {
  color: #000;
  background: var(--window-bg);
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
}

.window-buttons span {
  width: 22px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

.transmission-mute-btn {
  width: 24px;
  height: 20px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.transmission-mute-btn:active,
.transport button:active {
  border-top-color: var(--window-dark);
  border-left-color: var(--window-dark);
  border-right-color: var(--window-light);
  border-bottom-color: var(--window-light);
}

/* Home transmission */
.transmission-screen {
  width: 100%;
  max-width: 500px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Courier New", monospace;
}

.transmission-media-wrap {
  /* A responsive 1920x1080 (16:9) display canvas. */
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 9px 11px;
  overflow: hidden;
  background: #000;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.home-transmission-video,
.home-transmission-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.home-transmission-video[hidden],
.home-transmission-image[hidden] {
  display: none !important;
}

.transmission-copy {
  padding: 0 12px 8px;
  color: #000;
  text-transform: lowercase;
}

.file-name-row {
  margin-bottom: 10px;
}

.file-name-row h2 {
  margin: 4px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.archive-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.meta-label {
  color: #000080;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-strength {
  margin-bottom: 10px;
  padding: 6px 8px;
  background: #000;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

#homeSignalStrength {
  letter-spacing: 2px;
}

.transmission-description {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dotted #000;
}

.transmission-copy p,
.transmission-description p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

/* Generic panels + pages */
.page-panel,
.site-geo-layout .page-panel,
.site-geo-layout .downloads-window,
.site-geo-layout .player-window {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.page-panel {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.38);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  font-weight: 600 !important;
}

.contact-card,
.quench-page {
  text-align: center;
  font-family: "Courier New", monospace;
  text-transform: lowercase;
}

.contact-card h2,
.page-panel h2 {
  margin-top: 0;
}

.email-big {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 600 !important;
}

.quench-page,
.quench-page *,
.quench-page a {
  font-family: "Times New Roman", Times, serif !important;
  font-weight: 600 !important;
}

.quench-intro h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700 !important;
  text-transform: lowercase;
}

.quench-intro p {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.55;
  text-transform: lowercase;
}

.quench-block {
  margin: 28px auto 0;
}

.quench-block h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700 !important;
  text-transform: lowercase;
}

.featured-transmissions {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.transmission-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  color: var(--link);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid #000;
  text-align: left;
}

.transmission-card:hover {
  background: rgba(255, 255, 255, 0.45);
}

.transmission-cover {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid #000;
  background: var(--window-bg);
}

.transmission-text {
  display: grid;
  gap: 6px;
}

.transmission-text strong {
  font-size: 17px;
  font-weight: 700 !important;
  text-transform: lowercase;
  text-decoration: underline;
}

.transmission-text em {
  color: #000;
  font-style: normal;
  font-size: 13px;
  text-transform: lowercase;
}

.plain-links,
.quench-page .plain-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600 !important;
}

.plain-links a,
.quench-page .plain-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600 !important;
}

.link-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.link-icon-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
}

/* Downloads */
.downloads-window {
  width: 100%;
  font-family: "Courier New", monospace;
}

.downloads-body {
  padding: 12px 14px;
  color: #000;
}

.downloads-header-row,
.downloads-list li {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 82px 48px 126px;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.downloads-header-row {
  padding-bottom: 6px;
  color: #000080;
  border-bottom: 1px solid #777;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.downloads-list li {
  min-height: 26px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.28);
  font-weight: 700 !important;
}

.downloads-list li:hover {
  background: rgba(255, 255, 255, 0.28);
}

.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.downloads-pages {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* Optional legacy player styling */
.player-window {
  width: min(500px, 86vw);
  margin: 0 auto 34px;
  font-family: "Courier New", monospace;
  font-size: 15px;
}

.player-body {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  align-items: center;
}

#visualizer {
  width: 100px;
  height: 64px;
  display: block;
  background: #000;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.player-project,
.player-title {
  color: #000;
  font-weight: 600 !important;
  text-transform: uppercase;
}

.player-project {
  margin-bottom: 6px;
  font-size: 17px;
}

.player-title,
.time-row {
  font-size: 14px;
}

.time-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600 !important;
}

.transport {
  display: grid;
  grid-template-columns: 34px 48px 48px 34px;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
}

.transport button {
  height: 34px;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  font-weight: 700 !important;
  cursor: pointer;
}

#seekBar {
  width: 100%;
  accent-color: #777;
}

.selector-row,
.track-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 16px 12px;
  color: #000;
  font-size: 12px;
  font-weight: 600 !important;
  text-transform: lowercase;
}

.selector-row select {
  min-width: 126px;
  color: #000;
  background: #fff;
  font-family: "Courier New", monospace;
  font-size: 13px;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.track-list button {
  border: 0;
  padding: 0;
  color: var(--link);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.track-list button:hover,
.track-list button.active {
  color: #f00;
}

/* Footer */
.footer {
  margin-top: 12px;
  padding: 4px 0 14px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 600 !important;
}

.footer p {
  margin: 0 0 5px;
  font-weight: 600 !important;
}

.counter {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.netscape-badge {
  display: block;
  width: 66px;
  height: auto;
  margin: 0 auto 10px;
  image-rendering: pixelated;
}

/* Keep the title bar flush with the top of the window */
.transmission-screen > .transmission-window-title {
  width: 100%;
  margin: 0;
  border: 0;
}

/* =========================================================
   EXTRA SIDEBAR PANELS
   GIF and icon file paths are controlled in data.js.
   ========================================================= */

.geo-now-playing-box .geo-box-body {
  padding: 8px;
}

.geo-now-playing {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  margin-bottom: 7px;
}

.geo-panel-gif {
  display: block;
  object-fit: cover;
  border: 1px solid #000;
  background: #000;
  image-rendering: auto;
}

.geo-now-playing-gif {
  width: 42px;
  height: 42px;
}

.geo-now-playing-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 10px;
  line-height: 1.2;
}

.geo-now-playing-copy strong {
  overflow-wrap: anywhere;
  font-size: 11px;
  text-transform: lowercase;
}

.geo-panel-link {
  display: inline-block;
  color: #000080;
  font-size: 10px;
  font-weight: 700 !important;
}

.geo-compact-gif-body {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 7px;
}

.geo-left-status-gif {
  width: 55px;
  height: 38px;
}

.geo-compact-message {
  margin: 0 !important;
  font-size: 9px;
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: left;
  text-transform: lowercase;
}

.geo-social-links {
  display: grid;
  gap: 7px;
}

.geo-social-link {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: #000080;
  font-size: 10px;
  font-weight: 700 !important;
}

.geo-social-link img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.geo-social-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* =========================================================
   SIGNAL ARCHIVE SIDEBAR PANEL
   ========================================================= */

.geo-archive-link {
  display: block;
  padding: 8px;
  color: #000080;
  text-align: left;
  text-decoration: none;
}

.geo-archive-link:hover strong,
.geo-archive-link:focus-visible strong {
  color: #f00;
}

.geo-archive-gif-frame {
  position: relative;
  width: 104px;
  height: 58px;
  margin: 0 auto 3px;
  overflow: hidden;
  border: 1px solid #000;
  background: #000;
}

.geo-archive-gif {
  position: absolute;
  top: -10%;
  left: -8%;
  display: block;
  width: 116%;
  height: 120%;
  max-width: none;
  margin: 0;
  border: 0;
  object-fit: fill;
}

.geo-archive-link span {
  display: block;
  margin: 0;
  color: #000;
  font-size: 10px;
  font-weight: 700 !important;
  text-transform: lowercase;
}

.geo-archive-link strong {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  text-decoration: underline;
  text-transform: lowercase;
}

/* =========================================================
   SIGNAL ARCHIVE FILM / MEDIA ARCHIVE
   ========================================================= */

.archive-window {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #000;
  background: rgba(192, 192, 192, 0.94);
  border-top: 3px solid var(--window-light);
  border-left: 3px solid var(--window-light);
  border-right: 3px solid var(--window-dark);
  border-bottom: 3px solid var(--window-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  font-family: "Courier New", monospace;
  text-align: left;
}

.archive-titlebar,
.archive-viewer-titlebar {
  background: linear-gradient(90deg, var(--title-blue), var(--title-blue-2));
}

.archive-body {
  padding: 18px;
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #555;
}

.archive-header h2 {
  margin: 0 0 7px;
  font-family: "Courier New", monospace;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.archive-header p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.archive-node {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  color: #39ff14;
  background: #000;
  border: 2px solid #777;
  box-shadow: 2px 2px 0 #404040;
  font-size: 11px;
  text-align: center;
}

.archive-node strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.archive-films {
  display: grid;
}

.archive-film {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dotted #555;
}

.archive-thumbnail-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #000;
  border: 2px solid #000;
  cursor: pointer;
}

.archive-thumbnail {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  background: #000;
  transition: filter 120ms ease;
}

.archive-thumbnail-button:hover .archive-thumbnail,
.archive-thumbnail-button:focus-visible .archive-thumbnail {
  filter: contrast(1.08) brightness(1.08);
}

.archive-duration {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  color: #fff;
  background: #000;
  border: 1px solid #777;
  font:
    700 11px/1 "Courier New",
    monospace;
}

.archive-film-copy {
  min-width: 0;
}

.archive-film-title {
  border: 0;
  padding: 0;
  color: #3918cd;
  background: transparent;
  font:
    700 16px/1.2 "Courier New",
    monospace;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.archive-film-title:hover,
.archive-film-title:focus-visible {
  color: #f00;
}

.archive-film-meta {
  margin: 8px 0 10px;
  font-size: 11px;
  font-weight: 700 !important;
  text-transform: lowercase;
}

.archive-film-description {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
}

.archive-film-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.archive-film-links a,
.archive-film-links button {
  border: 0;
  padding: 0;
  color: #000080;
  background: transparent;
  font:
    700 11px/1.2 "Courier New",
    monospace;
  text-decoration: underline;
  cursor: pointer;
}

.archive-film-links a:hover,
.archive-film-links button:hover {
  color: #f00;
}

.archive-footer-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 700 !important;
}

.archive-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3918cd;
}

.archive-footer-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Retro in-page media viewer */
.viewer-open {
  overflow: hidden;
}

.archive-viewer[hidden] {
  display: none !important;
}

.archive-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.archive-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.archive-viewer-window {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  max-height: 92vh;
  overflow: auto;
  color: #000;
  background: var(--window-bg);
  border-top: 3px solid var(--window-light);
  border-left: 3px solid var(--window-light);
  border-right: 3px solid var(--window-dark);
  border-bottom: 3px solid var(--window-dark);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
  text-align: left;
}

.archive-close-button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 20px;
  padding: 0;
  color: #000;
  background: var(--window-bg);
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  font:
    700 15px/1 "Times New Roman",
    serif;
  cursor: pointer;
}

.archive-viewer-body {
  padding: 12px;
  font-family: "Courier New", monospace;
}

.archive-viewer-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: #000;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.archive-viewer-media video,
.archive-viewer-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.archive-viewer-body > p {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.45;
}

.archive-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-viewer-actions a,
.archive-viewer-actions button {
  padding: 5px 9px;
  color: #000080;
  background: var(--window-bg);
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  font:
    700 11px/1.2 "Courier New",
    monospace;
  text-decoration: none;
  cursor: pointer;
}

.archive-media-missing {
  color: #39ff14;
}

/* Archive playback and generated video-frame thumbnails */
.archive-thumbnail-video {
  pointer-events: none;
}

.archive-video-wrapper {
  width: 100%;
}

.archive-video-wrapper video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.archive-video-error {
  margin: 0;
  padding: 10px;
  color: #39ff14;
  background: #000;
  font:
    700 11px/1.4 "Courier New",
    monospace;
  text-align: center;
  text-transform: lowercase;
}

.archive-video-error[hidden] {
  display: none !important;
}

/* =========================================================
   98.CSS INTEGRATION
   98.css supplies the authentic Windows 98 chrome. These rules
   preserve the quench layout, media sizing, and responsive shell.
   ========================================================= */

body,
button,
input,
select,
textarea,
.window,
.title-bar,
.window-body,
.status-bar {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  -webkit-font-smoothing: none;
}

body {
  font-size: 12px;
  font-weight: 400 !important;
}

/* Preserve 98.css's authentic raised outer + inner window frame.
   Do not zero out box-shadow here: 98.css builds the entire 3D frame with it. */
.geo-box,
.player-window,
.transmission-screen,
.downloads-window,
.archive-window,
.archive-viewer-window,
.page-panel {
  background: silver;
  border: 0;
  color: #222;
  font-weight: 400 !important;
}

.geo-box.window,
.player-window.window,
.transmission-screen.window,
.downloads-window.window,
.archive-window.window,
.archive-viewer-window.window,
.page-panel.window {
  padding: 3px;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #dfdfdf,
    inset -2px -2px grey,
    inset 2px 2px #fff;
}

/* Keep custom class names for sizing hooks, but let the shared
   .title-bar class from 98.css provide the actual title-bar geometry. */
.window-titlebar,
.transmission-window-title,
.geo-box-title,
.archive-titlebar,
.archive-viewer-titlebar {
  color: #fff;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  font-size: 11px;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: none;
}

.title-bar-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 98.css window bodies use an 8px margin. Custom content controls padding. */
.geo-box .window-body,
.downloads-window .window-body,
.archive-window .window-body,
.archive-viewer-window .window-body {
  margin: 0;
}

.geo-box-body {
  padding: 7px;
  font-size: 11px;
  line-height: 1.35;
}

/* Main content panels should still fill their grid column. */
.page-panel.window {
  width: 100%;
}

.page-panel.window > *:first-child {
  margin-top: 8px;
}

/* Authentic 98 controls. */
.transmission-mute-btn,
.transport button,
.archive-viewer-actions button,
.archive-viewer-actions a,
.downloads-list a[download] {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  font-weight: 400 !important;
}

.transmission-mute-btn {
  min-width: 20px;
  width: 20px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  font-size: 9px;
}

/* Sunken fields, now using the classic inset treatment. */
.transmission-media-wrap,
.archive-grid,
#visualizer,
.archive-viewer-media,
.archive-node,
.signal-strength {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  border: 0;
}

.archive-grid {
  background: #fff;
}

/* Windows 98 text behavior inside panels. */
.geo-sidebar,
.downloads-window,
.transmission-screen,
.archive-window,
.contact-card,
.quench-page,
.quench-page *,
.quench-page a {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  font-weight: 400 !important;
}

.geo-box-title,
.meta-label,
.downloads-header-row,
.file-name-row h2,
.quench-intro h2,
.quench-block h3,
.transmission-text strong {
  font-weight: 700 !important;
}

.geo-mini-links a,
.geo-box-body a,
.downloads-list a,
.downloads-pages a,
.geo-panel-link,
.geo-social-link {
  font-weight: 400 !important;
}

.title-card,
.nav-links,
.footer,
.clock,
.counter {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
}

.site-header h1 {
  font-weight: 700 !important;
}

.nav-links {
  font-weight: 400 !important;
}

/* Convert the release cards into inset Explorer-like rows. */
.transmission-card {
  color: #000080;
  background: #fff;
  border: 0;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.transmission-card:hover {
  background: navy;
  color: #fff;
}

.transmission-card:hover .transmission-text em {
  color: #fff;
}

/* 98.css buttons should remain compact inside archive rows. */
.archive-film-links button,
.archive-film-links a,
.archive-film-title {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
}

.archive-viewer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  min-height: 23px;
  padding: 0 12px;
  color: #222;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #fff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
  text-decoration: none;
}

.archive-viewer-actions a:active {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
  padding: 2px 11px 0 13px;
}

/* Shared wrapper generated by layout.js. */
.site-scale-stage {
  position: relative;
  width: 100%;
}

/* =========================================================
   DOWNLOAD FILE VIEWER
   ========================================================= */

.download-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  white-space: nowrap;
}

.download-view-button {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  color: #000080;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.download-view-button:hover,
.download-view-button:focus-visible,
.download-actions a:hover,
.download-actions a:focus-visible {
  color: #f00;
}

.download-view-button:disabled {
  color: #777;
  cursor: default;
}

.download-viewer-open {
  overflow: hidden;
}

.download-viewer[hidden] {
  display: none !important;
}

.download-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.download-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.download-viewer-window {
  position: relative;
  z-index: 1;
  width: min(820px, 94vw);
  max-height: 92vh;
  padding: 3px;
  overflow: auto;
  color: #222;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #dfdfdf,
    inset -2px -2px grey,
    inset 2px 2px #fff,
    8px 8px 0 rgba(0, 0, 0, 0.6);
  text-align: left;
}

.download-viewer-body {
  margin: 0;
  padding: 12px;
}

.download-viewer-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 320px;
  max-height: 68vh;
  overflow: auto;
  padding: 8px;
  background: #000;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.download-preview-image,
.download-preview-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  background: #000;
}

.download-preview-video {
  width: 100%;
}

.download-preview-audio-wrap {
  position: relative;
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto;
  width: 100%;
  min-height: 390px;
  align-self: stretch;
  overflow: hidden;
  background: #000;
}

.download-preview-audio-display {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 24px 20px 12px;
}

.download-preview-audio-icon {
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-size: 84px;
  line-height: 1;
  text-shadow: 3px 3px 0 #075f00;
}

.download-preview-audio-name {
  max-width: 90%;
  overflow-wrap: anywhere;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-align: center;
  text-transform: lowercase;
}

.download-preview-audio-dock {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 8px 10px 10px;
  background: #000;
  border-top: 1px solid #165f12;
}

.download-audio-visualizer {
  display: block;
  width: 100%;
  height: 92px;
  background: #000;
  border: 1px solid #164f12;
  image-rendering: pixelated;
}

.download-audio-visualizer.visualizer-unavailable {
  opacity: 0.35;
}

.download-preview-audio {
  display: block;
  width: 100%;
  min-height: 40px;
}

.download-preview-pdf {
  display: block;
  width: 100%;
  min-height: 62vh;
  border: 0;
  background: #fff;
}

.download-preview-unsupported {
  padding: 28px;
  color: #39ff14;
  font-family: "Courier New", monospace;
  text-align: center;
  text-transform: lowercase;
}

.download-preview-unsupported p {
  margin-bottom: 0;
}

.download-viewer-info {
  display: flex;
  gap: 8px;
  margin: 10px 0;
  padding: 7px 8px;
  overflow-wrap: anywhere;
  background: #fff;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.download-viewer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.download-viewer-actions a,
.download-viewer-actions button {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  font-weight: 400 !important;
}

.download-viewer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  min-height: 23px;
  padding: 0 12px;
  color: #222;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #fff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
  text-decoration: none;
}

.download-viewer-actions a:active {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
}

/* Keep the reactive spectrum and native audio controls docked to the bottom. */
.download-viewer-media:has(.download-preview-audio-wrap) {
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

/* =========================================================
   CLEAN MONOCHROME AUDIO VIEWER
   Matches the compact first mockup: white on black, no green,
   no bordered visualizer panel, custom flat playback controls.
   ========================================================= */

.download-viewer-window:has(.download-preview-audio-wrap) {
  width: min(700px, 92vw);
}

.download-viewer-media:has(.download-preview-audio-wrap) {
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #050505;
}

.download-preview-audio-wrap {
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  width: 100%;
  min-height: 430px;
  color: #f4f4f4;
  background: #050505;
}

.download-preview-audio-display {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 210px;
  padding: 28px 20px 18px;
}

.download-preview-audio-icon {
  color: #f4f4f4;
  font-family: "Courier New", monospace;
  font-size: 30px;
  line-height: 1;
  text-shadow: none;
}

.download-preview-audio-name {
  max-width: 90%;
  color: #f4f4f4;
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

.download-preview-audio-meta {
  display: grid;
  grid-template-columns: auto auto;
  gap: 5px 14px;
  margin-top: 2px;
  color: #f4f4f4;
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1.25;
}

.download-preview-audio-meta span {
  text-align: right;
}

.download-preview-audio-meta strong {
  font-weight: 400;
  text-align: left;
}

.download-preview-audio-dock {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0 18px 14px;
  background: #050505;
  border: 0;
}

.download-audio-visualizer {
  display: block;
  width: 100%;
  height: 74px;
  background: transparent;
  border: 0;
  image-rendering: pixelated;
}

.download-audio-controls {
  display: grid;
  grid-template-columns: 24px auto minmax(90px, 1fr) 30px;
  gap: 10px;
  align-items: center;
  min-height: 28px;
  color: #f4f4f4;
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.download-audio-controls button {
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  color: #f4f4f4;
  background: transparent;
  box-shadow: none;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.download-audio-play {
  font-size: 15px !important;
}

.download-audio-volume {
  font-size: 12px !important;
  letter-spacing: -2px;
}

.download-audio-time {
  white-space: nowrap;
}

.download-audio-seek {
  width: 100%;
  height: 12px;
  margin: 0;
  padding: 0;
  accent-color: #f4f4f4;
  background: transparent;
}

.download-audio-seek::-webkit-slider-runnable-track {
  height: 2px;
  background: #aaa;
}

.download-audio-seek::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  -webkit-appearance: none;
}

.download-audio-seek::-moz-range-track {
  height: 2px;
  background: #aaa;
}

.download-audio-seek::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
}

.download-preview-audio {
  display: none;
}

/* =========================================================
   HOMEPAGE FEATURED AUDIO DOWNLOAD
   Uses the downloads-page audio-player controls in a compact 500px window.
   ========================================================= */
.featured-download-window {
  width: 100%;
  max-width: 500px;
  margin-top: 16px;
  color: #000;
  background: var(--window-bg);
  text-align: left;
}

.featured-download-body {
  padding: 10px;
}

.featured-download-info {
  margin-bottom: 8px;
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.featured-download-info > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
}

.featured-download-info strong {
  overflow-wrap: anywhere;
  text-transform: none;
}

.featured-download-info p {
  margin: 7px 0 0;
  line-height: 1.35;
}

.featured-audio-wrap.download-preview-audio-wrap {
  grid-template-rows: 96px auto;
  min-height: 0;
  border: 1px solid #000;
}

.featured-audio-display.download-preview-audio-display {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  place-items: center start;
  align-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 12px 14px 8px;
}

.featured-audio-display .download-preview-audio-icon {
  font-size: 28px;
}

.featured-audio-display .download-preview-audio-name {
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}

.featured-audio-display .download-preview-audio-meta {
  margin: 0;
  font-size: 9px;
  gap: 3px 8px;
}

.featured-audio-wrap .download-preview-audio-dock {
  padding: 0 12px 10px;
}

.featured-audio-wrap .download-audio-visualizer {
  height: 54px;
}

.featured-audio-wrap .download-audio-controls {
  grid-template-columns: 22px auto minmax(70px, 1fr) 28px;
  gap: 8px;
  font-size: 10px;
}

.featured-download-actions {
  margin-top: 8px;
  font:
    700 10px/1.2 "Courier New",
    monospace;
  text-align: right;
}

.featured-download-link,
.featured-download-link:visited {
  color: #000080;
}

.featured-download-missing .featured-audio-wrap {
  opacity: 0.45;
}

/* =========================================================
   2026-08-03 HOMEPAGE / SHARED-SHELL REDESIGN
   Wide three-column GeoCities layout from the approved mockup.
   ========================================================= */

:root {
  --desktop-site-width: 1124px;
  --sidebar-left-width: 130px;
  --main-column-width: 684px;
  --sidebar-right-width: 134px;
}

body {
  min-width: 0;
  padding: 0 0 18px;
  background-color: #858585;
  background-image: var(--site-background-image);
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  background-attachment: fixed;
}

.page {
  width: var(--desktop-site-width);
  min-width: var(--desktop-site-width);
  min-height: 0;
  margin: 8px auto 0;
  padding: 27px 38px 9px;
  background: transparent;
  border: 0;
}

.site-header {
  display: grid;
  grid-template-columns:
    var(--sidebar-left-width)
    56px
    var(--main-column-width)
    44px
    var(--sidebar-right-width);
  gap: 0;
  align-items: start;
  justify-content: start;
  text-align: left;
}

.header-visitor {
  grid-column: 1;
}

.title-card {
  grid-column: 3;
}

.header-status-stack {
  grid-column: 5;
  transform: none;
}

.header-visitor,
.clock,
.header-signal {
  color: var(--green);
  background: #000;
  font-family: "Courier New", monospace !important;
  text-shadow: 0 0 5px rgba(38, 255, 0, 0.28);
}

.header-visitor {
  width: var(--sidebar-left-width);
  min-height: 66px;
  padding: 8px 9px 7px;
  border: 3px ridge #c0c0c0;
  box-shadow:
    1px 1px 0 #fff,
    3px 3px 0 #303030;
  text-align: left;
}

.header-visitor > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.header-visitor .counter {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.title-card {
  justify-self: center;
  width: 560px;
  min-width: 560px;
  min-height: 126px;
  margin-top: -14px;
  padding: 8px 24px 10px;
  text-align: center;
  background-position: center 45%;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.48);
}

.site-header h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: 0.045em;
}

.site-header p {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.015em;
  text-align: center;
}

.header-status-stack {
  width: var(--sidebar-right-width);
}

.clock {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 65px;
  margin: 0;
  padding: 8px 9px 7px;
  border: 3px ridge #c0c0c0;
  box-shadow:
    1px 1px 0 #fff,
    3px 3px 0 #303030;
  font-size: 12px;
  line-height: 1.05;
  text-align: left;
  white-space: nowrap;
}

.clock span {
  display: block;
}

.header-signal {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  width: 100%;
  min-height: 31px;
  margin-top: 8px;
  padding: 5px 7px;
  border: 3px ridge #c0c0c0;
  box-shadow:
    1px 1px 0 #fff,
    3px 3px 0 #303030;
  font-size: 10px;
  line-height: 1;
}

.header-signal span {
  font-size: 10px;
}

.header-signal strong {
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 13px 0 22px;
  font-family: "Courier New", monospace !important;
  font-size: 16px;
  font-weight: 700 !important;
}

.nav-links a,
.nav-links a:visited {
  color: #000000;
  font-weight: 700 !important;
}

.nav-links a[href="contact.html"],
.nav-links a[href="contact.html"]:visited {
  color: #0000ee;
}

.nav-links a.active,
.nav-links a.active:visited {
  color: #f00;
}

.nav-separator {
  color: #000;
  font-size: 14px;
  line-height: 1;
}

.home-geo-layout,
.site-geo-layout {
  grid-template-columns:
    var(--sidebar-left-width)
    56px
    var(--main-column-width)
    44px
    var(--sidebar-right-width);
  gap: 0;
  width: 100%;
  margin: 0 auto 18px;
  justify-content: start;
}

.geo-sidebar-left {
  grid-column: 1;
}

.site-main-column {
  grid-column: 3;
}

.geo-sidebar-right {
  grid-column: 5;
}

.geo-sidebar {
  gap: 10px;
  margin-top: -43px;
}

.geo-box-body {
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.35;
}

.geo-box-title,
.window-titlebar,
.transmission-window-title {
  font-size: 11px;
}

.geo-sidebar-left > .geo-box:first-child .geo-box-body p + p {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted #555;
}

.geo-sidebar-left > .geo-box:first-child .geo-box-body {
  padding-bottom: 10px;
}

.geo-now-playing {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}

.geo-now-playing-gif {
  width: 48px;
  height: 48px;
}

.geo-now-playing-box .geo-box-body {
  padding-bottom: 8px;
}

.geo-now-playing-copy,
.geo-now-playing-copy strong {
  font-size: 11px;
}

.geo-panel-link {
  font-size: 10px;
}

.geo-covers-image-frame {
  width: 132px;
  height: 68px;
}

.geo-covers-link,
.geo-journals-link {
  font-size: 11px;
}

.geo-social-links {
  gap: 5px;
}

.geo-streaming-box .geo-social-links {
  gap: 7px;
}

.geo-socials-box .geo-social-links {
  gap: 3px;
}

.geo-sidebar-right > .geo-box:first-child .geo-box-body {
  padding-top: 8px;
  padding-bottom: 8px;
}

.geo-sidebar-right > .geo-box:nth-child(2) .geo-box-body,
.geo-status-gif-box .geo-box-body {
  padding-top: 7px;
  padding-bottom: 7px;
}

.geo-social-link {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  font-size: 11px;
}

.geo-status-gif {
  width: 100px;
  height: 54px;
}

.geo-gif-message {
  font-size: 10px;
}

.geo-journals-image {
  width: 118px;
  height: 50px;
}

.geo-journals-link {
  padding-top: 8px;
  padding-bottom: 8px;
}

.geo-counter {
  margin-bottom: 0;
  font-size: 18px;
}

.site-main-column > .window,
.transmission-screen,
.featured-download-window,
.journals-window {
  width: 100%;
  max-width: 684px;
}

.transmission-media-wrap {
  aspect-ratio: 7 / 3;
  margin: 9px 10px;
}

.transmission-window-title {
  min-height: 21px;
}

.transmission-copy {
  padding: 0 12px 3px;
}

.file-name-row {
  margin-bottom: 10px;
}

.file-name-row h2 {
  font-size: 21px;
}

.archive-item,
.signal-strength,
.transmission-copy p,
.transmission-description p {
  font-size: 11px;
}

.featured-download-window {
  margin-top: 14px;
}

.footer {
  margin-top: 33px;
  padding: 0 0 4px;
  font-family: "Courier New", monospace !important;
  font-size: 14px;
}

.footer-divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin-bottom: 12px;
  background: #000;
}

.footer-divider::before,
.footer-divider::after {
  content: "◆";
  position: absolute;
  top: 50%;
  color: #000;
  font-size: 14px;
  transform: translateY(-50%);
}

.footer-divider::before {
  left: -5px;
}

.footer-divider::after {
  right: -5px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.footer-links a,
.footer-links a:visited {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #6b238e;
  font-weight: 700;
}

.footer-links img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-separator {
  color: #000;
  font-size: 14px;
}

.legacy-footer {
  margin: 0 0 18px;
  text-align: center;
}

.legacy-footer .counter {
  margin-bottom: 10px;
}

/* =========================================================
   MUSIC ARCHIVE — single-tab release accordion
   ========================================================= */

.music-archive-window {
  width: 100%;
  max-width: 684px;
  padding: 3px;
  color: #222;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #dfdfdf,
    inset -2px -2px grey,
    inset 2px 2px #fff;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  text-align: left;
}

.music-archive-titlebar {
  min-height: 21px;
}

.music-archive-titlebar .title-bar-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.music-archive-body {
  margin: 8px;
}

.music-tabs {
  display: flex;
  align-items: end;
  position: relative;
  z-index: 1;
  margin: 0 0 -2px 8px;
}

.music-tab {
  position: relative;
  min-width: 92px;
  min-height: 30px;
  padding: 3px 18px 2px;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  font-size: 11px;
  font-weight: 700;
  border: 0;
}

.music-tab.is-active {
  z-index: 2;
  min-height: 32px;
  padding-bottom: 4px;
  box-shadow:
    inset -1px 0 #0a0a0a,
    inset 1px 1px #fff,
    inset -2px 0 grey,
    inset 2px 2px #dfdfdf;
}

.music-release-list {
  display: grid;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 12px;
  background: silver;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.music-release {
  padding: 0;
  background: #f4f4f4;
  border-bottom: 1px solid grey;
}

.music-release:first-child {
  border-top: 1px solid grey;
}

.music-release-toggle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 8px 10px;
  color: #222;
  background: #f4f4f4;
  border: 0;
  box-shadow: none;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  text-align: left;
}

.music-release-toggle:focus {
  outline: 1px dotted #000;
  outline-offset: -5px;
}

.music-release-toggle:hover,
.music-release-toggle[aria-expanded="true"] {
  background: #e8e8e8;
}

.music-release-cover {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: silver;
  border: 1px solid #222;
}

.music-release-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.music-release-copy strong {
  overflow: hidden;
  color: #0000ee;
  font-size: 14px;
  line-height: 1;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-release-copy > span {
  font-size: 11px;
  line-height: 1.2;
}

.music-release-arrow {
  font-family: Arial, sans-serif;
  font-size: 18px;
  text-align: center;
}

.music-release-dropdown {
  margin: 0 12px 12px;
  padding: 11px 12px 12px;
  background: silver;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.music-release-dropdown[hidden] {
  display: none;
}

.music-release-dropdown-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}

.music-release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
}

.music-release-links a,
.music-release-links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0000ee;
  font-size: 11px;
}

.music-release-links .link-icon {
  width: 20px;
  height: 20px;
}

.music-archive-status {
  margin: 0 3px 3px;
}

.music-archive-status .status-bar-field {
  min-height: 20px;
  margin: 0;
  padding: 3px 6px;
  font-size: 11px;
}

/* =========================================================
   CONTACT — compact Windows 98 information window
   ========================================================= */

.contact-window {
  width: 100%;
  max-width: 684px;
  padding: 3px;
  color: #222;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #dfdfdf,
    inset -2px -2px grey,
    inset 2px 2px #fff;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif !important;
  text-align: left;
}

.contact-titlebar {
  min-height: 21px;
}

.contact-titlebar .title-bar-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-title-icon {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.contact-window-body {
  margin: 8px;
}

.contact-inset {
  padding: 17px 20px 18px;
  background: silver;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

.contact-inset p {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.contact-inset .contact-email {
  margin-top: 15px;
}

.contact-email a,
.contact-email a:visited {
  color: #0000ee;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}
