/* 一秒互联公司  www.yimiaonet.com：应用市场参考站密度、商品卡和排行统一样式，仅作用于市场页面。 */
body.marketplace-standalone-page {
    --market-reference-ink: #172033;
    --market-reference-body: #536176;
    --market-reference-muted: #8793a5;
    --market-reference-line: #dfe6ef;
    --market-reference-blue: #1769e0;
    --market-reference-bg: #f3f6fa;
    background: var(--market-reference-bg) !important;
    color: var(--market-reference-ink) !important;
}

body.marketplace-standalone-page .site-header {
    min-height: 64px;
    border-bottom-color: #dce5ef;
    box-shadow: 0 4px 14px rgba(30, 55, 90, .06);
}

body.marketplace-standalone-page .market-reference-nav a,
body.marketplace-standalone-page .header-utilities a {
    color: #3e4d61;
}

body.marketplace-standalone-page .market-reference-nav a.is-active,
body.marketplace-standalone-page .market-reference-nav a:hover {
    color: var(--market-reference-blue);
}

body.marketplace-standalone-page .market-reference-header-search,
body.marketplace-standalone-page .market-top-search {
    border-color: #cbd8e7;
    background: #fff;
}

body.marketplace-standalone-page .market-home-page,
body.marketplace-standalone-page .market-catalog-page {
    width: min(1360px, calc(100% - 36px));
}

body.marketplace-standalone-page .market-home-page {
    padding: 14px 0 42px;
}

body.marketplace-standalone-page .market-home-first-screen {
    grid-template-columns: 236px minmax(0, 1fr) 276px;
    gap: 12px;
}

body.marketplace-standalone-page .market-home-categories,
body.marketplace-standalone-page .market-home-account,
body.marketplace-standalone-page .market-home-rankings > article,
body.marketplace-standalone-page .market-home-product-section,
body.marketplace-standalone-page .market-home-stores,
body.marketplace-standalone-page .market-home-recommendations {
    border-color: var(--market-reference-line);
    border-radius: 6px;
    box-shadow: 0 5px 16px rgba(30, 55, 90, .045);
}

body.marketplace-standalone-page .market-home-categories > header,
body.marketplace-standalone-page .market-home-product-section > header,
body.marketplace-standalone-page .market-home-stores > header,
body.marketplace-standalone-page .market-home-rankings > article > header {
    border-bottom-color: #e8edf4;
}

body.marketplace-standalone-page .market-home-categories > header strong,
body.marketplace-standalone-page .market-home-product-section h2,
body.marketplace-standalone-page .market-home-stores h2,
body.marketplace-standalone-page .market-home-rankings h2 {
    color: var(--market-reference-ink);
}

body.marketplace-standalone-page .market-home-categories nav > a {
    min-height: 56px;
    padding: 8px 12px;
}

body.marketplace-standalone-page .market-home-categories nav > a strong {
    color: #2b3a4e;
    font-size: 13px;
}

body.marketplace-standalone-page .market-home-categories nav > a small,
body.marketplace-standalone-page .market-home-categories nav > a em {
    color: #7c899b;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-stage {
    gap: 10px;
}

body.marketplace-standalone-page .market-home-hero,
body.marketplace-standalone-page .market-home-hero-slide,
body.marketplace-standalone-page .market-home-hero-slide > img {
    min-height: 0;
    height: clamp(270px, 25vw, 310px);
}

body.marketplace-standalone-page .market-home-hero {
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(30, 55, 90, .1);
}

body.marketplace-standalone-page .market-home-hero-slide > div {
    left: 34px;
    width: min(540px, calc(100% - 68px));
}

body.marketplace-standalone-page .market-home-hero h1,
body.marketplace-standalone-page .market-home-hero h2 {
    color: #fff;
    font-size: clamp(25px, 2.3vw, 34px);
    letter-spacing: 0;
}

body.marketplace-standalone-page .market-home-hero p {
    color: rgba(255, 255, 255, .88);
}

body.marketplace-standalone-page .market-home-promos {
    gap: 9px;
}

body.marketplace-standalone-page .market-home-promos > a,
body.marketplace-standalone-page .market-home-promos img {
    min-height: 76px;
    height: 76px;
}

body.marketplace-standalone-page .market-home-rankings {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

body.marketplace-standalone-page .market-home-rankings > article {
    min-width: 0;
    height: 330px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.marketplace-standalone-page .market-home-rankings > article > header {
    min-height: 62px;
    padding: 10px 12px;
}

body.marketplace-standalone-page .market-home-rankings > article > header small {
    color: #7f8da0;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-rankings > article > div {
    flex: 1;
    overflow: hidden;
    padding: 6px 12px 10px;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a {
    min-height: 48px;
    padding: 6px 0;
    grid-template-columns: 20px 32px minmax(0, 1fr);
    gap: 7px;
    border-bottom-color: #edf1f6;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a > b {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #fff;
    background: #8a98aa;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a:nth-child(1) > b {
    background: #e39723;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a:nth-child(2) > b {
    background: #8d98a8;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a:nth-child(3) > b {
    background: #b57c56;
}

body.marketplace-standalone-page .market-home-rankings > article > div > a img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

body.marketplace-standalone-page .market-home-rankings > article > div strong {
    color: #27354a;
    font-size: 12px;
}

body.marketplace-standalone-page .market-home-rankings > article > div small {
    color: #7c899b;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-rankings > article > div em {
    color: #e35a3d;
    font-size: 11px;
}

body.marketplace-standalone-page .market-home-product-section,
body.marketplace-standalone-page .market-home-stores,
body.marketplace-standalone-page .market-home-recommendations {
    margin-top: 12px;
}

body.marketplace-standalone-page .market-home-product-section > header,
body.marketplace-standalone-page .market-home-stores > header {
    min-height: 66px;
    padding: 12px 16px;
}

body.marketplace-standalone-page .market-home-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

body.marketplace-standalone-page .market-home-product-card {
    min-height: 264px;
    border-radius: 6px;
    border-color: #e1e7ef;
    background: #fff;
    box-shadow: 0 4px 12px rgba(30, 55, 90, .035);
}

body.marketplace-standalone-page .market-home-product-cover {
    height: 126px;
}

body.marketplace-standalone-page .market-home-product-cover em {
    top: 8px;
    left: 8px;
    border-radius: 3px;
    background: #1769e0;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-product-body {
    gap: 4px;
    padding: 10px 11px 12px;
}

body.marketplace-standalone-page .market-home-product-body > strong {
    color: var(--market-reference-ink);
    font-size: 14px;
}

body.marketplace-standalone-page .market-home-product-body > small,
body.marketplace-standalone-page .market-home-product-body > i {
    color: #68768a;
    font-size: 11px;
}

body.marketplace-standalone-page .market-home-product-body > b {
    color: #d84a35;
    font-size: 16px;
}

body.marketplace-standalone-page .market-home-stores > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

body.marketplace-standalone-page .market-home-stores > div > a {
    min-height: 82px;
    padding: 10px;
    border-color: #e7ecf3;
    border-radius: 5px;
}

body.marketplace-standalone-page .market-home-stores > div > a strong {
    color: #2b3a4e;
    font-size: 13px;
}

body.marketplace-standalone-page .market-home-stores > div > a small {
    color: #7e8b9d;
    font-size: 10px;
}

body.marketplace-standalone-page .market-home-seller-entry {
    margin-top: 12px;
    border-color: #c7dafc;
    border-radius: 6px;
}

@media (max-width: 1100px) {
    body.marketplace-standalone-page .market-home-first-screen {
        grid-template-columns: 214px minmax(0, 1fr);
    }

    body.marketplace-standalone-page .market-home-account {
        grid-column: 1 / -1;
    }

    body.marketplace-standalone-page .market-home-rankings,
    body.marketplace-standalone-page .market-home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.marketplace-standalone-page .market-home-stores > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.marketplace-standalone-page .market-home-page {
        width: calc(100% - 24px);
    }

    body.marketplace-standalone-page .market-home-first-screen {
        grid-template-columns: 1fr;
    }

    body.marketplace-standalone-page .market-home-categories,
    body.marketplace-standalone-page .market-home-account {
        grid-column: auto;
    }

    body.marketplace-standalone-page .market-home-product-grid,
    body.marketplace-standalone-page .market-home-rankings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body.marketplace-standalone-page .market-home-product-grid,
    body.marketplace-standalone-page .market-home-rankings,
    body.marketplace-standalone-page .market-home-stores > div {
        grid-template-columns: 1fr;
    }

    body.marketplace-standalone-page .market-home-rankings > article {
        height: 320px;
        min-height: 320px;
    }

    body.marketplace-standalone-page .market-home-hero-slide > div {
        left: 20px;
        width: calc(100% - 40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.marketplace-standalone-page * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
