/*
 * Club UI - design system of the club platform
 *
 * Tokens and components only, every name prefixed (--club-*, .club-*), so the file can
 * sit next to delta's own CSS without restyling anything by accident. Delta's markup is
 * mapped onto these components separately, page by page.
 *
 * The brand colour is a theme setting, not a constant: on the live site
 * functions_child.php prints --club-brand from delta's "color" option, and every
 * brand-derived tone below follows it through color-mix(). A club for another trade
 * changes one setting, not this file.
 */

:root {
  /* BRAND
     Defaults are the club's sapphire. The four tones after the mixes depend on how light
     the brand is, which CSS cannot measure, so functions_child.php recomputes them from
     the theme setting: white or dark text on the brand, a hover that moves away from
     that text, and darker / lighter cuts that still read as text on white / on dark. */
  --club-brand: #2f5ea8;
  --club-brand-soft: color-mix(in srgb, var(--club-brand) 7%, #fff);
  --club-brand-tint: color-mix(in srgb, var(--club-brand) 14%, #fff);
  --club-brand-line: color-mix(in srgb, var(--club-brand) 38%, #fff);
  --club-on-brand: #fff;
  --club-brand-hover: color-mix(in srgb, var(--club-brand) 84%, #000);
  --club-brand-text: var(--club-brand);
  --club-brand-on-dark: color-mix(in srgb, var(--club-brand) 70%, #fff);

  /* NEUTRALS */
  --club-ink: #15171b;
  --club-text: #1b1e23;
  --club-text-muted: #5e646c;
  --club-text-subtle: #8c929a;
  --club-bg: #f4f5f7;
  --club-surface: #fff;
  --club-surface-2: #f8f9fa;
  --club-surface-3: #eef0f3;
  --club-line: #e6e8ec;
  --club-line-strong: #cdd2d9;
  --club-overlay: rgba(13, 15, 18, .56);

  /* DARK SURFACES (footer, hero) */
  --club-dark: #121417;
  --club-dark-2: #1b1e23;
  --club-dark-text: #c6cbd2;
  --club-dark-muted: #8b919a;
  --club-dark-line: rgba(255, 255, 255, .09);

  /* STATUS */
  --club-success: #2f8f5b;
  --club-success-soft: #e9f6ee;
  --club-success-text: #1d6a40;
  --club-danger: #cc3a44;
  --club-danger-soft: #fcedee;
  --club-danger-text: #a3252e;
  --club-warning: #c58612;
  --club-warning-soft: #fdf4e1;
  --club-warning-text: #7f5400;
  --club-info: #3a6db5;
  --club-info-soft: #eaf1fb;
  --club-info-text: #275290;

  /* TYPE
     One family throughout. Delta loads Poppins up to 600, so headings stop there rather
     than letting the browser fake a bold. */
  --club-font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --club-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --club-display-weight: 600;
  --club-display-tracking: -.02em;
  --club-fs-xs: 12px;
  --club-fs-sm: 13px;
  --club-fs-base: 14px;
  --club-fs-md: 16px;
  --club-fs-lg: 18px;
  --club-fs-xl: 22px;
  --club-fs-2xl: 28px;
  --club-fs-3xl: 36px;
  --club-fs-4xl: 46px;

  /* SHAPE */
  --club-r-xs: 6px;
  --club-r-sm: 8px;
  --club-r-md: 12px;
  --club-r-lg: 16px;
  --club-r-xl: 22px;
  --club-r-pill: 999px;
  --club-shadow-1: 0 1px 2px rgba(16, 18, 22, .05);
  --club-shadow-2: 0 1px 2px rgba(16, 18, 22, .04), 0 10px 28px -16px rgba(16, 18, 22, .22);
  --club-shadow-3: 0 2px 4px rgba(16, 18, 22, .04), 0 22px 44px -22px rgba(16, 18, 22, .38);
  --club-shadow-brand: 0 14px 30px -16px var(--club-brand);

  /* MOTION */
  --club-ease: cubic-bezier(.2, .7, .2, 1);
  --club-dur-1: .15s;
  --club-dur-2: .25s;
  --club-dur-3: .5s;
}


/* GROUND RULES
   Delta's reset turns h1-h6, p, ol and ul into full-width inline blocks, and floats
   every button left. Inside the design system they behave as usual again. The
   selectors weigh no more than delta's (element level), so any .club-* class still
   decides the layout of the element it is on. */

:where([class^="club-"], [class*=" club-"]) :is(h1, h2, h3, h4, h5, h6, p, ol, ul) { display: block; width: auto; }


/* TYPOGRAPHY */

.club-display, .club-h1, .club-h2, .club-h3 { display: block; width: auto; font-family: var(--club-font-display); color: var(--club-text); font-weight: var(--club-display-weight); margin: 0; text-wrap: balance; }
.club-display { font-size: var(--club-fs-4xl); line-height: 1.1; letter-spacing: var(--club-display-tracking); }
.club-h1 { font-size: var(--club-fs-3xl); line-height: 1.18; letter-spacing: var(--club-display-tracking); }
.club-h2 { font-size: var(--club-fs-2xl); line-height: 1.22; letter-spacing: -.01em; }
.club-h3 { font-size: var(--club-fs-xl); line-height: 1.28; letter-spacing: -.005em; }
.club-h4 { display: block; width: auto; margin: 0; font: 600 var(--club-fs-md)/1.35 var(--club-font-body); color: var(--club-text); }
.club-eyebrow { display: inline-block; width: auto; font: 600 var(--club-fs-xs)/1 var(--club-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--club-brand-text); }
.club-lead { display: block; width: auto; font: 400 var(--club-fs-md)/1.6 var(--club-font-body); color: var(--club-text-muted); margin: 0; }
.club-text { display: block; width: auto; font: 400 var(--club-fs-base)/1.65 var(--club-font-body); color: var(--club-text); margin: 0; }
.club-muted { color: var(--club-text-muted); }
.club-small { font-size: var(--club-fs-sm); line-height: 1.5; }
.club-num { font-variant-numeric: tabular-nums; }
.club-link { color: var(--club-brand-text); text-decoration: underline; text-decoration-color: var(--club-brand-line); text-underline-offset: 3px; transition: color var(--club-dur-2), text-decoration-color var(--club-dur-2); }
.club-link:hover { color: var(--club-text); text-decoration-color: currentColor; }


/* BUTTONS */

.club-btn {
  --btn-bg: var(--club-surface);
  --btn-fg: var(--club-text);
  --btn-bd: var(--club-line-strong);
  display: inline-flex;
  float: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--club-r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 var(--club-fs-base)/1 var(--club-font-body);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--club-dur-2), border-color var(--club-dur-2), color var(--club-dur-2), box-shadow var(--club-dur-2), transform var(--club-dur-1);
}

.club-btn:hover { text-decoration: none; color: var(--btn-fg); opacity: 1; }
.club-btn:active { transform: translateY(1px); }
.club-btn:focus-visible { outline: 2px solid var(--club-brand-text); outline-offset: 2px; }
.club-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.club-btn .club-btn__arrow { transition: transform var(--club-dur-2) var(--club-ease); }
.club-btn:hover .club-btn__arrow { transform: translateX(3px); }

.club-btn--primary { --btn-bg: var(--club-ink); --btn-fg: #fff; --btn-bd: var(--club-ink); }
.club-btn--primary:hover { --btn-bg: #000; --btn-bd: #000; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }

/* Text colour comes from --club-on-brand: white on sapphire (~6.4:1), dark on a light
   brand such as gold, where white would sink to ~2.7:1. */
.club-btn--brand { --btn-bg: var(--club-brand); --btn-fg: var(--club-on-brand); --btn-bd: var(--club-brand); font-weight: 600; }
.club-btn--brand:hover { --btn-bg: var(--club-brand-hover); --btn-bd: var(--club-brand-hover); box-shadow: var(--club-shadow-brand); }

.club-btn--secondary:hover { --btn-bd: var(--club-text-muted); box-shadow: var(--club-shadow-1); }

.club-btn--ghost { --btn-bg: transparent; --btn-bd: transparent; }
.club-btn--ghost:hover { --btn-bg: var(--club-surface-3); }

.club-btn--danger { --btn-bg: var(--club-danger); --btn-fg: #fff; --btn-bd: var(--club-danger); }
.club-btn--danger:hover { --btn-bg: var(--club-danger-text); --btn-bd: var(--club-danger-text); }

.club-btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--club-brand-text); height: auto; padding: 0; text-decoration: underline; text-decoration-color: var(--club-brand-line); text-underline-offset: 3px; }
.club-btn--link:hover { --btn-fg: var(--club-text); text-decoration-color: currentColor; }

.club-btn--sm { height: 36px; padding: 0 14px; font-size: var(--club-fs-sm); border-radius: var(--club-r-sm); }
.club-btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.club-btn--block { width: 100%; }
.club-btn--icon { width: 44px; padding: 0; }
.club-btn--icon.club-btn--sm { width: 36px; }

.club-btn[disabled], .club-btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; box-shadow: none; }

.club-btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.club-btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--btn-fg); border-right-color: transparent; animation: club-spin .7s linear infinite; }
@keyframes club-spin { to { transform: rotate(360deg); } }


/* FORM FIELDS */

.club-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.club-label { font: 500 var(--club-fs-sm)/1.3 var(--club-font-body); color: var(--club-text); }
.club-label .club-req { color: var(--club-danger); margin-left: 2px; }
.club-hint { font: 400 var(--club-fs-xs)/1.45 var(--club-font-body); color: var(--club-text-muted); }
.club-error { display: flex; align-items: center; gap: 6px; font: 500 var(--club-fs-xs)/1.45 var(--club-font-body); color: var(--club-danger-text); }
.club-error svg { width: 14px; height: 14px; flex: 0 0 14px; }

.club-input, .club-select, .club-textarea {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--club-line-strong);
  border-radius: var(--club-r-md);
  background-color: var(--club-surface);
  color: var(--club-text);
  font: 400 var(--club-fs-base)/1.4 var(--club-font-body);
  appearance: none;
  box-shadow: none;
  transition: border-color var(--club-dur-2), box-shadow var(--club-dur-2), background-color var(--club-dur-2);
}

.club-input::placeholder, .club-textarea::placeholder { color: var(--club-text-subtle); opacity: 1; }
.club-input:hover, .club-select:hover, .club-textarea:hover { border-color: color-mix(in srgb, var(--club-line-strong) 55%, var(--club-text-muted)); }
.club-input:focus, .club-select:focus, .club-textarea:focus { outline: none; border-color: var(--club-brand); box-shadow: 0 0 0 4px var(--club-brand-tint); }
.club-input:disabled, .club-select:disabled, .club-textarea:disabled { background-color: var(--club-surface-2); color: var(--club-text-subtle); cursor: not-allowed; }
.club-field.is-invalid .club-input, .club-field.is-invalid .club-select, .club-field.is-invalid .club-textarea, .club-input[aria-invalid="true"] { border-color: var(--club-danger); box-shadow: 0 0 0 4px var(--club-danger-soft); }
.club-textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.6; resize: vertical; }

.club-select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235e646c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* A control with a leading icon, or a trailing action such as "show password" */
.club-control { position: relative; }
.club-control > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--club-text-subtle); pointer-events: none; }
.club-control > .club-input { padding-left: 42px; }
.club-control > .club-control__end { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.club-input-group { display: flex; }
.club-input-group > * { border-radius: 0; }
.club-input-group > :first-child { border-radius: var(--club-r-md) 0 0 var(--club-r-md); }
.club-input-group > :last-child { border-radius: 0 var(--club-r-md) var(--club-r-md) 0; }
.club-input-group > * + * { margin-left: -1px; }
.club-input-group > .club-select { flex: 0 0 auto; width: auto; background-color: var(--club-surface-2); }
.club-input-group > :focus { position: relative; z-index: 1; }

/* Checkbox and radio */
.club-check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font: 400 var(--club-fs-base)/1.45 var(--club-font-body); color: var(--club-text); }
.club-check input {
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--club-line-strong);
  border-radius: 6px;
  background: var(--club-surface) center / 12px 12px no-repeat;
  cursor: pointer;
  transition: background-color var(--club-dur-1), border-color var(--club-dur-1), box-shadow var(--club-dur-1);
}
.club-check input:hover { border-color: var(--club-text-muted); }
.club-check input:checked { background-color: var(--club-ink); border-color: var(--club-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.club-check input[type="radio"] { border-radius: 50%; }
.club-check input[type="radio"]:checked { background-image: radial-gradient(circle, #fff 0 3.5px, transparent 4px); }
.club-check input:focus-visible { outline: 2px solid var(--club-brand-text); outline-offset: 2px; }
.club-check small { display: block; color: var(--club-text-muted); font-size: var(--club-fs-xs); }

/* Switch */
.club-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font: 400 var(--club-fs-base)/1.4 var(--club-font-body); color: var(--club-text); }
.club-switch input { appearance: none; position: relative; flex: 0 0 42px; width: 42px; height: 24px; margin: 0; border-radius: var(--club-r-pill); background: var(--club-line-strong); cursor: pointer; transition: background var(--club-dur-2); }
.club-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--club-dur-2) var(--club-ease); }
.club-switch input:checked { background: var(--club-ink); }
.club-switch input:checked::after { transform: translateX(18px); }
.club-switch input:focus-visible { outline: 2px solid var(--club-brand-text); outline-offset: 2px; }

/* Segmented control - two or three ways of looking at the same thing */
.club-segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: var(--club-r-pill); background: var(--club-surface-3); border: 1px solid var(--club-line); }
.club-segmented button { appearance: none; margin: 0; border: 0; background: none; padding: 9px 18px; border-radius: var(--club-r-pill); font: 500 var(--club-fs-base)/1 var(--club-font-body); color: var(--club-text-muted); white-space: nowrap; cursor: pointer; transition: color var(--club-dur-2), background var(--club-dur-2), box-shadow var(--club-dur-2); }
.club-segmented button:hover { color: var(--club-text); }
.club-segmented button[aria-pressed="true"] { background: var(--club-surface); color: var(--club-text); box-shadow: 0 1px 2px rgba(16, 18, 22, .08), 0 4px 12px -4px rgba(16, 18, 22, .2); }
.club-segmented button:focus-visible { outline: 2px solid var(--club-brand-text); outline-offset: 2px; }

/* Search bar: query, category, place, go */
.club-searchbar { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch; padding: 8px; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-lg); box-shadow: var(--club-shadow-2); }
.club-searchbar__cell { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 16px; border-right: 1px solid var(--club-line); }
.club-searchbar__cell:nth-last-child(2) { border-right: 0; }
.club-searchbar__cell svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--club-text-subtle); }
.club-searchbar__cell label { display: block; font: 600 11px/1 var(--club-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--club-text-muted); margin-bottom: 5px; }
.club-searchbar__cell input, .club-searchbar__cell select { display: block; width: 100%; padding: 0; border: 0; background: none; font: 500 var(--club-fs-base)/1.3 var(--club-font-body); color: var(--club-text); appearance: none; outline: none; text-overflow: ellipsis; }
.club-searchbar__cell input::placeholder { color: var(--club-text-subtle); }
.club-searchbar__cell:focus-within label { color: var(--club-brand-text); }
.club-searchbar .club-btn { height: auto; min-height: 52px; padding: 0 26px; }


/* BADGES, CHIPS, RATING, AVATARS */

.club-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--club-r-pill); border: 1px solid transparent; background: var(--club-surface-3); color: var(--club-text-muted); font: 600 11px/1 var(--club-font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.club-badge--brand { background: var(--club-brand-tint); color: var(--club-brand-text); }
.club-badge--solid { background: var(--club-ink); color: #fff; }
.club-badge--gold { background: var(--club-brand); color: var(--club-on-brand); }
.club-badge--outline { background: transparent; border-color: var(--club-line-strong); }
/* On top of a photo */
.club-badge--light { background: rgba(255, 255, 255, .92); color: var(--club-text); box-shadow: 0 1px 2px rgba(16, 18, 22, .12); }
.club-badge--success { background: var(--club-success-soft); color: var(--club-success-text); }
.club-badge--danger { background: var(--club-danger-soft); color: var(--club-danger-text); }
.club-badge--warning { background: var(--club-warning-soft); color: var(--club-warning-text); }
.club-badge--info { background: var(--club-info-soft); color: var(--club-info-text); }
.club-badge--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.club-badge--live::before { animation: club-pulse 2s ease-out infinite; }
@keyframes club-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }

.club-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--club-r-pill); background: var(--club-brand); color: var(--club-on-brand); font: 600 11px/1 var(--club-font-body); font-variant-numeric: tabular-nums; }

.club-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--club-line-strong); border-radius: var(--club-r-pill); background: var(--club-surface); color: var(--club-text); font: 500 var(--club-fs-sm)/1 var(--club-font-body); white-space: nowrap; cursor: pointer; transition: border-color var(--club-dur-2), background var(--club-dur-2), color var(--club-dur-2); }
.club-chip:hover { border-color: var(--club-text-muted); }
.club-chip.is-active { background: var(--club-ink); border-color: var(--club-ink); color: #fff; }
.club-chip svg { width: 14px; height: 14px; }
.club-chip .club-chip__x { display: inline-flex; margin-right: -4px; padding: 2px; border-radius: 50%; opacity: .7; }
.club-chip .club-chip__x:hover { opacity: 1; background: rgba(255, 255, 255, .16); }

/* Stars: set --value from 0 to 5 */
.club-stars { --value: 0; position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: var(--club-line-strong); white-space: nowrap; }
.club-stars::before { content: "\2605\2605\2605\2605\2605"; }
.club-stars::after { content: "\2605\2605\2605\2605\2605"; position: absolute; inset: 0 auto 0 0; width: calc(var(--value) / 5 * 100%); overflow: hidden; color: var(--club-brand); }
.club-rating { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--club-fs-sm)/1 var(--club-font-body); color: var(--club-text); }
.club-rating span { color: var(--club-text-muted); font-weight: 400; }

.club-avatar { --size: 40px; position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--size); width: var(--size); height: var(--size); border-radius: 50%; background: var(--club-brand-tint); color: var(--club-brand-text); font: 600 calc(var(--size) * .36)/1 var(--club-font-body); letter-spacing: .02em; }
.club-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.club-avatar--sm { --size: 32px; }
.club-avatar--lg { --size: 56px; }
.club-avatar--xl { --size: 80px; }
.club-avatar.is-verified::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: calc(var(--size) * .34); height: calc(var(--size) * .34); min-width: 14px; min-height: 14px; border-radius: 50%; border: 2px solid var(--club-surface); background: var(--club-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2316171a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6.2 2 2 4-4.4'/%3E%3C/svg%3E") center / 70% no-repeat; }


/* NAVIGATION */

/* Underlined tabs, for switching views inside a page */
.club-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--club-line); overflow-x: auto; scrollbar-width: none; }
.club-tabs::-webkit-scrollbar { display: none; }
.club-tabs a, .club-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; border: 0; background: none; color: var(--club-text-muted); font: 500 var(--club-fs-base)/1 var(--club-font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color var(--club-dur-2); }
.club-tabs a:hover, .club-tabs button:hover { color: var(--club-text); text-decoration: none; }
.club-tabs [aria-current="page"], .club-tabs [aria-selected="true"] { color: var(--club-text); }
.club-tabs [aria-current="page"]::after, .club-tabs [aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--club-brand); }

/* Pill navigation, for the account menu */
.club-nav { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--club-line); border-radius: var(--club-r-pill); background: var(--club-surface); overflow-x: auto; scrollbar-width: none; }
.club-nav::-webkit-scrollbar { display: none; }
.club-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--club-r-pill); color: var(--club-text-muted); font: 500 var(--club-fs-sm)/1 var(--club-font-body); text-decoration: none; white-space: nowrap; transition: color var(--club-dur-2), background var(--club-dur-2); }
.club-nav a:hover { color: var(--club-text); background: var(--club-surface-3); text-decoration: none; }
.club-nav a[aria-current="page"] { background: var(--club-ink); color: #fff; }
.club-nav a[aria-current="page"] .club-count { background: var(--club-brand); }

.club-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font: 400 var(--club-fs-sm)/1.4 var(--club-font-body); color: var(--club-text-muted); }
.club-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.club-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--club-text-subtle); border-top: 1.5px solid var(--club-text-subtle); transform: rotate(45deg); margin-right: 2px; }
.club-crumbs a { color: var(--club-text-muted); text-decoration: none; }
.club-crumbs a:hover { color: var(--club-text); }
.club-crumbs [aria-current="page"] { color: var(--club-text); font-weight: 500; }

.club-pages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.club-pages a, .club-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--club-line); border-radius: var(--club-r-md); background: var(--club-surface); color: var(--club-text); font: 500 var(--club-fs-sm)/1 var(--club-font-body); font-variant-numeric: tabular-nums; text-decoration: none; transition: border-color var(--club-dur-2), background var(--club-dur-2); }
.club-pages a:hover { border-color: var(--club-text-muted); text-decoration: none; }
.club-pages [aria-current="page"] { background: var(--club-ink); border-color: var(--club-ink); color: #fff; }
.club-pages .club-pages__gap { border-color: transparent; background: none; color: var(--club-text-subtle); }

/* Bottom bar on phones */
.club-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--club-surface); border-top: 1px solid var(--club-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.club-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; color: var(--club-text-subtle); font: 500 11px/1 var(--club-font-body); text-decoration: none; }
.club-tabbar a svg { width: 22px; height: 22px; }
.club-tabbar a[aria-current="page"] { color: var(--club-text); }
.club-tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -7px; width: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--club-brand); }
.club-tabbar .club-count { position: absolute; top: 0; left: calc(50% + 6px); }


/* SURFACES */

.club-card { position: relative; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-lg); box-shadow: var(--club-shadow-1); padding: 24px; }
.club-card--flush { padding: 0; overflow: hidden; }
.club-card--raised { box-shadow: var(--club-shadow-2); }
.club-card--interactive { transition: transform var(--club-dur-3) var(--club-ease), box-shadow var(--club-dur-2), border-color var(--club-dur-2); }
.club-card--interactive:hover { transform: translateY(-3px); box-shadow: var(--club-shadow-3); border-color: var(--club-brand-line); }
/* Gold hairline frame for the one thing on the page that matters most */
.club-card--featured { border-color: transparent; background: linear-gradient(var(--club-surface), var(--club-surface)) padding-box, linear-gradient(145deg, var(--club-brand) 0%, var(--club-brand-line) 45%, var(--club-brand) 100%) border-box; box-shadow: var(--club-shadow-1), var(--club-shadow-brand); }
.club-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

.club-divider { height: 1px; border: 0; margin: 20px 0; background: var(--club-line); }
.club-divider--dashed { background: none; border-top: 1px dashed var(--club-line-strong); }


/* LISTING CARD */

.club-listing { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-lg); overflow: hidden; transition: transform var(--club-dur-3) var(--club-ease), box-shadow var(--club-dur-2), border-color var(--club-dur-2); }
.club-listing:hover { transform: translateY(-3px); box-shadow: var(--club-shadow-3); border-color: var(--club-brand-line); }
.club-listing__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--club-surface); border-bottom: 1px solid var(--club-line); overflow: hidden; }
.club-listing__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--club-ease); }
/* Product shots on white sit inside the frame instead of filling it, and are never
   enlarged past their own size - a small photo stays sharp rather than blurred */
.club-listing__media--product img { inset: 12%; width: 76%; height: 76%; object-fit: scale-down; }
/* Members' own photos come in every shape: the whole photo is shown, and the space
   around it is filled with a blurred copy of itself instead of white bars.
   Set --img to the photo's url(). */
.club-listing__media--fit { background: var(--club-surface-3); }
.club-listing__media--fit::before { content: ""; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(24px) saturate(1.1); opacity: .55; }
.club-listing__media--fit img { object-fit: contain; }
.club-listing__media--empty { display: flex; align-items: center; justify-content: center; background: var(--club-surface-2); color: var(--club-line-strong); }
.club-listing:hover .club-listing__media img { transform: scale(1.04); }
.club-listing__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.club-listing__fav { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--club-text); box-shadow: var(--club-shadow-1); cursor: pointer; transition: transform var(--club-dur-2) var(--club-ease), color var(--club-dur-2); }
.club-listing__fav svg { width: 18px; height: 18px; }
.club-listing__fav:hover { transform: scale(1.08); }
.club-listing__fav[aria-pressed="true"] { color: var(--club-danger); }
.club-listing__fav[aria-pressed="true"] svg path { fill: currentColor; }
.club-listing__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; }
.club-listing__title { margin: 0; font: 500 var(--club-fs-base)/1.4 var(--club-font-body); color: var(--club-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.club-listing__title a { color: inherit; text-decoration: none; }
.club-listing__title a::after { content: ""; position: absolute; inset: 0; }
.club-listing__desc { display: none; }
.club-listing__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 400 var(--club-fs-xs)/1.4 var(--club-font-body); color: var(--club-text-muted); }
.club-listing__meta span { display: inline-flex; align-items: center; gap: 5px; }
.club-listing__meta svg { width: 13px; height: 13px; color: var(--club-text-subtle); }
.club-listing__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--club-line); font: 500 var(--club-fs-xs)/1.3 var(--club-font-body); color: var(--club-text-muted); }
.club-listing__seller { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.club-listing__seller b { font-weight: 500; color: var(--club-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Above the stretched title link, which makes the whole card clickable */
.club-listing__fav { z-index: 2; }
.club-listing__foot .club-btn { position: relative; z-index: 1; }

.club-listing--row { flex-direction: row; }
.club-listing--row .club-listing__media { flex: 0 0 240px; aspect-ratio: auto; min-height: 180px; border-bottom: 0; border-right: 1px solid var(--club-line); }
.club-listing--row .club-listing__main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.club-listing--row .club-listing__body { padding: 20px 22px 14px; }
.club-listing--row .club-listing__title { font-size: var(--club-fs-md); min-height: 0; }
.club-listing--row .club-listing__desc { margin: 2px 0 0; font: 400 var(--club-fs-sm)/1.55 var(--club-font-body); color: var(--club-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.club-listing--row .club-listing__foot { padding: 12px 22px; }

.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }


/* CATEGORY TILES */

.club-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.club-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-lg); color: var(--club-text); font: 500 var(--club-fs-sm)/1.3 var(--club-font-body); text-align: center; text-decoration: none; transition: transform var(--club-dur-3) var(--club-ease), box-shadow var(--club-dur-2), border-color var(--club-dur-2); }
.club-cat img { width: 52px; height: 52px; object-fit: contain; transition: transform .5s var(--club-ease); }
.club-cat small { display: block; margin-top: 2px; font-weight: 400; font-size: var(--club-fs-xs); color: var(--club-text-subtle); }
.club-cat:hover { transform: translateY(-3px); box-shadow: var(--club-shadow-2); border-color: var(--club-brand-line); color: var(--club-text); text-decoration: none; }
.club-cat:hover img { transform: scale(1.08); }
.club-cat[aria-current="true"] { border-color: var(--club-brand); box-shadow: 0 0 0 3px var(--club-brand-tint); }
/* The "everything" tile: an icon on the brand tint in place of a category picture */
.club-cat__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--club-brand-soft); color: var(--club-brand-text); box-shadow: inset 0 0 0 1px var(--club-brand-tint); transition: transform .5s var(--club-ease); }
.club-cat:hover .club-cat__icon { transform: scale(1.08); }


/* HERO */

/* Dark band with a photo. Brand-coloured text here uses the on-dark cut of the brand. */
.club-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 56px 64px; background: var(--club-dark); color: #fff; }
.club-hero__bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; }
.club-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12, 13, 16, .94) 0%, rgba(12, 13, 16, .78) 42%, rgba(12, 13, 16, .2) 100%); }
.club-hero .club-eyebrow { color: var(--club-brand-on-dark); }
.club-hero .club-display { color: #fff; max-width: 15ch; margin-top: 14px; }
.club-hero .club-lead { color: rgba(255, 255, 255, .74); max-width: 52ch; margin-top: 16px; }
.club-hero .club-searchbar { margin-top: 34px; max-width: 980px; border-color: transparent; }
.club-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font: 400 var(--club-fs-sm)/1.4 var(--club-font-body); color: rgba(255, 255, 255, .72); }
.club-hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.club-hero__facts svg { width: 16px; height: 16px; color: var(--club-brand-on-dark); }


/* PRICE, SELLER, STATS */

.club-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font: var(--club-display-weight) var(--club-fs-xl)/1.1 var(--club-font-display); color: var(--club-text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.club-price small { font: 400 var(--club-fs-xs)/1 var(--club-font-body); color: var(--club-text-muted); letter-spacing: 0; }
.club-price--lg { font-size: var(--club-fs-3xl); }
.club-price--muted { font-family: var(--club-font-body); font-weight: 500; font-size: var(--club-fs-md); color: var(--club-text-muted); }

.club-seller { display: flex; align-items: center; gap: 14px; }
.club-seller__name { margin: 0; font: 600 var(--club-fs-md)/1.3 var(--club-font-body); color: var(--club-text); }
.club-seller__meta { margin: 4px 0 0; font: 400 var(--club-fs-xs)/1.45 var(--club-font-body); color: var(--club-text-muted); }

.club-stat { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-lg); }
.club-stat__label { font: 500 var(--club-fs-xs)/1.2 var(--club-font-body); letter-spacing: .04em; color: var(--club-text-muted); }
.club-stat__value { font: var(--club-display-weight) var(--club-fs-2xl)/1 var(--club-font-display); color: var(--club-text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.club-stat__delta { font: 600 var(--club-fs-xs)/1 var(--club-font-body); color: var(--club-success-text); }
.club-stat__delta.is-down { color: var(--club-danger-text); }
.club-stat svg { width: 100%; height: 34px; color: var(--club-brand); }

/* Key-value list, e.g. listing attributes */
.club-specs { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0; font: 400 var(--club-fs-base)/1.4 var(--club-font-body); }
.club-specs dt { color: var(--club-text-muted); }
.club-specs dd { margin: 0; color: var(--club-text); font-weight: 500; }


/* FEEDBACK */

.club-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--club-line); border-radius: var(--club-r-md); background: var(--club-surface); color: var(--club-text); font: 400 var(--club-fs-base)/1.5 var(--club-font-body); }
.club-alert > svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; }
.club-alert strong { font-weight: 600; }
.club-alert p { margin: 2px 0 0; }
.club-alert--info { background: var(--club-info-soft); border-color: color-mix(in srgb, var(--club-info) 24%, #fff); color: var(--club-info-text); }
.club-alert--success { background: var(--club-success-soft); border-color: color-mix(in srgb, var(--club-success) 24%, #fff); color: var(--club-success-text); }
.club-alert--warning { background: var(--club-warning-soft); border-color: color-mix(in srgb, var(--club-warning) 28%, #fff); color: var(--club-warning-text); }
.club-alert--danger { background: var(--club-danger-soft); border-color: color-mix(in srgb, var(--club-danger) 24%, #fff); color: var(--club-danger-text); }
.club-alert--brand { background: var(--club-brand-soft); border-color: var(--club-brand-line); }
.club-alert--brand > svg { color: var(--club-brand-text); }

/* Toast, the replacement for flash messages */
.club-toast { display: flex; gap: 12px; align-items: flex-start; width: min(380px, 100%); padding: 14px 14px 14px 16px; background: var(--club-surface); border: 1px solid var(--club-line); border-radius: var(--club-r-md); box-shadow: var(--club-shadow-3); font: 400 var(--club-fs-sm)/1.5 var(--club-font-body); color: var(--club-text-muted); }
.club-toast__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; }
.club-toast__icon svg { width: 16px; height: 16px; }
.club-toast--success .club-toast__icon { background: var(--club-success-soft); color: var(--club-success); }
.club-toast--danger .club-toast__icon { background: var(--club-danger-soft); color: var(--club-danger); }
.club-toast--info .club-toast__icon { background: var(--club-info-soft); color: var(--club-info); }
.club-toast--warning .club-toast__icon { background: var(--club-warning-soft); color: var(--club-warning); }
.club-toast strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--club-text); }
.club-toast__close { margin-left: auto; flex: 0 0 auto; display: inline-flex; padding: 4px; border: 0; border-radius: var(--club-r-xs); background: none; color: var(--club-text-subtle); cursor: pointer; }
.club-toast__close:hover { color: var(--club-text); background: var(--club-surface-3); }
.club-toast__close svg { width: 16px; height: 16px; }

.club-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; }
.club-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 6px; border-radius: 50%; background: var(--club-brand-soft); color: var(--club-brand-text); box-shadow: inset 0 0 0 1px var(--club-brand-tint); }
.club-empty__icon svg { width: 30px; height: 30px; }
.club-empty .club-h3 { font-size: var(--club-fs-xl); }
.club-empty p { margin: 0; max-width: 46ch; font: 400 var(--club-fs-base)/1.6 var(--club-font-body); color: var(--club-text-muted); }
.club-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

.club-skeleton { position: relative; overflow: hidden; border-radius: var(--club-r-sm); background: var(--club-surface-3); }
.club-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: club-shimmer 1.4s ease-in-out infinite; }
@keyframes club-shimmer { to { transform: translateX(100%); } }

.club-tip { position: relative; }
.club-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; padding: 7px 10px; border-radius: var(--club-r-sm); background: var(--club-ink); color: #fff; font: 500 var(--club-fs-xs)/1.3 var(--club-font-body); white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity var(--club-dur-2), transform var(--club-dur-2) var(--club-ease); }
.club-tip:hover::after, .club-tip:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }


/* TABLE */

.club-table-wrap { overflow-x: auto; border: 1px solid var(--club-line); border-radius: var(--club-r-lg); background: var(--club-surface); }
.club-table { width: 100%; border-collapse: collapse; font: 400 var(--club-fs-base)/1.4 var(--club-font-body); color: var(--club-text); }
.club-table th { padding: 12px 18px; background: var(--club-surface-2); border-bottom: 1px solid var(--club-line); font: 600 11px/1.2 var(--club-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--club-text-muted); text-align: left; white-space: nowrap; }
.club-table td { padding: 15px 18px; border-bottom: 1px solid var(--club-line); vertical-align: middle; }
.club-table tr:last-child td { border-bottom: 0; }
.club-table tbody tr { transition: background var(--club-dur-1); }
.club-table tbody tr:hover { background: var(--club-surface-2); }
.club-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }


/* DIALOG */

.club-modal { width: min(520px, 100%); background: var(--club-surface); border-radius: var(--club-r-xl); box-shadow: 0 30px 70px -20px rgba(10, 12, 15, .45); overflow: hidden; }
.club-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 0; }
.club-modal__body { padding: 14px 24px 22px; }
.club-modal__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 16px 24px; background: var(--club-surface-2); border-top: 1px solid var(--club-line); }


/* HEADER AND FOOTER */

.club-header { display: flex; align-items: center; gap: 28px; height: 76px; padding: 0 28px; background: var(--club-surface); border-bottom: 1px solid var(--club-line); }
.club-header__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.club-header__logo img { display: block; height: 40px; width: auto; }
.club-header__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.club-header__nav > a:not(.club-btn) { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--club-r-md); color: var(--club-text-muted); font: 500 var(--club-fs-base)/1 var(--club-font-body); text-decoration: none; transition: color var(--club-dur-2), background var(--club-dur-2); }
.club-header__nav > a:not(.club-btn):hover { color: var(--club-text); background: var(--club-surface-3); }
.club-header__nav > a[aria-current="page"] { color: var(--club-text); }
.club-header__nav svg { width: 18px; height: 18px; }
.club-header__nav .club-btn { margin-left: 10px; }

.club-footer { background: var(--club-dark); color: var(--club-dark-text); font: 400 var(--club-fs-sm)/1.6 var(--club-font-body); }
.club-footer__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 56px 40px 40px; }
.club-footer__brand p { margin: 14px 0 0; color: var(--club-dark-muted); max-width: 32ch; }
.club-footer__wordmark { display: inline-block; font: var(--club-display-weight) 22px/1 var(--club-font-display); color: #fff; letter-spacing: -.01em; text-decoration: none; }
.club-footer__wordmark b { color: var(--club-brand-on-dark); font-weight: inherit; }
.club-footer h4 { margin: 0 0 14px; font: 600 11px/1 var(--club-font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.club-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.club-footer a { color: var(--club-dark-text); text-decoration: none; transition: color var(--club-dur-2), background var(--club-dur-2); }
.club-footer a:hover { color: var(--club-brand-on-dark); text-decoration: none; }
.club-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.club-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--club-dark-text); font-size: 15px; }
.club-footer__social a:hover { background: var(--club-brand); color: var(--club-on-brand); }
.club-footer__social svg { width: 15px; height: 15px; fill: currentColor; }
.club-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 40px; border-top: 1px solid var(--club-dark-line); color: var(--club-dark-muted); font-size: var(--club-fs-xs); }


/* MOTION */

/* Entrance: blocks rise in reading order; set --d for the delay */
.club-rise { opacity: 0; transform: translateY(14px); animation: club-rise .6s var(--club-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes club-rise { to { opacity: 1; transform: none; } }


/* SMALL SCREENS */

@media (max-width: 760px) {
  .club-display { font-size: 34px; }
  .club-h1 { font-size: 28px; }
  .club-h2 { font-size: 24px; }
  .club-searchbar { grid-template-columns: 1fr; padding: 6px; }
  .club-searchbar__cell { padding: 12px 12px; border-right: 0; border-bottom: 1px solid var(--club-line); }
  .club-searchbar__cell:nth-last-child(2) { border-bottom: 0; }
  .club-searchbar .club-btn { min-height: 48px; margin-top: 6px; }
  .club-table th, .club-table td { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
  .club-listing--row { flex-direction: column; }
  .club-listing--row .club-listing__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; border-right: 0; border-bottom: 1px solid var(--club-line); }
  .club-hero { padding: 48px 20px 40px; }
  .club-hero::before { background: linear-gradient(180deg, rgba(12, 13, 16, .9) 0%, rgba(12, 13, 16, .82) 60%, rgba(12, 13, 16, .7) 100%); }
  .club-cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .club-header { gap: 12px; height: 64px; padding: 0 16px; }
  .club-header__logo img { height: 32px; }
  /* On phones navigation lives in the bottom bar; the header keeps logo and "post" */
  .club-header__nav > a:not(.club-btn) { display: none; }
  .club-header__nav .club-btn { height: 38px; padding: 0 14px; font-size: var(--club-fs-sm); }
  .club-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 20px 28px; }
  .club-footer__brand { grid-column: 1 / -1; }
  .club-footer__bottom { padding: 16px 20px; }
  .club-card:hover, .club-listing:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .club-rise { opacity: 1; transform: none; animation: none; }
  [class*="club-"], [class*="club-"]::before, [class*="club-"]::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
