/*
  relOS classic theme
  Early-2000s personal homepage + Windows 98/XP-ish desktop styling.
  This file intentionally sits after styles.css so the newer functionality
  can stay while the visual language returns to the original site.
*/

:root {
  --retro-silver: #c0c0c0;
  --retro-light: #ffffff;
  --retro-mid: #dfdfdf;
  --retro-shadow: #808080;
  --retro-dark: #202020;
  --retro-blue: #2356a8;
  --retro-cyan: #23d4df;
  --retro-purple: #6530a5;
  --retro-pink: #ffb0c8;
  --retro-green: #00c96b;
  --retro-red: #bf2f45;
  --retro-yellow: #fff0a0;
  --topbar-h: 34px;
  --taskbar-h: 36px;
  --radius: 0px;
  --sans: Tahoma, Verdana, Arial, sans-serif;
  --mono: "Courier New", Consolas, monospace;
}

html,
body {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: #000;
  background: #5636a8;
}

body {
  background:
    radial-gradient(circle at 12% 2%, rgba(68, 214, 218, 0.92) 0, rgba(68, 149, 199, 0.86) 27%, rgba(84, 70, 177, 0.9) 59%, rgba(113, 43, 152, 0.96) 100%),
    #5636a8;
}

button,
input {
  font-family: Tahoma, Verdana, Arial, sans-serif;
}

a {
  color: #0000cc;
  text-decoration: underline;
  text-underline-offset: 1px;
}

a:hover {
  color: #cc0033;
}

::selection {
  color: #fff;
  background: #000080;
}

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: #dfdfdf;
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
}

.noscript {
  color: #000;
  background: #c0c0c0;
  font-family: Tahoma, sans-serif;
}

/* classic raised / pressed controls */
.button,
.window-control,
.start-button,
.quick-button,
.taskbar-button,
.tray-item,
.taskbar-clock,
.start-item,
.start-actions button,
.topbar-chip,
.round-control {
  border: 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  border-radius: 0;
  color: #000;
  background: #c0c0c0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}

.button:hover,
.window-control:hover,
.start-button:hover,
.quick-button:hover,
.taskbar-button:hover,
.tray-item:hover,
.taskbar-clock:hover,
.start-item:hover,
.start-actions button:hover,
.topbar-chip:hover,
.round-control:hover {
  color: #000;
  background: #d5d5d5;
  box-shadow: none;
  transform: none;
}

.button:active,
.window-control:active,
.start-button:active,
.quick-button:active,
.taskbar-button:active,
.tray-item:active,
.taskbar-clock:active,
.start-item:active,
.start-actions button:active,
.topbar-chip:active,
.round-control:active,
.taskbar-button.is-active {
  border-top-color: #555;
  border-left-color: #555;
  border-right-color: #fff;
  border-bottom-color: #fff;
  padding-top: 1px;
  padding-left: 1px;
}

.button:focus-visible,
.window-control:focus-visible,
.start-button:focus-visible,
.quick-button:focus-visible,
.taskbar-button:focus-visible,
.tray-item:focus-visible,
.start-item:focus-visible,
.desktop-icon:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -4px;
}

.button-primary {
  color: #000;
  background: #c0c0c0;
}

.button-primary:hover {
  color: #000;
  background: #d5d5d5;
}

/* boot screen: closer to an old setup / BIOS utility */
.boot-screen {
  background: #000080;
  padding: 24px;
  font-family: "Courier New", monospace;
}

.boot-screen::before,
.boot-noise,
.scanlines,
.wallpaper-grid,
.wallpaper-glow {
  display: none;
}

.boot-panel {
  width: min(700px, 100%);
  min-height: 430px;
  padding: 4px;
  color: #000;
  background: #c0c0c0;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-right: 3px solid #202020;
  border-bottom: 3px solid #202020;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.38);
}

.boot-panel::after {
  content: none;
}

.boot-brand {
  min-height: 44px;
  gap: 9px;
  padding: 6px 8px;
  color: #fff;
  background: linear-gradient(90deg, #000080 0%, #316ac5 70%, #93b8e8 100%);
}

.boot-mark {
  width: 30px;
  height: 30px;
  clip-path: none;
  border: 1px solid #fff;
  color: #fff;
  background: #249e9a;
  font: bold 20px Georgia, serif;
  text-shadow: 1px 1px #000;
}

.boot-brand strong {
  color: #fff;
  font: bold 18px Tahoma, sans-serif;
  letter-spacing: 0;
  text-shadow: 1px 1px #000;
}

.boot-brand span {
  margin-top: 1px;
  color: #e5edff;
  font: 10px Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.boot-rule {
  height: 0;
  margin: 0;
}

.boot-log {
  min-height: 300px;
  margin: 10px;
  padding: 10px;
  color: #c5ffc8;
  background: #000;
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  font: 13px/1.55 "Courier New", monospace;
}

.boot-log .ok {
  color: #62ff78;
}

.boot-progress {
  height: 18px;
  margin: 0 10px 8px;
  padding: 2px;
  background: #fff;
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.boot-progress span {
  background: repeating-linear-gradient(90deg, #000080 0 13px, #c0c0c0 13px 15px);
  box-shadow: none;
}

.boot-actions {
  padding: 0 10px 10px;
  color: #222;
  font: 11px Tahoma, sans-serif;
}

.boot-actions .button {
  min-width: 118px;
  min-height: 28px;
  padding: 2px 14px;
  font-weight: bold;
}

/* shell and desktop */
.desktop-shell {
  background: transparent;
}

.topbar {
  height: var(--topbar-h);
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid #1ee0ec;
  color: #c8fff7;
  background: linear-gradient(90deg, #000 0%, #092b30 48%, #143f3f 100%);
  box-shadow: none;
  font-family: "Comic Sans MS", Tahoma, sans-serif;
}

.topbar-brand {
  gap: 7px;
  height: 100%;
  padding: 0;
  border: 0;
  color: #d3fff8;
  background: transparent;
  font-family: "Comic Sans MS", Tahoma, sans-serif;
  font-size: 15px;
  text-shadow: 0 0 5px rgba(255,255,255,.45);
}

.topbar-brand:hover {
  color: #fff;
  background: transparent;
}

.status-orb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #00ff73;
  box-shadow: 0 0 8px #00ff73;
}

.topbar-divider {
  color: #6adbd7;
}

.topbar-center {
  gap: 7px;
  color: #c7f8f0;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
}

.uplink-state {
  color: #aaffb4;
  text-transform: lowercase;
}

.topbar-right {
  gap: 9px;
}

.topbar-chip {
  min-height: 20px;
  padding: 0 7px;
  font-size: 9px;
  text-transform: uppercase;
}

.topbar-clock {
  color: #cffdf8;
  font: 11px Tahoma, sans-serif;
}

.desktop {
  height: calc(100% - var(--topbar-h) - var(--taskbar-h));
  overflow: hidden;
  background:
    radial-gradient(circle at 8% -15%, rgba(68, 214, 218, 0.95) 0%, rgba(66, 140, 193, 0.86) 30%, rgba(78, 74, 180, 0.92) 60%, rgba(107, 43, 151, 0.96) 100%);
}

/* desktop icon area */
.desktop-icons {
  position: absolute;
  inset: 18px auto auto 17px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, 88px);
  grid-auto-rows: 92px;
  gap: 8px 13px;
  width: 190px;
  pointer-events: auto;
}

.desktop-icon {
  position: relative;
  inset: auto !important;
  width: 88px;
  min-height: 86px;
  padding: 3px 2px;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font: 12px/1.08 "Comic Sans MS", Tahoma, sans-serif;
  text-shadow: 1px 1px #000;
  transform: none !important;
}

.desktop-icon:hover,
.desktop-icon.is-selected {
  border: 1px dotted rgba(255,255,255,.95);
  color: #fff;
  background: rgba(0, 0, 128, .32);
  box-shadow: none;
}

.desktop-icon > span:last-child {
  max-width: 88px;
  overflow-wrap: anywhere;
}

.icon-frame {
  width: 48px;
  height: 48px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  border-radius: 0;
  color: inherit;
  background: linear-gradient(135deg, #151515, #000);
  box-shadow: none;
}

.icon-frame::before,
.icon-frame::after {
  content: none;
}

.icon-frame svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.icon-cyan svg { stroke: #7fffe5; }
.icon-green svg { stroke: #58ff67; }
.icon-blue svg { stroke: #8ed9ff; }
.icon-amber svg { stroke: #ffd45d; }
.icon-purple svg { stroke: #a98cff; }
.icon-red svg { stroke: #ff8585; }

/* homepage widget: now a small personal-homepage panel, not a marketing hero */
.desktop-hero {
  position: absolute;
  top: 68px;
  left: 242px;
  z-index: 2;
  width: 520px;
  max-width: calc(100vw - 500px);
  min-height: 285px;
  padding: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #4b4b4b;
  border-bottom: 2px solid #4b4b4b;
  color: #000;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 rgba(0,0,0,.45);
}

.desktop-hero::before {
  content: "Welcome to reltech.click!";
  display: block;
  margin: 0 0 12px;
  padding: 5px 7px;
  color: #000;
  background: linear-gradient(90deg, #ffb5c5 0%, #62b5df 52%, #2461a8 100%);
  font: bold 14px Tahoma, sans-serif;
  text-shadow: 1px 1px rgba(255,255,255,.55);
}

.hero-kicker {
  display: block;
  margin: 2px 8px 7px;
  color: #4b236f;
  font: bold 10px Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: #00c96b;
  box-shadow: 0 0 4px rgba(0,201,107,.7);
}

.desktop-hero h1 {
  margin: 0 8px 6px;
  color: #362060;
  font: bold 36px/1.05 "Comic Sans MS", Tahoma, sans-serif;
  letter-spacing: -1px;
  text-transform: none;
  text-shadow: 2px 2px #fff;
}

.desktop-hero h1 em {
  color: inherit;
  font-style: normal;
}

.desktop-hero > p {
  max-width: none;
  margin: 8px;
  color: #222;
  font: 13px/1.45 Verdana, sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 8px 10px;
}

.hero-actions .button {
  min-height: 28px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: bold;
}

.hero-system-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 8px 7px;
  padding: 7px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  color: #333;
  background: #e9e9e9;
  font: 10px/1.4 "Courier New", monospace;
}

.hero-system-line b {
  color: #000080;
}

/* old-school desktop widget */
.desktop-monitor {
  position: absolute;
  right: 22px;
  bottom: 28px;
  z-index: 3;
  width: 285px;
  padding: 5px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #4b4b4b;
  border-bottom: 2px solid #4b4b4b;
  border-radius: 0;
  color: #000;
  background: #c0c0c0;
  box-shadow: 4px 4px 0 rgba(0,0,0,.4);
}

.monitor-header {
  margin: 0 0 5px;
  padding: 4px 6px;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  font: bold 11px Tahoma, sans-serif;
  letter-spacing: 0;
}

.blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff73;
  box-shadow: 0 0 5px #00ff73;
}

.monitor-row {
  margin: 0 3px;
  padding: 5px 4px;
  border-bottom: 1px dotted #777;
  color: #222;
  font: 11px Tahoma, sans-serif;
}

.monitor-row strong {
  color: #000080;
  font-family: "Courier New", monospace;
}

.monitor-bars {
  height: 29px;
  margin: 7px 4px 4px;
  padding: 3px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #000;
}

.monitor-bars i {
  background: #19db72;
  border: 0;
}

.desktop-monitor > p {
  margin: 5px 4px 2px;
  color: #555;
  font: 9px/1.35 "Courier New", monospace;
}

/* application windows */
.window {
  min-width: 280px;
  max-width: 94vw;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  border-radius: 0;
  color: #000;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 rgba(0,0,0,.5);
  font-family: Tahoma, Verdana, sans-serif;
}

.window.is-focused {
  box-shadow: 6px 6px 0 rgba(0,0,0,.55);
}

.window.is-maximized {
  border-radius: 0;
}

.titlebar {
  height: 30px;
  min-height: 30px;
  padding: 2px 3px 2px 6px;
  border: 0;
  border-radius: 0;
  color: #000;
  background: linear-gradient(90deg, #ffb4c4 0%, #74b3df 52%, #1c64a6 100%);
  font: bold 13px Tahoma, sans-serif;
  text-shadow: 1px 1px rgba(255,255,255,.45);
}

.window:not(.is-focused) .titlebar {
  color: #444;
  background: linear-gradient(90deg, #d9bfc7, #a5b4c2);
}

.danger-titlebar {
  color: #fff;
  background: linear-gradient(90deg, #7b0000, #e03b3b);
  text-shadow: 1px 1px #000;
}

.titlebar-title {
  gap: 5px;
  min-width: 0;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.window-app-dot {
  width: 11px;
  height: 11px;
  border: 1px solid #222;
  border-radius: 0;
  background: #d9ff7b;
  box-shadow: inset 1px 1px #fff;
}

.window-controls {
  gap: 3px;
}

.window-control {
  width: 21px;
  height: 20px;
  min-width: 21px;
  padding: 0;
  color: #000;
  font: bold 11px/16px Arial, sans-serif;
}

.window-body {
  height: calc(100% - 28px);
  padding: 12px;
  overflow: auto;
  color: #000;
  background: #c0c0c0;
  font: 13px/1.43 Tahoma, Verdana, sans-serif;
}

.window-body h2,
.window-body h3,
.window-body p {
  color: #000;
}

.window-body h2 {
  font-family: "Comic Sans MS", Tahoma, sans-serif;
  letter-spacing: 0;
}

.window-body code {
  padding: 1px 3px;
  border: 1px solid #888;
  border-radius: 0;
  color: #004d00;
  background: #f4f4f4;
  font-family: "Courier New", monospace;
}

.window-resize {
  right: 2px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  opacity: .75;
  background:
    linear-gradient(135deg, transparent 0 40%, #777 41% 47%, transparent 48% 57%, #777 58% 64%, transparent 65% 74%, #777 75% 81%, transparent 82%);
}

.window-footnote {
  color: #555;
  font: 10px/1.4 "Courier New", monospace;
}

.eyebrow,
.panel-label,
.playlist-header,
.start-section-label {
  color: #000080;
  font: bold 10px Tahoma, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* About */
.about-layout {
  display: block;
}

.profile-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: #efefef;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border: 2px outset #ddd;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #6431a8, #1a98a3);
  box-shadow: none;
  font: bold 36px Georgia, serif;
  text-shadow: 2px 2px #000;
}

.profile-avatar::before,
.profile-avatar::after {
  content: none;
}

.profile-card h2 {
  margin: 3px 0 4px;
  color: #542782;
  font-size: 26px;
}

.profile-card p {
  margin: 0;
  color: #222;
}

.copy-block {
  margin: 10px 2px;
  padding: 0 6px;
  color: #111;
}

.copy-block p {
  margin: 7px 0;
}

.split-panels {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 10px;
}

.inset-panel {
  padding: 9px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  color: #000;
  background: #e9e9e9;
}

.terminal-list {
  margin: 7px 0 0;
  padding-left: 18px;
  color: #222;
  font: 11px/1.5 Tahoma, sans-serif;
}

.terminal-list li::marker {
  color: #4f2b91;
}

.compact-stats > div {
  padding: 6px 2px;
  border-color: #aaa;
}

.compact-stats span {
  color: #555;
}

.compact-stats strong {
  color: #000080;
}

/* section headings */
.section-heading {
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #666;
}

.section-heading h2 {
  margin: 2px 0 0;
  color: #4f277f;
  font: bold 23px/1.1 "Comic Sans MS", Tahoma, sans-serif;
  letter-spacing: 0;
}

.count-badge,
.live-pill,
.tag-row span {
  display: inline-block;
  padding: 2px 5px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
  border-radius: 0;
  color: #000;
  background: #d8d8d8;
  font: bold 9px Tahoma, sans-serif;
  letter-spacing: 0;
}

.live-pill {
  color: #006b26;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.project-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  min-height: 134px;
  padding: 8px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  border-radius: 0;
  color: #000;
  background: #dedede;
  box-shadow: none;
  transform: none;
}

.project-card:hover {
  border-top-color: #777;
  border-left-color: #777;
  border-right-color: #fff;
  border-bottom-color: #fff;
  background: #ececec;
  box-shadow: none;
  transform: none;
}

.project-number {
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 0;
  color: #fff;
  background: #553299;
  font: bold 13px/30px "Courier New", monospace;
  text-align: center;
}

.project-card h3 {
  margin: 1px 0 5px;
  color: #000080;
  font: bold 14px Tahoma, sans-serif;
}

.project-card p {
  margin: 0 0 7px;
  color: #222;
  font-size: 11px;
  line-height: 1.4;
}

.tag-row {
  gap: 4px;
}

/* Archer status */
.status-banner {
  margin-bottom: 9px;
  padding: 8px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: #e7e7e7;
}

.status-banner h2 {
  margin: 3px 0 0;
  color: #4e267d;
  font-size: 22px;
}

.big-status-led {
  width: 18px;
  height: 18px;
  border: 2px inset #ddd;
  border-radius: 50%;
  background: #e7b33f;
  box-shadow: none;
}

.big-status-led.online {
  background: #00d964;
  box-shadow: 0 0 6px #00b34f;
}

.big-status-led.offline {
  background: #df3347;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.status-card {
  min-height: 56px;
  padding: 7px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  border-radius: 0;
  color: #000;
  background: #dcdcdc;
}

.status-card:hover {
  background: #e5e5e5;
}

.status-card > span,
.metric-card span {
  color: #555;
  font: bold 9px Tahoma, sans-serif;
  letter-spacing: 0;
}

.status-card strong {
  color: #000080;
  font: bold 12px "Courier New", monospace;
}

.meter {
  height: 14px;
  padding: 2px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: #fff;
}

.meter i {
  background: repeating-linear-gradient(90deg, #159447 0 8px, transparent 8px 10px);
  box-shadow: none;
}

/* Terminal */
.terminal-window .titlebar {
  color: #fff;
  background: linear-gradient(90deg, #114b18, #2f8a42);
  text-shadow: 1px 1px #000;
}

.terminal-shell {
  padding: 0;
  color: #baffb9;
  background: #050505;
}

.terminal-toolbar {
  min-height: 28px;
  padding: 4px 7px;
  border: 0;
  border-bottom: 1px solid #555;
  color: #d6d6d6;
  background: #2b2b2b;
  font: 10px Tahoma, sans-serif;
  letter-spacing: 0;
}

.terminal-output {
  color: #c8ffc9;
  background: #050505;
  font: 12px/1.45 "Courier New", monospace;
}

.terminal-form {
  min-height: 32px;
  padding: 4px 7px;
  border-top: 1px solid #555;
  color: #8aff8f;
  background: #111;
}

.terminal-prompt {
  color: #5dff65;
}

.terminal-input {
  color: #d5ffd8;
  background: transparent;
  caret-color: #fff;
  font: 12px "Courier New", monospace;
}

.terminal-accent {
  color: #8cff91;
}

.terminal-error {
  color: #ff8181;
}

/* Network */
.network-diagram {
  min-height: 420px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background:
    linear-gradient(rgba(0,0,128,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,128,.06) 1px, transparent 1px),
    #eee;
  background-size: 18px 18px;
}

.network-node {
  padding: 7px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  border-radius: 0;
  color: #000;
  background: #d7d7d7;
  box-shadow: 2px 2px 0 rgba(0,0,0,.22);
}

.network-node:hover {
  transform: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,.22);
}

.network-node > span {
  color: #6d3c91;
  font: bold 8px Tahoma, sans-serif;
  letter-spacing: 0;
}

.network-node strong {
  color: #000080;
  font: bold 12px Tahoma, sans-serif;
}

.network-node small,
.network-node i {
  color: #444;
}

.network-node.primary {
  color: #000;
  background: #e5ddff;
  border-color: #fff #666 #666 #fff;
}

/* Keep the topology readable at the default window size. */
.node-internet { top: 18px; left: calc(50% - 75px); }
.node-domain { top: 108px; left: calc(50% - 75px); }
.node-archer { top: 198px; left: calc(50% - 105px); }
.node-tera { left: 42px; bottom: 24px; }
.node-prom { right: 42px; bottom: 24px; }

.line-a { top: 82px; left: 50%; height: 26px; }
.line-b { top: 172px; left: 50%; height: 26px; }
.line-c { left: 116px; right: 116px; bottom: 98px; }
.line-d { top: 286px; bottom: 98px; left: 50%; }

.network-line {
  background: #4b2d92;
  box-shadow: none;
}

.network-legend {
  color: #444;
  font: 9px Tahoma, sans-serif;
}

.network-legend i {
  border-radius: 0;
  background: #4b2d92;
}

/* Devlog */
.devlog-body {
  background: #c0c0c0;
}

.log-entry {
  grid-template-columns: 92px 1fr;
  padding: 10px 4px;
  border-color: #999;
}

.log-entry time {
  color: #5b2b85;
  font: bold 10px "Courier New", monospace;
}

.log-entry h3 {
  margin: 0 0 4px;
  color: #000080;
  font: bold 13px Tahoma, sans-serif;
}

.log-entry p {
  color: #222;
  font-size: 11px;
}

/* Music player */
.music-player {
  grid-template-columns: 112px 1fr;
  gap: 10px;
  color: #000;
  background: #c0c0c0;
}

.album-art {
  width: 110px;
  height: 110px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #67339f, #2f9da0);
  box-shadow: none;
}

.album-grid {
  display: none;
}

.record {
  width: 74px;
  height: 74px;
  border: 1px solid #222;
  box-shadow: none;
}

.album-art > span {
  color: #fff;
  font: bold 10px/1.05 Tahoma, sans-serif;
  text-shadow: 1px 1px #000;
}

.now-playing h2 {
  color: #4f277f;
  font: bold 20px/1.1 "Comic Sans MS", Tahoma, sans-serif;
}

.now-playing p,
.music-credit {
  color: #555;
}

.music-progress-wrap,
.music-controls,
.music-volume-row,
.playlist-header,
.music-playlist,
.music-credit {
  grid-column: 1 / -1;
}

.music-progress-wrap input,
.music-volume-row input {
  accent-color: #4f2b91;
}

.round-control {
  width: 34px;
  height: 29px;
  border-radius: 0;
  font-size: 13px;
}

.play-control {
  width: 43px;
  height: 32px;
  color: #000;
  background: #c0c0c0;
}

.music-volume-row {
  padding: 5px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: #e6e6e6;
}

.music-playlist {
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  color: #000;
  background: #fff;
}

.music-playlist button,
.music-playlist .playlist-item {
  color: #000;
  border-color: #ddd;
  background: #fff;
}

.music-playlist button:hover,
.music-playlist .playlist-item:hover,
.music-playlist button.is-active,
.music-playlist .playlist-item.is-active {
  color: #fff;
  background: #000080;
}

/* Minecraft */
.minecraft-servers-container {
  gap: 8px;
}

.minecraft-server-card {
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  border-radius: 0;
  color: #000;
  background: #dedede;
  box-shadow: none;
}

.minecraft-server-card:hover {
  transform: none;
  background: #e9e9e9;
}

.minecraft-server-icon {
  border: 2px inset #ddd;
  border-radius: 0;
  background: #222;
}

.minecraft-main h3,
.minecraft-header strong {
  color: #000080;
}

.minecraft-motd,
.minecraft-meta,
.minecraft-player-list,
.player-count,
.server-state {
  color: #333;
}

.server-state {
  border-radius: 0;
  font-weight: bold;
}

.server-state.online {
  color: #006d27;
  background: #bdf0c8;
}

.server-state.offline {
  color: #8a0013;
  background: #f1bdc3;
}

.loading-state {
  color: #333;
}

.loading-state span {
  border-color: #777;
  border-top-color: #000080;
}

/* Secrets */
.secrets-body {
  color: #000;
  background: #c0c0c0;
}

.warning-symbol {
  width: 56px;
  height: 50px;
  border: 2px outset #ddd;
  border-radius: 0;
  color: #000;
  background: #fff063;
  box-shadow: none;
  font: bold 32px Arial, sans-serif;
}

.danger-text {
  color: #9a0018;
}

.danger-button {
  color: #fff;
  background: #a5001d;
  border-top-color: #f78b9e;
  border-left-color: #f78b9e;
  border-right-color: #4e000d;
  border-bottom-color: #4e000d;
}

.danger-button:hover {
  color: #fff;
  background: #bf1734;
}

/* dynamic alert windows and toast popups */
.toast-region {
  right: 12px;
  bottom: 49px;
  gap: 7px;
}

.toast {
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  border-radius: 0;
  color: #000;
  background: #fff8cf;
  box-shadow: 4px 4px 0 rgba(0,0,0,.4);
  font-family: Tahoma, sans-serif;
}

.alert-window .window-body,
.alert-copy {
  color: #000;
  background: #c0c0c0;
}

.alert-icon {
  border: 2px outset #ddd;
  border-radius: 0;
  color: #000;
  background: #fff063;
}

.alert-ok {
  min-width: 70px;
}

.alert-copy strong {
  font-size: 15px;
}

.alert-copy p {
  font-size: 12px;
  line-height: 1.45;
}

.toast {
  font-size: 12px;
  line-height: 1.35;
}

/* Taskbar */
.taskbar {
  height: var(--taskbar-h);
  padding: 3px 5px;
  gap: 5px;
  border: 0;
  border-top: 2px solid #fff;
  color: #000;
  background: #c0c0c0;
  box-shadow: inset 0 1px #dfdfdf;
}

.start-button {
  min-width: 82px;
  height: 29px;
  padding: 2px 8px 2px 5px;
  gap: 5px;
  font-size: 11px;
  font-weight: bold;
}

.start-mark {
  width: 20px;
  height: 20px;
  clip-path: none;
  color: #fff;
  background: linear-gradient(135deg, #2fa5a0, #60339a);
  font: bold 13px Georgia, serif;
  text-shadow: 1px 1px #000;
}

.quick-launch {
  height: 28px;
  padding: 0 4px;
  gap: 3px;
  border-left: 1px solid #777;
  border-right: 1px solid #fff;
}

.quick-button {
  width: 27px;
  height: 27px;
  padding: 0;
  font: bold 11px "Courier New", monospace;
}

.taskbar-buttons {
  gap: 4px;
}

.taskbar-button {
  width: min(168px, 18vw);
  height: 28px;
  padding: 2px 7px;
  color: #000;
  font: 11px Tahoma, sans-serif;
  text-align: left;
}

.taskbar-button.is-active {
  background: #dedede;
  font-weight: bold;
}

.system-tray {
  height: 29px;
  gap: 3px;
  padding: 2px 3px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #d4d4d4;
}

.tray-item {
  height: 22px;
  padding: 1px 5px;
  border-width: 1px;
  font: bold 9px Tahoma, sans-serif;
}

.tray-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b95a;
  box-shadow: 0 0 4px #00b95a;
}

.taskbar-clock {
  min-width: 70px;
  height: 22px;
  padding: 1px 7px;
  border-width: 0;
  background: transparent;
  font: 10px Tahoma, sans-serif;
}

/* Start menu: Windows 98-ish with a slightly goofy XP gradient */
.start-menu {
  left: 4px;
  bottom: calc(var(--taskbar-h) + 2px);
  width: 390px;
  max-height: min(580px, calc(100vh - 78px));
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  border-radius: 0;
  color: #000;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 rgba(0,0,0,.5);
}

.start-sidebar {
  width: 42px;
  padding: 7px 4px;
  color: #fff;
  background: linear-gradient(180deg, #000080, #4c2d93);
  border-right: 1px solid #555;
}

.start-sidebar span {
  font: bold 20px Tahoma, sans-serif;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-sidebar small {
  display: none;
}

.start-content {
  padding: 5px;
  background: #c0c0c0;
}

.start-user {
  margin: 0 0 5px;
  padding: 7px;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #2b70ba, #7eb7e7);
}

.start-avatar {
  width: 38px;
  height: 38px;
  border: 2px outset #ddd;
  border-radius: 0;
  color: #fff;
  background: #633596;
  font: bold 20px Georgia, serif;
  text-shadow: 1px 1px #000;
}

.start-user strong {
  color: #fff;
  font: bold 14px Tahoma, sans-serif;
  text-shadow: 1px 1px #000;
}

.start-user span {
  color: #eef6ff;
  font-size: 9px;
}

.start-section-label {
  margin: 6px 5px 3px;
}

.start-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.start-item {
  min-height: 48px;
  padding: 4px;
  gap: 6px;
  text-align: left;
}

.start-item b {
  width: 31px;
  height: 31px;
  border: 1px solid #444;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #111, #333);
  font: bold 13px/29px "Courier New", monospace;
  text-align: center;
}

.start-item > span {
  color: #000;
  font: bold 10px Tahoma, sans-serif;
}

.start-item small {
  color: #555;
  font: 8px Tahoma, sans-serif;
}

.start-actions {
  margin-top: 6px;
  padding-top: 6px;
  gap: 4px;
  border-top: 1px solid #888;
}

.start-actions button {
  min-height: 25px;
  padding: 2px 6px;
  color: #000;
  font: 9px Tahoma, sans-serif;
}

/* Responsive: still behaves like a desktop, but without becoming unusable */
@media (max-width: 1100px) {
  .desktop-hero {
    left: 225px;
    width: 470px;
    max-width: calc(100vw - 475px);
  }

  .desktop-monitor {
    width: 245px;
  }

  .topbar-center {
    display: none;
  }
}

@media (max-width: 800px) {
  :root {
    --topbar-h: 32px;
    --taskbar-h: 40px;
  }

  body,
  html {
    overflow: hidden;
  }

  .topbar {
    padding: 0 6px;
  }

  .topbar-brand {
    font-size: 13px;
  }

  .topbar-divider,
  .topbar-brand > span:last-child,
  .topbar-chip {
    display: none;
  }

  .desktop {
    overflow: auto;
    padding-bottom: 120px;
  }

  .desktop-icons {
    position: relative;
    inset: auto;
    z-index: 1;
    grid-template-columns: repeat(3, 88px);
    justify-content: center;
    width: 100%;
    padding: 13px 8px;
  }

  .desktop-hero {
    position: relative;
    inset: auto;
    z-index: 1;
    width: calc(100% - 20px);
    max-width: none;
    min-height: 0;
    margin: 5px 10px 12px;
  }

  .desktop-hero h1 {
    font-size: 30px;
  }

  .desktop-monitor {
    position: relative;
    inset: auto;
    z-index: 1;
    width: calc(100% - 20px);
    margin: 0 10px 80px;
  }

  .window {
    position: fixed !important;
    top: calc(var(--topbar-h) + 5px) !important;
    left: 5px !important;
    width: calc(100vw - 10px) !important;
    height: calc(100vh - var(--topbar-h) - var(--taskbar-h) - 10px) !important;
    min-width: 0;
    max-width: none;
    max-height: none;
  }

  .window-body {
    overscroll-behavior: contain;
  }

  .window-resize,
  .maximize-btn,
  .quick-launch,
  .tray-item:not(#tray-alerts) {
    display: none;
  }

  .taskbar {
    padding: 4px;
  }

  .start-button {
    min-width: 72px;
  }

  .system-tray {
    margin-left: auto;
  }

  .taskbar-buttons {
    min-width: 0;
  }

  .taskbar-button {
    width: 105px;
    max-width: 28vw;
  }

  .start-menu {
    left: 3px;
    right: 3px;
    bottom: calc(var(--taskbar-h) + 2px);
    width: auto;
    max-height: calc(100vh - var(--topbar-h) - var(--taskbar-h) - 8px);
  }

  .start-app-grid {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .split-panels,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  .music-player {
    grid-template-columns: 86px 1fr;
  }

  .album-art {
    width: 84px;
    height: 84px;
  }

  .record {
    width: 56px;
    height: 56px;
  }

  .network-diagram {
    min-width: 560px;
  }
}

@media (max-width: 430px) {
  .desktop-icons {
    grid-template-columns: repeat(3, 82px);
    grid-auto-rows: 88px;
  }

  .desktop-icon {
    width: 82px;
    font-size: 10px;
  }

  .desktop-hero::before {
    font-size: 12px;
  }

  .desktop-hero h1 {
    font-size: 26px;
  }

  .hero-actions .button {
    flex: 1 1 42%;
  }

  .profile-card {
    grid-template-columns: 58px 1fr;
  }

  .profile-avatar {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .section-heading h2 {
    font-size: 19px;
  }

  .start-sidebar {
    width: 30px;
  }

  .start-sidebar span {
    font-size: 15px;
  }
}

/* dynamic taskbar entries are created by script.js */
.taskbar-window-button {
  flex: 0 1 175px;
  min-width: 76px;
  height: 28px;
  overflow: hidden;
  padding: 2px 7px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  border-radius: 0;
  color: #000;
  background: #c0c0c0;
  font: 11px Tahoma, sans-serif;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: none;
}

.taskbar-window-button:hover {
  color: #000;
  background: #d5d5d5;
}

.taskbar-window-button.active {
  color: #000;
  background: #dedede;
  border-top-color: #555;
  border-left-color: #555;
  border-right-color: #fff;
  border-bottom-color: #fff;
  font-weight: bold;
}

@media (min-width: 801px) {
  .toast-region {
    right: 22px;
    bottom: 315px;
  }
}

@media (max-width: 800px) {
  .start-button > span:last-child {
    display: inline !important;
  }

  .start-button {
    min-width: 72px;
  }

  .taskbar-window-button {
    width: 105px;
    max-width: 28vw;
    height: 30px;
  }
}
