/* Vibecode Benchmarks — independent stylesheet, senko.net aesthetic */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 55em;
  margin: 1em auto;
  padding: 0 1em;
}

/* Header */

header {
  max-width: 55em;
  margin: 2em auto 0;
  padding: 0 1em;
}

header h1 {
  font-size: 2.4em;
  line-height: 1.1;
}

header .tagline {
  margin-top: 0.4em;
  color: #555;
  line-height: 1.5em;
}

/* Links */

a,
a:visited {
  color: #00f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Year dividers (senko :: style) */

h2.year {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  color: #888;
  margin: 1.8em 0 0.6em;
}

/* Benchmark entries */

article {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 0 1.2em;
  padding: 0.7em 0;
  border-bottom: 1px solid #f0f0f0;
}

article time {
  color: #999;
  font-size: 0.9em;
  padding-top: 0.15em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

article .entry-title {
  font-size: 1.1em;
  font-weight: normal;
}

article .test-type {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #888;
  border-radius: 3px;
  padding: 0.1em 0.45em;
  vertical-align: 0.12em;
  margin-right: 0.5em;
}

article .test-type.rts {
  background: #b5651d;
}

article .test-type.minesweeper {
  background: #2e7d32;
}

article .note {
  grid-column: 2;
  margin-top: 0.25em;
  font-size: 0.88em;
  color: #777;
  line-height: 1.4em;
}

article .note a {
  color: #777;
  text-decoration: underline;
}

article .note a:hover {
  color: #00f;
}

/* Footer */

footer {
  margin: 3em auto 2em;
  padding-top: 1em;
  max-width: 55em;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
  color: #888;
}

footer a,
footer a:visited {
  color: #888;
  text-decoration: underline;
}

/* Narrow screens: stack date above title */

@media (max-width: 520px) {
  header h1 {
    font-size: 1.9em;
  }

  article {
    grid-template-columns: 1fr;
    gap: 0.2em 0;
  }

  article time {
    padding-top: 0;
  }

  article .note {
    grid-column: 1;
  }
}
