/* Hallmark · checked: 2026-10-29 · genre: editorial (inferred: one region, people and routes first)
     * floor: 0 FAIL · fixed: 7a, 19, 24b, 39b, 48, 50, 63, 79, 11 · structural: printed (44c, 77, 78)
     * built: the project · redesign: polish · v2.0.0 */
    /* Hallmark · waive 49b · ссылка-заголовок в карточке маршрута, отчёта и журнала занимает всю ширину карточки · названия маршрутов на TrailTrack настоящие и длинные (real route names from trailtrack, kept word for word), на телефоне 320px они переносятся */
    /* Hallmark · answered F20 · фильтры сложности, «У воды», «Экотропа» и порядок стоят в одну строку на 1440 (filters, tags and sort share one toolbar row; wrap only on narrow screens) */

    /* ---------- region head ---------- */
    .rh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; margin-bottom: 24px; }
    .rh__copy { max-width: 800px; }

    .rh__places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .rh__places .chip .icon { color: var(--quiet); }

    /* ---------- gallery ---------- */
    .rgal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 218px 218px; gap: 8px; overflow: hidden; border-radius: var(--r-lg); }
    .rgal__t { position: relative; display: block; overflow: hidden; background: var(--ink-fixed); color: var(--on-accent); isolation: isolate; }
    .rgal__t:first-child { grid-row: span 2; }
    .rgal__t img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
    .rgal__t::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--scrim-72) 0%, var(--scrim-25) 38%, var(--scrim-00) 60%); }
    .rgal__t:focus-visible { outline-offset: -4px; outline-color: var(--on-accent); }
    .rgal__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: var(--fs-small); font-weight: var(--fw-button); line-height: var(--lh-small); }
    .rgal__t:first-child .rgal__cap { left: 22px; right: 22px; bottom: 20px; max-width: 30em; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); line-height: var(--lh-h4); }

    /* ---------- section nav ---------- */
    .rnav { position: sticky; top: 68px; z-index: 40; margin-top: 24px; background: var(--bg); }
    .rnav.is-stuck { box-shadow: 0 10px 20px -18px var(--shade-25); }
    .rnav .tabs a { min-height: 50px; }
    .rnav .tabs a[aria-current="true"] { border-color: var(--orange); color: var(--ink); }
    .rsec { margin-top: clamp(44px, 5.5vw, 72px); scroll-margin-top: 136px; }
    .rsec > .head { margin-bottom: 20px; }

    /* ---------- themes ---------- */
    .themes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
    .theme { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
    .theme h3 { margin-bottom: 16px; font-size: var(--fs-body); font-weight: var(--fw-title); line-height: var(--lh-h4); }
    .stackbar { display: flex; gap: 4px; height: 12px; overflow: hidden; border-radius: 999px; }
    .stackbar i { display: block; height: 100%; }
    .legend { display: grid; margin-top: 12px; }
    .legend a { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 16px; align-items: center; gap: 8px; margin: 0 -8px; padding: 8px; border-radius: 10px; font-size: var(--fs-small); }
    .legend a:hover { background: var(--bg-soft); }
    .legend .dot { width: 10px; height: 10px; border-radius: 3px; }
    .legend b { font-variant-numeric: tabular-nums; }
    .legend .icon { width: 16px; height: 16px; color: var(--quiet); }
    .c-easy { background: var(--ok); }
    .c-mid { background: var(--warn); }
    .c-hard { background: var(--cta); }
    .c-day { background: var(--ink-2); }
    .c-multi { background: var(--orange); }
    .theme__chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .theme__chips .chip { padding-right: 8px; }
    .theme__chips .count-badge { margin-left: 2px; }

    /* ---------- routes ---------- */
    .rtools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
    .rtools__tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .rtools__tags .chip[aria-pressed="true"] .seg__n { color: inherit; opacity: 0.75; }
    .rtools__sort { display: flex; align-items: center; gap: 8px; }
    .rtools__sort .select { width: auto; border-radius: 999px; font-size: var(--fs-small); }
    .rcard { position: relative; }
    .rcard .route__fav { z-index: 2; }
    .rcard .route__fav[aria-pressed="true"] { color: var(--cta); }
    .rcard .route__fav[aria-pressed="true"] svg { fill: currentColor; }
    .rmore { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 32px; }

    /* ---------- reports & side ---------- */

    /* ---------- journal ---------- */

    /* ---------- map ---------- */
    .page { padding-bottom: 16px; }

    @media (prefers-reduced-motion: reduce) { .rgal__t img { transition: none; } }
    @media (max-width: 1180px) {
        .themes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
        .themes .theme:last-child { grid-column: 1 / -1; }
    }
    @media (max-width: 1023px) {
        .rh { grid-template-columns: minmax(0, 1fr); }
        .rgal { grid-template-rows: 180px 180px; }
    }
    @media (max-width: 767px) {
        .rh { margin-bottom: 16px; }
        .rgal { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; border-radius: 0; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
        .rgal::-webkit-scrollbar { display: none; }
        .rgal__t { flex: 0 0 82%; height: 230px; border-radius: 16px; scroll-snap-align: start; }
        .rgal__t:first-child .rgal__cap { left: 14px; right: 14px; bottom: 12px; font-size: var(--fs-body); }
        .rnav { top: 60px; margin-top: 16px; }
        .rnav .tabs a { min-height: 46px; padding: 0 12px; font-size: var(--fs-small); }
        .rsec { scroll-margin-top: 116px; }
        .themes { grid-template-columns: minmax(0, 1fr); }
        .themes .theme:last-child { grid-column: auto; }
        .rtools { gap: 8px; }
        .rtools > .seg { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
        .rtools > .seg button { flex: 1 0 auto; padding: 0 12px; }
        .rtools__tags { flex-wrap: nowrap; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; overflow-x: auto; scrollbar-width: none; }
        .rtools__tags::-webkit-scrollbar { display: none; }
        .rtools__tags .chip { flex: none; }
        .rtools__sort { width: 100%; }
        .rtools__sort .select { flex: 1; }
    }

    /* ---------- distill + air: one calm column, people first ---------- */
    .rh .lead { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-body); }
    .rh__places { margin-top: 16px; }
    .rgal__cap { font-family: var(--font-display); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); }
    .rsec { margin-top: 96px; }
    .rsec--tight { margin-top: 64px; }
    .rsec > .head { align-items: center; margin-bottom: 24px; }

    .people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .pp { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 28px 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-align: center; }
    .pp .avatar--lg { width: 72px; height: 72px; margin-bottom: 8px; font-size: var(--fs-h4); }
    .pp__name { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); line-height: var(--lh-h4); }
    .pp__name:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
    .pp__meta { color: var(--quiet); font-size: var(--fs-small); }
    .pp .btn-follow, .pp__you { margin-top: 16px; }
    .pp__you { display: inline-grid; place-items: center; min-height: 36px; color: var(--quiet); font-size: var(--fs-small); font-weight: var(--fw-button); }

    .reps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .rep { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color 160ms, box-shadow 160ms; }
    .rep:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
    .rep__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
    .rep__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
    .rep__ph { display: grid; place-items: center; height: 100%; color: var(--quiet); }
    .rep__ph .icon { width: 32px; height: 32px; }
    .rep__body { display: grid; align-content: start; gap: 8px; padding: 20px 24px 24px; }
    .rep__who { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: var(--fs-small); font-weight: var(--fw-ui); }
    .rep__who a:hover { text-decoration: underline; }
    .rep__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); line-height: var(--lh-h4); }
    .rep__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
    .rep:hover .rep__title { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
    .rep__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--quiet); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; }
    .rep-more { display: flex; margin: 32px auto 0; }

    .cstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .cs { display: grid; justify-items: start; align-content: start; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--bg-soft); }
    .cs__route { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-body); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); line-height: var(--lh-h4); }
    .cs:hover .cs__route { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
    .cs:hover { background: var(--line); }
    .cs__who { display: flex; align-items: center; gap: 8px; color: var(--quiet); font-size: var(--fs-caption); }

    #rgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
    .rtools { margin-bottom: 28px; }
    .rmore { margin-top: 36px; }
    .themes { gap: 24px; }
    .theme { padding: 24px; }
    .club-row { grid-template-columns: 52px minmax(0, 1fr) auto; max-width: 760px; padding: 20px 24px; }
    .rmap { align-items: center; }
    .toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: var(--fs-small); font-weight: var(--fw-ui); box-shadow: var(--shadow-lg); transform: translateX(-50%); }

    @media (pointer: coarse) {
        .pp__name, .rep__who a { display: inline-flex; align-items: center; min-height: 44px; }
        .rep__body { gap: 2px; }
        .legend a { min-height: 44px; }
    }
    @media (max-width: 1180px) {
        #rgrid, .reps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 1023px) {
        .rh { grid-template-columns: minmax(0, 1fr); }
        .rh > .btn { justify-self: start; }
        .cstrip { display: flex; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
        .cstrip::-webkit-scrollbar { display: none; }
        .cs { flex: 0 0 280px; scroll-snap-align: start; }
    }
    @media (max-width: 767px) {
        .rsec { margin-top: 56px; }
        .rsec--tight { margin-top: 40px; }
        .rh > .btn { width: 100%; }
        .people { gap: 12px; }
        .pp { padding: 20px 12px; }
        .pp .avatar--lg { width: 60px; height: 60px; }
        .pp__name { font-size: var(--fs-body); }
        .reps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
        #rgrid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
        .club-row { grid-template-columns: 52px minmax(0, 1fr); }
        .club-row .btn, .club-row .btn-follow { grid-column: 1 / -1; justify-self: start; padding-inline: 16px; }
        .rmap .btn { width: 100%; }
    }
    /* rules for the builder-generated tiles, rows and cards */
    .rcard.is-flash .route__media { box-shadow: 0 0 0 3px var(--orange); }
    .rcard .route__people .avatars .avatar { border-color: var(--bg); }
    /* sweep additions */
    .jgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .jcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; min-width: 0; }
    .jcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 200ms, transform 300ms var(--ease-out); }
    .jcard__media img { width: 100%; height: 100%; object-fit: cover; }
    .jcard:hover .jcard__media { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
    .jcard__title { font-size: var(--fs-h4); line-height: var(--lh-h4); }
    .jcard:hover .jcard__title a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
    .jcard__title a { display: inline-block; padding-block: 12px; margin-block: -12px; }
    .jr-by { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--quiet); font-size: var(--fs-small); line-height: var(--lh-small); }
    .jr-by .avatar { width: 28px; height: 28px; font-size: var(--fs-caption-tight); }
    .jr-by b { overflow: hidden; color: var(--ink-2); font-weight: var(--fw-ui); white-space: nowrap; text-overflow: ellipsis; }
    .jr-by span { white-space: nowrap; }
    .avatar--logo { background: var(--bg-soft); border: 1px solid var(--line); }
    .avatar--logo img { width: 62%; height: 62%; border-radius: 0; object-fit: contain; }
    .jstats { display: flex; align-items: center; gap: 2px; color: var(--quiet); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
    .jstat { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 8px; font-weight: var(--fw-ui); }
    .jstat .icon { width: 16px; height: 16px; }
    .jr-chip { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--scrim-66); color: var(--on-accent); font-size: var(--fs-caption); font-weight: var(--fw-button); line-height: var(--lh-caption); }
    .jr-chip .icon { width: 14px; height: 14px; }
    .jr-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .jr-meta .jr-by { flex: 1 1 auto; }
    .jr-meta .jstats { flex: none; }
    @media (max-width: 1180px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 767px) { .jgrid { grid-template-columns: minmax(0, 1fr); } }

    /* QA fixes */
    .page .wrap { max-width: calc(1520px + var(--edge) * 2); }
    .cstrip > li { min-width: 0; }
    .rgal__t::before { background: linear-gradient(0deg, var(--scrim-80) 0%, var(--scrim-55) 28%, var(--scrim-00) 62%); }
    .rgal__t:hover::before { background: linear-gradient(0deg, var(--scrim-80) 0%, var(--scrim-66) 34%, var(--scrim-00) 66%); }
    .rgal__cap { font-size: var(--fs-small); }
    .lv--easy { color: var(--ok); }
    .lv--mid { color: var(--warn); }
    .lv--hard { color: var(--cta); }
    .club__logo { background: var(--orange-soft); color: var(--orange-ink); font-family: var(--font-display); font-size: var(--fs-small); }
    .rmap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
    .rmap img { width: 100%; height: auto; aspect-ratio: 5 / 2; border-radius: var(--r); object-fit: cover; filter: none; }
    @media (max-width: 1023px) { .rmap { grid-template-columns: minmax(0, 1fr); } }
    @media (max-width: 1023px) { .cstrip > li { flex: 0 0 280px; } }

    /* leaderboard */
    .lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 24px; }
    .lb-cats { display: flex; flex-wrap: wrap; gap: 8px; }
    .lb-me { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r); background: var(--orange-soft); color: var(--orange-ink); font-size: var(--fs-small); }
    .lb-me b { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-title); }
    .lb-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
    .lbt { width: 100%; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
    .lbt th { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: var(--fs-caption); font-weight: var(--fw-ui); text-align: left; white-space: nowrap; }
    .lbt td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
    .lbt tbody tr:first-child td { border-top: 0; }
    .lbt .lb-num { text-align: right; }
    .lbt tr.is-me { background: var(--orange-soft); }
    .lb-place { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-weight: var(--fw-button); }
    .lb-place--1 { background: var(--orange-soft); color: var(--orange-ink); box-shadow: inset 0 0 0 1px var(--orange); }
    .lb-place--2, .lb-place--3 { background: var(--bg-soft); color: var(--ink); }
    .lbt th.lb-num, .lbt td.lb-num { text-align: right; }
    .lb-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .lb-who a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-family: var(--font-display); font-size: var(--fs-body); font-weight: var(--fw-title); letter-spacing: var(--ls-heading); }
    .lb-who a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
    .lb-who small { display: block; color: var(--quiet); font-size: var(--fs-caption); }
    .lb-pts { color: var(--ink); font-weight: var(--fw-button); }
    .lb-dim { color: var(--quiet); }
    .lb-follow { display: flex; justify-content: flex-end; }
    .lb-more-wrap { margin-top: 32px; }

    /* Explorers: a podium for the top three, everyone else in a compact grid; nothing to scroll through. */
    #people .head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
    .lb-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
    .lb-me { margin: 0; padding: 4px 16px; border-radius: 999px; font-size: var(--fs-small); }
    .lb-me b { margin: 0 8px 0 8px; }
    .lbg { display: grid; gap: 16px; }
    .lb-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
    .lb-card { position: relative; display: grid; justify-items: center; gap: 4px; padding: 24px 16px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-align: center; }
    .lb-card--1 { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-soft), var(--surface) 70%); }
    .lb-card.is-me { box-shadow: inset 0 0 0 2px var(--ink); }
    .lb-medal { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font: var(--fw-title) var(--fs-small)/1 var(--font-display); }
    .lb-card--1 .lb-medal { background: var(--orange); color: var(--on-accent); }
    .lb-card .region-follow { margin-top: 12px; }
    .lb-card .avatar { margin-bottom: 8px; }
    .lb-name { color: var(--ink); font-family: var(--font-display); font-weight: var(--fw-title); }
    .lb-name:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
    .lb-card small { color: var(--quiet); font-size: var(--fs-caption); }
    .lb-score { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; font: var(--fw-heading) var(--fs-h3)/1 var(--font-display); font-variant-numeric: tabular-nums; }
    .lb-score span { color: var(--quiet); font: var(--fw-text) var(--fs-caption)/1 var(--font-text); }
    .lb-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; color: var(--ink-2); font-size: var(--fs-caption); }
    .lb-rest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
    .lb-row { display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
    .lb-row.is-me { background: var(--orange-soft); }
    .lb-row .lb-place { display: grid; place-items: center; min-width: 0; width: 28px; height: 28px; color: var(--quiet); font-size: var(--fs-caption); box-shadow: none; }
    .lb-row .lb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-small); }
    .lb-row .lb-pts { font-variant-numeric: tabular-nums; }
    @media (max-width: 1023px) { .lb-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 767px) { .lb-top { grid-template-columns: minmax(0, 1fr); } .lb-rest { grid-template-columns: minmax(0, 1fr); } }
    #lb-more { margin-top: 32px; }
    #lb-empty { margin-top: 0; }
    @media (max-width: 1023px) { .lb-hide { display: none; } }
    @media (max-width: 767px) {
        .lbt th, .lbt td { padding: 8px; }
        .lb-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    }
    .lb-bar .seg button, .lb-bar .chip, .rtools .seg button, .rtools .chip, .rh__places .chip, .theme__chips .chip, .rep-more, .rmore .btn { min-height: 44px; }

/* Live-data states absent from the demonstration page. */
.region-page [hidden] { display: none !important; }
.region-page .empty { grid-column: 1 / -1; }
.region-page .lb-cats a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.region-page .region-clubs { display: grid; gap: 12px; }
.region-page .region-people-status { margin-bottom: 16px; color: var(--quiet); font-size: var(--fs-small); }
.region-page [data-region-people-results][aria-busy="true"] .lbg { opacity: 0.6; }
.region-page .region-follow { min-width: 112px; }
.region-page .lb-pts { white-space: nowrap; }
.region-page .lb-unit { color: var(--quiet); font-weight: var(--fw-text); }
.region-page .region-about { margin-top: 32px; }
.region-page .region-about summary { cursor: pointer; font-weight: var(--fw-button); }
.region-page .region-about p { margin-top: 16px; color: var(--ink-2); }
.region-page .club__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.region-page .rgal[data-gallery-count="1"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 218px 218px; }
.region-page .rgal[data-gallery-count="2"] { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.region-page .rgal[data-gallery-count="2"] .rgal__t:last-child { grid-row: span 2; }
.region-page .rgal[data-gallery-count="3"] { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.region-page .rgal[data-gallery-count="4"] .rgal__t:last-child { grid-column: 2 / -1; }
.region-page .jr-plain { display: grid; place-content: center; justify-items: center; gap: 12px; height: 100%; color: var(--quiet); }
.region-page .jr-plain > img { max-width: 48px; max-height: 48px; }
.region-page .jr-plain__ring .icon { width: 36px; height: 36px; }
@media (max-width: 767px) {
    .region-page .rtools__sort { flex-wrap: wrap; }
    .region-page .rtools__sort .select { min-width: 0; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
    .region-page .lb-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .region-page .lb-row { grid-template-columns: 28px 28px minmax(0, 1fr) auto; }
    .region-page .lb-row .region-follow { grid-column: 3 / -1; justify-self: start; }
}
    .rgal__t:hover::before { background: linear-gradient(0deg, var(--scrim-80) 0%, var(--scrim-25) 42%, var(--scrim-00) 64%); }
    .rep:hover .rep__media { opacity: 0.92; }
    .pp .btn-follow, .club-row .btn-follow { min-height: 44px; }
    .rh__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; color: var(--ink-2); font-size: var(--fs-body); }
    .legend .key { width: 12px; height: 4px; border-radius: 2px; }
