/* Local clubhouse refinement. Payment and card-reveal controls retain their own layouts. */
.club-shell { --ui-radius: 16px; --ui-soft: #152635; }
.club-shell .page { min-width: 0; }
.club-shell .button { border-radius: 10px; gap: 8px; }
.club-shell :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.club-shell .button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.club-shell .game-heading { margin-bottom: 24px; }
.club-shell .game-status:empty { margin: 0; }
.game-body[aria-busy=true] { opacity: .65; transition: opacity .15s ease; }
.game-body[aria-busy=true]:empty { min-height: 210px; border-radius: var(--ui-radius); background: linear-gradient(110deg,#142332 20%,#1a3040 45%,#142332 65%); background-size: 250% 100%; animation: club-loading 1.8s ease-in-out infinite; }
@keyframes club-loading { to { background-position: -180% 0; } }
.club-shell #home>.hero { min-height: 330px; padding: 40px; margin: 18px 0 32px; border-radius: 20px; }
.club-shell #home .hero-copy { width: min(550px,64%); }
.club-shell #home .hero h1 { font-size: clamp(32px,3.6vw,48px); line-height: 1.08; letter-spacing: -1.6px; margin: 14px 0; }
.club-shell #home .hero .intro { font-size: 14px; line-height: 1.7; max-width: 340px; }
.club-shell #home .hero .welcome-line { font-size: 13px; color: var(--muted); margin: 12px 0; }
.club-shell #home .hero-actions { margin-top: 22px; }
.club-shell #home .hero .hero-actions .button { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.club-shell #home .hero-actions .text-link { font-size: 13px; }
#home .game-quick-links { display: none; }
.club-home-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.club-home-heading .eyebrow,.club-home-layout .eyebrow { font-size: 10px; letter-spacing: 1.7px; margin: 0 0 10px; }
.club-home-heading h2 { font-size: clamp(22px,2.4vw,30px); letter-spacing: -.7px; margin: 0; overflow-wrap: anywhere; }
.club-home-signature { color: var(--muted); font-size: 12px; white-space: nowrap; }
.club-home-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.club-home-layout>section { min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: linear-gradient(140deg,#142a34,#101f2d 80%); }
.club-home-layout .club-home-daily { background: linear-gradient(140deg,#17293d,#101f2d 80%); display: flex; flex-direction: column; }
.club-home-layout h3 { font-size: 21px; letter-spacing: -.5px; margin: 0; }
.club-home-reserves { display: flex; flex-wrap: wrap; gap: 20px 30px; margin: 24px 0; }
.club-home-reserves strong { display: block; font-size: 30px; line-height: 1.2; color: var(--mint); font-variant-numeric: tabular-nums; }
.club-home-reserves span { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.club-home-route { display: flex; align-items: center; gap: 12px; min-height: 62px; text-decoration: none; border-radius: 10px; color: var(--white); transition: background .15s ease; }
.club-home-route:hover { background: #65e1b80a; }
.club-home-route img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.club-home-route>span:not(.club-home-arrow) { min-width: 0; }
.club-home-route strong { display: block; font-size: 14px; font-weight: 700; }
.club-home-route small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.club-home-arrow { margin-left: auto; color: var(--mint); font-size: 21px; padding: 0 6px; }
.club-home-layout .club-home-route { margin-top: auto; }
.club-home-progress-label { color: var(--muted); font-size: 12px; margin: 24px 0 10px; }
.club-home-daily progress { display: block; appearance: none; width: 100%; height: 5px; border: 0; border-radius: 10px; background: #293c50; margin: 0 0 24px; overflow: hidden; }
.club-home-daily progress::-webkit-progress-bar { background: #293c50; }
.club-home-daily progress::-webkit-progress-value { background: var(--mint); border-radius: 10px; }
.club-home-daily progress::-moz-progress-bar { background: var(--mint); border-radius: 10px; }
.club-home-routes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 32px; margin: 22px 0; }
.club-home-routes .club-home-route { padding: 14px 8px; border-bottom: 1px solid #25354580; border-radius: 0; }
.club-home-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0 26px; }
.club-home-foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.club-home-foot a:hover { color: var(--mint); }
#cards .card-heading { margin: 24px 0; }
#cards .card-heading h1 { font-size: clamp(30px,3.4vw,44px); line-height: 1.13; letter-spacing: -1.2px; }
#cards .card-heading>img { width: 70px; height: 70px; object-fit: contain; }
#cards .directory-panel { padding: 22px; border-radius: 18px; }
#cards .directory-tabs button { min-height: 44px; border-radius: 9px; }
#cards .directory-tabs button.active { box-shadow: inset 0 -2px var(--mint); }
#cards .directory-filters { gap: 12px; }
#cards .directory-filters label { font-size: 12px; }
#cards :is(.directory-filters select,.search-row input) { border-radius: 9px; min-height: 44px; }
.directory-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.directory-active-filters:empty { display: none; }
.directory-filter-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #32564e; border-radius: 30px; padding: 5px 12px; min-height: 36px; color: #bdeddc; background: #152f2d; font: inherit; font-size: 12px; cursor: pointer; }
.directory-filter-chip img { width: 16px; height: 16px; object-fit: contain; }
#cards .directory-grid[aria-busy=true] { opacity: .55; transition: opacity .15s; }
#account>.page-heading { margin: 24px 0; }
#account>.page-heading h1 { font-size: clamp(30px,3.5vw,44px); letter-spacing: -1.2px; }
#account .account-panel { border-radius: 20px; padding: 30px; text-align: left; background: radial-gradient(ellipse at 0 0,#1a3c42,transparent 65%),#111f2d; }
#account .account-panel .account-symbol { margin: 0 0 20px; }
#account .account-panel h2 { font-size: 25px; letter-spacing: -.6px; overflow-wrap: anywhere; }
#account .account-panel p { max-width: 600px; font-size: 14px; line-height: 1.7; }
#account .account-panel .button { min-height: 44px; width: auto; padding: 10px 16px; }
#account .account-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#account .account-columns article { min-width: 0; border-radius: 16px; padding: 24px; }
#account .account-columns h3 { font-size: 20px; overflow-wrap: anywhere; }
#account .account-columns p { font-size: 13px; line-height: 1.7; }
#account .account-club-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--mint); font-size: 13px; }
@media(max-width:1000px) {
  .club-home-layout { grid-template-columns: 1fr; }
  .club-home-layout>section { padding: 22px; }
  .club-home-reserves { gap: 20px 28px; }
}
@media(max-width:700px) {
  .club-shell #home>.hero { min-height: 295px; padding: 26px 22px; margin: 4px 0 28px; }
  .club-shell #home .hero-copy { width: 100%; }
  .club-shell #home .hero:before { background: linear-gradient(90deg,#081522f5 0%,#081522d9 58%,#08152266); }
  .club-shell #home .hero h1 { font-size: 35px; max-width: 260px; }
  .club-shell #home .hero .intro { max-width: 250px; font-size: 13px; }
  .club-shell #home .hero .welcome-line { font-size: 12px!important; }
  .club-home-signature { display: none; }
  .club-home-layout { gap: 12px; }
  .club-home-layout h3 { font-size: 20px; }
  .club-home-layout>section { padding: 20px; }
  .club-home-reserves { gap: 18px; margin: 20px 0 16px; }
  .club-home-reserves strong { font-size: 27px; }
  .club-home-routes { grid-template-columns: 1fr; gap: 0; margin: 16px 0; }
  .club-home-route small { font-size: 11px; }
  .club-home-foot { gap: 0; padding-bottom: 16px; }
  .mobile-bottom-nav { border-top: 0; background: #0b1825f5; box-shadow: 0 -10px 32px #02081070; }
  .mobile-bottom-nav [aria-current=page] { background: radial-gradient(ellipse at 50% 40%,#65e1b826,transparent 72%); color: var(--mint); }
  .mobile-bottom-nav a,.mobile-bottom-nav button { min-height: 52px; }
  .mobile-menu-grid { display: block; }
  .mobile-menu-grid a,.mobile-menu-grid a:first-child { min-height: 56px; padding: 10px 8px; border: 0; border-radius: 10px; background: none; font-size: 14px; }
  .mobile-menu-grid [aria-current=page] { background: #65e1b80d; color: var(--mint); }
  .mobile-menu-grid img { width: 26px; height: 26px; }
  #cards .directory-panel { padding: 16px; }
  #cards .card-heading h1 { font-size: 30px; }
  #cards .card-heading>img { width: 48px; height: 48px; }
  #cards .directory-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  #cards .directory-tabs button { min-width: 0; justify-content: center; gap: 5px; padding: 10px 4px; font-size: 11px; line-height: 1.3; }
  #cards .directory-tabs button img { width: 19px; height: 19px; flex: none; }
  #cards .directory-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #cards .directory-filters label { min-width: 0; }
  #cards .directory-filters select { width: 100%; min-width: 0; }
  #cards .directory-filters .button { align-self: end; min-height: 44px; width: auto; }
  #cards .search-row { flex-wrap: nowrap; gap: 8px; }
  #cards .search-row .button { width: auto; padding: 10px 12px; min-height: 44px; font-size: 12px; }
  #cards .search-row .button img { width: 20px; height: 20px; }
  #account .account-panel { padding: 24px; }
  #account .account-columns { grid-template-columns: 1fr; gap: 12px; }
  #account .account-columns article { padding: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .game-body[aria-busy=true]:empty { animation: none; }
  .club-home-route,.game-body[aria-busy=true],#cards .directory-grid[aria-busy=true] { transition: none; }
}
