/* Virtual Fairways: the 14 Oct pages (pages-1014.js): /winter-league signup form, /gift-cards buy buttons, /parties-events tiles.
   Loaded after site.css on those two pages only. The form reuses the lesson form's box and fields (.lesson-form). */

/* signup band: the words on the left, the form on the right (same split as the lessons coach block) */
.league-wrap { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 950px) { .league-wrap { grid-template-columns: .8fr 1.2fr; gap: var(--s5); } }
.league-wrap > * { min-width: 0; }
.league-copy h2 { font-size: clamp(1.9rem, calc(var(--uv) * 2.8), 3rem); }
.league-copy p { font-size: 1.05rem; }
.league-form { margin-top: 0; }

/* one box per golfer */
.league-form .golfers { display: grid; gap: var(--s3); }
.league-form .golfer { border: 1px solid var(--line); border-radius: 10px; padding: var(--s3); margin: 0; min-width: 0; background: var(--panel-2); }
.league-form .golfer > legend { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--white); padding: 0 .4em; }
.league-form .golfer-head { display: flex; justify-content: flex-end; margin: -.4em 0 .4em; }
.league-form .remove-golfer { background: none; border: 0; padding: .4em 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 44px; }
.league-form .remove-golfer:hover { color: var(--accent); }
.league-form .golfer .form-grid input { background: var(--panel); }
.league-form .pick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599.98px) { .league-form .pick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.league-form [hidden] { display: none !important; }
.league-form .add-golfer { margin-top: var(--s3); width: 100%; }
.league-form noscript p { margin-top: var(--s2); text-align: left; }
.league-form.sent .golfers, .league-form.sent .add-golfer { display: none; }

/* gift cards: the buy button sits at the bottom of each card, both cards the same height */
.svc .svc-body { display: flex; flex-direction: column; flex: 1; }
.svc .gift-act { margin-top: auto; padding-top: var(--s2); }
.svc .gift-act .btn { width: 100%; }
@media (min-width: 600px) { .svc .gift-act .btn { width: auto; } }
.svc .gift-act .btn-fill, .svc .gift-act .btn-fill:hover { color: var(--accent-ink); }
.svc .gift-act .btn-ghost { color: var(--white); }

/* "More at Virtual Fairways" (site.css lets it go back to natural-width flex from 1200 px): these pages' longer labels
   ragged at 1200-1240 px, so from 1200 px it stays one row of 6 equal boxes */
@media (min-width: 1200px) { .others { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* parties pricing tiles: two equal columns, so "$450 to $800" (kept on one line) can't widen its column */
@media (min-width: 560px) { .signs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 14 Oct round 2: /leagues (was /winter-league) and the paper gift card request on /gift-cards */
.league-form .league-pick { margin: 0 0 var(--s3); }
.league-form.sent .league-pick { display: none; }

/* the two seasons: lg1016 block at the end (the old two-card .seasons/.season retired 16 Oct) */
.seasons-note { margin: var(--s3) 0 0; font-size: 1.05rem; }
.seasons-note a { color: var(--accent); font-weight: 700; }

/* paper gift card request: same box as the lesson form; dollar sign inside the amount field */
.gift-form .money { position: relative; display: block; }
.gift-form .money > span { position: absolute; left: .8em; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.gift-form .money input { padding-left: 1.7em; }
.gift-form.sent .form-grid, .gift-form.sent .contact-actions .btn-fill { display: none; }
/* date and time on iPhones (departments/web-design/snippets/form-fields-ios.css): no built-in minimum width, same height */
.gift-form input, .gift-form textarea { box-sizing: border-box; max-width: 100%; min-width: 0; font-size: max(16px, 1rem); }
.gift-form label, .gift-form .form-grid { min-width: 0; }
.gift-form input[type=date], .gift-form input[type=time] { -webkit-appearance: none; appearance: none; display: block; min-height: 50px; line-height: 1.35; text-align: left; background-color: var(--panel-2); color-scheme: dark; }
.gift-form input::-webkit-date-and-time-value { text-align: left; min-height: 1.35em; }
.gift-form input::-webkit-datetime-edit, .gift-form input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.gift-form input::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
/* Parties: "More than golf" reuses the home .amen list, laid out as a row of tiles */
.amen-wide { max-width: 1100px; margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); }
.amen-wide li { flex: 1 1 100%; padding: var(--s2); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
@media (min-width: 700px) { .amen-wide li { flex: 0 0 calc((100% - 2 * var(--s2)) / 3); } }

/* Parties: the party price calculator (14 Oct, party-calc-1014.js + party-calc.js). Inputs left, the estimate right,
   Pete's rate table under both. The inputs box reuses the lesson form's box and 4-up picker (.form-card.lesson-form). */
.facility { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: .6em; }
@media (min-width: 560px) { .facility { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facility li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: .75em .9em; color: var(--white); font-size: 1rem; line-height: 1.35; }
.intro-block a { color: var(--accent); font-weight: 600; }

.calc { display: grid; gap: var(--s3); margin-top: var(--s4); }
@media (min-width: 950px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.calc > * { min-width: 0; }
.calc .calc-in { margin-top: 0; display: flex; flex-direction: column; }
.calc .calc-in h3, .rates h3 { font-size: 1.3rem; margin: 0 0 var(--s2); }
.calc-fields { display: grid; gap: var(--s3); }
.step-field label { display: block; font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .45em; }
.calc .step-field .opt { color: var(--muted); font-size: .95rem; margin-left: .3em; }
.stepper { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.stepper button { font: 700 1.6rem/1 var(--display); color: var(--white); background: transparent; border: 0; min-height: 58px; cursor: pointer; }
.stepper button:hover:not([disabled]) { color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.stepper button[disabled] { color: var(--muted-2); cursor: default; }
.stepper button:focus-visible, .stepper input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper input { width: 100%; min-width: 0; text-align: center; font: 800 1.6rem/1 var(--display); color: var(--white); background: transparent;
  border: 0; border-inline: 1px solid var(--line-2); padding: 0 1em; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .pick legend { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .45em; }
.calc .lesson-form .pick-row span, .calc .pick-row span { min-height: 52px; font-size: 1rem; }
@media (max-width: 599.98px) { .calc .pick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the three discount tiers at the foot of the inputs box; the party's own tier lights up */
.calc-tiers { margin-top: auto; padding-top: var(--s3); }
.calc-tiers p { margin: 0 0 .45em; font-size: 1rem; font-weight: 700; color: var(--white); }
.calc-tiers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.calc-tiers li { display: grid; gap: .1em; padding: .6em 1em; text-align: center; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-2); }
.calc-tiers b { font: 800 1.15rem/1.1 var(--display); color: var(--white); }
.calc-tiers span { font-size: .9rem; color: var(--muted); }
.calc-tiers li.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.calc-tiers li.on b { color: var(--accent); }
/* narrow boxes: one tier per line, the discount left and the guests right */
@media (max-width: 599.98px), (min-width: 950px) and (max-width: 1199.98px) {
  .calc-tiers ul { grid-template-columns: minmax(0, 1fr); }
  .calc-tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; text-align: left; }
}

.calc-out { background: var(--panel); border: 1px solid var(--accent-deep); border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; }
.calc-label { margin: 0; color: var(--muted); font-weight: 600; font-size: 1rem; }
.calc-total { margin: .1em 0 .15em; font: 900 clamp(2.6rem, calc(var(--u) * 3.6), 4rem)/1 var(--display); color: var(--white); letter-spacing: -.03em; }
.calc-out.is-off .calc-total { color: var(--muted-2); }
.calc-per { margin: 0 0 var(--s2); color: var(--accent); font-weight: 700; font-size: 1.02rem; }
.calc-lines { margin: 0 0 var(--s2); display: grid; gap: .1em; }
.calc-lines div { display: flex; justify-content: space-between; gap: 1em; padding: .5em 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.calc-lines dt { color: var(--muted); }
.calc-lines dd { margin: 0; color: var(--white); font-weight: 700; white-space: nowrap; }
.calc-lines .sum { border-bottom: 0; font-size: 1.1rem; }
.calc-lines .sum dt { color: var(--white); font-weight: 700; }
.calc-msg { margin: 0 0 var(--s2); padding: .8em 1em; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-2); color: var(--white); font-size: 1rem; }
.calc-msg a { color: var(--accent); font-weight: 700; }
/* ONE main button (Rich 16 Oct: "5 buttons is insane"); the backup is one quiet text line under it */
.calc-act { display: grid; margin-top: auto; }
.calc-act .btn { min-height: 50px; justify-content: center; }
.calc-alt { margin: .7em 0 0; text-align: center; }

.rates { margin-top: var(--s4); }
.rates table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rates th, .rates td { padding: .75em .5em; text-align: center; border-bottom: 1px solid var(--line); font-size: 1rem; }
.rates thead th { color: var(--muted); font-weight: 600; font-size: .92rem; }
.rates tbody th { text-align: left; color: var(--white); font-weight: 700; padding-left: .9em; }
.rates tbody th small { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }
.rates .hs { display: none; }
.rates thead th:first-child { text-align: left; padding-left: .9em; width: 34%; }
.rates td { color: var(--white); font-weight: 600; white-space: nowrap; }
.rates tbody tr:last-child > * { border-bottom: 0; }
.rates tr.on { background: rgba(var(--accent-rgb), .07); }
.rates td.on { color: var(--accent-ink); background: var(--accent); font-weight: 800; }
.rates p { margin: var(--s2) 0 0; font-size: 1rem; }
.rates .disclaimer, .league-copy .form-note { color: var(--muted); font-size: .95rem; }
@media (max-width: 599.98px) {
  .rates th, .rates td { padding: .65em .15em; font-size: .88rem; }
  .rates td { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
  .rates tbody td:last-child, .rates thead th:last-child { padding-right: .5em; }
  .rates .hl { display: none; }
  .rates .hs { display: inline; }
  .rates thead th:first-child { width: 21%; }
  .rates thead th:first-child, .rates tbody th { padding-left: .5em; }
  .rates tbody th { font-size: .95rem; }
}
@media (max-width: 379.98px) {
  .rates th, .rates td { font-size: .8rem; padding-inline: .1em; }
  .rates tbody th { font-size: .85rem; }
  .rates thead th:first-child { width: 24%; }
  .rates thead th { letter-spacing: 0; }
  .rates tbody th { padding-left: .6em; }
  .rates tbody th small { font-size: .8rem; }
}

/* "Send this estimate": same box as the gift card request; date and time fit on iPhones (form-fields-ios.css) */
.party-form .est-sum { margin: -.3em 0 var(--s2); padding: .7em .9em; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--accent-deep); color: var(--white); font-weight: 700; }
.party-form.sent .form-grid, .party-form.sent .contact-actions .btn-fill { display: none; }
.party-form input, .party-form textarea { box-sizing: border-box; max-width: 100%; min-width: 0; font-size: max(16px, 1rem); }
.party-form label, .party-form .form-grid { min-width: 0; }
.party-form input[type=date], .party-form input[type=time] { -webkit-appearance: none; appearance: none; display: block; min-height: 50px; line-height: 1.35; text-align: left; background-color: var(--panel-2); color-scheme: dark; }
.party-form input::-webkit-date-and-time-value { text-align: left; min-height: 1.35em; }
.party-form input::-webkit-datetime-edit, .party-form input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.party-form input::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }

/* ==== resize-1016: v2's party sizing, folded in (Rich 16 Oct: "resize the whole VF preview like v2") ====
   Heading + calculator + estimate + its button fit ONE screen at 1366x768, 1440x900 and 1915x910; no dead gap. */
#party-pricing { padding-block: var(--s5); }
#party-pricing .head { margin-bottom: 0; }
#party-pricing .head h2 { margin-bottom: .25em; }
#party-pricing .head p { max-width: 76ch; margin-block: 0; line-height: 1.5; }
#party-pricing .sec-label { margin-bottom: 6px; }
.calc { margin-top: var(--s3); gap: var(--s3); }
.calc .form-card.calc-in, .calc-out { padding: var(--s4); }
.calc .calc-in h3 { font-size: 1.2rem; margin: 0 0 .7em; }
.calc-fields { gap: calc(var(--s3) * .8); }
.step-field label, .calc .pick legend { margin-bottom: .35em; }
.stepper { grid-template-columns: 54px minmax(0, 1fr) 54px; }
.stepper button { min-height: 50px; }
.stepper input { font-size: 1.45rem; }
.calc .lesson-form .pick-row span, .calc .pick-row span { min-height: 48px; }
.calc-tiers { margin-top: 0; padding-top: calc(var(--s3) * .8); }
.calc-tiers li { padding: .45em .8em; }
.calc-tiers .calc-note { margin: .6em 0 0; font-size: .9rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.calc-total { margin: .05em 0 .1em; }
.calc-per { margin-bottom: .6em; }
.calc-lines { margin-bottom: .8em; gap: 0; }
.calc-lines div { padding: .38em 0; }
@media (max-width: 599.98px) {
  #party-pricing { padding-block: var(--s6) var(--s5); }
  .calc { margin-top: var(--s3); gap: 12px; }
  .calc .form-card.calc-in, .calc-out { padding: 16px; }
  .calc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .calc-fields .pick { grid-column: 1 / -1; }
  .step-field label { font-size: .95rem; line-height: 1.25; }
  .calc .step-field .opt { display: block; margin-left: 0; font-size: .85rem; font-weight: 600; }
  .stepper { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .stepper button { min-height: 48px; font-size: 1.4rem; }
  .stepper input { padding: 0 .55em; font-size: 1.3rem; }
  .calc .pick-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .calc .lesson-form .pick-row span, .calc .pick-row span { min-height: 48px; padding: .4em .6em; font-size: .92rem; line-height: 1.15; }
  .calc-tiers p { font-size: .95rem; }
  .calc-tiers ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .calc-tiers li { display: grid; gap: 0; justify-content: stretch; text-align: center; padding: .4em .7em; }
  .calc-tiers b { font-size: 1.05rem; }
  .calc-tiers span { font-size: .8rem; }
  .calc-total { font-size: 2.8rem; }
}
@media (max-width: 379.98px) {
  .calc-fields { grid-template-columns: minmax(0, 1fr); }
  .calc .step-field .opt { display: inline; margin-left: .3em; }
  .calc .pick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-tiers ul { grid-template-columns: minmax(0, 1fr); }
  .calc-tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; text-align: left; padding: .4em .8em; }
}

/* parties: no rate table (the hour buttons already show $400 / $500 / $600; Rich 26 Oct), just the small-group line and the disclaimer */
@media (max-width: 767.98px) { .rates { margin-top: var(--s2); } }
.sheet-form .preview-note { margin-right: 52px !important; }

/* the popups (estimate request): the reviews popup's panel, a little wider for the form */
.sheet { width: min(600px, calc(100vw - 24px)); }
.sheet .q-dialog-in { padding: var(--s4); }
@media (max-height: 820px) and (min-width: 600px) { .sheet .q-dialog-in { padding: var(--s3) var(--s4); } }
.sheet .sec-label { margin: 0 0 .8em; padding-right: 48px; }
.sheet-form .form-card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.sheet-form h3 { margin: 0 0 .25em; padding-right: 48px; }
.sheet-form .sheet-sub { margin: 0 0 .6em; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.sheet-form .est-sum { margin: 0 0 .8em; }
.sheet-form .contact-actions .btn { width: 100%; justify-content: center; }
.sheet-form .alt-line { text-align: center; margin: .6em 0 0; }
@media (max-width: 599.98px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .sheet .q-dialog-in { padding: 18px 16px 24px; }
  /* the request form fits one phone screen: name + phone and day + time side by side */
  .sheet-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em .5em; }
  .sheet-form .form-grid .full { grid-column: 1 / -1; }
  .sheet-form .sheet-sub { display: none; }
}

/* phones: while the calculator's inputs are on screen and its estimate is not, the bottom bar shows the party price
   and ONE "Send estimate" button instead of Book a Bay (party-bar.js sets .is-party) */
.book-bar .bay { display: contents; }
.book-bar .party { display: none; }
.book-bar.is-party .party { display: contents; }
.book-bar.is-party .bay { display: none; }
.book-bar .party .txt { min-width: 0; }
.book-bar .party .txt b { font-variant-numeric: tabular-nums; }
.book-bar .party .btn-fill { padding-inline: 1.1em; }
.book-bar.show.is-hush { transform: translateY(110%); }
@media (max-width: 359.98px) { .book-bar .party [data-bar-sum] { display: none; } }
/* resize-1016 end */

/* lg1016 start: /leagues takes Option 1's two sections in this site's look (Rich 16 Oct, on the blind test: "option 1 is
   better than our current version for the when the league runs, the form section... less wasted space on the left side,
   and the steps and walking through people forms is a really good idea"). Retires the two season cards and the plain
   signup column. Colors, sub-headings and buttons stay the site's own. */

/* 1. When the leagues run: one month ruler (Nov to Mar, Pete's dates 18 Oct), a bar per league */
.lg-season { --lg-cols: minmax(0, 1fr); display: grid; gap: 12px; }
.lg-months { display: none; }
.lg-row { display: grid; grid-template-columns: var(--lg-cols); gap: 14px; align-items: center; min-width: 0;
  padding: var(--s3); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); }
.lg-name h3 { margin: 0; font-size: clamp(20px, calc(var(--uv) * 1.7), 26px); line-height: 1.1; }
.lg-name p { margin: .35em 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.lg-track { display: grid; gap: 8px; min-width: 0; }
.lg-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); font-family: var(--display); font-size: 13px; line-height: 1; color: var(--white); opacity: .78; font-variant-numeric: tabular-nums; }
.lg-scale b { font-weight: 600; padding-left: 6px; border-left: 1px solid var(--line-2); }
.lg-rail { position: relative; display: block; height: 8px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 calc(100% / 5 - 1px), rgba(255,255,255,.24) calc(100% / 5 - 1px) calc(100% / 5)); }
.lg-bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.lg-bar--fall { left: 0; width: 45%; background: var(--accent); }           /* first week of Nov until early Jan */
.lg-bar--winter { left: 52%; width: 48%; background: var(--white); }       /* mid to end of Jan until end of Mar */
.lg-btn { width: 100%; padding-inline: 16px; white-space: normal; text-align: center; }
@media (min-width: 900px) {
  .lg-season { --lg-cols: minmax(0, 300px) minmax(0, 1fr) clamp(220px, 17vw, 270px); }
  .lg-months, .lg-row { grid-template-columns: var(--lg-cols); column-gap: clamp(24px, 2.4vw, 44px); }
  .lg-months { display: grid; padding: 0 calc(var(--s3) + 1px); }
  .lg-row .lg-scale { display: none; }
  .lg-rail { height: 10px; border-radius: 5px; }
}

/* 2. Group signup: the how-to steps on the left, the golfer-card form on the right */
.lg-steps { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 12px; }
.lg-steps li { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.lg-steps span { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font: 800 15px/1 var(--display); }
@media (min-width: 950px) { .league-copy { position: sticky; top: calc(var(--nav-h) + var(--s3)); } }

.league-form .lg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 var(--s2); padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.league-form .lg-head h3 { margin: 0; font-size: clamp(20px, calc(var(--uv) * 1.7), 26px); line-height: 1.1; }
.lg-readout { display: flex; flex: none; border: 1px solid rgba(var(--accent-rgb), .45); border-radius: 4px; }
.lg-readout span { display: flex; flex-direction: column; min-width: 66px; padding: 6px 12px; }
.lg-readout span + span { border-left: 1px solid rgba(var(--accent-rgb), .3); }
.lg-readout small { font-size: 12px; line-height: 1.2; color: var(--muted); }
.lg-readout b { font: 800 18px/1.2 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.league-form.sent .lg-readout { display: none; }

/* fall / winter: the picked one fills yellow, both the same size */
.league-form .league-pick .pick-row span { min-height: 48px; font-family: var(--display); font-weight: 700; }
.league-form .league-pick input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }

/* one card per golfer, with its name bar on top */
.league-form .golfer { position: relative; padding: 0; overflow: hidden; border-radius: 8px; }
.league-form .golfer > legend { float: left; width: 100%; box-sizing: border-box; min-height: 44px; margin: 0; padding: 12px var(--s3);
  background: var(--panel); border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.25; color: var(--accent); }
.league-form .golfer > legend small { margin-left: .6em; font-family: var(--body); font-weight: 600; font-size: .85rem; color: var(--muted); }
.league-form .golfer > .form-grid { clear: both; padding: var(--s3); }
.league-form .golfer-head { position: absolute; top: 0; right: var(--s3); margin: 0; }
.league-form .golfer-head .remove-golfer { min-height: 44px; padding: 0; }

/* Add another golfer beside Send signup; Send stays the one filled button */
.league-form .lg-acts { display: grid; gap: 10px; margin-top: var(--s3); }
.league-form .lg-acts .btn { width: 100%; margin: 0; }
@media (min-width: 600px) {
  .league-form .lg-acts { grid-template-columns: 1fr 1fr; }
  .league-form .lg-acts:has(.add-golfer[hidden]) { grid-template-columns: 1fr; }
}
/* the sticky Book a Bay bar hides while a field in the league form has focus (league.js) */
html.lg-typing .book-bar { visibility: hidden; }
/* lg1016 end */

/* 22 Oct 2026, Pete's 18 Oct answers: the fall league deadline, the party calculator by total guests and 2/3/4 hours,
   and the Memberships page. */
.lg-deadline, .lg-name .lg-deadline { margin: .5em 0 0; color: var(--accent); font-weight: 700; }
.league-copy .lg-deadline { margin: 0 0 .6em; }
.lg-deadline-hero { margin: .6em 0 0; font-size: 1.05rem; }
.calc .pick-row.pick-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calc .pick-row.pick-3 span { flex-direction: column; gap: .15em; line-height: 1.15; padding-block: .55em; }
.calc .pick-row.pick-3 small { font: 800 1.05rem/1 var(--display); color: var(--white); }
.calc .pick-row.pick-3 em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--muted); }
.calc .pick-row.pick-3 input:checked + span small, .calc .pick-row.pick-3 input:checked + span em { color: var(--accent); }
.step-note { margin: .45em 0 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.calc-fields > .step-field { grid-column: 1 / -1; }
.calc .step-field label[for="pc-guests"] .opt { display: inline; margin-left: .3em; }
.rates p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rates tbody th small { display: inline; margin-left: .5em; }
.mem-card { max-width: 760px; margin-inline: auto; background: var(--panel); border: 1px solid var(--accent-deep); border-radius: var(--r-lg); padding: var(--s4); }
.mem-price { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); color: var(--white); margin: 0 0 .2em; }
.mem-card h3 { font-size: 1.05rem; margin: var(--s3) 0 .5em; color: var(--white); }
.mem-card ul { margin: 0; padding-left: 1.2em; display: grid; gap: .35em; }
.mem-card .mem-note { margin: var(--s3) 0 0; color: var(--muted); font-size: .95rem; }
.mem-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; margin-top: var(--s3); }
.mem-opts div { border: 1px solid var(--line-2); border-radius: 10px; padding: .8em 1em; background: var(--panel-2); }
.mem-opts b { display: block; color: var(--white); }
.mem-opts span { color: var(--muted); font-size: .95rem; }
.mem-card .contact-actions { margin-top: var(--s3); }
@media (max-width: 599.98px) { .mem-card { padding: 18px; } .mem-opts { grid-template-columns: minmax(0, 1fr); } }

/* 3 Nov 2026 (Pete's call): league sign-up windows. league.js greys out a league whose sign-ups are closed
   (fall: 1 Sept to the second Friday before 1 Nov). */
.lg-btn.is-off { opacity: .55; pointer-events: none; cursor: default; }
.league-form .league-pick input:disabled + span { flex-direction: column; gap: .1em; line-height: 1.15; opacity: .5; cursor: not-allowed; }
.league-form .league-pick input:disabled + span small { display: block; font-family: var(--body); font-weight: 600; font-size: .78rem; }
.league-form.all-closed .golfers, .league-form.all-closed .lg-acts, .league-form.all-closed .league-pick, .league-form.all-closed .lg-readout { display: none; }
