/* JGCC Driving Range — player pages. Mobile first; one column; big touch targets. */
:root {
  --bg: #f3f6f2; --card: #ffffff; --ink: #142019; --muted: #5a6b60; --line: #d8e1d9;
  --green: #17603d; --green-ink: #ffffff; --green-soft: #e2efe6;
  --amber: #a86b00; --amber-soft: #fbf0d6; --red: #b2382a; --red-soft: #f9e4e0;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1511; --card: #172019; --ink: #e5ece7; --muted: #9db0a3; --line: #2a362e;
    --green: #4cc185; --green-ink: #062012; --green-soft: #1b3325; --amber: #e8b545; --amber-soft: #33290f;
    --red: #f08a7a; --red-soft: #3a1f1a; color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-text-size-adjust: 100%; }
.wrap { max-width: 480px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-left)) 40px max(16px, env(safe-area-inset-right)); display: flex; flex-direction: column; gap: 16px; }
header.top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.club { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.baytag { font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
h1 { font-size: 1.45rem; margin: 0; line-height: 1.25; text-wrap: balance; }
h2 { font-size: 1.05rem; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.choices { display: grid; gap: 12px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.choice strong { font-size: 1.08rem; }
.choice:hover, .choice:focus-visible { border-color: var(--green); }
.choice[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
.pkg { flex-direction: row; align-items: center; justify-content: space-between; }
.pkg .price { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pkg .was { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: .85rem; margin-right: 6px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
input { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); width: 100%; }
input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 15px 18px; border: 0; border-radius: 12px;
  background: var(--green); color: var(--green-ink); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.secondary { background: transparent; color: var(--green); border: 1.5px solid var(--line); }
.link { background: none; border: 0; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice { border-radius: 12px; padding: 12px 14px; font-size: .94rem; }
.notice.warn { background: var(--amber-soft); }
.notice.error { background: var(--red-soft); }
.notice.ok { background: var(--green-soft); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.big { font-size: 3.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--green); }
.status-hero { text-align: center; align-items: center; padding: 28px 18px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--green-soft); border-top-color: var(--green); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.pdpa { font-size: .8rem; color: var(--muted); }
footer { font-size: .8rem; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }
