:root {
  --campbell-blue: #012456;
  --campbell-white: #f2f2f2;
  --campbell-cyan: #00ffff;
  --campbell-yellow: #f9f1a5;
  --titlebar: #1f1f1f;
  --editor-bg: #0c0c0c;
  --editor-text: #cccccc;
  --link: #61d6d6;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body {
  background: var(--campbell-blue);
  color: var(--campbell-white);
  font-family: Consolas, "Cascadia Mono", "DejaVu Sans Mono", monospace;
  font-size: 16px;
  line-height: 1.55;
}

.window { min-height: 100vh; display: flex; flex-direction: column; }

.titlebar {
  min-height: 32px;
  background: var(--titlebar);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.powershell-mark { color: #fff; font-weight: 700; }
.titlebar nav { display: flex; gap: 14px; margin-left: 18px; }
.titlebar a { color: #fff; text-decoration: none; }
.titlebar a:hover, a:hover { text-decoration: underline; }
.window-controls { margin-left: auto; letter-spacing: 12px; white-space: nowrap; }
.terminal { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 72px; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--campbell-yellow); font-size: 1.35rem; font-weight: 700; margin-bottom: 20px; }
a { color: var(--link); }
.prompt { margin: 0 0 18px; color: var(--campbell-white); }
.prompt > span:first-child { color: var(--campbell-yellow); }
.role { color: var(--campbell-cyan); margin-bottom: 28px; }
.about-copy { max-width: 850px; margin-bottom: 28px; }
.about-copy p { margin-bottom: 18px; }
.cursor { animation: blink 1s step-end infinite; }

.editor { border: 1px solid #555; background: var(--editor-bg); box-shadow: 8px 8px 0 rgba(0, 0, 0, .25); }
.editor-menu, .editor-title, .statusbar { padding: 3px 9px; font-size: 13px; line-height: 1.45; }
.editor-menu { background: #c0c0c0; color: #111; }
.editor-title { background: #000080; color: #fff; text-align: center; }
.editor-document { padding: 20px clamp(18px, 4vw, 46px) 34px; color: var(--editor-text); min-height: 72vh; }
.post-heading { border-bottom: 1px dashed #666; margin-bottom: 28px; }
.file-path, .post-date { color: #7fdbca; font-size: 13px; }
.post-heading h1 { color: #fff; margin-bottom: 4px; }
.post-content { max-width: 760px; }
.post-content p, .post-content li { margin-bottom: 18px; }
.post-content h2, .post-content h3 { color: #f9f1a5; font-size: 1rem; margin: 30px 0 14px; }
.post-content code { color: #ce9178; }
.post-content pre { overflow-x: auto; padding: 14px; background: #1e1e1e; border-left: 3px solid #00a6a6; }
.post-content blockquote { border-left: 3px solid #777; margin: 20px 0; padding-left: 16px; color: #aaa; }
.post-tags { border-top: 1px dashed #666; margin-top: 36px; padding-top: 14px; font-size: 13px; color: #aaa; }
.statusbar { background: #008080; color: #fff; }

.file-list { list-style: none; margin: 0 0 26px; padding: 0; max-width: 760px; }
.file-list li { display: flex; gap: 20px; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.file-list li::before { content: "-a----"; color: #b5cea8; }
.file-list a { margin-right: auto; }
.file-list span { color: #ccc; font-size: 13px; }
.tag-list { list-style: none; margin: 0 0 26px; padding: 0; max-width: 760px; }
.tag-list li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tag-list a { text-decoration: none; }
.tag-list a:hover { text-decoration: underline; }
.tag-name { color: var(--campbell-cyan); }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 600px) {
  body { font-size: 14px; }
  .terminal { width: min(100% - 24px, 920px); padding-top: 30px; }
  .titlebar nav { gap: 10px; margin-left: auto; }
  .window-controls { display: none; }
  .file-list li { gap: 10px; }
  .file-list li::before { display: none; }
  .file-list span { white-space: nowrap; }
}