.route-page-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.route-page-title__icon {
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.route-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f5eb5;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.route-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.95rem;
    flex: 1 1 auto;
}

.route-tab {
    border: 1px solid #d6e6ff;
    border-radius: 12px;
    padding: 0.42rem 0.62rem;
    background: #f5f9ff;
    text-decoration: none;
    color: #1f5eb5;
    font-weight: 600;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.route-tab:hover {
    transform: translateY(-1px);
    border-color: #add0ff;
    box-shadow: 0 8px 18px rgba(15, 82, 167, 0.15);
}

.route-tab.is-active {
    background: #1273ea;
    color: #fff;
    border-color: #1273ea;
}

.route-tab__icon {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.route-shell {
    margin-top: 1.2rem;
}

.route-tabs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.route-mascot {
    width: min(24vw, 185px);
    min-width: 110px;
    height: auto;
    display: block;
}

@media (max-width: 860px) {
    .route-mascot {
        width: min(30vw, 150px);
        min-width: 92px;
    }
}

@media (max-width: 640px) {
    .route-mascot {
        width: min(28vw, 120px);
        min-width: 78px;
    }
}
