.route-card {
    background: #fff;
    border: 1px solid rgba(255, 100, 45, .14);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(17, 24, 39, .10);
    display: grid;
    gap: 14px;
    padding: 16px;
    position: relative;
    width: 100%;
    color: #111827;
}

.route-card-owner {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.route-card-more {
    background: transparent;
    border: 0;
    color: #111827;
    cursor: pointer;
    font-size: 19px;
    letter-spacing: 2px;
    padding: 4px;
    position: absolute;
    right: 16px;
    top: 20px;
}

.route-card-owner img,
.route-card-owner .route-card-image-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.route-card-owner strong,
.route-card-copy strong {
    display: block;
    font-weight: 900;
}

.route-card-owner strong {
    font-size: 15px;
    font-weight: 600;
}

.route-card-owner small,
.route-card-copy span,
.route-card-meta {
    color: #6b7280;
}

.route-card-media,
.route-card-copy {
    color: inherit;
    text-decoration: none;
}

.route-card-media {
    display: grid;
    gap: 5px;
    position: relative;
}

.route-card-cover {
    height: 180px;
    overflow: hidden;
    border-radius: 18px 18px 8px 8px;
    background: #f3f4f6;
}

.route-card-photo {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    text-align: inherit;
}

.route-card-cover img,
.route-card-strip img,
.route-card-photo .route-card-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.route-card-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 5px;
}

.route-card-strip > div,
.route-card-strip > button,
.route-card-map-link {
    height: 78px;
    overflow: hidden;
    background: #f3f4f6;
}

.route-card-strip > div:first-child,
.route-card-strip > button:first-child {
    border-bottom-left-radius: 12px;
}

.route-card-strip > div:last-child,
.route-card-map-link {
    border-bottom-right-radius: 12px;
}

.route-card-map-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.route-card-mini-map {
    position: relative;
    min-height: 78px;
    overflow: hidden;
    height: 100%;
    background: #eaf4f0;
}

.route-card-mini-map svg {
    display: block;
    width: 100%;
    height: 100%;
}

.route-card-map-water {
    fill: #cfeeee;
}

.route-card-map-park {
    fill: #dff0d7;
}

.route-card-map-road {
    fill: none;
    stroke: rgba(255, 255, 255, .96);
    stroke-linecap: round;
    stroke-width: 7;
}

.route-card-map-road-b {
    stroke-width: 5;
}

.route-card-map-road-c {
    stroke: rgba(220, 226, 216, .9);
    stroke-width: 3;
}

.route-card-map-route {
    fill: none;
    stroke: #ff5a2f;
    stroke-dasharray: 6 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4.8;
}

.route-card-mini-map::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.route-card-mini-map span {
    position: absolute;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px 999px 999px 2px;
    rotate: -45deg;
    background: #ff5a2f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(255, 90, 47, .28);
}

.route-card-mini-map span {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.route-card-mini-map span b {
    display: block;
    transform: rotate(45deg);
}

.route-card-mini-map.empty::before {
    display: none;
}

.route-card-image-placeholder {
    display: block;
    background: linear-gradient(135deg, #fff0e9, #f3f4f6);
}

.route-card-copy {
    display: grid;
    gap: 7px;
}

.route-card-copy strong {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.route-card-copy span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.42;
}

.route-card-read-more {
    color: #4b5563;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.route-card-copy time {
    color: #a0a5ae;
    font-size: 13px;
    font-weight: 400;
}

.route-card-actions {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 24px;
    padding-top: 12px;
}

.route-card-actions button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 5px;
    padding: 0;
}

.route-card-actions svg { fill: none; height: 27px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 27px; }
.route-card-actions b { font-size: 14px; font-weight: 500; }

.route-card-meta {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    display: flex;
    align-items: center;
    left: 10px;
    top: 10px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, .16);
    gap: 12px;
    margin: 0;
    padding: 7px 11px;
    position: absolute;
    right: auto;
    z-index: 2;
    font-size: 12px;
    font-weight: 500;
}

.route-card-meta span { color: #4b5563; }

.route-card-like {
    margin-left: auto;
    color: #ff5a2f;
}

.profile-route-list,
.routes-feed-list,
.home-routes-slider {
    position: relative;
}

.home-routes-rail {
    display: grid;
    gap: 24px;
}

.home-route-arrow {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 100, 45, .12);
    color: #111827;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 38px;
    z-index: 4;
}

.home-route-arrow-prev {
    left: -12px;
}

.home-route-arrow-next {
    right: -12px;
}

.home-route-arrow:disabled {
    cursor: default;
    opacity: .35;
}

.home-route-arrow[hidden] {
    display: none;
}

.profile-route-list .route-card {
    padding: 16px;
}

.route-card-owner-menu {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .14);
    display: grid;
    min-width: 150px;
    padding: 5px;
    position: absolute;
    right: 14px;
    top: 48px;
    z-index: 12;
}

.route-card-owner-menu[hidden] { display: none; }
.route-card-owner-menu a,
.route-card-owner-menu button {
    background: transparent;
    border: 0;
    color: #202534;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 10px;
    text-align: left;
    text-decoration: none;
}
.route-card-owner-menu button[data-route-follow] { color: #ff6b2c; }
.route-card-owner-menu button[data-route-follow]:disabled { color: #6b7280; cursor: default; }
.route-card-owner-menu button[data-route-report],
.route-card-owner-menu button[data-route-delete] { color: #dc2626; }

.route-report-modal {
    inset: 0;
    margin: 0 auto;
    max-width: var(--app-page-max-width, 430px);
    position: fixed;
    z-index: 80;
}

.route-report-modal[hidden] { display: none; }

.route-report-backdrop {
    background: rgba(15, 23, 42, .34);
    border: 0;
    inset: 0;
    position: absolute;
    width: 100%;
}

.route-report-sheet {
    background: #fff;
    border-radius: 24px 24px 0 0;
    bottom: 0;
    box-shadow: 0 -18px 40px rgba(15, 23, 42, .18);
    display: grid;
    gap: 14px;
    left: 0;
    padding: 20px 18px calc(22px + env(safe-area-inset-bottom));
    position: absolute;
    right: 0;
}

.route-report-sheet header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.route-report-sheet h2 {
    color: #111827;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}

.route-report-sheet header button {
    background: #f3f4f6;
    border: 0;
    border-radius: 999px;
    color: #111827;
    font-size: 22px;
    height: 34px;
    width: 34px;
}

.route-report-options {
    display: grid;
    gap: 8px;
}

.route-report-options label {
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    display: flex;
    gap: 10px;
    padding: 11px 12px;
}

.route-report-sheet textarea {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-height: 82px;
    padding: 12px;
    resize: vertical;
}

.route-report-submit {
    background: #ff6b2c;
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    min-height: 46px;
}

.routes-feed-shell {
    width: min(100%, var(--app-mobile-width, 430px));
    max-width: var(--app-page-max-width, 430px);
    margin: 0 auto;
    padding: 28px 18px 120px;
    background: #eef2f7;
}

.routes-feed-head {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.routes-feed-head h1 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.routes-feed-head p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.routes-feed-chips {
    display: flex;
    gap: 10px;
    margin: 0 -18px;
    overflow-x: auto;
    padding: 0 18px 4px;
    scrollbar-width: none;
}

.routes-feed-chips::-webkit-scrollbar {
    display: none;
}

.routes-feed-chips button {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0 16px;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
}

.routes-feed-chips button.active {
    border-color: rgba(255, 90, 47, .34);
    background: #fff3ed;
    color: #ff5a2f;
}

.routes-feed-list {
    display: grid;
    gap: 22px;
}

.routes-feed-list .route-card {
    box-sizing: border-box;
    margin: 0;
    width: 100%;
}

.routes-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.routes-feed-header h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
}

.routes-feed-empty {
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    color: #6b7280;
    text-align: center;
    font-weight: 800;
}

.routes-feed-load {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    color: #111827;
    font-weight: 900;
}

body.routes-feed-page {
    width: min(100%, var(--app-mobile-width, 430px));
    max-width: var(--app-page-max-width, 430px);
    min-width: 320px;
    margin: 0 auto;
    padding-bottom: 96px;
    background: #eef2f7;
}

body.routes-feed-page .site-header,
body.routes-feed-page main,
body.routes-feed-page .bottom-nav {
    max-width: 430px;
}

body.routes-feed-page .bottom-nav {
    grid-template-columns: none;
}

body.routes-feed-page .routes-bottom-nav .bottom-nav-items {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.routes-feed-page .routes-bottom-nav .bottom-nav-item strong {
    padding: 0;
    white-space: nowrap;
}

body.routes-feed-page .routes-bottom-nav .bottom-nav-item.active {
    color: var(--orange, #ff6b2c);
}

body.routes-feed-page .route-create-main,
body.plan-create-page .route-create-main {
    align-self: center;
    background: var(--orange, #ff6b2c);
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 0 0 8px rgba(255, 100, 45, .06),
        0 0 24px rgba(255, 100, 45, .25),
        0 6px 18px rgba(255, 100, 45, .20);
    color: #fff;
    flex-direction: row;
    font-size: 0;
    height: 68px;
    justify-self: center;
    min-height: 68px;
    min-width: 68px;
    padding: 8px;
    transform: translateY(-24px);
    width: 68px;
    z-index: 2;
}

body.routes-feed-page .route-create-main svg,
body.plan-create-page .route-create-main svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    stroke-width: 2.15;
}

.route-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 22px;
}

.route-gallery-modal[hidden] {
    display: none;
}

.route-gallery-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 12, 22, .78);
    cursor: zoom-out;
}

.route-gallery-sheet {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(100%, 430px);
}

.route-gallery-sheet img {
    width: 100%;
    max-height: min(72vh, 680px);
    border-radius: 18px;
    object-fit: contain;
    background: #111827;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

.route-gallery-close {
    position: absolute;
    top: -14px;
    right: -8px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

.route-gallery-actions {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.route-gallery-actions button {
    display: grid;
    width: 48px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.route-detail-shell {
    min-height: 100vh;
    background: #fff;
}

.route-detail-header {
    padding: 20px 18px 10px;
}

.route-detail-header h1 {
    font-size: 20px;
}

.route-detail-map {
    height: 300px !important;
    max-height: 300px !important;
    min-height: 0 !important;
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}

.route-detail-map .plan-google-map {
    width: 100%;
    height: 100%;
}

.route-detail-sheet {
    margin-top: 0;
    gap: 7px;
    padding: 16px 18px 28px;
    position: relative;
    z-index: 1;
}

.route-detail-profile { align-items: center; display: flex; gap: 12px; padding-bottom: 6px; position: relative; }
.route-detail-avatar, .route-detail-avatar img { border-radius: 50%; height: 48px; object-fit: cover; width: 48px; }
.route-detail-profile div { display: grid; gap: 2px; }
.route-detail-profile strong { font-size: 16px; }
.route-detail-profile small { color: #8b91a0; font-size: 13px; }
.route-detail-more { background: transparent; border: 0; color: #111827; cursor: pointer; font-size: 20px; letter-spacing: 2px; margin-left: auto; }
.route-detail-profile .route-detail-more { padding: 8px 2px; }
.route-detail-sheet h2 { font-size: 26px; line-height: 1.15; margin: 0 0 2px; }
.route-detail-description { color: #737888; line-height: 1.5; }
.route-detail-owner { display: none; }
.route-detail-social-actions { align-items: center; border-bottom: 1px solid #e5e7eb; display: flex; gap: 24px; padding: 10px 0 18px; }
.route-detail-social-actions button { align-items: center; background: transparent; border: 0; color: #111827; cursor: pointer; display: inline-flex; font: inherit; gap: 5px; padding: 0; }
.route-detail-social-actions svg { fill: none; height: 27px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 27px; }
.route-detail-social-actions b { font-size: 14px; font-weight: 500; }
.route-detail-stop { border-bottom: 1px solid #e5e7eb; display: grid; gap: 10px; grid-template-columns: 38px 1fr; padding: 20px 0 24px; position: relative; }
.route-detail-stop:not(:last-child)::before { display: none; }
.route-detail-stop > span { align-items: center; background: #ff642d; color: #fff; clip-path: polygon(50% 100%, 18% 66%, 8% 48%, 8% 34%, 18% 18%, 33% 8%, 50% 5%, 67% 8%, 82% 18%, 92% 34%, 92% 48%, 82% 66%); display: inline-flex; font-weight: 800; height: 48px; justify-content: center; position: relative; width: 42px; z-index: 1; }
.route-detail-stop-head { display: grid; gap: 3px; min-width: 0; padding-right: 54px; }
.route-detail-stop-head strong { font-size: 18px; }
.route-detail-stop-head small { color: #c1c4cb; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-detail-stop-more { align-items: center; background: #f3f4f7; border: 0; border-radius: 50%; color: #111827; cursor: pointer; display: inline-flex; font-size: 16px; grid-column: 2; height: 44px; justify-content: center; letter-spacing: 2px; margin-left: auto; margin-top: -2px; padding: 0 10px; position: absolute; right: 0; top: 18px; width: 44px; }
.route-stop-menu { background: #fff; border-radius: 14px; box-shadow: 0 14px 35px rgba(17, 24, 39, .18); display: grid; min-width: 170px; padding: 6px; position: absolute; right: 0; top: 68px; z-index: 10; }
.route-stop-menu[hidden] { display: none; }
.route-stop-menu button { background: transparent; border: 0; color: #111827; cursor: pointer; font: inherit; font-size: 14px; padding: 12px 14px; text-align: left; }
.route-detail-stop-media { display: grid; gap: 10px; grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.route-detail-stop-media img { aspect-ratio: 1.35; border-radius: 16px; object-fit: cover; width: 100%; }
.route-detail-stop-media a { display: block; }
.route-detail-stop-media a:focus-visible { outline: 3px solid #ff642d; outline-offset: 3px; }
.route-photo-lightbox { align-items: center; background: rgba(15, 23, 42, .86); display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 30; }
.route-photo-lightbox img { border-radius: 14px; max-height: 90vh; max-width: 92vw; object-fit: contain; }
.route-photo-lightbox button { background: #fff; border: 0; border-radius: 50%; color: #111827; cursor: pointer; font-size: 28px; height: 40px; line-height: 1; position: absolute; right: 18px; top: 18px; width: 40px; }
.route-detail-stop p { color: #8b909a; font-size: 15px; grid-column: 2; line-height: 1.45; margin: 0; }

.route-detail-owner {
    margin-top: 0;
    color: #6b7280;
    font-weight: 800;
}

.route-detail-meta-row { align-items: center; display: flex; gap: 16px; justify-content: flex-start; margin: 0 0 2px; position: relative; }
.route-detail-meta { align-items: center; color: #737888; font-size: 15px; font-weight: 400; gap: 14px; }
.route-detail-meta span { font-weight: 400; }
.route-detail-meta span { align-items: center; display: inline-flex; gap: 5px; }
.route-detail-meta svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 17px; }
.route-detail-actions { align-items: center; display: flex; gap: 10px; margin-left: auto; position: relative; }
.route-like-button, .route-owner-menu-button { align-items: center; background: transparent; border: 0; color: #737888; cursor: pointer; display: inline-flex; font: inherit; gap: 5px; padding: 5px; }
.route-like-button span { color: #ff642d; font-size: 22px; line-height: 1; }
.route-like-button b { font-size: 13px; font-weight: 400; }
.route-owner-menu-button { font-size: 20px; letter-spacing: 2px; }
.route-owner-menu { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 12px 28px rgba(17,24,39,.14); display: grid; min-width: 150px; padding: 5px; position: absolute; right: 0; top: 34px; z-index: 8; }
.route-owner-menu[hidden] { display: none; }
.route-owner-menu a, .route-owner-menu button { background: transparent; border: 0; color: #202534; cursor: pointer; font: inherit; font-size: 13px; padding: 10px; text-align: left; text-decoration: none; }
.route-owner-menu button { color: #dc2626; }

.home-routes-band {
    background: #fffaf7;
    border-bottom: 1px solid rgba(255, 107, 44, 0.16);
    border-top: 1px solid rgba(255, 107, 44, 0.16);
    display: block;
    margin-top: 18px;
    overflow: hidden;
    padding-bottom: 22px;
    padding-top: 24px;
    position: relative;
    box-shadow: 0 14px 30px rgba(255, 107, 44, 0.06);
}

.home-routes-band::before,
.home-routes-band::after {
    content: "";
    pointer-events: none;
    position: absolute;
}

.home-routes-band::before {
    background: rgba(255, 107, 44, 0.08);
    border-radius: 50%;
    height: 180px;
    left: -92px;
    top: -118px;
    width: 250px;
}

.home-routes-band::after {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    height: 150px;
    right: -78px;
    bottom: -112px;
    width: 220px;
}

.home-routes-band[hidden] {
    display: none;
}

.home-routes-rail {
    display: grid;
    grid-auto-flow: column;
    gap: 14px;
    grid-auto-columns: minmax(295px, 82%);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 0 12px;
    scroll-padding-left: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-routes-rail::-webkit-scrollbar {
    display: none;
}

.home-routes-rail .route-card {
    border: 1px solid rgba(255, 100, 45, .10);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(255, 100, 45, .08);
    gap: 9px;
    min-height: 400px;
    padding: 11px;
    scroll-snap-align: start;
}

.home-routes-rail .route-card-owner {
    gap: 8px;
    min-height: 36px;
}

.home-routes-rail .route-card-owner img,
.home-routes-rail .route-card-owner .route-card-image-placeholder {
    height: 34px;
    width: 34px;
}

.home-routes-rail .route-card-owner strong {
    font-size: 14px;
    line-height: 1.1;
}

.home-routes-rail .route-card-owner small {
    font-size: 12px;
}

.home-routes-rail .route-card-more {
    font-size: 16px;
    right: 12px;
    top: 15px;
}

.home-routes-rail .route-card-media {
    gap: 4px;
}

.home-routes-rail .route-card-cover {
    aspect-ratio: 1.62;
    border-radius: 12px 12px 5px 5px;
    height: auto;
}

.home-routes-rail .route-card-strip {
    gap: 4px;
    grid-template-columns: 1fr 1fr 1fr;
}

.home-routes-rail .route-card-strip > div,
.home-routes-rail .route-card-strip > button,
.home-routes-rail .route-card-map-link {
    height: 62px;
}

.home-routes-rail .route-card-strip > div:first-child,
.home-routes-rail .route-card-strip > button:first-child {
    border-bottom-left-radius: 7px;
}

.home-routes-rail .route-card-strip > div:last-child,
.home-routes-rail .route-card-map-link {
    border-bottom-right-radius: 7px;
}

.home-routes-rail .route-card-mini-map {
    min-height: 62px;
}

.home-routes-rail .route-card-mini-map span {
    font-size: 10px;
    height: 19px;
    width: 19px;
}

.home-routes-rail .route-card-meta {
    border-radius: 999px;
    font-size: 12px;
    gap: 8px;
    left: 9px;
    padding: 5px 10px;
    top: 10px;
}

.home-routes-rail .route-card-copy {
    gap: 5px;
}

.home-routes-rail .route-card-copy strong {
    font-size: 17px;
    line-height: 1.2;
}

.home-routes-rail .route-card-copy span {
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.34;
}

.home-routes-rail .route-card-read-more {
    display: inline;
}

.home-routes-rail .route-card-copy time {
    font-size: 12px;
}

.home-route-chips {
    display: flex;
    gap: 10px;
    margin: 6px 0 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.home-route-chips[hidden] {
    display: none;
}

.home-route-chips::-webkit-scrollbar {
    display: none;
}

.home-route-chips button {
    background: #f3f5f8;
    border: 1px solid #edf0f4;
    border-radius: 999px;
    color: #737888;
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
    padding: 0 18px;
}

.home-route-chips button.active {
    background: #ff642d;
    border-color: #ff642d;
    color: #fff;
}

.home-route-slider-status {
    align-items: center;
    color: #636b7a;
    display: grid;
    font-size: 14px;
    font-weight: 800;
    grid-template-columns: 1fr auto 1fr;
    padding: 4px 2px 0;
}

.home-route-slider-status[hidden] {
    display: none;
}

.home-route-dots {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-column: 2;
    justify-self: center;
}

.home-route-slider-status [data-home-route-count] {
    grid-column: 3;
    justify-self: end;
}

.home-route-dots button {
    background: #e1e5eb;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 8px;
    padding: 0;
    width: 8px;
}

.home-route-dots button.active {
    background: #ff642d;
    height: 11px;
    width: 11px;
}

@media (min-width: 760px) {
    .home-routes-rail {
        grid-auto-columns: minmax(300px, 42%);
    }
}

@media (min-width: 1120px) {
    .home-routes-rail {
        grid-auto-columns: minmax(320px, 30%);
    }
}
