/* Round Capture — phone-first. Big tap targets, one hand, sunlight-readable. */
:root {
  --bg: #0e1512;
  --panel: #182019;
  --line: #2c3a2f;
  --text: #eef4ee;
  --muted: #9db3a1;
  --accent: #57c46a;
  --accent-dark: #2f7a3e;
  --warn: #e0a63f;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 12px 12px 40px;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
  max-width: 560px; margin-inline: auto;
}
header h1 { margin: 4px 0 0; font-size: 24px; }
.sub { margin: 2px 0 10px; color: var(--muted); font-size: 14px; }
.queuebar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; margin-bottom: 10px; font-size: 14px; color: var(--muted);
}
.message { background: #3a2c10; border: 1px solid var(--warn); color: #ffd98a;
  border-radius: var(--radius); padding: 8px 12px; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
.primary {
  width: 100%; padding: 14px; border: none; border-radius: var(--radius);
  background: var(--accent); color: #07130a; font-weight: 700; font-size: 17px;
}
.small { padding: 8px 12px; border-radius: 8px; background: var(--panel);
  color: var(--text); border: 1px solid var(--accent); }
.field { display: block; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.field input {
  display: block; width: 100%; margin-top: 4px; padding: 12px; font-size: 16px;
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hole-row {
  display: grid; grid-template-columns: 44px 1fr 1fr 40px; gap: 8px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; margin-bottom: 6px;
}
.hole-row .hn { font-weight: 700; text-align: center; }
.hole-row .hn small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.stepper-group { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.stepper-group label { font-size: 11px; color: var(--muted); display: block; text-align: center; }
.stepper {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #10160f; color: var(--text); font-size: 20px; line-height: 1;
}
.stepper-group .val { min-width: 22px; text-align: center; font-weight: 700; font-size: 18px; }
.fairway {
  height: 40px; border-radius: 8px; border: 1px solid var(--line);
  background: #10160f; color: var(--muted); font-size: 13px;
}
.fairway.hit { color: var(--accent); border-color: var(--accent); }
.fairway.miss { color: var(--warn); border-color: var(--warn); }
.photo-btn {
  display: block; width: 100%; padding: 16px; margin-bottom: 10px; text-align: center;
  border-radius: var(--radius); border: 1px dashed var(--accent);
  background: var(--panel); color: var(--text); font-size: 17px; font-weight: 600;
  cursor: pointer;
}
.photo-preview {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 10px;
}
.photo-preview[hidden] { display: none; }
.queue-list { list-style: none; padding: 0; margin: 0 0 10px; }
.queue-list li {
  display: flex; justify-content: space-between; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; margin-bottom: 6px; font-size: 14px; color: var(--muted);
}
.summary { color: var(--muted); min-height: 1.2em; }
.hint { color: var(--muted); font-size: 13px; }
