/* =====================================================================
   ge-mygolf.css: the shared pieces of the My Golf pages (phase 1, Nov 2026; tidied 29 Nov 2026)
   DESTINATION:  /css/ge-mygolf.css   (loaded on /members/ pages by headtag.php)

   buttons (.mg-btn) · usage line (.mg-usage) · groups (.mg-group)
   rows (.mg-row) and status chips (.mg-chip) · the bell (.mg-bell)
   empty states (.mg-empty) · choose-which-3 bar (.mg-pick)
   guest view (.mg-guest) · "More in My Golf" panel (.mg-panel, .mg-tile; as a sidebar list: .mg-side)
   · the wide My Golf pages (.mg-wide, .mgw-*, .mgh-*), near the end. The limit pop-up (.mg-pop) styles itself: /js/ge-member.js

   Colours come from ge-tokens.css. Page-only tweaks stay in the page.
   ===================================================================== */

/* ---------- Buttons ---------- */
.mg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 42px; padding: 0 var(--s-5); border-radius: var(--r-md);
  border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: var(--fs-base);
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.mg-btn--navy  { background: var(--c-brand); color: #fff; }
.mg-btn--navy:hover, .mg-btn--navy:focus-visible { background: var(--c-brand-hover); color: #fff; }
.mg-btn--wine  { background: var(--c-premium); color: #fff; }
.mg-btn--wine:hover, .mg-btn--wine:focus-visible { background: var(--c-premium-hover); color: #fff; }
.mg-btn--wine i, .mg-btn--navy i { color: var(--c-focus); }
/* White text on the filled buttons wherever they sit: some page wrappers (e.g. .gem on the
   Golfers Profile) colour every link navy, which beat the button colour */
.mg-btn.mg-btn--navy, .mg-btn.mg-btn--navy:visited, .mg-btn.mg-btn--wine, .mg-btn.mg-btn--wine:visited { color: #fff; }
.mg-btn--ghost { background: var(--c-surface); color: var(--c-brand); border-color: var(--c-border-strong); }
.mg-btn--ghost:hover, .mg-btn--ghost:focus-visible { background: var(--c-surface-alt); color: var(--c-brand); border-color: var(--c-brand-25); }
.mg-btn--small { min-height: 34px; padding: 0 var(--s-3); font-size: var(--fs-sm); }
.mg-btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mg-btn[disabled] { opacity: .55; cursor: default; }

/* Icon-only button (delete, rename) */
.mg-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-md);
  border: 1px solid var(--c-border-strong); background: var(--c-surface);
  color: var(--c-text-muted); cursor: pointer; font-size: 14px;
}
.mg-icon-btn:hover, .mg-icon-btn:focus-visible { color: var(--c-danger); border-color: #e7b3b3; background: #fdf4f4; }
.mg-icon-btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ---------- Usage line: "2 of 3 free alerts emailing" ---------- */
.mg-usage {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  margin: 0 0 var(--s-5); padding: var(--s-3) var(--s-4);
  border: 1px solid var(--c-border-strong); border-radius: var(--r-lg);
  background: var(--c-surface-alt); font-size: var(--fs-sm); color: var(--c-text-strong);
}
.mg-usage[hidden] { display: none; }
.mg-usage__meter { display: inline-flex; gap: 4px; }
.mg-usage__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border-strong); }
.mg-usage__dot.is-on { background: var(--c-success); }
.mg-usage__text { flex: 1 1 220px; }
.mg-usage a { color: var(--c-premium); font-weight: 600; }
.mg-usage--over { background: var(--c-premium-tint); border-color: var(--c-premium-tint-2); }

/* ---------- Groups ---------- */
.mg-group { margin: 0 0 var(--s-6); }
/* A group heading with a control on the right (Clubs I follow: one email setting for all of them) */
.mg-group__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin: 0 0 var(--s-3); }
.mg-group__bar .mg-group__head { margin: 0; }
.mg-group__note { margin: calc(-1 * var(--s-2)) 0 var(--s-3); font-size: var(--fs-sm); color: var(--c-text-muted); }
.mg-group--follows .mg-row { padding-top: var(--s-2); padding-bottom: var(--s-2); }
.mg-group--follows .mg-row__title a { color: var(--c-brand); text-decoration: none; }
.mg-group--follows .mg-row__title a:hover { text-decoration: underline; }
.mg-group__head {
  display: flex; align-items: baseline; gap: var(--s-2);
  margin: 0 0 var(--s-3); font-size: var(--fs-md); color: var(--c-brand);
}
.mg-group__head i { color: var(--c-text-subtle); font-size: .9em; }
.mg-group__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px;
  padding: 0 7px; border-radius: var(--r-pill); background: var(--c-brand-08);
  font-size: var(--fs-xs); font-weight: 700; color: var(--c-brand); align-self: center;
}

/* ---------- Rows ---------- */
.mg-row {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-2);
  background: var(--c-surface); border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}
.mg-row__main { flex: 1 1 260px; min-width: 0; }
.mg-row__title { font-weight: 600; color: var(--c-text); overflow-wrap: anywhere; }
.mg-row__title .mg-chip { margin-left: var(--s-2); }
.mg-row__meta { margin-top: 2px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.mg-row__meta a { color: var(--c-brand); font-weight: 600; text-decoration: none; }
.mg-row__meta a:hover { text-decoration: underline; }
.mg-row__controls { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.mg-row--muted { background: var(--c-surface-alt); }
.mg-row--muted .mg-row__title { color: var(--c-text-strong); }
.mg-row--example { box-shadow: none; }

/* Phones: the name across the top, then the link on the left and the controls on the right of
   the same line (was three lines with the controls on their own). Rows with a tick box keep the old layout. */
@media (max-width: 600px) {
  .mg-row__controls { width: 100%; justify-content: flex-end; }
  .mg-row:not(:has(.mg-pick-box)) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px;
    padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  }
  .mg-row:not(:has(.mg-pick-box)) > .mg-row__main { display: contents; }
  .mg-row:not(:has(.mg-pick-box)) .mg-row__title { grid-column: 1 / -1; }
  .mg-row:not(:has(.mg-pick-box)) .mg-row__meta { grid-column: 1; margin-top: 0; }
  .mg-row:not(:has(.mg-pick-box)) > .mg-row__controls { grid-column: 2; width: auto; flex-wrap: nowrap; }
  /* a fixed width: otherwise "Daily (Premium)" sets the width and squeezes the link */
  .mg-row .mg-bell select, .mg-bell--group select { height: 32px; width: 116px; background-position: calc(100% - 15px) 13px, calc(100% - 10px) 13px; }
  /* Clubs I follow: one line per club (name and the bin) */
  .mg-group--follows .mg-row:not(:has(.mg-pick-box)) { display: flex; align-items: center; }
  .mg-group--follows .mg-row:not(:has(.mg-pick-box)) > .mg-row__main { display: block; flex: 1 1 auto; min-width: 0; }
  .mg-group--follows .mg-row:not(:has(.mg-pick-box)) > .mg-row__controls { width: auto; }
}

/* ---------- Status chips ---------- */
.mg-chip {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  padding: 1px 8px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.mg-chip--on     { background: #e6f4ea; color: #17692e; }
.mg-chip--off    { background: #eef1f4; color: var(--c-text-strong); }
.mg-chip--limit  { background: var(--c-premium-tint); color: var(--c-premium); }
.mg-chip--trip   { background: var(--c-brand-08); color: var(--c-brand); }

/* ---------- The bell: Off / Weekly / Daily ---------- */
.mg-bell { position: relative; display: inline-flex; align-items: center; }
.mg-bell i {
  position: absolute; left: 11px; pointer-events: none; font-size: 13px; color: var(--c-text-subtle);
}
.mg-bell.is-on i { color: var(--ge-alert-accent); }
.mg-bell select {
  appearance: none; -webkit-appearance: none;
  height: 36px; padding: 0 30px 0 30px; border-radius: var(--r-md);
  border: 1px solid var(--c-border-strong); background: var(--c-surface);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-text-muted) 50%), linear-gradient(135deg, var(--c-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.mg-bell.is-on select { border-color: var(--ge-alert-border); background-color: var(--ge-alert-bg); color: var(--ge-alert-text); }
.mg-bell select:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ---------- Filters, search and sort above a list (Favourites, My Reviews) ---------- */
.mg-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-4); }
.mg-tools[hidden] { display: none; }
.mg-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-filter {
  font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 5px 11px; border-radius: var(--r-md);
  border: 1.5px solid var(--c-border-strong); background: var(--c-surface); color: var(--c-text-strong); cursor: pointer;
}
.mg-filter span { color: var(--c-text-subtle); margin-left: 2px; }
.mg-filter:hover { border-color: var(--c-brand); }
.mg-filter.is-on { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.mg-filter.is-on span { color: var(--c-brand-tint); }
.mg-filter:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mg-search { flex: 1 1 200px; max-width: 280px; padding: 7px 10px; font: inherit; font-size: var(--fs-sm); border: 1px solid var(--c-border-strong); border-radius: var(--r-md); }
.mg-sort { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-strong); }
.mg-sort select { padding: 6px 8px; font: inherit; font-weight: 400; border: 1px solid var(--c-border-strong); border-radius: var(--r-md); background: var(--c-surface); }
.mg-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: var(--fs-sm); color: var(--c-brand); font-weight: 600; cursor: pointer; }
.mg-linkbtn:hover { text-decoration: underline; }
.mg-linkbtn--quiet { color: var(--c-text-muted); font-weight: 500; }
.mg-linkbtn--quiet:hover { color: var(--c-danger); }

/* ---------- Choose which 3 keep emailing (after a downgrade) ---------- */
.mg-pick {
  display: none; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-lg); background: var(--c-brand); color: #fff; font-size: var(--fs-sm);
}
.mg-pick.is-on { display: flex; position: sticky; top: calc(var(--ge-sticky-h, 0px) + 8px); z-index: 5; }
.mg-pick__text { flex: 1 1 220px; }
.mg-pick .mg-btn--ghost { border-color: rgba(255,255,255,.5); }
.mg-pick-box {
  width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--c-success); cursor: pointer;
}
.mg-row.is-picked { border-color: var(--c-success); box-shadow: 0 0 0 1px var(--c-success) inset; }

/* ---------- Empty states ---------- */
.mg-empty {
  max-width: 540px; margin: var(--s-6) auto; padding: var(--s-7) var(--s-6);
  text-align: center; border: 1px dashed var(--c-border-strong); border-radius: var(--r-lg);
  background: var(--c-surface-alt);
}
.mg-empty__icon { font-size: 2.4rem; color: var(--c-brand-tint); margin-bottom: var(--s-2); }
.mg-empty__title { margin: 0 0 var(--s-2); font-size: var(--fs-lg); color: var(--c-brand); }
.mg-empty__lead { margin: 0 0 var(--s-5); color: var(--c-text-strong); line-height: var(--lh-body); }
.mg-empty__actions { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; margin: 0 0 var(--s-4); }
.mg-empty__tip { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ---------- Guest view ---------- */
.mg-guest {
  max-width: 760px; margin: 0 auto; padding: var(--s-6);
  background: var(--c-surface); border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-raise);
}
.mg-guest__intro { display: flex; gap: var(--s-4); align-items: flex-start; margin: 0 0 var(--s-5); }
.mg-guest__icon {
  flex: 0 0 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-brand-08); color: var(--c-brand); font-size: 22px;
}
.mg-guest__title { margin: 0 0 var(--s-1); font-size: var(--fs-lg); color: var(--c-brand); }
.mg-guest__lead { margin: 0; color: var(--c-text-strong); line-height: var(--lh-body); }

.mg-guest__example { position: relative; margin: 0 0 var(--s-5); padding: var(--s-3); border-radius: var(--r-lg); background: var(--c-surface-alt); overflow: hidden; }
.mg-guest__example .mg-row { filter: blur(2.5px); user-select: none; }
.mg-guest__example .mg-row:last-of-type { margin-bottom: 0; }
.mg-guest__example-veil {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-weight: 600; color: var(--c-brand);
  background: linear-gradient(180deg, rgba(246,248,251,0) 0%, rgba(246,248,251,.75) 55%, rgba(246,248,251,.95) 100%);
}

.mg-guest__compare { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-5); font-size: var(--fs-sm); }
.mg-guest__compare th, .mg-guest__compare td { padding: var(--s-2) var(--s-3); text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.mg-guest__compare thead th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--c-text-muted); }
.mg-guest__compare tbody th { font-weight: 600; color: var(--c-text); width: 34%; }
.mg-guest__compare .is-premium { background: var(--c-premium-08); }
.mg-guest__compare thead .is-premium { color: var(--c-premium); }

.mg-guest__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.mg-guest__ctas .mg-btn { flex: 1 1 200px; }
.mg-guest__login { margin: var(--s-3) 0 0; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }
.mg-guest__login a { color: var(--c-brand); font-weight: 600; }

@media (max-width: 600px) {
  .mg-guest { padding: var(--s-4); }
  .mg-guest__compare tbody th { width: auto; }
}

/* ---------- The limit pop-up: its styles live in /js/ge-member.js, so it works on every page ---------- */

/* ---------- "More in My Golf" panel (mygolf-panel.php) ---------- */
.mg-panel {
  margin: var(--s-6) 0 0; padding: var(--s-5) var(--s-6) var(--s-6);
  background: var(--c-surface); border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}
.mg-panel__title { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); font-size: var(--fs-lg); color: var(--c-brand); }
.mg-panel__title i { color: var(--c-text-subtle); font-size: .9em; }
.mg-panel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-3); }
.mg-tile {
  display: flex; align-items: center; gap: var(--s-3); min-height: 72px;
  padding: var(--s-3) var(--s-4); border: 1px solid var(--c-border-strong); border-radius: var(--r-lg);
  background: var(--c-surface-alt); color: var(--c-text); text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.mg-tile:hover, .mg-tile:focus-visible { border-color: var(--c-brand-25); background: var(--c-surface); box-shadow: var(--shadow-raise); color: var(--c-text); }
.mg-tile:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mg-tile__icon {
  flex: 0 0 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-surface); border: 1px solid var(--c-border); font-size: 17px;
}
.mg-tile__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mg-tile__title { font-weight: 700; color: var(--c-brand); }
.mg-tile__text { font-size: var(--fs-sm); color: var(--c-text-strong); line-height: 1.4; }
.mg-tile__text strong { color: var(--c-text); }
/* A next step inside a tile ("Rate Prestwick", "Finish it"): a quiet underlined text link, not a pill */
.mg-nudge {
  display: inline; margin: 0; padding: 0; background: none; border: 0; border-radius: 0;
  font-size: inherit; font-weight: 600; color: var(--c-brand); white-space: nowrap;
  text-decoration: underline; text-decoration-color: rgba(37, 78, 113, .35); text-underline-offset: 2px;
}
.mg-tile:hover .mg-nudge { text-decoration-color: currentColor; }
.mg-nudge--clip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.mg-done { color: var(--c-success); font-weight: 600; }
.mg-meter { display: block; width: 100%; max-width: 160px; height: 5px; margin: 3px 0 4px; border-radius: 3px; background: var(--c-border-strong); overflow: hidden; }
.mg-meter span { display: block; height: 100%; background: var(--c-success); }
.mg-tile__go { flex: 0 0 auto; font-size: 22px; color: var(--c-text-subtle); }
.mg-tile--premium { background: var(--c-premium-08); border-color: var(--c-premium-tint-2); }
.mg-tile--premium .mg-tile__title { color: var(--c-premium); }
.mg-tile--premium .mg-tile__icon { color: var(--c-premium); }
@media (max-width: 600px) { .mg-panel { padding: var(--s-4); } }

/* ---------- Screen-reader-only text ---------- */
.mg-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   My Golf hub (/members/my-golf.htm): phase 3, Nov 2026
   ========================================================================== */
.hub-card__body { flex: 1 1 auto; display: flex; flex-direction: column; font-weight: 400; }   /* the body of each card on the hub */
.hub-card__body p { margin: 0 0 4px; }
.hub-line { font-size: .88em; line-height: 1.45; color: var(--c-text-muted); }
.hub-muted { font-size: .88em; color: var(--c-text-muted); }
.hub-empty { font-size: .88em; line-height: 1.45; color: var(--c-text-muted); }
.hub-ok { color: var(--c-success); font-weight: 600; }
.hub-warn { color: var(--c-premium); font-weight: 600; }
.hub-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px !important; font-size: .86em; }
.hub-links a { font-weight: 600; }
.hub-links i { margin-right: 4px; }

/* Next up */
.hub-next, .hub-next:visited { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 8px; background: var(--c-surface-alt); color: var(--c-text); text-decoration: none; }
.hub-next:hover, .hub-next:focus-visible { background: var(--c-brand-tint); }
.hub-next__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.hub-next__name { font-weight: 700; color: var(--c-text-strong); }
.hub-next__club { font-size: .92em; }
.hub-next__meta { font-size: .86em; color: var(--c-text-muted); }
.hub-next__chev { color: var(--c-text-subtle); }

/* Smart picks */
.hub-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.hub-pick, .hub-pick:visited { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px 10px; border: 1px solid var(--c-border); border-radius: 8px; color: var(--c-text); text-decoration: none; }
.hub-pick:hover, .hub-pick:focus-visible { border-color: var(--c-brand); background: var(--c-brand-tint); }
.hub-pick .gec-cal.hub-cal--sm { flex: 0 0 46px; height: 58px; }
.hub-cal--sm .gec-cal__m { height: 15px; line-height: 15px; font-size: 10px; }
.hub-cal--sm .gec-cal__n { font-size: 18px; }
.hub-pick__text { display: flex; flex-direction: column; min-width: 0; }
.hub-pick__name { font-weight: 700; color: var(--c-text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-pick__club { font-size: .9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-pick__why { margin-top: 2px; font-size: .8em; font-weight: 600; color: var(--c-text-muted); }
.hub-pick__why--want { color: var(--gef-courses, #1f8b3b); }
.hub-pick__why--top_100, .hub-pick__why--true_links { color: var(--c-premium); }
.hub-pick__why--near { color: var(--c-brand); }

/* Collections: one row per collection: name, bar, count, action */
.hub-cols { margin: 0; padding: 0; list-style: none; }
.hub-col { display: grid; grid-template-columns: 170px minmax(0, 1fr) 76px 108px; align-items: center; gap: 4px 16px; padding: 9px 0; border-top: 1px solid var(--c-border); }
.hub-col:first-child { border-top: 0; padding-top: 2px; }
.hub-col__name { font-weight: 600; font-size: .95em; }
.hub-col__bar { display: block; height: 8px; border-radius: 4px; background: var(--c-border-strong); overflow: hidden; }
.hub-col__bar span { display: block; height: 100%; min-width: 3px; border-radius: 4px; background: var(--c-success); }
.hub-col__n { font-size: .9em; color: var(--c-text-muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hub-col__n strong { color: var(--c-text-strong); font-weight: 700; }
.hub-col__act { font-size: .86em; text-align: right; white-space: nowrap; }
.hub-col__act .hub-ok { font-weight: 600; }
.hub-col__more { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--c-brand); cursor: pointer; }
.hub-col__more i { font-size: .8em; margin-left: 2px; transition: transform .15s; }
.hub-col__more[aria-expanded=true] i { transform: rotate(180deg); }
.hub-col__more:hover { text-decoration: underline; }
.hub-col__list { grid-column: 1 / -1; }
.hub-col__list ul { margin: 6px 0 2px; padding: 8px 12px; border-radius: 8px; background: var(--c-surface-alt); list-style: none; font-size: .88em; max-height: 280px; overflow: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 20px; }
.hub-col__list li { margin: 0; display: flex; align-items: flex-start; gap: 8px; }
/* "Played it" on each club still to play (ge-mygolf-progress.js) */
.hub-col__club { flex: 1 1 auto; min-width: 0; }
.hub-col__course::before { content: "\2013  "; }
.hub-col__course { font-weight: 600; color: var(--c-text-strong); }
.hub-col__tick { flex: 0 0 auto; margin-top: 1px; padding: 3px 9px; border: 1px solid var(--c-border-strong); border-radius: 999px; background: var(--c-surface); font: inherit; font-size: .88em; font-weight: 600; color: var(--c-success); cursor: pointer; white-space: nowrap; }
.hub-col__tick i { font-size: .85em; margin-right: 2px; }
.hub-col__tick:hover, .hub-col__tick:focus-visible { border-color: var(--c-success); background: #eef6ee; }
.hub-col__tick[disabled] { opacity: .55; cursor: default; }
.hub-col__ticked { flex: 0 0 auto; font-size: .88em; white-space: nowrap; }
.hub-col__list li:has(.hub-col__ticked) .hub-col__club { opacity: .6; }
.hub-col__list .hub-muted { font-size: .92em; }
.hub-col__list a { font-weight: 600; }
.hub-col__next { display: block; font-size: .92em; color: var(--c-success); }
.hub-line--lead { margin-bottom: 8px !important; font-size: .92em; color: var(--c-text); }
.hub-line--lead strong { color: var(--c-text-strong); }
.hub-showall { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border: 1px solid var(--c-border-strong); border-radius: 999px; background: var(--c-surface); font: inherit; font-size: .84em; font-weight: 600; color: var(--c-brand); cursor: pointer; }
.hub-showall:hover { border-color: var(--c-brand); }
.hub-col[hidden] { display: none; }
.hub-foot { margin: 8px 0 0 !important; font-size: .8em; color: var(--c-text-subtle); }
.hub-note { margin-top: 10px !important; font-size: .86em; color: var(--c-text-muted); }
.hub-note i { color: var(--c-premium); }

.hub-offer { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; }   /* row: the card body above is a column */
.hub-offer__text { flex: 1 1 260px; font-size: .93em; }
.hub-offer__price { flex: 0 0 auto; text-align: center; }
.hub-offer .ge-offer { margin: 0 0 8px; }

@media (max-width: 560px) {
  .hub-offer__price { flex: 1 1 100%; }
  .hub-offer__price .mg-btn { width: 100%; justify-content: center; }
  .hub-col { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .hub-col__bar { grid-column: 1 / -1; grid-row: 2; }
  .hub-col__act { grid-column: 1 / -1; grid-row: 3; text-align: left; }
  .hub-col__act:empty { display: none; }
}

/* ==========================================================================
   Shared golf map (/golfer/<name>-<code>), Nov 2026
   ========================================================================== */
.gs-map { height: 460px; border-radius: 10px; background: #dfe7ee; overflow: hidden; }
.gs-h { display: flex; align-items: center; gap: 8px; margin: 22px 0 6px; font-size: 1.1em; color: var(--c-text-strong); }
.gs-h i { color: var(--c-brand); }
.gs-cols .hub-col { grid-template-columns: 170px minmax(0, 1fr) 76px 108px; }
.gs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--c-border); }
.gs-share__label { margin-right: 4px; font-weight: 700; color: var(--c-text-strong); }
.gs-btn, .gs-btn:visited { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--c-border-strong); border-radius: 999px;
  background: var(--c-surface); font: inherit; font-size: .9em; font-weight: 600; color: var(--c-brand); text-decoration: none; cursor: pointer; }
.gs-btn:hover { border-color: var(--c-brand); }
.gs-cta { margin: 22px 0 4px; padding: 16px 18px; border-radius: 10px; background: var(--c-brand-tint); }
.gs-cta p { margin: 0 0 10px; }
@media (max-width: 560px) {
  .gs-map { height: 380px; }
  .gs-cols .hub-col { grid-template-columns: minmax(0, 1fr) auto; }
  .gs-cols .hub-col__bar { grid-column: 1 / -1; grid-row: 2; }
  .gs-cols .hub-col__act:empty { display: none; }
}

/* Share your golf map (hub card) */
.hub-share { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: flex-start; }
.hub-share__pic { flex: 0 0 300px; max-width: 100%; }
.hub-share__pic img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.hub-share__text { flex: 1 1 300px; min-width: 0; }
.hub-share__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 6px; }
.hub-share__form label { flex: 0 0 100%; font-size: .86em; font-weight: 600; color: var(--c-text-strong); }
.hub-share__form input { flex: 1 1 220px; min-width: 0; max-width: 320px; padding: 9px 11px; border: 1px solid var(--c-border-strong); border-radius: 8px; font: inherit; }
.hub-share__url { display: flex; gap: 8px; margin: 8px 0; }
.hub-share__url input { flex: 1 1 auto; min-width: 0; padding: 8px 10px; border: 1px solid var(--c-border-strong); border-radius: 8px; background: var(--c-surface-alt); font: inherit; font-size: .88em; color: var(--c-text); }
.hub-share__nets { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-share__link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--c-text-muted); cursor: pointer; }
.hub-share__link:hover { color: var(--c-brand); text-decoration: underline; }
@media (max-width: 560px) { .hub-share__pic { flex-basis: 100%; } }


/* =====================================================================
   Saved opens as rows (My Favourites and the Season Planner, Nov 2026)
   The site's event card (ge-cards.css) with the Entered / edit / remove buttons beside it.
   Moved here from favourites-list.htm so both pages share them.
   ===================================================================== */
.fv-list { margin: 0 0 4px; }
.fv-row { display: flex; align-items: center; gap: 6px; }
.fv-row > a, .fv-row > .fv-card { flex: 1 1 auto; min-width: 0; }
.fv-row .gec-cta { display: none; }            /* the whole card opens the event; the right-hand side is for the buttons */
.fv-row .gec-chev { display: inline; flex: 0 0 auto; }
.fv-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding-right: 6px; }
.fv-ent { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; margin: 0;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--c-brand); background: #fff; border: 1px solid #c9d3de; border-radius: 999px; cursor: pointer; }
.fv-ent:hover { border-color: var(--c-brand); background: #f6f8fb; }
.fv-ent.is-on { color: #1f6b33; background: #e8f5ec; border-color: #9fd0ad; }
.fv-ent.is-on:hover { background: #dcefe2; }
.fv-ent:focus-visible, .fv-del:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.fv-del { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0;
  font-size: 14px; color: #94a3b8; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.fv-del:hover { color: #b91c1c; background: #fdf2f2; }
.fv-del--edit:hover { color: var(--c-brand); background: var(--c-surface-alt); }
.fv-gone { flex: 1 1 auto; padding: 14px 12px; font-size: 14px; color: #6b7280; }
.fv-past { margin: 14px 0 0; }
.fv-past > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--c-brand); padding: 4px 2px; }
.fv-past > summary::-webkit-details-marker { display: none; }
.fv-past > summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.fv-past[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.fv-past > summary:hover { text-decoration: underline; }
.fv-row.gec-row--past { background: #f6f8fb; border-radius: 8px; }
.fv-row.gec-row--past > a, .fv-row.gec-row--past > .fv-card { background: none; }
.fv-past__note { margin: 4px 2px 8px; font-size: 13px; color: #6b7280; }
@media (max-width: 600px) {
  .fv-row { flex-wrap: wrap; gap: 0; }
  .fv-row > a, .fv-row > .fv-card { flex-basis: 100%; }
  .fv-row .gec-chev { display: none; }
  /* Entered on the left; edit and remove kept together on the right */
  .fv-actions { width: 100%; justify-content: flex-end; margin-top: -4px; padding: 0 4px 10px 74px; box-sizing: border-box; }
  .fv-actions .fv-ent { margin-right: auto; }
  .fv-actions:empty { display: none; }
  .fv-ent { height: 28px; padding: 0 10px; font-size: 12.5px; }
}

/* =====================================================================
   Season Planner (/members/season-planner.htm, Nov 2026)
   ===================================================================== */
/* Needs attention: only there when there's something to do */
.sp-attn { margin: 0 0 var(--s-4); padding: 12px 14px; border: 1px solid var(--ge-alert-border, #E7D9A6); border-left: 4px solid var(--ge-alert-accent, #B8860B); border-radius: 10px; background: var(--ge-alert-bg, #FBF4E2); }   /* the site's alert amber */
.sp-attn[hidden] { display: none; }
.sp-attn__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: var(--fs-md); font-weight: 700; color: #7a5806; }
.sp-attn__list { margin: 0; padding: 0; list-style: none; }
.sp-attn__item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid #f3e4c2; font-size: var(--fs-sm); }
.sp-attn__item:first-child { border-top: 0; padding-top: 2px; }
.sp-attn__text { flex: 1 1 260px; min-width: 0; color: var(--c-text); line-height: 1.45; }
.sp-attn__text strong { color: var(--c-text-strong); }
.sp-attn__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sp-attn__x { padding: 2px 6px; border: 0; background: none; font-size: 18px; line-height: 1; color: #a8a29e; cursor: pointer; }
.sp-attn__x:hover { color: var(--c-text); }

/* Your season at a glance: a 12-month strip (deliberately not a calendar grid) */
.sp-glance { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 0 0 var(--s-4); }
.sp-glance[hidden] { display: none; }
.sp-month { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px 7px; border: 1px solid var(--c-border); border-radius: 8px;
  background: var(--c-surface); font: inherit; color: var(--c-text-muted); cursor: pointer; }
.sp-month__m { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.sp-month__n { font-size: 17px; font-weight: 700; line-height: 1; color: var(--c-text-strong); }
.sp-month__bar { display: block; width: 70%; height: 4px; border-radius: 2px; background: var(--c-border); overflow: hidden; }
.sp-month__bar i { display: block; height: 100%; background: var(--gef-planner, #a21caf); }
.sp-month.is-empty { cursor: default; opacity: .55; }
.sp-month.is-empty .sp-month__n { color: var(--c-text-subtle); font-weight: 600; }
.sp-month:not(.is-empty):hover { border-color: var(--gef-planner, #a21caf); }
.sp-month:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
@media (max-width: 760px) { .sp-glance { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Tools row: chips on the left, "Add your own event" on the right */
/* The stats strip: the numbers that matter, each one a filter */
.sp-stats { display: flex; flex-wrap: wrap; margin: 0 0 var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  background: var(--c-surface); overflow: hidden; }
.sp-stats[hidden] { display: none; }
.sp-stat { box-sizing: border-box; }
.sp-stat { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; margin: 0;
  border: 0; border-left: 1px solid var(--c-border); background: none; font: inherit; text-align: left; color: inherit; }
.sp-stat:first-child { border-left: 0; }
button.sp-stat { cursor: pointer; }
button.sp-stat:hover { background: var(--c-surface-alt); }
button.sp-stat:focus-visible { outline: 3px solid var(--c-focus); outline-offset: -3px; }
.sp-stat__n { font-size: 20px; font-weight: 700; line-height: 1.15; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.sp-stat__of { font-weight: 700; }
.sp-stat__l { font-size: 12.5px; line-height: 1.3; color: var(--c-text-muted); }
@media (max-width: 600px) {
  .sp-stat { flex: 1 1 50%; border-left: 0; border-top: 1px solid var(--c-border); padding: 8px 12px; }
  .sp-stat:nth-child(-n+2) { border-top: 0; }
  .sp-stat:nth-child(even) { border-left: 1px solid var(--c-border); }
  .sp-stat__n { font-size: 18px; }
}
.sp-tools { justify-content: space-between; }
.sp-tools { align-items: flex-start; }
.sp-chips { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sp-chips [hidden] { display: none; }
/* The second row narrows the first: smaller chips on a light grey */
.sp-subchips .mg-filter { padding: 3px 10px; font-size: 13px; font-weight: 600; border-width: 1px; background: #f1f4f8; border-color: #dbe2ea; }
.sp-subchips .mg-filter:hover { border-color: var(--c-brand); }
.sp-subchips .mg-filter.is-on { background: var(--c-brand-tint, #eaf0f6); border-color: var(--c-brand); color: var(--c-brand); }
.sp-subchips .mg-filter.is-on span { color: var(--c-brand); }
.sp-add i { margin-right: 2px; }

/* The add / edit form for your own events, and the tee time / note editor on an open */
.sp-form { margin: 0 0 var(--s-4); padding: 16px; border: 1px solid var(--c-border-strong); border-radius: 12px; background: var(--c-surface); box-shadow: var(--shadow-card, 0 1px 2px rgba(0,0,0,.05)); }
.sp-form[hidden] { display: none; }
.sp-form__title { margin: 0 0 12px; font-size: var(--fs-md); font-weight: 700; color: var(--c-brand); }
.sp-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; }
.sp-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sp-field--2 { grid-column: span 2; }
.sp-field--3 { grid-column: span 3; }
.sp-field--4 { grid-column: 1 / -1; }
.sp-field[hidden] { display: none; }
.sp-field--check { justify-content: flex-end; padding-bottom: 9px; }
.sp-field > label, .sp-field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-strong); }
.sp-field__hint { font-weight: 400; color: var(--c-text-subtle); }
.sp-field input, .sp-field select, .sp-field textarea { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--c-border-strong); border-radius: 8px;
  background: #fff; font: inherit; font-size: 15px; color: var(--c-text); }
.sp-field textarea { min-height: 64px; resize: vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-12, rgba(37,78,113,.12)); }
.sp-field__check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-strong); cursor: pointer; }
.sp-field .sp-field__check input { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--c-brand); }
.sp-money { position: relative; display: block; }
.sp-money > span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--c-text-subtle); pointer-events: none; }
.sp-field .sp-money input { padding-left: 24px; }
.sp-where { position: relative; }
.sp-where__list { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff;
  border: 1px solid var(--c-border-strong); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 260px; overflow: auto; }
.sp-where__list[hidden] { display: none; }
.sp-where__list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.sp-where__list li span { color: var(--c-text-subtle); margin-left: 4px; }
.sp-where__list li:hover, .sp-where__list li.is-on { background: var(--c-surface-alt); }
.sp-where__picked { font-size: var(--fs-sm); color: #1f6b33; }
.sp-form__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.sp-form__acts .sp-form__del { margin-left: auto; }
.sp-form__msg { font-size: var(--fs-sm); color: var(--c-danger); }
@media (max-width: 640px) {
  .sp-form__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sp-field--2, .sp-field--3 { grid-column: 1 / -1; }
  .sp-field--check { grid-column: 1 / -1; padding-bottom: 0; }
}

/* Rows: an open's extra line (tee time, note, closing), and your own events */
.sp-line { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; line-height: 1.45; color: #475569; }
.sp-line i { margin-right: 4px; color: var(--c-text-subtle); }
.sp-close { font-weight: 600; color: #7a5806; }
.sp-close--today { color: var(--c-danger); }
/* A predicted date: the whole row is the dashed card, so its buttons sit inside it (on a phone, below the text) */
.fv-row.gec-row--pred { background: #f8fafc; border: 1.5px dashed #94a3b8; border-radius: 10px; margin: 4px 0; }
/* ge-cards.css drops the top border of a predicted row that follows another listing (.event-feed > .gec-row + .gec-row--pred);
   here the whole row is the dashed box, so it keeps all four sides */
.event-feed > .gec-row + .fv-row.gec-row--pred { border-top: 1.5px dashed #94a3b8; }
/* (beats ge-cards.css's .event-feed > .gec-row--pred > a, which would draw a second dashed box inside) */
.event-feed > .fv-row.gec-row--pred > a, .fv-row.gec-row--pred > a { margin: 0; background: none; border: 0; }
.fv-row.gec-row--pred:hover { border-color: #64748b; }
/* Opens: an entered one gets a green edge (saved ones look like any listing; predicted ones are dashed) */
.sp-entered > a { box-shadow: inset 3px 0 0 #2f8a4a; }
.sp-clash { display: inline-block; margin-left: 2px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 2px; background: #fdecec; color: #b91c1c; border: 1px solid #f5b5b5; }
.sp-clash--soft { background: #fffaf0; color: #7a5806; border-color: #f1d9a6; }
.sp-mine .fv-card { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
a.fv-card:hover { background: #f6f8fb; }
.sp-mine .gec-cal { border-color: #d9c3dd; }
.sp-mine .gec-cal__m { background: var(--gef-planner, #a21caf); }
.sp-kind { display: inline; gap: 5px; font-size: inherit; font-weight: 600; color: var(--gef-planner, #a21caf); }
.sp-mine--away .gec-cal__m { background: #6b7280; }
.sp-mine--away .sp-kind { color: #6b7280; }
.sp-flash { animation: sp-flash 1.6s ease-out; }
@keyframes sp-flash { 0% { background: #fff3c4; } 100% { background: transparent; } }
.sp-edit { margin: 0 6px 10px 74px; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface-alt); }
.sp-edit .sp-form__grid { grid-template-columns: 130px minmax(0, 1fr) 140px; }
.sp-edit .sp-form__msg { margin: 6px 0 0; }
.sp-edit .sp-form__msg:empty { display: none; }
@media (max-width: 600px) { .sp-edit { margin-left: 6px; } .sp-edit .sp-form__grid { grid-template-columns: 1fr; } }
/* The hub's Next up, when the next round is one of their own events */
.hub-next--mine .gec-cal__m { background: var(--gef-planner, #a21caf); }

/* ---- Season Planner: the reminder email settings (step 2) ---- */
.sp-remind { margin: var(--s-6) 0 0; padding: 16px 18px; border: 1px solid var(--c-border); border-radius: 12px; background: var(--c-surface); scroll-margin-top: 90px; }
.sp-remind[hidden] { display: none; }
.sp-remind__title { margin: 0 0 4px; font-size: var(--fs-md); font-weight: 700; color: var(--c-brand); }
.sp-remind__title i { margin-right: 4px; }
.sp-remind__lead { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.sp-switch { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--c-border); cursor: pointer;
  font-size: var(--fs-sm); line-height: 1.45; color: var(--c-text-muted); }
.sp-switch input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gef-planner, #a21caf); }
.sp-switch strong { display: block; color: var(--c-text-strong); }
.sp-switch.is-off { opacity: .55; cursor: default; }
.sp-switch--pause strong { color: var(--c-text-strong); }
.sp-prem { margin-left: 4px; font-size: 11px; font-weight: 700; color: var(--c-premium); white-space: nowrap; }
.sp-remind__msg { min-height: 1.2em; margin: 6px 0 0; font-size: 12.5px; color: #1f6b33; }

/* ---- Season Planner step 3 ---- */
/* Tools row: Print beside Add your own event */
.sp-tools__acts { display: flex; gap: 8px; align-items: center; }
/* Free weekends (Premium): one row of chips under the 12-month strip */
.sp-free { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -8px 0 var(--s-5); padding: 0 0 var(--s-4);
  border-bottom: 1px solid var(--c-border); font-size: var(--fs-sm); }
.sp-free[hidden] { display: none; }
.sp-free__label { font-weight: 700; color: var(--c-text-strong); margin-right: 2px; }
.sp-free__hint { color: var(--c-text-muted); }
.sp-free__chip { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid #e3c6e8; background: #fbf3fc;
  color: var(--gef-planner, #a21caf); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.sp-free__chip:hover { background: #f8e8fb; border-color: var(--gef-planner, #a21caf); }
.sp-free__more { font-size: 13px; }
/* A short message under the stats */
.sp-note { margin: -8px 0 var(--s-4); padding: 8px 12px; border-radius: 8px; background: #e8f5ec; color: #1f6b33; font-size: var(--fs-sm); }
.sp-note[hidden] { display: none; }
.sp-note a { color: #1f6b33; font-weight: 700; }
/* "Did you play?" under a past round: the row wraps so the question gets its own line */
.fv-row.sp-askrow { flex-wrap: wrap; }
.fv-row.sp-askrow > a, .fv-row.sp-askrow > .fv-card { flex: 1 1 0; }
.sp-ask { flex: 1 0 100%; box-sizing: border-box; padding: 0 10px 10px 74px; font-size: 13px; color: var(--c-text-muted); }
.sp-ask .mg-linkbtn { margin-left: 10px; font-size: 13px; }
.sp-ask--done { color: #1f6b33; font-weight: 600; }
/* Calendar sync */
.sp-cal { margin-top: var(--s-4); }
.sp-cal__row { display: flex; gap: 8px; margin: 4px 0 10px; }
.sp-cal__url { flex: 1 1 auto; min-width: 0; padding: 7px 10px; border: 1px solid var(--c-border-strong); border-radius: 8px; font: inherit; font-size: 13px; color: var(--c-text); background: var(--c-surface-alt); }
.sp-cal__how { margin: 0 0 8px; padding-left: 18px; font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.5; }
.sp-cal__how li { margin: 4px 0; }
.sp-cal__how a { color: var(--gef-planner, #a21caf); font-weight: 700; }
.sp-cal__small, .sp-cal__locked { margin: 0; font-size: 12.5px; color: var(--c-text-subtle); }
.sp-cal__locked a { color: var(--c-premium); font-weight: 600; }
@media (max-width: 600px) { .sp-tools__acts { width: 100%; justify-content: space-between; } }


/* ==========================================================================
   The wide My Golf pages (29 Nov 2026): My Golf, My Courses, My Favourites, Email Alerts,
   My Reviews and the Season Planner. (The Golfers Profile is a form, so it stays narrow.)
   The hub layout from ge-hubs.css (rh-top, rh-cols, rh-card, rh-head, rh-side), as the members
   area: the navy hero with the member's numbers, white cards on the grey page, the sidebar on
   the right. mg-wide is on <main>. The numbers are .gem-stat (ge-members.css), filled in by
   GEMember.stat (/js/ge-member.js).
   ========================================================================== */
.mg-wide .rh-main, .mg-wide .rh-side { gap: 24px; }
.mg-wide .rh-card, .mg-wide .rh-card * { box-sizing: border-box; }   /* buttons and bars fit their card */
.mg-wide .rh-head h2 { display: flex; align-items: center; gap: 8px; }
.mg-wide .rh-head h2 i, .mg-wide .rh-head h2 svg { font-size: .9em; }
/* The numbers in a hero keep their own height (the strip's flex: 1 1 100% stretched them in a column hero) */
.ma-hero .gem-strip__stats { flex: 0 0 auto; }
.mgw-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-wide .ma-hero .ge-hero__links { margin: 8px 0 0; }

/* ---- The list pages (My Favourites, Email Alerts, My Reviews, Season Planner) ----
   One hero across the page: the words on the left, the numbers on the right. A card beside the
   hero is only for a page where it does a job (My Golf: Next up; My Courses: Add a course). */
.mg-wide .mgw-hero.ge-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 16px 32px;
  margin: 0 0 20px; padding: 24px 28px; }
.mgw-hero h1 { margin: 0; }
.mgw-hero .ge-hero__lead { margin: 8px 0 0; }
.mgw-hero .gem-strip__stats, .mgw-hero .ma-stats { margin: 0; padding: 0; border: 0; }
/* The Season Planner's strip (up to six numbers): under the words, across the hero */
.mg-wide .mgw-hero--stack.ge-hero { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .mg-wide .mgw-hero.ge-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px)  { .mg-wide .mgw-hero.ge-hero { padding: 20px 16px; } }

/* The list's card */
.mgw-hint { margin: -2px 0 12px; font-size: 14px; line-height: 1.5; color: #5b6b7a; }
.mgw-main .mg-empty { margin: 12px auto; }
.mgw-main > .mg-usage:last-child, .mgw-main #mgList > .mg-group:last-child { margin-bottom: 0; }

/* A sidebar box with a job to do (Find more opens, Add an alert, Rate your courses) */
.mgw-box__lead { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: #5b6b7a; }
.mgw-box__lead a { font-weight: 700; color: #254e71; }
.mgw-box__big { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #1f2937; }
.mgw-box__btn { margin: 0 0 12px; }

/* ---- "Your My Golf" in the sidebar (mygolf-panel.php side, and the hub's own list) ----
   Each page with its icon, as in the sub-nav */
.mg-side .cs-list a { justify-content: flex-start; align-items: flex-start; gap: 10px; }
.mg-side__ico { flex: 0 0 20px; padding-top: 2px; text-align: center; font-size: 15px; color: #254e71; }
.mg-side__txt { flex: 1 1 auto; min-width: 0; }
.rh-wrap .mg-side .cs-list a:hover > span:first-child { text-decoration: none; }
.rh-wrap .mg-side .cs-list a:hover > .mg-side__txt { text-decoration: underline; text-underline-offset: 2px; }
.mg-side .mg-side__prem [data-mg-tile-title] { color: var(--c-premium); }
.mg-side .mg-nudge { white-space: normal; }
.mg-side .mg-meter { margin: 4px 0; }
.mg-side .mg-done { font-weight: 600; }

/* ---- Guests: the hero, then the guest card in two columns on a wide screen ---- */
.mg-wide .mg-guesthero.ge-hero { margin: 0 0 20px; }
@media (min-width: 901px) {
  .mg-wide .mg-guest { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
  .mg-wide .mg-guest__intro { grid-column: 1 / -1; }
  .mg-wide .mg-guest__example { grid-column: 1; grid-row: 2 / span 3; margin: 0; }
  .mg-wide .mg-guest__compare, .mg-wide .mg-guest__ctas, .mg-wide .mg-guest__login { grid-column: 2; }
}

/* ---- My Golf hub (mgh-wrap is on its <main>, with mg-wide) ---- */
.mgh-wrap .hub-card__body { font-size: 15px; }
/* Next up, beside the hero */
.mgh-next { display: flex; flex-direction: column; }
.mgh-next .hub-card__body { flex: 1 1 auto; }
.mgh-next .hub-next { padding: 12px; }
.mgh-next .hub-links { margin-top: 12px !important; }
/* Free members' offer: a wine line along the top, as the members area's price card */
.mgh-offer { border-top: 3px solid var(--c-premium); }
.mgh-offer .rh-head h2 i, .mgh-offer .rh-head h2 svg { color: var(--c-premium); }
.mgh-offer .hub-offer__text p { margin: 0; line-height: 1.5; }
/* Smart picks: three across on a wide screen */
.mgh-wrap .hub-picks { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mgh-wrap .hub-foot { margin-top: 12px !important; }
/* Sidebar: Your Premium */
.mgh-prem h3 { display: flex; align-items: center; gap: 8px; }
.mgh-prem h3 i, .mgh-prem h3 svg { color: var(--c-premium); }
.mgh-prem__line { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #33485c; }
.mgh-prem__line:empty { display: none; }

/* ---- Season Planner on the wide layout ---- */
/* The stats strip in the hero: the boxes of the other heroes (each one still a filter) */
.mgw-hero .sp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 6px 0 0; border: 0; background: none; overflow: visible; }
.mgw-hero .sp-stats[hidden] { display: none; }
.mgw-hero .sp-stat { min-width: 0; padding: 10px 12px; border: 0 !important; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #fff; }
.mgw-hero button.sp-stat:hover { background: rgba(255, 255, 255, .14); }
.mgw-hero .sp-stat__n { font-size: 24px; font-weight: 800; color: #fff; }
.mgw-hero .sp-stat__l { font-size: 11.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (max-width: 600px) { .mgw-hero .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mgw-hero .sp-stat__n { font-size: 20px; } }
/* Reminder emails and calendar sync: boxes in the sidebar */
.mg-wide .rh-side .sp-remind { margin: 0; }


/* ==========================================================================
   Parked 29 Nov 2026: the old hub's cards (before it went wide). No My Golf page uses
   them now. Delete this block in the tidy-up, once a site-wide search (Expression Web:
   Find in site) for "hub-card", "hub-grid", "hub-act", "hub-big", "hub-perk" and
   "hub-account" finds nothing outside this file.
   ========================================================================== */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 4px 0 16px; }
.hub-card { display: block; min-width: 0; padding: 14px 16px 12px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-text); }
.hub-card--wide { grid-column: 1 / -1; }
.hub-card--span2 { grid-column: span 2; }
.hub-card, .hub-card * { box-sizing: border-box; }
a.hub-card--link, a.hub-card--link:visited { color: var(--c-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.hub-card--link:hover, a.hub-card--link:focus-visible { border-color: var(--c-brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.hub-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1.02em; font-weight: 700; color: var(--c-text-strong); }
.hub-card__title i { color: var(--c-brand); width: 1.1em; text-align: center; }
.hub-card__sub { margin: -4px 0 10px; font-size: .88em; color: var(--c-text-muted); }
.hub-card { display: flex; flex-direction: column; }
.hub-act { margin-top: auto; padding-top: 10px; font-size: .86em; font-weight: 600; color: var(--c-brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.hub-card--link:hover .hub-act { text-decoration: underline; }
.hub-big { margin-bottom: 2px !important; font-size: 1.7em; font-weight: 800; line-height: 1.15; color: var(--c-text-strong); font-variant-numeric: tabular-nums; }
.hub-big small { font-size: .5em; font-weight: 600; color: var(--c-text-muted); }
/* Premium card */
.hub-card--premium { box-shadow: inset 0 3px 0 var(--c-premium); }
.hub-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.hub-perk, .hub-perk:visited { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--c-border); border-radius: 8px; font-size: .88em; font-weight: 600; color: var(--c-text-strong); text-decoration: none; }
.hub-perk:hover, .hub-perk:focus-visible { border-color: var(--c-premium); background: var(--c-premium-tint); }
.hub-perk i { width: 1.1em; text-align: center; }
.hub-card--premium .hub-card__title i { color: var(--c-premium); }
.hub-premium__line { font-size: .95em; }

.hub-account { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 4px 0 8px; font-size: .92em; }
.hub-account a { color: var(--c-text-muted); }
.hub-account i { margin-right: 5px; }
@media (max-width: 860px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-card--span2 { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .hub-card--span2 { grid-column: auto; }
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hub-card { padding: 12px 13px 10px; }
}
