/* 一秒互联公司  www.yimiaonet.com：2.0.91 页面级样式收口，隔离旧公共样式对市场、客户中心、社区和授权查询的覆盖。 */

body.marketplace-standalone-page {
    --market-container: 1320px !important;
    --market-secondary: #475569;
    --market-muted: #667085;
}

body.marketplace-standalone-page .market-home-page,
body.marketplace-standalone-page .market-catalog-page,
body.marketplace-standalone-page .marketplace-store-directory-hero,
body.marketplace-standalone-page .marketplace-store-directory,
body.marketplace-standalone-page .marketplace-store-entry-band {
    max-width: 1320px !important;
}

body.marketplace-standalone-page .market-detail-2068 {
    grid-template-columns: minmax(0, 1fr) 328px !important;
}

body.marketplace-standalone-page .market-detail-product {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr) !important;
    gap: 20px !important;
}

body.marketplace-standalone-page .market-detail-gallery,
body.marketplace-standalone-page .market-detail-gallery-main,
body.marketplace-standalone-page .market-detail-gallery-main img {
    width: 100% !important;
    max-width: 100% !important;
}

body.marketplace-standalone-page .market-detail-gallery-main img {
    object-fit: cover;
}

body.page-customer .customer-console:not([hidden]) {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
}

body.page-customer .customer-console[hidden] {
    display: none !important;
}

body.page-customer .customer-console > section:not([hidden]) {
    width: 100% !important;
    min-width: 0 !important;
}

body.page-customer .metric-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
}

body.page-community .community-modern {
    --cm-body: #475467;
    --cm-muted: #667085;
    width: min(calc(100% - 40px), 1320px) !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.page-community .community-modern-mark-filters,
body.page-community .community-modern-filters,
body.page-community .community-modern-tags {
    display: flex !important;
    flex-wrap: wrap !important;
}

body.page-community .community-checkin-avatars {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
}

body.page-community .community-checkin-avatars img,
body.page-community .community-ranking-card ol img,
body.page-community .community-moderator-card img,
body.page-community .community-modern-authors img {
    display: block;
    object-fit: cover !important;
    border-radius: 50% !important;
}

body.page-community .community-checkin-avatars img,
body.page-community .community-ranking-card ol img {
    flex: 0 0 30px !important;
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
}

body.page-community .community-moderator-card img {
    width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
}

body.page-community .community-modern-authors img {
    width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
}

body.page-genuine .ecosystem-hero-copy > p {
    color: #c8d7ea !important;
}

@media (max-width: 1180px) {
    body.marketplace-standalone-page .market-detail-2068 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 900px) {
    body.marketplace-standalone-page .market-detail-product {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-customer .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.page-community .community-modern {
        width: calc(100% - 24px) !important;
    }
}

@media (max-width: 520px) {
    body.page-customer .metric-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.marketplace-standalone-page *,
    body.page-customer *,
    body.page-community *,
    body.page-genuine * {
        scroll-behavior: auto !important;
    }
}
