html { scroll-padding-top: 96px; }
    .route-section-anchor { scroll-margin-top: 96px; }
    #route-detail-minimap {
        height: 300px !important;
        min-height: 300px;
    }
    @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 {
            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-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;
    }

    .route-detail-hero-title {
        max-width: 690px;
        color: #ffffff;
        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;
    }

    @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;
        }

    }
