/*
 * Roadrush public site — the "RoadRush US Edition" design (Claude Design project, 2026-09).
 * Dark UI only: near-black canvas, one accent (electric lime), Inter Tight for text, JetBrains Mono for numbers.
 * Bootstrap 5 stays underneath for the grid utilities, forms, collapse and the pager; its dark theme variables are
 * mapped to the design tokens below so the few Bootstrap components left blend in.
 */

/* ---------- fonts (self-hosted, OFL; see web/fonts/LICENSE.txt) ---------- */
@font-face {
    font-family: "Inter Tight";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-tight-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter Tight";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
    --rr-bg: #06080A;
    --rr-bg1: #0B0D10;
    --rr-bg2: #12161A;
    --rr-bg3: #1A1F25;
    --rr-map-bg: #0F1418;
    --rr-hairline: rgba(255, 255, 255, .08);
    --rr-hairline2: rgba(255, 255, 255, .14);
    --rr-text: #F2F4F6;
    --rr-text2: rgba(242, 244, 246, .66);
    --rr-text3: rgba(242, 244, 246, .42);
    --rr-text4: rgba(242, 244, 246, .22);
    --rr-accent: #C6FF3D;
    --rr-accent-hover: #d4ff66;
    --rr-accent-dim: rgba(198, 255, 61, .18);
    --rr-accent-ink: #0A0E04;
    --rr-warn: #FFB547;
    --rr-danger: #FF4D5E;
    --rr-cool: #5BC8FF;
    --rr-r-xs: 6px;
    --rr-r-sm: 10px;
    --rr-r-md: 14px;
    --rr-r-lg: 20px;
    --rr-r-xl: 28px;
    --rr-font: "Inter Tight", -apple-system, system-ui, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", "Noto Sans TC", sans-serif;
    --rr-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --rr-frame: 1440px;
    --rr-gutter: 48px;
    --rr-side: 800px;
}

@media (max-width: 991.98px) {
    :root { --rr-gutter: 20px; }
}

/* Bootstrap dark theme mapped to the tokens */
[data-bs-theme="dark"] {
    --bs-body-bg: var(--rr-bg);
    --bs-body-color: var(--rr-text);
    --bs-body-font-family: var(--rr-font);
    --bs-secondary-color: var(--rr-text2);
    --bs-tertiary-color: var(--rr-text3);
    --bs-secondary-bg: var(--rr-bg2);
    --bs-tertiary-bg: var(--rr-bg1);
    --bs-border-color: var(--rr-hairline2);
    --bs-border-color-translucent: var(--rr-hairline);
    --bs-link-color: var(--rr-accent);
    --bs-link-hover-color: var(--rr-accent-hover);
    --bs-link-color-rgb: 198, 255, 61;
    --bs-link-hover-color-rgb: 212, 255, 102;
    --bs-emphasis-color: var(--rr-text);
    --bs-heading-color: var(--rr-text);
    --bs-code-color: var(--rr-accent);
}

html { scroll-padding-top: 80px; }

body.rr {
    font-family: var(--rr-font);
    background: var(--rr-bg);
    color: var(--rr-text);
    -webkit-font-smoothing: antialiased;
    font-size: 14.5px;
    line-height: 1.5;
}

a { color: var(--rr-accent); text-decoration: none; }
a:hover { color: var(--rr-accent-hover); text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; }

.rr-mono { font-family: var(--rr-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rr-muted { color: var(--rr-text3); }
.rr-muted2 { color: var(--rr-text2); }
.rr-dim { color: var(--rr-text4); }
.rr-accent { color: var(--rr-accent); }
.rr-small { font-size: 12.5px; }
.rr-icon { display: inline-block; vertical-align: -.15em; flex-shrink: 0; }
.rr-link-accent { color: var(--rr-accent); font-weight: 600; }

/* ---------- frame ---------- */
.rr-frame {
    max-width: var(--rr-frame);
    margin: 0 auto;
    padding-inline: var(--rr-gutter);
    box-sizing: border-box;
}

main > .rr-frame { padding-block: 28px 44px; }

/* ---------- type scale ---------- */
.rr-h1 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 0; }
.rr-h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.rr-h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.rr-h3 a { color: inherit; }

.rr-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rr-text3);
    margin: 0 0 10px;
}

.rr-eyebrow a { color: inherit; }
.rr-eyebrow-accent { color: var(--rr-accent); letter-spacing: .16em; font-size: 12px; }
.rr-eyebrow-xs { font-size: 10px; letter-spacing: .08em; margin: 0; }
.rr-prose { font-size: 14.5px; color: var(--rr-text2); line-height: 1.6; margin: 0; }
.rr-region-desc { max-width: 760px; margin-top: 14px; }

/* ---------- buttons ---------- */
.rr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding-inline: 22px;
    border-radius: 9999px;
    border: 0;
    font-family: var(--rr-font);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s, color .15s, transform .1s, box-shadow .15s;
}

.rr-btn:hover { text-decoration: none; }
.rr-btn:active { transform: translateY(1px); }
.rr-btn:focus-visible { outline: 2px solid var(--rr-accent); outline-offset: 2px; }
.rr-btn-lg { height: 56px; padding-inline: 24px; font-size: 17px; }
.rr-btn-sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.rr-btn-full { width: 100%; }

.rr-btn-primary {
    background: var(--rr-accent);
    color: var(--rr-accent-ink);
    box-shadow: 0 0 0 1px rgba(198, 255, 61, .4), 0 10px 30px -10px rgba(198, 255, 61, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.rr-btn-primary:hover { background: var(--rr-accent-hover); color: var(--rr-accent-ink); }

.rr-btn-secondary {
    background: rgba(255, 255, 255, .06);
    color: var(--rr-text);
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 600;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.rr-btn-secondary:hover { background: rgba(255, 255, 255, .1); color: var(--rr-text); }
.rr-btn-ghost { background: transparent; color: var(--rr-text2); font-weight: 500; }
.rr-btn-ghost:hover { color: var(--rr-text); }

.rr-glass {
    background: rgba(16, 20, 26, .55);
    border: .5px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35), inset 0 1px 1px rgba(255, 255, 255, .22);
}

.rr-glass-panel {
    background: rgba(9, 11, 14, .86);
    border: .5px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .75), inset 0 1px 1px rgba(255, 255, 255, .16);
    border-radius: 24px;
}

/* ---------- header ---------- */
.rr-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--rr-hairline);
    background: rgba(11, 13, 16, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.rr-nav { padding: 0; }
.rr-nav-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; width: 100%; }

.rr-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--rr-text);
    text-decoration: none;
    white-space: nowrap;
}

.rr-brand span { color: var(--rr-accent); }
.rr-brand:hover { color: var(--rr-text); text-decoration: none; }
.rr-brand-sm { font-size: 13px; color: var(--rr-text2); }
.rr-brand-lg { font-size: 26px; letter-spacing: .05em; }

.rr-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rr-nav-link {
    display: inline-block;
    padding: 20px 0 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rr-text2);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.rr-nav-link:hover { color: var(--rr-text); text-decoration: none; }
.rr-nav-link.active { color: var(--rr-accent); border-bottom-color: var(--rr-accent); }
.rr-nav-collapse { display: flex; align-items: center; gap: 28px; flex-grow: 1; }
.rr-nav-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rr-nav-tools form { margin: 0; }

.rr-nav-toggler {
    margin-left: auto;
    border: 1px solid var(--rr-hairline2);
    border-radius: var(--rr-r-sm);
    padding: 6px 10px;
}

.rr-nav-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(242,244,246,.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* language dropdown (Bootstrap Nav from widgets/LanguageSwitcher) */
.rr-lang .nav-link {
    font-size: 13px;
    color: var(--rr-text2);
    padding: 6px 4px;
}

.rr-lang .nav-link:hover, .rr-lang .nav-link:focus { color: var(--rr-text); }
.rr-lang .dropdown-menu {
    background: var(--rr-bg2);
    border: 1px solid var(--rr-hairline2);
    border-radius: var(--rr-r-md);
    padding: 6px;
    min-width: 11rem;
}

.rr-lang .dropdown-item { color: var(--rr-text2); border-radius: var(--rr-r-sm); font-size: 13.5px; padding: 7px 12px; }
.rr-lang .dropdown-item:hover, .rr-lang .dropdown-item:focus { background: var(--rr-bg3); color: var(--rr-text); }
.rr-lang .dropdown-item.active { background: var(--rr-accent-dim); color: var(--rr-accent); }

/* km | mi segmented pill; units.js sets data-units on <html> */
.rr-units {
    display: inline-flex;
    padding: 2px;
    border-radius: 9999px;
    background: var(--rr-bg3);
    border: 1px solid var(--rr-hairline);
    color: var(--rr-text3);
    font-family: var(--rr-mono);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.rr-units span { padding: 5px 10px; border-radius: 9999px; }
.rr-units .rr-units-km { background: var(--rr-accent); color: var(--rr-accent-ink); }
html[data-units="imperial"] .rr-units .rr-units-km { background: transparent; color: var(--rr-text3); }
html[data-units="imperial"] .rr-units .rr-units-mi { background: var(--rr-accent); color: var(--rr-accent-ink); }

@media (max-width: 991.98px) {
    .rr-nav-collapse { display: none; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 16px; }
    .rr-nav-collapse.show { display: flex; }
    .rr-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .rr-nav-link { padding: 10px 0; border-bottom: 0; }
    .rr-nav-tools { margin-left: 0; flex-wrap: wrap; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rr-hairline); }
}

/* ---------- footer ---------- */
.rr-footer { border-top: 1px solid var(--rr-hairline); margin-top: auto; }
.rr-footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 20px; font-size: 12px; color: var(--rr-text3); }
.rr-footer-links { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.rr-footer-links a { color: var(--rr-text3); }
.rr-footer-links a:hover { color: var(--rr-text); text-decoration: none; }

/* ---------- breadcrumbs ---------- */
.rr-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 12.5px; color: var(--rr-text3); }
.rr-crumbs li + li::before { content: "/"; color: var(--rr-text4); margin-right: 8px; }
.rr-crumbs a { color: var(--rr-text3); }
.rr-crumbs a:hover { color: var(--rr-text); text-decoration: none; }
.rr-crumbs [aria-current] span { color: var(--rr-text); font-weight: 600; }

/* ---------- page heads and sections ---------- */
.rr-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rr-section-head .rr-mono { margin-top: 8px; font-size: 13px; }
.rr-page-head { margin-bottom: 20px; }
.rr-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 6px; }
.rr-more { display: flex; justify-content: center; margin-top: 24px; }
section + section, .rr-stack > * + * { margin-top: 0; }

/* ---------- cards and grids ---------- */
.rr-card {
    background: var(--rr-bg1);
    border: 1px solid var(--rr-hairline);
    border-radius: var(--rr-r-lg);
    overflow: hidden;
}

.rr-card-pad { padding: 18px; }
.rr-card-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.rr-grid { display: grid; gap: 18px; margin-top: 24px; }
.rr-grid + .rr-grid { margin-top: 18px; }
.rr-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rr-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.rr-stack { display: flex; flex-direction: column; gap: 16px; }
.rr-stack-sm { gap: 10px; }

@media (max-width: 1199.98px) {
    .rr-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rr-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .rr-grid-2, .rr-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .rr-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* road card: photo + track thumbnail side by side, name, two figures */
.rr-road-card { position: relative; display: flex; flex-direction: column; }
.rr-road-card-media { display: flex; gap: 2px; height: 168px; background: var(--rr-map-bg); }
.rr-road-card-media picture { display: block; position: relative; overflow: hidden; background: var(--rr-map-bg); min-width: 0; }
.rr-road-card-media img { display: block; width: 100%; height: 100%; }
.rr-road-card-photo { flex: 1.4; }
.rr-road-card-photo img { object-fit: cover; }
.rr-road-card-track { flex: 1; }
.rr-road-card-track img { object-fit: contain; padding: 8%; }
.rr-road-card-media:not(.has-photo) .rr-road-card-track { flex: 1; }
.rr-road-card-media:not(.has-photo) .rr-road-card-track img { padding: 4% 12%; }
/* the rendered thumbnail (track on a base map) fills its slot instead of floating on the card background */
.rr-road-card-track.is-thumb img, .rr-road-card-media:not(.has-photo) .rr-road-card-track.is-thumb img { object-fit: cover; padding: 0; }
.rr-road-card-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--rr-text4); }
.rr-road-card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.rr-road-card-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
.rr-road-card-title a { color: var(--rr-text); }
.rr-road-card-title a:hover { color: var(--rr-text); text-decoration: none; }
.rr-road-card-desc {
    font-size: 12.5px;
    color: var(--rr-text2);
    line-height: 1.45;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rr-road-card-facts { display: flex; align-items: center; gap: 14px; margin: auto 0 0; padding-top: 12px; min-width: 0; }
.rr-road-card-facts div { display: flex; align-items: baseline; gap: 5px; }
.rr-road-card-facts dd { font-size: 15px; font-weight: 700; margin: 0; white-space: nowrap; }
.rr-road-card-facts dt { font-size: 10.5px; font-weight: 600; color: var(--rr-text3); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.rr-road-card-credit {
    position: relative;
    z-index: 2; /* above the stretched link */
    margin-left: auto;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: var(--rr-text4);
}

.rr-road-card-credit:hover { color: var(--rr-text2); }
.rr-collection-card { position: relative; }
.rr-collection-card .rr-road-card-title { display: flex; align-items: center; gap: 8px; }
.rr-collection-card .rr-road-card-desc { margin-top: 10px; -webkit-line-clamp: 3; }

/* country tiles */
.rr-country {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: var(--rr-bg1);
    border: 1px solid var(--rr-hairline);
    border-radius: var(--rr-r-md);
    color: var(--rr-text);
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

.rr-country:hover { border-color: var(--rr-hairline2); background: var(--rr-bg2); color: var(--rr-text); text-decoration: none; }
.rr-country-name { font-size: 14.5px; font-weight: 700; }
.rr-country-count { font-size: 12px; white-space: nowrap; }
.rr-country-tall { flex-direction: column; align-items: stretch; gap: 8px; padding: 16px 16px 14px; }
.rr-country-tall .rr-country-name { font-size: 15px; }
.rr-country-head { display: flex; align-items: center; justify-content: space-between; }
.rr-country.has-roads { border-color: rgba(198, 255, 61, .5); box-shadow: 0 0 0 3px rgba(198, 255, 61, .1); }
.rr-by-region { margin-top: 44px; }

/* stat tiles */
.rr-stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.rr-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; }
.rr-stat { padding: 14px 18px 12px; background: var(--rr-bg1); border: 1px solid var(--rr-hairline); border-radius: var(--rr-r-md); min-width: 0; }
.rr-stat-value { font-size: 22px; font-weight: 700; white-space: nowrap; }
.rr-stat-label { font-size: 10px; color: var(--rr-text3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-stat-sub { font-size: 11px; color: var(--rr-text3); margin-top: 2px; }

@media (max-width: 1199.98px) {
    .rr-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rr-stat-value { font-size: 19px; }
}

@media (max-width: 575.98px) {
    .rr-stats, .rr-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* key/value rows in cards */
.rr-kv { margin: 0; }
.rr-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 13.5px; }
.rr-kv dt { font-weight: 400; color: var(--rr-text2); }
.rr-kv dd { margin: 0; font-weight: 600; text-align: right; }
.rr-kv-stack > div { flex-direction: column; gap: 2px; border-bottom: 1px solid var(--rr-hairline); padding: 8px 0; }
.rr-kv-stack > div:last-child { border-bottom: 0; }
.rr-kv-stack dd { text-align: left; }

.rr-row { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--rr-text); }
.rr-row + .rr-row { margin-top: 8px; }
.rr-row-title { flex: 1; min-width: 0; }
.rr-row-link { text-decoration: none; }
.rr-row-link:hover { color: var(--rr-text); text-decoration: none; }
.rr-row-link:hover .rr-dim { color: var(--rr-accent); }

.rr-list { list-style: none; margin: 0; padding: 0; }
.rr-list-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rr-hairline); font-size: 14px; font-weight: 600; color: var(--rr-text); }
.rr-list-row:last-child { border-bottom: 0; }
.rr-list-card .collapse .rr-list-row:first-child { border-top: 1px solid var(--rr-hairline); }
.rr-list-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--rr-hairline); }
.rr-list-card + .rr-btn { margin-top: 14px; }

.rr-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 9999px; font-size: 10.5px; font-weight: 700; color: var(--rr-accent); background: var(--rr-accent-dim); white-space: nowrap; }
.rr-pill-muted { color: var(--rr-text2); background: var(--rr-bg3); }

/* status chip */
.rr-status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.rr-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 9999px; background: rgba(11, 13, 16, .85); border: 1px solid var(--rr-hairline2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rr-chip-dot { width: 6px; height: 6px; border-radius: 6px; background: var(--rr-text3); }
.rr-chip-open .rr-chip-dot { background: var(--rr-accent); box-shadow: 0 0 8px var(--rr-accent); }
.rr-chip-partial .rr-chip-dot { background: var(--rr-warn); box-shadow: 0 0 8px var(--rr-warn); }
.rr-chip-closed .rr-chip-dot { background: var(--rr-danger); box-shadow: 0 0 8px var(--rr-danger); }
.rr-season { display: flex; gap: 10px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rr-hairline); }
.rr-season > div { flex: 1; }
.rr-season dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 700; }

/* best months */
.rr-months { margin-top: 12px; }
.rr-months-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; height: 34px; align-items: end; }
.rr-months-bars span { display: block; height: 30%; border-radius: 2px; background: var(--rr-bg3); }
.rr-months-bars span.is-on { height: 100%; background: var(--rr-accent); opacity: .85; }
.rr-months-axis { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; font-size: 9.5px; color: var(--rr-text4); text-align: center; margin: 4px 0 6px; }

/* ---------- hero ---------- */
.rr-hero { position: relative; height: 560px; overflow: hidden; background: var(--rr-bg1); }
.rr-hero-media, .rr-hero-media img, .rr-login-media, .rr-login-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rr-hero-media img { object-fit: cover; object-position: 60% 50%; }
.rr-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 8, 10, .9) 26%, rgba(6, 8, 10, .35) 62%, rgba(6, 8, 10, .05) 85%);
    pointer-events: none;
}

.rr-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.rr-hero-copy { max-width: 560px; }
.rr-hero-title { font-size: clamp(38px, 4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 12px 0 0; }
.rr-hero-lead { font-size: 16px; color: var(--rr-text2); line-height: 1.55; margin: 18px 0 0; max-width: 480px; }
.rr-hero-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.rr-hero-figures { display: flex; gap: 24px; margin: 30px 0 0; flex-wrap: wrap; }
.rr-hero-figures div { display: flex; align-items: baseline; gap: 5px; }
.rr-hero-figures dd { font-size: 20px; font-weight: 700; color: var(--rr-accent); margin: 0; }
.rr-hero-figures dt { font-size: 12.5px; font-weight: 400; color: var(--rr-text3); }
.rr-hero-figures dt a { color: var(--rr-text2); }

@media (max-width: 767.98px) {
    .rr-hero { height: auto; min-height: 480px; }
    .rr-hero::after { background: linear-gradient(180deg, rgba(6, 8, 10, .35), rgba(6, 8, 10, .92) 70%); }
    .rr-hero-inner { padding-block: 48px; align-items: flex-end; }
}

.rr-catalogue { padding-block: 28px 44px; }
.rr-catalogue .rr-section-head { margin-top: 14px; }

/* ---------- campaign banner (static marketing block) ---------- */
.rr-campaign {
    position: relative;
    height: var(--rr-campaign-h, 260px);
    margin-top: 18px;
    border-radius: var(--rr-r-xl);
    overflow: hidden;
    border: 1px solid var(--rr-hairline2);
    background: var(--rr-bg1);
}

.rr-campaign-media, .rr-campaign-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rr-campaign-media img { object-fit: cover; object-position: 70% 50%; }
.rr-campaign::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 8, 10, .92) 0%, rgba(6, 8, 10, .55) 45%, rgba(6, 8, 10, 0) 75%);
    pointer-events: none;
}

.rr-campaign-body { position: absolute; left: 28px; top: 0; bottom: 0; width: 46%; min-width: 260px; display: flex; flex-direction: column; justify-content: center; z-index: 1; }
.rr-campaign-who { display: flex; align-items: center; gap: 10px; }
.rr-campaign-handle { font-size: 13.5px; font-weight: 800; }
.rr-campaign-handle span { color: var(--rr-accent); }
.rr-campaign-sub { font-size: 11px; color: var(--rr-text3); }
.rr-campaign-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 14px 0 0; }
.rr-campaign-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rr-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -.02em;
    border: 1px solid var(--rr-hairline);
    background: linear-gradient(135deg, #2A323A 0%, #11151A 100%);
}

.rr-avatar-accent { background: var(--rr-accent); color: var(--rr-accent-ink); }

@media (max-width: 767.98px) {
    .rr-campaign { height: auto; }
    .rr-campaign-body { position: relative; left: 0; width: auto; padding: 22px 20px; }
    .rr-campaign-title { font-size: 24px; }
    .rr-campaign::after { background: linear-gradient(180deg, rgba(6, 8, 10, .55), rgba(6, 8, 10, .92)); }
}

/* ---------- road page: main column + sidebar ---------- */
.rr-road-head { margin-bottom: 28px; }
.rr-road-layout { display: flex; gap: 48px; align-items: flex-start; }
.rr-road-main { width: var(--rr-side); flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.rr-road-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; order: 2; }
.rr-road-main > section > .rr-eyebrow, .rr-road-side > section > .rr-eyebrow:first-child { margin-bottom: 10px; }

@media (max-width: 1199.98px) {
    .rr-road-layout { flex-direction: column; gap: 24px; }
    .rr-road-main { width: 100%; order: 1; }
    .rr-road-side { width: 100%; order: 2; }
    .rr-road-side .rr-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .rr-road-side .rr-stack { grid-template-columns: minmax(0, 1fr); }
}

/* map cards: the static picture/SVG first, MapLibre right after the page load (map-loader.js) */
.rr-map { position: relative; background: var(--rr-map-bg); border-radius: var(--rr-r-lg); overflow: hidden; border: 1px solid var(--rr-hairline); }
.rr-map picture, .rr-map .map-static { display: block; width: 100%; height: 100%; }
.rr-map .road-map-fallback { object-fit: contain; padding: 4%; background: var(--rr-map-bg); }
.rr-map .road-map-fallback.is-thumb { object-fit: cover; padding: 0; }
.rr-map-empty { min-height: 320px; margin-bottom: 24px; }
[data-map].rr-map-empty .map-placeholder { justify-content: center; align-items: center; }
.rr-map-svg svg { display: block; width: 100%; height: auto; }
.rr-map-caption { position: absolute; left: 14px; bottom: 12px; font-size: 10.5px; color: var(--rr-text3); }

.rr-profile-card { padding: 12px 14px 8px; border-radius: var(--rr-r-md); }
.rr-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rr-photo { position: relative; margin: 0; border-radius: var(--rr-r-md); overflow: hidden; border: 1px solid var(--rr-hairline); background: var(--rr-bg1); aspect-ratio: 3 / 2; }
.rr-photo > a, .rr-photo picture, .rr-photo img { display: block; width: 100%; height: 100%; }
.rr-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(6, 8, 10, 0), rgba(6, 8, 10, .75)); pointer-events: none; }
.rr-photo img { object-fit: cover; }
.rr-photo-credit {
    position: absolute;
    z-index: 1;
    left: 8px;
    right: 8px;
    bottom: 6px;
    font-size: 10px;
    color: var(--rr-text2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rr-photo-credit a { color: var(--rr-text2); }

@media (max-width: 575.98px) {
    .rr-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rr-endpoints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rr-endpoint { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--rr-r-md); }
.rr-endpoint-dot { width: 12px; height: 12px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.rr-endpoint-start { background: #fff; }
.rr-endpoint-finish { background: var(--rr-accent); }
.rr-endpoint-name { font-size: 14.5px; font-weight: 700; margin-top: 2px; }

@media (max-width: 575.98px) {
    .rr-endpoints { grid-template-columns: minmax(0, 1fr); }
}

/* POIs: one <details> per category */
.rr-poi-group { border-bottom: 1px solid var(--rr-hairline); }
.rr-poi-group:last-child { border-bottom: 0; }
.rr-poi-summary { display: flex; align-items: center; gap: 10px; padding: 11px 16px; cursor: pointer; list-style: none; }
.rr-poi-summary::-webkit-details-marker { display: none; }
.rr-poi-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--rr-bg3); display: inline-flex; align-items: center; justify-content: center; color: var(--rr-text2); flex-shrink: 0; }
.rr-poi-title { font-size: 14px; font-weight: 700; margin: 0; flex: 1; letter-spacing: 0; }
.rr-poi-count { font-size: 13px; font-weight: 700; }
.rr-poi-chevron { transition: transform .15s; }
.rr-poi-group[open] .rr-poi-chevron { transform: rotate(180deg); }
.rr-poi-items { padding: 0 16px 10px 54px; display: flex; flex-direction: column; gap: 6px; }
.rr-poi-item { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.rr-poi-name { color: var(--rr-text2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-poi-where { white-space: nowrap; font-size: 12px; }

/* weather table, webcams */
.rr-weather-temp { font-size: 22px; font-weight: 700; }
.rr-weather-symbol { font-family: var(--rr-font); font-size: 12.5px; font-weight: 400; color: var(--rr-text3); }
.rr-table { --bs-table-bg: transparent; --bs-table-color: var(--rr-text2); --bs-table-border-color: var(--rr-hairline); font-size: 12.5px; }
.rr-table th { color: var(--rr-text3); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.rr-webcam { display: flex; gap: 12px; align-items: center; color: var(--rr-text); text-decoration: none; }
.rr-webcam:hover { color: var(--rr-text); text-decoration: none; }
.rr-webcam-img { width: 96px; height: 64px; object-fit: cover; border-radius: var(--rr-r-sm); flex-shrink: 0; border: 1px solid var(--rr-hairline); }
.rr-webcam-body { min-width: 0; }

/* ---------- regions ---------- */
.rr-world { position: relative; margin-top: 22px; background: var(--rr-map-bg); }
.rr-world-map { display: block; width: 100%; height: auto; }
.rr-world-map .wm-country { fill: #141920; stroke: rgba(255, 255, 255, .1); stroke-width: .7; }
.rr-world-map .wm-active path { fill: rgba(198, 255, 61, .14); stroke: rgba(198, 255, 61, .55); stroke-width: .7; transition: fill .15s, stroke .15s; }
.rr-world-map .wm-active:hover path, .rr-world-map .wm-active:focus path, .rr-world-map .wm-active.is-current path { fill: rgba(198, 255, 61, .3); stroke: var(--rr-accent); stroke-width: 1.4; }
.rr-world-map .wm-active { cursor: pointer; outline: none; }
.rr-world-map .wm-road { fill: var(--rr-accent); stroke: #0B0D10; stroke-width: 1.4; pointer-events: none; }
.rr-world-callout { position: absolute; top: 16px; right: 16px; width: 250px; padding: 16px 18px; border-radius: var(--rr-r-lg); z-index: 2; }
.rr-world-callout-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-top: 5px; }
.rr-world-legend { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 18px; align-items: center; font-size: 11.5px; }
.rr-world-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rr-legend-area { width: 14px; height: 10px; border-radius: 2px; background: rgba(198, 255, 61, .16); border: 1px solid rgba(198, 255, 61, .55); }
.rr-legend-dot { width: 8px; height: 8px; border-radius: 8px; background: var(--rr-accent); border: 1.5px solid #0B0D10; }
.rr-world-credit { position: absolute; right: 10px; bottom: 6px; font-size: 8.5px; color: var(--rr-text4); }
.rr-world + .rr-by-region { margin-top: 36px; }

/* region navigator (regions-nav.js): the frame keeps its size, d3 draws into .rn-map, MapLibre into .rn-detail */
.rr-world.is-nav { aspect-ratio: 1400 / 620; min-height: 420px; }
.rr-world.is-nav .rn-map, .rr-world.is-nav .rn-detail { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rn-map { transition: opacity .5s ease; }
.rr-world.in-detail .rn-map { opacity: 0; pointer-events: none; }
.rn-detail { opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.rr-world.in-detail .rn-detail { opacity: 1; pointer-events: auto; }
.rr-world.in-detail .rr-world-legend, .rr-world.in-detail .rr-world-credit { display: none; }
.rn-countries path { fill: #171b22; stroke: #272d37; stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .35s, stroke .35s, opacity .35s; }
.rn-countries.flat path { stroke: #171b22; }
.rn-countries.inert path { pointer-events: none; }
.rn-countries path.dir { fill: #2f3a1c; stroke: #b8f43a; stroke-width: 1px; }
.rn-countries path.hot { fill: #3d4c22; stroke: var(--rr-accent); stroke-width: 1.4px; filter: drop-shadow(0 0 5px rgba(198, 255, 61, .4)); }
.rn-countries path.hot-plain { fill: #1d222b; stroke: #3a424f; }
.rn-countries path.dim { fill: #12161c; stroke: #1b2028; }
.rn-countries path.focus { fill: #1c2129; stroke: #333b47; }
.rn-countries path.self { opacity: 0; }
.rn-countries path.clickable { cursor: pointer; }
.rn-areas path { fill: #2f3a1c; stroke: #b8f43a; stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; transition: fill .3s, stroke .3s, opacity .5s; }
.rn-areas path:hover { fill: #3d4c22; stroke: var(--rr-accent); stroke-width: 1.6px; filter: drop-shadow(0 0 6px rgba(198, 255, 61, .4)); }
.rn-regions path { fill: #1a1f27; stroke: #4a5362; stroke-width: .9px; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; transition: fill .3s, stroke .3s, opacity .5s; }
.rn-regions path.pub { fill: #2f3a1c; stroke: #b8f43a; }
.rn-regions path:hover { fill: #3d4c22; stroke: var(--rr-accent); stroke-width: 1.4px; }
.rn-regions path.pub:hover { fill: #4a5c28; }
.rn-roads circle { fill: var(--rr-accent); stroke: var(--rr-map-bg); stroke-width: 1.5px; filter: drop-shadow(0 0 5px rgba(198, 255, 61, .7)); pointer-events: none; transition: opacity .4s; }
.rn-labels { transition: opacity .4s; }
.rn-labels.hidden { opacity: 0; }
.rn-labels text { fill: #c7cdd8; font: 11px var(--rr-font); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--rr-map-bg); stroke-width: 3px; stroke-linejoin: round; opacity: .9; }
.rn-crumbs { position: absolute; top: 14px; left: 16px; z-index: 3; display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--rr-text3); padding: 2px 6px; border-radius: 9999px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.rr-world.in-detail .rn-crumbs { background: rgba(11, 13, 16, .85); border-color: var(--rr-hairline2); backdrop-filter: blur(8px); }
.rn-crumbs button { all: unset; cursor: pointer; color: var(--rr-text3); padding: 4px 8px; border-radius: 6px; font: inherit; }
.rn-crumbs button:hover { color: var(--rr-text); background: rgba(255, 255, 255, .06); }
.rn-crumbs .current { color: var(--rr-text); font-weight: 600; padding: 4px 8px; }
.rn-crumbs .sep { opacity: .5; }
.rn-panel { animation: rn-pop .18s ease-out; }
@keyframes rn-pop { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }
.rn-panel .rn-title { min-height: 26px; }
.rn-panel .rn-meta { margin-top: 6px; min-height: 16px; }
.rn-panel .rn-back { margin-top: 6px; }
.rn-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; color: var(--rr-text3); background: rgba(11, 13, 16, .8); padding: 6px 12px; border-radius: 9999px; border: 1px solid var(--rr-hairline2); transition: opacity .3s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.rn-hint.hidden { opacity: 0; pointer-events: none; }
.rn-detail .maplibregl-ctrl-attrib { font-size: 10px; }

@media (max-width: 767.98px) {
    .rr-world.is-nav { aspect-ratio: auto; height: 640px; }
    .rr-world.is-nav .rr-world-callout { position: absolute; top: auto; bottom: 44px; left: 12px; right: 12px; width: auto; border-radius: var(--rr-r-lg); border: .5px solid rgba(255, 255, 255, .16); }
    .rr-world.is-nav .rr-world-legend { position: absolute; left: 12px; bottom: 12px; padding: 0; }
    .rr-world.is-nav .rr-world-credit { position: absolute; right: 10px; bottom: 6px; display: inline; padding: 0; }
    .rn-hint { display: none; }
}

@media (max-width: 767.98px) {
    .rr-world-callout { position: static; width: auto; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: none; }
    .rr-world-legend { position: static; padding: 10px 16px 0; }
    .rr-world-credit { position: static; display: block; text-align: right; padding: 4px 10px 6px; }
}

.rr-region-map { display: block; width: 100%; height: auto; }
.rr-region-map .rm-country { fill: #141920; stroke: rgba(255, 255, 255, .09); stroke-width: .8; }
.rr-region-map .rm-target { fill: rgba(198, 255, 61, .1); stroke: var(--rr-accent); stroke-width: 1.5; }
.rr-region-map .rm-child { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: .7; }
.rr-region-map .rm-glow { fill: rgba(198, 255, 61, .22); }
.rr-region-map .rm-road { fill: var(--rr-accent); stroke: #0B0D10; stroke-width: 1.4; }
.rr-region-map .rm-region { fill: rgba(242, 244, 246, .55); stroke: #0B0D10; stroke-width: 1.4; }
.rr-region-map .rm-marker:hover .rm-region { fill: var(--rr-text); }
.rr-region-map .rm-label { font: 700 11.5px var(--rr-font); fill: var(--rr-text); paint-order: stroke; stroke: rgba(11, 13, 16, .85); stroke-width: 3px; }

.rr-suggest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    border: 1px dashed var(--rr-hairline2);
    border-radius: var(--rr-r-lg);
    min-height: 200px;
}

.rr-suggest-title { font-size: 14px; font-weight: 700; color: var(--rr-text2); }
.rr-suggest .rr-small { max-width: 260px; }

/* ---------- login ---------- */
.rr-login { position: relative; min-height: 760px; overflow: hidden; background: var(--rr-bg1); }
.rr-login-media img { object-fit: cover; object-position: 30% 60%; }
.rr-login::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 8, 10, .66) 0%, rgba(6, 8, 10, .15) 42%, rgba(6, 8, 10, .3) 100%), linear-gradient(0deg, rgba(6, 8, 10, .55), transparent 40%);
    pointer-events: none;
}

.rr-login-inner { position: relative; z-index: 1; min-height: 760px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 48px; }
.rr-login-art { max-width: 760px; }
.rr-login-claim { font-size: clamp(44px, 5vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 20px 0 0; }
.rr-login-claim span { color: var(--rr-accent); }
.rr-login-panel { width: 420px; max-width: 100%; padding: 30px 30px 26px; flex-shrink: 0; }
.rr-login-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.rr-login-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.rr-form-group { margin: 0; }
.rr-login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rr-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.rr-or::before, .rr-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.rr-or span { font-size: 11.5px; color: var(--rr-text3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rr-login-app { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.rr-qr { flex-shrink: 0; background: #fff; border-radius: 8px; fill: #0B0D10; }

@media (max-width: 991.98px) {
    .rr-login-inner { flex-direction: column; align-items: stretch; justify-content: center; }
    .rr-login-art { max-width: none; }
    .rr-login-panel { width: 100%; }
}

/* ---------- forms (login, contact) ---------- */
.rr-field-label { display: block; font-size: 12px; color: var(--rr-text2); font-weight: 600; margin-bottom: 7px; }
.rr-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: var(--rr-r-md);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--rr-text3);
    transition: border-color .15s, box-shadow .15s;
}

.rr-field:focus-within { border-color: var(--rr-accent); box-shadow: 0 0 0 3px rgba(198, 255, 61, .18); }
.rr-field .rr-icon, .rr-field-icon { color: var(--rr-text3); flex-shrink: 0; }
.rr-field .form-control, .rr-input { background: transparent; border: 0; color: var(--rr-text); font-size: 14.5px; padding: 10px 0; box-shadow: none; }
.rr-field .form-control:focus, .rr-input:focus { background: transparent; color: var(--rr-text); box-shadow: none; border-color: transparent; }
.rr-input::placeholder { color: var(--rr-text4); }
textarea.rr-input { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--rr-r-md); padding: 12px 14px; height: 140px; }
textarea.rr-input:focus { border-color: var(--rr-accent); box-shadow: 0 0 0 3px rgba(198, 255, 61, .18); }
.form-check-input.rr-check, .rr-login-row .form-check-input { width: 18px; height: 18px; border-radius: 5px; background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.rr-login-row .form-check-input:checked, .form-check-input.rr-check:checked { background-color: var(--rr-accent); border-color: var(--rr-accent); }
.rr-login-row .form-check-label { font-size: 13px; color: var(--rr-text2); }
.invalid-feedback { color: var(--rr-danger); font-size: 12px; }
.rr-field:has(.is-invalid) { border-color: var(--rr-danger); }
.form-control.is-invalid { background-image: none; }
.rr-contact-card { width: 100%; max-width: 960px; }
.rr-contact-brand { background: var(--rr-bg2); border-right: 1px solid var(--rr-hairline); }
.site-contact img[src*="captcha"] { border-radius: var(--rr-r-sm); mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg); }
.site-contact .rr-field { min-height: 40px; }
.site-delete-account { max-width: 760px; padding-block: 40px; }
.site-delete-account ol, .site-delete-account ul { padding-left: 1.25em; margin-bottom: 12px; }
.site-delete-account li + li { margin-top: 6px; }
.rr-delete-account-card { padding: 28px; }
.site-delete-account img[src*="captcha"] { border-radius: var(--rr-r-sm); mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg); }

/* ---------- centred pages (about, error, contact) ---------- */
.rr-centered { display: flex; align-items: center; justify-content: center; text-align: center; flex: 1; padding-block: 40px; }
.rr-centered > div { width: 100%; max-width: 640px; }
.rr-centered .rr-contact-card { text-align: left; max-width: 960px; }
.rr-error-code { font-size: 96px; font-weight: 700; color: var(--rr-text4); line-height: 1; margin: 0; }
.site-login, .site-contact, .site-index, .site-error, .site-about, .site-contact-success { flex: 1; }

/* ---------- pager, alerts, misc Bootstrap in the dark skin ---------- */
.rr-pager { margin-top: 24px; }
.rr-pager .page-link { background: var(--rr-bg1); border-color: var(--rr-hairline); color: var(--rr-text2); }
.rr-pager .page-item.active .page-link { background: var(--rr-accent); border-color: var(--rr-accent); color: var(--rr-accent-ink); }
.rr-pager .page-item.disabled .page-link { background: transparent; color: var(--rr-text4); }
.alert { border-radius: var(--rr-r-md); }
code { color: var(--rr-accent); }
.not-set { color: var(--rr-danger); font-style: italic; }
.hint-block { display: block; margin-top: 5px; color: var(--rr-text3); }
.error-summary { color: var(--rr-danger); background: rgba(255, 77, 94, .12); border-left: 3px solid var(--rr-danger); padding: 10px 20px; margin: 0 0 15px; border-radius: var(--rr-r-sm); }

/* ---------- elevation profile (SVG from widgets/ElevationProfile) ---------- */
.elevation-profile { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 240; font-family: var(--rr-font); }
.elevation-profile .ep-area { fill: rgba(198, 255, 61, .18); }
.elevation-profile .ep-line { fill: none; stroke: var(--rr-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.elevation-profile .ep-grid { stroke: var(--rr-hairline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.elevation-profile .ep-label { fill: var(--rr-text3); font-size: 11px; font-family: var(--rr-mono); }
.elevation-profile .ep-peak { fill: var(--rr-accent); stroke: var(--rr-bg1); stroke-width: 2; }
.elevation-profile .ep-peak-label { fill: var(--rr-text); font-size: 12px; font-weight: 600; font-family: var(--rr-mono); }

/* language hint bar (lang-hint.js) */
.lang-hint { color: var(--rr-text); font-size: 13.5px; border-radius: var(--rr-r-md); max-width: calc(100vw - 32px); }

/* ---------- "Get the app" QR popup (layouts/_app-qr.php, js/app-qr.js; native <dialog>) ---------- */
.rr-qr-dialog { padding: 0; border: 0; background: transparent; color: var(--rr-text); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: visible; }
.rr-qr-dialog::backdrop { background: rgba(6, 8, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rr-qr-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(420px, calc(100vw - 32px)); padding: 36px 32px 32px; text-align: center; }
.rr-qr-close { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--rr-text2); cursor: pointer; }
.rr-qr-close:hover { background: rgba(255, 255, 255, .12); color: var(--rr-text); }
.rr-qr-close:focus-visible { outline: 2px solid var(--rr-accent); outline-offset: 2px; }
.rr-qr-title { font-size: 22px; margin: 0; }
.rr-qr-text { font-size: 13.5px; line-height: 1.5; max-width: 300px; margin: 0; }
.rr-qr-code { display: block; width: 240px; height: 240px; box-sizing: border-box; padding: 6px; margin: 12px 0 8px; border-radius: var(--rr-r-md); background: #fff; }
.rr-qr-code img { display: block; width: 100%; height: 100%; }
body:has(.rr-qr-dialog[open]) { overflow: hidden; }

/* the floating QR card, bottom right, desktop only (a phone installs the app from the link, and cannot scan itself) */
.rr-qr-sticky { display: none; position: fixed; right: 24px; bottom: 0; z-index: 1020; }
.rr-qr-sticky-card { width: 168px; background: var(--rr-bg2); border: 1px solid var(--rr-hairline2); border-bottom: 0; border-radius: var(--rr-r-md) var(--rr-r-md) 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .45); overflow: hidden; }
.rr-qr-sticky-code { display: block; padding: 8px 8px 0; }
.rr-qr-sticky-code img { display: block; width: 100%; height: auto; border-radius: var(--rr-r-xs); background: #fff; }
.rr-qr-sticky-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 6px 6px 12px; }
.rr-qr-sticky-caption { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--rr-text2); }
.rr-qr-sticky-fold, .rr-qr-sticky-icon { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: var(--rr-text2); cursor: pointer; }
.rr-qr-sticky-fold { width: 28px; height: 28px; background: transparent; }
.rr-qr-sticky-fold:hover { background: rgba(255, 255, 255, .08); color: var(--rr-text); }
.rr-qr-sticky-icon { display: none; width: 44px; height: 44px; margin-bottom: 16px; background: var(--rr-bg2); border: 1px solid var(--rr-hairline2); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.rr-qr-sticky-icon:hover { color: var(--rr-accent); border-color: var(--rr-accent); }
.rr-qr-sticky-fold:focus-visible, .rr-qr-sticky-icon:focus-visible, .rr-qr-sticky-code:focus-visible { outline: 2px solid var(--rr-accent); outline-offset: 2px; }
.rr-qr-sticky.collapsed .rr-qr-sticky-card { display: none; }
.rr-qr-sticky.collapsed .rr-qr-sticky-icon { display: inline-flex; }
@media (min-width: 992px) { .rr-qr-sticky { display: block; } }
