/* PullScore website: the app's gunroom look. Racing green, antique gold,
   stone page, ivory cards, Baskerville headings. */
:root {
  --green: #13261c; --green-deep: #0c1a13; --gold: #b8965a; --gold-ink: #8a6f3e;
  --gold-soft: #e9dfc9; --stone: #f3f1ec; --ivory: #fcfbf7; --rule: #e3dccb;
  --ink: #1b1f1c; --muted: #5d625e; --lost: #8c2f2f; --hit: #2f6b4a;
  --serif: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--green); }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 { font-size: 2.2rem; margin: 0.6rem 0 0.4rem; }
.bar { background: var(--green); border-bottom: 1px solid var(--gold); padding: 0.7rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ivory);
  font: 1.7rem var(--serif); }
.brand img { border-radius: 8px; }
.brand b { color: var(--gold); }
nav { display: flex; gap: 1.2rem; }
nav a { color: var(--gold-soft); text-decoration: none; letter-spacing: 0.04em; }
nav a:hover, nav a:focus-visible { color: var(--gold); }
main { max-width: 760px; margin: 0 auto; padding: 1.2rem 1.2rem 3rem; }
main.wide { max-width: 1000px; }
footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2rem 1rem; }
footer a { color: var(--muted); }
.lede { font-size: 1.1rem; color: var(--muted); }
.small { display: block; font-size: 0.88rem; color: var(--muted); }
.gold { color: var(--gold-ink); font-weight: 600; }
.eyebrow { font: 700 0.75rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink);
  display: flex; align-items: center; gap: 0.8rem; margin: 2rem 0 0.8rem; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.card { background: var(--ivory); border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.1rem; }
.narrow { max-width: 420px; margin: 2rem auto; }
.hero { text-align: center; padding: 3rem 0 1rem; }
.hero img { border-radius: 26px; box-shadow: 0 10px 30px rgba(12, 26, 19, 0.25); }
.hero h1 { font-size: 2.8rem; }
.button { display: inline-block; background: var(--green); color: var(--ivory); border: 1px solid var(--gold);
  border-radius: 6px; padding: 0.8rem 1.4rem; font: 600 1.1rem var(--serif); text-decoration: none; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--green-deep); color: var(--gold-soft); }
.button.danger { background: var(--lost); border-color: var(--lost); }
button.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
form.inline { display: inline; }
label { display: block; margin: 0 0 1rem; font-weight: 600; }
input { display: block; width: 100%; margin-top: 0.3rem; padding: 0.7rem 0.8rem; font: 1rem var(--sans);
  border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.error { color: var(--lost); font-weight: 600; }
a.session { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; color: inherit;
  text-decoration: none; margin-bottom: 0.6rem; }
a.session:hover, a.session:focus-visible { border-color: var(--gold); }
.what strong { font: 600 1.3rem var(--serif); }
.badge { width: 48px; height: 48px; display: grid; place-items: center; background: var(--green); color: var(--gold);
  border: 1px solid var(--gold); border-radius: 6px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; }
.score { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.score b { font: 700 2rem var(--serif); color: var(--ink); }
.tablewrap { overflow-x: auto; }
table.scorecard { border-collapse: collapse; width: 100%; padding: 0; font-variant-numeric: tabular-nums; }
.scorecard th, .scorecard td { padding: 0.6rem 0.5rem; text-align: center; border-bottom: 1px solid var(--rule); }
.scorecard thead th { font: 700 0.75rem var(--sans); letter-spacing: 0.1em; color: var(--gold-ink); }
.scorecard tbody th { text-align: left; font-weight: 600; }
.scorecard .total { font-weight: 700; }
.stands { padding-left: 1.2rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.tile { text-align: center; }
.tile b { display: block; font: 700 2rem var(--serif); }
.tile span { color: var(--muted); font-size: 0.85rem; }
.barrow { display: grid; grid-template-columns: 9rem 1fr 7rem; gap: 0.8rem; align-items: center; padding: 0.35rem 0; }
.meter { height: 10px; background: var(--gold-soft); border-radius: 5px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gold); }
.num { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
ul.list { list-style: none; padding: 0; }
ul.list li { margin-bottom: 0.5rem; }
.small.due { color: var(--lost); font-weight: 600; }
details { margin-top: 0.5rem; }
summary { cursor: pointer; color: var(--gold-ink); font-weight: 600; font-size: 0.9rem; }
ul.log { list-style: none; padding: 0.3rem 0 0; margin: 0; font-size: 0.9rem; }
ul.log li { padding: 0.25rem 0; border-top: 1px solid var(--rule); }
@media (max-width: 560px) {
  h1 { font-size: 1.8rem; } .hero h1 { font-size: 2.1rem; }
  .barrow { grid-template-columns: 6.5rem 1fr 5.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
