:root {
  --page: #8d8d8d;
  --ink: #1b1b1b;
  --orange: #f0a202;
  --orange-deep: #e07b00;
  --card-dark: #2c3038;
  --card-light: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.4 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.top { text-align: center; padding: 22px 16px 6px; }
.logo {
  display: inline-block;
  color: #ffc107;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #a35a00, 0 4px 0 #3d2408;
}
.logo span { color: #ff8a00; }
.tagline { margin: 10px 0 0; color: #f4f4f4; font-size: 18px; }
.search { max-width: 560px; margin: 14px auto 0; }
.search input, .stack input, .stack textarea, .stack select {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #222;
  padding: 12px 16px;
}
.stack textarea, .stack select { border-radius: 12px; border: 1px solid #ddd; }
.search input:focus, .stack input:focus, .stack textarea:focus, .stack select:focus {
  outline: 3px solid var(--orange);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 18px 14px 48px; }
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  align-items: start;
}

.card {
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.card-dark { background: var(--card-dark); color: #f5f5f5; }
.card-light { background: var(--card-light); color: #1b1b1b; }
.card h2, .sheet h1, .prose h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card h2 a { text-decoration: none; }
.card-kicker, .sheet > p, .prose p { margin: 8px 0 0; }
.card-dark .card-kicker { color: #d5d5d5; }
.card-light .card-kicker, .sheet > p { color: #555; }

.rows { list-style: none; margin: 14px 0; padding: 0; }
.rows li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
}
.rank {
  width: 1.6em;
  flex: 0 0 auto;
  font-weight: 700;
  color: #9a9a9a;
  padding-top: 4px;
}
.marklet {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.swatch-0 { background: #e11d48; }
.swatch-1 { background: #2563eb; }
.swatch-2 { background: #059669; }
.swatch-3 { background: #d97706; }
.swatch-4 { background: #7c3aed; }
.swatch-5 { background: #0891b2; }
.swatch-6 { background: #db2777; }
.swatch-7 { background: #ea580c; }
.row-copy { min-width: 0; }
.name {
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
}
.card-dark .name { color: #fff; }
.card-light .name { color: #161616; }
.name:hover { color: var(--orange-deep); }
.blurb { margin: 2px 0 0; color: #666; font-size: 14px; }
.review { color: var(--orange-deep); font-size: 13px; }

.more {
  display: block;
  margin-top: 8px;
  background: var(--orange);
  color: #1a1a1a;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 14px;
}
.more:hover { background: #ffb21a; color: #1a1a1a; }

.sheet, .prose {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  color: #1b1b1b;
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.sheet h1, .prose h1 { text-transform: none; letter-spacing: 0; font-size: 34px; }
.crumb, .crumb a { color: #777; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.prose h2 { margin: 22px 0 8px; font-size: 20px; }
.prose a, .sheet a.review { color: var(--orange-deep); }
.prose ul { padding-left: 18px; }
.prose li { margin: 6px 0; }
.visit {
  display: inline-block;
  margin: 12px 0;
  background: var(--orange);
  color: #1a1a1a !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 16px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.meta { display: flex; align-items: center; gap: 12px; color: #666; }
.badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f3f3f3;
}
.log { width: 100%; border-collapse: collapse; margin-top: 12px; }
.log th, .log td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid #ececec; }
.log a { color: var(--orange-deep); text-decoration: none; font-weight: 700; }
.stack { display: grid; gap: 12px; }
.stack label { display: grid; gap: 4px; color: #444; font-size: 14px; }
button {
  background: var(--orange);
  color: #1a1a1a;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  width: fit-content;
  cursor: pointer;
}
.texty { background: transparent; color: #666; padding: 0; }
.warn { color: #c2410c; }
.ok { color: #047857; }

.foot { text-align: center; color: #f3f3f3; padding: 8px 16px 36px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.foot a { color: #fff; text-decoration: none; }
.foot p { margin: 10px 0 0; }

.agebar[hidden] { display: none !important; }
.agebar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  color: #1b1b1b;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.agebar p { margin: 0; }

@media (max-width: 640px) {
  .logo { font-size: 34px; }
  .tagline { font-size: 16px; }
  .split, .agebar:not([hidden]) { display: grid; grid-template-columns: 1fr; }
  .sheet h1, .prose h1 { font-size: 28px; }
}
