/* test-harness.css — Testing hub layout for /play/test.
   Wraps an iframed live-beta phone with a course map, leaderboard, and
   live DB tables. Wide-viewport-first; wraps down on narrower screens. */

.hub-main {
  max-width: 1720px;
  margin: 0 auto;
  padding: 20px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hub-hero {
  padding: 0 4px;
}
.hub-eyebrow {
  display: inline-block;
  padding: 3px 9px;
  border: 1px dashed rgba(217,176,96,0.45);
  border-radius: 999px;
  color: var(--gold, #d9b060);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hub-title {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.01em;
}
.hub-sub {
  margin: 0;
  color: rgba(255,255,255,0.55);
  max-width: 90ch;
  line-height: 1.5;
  font-size: 13px;
}
.hub-sub code {
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

.hub-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hub-tool {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hub-tool label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hub-tool input {
  width: 320px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  outline: none;
}
.hub-tool input:focus { border-color: rgba(217,176,96,0.55); }
.hub-tool .hub-btn { align-self: end; }
.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.hub-btn:hover { background: rgba(217,176,96,0.10); border-color: rgba(217,176,96,0.45); color: var(--gold, #d9b060); }
.hub-btn--danger:hover { background: rgba(226,122,91,0.10); border-color: rgba(226,122,91,0.45); color: #E27A5B; }

/* ── Grid: phone · watch · map · leaderboard ─────────────────── */
.hub-grid {
  display: grid;
  grid-template-columns: 340px 280px minmax(520px, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1500px) {
  .hub-grid {
    grid-template-columns: 340px minmax(520px, 1fr) 320px;
  }
  .hub-col--watch { display: none; }
}
@media (max-width: 1100px) {
  .hub-grid {
    grid-template-columns: 340px 1fr;
  }
  .hub-col--lb { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hub-grid { grid-template-columns: 1fr; }
}

.hub-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 700px;
}
.hub-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}
.hub-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hub-col-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.40);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.hub-col-note {
  margin: 0;
  padding: 0 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.40);
  text-align: center;
}

/* ── Phone shell ──────────────────────────────────────────────── */
.hub-phone-shell {
  background: #0a0c10;
  border: 1px solid #2a2c30;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
  height: 700px;
  overflow: hidden;
}
.hub-phone-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: #0e1115;
}

/* ── Watch shells — new "playing face" design ────────────────
   Full port of the /pitch watch-face concept: round + rectangular
   shells with a 5-page dial carousel (Settings · Playing Face ·
   Scorecard · Data Inputs · Leaderboard), chamfered brass Shot
   pusher, F/M/B distance grid, tier chip (Core / Adv / Adv+) and
   corner Undo/Redo icons. Scoped under .hub-col--watch so the
   generic class names (.dial, .strip, .side, .info, .actions,
   .btn, etc.) can't leak into the rest of the harness. */
.hub-col--watch {
  /* Palette — refined brass gold + warm parchment. See
     watch-concept.html for the reasoning behind each shade. */
  --wf-ink:          #F5EFDD;
  --wf-ink-warm:     #EBDFC0;
  --wf-ink-dim:      rgba(245,239,221,0.55);
  --wf-ink-fainter:  rgba(245,239,221,0.30);
  --wf-ink-lo:       rgba(245,239,221,0.14);

  --wf-gold:         #CFA858;
  --wf-gold-hi:      #E5C079;
  --wf-gold-mid:     #B99147;
  --wf-gold-lo:      #7C5E28;
  --wf-gold-glow:    rgba(207,168,88,0.32);
  --wf-gold-ink:     #1A1206;

  --wf-green:        #7AD69A;
  --wf-green-border: rgba(122,214,154,0.42);

  --wf-chapter:      rgba(245,239,221,0.10);

  --wf-font-display: -apple-system, "SF Pro Display", "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --wf-font-ui:      -apple-system, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ── Watch shell chrome (round + rectangular) ───────────────── */
.hub-col--watch .shell-round {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(245,239,221,0.10), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(245,239,221,0.06), transparent 45%),
    linear-gradient(160deg, #2C3543 0%, #14192280 55%, #1A2130 100%);
  box-shadow:
    inset 0 2px 4px rgba(245,239,221,0.12),
    inset 0 -2px 6px rgba(0,0,0,0.75),
    0 20px 44px rgba(0,0,0,0.55),
    0 4px 12px rgba(0,0,0,0.35);
  padding: 9px;
  margin: 0 auto;
}
.hub-col--watch .shell-round::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0D111960, #05070C);
  box-shadow:
    inset 0 1px 0 rgba(245,239,221,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.6);
}
.hub-col--watch .chapter {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  pointer-events: none;
}
.hub-col--watch .chapter svg { display: block; width: 100%; height: 100%; }

.hub-col--watch .shell-apple {
  position: relative;
  width: 232px;
  height: 284px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 30% 15%, rgba(245,239,221,0.10), transparent 40%),
    linear-gradient(160deg, #2C3543 0%, #14192280 55%, #1A2130 100%);
  padding: 9px;
  margin: 0 auto;
  box-shadow:
    inset 0 2px 4px rgba(245,239,221,0.12),
    inset 0 -2px 6px rgba(0,0,0,0.75),
    0 20px 44px rgba(0,0,0,0.55);
}
.hub-col--watch .shell-apple::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 40px;
  background: linear-gradient(180deg, #0D1119 0%, #05070C 100%);
  box-shadow: inset 0 1px 0 rgba(245,239,221,0.04);
}
.hub-col--watch .shell-apple::after {
  content: "";
  position: absolute;
  top: 70px; right: -4px;
  width: 6px; height: 24px;
  background: linear-gradient(180deg, #4A5468, #2A3240);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 6px rgba(0,0,0,0.5);
}

/* ── Dial carousel (5 pages) ─────────────────────────────────── */
.hub-col--watch .dial-carousel {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  container-type: inline-size;
}
.hub-col--watch .shell-round .dial-carousel {
  inset: 9px;
  border-radius: 50%;
}
.hub-col--watch .shell-apple .dial-carousel {
  inset: 9px;
  border-radius: 40px;
}
.hub-col--watch .dial-pages {
  display: flex;
  height: 100%;
  width: 500cqw;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
  will-change: transform;
}
.hub-col--watch .dial-pages.is-dragging {
  transition: none;
  cursor: grabbing;
}
.hub-col--watch .dial-page {
  flex: 0 0 100cqw;
  width: 100cqw;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
}
.hub-col--watch .dial-page--placeholder {
  padding: 16px 24px;
  text-align: center;
  color: var(--wf-ink-dim);
}
.hub-col--watch .placeholder-eyebrow {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
  margin-bottom: 10px;
}
.hub-col--watch .placeholder-title {
  font-family: var(--wf-font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--wf-ink);
  margin-bottom: 8px;
}
.hub-col--watch .placeholder-sub {
  font-size: 10px;
  line-height: 1.5;
  color: var(--wf-ink-fainter);
  max-width: 20ch;
  margin: 0 auto;
}
.hub-col--watch .page-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}
.hub-col--watch .shell-apple .page-indicator { bottom: 8px; }
.hub-col--watch .page-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245,239,221,0.20);
  transition: background 200ms, transform 200ms;
}
.hub-col--watch .page-dot.is-active {
  background: var(--wf-ink);
  transform: scale(1.15);
}

/* ── Watch palette additions (score tones) ────────────────────── */
:root {
  --wf-birdie:  #7AD69A;
  --wf-bogey:   #D9B060;
  --wf-double:  #E27A5B;
  --wf-under:   var(--wf-birdie);
  --wf-over:    var(--wf-double);
  --wf-status-good: var(--wf-birdie);
  --wf-status-warn: var(--wf-double);
}

/* ── Page: Scorecard ──────────────────────────────────────────── */
/* Full-face 18-hole grid. Each cell shows the hole # (muted) and
   the stroke count; unplayed holes render an em-dash and a fainter
   surface so the "thru" boundary reads at a glance. Score tone
   colours the cell's top border — same status palette the round-
   detail page uses (birdie / par / bogey / double+). */
.hub-col--watch .dial-page--sc {
  padding: 22px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-items: stretch;
}
.hub-col--watch .shell-apple .dial-page--sc {
  padding: 18px 14px 24px;
  gap: 10px;
}
.hub-col--watch .wf-sc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--wf-ink-dim);
  font-family: var(--wf-font-ui);
}
.hub-col--watch .wf-sc-eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
}
.hub-col--watch .wf-sc-total {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--wf-font-display);
  color: var(--wf-ink);
  font-variant-numeric: tabular-nums;
}
.hub-col--watch .wf-sc-strokes {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--wf-ink);
}
.hub-col--watch .wf-sc-vs {
  font-size: 12px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--wf-ink-lo);
  color: var(--wf-ink);
}
.hub-col--watch .wf-sc-vs.is-under { color: var(--wf-under);  background: rgba(122,214,154,0.20); }
.hub-col--watch .wf-sc-vs.is-over  { color: var(--wf-over);   background: rgba(226,122,91,0.20); }
.hub-col--watch .wf-sc-vs.is-even  { color: var(--wf-ink);    background: var(--wf-ink-lo); }
.hub-col--watch .wf-sc-thru {
  font-size: 9px;
  color: var(--wf-ink-fainter);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.hub-col--watch .wf-sc-thru-sep { opacity: 0.5; margin: 0 2px; }

.hub-col--watch .wf-sc-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  padding: 0 4px;
}
.hub-col--watch .shell-apple .wf-sc-grid { padding: 0 2px; gap: 3px; }
.hub-col--watch .wf-sc-cell {
  background: rgba(245,239,221,0.04);
  border-top: 2px solid rgba(245,239,221,0.12);
  border-radius: 4px;
  padding: 3px 1px 4px;
  text-align: center;
  color: var(--wf-ink);
  font-variant-numeric: tabular-nums;
  min-height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hub-col--watch .wf-sc-cell__num {
  font-size: 7px;
  letter-spacing: 0.05em;
  color: var(--wf-ink-fainter);
  font-weight: 600;
}
.hub-col--watch .wf-sc-cell__strokes {
  font-family: var(--wf-font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--wf-ink);
}
.hub-col--watch .wf-sc-cell--none {
  opacity: 0.4;
}
.hub-col--watch .wf-sc-cell--birdie { border-top-color: var(--wf-birdie); background: rgba(122,214,154,0.10); }
.hub-col--watch .wf-sc-cell--par    { border-top-color: rgba(245,239,221,0.28); }
.hub-col--watch .wf-sc-cell--bogey  { border-top-color: var(--wf-bogey);  background: rgba(217,176,96,0.10); }
.hub-col--watch .wf-sc-cell--double { border-top-color: var(--wf-double); background: rgba(226,122,91,0.14); }
.hub-col--watch .wf-sc-cell--current {
  outline: 1.5px solid var(--wf-gold);
  outline-offset: -1px;
}

/* ── Page: Data Inputs (Core tier only) ───────────────────────── */
.hub-col--watch .dial-page--in {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.hub-col--watch .shell-apple .dial-page--in { padding: 18px 16px 20px; gap: 8px; }
.hub-col--watch .wf-in-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--wf-ink-dim);
  font-family: var(--wf-font-ui);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--wf-ink-lo);
}
.hub-col--watch .wf-in-head .wf-hole,
.hub-col--watch .wf-in-head .wf-par {
  color: var(--wf-ink);
  font-family: var(--wf-font-display);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hub-col--watch .wf-in-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hub-col--watch .wf-in-lbl {
  font-size: 10px;
  color: var(--wf-ink-dim);
  font-family: var(--wf-font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hub-col--watch .wf-in-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hub-col--watch .wf-in-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--wf-ink-lo);
  background: rgba(245,239,221,0.04);
  color: var(--wf-ink);
  font-size: 16px;
  font-family: var(--wf-font-display);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 120ms, transform 120ms;
}
.hub-col--watch .wf-in-btn:hover  { background: rgba(245,239,221,0.12); }
.hub-col--watch .wf-in-btn:active { transform: scale(0.92); }
.hub-col--watch .wf-in-val {
  min-width: 24px;
  text-align: center;
  font-family: var(--wf-font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--wf-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.hub-col--watch .wf-in-save {
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--wf-gold);
  background: linear-gradient(180deg, var(--wf-gold-hi) 0%, var(--wf-gold) 60%, var(--wf-gold-mid) 100%);
  color: var(--wf-gold-ink);
  font-family: var(--wf-font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms;
}
.hub-col--watch .wf-in-save:active { transform: scale(0.96); }

/* ── Page: Leaderboard ────────────────────────────────────────── */
.hub-col--watch .dial-page--lb {
  padding: 22px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  justify-items: stretch;
}
.hub-col--watch .shell-apple .dial-page--lb { padding: 18px 12px 22px; gap: 6px; }
.hub-col--watch .wf-lb-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--wf-ink-lo);
  font-family: var(--wf-font-ui);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
}
.hub-col--watch .wf-lb-mode {
  color: var(--wf-gold-hi);
  font-weight: 700;
}
.hub-col--watch .wf-lb-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  max-height: 100%;
  flex: 1;
}
.hub-col--watch .wf-lb-row {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  gap: 6px;
  align-items: baseline;
  padding: 4px 2px;
  border-radius: 4px;
  font-family: var(--wf-font-ui);
  font-variant-numeric: tabular-nums;
}
.hub-col--watch .wf-lb-row.is-you {
  background: rgba(207,168,88,0.12);
}
.hub-col--watch .wf-lb-rank {
  font-size: 10px;
  color: var(--wf-ink-fainter);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hub-col--watch .wf-lb-name {
  font-size: 11px;
  color: var(--wf-ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-col--watch .wf-lb-thru-cell {
  font-size: 9px;
  color: var(--wf-ink-fainter);
}
.hub-col--watch .wf-lb-vs {
  font-family: var(--wf-font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--wf-ink);
  min-width: 26px;
  text-align: right;
}
.hub-col--watch .wf-lb-vs.is-under { color: var(--wf-under); }
.hub-col--watch .wf-lb-vs.is-over  { color: var(--wf-over); }
.hub-col--watch .wf-lb-empty {
  text-align: center;
  color: var(--wf-ink-fainter);
  font-size: 10px;
  font-family: var(--wf-font-ui);
  padding: 20px 8px 0;
}
.hub-col--watch .wf-lb-list:not(:empty) + .wf-lb-empty { display: none; }

/* ── Page: Settings ───────────────────────────────────────────── */
.hub-col--watch .dial-page--st {
  padding: 22px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.hub-col--watch .shell-apple .dial-page--st { padding: 18px 14px 22px; gap: 8px; }
.hub-col--watch .wf-st-head {
  text-align: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--wf-ink-lo);
}
.hub-col--watch .wf-st-eyebrow {
  font-family: var(--wf-font-ui);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
  font-weight: 700;
}
.hub-col--watch .wf-st-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hub-col--watch .wf-st-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: inherit;
  font-family: var(--wf-font-ui);
  cursor: default;
  font-size: 10px;
  color: var(--wf-ink-dim);
  letter-spacing: 0.04em;
}
.hub-col--watch .wf-st-row--toggle { cursor: pointer; }
.hub-col--watch .wf-st-row--toggle:hover { background: rgba(245,239,221,0.05); }
.hub-col--watch .wf-st-lbl { color: var(--wf-ink); }
.hub-col--watch .wf-st-val { color: var(--wf-ink-dim); font-variant-numeric: tabular-nums; }
.hub-col--watch .wf-st-conn.is-live { color: var(--wf-birdie); }
.hub-col--watch .wf-st-conn.is-dead { color: var(--wf-double); }
/* Segmented control — three-way tier picker sits in a row of the
   Settings list. Whole strip carries .btn--tier for existing JS
   hooks; each button has data-seg-tier the click handler uses. */
.hub-col--watch .wf-st-row--seg {
  align-items: center;
}
.hub-col--watch .wf-st-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: rgba(245,239,221,0.06);
  border: 1px solid var(--wf-ink-lo);
  gap: 0;
}
.hub-col--watch .wf-st-seg-btn {
  min-width: 30px;
  padding: 3px 8px;
  border: none;
  background: transparent;
  color: var(--wf-ink-dim);
  font-family: var(--wf-font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms, color 140ms;
}
.hub-col--watch .wf-st-seg-btn:hover { color: var(--wf-ink); }
.hub-col--watch .wf-st-seg-btn.is-active {
  background: linear-gradient(180deg, var(--wf-gold-hi) 0%, var(--wf-gold) 60%, var(--wf-gold-mid) 100%);
  color: var(--wf-gold-ink);
}

/* Little pill toggle — brass when active, dim outline when off. */
.hub-col--watch .wf-st-toggle {
  width: 26px;
  height: 15px;
  border-radius: 999px;
  background: rgba(245,239,221,0.12);
  border: 1px solid var(--wf-ink-lo);
  position: relative;
  transition: background 160ms, border-color 160ms;
  flex: 0 0 auto;
}
.hub-col--watch .wf-st-toggle::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wf-ink);
  transition: transform 160ms, background 160ms;
}
.hub-col--watch .wf-st-row--toggle[aria-pressed="true"] .wf-st-toggle {
  background: linear-gradient(180deg, var(--wf-gold-hi) 0%, var(--wf-gold) 100%);
  border-color: var(--wf-gold);
}
.hub-col--watch .wf-st-row--toggle[aria-pressed="true"] .wf-st-toggle::after {
  transform: translateX(11px);
  background: var(--wf-gold-ink);
}

/* ── Watch · Map overlay ───────────────────────────────────────
   Fills the dial-carousel with a Leaflet map when the Playing
   face's Map button is tapped. The map inherits the shell's shape
   (circle for the round watch, rounded rect for Apple) via
   border-radius + overflow: hidden on the canvas. Fixed zoom, no
   controls, dragging enabled. */
.hub-col--watch .wf-map {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: #0e0f13;
  border-radius: inherit;
  overflow: hidden;
}
.hub-col--watch .shell-round .wf-map { border-radius: 50%; }
.hub-col--watch .shell-apple .wf-map { border-radius: 40px; }
.hub-col--watch .wf-map-canvas {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  cursor: grab;
}
.hub-col--watch .wf-map-canvas:active { cursor: grabbing; }
.hub-col--watch .wf-map-canvas .leaflet-container {
  background: #0e0f13;
  border-radius: inherit;
  font-family: var(--wf-font-ui);
}
/* Close button — the ONLY way back to the Playing face while the
   map is open, so it has to read as tappable at a glance. Brass
   gradient like the Save/Shot buttons, ringed with a dark
   backdrop so it stands off the aerial imagery underneath. */
.hub-col--watch .wf-map-close {
  position: absolute;
  z-index: 300;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--wf-gold-hi) 0%, var(--wf-gold) 60%, var(--wf-gold-mid) 100%);
  color: var(--wf-gold-ink);
  border: 1.5px solid rgba(20,15,5,0.5);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(255,255,255,0.10) inset;
  transition: transform 120ms, filter 120ms;
}
.hub-col--watch .wf-map-close:hover  { filter: brightness(1.08); }
.hub-col--watch .wf-map-close:active { transform: scale(0.94); }
.hub-col--watch .wf-map-close svg { width: 16px; height: 16px; }
/* Apple shell — sits in the flat top-right corner. */
.hub-col--watch .shell-apple .wf-map-close { top: 10px; right: 10px; }
/* Round shell — needs to sit inside the circular clip; corner (0,0)
   of the square bounding box is outside the circle. Push in enough
   that the whole 34px button + its glow stay comfortably inside the
   ~140px-radius disc. */
.hub-col--watch .shell-round .wf-map-close { top: 48px; right: 48px; }
.hub-col--watch .wf-map-empty {
  position: absolute;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-ink-fainter);
  font-family: var(--wf-font-ui);
  font-size: 10px;
  letter-spacing: 0.06em;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(14,15,19,0.85);
}
.hub-col--watch .wf-map[data-loaded] .wf-map-empty { display: none; }

/* Player marker inside the watch map — SAME blue-dot visual as
   the phone's lb-player-dot so the watch view reads as "the same
   map, smaller." Draggable in this shell (unlike the phone where
   it just tracks GPS), so cursor + hover state are opt-in. */
.hub-col--watch .wf-map-player-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3C7BB5;
  border: 2px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.40);
  cursor: grab;
}
.hub-col--watch .wf-map-player-dot:active { cursor: grabbing; }

/* Aim marker — mirrors the phone's lb-aim-icon: gold bullseye
   inside a transparent wrap so the target reads clearly against
   the fairway green. Sized down from 40px → 30px for the watch. */
.hub-col--watch .wf-map-aim-wrap { background: transparent; border: none; }
.hub-col--watch .wf-map-aim {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #FFD66B;
  font-size: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.55));
  cursor: grab;
}
.hub-col--watch .wf-map-aim:active { cursor: grabbing; }
.leaflet-tooltip.wf-map-aim-tooltip {
  background: rgba(10,12,16,0.92);
  border: 1px solid rgba(217,176,96,0.55);
  color: var(--wf-gold-hi);
  font-family: var(--wf-font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.45);
}
.leaflet-tooltip.wf-map-aim-tooltip::before { display: none; }

/* ── Playing-face dial ───────────────────────────────────────── */
.hub-col--watch .dial {
  /* Bumped from 188 → 210 px so the info row has enough vertical
     budget for the F/B/hero cluster without the side columns
     spilling into the actions row and revealing the Shot button's
     border-box gradient behind the yardage. */
  width: 210px;
  height: 210px;
  display: grid;
  /* Strip / dots / info are content-sized and stack tight at the top;
     .actions takes the remaining 1fr and internally distributes the
     Shot button (at top) and the Pin · Adv · Map row (at bottom). This
     brings the yardage right under the dots and gives Pin/Map real
     breathing room below the Shot button. */
  grid-template-rows: auto auto auto 1fr;
  row-gap: 0;
}
.hub-col--watch .dial > .strip     { grid-row: 1; }
.hub-col--watch .dial > .dots--top { grid-row: 2; }
.hub-col--watch .dial > .info      { grid-row: 3; }
.hub-col--watch .dial > .actions   { grid-row: 4; }
/* Removed the transform: translateZ(0) that was on .strip + .actions.
   Chrome kept rendering a hairline where a GPU-composited layer met
   its non-composited neighbour, which is what was reading as a gold
   divider under the dots on the round watch.
   `contain: paint` was tried here too but on Chrome it clipped
   descendants that hung outside the .dial's box (Shot button glow,
   possibly Pin·Adv·Map row on the round face), so it's off. */
.hub-col--watch .dial > .strip,
.hub-col--watch .dial > .dots--top,
.hub-col--watch .dial > .info,
.hub-col--watch .dial > .actions   { transform: none; }
/* Belt-and-braces reset — nothing between strip and Shot button
   should paint a border, box-shadow, or background of its own. */
.hub-col--watch .dots--top,
.hub-col--watch .info,
.hub-col--watch .fmb,
.hub-col--watch .wf-hero {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  background-image: none;
}
/* Hero shouldn't clip the "y" descender or the middle-dot placeholder
   below its own baseline — happened on the Apple face when line-
   height was 0.9. Keep overflow visible so a tight line-height
   doesn't crop the glyph rendering. */
.hub-col--watch .wf-hero,
.hub-col--watch .wf-hero .val { overflow: visible; }
/* The watch's yardage container used to be <div class="hero">, which
   collided with the site's shared landing/dashboard .hero rules
   (that stylesheet paints a 1 px gold gradient line via .hero::after
   and a dot-pattern via .hero::before, both of which were leaking
   into the watch dial as a phantom "gold divider above the yardage").
   Fixed at the source by renaming the class to .wf-hero in markup +
   every rule in this file. The block below is a defensive belt-and-
   braces reset so nothing ever paints pseudo-elements on .wf-hero
   inside a watch shell, even if another stylesheet adds one later. */
.hub-col--watch .wf-hero::before,
.hub-col--watch .wf-hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.hub-col--watch .shell-apple .dial {
  width: 100%;
  height: 100%;
  padding: 15px 18px 24px;
  /* Mirror the Garmin row layout: strip / dots / info are content-
     sized and stack tight at the top; .actions owns the remaining
     1fr and space-betweens the Shot button (top) + Pin/Adv/Map row
     (bottom). Was auto auto 1fr auto, which left a fat gap between
     yardage and Shot button on Apple. */
  grid-template-rows: auto auto auto 1fr;
  row-gap: 4px;
}

.hub-col--watch .strip {
  position: relative;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1px;
}
.hub-col--watch .strip-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-ink-dim);
  font-family: var(--wf-font-ui);
}
.hub-col--watch .strip-meta .num {
  color: var(--wf-ink);
  font-weight: 700;
  margin-left: 3px;
}
.hub-col--watch .strip-meta .sep {
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--wf-ink-lo);
  display: inline-block;
  align-self: center;
  transform: translateY(-2px);
}

.hub-col--watch .dots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hub-col--watch .dots--top { padding: 2px 0 4px; }
.hub-col--watch .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--wf-ink-lo);
  transition: background 200ms, box-shadow 200ms;
}
.hub-col--watch .dot--tee     { background: #FFFFFF; border-color: rgba(255,255,255,0.65); box-shadow: 0 0 4px rgba(255,255,255,0.25); }
.hub-col--watch .dot--shot    { background: #6CCF8E; border-color: #6CCF8E; box-shadow: 0 0 4px rgba(108,207,142,0.35); }
.hub-col--watch .dot--sand    { background: #E4C287; border-color: #E4C287; box-shadow: 0 0 4px rgba(228,194,135,0.35); }
.hub-col--watch .dot--penalty { background: #E27A5B; border-color: #E27A5B; box-shadow: 0 0 4px rgba(226,122,91,0.35); }
.hub-col--watch .dot--holed   { background: #D9B060; border-color: #D9B060; box-shadow: 0 0 5px rgba(217,176,96,0.45); }

.hub-col--watch .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* .info is now auto-sized (no 1fr), so it only takes as much space
     as its content needs. Top-anchor + 8 px padding-top matches the
     strip → dots gap, giving the whole top block one consistent
     rhythm. The empty vertical budget the dial has left over lives
     inside .actions, between the Shot button and Pin/Adv/Map. */
  justify-content: flex-start;
  position: relative;
  margin-bottom: 0;
  padding-top: 8px;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}
.hub-col--watch .fmb {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  /* Align to the TOP of each column so the pin yardage top edge lines
     up with the front/back yardage top edges (rather than the hero
     extending upward past the smaller sides because of center align). */
  align-items: start;
  gap: 12px;
  width: 100%;
  position: relative;
}
.hub-col--watch .side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  gap: 4px;
  color: var(--wf-ink-dim);
  min-height: 40px;
}
.hub-col--watch .fmb .side:first-child { align-items: flex-start; }
.hub-col--watch .fmb .side:last-child  { align-items: flex-end; }
.hub-col--watch .side .label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
  /* Flex-order stack for the side column: icon on top, then the
     yardage value, then the Front/Back label as a caption BELOW
     the number. Puts the eye on the number first (glanceable) and
     the label reads as its footnote. */
  order: 2;
  font-family: var(--wf-font-ui);
}
/* Undo/Redo icon sits on top of the side stack — add a touch of
   margin-bottom on top of the .side gap: 4 so there's a bit more
   air between the icon and the yardage value below it. Total icon
   → val gap ≈ 8 px. */
.hub-col--watch .side .corner-icon { order: 0; margin-bottom: 4px; }
.hub-col--watch .side .val {
  font-family: var(--wf-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--wf-ink-warm);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  order: 1;
}
.hub-col--watch .wf-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  line-height: 0.9;
  position: relative;
  /* Belt-and-braces reset so nothing paints a border/glow around the
     yardage. The prior port was reading with a faint chamfered outline
     around 188 — force everything transparent here so it can't. */
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  /* Push the hero down so its top edge sits on the same y as the side
     val tops (label + label-to-val gap on .side). Values below match
     side .label (~8px line box) + side gap (4px). */
  padding-top: 12px;
}
.hub-col--watch .wf-hero .val {
  font-family: var(--wf-font-display);
  font-weight: 500;
  /* Reduced from 68 so the middle yardage fits neatly between the
     front and back columns without dwarfing them. */
  font-size: 52px;
  /* Sub-1 line-height crops the fat empty band that a display font's
     line box carries under a numeric glyph. Before this, "215" had a
     ~15 px transparent strip below the digit shape before the Shot
     button, which read as a big unnecessary margin on div.hero. */
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: var(--wf-ink);
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  text-decoration: none;
  display: inline-block;
}
.hub-col--watch .wf-hero .val > * {
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}
.hub-col--watch .shell-apple .wf-hero .val {
  /* 37 px — nudged up from 34 for a bit more presence without going
     all the way back to the original 40 (which was crowding Front /
     Back). Line-height stays at 1 so the "y" descender doesn't clip. */
  font-size: 37px;
  line-height: 1;
}

/* Empty-state placeholders — .is-empty is added by setAllByClass
   whenever the value is null / undefined. Shrinks the character
   (a middle-dot, not an em-dash) and mutes the colour so missing
   data reads as quiet placeholder rather than a bold "bar" — but
   stays legible against the dial background. */
.hub-col--watch .wf-front.is-empty,
.hub-col--watch .wf-back.is-empty,
.hub-col--watch .wf-middle.is-empty,
.hub-col--watch .strip-meta .num.is-empty {
  font-weight: 400;
  color: var(--wf-ink-dim);
  letter-spacing: 0;
  opacity: 1;
}
.hub-col--watch .wf-middle.is-empty { font-size: 22px; line-height: 1; }
.hub-col--watch .wf-front.is-empty,
.hub-col--watch .wf-back.is-empty  { font-size: 14px; }
.hub-col--watch .strip-meta .num.is-empty { font-size: 8px; }
/* When the middle val is empty, hide the "y" unit next to it — an
   orphan unit reads as a typo. */
.hub-col--watch .wf-hero .val:has(.wf-middle.is-empty) .unit { display: none; }
/* Garmin-only: 0.57 was cropping the actual "1" / "2" / "3" digit
   glyphs (the digits sit BELOW the 0.57 line-box). 0.9 is tight
   enough to not read as fat, but leaves the full digit visible. */
.hub-col--watch .shell-round .hero .val { line-height: 0.9; }
.hub-col--watch .wf-hero .unit {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--wf-ink-warm);
  vertical-align: baseline;
  margin-left: 2px;
  opacity: 0.45;
}

.hub-col--watch .corner-icon {
  appearance: none;
  background: transparent;
  border: 1px solid var(--wf-ink-lo);
  color: var(--wf-ink-fainter);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 140ms, border-color 140ms, background 140ms;
}
.hub-col--watch .corner-icon svg { width: 12px; height: 12px; display: block; }
.hub-col--watch .corner-icon:hover {
  color: var(--wf-ink-warm);
  border-color: var(--wf-ink-dim);
  background: rgba(245,239,221,0.03);
}
/* margin-top on .corner-icon was for the old label / val / icon
   stack. In the new label / icon / val stack the .side gap already
   spaces things — no extra top margin needed here. */

/* Actions cluster — Shot chamfered plaque + Pin · Tier · Map row.
   BASE rule (matches the Apple face, which was fine as-is). Round-
   specific overrides live in a scoped .shell-round block further
   down — see comment there. Rule of thumb going forward: any
   layout change to a specific watch should be gated on its
   .shell-<name> class, not applied globally. */
.hub-col--watch .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding-top: 4px;
  padding-bottom: 6px;
  gap: 0;
}
/* Round-only actions layout — the shell has less vertical budget in
   the dial (210 px vs Apple's 100% of the carousel), so space-between
   was actually packing Shot and the link row hard against each other
   (natural content > available), which pushed Map·Adv·Pin down into
   the page-indicator dots at bottom: 16.
   Fix: flex-start with an explicit 14 px gap between Shot and the
   link row, plus a chunky padding-bottom that reserves room for
   the page-indicator. Shot sits directly under the yardage, the
   link row sits just below Shot, and everything below that is dead
   space where the page dots live. Apple keeps the base. */
.hub-col--watch .shell-round .actions {
  justify-content: flex-start;
  padding-top: 12px;
  /* Round-only: tighten the Shot → Map·Adv·Pin gap (12 → 6). The
     Map row was reading with too much air above it and too little
     air between it and the page-indicator dots at the bottom.
     Shrinking the gap does both — the row lifts closer to Shot and
     the space beneath it gains 6 px. */
  gap: 6px;
  padding-bottom: 34px;
}
/* Slightly smaller Shot plaque on round so the whole actions column
   fits inside the 210 px dial with genuine gaps rather than colliding
   sizes. */
.hub-col--watch .shell-round .btn--shot {
  padding: 12px 16px;
  font-size: 11.5px;
}

/* Apple-only tweaks:
   - .info padding-top 8 → 4 so the Undo / Redo corner icons sit
     closer to the stroke-dots strip above. The whole info block
     lifts by 4 px which also gives the actions row below more
     vertical budget.
   - .actions padding-bottom 6 → 16 so the Map · Adv · Pin row
     lifts ~50 % away from the page-indicator dots at the bottom.
     Space-between keeps Shot pinned near the top, so this
     automatically tightens the Shot → Map row gap by the same
     amount. Two knobs, one effect. */
.hub-col--watch .shell-apple .info { padding-top: 4px; }
.hub-col--watch .shell-apple .actions { padding-bottom: 16px; }
.hub-col--watch .btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--wf-font-ui);
  transition: background 140ms, color 140ms, border-color 140ms, transform 100ms;
}
.hub-col--watch .btn:active { transform: scale(0.98); }

.hub-col--watch .btn--shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 60%,
      rgba(207,168,88,0.18) 0%,
      rgba(207,168,88,0.06) 55%,
      transparent 90%) padding-box,
    linear-gradient(180deg, #0F1621 0%, #08101A 100%) padding-box,
    linear-gradient(180deg, #E8C876 0%, #C9A55A 45%, #7C5E28 100%) border-box;
  color: #F5D385;
  /* Was 12/16 padding, 11px font. Bumped to 16/18 and 12.5px so the
     plate is a proper Shot pusher — easier to tap and closer to the
     concept's proportions on a real watch. */
  padding: 16px 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
  /* Toned-down drop-shadow — bigger Y offset, smaller blur ratio,
     lower opacity. Keeps the sense of the plate being illuminated
     without the glow reaching upward into the yardage row. */
  filter:
    drop-shadow(0 3px 3px rgba(207,168,88,0.14))
    drop-shadow(0 10px 14px rgba(207,168,88,0.30));
  animation: wf-shot-idle 5s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(240,206,124,0.35);
  transition:
    transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1),
    filter   240ms ease-out,
    color    220ms ease-out;
}
.hub-col--watch .btn--shot:hover {
  color: #FCE29B;
  filter:
    drop-shadow(0 3px 6px rgba(207,168,88,0.22))
    drop-shadow(0 10px 26px rgba(207,168,88,0.58));
}
.hub-col--watch .btn--shot:active {
  transform: translateY(1.5px) scale(0.985);
  color: #FFEAA8;
  filter:
    drop-shadow(0 1px 2px rgba(207,168,88,0.30))
    drop-shadow(0 3px 8px rgba(207,168,88,0.28));
  transition:
    transform 55ms cubic-bezier(0.4, 0, 0.6, 1),
    filter   55ms cubic-bezier(0.4, 0, 0.6, 1),
    color    55ms ease-out;
  animation: none;
}
.hub-col--watch .shell-apple .btn--shot {
  clip-path: polygon(
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px),
    0 14px
  );
}
.hub-col--watch .shot-plus {
  font-size: 14px;
  font-weight: 300;
  line-height: 0;
  opacity: 0.80;
  letter-spacing: 0;
  transform: translateY(-1px);
  color: #F0CE7C;
}
.hub-col--watch .shot-label { position: relative; z-index: 1; }
@keyframes wf-shot-idle {
  0%, 100% { filter:
    drop-shadow(0 3px 3px rgba(207,168,88,0.12))
    drop-shadow(0 10px 12px rgba(207,168,88,0.24)); }
  50%      { filter:
    drop-shadow(0 4px 4px rgba(207,168,88,0.18))
    drop-shadow(0 12px 18px rgba(207,168,88,0.42)); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-col--watch .btn--shot { animation: none; }
}

.hub-col--watch .actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 3px;
}
.hub-col--watch .link-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--wf-ink-lo);
  display: inline-block;
}
.hub-col--watch .btn--link {
  background: transparent;
  border: 0;
  /* Bumped from 6/4 → 10/8 padding and 8.5 → 10.5 font so the row is
     a real hit-target rather than a hairline of text. .actions owns
     a lot of vertical budget now, so we can spend some of it on the
     bottom link row without pushing anything else. */
  padding: 10px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  opacity: 0.85;
}
.hub-col--watch .btn--link.btn--holed {
  color: var(--wf-green);
  border-bottom-color: var(--wf-green-border);
}
.hub-col--watch .btn--link.btn--holed:hover {
  opacity: 1;
  border-bottom-color: var(--wf-green);
}
.hub-col--watch .btn--link.btn--map {
  color: var(--wf-ink-dim);
  border-bottom-color: var(--wf-ink-lo);
}
.hub-col--watch .btn--link.btn--map:hover {
  color: var(--wf-ink);
  opacity: 1;
  border-bottom-color: var(--wf-ink-dim);
}

.hub-col--watch .btn--link.btn--tier {
  color: var(--wf-ink-warm);
  border-bottom-color: rgba(235,223,192,0.35);
  /* Lock chip width so cycling Core / Adv / Adv+ (which are 4 / 3 / 4
     characters at the same letter-spacing) doesn't push Pin and Map
     sideways as the label swaps. Sized to fit the widest ("Adv+"). */
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-col--watch .btn--link.btn--tier:hover { color: var(--wf-ink); opacity: 1; }
.hub-col--watch .btn--link.btn--tier.is-core { color: rgba(184,196,208,0.85); border-bottom-color: rgba(184,196,208,0.30); }
.hub-col--watch .btn--link.btn--tier.is-adv { color: var(--wf-ink-warm); border-bottom-color: rgba(235,223,192,0.35); }
.hub-col--watch .btn--link.btn--tier.is-advplus { color: #E5C079; border-bottom-color: rgba(229,192,121,0.40); }

/* On Core tier, undo/redo corner icons disappear */
.hub-col--watch .dial-carousel[data-tier="core"] .corner-icon { display: none; }

/* ── Shot-type chooser overlay ───────────────────────────────
   Fills the dial-carousel when the watch Shot button is long-pressed.
   Constrained by the shell's border-radius so the modal fits inside
   the round bezel / rounded rectangle. */
.hub-col--watch .shot-chooser {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(6, 10, 16, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 18px;
  animation: wf-chooser-in 180ms ease-out;
}
.hub-col--watch .shot-chooser[hidden] { display: none; }
.hub-col--watch .shell-round .shot-chooser { border-radius: 50%; }
.hub-col--watch .shell-apple .shot-chooser { border-radius: 40px; }
@keyframes wf-chooser-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.hub-col--watch .shot-chooser-title {
  font-family: var(--wf-font-ui);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wf-ink-fainter);
  margin-bottom: 6px;
}
.hub-col--watch .shot-chooser-step[hidden] { display: none; }
.hub-col--watch .shot-chooser-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.hub-col--watch .shot-chooser-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 140px;
}
/* 5 options (penalty source) need tighter vertical spacing so the
   stack fits inside the round bezel without spilling. */
.hub-col--watch .shot-chooser-btns--compact {
  gap: 4px;
  max-width: 120px;
}
.hub-col--watch .shot-chooser-btns--compact .shot-chooser-btn {
  padding: 6px 8px;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hub-col--watch .shot-chooser-btn {
  appearance: none;
  border: 1.5px solid var(--wf-ink-lo);
  background: rgba(245,239,221,0.05);
  color: var(--wf-ink-warm);
  padding: 8px 10px;
  font-family: var(--wf-font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px
  );
  transition: background 140ms, color 140ms, border-color 140ms, transform 100ms;
}
.hub-col--watch .shot-chooser-btn:hover {
  background: rgba(245,239,221,0.10);
  color: var(--wf-ink);
  border-color: var(--wf-ink-dim);
}
.hub-col--watch .shot-chooser-btn:active { transform: scale(0.97); }
.hub-col--watch .shot-chooser-btn--sand {
  color: #E4C287;
  border-color: rgba(228,194,135,0.42);
}
.hub-col--watch .shot-chooser-btn--sand:hover {
  color: #F0D6A1;
  border-color: rgba(228,194,135,0.72);
}
.hub-col--watch .shot-chooser-btn--pen {
  color: #E27A5B;
  border-color: rgba(226,122,91,0.42);
}
.hub-col--watch .shot-chooser-btn--pen:hover {
  color: #EE8F73;
  border-color: rgba(226,122,91,0.72);
}

/* Watch caption below shell */
.hub-watch-caption {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-top: 10px;
  text-align: center;
}
.hub-watch-caption strong {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,0.55);
  font-family: var(--wf-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Map ─────────────────────────────────────────────────────── */
.hub-map-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2px;
}
.hub-map-tab {
  padding: 4px 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
}
.hub-map-tab.is-active { background: rgba(217,176,96,0.16); color: var(--gold, #d9b060); }
.hub-map-tab:disabled { opacity: 0.35; cursor: not-allowed; }
.hub-map-shell {
  position: relative;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0c10;
  min-height: 640px;
}
.hub-map { position: absolute; inset: 0; }
.hub-map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}
.hub-map-empty > i { font-size: 32px; opacity: 0.4; margin-bottom: 4px; }
.hub-map-empty-sub { font-size: 11px; color: rgba(255,255,255,0.35); }
.hub-map-shell .leaflet-control-attribution {
  background: rgba(10,12,16,0.65) !important;
  color: rgba(255,255,255,0.55) !important;
  font-size: 9px !important;
}
.hub-map-shell .leaflet-control-attribution a { color: rgba(217,176,96,0.85) !important; }
.hub-map-shell .leaflet-bar a {
  background: rgba(20,23,28,0.92) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.hub-map-shell .leaflet-bar a:hover { background: rgba(217,176,96,0.18) !important; }

/* Simulated GPS player marker — draggable "you are here" pin. Central
   solid dot, a pulsing ring around it so the eye picks it out amid
   fairway green and shot yellows. Grabby cursor tells the user to
   drag. */
.hub-sim-player {
  cursor: grab;
  position: relative;
  pointer-events: auto;
}
.hub-sim-player:active { cursor: grabbing; }
.hub-sim-player-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #4EA1FF;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.55);
  z-index: 2;
}
.hub-sim-player-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(78,161,255,0.35);
  animation: hubSimPulse 1.8s ease-out infinite;
  z-index: 1;
}
@keyframes hubSimPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0;    }
  100% { transform: scale(1.9); opacity: 0;    }
}

/* ── Leaderboard ─────────────────────────────────────────────── */
.hub-lb {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
  overflow-y: auto;
  min-height: 200px;
}
.hub-lb-empty {
  padding: 20px 8px;
  color: rgba(255,255,255,0.40);
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}
.hub-lb-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.hub-lb-rank {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gold, #d9b060);
  text-align: center;
}
.hub-lb-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.hub-lb-meta {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.04em;
}
.hub-lb-score { text-align: right; }
.hub-lb-strokes {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: #fff;
  line-height: 1;
}
.hub-lb-vs {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.hub-lb-vs.under { color: #6CCF8E; }
.hub-lb-vs.over  { color: #E27A5B; }
.hub-lb-vs.even  { color: var(--gold, #d9b060); }

/* ── DB panel ────────────────────────────────────────────────── */
.hub-db {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.hub-db-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.hub-db-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}
.hub-db-sub { font-size: 11px; color: rgba(255,255,255,0.55); flex: 1; min-width: 0; }
.hub-db-sub code {
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.hub-db-status {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}

.hub-db-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.hub-db-tab {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.hub-db-tab.is-active {
  background: rgba(217,176,96,0.18);
  border-color: var(--gold, #d9b060);
  color: var(--gold, #d9b060);
}
.hub-db-tab span {
  margin-left: 4px;
  padding: 1px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
}

.hub-db-scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 380px;
}
.hub-db-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
}
.hub-db-table th, .hub-db-table td {
  padding: 6px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}
.hub-db-table thead th {
  position: sticky;
  top: 0;
  background: #0f1216;
  color: rgba(255,255,255,0.55);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  z-index: 2;
}
.hub-db-table tbody tr:hover { background: rgba(217,176,96,0.06); }
.hub-db-table tbody td { color: #fff; }
.hub-db-empty {
  padding: 20px 12px;
  text-align: center;
  color: rgba(255,255,255,0.40);
  font-style: italic;
}
