:root {
  --felt: #14352c;
  --felt-deep: #102e27;
  --gold: #e6c98a;
  --paper: #efe6d4;
  --ink: #241c14;
  --muted: #6d6256;
  --line: #e0d3bf;
  --link: #1d5340;
  --serif: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.wrap {
  max-width: 42.5rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.masthead {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, 0.09), transparent 58%),
    var(--felt);
  color: #f3ead8;
  padding: 2.6rem 0 1.7rem;
}

.suits {
  margin: 0 0 0.75rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  font-size: 0.82rem;
}

.brand {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.sub {
  margin: 0.7rem 0 0;
  max-width: 38rem;
  color: #d9d0c0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--felt-deep);
  border-bottom: 1px solid rgba(230, 201, 138, 0.28);
}

nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

nav a {
  color: #f3ead8;
  font-family: var(--sans);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

main a {
  color: var(--link);
}

main {
  padding-top: 0.4rem;
  padding-bottom: 1rem;
}

section {
  padding-top: 2.15rem;
  scroll-margin-top: 3.2rem;
}

h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 500;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
}

.kicker {
  margin: 0 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a24;
}

.event + .event,
.piece + .piece,
.post + .post {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.meta {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.98rem;
}

.meta div {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.15rem 0.8rem;
  margin-bottom: 0.2rem;
}

.meta dt { color: var(--muted); }
.meta dd { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th {
  padding: 0.3rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}

td {
  padding: 0.38rem 0.35rem;
  border-bottom: 1px solid #eadfce;
  vertical-align: baseline;
}

.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

tr.paid { background: rgba(176, 137, 62, 0.1); }
tr.paid .player { font-weight: 700; }
.zero { color: var(--muted); }

.byline {
  margin: 0.28rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose p {
  margin: 0 0 0.85rem;
  text-wrap: pretty;
  hyphens: auto;
}

.option { margin: 0 0 0.95rem; }
.option p { margin: 0; }

.bar {
  height: 0.5rem;
  margin: 0.35rem 0 0.2rem;
  background: #e4d8c4;
  border-radius: 99px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: #1f6b4a;
  border-radius: 99px;
}

.count {
  color: var(--muted);
  font-size: 0.88rem;
}

.post header,
.vote header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
}

.post header strong,
.vote header strong {
  font-weight: 700;
}

time {
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.post p,
.vote p {
  margin: 0.3rem 0 0;
}

.choice {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f6b4a;
}

footer {
  margin-top: 2.5rem;
  padding: 1.15rem 0 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }

@media (max-width: 36rem) {
  .meta div {
    grid-template-columns: 1fr;
    margin-bottom: 0.45rem;
  }
  .meta dt { font-size: 0.78rem; }
}
