/* Custom layer on top of 98.css for the devnet blog preview. */
body {
  background: #008080;          /* classic teal desktop */
  margin: 0;
  padding: 24px 12px 60px;      /* room for the taskbar */
}

/* 98.css ships a pixelated bitmap font that's rough to read at body sizes.
   Swap in crisp Tahoma everywhere (period-correct, and what XP used in title
   bars) while keeping all the 98.css window chrome/bevels/colors. */
body, button, input, select, textarea, option,
.title-bar-text, .window, .window-body, .status-bar, .status-bar-field,
.menu, .prose, .post-list, .tree-view, .sunken-panel {
  font-family: Tahoma, "Segoe UI", "MS Sans Serif", Arial, sans-serif !important;
}

.main-window {
  max-width: 820px;
  margin: 0 auto;
}
.window-body { font-size: 12px; }

/* menu bar between the title bar and body */
.menu {
  display: flex;
  gap: 2px;
  padding: 2px 4px;
  margin: 0 3px;
  background: silver;
}
.menu a {
  color: #000;
  text-decoration: none;
  padding: 2px 8px;
  font-size: 12px;
}
.menu a:hover { background: #000080; color: #fff; }

/* headings + intro */
.page-h1 { font-size: 16px; margin: 4px 0 10px; }
.blurb { line-height: 1.5; margin: 0 0 12px; font-size: 12px; }
.tagnote { font-size: 12px; }

/* post list (inside a 98.css .sunken-panel) */
.sunken-panel { background: #fff; padding: 6px 10px; }
.post-list { list-style: none; margin: 0; padding: 0; }
.postitem { padding: 7px 0; border-bottom: 1px dotted #808080; }
.postitem:last-child { border-bottom: none; }
.postlink { font-size: 14px; font-weight: bold; text-decoration: none; color: #00007a; }
.postlink:hover { text-decoration: underline; }
.postdate { color: #555; font-size: 11px; margin-left: 8px; }
.postsummary { margin: 3px 0; line-height: 1.4; font-size: 12px; color: #222; }
.taglist { margin: 4px 0 0; }
.tag {
  display: inline-block;
  background: silver;
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 0 6px;
  font-size: 11px;
  text-decoration: none;
  color: #000;
  margin-right: 2px;
}
.empty { color: #555; }
.linktable td { padding: 3px 8px; vertical-align: top; font-size: 12px; }
.linktable td:first-child { width: 120px; font-weight: bold; }

/* article prose */
.prose { line-height: 1.6; font-size: 13px; }
.prose .post-title { font-size: 20px; margin: 2px 0 4px; }
.post-meta { color: #555; font-size: 12px; margin: 0 0 10px; }
.prose h1 { font-size: 18px; margin: 20px 0 8px; }
.prose h2 { font-size: 16px; margin: 18px 0 6px; border-bottom: 1px solid #cfcfcf; padding-bottom: 2px; }
.prose h3 { font-size: 14px; margin: 14px 0 6px; }
.prose p { margin: 9px 0; }
.prose ul, .prose ol { margin: 9px 0; padding-left: 24px; }
.prose img { max-width: 100%; height: auto; border: 1px solid #808080; }
.prose hr { border: none; border-top: 1px solid #cfcfcf; margin: 14px 0; }
.prose a { color: #00007a; }
.prose blockquote {
  margin: 9px 0; padding: 4px 12px;
  border-left: 3px solid #808080; background: #efefef; color: #333;
}
.prose code {
  font-family: "Courier New", monospace; font-size: 12px;
  background: #fff; border: 1px solid #c8c8c8; padding: 0 3px;
}
.prose pre {
  font-family: "Courier New", monospace; font-size: 12px; line-height: 1.4;
  padding: 10px 12px; overflow-x: auto;
  background: #fff;
  border: 2px solid; border-color: #808080 #fff #fff #808080;  /* inset */
}
.prose pre code { background: none; border: none; padding: 0; }
.prose table { border-collapse: collapse; margin: 10px 0; }
.prose th, .prose td { border: 1px solid #808080; padding: 3px 8px; }
.prose th { background: silver; }
.backlink { margin-top: 18px; font-size: 12px; }

/* ===== decorative retro desktop ===== */
.desktop-icons {
  position: fixed; top: 18px; left: 18px; width: 86px;
  display: flex; flex-direction: column; gap: 20px; z-index: 1;
}
.dico { text-align: center; cursor: pointer; }
.dico img { display: block; width: 34px; height: 34px; object-fit: contain; margin: 0 auto 4px; }
.dico span {
  color: #fff; font-size: 11px; line-height: 1.2;
  text-shadow: 1px 1px 0 #000, 0 0 2px #000; padding: 1px 2px;
}
.dico:hover span { background: #0a246a; outline: 1px dotted #fff; }

.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 30px;
  display: flex; align-items: center; gap: 4px; padding: 2px 4px;
  background: silver; border-top: 2px solid #fff; box-shadow: 0 -1px 0 #808080;
  z-index: 100;
}
.start-btn { display: flex; align-items: center; gap: 5px; font-weight: bold; min-width: 0; }
.start-btn img { width: 17px; height: 17px; object-fit: contain; }
.quick {
  display: flex; align-items: center; gap: 1px; padding: 0 5px; height: 24px;
  border-left: 1px solid #808080; border-right: 1px solid #808080;
  box-shadow: inset 1px 0 0 #fff, inset -1px 0 0 #fff;
}
.qico { display: flex; align-items: center; padding: 1px 2px; cursor: pointer; border: 1px solid transparent; }
.qico:hover { border-color: #fff #808080 #808080 #fff; }
.qico img { width: 18px; height: 18px; object-fit: contain; display: block; }
.tasks { flex: 1; display: flex; align-items: center; gap: 4px; padding: 0 4px; overflow: hidden; }
.taskbtn { display: flex; align-items: center; gap: 5px; min-width: 0; max-width: 220px; }
.taskbtn img { width: 15px; height: 15px; object-fit: contain; }
.tray {
  display: flex; align-items: center; gap: 6px; padding: 2px 8px;
  border: 1px solid; border-color: #808080 #fff #fff #808080;
}
.tray .tico { display: flex; align-items: center; }
.clock { font-size: 11px; min-width: 34px; text-align: center; }

@media (max-width: 1040px) { .desktop-icons { display: none; } }
