/* =========================================================
   ID铺子 · 帮助中心首页
   help.css
   ========================================================= */


/* =========================================================
   1. Variables
   ========================================================= */

:root {

    --help-black: #111111;
    --help-text: #222222;
    --help-text-secondary: #555555;
    --help-muted: #888888;
    --help-light: #999999;

    --help-border: #e7e7e7;
    --help-border-light: #f0f0f0;

    --help-bg: #f7f8fa;
    --help-white: #ffffff;

    --help-container: 1200px;

    --help-radius: 12px;
    --help-radius-small: 8px;

    --help-transition: all .22s ease;
}


/* =========================================================
   2. Base
   ========================================================= */

.idpuzi-help-body {

    margin: 0;
    padding: 0;

    background: var(--help-bg);

    color: var(--help-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

.idpuzi-help-body *,
.idpuzi-help-body *::before,
.idpuzi-help-body *::after {

    box-sizing: border-box;
}

.idpuzi-help-body a {

    color: inherit;

    text-decoration: none;
}

.idpuzi-help-body button,
.idpuzi-help-body input {

    font: inherit;
}

.idpuzi-help-body img {

    max-width: 100%;
    height: auto;
}


/* =========================================================
   3. Container
   ========================================================= */

.help-container {

    width: 100%;

    max-width: var(--help-container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   4. Header
   ========================================================= */

.help-header {

    width: 100%;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid var(--help-border-light);

    position: relative;

    z-index: 100;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.help-header-inner {

    width: 100%;

    max-width: var(--help-container);

    min-height: 68px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* Logo */

.help-logo {

    display: inline-flex;

    align-items: center;

    color: #111;

    transition: var(--help-transition);
}

.help-logo:hover {

    opacity: .7;
}

.help-logo-mark {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111;

    color: #fff;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;
}

.help-logo-divider {

    width: 1px;
    height: 18px;

    margin:
        0 12px;

    background: #ddd;
}

.help-logo-text {

    font-size: 15px;

    font-weight: 600;
}


/* Navigation */

.help-header-nav {

    display: flex;

    align-items: center;

    gap: 28px;
}

.help-header-nav a {

    color: #777;

    font-size: 13px;

    transition: var(--help-transition);
}

.help-header-nav a:hover {

    color: #111;
}


/* Mobile menu */

.help-mobile-menu {

    display: none;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 6px;
}

.help-mobile-menu span {

    width: 20px;
    height: 1.5px;

    background: #111;

    display: block;

    transition: var(--help-transition);
}


/* =========================================================
   5. Hero
   ========================================================= */

.help-hero {

    width: 100%;

    padding:
        82px 0
        74px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(0,0,0,.035),
            transparent 42%
        ),

        linear-gradient(
            180deg,
            #fff 0%,
            #fafafa 100%
        );

    border-bottom: 1px solid var(--help-border-light);
}

.help-hero-content {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}

.help-eyebrow {

    margin-bottom: 16px;

    color: #999;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .14em;
}

.help-hero h1 {

    margin: 0;

    color: #111;

    font-size: 44px;

    line-height: 1.22;

    font-weight: 700;

    letter-spacing: -.04em;
}

.help-mobile-break {

    display: none;
}

.help-hero-desc {

    margin:
        18px 0 0;

    color: #777;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   6. Search
   ========================================================= */

.help-search {

    position: relative;

    width: 100%;

    max-width: 690px;

    margin:
        34px auto 0;

    display: flex;

    align-items: center;
}

.help-search input[type="search"] {

    width: 100%;

    height: 58px;

    padding:
        0
        112px
        0
        53px;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 10px;

    outline: none;

    color: #222;

    font-size: 14px;

    box-shadow:
        0 8px 28px rgba(0,0,0,.045);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.help-search input::placeholder {

    color: #aaa;
}

.help-search input:hover {

    border-color: #ccc;
}

.help-search input:focus {

    border-color: #999;

    box-shadow:
        0 9px 32px rgba(0,0,0,.07);
}


/* Search icon */

.help-search-icon {

    position: absolute;

    z-index: 2;

    left: 20px;

    top: 50%;

    width: 19px;
    height: 19px;

    transform: translateY(-50%);

    pointer-events: none;

    color: #999;
}

.help-search-icon::before {

    content: "";

    position: absolute;

    left: 1px;
    top: 1px;

    width: 11px;
    height: 11px;

    border:
        1.6px solid currentColor;

    border-radius: 50%;
}

.help-search-icon::after {

    content: "";

    position: absolute;

    left: 11px;
    top: 12px;

    width: 7px;
    height: 1.6px;

    background: currentColor;

    border-radius: 2px;

    transform: rotate(45deg);
}


/* Search button */

.help-search button {

    position: absolute;

    right: 6px;
    top: 6px;

    height: 46px;

    min-width: 86px;

    padding:
        0 20px;

    border: 0;

    border-radius: 7px;

    background: #111;

    color: #fff;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition: var(--help-transition);
}

.help-search button:hover {

    background: #333;

    transform: translateY(-1px);
}

.help-search-hint {

    margin-top: 12px;

    color: #aaa;

    font-size: 11px;
}


/* =========================================================
   7. Hero Stats
   ========================================================= */

.help-hero-stats {

    margin-top: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;
}

.help-hero-stat {

    display: flex;

    align-items: baseline;

    gap: 6px;
}

.help-hero-stat strong {

    color: #222;

    font-size: 14px;

    font-weight: 650;
}

.help-hero-stat span {

    color: #aaa;

    font-size: 10px;
}

.help-hero-stat-divider {

    width: 1px;

    height: 12px;

    background: #ddd;
}


/* =========================================================
   8. Main
   ========================================================= */

.help-main {

    width: 100%;
}


/* =========================================================
   9. Section
   ========================================================= */

.help-section {

    padding:
        68px 0 0;
}

.help-section:last-child {

    padding-bottom: 0;
}

.help-section-head {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}

.help-section-kicker {

    margin-bottom: 5px;

    color: #aaa;

    font-size: 10px;

    font-weight: 650;

    letter-spacing: .12em;
}

.help-section h2 {

    margin: 0;

    color: #111;

    font-size: 23px;

    line-height: 1.35;

    font-weight: 650;

    letter-spacing: -.025em;
}

.help-section-note {

    color: #aaa;

    font-size: 11px;
}


/* =========================================================
   10. Platform
   ========================================================= */

.help-platform-list {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 13px;
}

.help-platform {

    min-height: 106px;

    padding: 20px;

    display: flex;

    align-items: center;

    background: #fff;

    border:
        1px solid var(--help-border);

    border-radius: var(--help-radius);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.help-platform:hover {

    transform: translateY(-3px);

    border-color: #d5d5d5;

    box-shadow:
        0 12px 32px rgba(0,0,0,.055);
}

.help-platform-icon {

    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-right: 14px;

    background: #f3f3f3;

    color: #333;

    border-radius: 10px;

    font-size: 17px;

    font-weight: 650;
}

.help-platform-info {

    min-width: 0;

    flex: 1;
}

.help-platform-info strong {

    display: block;

    color: #222;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;
}

.help-platform-info span {

    display: block;

    margin-top: 4px;

    color: #999;

    font-size: 10px;

    line-height: 1.5;
}

.help-platform-arrow {

    flex: 0 0 auto;

    margin-left: 10px;

    color: #bbb;

    font-size: 17px;

    transition: var(--help-transition);
}

.help-platform:hover .help-platform-arrow {

    color: #555;

    transform: translateX(3px);
}


/* =========================================================
   11. Content Grid
   ========================================================= */

.help-content-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(330px, .75fr);

    gap: 28px;

    align-items: start;
}

.help-column {

    min-width: 0;
}


/* =========================================================
   12. View All
   ========================================================= */

.help-view-all {

    display: inline-flex;

    align-items: center;

    color: #888;

    font-size: 11px;

    white-space: nowrap;

    transition: var(--help-transition);
}

.help-view-all::after {

    content: "→";

    margin-left: 7px;

    transition: transform .2s ease;
}

.help-view-all:hover {

    color: #111;
}

.help-view-all:hover::after {

    transform: translateX(3px);
}


/* =========================================================
   13. Article List
   ========================================================= */

.help-article-list {

    background: #fff;

    border:
        1px solid var(--help-border);

    border-radius: var(--help-radius);

    overflow: hidden;
}

.help-article-item {

    min-height: 78px;

    padding:
        15px 20px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid var(--help-border-light);

    transition:
        background .2s ease;
}

.help-article-item:last-child {

    border-bottom: 0;
}

.help-article-item:hover {

    background: #fcfcfc;
}

.help-article-main {

    min-width: 0;

    flex: 1;
}

.help-article-title {

    display: block;

    color: #333;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.55;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    transition: color .2s ease;
}

.help-article-item:hover .help-article-title {

    color: #000;
}

.help-article-meta {

    margin-top: 4px;

    display: flex;

    align-items: center;

    gap: 7px;

    color: #aaa;

    font-size: 10px;
}

.help-article-arrow {

    flex: 0 0 auto;

    margin-left: 18px;

    color: #bbb;

    font-size: 16px;

    transition: var(--help-transition);
}

.help-article-item:hover .help-article-arrow {

    color: #555;

    transform: translateX(3px);
}


/* =========================================================
   14. Start Cards
   ========================================================= */

.help-start-list {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.help-start-card {

    min-height: 88px;

    padding:
        17px 18px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    background: #fff;

    border:
        1px solid var(--help-border);

    border-radius: 10px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.help-start-card:hover {

    transform: translateY(-2px);

    border-color: #d5d5d5;

    box-shadow:
        0 8px 25px rgba(0,0,0,.045);
}

.help-start-number {

    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111;

    color: #fff;

    border-radius: 50%;

    font-size: 9px;

    font-weight: 600;
}

.help-start-content {

    min-width: 0;
}

.help-start-content strong {

    display: block;

    color: #222;

    font-size: 13px;

    font-weight: 600;
}

.help-start-content p {

    margin:
        4px 0 0;

    color: #999;

    font-size: 10px;

    line-height: 1.65;
}

.help-start-link {

    display: inline-block;

    margin-top: 7px;

    color: #555;

    font-size: 10px;

    border-bottom:
        1px solid #ccc;

    transition: var(--help-transition);
}

.help-start-card:hover .help-start-link {

    color: #111;

    border-color: #111;
}


/* =========================================================
   15. Latest
   ========================================================= */

.help-latest-section {

    padding-top: 72px;
}

.help-latest-list {

    background: #fff;

    border:
        1px solid var(--help-border);

    border-radius: var(--help-radius);

    overflow: hidden;
}

.help-latest-item {

    min-height: 70px;

    padding:
        15px 20px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid var(--help-border-light);

    transition:
        background .2s ease;
}

.help-latest-item:last-child {

    border-bottom: 0;
}

.help-latest-item:hover {

    background: #fcfcfc;
}

.help-latest-date {

    flex: 0 0 86px;

    color: #aaa;

    font-size: 10px;
}

.help-latest-content {

    min-width: 0;

    flex: 1;
}

.help-latest-content strong {

    display: block;

    color: #333;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.55;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.help-latest-category {

    display: inline-block;

    margin-top: 3px;

    color: #aaa;

    font-size: 9px;
}

.help-latest-arrow {

    margin-left: 15px;

    color: #bbb;

    font-size: 15px;

    transition: var(--help-transition);
}

.help-latest-item:hover .help-latest-arrow {

    color: #555;

    transform: translateX(3px);
}


/* =========================================================
   16. Empty
   ========================================================= */

.help-empty {

    padding:
        35px 20px;

    text-align: center;

    color: #aaa;

    font-size: 12px;
}


/* =========================================================
   17. Contact
   ========================================================= */

.help-contact {

    width: 100%;

    padding:
        38px 0 72px;
}

.help-contact-inner {

    min-height: 128px;

    padding:
        30px 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background: #111;

    border-radius: var(--help-radius);

    color: #fff;
}

.help-contact-title {

    margin: 0;

    color: #fff;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 600;
}

.help-contact-desc {

    margin:
        6px 0 0;

    color: rgba(255,255,255,.55);

    font-size: 11px;
}

.help-contact-button {

    min-width: 110px;

    height: 40px;

    padding:
        0 20px;

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: #fff;

    color: #111;

    border-radius: 7px;

    font-size: 11px;

    transition: var(--help-transition);
}

.help-contact-button:hover {

    background: #eee;

    transform: translateY(-1px);
}


/* =========================================================
   18. Footer
   ========================================================= */

.help-footer {

    width: 100%;

    background: #fff;

    border-top:
        1px solid var(--help-border-light);
}

.help-footer-inner {

    width: 100%;

    max-width: var(--help-container);

    min-height: 145px;

    margin: 0 auto;

    padding:
        30px 20px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        auto;

    align-items: center;

    gap: 45px;
}

.help-footer-logo {

    color: #222;

    font-size: 14px;

    font-weight: 650;
}

.help-footer-brand p {

    margin:
        5px 0 0;

    color: #aaa;

    font-size: 10px;
}

.help-footer-links {

    display: flex;

    align-items: center;

    gap: 20px;
}

.help-footer-links a {

    color: #777;

    font-size: 10px;

    transition: var(--help-transition);
}

.help-footer-links a:hover {

    color: #111;
}

.help-footer-copy {

    color: #aaa;

    font-size: 9px;

    white-space: nowrap;
}


/* =========================================================
   19. Tablet
   ========================================================= */

@media (max-width: 1050px) {

    .help-platform-list {

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

    .help-content-grid {

        grid-template-columns: 1fr;
    }

    .help-footer-inner {

        grid-template-columns:
            1fr auto;
    }

    .help-footer-copy {

        grid-column: 1 / -1;
    }
}


/* =========================================================
   20. Mobile
   ========================================================= */

@media (max-width: 700px) {

    .help-container {

        padding-left: 16px;
        padding-right: 16px;
    }


    /* Header */

    .help-header-inner {

        min-height: 60px;

        padding:
            0 16px;
    }

    .help-header-nav {

        display: none;
    }

    .help-mobile-menu {

        display: flex;
    }


    /* Hero */

    .help-hero {

        padding:
            54px 0
            50px;
    }

    .help-eyebrow {

        margin-bottom: 13px;

        font-size: 9px;

        letter-spacing: .13em;
    }

    .help-hero h1 {

        font-size: 31px;

        line-height: 1.28;

        letter-spacing: -.035em;
    }

    .help-mobile-break {

        display: block;
    }

    .help-desktop-break {

        display: none;
    }

    .help-hero-desc {

        margin-top: 15px;

        font-size: 13px;

        line-height: 1.75;
    }


    /* Search */

    .help-search {

        margin-top: 25px;
    }

    .help-search input[type="search"] {

        height: 52px;

        padding-left: 47px;

        padding-right: 90px;

        font-size: 13px;
    }

    .help-search-icon {

        left: 17px;
    }

    .help-search button {

        right: 5px;
        top: 5px;

        height: 42px;

        min-width: 70px;

        padding:
            0 14px;

        font-size: 11px;
    }

    .help-search-hint {

        margin-top: 10px;

        font-size: 9px;

        line-height: 1.6;
    }


    /* Stats */

    .help-hero-stats {

        margin-top: 24px;

        gap: 13px;
    }

    .help-hero-stat {

        gap: 4px;
    }

    .help-hero-stat strong {

        font-size: 12px;
    }

    .help-hero-stat span {

        font-size: 8px;
    }


    /* Section */

    .help-section {

        padding-top: 46px;
    }

    .help-section-head {

        margin-bottom: 17px;

        align-items: center;
    }

    .help-section-kicker {

        font-size: 8px;
    }

    .help-section h2 {

        font-size: 20px;
    }

    .help-section-note {

        display: none;
    }


    /* Platform */

    .help-platform-list {

        grid-template-columns: 1fr;

        gap: 9px;
    }

    .help-platform {

        min-height: 72px;

        padding:
            13px 15px;

        border-radius: 9px;
    }

    .help-platform-icon {

        width: 39px;
        height: 39px;

        flex-basis: 39px;

        margin-right: 12px;

        border-radius: 8px;

        font-size: 15px;
    }

    .help-platform-info strong {

        font-size: 13px;
    }

    .help-platform-info span {

        margin-top: 3px;

        font-size: 9px;
    }


    /* Articles */

    .help-article-list {

        border-radius: 9px;
    }

    .help-article-item {

        min-height: 67px;

        padding:
            13px 14px;
    }

    .help-article-title {

        font-size: 12px;
    }

    .help-article-meta {

        font-size: 9px;
    }

    .help-article-arrow {

        margin-left: 10px;

        font-size: 14px;
    }


    /* Start */

    .help-start-list {

        gap: 8px;
    }

    .help-start-card {

        min-height: 82px;

        padding:
            15px;

        border-radius: 9px;
    }

    .help-start-number {

        width: 28px;
        height: 28px;

        flex-basis: 28px;

        font-size: 8px;
    }

    .help-start-content strong {

        font-size: 12px;
    }

    .help-start-content p {

        font-size: 9px;
    }

    .help-start-link {

        font-size: 9px;
    }


    /* Latest */

    .help-latest-section {

        padding-top: 50px;
    }

    .help-latest-item {

        min-height: 64px;

        padding:
            13px 14px;
    }

    .help-latest-date {

        flex-basis: 68px;

        font-size: 8px;
    }

    .help-latest-content strong {

        font-size: 11px;
    }

    .help-latest-category {

        font-size: 8px;
    }


    /* Contact */

    .help-contact {

        padding:
            26px 0
            50px;
    }

    .help-contact-inner {

        min-height: 0;

        padding:
            25px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        border-radius: 9px;
    }

    .help-contact-title {

        font-size: 17px;
    }

    .help-contact-desc {

        font-size: 9px;
    }

    .help-contact-button {

        width: 100%;

        height: 38px;
    }


    /* Footer */

    .help-footer-inner {

        min-height: 0;

        padding:
            27px 16px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 16px;
    }

    .help-footer-links {

        flex-wrap: wrap;

        gap:
            8px 17px;
    }

    .help-footer-copy {

        font-size: 8px;
    }
}


/* =========================================================
   21. Small Mobile
   ========================================================= */

@media (max-width: 380px) {

    .help-hero h1 {

        font-size: 28px;
    }

    .help-hero-desc {

        font-size: 12px;
    }

    .help-container {

        padding-left: 13px;
        padding-right: 13px;
    }
}


/* =========================================================
   22. Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .help-platform,
    .help-start-card,
    .help-article-item,
    .help-latest-item,
    .help-contact-button {

        transition: none !important;
    }
}