/* 帮助中心：设备绑定说明。只作用于 /help，避免影响客服窗口和知识库。 */
.help-shell {
    background: #f4f7f3;
    min-height: 100vh;
}

.help-main {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0 64px;
}

.help-hero {
    padding: 42px 38px;
    border: 1px solid #dce8dd;
    border-radius: 24px;
    background: linear-gradient(135deg, #f7fbf7 0%, #edf5ee 100%);
    box-shadow: 0 18px 40px rgba(32, 68, 45, 0.06);
}

.help-hero h1 {
    margin: 8px 0 12px;
    color: #173a2f;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.help-hero p {
    max-width: 760px;
    margin: 0;
    color: #5d7065;
    font-size: 16px;
    line-height: 1.8;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.help-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #dce8dd;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.help-card:hover {
    transform: translateY(-2px);
    border-color: #b8d4bd;
    box-shadow: 0 14px 30px rgba(32, 68, 45, 0.09);
}

.help-card-kicker {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eaf4ec;
    color: #2d6b45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.help-card h2 {
    margin: 14px 0 8px;
    color: #173a2f;
    font-size: 22px;
}

.help-card p {
    margin: 0;
    color: #65766b;
    line-height: 1.7;
}

.help-card-more {
    margin-top: auto;
    padding-top: 18px;
    color: #2d6b45;
    font-size: 14px;
    font-weight: 700;
}

.help-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    color: #7c8d82;
    font-size: 13px;
}

.help-breadcrumb a {
    color: #2d6b45;
    text-decoration: none;
}

.help-article {
    padding: 34px;
    border: 1px solid #dce8dd;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(32, 68, 45, 0.05);
}

.help-article-head {
    padding-bottom: 22px;
    border-bottom: 1px solid #e8efe9;
}

.help-article-head h1 {
    margin: 6px 0 10px;
    color: #173a2f;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
}

.help-article-head p {
    margin: 0;
    color: #5d7065;
    line-height: 1.8;
}

.help-article section {
    padding-top: 24px;
}

.help-article h2 {
    margin: 0 0 10px;
    color: #1f3b2c;
    font-size: 21px;
}

.help-article p,
.help-article li {
    color: #55685c;
    font-size: 15px;
    line-height: 1.9;
}

.help-article ul,
.help-article ol {
    margin: 8px 0 0;
    padding-left: 22px;
}

.help-article li + li {
    margin-top: 4px;
}

.help-article code {
    padding: 1px 6px;
    border: 1px solid #dbe7dd;
    border-radius: 5px;
    background: #f5f8f5;
    color: #235c3d;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}

.help-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid #8bbd96;
    border-radius: 8px;
    background: #f4f9f4;
    color: #4f6b57 !important;
}

.help-table-wrap {
    overflow-x: auto;
    border: 1px solid #dfe9e0;
    border-radius: 12px;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 14px;
}

.help-table th,
.help-table td {
    padding: 11px 13px;
    border-bottom: 1px solid #edf2ed;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.help-table th {
    background: #f5f9f5;
    color: #315d43;
    font-weight: 700;
}

.help-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 760px) {
    .help-main {
        width: min(100% - 28px, 1120px);
        padding: 24px 0 40px;
    }

    .help-hero,
    .help-article {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 1.8.6 帮助中心：分类入口、搜索与折叠问答 ===== */
.help-main--hub {
    width: min(1180px, calc(100% - 48px));
}

.help-hub-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 42px;
    align-items: center;
    overflow: hidden;
    padding: 52px 54px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 20%, rgba(160, 207, 152, .22), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(223, 189, 116, .15), transparent 34%),
        linear-gradient(135deg, #10382a 0%, #174b34 52%, #1e5b3d 100%);
    box-shadow: 0 24px 55px rgba(16, 56, 42, .18);
}

.help-orbit {
    position: absolute;
    border: 1px solid rgba(220, 239, 218, .18);
    border-radius: 50%;
    pointer-events: none;
}

.help-orbit--one {
    top: -94px;
    right: -58px;
    width: 310px;
    height: 310px;
}

.help-orbit--two {
    right: 92px;
    bottom: -116px;
    width: 230px;
    height: 230px;
}

.help-hub-copy,
.help-search-wrap {
    position: relative;
    z-index: 1;
}

.help-hub-copy .eyebrow {
    color: #d8c387;
}

.help-hub-copy h1 {
    margin: 10px 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.help-lead {
    max-width: 640px;
    margin: 0;
    color: rgba(239, 247, 240, .8);
    font-size: 16px;
    line-height: 1.85;
}

.help-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 24px;
}

.help-meta span {
    padding: 5px 11px;
    border: 1px solid rgba(221, 240, 219, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(239, 247, 240, .75);
    font-size: 12px;
}

.help-meta strong {
    margin-right: 2px;
    color: #fff;
    font-size: 14px;
}

.help-search-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(238, 247, 239, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.help-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .14);
}

.help-search:focus-within {
    border-color: #e4cd8d;
    box-shadow: 0 0 0 4px rgba(228, 205, 141, .2), 0 16px 35px rgba(0, 0, 0, .14);
}

.help-search-icon {
    color: #2b6b49;
    font-size: 21px;
    line-height: 1;
}

.help-search input {
    min-width: 0;
    flex: 1;
    height: 40px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #183a2b;
    font: inherit;
    font-size: 14px;
}

.help-search input::placeholder {
    color: #94a59a;
}

.help-search-clear,
.help-reset,
.help-empty-link {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
}

.help-search-clear {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 10px;
    background: #edf4ed;
    color: #2b6647;
    font-size: 12px;
    font-weight: 700;
}

.help-search-clear:hover {
    background: #dfeadf;
}

.help-search-hint {
    margin: 9px 2px 0;
    color: rgba(238, 247, 239, .58);
    font-size: 12px;
}

.help-cats {
    margin-top: 36px;
}

.help-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.help-block-head .eyebrow {
    margin: 0 0 5px;
    color: #4f795f;
    font-size: 11px;
    letter-spacing: .13em;
}

.help-block-head h2 {
    margin: 0;
    color: #173a2f;
    font-size: clamp(22px, 2.5vw, 28px);
    letter-spacing: -.02em;
}

.help-block-note {
    color: #7d8f82;
    font-size: 12px;
}

.help-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.help-cat-card {
    display: flex;
    min-height: 104px;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 16px;
    border: 1px solid #dfe9df;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.help-cat-card:hover {
    transform: translateY(-2px);
    border-color: #a9c9ae;
    box-shadow: 0 12px 26px rgba(33, 70, 47, .08);
}

.help-cat-icon,
.help-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #eaf3ea;
    color: #296343;
    font-size: 19px;
    font-weight: 700;
}

.help-cat-icon {
    width: 38px;
    height: 38px;
}

.help-cat-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.help-cat-copy strong {
    color: #1b402f;
    font-size: 14px;
    line-height: 1.4;
}

.help-cat-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #76897b;
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.help-cat-count {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 5px;
    background: #f4f7f4;
    color: #7c8e81;
    font-size: 10px;
}

.help-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 34px 2px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe7df;
}

.help-results-bar p {
    margin: 0;
    color: #597061;
    font-size: 13px;
}

.help-reset {
    padding: 5px 10px;
    border-radius: 7px;
    color: #2b6747;
    font-size: 12px;
    font-weight: 700;
}

.help-reset:hover {
    background: #eaf3ea;
}

.help-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.help-section {
    scroll-margin-top: 88px;
    padding: 0 22px 8px;
    border: 1px solid #dfe9df;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(33, 70, 47, .035);
}

.help-section:target {
    border-color: #a6c9ad;
    box-shadow: 0 0 0 3px rgba(112, 164, 124, .12), 0 10px 26px rgba(33, 70, 47, .035);
}

.help-section-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 2px 17px;
    border-bottom: 1px solid #e9efea;
}

.help-section-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
}

.help-section-copy {
    min-width: 0;
    flex: 1;
}

.help-section-copy h2 {
    margin: 0 0 3px;
    color: #173a2f;
    font-size: 19px;
    letter-spacing: -.01em;
}

.help-section-copy p {
    margin: 0;
    color: #829287;
    font-size: 12px;
    line-height: 1.55;
}

.help-section-count {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f6f1;
    color: #61806c;
    font-size: 11px;
}

.help-faq-list {
    counter-reset: help-q;
}

.help-faq {
    border-bottom: 1px solid #edf2ed;
}

.help-faq:last-child {
    border-bottom: 0;
}

.help-faq summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 2px;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.help-faq summary::-webkit-details-marker {
    display: none;
}

.help-faq summary::marker {
    content: "";
}

.help-q-mark {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 7px;
    background: #f2f6f1;
    color: #78917e;
    font-size: 11px;
    font-weight: 800;
}

.help-q-text {
    min-width: 0;
    flex: 1;
    color: #254535;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    transition: color .16s ease;
}

.help-q-toggle {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #e0eae0;
    border-radius: 50%;
    color: #649273;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.help-faq[open] .help-q-toggle {
    transform: rotate(45deg);
    background: #eaf3ea;
    border-color: #c9dfcb;
}

.help-faq summary:hover .help-q-text,
.help-faq summary:focus-visible .help-q-text {
    color: #1d6a45;
}

.help-faq summary:focus-visible {
    outline: 2px solid #7eaf89;
    outline-offset: -2px;
    border-radius: 8px;
}

.help-answer {
    margin: 0 0 16px 36px;
    padding: 14px 17px;
    border-left: 2px solid #b8d7bd;
    border-radius: 0 10px 10px 0;
    background: #f7faf7;
    color: #4c6255;
    font-size: 13px;
    line-height: 1.85;
}

.help-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 48px 24px;
    border: 1px dashed #cdddcf;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.help-empty--page {
    margin-top: 28px;
}

.help-empty--search {
    margin-top: 4px;
}

.help-empty-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eff6ef;
    color: #5d8d6a;
    font-size: 22px;
}

.help-empty h2 {
    margin: 0 0 8px;
    color: #244534;
    font-size: 19px;
}

.help-empty p {
    max-width: 520px;
    margin: 0;
    color: #75887b;
    font-size: 13px;
    line-height: 1.75;
}

.help-empty-link {
    display: inline-block;
    margin-top: 15px;
    padding: 7px 14px;
    border-radius: 9px;
    background: #eaf4ec;
    color: #246141;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.help-empty-link:hover {
    background: #dcebdc;
}

.help-more {
    margin-top: 38px;
}

.help-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.help-more-card {
    display: flex;
    min-height: 192px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #dfe9df;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f8fbf8);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.help-more-card:hover {
    transform: translateY(-2px);
    border-color: #aecbb3;
    box-shadow: 0 14px 30px rgba(33, 70, 47, .08);
}

.help-more-kicker {
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eaf4ec;
    color: #2d6b45;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}

.help-more-card h3 {
    margin: 12px 0 8px;
    color: #1b402f;
    font-size: 18px;
    line-height: 1.45;
}

.help-more-card p {
    margin: 0;
    color: #667a6c;
    font-size: 13px;
    line-height: 1.75;
}

.help-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 18px;
    padding: 26px 28px;
    border: 1px solid #dbe8dd;
    border-radius: 20px;
    background: #fff;
}

.help-contact h2 {
    margin: 4px 0 7px;
    color: #173a2f;
    font-size: 22px;
}

.help-contact p {
    max-width: 640px;
    margin: 0;
    color: #6c8073;
    font-size: 13px;
    line-height: 1.75;
}

.help-contact-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.help-contact-lines span {
    display: flex;
    min-width: 118px;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f4f8f4;
}

.help-contact-lines small {
    color: #8b9b8f;
    font-size: 10px;
}

.help-contact-lines strong {
    color: #365a44;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.help-admin-note {
    margin: 18px 2px 0;
    color: #93a196;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.help-shell [hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .help-main--hub {
        width: min(100% - 36px, 1180px);
    }

    .help-hub-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 36px;
    }

    .help-search-wrap {
        max-width: 620px;
    }

    .help-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .help-contact-lines {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .help-main--hub {
        width: min(100% - 28px, 1180px);
    }

    .help-hub-hero {
        gap: 24px;
        padding: 32px 22px;
        border-radius: 22px;
    }

    .help-hub-copy h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .help-lead {
        font-size: 14px;
    }

    .help-meta span {
        padding: 4px 9px;
    }

    .help-cats {
        margin-top: 28px;
    }

    .help-block-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .help-block-note {
        display: none;
    }

    .help-cat-card {
        min-height: 94px;
        padding: 14px;
    }

    .help-cat-copy strong {
        font-size: 13px;
    }

    .help-results-bar {
        margin-top: 26px;
    }

    .help-section {
        padding: 0 14px 4px;
        border-radius: 16px;
    }

    .help-section-head {
        gap: 10px;
        padding: 16px 1px 14px;
    }

    .help-section-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .help-section-copy h2 {
        font-size: 17px;
    }

    .help-section-count {
        display: none;
    }

    .help-faq summary {
        gap: 9px;
        padding: 14px 1px;
    }

    .help-q-text {
        font-size: 13px;
    }

    .help-q-mark {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .help-q-toggle {
        width: 24px;
        height: 24px;
        font-size: 17px;
    }

    .help-answer {
        margin-left: 31px;
        padding: 12px 14px;
        font-size: 12.5px;
    }

    .help-more-grid {
        grid-template-columns: 1fr;
    }

    .help-more-card {
        min-height: 0;
        padding: 19px;
    }

    .help-contact {
        padding: 22px 20px;
    }
}

@media (max-width: 520px) {
    .help-cat-grid {
        grid-template-columns: 1fr;
    }

    .help-cat-card {
        min-height: 0;
        align-items: center;
    }

    .help-cat-copy small {
        -webkit-line-clamp: 1;
    }

    .help-search {
        padding-left: 13px;
    }

    .help-search input {
        font-size: 13px;
    }

    .help-search-clear {
        padding: 6px 8px;
    }

    .help-contact-lines {
        width: 100%;
    }

    .help-contact-lines span {
        min-width: 0;
        flex: 1 1 132px;
    }
}

