:root {
  --green-900: #1b3a26;
  --green-700: #2c5e3f;
  --green-600: #35754d;
  --green-100: #e8f2ec;
  --sand: #faf8e9; /* matches the logo artwork's background */
  --ink: #22281f;
  --muted: #6b7266;
  --danger: #a33b2e;
  --radius: 10px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

/* faint octopus watermark in the lower-right corner */
body::before {
  content: "";
  position: fixed;
  right: -90px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  background: url("logo.png") no-repeat center / contain;
  opacity: 0.06;
  transform: rotate(-14deg);
  pointer-events: none;
  z-index: 0;
}
main, .site-footer { position: relative; z-index: 1; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1rem; }

/* Who's Playing page */
.players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.players-head h1 { margin: 0; }
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1rem;
  align-items: start;
}
.group-box {
  background: #fff;
  border: 1px solid #e0ddd2;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 0.65rem 0.9rem 0.75rem;
}
.group-box h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--green-700);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.group-box ul { list-style: none; margin: 0; padding: 0; }
.group-box li { padding: 0.16rem 0; font-size: 0.97rem; }
.empty-note { color: var(--muted); margin: 0.2rem 0 1rem; }

.site-header {
  background: var(--green-900);
  color: #fff;
  padding: 0.9rem 0;
  position: relative;
}
/* tentacle-sucker dotted divider under the header */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 9px;
  background: radial-gradient(circle 3px at 9px 4px, var(--green-700) 97%, transparent) repeat-x;
  background-size: 18px 9px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.logo {
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em;
}
.logo span { color: #8fc7a3; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-img {
  height: 52px; width: 52px; object-fit: contain;
  background: var(--sand); border-radius: 50%; padding: 3px;
}
.site-header nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.site-header nav a {
  color: #d9e9df;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(217,233,223,0.35);
  border-radius: 999px;
  transition: background 0.12s ease, color 0.12s ease;
}
.site-header nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-header nav a.active {
  background: var(--green-100);
  border-color: var(--green-100);
  color: var(--green-900);
}
.site-header nav .linklike { margin-left: 0.3rem; }

main { padding: 1rem 1rem 0.5rem; }

h1 { color: var(--green-900); margin: 0 0 0.6rem; font-size: 1.75rem; }
h2 { color: var(--green-700); margin-top: 0; }
.count { color: var(--muted); font-weight: 500; font-size: 0.9em; }

.hero { margin-bottom: 0.5rem; text-align: center; }
.hero .event-card { text-align: left; }
.hero-year {
  font-family: "Rye", "Georgia", serif;
  font-size: 2.3rem;
  font-weight: 400;
  color: #141414;
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* recenter: offset trailing letter-space */
  margin-top: 0.3rem;
}
.hero-logo { display: block; margin: 0 auto; height: 300px; max-width: 100%; }
.home-card { max-width: 1040px; margin: 0.5rem auto 0; padding: 1.3rem 2rem 1.5rem; }
.event-card.home-card dl {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  row-gap: 1.1rem;
}
.home-card .btn-big { display: block; width: fit-content; margin: 1.4rem auto 0; }
.event-card.home-card dl .span2 { grid-column: span 2; }
@media (max-width: 700px) {
  .event-card.home-card dl { grid-template-columns: 1fr; }
  .event-card.home-card dl .span2 { grid-column: auto; }
}
.player-notes { margin-top: 1.5rem; }
.player-notes h2 { margin-top: 0; font-size: 1.15rem; }
.player-notes ul { margin: 0.3rem 0 0.2rem; padding-left: 1.2rem; }
.player-notes li { margin: 0.3rem 0; }
.event-card, .card {
  background: #fff;
  border: 1px solid #e0ddd2;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card { margin-bottom: 1.5rem; }

.event-title { margin: 0.2rem 0 0.6rem; font-size: 1.5rem; text-align: left; }
.event-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; margin: 0 0 1rem; }
.event-card dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.event-card dd { margin: 0; font-size: 1.15rem; font-weight: 650; color: var(--green-900); }
.details { white-space: pre-line; }
.contact-link { color: var(--green-700); font-weight: 650; }
.contact-link:hover { color: var(--green-900); }
.admin-stats { margin: 0.15rem 0 0; color: var(--green-700); font-weight: 650; }
.muted-note { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 0.8rem; }
.tee-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0 0.5rem;
  vertical-align: 1px;
}

/* golf-ball bullets */
.group-box li::before {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0 32%, #dbd8ca 100%);
  border: 1px solid #b5b1a1;
  vertical-align: -1px;
}
.open-slot { color: var(--muted); font-style: italic; }
.open-slot::before {
  background: none !important;
  border: 1.5px dashed #b5b1a1 !important;
}
.flag-ico { height: 1.05em; vertical-align: -0.12em; }

.btn {
  display: inline-block;
  border: 1px solid var(--green-700);
  background: #fff;
  color: var(--green-700);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--green-100); }
.btn-primary { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: #f8e9e6; }
.btn-sm { padding: 0.15rem 0.6rem; font-size: 0.85rem; }
.btn-big {
  padding: 0.75rem 1.9rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(27,58,38,0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(27,58,38,0.3);
}
.linklike {
  background: none; border: none; padding: 0; cursor: pointer;
  color: #d9e9df; font-weight: 600; font-size: 1rem; font-family: inherit;
}
.linklike:hover { color: #fff; }

.form label { display: block; margin-bottom: 0.9rem; font-weight: 600; color: var(--green-900); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="password"], .form input[type="date"], .form select, .form textarea {
  display: block; width: 100%; margin-top: 0.25rem;
  padding: 0.5rem 0.6rem; font-size: 1rem; font-family: inherit;
  border: 1px solid #c8c4b6; border-radius: 6px; background: #fff;
}
.form textarea { resize: vertical; }
.form fieldset { border: 1px solid #e0ddd2; border-radius: var(--radius); margin: 0 0 1rem; padding: 0.8rem 1rem; }
.form legend { font-weight: 700; color: var(--green-700); padding: 0 0.4rem; }
.radio { font-weight: 500 !important; }
.radio input { margin-right: 0.4rem; }
.indent { margin: 0.2rem 0 0.8rem 1.7rem; }
.narrow { max-width: 380px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.inline { display: inline; }
.inline-form { display: flex; gap: 0.6rem; margin-bottom: 1rem; }
.inline-form input { flex: 1; padding: 0.5rem 0.6rem; font-size: 1rem; border: 1px solid #c8c4b6; border-radius: 6px; }

.hp { position: absolute; left: -9999px; }

.flashes { margin-bottom: 1.2rem; }
.flash {
  background: var(--green-100);
  border: 1px solid var(--green-600);
  color: var(--green-900);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.closed-note { color: var(--danger); font-weight: 650; }

.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid #e8e5da; vertical-align: middle; }
th { color: var(--green-700); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.nowrap { white-space: nowrap; }
.notes-cell { max-width: 200px; }
td select { padding: 0.25rem; font-size: 0.9rem; }

.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 0.35rem 0; border-bottom: 1px solid #eee9dd; }

.course-scene { display: block; margin: 0.5rem auto 0; max-width: 560px; width: 90%; }
.footer-contact { margin-bottom: 0.25rem; }
.footer-contact a { color: #cfe3d6; font-weight: 650; }
.footer-contact a:hover { color: #fff; }
.site-footer {
  background: var(--green-900);
  color: #a8c5b3;
  padding: 0.7rem 0;
  text-align: center;
  font-size: 0.9rem;
}
