/* 迁自新加坡站页面主体，统一为香港站紫色主题。 */
.guide-wrap {
        padding-top: 40px;
        padding-bottom: 60px;
        font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
    .guide-title {
        font-size: clamp(1.6rem, 3vw, 2.5rem);
        font-weight: 800;
        line-height: 1.4;
        color: #121c2a;
        margin: 0 0 8px;
        overflow-wrap: anywhere;
    }
    .guide-subtitle {
        font-size: 16px;
        color: #4c4452;
        margin-bottom: 12px;
    }
    .guide-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    .guide-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: opacity .2s;
        border: none;
    }
    .guide-btn:hover { opacity: .85; }
    .guide-btn-download {
        background: #6b21a8;
        color: #fff;
    }
    .guide-btn-poster {
        background: #fff;
        color: #6b21a8;
        border: 1.5px solid #6b21a8;
    }
    .guide-summary-section {
        background: #f8f9ff;
        border-radius: 8px;
        padding: 32px;
        margin-bottom: 40px;
    }
    .guide-summary-text {
        font-size: 15px;
        line-height: 1.9;
        color: #333;
        white-space: pre-line;
    }

    /* PDF 容器 */
    .guide-pdf-section {
        position: relative;
        margin-bottom: 40px;
        border: 1.5px solid #6b21a8;
        border-radius: 8px;
        overflow: hidden;
        background: #f4f4f4;
    }
    .guide-pdf-section iframe {
        display: block;
        width: 100%;
        height: 100vh;
        border: none;
        transition: opacity .25s ease;
    }
    .guide-pdf-section.is-loading iframe {
        opacity: .18;
    }
    .guide-pdf-loading {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        background: linear-gradient(145deg, rgba(248,249,255,.96), rgba(243,232,255,.9));
        color: #121c2a;
        font-size: 14px;
        letter-spacing: .3px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }
    .guide-pdf-loading.active {
        opacity: 1;
    }
    .guide-loading-spinner {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 3px solid rgba(107,33,168,.2);
        border-top-color: #6b21a8;
        animation: pdfSpin .85s linear infinite;
    }
    .guide-loading-text {
        font-weight: 600;
    }
    .guide-pdf-limit-tip {
        position: absolute;
        right: 12px;
        bottom: 12px;
        z-index: 4;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(107,33,168,.9);
        color: #fff;
        font-size: 12px;
        line-height: 1.3;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease;
        pointer-events: none;
    }
    .guide-pdf-limit-tip.active {
        opacity: 1;
        transform: translateY(0);
    }
    @keyframes pdfSpin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* 海报弹窗 */
    .poster-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0,0,0,.55);
        justify-content: center;
        align-items: center;
        padding: 16px;
    }
    .poster-modal-overlay.active {
        display: flex;
    }
    .poster-modal {
        position: relative;
        max-width: 480px;
        max-height: 85vh;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 12px 40px rgba(0,0,0,.25);
        animation: posterFadeIn .25s ease;
    }
    @keyframes posterFadeIn {
        from { opacity: 0; transform: scale(.92); }
        to   { opacity: 1; transform: scale(1); }
    }
    .poster-modal-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        border: none;
        border-radius: 50%;
        background: rgba(0,0,0,.45);
        color: #fff;
        font-size: 20px;
        line-height: 32px;
        text-align: center;
        cursor: pointer;
        transition: background .2s;
        z-index: 1;
    }
    .poster-modal-close:hover { background: rgba(0,0,0,.7); }
    .poster-modal-img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 85vh;
        object-fit: contain;
    }

    @media (max-width: 640px) {
        .guide-wrap { padding-top: 24px; padding-bottom: 40px; }
        .guide-summary-section { padding: 20px; }
        .guide-pdf-section iframe { height: 80vh; }
        .guide-pdf-loading { font-size: 13px; }
        .guide-pdf-limit-tip { left: 12px; right: 12px; border-radius: 8px; text-align: center; }
        .poster-modal { max-width: 92vw; }
    }
