/* Public site. White page, black type, green actions. */
.club-site {
  --club-aqua: #f6f6f4;
  --club-ink: #1a1a1a;
  --club-copper: #1b6b43;
  --club-pale: #f4faf6;
  --club-panel: #ffffff;
  --club-field: #f3f3f1;
  --club-line: #e4e4e0;
  --club-shadow: rgba(20, 20, 20, .07);
  --club-muted: #5c5c58;
  --club-dark: #111111;
  --club-highlight: #1b6b43;
  --site-green: #1b6b43;
  --site-green-dark: #145536;
  margin: 0;
  min-height: 100%;
  color: var(--club-ink);
  background: #f7f7f5;
  font-family: var(--club-body), "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.club-site * { box-sizing: border-box; }
.club-site [hidden] { display: none !important; }
.club-site button, .club-site [role="button"] { cursor: pointer; }
.club-site a { color: inherit; }
#site-shell, .club-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 16px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--club-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.club-brand {
  display: flex;
  flex: 1 0 100%;
  justify-content: center;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  min-width: 0;
}
.club-brand img {
  display: block;
  width: min(560px, 92%);
  height: auto;
  max-height: none;
  object-fit: contain;
  flex: 0 0 auto;
}
.club-nav, .club-foot nav, .lite-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.club-nav { flex: 1 0 100%; justify-content: space-between; }
.club-nav::-webkit-scrollbar, .club-foot nav::-webkit-scrollbar, .lite-nav::-webkit-scrollbar { display: none; }
.club-nav a, .club-foot nav a, .lite-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 clamp(2px, 1vw, 12px);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(11px, 3.1vw, 15px);
  white-space: nowrap;
}
.club-nav a:hover, .club-foot nav a:hover {
  background: linear-gradient(180deg, #f4f8f5 0%, #dce8e0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(14,36,25,.08);
}
.club-nav a[aria-current="page"], .club-foot nav a[aria-current="page"] {
  background: linear-gradient(180deg, #f0f6f2 0%, #c9ddd0 100%);
  color: #163526;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(22,53,38,.1), 0 1px 3px rgba(14,36,25,.1);
}
.club-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.auth-links { display: flex; gap: 8px; }
body.club-site .account-toggle { display: none !important; }
body.club-site.player-in .auth-links,
body.club-site.player-in .nav-auth,
body.club-site.player-in [data-account-signed-out] { display: none !important; }
.club-nav .nav-staff,
.club-nav .nav-logout { font-weight: 800; }
@media (max-width: 720px) { .club-site #site-shell.menu-open .club-nav .nav-logout { margin-top: 6px; border-top: 1px solid var(--club-line); } }
.club-site .account-toggle:not(.signed-in) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.club-site .account-toggle .when-in { display: none; }
.club-site .account-toggle.signed-in .when-out { display: none; }
.club-site .account-toggle.signed-in .when-in { display: inline; }
.club-btn, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d5d5d0;
  background: #ffffff;
  color: #1a1a1a;
  font: 700 14px/1 var(--club-body), "Segoe UI", sans-serif;
  text-decoration: none;
  box-shadow: none;
}
.club-btn:hover, .theme-toggle:hover { border-color: var(--site-green); color: var(--site-green); }
.club-btn-solid, .auth-links .club-btn, .nav-auth .club-btn, .gbtn, .pbtn, .btn-orange,
.rect-btn.green, .site-gold-button, .club-btn-solid.green, a.club-btn-solid, button.club-btn-solid {
  border: 0;
  border-radius: 0;
  background: url("/icons/btn-metal.png") center/100% 100% no-repeat;
  color: #1a1a1a !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
  transition: transform .12s ease, box-shadow .12s ease;
}
.club-btn-solid:hover, .auth-links .club-btn:hover, .nav-auth .club-btn:hover, .gbtn:hover, .pbtn:hover, .btn-orange:hover,
.rect-btn.green:hover, .site-gold-button:hover, a.club-btn-solid:hover, button.club-btn-solid:hover {
  background: url("/icons/btn-metal-hover.png") center/100% 100% no-repeat;
  color: #111 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
}
.club-btn-solid:active, .auth-links .club-btn:active, .nav-auth .club-btn:active, .gbtn:active, .pbtn:active, .btn-orange:active,
.rect-btn.green:active, .site-gold-button:active, a.club-btn-solid:active, button.club-btn-solid:active {
  background: url("/icons/btn-metal-down.png") center/100% 100% no-repeat;
  transform: translateY(2px);
  box-shadow: inset 0 3px 6px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.15);
}
.auth-links .club-btn::after, .club-btn-solid::after, .gbtn::after, .pbtn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: navShine 5s ease-in-out infinite;
  pointer-events: none;
}
.club-btn:focus-visible, .theme-toggle:focus-visible, .club-nav a:focus-visible {
  outline: 3px solid var(--club-ink);
  outline-offset: 2px;
}
.theme-toggle { width: 44px; padding: 0; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sun-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: block; }
html[data-theme="dark"] .moon-icon { display: none; }
.club-main { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 48px; }
.page-intro { margin-bottom: 18px; }
.page-intro h1, .hero-copy h1 {
  margin: 0 0 6px;
  font-family: var(--club-display), Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.page-intro p, .hero-copy p { margin: 0; max-width: 62ch; color: var(--club-muted); }
.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--club-ink);
}
.game-row { display: grid; gap: 10px; margin-top: 18px; }
.game-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--club-line);
  border-radius: 16px;
  background: var(--club-panel);
  color: var(--club-ink);
  box-shadow: 0 8px 18px var(--club-shadow);
}
.game-btn b { display: block; font-family: var(--club-display), Georgia, serif; font-size: 22px; font-weight: 600; }
.game-btn small { color: var(--club-muted); font-size: 13px; }
.game-btn:hover { transform: translateY(-2px); }
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  box-shadow: inset -4px -5px 6px rgba(0, 0, 0, .35), inset 3px 3px 4px rgba(255, 255, 255, .45);
}
.dot.snooker { background: radial-gradient(circle at 35% 32%, #fff 0 8%, #e10600 22%, #6d0000 78%); }
.dot.ball8 { background: radial-gradient(circle at 35% 32%, #fff 0 7%, #f4f4f4 16%, #111 42%); }
.dot.ball9 { background: radial-gradient(circle at 35% 32%, #fff 0 8%, #f3c534 28%, #8a6a08 80%); }
.home-split { display: grid; gap: 16px; margin-top: 16px; }
.card {
  background: var(--club-panel);
  border: 1px solid var(--club-line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px var(--club-shadow);
  min-width: 0;
}
.card-head, .board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.card h2, .board-title {
  margin: 0;
  font-family: var(--club-display), Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card-head p, .board-kicker, .sample-note, .day-empty { margin: 0; color: var(--club-muted); font-size: 13px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--club-line);
  background: var(--club-field);
  color: var(--club-ink);
  font: 700 18px/1 var(--club-body), sans-serif;
}
.board-viewport { overflow: hidden; border-radius: 12px; }
.board-track { display: flex; transition: transform .55s cubic-bezier(.22, .7, .3, 1); }
.board-track > ol { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; list-style: none; }
.board-list li, .rank-grid li {
  display: grid;
  grid-template-columns: 28px 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 4px 2px;
  border-top: 1px solid var(--club-line);
}
.board-list li.lead, .rank-grid li.lead { background: #eef6f1; }
.board-list a, .rank-grid a {
  font-weight: 750;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-list a:hover, .rank-grid a:hover { text-decoration: underline; }
.board-list .n, .rank-grid .n { color: var(--club-muted); font-variant-numeric: tabular-nums; font-weight: 700; }
.board-list .r, .rank-grid .r { font-variant-numeric: tabular-nums; font-weight: 750; }
.lvl { width: 22px; height: 22px; display: inline-flex; }
.lvl img { width: 22px; height: 22px; object-fit: contain; }
.board-list .empty, .rank-grid .empty { display: block; padding: 16px 4px; color: var(--club-muted); }
.dots { display: flex; gap: 4px; }
.dots button {
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
}
.dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--club-line);
}
.dots button[aria-selected="true"]::before { background: var(--club-ink); transform: scale(1.35); }
.next-up {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--club-field);
}
.next-up b { font-family: var(--club-display), Georgia, serif; font-size: 18px; }
.week { display: grid; gap: 8px; }
.day {
  padding: 10px;
  border-radius: 12px;
  background: var(--club-field);
  border: 1px solid transparent;
}
.day.is-today { border-color: var(--site-green); box-shadow: inset 0 0 0 1px var(--site-green); }
.day-label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.event {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--club-panel);
}
.event.is-past { opacity: .55; }
.event strong, .event span { display: block; }
.event span { color: var(--club-muted); font-size: 12px; }
.tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.week-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.table-list { display: grid; gap: 14px; }
.table-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--club-panel);
  border: 1px solid var(--club-line);
  box-shadow: 0 12px 28px var(--club-shadow);
}
.table-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.table-card div { padding: 16px; }
.table-card h2 { margin: 0 0 6px; font-family: var(--club-display), Georgia, serif; font-size: 28px; }
.table-card p { margin: 0 0 14px; color: var(--club-muted); }
.room-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(22,53,38,.14); }
.room-table tr { cursor: pointer; }
.room-table td { padding: 11px 14px; vertical-align: middle; }
.room-table tr:nth-child(odd) td { background: #fff; }
.room-table tr:nth-child(even) td { background: #d9eedf; }
.room-table tr:hover td { background: #c5e6d0; }
.room-table b { display: block; font-size: 15px; color: #163526; }
.room-table small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: #5d6b62; }
.room-table td.count { width: 92px; text-align: right; font-weight: 800; font-size: 13px; color: #163526; white-space: nowrap; }
.room-total { margin: 10px 2px 0; text-align: right; font: 700 13px Outfit, Manrope, sans-serif; color: #163526; }
.practice-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #163526; }
.rank-grid { display: grid; gap: 14px; }
.rank-grid section {
  background: var(--club-panel);
  border: 1px solid var(--club-line);
  border-radius: 18px;
  padding: 8px 14px 12px;
  box-shadow: 0 12px 28px var(--club-shadow);
  min-width: 0;
}
.rank-grid h2 {
  margin: 8px 0;
  font-family: var(--club-display), Georgia, serif;
  font-size: 22px;
}
.rank-grid ol { list-style: none; margin: 0; padding: 0; }
.find-form { display: flex; gap: 8px; }
.find-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--club-line);
  background: var(--club-field);
  color: var(--club-ink);
  padding: 0 14px;
  font: 16px var(--club-body), sans-serif;
}
.hits { display: grid; gap: 6px; margin-top: 14px; }
.hits button {
  width: 100%;
  min-height: 48px;
  text-align: left;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--club-line);
  background: var(--club-field);
  color: var(--club-ink);
  font: 700 16px var(--club-body), sans-serif;
}
.note { min-height: 1.4em; color: var(--club-muted); }
.club-foot {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 28px;
  padding-top: 8px;
  color: var(--club-muted);
}
.club-foot p { margin: 0 0 6px; }
.page-login .club-main { max-width: 720px; }
.page-login .auth-links { display: none; }
.page-login .account-anchor { width: min(440px, 100%); margin: 8px auto 0; }
body.page-login.club-site .account-toggle {
  position: static;
  width: 100%;
  height: auto;
  margin: 0 0 8px;
  padding: 0 14px;
  clip: auto;
  overflow: visible;
}
.page-login .account-panel {
  position: static;
  width: 100%;
  margin-top: 0;
}
.page-login .account-panel::before { display: none; }
.agenda, .week.agenda { display: grid; grid-template-columns: 1fr; gap: 8px; }
.agenda .event { margin-top: 0; }
body.page-login.club-site .account-toggle { display: none; }
.login-reopen { margin: 0 auto 12px; }
html[data-theme="dark"] body.club-site {
  --club-aqua: #141414;
  --club-ink: #f3f3f1;
  --club-copper: #3dbe78;
  --club-pale: #141414;
  --club-panel: #1c1c1c;
  --club-field: #242424;
  --club-line: #343432;
  --club-muted: #b0b0aa;
  --club-shadow: rgba(0, 0, 0, .35);
  --site-green: #2f9d62;
  --site-green-dark: #278655;
  background: #141414;
  color: #f3f3f1;
}
html[data-theme="dark"] .club-site .board-list li.lead,
html[data-theme="dark"] .club-site .rank-grid li.lead { background: #243028; }
html[data-theme="dark"] .club-site .page-intro p,
html[data-theme="dark"] .club-site .hero-copy p,
html[data-theme="dark"] .club-site .sample-note,
html[data-theme="dark"] .club-site .game-btn small,
html[data-theme="dark"] .club-site .table-card p,
html[data-theme="dark"] .club-site .event span,
html[data-theme="dark"] .club-site .room-actions small { color: #b0b0aa; }
html[data-theme="dark"] .club-site .club-btn-solid,
html[data-theme="dark"] .club-site .club-btn-solid:hover { color: #ffffff; }

body.club-site.profile-page,
html[data-theme="light"] body.club-site.profile-page {
  background: #f7f7f5 !important;
  color: #1a1a1a !important;
}
.club-site .account-panel {
  color: #1a1a1a;
  border: 1px solid #e4e4e0;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.club-site .account-panel::before {
  background: #ffffff;
  border-color: #e4e4e0;
  box-shadow: none;
}
.club-site #account-menu,
.club-site #account-form,
.club-site .account-heading { background: #f6f6f4; color: #1a1a1a; }
.club-site #account-form label,
.club-site #account-form input { color: #1a1a1a; }
.club-site #account-form input {
  background: #ffffff;
  border: 1px solid #d5d5d0;
  box-shadow: none;
}
.club-site .account-panel button {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.club-site .account-panel button:hover,
.club-site .account-panel button:focus-visible { background: #e7f3ec !important; filter: none; }
.club-site #account-submit,
.club-site .site-gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--site-green) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.club-site #account-submit:hover,
.club-site .site-gold-button:hover { background: var(--site-green-dark) !important; filter: none; }
.club-site .shop-shell .profile-heading,
.club-site .profile-shell,
.club-site .shop-shell .subscriber-offer {
  background: #ffffff !important;
  border: 1px solid #e4e4e0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05) !important;
  color: #1a1a1a;
}
.club-site .shop-shell .profile-heading :is(h1, .profile-brand) {
  color: #1a1a1a !important;
  text-shadow: none !important;
  text-align: center !important;
  width: 100%;
  margin: 0 !important;
}
.club-site .shop-shell .profile-heading {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}
html[data-theme="dark"] .club-site .account-panel,
html[data-theme="dark"] .club-site #account-menu,
html[data-theme="dark"] .club-site #account-form,
html[data-theme="dark"] .club-site .account-heading,
html[data-theme="dark"] .club-site .shop-shell .profile-heading,
html[data-theme="dark"] .club-site .profile-shell,
html[data-theme="dark"] .club-site .shop-shell .subscriber-offer {
  background: #1c1c1c !important;
  color: #f3f3f1 !important;
  border-color: #343432 !important;
}
html[data-theme="dark"] .club-site .account-panel button,
html[data-theme="dark"] .club-site .account-heading,
html[data-theme="dark"] .club-site #account-form label,
html[data-theme="dark"] .club-site .shop-shell .profile-heading :is(h1, .profile-brand) { color: #f3f3f1 !important; }
html[data-theme="dark"] .club-site .account-panel::before { background: #1c1c1c; border-color: #343432; }
html[data-theme="dark"] body.club-site.profile-page { background: #141414 !important; color: #f3f3f1 !important; }
html[data-theme="dark"] .club-site #site-shell,
html[data-theme="dark"] .club-site .club-btn,
html[data-theme="dark"] .club-site .theme-toggle,
html[data-theme="dark"] .club-site .icon-btn {
  background: #1c1c1c;
  color: #f3f3f1;
  border-color: #343432;
}
html[data-theme="dark"] .club-site .club-btn-solid,
html[data-theme="dark"] .club-site .club-nav a[aria-current="page"] {
  background: linear-gradient(180deg, #2e4a38 0%, #1a3024 100%);
  color: #e7f0ea;
  border-radius: 0;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
html[data-theme="light"] body.player-page {
  background: #f7f7f5 !important;
  color: #1a1a1a;
}
.lite-nav {
  justify-content: space-between;
  padding: 8px 8px 0;
}
@media (min-width: 860px) {
  .club-nav { flex: 1 1 auto; justify-content: flex-start; gap: 4px; }
  .club-nav a, .club-foot nav a, .lite-nav a { flex: 0 0 auto; min-height: 44px; padding: 0 12px; font-size: 15px; }
  .game-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .table-card { grid-template-columns: 280px minmax(0, 1fr); }
  .table-card img { height: 100%; min-height: 180px; }
  .rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .home-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .board-track, .game-btn { transition: none; }
  .game-btn:hover { transform: none; }
}

/* Contact + shop forms (2026-10-21) */
.club-form { display: grid; gap: 14px; width: min(100%, 560px); margin: 0 auto; text-align: left; }
.club-form label { display: grid; gap: 6px; font-weight: 600; }
.club-form :is(select, textarea, input) { font: inherit; padding: 10px 12px; border: 1px solid var(--club-line, #c9b48a); border-radius: 6px; background: var(--club-field, #fff); color: inherit; }
.club-form textarea { min-height: 140px; resize: vertical; }
.club-form .count { justify-self: end; font-size: 12px; opacity: .7; }
.club-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.club-msg { min-height: 20px; font-size: 14px; }
.club-msg.bad { color: #d32f2f; }
.club-msg.good { color: #2e9d46; }
.rect-btn { border: 0; border-radius: 0; padding: 11px 24px; font: 700 14px inherit; cursor: pointer; min-width: 120px; }
.rect-btn.green { background: #2e9d46; color: #fff; }
.rect-btn.red { background: #d32f2f; color: #fff; }
.rect-btn:disabled { opacity: .55; cursor: not-allowed; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; width: min(100%, 640px); margin: 0 auto 22px; }
.plan-card { border: 2px solid var(--club-line, #c9b48a); padding: 18px; text-align: center; cursor: pointer; background: var(--club-panel, transparent); }
.plan-card.on { border-color: #2e9d46; box-shadow: 0 0 0 2px #2e9d46 inset; }
.plan-card .price { font-size: 30px; font-weight: 700; margin: 6px 0; }
.card-field { min-height: 48px; padding: 10px; border: 1px solid var(--club-line, #c9b48a); background: #fff; border-radius: 6px; }
.club-gate { text-align: center; padding: 20px; }

/* Header redesign (2026-10-21): compact brand left, nav centre, account + theme right, subtle felt pattern */
html[data-theme] .club-site #site-shell {
  flex-wrap: nowrap;
  gap: 12px 18px;
  padding: 10px clamp(12px, 3vw, 28px);
  background: linear-gradient(180deg, #f7faf8 0%, #e4ece6 100%) !important;
  background-image: linear-gradient(180deg, #f7faf8 0%, #e4ece6 100%) !important;
  border-bottom: 3px solid #163526;
  box-shadow: 0 4px 14px rgba(14,36,25,.12);
}
.club-site .club-brand { flex: 0 0 auto; justify-content: flex-start; gap: 10px; line-height: 1; }
.club-brand .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.club-brand .brand-word { font: 700 21px/1 var(--club-display, "Sora"), "Sora", Georgia, serif; letter-spacing: -.02em; color: var(--club-ink); }
.club-brand .brand-word em { font-style: normal; color: var(--site-green); }
.club-site .club-nav { flex: 1 1 auto; justify-content: center; gap: 2px; min-width: 0; overflow: visible; }
.club-site .club-nav a, .practice-menu summary { flex: 0 0 auto; min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 0; }
.club-site .club-tools { flex: 0 0 auto; margin-left: 0; }
.club-site .club-tools .club-btn, .club-site .theme-toggle { min-height: 38px; }
.club-site .theme-toggle { width: 38px; }
.practice-menu { position: relative; }
.practice-menu summary {
  display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; font-weight: 700;
  list-style: none; cursor: pointer; white-space: nowrap;
}
.practice-menu summary::-webkit-details-marker { display: none; }
.practice-menu summary::after { content: "▾"; font-size: 11px; opacity: .7; }
.practice-menu summary:hover, .practice-menu[open] summary { background: var(--club-field); }
.practice-pop {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 60;
  display: grid; min-width: 170px; padding: 6px; border-radius: 12px;
  background: var(--club-panel); border: 1px solid var(--club-line); box-shadow: 0 12px 28px var(--club-shadow);
}
.club-site .practice-pop a { justify-content: flex-start; border-radius: 8px; padding: 0 12px; }
@media (max-width: 1020px) {
  .club-site #site-shell { flex-wrap: wrap; }
  .club-site .club-tools { margin-left: auto; }
  .club-site .club-nav { order: 3; flex: 1 0 100%; justify-content: space-between; overflow-x: auto; }
  .practice-pop { left: auto; right: 0; transform: none; }
}
@media (max-width: 520px) {
  .club-brand .brand-word { font-size: 18px; }
  .club-site .auth-links .club-btn { padding: 0 10px; }
}
/* Home hero */
.home-hero {
  padding: clamp(18px, 4vw, 34px);
  border-radius: 20px;
  border: 1px solid var(--club-line);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--site-green) 16%, transparent), transparent 60%),
    var(--club-panel);
  box-shadow: 0 12px 28px var(--club-shadow);
}
.home-hero .eyebrow { color: var(--site-green); }
.practice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--club-muted); }
.practice-row span { font-weight: 700; }
.practice-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--club-line); background: var(--club-field);
  color: var(--club-ink) !important; font-weight: 700; text-decoration: none;
}
.practice-chip .dot { width: 14px; height: 14px; flex-basis: 14px; }
.practice-chip:hover { border-color: var(--site-green); color: var(--site-green) !important; }
.game-btn { transition: transform .15s ease, border-color .15s ease; }
.game-btn:hover { border-color: var(--site-green); }
html[data-theme="dark"] .club-site #site-shell { background-color: #1a1a1a; border-bottom-color: var(--site-green); }

/* Mobile header (2026-10-21): hamburger drawer, no horizontal overflow */
html, body.club-site { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body.club-site { overflow-x: clip; } }
.nav-auth { display: none; }
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0;
  background: url("/assets/btn-circle.png") center / 100% 100% no-repeat;
  color: #1a1a1a; cursor: pointer;
}
@media (max-width: 720px) {
  html[data-theme] .club-site #site-shell { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .club-site .club-brand { flex: 1 1 auto; min-width: 0; }
  .club-brand .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .club-site .club-tools { gap: 6px; margin-left: 0; }
  .club-site .club-tools .auth-links { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 42px; height: 42px; padding: 0; border-radius: 50%;
    border: 0; background: url("/assets/btn-circle.png") center/contain no-repeat; color: #1a1a1a;
  }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .club-site #site-shell .club-nav { display: none; }
  .club-site #site-shell.menu-open .club-nav {
    display: flex; flex-direction: column; align-items: stretch; order: 3; flex: 1 0 100%;
    gap: 2px; padding: 8px 0 4px; border-top: 1px solid var(--club-line); overflow: visible;
  }
  .club-site #site-shell .club-nav a, .club-site #site-shell .practice-menu summary {
    justify-content: flex-start; min-height: 44px; padding: 0 12px; font-size: 16px; border-radius: 10px;
  }
  .practice-menu summary { width: 100%; }
  .practice-pop { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
  .nav-auth { display: flex; gap: 8px; padding-top: 8px; }
  .club-site #site-shell .nav-auth .club-btn { flex: 1; justify-content: center; }
  body.club-site:has(.account-toggle.signed-in) .nav-auth { display: none; }
  .club-site .account-panel { max-width: calc(100vw - 24px); }
  .club-main { width: calc(100% - 24px); }
  .home-hero { padding: 18px 16px; }
}
.club-site a.club-btn-solid, .club-site a.club-btn-solid:hover { color: #ffffff; }

/* Shop: three plans in one row, 1 year marked best value */
.shop-page .plan-grid { width: min(100%, 780px); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.shop-page .plan-card { position: relative; }
.shop-page .plan-card .plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; font: 800 11px/1.4 inherit; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #2e9d46; box-shadow: 0 4px 10px rgba(46,157,70,.35); }
.shop-page .subscriber-offer ul.sub-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 22px; width: min(100%, 640px); margin-left: auto; margin-right: auto; text-align: left; }
.shop-page .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shop-page .plan-card { padding: 18px 8px 14px; }
.shop-page .plan-card .price { font-size: 24px; }
.shop-page .plan-card span { font-size: 13px; }
@media (max-width: 380px) { .shop-page .plan-grid { grid-template-columns: 1fr; gap: 18px; } }
.shop-page .plan-card.best { padding-top: 24px; } .shop-page .plan-card .plan-badge { top: -11px; padding: 2px 10px; font-size: 10px; }

/* Home: opening-offer banner (free accounts on the top list until 1 Dec 2026) */
.promo-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; margin: 18px 0 0; padding: 16px 20px; border-radius: 18px; color: #f2fff7;
  background: radial-gradient(400px 160px at 0% 0%, rgba(245,197,66,.28), transparent 70%), linear-gradient(120deg, #155a36, #1d6b43 55%, #24854f); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 26px rgba(16,70,40,.28); }
.promo-banner[hidden] { display: none; }
.promo-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%) 0 0 / 250% 100%; animation: promoSheen 5s linear infinite; }
@keyframes promoSheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.promo-banner .promo-trophy { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(0,0,0,.2); box-shadow: 0 0 0 2px rgba(245,197,66,.6), 0 0 18px rgba(245,197,66,.45); }
.promo-banner .promo-text { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.45; }
.promo-banner .promo-text strong { font-size: 16px; color: #ffe08a; }
.promo-banner .promo-cta { flex: none; position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; color: #173d27; background: #ffd35a; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.promo-banner .promo-cta:hover { background: #ffe08a; }
@media (prefers-reduced-motion: reduce) { .promo-banner::after { animation: none; } }
@media (max-width: 600px) {
  .promo-banner { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .promo-banner .promo-trophy { width: 38px; height: 38px; font-size: 20px; }
  .promo-banner .promo-text { flex-basis: calc(100% - 52px); }
  .promo-banner .promo-cta { width: 100%; text-align: center; }
}

/* Contact page: plain site card, green accents (no wood / old logo) */
.contact-page .contact-main { max-width: 640px; }
.contact-card { padding: clamp(20px, 4vw, 34px); border-radius: 20px; border: 1px solid var(--club-line); color: var(--club-ink);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--site-green) 14%, transparent), transparent 60%), var(--club-panel); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.contact-head { margin-bottom: 18px; }
.contact-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--site-green); }
.contact-head h1 { margin: 4px 0 6px; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; }
.contact-head p { margin: 0; color: var(--club-muted); }
.contact-gate { padding: 14px 16px; border-radius: 12px; background: var(--club-field); color: var(--club-ink); }
.contact-gate a { color: var(--site-green); font-weight: 700; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-weight: 700; font-size: 14px; margin-top: 6px; }
.contact-form select, .contact-form textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--club-ink); background: var(--club-field); border: 1px solid var(--club-line); border-radius: 12px; padding: 12px 14px; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--site-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-green) 20%, transparent); }
.contact-form .count { justify-self: end; font-size: 12px; color: var(--club-muted); }
.contact-error { padding: 10px 14px; border-radius: 10px; font-weight: 600; color: #8a1c1c; background: #fdeaea; border: 1px solid #f3c2c2; }
.contact-error[hidden] { display: none; }
.contact-send { justify-self: start; margin-top: 6px; min-width: 160px; padding: 12px 22px; border: 0; border-radius: 999px; font: 700 15px/1 inherit; cursor: pointer; }
.contact-send:disabled { opacity: .6; cursor: default; }
.contact-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(8,24,15,.55); backdrop-filter: blur(3px); }
.contact-modal[hidden] { display: none; }
.contact-dialog { width: min(380px, 100%); padding: 28px 24px 22px; border-radius: 20px; text-align: center; color: var(--club-ink); background: var(--club-panel); border: 1px solid var(--club-line); box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: contactPop .22s ease-out; }
@keyframes contactPop { from { transform: scale(.94); opacity: 0; } }
.contact-tick { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; background: var(--site-green); box-shadow: 0 0 0 6px color-mix(in srgb, var(--site-green) 18%, transparent); }
.contact-dialog h2 { margin: 0 0 6px; font-size: 26px; }
.contact-dialog p { margin: 0 0 20px; color: var(--club-muted); }
.contact-done { display: block; margin: 0 auto; min-width: 140px; padding: 12px 26px; border: 0; border-radius: 10px; font: 700 15px/1 inherit; cursor: pointer; }
@media (max-width: 520px) { .contact-send { justify-self: stretch; } }

.club-site #site-shell {
  background: linear-gradient(180deg, #f7faf8 0%, #e8efe9 100%) !important;
  background-image: none !important;
}
.club-site .club-nav a {
  position: relative;
  overflow: hidden;
}
.club-site .club-nav a::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: navShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes navShine {
  0%, 70% { left: -60%; }
  100% { left: 140%; }
}

.club-site .account-toggle.signed-in {
  border-radius: 0;
  background: url("/icons/btn-metal.png") center/100% 100% no-repeat;
  color: #fff;
  border: 0;
  padding: 0 16px;
  position: relative;
  overflow: hidden;
}
.club-site .account-toggle.signed-in:hover { background: url("/icons/btn-metal-hover.png") center/100% 100% no-repeat; }
.club-site .account-toggle.signed-in:active { background: url("/icons/btn-metal-down.png") center/100% 100% no-repeat; }

.pbtn, .gbtn, .club-btn-solid, .auth-links .club-btn, .nav-auth .club-btn, .btn-orange,
.pbtn:hover, .gbtn:hover, .club-btn-solid:hover, .auth-links .club-btn:hover, .nav-auth .club-btn:hover,
.rect-btn.green, .site-gold-button {
  color: #1a1a1a !important;
}


/* Round 17: Play page room tables. See-through table artwork (assets/ui/table-bg-art.png, Game Graphics) behind each
   game's rooms; every row the same semi-transparent tint (no alternating colours). Padding/row height unchanged. */
.club-site .room-table {
  background: url("/assets/ui/table-bg-art.png") center center / auto 112% no-repeat, linear-gradient(180deg, #f3f7f4, #e5ede7);
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(14,36,25,.08);
}
.club-site .room-table tr:nth-child(odd) td, .club-site .room-table tr:nth-child(even) td {
  background: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(22,53,38,.06);
}
.club-site .room-table tr:hover td { background: rgba(255,255,255,.66); }
.club-site .room-table tr:hover td:first-child { box-shadow: inset 3px 0 0 #c0140c; }
.club-site .room-table small { color: #5d6f65; font-weight: 500; }


/* v45: Play page. Lift the table art in each room list, and put a glow around each game. */
.club-site .table-list .table-card {
  border: 1px solid rgba(201, 162, 39, .72);
  box-shadow:
    0 0 0 1px rgba(12, 40, 24, .55),
    0 0 0 4px rgba(46, 168, 92, .16),
    0 0 22px rgba(46, 168, 92, .42),
    0 14px 28px rgba(14, 36, 25, .18);
}
.club-site .table-list .table-card img {
  object-position: center 22%;
}
.club-site .room-table {
  background-position: center 12% !important;
  background-size: auto 100% !important;
}
