/* The club directory (SPEC 78: step 2, and 78.20's polish). Linked only by the club pages (ClubPages::CSS), so app.css and its ?v= stay
   untouched. Every class starts kc- (grepped against app.css first). Colours are app.css's tokens plus the few below, so dark and light
   both follow the site; the picture panels (hero, country and region headers) are dark on purpose, whatever the theme, so words on a
   photo always read.

   78.20, dark mode: app.css's --panel (#1b1e23) sits one hair above the page (#121417), so cards blended into it. The club pages lift
   their cards one more step (--kc-card #20252c, edge --kc-edge #363d47: about 1.25:1 against the page, where --panel was 1.1:1), give
   section headings weight and a short warm rule, and keep body words at the site's own --text (about 12:1 on a card). Light mode keeps
   white cards and gets a soft shadow so they stand off the cream page.
   2026-11-18: the site's dark went neutral (page #161616, --panel #252525), so these went neutral too, still one step above --panel. */

:root { --kc-card: #2a2a2a; --kc-edge: #424242; --kc-soft: #1c1c1c; --kc-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 22px rgba(0, 0, 0, .28); --kc-rule: #e2b25c; --kc-head: #f1e7d2; }
:root[data-theme="light"] { --kc-card: #fff; --kc-edge: #ddd3c3; --kc-soft: #efe9df; --kc-shadow: 0 1px 2px rgba(70, 45, 10, .07), 0 6px 18px rgba(70, 45, 10, .07); --kc-rule: #b8792a; --kc-head: #2b2216; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --kc-card: #fff; --kc-edge: #ddd3c3; --kc-soft: #efe9df; --kc-shadow: 0 1px 2px rgba(70, 45, 10, .07), 0 6px 18px rgba(70, 45, 10, .07); --kc-rule: #b8792a; --kc-head: #2b2216; }
}

.kc-preview { margin: 0 0 1rem; padding: .55rem .9rem; border-radius: 8px; border: 1px solid var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); font-size: .92rem; }
.kc-note { max-width: 40rem; margin: 1rem auto; }
.kc-note h1 { font-size: 1.5rem; }
.kc-k { display: flex; align-items: center; gap: .45rem; margin: 0 0 .3rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #e2b25c; font-weight: 700; }
.kc-lead { margin: .3rem 0 1rem; font-size: 1.05rem; line-height: 1.45; }
.kc-n { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* section headings: weight and a short warm rule above (78.20) */
.kc-h { position: relative; margin: 2rem 0 .8rem; padding-top: .55rem; font-size: 1.2rem; font-weight: 750; color: var(--kc-head); letter-spacing: .005em; overflow-wrap: anywhere; }
.kc-h::before { content: ""; position: absolute; left: 0; top: 0; width: 2.2rem; height: 3px; border-radius: 2px; background: var(--kc-rule); }
.kc-card > .kc-h, .kc-claim .kc-h, .kc-claimcard .kc-h { margin-top: 0; }
/* the short gold bar marks page sections only, not every card and side box (Site polish 4 item 8, 2026-11-19) */
:is(.kc-card, .kc-claim, .kc-claimcard, .kc-offer, .kc-also, .kc-side, .sp-split-text, .sp-how, li, aside, article) .kc-h { padding-top: 0; }
:is(.kc-card, .kc-claim, .kc-claimcard, .kc-offer, .kc-also, .kc-side, .sp-split-text, .sp-how, li, aside, article) .kc-h::before { content: none; }
h3.kc-thinhead { margin-top: 1.8rem; }   /* SPEC 78.33: the second group of a state's or country's list */
.kc-sub { margin: 1.4rem 0 .6rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* flags (flag-icons, MIT: assets/clubs/flags/LICENSE), only ever beside a country's name */
.kc-flag { display: inline-block; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); vertical-align: -.12em; }
.kc-flag-s { width: 20px; height: 15px; }
.kc-flag-m { width: 28px; height: 21px; }
.kc-flag-none { background: var(--ctl); opacity: .5; }

/* the hub's hero: the picture fills the box, the panel sits on its quiet middle; one slow glow drifts in the evening sky */
.kc-hero, .kc-state { position: relative; overflow: hidden; border-radius: var(--radius); background: #1a1510; margin: 0 0 1.5rem; }
.kc-hero { min-height: 21rem; display: grid; align-items: center; justify-items: center; padding: 1.5rem 1rem; }
.kc-state { min-height: 11rem; display: grid; align-items: center; padding: 1.25rem 1rem; }
.kc-hero-pic, .kc-state-pic { position: absolute; inset: 0; display: block; }
.kc-hero-pic img, .kc-state-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-glow { position: absolute; z-index: 1; left: 0; top: -20%; width: 70%; height: 90%; pointer-events: none; mix-blend-mode: screen; opacity: .35;
  background: radial-gradient(closest-side, rgba(255, 196, 120, .55), rgba(255, 170, 90, .18) 55%, transparent);
  animation: kc-drift 28s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes kc-drift { 0% { transform: translate(-6%, 0) scale(1); opacity: .28; } 50% { opacity: .42; } 100% { transform: translate(52%, 6%) scale(1.08); opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .kc-glow { animation: none; } }
.kc-hero-panel, .kc-state-panel { position: relative; z-index: 2; max-width: 38rem; width: 100%; padding: 1.1rem 1.3rem 1.25rem; border-radius: 12px; color: #f6efe0;
  background: rgba(14, 12, 9, .78); border: 1px solid rgba(217, 169, 90, .45); box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.kc-state-panel { max-width: 34rem; justify-self: start; }
.kc-hero-panel h1, .kc-state-panel h1 { margin: 0; color: #fff4dc; font-size: clamp(1.45rem, 4vw, 2.1rem); overflow-wrap: anywhere; }
.kc-state-panel .kc-lead { margin: .35rem 0 0; font-size: 1rem; }
.kc-hero-panel a { color: #f1c97a; }
/* the photo heroes stay dark in light mode too, so everything inside them uses the dark tokens (2026-11-19 light-mode check:
   "Use my location" and the second Find button were dark text on the dark photo, about 1.1:1). Values match app.css :root. */
.kc-hero-panel, .kc-state-panel, .ks-head-panel, .ks-hero-panel {
  color-scheme: dark;
  --bg: #161616; --panel: #252525; --line: #3a3a3a; --ctl: #717171; --text: #e9e6df; --muted: #9c978c;
  --accent: #e2b25c; --ok: #7cc68d; --warn: #e8a15a; --bad: #ef7d6b;
}
.kc-country { min-height: 13rem; }

.kc-search { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.kc-search input[type=search] { flex: 1 1 13rem; min-width: 0; min-height: 44px; }
.kc-search select { flex: 0 1 8.5rem; min-height: 44px; }
.kc-search .btn { min-height: 44px; }

/* the hub: three country cards and the world, then every other country as a chip (78.20) */
.kc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.kc-cc { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); box-shadow: var(--kc-shadow);
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.kc-cc:hover, .kc-cc:focus-visible { border-color: var(--accent); }
.kc-cc:hover { transform: translateY(-2px); }
.kc-cc-pic, .kc-cc-pic img { display: block; width: 100%; }
.kc-cc-pic img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.kc-cc-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .1rem .55rem; padding: .7rem .85rem .8rem; }
.kc-cc-cap .kc-flag { grid-row: span 2; }
.kc-cc-name { font-weight: 750; font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
.kc-cc-n { color: var(--muted); font-size: .9rem; }
.kc-cc-cap > .kc-cc-name:first-child, .kc-cc-cap > .kc-cc-name:first-child + .kc-cc-n { grid-column: 1 / -1; }
.kc-cchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.kc-cchip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .3rem .75rem; border-radius: 999px; background: var(--kc-card); border: 1px solid var(--kc-edge);
  color: var(--text); text-decoration: none; }
.kc-cchip:hover, .kc-cchip:focus-visible { border-color: var(--accent); }
.kc-cchip .kc-n { font-size: .85rem; }
.kc-cchip-name { font-weight: 600; }
.kc-regions-sec, .kc-listsec { margin: 0 0 1rem; }

/* the little train on a rail between sections: the site's own car icons, small and quiet */
.kc-rail { position: relative; height: 1.6rem; margin: 2rem 0 .5rem; color: var(--muted); opacity: .75; }
.kc-rail::before, .kc-rail::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--kc-edge); }
.kc-rail::before { bottom: 3px; }
.kc-rail::after { bottom: 0; }
.kc-rail-train { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 1px; padding: 0 .5rem; background: var(--bg); }
.kc-rail .ico { width: 1.3rem; height: 1.3rem; margin: 0; }
.kc-rail .ico-t-locomotive { width: 1.5rem; height: 1.5rem; }   /* drawn facing left, at the head of the train */

/* lists of clubs: each club a quiet card with its own small picture (78.20) */
.kc-results h2, .kc-browse h2, .kc-how h2 { overflow-wrap: anywhere; }
.kc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.kc-row { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; align-items: start; padding: .65rem; border-radius: var(--radius);
  background: var(--kc-card); border: 1px solid var(--kc-edge); overflow-wrap: anywhere; transition: border-color .15s; }
.kc-row:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--kc-edge)); }
.kc-row-text { min-width: 0; }
.kc-name { font-weight: 700; font-size: 1.05rem; margin-right: .5rem; }
.kc-row .kc-name::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }   /* the whole card opens the club */
.kc-row .kc-name:focus-visible { outline: none; }
.kc-row:has(.kc-name:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.kc-where { color: var(--muted); }
.kc-line { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.kc-based { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.kc-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: var(--kc-soft); }
.kc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-thumb-none { display: grid; place-items: center; color: var(--muted); }
.kc-thumb-none .ico { margin: 0; width: 1.8rem; height: 1.8rem; opacity: .6; }
.kc-list-small .kc-row { grid-template-columns: 5rem minmax(0, 1fr); padding: .5rem; gap: .7rem; }
/* A club in a list (2026-11-15, Jamie: "keep the same style" as the shops, not quite as big): the picture flush to the card's edge, top to
   bottom, 13 to 14rem wide; its 16:9 sets the row's height, and the line about the club is held to two lines so the words fit beside it.
   A narrow list (a phone, or a side column: a container query, so the list's own width decides) stacks the picture full width over the
   words, where the name on it reads largest. The small lists (kc-list-small) keep their small picture. */
.kc-list:not(.kc-list-small) { container-type: inline-size; }
.kc-list:not(.kc-list-small) > .kc-club { grid-template-columns: clamp(13rem, 26%, 14rem) minmax(0, 1fr); gap: 0; padding: 0; align-items: center; overflow: hidden; }
.kc-list:not(.kc-list-small) > .kc-club > .kc-thumb { border-radius: 0; height: 100%; align-self: stretch; }
.kc-list:not(.kc-list-small) > .kc-club > .kc-row-text { padding: .7rem 1.1rem; }
.kc-list:not(.kc-list-small) > .kc-club .kc-line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
@container (max-width: 48rem) {
  .kc-list:not(.kc-list-small) > .kc-club { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .kc-list:not(.kc-list-small) > .kc-club > .kc-thumb { height: auto; }
  .kc-list:not(.kc-list-small) > .kc-club > .kc-row-text { padding: .65rem .9rem .8rem; }
  .kc-list:not(.kc-list-small) > .kc-club .kc-line { -webkit-line-clamp: 3; line-clamp: 3; }
}
.kc-list-small .kc-name { font-size: .98rem; }
.kc-list-small .kc-line { display: none; }
.kc-chips { display: inline-flex; flex-wrap: wrap; gap: .25rem; vertical-align: middle; margin-left: .35rem; }
.kc-chip, .kc-tag { display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1.5; padding: 0 .55rem; border-radius: 999px; border: 1px solid var(--ctl); color: var(--text); white-space: nowrap; }
.kc-tag { margin-right: .3rem; border-color: var(--accent); color: var(--accent); }
.kc-tag.kc-run { background: var(--accent); color: var(--btn-text); }
.kc-crumb { margin: 0 0 .9rem; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.kc-back { margin-top: 1.5rem; }
.kc-note-line { margin: -.3rem 0 .8rem; color: var(--muted); font-size: .95rem; }
.kc-also { margin-top: 1rem; }
/* Swatter #725 (2026-11-29): the intro under a few state pages' heading, and the row of neighboring states */
.kc-intro { margin: 1.1rem 0 .4rem; max-width: 48rem; line-height: 1.55; }
.kc-intro p { margin: 0 0 .6rem; }
.kc-intro .kc-intro-near { color: var(--muted); font-size: .97rem; }
.kc-also .kc-h { font-size: 1.02rem; }

/* a country's regions: a tidy grid with counts (78.20) */
.kc-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(12.5rem, 100%), 1fr)); gap: .5rem; }
.kc-regions a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; padding: .45rem .8rem; border-radius: 8px; background: var(--kc-card);
  border: 1px solid var(--kc-edge); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.kc-regions a:hover, .kc-regions a:focus-visible { border-color: var(--accent); }
.kc-rg-name { font-weight: 600; min-width: 0; }
.kc-rg-n { flex: none; min-width: 2rem; text-align: center; padding: 0 .45rem; border-radius: 999px; background: var(--kc-soft); color: var(--muted); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.kc-claim { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; margin: 1rem 0 2rem; padding: 1rem; background: var(--kc-card); border: 1px solid var(--kc-edge); border-radius: var(--radius); box-shadow: var(--kc-shadow); }
.kc-claim-pic, .kc-claim-pic img { display: block; width: 100%; }
.kc-claim-pic img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.kc-claim h2 { margin-top: 0; }
.kc-claim-text { min-width: 0; }
.kc-how ul { padding-left: 1.2rem; }
.kc-how li { margin: .25rem 0; }

/* a club's page: distinct blocks (78.20) */
.kc-head { margin: 0 0 1rem; }
.kc-banner { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #1a1510; }
.kc-banner.kc-named { aspect-ratio: 4 / 1; }
.kc-banner.kc-plain { aspect-ratio: 3 / 1; }
.kc-pic { position: absolute; inset: 0; display: block; }
.kc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-banner-name { position: absolute; left: clamp(.6rem, 2vw, 1.1rem); bottom: clamp(.6rem, 2vw, 1.1rem); max-width: calc(100% - 1.4rem); max-height: calc(100% - 1.4rem); overflow: hidden;
  padding: .6rem 1.05rem .65rem; border-radius: 10px; background: rgba(5, 17, 29, .82); border: 1px solid rgba(217, 169, 90, .4); box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.kc-banner-name h1 { margin: 0; color: #f6e7c1; font-size: clamp(1.15rem, 3vw, 1.9rem); line-height: 1.15; overflow-wrap: anywhere; }
.kc-banner-name h1.kc-long { font-size: clamp(1rem, 2.2vw, 1.35rem); }
.kc-banner-name h1.kc-xl { font-size: clamp(.82rem, 1.7vw, 1rem); }
.kc-nobanner { padding: 1.1rem 1.25rem .2rem; background: var(--kc-card); border: 1px solid var(--kc-edge); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.kc-nobanner h1 { margin: 0; overflow-wrap: anywhere; }
.kc-headcard { padding: .85rem 1.25rem 1.1rem; background: var(--kc-card); border: 1px solid var(--kc-edge); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--kc-shadow); }
.kc-place { display: flex; align-items: center; gap: .5rem; margin: 0 0 .35rem; font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.kc-place span { min-width: 0; }
.kc-tags { margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 0; align-items: center; }
.kc-tags:empty { display: none; }
.kc-tags .kc-chips { margin-left: 0; margin-right: .5rem; }
.kc-actions { margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.kc-host { color: var(--muted); overflow-wrap: anywhere; }
.kc-card { background: var(--kc-card); border: 1px solid var(--kc-edge); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.2rem; margin: 1rem 0; overflow-wrap: anywhere; box-shadow: var(--kc-shadow); }
.kc-card p { margin: 0 0 .8rem; max-width: 46rem; line-height: 1.6; }
.kc-card p:last-child { margin-bottom: 0; }
.kc-dl { margin: 0; }
.kc-dl > div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .25rem 1rem; padding: .6rem 0; border-top: 1px solid var(--kc-edge); }
.kc-dl > div:first-child { border-top: 0; padding-top: 0; }
.kc-dl dt { display: flex; align-items: flex-start; color: var(--muted); font-weight: 600; }
.kc-dl dd { margin: 0; }
.kc-dl .plain li { padding: 0 0 .3rem; }
.kc-gi { width: 1.2rem; height: 1.2rem; margin-right: .55rem; color: var(--accent); vertical-align: -.2rem; }
.kc-dl dt .kc-gi { margin-top: .1rem; }
.kc-pk { display: block; color: var(--muted); font-size: .85rem; }   /* the place's kind on its own line (item 8, 2026-11-19) */
.kc-fresh { display: flex; align-items: flex-start; gap: .1rem; margin: 1rem 0; padding: .75rem 1.25rem; border-radius: var(--radius); background: var(--kc-soft); border: 1px solid var(--kc-edge); color: var(--muted); font-size: .92rem; }
.kc-fresh .kc-gi { color: var(--muted); margin-top: .15rem; }
.kc-fresh-text { min-width: 0; }
.kc-labels { margin: .1rem 0 0; color: var(--muted); font-size: .92rem; }
.kc-labels:empty { display: none; }
.kc-checked { white-space: nowrap; }
.kc-src { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.kc-src summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.kc-src ul { margin: .3rem 0 0; padding-left: 1.2rem; overflow-wrap: anywhere; }
.kc-claimcard { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1.25rem; align-items: center; margin: 1.5rem 0 1rem; padding: 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--kc-card)), var(--kc-card) 60%); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--kc-edge));
  border-radius: var(--radius); box-shadow: var(--kc-shadow); }
.kc-claimcard-own { grid-template-columns: minmax(0, 1fr); }
.kc-claimcard-pic, .kc-claimcard-pic img { display: block; width: 100%; }
.kc-claimcard-pic img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.kc-claimcard-text { min-width: 0; }
.kc-claimcard-text p { margin: 0 0 .7rem; }
.kc-claimcard-text p:last-child { margin-bottom: 0; }
.kc-foot { margin: 1rem 0; padding: .4rem 0 0; }
.kc-foot p { margin: 0 0 .35rem; }
.kc-quiet { font-size: .9rem; color: var(--muted); }
.kc-quiet a { color: var(--muted); text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); text-underline-offset: 2px; }
.kc-quiet a:hover { color: var(--accent); }

/* "More clubs near {town}": the picture with the words on its soft side, then up to four small cards */
.kc-near { margin: .5rem 0 1rem; }
.kc-near-head { position: relative; overflow: hidden; border-radius: var(--radius); background: #1a1510; aspect-ratio: 16 / 5; min-height: 8.5rem; }
.kc-near-pic { position: absolute; inset: 0; display: block; }
.kc-near-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.kc-near-text { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.25rem; color: #f6efe0;
  background: linear-gradient(90deg, transparent, rgba(12, 10, 8, .55) 22%, rgba(12, 10, 8, .72)); }
.kc-near-text h2 { margin: 0 0 .3rem; color: #fff4dc; font-size: clamp(1.1rem, 2.6vw, 1.45rem); overflow-wrap: anywhere; }
.kc-near-text p { margin: 0; }
.kc-near-text a { color: #f1c97a; font-weight: 600; }
.kc-near-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.kc-nc { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: .5rem .5rem .65rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge);
  color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.kc-nc:hover, .kc-nc:focus-visible { border-color: var(--accent); }
.kc-nc .kc-thumb { margin-bottom: .3rem; }
.kc-nc-name { font-weight: 700; line-height: 1.3; }
.kc-nc-where { color: var(--muted); font-size: .88rem; }
.kc-form textarea { min-height: 8rem; }

@media (max-width: 860px) {
  .kc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-near-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .kc-hero { min-height: 0; padding: 1rem .6rem; }
  .kc-hero-panel, .kc-state-panel { padding: .9rem .9rem 1rem; }
  .kc-state, .kc-country { min-height: 0; }
  .kc-banner.kc-named { aspect-ratio: 8 / 5; }
  .kc-banner.kc-plain { aspect-ratio: 25 / 14; }
  .kc-banner-name { padding: .45rem .7rem .5rem; border-radius: 8px; }
  .kc-headcard, .kc-card { padding-left: 1rem; padding-right: 1rem; }
  .kc-dl > div { grid-template-columns: minmax(0, 1fr); }
  .kc-dl dd { padding-left: 1.75rem; }
  .kc-claim, .kc-claimcard { grid-template-columns: minmax(0, 1fr); }
  .kc-claim-pic img { aspect-ratio: 16 / 9; }
  .kc-claimcard-pic img { aspect-ratio: 5 / 2; }
  .kc-search select { flex: 1 1 100%; }
  .kc-cards { gap: .6rem; }
  .kc-cc-cap { padding: .55rem .65rem .65rem; gap: .1rem .45rem; }
  .kc-cc-name { font-size: .95rem; }
  .kc-cc-n { font-size: .82rem; }
  .kc-row { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .7rem; padding: .55rem; }
  .kc-row .kc-chips { display: flex; margin: .25rem 0 0; }
  .kc-near-head { aspect-ratio: 16 / 8; }
  .kc-near-text { width: 62%; padding: .8rem; }
}

/* step 3: claims, the club's dashboard (SPEC 78.6) */
.kc-tabs a { padding: .3rem .6rem; border-radius: 6px; text-decoration: none; }
.kc-tabs a[aria-current="page"] { background: var(--accent); color: var(--bg); }
.kc-dash h1 { overflow-wrap: anywhere; }
.kc-dash .card { margin-bottom: 1rem; }
.kc-agree { margin: .5rem 0; padding: .6rem .8rem; border: 1px solid var(--line, #ccc); border-radius: 8px; max-height: 26rem; overflow: auto; }
.kc-agree summary { cursor: pointer; font-weight: 600; }
.kc-agree h3 { font-size: 1rem; margin: .8rem 0 .2rem; }
.kc-email { font-size: 1.25rem; overflow-wrap: anywhere; }
.kc-history > li { padding: .5rem 0; border-bottom: 1px solid var(--line, #ccc); overflow-wrap: anywhere; }
.kc-history ul { margin: .2rem 0 0 1.2rem; }

/* step 4a (78.21): the club's own sections, posts, albums, newsletters, the dashboard's editor and empty states */
.kc-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0 0 1.1rem; padding: .45rem .55rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); }
.kc-subnav > a { padding: .35rem .65rem; border-radius: 6px; text-decoration: none; color: var(--text); min-height: 36px; display: inline-flex; align-items: center; }
.kc-subnav > a[aria-current="page"] { background: var(--accent); color: var(--btn-text); }
.kc-subsearch { display: flex; gap: .35rem; margin-left: auto; flex: 0 1 18rem; min-width: 0; }
.kc-subsearch input { flex: 1 1 auto; min-width: 0; min-height: 36px; }
.kc-pagetitle { margin: .2rem 0 1rem; overflow-wrap: anywhere; }
.kc-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.kc-pcard { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; align-items: start; padding: .65rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); overflow-wrap: anywhere; }
.kc-pcard-nopic { grid-template-columns: minmax(0, 1fr); }
.kc-pcard-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background: var(--kc-soft); }
.kc-pcard-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-pcard-text { min-width: 0; }
.kc-pcard-title { font-weight: 700; font-size: 1.05rem; }
.kc-pcard-meta { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.kc-card .kc-plist { margin-bottom: .6rem; }
.kc-more { margin: .3rem 0 0; }
.kc-post { max-width: 46rem; }
.kc-post-head h1 { margin: .1rem 0 .3rem; overflow-wrap: anywhere; }
.kc-post-meta { margin: 0 0 .8rem; color: var(--muted); }
.kc-body { line-height: 1.65; overflow-wrap: anywhere; }
.kc-body p, .kc-body ul, .kc-body ol { margin: 0 0 1rem; max-width: 46rem; }
.kc-bh { margin: 1.6rem 0 .6rem; font-size: 1.25rem; }
h3.kc-bh { font-size: 1.08rem; }
.kc-blink { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem .5rem; }
.kc-fig { margin: 1rem 0 1.2rem; }
.kc-fig img { display: block; max-width: 100%; height: auto; border-radius: 8px; background: var(--kc-soft); }
.kc-fig figcaption { margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.kc-credit { white-space: nowrap; }
.kc-cover img { width: 100%; }
.kc-video { margin: 1rem 0 1.2rem; max-width: 46rem; }
.kc-video-play { position: relative; display: grid; place-items: center; align-content: center; gap: .35rem; width: 100%; aspect-ratio: 16 / 9; padding: 1rem; border: 1px solid var(--kc-edge); border-radius: 10px; cursor: pointer;
  color: #f6efe0; background: radial-gradient(circle at 50% 45%, #3a2f22, #14110d 75%); font: inherit; text-align: center; }
.kc-video-play:hover, .kc-video-play:focus-visible { border-color: var(--accent); }
.kc-video-icon { width: 4.2rem; height: 3rem; border-radius: 14px; background: rgba(217, 169, 90, .92); position: relative; }
.kc-video-icon::after { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: .75rem 0 .75rem 1.25rem; border-color: transparent transparent transparent #14110d; }
.kc-video-title { font-weight: 700; font-size: 1.1rem; max-width: 30rem; overflow-wrap: anywhere; }
.kc-video-hint { font-size: .88rem; opacity: .8; }
.kc-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.kc-video-link { margin: .35rem 0 0; font-size: .92rem; }
.kc-albums { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: .8rem; }
.kc-albums-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kc-album { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .5rem .5rem .65rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.kc-album:hover, .kc-album:focus-visible { border-color: var(--accent); }
.kc-album-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background: var(--kc-soft); margin-bottom: .3rem; color: var(--muted); }
.kc-album-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-album-name { font-weight: 700; }
.kc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)); gap: .7rem; }
.kc-grid figure { margin: 0; }
.kc-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--kc-soft); }
.kc-grid figcaption { margin-top: .3rem; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.kc-tagline { margin: 0 0 .6rem; }
.kc-dues { display: flex; gap: .2rem; margin-top: .6rem; padding: .7rem .9rem; border-radius: 8px; background: var(--kc-soft); border: 1px solid var(--kc-edge); }
.kc-dues p { margin: .2rem 0 0; }
.kc-layout { padding: .9rem 0 0; border-top: 1px solid var(--kc-edge); }
.kc-layout:first-of-type { border-top: 0; padding-top: 0; }
.kc-layout h3 { margin: 0 0 .5rem; font-size: 1.1rem; overflow-wrap: anywhere; }
.kc-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 .7rem; }
.kc-facts dt { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.kc-facts dd { margin: 0; font-weight: 600; }
.kc-thumbs { list-style: none; margin: .4rem 0 .8rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr)); gap: .45rem; }
.kc-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--kc-soft); }
.kc-plan { margin: .4rem 0 .8rem; max-width: 30rem; }
.kc-plan img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; }
.kc-plan figcaption { color: var(--muted); font-size: .88rem; margin-top: .25rem; }
.kc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.kc-pair .kc-card { margin: .5rem 0; }
.kc-officers, .kc-assoc, .kc-socials { list-style: none; margin: 0 0 .5rem; padding: 0; }
.kc-officers li, .kc-assoc li { padding: .3rem 0; border-top: 1px solid var(--kc-edge); }
.kc-officers li:first-child, .kc-assoc li:first-child { border-top: 0; }
.kc-role { display: inline-block; min-width: 7.5rem; color: var(--muted); font-size: .92rem; }
.kc-socials { display: flex; flex-wrap: wrap; gap: .45rem; }
.kc-social { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .85rem; border-radius: 999px; border: 1px solid var(--kc-edge); background: var(--kc-soft); color: var(--text); text-decoration: none; font-weight: 600; }
.kc-social:hover, .kc-social:focus-visible { border-color: var(--accent); }
.kc-stale { display: flex; align-items: center; margin: 0 0 1rem; padding: .55rem .9rem; border-radius: 8px; border: 1px dashed var(--kc-edge); }
/* the dashboard */
.kc-empty { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; align-items: center; margin: .5rem 0 1rem; }
.kc-empty img { display: block; width: 8rem; height: 8rem; object-fit: contain; opacity: .92; }
.kc-empty-text p { margin: 0 0 .5rem; color: var(--muted); max-width: 32rem; }
.kc-secnav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .4rem; }
.kc-secnav a { line-height: 1.35; padding: .3rem .65rem; border-radius: 6px; border: 1px solid var(--kc-edge); text-decoration: none; color: var(--text); }
.kc-secnav a[aria-current="page"] { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }
.kc-dot { display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); vertical-align: .1rem; margin-left: .2rem; }
.kc-secnav a[aria-current="page"] .kc-dot { background: var(--btn-text); }
.kc-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; }
.kc-keep { display: inline-flex; align-items: center; gap: .45rem; margin: 0 .9rem .5rem 0; }
.kc-keep img { border-radius: 6px; height: auto; }
.kc-consent { display: block; padding: .6rem .8rem; border-radius: 8px; border: 1px solid var(--kc-edge); background: var(--kc-soft); }
.kc-consent input { margin-right: .35rem; }
.kc-usage { margin: .6rem 0 0; color: var(--muted); font-size: .9rem; }
.kc-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-right: 1rem; }
.kc-inline select { width: auto; max-width: 100%; flex: 0 1 auto; }   /* the global select is 100% wide, which squeezed the label to a letter a line */
.kc-blocks { display: grid; gap: .6rem; }
.kc-block { margin: 0; padding: .6rem .8rem .7rem; border: 1px solid var(--kc-edge); border-radius: 8px; background: var(--kc-soft); }
.kc-block legend { padding: 0 .3rem; font-weight: 700; font-size: .9rem; color: var(--muted); }
.kc-block textarea, .kc-block input:not([type=checkbox]) { width: 100%; }
.kc-btools { display: flex; gap: .7rem; justify-content: flex-end; margin: -.2rem 0 .3rem; }
.kc-bthumb { display: block; border-radius: 6px; margin: 0 0 .4rem; height: auto; }
.kc-adders .btn { margin: .15rem 0; }
.kc-schedule { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; margin-top: .6rem; }
.kc-more-opts summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.kc-state { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.kc-saved { color: var(--muted); font-size: .9rem; }
.kc-pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: .9rem; }
.kc-pedit img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--kc-soft); margin-bottom: .4rem; }
@media (max-width: 860px) { .kc-albums-small { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .kc-pair, .kc-row2 { grid-template-columns: minmax(0, 1fr); }
  .kc-subsearch { flex: 1 1 100%; margin-left: 0; }
  .kc-pcard { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .7rem; padding: .55rem; }
  .kc-empty { grid-template-columns: 5rem minmax(0, 1fr); }
  .kc-empty img { width: 5rem; height: 5rem; }
  .kc-role { display: block; min-width: 0; }
}
.kc-pair .kc-half { min-width: 0; }
.kc-drop { font-size: .88rem; color: var(--muted); }
.kc-editor .kc-actions { margin-top: .4rem; }

/* step 4b (78.22): events, the demo club's strip and banner, "Add your club" */
.kc-demo-strip { margin: 0 0 1rem; padding: .6rem .9rem; border-radius: 8px; border: 1px dashed var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .95rem; overflow-wrap: anywhere; }
.kc-demo-badge { position: absolute; z-index: 2; top: clamp(.5rem, 1.6vw, .9rem); right: clamp(.5rem, 1.6vw, .9rem); padding: .2rem .7rem; border-radius: 999px; background: #e2b25c; color: #1c1408;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.kc-banner .kc-banner-name { z-index: 1; }
.kc-quietlink { margin-left: .6rem; font-size: .92rem; }
.kc-evlist { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .6rem; }
.kc-evlist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kc-ev { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: .8rem; align-items: start; padding: .65rem .75rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); overflow-wrap: anywhere; }
.kc-card .kc-ev { background: var(--kc-soft); }
.kc-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 3.6rem; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--kc-edge)); background: var(--kc-card); line-height: 1.05; }
.kc-date-m { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kc-date-d { font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--kc-head); }
.kc-date-none .ico { width: 1.4rem; height: 1.4rem; margin: 0; opacity: .6; }
.kc-ev-text { min-width: 0; }
.kc-ev-tags { margin: 0 0 .15rem; }
.kc-ev-title { font-weight: 700; font-size: 1.05rem; }
.kc-ev-when, .kc-ev-where, .kc-ev-club { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
.kc-ev-club a { color: var(--text); }
.kc-tag.kc-cancel { border-color: var(--bad); color: var(--bad); }
.kc-evhead { min-height: 12rem; }
.kc-evplaces { margin: 0 0 .8rem; }
.kc-evplaces a[aria-current="page"] { border-color: var(--accent); }
.kc-evkinds { margin: 0 0 1rem; }
.kc-evnone { margin: 1rem 0; }
.kc-evhub { margin: 0 0 1rem; }
.kc-ics { margin: .4rem 0 1rem; }
.kc-pastlist { padding-left: 1.2rem; }
.kc-pastlist li { margin: .2rem 0; }
.kc-event { max-width: 46rem; }
.kc-event-pic, .kc-event-pic img { display: block; width: 100%; }
.kc-event-pic img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--kc-soft); }
.kc-event .kc-post-head { margin-top: .9rem; }
.kc-dates { list-style: none; margin: 0; padding: 0; }
.kc-dates li { padding: .35rem 0; border-top: 1px solid var(--kc-edge); }
.kc-dates li:first-child { border-top: 0; }
.kc-dates li.kc-off { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.kc-dates li.kc-off .kc-tag, .kc-dates li.kc-off .muted { text-decoration: none; display: inline-block; }
.kc-daterows > li { padding: .5rem 0; border-top: 1px solid var(--kc-edge); }
.kc-daterows > li:first-child { border-top: 0; }
.kc-daterows p { margin: 0 0 .3rem; }
.kc-daterows summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; color: var(--accent); }
.kc-allday { align-self: end; margin-bottom: .6rem; }
.kc-addcard { margin-top: 2rem; }
@media (max-width: 760px) { .kc-evlist-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .kc-ev { grid-template-columns: 3rem minmax(0, 1fr); gap: .6rem; padding: .55rem; }
  .kc-date { min-height: 3rem; }
  .kc-date-d { font-size: 1.2rem; }
  .kc-demo-badge { font-size: .72rem; padding: .15rem .55rem; }
  .kc-quietlink { display: inline-block; margin: .5rem 0 0; }
}

/* step 5 (78.23): loves, comments, a picture's own page, the partner's offer line and the Numbers table. Same tokens, dark and light. */
.kc-react { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .8rem 0 1.2rem; }
.kc-love { margin: 0; }
.kc-love-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid var(--kc-edge);
  background: var(--kc-card); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; box-shadow: var(--kc-shadow); }
.kc-love-btn:hover, .kc-love-btn:focus-visible { border-color: var(--accent); }
.kc-heart { display: inline-block; width: 1.1rem; height: 1.1rem; flex: none; background: currentColor; opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.3 8.3 2.1 4 6.1 4c2.3 0 3.9 1.4 5.9 3.6C14 5.4 15.6 4 17.9 4c4 0 5.8 4.3 4.1 7.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.3 8.3 2.1 4 6.1 4c2.3 0 3.9 1.4 5.9 3.6C14 5.4 15.6 4 17.9 4c4 0 5.8 4.3 4.1 7.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; }
.kc-love-btn[aria-pressed="true"] { border-color: var(--bad); }
.kc-love-btn[aria-pressed="true"] .kc-heart { background: var(--bad); opacity: 1; }
.kc-love-n { font-variant-numeric: tabular-nums; color: var(--muted); }
.kc-love-btn:disabled { opacity: .7; cursor: progress; }

.kc-comments .kc-cmts, .kc-cmts { list-style: none; margin: 0 0 1rem; padding: 0; }
.kc-cmt { padding: .75rem 0; border-top: 1px solid var(--kc-edge); }
.kc-cmts > .kc-cmt:first-child { border-top: 0; }
.kc-cmt-who { margin: 0 0 .25rem; overflow-wrap: anywhere; }
.kc-cmt-body p { margin: 0; overflow-wrap: anywhere; }
.kc-cmt-body a { overflow-wrap: anywhere; }
blockquote.kc-cmt-body { margin: .8rem 0; padding: .6rem .9rem; border-left: 3px solid var(--kc-rule); background: var(--kc-soft); border-radius: 0 8px 8px 0; }
blockquote.kc-cmt-body footer { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.kc-cmt-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: .35rem 0 0; font-size: .9rem; }
.kc-cmt-acts form.inline { display: inline; }
.kc-cmt-replies { list-style: none; margin: .4rem 0 0 1.1rem; padding: 0 0 0 .9rem; border-left: 2px solid var(--kc-edge); }
.kc-cmt-replies .kc-cmt { padding: .55rem 0; }
.kc-report summary { cursor: pointer; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.kc-report[open] { flex-basis: 100%; }
.kc-replying { margin: 0; padding: .45rem .7rem; border-radius: 8px; background: var(--kc-soft); }
.kc-cform { margin-top: .6rem; }
.kc-count { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--bad); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; }

.kc-photo-fig { margin: 0 0 .6rem; }
.kc-photo-fig img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: var(--radius); background: var(--kc-soft); }
.kc-photo-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin: .3rem 0; }
.kc-photo-nav > a { min-height: 44px; display: inline-flex; align-items: center; }
.kc-photo-nav > a[rel="next"] { justify-self: end; }

.kc-offer { margin: 1.6rem 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--kc-card); border: 1px solid var(--kc-edge); box-shadow: var(--kc-shadow); }
.kc-offer .kc-h { margin-top: 0; }
.kc-offer p { margin: .3rem 0; }

.kc-numbers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kc-numbers th, .kc-numbers td { padding: .45rem .6rem; border-top: 1px solid var(--kc-edge); text-align: right; }
.kc-numbers th[scope="row"], .kc-numbers thead th:first-child { text-align: left; font-weight: 600; }
.kc-numbers thead th { border-top: 0; color: var(--muted); font-size: .85rem; }
pre.kc-link { white-space: pre-wrap; overflow-wrap: anywhere; padding: .6rem .8rem; border-radius: 8px; background: var(--kc-soft); border: 1px solid var(--kc-edge); }
@media (max-width: 600px) {
  .kc-cmt-replies { margin-left: .4rem; padding-left: .6rem; }
  .kc-numbers th, .kc-numbers td { padding: .4rem .35rem; font-size: .92rem; }
}

/* step 9 (78.27): near search, jump to a state, scale chips, a region's events, status pills, the next event, the officers' bar, section
   pills, two columns on a laptop, the show flyer */
.kc-near-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .7rem 0 0; }
.kc-near-label { font-weight: 700; }
.kc-near-form input[type=search] { flex: 1 1 11rem; min-width: 0; min-height: 44px; }
.kc-near-form select { flex: 0 1 8rem; min-height: 44px; }
.kc-near-form .btn { min-height: 44px; }
.kc-near-hint { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
/* SPEC 78.33: "Finding you..." on the Use my location buttons: a small turning ring; no ring and no turning for reduced motion, the words alone */
.kc-spin { display: inline-block; width: .9em; height: .9em; margin-right: .5em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kc-spin .8s linear infinite; }
@keyframes kc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kc-spin { animation: none; display: none; } }
.kc-dist { display: inline-block; margin-left: .45rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.kc-credit { margin: 1rem 0 0; }
.kc-twocards > * { margin-top: 1rem; margin-bottom: 1rem; }
.kc-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .8rem; }
.kc-jump select { flex: 0 1 18rem; min-height: 44px; }
.kc-jump .btn { min-height: 44px; }
.kc-regions-compact { grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: .35rem; }
.kc-regions-compact a { min-height: 40px; padding: .3rem .6rem; font-size: .93rem; }
.kc-fchips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.kc-fchip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .25rem .8rem; border-radius: 999px; background: var(--kc-card); border: 1px solid var(--kc-edge); color: var(--text); text-decoration: none; font-weight: 600; }
.kc-fchip:hover, .kc-fchip:focus-visible { border-color: var(--accent); }
.kc-fchip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--btn-text); }
.kc-fchip .kc-n { font-size: .82rem; opacity: .85; }
.kc-sfilter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem .75rem; margin: 0 0 1rem; }
.kc-sfilter-f { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; font-weight: 600; }
.kc-sfilter-f select { min-height: 40px; max-width: 100%; }
.kc-sfilter-clear { align-self: center; }
.kc-town { scroll-margin-top: 1rem; }
.kc-town-list li { margin: .25rem 0; }
.kc-town-find input { max-width: 18rem; }
.kc-region-events { margin: 1rem 0; }
.kc-status { border-color: var(--ctl); color: var(--text); }
.kc-acc-yes { border-color: #3f9a5d; color: #3f9a5d; }
.kc-acc-waiting { border-color: #c08a22; color: #c08a22; }
.kc-acc-no { border-color: var(--ctl); color: var(--muted); }
.kc-lt { font-weight: 600; }
.kc-waiting { display: flex; align-items: flex-start; gap: .35rem; margin: .4rem 0 .8rem; }
.kc-next-title { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 700; }
.kc-next-when { margin: 0; font-weight: 600; }
.kc-next-where { margin: .15rem 0 0; color: var(--muted); }
.kc-next p:last-child { margin: .7rem 0 0; }
.kc-offbar { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin: 0 0 .8rem; padding: .4rem .75rem; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 12%, var(--kc-card)); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--kc-edge)); }
.kc-offbar a { font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.kc-offbar-k { color: var(--muted); font-size: .88rem; margin-right: .2rem; }
.kc-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; }
.kc-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border-radius: 999px; background: var(--kc-card); border: 1px solid var(--kc-edge); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.kc-pills a:hover, .kc-pills a:focus-visible { border-color: var(--accent); }
.kc-pills a[aria-current] { border-color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }   /* SPEC 78.33: the part in view */
.kc-copyev { margin-top: .6rem; }
/* a club page: one column on a phone in its usual order; two on a laptop (the club's words left, At a glance and the cards right) */
.kc-cols { display: flex; flex-direction: column; }
.kc-main, .kc-side { display: contents; }
.kc-o1 { order: 1; } .kc-o2 { order: 2; } .kc-o3 { order: 3; } .kc-o4 { order: 4; } .kc-o5 { order: 5; } .kc-o6 { order: 6; }
.kc-o7 { order: 7; } .kc-o8 { order: 8; } .kc-o9 { order: 9; } .kc-o10 { order: 10; } .kc-o11 { order: 11; }
@media (min-width: 768px) {
  .kc-twocards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
  .kc-twocards > * { margin: 1rem 0; }
  .kc-twocards .kc-claim, .kc-twocards .kc-claimcard { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .kc-twocards .kc-claim-pic img, .kc-twocards .kc-claimcard-pic img { aspect-ratio: 5 / 2; }
  .kc-cols { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 0 1.25rem; align-items: start; }
  .kc-main, .kc-side { display: block; min-width: 0; grid-row: 1; }
  .kc-main { grid-column: 1; }
  .kc-side { grid-column: 2; }
  .kc-side .kc-dl > div { grid-template-columns: minmax(0, 1fr); }
  .kc-side .kc-dl dd { padding-left: 1.75rem; }
  .kc-side .kc-claimcard { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .kc-side .kc-claimcard-pic img { aspect-ratio: 5 / 2; }
}
#kc-results { scroll-margin-top: .5rem; }

/* the show flyer (E): light print colors whatever the theme; US Letter, or two half-sheets on one */
.kc-flyer-controls { margin-bottom: 1rem; }
.kf-page { display: grid; justify-content: center; gap: 1rem; }
.kf-sheet { box-sizing: border-box; width: 8.5in; max-width: 100%; min-height: 10.4in; padding: .45in .5in .3in; display: flex; flex-direction: column; text-align: center;
  background: #fff; color: #1f1d1a; border: 1px solid #d8d2c6; border-radius: 6px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.kf-club { flex: 3 1 auto; display: flex; flex-direction: column; align-items: center; }
.kf-banner { position: relative; width: 100%; height: 1.55in; overflow: hidden; border-radius: 6px; background: #e9e3d8; margin-bottom: .2in; }
.kf-name { margin: 0; font-size: 30pt; line-height: 1.1; color: #1f1d1a; overflow-wrap: anywhere; }
.kf-where { margin: .06in 0 0; font-size: 15pt; color: #4a463f; }
.kf-scales { display: flex; flex-wrap: wrap; justify-content: center; gap: .08in; margin: .12in 0 0; }
.kf-scale { padding: .02in .14in; border: 1.5px solid #9a5b12; border-radius: 999px; color: #9a5b12; font-weight: 700; font-size: 12pt; }
.kf-meet { margin: .14in 0 0; font-size: 13pt; color: #1f1d1a; max-width: 6.5in; }
.kf-next { margin: .12in auto 0; padding: .05in .16in; max-width: 6.5in; border: 1.5px solid #9a5b12; border-radius: 6px; font-size: 13pt; color: #1f1d1a; }
.kf-next-k { color: #9a5b12; font-weight: 700; }
.kf-qr { width: 3in; height: 3in; margin: .22in auto .08in; }
.kf-qr svg { display: block; width: 100%; height: 100%; }
.kf-url { margin: 0; font-size: 13pt; font-weight: 700; letter-spacing: .01em; color: #1f1d1a; overflow-wrap: anywhere; }
.kf-callout { margin: .1in auto 0; max-width: 6in; font-size: 14pt; color: #1f1d1a; }
.kf-track { height: 14px; margin: .22in 0 .16in; border-top: 2px dashed #6b5d4a; border-bottom: 2px dashed #6b5d4a;
  background: repeating-linear-gradient(90deg, transparent 0 12px, #b9a88f 12px 16px); }
.kf-kmt { flex: 1 1 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2in; align-items: center; text-align: left; }
.kf-brand { display: flex; flex-direction: column; align-items: center; gap: .04in; margin: 0; font-weight: 800; font-size: 13pt; color: #1f1d1a; }
.kf-brand img { width: .9in; height: auto; }
.kf-pillars { margin: 0; padding: 0 0 0 1.1em; font-size: 11.5pt; color: #2b2721; }
.kf-pillars li { margin: .03in 0; }
.kf-foot { margin: .14in 0 0; font-size: 8.5pt; color: #4a463f; }
.kf-half { min-height: 5.3in; padding: .22in .35in .15in; }
.kf-half .kf-banner { height: .7in; margin-bottom: .08in; }
.kf-half .kf-name { font-size: 18pt; }
.kf-half .kf-where, .kf-half .kf-meet, .kf-half .kf-next, .kf-half .kf-callout, .kf-half .kf-url { font-size: 10pt; }
.kf-half .kf-scale { font-size: 9pt; }
.kf-half .kf-qr { width: 1.6in; height: 1.6in; margin: .08in auto .03in; }
.kf-half .kf-track { margin: .08in 0 .06in; height: 10px; }
.kf-half .kf-pillars { font-size: 8.5pt; }
.kf-half .kf-brand { font-size: 10pt; }
.kf-half .kf-brand img { width: .55in; }
.kf-half .kf-foot { font-size: 7pt; margin-top: .06in; }
@media print {
  @page { size: letter; margin: .3in; }
  body:has(.kf-page) { background: #fff !important; }
  body:has(.kf-page) header.top, body:has(.kf-page) .foot, body:has(.kf-page) .help-tip, body:has(.kf-page) .kc-preview, body:has(.kf-page) .kc-demo-strip,
  body:has(.kf-page) .season-line, body:has(.kf-page) .flash, body:has(.kf-page) .skip, body:has(.kf-page) .notice, body:has(.kf-page) .support-bar,
  body:has(.kf-page) .demo-banner, body:has(.kf-page) .kc-flyer-controls { display: none !important; }
  :root:has(.kf-page) { color-scheme: light; }
  body:has(.kf-page) main.wide { padding: 0; max-width: none; }
  .kf-page { display: block; }
  .kf-sheet { width: 100%; min-height: 10.3in; border: 0; border-radius: 0; break-inside: avoid; }
  .kf-two .kf-sheet { min-height: 5.15in; height: 5.15in; overflow: hidden; }
  .kf-two .kf-sheet + .kf-sheet { border-top: 1px dashed #999; }
}

.kc-geo .ico { margin-right: .3rem; }

/* SPEC 81: the partner commission line on the join form, and the agreement card on the dashboard */
.kc-partner-note { margin: .25rem 0 .9rem; }
.kc-agree-due .kc-agree { margin: .6rem 0; }
.kc-agree-editor p { margin: .5rem 0; }

/* 78.32: the club dashboard on a phone (Argon's review of the demo club recording). Desktop keeps its table columns and layout. */
.kc-updates .kc-sub { display: none; }
.kc-body-label { margin: .5rem 0 .1rem; font-weight: 700; }
.kc-body-label small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.kc-body-field .kc-adders { margin: .5rem 0 0; }
.kc-more-opts summary { list-style: none; }
.kc-more-opts summary::-webkit-details-marker { display: none; }
.kc-chev { flex: none; width: .5rem; height: .5rem; margin: 0 .65rem 0 .15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
.kc-more-opts[open] > summary .kc-chev { transform: rotate(45deg); }
a.kc-next { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .kc-chev { transition: none; } }
@media (max-width: 600px) {
  .kc-updates .kc-wide { display: none; }
  .kc-updates .kc-sub { display: block; margin-top: .15rem; color: var(--muted); font-size: .85rem; font-weight: 400; }
  .kc-evnew .kc-evform { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
  .kc-evnew .kc-inline { display: grid; gap: .3rem; width: 100%; margin-right: 0; }
  .kc-evnew select { width: 100%; max-width: 100%; min-width: 0; }
  .kc-evtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kc-evtable, .kc-evtable tbody, .kc-evtable tr, .kc-evtable td { display: block; width: 100%; }
  .kc-evtable tr { padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .kc-evtable td { padding: .1rem 0; border: 0; overflow-wrap: anywhere; }
  .kc-evtable .kc-evname { font-weight: 600; }
  .kc-evtable td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .85rem; }
}
.kc-fchip-none { opacity: .55; color: var(--muted); cursor: default; }   /* a kind with no coming dates here: shown, not a link */
/* ---------- site polish (2026-11-18): one page-top for clubs, shows and shops: the words on the left over a dark fade, no glass box, no drifting glow ---------- */
.kc-hero, .kc-state { justify-items: start; padding: clamp(1.25rem, 4vw, 2.75rem) clamp(.9rem, 3vw, 2rem); }
.kc-hero { min-height: 22rem; }
.kc-hero::before, .kc-state::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16,13,10,.94) 0%, rgba(16,13,10,.84) 42%, rgba(16,13,10,.32) 78%, rgba(16,13,10,.06) 100%); }
.kc-hero .kc-glow, .kc-state .kc-glow { display: none; }
.kc-hero-panel, .kc-state-panel { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; max-width: 40rem; }
.kc-hero-panel h1 { font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.12; }
@media (max-width: 640px) { .kc-hero::before, .kc-state::before { background: rgba(16,13,10,.8); } }

/* Site polish 3 (2026-11-19): the club directory uses the browse width (app.css --w-browse) like the other directories */
main.wide:has(> .kc-hero) { max-width: var(--w-browse, 74rem); }
