.route-story-media-text) ul { margin: 0 0 1rem; padding-left: 1.4em; list-style: disc; }
.route-story-media-text) ol { margin: 0 0 1rem; padding-left: 1.4em; list-style: decimal; }
.route-story-media-text) li + li { margin-top: .35rem; }
#route-sidebar-column {
        display: none;
    }
#route-sidebar-panel {
        width: 100%;
        transition: border-radius .24s ease, box-shadow .24s ease, opacity .22s ease, transform .24s ease;
    }
.route-companion-card {
        background: rgba(17, 24, 39, 0.46);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
        backdrop-filter: blur(20px) saturate(135%);
        -webkit-backdrop-filter: blur(20px) saturate(135%);
        overflow: visible !important;
    }
.route-map-legend {
        display: none;
    }
.route-map-layer-panel {
        display: none;
    }
.route-companion-card.is-layer-panel-open .route-map-layer-panel,
.route-companion-card.is-legend-open .route-map-legend {
        display: flex;
    }
.route-companion-card:not(.is-details-open) .weather-widget-container,
.route-companion-card:not(.is-details-open) [title*="темп"],
.route-companion-card:not(.is-details-open) [title*="Темп"] {
        display: none !important;
    }
.route-elevation-strip {
        display: none;
    }
.route-companion-card.is-details-open .route-elevation-strip.has-data {
        display: block;
    }
.route-elevation-strip svg {
        width: 100%;
        height: 34px;
        display: block;
    }
.route-current-range {
        white-space: nowrap;
    }
.route-current-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 8px;
    }
.route-current-meta > span + span::before {
        content: "";
        display: inline-block;
        width: 3px;
        height: 3px;
        margin-right: 8px;
        border-radius: 999px;
        background: currentColor;
        opacity: .45;
        vertical-align: middle;
    }
#route-sidebar-panel.route-widget-manual-compact .route-widget-header,
#route-sidebar-panel.route-widget-manual-compact .route-widget-actions {
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }
#route-sidebar-panel.route-widget-manual-compact .route-compact-summary {
        opacity: 1;
        transform: translateY(-50%);
        pointer-events: auto;
    }
#route-sidebar-panel.route-widget-plain-route .route-map-legend span:nth-child(n+2) {
        display: none;
    }
#route-sidebar-panel.route-widget-plain-route .route-map-legend span:first-child i {
        background: #f97316;
    }
#route-sidebar-panel.route-widget-plain-route .route-current-section {
        display: none;
    }
#route-sidebar-panel.route-widget-plain-route .route-compact-summary .route-current-section-title,
#route-sidebar-panel.route-widget-plain-route .route-compact-summary .route-current-range,
#route-sidebar-panel.route-widget-plain-route .route-compact-summary .route-story-progress-track,
#route-sidebar-panel.route-widget-plain-route .route-compact-summary .route-story-progress-label {
        display: none;
    }
.mobile-route-story-bar.route-widget-plain-route .route-current-section-title,
.mobile-route-story-bar.route-widget-plain-route .route-story-progress-track,
.mobile-route-story-bar.route-widget-plain-route .route-story-progress-label {
        display: none;
    }
.route-companion-metric {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }
.route-companion-metric + .route-companion-metric::before {
        content: "";
        width: 3px;
        height: 3px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.46);
        margin: 0 8px;
    }
.route-widget-header,
.route-widget-actions,
.route-compact-summary {
        transition: opacity .2s ease, transform .24s ease;
    }
.route-compact-summary {
        opacity: 0;
        transform: translateY(calc(-50% + 8px));
        pointer-events: none;
        left: 1.5rem !important;
        right: auto !important;
        width: clamp(230px, 42%, 300px);
        max-width: calc(100% - 3rem);
    }
#route-sidebar-panel.route-widget-compact {
        min-height: 0;
        box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
    }
#route-sidebar-panel.route-widget-compact .route-widget-header,
#route-sidebar-panel.route-widget-compact .route-widget-actions {
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }
#route-sidebar-panel.route-widget-compact .route-compact-summary {
        opacity: 1;
        transform: translateY(-50%);
        pointer-events: auto;
    }
#route-sidebar-panel.route-widget-compact .minimap-container {
        opacity: .78;
    }
#route-sidebar-panel.route-widget-hidden {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
        pointer-events: none;
    }
.route-current-section {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
.ar-page .ar-tocbar .route-story-nav-link.is-active {
        border-color: var(--ink);
        background: var(--ink);
        color: var(--bg);
        box-shadow: none;
        transform: none;
    }
.route-story-nav-link {
        cursor: pointer;
        max-width: 100%;
    }
.route-story-block-bound {
        position: relative;
    }
.route-story-block-bound:focus-visible {
        outline: 2px solid var(--orange);
        outline-offset: 4px;
        border-radius: 8px;
    }
.route-story-map-link-badge { display: none; }
.route-story-progress-track {
        height: 4px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(255, 255, 255, .18);
    }
.route-story-progress-fill {
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background: #f97316;
        transition: width .28s ease;
    }
.route-compact-summary .route-story-progress-track,
.mobile-route-story-bar .route-story-progress-track {
        background: rgba(17, 24, 39, .08);
    }
.mobile-route-story-bar {
        display: none;
    }
.mobile-route-story-map-canvas {
        display: block;
        position: relative;
        height: 230px;
        min-height: 230px;
        overflow: hidden;
        background: #fff;
    }
.tropa-video-player {
        --video-played: 0%;
        --video-buffered: 0%;
        overflow: hidden;
        background: #050608;
        border-top: 1px solid rgba(17, 24, 39, .08);
        border-bottom: 1px solid rgba(17, 24, 39, .08);
        box-shadow: none;
    }
.post-media-frame {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
.post-photo-frame {
        overflow: hidden;
    }
/* A single editorial photo fills the story column at its natural aspect ratio. */
#post-detail-article .post-photo-frame--single > .post-photo-frame__link {
        display: block;
        width: 100%;
        max-width: none;
    }
#post-detail-article .post-photo-frame--single .post-photo-frame__image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        cursor: zoom-in;
    }
.tropa-video-shell {
        position: relative;
        aspect-ratio: 16 / 9;
        background: radial-gradient(circle at 50% 36%, #27303a 0, #08090b 58%, #020304 100%);
        overflow: hidden;
    }
.article-grid-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0b0d0c; }
.article-grid-video video, .article-grid-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }

.tropa-video-shell iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }
.tropa-video-unsupported {
        display: flex;
        min-height: 260px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px;
        color: #fff;
        text-align: center;
    }
.tropa-video-unsupported a {
        border-radius: 999px;
        background: #f97316;
        padding: 9px 15px;
        color: #fff;
        font-size: 12px;
        font-weight: 800;
    }
.tropa-video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #050608;
    }
.tropa-video[poster] {
        object-fit: cover;
    }
.tropa-video-player.has-started .tropa-video {
        object-fit: contain;
    }
.tropa-video-shade {
        position: absolute;
        inset: 0;
        z-index: 5;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(0,0,0,.34), transparent 28%),
            linear-gradient(0deg, rgba(0,0,0,.72), transparent 42%);
        opacity: .92;
        transition: opacity .22s ease;
    }
.tropa-video-player.is-playing:not(.is-controls-visible) .tropa-video-shade {
        opacity: .18;
    }
.tropa-video-play {
        position: absolute;
        inset: 0;
        z-index: 20;
        width: 56px;
        height: 56px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: #fff;
        background: rgba(0, 0, 0, .42);
        border: 1px solid rgba(255, 255, 255, .28);
        box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
        backdrop-filter: blur(18px);
        transition: transform .18s ease, background .18s ease, opacity .18s ease;
    }
.tropa-video-play:hover {
        transform: scale(1.04);
        background: rgba(249, 115, 22, .92);
    }
.tropa-video-player.is-playing .tropa-video-play {
        opacity: 0;
        pointer-events: none;
        transform: scale(.92);
    }
.tropa-video-caption {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 68px;
        z-index: 15;
        min-width: 0;
        color: #fff;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }
.tropa-video-caption span {
        display: block;
        margin-bottom: 3px;
        color: rgba(255,255,255,.74);
        font-size: 9px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .12em;
        text-transform: uppercase;
    }
.tropa-video-caption strong {
        display: block;
        max-width: 76%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.1;
    }
.tropa-video-player.is-playing:not(.is-controls-visible) .tropa-video-caption {
        opacity: 0;
        transform: translateY(8px);
    }
.tropa-video-controls {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 30;
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        color: #fff;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }
.tropa-video-player.is-paused .tropa-video-controls,
.tropa-video-player.is-controls-visible .tropa-video-controls {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
.tropa-video-toggle,
.tropa-video-mute,
.tropa-video-fullscreen {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: rgba(255,255,255,.92);
        background: rgba(0,0,0,.26);
        border: 1px solid rgba(255,255,255,.13);
        backdrop-filter: blur(16px);
        transition: background .18s ease, color .18s ease, transform .18s ease;
    }
.tropa-video-toggle:hover,
.tropa-video-mute:hover,
.tropa-video-fullscreen:hover {
        color: #fff;
        background: rgba(249, 115, 22, .92);
    }
.tropa-video-time {
        flex: 0 0 auto;
        min-width: 73px;
        color: rgba(255,255,255,.88);
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .02em;
        text-shadow: 0 1px 6px rgba(0,0,0,.45);
        white-space: nowrap;
    }
.tropa-video-timeline {
        position: relative;
        flex: 1 1 auto;
        min-width: 42px;
        height: 26px;
        display: flex;
        align-items: center;
    }
.tropa-video-timeline::before,
.tropa-video-buffered,
.tropa-video-played {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 5px;
        border-radius: 999px;
        transform: translateY(-50%);
    }
.tropa-video-timeline::before {
        background: rgba(255,255,255,.22);
    }
.tropa-video-buffered {
        right: auto;
        width: var(--video-buffered);
        background: rgba(255,255,255,.42);
    }
.tropa-video-played {
        right: auto;
        width: var(--video-played);
        background: #f97316;
        box-shadow: 0 0 16px rgba(249, 115, 22, .42);
    }
.tropa-video-range,
.tropa-video-volume {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 26px;
        cursor: pointer;
        appearance: none;
        background: transparent;
        accent-color: #f97316;
    }
.tropa-video-range::-webkit-slider-runnable-track,
.tropa-video-volume::-webkit-slider-runnable-track {
        height: 5px;
        background: transparent;
    }
.tropa-video-range::-webkit-slider-thumb,
.tropa-video-volume::-webkit-slider-thumb {
        appearance: none;
        width: 0;
        height: 0;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.32);
        transition: width .16s ease, height .16s ease, margin-top .16s ease;
    }
.tropa-video-timeline:hover .tropa-video-range::-webkit-slider-thumb,
.tropa-video-range:focus::-webkit-slider-thumb,
.tropa-video-volume:hover::-webkit-slider-thumb,
.tropa-video-volume:focus::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
        margin-top: -4.5px;
    }
.tropa-video-range::-moz-range-track,
.tropa-video-volume::-moz-range-track {
        height: 5px;
        background: transparent;
    }
.tropa-video-range::-moz-range-thumb,
.tropa-video-volume::-moz-range-thumb {
        width: 0;
        height: 0;
        border: 0;
        border-radius: 999px;
        background: #fff;
    }
.tropa-video-volume-wrap {
        position: relative;
        flex: 0 0 44px;
    }
.tropa-video-volume {
        position: absolute;
        right: 0;
        bottom: 52px;
        width: 96px;
        height: 32px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(0,0,0,.42);
        backdrop-filter: blur(16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
        transform: translateY(6px);
    }
.tropa-video-volume-wrap:hover .tropa-video-volume,
.tropa-video-volume:focus {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
.tropa-video-loader,
.tropa-video-error {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 25;
        transform: translate(-50%, -50%);
        display: none;
        align-items: center;
        gap: 10px;
        border-radius: 999px;
        background: rgba(0,0,0,.48);
        color: #fff;
        padding: 10px 14px;
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
        backdrop-filter: blur(18px);
        white-space: nowrap;
    }
.tropa-video-player.is-loading .tropa-video-loader,
.tropa-video-player.has-error .tropa-video-error {
        display: flex;
    }
.tropa-video-retry {
        border-radius: 999px;
        background: #f97316;
        color: #fff;
        padding: 7px 10px;
    }
.tropa-video-player.is-vertical {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 32px;
    }
.tropa-video-player.is-vertical .tropa-video-shell {
        aspect-ratio: 9 / 16;
        max-height: min(78vh, 720px);
    }
@media (min-width: 768px) {
.tropa-video-player {
            border: 1px solid rgba(17, 24, 39, .08);
            border-radius: 32px;
            box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
        }
.tropa-video-play {
            width: 72px;
            height: 72px;
        }
.tropa-video-controls {
            left: 18px;
            right: 18px;
            bottom: 18px;
            gap: 10px;
        }
.tropa-video-caption {
            left: 22px;
            right: 22px;
            bottom: 84px;
        }
.tropa-video-caption strong {
            font-size: 17px;
        }
}
@media (max-width: 767px) {
#post-detail-article .post-content .post-media-frame {
            width: 100%;
            max-width: 100%;
            margin-left: 0;
            margin-right: 0;
        }
.tropa-video-volume-wrap {
            display: none;
        }
.tropa-video-time {
            min-width: 69px;
            font-size: 9px;
        }
.tropa-video-caption strong {
            max-width: 88%;
        }
.tropa-video-toggle,
.tropa-video-fullscreen {
            width: 44px;
            height: 44px;
        }
}
@media (max-width: 767px) {
.mobile-route-story-bar {
            display: block;
            position: fixed;
            bottom: calc(74px + env(safe-area-inset-bottom, 0px));
            z-index: 125;
            transform: translateZ(0);
        }
.mobile-route-story-shell > .grid.grid-cols-4 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
.mobile-route-story-shell > .grid.grid-cols-4 > div {
            padding-top: 6px;
            padding-bottom: 6px;
        }
}
@media (max-width: 767px) and (display-mode: standalone), (max-width: 767px) and (display-mode: fullscreen) {
.mobile-route-story-bar {
            bottom: calc(
                var(--mobile-safe-bottom, env(safe-area-inset-bottom, 0px))
                + var(--mobile-nav-height, 60px)
                + var(--mobile-nav-bottom, 10px)
                + var(--mobile-nav-gap, 10px)
            ) !important;
        }
}
@media (max-width: 767px) {
#route-story-nav {
            margin-left: 1rem;
            margin-right: 1rem;
            overflow: hidden;
        }
#route-story-nav-items {
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            overflow-x: visible;
            padding-bottom: 0;
            scroll-padding-inline: 0;
        }
.route-story-nav-link {
            min-height: 44px;
            width: 100%;
            flex: 1 1 auto;
            justify-content: flex-start;
            border-radius: 14px;
            white-space: normal;
            text-align: left;
            line-height: 1.25;
        }
.route-story-block-bound {
            margin-left: 0;
            margin-right: 0;
            padding: 14px;
            border-radius: 16px;
        }
.mobile-route-story-bar {
            left: 12px;
            right: 12px;
            bottom: calc(70px + env(safe-area-inset-bottom, 0px));
            max-width: calc(100% - 24px);
        }
.mobile-route-story-bar .route-companion-card {
            border-radius: 20px;
            padding: 12px;
        }
.mobile-route-story-map-canvas {
            height: 180px;
            min-height: 180px;
        }
}
@media (max-width: 374px) {
.mobile-route-story-map-canvas {
            height: 156px;
            min-height: 156px;
        }
}
#post-detail-article .post-photo-frame,
#post-detail-article .post-photo-frame > a,
#post-detail-article .post-photo-frame .telegram-media-grid,
#post-detail-article .post-photo-frame .telegram-media-row,
#post-detail-article .post-photo-frame .telegram-media-item,
#post-detail-article .post-photo-frame img {
    border-radius: 0 !important;
}
:has(> .route-story-media-text--below) { display: flex; flex-direction: column; }
.route-story-media-text.route-story-media-text--below { order: 2; margin-top: 1rem; margin-bottom: 0; }

/* Concept route panel: light card with minimap, day chip, elevation and actions */
.ar-pwrap { position: relative; }
.ar-pmap .minimap-container { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.ar-panel .route-elevation-strip { display: none; }
.ar-panel .route-elevation-strip.has-data { display: block; }
.ar-panel .route-elevation-svg svg { width: 100%; height: 96px; display: block; }
.ar-panel .route-elevation-svg polyline { stroke: var(--cta); }
.ar-page .ar-elev__head { flex-wrap: nowrap; align-items: center; justify-content: flex-start; }
.ar-page .ar-elev__read { min-width: 0; margin-left: auto; text-align: right; }
.ar-page .ar-elev__toggle { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.ar-page .ar-elev__toggle:hover { border-color: var(--ink); }
.ar-page .ar-elev__toggle:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.ar-page .ar-elev__toggle svg { width: 16px; height: 16px; transition: transform .18s ease; }
.ar-page .ar-elev__toggle[aria-expanded="false"] svg { transform: rotate(180deg); }
.ar-page .ar-elev__content[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ar-page .ar-elev__toggle svg { transition: none; } }
.ar-panel .route-story-progress-track { flex: none; background: var(--line); }
.ar-panel .route-story-progress-fill { background: var(--cta); }
#sidebar-save-route-btn.is-saved { border-color: var(--cta); color: var(--cta); }
#sidebar-save-route-btn.is-saved .icon { fill: currentColor; }
/* 960-1023px: keep the full panel instead of the concept's collapsed strip (no expand button here) */
@media (min-width: 960px) and (max-width: 1023px) {
    .ar-page .ar-panel { position: sticky; top: var(--route-map-top); z-index: auto; height: calc(100dvh - var(--route-map-top) - 24px); min-height: 460px; max-height: none; margin-bottom: 0; background: none; }
    .ar-page .ar-panel__in { height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
    .ar-page .ar-panel__head, .ar-page .ar-elev { display: grid; }
    .ar-page .ar-elev { display: none; }
    .ar-page .ar-elev.has-data { display: block; }
    .ar-page .ar-panel__acts { display: flex; }
    .ar-page .ar-pwrap { display: block; flex: 1; height: auto; min-height: 200px; }
    .ar-page .ar-pmap { position: absolute; inset: 0; min-height: 0; }
    .ar-page .ar-pside { position: absolute; inset: 12px; flex-direction: row; align-items: flex-start; }
}

/* panel action buttons may shrink/wrap inside the narrow rail */
.ar-panel__acts { flex-wrap: wrap; }
.ar-panel__acts .btn { min-width: 0; flex: 1 1 auto; }
.ar-panel__acts .btn span, .ar-panel__acts .btn { white-space: nowrap; }

/* concept tocbar: plain-case pills, black active pill (beats legacy !important) */
.ar-page .route-story-nav-link { text-transform: none !important; letter-spacing: 0 !important; font-weight: var(--fw-ui) !important; font-size: var(--fs-small) !important; color: var(--ink-2) !important; }
.ar-page .ar-tocbar .route-story-nav-link.is-active { color: var(--bg) !important; background: var(--ink) !important; border-color: var(--ink) !important; }

/* related cards: minimap fills the media box */
.ar-more-sec .jcard__media { position: relative; }
.ar-more-sec .jcard__media .minimap-container { position: absolute; inset: 0; }
