/* Shared look for every Cap Tappers family site. Fairway green + gold, built for phones in sunlight. */
:root {
  --bg: #edf1ec; --surface: #ffffff; --ink: #13241b; --muted: #5a6b61; --line: #d3dcd5;
  --accent: #2b5631; --accent-ink: #ffffff; --cap: #7fbf4d; --cap-soft: #e6f2da; --gold: #d4a72c;
  --bad: #b3261e; --bad-soft: #f8e1df; --good: #2e7d4f;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1712; --surface: #16231b; --ink: #e7efe9; --muted: #9db0a4; --line: #2a3b31;
    --accent: #3f7a48; --accent-ink: #ffffff; --cap: #8fd05a; --cap-soft: #22361b;
    --bad: #ff8a80; --bad-soft: #3b1d1b; --good: #6fcf97; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 16px/1.4 var(--body); -webkit-tap-highlight-color: transparent;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .02em; margin: 0; text-wrap: balance; }
h1 { font-size: 26px; line-height: 1; } h2 { font-size: 24px; } h3 { font-size: 19px; }
header.top { background: var(--accent); color: var(--accent-ink); padding: 14px 16px 12px; }
header.top .inner { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.logo { width: 60px; height: auto; background: #fff; border-radius: 12px; padding: 3px; flex: none; }
header.top .sub { font-size: 13px; opacity: .85; }
header.top .right { margin-left: auto; }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 48px; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
label { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
input, select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; min-height: 44px; width: 100%; }
button, .btn { font: inherit; cursor: pointer; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  min-height: 44px; padding: 8px 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.5); min-height: 38px; }
button.danger { color: var(--bad); border-color: var(--bad); }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
a { color: var(--accent); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); font-size: 14px; }
.msg { font-size: 14px; border-radius: 8px; padding: 10px 12px; background: var(--cap-soft); border-left: 4px solid var(--cap); }
.msg.bad { background: var(--bad-soft); border-color: var(--bad); }
.pill { white-space: nowrap; display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); }
.pill.admin { background: var(--cap-soft); border-color: var(--gold); }
.sitetile { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 2px solid var(--gold);
  background: var(--accent); color: #fff; text-decoration: none; min-height: 96px; }
.sitetile .t { font: 700 28px/1 var(--display); letter-spacing: .02em; }
.sitetile .s { font-size: 14px; opacity: .9; }
.sitetile.soon { background: var(--surface); color: var(--ink); border: 1px dashed var(--line); }
.sitetile .go { margin-left: auto; font: 700 28px/1 var(--display); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14px; }
th { font-size: 12px; color: var(--muted); }
td select { min-height: 38px; padding: 6px; }
.tablewrap { overflow-x: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sitetile .pill { color: var(--ink); margin-left: 6px; }
.accrow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.accsite { grid-column: 1 / -1; font-weight: 600; font-size: 14px; }
