/* yellowyolkblue.com — layout on top of snes.css (which only styles components).
   Theme: deep "blue" night sky + "yellow yolk" sunshine accents. */

:root {
  --yyb-blue: #1a1c3a;
  --yyb-blue-deep: #0e1029;
  --yyb-yolk: #f2c019;
  --yyb-ocean: #4eb6d9;
  --yyb-ink: #e8e8f0;
  --yyb-muted: #9aa0c8;
}

/* snes.css already applies a border-box reset to html + every element */
html {
  background: var(--yyb-blue-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 2.5rem 1rem 4rem;
  /* subtle scanline + starfield feel */
  background:
    radial-gradient(circle at 20% 10%, rgba(242, 192, 25, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(78, 182, 217, 0.10), transparent 45%),
    var(--yyb-blue);
  color: var(--yyb-ink);
  /* readable body font — Press Start 2P (from snes.css) is reserved for headings */
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  line-height: 1.7;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* site masthead */
.masthead {
  text-align: center;
  margin-bottom: 2.5rem;
}
.masthead .logo {
  font-family: "Press Start 2P", system-ui, monospace;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}
.masthead .logo .yellow { color: var(--yyb-yolk); }
.masthead .logo .blue { color: var(--yyb-ocean); }
.masthead .tagline {
  color: var(--yyb-muted);
  font-size: 13px;
  margin: 0;
}

/* containers get breathing room and a touch of dark fill for contrast.
   .wrap prefix beats snes.css's own .snes-container specificity — no !important needed */
.wrap .snes-container {
  background-color: rgba(14, 16, 41, 0.55);
  margin-bottom: 2rem;
}
.snes-container-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--yyb-ink);
}

/* post list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list li {
  padding: 0.9rem 0;
  border-bottom: 2px dotted rgba(154, 160, 200, 0.3);
}
.post-list li:last-child { border-bottom: none; }
.post-list .meta {
  display: block;
  color: var(--yyb-muted);
  font-size: 12px;
  margin-top: 0.25rem;
}

/* single post */
.post header h1 {
  font-family: "Press Start 2P", system-ui, monospace;
  font-size: 18px;
  line-height: 1.5;
  color: var(--yyb-yolk);
  margin: 0 0 0.75rem;
}
.post .post-meta {
  color: var(--yyb-muted);
  font-size: 12px;
  margin-bottom: 1.75rem;
}
.post p { margin: 0 0 1.15rem; }
.post h2 {
  font-family: "Press Start 2P", system-ui, monospace;
  font-size: 14px;
  color: var(--yyb-ocean);
  margin: 2rem 0 1rem;
}
.post code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(154, 160, 200, 0.3);
  padding: 0.1em 0.35em;
  color: var(--yyb-yolk);
}
.post pre {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(154, 160, 200, 0.25);
  padding: 1rem;
  overflow-x: auto;
}
.post pre code { background: none; border: none; padding: 0; color: var(--yyb-ink); }

/* footer / back link */
.site-footer {
  text-align: center;
  color: var(--yyb-muted);
  font-size: 12px;
  margin-top: 2.5rem;
}
.back-link { margin-bottom: 1.5rem; }
