:root {
  --bg-primary: #000000;
  --bg-screen: #1a0f00;
  --text-primary: #ffb000;
  --text-dim: #cc8800;
  --text-bright: #ffd700;
  --glow-amber: rgba(255,176,0,0.6);
  --scanline: rgba(255,176,0,0.02);
  --max-width: 1000px;
  --font-mono: 'VT323', 'Courier Prime', monospace;
  --code-bg: #0a0a0a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-mono); font-size: 18px; line-height: 1.3; letter-spacing: 1px; }
body { position: relative; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--scanline) 2px, var(--scanline) 4px); opacity: 1; }
img { max-width: 100%; display: block; }
a { color: var(--text-bright); text-decoration: none; }
a:hover { color: var(--text-primary); }

.site-main { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px 60px; background: radial-gradient(circle at 50% 20%, rgba(255,176,0,0.04), transparent 55%); border-radius: 12px; box-shadow: 0 0 100px rgba(255,176,0,0.08) inset, 0 0 40px rgba(0,0,0,0.8) inset; }

.header-boot { padding: 30px 20px 10px; color: var(--text-primary); text-shadow: 0 0 8px var(--glow-amber); }
.nav-terminal { display: flex; gap: 14px; padding: 0 20px 20px; border-bottom: 1px solid var(--text-dim); }
.nav-terminal a { color: var(--text-primary); }
.nav-terminal a:hover { color: var(--text-bright); text-shadow: 0 0 6px var(--glow-amber); }

.listing { margin-top: 20px; border-top: 1px solid var(--text-dim); border-bottom: 1px solid var(--text-dim); }
.list-row { display: grid; grid-template-columns: 90px 120px 1fr 80px; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,176,0,0.2); color: var(--text-primary); }
.list-row:hover { background: rgba(255,176,0,0.04); box-shadow: 0 0 12px rgba(255,176,0,0.15) inset; cursor: pointer; }
.list-head { font-weight: bold; color: var(--text-bright); }
.status { color: var(--text-bright); }

.post-article { max-width: 820px; margin: 0 auto; padding: 20px; }
.post-title { margin: 0 0 8px; font-size: 28px; text-transform: uppercase; text-shadow: 0 0 10px var(--glow-amber); }
.post-meta { color: var(--text-dim); margin-bottom: 12px; }
.separator { border: 0; border-top: 1px solid var(--text-dim); margin: 16px 0; }
.post-content { color: var(--text-primary); line-height: 1.5; }
.post-content h2, .post-content h3 { text-transform: uppercase; border-bottom: 1px dashed var(--text-dim); padding-bottom: 4px; }
.post-content code, .post-content pre { background: #0b0802; color: var(--text-bright); padding: 4px 6px; border: 1px solid rgba(255,176,0,0.2); border-radius: 4px; }
.post-content blockquote { border-left: 3px solid var(--text-primary); padding-left: 12px; color: var(--text-dim); }

.footer-status { margin-top: 30px; padding: 14px 0; border-top: 1px solid var(--text-dim); text-align: center; color: var(--text-bright); }
.footer-status .cursor { animation: blink 1s step-end infinite; }

.kg-width-wide { width: min(1000px, 90vw); margin: 24px auto; }
.kg-width-full { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

@keyframes blink { 0%, 50% { opacity: 1; } 50.1%, 100% { opacity: 0; } }
