:root {
  --green: #1f5130;
  --green-2: #2d6a41;
  --green-tint: #e8f1eb;
  --sand: #f6f4ee;
  --ink: #1c2320;
  --muted: #5d6963;
  --line: #dde3df;
  --card: #ffffff;
  --danger: #b3261e;
  --warn-bg: #fff6e0;
  --warn-line: #ecd9a4;
  --radius: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}

.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
  background: var(--green); color: #fff;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .3px; }
.brand span { font-weight: 400; opacity: .8; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 6px; }
.topbar .brand { justify-self: start; }
.topbar .logo img { height: 54px; width: auto; display: block; }
.topbar #user { justify-self: end; }
.topbar .tagline { grid-column: 1 / -1; margin: -2px 0 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: #e7f2ea; opacity: .9; }
body.mock .topbar::after { position: absolute; left: 4px; top: 2px; font-size: 9px !important; content: "MOCK DATA"; font-size: 11px; background: #f5c542; color: #000; padding: 2px 6px; border-radius: 4px; }

main { max-width: 560px; margin: 0 auto; padding: 16px; }

/* Home page on wide screens: the course photo fills the margins left and right of the list,
   from the header down. Phones have no margins, so nothing shows there. */
@media (min-width: 820px) {
  body.home-photo::before, body.home-photo::after {
    content: ""; position: fixed; top: 0; bottom: 0; z-index: 0;
    width: calc(50vw - 280px);
    background: url("../img/home-side.jpg") 45% center / cover no-repeat;
  }
  body.home-photo::before { left: 0; }
  body.home-photo::after { right: 0; }
  body.home-photo main { position: relative; z-index: 1; }
}

h2 { font-size: 22px; margin: 4px 0 8px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 8px; }
a { color: var(--green-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.error { color: var(--danger); }
.loading { padding: 24px 0; text-align: center; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline > input, .inline > select { flex: 1 1 140px; }
.grow { flex: 1; min-width: 0; }

.card, details.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
details.card > summary { font-weight: 600; cursor: pointer; font-size: 17px; }
details.card[open] > summary { margin-bottom: 10px; }
.empty { text-align: center; }

label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; }
label.check input { width: 22px; height: 22px; }

input, select {
  font: inherit; color: var(--ink);
  min-height: 46px; padding: 10px 12px;
  border: 1px solid #c4ccc7; border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--green-2); outline-offset: 1px; border-color: transparent; }
input.narrow { flex: 0 0 84px; width: 84px; }

button {
  font: inherit; font-weight: 600; min-height: 46px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
}
button:disabled { opacity: .6; cursor: default; }
button.primary { background: var(--green); color: #fff; }
button.primary:active { background: var(--green-2); }
button.secondary { background: #fff; color: var(--green); border-color: var(--green); }
button.link { background: none; color: var(--green-2); padding: 6px 4px; min-height: 36px; font-weight: 500; }
button.link.light { color: #fff; }
button.link.danger { color: var(--danger); }
button.google { width: 100%; }

.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.signin { display: flex; flex-direction: column; gap: 14px; }

.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius);
  padding: 12px 14px;
}
.notice.claim { background: var(--green-tint); border-color: #bcd6c4; }
.notice .inline { margin-top: 8px; }

.list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list > li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.list a.row { display: flex; align-items: center; gap: 10px; width: 100%; color: inherit; text-decoration: none; min-height: 28px; }
.chev { color: var(--muted); font-size: 22px; line-height: 1; }
.controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.controls select { width: auto; min-height: 38px; padding: 6px 8px; }
.hcp { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 40px; text-align: right; }
li.invite.expired, li.invite.revoked { opacity: .6; }

.chip { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: #eef1ef; color: var(--muted); }
.chip.role-organizer { background: var(--green); color: #fff; }
.chip.role-scorer { background: var(--green-tint); color: var(--green); }

.title-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.title-row h2 { margin: 0; overflow-wrap: anywhere; }
a.back { font-size: 14px; text-decoration: none; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--green); border-bottom-color: var(--green); }

.share input { font-size: 14px; margin: 6px 0 10px; }
.footer-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

#toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 30px);
  max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px;
  opacity: 0; transition: .2s; pointer-events: none; z-index: 20; font-size: 15px;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: var(--danger); }

/* ---------- settings screens ---------- */
a.button {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; min-height: 46px; padding: 10px 18px; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent;
}
a.button.primary { background: var(--green); color: #fff; }
a.button.secondary { background: #fff; color: var(--green); border-color: var(--green); }

textarea { font: inherit; color: var(--ink); padding: 10px 12px; border: 1px solid #c4ccc7; border-radius: 10px; width: 100%; resize: vertical; }
input[type=file] { min-height: 0; padding: 8px; border-style: dashed; }

.chip.ok { background: var(--green-tint); color: var(--green); }
.chip.warn { background: var(--warn-bg); color: #7a5a00; border: 1px solid var(--warn-line); }
.chip.inactive { margin-left: 6px; }
li.is-inactive strong { color: var(--muted); }
.notice.ok { background: var(--green-tint); border-color: #bcd6c4; }

.error ul { margin: 4px 0 0; padding-left: 20px; }

.scroll-x { overflow-x: auto; display: flex; flex-direction: column; gap: 8px; }
table.card-table, table.tees { border-collapse: collapse; background: #fff; font-variant-numeric: tabular-nums; }
table.card-table { font-size: 14px; min-width: 100%; }
table.card-table th, table.card-table td { border: 1px solid var(--line); padding: 5px 4px; text-align: center; min-width: 28px; }
table.card-table thead th { background: var(--green); color: #fff; font-weight: 600; border-color: var(--green-2); }
table.card-table tbody th { background: #eef1ef; text-align: left; padding-left: 8px; }
table.card-table td.total { font-weight: 700; }
table.tees { width: 100%; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); }
table.tees th, table.tees td { padding: 8px 10px; text-align: left; border-top: 1px solid var(--line); }
table.tees thead th { color: var(--muted); font-size: 13px; font-weight: 600; border-top: 0; }

.hole-grid { display: grid; grid-template-columns: 1fr; gap: 6px; max-width: 300px; }
.hole-row { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 8px; align-items: center; }
.hole-row.head { font-size: 13px; color: var(--muted); font-weight: 600; }
.hole-row input { min-height: 40px; padding: 6px 8px; text-align: center; }
.hole-no { font-weight: 600; text-align: center; color: var(--muted); }
.hole-split { height: 6px; border-bottom: 2px solid var(--line); margin-bottom: 4px; }

.tee-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 32px; gap: 6px; align-items: center; }
.tee-row input { min-height: 40px; padding: 6px 8px; font-size: 15px; }
.tee-row button { min-height: 36px; padding: 0; }

label input.narrow { flex: none; }

/* ---------- rounds ---------- */
/* Tabs wrap onto a second line instead of scrolling sideways, so every tab (e.g. Invites)
   is visible on a phone without swiping. */
.tabs { flex-wrap: wrap; row-gap: 0; }
.tabs a { white-space: nowrap; }
@media (max-width: 480px) { .tabs a { padding: 10px 10px; font-size: 15px; } }
.chip.live { background: #fde8d7; color: #8a3b00; }
.chip.pos { background: var(--green-tint); color: var(--green); }
.chip.neg { background: #fbe9e7; color: var(--danger); }
.sync { font-size: 14px; color: #7a5a00; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 8px 12px; margin: 0; }
h3 { margin-top: 4px; }

.picks li.pick { flex-wrap: wrap; }
.picks li.pick.on { background: var(--green-tint); }
.group-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.gbtn { min-height: 36px; min-width: 36px; padding: 4px 8px; background: #fff; border: 1px solid #c4ccc7; color: var(--ink); font-weight: 600; }
.gbtn.on { background: var(--green); color: #fff; border-color: var(--green); }
label.inline-label select { width: auto; min-height: 38px; padding: 6px 10px; }
.pot-row { display: flex; align-items: center; gap: 8px; }
.pot-row .money-in { width: 72px; flex: none; min-height: 40px; padding: 6px 8px; text-align: right; }

.hole-strip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.hs { min-height: 36px; padding: 0; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; }
.hs.done { background: var(--green-tint); color: var(--green); border-color: #bcd6c4; }
.hs.cur { background: var(--green); color: #fff; border-color: var(--green); }
.hole-card { display: flex; flex-direction: column; gap: 10px; }
.hole-card .list { border: 0; }
.score-row { gap: 10px; }
.score-row .dots { color: var(--green-2); margin-left: 6px; letter-spacing: 1px; }
.stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.stepper .step { min-width: 46px; min-height: 46px; padding: 0; font-size: 22px; background: #fff; border: 1px solid #c4ccc7; color: var(--ink); }
.stepper .score { min-width: 54px; min-height: 50px; padding: 0; font-size: 22px; font-weight: 700; background: var(--green-tint); color: var(--ink); border: 1px solid #bcd6c4; }
.stepper .score .par-hint { font-size: 13px; font-weight: 600; color: var(--muted); }
.stepper button:disabled { opacity: .45; }
.hole-nav { justify-content: space-between; }
.hole-nav button { flex: 1; }

table.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
table.board th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px 6px; }
table.board td { padding: 7px 6px; border-top: 1px solid var(--line); }
table.board th:not(:first-child), table.board td:not(:first-child) { text-align: right; }
table.board tr.partial td { color: var(--muted); }
td.strong { font-weight: 700; }
td.pos { color: var(--green); }
td.neg { color: var(--danger); }
ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
ul.plain li.win { font-weight: 600; }
.card.pot .title-row h3 { margin: 0; }

.tabs a { padding: 10px 11px; }

/* Stage 2: several games on one card */
.block { display: block; }
.game-head { margin: 10px 0 -4px; font-size: 18px; }
.extras { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.game-line { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ball { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; }
.ball.yellow { background: #f2c919; border: 1px solid #c9a200; }
.junk { display: flex; flex-direction: column; gap: 8px; }
.junk p { margin: 0; }
.junk-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.junk-name { min-width: 64px; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chipbtn { min-height: 38px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #c4ccc7; color: var(--ink); font-weight: 600; font-size: 14px; }
.chipbtn.on { background: var(--green); border-color: var(--green); color: #fff; }
.chipbtn:disabled { opacity: .5; }
.horse { display: flex; flex-direction: column; gap: 6px; }
.horse p { margin: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.board.text-last th:last-child, table.board.text-last td:last-child { text-align: left; }
select.tee-pick { width: auto; min-height: 36px; padding: 4px 8px; font-size: 14px; flex: none; }

.yardage-btn { margin-left: auto; padding: 6px 12px; font-size: 14px; }
.yardage-layer { position: fixed; inset: 0; z-index: 50; background: var(--green); padding-top: env(safe-area-inset-top); }
.yardage-layer iframe { display: block; width: 100%; height: 100%; border: 0; }
body.yardage-open { overflow: hidden; }

.ghin-list { margin: 0; }
.ghin-row { display: flex; align-items: center; gap: 10px; }
.ghin-layer { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.ghin-sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--card); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ghin-sheet h3 { margin: 0; }
.ghin-total { display: flex; align-items: baseline; gap: 10px; }
.ghin-total strong { font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.ghin-scroll { overflow-x: auto; }
table.ghin-nine { font-size: 16px; table-layout: fixed; margin-bottom: 6px; }
table.ghin-nine th, table.ghin-nine td { text-align: center !important; padding: 6px 0; }
table.ghin-nine th:first-child, table.ghin-nine td:first-child { width: 3.2em; font-size: 13px; }
table.ghin-nine th:last-child, table.ghin-nine td:last-child { width: 2.4em; }
table.ghin-nine th:first-child, table.ghin-nine td:first-child { text-align: left !important; }
table.ghin-nine tr.muted td { color: var(--muted); }
.ghin-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }

.add-list summary { cursor: pointer; list-style-position: inside; }
.add-list[open] summary { margin-bottom: 8px; }
.add-list textarea { margin: 8px 0; font-size: 15px; }
.title-row + button.rename { align-self: flex-start; margin: -6px 0 8px !important; font-size: 14px; padding: 0 !important; min-height: 28px; }
#timing { position: fixed; left: 8px; bottom: 8px; z-index: 50; background: rgba(0,0,0,.8); color: #9f9; font: 12px/1.4 ui-monospace, monospace; padding: 8px 10px; border-radius: 8px; margin: 0; pointer-events: none; }
.course-logo { width: 64px; height: 40px; object-fit: contain; flex: none; margin-right: 10px; border-radius: 4px; }
.course-logo-lg { max-width: 220px; max-height: 110px; object-fit: contain; align-self: flex-start; border-radius: 6px; }
.course-logo-round { max-width: 160px; max-height: 70px; object-fit: contain; align-self: flex-start; border-radius: 6px; }
.course-logo-pick:empty { display: none; }

.hcp-fix summary { font-weight: 600; cursor: pointer; }
.hcp-fix .list button { min-height: 36px; padding: 4px 12px; }

/* Welcome screen */
.welcome h2 { font-size: 21px; line-height: 1.25; color: var(--green); }
.welcome p { margin: 0; }
.welcome h3 { margin: 4px 0 0; }
.welcome ol.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.welcome-actions .button { flex: 1 1 200px; }

/* ===================== Weekend Games theme (Nov 2026) =====================
   Dark green, gold and cream, as on mvwns.com Weekend Games. Everything above uses these
   variables; the rules below repaint the few spots that had white or green written in. */
:root {
  --wg-dark: #0b2e1f; --wg-mid: #123c28; --wg-line: #1c5238;
  --gold: #d4af37; --gold-soft: #e8cf7a; --cream: #f4efe3; --dim: #9db8a8;
  --coral: #ff8a80; --win: #5cc082;
  --sand: var(--wg-dark); --card: var(--wg-mid); --ink: var(--cream); --muted: var(--dim);
  --line: var(--wg-line); --green-tint: #1a4a33; --danger: var(--coral);
  --warn-bg: #3a3214; --warn-line: #7a6522;
  color-scheme: dark;
}
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
a { color: var(--gold-soft); }
h2, h3, details.card > summary { color: var(--gold-soft); }
.topbar { background: linear-gradient(180deg, var(--wg-mid), var(--wg-dark)); border-bottom: 2px solid var(--gold); }
.topbar .tagline { color: var(--gold-soft); font-weight: 700; font-size: 15px; letter-spacing: .3px; opacity: 1; }
@media (max-width: 480px) { .topbar .tagline { font-size: 13px; letter-spacing: 0; } }
.brand { color: var(--gold-soft); }

input, select, textarea { background: var(--wg-dark); color: var(--cream); border-color: var(--wg-line); }
input::placeholder, textarea::placeholder { color: #6f8f7f; }
input:focus, select:focus, textarea:focus { outline-color: var(--gold); }
input[type=checkbox], input[type=radio] { accent-color: var(--gold); }

button.primary, a.button.primary { background: var(--gold); color: var(--wg-dark); }
button.primary:active, a.button.primary:active { background: var(--gold-soft); }
button.secondary, a.button.secondary { background: transparent; color: var(--gold-soft); border-color: var(--gold); }
button { background: var(--wg-line); color: var(--cream); }
button.link { background: none; color: var(--gold-soft); }
button.link.light { color: var(--cream); }
button.link.danger { color: var(--coral); }

.chip { background: var(--wg-line); color: var(--dim); }
.chip.role-organizer { background: var(--gold); color: var(--wg-dark); }
.chip.role-scorer, .chip.ok, .chip.pos { background: var(--green-tint); color: var(--win); }
.chip.neg { background: #4a2420; color: var(--coral); }
.chip.live { background: #4a3a10; color: var(--gold-soft); }
.chip.warn { color: var(--gold-soft); }
.notice.claim, .notice.ok { background: var(--green-tint); border-color: var(--wg-line); }

.tabs a.active { color: var(--gold-soft); border-bottom-color: var(--gold); }

table.card-table, table.tees { background: var(--wg-mid); }
table.card-table thead th { background: var(--wg-dark); color: var(--gold-soft); border-color: var(--wg-line); }
table.card-table tbody th { background: var(--wg-line); }

.picks li.pick.on { background: var(--green-tint); }
.gbtn, .hs, .stepper .step, .chipbtn { background: var(--wg-dark); color: var(--cream); border-color: var(--wg-line); }
.gbtn.on, .hs.cur, .chipbtn.on { background: var(--gold); color: var(--wg-dark); border-color: var(--gold); }
.hs.done { background: var(--green-tint); color: var(--win); border-color: var(--wg-line); }
.stepper .score { background: var(--green-tint); color: var(--cream); border-color: var(--gold); }
td.pos, .score-row .dots { color: var(--win); }
td.neg { color: var(--coral); }
.sync { color: var(--gold-soft); }
#toast { background: var(--gold); color: var(--wg-dark); font-weight: 600; }
#toast.error { background: var(--coral); color: var(--wg-dark); }
.yardage-layer { background: var(--wg-dark); }
.welcome h2 { color: var(--gold-soft); }

/* Player head shots (shared with mvwns.com) */
.av { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212,175,55,.85); vertical-align: middle; }
.av-i { background: #2d6a4f; color: #fff; font-weight: 700; line-height: 1; }
td.who { white-space: nowrap; }
td.who .av { margin-right: 8px; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); grid-auto-rows: max-content; align-content: start; flex: none; gap: 6px; max-height: 360px; overflow-y: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.ptile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 7px; min-height: 104px; flex: none; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 400; text-align: center; }
.ptile:active { border-color: var(--gold); }
.ptile-name { font-size: 13px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.ptile-hcp { font-size: 12px; color: var(--muted); }
/* Room under the last row for the 🎤 button (bottom-left) */
main { padding-bottom: 90px; }

/* Scores-only players (in for scores, not the money) */
.money-pill { flex: none; min-height: 30px; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--gold); color: var(--wg-dark); border: 1px solid var(--gold); }
.money-pill.off { background: transparent; color: var(--dim); border-color: var(--dim); }
.so-tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: .4px; color: var(--dim); border: 1px solid var(--dim); border-radius: 6px; padding: 0 4px; vertical-align: middle; text-transform: uppercase; }
li.ghost { color: var(--dim); font-style: italic; font-size: 14px; }
.ghin-nines { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--muted); margin: 2px 0; font-variant-numeric: tabular-nums; }
.ghin-nines span { white-space: nowrap; display: inline-flex; align-items: baseline; gap: 4px; }
.ghin-nines b { color: var(--gold-soft); font-size: 16px; display: inline; }
.ghin-row > .grow { min-width: 0; }
.ghin-row > button { flex: none; }

/* Welcome: Get in touch */
.contact h2 { margin: 0; }
.contact p { margin: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list .ci { width: 24px; text-align: center; flex: none; }
.share details.more summary { cursor: pointer; color: var(--gold-soft); font-size: 14px; margin-top: 4px; }
.share details.more[open] summary { margin-bottom: 8px; }
.share .inline .button, .share .inline button { flex: 1 1 140px; }

/* Find a course (OpenGolfAPI) */
.search-row input[type="search"] { flex: 1 1 180px; min-width: 0; }
.search-row select { flex: 0 0 auto; width: auto; }
.list button.row.pick { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; min-height: 28px; cursor: pointer; }
.list button.row.pick.loading { opacity: .55; }
.list button.row.pick.loading .chev::after { content: ' …'; }
.credit a { color: inherit; }

/* Group currency picker (organizers) */
label.currency { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; margin: 2px 0 6px; }
label.currency select { width: auto; flex: 0 0 auto; }

/* Side games a player can sit out (e.g. Skins ✓ / No Skins) */
.side-games { margin-top: 4px; }
.side-games .chipbtn { font-size: 12px; padding: 2px 10px; min-height: 30px; }

/* Trash talk flash */
#banter-flash {
  position: fixed; left: 50%; top: 12px; z-index: 9999; width: min(92vw, 520px);
  transform: translate(-50%, -160%); padding: 18px 20px; border-radius: 16px;
  background: var(--gold, #d4af37); color: #10301f; font-size: 22px; font-weight: 800; line-height: 1.25; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .35s cubic-bezier(.2,1.4,.4,1); pointer-events: auto;
}
#banter-flash.show { transform: translate(-50%, 0); animation: banter-pulse .5s ease-in-out 3 .35s; }
@keyframes banter-pulse { 50% { filter: brightness(1.25); transform: translate(-50%, 0) scale(1.04); } }
details.banter summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
details.banter[open] summary { margin-bottom: 8px; }
.ghin-check { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.ghin-check p { margin: 6px 0 0; }
.ghin-check .ghin-warn { color: #b03a2e; font-weight: 600; }

/* Beta sign-up page (#/beta) */
.beta-hero h2 { margin: 4px 0 6px; }
.beta-tag { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--wg-dark, #0b2e1f); font-weight: 700; font-size: 13px; }
.beta-list { margin: 8px 0; padding-left: 18px; }
.beta-list li { margin: 6px 0; line-height: 1.35; }
.chip-choice { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line, #ccc); border-radius: 999px; margin-right: 8px; }
.chip-choice input { width: 20px; height: 20px; }
span.label { display: block; font-size: 14px; margin-bottom: 6px; }
label.check { align-items: flex-start; }

/* Sponsors (js/sponsors.js) */
.sponsors { text-align: center; }
.sponsor-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b7a72); }
.sponsor + .sponsor { border-top: 1px solid rgba(0,0,0,.08); padding-top: 14px; margin-top: 6px; }
.sponsor-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; }
.sponsor-logo img { display: block; width: 240px; max-width: 70vw; height: auto; }
.sponsor-tagline { margin: 8px 0 2px; font-weight: 700; font-size: 17px; color: var(--gold); }
.sponsor-blurb { margin: 0 0 10px; }
.sponsor-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Add to home screen (js/install.js) */
.home-tip-head { display: flex; gap: 12px; align-items: center; }
.home-tip-head img { border-radius: 12px; flex: none; }
.home-tip-head h3 { margin: 0; }
.home-tip-head p { margin: 2px 0 0; }

/* Admin dashboard (js/views/admin.js) */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-head h2 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stat-value { font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat-label { font-weight: 700; margin-top: 2px; }
.stat-note { font-size: 13px; opacity: .75; margin-top: 2px; }
.admin-row details summary { cursor: pointer; list-style: none; }
.admin-row details summary::-webkit-details-marker { display: none; }
.admin-row details summary .chip { margin-left: 6px; }
.admin-detail { display: grid; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
ul.plain { margin: 4px 0 0; padding-left: 18px; }
ul.plain li { margin: 3px 0; }
.small { font-size: 14px; }
button.small, a.button.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }

/* Stats (js/views/stats.js) */
.leaderboard .lb-rank { width: 26px; text-align: center; font-weight: 800; opacity: .7; }
.leaderboard li:nth-child(1) .lb-rank { color: var(--gold, #d4af37); opacity: 1; }
.leaderboard .lb-val { font-size: 20px; min-width: 44px; text-align: right; }
.leaderboard .chip { margin-left: 6px; }
.my-stats-link { padding: 12px 14px; }
.my-stats-link a.row { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.privacy { display: grid; gap: 4px; }
.money-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.money-total .big { font-size: 34px; font-weight: 800; }
.money-total .big.pos { color: var(--win, #2e7d32); }
.money-total .big.neg { color: var(--coral, #e5534b); }
.chart-wrap { display: grid; gap: 4px; }
.money-chart { width: 100%; height: auto; max-height: 160px; }
.money-chart .zero { stroke: currentColor; opacity: .25; stroke-dasharray: 4 4; }
.money-chart polyline { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.money-chart polyline.up { stroke: var(--win, #2e7d32); }
.money-chart polyline.down { stroke: var(--coral, #e5534b); }
.money-chart circle.up { fill: var(--win, #2e7d32); }
.money-chart circle.down { fill: var(--coral, #e5534b); }
.list.compact > li { padding: 8px 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.tile-v { font-size: 24px; font-weight: 800; line-height: 1.1; }
.tile-l { font-weight: 700; font-size: 13px; }
.tile-n { font-size: 12px; opacity: .75; }
.dist { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin-top: 4px; }
.dist .seg { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; min-width: 2px; }
.seg.eagle, .dist-key i.eagle { background: #1565c0; }
.seg.birdie, .dist-key i.birdie { background: #2e7d32; }
.seg.par, .dist-key i.par { background: #78909c; }
.seg.bogey, .dist-key i.bogey { background: #e0a030; }
.seg.double, .dist-key i.double { background: #c62828; }
.dist-key { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dist-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.history .hist-score { text-align: right; min-width: 52px; }
.history a.row { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }

/* Joined but not on the roster (views/roster-help.js) */
.not-on-roster { border-color: var(--gold, #d4af37); }
.inline.wrap { flex-wrap: wrap; }
.fb-item { gap: 6px; }
.fb-text { white-space: pre-wrap; font-size: 16px; }

/* How to use the app (js/views/help.js) */
.help-sec { padding: 0; }
.help-sec > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-size: 17px; }
.help-sec > summary::-webkit-details-marker { display: none; }
.help-sec > summary::after { content: '›'; margin-left: auto; font-size: 22px; opacity: .6; transition: transform .15s; }
.help-sec[open] > summary::after { transform: rotate(90deg); }
.help-icon { font-size: 22px; width: 28px; text-align: center; }
.help-body { padding: 0 16px 14px; }
.help-body p { margin: 8px 0; }
.help-list { margin: 6px 0 8px; padding-left: 22px; }
.help-list li { margin: 6px 0; line-height: 1.45; }
.help-tip { background: rgba(212, 175, 55, .1); border-left: 3px solid var(--gold, #d4af37); padding: 8px 10px; border-radius: 6px; font-size: 15px; }

/* Event & Tournament Tools (js/views/tournament-tools.js) */
.tt-card { border: 2px solid var(--gold, #d4af37); background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(212,175,55,.03)); }
.tt-card h3 { margin: 0; font-size: 21px; }
.tt-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold, #d4af37); }
.tt-hero { text-align: center; padding: 10px 6px 4px; }
.tt-hero h2 { margin: 4px 0 8px; font-size: 28px; }
.tt-hero p { max-width: 520px; margin: 0 auto; }
.tt-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tt-feature { display: flex; gap: 10px; align-items: flex-start; }
.tt-feature p { margin: 2px 0 0; opacity: .85; }
.tt-ficon { font-size: 26px; width: 36px; text-align: center; flex: none; }
.tt-links, .tt-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-links .button, .tt-contact .button { flex: 1 1 180px; text-align: center; }
.tt-steps { margin: 0; padding-left: 22px; }
.tt-steps li { margin: 8px 0; }
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tt-field { display: grid; gap: 4px; font-size: 14px; }
.tt-needs { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tt-needs legend { padding: 0 6px; font-weight: 700; font-size: 14px; }
.tt-done { text-align: center; padding: 10px 0; }

/* ===================== PC look (Nov 2026) =====================
   Wide screen with a mouse = a computer. Styled like mvwns.com: menu bar across the top,
   full-width photo banner on the home page, Playfair headlines, gold buttons.
   Since Nov 28 phones and iPads get it too (David: make them all look like the PC); the block
   after this one sizes it down for them. */
.nav-toggle { display: none; }
@media all { /* every screen since Nov 28 (was PC only); phone/iPad sizing is in the block below */
  body { font-family: Inter, "Segoe UI", system-ui, sans-serif; }
  h1, h2, .welcome h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: .2px; }

  /* Menu bar */
  .topbar { display: flex; align-items: center; gap: 28px; padding: 10px 40px; min-height: 72px;
    background: rgba(8, 30, 20, .97); border-bottom: 1px solid rgba(212,175,55,.45); }
  .topbar .logo { order: -1; }
  .topbar .logo img { height: 50px; }
  .topbar .brand { font-size: 20px; margin-right: auto; }
  .topbar .tagline { display: none; }
  .desk-nav { display: flex; align-items: center; gap: 26px; }
  .desk-nav a { color: #e8e2d2; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .3px; padding: 6px 0; border-bottom: 2px solid transparent; }
  .desk-nav a:hover { color: var(--gold-soft); }
  .desk-nav a.on { color: var(--gold-soft); border-bottom-color: var(--gold); }
  .topbar #user button.link.light { background: var(--gold); color: var(--wg-dark); border-radius: 6px; padding: 8px 18px; min-height: 0; font-weight: 700; font-size: 13px; letter-spacing: .4px; }
  .topbar #user button.link.light:hover { background: var(--gold-soft); }

  /* Other screens: a little wider than a phone, no repeated side photos */
  main { max-width: 760px; padding: 28px 24px 100px; }
  body.home-photo::before, body.home-photo::after { display: none; }

  /* Home page: full-width banner, then the cards in two columns */
  body.home-wide main { max-width: none; padding: 0 0 100px; }
  .desk-hero { display: flex; align-items: center; justify-content: center; position: relative;
    min-height: calc(100vh - 73px); padding: 60px 24px; text-align: center;
    background: linear-gradient(180deg, rgba(6,24,16,.55) 0%, rgba(6,24,16,.45) 45%, rgba(11,46,31,1) 100%),
      url("../img/home-side.jpg") center 40% / cover no-repeat; }
  .desk-hero-in { max-width: 900px; }
  .desk-hero-logo { height: 108px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
  .desk-hero .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: 13px; font-weight: 600; margin: 0 0 18px; }
  .desk-hero h1 { color: #fdf8f0; font-size: clamp(44px, 5.2vw, 76px); font-weight: 900; line-height: 1.08; margin: 0 0 22px; text-shadow: 0 3px 24px rgba(0,0,0,.45); }
  .desk-hero .hero-sub { color: #efe9da; font-size: 19px; line-height: 1.6; max-width: 640px; margin: 0 auto 34px; }
  .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .hero-btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 15px; letter-spacing: .4px; text-decoration: none;
    color: #fdf8f0; border: 2px solid rgba(253,248,240,.75); background: rgba(0,0,0,.15); transition: all .2s; }
  .hero-btn:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-1px); }
  .hero-btn.gold { background: var(--gold); border-color: var(--gold); color: var(--wg-dark); }
  .hero-btn.gold:hover { background: var(--gold-soft); color: var(--wg-dark); }

  .home-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1140px; margin: 0 auto; padding: 48px 32px 0; align-items: start; }
  .home-cards > .card { padding: 26px 28px; }
  .home-cards > .intro-card { grid-column: 1 / -1; }
  .intro-card > h2, .intro-card > .welcome-actions { display: none; } /* the banner already says it and has the buttons */
  .intro-card > p { font-size: 17px; max-width: 820px; }
  .intro-card > h3 { font-family: "Playfair Display", Georgia, serif; font-size: 26px; margin-top: 6px; }
  .intro-card ol.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; list-style: none; counter-reset: step; }
  .intro-card ol.steps li { counter-increment: step; background: var(--wg-dark); border: 1px solid var(--wg-line); border-radius: 10px; padding: 18px 16px; }
  .intro-card ol.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px;
    border-radius: 50%; background: var(--gold); color: var(--wg-dark); font-weight: 800; font-family: "Playfair Display", Georgia, serif; }
  .intro-card ol.steps li strong { display: block; color: var(--gold-soft); margin-bottom: 4px; }
}

/* PC look on iPads and phones (Nov 28). */
@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
  .home-cards > .home-tip { display: none; } /* "add to home screen" tips are for phones and iPads */
}
@media (max-width: 1099px) {
  .topbar { gap: 18px; padding: 8px 20px; padding-top: max(8px, env(safe-area-inset-top)); min-height: 64px; }
  .topbar .logo img { height: 44px; }
  .desk-nav { gap: 18px; }
  .desk-nav a { font-size: 13px; }
  main { max-width: 680px; padding: 22px 18px 100px; }
  .desk-hero { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); padding: 48px 22px; }
  .home-cards { padding: 36px 20px 0; gap: 18px; }
  .intro-card ol.steps { grid-template-columns: 1fr 1fr; gap: 14px; }
}
/* iPad portrait and phones: the menu folds into a ☰ button. */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; min-height: 0;
    background: transparent; color: var(--gold-soft); border: 1px solid rgba(212,175,55,.55); border-radius: 8px; font-size: 22px; line-height: 1; }
  .topbar { gap: 12px; padding-left: 14px; padding-right: 14px; }
  .topbar .brand { margin-right: auto; }
  .desk-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,30,20,.98); border-bottom: 1px solid rgba(212,175,55,.45); padding: 6px 0 10px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
  body.nav-open .desk-nav { display: flex; }
  .desk-nav a { font-size: 17px; padding: 13px 22px; border-bottom: 0; border-left: 3px solid transparent; }
  .desk-nav a.on { border-left-color: var(--gold); border-bottom: 0; }
  .home-cards { grid-template-columns: 1fr; }
}
/* Phones */
@media (max-width: 600px) {
  .topbar .logo img { height: 38px; }
  .topbar .brand { font-size: 17px; }
  .topbar #user button.link.light { padding: 7px 12px; font-size: 12px; }
  main { max-width: 560px; padding: 16px 14px 100px; }
  .desk-hero { min-height: auto; padding: 34px 18px 40px; }
  .desk-hero-logo { height: 78px; margin-bottom: 12px; }
  .desk-hero .eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 14px; }
  .desk-hero h1 { font-size: clamp(32px, 9.4vw, 44px); margin-bottom: 14px; }
  .desk-hero .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-btn { padding: 13px 8px; font-size: 14px; text-align: center; }
  .hero-btn.gold { grid-column: 1 / -1; font-size: 16px; padding: 15px 8px; }
  .hero-btn:nth-child(4):last-child, .hero-btn:nth-child(6):last-child { grid-column: 1 / -1; }
  .home-cards { padding: 24px 14px 0; gap: 14px; }
  .home-cards > .card { padding: 20px 18px; }
  .intro-card ol.steps { grid-template-columns: 1fr; gap: 10px; }
  .intro-card > p { font-size: 16px; }
}
/* Sign-in page: the same photo banner, with the sign-in card under it. */
.signin-page .desk-hero { min-height: auto; padding-bottom: 70px; }
.signin-page .card.signin { max-width: 480px; margin: -40px auto 0; position: relative; z-index: 1; }
@media (max-width: 600px) { .signin-page .card.signin { margin: -28px 14px 0; } }
.pick.off { opacity: .5; }

/* Group header: Money picker and Check GHIN side by side (wraps on phones). */
.group-head-row{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:flex-start;margin:4px 0 6px}
.group-head-row .currency{flex:0 0 auto}
.group-head-row .ghin-check{flex:1 1 260px;min-width:0}
.group-head-row .ghin-check p{margin:4px 0 0}

/* Player photo: current photo + buttons, and the drag/zoom cropper. */
.photo-edit .photo-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.photo-edit .crop-wrap{display:flex;justify-content:center;margin:8px 0}
.photo-edit canvas.crop{border-radius:50%;touch-action:none;cursor:grab;box-shadow:0 0 0 3px #d4af37;background:#0b2a1c}
.photo-edit .zoom{display:flex;gap:10px;align-items:center}
.photo-edit .zoom input{flex:1;min-height:44px}
.player .gold{color:#d4af37;white-space:nowrap}
@media (max-width: 600px) {
  .signin-page .desk-hero { padding: 22px 18px 48px; }
  .signin-page .desk-hero-logo { height: 60px; margin-bottom: 8px; }
  .signin-page .desk-hero h1 { font-size: 30px; margin-bottom: 0; }
  .signin-page .desk-hero .hero-sub { display: none; }
}

/* 🛟 Help (help.js): button above 💬 Feedback, chat sheet (uses the Feedback sheet's look), round banner */
.help-fab{position:fixed;right:14px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:9998;border:2px solid #d4af37;background:#d4af37;color:#0b2e1f;
  border-radius:999px;padding:9px 14px;font:800 14px/1 -apple-system,system-ui,Segoe UI,Roboto,sans-serif;box-shadow:0 4px 14px rgba(0,0,0,.35);cursor:pointer}
.help-fab:active{transform:scale(.96)}
.help-fab[hidden],.help-back[hidden]{display:none}
.help-sheet{display:flex;flex-direction:column;max-height:85vh}
.help-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.help-x{background:none;border:0;color:#f3eee2;font-size:20px;padding:4px 8px;cursor:pointer}
.help-log{flex:1;overflow:auto;min-height:160px;max-height:55vh;display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.help-msg{padding:10px 12px;border-radius:14px;max-width:88%;font-size:15px;line-height:1.4;white-space:pre-wrap}
.help-msg.user{align-self:flex-end;background:#d4af37;color:#0b2e1f}
.help-msg.assistant{align-self:flex-start;background:#163f2c;border:1px solid #2a5a3e}
.help-msg.muted{opacity:.7;font-style:italic}
.help-row{display:flex;gap:8px;margin-top:8px}
.help-undo{margin-top:8px;padding:8px 12px;border-radius:10px;border:1px solid #d4af37;background:#0b2e1f;color:#d4af37;font-weight:700;cursor:pointer}
.help-undo.ghost{border-color:#2a5a3e;color:#f3eee2}
.help-undo:disabled{opacity:.6}
.help-input{display:flex;gap:8px;align-items:flex-end}
.help-input textarea{flex:1;margin:0;min-height:48px}
.help-input .msgfb-send{padding:13px 16px;border-radius:12px;font-weight:800;border:1px solid #d4af37}
.help-mic{padding:12px;border-radius:12px;border:2px solid #d4af37;background:#163f2c;font-size:20px;cursor:pointer}
.help-mic.live{background:#c62828;border-color:#c62828;animation:msgfbpulse 1.2s infinite}
.help-banner{border-left:4px solid #d4af37}

/* Tournaments page promo video (vertical, phone-shaped) */
.tt-video{margin:0 auto;max-width:340px;width:100%}
.tt-video video{display:block;width:100%;aspect-ratio:9/16;border-radius:16px;background:#0b2e1f;box-shadow:0 6px 20px rgba(0,0,0,.3)}

/* Copyright line under every app screen (clear of the 🎤, 🛟 Help and 💬 Feedback buttons) */
.wns-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.wns-page h3{margin:0}
.wns-page .beta-tag,.wns-card .beta-tag{align-self:flex-start}
.wns-promo{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:620px;margin:30px auto 0;padding:20px 22px 22px;
  border:2px solid var(--gold,#d4af37);border-radius:14px;background:rgba(6,24,16,.72);box-shadow:0 8px 30px rgba(0,0,0,.4);
  text-decoration:none;color:#fdf8f0;text-align:center;transition:transform .2s,box-shadow .2s}
.promo-row{display:grid;grid-template-columns:1fr;gap:18px;max-width:620px;margin:30px auto 0}
.promo-row .wns-promo{margin:0;max-width:none}
@media (min-width:900px){.promo-row:has(> :nth-child(2)){grid-template-columns:1fr 1fr;max-width:1040px}}
@media (max-width:600px){.promo-row{margin-top:22px;gap:14px}}
.price-tabs{flex-wrap:wrap}
.price-grid{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}
@media (min-width:900px){.price-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}
.price-card{position:relative}
.price-card.best{border:2px solid var(--gold,#d4af37)}
.price-card h3{margin:0}
.price-flag{align-self:flex-start;margin:0;padding:2px 10px;border-radius:999px;background:var(--gold,#d4af37);color:#0b2e1f;font-weight:800;font-size:12px;letter-spacing:.5px;text-transform:uppercase}
.price{margin:0}
.price-amt{font-family:"Playfair Display",Georgia,serif;font-size:40px;font-weight:900;line-height:1}
.price-per{font-size:15px;color:var(--muted,#6b7a72)}
.price-list{margin:4px 0;padding-left:20px}
.price-list li{margin:5px 0;line-height:1.35}
.price-note{text-align:center}
.wns-promo a{text-decoration:none}
.wns-promo-link{margin-top:4px;color:var(--gold-soft,#e9cf7a);font-size:14px;font-weight:700;text-decoration:underline!important;text-underline-offset:3px}
a.wns-promo-title:hover{color:var(--gold-soft,#e9cf7a)}
.wns-promo-btn:hover{background:var(--gold-soft,#e9cf7a)}
.wns-presented{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#cfc8b6;margin:2px 0 4px}
.wns-presented-logo{display:inline-block;background:#fff;border-radius:8px;padding:5px 10px}
.wns-presented-logo img{display:block;height:30px;width:auto}
.card .wns-presented{justify-content:flex-start;color:var(--muted,#6b7a72)}
.banner-sponsors{margin:26px auto 0;text-align:center}
.banner-sponsors-label{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#cfc8b6}
.banner-sponsors-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.banner-sponsor{display:inline-flex;align-items:center;background:rgba(255,255,255,.95);border-radius:10px;padding:8px 14px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.banner-sponsor img{display:block;height:40px;width:auto;max-width:200px}
.wns-promo-tag{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--gold,#d4af37);color:#0b2e1f;font-weight:800;font-size:12px;letter-spacing:1px;text-transform:uppercase}
.wns-promo-title{font-family:"Playfair Display",Georgia,serif;font-weight:900;font-size:clamp(24px,3.4vw,34px);line-height:1.15;color:#fdf8f0;margin-top:4px}
.wns-promo-facts{color:var(--gold-soft,#e9cf7a);font-weight:700;font-size:15px}
.wns-promo-sub{color:#efe9da;font-size:15px;line-height:1.45;max-width:480px}
.wns-promo-btn{margin-top:8px;padding:12px 24px;border-radius:8px;background:var(--gold,#d4af37);color:#0b2e1f;font-weight:800;font-size:16px}
@media (max-width:600px){.wns-promo{margin-top:22px;padding:16px 14px 18px}.wns-promo-facts,.wns-promo-sub{font-size:14px}.wns-promo-btn{width:100%;box-sizing:border-box}}
.desk-hero .hero-copy{margin:28px 0 0;font-size:14px;color:rgba(253,248,240,.8);text-shadow:0 1px 6px rgba(0,0,0,.6)}
body.home-wide .site-foot{display:none} /* the photo banner shows it instead (Nov 28) */
.site-foot{text-align:center;font-size:12px;color:#8fa699;padding:24px 16px calc(120px + env(safe-area-inset-bottom))}
.desk-nav a[hidden] { display: none !important; }

/* Admin → Visitors (js/views/visitors-admin.js) */
.vstamp { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.vbars { display: grid; gap: 8px; }
.vbar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 14px; }
.vbar-track { height: 12px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.vbar-fill { height: 100%; border-radius: 6px; background: var(--gold); }
.vbar-num { font-weight: 700; white-space: nowrap; text-align: right; }
.vdays { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 18px; }
.vday { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.vday-bar { width: 100%; max-width: 22px; background: var(--gold); border-radius: 4px 4px 0 0; }
.vday-num { font-size: 11px; font-weight: 700; line-height: 1.2; }
.vday-lab { font-size: 10px; opacity: .7; margin-top: 3px; }
.vtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.vtable th, .vtable td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.vtable th:first-child, .vtable td:first-child { text-align: left; }
@media (max-width: 600px) { .vbar { grid-template-columns: minmax(0, 1fr) auto; } .vbar-track { grid-column: 1 / -1; grid-row: 2; } .vday-lab { font-size: 8px; } }

/* "Money $hots Golf" banner (Nov 30, David): its own centered row above the menu bar, linking
   to www.moneyshotsgolf.com. It scrolls away; the menu bar under it stays pinned to the top. */
.mshots-bar { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.05;
  padding: 12px 14px 12px; background: rgba(8, 30, 20, .97); color: #fff; text-decoration: none;
  font-family: "Red Hat Display", Inter, system-ui, sans-serif; border-bottom: 1px solid rgba(212,175,55,.25); }
.mshots-bar b, .mshots-bar span { color: #fff; }
.mshots-bar b { font-weight: 900; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: .3px; white-space: nowrap; }
.mshots-bar span { font-weight: 800; font-size: clamp(14px, 2.15vw, 30px); margin-top: .15em; }
.mshots-bar:hover b { color: var(--gold-soft); }
.mshots-bar:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: -4px; }
.topbar .logo { margin-right: auto; }
@media (max-width: 600px) { .mshots-bar { padding: 9px 10px; } .mshots-bar b { font-size: clamp(26px, 8.4vw, 34px); } .mshots-bar span { font-size: clamp(13px, 3.9vw, 16px); } }

/* Walden Dots checklist: smaller chips so five players fit */
.chips.tight { gap: 5px; }
.chips.tight .chipbtn { padding: 6px 9px; font-size: 13px; min-height: 36px; }
.hammer .step { min-width: 40px; }
.card.stack > [hidden] { display: none !important; } /* game options for the other style (Walden / Margaritaville) */

/* My profile (Nov 30, 2026): 👤 in the top bar, and the "finish your profile" reminder. */
#user { display: flex; align-items: center; gap: .5rem; }
.profile-btn { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--gold, #d4af37); text-decoration: none; font-size: 1.2rem; line-height: 1; }
.profile-nag { display: block; text-decoration: none; margin-bottom: 1rem; }
.profile-nag .block { display: block; margin-top: .2rem; }
button.danger:not(.link) { border-color: var(--coral, #e8735a); color: var(--coral, #e8735a); }
button.primary.danger { background: var(--coral, #e8735a); color: #fff; }
a.profile-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
a.profile-link .block { display: block; margin-top: .2rem; }
/* Leaderboards (#/leaders) */
.lb-list { list-style: none; margin: 0; padding: 0; }
.lb-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.lb-list li:last-child { border-bottom: 0; }
.lb-list li.me { background: rgba(212,175,55,.12); border-radius: 8px; }
.lb-rank { width: 1.8rem; text-align: right; color: var(--gold, #d4af37); font-weight: 700; }
.lb-val { font-weight: 700; font-size: 1.1rem; min-width: 3rem; text-align: right; }
.lb-list .block { display: block; }
/* Desktop menu bar (Nov 30, 2026): logo left, menu centered on the page, 👤 and Sign out right. */
@media (min-width: 1024px) {
  .topbar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .topbar .logo { grid-column: 1; justify-self: start; margin-right: 0; }
  .topbar .desk-nav { grid-column: 2; justify-self: center; }
  .topbar #user { grid-column: 3; justify-self: end; }
}
.topbar #user button.link.light { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1099px) { .desk-nav { gap: 14px; } }
.card.signin { scroll-margin-top: 90px; }
/* Get the app (#/get-app) */
.get-app { max-width: 640px; margin: 0 auto; }
.ga-head { display: flex; gap: 14px; align-items: center; }
.ga-head img { border-radius: 16px; flex: none; }
.ga-head h2 { margin: 0; }
.ga-head p { margin: 4px 0 0; }
.ga-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ga-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid rgba(212,175,55,.35); border-radius: 12px; }
.ga-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold, #d4af37); color: #0b2e1f; font-weight: 800; }
.ga-step .block { display: block; margin-top: 4px; }
.ga-share { vertical-align: -5px; color: #4ea1ff; }
.ga-install { font-size: 18px; padding: 14px; }
.ga-qr-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ga-qr { background: #fff; padding: 8px; border-radius: 12px; }
@media (min-width: 1024px) {
  .desk-nav a { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .topbar { gap: 12px; padding-left: 16px; padding-right: 16px; }
  .desk-nav { gap: 12px; }
  .desk-nav a { font-size: 12.5px; }
  .topbar .logo img { height: 40px; }
}
