/**
 * 移动端覆盖（在教程内联样式之后加载）
 */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.site-page {
    overflow-x: clip;
}

.site-header__inner {
    padding: 12px 14px;
}

.site-header__title {
    font-size: 1rem;
    line-height: 1.35;
}

.global-guides-remote {
    overflow-x: clip;
    max-width: 100%;
}

.global-guides-remote img,
.global-guides-remote video,
.global-guides-remote iframe,
.global-guides-remote embed {
    max-width: 100% !important;
    height: auto !important;
}

.global-guides-remote table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .site-body {
        padding: 10px 8px 20px;
    }

    .global-guides-remote .hc-help-page-wrap,
    .global-guides-remote .hc-help-detail-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .global-guides-remote .hc-help-top-card,
    .global-guides-remote .hc-help-detail-card,
    .global-guides-remote .hc-help-detail-side {
        padding: 14px 12px !important;
        border-radius: 14px !important;
    }

    .global-guides-remote .hc-help-title {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
    }

    .global-guides-remote .hc-help-desc {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .global-guides-remote .hc-help-search-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .global-guides-remote .hc-help-search-form .form-control,
    .global-guides-remote .hc-help-search-form .form-select,
    .global-guides-remote .hc-help-search-form .btn,
    .global-guides-remote .hc-help-search-form a.btn {
        width: 100% !important;
        max-width: 100% !important;
    }

    .global-guides-remote .hc-help-main {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .global-guides-remote .hc-help-left,
    .global-guides-remote .hc-help-right {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .global-guides-remote .hc-help-side-card {
        height: auto !important;
        max-height: min(52vh, 420px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .global-guides-remote .hc-help-content-card {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 12px 10px !important;
    }

    .global-guides-remote .hc-help-cat-item {
        min-height: 44px;
        padding: 10px 12px !important;
    }

    .global-guides-remote .hc-help-article-item {
        flex-direction: row !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    .global-guides-remote .hc-help-article-cover {
        width: 72px !important;
        height: 72px !important;
    }

    .global-guides-remote .hc-help-article-title {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .global-guides-remote .hc-help-article-meta,
    .global-guides-remote .hc-help-article-summary {
        font-size: 12px !important;
    }

    .global-guides-remote .hc-help-pagination {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        text-align: center;
    }

    .global-guides-remote .hc-help-pagination > div {
        justify-content: center !important;
    }

    .global-guides-remote .hc-help-full-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .global-guides-remote .hc-help-detail-title {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
    }

    .global-guides-remote .hc-help-detail-content {
        font-size: 15px !important;
        line-height: 1.75 !important;
        overflow-wrap: anywhere;
    }

    .global-guides-remote .hc-help-detail-content font,
    .global-guides-remote .hc-help-detail-content font[size] {
        font-size: inherit !important;
    }

    .global-guides-remote .hc-help-detail-content video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .global-guides-remote .hc-help-detail-content iframe {
        width: 100% !important;
        min-height: 200px;
    }

    .global-guides-remote .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .global-guides-remote .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .global-guides-remote .hc-help-breadcrumb {
        font-size: 13px !important;
        line-height: 1.5 !important;
        word-break: break-word;
    }

    .global-guides-remote .hc-help-back-btn,
    .global-guides-remote .hc-help-video-btn,
    .global-guides-remote .hc-help-pagination-btn {
        min-height: 44px;
    }
}

@media (max-width: 380px) {
    .global-guides-remote .hc-help-article-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .global-guides-remote .hc-help-article-cover {
        width: 100% !important;
        height: auto !important;
        max-height: 160px !important;
        object-fit: cover !important;
    }
}
