html { scroll-padding-top: 96px; }
    .route-section-anchor { scroll-margin-top: 96px; }
    #route-detail-minimap {
        height: 300px !important;
        min-height: 300px;
}

/* Route provenance and community condition reports. */
.route-actuality {
    margin-top: 18px;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
}

.route-actuality--warning {
    border-color: #fed7aa;
    background: #fffdf9;
}

.route-actuality--critical {
    border-color: #fecaca;
    background: #fffafa;
}

.route-actuality__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f6;
}

.route-actuality__eyebrow {
    margin: 0 0 4px;
    color: #f25c1c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.route-actuality__header h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.route-actuality__report-button,
.route-condition-form__submit {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: #ff641f;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    padding: 0 17px;
    box-shadow: 0 10px 22px rgba(255, 100, 31, .18);
    transition: transform .2s ease, background-color .2s ease;
}

.route-actuality__report-button:hover,
.route-condition-form__submit:hover {
    background: #eb5312;
    transform: translateY(-1px);
}

.route-actuality__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 17px;
}

.route-actuality__item {
    min-width: 0;
    padding: 2px 20px;
}

.route-actuality__item:first-child {
    padding-left: 0;
}

.route-actuality__item + .route-actuality__item {
    border-left: 1px solid #edf1f6;
}

.route-actuality__item:last-child {
    padding-right: 0;
}

.route-actuality__label {
    display: block;
    color: #7b8799;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.route-actuality__value {
    display: block;
    margin-top: 7px;
    color: #172033;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.route-actuality__item > p {
    margin: 7px 0 0;
    color: #596579;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.route-actuality__item .route-actuality__meta {
    color: #7a8698;
    font-size: 11px;
}

.route-actuality--positive .route-actuality__item--condition .route-actuality__value {
    color: #168447;
}

.route-actuality--warning .route-actuality__item--condition .route-actuality__value {
    color: #c85a0b;
}

.route-actuality--critical .route-actuality__item--condition .route-actuality__value {
    color: #b42318;
}

.route-actuality__details {
    margin-top: 9px;
    color: #546176;
    font-size: 11px;
    font-weight: 700;
}

.route-actuality__details summary {
    color: #f25c1c;
    cursor: pointer;
}

.route-actuality__details p {
    margin: 7px 0 0;
    line-height: 1.5;
}

.route-actuality__issues {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    padding: 14px 16px 0;
    border-top: 1px solid #edf1f6;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.route-actuality__issue {
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #b54708;
    padding: 6px 9px;
}

.route-condition-modal[hidden] {
    display: none !important;
}

.route-condition-modal {
    position: fixed;
    z-index: 10080;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.route-condition-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 14, 26, .62);
    cursor: default;
    backdrop-filter: blur(6px);
}

.route-condition-modal__sheet {
    position: relative;
    width: min(680px, 100%);
    max-height: min(860px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    color: #172033;
    padding: 22px;
    box-shadow: 0 28px 80px rgba(5, 13, 25, .28);
}

.route-condition-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.route-condition-modal__head p {
    margin: 0 0 5px;
    color: #f25c1c;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.route-condition-modal__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.route-condition-modal__close {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #e1e7ef;
    border-radius: 50%;
    background: #f8fafc;
    color: #344054;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.route-condition-form {
    display: grid;
    gap: 18px;
}

.route-condition-form__field,
.route-condition-form__fieldset {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.route-condition-form__field > span,
.route-condition-form__fieldset legend,
.route-condition-form__location summary {
    color: #273244;
    font-size: 13px;
    font-weight: 900;
}

.route-condition-form small,
.route-condition-form__fieldset > p,
.route-condition-form__location > p {
    color: #8792a4;
    font-size: 11px;
    font-weight: 700;
}

.route-condition-form input[type="date"],
.route-condition-form input[type="number"],
.route-condition-form input[type="file"],
.route-condition-form textarea {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #f8fafc;
    color: #172033;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    padding: 11px 12px;
    outline: 0;
}

.route-condition-form input[type="file"] {
    min-height: 46px;
    padding: 5px 7px;
    color: #667085;
    cursor: pointer;
}

.route-condition-form input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    border: 1px solid #ffb58f;
    border-radius: 8px;
    background: #fff4ee;
    color: #d94d10;
    padding: 0 12px;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.route-condition-form input[type="file"]::file-selector-button:hover {
    border-color: #ff8a52;
    background: #ffede3;
}

.route-condition-form textarea {
    resize: vertical;
}

.route-condition-form input:focus,
.route-condition-form textarea:focus {
    border-color: #ff8a52;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 100, 31, .1);
}

.route-condition-form__segments,
.route-condition-form__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.route-condition-form__segments label,
.route-condition-form__chips label {
    cursor: pointer;
}

.route-condition-form__segments input,
.route-condition-form__chips input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.route-condition-form__segments span,
.route-condition-form__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    color: #4a566b;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.route-condition-form__segments input:checked + span,
.route-condition-form__chips input:checked + span {
    border-color: #ff641f;
    background: #fff4ee;
    color: #d94d10;
}

.route-condition-form__segments input:focus-visible + span,
.route-condition-form__chips input:focus-visible + span {
    outline: 3px solid rgba(255, 100, 31, .16);
    outline-offset: 2px;
}

.route-condition-form__segments--status label:nth-child(1) input:checked + span {
    border-color: #8fd1ad;
    background: #effaf4;
    color: #176b43;
}

.route-condition-form__segments--status label:nth-child(2) input:checked + span {
    border-color: #e7ca76;
    background: #fff9e9;
    color: #865b08;
}

.route-condition-form__segments--status label:nth-child(3) input:checked + span {
    border-color: #efa5a8;
    background: #fff3f3;
    color: #a53137;
}

.route-condition-form__context {
    display: grid;
    gap: 4px;
}

.route-condition-form__context h3 {
    margin: 0;
    color: #172033;
    font-size: 17px;
    font-weight: 900;
}

.route-condition-form__context p {
    margin: 0;
    color: #7a8698;
    font-size: 11px;
    font-weight: 650;
}

.route-condition-form__issue-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.route-condition-form__issue-groups label { cursor: pointer; }
.route-condition-form__issue-groups input { position: absolute; opacity: 0; pointer-events: none; }
.route-condition-form__issue-groups span {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    color: #455267;
    padding: 8px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 820;
}
.route-condition-form__issue-groups input:focus-visible + span { outline: 3px solid rgba(255, 100, 31, .16); outline-offset: 2px; }
.route-condition-form__issue-groups input:checked + span { border-color: #ff9d6d; background: #fff4ee; color: #c94a13; }

.route-condition-form__issue-details {
    display: grid;
    gap: 7px;
    margin-top: 9px;
    border-left: 2px solid #ffd0b8;
    padding-left: 10px;
}
.route-condition-form__issue-details[hidden] { display: none !important; }
.route-condition-form__issue-details > span { color: #7a8698; font-size: 9px; font-weight: 850; text-transform: uppercase; }

.route-condition-form__logistics { margin-top: 10px; }
.route-condition-form__logistics > summary { color: #647084; cursor: pointer; font-size: 10px; font-weight: 800; }
.route-condition-form__logistics .route-condition-form__chips { margin-top: 8px; }

.route-condition-form__quick-good {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    border: 1px solid #cce8da;
    border-radius: 14px;
    background: #f4fbf7;
    padding: 18px;
}
.route-condition-form__quick-good[hidden] { display: none !important; }
.route-condition-form__quick-good > img { width: 44px; height: 44px; }
.route-condition-form__quick-good h3 { margin: 0; color: #176b43; font-size: 18px; font-weight: 900; }
.route-condition-form__quick-good p { margin: 4px 0 0; color: #557166; font-size: 11px; line-height: 1.5; }
.route-condition-form__quick-actions { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.route-condition-form__secondary {
    min-height: 42px;
    border: 1px solid #cfd8e2;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.route-condition-form__location {
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #fbfcfd;
    padding: 13px;
}

.route-condition-form__location summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
}

.route-condition-form__location summary::-webkit-details-marker { display: none; }
.route-condition-form__location summary > img { width: 22px; height: 22px; }
.route-condition-form__location summary > span { display: grid; gap: 2px; }
.route-condition-form__location summary strong { font-size: 12px; font-weight: 900; }
.route-condition-form__location summary small { font-size: 9px; font-weight: 700; }
.route-condition-form__location summary::after { content: "+"; margin-left: auto; color: #7a8698; font-size: 18px; }
.route-condition-form__location[open] summary::after { content: "−"; }

.route-condition-form__location > p {
    margin: 9px 0;
}

.route-condition-form__location > button {
    min-height: 36px;
    border: 1px solid #ffbd99;
    border-radius: 9px;
    background: #fff7f2;
    color: #d94d10;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    padding: 0 12px;
}

.route-condition-form__coordinates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.route-condition-form__location label {
    display: grid;
    gap: 5px;
    color: #667085;
    font-size: 10px;
    font-weight: 800;
}

.route-condition-form__issue-map {
    width: 100%;
    height: 230px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid #dce4eb;
    border-radius: 11px;
    background: #eef2ed;
}

.route-condition-form__issue-map .maplibregl-canvas { cursor: crosshair; }
.route-condition-form__issue-map .maplibregl-ctrl-attrib { font-size: 8px; }

.route-condition-form__map-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.route-condition-form__map-actions p {
    margin: 0;
    color: #687589;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.route-condition-form__map-actions button {
    flex: 0 0 auto;
    min-height: 30px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
    color: #556175;
    padding: 0 9px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.route-condition-form__map-actions button[hidden] { display: none !important; }

.route-condition-upload {
    display: grid;
    gap: 8px;
}

.route-condition-upload__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.route-condition-upload__button {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    gap: 12px;
    border: 1px dashed #ffb58f;
    border-radius: 11px;
    background: #fff9f5;
    color: #253247;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
}
.route-condition-upload__button:hover { border-color: #ff8a52; background: #fff4ee; }
.route-condition-upload__button:focus-visible { outline: 3px solid rgba(255, 100, 31, .16); outline-offset: 2px; }
.route-condition-upload__button > img { width: 25px; height: 25px; }
.route-condition-upload__button > span { display: grid; gap: 3px; }
.route-condition-upload__button strong { font-size: 12px; font-weight: 900; }
.route-condition-upload__button small { color: #7a8698; font-size: 10px; font-weight: 650; }

.route-condition-upload__preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}
.route-condition-upload__preview[hidden] { display: none !important; }
.route-condition-upload__item { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid #dce3eb; border-radius: 9px; background: #eef1f4; }
.route-condition-upload__item > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.route-condition-upload__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, .78);
    cursor: pointer;
}
.route-condition-upload__remove img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.route-condition-upload__status { min-height: 14px; margin: 0; color: #7a8698; font-size: 10px; font-weight: 700; }
.route-condition-upload__status.is-error { color: #b42318; }

.route-condition-form__errors,
.route-condition-form__success {
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 12px;
    font-weight: 800;
}

.route-condition-form__errors {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.route-condition-form__success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #167447;
}

.route-condition-form__submit {
    justify-self: start;
    min-width: 180px;
}

.route-condition-form__submit:disabled {
    cursor: wait;
    opacity: .65;
}

html.route-condition-modal-open,
html.route-condition-modal-open body {
    overflow: hidden;
}

/* Route completion flow. Uses the existing TrailTrack route-detail tokens. */
.route-detail-hero-action--completion {
    border-color: #ffb58f;
    background: #fff7f2;
    color: #d94d10;
}

.route-detail-hero-action--completion:hover {
    border-color: #ff8a52;
    background: #fff1e9;
}

.route-completion-freshness {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    color: #637083;
    font-size: 12px;
    font-weight: 650;
}

.route-detail-hero-completion-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.route-completion-freshness__dot,
.route-completion-card__status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #98a2b3;
}

.route-completion-freshness--positive .route-completion-freshness__dot { background: #22a963; }
.route-completion-freshness--attention .route-completion-freshness__dot { background: #e0a31a; }
.route-completion-freshness--warning .route-completion-freshness__dot { background: #f25c1c; }
.route-completion-freshness--positive strong { color: #18774a; }
.route-completion-freshness--attention strong { color: #9a6509; }
.route-completion-freshness--warning strong { color: #b54708; }

.route-completions {
    border-top: 1px solid #edf1f6;
    padding: 18px 16px 16px;
}

.route-completions__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.route-completions__head h3 {
    margin: 4px 0 0;
    color: #172033;
    font-size: 16px;
    font-weight: 850;
}

.route-completions__count {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #f2f5f7;
    color: #475467;
    font-size: 12px;
    font-weight: 850;
}

.route-completions__list {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.route-completion-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-width: 0;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    background: #fff;
    padding: 10px 11px;
}

.route-completion-card__avatar {
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: #fff1e9;
    color: #d94d10;
    font-size: 13px;
    font-weight: 900;
}

.route-completion-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.route-completion-card__copy { min-width: 0; }
.route-completion-card__copy > div { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; }
.route-completion-card__copy > div strong { color: #172033; }
.route-completion-card__copy > div span { color: #7a8698; }
.route-completion-card__copy p { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: #445064; font-size: 12px; font-weight: 750; }
.route-completion-card__copy small { display: block; margin-top: 3px; color: #7a8698; font-size: 10px; font-weight: 650; }
.route-completion-card__point { color: #8b97a8 !important; }
.route-completion-card__evidence { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; min-width: 0; }
.route-completion-card__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; min-width: 0; }
.route-completion-card__photos[data-photo-count="1"] { grid-template-columns: minmax(0, min(520px, 100%)); }
.route-completion-card__photos[data-photo-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.route-completion-card__photos[data-photo-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-completion-card__photos a { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px; background: #f2f5f7; }
.route-completion-card__photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.route-completion-card__comment { align-self: stretch; margin: 0; border: 1px solid #f0e3dd; border-left: 3px solid #ffd0ba; border-radius: 9px; background: #fffaf7; color: #4a566b; padding: 11px 12px; font-size: 11px; line-height: 1.5; white-space: pre-line; }

.route-completion-card--passable .route-completion-card__status-dot { background: #22a963; }
.route-completion-card--difficult .route-completion-card__status-dot { background: #e0a31a; }
.route-completion-card--blocked .route-completion-card__status-dot { background: #dc3d43; }

.route-completion-card__meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}

.route-completion-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 7px;
    background: #f6f8fa;
    color: #647084;
    padding: 5px 7px;
    font-size: 9px;
    font-weight: 850;
}

.route-completion-card__meta img { width: 13px; height: 13px; }
.route-completion-card__meta:empty { display: none; }
.route-completion-card__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid #e9eef0;
}
.route-completion-card__useful { margin: 0; }
.route-completion-card__action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    padding: 9px 13px;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}
.route-completion-card__action svg { width: 17px; height: 17px; flex: 0 0 auto; }
.route-completion-card__action--useful { border-color: #b7dbc8; color: #18774a; cursor: pointer; }
.route-completion-card__action--useful:hover { border-color: #52a878; background: #f0faf4; }
.route-completion-card__action--verify { border-color: #ffcfb6; color: #bd4c1c; cursor: pointer; list-style: none; }
.route-completion-card__action--verify:hover { border-color: #f79b70; background: #fff7f2; }
.route-completion-card__action--verify::-webkit-details-marker { display: none; }
.route-completion-card__action--done { border-color: #d1e7da; background: #f0faf4; color: #246a49; }
.route-completion-card__chevron { width: 14px !important; height: 14px !important; margin-left: 4px; transition: transform .2s ease; }
.route-completion-card__verify[open] { width: 100%; }
.route-completion-card__verify[open] .route-completion-card__chevron { transform: rotate(180deg); }
.route-completion-card__verify-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    max-width: 560px;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid #f0e3da;
    border-radius: 11px;
    background: #fffaf7;
}
.route-completion-card__verify-form label { grid-column: 1 / -1; color: #526174; font-size: 12px; font-weight: 750; }
.route-completion-card__verify-form select,
.route-completions__correction textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #d5e0e4;
    border-radius: 9px;
    background: #fff;
    color: #263448;
    font: inherit;
    font-size: 12px;
}
.route-completion-card__verify-form button,
.route-completions__correction button {
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: #f2693e;
    color: #fff;
    padding: 9px 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.route-completion-card__verify-form button:hover,
.route-completions__correction button:hover { background: #d95028; }
.route-completion-card__actions :is(button, summary, select):focus-visible,
.route-completions__correction :is(summary, textarea, button):focus-visible { outline: 3px solid #f2693e; outline-offset: 2px; }
.route-completions__correction { margin-top: 12px; color: #526174; }
.route-completions__correction summary { width: fit-content; cursor: pointer; font-size: 12px; font-weight: 750; }
.route-completions__correction form { display: grid; gap: 10px; max-width: 560px; margin-top: 12px; }
.route-completions__correction label { color: #526174; font-size: 12px; line-height: 1.4; }
.route-completions__correction textarea { min-height: 100px; resize: vertical; }
.route-completions__correction button { justify-self: start; }
html[data-theme="dark"] .route-completions,
html[data-theme="dark"] .route-completion-card__actions { border-color: #314155; }
html[data-theme="dark"] .route-completions__head h3,
html[data-theme="dark"] .route-completion-card__copy > div strong { color: #f3f6fb; }
html[data-theme="dark"] .route-completion-card { border-color: #344256; background: #172538; }
html[data-theme="dark"] .route-completion-card__copy p,
html[data-theme="dark"] .route-completions__correction { color: #c3cede; }
html[data-theme="dark"] .route-completion-card__action--useful { border-color: #396b55; background: #193629; color: #9ce3b7; }
html[data-theme="dark"] .route-completion-card__action--verify { border-color: #815540; background: #34271f; color: #ffc39e; }
html[data-theme="dark"] .route-completion-card__action--done { border-color: #396b55; background: #1b392d; color: #a8eac1; }
html[data-theme="dark"] .route-completion-card__verify-form { border-color: #664639; background: #251f1d; }
html[data-theme="dark"] .route-completion-card__verify-form label,
html[data-theme="dark"] .route-completions__correction label { color: #c3cede; }
html[data-theme="dark"] .route-completion-card__verify-form select,
html[data-theme="dark"] .route-completions__correction textarea { border-color: #4b5a70; background: #101b2b; color: #f3f6fb; }
.route-completions__empty { margin: 12px 0 0; color: #7a8698; font-size: 12px; line-height: 1.5; }

.route-completions__cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    border: 1px solid #ffb58f;
    border-radius: 10px;
    background: #fff7f2;
    color: #d94d10;
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.route-completions__cta img { width: 17px; height: 17px; }
.route-completions__all {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border: 1px solid #dde4ed;
    border-radius: 10px;
    background: #fff;
    color: #263348;
    padding: 0 14px;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}
.route-completions__all:hover { border-color: #ffb38e; color: #d94d0c; }
.route-completions__all:disabled { cursor: wait; opacity: .65; }
.route-completions__all[hidden] { display: none !important; }
.route-condition-modal__close { display: grid; place-items: center; }
.route-condition-modal__close img { width: 19px; height: 19px; }

.route-condition-form__step {
    display: grid;
    gap: 18px;
}

.route-condition-form__step[hidden] { display: none !important; }

.route-condition-form__date-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.route-condition-form__date-options button {
    min-height: 42px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    color: #4a566b;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 800;
}

.route-condition-form__date-options button.is-selected {
    border-color: #ff8a52;
    background: #fff4ee;
    color: #d94d10;
    box-shadow: 0 0 0 2px rgba(255, 100, 31, .08);
}

.route-condition-form__custom-date { display: grid; gap: 6px; margin-top: 2px; }
.route-condition-form__custom-date[hidden] { display: none !important; }

.route-condition-form__segments--status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-condition-form__segments--status span {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    gap: 9px;
    border-radius: 11px;
}

.route-condition-form__segments--status i {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 50%;
    background: #22a963;
    box-shadow: 0 0 0 3px rgba(34, 169, 99, .11);
}

.route-condition-form__segments--status label:nth-child(2) i { background: #e0a31a; box-shadow: 0 0 0 3px rgba(224, 163, 26, .12); }
.route-condition-form__segments--status label:nth-child(3) i { background: #dc3d43; box-shadow: 0 0 0 3px rgba(220, 61, 67, .11); }

.route-condition-form__back {
    display: inline-flex;
    width: max-content;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #667085;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    font-weight: 800;
}

.route-condition-form__back img { width: 16px; height: 16px; }

.route-condition-form__success {
    display: grid;
    justify-items: center;
    border: 1px solid #bbe5ca;
    border-radius: 14px;
    background: #f4fbf6;
    color: #315f43;
    padding: 24px 18px;
    text-align: center;
}

.route-condition-form__success[hidden] { display: none !important; }
.route-condition-form__success > img { width: 42px; height: 42px; }
.route-condition-form__success h3 { margin: 10px 0 0; color: #183c28; font-size: 19px; font-weight: 900; }
.route-condition-form__success > p { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.route-condition-form__success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.route-condition-form__success-actions > div { display: grid; flex: 1 0 100%; gap: 3px; }
.route-condition-form__success-actions strong { color: #183c28; font-size: 12px; font-weight: 900; }
.route-condition-form__success-actions span { font-size: 10px; font-weight: 650; }
.route-condition-form__success a { display: inline-flex; min-height: 38px; align-items: center; border-radius: 9px; background: #ff641f; color: #fff; padding: 0 13px; font-size: 11px; font-weight: 850; text-decoration: none; }
.route-condition-form__success a[hidden] { display: none !important; }
.route-condition-form__success-actions > button { min-height: 38px; border: 1px solid #cfd8e2; border-radius: 9px; background: #fff; color: #344054; padding: 0 13px; font-size: 11px; font-weight: 850; cursor: pointer; }

@media (max-width: 767px) {
    .route-detail-hero-action--completion { flex-basis: 100%; }
    .route-completion-freshness { margin-top: 9px; }
    .route-condition-modal { align-items: end; padding: 0; }
    .route-condition-modal__sheet {
        width: 100%;
        max-height: min(90dvh, 820px);
        border-width: 1px 0 0;
        border-radius: 18px 18px 0 0;
        padding: 18px 16px max(20px, env(safe-area-inset-bottom));
    }
    .route-condition-form__date-options,
    .route-condition-form__segments--status { grid-template-columns: 1fr; }
    .route-condition-form__date-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .route-condition-form__date-options button:last-child { grid-column: 1 / -1; }
    .route-condition-form__segments--status span { min-height: 46px; }
    .route-condition-form__submit { width: 100%; justify-self: stretch; min-height: 48px; }
    .route-condition-form__issue-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .route-condition-form__issue-groups span { min-height: 48px; }
    .route-condition-form__issue-map { height: 210px; }
    .route-condition-form__coordinates { grid-template-columns: 1fr; }
    .route-condition-form__quick-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .route-condition-form__quick-actions > button { width: 100%; }
    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__submit {
        position: sticky;
        z-index: 3;
        bottom: 0;
        box-shadow: 0 -10px 24px rgba(255, 255, 255, .94);
    }
    .route-completion-card { grid-template-columns: 36px minmax(0, 1fr); }
    .route-completion-card__evidence { grid-column: 1 / -1; gap: 8px; }
    .route-completion-card__photos,
    .route-completion-card__photos[data-photo-count="3"],
    .route-completion-card__photos[data-photo-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .route-completion-card__photos[data-photo-count="1"] { grid-template-columns: minmax(0, 1fr); }
    .route-completion-card__meta { grid-column: 1 / -1; justify-content: flex-start; }
    .route-completion-card__actions { flex-direction: column; }
    .route-completion-card__actions > *,
    .route-completion-card__actions .route-completion-card__action { width: 100%; }
    .route-completion-card__verify-form { grid-template-columns: minmax(0, 1fr); }
    .route-completion-card__verify-form label { grid-column: auto; }
    .route-completions__correction button { width: 100%; }
}

@media (max-width: 767px) {
    .route-actuality {
        margin: 14px 12px 0;
        border-radius: 15px;
        padding: 16px;
    }

    .route-actuality__header {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .route-actuality__report-button {
        width: 100%;
    }

    .route-actuality__grid {
        grid-template-columns: 1fr;
        margin-top: 4px;
    }

    .route-actuality__item,
    .route-actuality__item:first-child,
    .route-actuality__item:last-child {
        padding: 14px 0;
    }

    .route-actuality__item + .route-actuality__item {
        border-top: 1px solid #edf1f6;
        border-left: 0;
    }

    .route-condition-modal {
        align-items: end;
        padding: 0;
    }

    .route-condition-modal__sheet {
        width: 100%;
        max-height: min(90dvh, 820px);
        min-height: 0;
        border: 1px solid #e3e8ef;
        border-width: 1px 0 0;
        border-radius: 18px 18px 0 0;
        padding: 18px 16px max(20px, env(safe-area-inset-bottom));
    }

    .route-condition-form__segments {
        display: grid;
        grid-template-columns: 1fr;
    }

    .route-condition-form__segments span,
    .route-condition-form__submit {
        width: 100%;
        justify-content: center;
    }
}
    @media (min-width: 768px) {
        #route-detail-minimap {
            height: 350px !important;
            min-height: 350px;
        }
    }
    .route-download-menu[open] summary { border-color: rgba(249,115,22,.35); color: #ea580c; }
    .route-download-menu summary::-webkit-details-marker { display: none; }
    [data-route-save-button][data-saved="true"] {
        border-color: rgb(254 215 170);
        background: rgb(255 247 237);
        color: rgb(234 88 12);
    }
    .route-detail-cover-placeholder {
        display: grid;
        height: 300px;
        min-height: 300px;
        place-items: center;
        background:
            radial-gradient(circle at 22% 20%, rgba(249, 115, 22, 0.20), transparent 34%),
            linear-gradient(135deg, #e0f2fe 0%, #dcfce7 42%, #fef3c7 100%);
    }
    .route-detail-cover-placeholder__inner {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.88);
        padding: 12px 16px;
        color: #111827;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .04em;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    }
    .route-detail-cover-placeholder__inner img {
        width: 22px;
        height: 22px;
    }
    .route-waypoint-panel[hidden] { display: none !important; }
    .route-waypoint-panel {
        border: 1px solid #f1f5f9;
        border-radius: 24px;
        background: #ffffff;
        padding: 14px;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    }
    .route-waypoint-panel__head {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }
    .route-waypoint-panel__title {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        color: #111827;
        font-size: 13px;
        font-weight: 900;
    }
    .route-waypoint-panel__count {
        display: inline-flex;
        min-width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #fff7ed;
        color: #ea580c;
        font-size: 11px;
        font-weight: 900;
    }
    .route-waypoint-panel__reset {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #ffffff;
        padding: 8px 12px;
        color: #374151;
        font-size: 11px;
        font-weight: 900;
        transition: border-color .18s ease, color .18s ease, background .18s ease;
    }
    .route-waypoint-panel__reset:hover {
        border-color: #fed7aa;
        background: #fff7ed;
        color: #ea580c;
    }
    .route-waypoint-panel__reset img {
        width: 16px;
        height: 16px;
    }
    .route-waypoint-panel__list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
        max-height: 190px;
        overflow: auto;
        padding-right: 2px;
    }
    .route-waypoint-button {
        display: flex;
        min-width: 0;
        min-height: 46px;
        align-items: center;
        gap: 10px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #f9fafb;
        padding: 9px 10px;
        color: #1f2937;
        text-align: left;
        transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
    }
    .route-waypoint-button:hover,
    .route-waypoint-button:focus-visible,
    .route-waypoint-button[data-active="true"] {
        border-color: #fdba74;
        background: #fff7ed;
        color: #ea580c;
        box-shadow: 0 12px 24px rgba(249, 115, 22, 0.10);
        outline: none;
    }
    .route-waypoint-button__index {
        display: inline-flex;
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #f97316;
        color: #ffffff;
        font-size: 11px;
        font-weight: 900;
        line-height: 1;
    }
    .route-waypoint-button__name {
        min-width: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
        font-size: 12px;
        font-weight: 900;
        line-height: 1.2;
    }
    html[data-theme="dark"] .route-waypoint-panel {
        border-color: #1f2937;
        background: #0f172a;
        box-shadow: none;
    }
    html[data-theme="dark"] .route-waypoint-panel__title { color: #f8fafc; }
    html[data-theme="dark"] .route-waypoint-panel__reset,
    html[data-theme="dark"] .route-waypoint-button {
        border-color: #334155;
        background: #111827;
        color: #e5e7eb;
    }
    html[data-theme="dark"] .route-waypoint-button:hover,
    html[data-theme="dark"] .route-waypoint-button:focus-visible,
    html[data-theme="dark"] .route-waypoint-button[data-active="true"],
    html[data-theme="dark"] .route-waypoint-panel__reset:hover {
        border-color: #fb923c;
        background: rgba(249, 115, 22, 0.16);
        color: #fdba74;
    }
    .route-detail-weather-list {
        scroll-snap-type: x proximity;
    }
    .route-detail-weather-day {
        width: 104px;
        min-width: 104px;
        flex: 0 0 104px;
        border-radius: 16px;
        scroll-snap-align: start;
    }
    @media (max-width: 767px) {
        body { padding-bottom: 86px; }
        body.page-route-detail .site-topbar {
            display: none !important;
        }
        body.page-route-detail .site-main-offset {
            padding-top: 0 !important;
        }
        .route-detail-page {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding-top: 0 !important;
            padding-right: 0 !important;
            padding-bottom: 0 !important;
            padding-left: 0 !important;
        }
        .route-waypoint-panel__list { grid-template-columns: 1fr; max-height: 220px; }
        .route-waypoint-panel__reset { width: 100%; }
    }

    .route-mobile-detail { display: none; }

    @media (max-width: 767px) {
        body.page-route-detail {
            background: #f7f7f8 !important;
        }
        .route-mobile-detail {
            display: grid;
            gap: 12px;
            width: 100%;
            padding: 0 0 12px;
            color: #111111;
        }
        .route-mobile-hero {
            position: relative;
            min-height: 226px;
            overflow: hidden;
            border-radius: 0;
            background: #111827;
            box-shadow: none;
        }
        .route-mobile-hero__image,
        .route-mobile-hero__fallback {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .route-mobile-hero__fallback {
            display: grid;
            place-items: center;
            background:
                radial-gradient(circle at 22% 20%, rgba(255, 122, 0, .22), transparent 34%),
                linear-gradient(135deg, #dbeafe 0%, #dcfce7 48%, #fef3c7 100%);
            color: #111827;
            font-size: 12px;
            font-weight: 800;
        }
        .route-mobile-hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            z-index: 1;
            height: 48%;
            background: linear-gradient(to top, rgba(17, 24, 39, .46), rgba(17, 24, 39, 0));
            pointer-events: none;
        }
        .route-mobile-hero__content {
            display: grid;
            gap: 8px;
            border-radius: 0;
            background: #ffffff;
            padding: 12px;
        }
        .route-mobile-title {
            margin: 0;
            color: #111111;
            font-size: 24px;
            font-weight: 800;
            line-height: 1.12;
            overflow-wrap: anywhere;
        }
        .route-detail-visual-title::before {
            content: attr(data-title);
        }
        .route-mobile-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            overflow: visible;
        }
        .route-mobile-hero > .route-mobile-chips {
            position: absolute;
            top: 12px;
            right: 12px;
            left: 12px;
            z-index: 2;
            align-content: flex-start;
            align-items: center;
            max-height: calc(100% - 24px);
        }
        .route-mobile-chips::-webkit-scrollbar { display: none; }
        .route-mobile-chip {
            display: inline-flex;
            min-height: 30px;
            max-width: 100%;
            align-items: center;
            gap: 6px;
            border-radius: 999px;
            background: #f7f7f8;
            padding: 0 10px;
            color: #111111;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            text-decoration: none;
        }
        .route-mobile-hero > .route-mobile-chips .route-mobile-chip {
            background: rgba(255, 255, 255, .94);
            box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .route-mobile-chip--source-official {
            border: 1px solid rgba(249, 115, 22, .34);
            background: #fff7ed;
            color: #ea580c;
        }
        .route-mobile-chip--source-user {
            border: 1px solid rgba(226, 232, 240, .9);
            background: #ffffff;
            color: #334155;
        }
        .route-mobile-chip--difficulty-easy span {
            color: #22c55e;
        }
        .route-mobile-chip--difficulty-medium span {
            color: #f59e0b;
        }
        .route-mobile-chip--difficulty-hard span {
            color: #ef4444;
        }
        .route-mobile-chip span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .route-mobile-chip img {
            width: 14px;
            height: 14px;
        }
        .route-mobile-card {
            border-radius: 14px;
            background: #ffffff;
            padding: 12px;
        }
        .route-mobile-primary {
            display: inline-flex;
            width: 100%;
            min-height: 44px;
            align-items: center;
            justify-content: center;
            gap: 9px;
            justify-self: center;
            border-radius: 13px;
            background: #ff7a00;
            padding: 0 18px;
            color: #ffffff;
            font-size: 14px;
            font-weight: 600;
            line-height: 1;
            text-decoration: none;
            box-shadow: 0 10px 18px rgba(255, 122, 0, .20);
        }
        .route-mobile-primary-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
            gap: 8px;
            align-items: stretch;
            padding: 0 12px;
        }
        .route-mobile-primary img {
            width: 17px;
            height: 17px;
            filter: brightness(0) invert(1);
        }
        .route-mobile-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            border-radius: 14px;
            background: #f7f7f8;
            padding: 8px;
        }
        .route-mobile-stat {
            --route-mobile-stat-text-width: 92px;
            display: grid;
            grid-template-columns: 22px var(--route-mobile-stat-text-width);
            min-width: 0;
            min-height: 58px;
            align-items: center;
            justify-content: center;
            column-gap: 8px;
            border-radius: 12px;
            background: transparent;
            padding: 10px;
        }
        .route-mobile-stat img {
            width: 19px;
            height: 19px;
            flex: 0 0 19px;
            justify-self: center;
        }
        .route-mobile-stat > .min-w-0 {
            display: grid;
            width: var(--route-mobile-stat-text-width);
            min-width: 0;
            align-content: center;
            gap: 3px;
            text-align: left;
        }
        .route-mobile-stat__value {
            display: block;
            order: 2;
            overflow: hidden;
            color: #111111;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.1;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .route-mobile-stat--difficulty-easy .route-mobile-stat__value {
            color: #22c55e;
        }
        .route-mobile-stat--difficulty-medium .route-mobile-stat__value {
            color: #f59e0b;
        }
        .route-mobile-stat--difficulty-hard .route-mobile-stat__value {
            color: #ef4444;
        }
        .route-mobile-stat__label {
            display: block;
            order: 1;
            margin-top: 0;
            color: #777777;
            font-size: 11px;
            font-weight: 500;
            line-height: 1;
        }
        .route-mobile-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            padding: 0 12px;
        }
        .route-mobile-action {
            display: inline-flex;
            min-height: 44px;
            min-width: 0;
            width: 100%;
            align-items: center;
            justify-content: center;
            gap: 7px;
            border: 0;
            border-radius: 12px;
            background: #ffffff;
            color: #111111;
            font-size: 12px;
            font-weight: 750;
            text-decoration: none;
        }
        .route-mobile-action img,
        .route-mobile-action svg {
            width: 17px;
            height: 17px;
            flex: 0 0 17px;
        }
        .route-mobile-download {
            position: relative;
        }
        .route-mobile-primary-row .route-mobile-download {
            min-width: 104px;
        }
        .route-mobile-primary-row .route-mobile-action {
            height: 100%;
            border: 1px solid #f1f1f1;
            background: #ffffff;
            font-weight: 600;
        }
        .route-mobile-download summary {
            cursor: pointer;
            list-style: none;
        }
        .route-mobile-download summary::-webkit-details-marker { display: none; }
        .route-mobile-download__menu {
            position: absolute;
            right: 0;
            bottom: calc(100% + 8px);
            z-index: 4;
            display: grid;
            min-width: 112px;
            gap: 4px;
            border-radius: 12px;
            background: #ffffff;
            padding: 6px;
            box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
        }
        .route-mobile-download__menu a {
            border-radius: 9px;
            padding: 8px 10px;
            color: #111111;
            font-size: 12px;
            font-weight: 800;
            text-decoration: none;
        }
        .route-mobile-primary-row .route-mobile-download__menu {
            top: calc(100% + 8px);
            bottom: auto;
        }
        .route-mobile-map {
            display: block;
            overflow: hidden;
            border-radius: 14px;
            background: #e5e7eb;
            text-decoration: none;
        }
        .route-mobile-map__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 11px 12px;
            background: #ffffff;
            color: #111111;
            font-size: 13px;
            font-weight: 800;
        }
        .route-mobile-map__hint {
            color: #ff7a00;
            font-size: 11px;
            font-weight: 750;
        }
        #route-detail-mobile-map {
            height: 190px !important;
            min-height: 190px;
        }
        .route-mobile-map .maplibregl-canvas,
        .route-mobile-map .maplibregl-control-container {
            pointer-events: none;
        }
        .route-mobile-section {
            display: grid;
            gap: 10px;
            border-radius: 14px;
            background: #ffffff;
            padding: 12px;
        }
        .route-mobile-section__head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 10px;
        }
        .route-mobile-section__title {
            margin: 0;
            color: #111111;
            font-size: 17px;
            font-weight: 800;
            line-height: 1.12;
        }
        .route-mobile-section__meta {
            min-width: 0;
            overflow: hidden;
            color: #777777;
            font-size: 11px;
            font-weight: 700;
            line-height: 1.2;
            text-align: right;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .route-mobile-section__accent {
            border: 0;
            background: transparent;
            padding: 0;
            color: #ff7a00;
            font-size: 12px;
            font-weight: 800;
            text-decoration: none;
            white-space: nowrap;
        }
        .route-mobile-logistics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }
        .route-mobile-logistic {
            min-width: 0;
            border-radius: 12px;
            background: #f7f7f8;
            padding: 10px;
        }
        .route-mobile-logistic span {
            display: block;
            color: #777777;
            font-size: 10px;
            font-weight: 700;
            line-height: 1;
        }
        .route-mobile-logistic strong {
            display: -webkit-box;
            margin-top: 5px;
            overflow: hidden;
            color: #111111;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.25;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
        .route-mobile-waypoint-panel {
            border: 0;
            border-radius: 12px;
            background: #f7f7f8;
            padding: 8px;
            box-shadow: none;
        }
        .route-mobile-waypoint-panel .route-waypoint-panel__head {
            margin-bottom: 8px;
        }
        .route-mobile-waypoint-panel .route-waypoint-panel__list {
            display: flex;
            max-height: none;
            overflow-x: auto;
            gap: 8px;
            padding: 0 0 1px;
            scrollbar-width: none;
        }
        .route-mobile-waypoint-panel .route-waypoint-panel__list::-webkit-scrollbar { display: none; }
        .route-mobile-waypoint-panel .route-waypoint-button {
            min-width: 142px;
            max-width: 170px;
            border: 0;
            background: #ffffff;
        }
        .route-mobile-weather {
            overflow: hidden;
            border-radius: 14px;
            background: #ffffff;
            padding: 12px;
        }
        .route-mobile-weather .route-detail-weather-header {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            border: 0;
            background: transparent;
            padding: 0;
            text-align: left;
            cursor: pointer;
        }
        .route-mobile-weather .route-detail-weather-icon {
            display: grid;
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            place-items: center;
            border-radius: 12px;
            background: #fff7ed;
            color: #ff7a00;
            padding: 10px;
        }
        .route-mobile-weather .route-detail-weather-temp {
            margin: 0;
            color: #111111;
            font-size: 22px;
            font-weight: 800;
            line-height: 1;
        }
        .route-mobile-weather .route-detail-weather-desc,
        .route-mobile-weather .route-detail-weather-wind {
            margin: 3px 0 0;
            color: #777777;
            font-size: 11px;
            font-weight: 700;
        }
        .route-mobile-weather .route-detail-weather-toggle {
            display: grid;
            width: 34px;
            height: 34px;
            flex: 0 0 34px;
            place-items: center;
            border-radius: 12px;
            background: #f7f7f8;
            color: #777777;
        }
        .route-mobile-weather .route-detail-weather-body {
            margin-top: 10px;
            border-top: 1px solid #f1f1f1;
            padding-top: 10px;
        }
        .route-mobile-weather .route-detail-weather-list {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            margin-right: -12px;
            padding: 0 12px 3px 0;
            scroll-snap-type: x proximity;
            scrollbar-width: none;
        }
        .route-mobile-weather .route-detail-weather-list::-webkit-scrollbar { display: none; }
        .route-mobile-weather .route-detail-weather-day {
            width: 104px !important;
            min-width: 104px !important;
            flex: 0 0 104px !important;
            scroll-snap-align: start;
        }
        .route-mobile-chart {
            min-height: 0;
        }
        .route-mobile-elevation-section {
            background: transparent;
            padding: 0;
        }
        .route-mobile-elevation-section .route-mobile-section__head {
            padding: 0 12px;
        }
        .route-mobile-elevation-section .route-mobile-section__title {
            font-size: 16px;
            font-weight: 700;
        }
        .route-mobile-elevation-section .route-mobile-section__meta {
            font-weight: 500;
        }
        .route-mobile-empty {
            display: block;
            border-radius: 12px;
            background: #f7f7f8;
            padding: 24px 12px;
            color: #777777;
            text-align: center;
            font-size: 12px;
            font-weight: 700;
        }
        .route-mobile-empty.hidden { display: none; }
        .route-mobile-rich-text {
            color: #4b5563;
            font-size: 14px;
            font-weight: 450;
            line-height: 1.48;
        }
        .route-mobile-surface-bar {
            display: flex;
            height: 8px;
            overflow: hidden;
            border-radius: 999px;
            background: #f0f0f1;
        }
        .route-mobile-surface-list {
            display: grid;
            gap: 8px;
        }
        .route-mobile-surface-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            border-radius: 12px;
            background: #f7f7f8;
            padding: 10px;
            color: #111111;
            font-size: 12px;
            font-weight: 800;
        }
        .route-mobile-surface-item__name {
            display: flex;
            min-width: 0;
            align-items: center;
            gap: 8px;
        }
        .route-mobile-surface-item__swatch {
            width: 18px;
            height: 8px;
            flex: 0 0 18px;
            border-radius: 999px;
        }
        .route-mobile-surface-item__name span:last-child {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .route-mobile-surface-item__value {
            flex: 0 0 auto;
            color: #777777;
            font-size: 11px;
            font-weight: 700;
        }
        .route-mobile-gallery {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-auto-rows: 104px;
            gap: 8px;
        }
        .route-mobile-gallery a {
            overflow: hidden;
            border-radius: 0;
            background: #f7f7f8;
        }
        .route-mobile-gallery a:first-child {
            grid-row: span 2;
        }
        .route-mobile-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .route-comments-shell {
            margin-top: 0;
            max-width: none;
        }
        .route-comments-shell #comments-section {
            border-radius: 14px;
            background: #ffffff;
            padding: 12px;
        }
        .route-comments-shell .comment-thread,
        .route-comments-shell #comments-empty-state,
        .route-comments-shell #comment-no-results,
        .route-comments-shell .comment-composer-shell {
            border-radius: 14px !important;
        }
        body.page-route-detail .route-mobile-detail :where(
            .route-mobile-hero__content,
            .route-mobile-card,
            .route-mobile-stats,
            .route-mobile-stat,
            .route-mobile-map,
            .route-mobile-section,
            .route-mobile-weather,
            .route-detail-weather-day,
            .route-mobile-empty,
            .route-mobile-waypoint-panel,
            .route-waypoint-panel,
            .route-mobile-logistic,
            .route-mobile-surface-item,
            .route-mobile-surface-bar,
            .route-mobile-gallery,
            .route-mobile-gallery a,
            .route-comments-shell #comments-section,
            .route-comments-shell .comment-thread,
            .route-comments-shell #comments-empty-state,
            .route-comments-shell #comment-no-results,
            .route-comments-shell .comment-composer-shell
        ) {
            border-radius: 0 !important;
        }
        @media (max-width: 360px) {
            .route-mobile-detail { gap: 10px; }
            .route-mobile-hero { min-height: 214px; }
            .route-mobile-title { font-size: 22px; }
            .route-mobile-card { padding: 10px; }
            .route-mobile-stat { --route-mobile-stat-text-width: 84px; min-height: 54px; padding: 8px; }
            .route-mobile-logistic { padding: 8px; }
            .route-mobile-weather .route-detail-weather-day {
                width: 96px !important;
                min-width: 96px !important;
                flex-basis: 96px !important;
            }
            .route-mobile-gallery { grid-auto-rows: 94px; }
            .route-mobile-action span { display: none; }
        }
        @media (min-width: 414px) {
            .route-mobile-detail { gap: 14px; }
            .route-mobile-hero { min-height: 238px; }
            .route-mobile-title { font-size: 26px; }
            #route-detail-mobile-map {
                height: 200px !important;
                min-height: 200px;
            }
        }
    }
    .route-elevation-mounted {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .route-elevation-component {
        display: grid;
        gap: 12px;
        width: 100%;
        color: #111827;
    }
    .route-elevation-card {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(226, 232, 240, .78);
        border-radius: 28px;
        background: #ffffff;
        box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
    }
    .route-elevation-extremes {
        position: absolute;
        top: 18px;
        left: 22px;
        right: 22px;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        pointer-events: none;
    }
    .route-elevation-extreme {
        display: grid;
        gap: 4px;
        min-width: 0;
    }
    .route-elevation-extreme:last-child {
        text-align: right;
    }
    .route-elevation-extreme strong {
        color: #111827;
        font-size: clamp(22px, 3.4vw, 34px);
        font-weight: 800;
        line-height: .96;
        letter-spacing: 0;
    }
    .route-elevation-extreme span {
        color: #9ca3af;
        font-size: clamp(12px, 1.6vw, 15px);
        font-weight: 500;
        line-height: 1.15;
    }
    .route-elevation-plot {
        position: relative;
        min-height: 284px;
        padding: 74px 18px 16px;
        touch-action: pan-y;
    }
    .route-elevation-plot svg {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 230px;
        overflow: visible;
    }
    .route-elevation-tooltip {
        position: absolute;
        z-index: 4;
        display: grid;
        gap: 3px;
        min-width: 86px;
        transform: translate(-50%, -108%);
        border: 1px solid rgba(226, 232, 240, .78);
        border-radius: 18px;
        background: rgba(255, 255, 255, .96);
        padding: 10px 13px;
        box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity .16s ease;
    }
    .route-elevation-tooltip[data-active="true"] {
        opacity: 1;
    }
    .route-elevation-tooltip strong {
        color: #ff6b1a;
        font-size: 20px;
        font-weight: 800;
        line-height: 1;
    }
    .route-elevation-tooltip span {
        color: #6b7280;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.1;
    }
    .route-elevation-summary {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: hidden;
        border: 1px solid rgba(226, 232, 240, .78);
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    }
    .route-elevation-summary__item {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 14px;
        padding: 18px 20px;
    }
    .route-elevation-summary__item + .route-elevation-summary__item {
        border-left: 1px solid #edf0f4;
    }
    .route-elevation-summary__icon {
        display: grid;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        border-radius: 999px;
        background: #fff3ed;
    }
    .route-elevation-summary__icon img {
        width: 20px;
        height: 20px;
        filter: invert(56%) sepia(96%) saturate(2473%) hue-rotate(348deg) brightness(101%) contrast(101%);
    }
    .route-elevation-summary__copy {
        min-width: 0;
    }
    .route-elevation-summary__copy span {
        display: block;
        overflow: hidden;
        color: #6b7280;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .route-elevation-summary__copy strong {
        display: block;
        margin-top: 5px;
        overflow: hidden;
        color: #111827;
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    @media (max-width: 767px) {
        .route-elevation-card {
            border-right: 0;
            border-left: 0;
            border-radius: 0;
            box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
            overflow: visible;
        }
        .route-elevation-extremes {
            display: none;
        }
        .route-elevation-plot {
            min-height: 0;
            padding: 8px 0 14px;
        }
        .route-elevation-plot svg {
            height: auto;
            min-height: 0;
        }
        .route-elevation-tooltip {
            min-width: 78px;
            border-radius: 15px;
            padding: 8px 10px;
            box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
        }
        .route-elevation-tooltip strong {
            font-size: 16px;
            font-weight: 700;
        }
        .route-elevation-tooltip span {
            font-size: 11px;
        }
        .route-elevation-summary {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            border-right: 0;
            border-left: 0;
            border-radius: 0;
            box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
        }
        .route-elevation-summary__item {
            gap: 10px;
            justify-content: center;
            padding: 13px 12px;
        }
        .route-elevation-summary__item + .route-elevation-summary__item {
            border-left: 0;
        }
        .route-elevation-summary__item:nth-child(even) {
            border-left: 1px solid #edf0f4;
        }
        .route-elevation-summary__item:nth-child(n + 3) {
            border-top: 1px solid #edf0f4;
        }
        .route-elevation-summary__icon {
            width: 36px;
            height: 36px;
            flex-basis: 36px;
        }
        .route-elevation-summary__icon img {
            width: 17px;
            height: 17px;
        }
        .route-elevation-summary__copy span {
            font-size: 11px;
            font-weight: 500;
        }
        .route-elevation-summary__copy {
            display: grid;
            align-content: center;
            gap: 3px;
            text-align: left;
        }
        .route-elevation-summary__copy strong {
            font-size: 16px;
            font-weight: 700;
        }
    }

    body.page-route-detail,
    body.page-route-detail .site-main-offset,
    body.page-route-detail .route-detail-page {
        background: #ffffff !important;
    }

    @media (min-width: 768px) {
        body.page-route-detail .route-detail-page {
            width: min(calc(100% - 32px), var(--tt-shell-width, 1360px)) !important;
            max-width: var(--tt-shell-width, 1360px) !important;
            margin-top: 18px;
            border-radius: 34px 34px 0 0;
            overflow: hidden;
        }

        body.page-route-detail .route-detail-desktop-content {
            padding-top: 14px;
        }
    }

    body.page-route-detail .route-detail-desktop-content {
        border: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .route-detail-content-width {
        width: 100%;
        max-width: none !important;
    }

    .route-detail-hero-card {
        border: 1px solid #e5eaf1;
        border-radius: 26px;
        background: #ffffff;
        padding: 12px;
        box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
    }

    .route-detail-hero-media {
        position: relative;
        min-height: 420px;
        overflow: hidden;
        border-radius: 20px;
        background: #e5e7eb;
    }

    .route-detail-hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(3, 7, 18, 0.74) 0%, rgba(3, 7, 18, 0.42) 42%, rgba(3, 7, 18, 0.1) 100%),
            linear-gradient(0deg, rgba(3, 7, 18, 0.36), rgba(3, 7, 18, 0.06));
        pointer-events: none;
    }

    .route-detail-hero-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .route-detail-hero-fallback {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: #64748b;
        font-size: 18px;
        font-weight: 800;
        background: #f1f5f9;
    }

    .route-detail-hero-chips,
    .route-detail-hero-copy {
        position: relative;
        z-index: 2;
    }

    .route-detail-hero-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 16px;
    }

    .route-detail-hero-chip {
        display: inline-flex;
        max-width: 260px;
        align-items: center;
        gap: 6px;
        border: 1px solid rgba(226, 232, 240, 0.84);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        color: #4b5563;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 850;
        line-height: 1;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(12px);
    }

    .route-detail-hero-chip img {
        width: 14px;
        height: 14px;
        flex: 0 0 auto;
    }

    .route-detail-hero-chip--source-official {
        border-color: rgba(249, 115, 22, 0.42);
        background: rgba(255, 247, 237, 0.96);
        color: #ea580c;
    }

    .route-detail-hero-chip--source-user {
        border-color: rgba(226, 232, 240, 0.9);
        background: rgba(255, 255, 255, 0.94);
        color: #334155;
    }

    .route-detail-hero-copy {
        position: absolute;
        top: 98px;
        left: 24px;
        right: 24px;
        bottom: 24px;
        display: flex;
        max-width: 760px;
        flex-direction: column;
        justify-content: flex-end;
        color: #ffffff;
    }

    body.page-route-detail .route-detail-hero-title {
        max-width: 690px;
        color: #ffffff !important;
        font-size: clamp(28px, 3.05vw, 38px);
        font-weight: 920;
        line-height: 1.06;
        letter-spacing: 0;
        text-wrap: balance;
        text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
    }

    .route-detail-hero-description {
        display: -webkit-box;
        max-width: 560px;
        overflow: hidden;
        margin-top: 10px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        font-weight: 650;
        line-height: 1.45;
        text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .route-detail-hero-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 16px;
    }

    .route-detail-hero-action {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.86);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        color: #111827;
        padding: 0 14px;
        font-size: 12px;
        font-weight: 850;
        white-space: nowrap;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
        transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .route-detail-hero-action:hover {
        transform: translateY(-1px);
        border-color: rgba(249, 115, 22, 0.45);
        color: #f97316;
    }

    .route-detail-hero-action img,
    .route-detail-hero-action svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }

    .route-detail-hero-action--primary {
        border-color: #ff6b1a;
        background: #ff6b1a;
        color: #ffffff;
        box-shadow: 0 18px 34px rgba(249, 115, 22, 0.3);
    }

    .route-detail-hero-action--primary:hover {
        background: #f05f12;
        color: #ffffff;
    }

    .route-detail-hero-action--primary img {
        filter: brightness(0) invert(1);
    }

    .route-detail-hero-stats {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        overflow: hidden;
        margin: 10px 0 0;
        border: 1px solid #e8edf4;
        border-radius: 14px;
        background: #ffffff;
    }

    .route-detail-hero-stat {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 62px;
        padding: 10px 14px;
        border-left: 1px solid #eef2f7;
    }

    .route-detail-hero-stat:first-child {
        border-left: 0;
    }

    .route-detail-hero-stat__icon {
        display: grid;
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
        place-items: center;
        border-radius: 12px;
        background: #fff7ed;
    }

    .route-detail-hero-stat__icon img {
        width: 17px;
        height: 17px;
    }

    .route-detail-hero-stat dt {
        color: #8a94a6;
        font-size: 10px;
        font-weight: 760;
        line-height: 1.1;
    }

    .route-detail-hero-stat dd {
        margin-top: 3px;
        color: #111827;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.12;
    }

    .route-detail-hero-stat--accent dd {
        color: #35a852;
    }

    .route-detail-hero-stat--difficulty-easy dd {
        color: #22c55e;
    }

    .route-detail-hero-stat--difficulty-medium dd {
        color: #f59e0b;
    }

    .route-detail-hero-stat--difficulty-hard dd {
        color: #ef4444;
    }

    .route-detail-body-section {
        padding: 28px 0 0;
    }

    .route-map-card {
        display: grid;
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
        margin-top: 24px;
        overflow: hidden;
        border: 1px solid #e7ecf3;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
    }

    .route-map-card--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .route-map-card__aside {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 26px;
    }

    .route-map-card__title {
        color: #111827;
        font-size: 20px;
        font-weight: 920;
        line-height: 1.16;
    }

    .route-map-card__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px 14px;
        margin-top: 18px;
    }

    .route-map-card__fact {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 7px;
        color: #6b7280;
        font-size: 12px;
        font-weight: 760;
        line-height: 1.15;
    }

    .route-map-card__fact img {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }

    .route-map-card__fact--accent {
        color: #25a45b;
        font-weight: 900;
    }

    .route-map-card__button {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-top: 22px;
        border-radius: 10px;
        background: #ff6b1a;
        color: #ffffff;
        padding: 0 18px;
        font-size: 13px;
        font-weight: 900;
        box-shadow: 0 16px 28px rgba(249, 115, 22, 0.25);
        transition: background 0.18s ease, transform 0.18s ease;
    }

    .route-map-card__button:hover {
        transform: translateY(-1px);
        background: #f05f12;
    }

    .route-map-card__button img {
        width: 17px;
        height: 17px;
        filter: brightness(0) invert(1);
    }

    .route-map-card__hint {
        margin-top: 12px;
        color: #a0a8b6;
        font-size: 12px;
        font-weight: 650;
        text-align: center;
    }

    .route-map-card__map {
        min-width: 0;
        min-height: 280px;
        background: #eef2f6;
    }

    .route-map-card #route-detail-minimap {
        height: 300px !important;
        min-height: 300px !important;
        border-radius: 0 !important;
    }

    .route-map-card--single #route-detail-minimap {
        height: 380px !important;
        min-height: 380px !important;
        border-radius: 20px !important;
    }

    #route-gallery {
        margin-top: 24px;
    }

    .route-map-waypoints-panel {
        margin-top: 14px;
        border-color: #e7ecf3 !important;
        border-radius: 20px !important;
        background: #ffffff !important;
        box-shadow: 0 16px 44px rgba(15, 23, 42, 0.055) !important;
    }

    .route-map-waypoints-panel .route-waypoint-panel__list {
        max-height: 220px;
    }

    .route-guide-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 18px;
        margin-top: 18px;
    }

    .route-guide-card {
        grid-column: span 4;
        min-width: 0;
        border: 1px solid #e7ecf3;
        border-radius: 18px;
        background: #ffffff;
        padding: 22px;
        box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
    }

    .route-reference-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
        gap: 18px;
        margin-top: 18px;
    }

    .route-reference-row--side-only {
        grid-template-columns: 1fr;
    }

    .route-reference-row > .route-guide-card {
        grid-column: auto;
    }

    .route-reference-side {
        display: grid;
        align-content: start;
        gap: 14px;
        min-width: 0;
    }

    .route-reference-row--side-only .route-reference-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-reference-side--below-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .route-side-card {
        border: 1px solid #e7ecf3;
        border-radius: 18px;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
    }

    .route-side-card__title {
        color: #111827;
        font-size: 16px;
        font-weight: 900;
        line-height: 1.2;
    }

    .route-side-card__text {
        margin-top: 8px;
        color: #6b7280;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.45;
    }

    .route-share-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

    .route-share-button {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid #e7ecf3;
        border-radius: 999px;
        background: #f8fafc;
        color: #111827;
        font-size: 13px;
        font-weight: 900;
        transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .route-share-button img {
        width: 18px;
        height: 18px;
        display: block;
    }

    .route-share-button:hover {
        border-color: rgba(249, 115, 22, 0.36);
        background: #fff7ed;
        color: #f97316;
    }

    .route-side-card__action {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        margin-top: 14px;
        border: 1px solid rgba(249, 115, 22, 0.25);
        border-radius: 10px;
        background: #fffaf5;
        color: #f97316;
        padding: 0 14px;
        font-size: 12px;
        font-weight: 900;
        transition: background 0.18s ease, border-color 0.18s ease;
    }

    .route-side-card__action:hover {
        border-color: rgba(249, 115, 22, 0.5);
        background: #fff1e7;
    }

    .route-comments-shell {
        margin-top: 30px !important;
    }

    body.page-route-detail .route-comments-shell .comment-composer-shell .comment-textarea,
    body.page-route-detail .route-comments-shell .comment-composer-shell .comment-textarea:focus {
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.page-route-detail .route-comments-shell .comment-composer-shell:focus-within {
        border-color: rgba(249, 115, 22, 0.42) !important;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
    }

    @media (min-width: 768px) {
        .route-comments-shell {
            margin-top: 48px !important;
        }
    }

    .route-guide-card--wide {
        grid-column: span 12;
    }

    .route-guide-card--half {
        grid-column: span 6;
    }

    .route-guide-card--summary {
        grid-column: span 6;
    }

    .route-guide-card__title {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #111827;
        font-size: 17px;
        font-weight: 900;
        line-height: 1.2;
    }

    .route-guide-card__title img {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }

    .route-guide-card__text {
        margin-top: 14px;
        color: #3f4756;
        font-size: 14px;
        font-weight: 560;
        line-height: 1.65;
        white-space: pre-line;
    }

    .route-guide-card__muted {
        color: #7b8494;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.55;
    }

    .route-guide-audit {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
    }

    .route-guide-audit__item {
        display: grid;
        gap: 6px;
        min-width: 0;
        border: 1px solid #edf1f6;
        border-radius: 16px;
        background: #f8fafc;
        padding: 14px;
    }

    .route-guide-audit__label {
        color: #7b8494;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .route-guide-audit__value {
        color: #111827;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.25;
    }

    .route-guide-audit__item--verified {
        border-color: rgba(34, 197, 94, 0.24);
        background: #f0fdf4;
    }

    .route-guide-audit__item--verified .route-guide-audit__value {
        color: #16a34a;
    }

    @media (max-width: 900px) {
        .route-guide-audit {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 520px) {
        .route-guide-audit {
            grid-template-columns: 1fr;
        }
    }

    .route-guide-suitability {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
        row-gap: 12px;
        margin-top: 16px;
    }

    .route-guide-suitability__item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        min-width: 0;
        color: #596274;
        font-size: 13px;
        font-weight: 720;
    }

    .route-guide-suitability__label {
        display: inline-flex;
        min-width: 0;
        align-items: center;
        gap: 8px;
    }

    .route-guide-suitability__label img {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
        opacity: 0.72;
    }

    .route-guide-suitability__value {
        color: #111827;
        font-weight: 900;
        white-space: nowrap;
    }

    .route-guide-suitability__item--good .route-guide-suitability__value {
        color: #25a45b;
    }

    .route-guide-suitability__item--warn .route-guide-suitability__value {
        color: #f97316;
    }

    .route-guide-suitability__item--bad .route-guide-suitability__value {
        color: #111827;
    }

    .route-guide-access-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 18px;
    }

    .route-guide-access-item {
        min-width: 0;
        border-left: 1px solid #edf1f6;
        padding-left: 18px;
    }

    .route-guide-access-item:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .route-guide-access-item__head {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #111827;
        font-size: 13px;
        font-weight: 900;
    }

    .route-guide-access-item__head img {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
    }

    .route-guide-check-list {
        display: grid;
        gap: 10px;
        margin-top: 14px;
    }

    .route-guide-check-list span {
        position: relative;
        display: block;
        padding-left: 20px;
        color: #3f4756;
        font-size: 13px;
        font-weight: 680;
        line-height: 1.45;
    }

    .route-guide-check-list span::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.42em;
        width: 10px;
        height: 6px;
        border-bottom: 2px solid #32c36c;
        border-left: 2px solid #32c36c;
        transform: rotate(-45deg);
    }

    .route-guide-time-list {
        display: grid;
        gap: 14px;
        margin-top: 18px;
    }

    .route-guide-time-list__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        align-items: baseline;
        color: #4b5563;
        font-size: 13px;
        font-weight: 720;
        line-height: 1.35;
    }

    .route-guide-time-list__label {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .route-guide-time-list__icon {
        display: grid;
        width: 22px;
        height: 22px;
        place-items: center;
        border-radius: 8px;
        background: #fff7ed;
    }

    .route-guide-time-list__icon img {
        display: block;
        width: 14px;
        height: 14px;
        filter: invert(49%) sepia(95%) saturate(1700%) hue-rotate(350deg) brightness(101%) contrast(101%);
    }

    .route-guide-time-list__row strong {
        color: #111827;
        font-size: 14px;
        font-weight: 950;
        white-space: nowrap;
    }

    .route-guide-time-list__note {
        margin-top: 18px;
        color: #8a94a6;
        font-size: 12px;
        font-weight: 650;
        line-height: 1.45;
    }

    .route-guide-icon-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
        row-gap: 17px;
        margin-top: 18px;
    }

    .route-guide-icon-list--single {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .route-guide-icon-list__item {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: start;
        gap: 11px;
        min-width: 0;
        color: #374151;
        font-size: 13px;
        font-weight: 720;
        line-height: 1.45;
    }

    .route-guide-icon-list__icon {
        display: grid;
        width: 22px;
        height: 22px;
        place-items: center;
        border-radius: 8px;
        background: #fff7ed;
    }

    .route-guide-icon-list__icon img {
        display: block;
        width: 14px;
        height: 14px;
        filter: invert(49%) sepia(95%) saturate(1700%) hue-rotate(350deg) brightness(101%) contrast(101%);
    }

    .route-guide-icon-list--season .route-guide-icon-list__item:nth-child(odd) .route-guide-icon-list__icon {
        background: #f0fdf4;
    }

    .route-guide-icon-list--season .route-guide-icon-list__item:nth-child(odd) .route-guide-icon-list__icon img {
        filter: invert(45%) sepia(79%) saturate(499%) hue-rotate(92deg) brightness(91%) contrast(86%);
    }

    .route-guide-icon-list--gear .route-guide-icon-list__icon {
        background: #f8fafc;
    }

    .route-guide-icon-list--gear .route-guide-icon-list__icon img {
        filter: invert(18%) sepia(17%) saturate(1054%) hue-rotate(179deg) brightness(95%) contrast(89%);
    }

    .route-guide-icon-list--expect .route-guide-icon-list__icon {
        background: #f0fdf4;
    }

    .route-guide-icon-list--expect .route-guide-icon-list__icon img {
        filter: invert(45%) sepia(79%) saturate(499%) hue-rotate(92deg) brightness(91%) contrast(86%);
    }

    .route-guide-mini-map,
    .route-guide-elevation,
    .route-guide-surfaces {
        overflow: hidden;
    }

    .route-guide-mini-map .minimap-container {
        height: 260px;
        margin-top: 16px;
        overflow: hidden;
        border: 1px solid #edf1f6;
        border-radius: 18px;
        background: #eef2f6;
    }

    .route-guide-elevation #route-elevation-chart {
        margin-top: 14px;
    }

    .route-guide-elevation .route-elevation-card,
    .route-guide-elevation .route-elevation-summary {
        border-radius: 18px !important;
    }

    .route-guide-elevation .route-elevation-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-guide-elevation .route-elevation-summary__item {
        gap: 10px;
        min-width: 0;
        padding: 13px 14px;
    }

    .route-guide-elevation .route-elevation-summary__item + .route-elevation-summary__item {
        border-left: 0;
    }

    .route-guide-elevation .route-elevation-summary__item:nth-child(even) {
        border-left: 1px solid #edf0f4;
    }

    .route-guide-elevation .route-elevation-summary__item:nth-child(n + 3) {
        border-top: 1px solid #edf0f4;
    }

    .route-guide-elevation .route-elevation-summary__icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .route-guide-elevation .route-elevation-summary__icon img {
        width: 17px;
        height: 17px;
    }

    .route-guide-elevation .route-elevation-summary__copy span,
    .route-guide-elevation .route-elevation-summary__copy strong {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .route-guide-elevation .route-elevation-summary__copy span {
        font-size: 11px;
        line-height: 1.15;
    }

    .route-guide-elevation .route-elevation-summary__copy strong {
        margin-top: 3px;
        font-size: 17px;
        line-height: 1.08;
    }

    .route-guide-surfaces__bar {
        display: flex;
        height: 10px;
        overflow: hidden;
        margin-top: 16px;
        border-radius: 999px;
        background: #eef2f7;
    }

    .route-guide-surfaces__legend {
        display: grid;
        gap: 11px;
        margin-top: 16px;
    }

    .route-guide-surfaces__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        color: #3f4756;
        font-size: 13px;
        font-weight: 750;
    }

    .route-guide-surfaces__name {
        display: inline-flex;
        min-width: 0;
        align-items: center;
        gap: 8px;
    }

    .route-guide-surfaces__swatch {
        width: 18px;
        height: 8px;
        flex: 0 0 auto;
        border-radius: 999px;
    }

    .route-guide-surfaces__value {
        flex: 0 0 auto;
        color: #7b8494;
        font-weight: 760;
    }

    .route-guide-reports {
        margin-top: 24px;
    }

    @media (max-width: 1100px) {
        .route-detail-hero-stats {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .route-detail-hero-stat:nth-child(3n + 1) {
            border-left: 0;
        }

        .route-detail-hero-stat:nth-child(n + 4) {
            border-top: 1px solid #eef2f7;
        }

        .route-guide-card,
        .route-guide-card--half {
            grid-column: span 6;
        }

        .route-guide-card--wide {
            grid-column: span 12;
        }

        .route-guide-access-grid {
            grid-template-columns: 1fr;
        }

        .route-guide-access-item {
            border-left: 0;
            border-top: 1px solid #edf1f6;
            padding-top: 16px;
            padding-left: 0;
        }

        .route-guide-access-item:first-child {
            border-top: 0;
            padding-top: 0;
        }

        .route-guide-icon-list {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .route-map-card {
            grid-template-columns: 1fr;
        }

        .route-map-card__aside {
            padding: 22px;
        }

        .route-map-card #route-detail-minimap {
            height: 280px !important;
            min-height: 280px !important;
        }

        .route-reference-row {
            grid-template-columns: 1fr;
        }

        .route-reference-side,
        .route-reference-row--side-only .route-reference-side {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    body.page-route-detail .route-detail-desktop-content [class*="bg-gray-50"],
    body.page-route-detail .route-detail-desktop-content [class*="bg-orange-50/"],
    body.page-route-detail .route-detail-desktop-content .route-detail-weather,
    body.page-route-detail .route-detail-desktop-content .route-waypoint-panel,
    body.page-route-detail .route-detail-desktop-content .route-elevation-card,
    body.page-route-detail .route-detail-desktop-content .route-elevation-summary {
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    body.page-route-detail .route-detail-desktop-content .route-elevation-card,
    body.page-route-detail .route-detail-desktop-content .route-elevation-summary {
        border-color: #f1f5f9 !important;
    }

    .route-detail-text-singleton {
        background: #ffffff;
    }

    .route-detail-copy-block {
        border-top: 1px solid #f1f5f9;
        padding-top: 20px;
    }

    .route-detail-copy-block__title {
        color: #111827;
        font-size: 24px;
        font-weight: 680;
        line-height: 1.15;
    }

    .route-detail-copy-block__text {
        margin-top: 14px;
        color: #374151;
        font-size: 16px;
        font-weight: 430;
        line-height: 1.7;
        white-space: pre-line;
    }

    .route-detail-guide-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(249, 115, 22, 0.22);
        border-radius: 999px;
        background: rgba(255, 247, 237, 0.92);
        color: #f97316;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        padding: 9px 13px;
    }

    .route-detail-guide-pills {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    .route-detail-guide-pill {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border: 1px solid #f1f5f9;
        border-radius: 18px;
        background: #ffffff;
        padding: 13px 14px;
        color: #64748b;
        font-size: 13px;
        font-weight: 760;
    }

    .route-detail-guide-pill strong {
        color: #111827;
        font-size: 14px;
        font-weight: 900;
        text-align: right;
    }

    .route-detail-guide-pill--good strong {
        color: #059669;
    }

    .route-detail-guide-pill--warn strong {
        color: #f97316;
    }

    .route-detail-guide-pill--bad strong {
        color: #dc2626;
    }

    .route-detail-guide-icon-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        margin-top: 16px;
    }

    .route-detail-guide-icon-list__item {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        min-width: 0;
        color: #374151;
        font-size: 14px;
        font-weight: 620;
        line-height: 1.45;
    }

    .route-detail-guide-icon-list__icon {
        display: grid;
        width: 22px;
        height: 22px;
        place-items: center;
        border-radius: 8px;
        background: #fff7ed;
    }

    .route-detail-guide-icon-list__icon img {
        display: block;
        width: 14px;
        height: 14px;
        filter: invert(49%) sepia(95%) saturate(1700%) hue-rotate(350deg) brightness(101%) contrast(101%);
    }

    .route-detail-guide-icon-list--season .route-detail-guide-icon-list__item:nth-child(odd) .route-detail-guide-icon-list__icon {
        background: #f0fdf4;
    }

    .route-detail-guide-icon-list--season .route-detail-guide-icon-list__item:nth-child(odd) .route-detail-guide-icon-list__icon img {
        filter: invert(45%) sepia(79%) saturate(499%) hue-rotate(92deg) brightness(91%) contrast(86%);
    }

    .route-detail-guide-icon-list--expect .route-detail-guide-icon-list__icon {
        background: #f0fdf4;
    }

    .route-detail-guide-icon-list--expect .route-detail-guide-icon-list__icon img {
        filter: invert(45%) sepia(79%) saturate(499%) hue-rotate(92deg) brightness(91%) contrast(86%);
    }

    .route-detail-guide-check-list,
    .route-detail-guide-time-list {
        display: grid;
        gap: 12px;
        margin-top: 16px;
    }

    .route-detail-guide-check-list span {
        position: relative;
        display: block;
        padding-left: 22px;
        color: #374151;
        font-size: 14px;
        font-weight: 620;
        line-height: 1.45;
    }

    .route-detail-guide-check-list span::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.42em;
        width: 10px;
        height: 6px;
        border-bottom: 2px solid #32c36c;
        border-left: 2px solid #32c36c;
        transform: rotate(-45deg);
    }

    .route-detail-guide-time-list__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        align-items: baseline;
        color: #4b5563;
        font-size: 14px;
        font-weight: 620;
        line-height: 1.35;
    }

    .route-detail-guide-time-list__label {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .route-detail-guide-time-list__icon {
        display: grid;
        width: 22px;
        height: 22px;
        place-items: center;
        border-radius: 8px;
        background: #fff7ed;
    }

    .route-detail-guide-time-list__icon img {
        display: block;
        width: 14px;
        height: 14px;
        filter: invert(49%) sepia(95%) saturate(1700%) hue-rotate(350deg) brightness(101%) contrast(101%);
    }

    .route-detail-guide-time-list__row strong {
        color: #111827;
        font-weight: 900;
        white-space: nowrap;
    }

    .route-detail-guide-time-list__note {
        margin-top: 14px;
        color: #8a94a6;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.45;
    }

    @media (max-width: 767px) {
        body.page-route-detail {
            background: #ffffff !important;
        }

        body.page-route-detail .route-detail-page {
            padding: 10px 10px 72px !important;
        }

        body.page-route-detail .route-detail-desktop-content {
            display: block !important;
            width: 100%;
            max-width: 100%;
            padding-top: 0;
        }

        .route-detail-hero-card {
            border-radius: 22px;
            padding: 8px;
        }

        .route-detail-hero-media {
            min-height: 500px;
            border-radius: 18px;
        }

        .route-detail-hero-media::after {
            background:
                linear-gradient(90deg, rgba(3, 7, 18, 0.76) 0%, rgba(3, 7, 18, 0.42) 58%, rgba(3, 7, 18, 0.16) 100%),
                linear-gradient(0deg, rgba(3, 7, 18, 0.45), rgba(3, 7, 18, 0.08));
        }

        .route-detail-hero-chips {
            gap: 6px;
            padding: 12px;
        }

        .route-detail-hero-chip {
            max-width: 100%;
            padding: 6px 8px;
            font-size: 10px;
        }

        .route-detail-hero-copy {
            top: auto;
            right: 16px;
            bottom: 16px;
            left: 16px;
            max-width: none;
        }

        .route-detail-hero-title {
            max-width: 100%;
            font-size: 30px;
            line-height: 1.06;
        }

        .route-detail-hero-description {
            max-width: 100%;
            font-size: 13px;
            -webkit-line-clamp: 4;
        }

        .route-detail-hero-actions {
            flex-wrap: wrap;
            gap: 8px;
        }

        .route-detail-hero-action {
            flex: 1 1 calc(50% - 4px);
            min-height: 42px;
            padding: 0 10px;
        }

        .route-detail-hero-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            border-radius: 14px;
        }

        .route-detail-hero-stat {
            min-height: 58px;
            padding: 10px;
            border-top: 1px solid #eef2f7;
            border-left: 0;
        }

        .route-detail-hero-stat:nth-child(-n + 2) {
            border-top: 0;
        }

        .route-detail-hero-stat:nth-child(even) {
            border-left: 1px solid #eef2f7;
        }

        .route-detail-body-section {
            padding-top: 18px;
        }

        .route-guide-grid {
            grid-template-columns: 1fr;
            gap: 14px;
            margin-top: 14px;
        }

        .route-guide-card,
        .route-guide-card--half,
        .route-guide-card--summary,
        .route-guide-card--wide {
            grid-column: 1 / -1 !important;
            border-radius: 16px;
            padding: 18px;
        }

        .route-guide-suitability,
        .route-guide-access-grid,
        .route-guide-icon-list,
        .route-guide-elevation .route-elevation-summary,
        .route-reference-side,
        .route-reference-side--below-gallery {
            grid-template-columns: 1fr;
        }

        .route-guide-access-item {
            border-top: 1px solid #edf1f6;
            border-left: 0;
            padding-top: 16px;
            padding-left: 0;
        }

        .route-guide-access-item:first-child {
            border-top: 0;
            padding-top: 0;
        }

        .route-map-card {
            grid-template-columns: 1fr;
            margin-top: 18px;
            border-radius: 18px;
        }

        .route-map-card__aside {
            padding: 18px;
        }

        .route-map-card #route-detail-minimap {
            height: 280px !important;
            min-height: 280px !important;
        }

        .route-reference-side--below-gallery {
            display: grid !important;
        }

    }

/* Route detail decision-first layout */
body.page-route-detail,
body.page-route-detail .site-main-offset,
body.page-route-detail .route-detail-page {
    background: #f5f7f6 !important;
}

body.page-route-detail .route-detail-page {
    overflow: visible;
}

body.page-route-detail .route-detail-desktop-content {
    background: transparent !important;
}

.route-section-anchor {
    scroll-margin-top: 154px;
}

.route-detail-hero-card {
    border: 0;
    border-radius: 20px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.route-detail-hero-media {
    min-height: 438px;
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
}

.route-detail-hero-image,
.route-detail-hero-fallback,
.route-detail-hero-media::after {
    border-radius: inherit;
}

.route-detail-hero-media::after {
    background:
        linear-gradient(90deg, rgba(5, 12, 20, 0.82) 0%, rgba(5, 12, 20, 0.54) 42%, rgba(5, 12, 20, 0.12) 100%),
        linear-gradient(0deg, rgba(5, 12, 20, 0.56), rgba(5, 12, 20, 0.04) 58%);
}

.route-detail-hero-chips {
    padding: 18px 20px;
}

.route-detail-hero-chip {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
    box-shadow: none;
}

.route-detail-hero-copy {
    top: 94px;
    right: 28px;
    bottom: 28px;
    left: 28px;
    max-width: 780px;
}

body.page-route-detail .route-detail-hero-title {
    display: grid;
    gap: 5px;
    max-width: 760px;
    text-wrap: initial;
}

.route-detail-hero-title__primary,
.route-detail-hero-title__secondary {
    display: block;
}

.route-detail-hero-title__primary {
    font-size: clamp(34px, 3.35vw, 46px);
    font-weight: 920;
    line-height: 1.02;
}

.route-detail-hero-title__secondary {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 680;
    line-height: 1.08;
}

.route-detail-hero-description {
    max-width: 610px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.route-detail-hero-action {
    min-height: 44px;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 13px;
    box-shadow: none;
}

.route-detail-download {
    position: relative;
    z-index: 32;
}

.route-detail-download > summary {
    list-style: none;
    cursor: pointer;
}

.route-detail-download > summary::-webkit-details-marker {
    display: none;
}

.route-detail-download__chevron {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.18s ease;
}

.route-detail-download[open] .route-detail-download__chevron {
    transform: rotate(180deg);
}

.route-detail-hero-copy:has(.route-detail-download[open]) {
    z-index: 30;
}

.route-detail-download__menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: 250px;
    max-width: min(250px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.route-detail-download__menu .route-detail-download__quota:not([hidden]) {
    display: block;
    width: fit-content;
    margin: 11px 14px 3px;
    padding: 5px 8px;
}

.route-detail-download__menu a {
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 11px 14px;
}

.route-detail-download__menu a + a {
    border-top: 1px solid #edf1f4;
}

.route-detail-download__menu a:hover {
    background: #f7faf8;
}

.route-detail-download__menu span {
    font-size: 13px;
    font-weight: 850;
}

.route-detail-download__menu small {
    color: #788292;
    font-size: 11px;
    font-weight: 650;
}

.route-detail-anchor-nav {
    position: sticky;
    z-index: 18;
    top: 82px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin: 14px 0 18px;
    border: 1px solid rgba(220, 226, 232, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 5px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
}

.route-detail-anchor-nav::-webkit-scrollbar {
    display: none;
}

.route-detail-anchor-nav a {
    display: inline-flex;
    min-height: 42px;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #5f6975;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 760;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

.route-detail-anchor-nav a:hover,
.route-detail-anchor-nav a:focus-visible {
    background: #f0f5f2;
    color: #174f3f;
}

.route-map-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 326px;
    gap: 18px;
    align-items: start;
}

.route-map-overview .route-map-card {
    margin-top: 0;
    border-radius: 18px;
    box-shadow: none;
}

.route-map-overview .route-map-card--single #route-detail-minimap {
    height: 470px !important;
    min-height: 470px !important;
    border-radius: 18px !important;
}

.route-map-passport {
    position: sticky;
    top: 150px;
    overflow: hidden;
    border: 1px solid #dde5e2;
    border-radius: 18px;
    background: #ffffff;
}

.route-map-passport__head {
    display: grid;
    gap: 9px;
    border-bottom: 1px solid #e8eeeb;
    padding: 18px;
}

.route-map-passport__head > span {
    color: #101827;
    font-size: 18px;
    font-weight: 880;
}

.route-map-passport__condition {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: #eef7f2;
    color: #28785f;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 800;
}

.route-map-passport__condition--warning {
    background: #fff7e8;
    color: #a96b09;
}

.route-map-passport__condition--critical {
    background: #fff0ef;
    color: #b6423d;
}

.route-map-passport__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
}

.route-map-passport__fact {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 78px;
    padding: 10px;
}

.route-map-passport__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: #eef6f2;
}

.route-map-passport__icon img {
    width: 17px;
    height: 17px;
}

.route-map-passport__fact dt {
    color: #828c98;
    font-size: 10px;
    font-weight: 720;
    line-height: 1.15;
}

.route-map-passport__fact dd {
    margin-top: 3px;
    color: #111827;
    font-size: 15px;
    font-weight: 880;
    line-height: 1.15;
}

.route-map-passport__fact--easy dd { color: #21865d; }
.route-map-passport__fact--medium dd { color: #ad730d; }
.route-map-passport__fact--hard dd { color: #c24742; }

.route-map-passport__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 16px 16px;
    border-radius: 12px;
    background: #ff6b1a;
    color: #ffffff;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 850;
}

.route-map-passport__button img {
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1);
}

.route-actuality {
    margin: 16px 0 0;
    border: 1px solid #dde5e2;
    border-radius: 16px;
    background: #ffffff;
    padding: 0;
    box-shadow: none;
}

.route-actuality--warning { border-color: #eadfca; background: #fffdf8; }
.route-actuality--critical { border-color: #ecd6d3; background: #fffafa; }

.route-actuality__summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 12px 14px;
}

.route-actuality__summary-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    background: #eef7f2;
}

.route-actuality__summary-icon img {
    width: 19px;
    height: 19px;
}

.route-actuality__summary-copy h2 {
    color: #17212b;
    font-size: 14px;
    font-weight: 850;
}

.route-actuality__summary-copy p {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin-top: 4px;
    color: #687482;
    font-size: 12px;
    font-weight: 620;
    line-height: 1.35;
}

.route-actuality__summary-copy strong {
    color: #28785f;
}

.route-actuality__report-button {
    min-height: 44px;
    border-radius: 11px;
    padding: 0 15px;
    font-size: 12px;
}

.route-actuality__more {
    border-top: 1px solid #e8eeeb;
}

.route-actuality__more > summary {
    display: flex;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
    align-items: center;
    color: #63706f;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 760;
}

.route-actuality__more > summary::-webkit-details-marker { display: none; }
.route-actuality__more > summary::after { content: "+"; margin-left: auto; font-size: 18px; }
.route-actuality__more[open] > summary::after { content: "−"; }

.route-actuality__more .route-actuality__grid {
    border-top: 1px solid #e8eeeb;
    padding-right: 16px;
    padding-left: 16px;
}

.route-actuality__item {
    padding: 16px;
}

@media (min-width: 768px) and (min-height: 720px) {
    .route-condition-modal.is-step-2 .route-condition-modal__sheet {
        width: min(900px, calc(100vw - 48px));
        max-height: calc(100dvh - 48px);
    }

    .route-condition-form__step[data-route-condition-step="2"] {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
        column-gap: 20px;
        align-items: start;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__back {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__context {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .route-condition-form__step[data-route-condition-step="2"] > fieldset {
        grid-column: 1;
        grid-row: 3;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__location {
        grid-column: 1;
        grid-row: 4 / span 4;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__field {
        grid-column: 2;
        grid-row: 3;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-upload {
        grid-column: 2;
        grid-row: 4;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__errors {
        grid-column: 2;
        grid-row: 5;
    }

    .route-condition-form__step[data-route-condition-step="2"] > .route-condition-form__submit {
        grid-column: 2;
        grid-row: 6;
    }
}

.route-analysis-section {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
    gap: 18px;
    margin-top: 22px;
}

.route-analysis-section > .route-guide-card,
.route-analysis-section > .route-guide-elevation,
.route-analysis-section > .route-guide-surfaces {
    grid-column: auto;
    margin: 0;
    border-radius: 18px;
    box-shadow: none;
}

.route-guide-card__heading-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.route-elevation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #75808d;
    font-size: 10px;
    font-weight: 720;
}

.route-elevation-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.route-elevation-legend__swatch {
    width: 18px;
    height: 4px;
    border-radius: 999px;
}

.route-elevation-legend__swatch--easy { background: #2f8f72; }
.route-elevation-legend__swatch--medium { background: #d89a24; }
.route-elevation-legend__swatch--hard { background: #d5534d; }

.route-elevation-map-marker {
    width: 18px;
    height: 18px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #ff6b1a;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.28);
}

.route-detail-body-section,
.route-faq-section,
.route-gallery-section {
    margin-top: 30px;
}

.route-detail-section-heading p {
    color: #ff6b1a;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.route-detail-section-heading h2,
.route-gallery-section__head h2 {
    margin-top: 5px;
    color: #101827;
    font-size: 25px;
    font-weight: 880;
    line-height: 1.15;
}

.route-guide-grid {
    gap: 16px;
}

.route-guide-card,
.route-side-card {
    border-color: #e1e7e4;
    border-radius: 18px;
    box-shadow: none;
}

.route-guide-time-highlight {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    border-top: 1px solid #e8eeeb;
    padding-top: 16px;
}

.route-guide-time-highlight span {
    color: #687482;
    font-size: 13px;
    font-weight: 680;
}

.route-guide-time-highlight strong {
    color: #174f3f;
    font-size: 22px;
    font-weight: 900;
}

.route-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    border-top: 1px solid #dfe6e3;
    border-bottom: 1px solid #dfe6e3;
}

.route-faq-grid article {
    padding: 20px;
}

.route-faq-grid article + article {
    border-left: 1px solid #dfe6e3;
}

.route-faq-grid h3 {
    color: #17212b;
    font-size: 14px;
    font-weight: 840;
}

.route-faq-grid p {
    margin-top: 8px;
    color: #687482;
    font-size: 13px;
    font-weight: 580;
    line-height: 1.55;
}

.route-gallery-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.route-gallery-section__head p {
    margin-top: 6px;
    color: #788391;
    font-size: 13px;
    font-weight: 680;
}

.route-gallery-section__button {
    min-height: 44px;
    border: 1px solid #dfe6e3;
    border-radius: 12px;
    background: #ffffff;
    color: #4d5a65;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 820;
}

.route-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 190px);
    gap: 10px;
    margin-top: 16px;
}

.route-gallery-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #e8edeb;
}

.route-gallery-grid__item--lead {
    grid-row: 1 / 3;
}

.route-gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.route-gallery-grid__item:hover img { transform: scale(1.035); }

.route-gallery-grid__credit {
    position: absolute;
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
    overflow: hidden;
    border-radius: 7px;
    background: rgba(10, 17, 24, .68);
    color: #fff;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.route-gallery-grid__open,
.route-gallery-grid__more {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    min-height: 38px;
    place-items: center;
    border-radius: 11px;
    background: rgba(10, 17, 24, 0.68);
    color: #ffffff;
    font-size: 12px;
    font-weight: 820;
    backdrop-filter: blur(8px);
}

.route-gallery-grid__open {
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.route-gallery-grid__item:hover .route-gallery-grid__open {
    opacity: 1;
    transform: translateY(0);
}

.route-gallery-grid__more {
    inset: 0;
    min-height: 0;
    border-radius: 0;
    background: rgba(10, 17, 24, 0.48);
    font-size: 22px;
}

.route-gallery-grid__hidden { display: none; }

.route-mobile-action-bar {
    display: none;
}

@media (min-width: 768px) {
    body.page-route-detail .route-detail-page {
        width: min(calc(100% - 32px), var(--tt-shell-width, 1360px)) !important;
        margin-top: 0;
        border-radius: 0;
        padding: 18px 32px 112px !important;
    }
}

@media (max-width: 980px) {
    .route-map-overview {
        grid-template-columns: minmax(0, 1fr) 286px;
    }

    .route-analysis-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.page-route-detail .route-detail-page {
        padding: 8px 10px 116px !important;
    }

    .route-section-anchor {
        scroll-margin-top: 72px;
    }

    .route-detail-hero-card,
    .route-detail-hero-media {
        border-radius: 18px;
    }

    .route-detail-hero-card {
        padding: 0;
    }

    .route-detail-hero-media {
        min-height: 454px;
    }

    .route-detail-hero-chips {
        gap: 6px;
        padding: 12px;
    }

    .route-detail-hero-chip {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .route-detail-hero-copy {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    body.page-route-detail .route-detail-hero-title {
        gap: 4px;
    }

    .route-detail-hero-title__primary {
        font-size: 30px;
    }

    .route-detail-hero-title__secondary {
        font-size: 23px;
        line-height: 1.06;
    }

    .route-detail-hero-description {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .route-detail-hero-action {
        min-height: 46px;
        font-size: 13px;
    }

    .route-detail-hero-actions .route-detail-download {
        display: none;
    }

    .route-detail-anchor-nav {
        top: 0;
        justify-content: flex-start;
        margin: 10px 0 12px;
        border-radius: 14px;
    }

    .route-detail-anchor-nav a {
        min-height: 44px;
        flex: 0 0 auto;
        padding: 0 14px;
        font-size: 13px;
    }

    .route-map-overview {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .route-map-overview .route-map-card--single #route-detail-minimap {
        height: 320px !important;
        min-height: 320px !important;
    }

    .route-map-passport {
        position: static;
        border-radius: 16px;
    }

    .route-map-passport__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-map-passport__button {
        min-height: 48px;
    }

    .route-actuality {
        margin-top: 12px;
        border-radius: 15px;
    }

    .route-actuality__summary {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 0;
    }

    .route-actuality__summary-icon {
        width: 38px;
        height: 38px;
    }

    .route-actuality__report-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .route-actuality__summary .route-completion-people--actuality {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .route-actuality__more .route-actuality__grid {
        grid-template-columns: 1fr;
    }

    .route-analysis-section {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .route-analysis-section > .route-guide-card {
        border-radius: 16px;
        padding: 16px;
    }

    .route-guide-card__heading-row {
        display: grid;
    }

    .route-elevation-legend {
        gap: 8px;
    }

    .route-detail-body-section,
    .route-faq-section,
    .route-gallery-section {
        margin-top: 24px;
    }

    .route-detail-section-heading h2,
    .route-gallery-section__head h2 {
        font-size: 22px;
    }

    .route-guide-grid {
        gap: 12px;
        margin-top: 14px;
    }

    .route-guide-card,
    .route-guide-card--half,
    .route-guide-card--summary,
    .route-guide-card--wide {
        border-radius: 16px;
        padding: 17px;
    }

    .route-faq-grid {
        grid-template-columns: 1fr;
    }

    .route-faq-grid article {
        padding: 17px 0;
    }

    .route-faq-grid article + article {
        border-top: 1px solid #dfe6e3;
        border-left: 0;
    }

    .route-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 230px 126px 126px;
        gap: 8px;
    }

    .route-gallery-grid__item--lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .route-gallery-grid__item {
        border-radius: 14px;
    }

    .route-gallery-grid__open {
        display: none;
    }

    .route-mobile-action-bar {
        position: fixed;
        z-index: 45;
        right: 10px;
        bottom: calc(var(--mobile-nav-clearance, 88px) + 10px);
        left: 10px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        border: 1px solid rgba(218, 225, 222, 0.92);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        padding: 5px;
        box-shadow: 0 16px 44px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(18px);
    }

    .route-mobile-action-bar__item {
        display: flex;
        min-height: 50px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 13px;
        color: #27343e;
        font-size: 12px;
        font-weight: 790;
        list-style: none;
    }

    .route-mobile-action-bar__item img,
    .route-mobile-action-bar__item svg {
        width: 18px;
        height: 18px;
    }

    .route-mobile-action-bar__item:first-child {
        background: #ff6b1a;
        color: #ffffff;
    }

    .route-mobile-action-bar__item:first-child img {
        filter: brightness(0) invert(1);
    }

    .route-mobile-action-bar__download {
        position: relative;
    }

    .route-mobile-action-bar__download > summary::-webkit-details-marker { display: none; }

    .route-mobile-action-bar__download > div {
        position: absolute;
        right: 0;
        bottom: calc(100% + 10px);
        display: grid;
        width: 138px;
        overflow: hidden;
        border: 1px solid #dfe6e3;
        border-radius: 13px;
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    }

    .route-mobile-action-bar__download-quota:not([hidden]) {
        display: block;
        justify-self: center;
        margin: 8px 5px 0;
    }

    .route-mobile-action-bar__download > div a {
        display: grid;
        min-height: 46px;
        place-items: center;
        color: #27343e;
        font-size: 13px;
        font-weight: 840;
    }

    .route-mobile-action-bar__download > div a + a {
        border-top: 1px solid #e7ecea;
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-detail-hero-action,
    .route-gallery-grid__item img,
    .route-gallery-grid__open,
    .route-detail-download__chevron {
        transition: none !important;
    }
}

/* Route hero — editorial photo treatment based on the approved reference. */
.route-detail-hero-media {
    min-height: 470px;
    overflow: hidden;
    border-radius: 24px;
}

.route-detail-hero-image { object-position: center 48%; }

.route-detail-hero-fallback {
    background: #34413d;
    color: transparent;
    font-size: 0;
}

.route-detail-hero-chips {
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 22px;
    display: flex;
    max-width: calc(100% - 360px);
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
}

.route-detail-hero-chip,
.route-detail-hero-chip--source-user {
    min-height: 36px;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(6, 14, 20, .56);
    color: rgba(255, 255, 255, .94);
    padding: 8px 12px;
    font-size: 12px;
    box-shadow: 0 8px 22px rgba(4, 10, 15, .16);
    backdrop-filter: blur(14px);
}

.route-detail-hero-chip img { filter: brightness(0) invert(1); }

.route-detail-hero-chip--source-official {
    border-color: rgba(255, 145, 91, .34);
    background: rgba(121, 57, 28, .72);
    color: #fff4ec;
}

.route-detail-hero-copy {
    top: 86px;
    right: 30px;
    bottom: 28px;
    left: 30px;
    max-width: min(1020px, calc(100% - 60px));
}

.route-detail-hero-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    font-weight: 830;
    letter-spacing: -.02em;
}

.route-detail-hero-brand img {
    width: 21px;
    height: 21px;
    filter: drop-shadow(0 6px 12px rgba(255, 101, 40, .24));
}

body.page-route-detail .route-detail-hero-title { max-width: 760px; }
.route-detail-hero-title__primary { font-size: clamp(34px, 3.2vw, 48px); }
.route-detail-hero-title__secondary { font-size: clamp(24px, 2.15vw, 32px); }

.route-detail-hero-description {
    max-width: 650px;
    margin-top: 11px;
    font-size: 16px;
    font-weight: 560;
    line-height: 1.42;
}

.route-detail-hero-stats {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: stretch;
    overflow: visible;
    margin: 18px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.route-detail-hero-stat {
    display: grid;
    min-width: 0;
    min-height: 48px;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .28);
    padding: 0 20px;
}

.route-detail-hero-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.route-detail-hero-stat__icon {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 0;
    background: transparent;
}

.route-detail-hero-stat__icon img {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.route-detail-hero-stat > div { display: flex; min-width: 0; flex-direction: column; }
.route-detail-hero-stat dt {
    order: 2;
    margin-top: 2px;
    color: rgba(255, 255, 255, .66);
    font-size: 11px;
    font-weight: 560;
    line-height: 1.15;
    white-space: nowrap;
}

.route-detail-hero-stat dd {
    order: 1;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 820;
    line-height: 1.12;
    white-space: nowrap;
}

.route-detail-hero-stat--difficulty-easy dd,
.route-detail-hero-stat--difficulty-medium dd,
.route-detail-hero-stat--difficulty-hard dd { color: #fff; }

.route-detail-hero-actions { gap: 10px; margin-top: 19px; }
.route-detail-hero-action { min-height: 50px; border-radius: 13px; padding: 0 18px; font-size: 13px; }
.route-detail-hero-action--completion {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(9, 17, 22, .58);
    color: #fff;
    backdrop-filter: blur(12px);
}
.route-detail-hero-action--completion:hover { border-color: rgba(255, 255, 255, .56); background: rgba(9, 17, 22, .72); color: #fff; }
.route-detail-hero-action--completion img { filter: brightness(0) invert(1); }

.route-detail-hero-media > .route-completion-people--hero {
    position: absolute;
    z-index: 5;
    right: 28px;
    bottom: 28px;
    min-height: 50px;
    border-color: rgba(255, 255, 255, .34);
    background: rgba(9, 17, 22, .58);
    padding: 7px 13px 7px 7px;
    box-shadow: 0 12px 28px rgba(4, 10, 15, .18);
}

@media (max-width: 1080px) {
    .route-detail-hero-copy { max-width: calc(100% - 56px); }
    .route-detail-hero-title__primary { font-size: clamp(31px, 3.6vw, 42px); }
    .route-detail-hero-stat { padding-inline: 14px; }
    .route-detail-hero-action { padding-inline: 14px; }
}

@media (max-width: 767px) {
    .route-detail-hero-media {
        display: flex;
        min-height: 680px;
        flex-direction: column;
        padding: 14px;
    }

    .route-detail-hero-chips {
        position: relative;
        top: auto;
        left: auto;
        max-width: none;
        gap: 6px;
    }

    .route-detail-hero-chip,
    .route-detail-hero-chip--source-user { min-height: 30px; padding: 6px 8px; font-size: 10px; }

    .route-detail-hero-freshness {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-start;
        margin-top: 8px;
    }

    .route-detail-hero-copy {
        position: relative;
        inset: auto;
        display: flex;
        max-width: none;
        flex: 1 1 auto;
        justify-content: flex-end;
        margin-top: 54px;
    }

    .route-detail-hero-brand { margin-bottom: 7px; font-size: 14px; }
    .route-detail-hero-brand img { width: 18px; height: 18px; }
    .route-detail-hero-title__primary { font-size: 28px; line-height: 1.04; }
    .route-detail-hero-title__secondary { font-size: 20px; }
    .route-detail-hero-description { margin-top: 9px; font-size: 14px; line-height: 1.42; -webkit-line-clamp: 4; }

    .route-detail-hero-stats {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 0;
        margin-top: 14px;
    }

    .route-detail-hero-stat,
    .route-detail-hero-stat:first-child { min-height: 42px; border-left: 0; padding: 0 8px 0 0; }
    .route-detail-hero-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .26); padding-left: 12px; }
    .route-detail-hero-stat dt { font-size: 10px; }
    .route-detail-hero-stat dd { font-size: 14px; }

    .route-detail-hero-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
    .route-detail-hero-action { width: 100%; min-height: 46px; padding-inline: 10px; font-size: 12px; }
    .route-detail-hero-action--completion { grid-column: 1 / -1; }
    .route-detail-hero-media > .route-completion-people--hero { position: relative; right: auto; bottom: auto; align-self: flex-end; margin-top: 10px; }
}

/* Route information artwork and staff inline editor — 2026-09 */
.route-guide-card--summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(160px, 29%, 210px);
    gap: 20px;
    align-items: stretch;
    min-height: 265px;
    overflow: hidden;
    padding: 14px;
}

.route-guide-summary__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 8px 2px 4px 8px;
}

.route-guide-summary__title > img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.route-guide-summary__text {
    margin-top: 8px;
    color: #475467;
    font-size: 13px;
    line-height: 1.55;
}

.route-guide-summary__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: auto 0 0;
    padding-top: 18px;
}

.route-guide-summary__facts > div {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-areas: "icon value" "icon label";
    align-items: center;
    column-gap: 9px;
}

.route-guide-summary__facts > div + div::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: -7px;
    width: 1px;
    background: #e7ece9;
    content: "";
}

.route-guide-summary__facts img {
    grid-area: icon;
    width: 24px;
    height: 24px;
}

.route-guide-summary__facts dt {
    grid-area: label;
    overflow: hidden;
    color: #8a948f;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-guide-summary__facts dd {
    grid-area: value;
    overflow: hidden;
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-guide-summary__media {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    border-radius: 16px;
    background: #dfe8e4;
    isolation: isolate;
}

.route-guide-summary__photo,
.route-guide-summary__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-guide-summary__photo {
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.75,.25,1);
}

.route-guide-card--summary:hover .route-guide-summary__photo { transform: scale(1.035); }

.route-guide-summary__shade {
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 12, 10, .04), transparent 46%, rgba(4, 12, 10, .12));
    pointer-events: none;
}

.route-guide-summary__caption {
    position: absolute;
    z-index: 2;
    top: 25%;
    left: 10%;
    display: grid;
    width: min(74%, 132px);
    justify-items: center;
    transform: rotate(-7deg);
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .18));
    transition: filter .25s ease, opacity .25s ease;
}

.route-guide-summary__caption-copy { width: 100%; height: auto; }
.route-guide-summary__caption-line { width: 43%; height: auto; margin-top: 2px; }

.route-guide-summary__media[data-caption-tone="light"] .route-guide-summary__caption-copy {
    filter: brightness(0) invert(1);
}

.route-guide-summary__media[data-caption-tone="light"] .route-guide-summary__caption {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .5));
}

.route-guide-summary__media[data-caption-tone="dark"] .route-guide-summary__caption {
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, .58));
}

.route-admin-editor {
    position: sticky;
    z-index: 45;
    top: 78px;
    margin: 0 0 16px;
    border: 1px solid rgba(255, 116, 61, .28);
    border-radius: 16px;
    background: rgba(255, 252, 249, .92);
    box-shadow: 0 14px 34px rgba(48, 34, 24, .1);
    backdrop-filter: blur(18px) saturate(1.15);
}

.route-admin-editor [hidden] { display: none !important; }

.route-admin-editor__bar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 12px 9px 16px;
}

.route-admin-editor__identity,
.route-admin-editor__actions { display: flex; align-items: center; gap: 10px; }
.route-admin-editor__identity { color: #59645f; font-size: 12px; font-weight: 700; }
.route-admin-editor__badge { border-radius: 999px; background: #17211d; color: #fff; padding: 6px 10px; font-size: 10px; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.route-admin-editor__status { color: #53625b; font-size: 11px; font-weight: 720; }
.route-admin-editor__status[data-tone="error"] { color: #b42318; }
.route-admin-editor__status[data-tone="success"] { color: #12805c; }

.route-admin-editor__button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dce4e0;
    border-radius: 11px;
    background: #fff;
    color: #34413b;
    padding: 0 13px;
    font-size: 11px;
    font-weight: 830;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.route-admin-editor__button:hover { transform: translateY(-1px); border-color: #ff936b; box-shadow: 0 7px 18px rgba(246, 95, 45, .12); }
.route-admin-editor__button--primary,
.route-admin-editor__button--edit { border-color: #f56636; background: #f56636; color: #fff; }
.route-admin-editor__button[disabled] { cursor: wait; opacity: .56; transform: none; }

.route-admin-editor__panel {
    overflow: auto;
    max-height: min(68vh, 720px);
    border-top: 1px solid rgba(255, 116, 61, .18);
    padding: 16px;
}

.route-admin-editor__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.route-admin-editor__group { display: grid; gap: 10px; border: 1px solid #e5ebe8; border-radius: 14px; background: rgba(255,255,255,.72); padding: 13px; }
.route-admin-editor__group--wide { grid-column: 1 / -1; }
.route-admin-editor__group h3 { margin: 0; color: #1f2925; font-size: 13px; font-weight: 880; }
.route-admin-editor__field { display: grid; gap: 5px; color: #66716c; font-size: 10px; font-weight: 800; }
.route-admin-editor__field input,
.route-admin-editor__field select,
.route-admin-editor__field textarea {
    width: 100%;
    min-height: 39px;
    border: 1px solid #dce4e0;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: #17211d;
    padding: 9px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
}
.route-admin-editor__field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.route-admin-editor__field input:focus,
.route-admin-editor__field select:focus,
.route-admin-editor__field textarea:focus { border-color: #fb7c4d; box-shadow: 0 0 0 3px rgba(251, 124, 77, .12); }

.route-detail-page.is-route-admin-editing [data-route-admin-field] {
    min-height: 42px;
    border: 1px dashed rgba(245, 102, 54, .72);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 249, 245, .92);
    padding: 8px 10px;
    white-space: pre-wrap;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.route-detail-page.is-route-admin-editing [data-route-admin-field]:focus { border-style: solid; border-color: #f56636; box-shadow: 0 0 0 4px rgba(245, 102, 54, .13); }
.route-detail-page.is-route-admin-editing [data-route-admin-field]:empty::before { color: #9b7f72; content: attr(data-route-admin-placeholder); font-style: italic; }
.route-detail-page.is-route-admin-editing .route-detail-hero-title[data-route-admin-field] { color: #fff; background: rgba(17, 28, 24, .54); }

html[data-theme="dark"] .route-guide-summary__facts dd { color: #f5f7f6; }
html[data-theme="dark"] .route-guide-summary__facts > div + div::before { background: #33423c; }
html[data-theme="dark"] .route-admin-editor { border-color: rgba(255, 131, 82, .34); background: rgba(20, 29, 26, .94); }
html[data-theme="dark"] .route-admin-editor__identity,
html[data-theme="dark"] .route-admin-editor__status { color: #bdc7c2; }
html[data-theme="dark"] .route-admin-editor__panel { border-color: #33413c; }
html[data-theme="dark"] .route-admin-editor__group { border-color: #33413c; background: rgba(23, 34, 30, .82); }
html[data-theme="dark"] .route-admin-editor__group h3 { color: #f4f7f5; }
html[data-theme="dark"] .route-admin-editor__field { color: #aab6b0; }
html[data-theme="dark"] .route-admin-editor__field input,
html[data-theme="dark"] .route-admin-editor__field select,
html[data-theme="dark"] .route-admin-editor__field textarea { border-color: #3b4b45; background: #101815; color: #f4f7f5; }
html[data-theme="dark"] .route-detail-page.is-route-admin-editing [data-route-admin-field] { background: rgba(35, 28, 24, .94); }

@media (max-width: 900px) {
    .route-admin-editor { top: 66px; margin-inline: 10px; }
    .route-admin-editor__identity > span:not(.route-admin-editor__badge),
    .route-admin-editor__status { display: none; }
    .route-admin-editor__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .route-guide-card--summary { grid-template-columns: 1fr; padding: 12px; }
    .route-guide-summary__media { min-height: 260px; order: -1; }
    .route-guide-summary__copy { padding: 4px; }
    .route-guide-summary__facts { gap: 8px; }
    .route-guide-summary__facts > div { grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; }
    .route-guide-summary__facts img { width: 20px; height: 20px; }
    .route-guide-summary__facts dd { font-size: 11px; }
    .route-admin-editor__bar { align-items: stretch; flex-direction: column; }
    .route-admin-editor__identity { justify-content: space-between; }
    .route-admin-editor__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .route-admin-editor__button--edit { grid-column: 1 / -1; }
    .route-admin-editor__grid { grid-template-columns: 1fr; }
    .route-admin-editor__group--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .route-guide-summary__photo,
    .route-guide-summary__caption,
    .route-admin-editor__button { transition: none !important; }
}

.route-elevation-quality {
    display: inline-flex;
    width: fit-content;
    margin: 8px 12px 0;
    border-radius: 999px;
    background: #f2f6f4;
    color: #607068;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 760;
}

.route-guide-surfaces__unknown {
    background: #dfe5e2 !important;
}

.route-guide-surfaces__row--unknown {
    color: #6f7c76;
}

/* Route hero verification layout: freshness is anchored in the upper-right,
   completion avatars stay next to the completion action. */
.route-detail-hero-freshness {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 20px;
    max-width: min(420px, calc(100% - 40px));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(5, 12, 20, 0.48);
    padding: 8px 11px;
    box-shadow: 0 10px 28px rgba(5, 12, 20, 0.16);
    backdrop-filter: blur(12px);
}

.route-detail-hero-freshness .route-completion-freshness {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    line-height: 1.2;
}

.route-detail-hero-freshness .route-completion-freshness strong {
    color: #ffffff;
}

.route-detail-hero-copy {
    max-width: min(1040px, calc(100% - 56px));
}

.route-detail-hero-actions {
    align-items: center;
}

.route-detail-hero-actions .route-completion-people--hero {
    min-height: 44px;
    flex: 0 0 auto;
    box-sizing: border-box;
}

@media (max-width: 980px) {
    .route-detail-hero-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .route-detail-hero-freshness {
        top: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        padding: 7px 9px;
    }

    .route-detail-hero-copy {
        max-width: none;
    }

    .route-detail-hero-actions .route-completion-people--hero {
        min-height: 46px;
    }
}
.route-travel-widget {
    width: 100%;
    margin-top: 32px;
    overflow: hidden;
    border-radius: 28px;
}

.route-travel-widget[hidden] {
    display: none !important;
}

.route-travel-widget__content {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.route-travel-widget__content > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 767px) {
    .route-travel-widget {
        margin-top: 20px;
        border-radius: 22px;
    }

}

/* Route map showcase — aligned with the interactive map product language. */
.route-detail-anchor-nav {
    gap: 0;
    overflow: hidden;
    padding: 0;
    border-color: #e6ebe9;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(31, 41, 55, 0.07);
}

.route-detail-anchor-nav a {
    position: relative;
    gap: 9px;
    min-height: 58px;
    border-radius: 0;
    border-right: 1px solid #edf1ef;
    padding: 0 18px;
    font-weight: 740;
}

.route-detail-anchor-nav a:last-child { border-right: 0; }

.route-detail-anchor-nav a img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.76;
}

.route-detail-anchor-nav a[aria-current="page"] {
    background: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
    color: #ea5b21;
    box-shadow: inset 0 -3px 0 #ff672f;
}

.route-detail-anchor-nav a[aria-current="page"] img {
    filter: invert(45%) sepia(96%) saturate(2868%) hue-rotate(345deg) brightness(100%) contrast(94%);
    opacity: 1;
}

.route-map-overview {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: stretch;
}

.route-map-overview .route-map-card {
    height: 520px;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #dfe7e3;
    border-radius: 20px;
    background: #dcebd9;
}

.route-map-card__map {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.route-map-overview .route-map-card--single #route-detail-minimap {
    height: 520px !important;
    min-height: 520px !important;
    border-radius: 20px !important;
}

.route-map-style-switch {
    position: absolute;
    z-index: 8;
    top: 16px;
    left: 16px;
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 13px;
    background: rgba(245, 248, 246, 0.9);
    padding: 3px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
}

.route-map-style-switch button {
    min-height: 36px;
    border-radius: 10px;
    color: #56615c;
    padding: 0 13px;
    font-size: 11px;
    font-weight: 820;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.route-map-style-switch button[aria-pressed="true"] {
    background: #ffffff;
    color: #17211d;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
}

.route-map-controls {
    position: absolute;
    z-index: 8;
    top: 16px;
    right: 16px;
    display: grid;
    gap: 7px;
}

.route-map-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(219, 226, 222, 0.92);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2b26;
    font-size: 22px;
    font-weight: 620;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
}

.route-map-controls button img {
    width: 17px;
    height: 17px;
}

.route-map-controls button[data-loading="true"] { animation: route-map-control-pulse 0.9s ease-in-out infinite alternate; }
.route-map-controls button[data-error="true"] { border-color: #f3b8ae; background: #fff4f1; }

@keyframes route-map-control-pulse {
    to { opacity: 0.58; transform: scale(0.96); }
}

.route-map-3d-card {
    --route-map-3d-image: linear-gradient(135deg, #2f5c4b, #8c6c46);
    position: absolute;
    z-index: 8;
    right: 16px;
    bottom: 16px;
    display: flex;
    width: 190px;
    min-height: 84px;
    align-items: flex-end;
    justify-content: space-between;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    background-image: linear-gradient(180deg, rgba(9, 17, 14, 0.02), rgba(9, 17, 14, 0.82)), var(--route-map-3d-image);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    padding: 13px;
    text-align: left;
    box-shadow: 0 14px 34px rgba(9, 17, 14, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.route-map-3d-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(9, 17, 14, 0.34); }
.route-map-3d-card[aria-pressed="true"] { border-color: #ff8a5f; box-shadow: 0 0 0 3px rgba(255, 103, 47, 0.2), 0 18px 42px rgba(9, 17, 14, 0.34); }
.route-map-3d-card > span { display: grid; gap: 2px; }
.route-map-3d-card strong { font-size: 14px; font-weight: 880; }
.route-map-3d-card small { color: rgba(255, 255, 255, 0.76); font-size: 10px; font-weight: 700; }
.route-map-3d-card > img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

.route-map-google-credit {
    position: absolute;
    z-index: 8;
    bottom: 7px;
    left: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.84);
    color: #25312c;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.route-map-google-credit[hidden] { display: none !important; }

.route-map-passport {
    position: sticky;
    top: 152px;
    display: flex;
    height: 520px;
    min-height: 520px;
    flex-direction: column;
    align-self: stretch;
    overflow: hidden;
    box-sizing: border-box;
    border-color: #dfe7e3;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(31, 41, 55, 0.06);
}

.route-map-passport__head { gap: 12px; padding: 19px 18px 16px; }

.route-map-passport__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.route-map-passport__title-row > span {
    color: #101827;
    font-size: 20px;
    font-weight: 880;
}

.route-map-passport__save {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: #67736d;
}

.route-map-passport__save img { width: 18px; height: 18px; }
.route-map-passport__save:hover { background: #f3f6f4; }
.route-map-passport__save[data-saved="true"] { background: #fff2eb; }
.route-map-passport__save[data-saved="true"] img { filter: invert(45%) sepia(96%) saturate(2868%) hue-rotate(345deg) brightness(100%) contrast(94%); }

.route-map-passport__condition { gap: 7px; width: 100%; border-radius: 10px; padding: 9px 10px; }
.route-map-passport__condition img { width: 16px; height: 16px; }

.route-map-passport__facts { gap: 1px; border-bottom: 1px solid #edf1ef; padding: 10px; }
.route-map-passport__fact { min-height: 78px; border-radius: 12px; background: #fafcfb; padding: 10px; }

.route-map-passport__meta {
    display: grid;
    gap: 0;
    padding: 10px 18px 5px;
}

.route-map-passport__meta > div {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 10px;
    align-items: center;
    min-height: 43px;
    border-bottom: 1px solid #eff3f1;
}

.route-map-passport__meta dt { display: inline-flex; align-items: center; gap: 7px; color: #748079; font-size: 11px; font-weight: 700; }
.route-map-passport__meta dt img { width: 15px; height: 15px; opacity: 0.72; }
.route-map-passport__meta dd { color: #26332d; font-size: 11px; font-weight: 820; text-align: right; }

.route-map-passport__suitability { display: grid; gap: 8px; padding: 10px 18px 6px; }
.route-map-passport__suitability > span { color: #748079; font-size: 11px; font-weight: 720; }
.route-map-passport__suitability > div { display: flex; flex-wrap: wrap; gap: 6px; }
.route-map-passport__suitability-chip { border-radius: 999px; background: #f3f6f4; color: #59645f; padding: 5px 8px; font-size: 9px; font-weight: 780; }
.route-map-passport__suitability-chip--good { background: #e9f7ef; color: #247554; }
.route-map-passport__suitability-chip--warn { background: #fff5e4; color: #9c6815; }
.route-map-passport__suitability-chip--bad { background: #fff0ee; color: #b74d42; }

.route-map-passport__actions { margin-top: auto; padding: 12px 16px 16px; }
.route-map-passport__actions .route-map-passport__button { width: 100%; margin: 0; border-radius: 13px; box-shadow: 0 10px 22px rgba(255, 103, 47, 0.2); }

.route-map-waypoints-panel {
    margin-top: 14px;
    overflow: hidden;
    border-color: #dfe7e3 !important;
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 16px 42px rgba(31, 41, 55, 0.055) !important;
}

.route-map-waypoints-panel .route-waypoint-panel__head { margin-bottom: 12px; }
.route-map-waypoints-panel .route-waypoint-panel__title { font-size: 17px; }
.route-map-waypoints-panel .route-waypoint-panel__count { background: transparent; color: #ee6531; }
.route-map-waypoints-panel .route-waypoint-panel__reset { border-radius: 12px; }

.route-map-waypoints-panel .route-waypoint-panel__list {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 8px 0;
    scroll-snap-type: x proximity;
    scrollbar-color: #d9e1dd transparent;
    scrollbar-width: thin;
}

.route-map-waypoints-panel .route-waypoint-card {
    display: grid;
    width: 184px;
    min-width: 184px;
    min-height: 184px;
    flex: 0 0 184px;
    align-content: start;
    gap: 0;
    overflow: hidden;
    border-color: #e1e7e4;
    border-radius: 14px;
    background: #ffffff;
    padding: 0;
    color: #17211d;
    scroll-snap-align: start;
}

.route-waypoint-card__media {
    position: relative;
    display: block;
    width: 100%;
    height: 92px;
    overflow: hidden;
    background: #fff7f2;
}

.route-waypoint-card__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.32s ease;
}

.route-waypoint-card__media[data-waypoint-photo-state="ready"] > img { opacity: 1; }
.route-waypoint-card:hover .route-waypoint-card__media[data-waypoint-photo-state="ready"] > img { transform: scale(1.04); }

.route-waypoint-card__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.route-waypoint-card__fallback img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 7px 12px rgba(241, 107, 61, 0.22));
}
.route-waypoint-card__media[data-waypoint-photo-state="ready"] .route-waypoint-card__fallback { display: none; }

.route-map-waypoints-panel .route-waypoint-button__index {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.route-waypoint-card__credit {
    position: absolute;
    right: 6px;
    bottom: 5px;
    max-width: 120px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(13, 21, 18, 0.62);
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 5px;
    font-size: 7px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.route-waypoint-card__media[data-waypoint-photo-state="ready"][data-waypoint-photo-source="google"] .route-waypoint-card__credit {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.route-waypoint-card__copy { display: grid; gap: 4px; padding: 11px 10px 12px; }
.route-waypoint-card__copy .route-waypoint-button__name { color: #17211d; font-size: 12px; line-height: 1.25; }
.route-waypoint-card__copy > span { color: #87918c; font-size: 10px; font-weight: 650; }
.route-waypoint-card__copy > small { color: #68736d; font-size: 10px; font-weight: 800; }
.route-map-waypoints-panel .route-waypoint-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.route-map-waypoints-panel .route-waypoint-card[data-active="true"] {
    border-color: #ff8b61;
    background: #fffaf7;
    box-shadow: 0 13px 28px rgba(255, 103, 47, 0.2);
    transform: translateY(-2px);
}

html[data-theme="dark"] .route-detail-anchor-nav,
html[data-theme="dark"] .route-map-passport,
html[data-theme="dark"] .route-map-waypoints-panel {
    border-color: #26332e !important;
    background: #111a17 !important;
}

html[data-theme="dark"] .route-detail-anchor-nav a { border-color: #26332e; color: #acb7b1; }
html[data-theme="dark"] .route-detail-anchor-nav a[aria-current="page"] { background: #211d19; color: #ff885d; }
html[data-theme="dark"] .route-map-passport__title-row > span,
html[data-theme="dark"] .route-map-passport__fact dd,
html[data-theme="dark"] .route-map-passport__meta dd { color: #f4f7f5; }
html[data-theme="dark"] .route-map-passport__fact,
html[data-theme="dark"] .route-waypoint-card { border-color: #2c3934; background: #17221e; }
html[data-theme="dark"] .route-waypoint-card__copy .route-waypoint-button__name { color: #f4f7f5; }
html[data-theme="dark"] .route-waypoint-card__media { background: #2a211d; }

@media (max-width: 980px) {
    .route-map-overview { grid-template-columns: minmax(0, 1fr) 292px; }
    .route-map-overview .route-map-card,
    .route-map-passport { height: 480px; min-height: 480px; }
    .route-map-overview .route-map-card--single #route-detail-minimap { height: 480px !important; min-height: 480px !important; }
    .route-map-3d-card { width: 166px; }
}

@media (max-width: 767px) {
    .route-detail-anchor-nav { overflow-x: auto; }
    .route-detail-anchor-nav a { min-height: 48px; gap: 7px; padding: 0 13px; }
    .route-detail-anchor-nav a img { width: 16px; height: 16px; flex-basis: 16px; }
    .route-map-overview { grid-template-columns: 1fr; gap: 10px; }
    .route-map-overview .route-map-card { height: 390px; min-height: 390px; }
    .route-map-overview .route-map-card--single #route-detail-minimap { height: 390px !important; min-height: 390px !important; }
    .route-map-style-switch { top: 10px; left: 10px; max-width: calc(100% - 66px); }
    .route-map-style-switch button { min-height: 34px; padding: 0 10px; font-size: 10px; }
    .route-map-controls { top: 10px; right: 10px; }
    .route-map-controls button { width: 38px; height: 38px; border-radius: 11px; }
    .route-map-3d-card { right: 10px; bottom: 10px; width: 150px; min-height: 68px; padding: 10px; }
    .route-map-3d-card strong { font-size: 12px; }
    .route-map-3d-card small { display: none; }
    .route-map-passport { position: static; height: auto; min-height: 0; overflow: visible; }
    .route-map-passport__title-row > span { font-size: 18px; }
    .route-map-waypoints-panel { padding: 12px !important; }
    .route-map-waypoints-panel .route-waypoint-card { width: 158px; min-width: 158px; flex-basis: 158px; }
    .route-waypoint-card__media { height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
    .route-map-3d-card,
    .route-waypoint-card__media > img,
    .route-map-controls button,
    .route-map-waypoints-panel .route-waypoint-card,
    .route-waypoint-card__credit { transition: none !important; animation: none !important; }
}

/* Keep the adaptive hero flow authoritative over earlier route-detail rules. */
@media (max-width: 767px) {
    .route-detail-hero-freshness {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-start;
        margin-top: 8px;
    }
}

/* Let route copy determine the hero height instead of clipping long imported text. */
.route-detail-hero-media {
    display: flex;
    height: auto;
    min-height: 470px;
    flex-direction: column;
    box-sizing: border-box;
    padding: 74px 30px 28px;
}

.route-detail-hero-copy {
    position: relative;
    inset: auto;
    z-index: 2;
    max-width: min(1020px, 100%);
    margin-top: auto;
}

.route-detail-hero-brand { display: none !important; }

.route-detail-hero-description {
    display: block;
    max-width: 760px;
    max-height: none;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
}

@media (max-width: 767px) {
    .route-detail-hero-media {
        min-height: 680px;
        padding: 14px;
    }

    .route-detail-hero-copy {
        max-width: none;
        margin-top: 32px;
    }

    .route-detail-hero-description {
        max-width: 100%;
        overflow: visible;
        -webkit-line-clamp: unset;
    }
}
