:root {
  --ink: #14201b;
  --muted: #5c6b64;
  --line: #d7e0db;
  --bg: #f3f6f4;
  --card: #ffffff;
  --yes: #1f7a4d;
  --yes-bg: #e8f6ee;
  --no: #9a3b2f;
  --no-bg: #fbeceb;
  --accent: #1f5e46;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #e7f3ec, var(--bg));
  color: var(--ink);
  min-height: 100vh;
  padding: 24px 16px 48px;
}
.wrap { max-width: 440px; margin: 0 auto; }
.wrap.wide { max-width: 920px; }
header { margin-bottom: 20px; }
.rsvp-page header,
.rsvp-page .card h2 { text-align: center; }
.shirt {
  display: block;
  width: 54px;
  height: auto;
  margin: 0 auto 8px;
  fill: currentColor;
  stroke: rgba(20, 32, 27, .28);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.shirt-brown { color: #d7263d; }
.shirt-blackford { color: #f0c400; }
.shirt .collar { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
.gamedate {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
}
.when { color: var(--muted); font-size: 16px; margin: 0; }
a.map { color: var(--accent); font-weight: 700; text-decoration: underline; }
form.rsvp, .done, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(20, 32, 27, .06);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}
input[type="text"], textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfb;
  margin-bottom: 16px;
}
textarea { min-height: 84px; resize: vertical; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 16px; }
.choice { position: relative; }
.choice input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  text-align: center;
  padding: 16px 8px;
  border-radius: 14px;
  border: 2px solid var(--line);
  font-weight: 750;
  cursor: pointer;
  background: #fff;
  min-height: 52px;
}
.choice input:focus-visible + span { outline: 3px solid #c5e4d3; }
.choice.yes input:checked + span {
  background: var(--yes-bg);
  border-color: var(--yes);
  color: var(--yes);
}
.choice.no input:checked + span {
  background: var(--no-bg);
  border-color: var(--no);
  color: var(--no);
}
button.send, button.primary {
  width: 100%;
  border: 0;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
}
button.send:disabled { opacity: .65; cursor: wait; }
.err { color: var(--no); font-size: 14px; margin: 10px 0 0; display: none; }
.done { display: none; text-align: center; padding: 36px 22px; }
.done[style*="display:block"] { display: block; }
.done h2 { margin: 0 0 8px; }
.done p { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.card { margin-top: 14px; }
.field-map { margin: 0 -6px; }
.field-map svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h2 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card p { margin: 0 0 10px; color: var(--ink); }
.card ul { margin: 0; padding: 0 0 0 18px; }
.card li { margin: 0 0 6px; }
.card li:last-child { margin-bottom: 0; }
.card ul.sched,
.sched { list-style: none; padding: 0; margin: 0; }
.card ul.sched > li,
.sched li {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e7eeea;
  border-radius: 10px;
  list-style: none;
}
.sched li:first-child { border-top: 0; }
.sched a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-height: 48px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}
.sched a:hover { background: #eef6f1; }
.sched a.is-on { background: var(--yes-bg); }
.sched .date { font-weight: 700; }
.sched .meta { color: var(--muted); font-size: 14px; }
.sched .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--yes);
  white-space: nowrap;
}
.practice {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.practice strong { color: var(--ink); display: block; margin-bottom: 2px; }
.counts { display: flex; gap: 10px; margin: 0 0 20px; flex-wrap: wrap; }
.pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
}
.wrap.wide > .when { margin-bottom: 8px; }
.weeks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}
.weeks a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  background: var(--card);
}
.weeks a.is-on {
  background: var(--yes-bg);
  border-color: var(--yes);
  color: var(--yes);
}
.weeks .tag {
  font-weight: 700;
  color: inherit;
}
.team-block { margin: 64px 0 0; }
.team-block:first-of-type { margin-top: 40px; }
.team-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin: 0 0 6px;
}
.team-block h2 .shirt { width: 34px; margin: 0; }
.team-block h2 a { color: inherit; text-decoration: none; }
.team-block h2 a:hover { color: var(--accent); text-decoration: underline; }
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.col h3 { margin: 0; padding: 14px 16px; font-size: 16px; }
.col.yes h3 { background: var(--yes-bg); color: var(--yes); }
.col.no h3 { background: var(--no-bg); color: var(--no); }
.roster-area {
  margin: 10px 0 20px;
}
.roster-area h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.roster-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.roster-area li {
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
  border: 0;
  display: block;
}
.roster-area li.replied {
  text-decoration: line-through;
  color: var(--muted);
}
.col ul { list-style: none; margin: 0; padding: 8px 0 12px; }
.col li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid #e7eeea;
}
.player { min-width: 0; }
.name { font-weight: 700; }
.note { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.empty { color: var(--muted); font-weight: 500; display: block; }
.remove-form { margin: 0; flex: 0 0 auto; }
.remove {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0 0;
}
.remove:hover { color: var(--no); }
@media (max-width: 640px) {
  .cols { grid-template-columns: 1fr; }
}
