/**
 * 喪Search - Modal Spot Styles (統一版 v3)
 * modal-spot.css
 * 放置：theme/assets/css/modal-spot.css
 *
 * v3 改動：
 * - Desktop popup 加闊至 680px
 * - 交通一行一方法樣式
 * - YouTube section 樣式
 * - 同日順路 / 附近仲有加大 margin，統一 class
 */

/* ========== FIX: Fancybox z-index ========== */
.fancybox__container {
    z-index: 99999 !important;
}

/* ========== FIX: Login Modal z-index（確保喺 spot modal 之上） ========== */
.ss-login-overlay,
#ss-login-overlay {
    z-index: 100000 !important;
}

/* ========== Overlay ========== */
.ss-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.3s ease, visibility 0s 0.3s;
}
.ss-modal-overlay.is-active {
    background: rgba(0, 0, 0, 0.55);
    visibility: visible;
    transition: background 0.3s ease, visibility 0s;
}

/* ========== Modal Container ========== */
.ss-modal {
    position: fixed;
    z-index: 10000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Mobile: Bottom Sheet */
@media (max-width: 767px) {
    .ss-modal {
        bottom: 0; left: 0; right: 0;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .ss-modal.is-active { transform: translateY(0); }
    .ss-modal::before {
        content: '';
        display: block;
        width: 40px; height: 4px;
        background: #D0D0D0;
        border-radius: 2px;
        margin: 10px auto 0;
        flex-shrink: 0;
    }
}

/* Desktop: Centered — v3: 加闊至 680px, 加高至 90vh */
@media (min-width: 768px) {
    .ss-modal {
        top: 50%; left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
        width: 90%; max-width: 680px; max-height: 90vh;
        border-radius: 16px;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .ss-modal.is-active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    .ss-modal::before { display: none; }
}

/* Scrollable body */
.ss-modal-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Body lock */
body.ss-modal-open {
    overflow: hidden;
}

/* ========== Close Button ========== */
.ss-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%; border: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    color: #4a3f35;
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 20;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ss-modal-close:hover {
    background: #fff;
    transform: scale(1.08);
}

/* ========== Hero Block ========== */
.ss-modal-hero-block {
    position: relative;
    flex-shrink: 0;
}

/* Gallery - Fixed sizes */
.ss-modal-gallery-main {
    width: 100%;
    height: 280px;
    overflow: hidden; cursor: pointer;
    background: linear-gradient(135deg, #d4e3d6 0%, #f8e8e3 100%);
    display: block;
}
.ss-modal-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.3s;
}
.ss-modal-gallery-main:hover img { transform: scale(1.03); }

.ss-modal-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px; padding: 3px 0 0;
}
.ss-modal-gallery-thumb {
    height: 70px;
    overflow: hidden; cursor: pointer;
    position: relative;
    background: #d4e3d6;
    display: block;
}
.ss-modal-gallery-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity 0.2s;
}
.ss-modal-gallery-thumb:hover img { opacity: 0.85; }

.ss-gallery-more {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
}

@media (min-width: 768px) {
    .ss-modal-gallery-main { height: 320px; }
    .ss-modal-gallery-thumb { height: 85px; }
}

/* Title overlay */
.ss-modal-title-overlay {
    position: absolute;
    bottom: 73px;
    left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    padding: 60px 24px 16px;
    color: #fff; pointer-events: none;
}
@media (min-width: 768px) {
    .ss-modal-title-overlay { bottom: 88px; }
}

.ss-modal-category-badges {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 10px;
}
.ss-cat-badge {
    font-size: 12px; padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff; font-weight: 600;
}
.ss-modal-title-zh {
    font-size: 26px; font-weight: 700;
    line-height: 1.3; margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.ss-modal-title-en {
    font-size: 13px; opacity: 0.7;
    margin: 3px 0 0; font-weight: 400;
}

/* ========== Sections ========== */
.ss-section {
    padding: 24px;
    border-bottom: 1px solid #f0ede8;
}
.ss-section:last-child { border-bottom: none; }

.ss-section-title {
    font-size: 16px; font-weight: 700;
    color: #6b8a76;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 6px;
}
.ss-section-title i {
    font-size: 14px; width: 18px;
    text-align: center; color: #8fa998;
}

/* ========== One Line ========== */
.ss-oneline {
    font-size: 16px; font-weight: 500;
    line-height: 1.8; color: #4a3f35;
    padding: 22px 24px 0;
}

/* ========== Quick Info ========== */
.ss-quick-info {
    display: flex; gap: 10px; flex-wrap: wrap;
    padding: 14px 24px 20px;
}
.ss-info-chip {
    display: inline-flex; align-items: center;
    gap: 6px; font-size: 14px; font-weight: 500;
    padding: 7px 14px; border-radius: 20px;
    background: #f9f7f2; color: #4a3f35;
}
.ss-info-chip i { color: #8fa998; font-size: 12px; }

/* ========== Background text ========== */
.ss-bg-text {
    font-size: 15px; line-height: 2.0;
    color: #555; margin-bottom: 16px;
}
.ss-bg-text:last-child { margin-bottom: 0; }

/* ========== Section Photos ========== */
.ss-section-photos {
    display: flex; gap: 10px; margin-top: 16px;
}
.ss-section-photos.one-photo .ss-section-photo { width: 100%; }
.ss-section-photos.two-photos .ss-section-photo { width: calc(50% - 5px); }

.ss-section-photo {
    border-radius: 10px; overflow: hidden;
    background: #f5f3ee;
}
.ss-section-photo img {
    width: 100%; height: 130px;
    object-fit: cover; display: block;
}
.ss-section-photo figcaption {
    padding: 8px 12px; background: #f5f3ee;
}
.ss-photo-cap-title {
    font-size: 13px; font-weight: 600; color: #444;
    display: block; line-height: 1.4;
}
.ss-photo-cap-credit {
    font-size: 11px; color: #aaa;
    display: block; margin-top: 2px;
    font-style: italic;
}
@media (min-width: 768px) {
    .ss-section-photo img { height: 150px; }
}

/* ========== Highlights ========== */
.ss-highlights-list {
    list-style: none; padding: 0; margin: 0;
}
.ss-highlights-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    font-size: 15px; line-height: 1.8; color: #444;
    border-bottom: 1px dotted #ececec;
}
.ss-highlights-list li:last-child { border-bottom: none; }
.ss-highlights-list li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 12px;
    color: #8fa998; font-size: 10px;
}

/* ========== YouTube Section (v3 新增) ========== */
.ss-section--youtube {
    background: #faf8f4;
}
.ss-yt-main {
    margin-bottom: 16px;
}
.ss-yt-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e4dc;
}
.ss-yt-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 10px;
}
.ss-yt-info {
    padding: 12px 0 0;
}
.ss-yt-title {
    font-size: 15px; font-weight: 600;
    color: #3d3630; line-height: 1.4;
    margin-bottom: 4px;
}
.ss-yt-channel {
    font-size: 12px; color: #7a7068;
    display: flex; align-items: center; gap: 5px;
}
.ss-yt-channel i {
    color: #cc181e; font-size: 13px;
}

/* YouTube grid: 第二、三條片 */
.ss-yt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.ss-yt-grid-item {
    min-width: 0;
}

/* ========== Shorts Section ========== */
.ss-section--shorts {
    background: #f7f5f0;
}
.ss-shorts-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.ss-shorts-grid::-webkit-scrollbar { display: none; }
.ss-shorts-item {
    flex: 0 0 160px;
    min-width: 0;
}
.ss-shorts-embed {
    position: relative;
    padding-bottom: 177.78%; /* 9:16 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #e8e4dc;
}
.ss-shorts-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 12px;
}
.ss-shorts-info {
    padding: 8px 2px 0;
}
.ss-shorts-title {
    font-size: 12px; font-weight: 600;
    color: #3d3630; line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}
.ss-shorts-channel {
    font-size: 11px; color: #7a7068;
    display: flex; align-items: center; gap: 4px;
}
.ss-shorts-channel i {
    color: #cc181e; font-size: 11px;
}
.ss-yt-embed--small {
    border-radius: 8px;
}
.ss-yt-embed--small iframe {
    border-radius: 8px;
}
.ss-yt-info--small {
    padding: 8px 0 0;
}
.ss-yt-info--small .ss-yt-title {
    font-size: 13px;
    /* 最多兩行，超出隱藏 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ss-yt-info--small .ss-yt-channel {
    font-size: 11px;
}

/* ========== Tips ========== */
.ss-tips-list {
    list-style: none; padding: 0; margin: 0;
}
.ss-tips-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 14px; line-height: 1.8; color: #555;
    border-bottom: 1px dotted #ececec;
}
.ss-tips-list li:last-child { border-bottom: none; }
.ss-tips-list li::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 12px;
    color: #e9a18e; font-size: 12px;
}

/* ========== Transport (v3: 一行一方法) ========== */
.ss-transport-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px dotted #ececec;
}
.ss-transport-row:first-of-type { padding-top: 0; }
.ss-transport-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.ss-transport-row i {
    color: #8fa998;
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* 舊版 transport fallback */
.ss-transport-text {
    font-size: 15px; line-height: 1.8; color: #555;
    display: flex; align-items: flex-start; gap: 10px;
}
.ss-transport-text i {
    color: #8fa998; margin-top: 4px; flex-shrink: 0;
}

/* ========== Actions ========== */
.ss-actions {
    padding: 20px 24px;
}
.ss-actions-grid {
    display: flex; flex-direction: column; gap: 10px;
}
.ss-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 18px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.25s;
    text-decoration: none; border: none; width: 100%;
    font-family: inherit;
}
.ss-btn i { font-size: 14px; }
.ss-btn--primary {
    background: #8fa998; color: #fff;
}
.ss-btn--primary:hover {
    background: #6b8a76; transform: translateY(-1px);
}
.ss-btn-row {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.ss-btn--secondary {
    background: #fff; color: #8fa998;
    border: 1.5px solid #d4e3d6;
    font-size: 14px; padding: 12px 12px;
}
.ss-btn--secondary:hover {
    background: #f0f5f1; border-color: #8fa998;
}

/* ========== Disclaimer ========== */
.ss-disclaimer {
    font-size: 12.5px; color: #b0a89e;
    text-align: center; padding: 14px 24px 6px;
    font-style: italic;
}
.ss-disclaimer i { margin-right: 4px; }

/* ========== Related Sections (v3: 同日順路 + 附近仲有) ========== */
.ss-related-section {
    margin: 0 24px;
    padding: 24px 0;
    border-top: 1.5px solid #e8e4dc;
}
.ss-related-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3d3630;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* 同日順路 Card */
.ss-route-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1.5px solid #e8e4dc;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.ss-route-card:hover {
    border-color: #d4e3d6;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.ss-route-card:last-child { margin-bottom: 0; }
.ss-route-thumb {
    flex-shrink: 0;
    width: 72px; height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ef 0%, #f8e8e3 100%);
}
.ss-route-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.ss-route-info { flex: 1; min-width: 0; }
.ss-route-name-zh {
    font-size: 0.95rem; font-weight: 700;
    color: #3d3630; line-height: 1.35;
}
.ss-route-name-en {
    font-size: 0.72rem; color: #7a7068;
    margin-bottom: 5px; letter-spacing: 0.3px;
}
.ss-route-desc {
    font-size: 0.84rem; color: #7a7068;
    line-height: 1.5; margin-bottom: 8px;
    /* 最多三行 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ss-route-tags {
    display: flex; flex-wrap: wrap; gap: 5px;
}
.ss-route-tag {
    padding: 3px 10px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 600;
    background: #eef4ef; color: #6d8a7a;
}
.ss-route-actions {
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 6px;
}
.ss-route-trip-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 14px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
    background: #e9a18e; color: #fff;
    border: none; cursor: pointer;
    font-family: inherit; white-space: nowrap;
    transition: all 0.25s;
}
.ss-route-trip-btn:hover {
    background: #d68d77; transform: translateY(-1px);
}
.ss-route-more {
    font-size: 0.73rem; color: #8fa998;
    font-weight: 600; text-decoration: none;
    transition: color 0.2s;
}
.ss-route-more:hover {
    color: #6b8a76; text-decoration: underline;
}

/* 附近仲有 Grid */
.ss-nearby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
/* 只有一個 nearby spot 時，限制寬度 */
.ss-nearby-grid .ss-nearby-card:only-child {
    max-width: 240px;
}
.ss-nearby-card {
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
}
.ss-nearby-card:hover {
    transform: translateY(-3px);
}
.ss-nearby-img {
    aspect-ratio: 3/2;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ef 0%, #f8e8e3 100%);
}
.ss-nearby-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.3s;
}
.ss-nearby-card:hover .ss-nearby-img img {
    transform: scale(1.05);
}
.ss-nearby-body {
    padding: 10px 2px;
}
.ss-nearby-name-zh {
    font-size: 0.9rem; font-weight: 700;
    line-height: 1.35; margin-bottom: 2px;
}
.ss-nearby-name-en {
    font-size: 0.7rem; color: #7a7068;
    margin-bottom: 4px; letter-spacing: 0.3px;
}
.ss-nearby-meta {
    font-size: 0.73rem; color: #7a7068;
}
.ss-nearby-meta-dot {
    display: inline-block;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #e8e4dc;
    vertical-align: middle;
    margin: 0 5px;
}

/* ========== Footer ========== */
.ss-modal-footer {
    background: #f7f5f0;
    padding: 16px 24px;
    border-top: 1px solid #ece9e2;
}
.ss-footer-row {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 8px;
}
.ss-footer-item { font-size: 12px; color: #b0a89e; }

.ss-footer-toggle {
    font-size: 12px; color: #8fa998;
    cursor: pointer; background: none; border: none;
    font-weight: 600; font-family: inherit;
    display: flex; align-items: center; gap: 6px;
    transition: color 0.2s;
}
.ss-footer-toggle:hover { color: #6b8a76; }
.ss-footer-toggle i {
    font-size: 10px; transition: transform 0.3s;
}
.ss-footer-toggle.is-open i {
    transform: rotate(180deg);
}
.ss-footer-detail {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
}
.ss-footer-detail.is-open { max-height: 2000px; }
.ss-footer-detail-inner {
    padding-top: 14px;
    font-size: 12px; color: #b0a89e; line-height: 1.9;
}
.ss-footer-detail-inner a { color: #8fa998; text-decoration: none; }
.ss-footer-detail-inner a:hover { text-decoration: underline; }
.ss-footer-detail-inner h5 {
    font-size: 12px; font-weight: 700;
    color: #999; margin: 12px 0 4px;
}
.ss-footer-detail-inner h5:first-child { margin-top: 0; }

/* ========== Hero Bookmark — 定位在大圖右下角 ========== */
.ss-hero-bookmark {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
    user-select: none;
    /* 定位在 thumbnail strip 上方 */
    right: 12px;
    bottom: 85px;
}
@media (min-width: 768px) {
    .ss-hero-bookmark { bottom: 100px; right: 16px; }
}
/* 冇 thumbnail strip 時（只有1張圖）*/
.ss-modal-gallery-thumbs:empty ~ .ss-hero-bookmark,
.ss-modal-hero-block:not(:has(.ss-modal-gallery-thumbs)) .ss-hero-bookmark {
    bottom: 12px;
}
.ss-hero-bookmark i {
    font-size: 15px;
    transition: transform 0.3s ease;
}
.ss-hero-bookmark:hover {
    background: rgba(255,255,255,0.35);
}
.ss-hero-bookmark.is-saved {
    background: rgba(255,255,255,0.95);
    color: #8fa998;
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.ss-hero-bookmark.is-saved i {
    animation: ss-bookmark-pop 0.4s ease;
}
@keyframes ss-bookmark-pop {
    0% { transform: scale(1); }
    30% { transform: scale(1.35); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* ========== Modal Action Bar ========== */
.ss-modal-action-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border-top: 1px solid #e8e4dc;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    z-index: 50;
    flex-shrink: 0;
}
.ss-modal-action-visited {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid #e8e4dc;
    background: #ffffff;
    color: #3d3630;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
}
.ss-modal-action-visited:hover { border-color: #d4e3d6; background: #eef4ef; color: #6d8a7a; }
/* visited/trip 狀態CSS已移至 ss-user-actions.css 統一管理 */
.ss-modal-action-trip {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: #8fa998;
    color: white;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 0.25s;
}
.ss-modal-action-trip:hover { background: #6d8a7a; }
.ss-modal-action-share:hover { background: #eef4ef; border-color: #d4e3d6; }

/* ========== Loading ========== */
.ss-modal-loading {
    display: flex; align-items: center; justify-content: center;
    height: 300px; font-size: 15px; color: #999;
}
.ss-modal-loading::after {
    content: ''; width: 20px; height: 20px;
    border: 2px solid #d4e3d6;
    border-top-color: #8fa998;
    border-radius: 50%; margin-left: 10px;
    animation: ss-spin 0.6s linear infinite;
}
@keyframes ss-spin { to { transform: rotate(360deg); } }

/* ========== Responsive ========== */
@media (max-width: 767px) {
    .ss-section { padding: 20px 18px; }
    .ss-oneline { padding: 18px 18px 0; font-size: 15px; }
    .ss-quick-info { padding: 12px 18px 16px; }
    .ss-actions { padding: 16px 18px; }
    .ss-related-section { margin: 0 18px; }
    .ss-yt-grid { gap: 10px; }
    .ss-yt-info--small .ss-yt-title { font-size: 12px; }
    .ss-route-card { padding: 14px; flex-wrap: wrap; }
    .ss-route-info { flex: 1 1 calc(100% - 86px); min-width: 0; }
    .ss-route-actions { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px dotted #e8e4dc; }
}