/* Bruin Clubs. Ink type on white, UCLA blue (#2774AE, text #005587, navy #003B5C) for anything you can act
   on, gold (#FFD100) only where it means something: new, happening now, the mark. Barlow for text,
   Barlow Semi Condensed for headings, Barlow Condensed for the display and big numbers, Geist Mono for data.
   Spacing is a 4px grid (4 8 12 16 20 24 32 40 48 64 80); radii are 4 (tags), 6 (controls), 12 (panels). */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/static/fonts/barlow-400.7a686e7631.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/static/fonts/barlow-500.80e7dc5605.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/static/fonts/barlow-600.488b580981.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-700.98aa8b5c25.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("/static/fonts/barlow-semi-600.6850e108c9.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-semi-700.bc8aadf929.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/static/fonts/barlow-condensed-600.5bc49d41f3.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-700.e3e520cb74.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400 600; font-display: swap; src: url("/static/fonts/geist-mono-400-600.5f3d6ad60f.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --blue: #2774ae;
  --blue-d: #005587;
  --blue-dd: #003b5c;
  --blue-l: #8bb8e8;
  --blue-ll: #d4e6fa;
  --gold: #ffd100;
  --gold-d: #ffb81c;
  --link: #005587;
  --ink: #0f1a24;
  --ink-2: #364351;
  --muted: #58636f;
  --line: #e3e7ec;
  --line-2: #cdd4dc;
  --field: #858e98; /* form-control borders: 3:1 against the page (WCAG 1.4.11) */
  --focus: var(--blue);
  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --bg-3: #eaeef2;
  --wash: #eef5fc;
  --hero: #003b5c;
  --hero-2: #00304b;
  --now-bg: #fff2b8;
  --now-ink: #4d3c00;
  --good: #1a7f37;
  --good-bg: #edf8f0;
  --bad: #b42318;
  --bad-bg: #fdf0ee;
  --danger: #b42318;
  --danger-hover: #912018;
  --heart: #d92d5b;
  --series: #2774ae;
  --series-hover: #005587;
  --shadow: 0 1px 2px rgb(15 26 36 / 6%), 0 12px 32px rgb(15 26 36 / 12%);
  --radius-s: 4px;
  --radius: 6px;
  --radius-l: 12px;
  --font: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-semi: "Barlow Semi Condensed", "Barlow", "Arial Narrow", sans-serif;
  --font-cond: "Barlow Condensed", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: 32px;
  /* Motion, after anthropic.com: ease-out-quart for things arriving, a symmetric curve for things moving. */
  --ease-out: cubic-bezier(.165, .84, .44, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --link: #8fc0ee;
    --ink: #eef2f6;
    --ink-2: #c4ccd5;
    --muted: #98a3af;
    --line: #232b34;
    --line-2: #35414d;
    --field: #67737f;
    --focus: #8fc0ee;
    --bg: #0b0e12;
    --bg-2: #11161c;
    --bg-3: #19212a;
    --wash: #0f1c29;
    --hero: #0b2336;
    --hero-2: #081b2a;
    --now-bg: #3a3000;
    --now-ink: #ffdf6e;
    --good: #5cc17a;
    --good-bg: #0f2216;
    --bad: #ff8a7a;
    --bad-bg: #2a1210;
    --danger: #d0392b;
    --danger-hover: #b42318;
    --heart: #ff6b8e;
    --series: #4a8fcc;
    --series-hover: #8fc0ee;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 40px rgb(0 0 0 / 50%);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: break-word;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-semi); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.06; }
h2 { font-size: clamp(24px, 2.4vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; } /* Barlow 600 is already loaded for UI text; 700 stays for headings in the condensed cuts */
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: var(--font-mono); font-size: .86em; }
kbd { font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 0 5px; line-height: 18px; color: var(--muted); background: var(--bg); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero { --focus: var(--gold); }
.hero-search { --focus: var(--blue); }
::selection { background: var(--gold); color: #0f1a24; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; }
.i.inline { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.muted { color: var(--muted); }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
/* Controls that need JavaScript stay out of the way until app.js has run. */
html:not(.js) .pw-toggle, html:not(.js) .copy, html:not(.js) [data-js-only] { display: none; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-dark { background: var(--blue-dd); color: #fff; }
.btn-dark:hover { background: var(--blue-d); }
.btn-gold { background: var(--gold); color: #0f1a24; }
.btn-gold:hover { background: var(--gold-d); }
.btn-outline { border-color: var(--field); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); }
.link { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.link:hover { text-decoration-thickness: 2px; }
@media screen and (prefers-color-scheme: dark) {
  .btn-dark { background: #1f5f8f; }
  .btn-dark:hover { background: var(--blue); }
}
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--radius); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--bg-2); }
.count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--blue); color: #fff; font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums;
}
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.more .i { width: 18px; height: 18px; }

/* ---------- header: one row on wide screens, the section links on a second, scrolling row on phones ---------- */
.hdr { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.hdr-row { display: flex; align-items: center; gap: 4px; min-height: 64px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: 16px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; }
.brand-name { font: 700 21px/1 var(--font-semi); letter-spacing: -.01em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 2px; min-width: 0; flex: 1; }
.main-nav > a, .main-nav summary {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border-radius: var(--radius);
  color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.main-nav > a:hover, .main-nav summary:hover, .main-nav details[open] summary { color: var(--ink); background: var(--bg-2); }
.main-nav > a[aria-current] { color: var(--ink); background: var(--bg-3); }
.chev { width: 16px; height: 16px; }
details[open] > summary .chev { transform: rotate(180deg); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; width: 216px; height: 40px; padding: 0 8px 0 12px; margin: 0 8px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); color: var(--muted); cursor: pointer; font-size: 15px; text-decoration: none;
}
.search-trigger:hover { border-color: var(--field); color: var(--ink); }
.search-trigger span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util { display: flex; align-items: center; gap: 4px; flex: none; }
.util-link, .util-saved { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--radius); color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.util-link:hover, .util-saved:hover { color: var(--ink); background: var(--bg-2); }
.util-saved[aria-current] { color: var(--ink); background: var(--bg-3); }
.util-saved .i { width: 18px; height: 18px; }
.util-cta { margin-left: 4px; }
.menu { position: relative; }
.menu > summary { cursor: pointer; }
.acct > summary { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 22px; font-weight: 600; font-size: 15px; color: var(--ink); }
.acct > summary:hover { background: var(--bg-2); }
.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-dd); color: #fff; font: 600 15px/1 var(--font); }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 6px; z-index: 30;
}
.menu-pop a, .menu-pop button { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 0 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 15px; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-2); }
.menu-pop form { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.menu-who { margin: 0 0 6px; padding: 8px 12px 10px; border-bottom: 1px solid var(--line); display: grid; }
.menu-who span { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.areas .menu-pop { left: 0; right: auto; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: min(720px, 90vw); }
.menu-grid a { justify-content: space-between; gap: 12px; }
.menu-grid small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.show-sm { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--hero); color: #fff; position: relative; } /* no overflow clipping: the search suggestions hang below it */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.display {
  font-family: var(--font-cond); font-weight: 700; font-size: clamp(48px, 6.4vw, 88px);
  line-height: .94; letter-spacing: -.015em; margin: 0 0 24px; color: #fff; text-wrap: wrap;
}
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; max-width: 58ch; color: var(--ink-2); text-wrap: pretty; }
.hero .lede { color: rgb(255 255 255 / 84%); margin-bottom: 32px; }
.hero-search { position: relative; display: flex; align-items: center; max-width: 640px; background: #fff; border-radius: var(--radius); padding: 6px 6px 6px 16px; box-shadow: 0 12px 40px rgb(0 0 0 / 22%); }
.hero-search > .i { color: #58636f; }
.hero-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; padding: 0 12px; font-size: 18px; color: #0f1a24; background: transparent; }
.hero-search input::placeholder { color: #69737e; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--gold), 0 12px 40px rgb(0 0 0 / 22%); }
.hero-search .btn { min-height: 48px; padding: 0 24px; font-size: 17px; }
.hero-search-light { border: 1px solid var(--field); box-shadow: none; margin: 32px 0; max-width: 100%; }
.hero-search-light:focus-within { box-shadow: 0 0 0 3px var(--blue-ll); border-color: var(--blue); }
@media screen and (prefers-color-scheme: dark) { .hero-search-light { background: var(--bg-2); } .hero-search-light input { color: var(--ink); } .hero-search-light > .i { color: var(--muted); } .hero-search-light:focus-within { box-shadow: 0 0 0 3px rgb(39 116 174 / 45%); } }
.hero-index-head { margin: 0 0 10px; color: #fff; font: 700 19px/1.2 var(--font-semi); letter-spacing: 0; }
.hero-index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(255 255 255 / 12%); }
.hero-index li { border-bottom: 1px solid rgb(255 255 255 / 12%); }
.hero-index a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 8px; margin: 0 -8px; border-radius: var(--radius); color: #fff; text-decoration: none; font-size: 16px; }
.hero-index a:hover { background: rgb(255 255 255 / 7%); }
.hero-index a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.hero-index .n { font-size: 15px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 72%); }

/* suggestion dropdowns */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(480px, 60vh); overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); z-index: 40; text-align: left; }
.suggest li a, .palette-list li a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.suggest li a small, .palette-list li a small { color: var(--muted); font-size: 13px; }
.suggest [aria-selected="true"], .palette-list [aria-selected="true"] { background: var(--wash); box-shadow: inset 3px 0 0 var(--blue); }
.suggest a:hover, .palette-list a:hover { background: var(--bg-2); }
.suggest-all a, .palette-list .suggest-all a { flex-direction: row; align-items: center; gap: 8px; color: var(--link); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section + .section:not(.section-alt) { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt + .section { border-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-sub { color: var(--muted); margin: 8px 0 0; max-width: 60ch; }
.kicker { font: 500 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.split .section-sub { margin-bottom: 24px; }

/* area index */
.areas-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.areas-grid li { border-bottom: 1px solid var(--line); }
.areas-grid li:nth-child(3n+2), .areas-grid li:nth-child(3n+3) { border-left: 1px solid var(--line); }
.area { display: block; padding: 20px 24px 22px; text-decoration: none; color: var(--ink); height: 100%; }
.areas-grid li:nth-child(3n+1) .area { padding-left: 0; }
.area:hover { background: var(--bg-2); }
.areas-grid li:nth-child(3n+1) .area:hover { background: linear-gradient(90deg, var(--bg), var(--bg-2) 24px); }
.area-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.area-name { font: 700 20px/1.2 var(--font-semi); color: var(--ink); }
.area:hover .area-name { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.area-count { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--muted); }

/* tiles: clubs in a ruled grid (popular, similar), set like the lists rather than boxed */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* six similar clubs: two full rows (the narrower layouts below override it) */
.tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tile-name { font: 700 19px/1.2 var(--font-semi); color: var(--ink); }
.tile:hover .tile-name { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tile-desc { font-size: 15px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-area { margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--muted); }

/* split: dates and new clubs */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
.split-one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.split h2 { margin: 0; }
.dates { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.dates a { display: grid; grid-template-columns: 136px minmax(0, 1fr); column-gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.dates a:hover .date-what { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.date-when { grid-row: span 2; font-weight: 600; font-size: 16px; line-height: 1.55; font-variant-numeric: tabular-nums; color: var(--blue-d); }
.date-what { font-weight: 600; font-size: 17px; }
.date-what .tag { margin-left: 6px; }
.date-who { color: var(--muted); font-size: 15px; }
.date-past .date-when, .date-past .date-what { color: var(--muted); }
.date-past .date-what { font-weight: 400; }
@media screen and (prefers-color-scheme: dark) { .date-when { color: var(--gold); } .date-past .date-when { color: var(--muted); } }
.mini-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.mini-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mini-name { font-weight: 600; }
.mini-meta { font-size: 14px; color: var(--muted); text-align: right; flex: none; max-width: 45%; }
.mini-list a:hover .mini-name { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }


/* ---------- page heads, crumbs, tabs ---------- */
.page-head { border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.page-head h1, .club-head h1 { color: var(--ink); }
.page-head h1 { margin-bottom: 8px; }
.page-head .lede { margin: 0; }
.area-intro { margin-top: 20px; max-width: 72ch; }
.area-intro p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 12px; }
.area-intro p a { color: var(--ink); text-decoration-color: var(--line-2); }
.area-intro p a:hover { color: var(--link); text-decoration-color: currentColor; }
.area-intro .area-guide { margin: 4px 0 0; font-size: 16px; color: var(--muted); }
.area-intro .area-guide a { font-weight: 600; color: var(--link); text-decoration-color: currentColor; }
.page-head-tight { padding: 32px 0 0; }
.page-head-tabs { padding-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.crumbs > span:not(:last-child), .crumbs > span:nth-child(2n) { color: var(--line-2); }
.tabs { display: flex; gap: 4px; margin: 24px 0 -1px; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.tabs a:first-child { margin-left: -12px; }
.tabs-scroll { overflow-x: auto; scrollbar-width: none; position: relative; }

/* ---------- directory ---------- */
.nav-clubs .search-trigger { width: 44px; padding: 0; justify-content: center; }
.nav-clubs .search-trigger span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dir { padding-top: 32px; padding-bottom: 80px; display: grid; grid-template-columns: 248px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.dir-form { display: contents; }
.dir-search { grid-column: 1 / -1; }
.dir-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--field); border-radius: var(--radius); padding: 5px 5px 5px 16px; background: var(--bg); margin-bottom: 32px; }
.dir-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 0 4px var(--blue-ll); }
@media screen and (prefers-color-scheme: dark) { .dir-search:focus-within { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus), 0 0 0 4px rgb(39 116 174 / 40%); } }
.dir-search .i { color: var(--muted); }
.dir-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font-size: 18px; padding: 0 6px; }
.dir-search .btn { min-height: 44px; }

.filters { padding-right: 4px; }
/* The panel is a closed <details> in the HTML, so phones get a collapsed "Filters" toggle from the first
   paint (collapsing it from script shifted the whole result list). Wide screens show its content anyway. */
.filters::details-content { content-visibility: visible; }
@supports not selector(::details-content) { .filters > summary { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; font-weight: 600; cursor: pointer; } }
@media (min-width: 861px) and (min-height: 1200px) { .filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; scrollbar-width: thin; } }
.filters > summary { display: none; }
.filters .count { margin-left: 2px; }
.filters fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.filters legend { font: 700 16px/1.2 var(--font-semi); color: var(--ink); padding: 0; margin-bottom: 6px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 8px; margin: 0 -8px; border-radius: var(--radius); cursor: pointer; font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.opt:hover { background: var(--bg-2); color: var(--ink); }
.opt input { margin: 0; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.opt span { flex: 1; }
.opt small { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.opt:has(input:checked) { color: var(--ink); font-weight: 600; }
.filter-actions { display: flex; align-items: center; gap: 16px; }
.js .filter-actions [data-nojs] { display: none; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.results-count { margin: 0; font-size: 16px; color: var(--ink-2); }
.results-count strong { font: 700 26px/1 var(--font-cond); color: var(--ink); margin-right: 2px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select, .admin-filters select { height: 36px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--bg); padding: 0 30px 0 10px; font-size: 15px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip .i { width: 14px; height: 14px; color: var(--muted); }
.chip:hover { border-color: var(--field); }
.chip:hover .i { color: var(--ink); }
.chip-clear { font-size: 14px; align-self: center; margin-left: 4px; font-weight: 600; }
.results { min-width: 0; transition: opacity .15s; }
.results.loading { opacity: .5; }

/* cards: a club in a list (directory, saved, liked, history) */
.cards { list-style: none; margin: 0; padding: 0; }
.card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.card-body { flex: 1; min-width: 0; }
.card-title { font: 700 20px/1.25 var(--font-semi); margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
.card-title .tag { vertical-align: 3px; margin-left: 4px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.card-meta > span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--muted); }
.card-desc { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 72ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc.muted { color: var(--muted); }
.card-acts { display: flex; gap: 2px; flex: none; margin: -10px -10px 0 0; align-items: flex-start; }
.tag { display: inline-block; padding: 1px 7px; border-radius: var(--radius-s); background: var(--bg-3); color: var(--ink-2); font: 600 13px/1.5 var(--font); white-space: nowrap; }
.tag-new { background: var(--gold); color: #0f1a24; }
.tag-now { background: var(--now-bg); color: var(--now-ink); }
.more-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 32px 0 0; }
.empty { padding: 48px 0 56px; }
.empty h2 { font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 56ch; }
.empty-acts, .empty p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0 0; } /* the actions: a button and a link that wrap as a pair */

/* save / like buttons: quiet icons in lists, labelled buttons on a club page */
.toggle { margin: 0; }
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--muted); cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: color .15s, border-color .15s, background-color .15s, transform .1s;
}
.act:hover { background: var(--bg-2); color: var(--ink); }
.act:active { transform: scale(.96); }
.act .i { width: 20px; height: 20px; }
.act-count { font-size: 14px; font-variant-numeric: tabular-nums; }
.act-count:empty { display: none; }
.act-save[aria-pressed="true"] { --fill: currentColor; color: var(--blue); }
@media screen and (prefers-color-scheme: dark) { .act-save[aria-pressed="true"] { color: var(--blue-l); } }
.act-like[aria-pressed="true"] { --fill: currentColor; color: var(--heart); }
.act-big { height: 44px; padding: 0 16px; border-color: var(--line-2); color: var(--ink); background: var(--bg); }
.act-big:hover { border-color: var(--field); background: var(--bg-2); }
.act-save.act-big[aria-pressed="true"] { border-color: var(--blue); background: var(--wash); }
.act-like.act-big[aria-pressed="true"] { border-color: var(--heart); }
@media screen and (prefers-color-scheme: dark) { .act-save.act-big[aria-pressed="true"] { border-color: var(--blue-l); } }
/* On a club page Save is the one boxed action; Like and Share sit beside it unboxed. */
.club-acts .act-like.act-big, .club-acts .act-share { border-color: transparent; background: none; padding: 0 10px; }
.club-acts .act-like.act-big:hover, .club-acts .act-share:hover { background: var(--bg-2); }

/* ---------- club page ---------- */
.club-head { border-bottom: 1px solid var(--line); padding: 32px 0 40px; }
.club-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.club-title { min-width: 0; }
.club-head h1 { margin-bottom: 12px; max-width: 24ch; font-size: clamp(32px, 4.2vw, 50px); }
.club-facts { display: flex; flex-wrap: wrap; margin: 0; font-size: 17px; color: var(--ink-2); }
.club-facts span:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--muted); }
.club-acts { display: flex; gap: 8px; flex: none; }
.club-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.club-main, .club-side, .split > *, .auth-wrap > * { min-width: 0; }
.club-main { grid-column: 1; grid-row: 1; }
.club-side { grid-column: 2; grid-row: 1; }
.join-text, .prose p, .msg, .facts dd { overflow-wrap: anywhere; }
.block { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.block h2 { font-size: 24px; margin-bottom: 12px; }
.block-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.block-head h2 { margin: 0; }
.prose p { font-size: 18px; line-height: 1.65; max-width: 68ch; }
.src { font-size: 14px; color: var(--muted); margin: 0; }
.join-text { font-size: 18px; line-height: 1.6; max-width: 68ch; }
.join .fine { margin: 0; }
.join-links { list-style: none; margin: 20px 0 16px; padding: 0; display: grid; gap: 8px; max-width: 68ch; }
.join-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--link); font-weight: 600; text-decoration: none; }
.join-links a:hover { border-color: var(--link); background: var(--wash); }
.join-links a:hover .jl-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.join-links .i { flex: none; }
.jl-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jl-via { flex: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; }
.facts-wide > div { grid-template-columns: 220px minmax(0, 1fr); }
.prose-page .facts + p { margin-top: 28px; }
.facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 24px 0; }
.facts-grid > div { grid-template-columns: 1fr; gap: 4px; }
.facts-full { grid-column: 1 / -1; }
.small { font-size: 12px; }
.report { font-size: 15px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.report a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.report a:hover { color: var(--link); }
.report .i { width: 16px; height: 16px; }
.club-side { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.contact { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; background: var(--bg); }
.contact h2 { font-size: 20px; margin-bottom: 16px; }
.links { list-style: none; margin: 16px 0 0; padding: 0; }
.links li { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.links a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.links a span { overflow-wrap: break-word; min-width: 0; }
.links a:hover { color: var(--link); }
.links a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.links .i { color: var(--muted); }
.copy { flex: none; min-height: 32px; border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--radius); font-size: 13px; font-weight: 600; padding: 0 10px; cursor: pointer; color: var(--ink-2); }
.copy:hover { border-color: var(--field); color: var(--ink); }
.contact .fine { margin: 16px 0 0; }

/* ---------- lists, notices ---------- */
.list-page { padding-top: 32px; padding-bottom: 80px; }
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.list-tools p { margin: 0; }
.suggested { margin-top: 64px; }
.suggested h2 { margin-bottom: 4px; }
.suggested > .muted { margin-bottom: 8px; }
.notice { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--wash); border: 1px solid var(--blue-ll); margin: 0 0 24px; font-size: 16px; }
@media screen and (prefers-color-scheme: dark) { .notice { border-color: var(--line-2); } }
.notice p { margin: 0; flex: 1 1 300px; }
.notice-good { background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 35%, transparent); }
.notice-good .i { color: var(--good); }
.notice-bad { background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--bad); }

/* ---------- forms, auth, account ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > span:not(.pw), .field > label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
.field small { font-weight: 400; color: var(--muted); }
.field-link { font-weight: 600; font-size: 14px; justify-self: end; padding: 4px 0; }
.field input, .field select, .field textarea, .admin-q input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--bg); font-size: 17px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .admin-q input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 0 4px var(--blue-ll); }
@media screen and (prefers-color-scheme: dark) { .field input:focus, .field select:focus, .field textarea:focus, .admin-q input:focus { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus), 0 0 0 4px rgb(39 116 174 / 40%); } }
.field [aria-invalid="true"] { border-color: var(--bad); }
.hint { font-size: 14px; color: var(--muted); }
.pw { position: relative; display: block; }
.pw input { padding-right: 72px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 38px; border: 0; border-radius: var(--radius); background: none; color: var(--link); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0 10px; }
.pw-toggle:hover { background: var(--bg-2); }
.officer { border: 0; border-top: 1px solid var(--line); margin: 4px 0 0; padding: 20px 0 0; min-width: 0; display: grid; gap: 16px; }
.officer legend { float: left; width: 100%; padding: 0; font: 700 19px/1.25 var(--font-semi); color: var(--ink); }
.officer legend small { font: 400 14px var(--font); color: var(--muted); margin-left: 6px; }
.officer .hint { margin: -8px 0 0; }
.form-grid { grid-template-columns: 1fr 1fr; }
.form-actions { grid-column: 1 / -1; }
.form-inline { grid-template-columns: 1fr auto; align-items: end; }
.auth-wrap { max-width: calc(880px + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.auth-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px; background: var(--bg); }
.auth-card h1 { font-size: 34px; margin-bottom: 8px; }
.auth-sub { color: var(--muted); margin-bottom: 28px; }
.auth-alt { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.auth-aside { padding-top: 44px; }
.auth-aside p { font-size: 16px; color: var(--ink-2); max-width: 34ch; }
.account, .form-page { padding-top: 32px; padding-bottom: 80px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px 32px 32px; margin-bottom: 16px; background: var(--bg); }
.panel h2 { font-size: 22px; }
.panel > .muted { margin-top: -4px; }
.panel-danger { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.stats { display: grid; margin: 0; }
.stats-light { border: 1px solid var(--line); border-radius: var(--radius-l); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.stats-light > div { border-left: 1px solid var(--line); padding: 0; }
.stats-light > div:first-child { border-left: 0; }
.stats-light dt { font-size: 14px; color: var(--muted); padding: 16px 20px 0; }
.stats-light dd { margin: 0; }
.stats-light dd a { display: block; padding: 4px 20px 16px; font: 700 32px/1 var(--font-cond); color: var(--ink); text-decoration: none; }
.stats-light > div:hover { background: var(--bg-2); }
.stats-light > div:first-child:hover { border-radius: var(--radius-l) 0 0 var(--radius-l); }
.stats-light > div:last-child:hover { border-radius: 0 var(--radius-l) var(--radius-l) 0; }
.stats-light > div { position: relative; }
.stats-light dd a::after { content: ""; position: absolute; inset: 0; } /* the whole cell is the link */
.devices { list-style: none; margin: 0 0 16px; padding: 0; }
.devices li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.devices .muted { flex-basis: 100%; font-size: 14px; }
.prose-page { padding-top: 40px; padding-bottom: 80px; }
.prose-page section { margin-bottom: 48px; }
.prose-page h2 { font-size: 26px; margin-bottom: 12px; }
.prose-page p, .prose-page li { font-size: 18px; line-height: 1.65; max-width: 68ch; }
.bullets { padding-left: 22px; }
.bullets li { margin-bottom: 8px; }
.bullets li::marker { color: var(--muted); }
.error-page { padding: 88px 0 104px; }
.error-page h1 { font-size: clamp(34px, 4.4vw, 52px); }
.error-page .lede { margin-bottom: 8px; }
.error-page .mini-list { margin-top: 24px; }

/* ---------- guides ---------- */
.guide-col { max-width: calc(720px + 2 * var(--gutter)); }
.guide-head { border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.guide-head .crumbs { margin-bottom: 24px; }
.guide-title { font-family: var(--font-cond); font-size: clamp(40px, 5.2vw, 64px); line-height: .98; letter-spacing: -.012em; margin: 0 0 20px; }
.guide-head .lede { margin: 0 0 24px; }
.guide-meta { margin: 0; font-size: 15px; color: var(--muted); }
.guide-prose { padding: 40px 0 24px; }
.guide-prose > p, .guide-prose li, .guide-prose dd { font-size: 18px; line-height: 1.68; }
.guide-prose > p { margin: 0 0 1.1em; text-wrap: pretty; }
.guide-prose h2 { font-size: clamp(25px, 2.5vw, 30px); margin: 56px 0 14px; scroll-margin-top: 24px; }
.guide-prose a { text-underline-offset: 3px; }
.guide-prose .bullets { padding-left: 22px; margin: 0 0 1.2em; }
.guide-prose .bullets li { margin-bottom: 10px; }
.guide-table { margin: 32px 0 36px; }
.guide-table table { font-size: 16px; }
.guide-table th { padding: 10px 12px 10px 0; }
.guide-table td { padding: 12px 12px 12px 0; vertical-align: baseline; }
.guide-table td.num, .guide-table th.num { padding-right: 0; font-variant-numeric: tabular-nums; }
.guide-table figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.guide-terms { margin: 0 0 8px; border-top: 1px solid var(--line); }
.guide-terms > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guide-terms dt { font: 700 18px/1.5 var(--font-semi); }
.guide-terms dd { margin: 0; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.guide-table th { font: 600 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.6; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 700 18px/1.6 var(--font-semi); color: var(--blue-d); }
@media screen and (prefers-color-scheme: dark) { .steps li::before { color: var(--gold); } }
.guide-clubs { list-style: none; margin: 8px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.guide-clubs a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.gc-name { font: 700 19px/1.25 var(--font-semi); transition: color .2s var(--ease-out); }
.gc-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.gc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.guide-clubs a:hover .gc-name { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-names { font-size: 16px !important; line-height: 1.8 !important; color: var(--muted); margin: 4px 0 8px; }
.guide-names a { color: var(--ink); text-decoration-color: var(--line-2); }
.guide-names a:hover { color: var(--link); text-decoration-color: currentColor; }
.guide-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 72px; }
.guide-note { font-size: 15px; color: var(--muted); max-width: 64ch; margin: 0 0 40px; }
.guide-foot h2 { font-size: 22px; margin-bottom: 12px; }
.guide-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-rows a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.gr-title { font: 700 20px/1.25 var(--font-semi); }
.gr-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 72ch; }
.guide-rows a:hover .gr-title { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.home-guides .guide-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.guides-list { padding-top: 8px; padding-bottom: 88px; }
.guide-index { list-style: none; margin: 0; padding: 0; }
.guide-index a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.gi-main { display: grid; gap: 8px; }
.gi-title { font: 700 clamp(22px, 2.3vw, 28px)/1.15 var(--font-semi); }
.gi-desc { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.guide-index a:hover .gi-title { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-rows { list-style: none; margin: 0 0 48px; padding: 0; border-top: 1px solid var(--line); }
.prose-page .contact-rows li { max-width: none; margin: 0; }
.contact-rows a { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cr-title { font: 700 20px/1.25 var(--font-semi); }
.cr-desc { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.cr-desc .u { text-decoration: underline; text-underline-offset: 3px; }
.contact-rows a:hover .cr-title { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.ftr { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--ink-2); margin-top: auto; }
.ftr-grid { display: grid; grid-template-columns: 2fr repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ftr-about .brand { margin-right: 0; }
.ftr-about p { font-size: 15px; max-width: 40ch; margin: 16px 0 0; }
.ftr nav { display: grid; align-content: start; }
.ftr h2 { font: 600 14px/1.2 var(--font); color: var(--ink); margin: 6px 0 8px; letter-spacing: 0; }
.ftr nav a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.ftr nav a:hover { color: var(--link); text-decoration: underline; }
.ftr-legal { padding-bottom: 32px; }
.ftr-legal::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 20px; }
.ftr-legal p { font-size: 13px; color: var(--muted); margin: 0; max-width: 90ch; }

/* ---------- command palette ---------- */
.palette { position: fixed; inset: 0; z-index: 90; background: rgb(8 12 18 / 48%); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette-box { width: min(640px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 30px 80px rgb(0 0 0 / 35%); overflow: hidden; }
.palette-form { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); }
.palette-form .i { color: var(--muted); }
.palette-form input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; font-size: 19px; }
.palette-form input::-webkit-search-cancel-button { display: none; }
.palette-close { flex: none; display: inline-grid; place-items: center; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius); background: none; color: var(--link); font-weight: 600; cursor: pointer; }
.palette-close:hover { background: var(--bg-2); }
.palette-close-key { display: none; }
.palette-list { list-style: none; margin: 0; padding: 6px; max-height: min(420px, 55vh); overflow: auto; }
.palette-hint { margin: 0; padding: 16px 18px; color: var(--muted); font-size: 14px; }
.palette-list:not([hidden]) ~ .palette-hint { display: none; }

/* toast */
.toast { position: fixed; left: 16px; right: 16px; bottom: 24px; margin: 0 auto; width: max-content; max-width: min(640px, calc(100vw - 32px)); z-index: 95; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: #0f1a24; color: #fff; border-radius: var(--radius); box-shadow: 0 12px 40px rgb(0 0 0 / 30%); font-size: 15px; }
.toast a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.toast button { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; margin: -6px -6px -6px 0; background: none; border: 0; border-radius: var(--radius); color: rgb(255 255 255 / 72%); cursor: pointer; padding: 4px; }
.toast button:hover { color: #fff; background: rgb(255 255 255 / 10%); }
@media screen and (prefers-color-scheme: dark) { .toast { background: #eef2f6; color: #0f1a24; } .toast a { color: var(--blue-d); } .toast button { color: #58636f; } .toast button:hover { color: #0f1a24; background: rgb(0 0 0 / 6%); } }

/* ---------- admin ---------- */
.admin { padding-top: 24px; padding-bottom: 80px; }
.admin-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.admin-q input { min-height: 36px; font-size: 15px; width: 280px; padding: 6px 10px; }
.admin-range { color: var(--muted); font-size: 13px; margin-left: auto; }
.flash span { word-break: break-all; font-family: var(--font-mono); font-size: 14px; cursor: copy; }
.live { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; margin-bottom: 24px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); }
.kpi { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.kpi:nth-child(4n) { border-right: 0; }
.kpi:nth-last-child(-n+4) { border-bottom: 0; }
.kpi-label { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.kpi-value { font: 700 34px/1.05 var(--font-cond); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.kpi-foot { font-size: 13px; margin: 0; }
.delta { font-weight: 600; font-family: var(--font-mono); font-size: 12px; }
.delta-good { color: var(--good); }
.delta-bad { color: var(--bad); }
.admin-note { font-size: 14px; margin: 16px 0 0; }
.chart { margin: 40px 0 0; padding: 0; }
.chart figcaption h2 { margin: 0 0 4px; font-size: 20px; }
.chart figcaption p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.chart-frame { position: relative; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-svg .axis { stroke: var(--line-2); stroke-width: 1; }
.chart-svg .tick { fill: var(--muted); font: 400 12px var(--font-mono); font-variant-numeric: tabular-nums; }
.chart-svg .cap { fill: var(--ink-2); font: 600 13px var(--font); }
.chart-svg .mark { fill: var(--series); transition: fill .1s; }
.chart-svg .hit { fill: transparent; }
.chart-svg .bar { cursor: default; }
.chart-svg .bar:hover .mark { fill: var(--series-hover); }
.chart-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 6px 10px; font-size: 13px; white-space: nowrap; z-index: 5; }
.chart-tip strong { font-size: 15px; }
.chart-empty { color: var(--muted); padding: 20px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart-table { margin-top: 8px; font-size: 14px; }
.chart-table summary { cursor: pointer; color: var(--link); font-weight: 600; display: inline-block; padding: 4px 0; }
.chart-table table { margin-top: 8px; max-width: 480px; }
.rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.rank { margin-top: 40px; min-width: 0; }
.rank-wide { grid-column: 1 / -1; }
.rank h2 { font-size: 20px; margin-bottom: 8px; }
.rank h2 .muted { font-family: var(--font); font-weight: 400; font-size: 16px; }
.rank-note, .rank-empty { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 11px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line-2); }
td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th.num { white-space: normal; } /* a two-word heading may wrap; the numbers below it stay on one line */
.rank-label a, .rank-label span { overflow-wrap: anywhere; } /* not break-word: that leaves min-content wide and the table overflows narrow screens */
.rank-label small { display: block; color: var(--muted); font-size: 12px; }
.rank-bar { width: 100%; height: 4px; margin-top: 6px; }
.rank-bar rect { fill: var(--series); }
.table-scroll, .rank-table { overflow-x: auto; position: relative; } /* contains absolutely placed .sr-only text too */
[data-scroller][tabindex]:focus-visible { outline-offset: -3px; }
.table-scroll table { min-width: 900px; }
.clip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg { max-width: 420px; white-space: pre-wrap; }
.row-done td { color: var(--muted); }
.row-acts { display: flex; gap: 12px; }
.row-acts form { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 16px; padding: 10px 0 10px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--line-2); }
.timeline .tl-event { border-left-color: var(--gold); }
.tl-when { font-size: 12px; color: var(--muted); grid-row: span 2; padding-top: 3px; }
.tl-detail { font-size: 13px; }

/* ---------- motion ----------
   Quiet, and only where it explains something: content rises into place as it arrives,
   lists follow one another, menus open from where you clicked, and pages cross-fade.
   Opacity and transform only (nothing reflows), and none of it without JavaScript or
   with reduced motion. Timings follow anthropic.com: 16px rises over .7s, 60-70ms apart. */
@keyframes bc-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes bc-fade { from { opacity: 0; } }
@keyframes bc-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* On load: the blocks at the top of a page (data-rise="0".."5" sets the order) */
.js [data-rise] { animation: bc-rise .7s var(--ease-out) backwards; }
.js [data-rise="1"] { animation-delay: .07s; }
.js [data-rise="2"] { animation-delay: .14s; }
.js [data-rise="3"] { animation-delay: .21s; }
.js [data-rise="4"] { animation-delay: .28s; }
.js [data-rise="5"] { animation-delay: .35s; }

/* On scroll: app.js holds back [data-reveal] blocks below the fold (is-pending) and lets
   them rise as they come into view (is-inview); "stagger" moves a list's items in turn. */
.js [data-reveal].is-pending:not([data-reveal="stagger"]),
.js [data-reveal="stagger"].is-pending > * { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-inview:not([data-reveal="stagger"]),
.js [data-reveal="stagger"].is-inview > * { animation: bc-rise .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms + 40ms); }

/* Clubs added by "Show more" and redrawn results */
.js .card.card-in { animation: bc-rise .5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
.js .results.is-fresh { animation: bc-fade .3s var(--ease-out); }

/* Menus and the search dialog open from where they were called */
.menu[open] > .menu-pop { animation: bc-pop .2s var(--ease-out); transform-origin: top left; }
.acct[open] > .menu-pop { transform-origin: top right; }
.palette:not([hidden]) { animation: bc-fade .2s var(--ease-out); }
.palette-box { animation: bc-pop .28s var(--ease-out); }
.toast { animation: bc-rise .35s var(--ease-out); }
.chev { transition: transform .25s var(--ease-out); }

/* Hover: things you can open lift or point the way; nothing jumps */
.area { transition: background-color .3s var(--ease-out); }
.area-count, .mini-name, .date-what, .card-title a, .tile-name, .gi-title, .gr-title, .cr-title { transition: color .2s var(--ease-out); }
.more .i { transition: transform .3s var(--ease-out); }
.more:hover .i { transform: translateX(4px); }
.btn { transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .12s var(--ease-out); }
.btn:active { transform: scale(.98); }
.join-links a, .links a, .chip, .search-trigger { transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out); }
.act.pop .i { animation: pop .45s var(--ease-out); }
@keyframes pop { 35% { transform: scale(1.28); } }

/* Between pages: a quick cross-fade with the header held still (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }
.hdr { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease-out); }
::view-transition-group(site-header) { animation-duration: 0s; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js [data-reveal].is-pending:not([data-reveal="stagger"]), .js [data-reveal="stagger"].is-pending > * { opacity: 1; transform: none; }
  .btn:active { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1359px) {
  .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .search-trigger span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* still its accessible name */
}
@media (max-width: 1239px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi:nth-child(4n) { border-right: 1px solid var(--line); }
  .kpi:nth-child(3n) { border-right: 0; }
  .kpi:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .kpi:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 1099px) {
  .util-cta { display: none; }
}
@media (max-width: 1000px) {
  .util-saved .util-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand { margin-right: 8px; }
}
@media (max-width: 1040px) {
  :root { --gutter: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-index { max-width: 640px; }
  .hero-index ul { columns: 2; column-gap: 32px; border-top: 0; }
  .hero-index li { break-inside: avoid; }
  .hero-index ul { border-top: 0; }
  .hero-index li:first-child, .hero-index li:nth-child(4) { border-top: 1px solid rgb(255 255 255 / 12%); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-grid; }
  .util-cta { display: none; }
  .acct-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-row { flex-wrap: wrap; column-gap: 0; min-height: 0; padding-top: 8px; }
  .brand { min-height: 48px; flex: 1; }
  .brand-mark { width: 28px; height: 28px; border-radius: 6px; }
  .brand-name { font-size: 20px; }
  .util-saved .util-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .util-saved { min-width: 44px; min-height: 44px; justify-content: center; padding: 0 8px; }
  .util-link { min-height: 44px; }
  /* The section links scroll sideways on their own row. The fade that hints at more links is an overlay:
     a mask-image on the nav also masked out the Areas menu, which hangs below it. */
  .main-nav { order: 3; flex: 0 0 calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 4px calc(var(--gutter) + 24px) 8px calc(var(--gutter) - 10px); overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .hdr-row::after { content: ""; position: absolute; right: 0; bottom: 0; height: 52px; width: 28px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg) 70%); }
  .areas { position: static; }
  .areas .menu-pop { position: fixed; left: 12px; right: 12px; top: auto; width: auto; max-height: min(70vh, 560px); overflow: auto; }
  .menu-grid { grid-template-columns: 1fr 1fr; width: auto; }
  .menu-grid a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 12px; line-height: 1.25; }
  .palette { padding-top: 12px; }
  .palette-close { min-height: 44px; }
  .hero-grid { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .hero-search { padding-left: 12px; }
  .hero-search .btn { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas-grid li:nth-child(3n+2), .areas-grid li:nth-child(3n+3) { border-left: 0; }
  .areas-grid li:nth-child(2n) { border-left: 1px solid var(--line); }
  .areas-grid li:nth-child(3n+1) .area { padding-left: 20px; }
  .areas-grid li:nth-child(2n+1) .area { padding-left: 0; }
  .areas-grid li:nth-child(3n+1) .area:hover { background: var(--bg-2); }
  .areas-grid li:nth-child(2n+1) .area:hover { background: linear-gradient(90deg, var(--bg), var(--bg-2) 20px); }
  .area { padding: 18px 20px 20px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .page-head { padding: 32px 0 28px; }
  .page-head-tabs, .page-head-tight { padding-bottom: 0; }
  .dir { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .dir-search { margin-bottom: 16px; }
  .filters { position: static; max-height: none; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 0; margin-bottom: 20px; }
  .filters:not([open])::details-content { content-visibility: hidden; }
  .filters > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-weight: 600; cursor: pointer; }
  .filters > summary .chev { margin-left: auto; }
  .filters .filters-body { padding: 4px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); padding-top: 16px; }
  .filters fieldset:first-child { grid-column: 1 / -1; columns: 2; column-gap: 24px; }
  .filters fieldset:first-child legend { column-span: all; }
  .opt { min-height: 40px; }
  .filter-actions { grid-column: 1 / -1; }
  .club-head { padding: 24px 0 32px; }
  .club-title-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .club-body { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; }
  .club-main, .club-side { grid-column: auto; grid-row: auto; }
  .club-side { position: static; }
  .contact { padding: 20px; }
  .links a { min-height: 44px; }
  .facts > div { grid-template-columns: 140px minmax(0, 1fr); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 64px; max-width: calc(560px + 2 * var(--gutter)); }
  .auth-card { padding: 28px 24px; }
  .auth-aside { padding-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 40px; }
  .ftr-about { grid-column: 1 / -1; }
  .ftr nav a { padding: 8px 0; }
  .rank-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-last-child(-n+2) { border-bottom: 0; }
  .admin-range { margin-left: 0; width: 100%; }
}
@media (min-width: 561px) and (max-width: 860px) {
  /* A tablet gets the contact card at full width: the button sizes to its label and the links run in two columns. */
  .contact .btn-block { width: auto; }
  .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 760px) {
  .home-guides .guide-rows { grid-template-columns: minmax(0, 1fr); }
  .guide-index a { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .guide-terms > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .guide-prose > p, .guide-prose li, .guide-prose dd, .steps li { font-size: 17px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .tabs a { padding: 0 10px; }
  .dir-search { padding-left: 12px; }
  .dir-search .btn { padding: 0 14px; }
  .tabs a:first-child { margin-left: -10px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .hero-index ul { column-gap: 20px; }
  .hero-index a { font-size: 14px; gap: 8px; }
  .hero-index .n { font-size: 13px; }
  .display { font-size: clamp(44px, 13.4vw, 60px); }
  .areas-grid { grid-template-columns: minmax(0, 1fr); }
  .areas-grid li:nth-child(2n) { border-left: 0; }
  .areas-grid li .area, .areas-grid li:nth-child(n) .area { padding: 16px 0 18px; }
  .areas-grid li:nth-child(n) .area:hover { background: none; }
  .card { gap: 8px; padding: 18px 0; }
  .card-title { font-size: 19px; }
  .card-acts { flex-direction: column; margin-right: -10px; }
  /* Message on one line, its link under it, the close button beside both: in one flex row the link
     (nowrap) squeezed the message to a word per line and pushed the close button off the screen. */
  .toast { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .toast span { grid-column: 1; }
  .toast a { grid-column: 1; white-space: normal; }
  .toast button { grid-column: 2; grid-row: 1 / span 2; }
  .filters .filters-body { grid-template-columns: minmax(0, 1fr); }
  .filters fieldset:first-child { columns: 1; }
  .dates a { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .date-when { grid-row: auto; }
  .results-bar { flex-wrap: wrap; }
  .form-inline { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .club-acts { width: 100%; }
  .club-acts > * { flex: 1 1 0; min-width: 0; }
  .club-acts .act-big { width: 100%; padding: 0 8px; }
  .stats-light dt { padding: 14px 14px 0; }
  .stats-light dd a { padding: 4px 14px 14px; font-size: 28px; }
  .cta-acts { width: 100%; }
  .cta-acts .btn { flex: 1 1 auto; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  /* A chart keeps readable labels on a phone and scrolls sideways instead ("Show as table" is the
     other way to read it). */
  .chart-frame { overflow-x: auto; padding-top: 14px; margin-top: -14px; }
  .chart-svg { min-width: 600px; }
  .chart-svg .tick { font-size: 16px; }
  .chart-svg .cap { font-size: 17px; }
  /* The dashboard's ranked tables have up to six columns; they shrink rather than scroll sideways. */
  .admin table { font-size: 13px; }
  .admin th, .admin td { padding-right: 6px; }
}
@media (max-width: 380px) {
  .jl-via { display: none; }
  .hero-index ul { columns: 1; }
  .hero-index li:nth-child(4) { border-top: 0; }
  .hero-index a { font-size: 15px; }
}
@media (max-width: 400px) {
  .admin table { font-size: 12px; }
  .admin th, .admin td { padding-right: 5px; }
  .brand-name { font-size: 19px; }
  .brand { gap: 8px; }
  .util-link { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  [data-reveal].is-pending, [data-reveal].is-pending > * { opacity: 1 !important; transform: none !important; }
  .hdr, .ftr, .skip, .card-acts, .club-acts, .palette, .toast, .dir-form, .chips, .more-wrap, .copy, .report, .hero-search, .similar, .empty-acts, .sort { display: none !important; }
  body { font-size: 12pt; }
  .dir { display: block; }
  /* Backgrounds are not printed: the navy band keeps its text readable on paper. */
  .hero, .hero-index { background: none; color: var(--ink); border-color: var(--line); }
  .hero .lede, .display, .hero-index a, .hero-index-head { color: var(--ink); }
  .hero-index .n { color: var(--muted); }
  .hero-index ul, .hero-index li { border-color: var(--line); }
  .hero-grid { padding: 0 0 24px; }
  .section, .section-alt { padding: 24px 0; background: none; }
  .club-body { display: block; padding-top: 24px; }
  .club-side { position: static; margin-bottom: 24px; }
  .contact { border: 1px solid var(--line-2); }
  .btn-primary { background: none; color: var(--ink); border-color: currentColor; }
  /* On paper a link is only as good as its address. */
  .join-links a { border: 0; padding: 4px 0; min-height: 0; }
  .join-links a::after { content: " " attr(href); font-weight: 400; font-size: 10pt; color: var(--muted); overflow-wrap: anywhere; }
  .links a[href^="http"]::after { content: " " attr(href); font-weight: 400; font-size: 10pt; color: var(--muted); overflow-wrap: anywhere; }
}
