/* Route description
----------------------------------------*/

:root {
    --route-page-bg: #f6f4ef;
    --route-surface: #ffffff;
    --route-surface-soft: #fbfaf7;
    --route-border: #d8d2c7;
    --route-border-soft: rgba(47, 72, 88, 0.14);
    --route-text: #1f2933;
    --route-text-muted: #5f6f7a;
    --route-heading: #263f4f;
    --route-accent: #d96c1c;
    --route-accent-dark: #a94f12;
    --route-accent-soft: #fff3e6;
    --route-link: var(--text-link-color);
    --route-link-dark: var(--route-accent);
    --route-link-soft: rgba(31, 111, 139, 0.10);
    --route-alert-bg: #fff7e8;
    --route-alert-border: #d97706;
    --route-shadow-sm: 0 2px 8px rgba(31, 41, 51, 0.08);
    --route-shadow-md: 0 10px 28px rgba(31, 41, 51, 0.14);
    --route-radius-sm: 6px;
    --route-radius-md: 8px;
    --route-radius-lg: 10px;
}

/* Layout
----------------------------------------*/

h1 {
    font-size: 1.55em;
    margin-bottom: 0.15em;
    letter-spacing: -0.02em;
}

#wrap {
    padding-left: 0;
    padding-right: 0;
}

div.breadcrumb {
    margin-left: 0;
}

section {
    display: block;
    width: auto;
    float: left;
    clear: both;
}

section.withpadding {
    padding-left: 10px;
    padding-right: 10px;
}

section h2 {
    margin-top: 0;
}

#sectionMaps {
    width: 100%;
    max-width: 98%;
}

/* Route title area
----------------------------------------*/

#route_heading {
    float: left;
    clear: none;
    max-width: 100%;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--route-heading);
}

#route_heading span {
    font-size: 1.2em;
}

.route_titleicon {
    width: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    margin: 1px 0 -3px 0;
}

.route_alerticon {
    width: 17px;
    height: 17px;
    border: 0;
    float: left;
    padding: 0 3px 0 0;
}

/* Header / overview
----------------------------------------*/

#route_headerarea {
    display: inline-block;
    width: 100%;
    background:
            radial-gradient(circle at top left, rgba(255, 255, 255, 0.48), transparent 34%),
            linear-gradient(135deg, #eef1ec 0%, #d9e0d5 47%, #c7d2c2 100%);
    border-top: 1px solid rgba(47, 72, 88, 0.12);
    border-bottom: 1px solid rgba(47, 72, 88, 0.18);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}

#route_headerarea > div {
    padding: 12px 8px 14px 8px !important;
}

#route_overview_box {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 1150px;
    width: 100%;
    height: auto;
    text-align: left;
    margin-top: 4px;
    margin-left: 0;
    float: left;
    clear: both;
    user-select: text;
}

#route_stats_column {
    display: grid;
    grid-template-columns: repeat(2, minmax(155px, 230px));
    gap: 8px;
    flex: 0 0 auto;
    width: auto;
    max-width: 500px;
    float: left;
    clear: none;
    user-select: none;
}

#statsColumn3 {
    flex: 1 1 auto;
    min-width: 300px;
    float: left;
    clear: none;
    border: 0;
    padding: 0;
    line-height: 0;
    user-select: none;
}

/* Stats cards
----------------------------------------*/

div.stat {
    display: flex;
    flex-direction: column;
    float: left;
    clear: both;
    white-space: normal;
    min-width: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--route-border-soft);
    border-radius: var(--route-radius-md);
    padding: 9px 11px;
    box-shadow: var(--route-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

div.stat:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 108, 28, 0.28);
    box-shadow: 0 6px 16px rgba(31, 41, 51, 0.12);
}

span.label {
    width: auto;
    min-width: unset;
    display: inline-block;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    color: var(--route-text-muted);
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    margin: 0 0 5px 0;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
}

span.label.empty {
    background-color: transparent;
}

span.value {
    min-width: unset;
    vertical-align: middle;
    margin: 0;
    display: inline-block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--route-text);
    line-height: 1.3;
}

span.label a,
span.value a {
    display: revert;
}

#statsMoreInfo {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    float: left;
    clear: both;
    width: 100%;
    margin-bottom: 6px;
}

#lastUpdated {
    display: block;
    width: 100%;
    font-size: 0.7em;
    float: right;
    clear: both;
    padding: 0 2px 0 0 !important;
    margin: -8px 0 0 0;
    text-align: right;
}

/* Show more / less
----------------------------------------*/

#morelessButtonWrap {
    text-align: left;
    float: left;
    clear: both;
    display: block;
    margin-top: 6px;
    margin-bottom: 4px;
}

#moreStatsButton,
#lessStatsButton {
    width: 100%;
    float: left;
    clear: both;
    padding: 3px 0;
    user-select: none;
}

#moreStatsButton span.buttonfs.orangef,
#lessStatsButton span.buttonfs.orangef {
    display: inline-block;
    background: linear-gradient(135deg, #df7a25 0%, #c65f12 100%);
    color: #fff !important;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(198, 95, 18, 0.32);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#moreStatsButton span.buttonfs.orangef:hover,
#lessStatsButton span.buttonfs.orangef:hover,
.buttonfs.orangef:hover {
    background: linear-gradient(135deg, #ef8c34 0%, #d96c1c 100%);
    box-shadow: 0 5px 12px rgba(198, 95, 18, 0.42);
    transform: translateY(-1px);
}

.buttonf {
    font-size: 11pt !important;
    color: #fff !important;
    text-decoration: none !important;
    padding-bottom: 5px !important;
}

/* Overview / featured photos
----------------------------------------*/

span.mainRoutePic {
    background-color: transparent;
    background-image: var(--image-site-logo);
    background-repeat: no-repeat;
    background-size: 75%;
    background-position: center;
    width: 326px;
    max-width: 326px;
    height: 175px;
    max-height: 175px;
}

span.mainRoutePic img {
    background-color: transparent;
    width: 326px;
    max-width: 326px;
    height: 175px;
    max-height: 175px;
}

span.featuredPhotoThumb {
    margin: 3px 4px 8px 4px;
    width: auto;
    max-width: 96%;
    height: auto;
    max-height: fit-content;
}

.featuredPhotoThumb a {
    display: inline-block;
    border-radius: var(--route-radius-md);
    overflow: hidden;
}

.featuredPhotoThumb img {
    background-color: transparent;
    border-radius: var(--route-radius-md);
    box-shadow: 0 2px 8px rgba(31, 41, 51, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featuredPhotoThumb a:hover img {
    transform: scale(1.025);
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.18);
}

span.featuredPhotoThumb.mainRoutePic {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--route-radius-lg);
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: var(--route-shadow-md);
}

span.featuredPhotoThumb.mainRoutePic a {
    display: block;
    width: 100%;
    height: 100%;
}

span.featuredPhotoThumb.mainRoutePic img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    border-radius: var(--route-radius-lg);
    transition: transform 0.35s ease;
}

span.featuredPhotoThumb.mainRoutePic:hover img {
    transform: scale(1.025);
}

span.featuredPhotoThumb:hover, div.peakGroupedPhotosWrap span:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: unset;
    box-shadow: none;
}

div.headerpic {
    clear: both;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(31, 41, 51, 0.28);
}

div.headerpic img {
    width: 100%;
    max-width: 100%;
    display: block;
}

img.photogallery-thumb {
    height: 175px;
    width: auto;
    object-fit: cover;
}

/* Route text sections
----------------------------------------*/

.paragraph_header {
    max-width: 1150px;
    color: var(--route-heading);
    background-color: transparent;
    border-bottom: 1px solid rgba(47, 72, 88, 0.18);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 20px 0 8px 0;
    padding-bottom: 5px;
}

.paragraph_header.section_header_clean {
    position: relative;
    margin: 24px 0 12px 0;
    border-bottom: 0;
    font-size: 1.35rem;
    color: var(--route-heading);
}

.paragraph_header.section_header_clean::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--route-accent), rgba(217, 108, 28, 0.22));
}

div.paragraph_text {
    max-width: 1100px;
    clear: none;
    color: var(--route-text);
    font-size: 1.02rem;
    line-height: 1.4;
}

div.paragraph_text p {
    margin-top: 0;
    margin-bottom: 0.95em;
}

div.paragraph_text a {
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

div.paragraph_text ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 3px;
    -webkit-appearance: none;
}

div.paragraph_text ul li {
    padding: 0 0 0 18px;
    margin: 0 0 4px 0;
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 10px 10px;
    -webkit-appearance: none;
}

div.paragraph_text ul li:before {
    vertical-align: middle;
    font-family: "FontAwesome", serif;
    content: "\f111";
    font-size: 0.5em;
    margin-left: -12px;
    padding-left: 0;
    padding-right: 5px;
    color: var(--bullet1-color);
}

/* Inline route photo / milestone markers
----------------------------------------*/

span.route_photo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    background: var(--route-link-soft);
    color: var(--route-link);
    border: 1px solid rgba(31, 111, 139, 0.28);
    border-radius: 999px;
    padding: 1px 7px 2px 7px;
    min-height: 1.1em;
    margin: 0 2px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(31, 41, 51, 0.08);
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

span.route_photo a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}

span.route_photo:hover {
    background: rgba(31, 111, 139, 0.16);
    color: var(--route-link-dark);
    border-color: rgba(31, 111, 139, 0.48);
    box-shadow: 0 3px 8px rgba(31, 41, 51, 0.14);
    transform: translateY(-1px);
}

span.route_milestone {
    cursor: pointer;
}

i.fa-map-marker {
    font-size: 1.1em;
    color: var(--icon-milestone-color);
}

/* Alerts
----------------------------------------*/

.routeAlerts {
    user-select: none;
    float: right;
    margin: -4px -4px 16px 18px;
    background: linear-gradient(180deg, #fff9ed 0%, #fff3df 100%);
    font-size: 0.9em;
    width: 260px;
    padding: 13px 14px;
    border-left: 5px solid var(--route-alert-border);
    border-top: 1px solid rgba(180, 83, 9, 0.16);
    border-right: 1px solid rgba(180, 83, 9, 0.16);
    border-bottom: 1px solid rgba(180, 83, 9, 0.16);
    border-radius: var(--route-radius-md);
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.1);
}

.routeAlerts.printVersion {
    width: 200px;
    background-color: var(--widget-alert-print-bg-color);
    border-radius: var(--route-radius-md);
    box-shadow: none;
    margin: 25px 5px 5px 5px;
}

.routeAlerts a {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
}

.routeAlert {
    margin-bottom: 10px;
    line-height: 1.45;
    color: #4a3520;
}

.routeAlert:last-child {
    margin-bottom: 0;
}

.routeAlert .paragraph_header {
    font-size: 0.9em;
    font-weight: 900;
    color: #9a3412;
    border: 0;
    margin: 0 0 5px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

/* Maps
----------------------------------------*/

#map_wrap {
    border: 0;
    border-radius: var(--route-radius-lg);
}

#map_canvas {
    border-radius: var(--route-radius-lg);
}

.gmap_framewrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 455px;
    float: left;
    clear: none;
    vertical-align: top;
    text-align: left;
    margin-top: 6px;
    margin-right: 0;
    display: flex;
    border: 1px solid rgba(47, 72, 88, 0.18);
    border-radius: var(--route-radius-lg);
    overflow: hidden;
    box-shadow: var(--route-shadow-md);
    user-select: none;
    background: #e8ece7;
}

.sliderPanel {
    display: none;
}

div.mapimage {
    position: relative;
    float: left;
    clear: none;
    vertical-align: top;
    text-align: left;
    margin: 0;
    width: 300px;
    height: auto;
    background-image: var(--image-site-logo);
    background-size: 25% 25%;
    background-repeat: no-repeat;
    background-position: center;
}

div.mapimage a {
    display: block;
}

div.mapimage span:nth-child(1) {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-25%, -50%);
    width: 100%;
    z-index: 10;
    font-size: 1.2em;
    color: var(--text-primary-dim-color);
    pointer-events: none;
}

div.mapimage span:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 2.5em;
    color: var(--text-primary-dim-color);
    pointer-events: none;
}

img.mapimage-fullwidth {
    max-width: 100%;
    height: auto;
}

/* Map buttons / controls
----------------------------------------*/

#mapButtonsLocal {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    float: none;
    clear: both;
    padding-top: 10px;
    padding-left: 0;
    margin-left: 0;
    align-items: center;
    user-select: none;
    justify-content: flex-start;
}

.triggerButton {
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
}
.triggerButton:hover {
    transform: scale(1.05);
}

.map-overlay-controls {
    position: absolute;
    top: 112px;
    left: 4px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

#triggerProfile {
    background-color: #FFF;
    text-decoration: none;
    padding: 3px 2px 2px 2px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
#triggerProfile i {
    font-size: 38px;
    color: goldenrod;
    transition: color 0.2s;
    transform: scaleX(-1);
    display: inline-block;
}

#triggerJPGMap i {
    font-size: 34px;
    color: #2f855a;
    transition: color 0.2s;
}

#triggerFlythrough {
    padding-left: 8px;
}

#triggerFlythrough i {
    font-size: 38px;
    color: #2f6690;
    transition: color 0.2s;
    transform: rotate(-50deg);
}

#triggerProfile:hover i {
    color: #975a16;
}

#triggerJPGMap:hover i {
    color: #276749;
}

#triggerFlythrough:hover i {
    color: #245173;
}

#triggerJPGMapOnly {
    display: inline-block;
    width: auto;
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 5px;
}

#triggerJPGMap div.icon-stack,
#triggerFlythrough div.icon-stack {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
}

#beatingArrow {
    font-size: 0.75em;
    --fa-animation-duration: 3s;
    --fa-beat-scale: 1.7;
    color: var(--route-accent);
}

/* Route profile
----------------------------------------*/

#divRouteProfile {
    display: none;
    flex-direction: row;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 475px;
    height: 120px;
    width: 85%;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: var(--route-radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gmap_framewrap.fake-fullscreen #divRouteProfile {
    bottom: 25px;
}

#divRouteProfileChart {
    flex-grow: 1;
    height: 120px;
    max-width: 475px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#divRouteProfileChart span {
    font-size: 2em;
}

/* Tooltips and misc
----------------------------------------*/

.ui-tooltip {
    max-width: 400px !important;
}

.SmallTextMain {
    font-size: 0.84em;
    white-space: normal;
}

/* Responsive
----------------------------------------*/

@media (max-width: 1150px) {
    #sectionMaps {
        width: 1024px;
    }
}

@media (max-width: 800px) {
    div.breadcrumb {
        margin: -7px 0 2px -5px;
        padding: 2px 0 2px 0;
    }

    #route_headerarea > div {
        padding: 8px 7px 10px 7px !important;
    }

    #route_overview_box {
        width: 100%;
        gap: 0;
    }

    #statsColumn3 {
        display: none;
    }

    span.mainRoutePic {
        display: none;
    }

    #route_stats_column {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(2, minmax(135px, 1fr));
        gap: 7px;
    }

    div.stat {
        padding: 8px 9px;
        border-radius: 10px;
    }

    span.label {
        font-size: 0.7rem;
    }

    span.value {
        font-size: 0.93rem;
    }

    #statsMoreInfo {
        display: grid;
        gap: 7px;
        grid-template-columns: repeat(2, minmax(135px, 1fr));
        grid-auto-flow: row;
        clear: left;
    }

    div.paragraph_text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
    }

    #divRouteProfile {
        bottom: 55px;
    }
}

@media (max-width: 700px) {
    span.mainRoutePic {
        display: none;
    }
}

@media (max-width: 600px) {
    section.withpadding {
        padding-left: 8px;
        padding-right: 8px;
    }

    #route_overview_box {
        width: 100%;
    }

    #route_stats_column,
    #statsMoreInfo {
        grid-template-columns: 1fr 1fr;
    }

    .SmallTextMain {
        font-size: 10pt;
        white-space: normal;
    }

    .routeAlerts {
        float: none;
        margin: 4px 0 12px 0;
        width: auto;
        border-radius: var(--route-radius-md);
        box-shadow: var(--route-shadow-sm);
    }

    .paragraph_header {
        font-size: 1.12rem;
        margin-top: 18px;
    }

    .paragraph_header.section_header_clean {
        font-size: 1.24rem;
    }

    .gmap_framewrap {
        height: 390px;
        border-radius: var(--route-radius-md);
    }

    #map_wrap,
    #map_canvas {
        border-radius: var(--route-radius-md);
    }
}

@media (max-width: 550px) {
    img.photogallery-thumb {
        height: 110px;
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .show-4 {
        display: inline-block !important;
    }

    #route_stats_column,
    #statsMoreInfo {
        grid-template-columns: 1fr;
    }

    #moreStatsButton,
    #lessStatsButton {
        padding-top: 5px;
    }

    div.paragraph_text {
        font-size: 0.98rem;
    }

    span.route_photo {
        padding: 2px 7px;
    }
}

/* Photo walkthrough
----------------------------------------*/

.route-walkthrough-start {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px 0;
    padding: 7px 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #df7a25 0%, #c65f12 100%);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(198, 95, 18, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.route-walkthrough-start:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(198, 95, 18, 0.38);
}

.route-photo-walkthrough {
    position: fixed;
    top: 55px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(12, 18, 24, 0.92);
    backdrop-filter: blur(8px);
}

.route-photo-walkthrough.is-open {
    display: flex;
}

.route-photo-walkthrough__shell {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto 145px 74px;
    width: min(1180px, 100%);
    height: min(822px, calc(100vh - 58px - 36px));
    overflow: hidden;
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.route-photo-walkthrough__topbar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 54px 12px 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.route-photo-walkthrough__topbar span {
    margin-left: 12px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

#routeWalkthroughTitle {
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-photo-walkthrough__close {
    position: absolute;
    top: 2px;
    right: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.route-photo-walkthrough__close:hover,
.route-photo-walkthrough__close:focus {
    background: rgba(217, 108, 28, 0.95);
    border-color: rgba(255, 255, 255, 0.75);
    transform: scale(1.06);
    outline: none;
}

.route-photo-walkthrough__close span {
    display: block;
    margin-top: -2px;
}

.route-photo-walkthrough__body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    background: #05070a;
}

.route-photo-walkthrough__body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.route-photo-walkthrough__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    border: 0;
    width: 48px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 46px;
    line-height: 1;
    cursor: pointer;
}

.route-photo-walkthrough__nav:hover {
    background: rgba(255, 255, 255, 0.26);
}

.route-photo-walkthrough__nav--prev {
    left: 14px;
}

.route-photo-walkthrough__nav--next {
    right: 14px;
}

.route-photo-walkthrough__details {
    padding: 10px 16px;
    color: #fff;
    background: rgba(17, 24, 39, 0.98);
}

#routeWalkthroughStats {
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.route-photo-walkthrough__profile {
    position: relative;
    min-height: 0;
    padding: 8px 12px 12px 12px;
    background: linear-gradient(180deg, #182230 0%, #0f172a 100%);
}

.route-photo-walkthrough__thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 9px 12px;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.route-photo-walkthrough__thumb {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    opacity: 0.62;
}

.route-photo-walkthrough__thumb.is-active {
    border-color: var(--route-accent);
    opacity: 1;
}

.route-photo-walkthrough__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.route-walkthrough-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .route-photo-walkthrough {
        padding: 0;
    }

    .route-photo-walkthrough__shell {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        grid-template-rows: auto minmax(0, 1fr) auto 120px 64px;
    }

    .route-photo-walkthrough__topbar {
        flex-direction: column;
        gap: 3px;
        padding-right: 52px;
    }

    .route-photo-walkthrough__nav {
        width: 42px;
        height: 58px;
        font-size: 38px;
    }

    .route-photo-walkthrough__thumb {
        width: 46px;
        height: 46px;
    }
}

.route-walkthrough-start {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px 0;
    padding: 7px 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #df7a25 0%, #c65f12 100%);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(198, 95, 18, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.route-walkthrough-start__count {
    opacity: 0.82;
    font-size: 0.86em;
    font-weight: 700;
}

@media (max-width: 700px) {
    .route-photo-walkthrough {
        top: 55px;
        padding: 0;
    }

    .route-photo-walkthrough__shell {
        width: 100%;
        height: calc(100vh - 55px);
        border-radius: 0;
        grid-template-rows: auto minmax(0, 1fr) auto 120px 64px;
    }

    .route-photo-walkthrough__topbar {
        flex-direction: column;
        gap: 3px;
        padding-right: 52px;
    }

    .route-photo-walkthrough__nav {
        width: 42px;
        height: 58px;
        font-size: 38px;
    }

    .route-photo-walkthrough__thumb {
        width: 46px;
        height: 46px;
    }
}

/* Print
----------------------------------------*/

@media print {
    #printButton {
        display: none;
    }

    div.ui-dialog {
        display: none !important;
    }

    span.class1,
    span.class2,
    span.class3,
    span.class4,
    span.class5 {
        color: #fff;
    }
}